@qaecy/cue-sdk 0.0.35 → 0.0.38

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/node.js CHANGED
@@ -1,5 +1,5 @@
1
- import { C as s } from "./document-filter-Dr_-QbaZ.js";
2
- import { B as o, f as c, A as i, D as n, c as p, v as E, z as S, w as P, m as R, y as m, a as A, g, h as l, s as x, k as j, r as D, o as U, n as d, l as f, p as h, q as y, e as I, d as N, t as _, b, i as q, x as v, E as w, R as B, S as O, j as T, u as k } from "./document-filter-Dr_-QbaZ.js";
1
+ import { C as s } from "./document-filter-CEAHlbMX.js";
2
+ import { B as o, a as c, b as i, c as n, d as p, e as S, f as m, g as E, h as A, i as P, j as R, k as l, l as g, m as D, n as x, o as d, p as j, q as U, r as f, s as h, t as I, u as y, v as N, w as T, x as _, y as b, z as q, A as v, D as w, E as B, F, G, R as L, S as O, H as k, I as z } from "./document-filter-CEAHlbMX.js";
3
3
  class C extends s {
4
4
  constructor(e) {
5
5
  super(e);
@@ -8,36 +8,40 @@ class C extends s {
8
8
  export {
9
9
  o as BASE_CURRENCY,
10
10
  s as Cue,
11
- c as CueApi,
12
- i as CueAppData,
13
- n as CueApps,
14
- p as CueAuth,
15
- E as CueCache,
16
- S as CueContexts,
17
- P as CueCurrency,
18
- R as CueDocumentFilter,
19
- m as CueExtraction,
20
- A as CueGis,
21
- g as CueIndexApi,
22
- l as CueMcp,
11
+ c as CueAdmin,
12
+ i as CueApi,
13
+ n as CueAppData,
14
+ p as CueApps,
15
+ S as CueAuth,
16
+ m as CueCache,
17
+ E as CueContexts,
18
+ A as CueCurrency,
19
+ P as CueDataSources,
20
+ R as CueDmsApi,
21
+ l as CueDocumentFilter,
22
+ g as CueExtraction,
23
+ D as CueGis,
24
+ x as CueIndexApi,
25
+ d as CueLlmTools,
26
+ j as CueMcp,
23
27
  C as CueNode,
24
- x as CuePrivileges,
25
- j as CueProcessingApi,
26
- D as CueProfile,
27
- U as CueProjectDocuments,
28
- d as CueProjectEntities,
29
- f as CueProjectSchema,
30
- h as CueProjectView,
31
- y as CueProjects,
32
- I as CueRequestError,
33
- N as CueSignUp,
34
- _ as CueSignal,
35
- b as CueStorage,
36
- q as CueSyncApi,
37
- v as CueTables,
38
- w as CueUserSettings,
39
- B as REQUIRED_ROLES,
28
+ U as CuePrivileges,
29
+ f as CueProcessingApi,
30
+ h as CueProfile,
31
+ I as CueProjectDocuments,
32
+ y as CueProjectEntities,
33
+ N as CueProjectSchema,
34
+ T as CueProjectView,
35
+ _ as CueProjects,
36
+ b as CueRequestError,
37
+ q as CueSignUp,
38
+ v as CueSignal,
39
+ w as CueStorage,
40
+ B as CueSyncApi,
41
+ F as CueTables,
42
+ G as CueUserSettings,
43
+ L as REQUIRED_ROLES,
40
44
  O as SUPPORTED_CURRENCIES,
41
- T as configureScanWasm,
42
- k as cueComputed
45
+ k as configureScanWasm,
46
+ z as cueComputed
43
47
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qaecy/cue-sdk",
3
- "version": "0.0.35",
3
+ "version": "0.0.38",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",
@@ -23,6 +23,12 @@
23
23
  "lib",
24
24
  "assets"
25
25
  ],
26
+ "dependencies": {
27
+ "@modelcontextprotocol/sdk": "^1.26.0",
28
+ "n3": "^1.26.0",
29
+ "spark-md5": "^3.0.2",
30
+ "uuid": "^9.0.0"
31
+ },
26
32
  "peerDependencies": {
27
33
  "firebase": ">=10.0.0"
28
34
  }
package/variables.d.ts CHANGED
@@ -18,7 +18,7 @@ export declare const BUCKET_SESSIONS = "sessions_eu_west6";
18
18
  export declare const BUCKET_CHAT_SESSIONS = "spaces_chats_eu_west6";
19
19
  export declare const BUCKET_RAW = "spaces_raw_eu_west6";
20
20
  export declare const BUCKET_PROCESSED = "spaces_processed_eu_west6";
21
- export declare const BUCKET_LOGS = "spaces_logs_eu_west6";
21
+ export declare const BUCKET_LOGS = "logs_eu_west6";
22
22
  export declare const BUCKET_PUBLIC = "cue_public_eu_west6";
23
23
  export declare const BUCKET_PERSISTENCE = "db_persistence_eu_west6";
24
24
  export declare const ENDPOINT_CONSUMPTION = "/data-views/admin/consumption";
@@ -26,9 +26,15 @@ export declare const ENDPOINT_PROFILE_ORGANIZATIONS = "/data-views/admin/profile
26
26
  export declare const ENDPOINT_PROFILE_API_KEYS = "/data-views/admin/profile/api-keys";
27
27
  export declare const ENDPOINT_COMMANDS_PROFILE_API_KEYS = "/commands/admin/profile/api-keys";
28
28
  export declare const ENDPOINT_COMMANDS_PROFILE_TERMS = "/commands/admin/profile/terms";
29
+ export declare const ENDPOINT_COMMANDS_PROFILE_ANALYTICS_NOTICE = "/commands/admin/profile/analytics-notice";
30
+ export declare const ENDPOINT_COMMANDS_USAGE_VIEW = "/commands/admin/usage/view";
29
31
  export declare const ENDPOINT_ORG_MEMBERS: (orgId: string) => string;
32
+ export declare const ENDPOINT_ORG_ADMINS: (orgId: string) => string;
30
33
  export declare const ENDPOINT_ORG_CREDITS: (orgId: string) => string;
31
34
  export declare const ENDPOINT_ORG_CREDITS_REPORT: (orgId: string) => string;
35
+ export declare const ENDPOINT_ORG_PROJECT_FILE_TYPE_BREAKDOWN: (orgId: string, projectId: string) => string;
36
+ export declare const ENDPOINT_ORG_PROJECT_TRAFFIC_REPORT: (orgId: string, projectId: string) => string;
37
+ export declare const ENDPOINT_ORG_PROJECT_USAGE_REPORT: (orgId: string, projectId: string) => string;
32
38
  export declare const ENDPOINT_COMMANDS_USER_SIGNUP = "/commands/admin/user/signup";
33
39
  export declare const ENDPOINT_COMMANDS_USER_SIGNUP_RESEND = "/commands/admin/user/signup/resend";
34
40
  export declare const ENDPOINT_COMMANDS_USER_SETTINGS = "/commands/admin/user/settings";
@@ -42,8 +48,37 @@ export declare const ENDPOINT_COMMANDS_ORG_MEMBERS: (orgId: string) => string;
42
48
  export declare const ENDPOINT_COMMANDS_ORG_MEMBER_ROLE: (orgId: string, userId: string) => string;
43
49
  export declare const ENDPOINT_COMMANDS_ORG_MEMBER: (orgId: string, userId: string) => string;
44
50
  export declare const ENDPOINT_PROJECTS = "/data-views/admin/projects";
51
+ export declare const ENDPOINT_ADMIN_ORGANIZATIONS = "/data-views/admin/organizations";
52
+ export declare const ENDPOINT_ADMIN_ORGANIZATIONS_SEARCH = "/data-views/admin/organizations/search";
53
+ export declare const ENDPOINT_ADMIN_ORG_PROJECTS: (orgId: string) => string;
54
+ export declare const ENDPOINT_ADMIN_PROJECTS_SEARCH = "/data-views/admin/projects/search";
55
+ export declare const ENDPOINT_ADMIN_USERS_SEARCH = "/data-views/admin/users/search";
56
+ export declare const ENDPOINT_ADMIN_USER_DETAIL: (uid: string) => string;
57
+ export declare const ENDPOINT_ADMIN_SUPERADMINS = "/data-views/admin/users/superadmins";
58
+ export declare const ENDPOINT_ADMIN_DELETED_USERS = "/data-views/admin/users/deleted";
59
+ export declare const ENDPOINT_ADMIN_USER: (uid: string) => string;
60
+ export declare const ENDPOINT_ADMIN_USER_RESTORE: (uid: string) => string;
61
+ export declare const ENDPOINT_ADMIN_USER_SUPERADMIN: (uid: string) => string;
62
+ export declare const ENDPOINT_ADMIN_CREATE_USER = "/commands/admin/user";
63
+ export declare const ENDPOINT_ADMIN_CREATE_ORGANIZATION = "/commands/admin/organization";
64
+ export declare const ENDPOINT_ADMIN_ORGANIZATION: (orgId: string) => string;
65
+ export declare const ENDPOINT_ADMIN_ORGANIZATION_RESTORE: (orgId: string) => string;
66
+ export declare const ENDPOINT_ADMIN_ORGANIZATION_DOMAINS: (orgId: string) => string;
67
+ export declare const ENDPOINT_ADMIN_DELETED_ORGANIZATIONS = "/data-views/admin/organizations/deleted";
68
+ export declare const ENDPOINT_ADMIN_USERS_WITHOUT_ORG = "/data-views/admin/users/without-org";
69
+ export declare const ENDPOINT_ADMIN_USERS_WITHOUT_PROJECT = "/data-views/admin/users/without-project";
70
+ export declare const ENDPOINT_ADMIN_PROJECTS_WITHOUT_USERS = "/data-views/admin/projects/without-users";
71
+ export declare const ENDPOINT_ADMIN_PROJECTS_WITHOUT_ADMINS = "/data-views/admin/projects/without-admins";
72
+ export declare const ENDPOINT_ADMIN_ORGS_WITHOUT_USERS = "/data-views/admin/organizations/without-users";
73
+ export declare const ENDPOINT_ADMIN_ORGS_WITHOUT_ADMINS = "/data-views/admin/organizations/without-admins";
45
74
  export declare const ENDPOINT_CREATE_PROJECT = "/commands/admin/project";
46
75
  export declare const ENDPOINT_DELETE_PROJECT: (projectId: string) => string;
76
+ export declare const ENDPOINT_RESTORE_PROJECT: (projectId: string) => string;
77
+ export declare const ENDPOINT_PROJECT_MEMBERS: (projectId: string) => string;
78
+ export declare const ENDPOINT_PROJECT_MEMBER_ROLE: (projectId: string, userId: string) => string;
79
+ export declare const ENDPOINT_PROJECT_MEMBER: (projectId: string, userId: string) => string;
80
+ export declare const ENDPOINT_PROJECT_METADATA_READ: (projectId: string) => string;
81
+ export declare const ENDPOINT_PROJECT_METADATA_WRITE: (projectId: string) => string;
47
82
  export declare const ENDPOINT_SEARCH = "/assistant/search";
48
83
  export declare const ENDPOINT_MCP = "/mcp";
49
84
  export declare const ENDPOINT_INDEX_SEARCH = "/index/search";
@@ -58,10 +93,19 @@ export declare const ENDPOINT_QLEVER_SHACL = "/qlever-server/qlever/shacl";
58
93
  export declare const ENDPOINT_QLEVER_ADMIN_REBUILD = "/qlever-server/qlever/admin/rebuild";
59
94
  export declare const ENDPOINT_QLEVER_ADMIN_STATS_REFRESH = "/qlever-server/admin/stats/refresh";
60
95
  export declare const ENDPOINT_FSS_BATCH = "/commands/file-system-structure/batch";
96
+ export declare const ENDPOINT_DMS_SYNC_PROVIDERS = "/commands/dms-sync/providers";
97
+ export declare const ENDPOINT_DMS_SYNC_PREVIEW: (providerId: string) => string;
98
+ export declare const ENDPOINT_DMS_SYNC_CONFIRM: (providerId: string) => string;
61
99
  export declare const ENDPOINT_STORAGE_SESSIONS = "/storage/sessions";
62
100
  export declare const ENDPOINT_STORAGE_RAW = "/storage/raw";
63
101
  export declare const ENDPOINT_STORAGE_PROCESSED = "/storage/processed";
64
102
  export declare const ENDPOINT_PROCESSING_STATUS_WS = "/data-views/processing-status";
103
+ /**
104
+ * Cross-project processing rollup for the signed-in user. Takes no projectId —
105
+ * the gateway resolves memberships from the token, so this path is listed under
106
+ * `skip_project_validation` in kong.yml.
107
+ */
108
+ export declare const ENDPOINT_MY_PROCESSING_STATUS_WS = "/data-views/processing-status/mine";
65
109
  export declare const MICROSOFT_PROVIDER_ID = "microsoft.com";
66
110
  export declare const SUPERADMIN_ROLE = "superadmin";
67
111
  /**