@gleanwork/api-client 0.4.0 → 0.4.1
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/FUNCTIONS.md +1 -1
- package/REACT_QUERY.md +3 -3
- package/README.md +11 -11
- package/dist/commonjs/__tests__/activity.test.js +2 -2
- package/dist/commonjs/__tests__/activity.test.js.map +1 -1
- package/dist/commonjs/__tests__/adminsearch.test.js +1 -1
- package/dist/commonjs/__tests__/adminsearch.test.js.map +1 -1
- package/dist/commonjs/__tests__/agents.test.js +4 -4
- package/dist/commonjs/__tests__/agents.test.js.map +1 -1
- package/dist/commonjs/__tests__/announcements.test.js +3 -3
- package/dist/commonjs/__tests__/announcements.test.js.map +1 -1
- package/dist/commonjs/__tests__/answers.test.js +5 -5
- package/dist/commonjs/__tests__/answers.test.js.map +1 -1
- package/dist/commonjs/__tests__/chat.test.js +18 -18
- package/dist/commonjs/__tests__/chat.test.js.map +1 -1
- package/dist/commonjs/__tests__/clientauthentication.test.js +1 -1
- package/dist/commonjs/__tests__/clientauthentication.test.js.map +1 -1
- package/dist/commonjs/__tests__/clientdocuments.test.js +4 -4
- package/dist/commonjs/__tests__/clientdocuments.test.js.map +1 -1
- package/dist/commonjs/__tests__/clientsearch.test.js +3 -3
- package/dist/commonjs/__tests__/clientsearch.test.js.map +1 -1
- package/dist/commonjs/__tests__/clientshortcuts.test.js +5 -5
- package/dist/commonjs/__tests__/clientshortcuts.test.js.map +1 -1
- package/dist/commonjs/__tests__/collections.test.js +8 -8
- package/dist/commonjs/__tests__/collections.test.js.map +1 -1
- package/dist/commonjs/__tests__/datasources.test.js +2 -2
- package/dist/commonjs/__tests__/datasources.test.js.map +1 -1
- package/dist/commonjs/__tests__/entities.test.js +2 -2
- package/dist/commonjs/__tests__/entities.test.js.map +1 -1
- package/dist/commonjs/__tests__/indexingauthentication.test.js +1 -1
- package/dist/commonjs/__tests__/indexingauthentication.test.js.map +1 -1
- package/dist/commonjs/__tests__/indexingdocuments.test.js +8 -8
- package/dist/commonjs/__tests__/indexingdocuments.test.js.map +1 -1
- package/dist/commonjs/__tests__/indexingpeople.test.js +2 -2
- package/dist/commonjs/__tests__/indexingpeople.test.js.map +1 -1
- package/dist/commonjs/__tests__/insights.test.js +1 -1
- package/dist/commonjs/__tests__/insights.test.js.map +1 -1
- package/dist/commonjs/__tests__/messages.test.js +1 -1
- package/dist/commonjs/__tests__/messages.test.js.map +1 -1
- package/dist/commonjs/__tests__/permissions.test.js +12 -12
- package/dist/commonjs/__tests__/permissions.test.js.map +1 -1
- package/dist/commonjs/__tests__/pins.test.js +5 -5
- package/dist/commonjs/__tests__/pins.test.js.map +1 -1
- package/dist/commonjs/__tests__/policies.test.js +2 -2
- package/dist/commonjs/__tests__/policies.test.js.map +1 -1
- package/dist/commonjs/__tests__/search.test.js +1 -1
- package/dist/commonjs/__tests__/search.test.js.map +1 -1
- package/dist/commonjs/__tests__/verification.test.js +3 -3
- package/dist/commonjs/__tests__/verification.test.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/lib/env.d.ts +1 -1
- package/dist/commonjs/lib/env.d.ts.map +1 -1
- package/dist/commonjs/lib/env.js +1 -1
- package/dist/commonjs/lib/env.js.map +1 -1
- package/dist/commonjs/lib/security.js +2 -2
- package/dist/commonjs/lib/security.js.map +1 -1
- package/dist/commonjs/models/components/security.d.ts +2 -2
- package/dist/commonjs/models/components/security.d.ts.map +1 -1
- package/dist/commonjs/models/components/security.js +11 -2
- package/dist/commonjs/models/components/security.js.map +1 -1
- package/dist/esm/__tests__/activity.test.js +2 -2
- package/dist/esm/__tests__/activity.test.js.map +1 -1
- package/dist/esm/__tests__/adminsearch.test.js +1 -1
- package/dist/esm/__tests__/adminsearch.test.js.map +1 -1
- package/dist/esm/__tests__/agents.test.js +4 -4
- package/dist/esm/__tests__/agents.test.js.map +1 -1
- package/dist/esm/__tests__/announcements.test.js +3 -3
- package/dist/esm/__tests__/announcements.test.js.map +1 -1
- package/dist/esm/__tests__/answers.test.js +5 -5
- package/dist/esm/__tests__/answers.test.js.map +1 -1
- package/dist/esm/__tests__/chat.test.js +18 -18
- package/dist/esm/__tests__/chat.test.js.map +1 -1
- package/dist/esm/__tests__/clientauthentication.test.js +1 -1
- package/dist/esm/__tests__/clientauthentication.test.js.map +1 -1
- package/dist/esm/__tests__/clientdocuments.test.js +4 -4
- package/dist/esm/__tests__/clientdocuments.test.js.map +1 -1
- package/dist/esm/__tests__/clientsearch.test.js +3 -3
- package/dist/esm/__tests__/clientsearch.test.js.map +1 -1
- package/dist/esm/__tests__/clientshortcuts.test.js +5 -5
- package/dist/esm/__tests__/clientshortcuts.test.js.map +1 -1
- package/dist/esm/__tests__/collections.test.js +8 -8
- package/dist/esm/__tests__/collections.test.js.map +1 -1
- package/dist/esm/__tests__/datasources.test.js +2 -2
- package/dist/esm/__tests__/datasources.test.js.map +1 -1
- package/dist/esm/__tests__/entities.test.js +2 -2
- package/dist/esm/__tests__/entities.test.js.map +1 -1
- package/dist/esm/__tests__/indexingauthentication.test.js +1 -1
- package/dist/esm/__tests__/indexingauthentication.test.js.map +1 -1
- package/dist/esm/__tests__/indexingdocuments.test.js +8 -8
- package/dist/esm/__tests__/indexingdocuments.test.js.map +1 -1
- package/dist/esm/__tests__/indexingpeople.test.js +2 -2
- package/dist/esm/__tests__/indexingpeople.test.js.map +1 -1
- package/dist/esm/__tests__/insights.test.js +1 -1
- package/dist/esm/__tests__/insights.test.js.map +1 -1
- package/dist/esm/__tests__/messages.test.js +1 -1
- package/dist/esm/__tests__/messages.test.js.map +1 -1
- package/dist/esm/__tests__/permissions.test.js +12 -12
- package/dist/esm/__tests__/permissions.test.js.map +1 -1
- package/dist/esm/__tests__/pins.test.js +5 -5
- package/dist/esm/__tests__/pins.test.js.map +1 -1
- package/dist/esm/__tests__/policies.test.js +2 -2
- package/dist/esm/__tests__/policies.test.js.map +1 -1
- package/dist/esm/__tests__/search.test.js +1 -1
- package/dist/esm/__tests__/search.test.js.map +1 -1
- package/dist/esm/__tests__/verification.test.js +3 -3
- package/dist/esm/__tests__/verification.test.js.map +1 -1
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/lib/env.d.ts +1 -1
- package/dist/esm/lib/env.d.ts.map +1 -1
- package/dist/esm/lib/env.js +1 -1
- package/dist/esm/lib/env.js.map +1 -1
- package/dist/esm/lib/security.js +2 -2
- package/dist/esm/lib/security.js.map +1 -1
- package/dist/esm/models/components/security.d.ts +2 -2
- package/dist/esm/models/components/security.d.ts.map +1 -1
- package/dist/esm/models/components/security.js +11 -2
- package/dist/esm/models/components/security.js.map +1 -1
- package/docs/sdks/activity/README.md +4 -4
- package/docs/sdks/agents/README.md +10 -10
- package/docs/sdks/announcements/README.md +6097 -861
- package/docs/sdks/answers/README.md +10 -10
- package/docs/sdks/chat/README.md +20 -20
- package/docs/sdks/clientauthentication/README.md +2 -2
- package/docs/sdks/clientdocuments/README.md +8 -8
- package/docs/sdks/clientshortcuts/README.md +10 -10
- package/docs/sdks/collections/README.md +16 -16
- package/docs/sdks/datasource/README.md +2 -2
- package/docs/sdks/datasources/README.md +4 -4
- package/docs/sdks/entities/README.md +4 -4
- package/docs/sdks/indexingauthentication/README.md +2 -2
- package/docs/sdks/indexingdocuments/README.md +20 -20
- package/docs/sdks/indexingshortcuts/README.md +4 -4
- package/docs/sdks/insights/README.md +2 -2
- package/docs/sdks/messages/README.md +2 -2
- package/docs/sdks/people/README.md +18 -18
- package/docs/sdks/permissions/README.md +24 -24
- package/docs/sdks/pins/README.md +10 -10
- package/docs/sdks/policies/README.md +10 -10
- package/docs/sdks/reports/README.md +6 -6
- package/docs/sdks/search/README.md +10 -10
- package/docs/sdks/verification/README.md +6 -6
- package/docs/sdks/visibilityoverrides/README.md +4 -4
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/activity.test.ts +2 -2
- package/src/__tests__/adminsearch.test.ts +1 -1
- package/src/__tests__/agents.test.ts +4 -4
- package/src/__tests__/announcements.test.ts +3 -3
- package/src/__tests__/answers.test.ts +5 -5
- package/src/__tests__/chat.test.ts +18 -18
- package/src/__tests__/clientauthentication.test.ts +1 -1
- package/src/__tests__/clientdocuments.test.ts +4 -4
- package/src/__tests__/clientsearch.test.ts +3 -3
- package/src/__tests__/clientshortcuts.test.ts +5 -5
- package/src/__tests__/collections.test.ts +8 -8
- package/src/__tests__/datasources.test.ts +2 -2
- package/src/__tests__/entities.test.ts +2 -2
- package/src/__tests__/indexingauthentication.test.ts +1 -1
- package/src/__tests__/indexingdocuments.test.ts +8 -8
- package/src/__tests__/indexingpeople.test.ts +2 -2
- package/src/__tests__/insights.test.ts +1 -1
- package/src/__tests__/messages.test.ts +1 -1
- package/src/__tests__/permissions.test.ts +12 -12
- package/src/__tests__/pins.test.ts +5 -5
- package/src/__tests__/policies.test.ts +2 -2
- package/src/__tests__/search.test.ts +1 -1
- package/src/__tests__/verification.test.ts +3 -3
- package/src/lib/config.ts +2 -2
- package/src/lib/env.ts +2 -2
- package/src/lib/security.ts +2 -2
- package/src/models/components/security.ts +13 -4
|
@@ -23,7 +23,7 @@ import { RFCDate } from "@gleanwork/api-client/types";
|
|
|
23
23
|
|
|
24
24
|
const glean = new Glean({
|
|
25
25
|
security: {
|
|
26
|
-
|
|
26
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
27
27
|
},
|
|
28
28
|
});
|
|
29
29
|
|
|
@@ -1383,7 +1383,7 @@ import { RFCDate } from "@gleanwork/api-client/types";
|
|
|
1383
1383
|
// You can create one instance of it to use across an application.
|
|
1384
1384
|
const glean = new GleanCore({
|
|
1385
1385
|
security: {
|
|
1386
|
-
|
|
1386
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
1387
1387
|
},
|
|
1388
1388
|
});
|
|
1389
1389
|
|
|
@@ -2783,7 +2783,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
2783
2783
|
|
|
2784
2784
|
const glean = new Glean({
|
|
2785
2785
|
security: {
|
|
2786
|
-
|
|
2786
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
2787
2787
|
},
|
|
2788
2788
|
});
|
|
2789
2789
|
|
|
@@ -2811,7 +2811,7 @@ import { clientAnswersDelete } from "@gleanwork/api-client/funcs/clientAnswersDe
|
|
|
2811
2811
|
// You can create one instance of it to use across an application.
|
|
2812
2812
|
const glean = new GleanCore({
|
|
2813
2813
|
security: {
|
|
2814
|
-
|
|
2814
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
2815
2815
|
},
|
|
2816
2816
|
});
|
|
2817
2817
|
|
|
@@ -2881,7 +2881,7 @@ import { RFCDate } from "@gleanwork/api-client/types";
|
|
|
2881
2881
|
|
|
2882
2882
|
const glean = new Glean({
|
|
2883
2883
|
security: {
|
|
2884
|
-
|
|
2884
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
2885
2885
|
},
|
|
2886
2886
|
});
|
|
2887
2887
|
|
|
@@ -3829,7 +3829,7 @@ import { RFCDate } from "@gleanwork/api-client/types";
|
|
|
3829
3829
|
// You can create one instance of it to use across an application.
|
|
3830
3830
|
const glean = new GleanCore({
|
|
3831
3831
|
security: {
|
|
3832
|
-
|
|
3832
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
3833
3833
|
},
|
|
3834
3834
|
});
|
|
3835
3835
|
|
|
@@ -4817,7 +4817,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
4817
4817
|
|
|
4818
4818
|
const glean = new Glean({
|
|
4819
4819
|
security: {
|
|
4820
|
-
|
|
4820
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
4821
4821
|
},
|
|
4822
4822
|
});
|
|
4823
4823
|
|
|
@@ -4846,7 +4846,7 @@ import { clientAnswersRetrieve } from "@gleanwork/api-client/funcs/clientAnswers
|
|
|
4846
4846
|
// You can create one instance of it to use across an application.
|
|
4847
4847
|
const glean = new GleanCore({
|
|
4848
4848
|
security: {
|
|
4849
|
-
|
|
4849
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
4850
4850
|
},
|
|
4851
4851
|
});
|
|
4852
4852
|
|
|
@@ -4916,7 +4916,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
4916
4916
|
|
|
4917
4917
|
const glean = new Glean({
|
|
4918
4918
|
security: {
|
|
4919
|
-
|
|
4919
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
4920
4920
|
},
|
|
4921
4921
|
});
|
|
4922
4922
|
|
|
@@ -4942,7 +4942,7 @@ import { clientAnswersList } from "@gleanwork/api-client/funcs/clientAnswersList
|
|
|
4942
4942
|
// You can create one instance of it to use across an application.
|
|
4943
4943
|
const glean = new GleanCore({
|
|
4944
4944
|
security: {
|
|
4945
|
-
|
|
4945
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
4946
4946
|
},
|
|
4947
4947
|
});
|
|
4948
4948
|
|
package/docs/sdks/chat/README.md
CHANGED
|
@@ -27,7 +27,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
27
27
|
|
|
28
28
|
const glean = new Glean({
|
|
29
29
|
security: {
|
|
30
|
-
|
|
30
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
31
31
|
},
|
|
32
32
|
});
|
|
33
33
|
|
|
@@ -63,7 +63,7 @@ import { clientChatCreate } from "@gleanwork/api-client/funcs/clientChatCreate.j
|
|
|
63
63
|
// You can create one instance of it to use across an application.
|
|
64
64
|
const glean = new GleanCore({
|
|
65
65
|
security: {
|
|
66
|
-
|
|
66
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
67
67
|
},
|
|
68
68
|
});
|
|
69
69
|
|
|
@@ -141,7 +141,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
141
141
|
|
|
142
142
|
const glean = new Glean({
|
|
143
143
|
security: {
|
|
144
|
-
|
|
144
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
145
145
|
},
|
|
146
146
|
});
|
|
147
147
|
|
|
@@ -166,7 +166,7 @@ import { clientChatDeleteAll } from "@gleanwork/api-client/funcs/clientChatDelet
|
|
|
166
166
|
// You can create one instance of it to use across an application.
|
|
167
167
|
const glean = new GleanCore({
|
|
168
168
|
security: {
|
|
169
|
-
|
|
169
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
170
170
|
},
|
|
171
171
|
});
|
|
172
172
|
|
|
@@ -232,7 +232,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
232
232
|
|
|
233
233
|
const glean = new Glean({
|
|
234
234
|
security: {
|
|
235
|
-
|
|
235
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
236
236
|
},
|
|
237
237
|
});
|
|
238
238
|
|
|
@@ -259,7 +259,7 @@ import { clientChatDelete } from "@gleanwork/api-client/funcs/clientChatDelete.j
|
|
|
259
259
|
// You can create one instance of it to use across an application.
|
|
260
260
|
const glean = new GleanCore({
|
|
261
261
|
security: {
|
|
262
|
-
|
|
262
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
263
263
|
},
|
|
264
264
|
});
|
|
265
265
|
|
|
@@ -328,7 +328,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
328
328
|
|
|
329
329
|
const glean = new Glean({
|
|
330
330
|
security: {
|
|
331
|
-
|
|
331
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
332
332
|
},
|
|
333
333
|
});
|
|
334
334
|
|
|
@@ -356,7 +356,7 @@ import { clientChatRetrieve } from "@gleanwork/api-client/funcs/clientChatRetrie
|
|
|
356
356
|
// You can create one instance of it to use across an application.
|
|
357
357
|
const glean = new GleanCore({
|
|
358
358
|
security: {
|
|
359
|
-
|
|
359
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
360
360
|
},
|
|
361
361
|
});
|
|
362
362
|
|
|
@@ -426,7 +426,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
426
426
|
|
|
427
427
|
const glean = new Glean({
|
|
428
428
|
security: {
|
|
429
|
-
|
|
429
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
430
430
|
},
|
|
431
431
|
});
|
|
432
432
|
|
|
@@ -452,7 +452,7 @@ import { clientChatList } from "@gleanwork/api-client/funcs/clientChatList.js";
|
|
|
452
452
|
// You can create one instance of it to use across an application.
|
|
453
453
|
const glean = new GleanCore({
|
|
454
454
|
security: {
|
|
455
|
-
|
|
455
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
456
456
|
},
|
|
457
457
|
});
|
|
458
458
|
|
|
@@ -519,7 +519,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
519
519
|
|
|
520
520
|
const glean = new Glean({
|
|
521
521
|
security: {
|
|
522
|
-
|
|
522
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
523
523
|
},
|
|
524
524
|
});
|
|
525
525
|
|
|
@@ -547,7 +547,7 @@ import { clientChatRetrieveApplication } from "@gleanwork/api-client/funcs/clien
|
|
|
547
547
|
// You can create one instance of it to use across an application.
|
|
548
548
|
const glean = new GleanCore({
|
|
549
549
|
security: {
|
|
550
|
-
|
|
550
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
551
551
|
},
|
|
552
552
|
});
|
|
553
553
|
|
|
@@ -618,7 +618,7 @@ import { openAsBlob } from "node:fs";
|
|
|
618
618
|
|
|
619
619
|
const glean = new Glean({
|
|
620
620
|
security: {
|
|
621
|
-
|
|
621
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
622
622
|
},
|
|
623
623
|
});
|
|
624
624
|
|
|
@@ -652,7 +652,7 @@ import { openAsBlob } from "node:fs";
|
|
|
652
652
|
// You can create one instance of it to use across an application.
|
|
653
653
|
const glean = new GleanCore({
|
|
654
654
|
security: {
|
|
655
|
-
|
|
655
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
656
656
|
},
|
|
657
657
|
});
|
|
658
658
|
|
|
@@ -727,7 +727,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
727
727
|
|
|
728
728
|
const glean = new Glean({
|
|
729
729
|
security: {
|
|
730
|
-
|
|
730
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
731
731
|
},
|
|
732
732
|
});
|
|
733
733
|
|
|
@@ -757,7 +757,7 @@ import { clientChatRetrieveFiles } from "@gleanwork/api-client/funcs/clientChatR
|
|
|
757
757
|
// You can create one instance of it to use across an application.
|
|
758
758
|
const glean = new GleanCore({
|
|
759
759
|
security: {
|
|
760
|
-
|
|
760
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
761
761
|
},
|
|
762
762
|
});
|
|
763
763
|
|
|
@@ -829,7 +829,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
829
829
|
|
|
830
830
|
const glean = new Glean({
|
|
831
831
|
security: {
|
|
832
|
-
|
|
832
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
833
833
|
},
|
|
834
834
|
});
|
|
835
835
|
|
|
@@ -860,7 +860,7 @@ import { clientChatDeleteFiles } from "@gleanwork/api-client/funcs/clientChatDel
|
|
|
860
860
|
// You can create one instance of it to use across an application.
|
|
861
861
|
const glean = new GleanCore({
|
|
862
862
|
security: {
|
|
863
|
-
|
|
863
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
864
864
|
},
|
|
865
865
|
});
|
|
866
866
|
|
|
@@ -933,7 +933,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
933
933
|
|
|
934
934
|
const glean = new Glean({
|
|
935
935
|
security: {
|
|
936
|
-
|
|
936
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
937
937
|
},
|
|
938
938
|
});
|
|
939
939
|
|
|
@@ -969,7 +969,7 @@ import { clientChatCreateStream } from "@gleanwork/api-client/funcs/clientChatCr
|
|
|
969
969
|
// You can create one instance of it to use across an application.
|
|
970
970
|
const glean = new GleanCore({
|
|
971
971
|
security: {
|
|
972
|
-
|
|
972
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
973
973
|
},
|
|
974
974
|
});
|
|
975
975
|
|
|
@@ -18,7 +18,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
18
18
|
|
|
19
19
|
const glean = new Glean({
|
|
20
20
|
security: {
|
|
21
|
-
|
|
21
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
22
22
|
},
|
|
23
23
|
});
|
|
24
24
|
|
|
@@ -44,7 +44,7 @@ import { clientAuthenticationCreateToken } from "@gleanwork/api-client/funcs/cli
|
|
|
44
44
|
// You can create one instance of it to use across an application.
|
|
45
45
|
const glean = new GleanCore({
|
|
46
46
|
security: {
|
|
47
|
-
|
|
47
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
48
48
|
},
|
|
49
49
|
});
|
|
50
50
|
|
|
@@ -21,7 +21,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
21
21
|
|
|
22
22
|
const glean = new Glean({
|
|
23
23
|
security: {
|
|
24
|
-
|
|
24
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
25
25
|
},
|
|
26
26
|
});
|
|
27
27
|
|
|
@@ -47,7 +47,7 @@ import { clientDocumentsRetrievePermissions } from "@gleanwork/api-client/funcs/
|
|
|
47
47
|
// You can create one instance of it to use across an application.
|
|
48
48
|
const glean = new GleanCore({
|
|
49
49
|
security: {
|
|
50
|
-
|
|
50
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
51
51
|
},
|
|
52
52
|
});
|
|
53
53
|
|
|
@@ -114,7 +114,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
114
114
|
|
|
115
115
|
const glean = new Glean({
|
|
116
116
|
security: {
|
|
117
|
-
|
|
117
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
118
118
|
},
|
|
119
119
|
});
|
|
120
120
|
|
|
@@ -140,7 +140,7 @@ import { clientDocumentsRetrieve } from "@gleanwork/api-client/funcs/clientDocum
|
|
|
140
140
|
// You can create one instance of it to use across an application.
|
|
141
141
|
const glean = new GleanCore({
|
|
142
142
|
security: {
|
|
143
|
-
|
|
143
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
144
144
|
},
|
|
145
145
|
});
|
|
146
146
|
|
|
@@ -207,7 +207,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
207
207
|
|
|
208
208
|
const glean = new Glean({
|
|
209
209
|
security: {
|
|
210
|
-
|
|
210
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
211
211
|
},
|
|
212
212
|
});
|
|
213
213
|
|
|
@@ -270,7 +270,7 @@ import { clientDocumentsRetrieveByFacets } from "@gleanwork/api-client/funcs/cli
|
|
|
270
270
|
// You can create one instance of it to use across an application.
|
|
271
271
|
const glean = new GleanCore({
|
|
272
272
|
security: {
|
|
273
|
-
|
|
273
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
274
274
|
},
|
|
275
275
|
});
|
|
276
276
|
|
|
@@ -374,7 +374,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
374
374
|
|
|
375
375
|
const glean = new Glean({
|
|
376
376
|
security: {
|
|
377
|
-
|
|
377
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
378
378
|
},
|
|
379
379
|
});
|
|
380
380
|
|
|
@@ -406,7 +406,7 @@ import { clientDocumentsSummarize } from "@gleanwork/api-client/funcs/clientDocu
|
|
|
406
406
|
// You can create one instance of it to use across an application.
|
|
407
407
|
const glean = new GleanCore({
|
|
408
408
|
security: {
|
|
409
|
-
|
|
409
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
410
410
|
},
|
|
411
411
|
});
|
|
412
412
|
|
|
@@ -23,7 +23,7 @@ import { RFCDate } from "@gleanwork/api-client/types";
|
|
|
23
23
|
|
|
24
24
|
const glean = new Glean({
|
|
25
25
|
security: {
|
|
26
|
-
|
|
26
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
27
27
|
},
|
|
28
28
|
});
|
|
29
29
|
|
|
@@ -1635,7 +1635,7 @@ import { RFCDate } from "@gleanwork/api-client/types";
|
|
|
1635
1635
|
// You can create one instance of it to use across an application.
|
|
1636
1636
|
const glean = new GleanCore({
|
|
1637
1637
|
security: {
|
|
1638
|
-
|
|
1638
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
1639
1639
|
},
|
|
1640
1640
|
});
|
|
1641
1641
|
|
|
@@ -3287,7 +3287,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
3287
3287
|
|
|
3288
3288
|
const glean = new Glean({
|
|
3289
3289
|
security: {
|
|
3290
|
-
|
|
3290
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
3291
3291
|
},
|
|
3292
3292
|
});
|
|
3293
3293
|
|
|
@@ -3314,7 +3314,7 @@ import { clientShortcutsDelete } from "@gleanwork/api-client/funcs/clientShortcu
|
|
|
3314
3314
|
// You can create one instance of it to use across an application.
|
|
3315
3315
|
const glean = new GleanCore({
|
|
3316
3316
|
security: {
|
|
3317
|
-
|
|
3317
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
3318
3318
|
},
|
|
3319
3319
|
});
|
|
3320
3320
|
|
|
@@ -3382,7 +3382,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
3382
3382
|
|
|
3383
3383
|
const glean = new Glean({
|
|
3384
3384
|
security: {
|
|
3385
|
-
|
|
3385
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
3386
3386
|
},
|
|
3387
3387
|
});
|
|
3388
3388
|
|
|
@@ -3410,7 +3410,7 @@ import { clientShortcutsRetrieve } from "@gleanwork/api-client/funcs/clientShort
|
|
|
3410
3410
|
// You can create one instance of it to use across an application.
|
|
3411
3411
|
const glean = new GleanCore({
|
|
3412
3412
|
security: {
|
|
3413
|
-
|
|
3413
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
3414
3414
|
},
|
|
3415
3415
|
});
|
|
3416
3416
|
|
|
@@ -3479,7 +3479,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
3479
3479
|
|
|
3480
3480
|
const glean = new Glean({
|
|
3481
3481
|
security: {
|
|
3482
|
-
|
|
3482
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
3483
3483
|
},
|
|
3484
3484
|
});
|
|
3485
3485
|
|
|
@@ -3522,7 +3522,7 @@ import { clientShortcutsList } from "@gleanwork/api-client/funcs/clientShortcuts
|
|
|
3522
3522
|
// You can create one instance of it to use across an application.
|
|
3523
3523
|
const glean = new GleanCore({
|
|
3524
3524
|
security: {
|
|
3525
|
-
|
|
3525
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
3526
3526
|
},
|
|
3527
3527
|
});
|
|
3528
3528
|
|
|
@@ -3607,7 +3607,7 @@ import { RFCDate } from "@gleanwork/api-client/types";
|
|
|
3607
3607
|
|
|
3608
3608
|
const glean = new Glean({
|
|
3609
3609
|
security: {
|
|
3610
|
-
|
|
3610
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
3611
3611
|
},
|
|
3612
3612
|
});
|
|
3613
3613
|
|
|
@@ -6475,7 +6475,7 @@ import { RFCDate } from "@gleanwork/api-client/types";
|
|
|
6475
6475
|
// You can create one instance of it to use across an application.
|
|
6476
6476
|
const glean = new GleanCore({
|
|
6477
6477
|
security: {
|
|
6478
|
-
|
|
6478
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
6479
6479
|
},
|
|
6480
6480
|
});
|
|
6481
6481
|
|
|
@@ -25,7 +25,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
25
25
|
|
|
26
26
|
const glean = new Glean({
|
|
27
27
|
security: {
|
|
28
|
-
|
|
28
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
29
29
|
},
|
|
30
30
|
});
|
|
31
31
|
|
|
@@ -53,7 +53,7 @@ import { clientCollectionsAddItems } from "@gleanwork/api-client/funcs/clientCol
|
|
|
53
53
|
// You can create one instance of it to use across an application.
|
|
54
54
|
const glean = new GleanCore({
|
|
55
55
|
security: {
|
|
56
|
-
|
|
56
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
57
57
|
},
|
|
58
58
|
});
|
|
59
59
|
|
|
@@ -123,7 +123,7 @@ import { RFCDate } from "@gleanwork/api-client/types";
|
|
|
123
123
|
|
|
124
124
|
const glean = new Glean({
|
|
125
125
|
security: {
|
|
126
|
-
|
|
126
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
127
127
|
},
|
|
128
128
|
});
|
|
129
129
|
|
|
@@ -801,7 +801,7 @@ import { RFCDate } from "@gleanwork/api-client/types";
|
|
|
801
801
|
// You can create one instance of it to use across an application.
|
|
802
802
|
const glean = new GleanCore({
|
|
803
803
|
security: {
|
|
804
|
-
|
|
804
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
805
805
|
},
|
|
806
806
|
});
|
|
807
807
|
|
|
@@ -1520,7 +1520,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
1520
1520
|
|
|
1521
1521
|
const glean = new Glean({
|
|
1522
1522
|
security: {
|
|
1523
|
-
|
|
1523
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
1524
1524
|
},
|
|
1525
1525
|
});
|
|
1526
1526
|
|
|
@@ -1551,7 +1551,7 @@ import { clientCollectionsDelete } from "@gleanwork/api-client/funcs/clientColle
|
|
|
1551
1551
|
// You can create one instance of it to use across an application.
|
|
1552
1552
|
const glean = new GleanCore({
|
|
1553
1553
|
security: {
|
|
1554
|
-
|
|
1554
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
1555
1555
|
},
|
|
1556
1556
|
});
|
|
1557
1557
|
|
|
@@ -1624,7 +1624,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
1624
1624
|
|
|
1625
1625
|
const glean = new Glean({
|
|
1626
1626
|
security: {
|
|
1627
|
-
|
|
1627
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
1628
1628
|
},
|
|
1629
1629
|
});
|
|
1630
1630
|
|
|
@@ -1653,7 +1653,7 @@ import { clientCollectionsDeleteItem } from "@gleanwork/api-client/funcs/clientC
|
|
|
1653
1653
|
// You can create one instance of it to use across an application.
|
|
1654
1654
|
const glean = new GleanCore({
|
|
1655
1655
|
security: {
|
|
1656
|
-
|
|
1656
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
1657
1657
|
},
|
|
1658
1658
|
});
|
|
1659
1659
|
|
|
@@ -1724,7 +1724,7 @@ import { RFCDate } from "@gleanwork/api-client/types";
|
|
|
1724
1724
|
|
|
1725
1725
|
const glean = new Glean({
|
|
1726
1726
|
security: {
|
|
1727
|
-
|
|
1727
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
1728
1728
|
},
|
|
1729
1729
|
});
|
|
1730
1730
|
|
|
@@ -2803,7 +2803,7 @@ import { RFCDate } from "@gleanwork/api-client/types";
|
|
|
2803
2803
|
// You can create one instance of it to use across an application.
|
|
2804
2804
|
const glean = new GleanCore({
|
|
2805
2805
|
security: {
|
|
2806
|
-
|
|
2806
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
2807
2807
|
},
|
|
2808
2808
|
});
|
|
2809
2809
|
|
|
@@ -3923,7 +3923,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
3923
3923
|
|
|
3924
3924
|
const glean = new Glean({
|
|
3925
3925
|
security: {
|
|
3926
|
-
|
|
3926
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
3927
3927
|
},
|
|
3928
3928
|
});
|
|
3929
3929
|
|
|
@@ -3952,7 +3952,7 @@ import { clientCollectionsUpdateItem } from "@gleanwork/api-client/funcs/clientC
|
|
|
3952
3952
|
// You can create one instance of it to use across an application.
|
|
3953
3953
|
const glean = new GleanCore({
|
|
3954
3954
|
security: {
|
|
3955
|
-
|
|
3955
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
3956
3956
|
},
|
|
3957
3957
|
});
|
|
3958
3958
|
|
|
@@ -4022,7 +4022,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
4022
4022
|
|
|
4023
4023
|
const glean = new Glean({
|
|
4024
4024
|
security: {
|
|
4025
|
-
|
|
4025
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
4026
4026
|
},
|
|
4027
4027
|
});
|
|
4028
4028
|
|
|
@@ -4050,7 +4050,7 @@ import { clientCollectionsRetrieve } from "@gleanwork/api-client/funcs/clientCol
|
|
|
4050
4050
|
// You can create one instance of it to use across an application.
|
|
4051
4051
|
const glean = new GleanCore({
|
|
4052
4052
|
security: {
|
|
4053
|
-
|
|
4053
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
4054
4054
|
},
|
|
4055
4055
|
});
|
|
4056
4056
|
|
|
@@ -4119,7 +4119,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
4119
4119
|
|
|
4120
4120
|
const glean = new Glean({
|
|
4121
4121
|
security: {
|
|
4122
|
-
|
|
4122
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
4123
4123
|
},
|
|
4124
4124
|
});
|
|
4125
4125
|
|
|
@@ -4145,7 +4145,7 @@ import { clientCollectionsList } from "@gleanwork/api-client/funcs/clientCollect
|
|
|
4145
4145
|
// You can create one instance of it to use across an application.
|
|
4146
4146
|
const glean = new GleanCore({
|
|
4147
4147
|
security: {
|
|
4148
|
-
|
|
4148
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
4149
4149
|
},
|
|
4150
4150
|
});
|
|
4151
4151
|
|
|
@@ -22,7 +22,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
22
22
|
|
|
23
23
|
const glean = new Glean({
|
|
24
24
|
security: {
|
|
25
|
-
|
|
25
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
26
26
|
},
|
|
27
27
|
});
|
|
28
28
|
|
|
@@ -48,7 +48,7 @@ import { indexingDatasourceStatus } from "@gleanwork/api-client/funcs/indexingDa
|
|
|
48
48
|
// You can create one instance of it to use across an application.
|
|
49
49
|
const glean = new GleanCore({
|
|
50
50
|
security: {
|
|
51
|
-
|
|
51
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
52
52
|
},
|
|
53
53
|
});
|
|
54
54
|
|
|
@@ -19,7 +19,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
19
19
|
|
|
20
20
|
const glean = new Glean({
|
|
21
21
|
security: {
|
|
22
|
-
|
|
22
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
23
23
|
},
|
|
24
24
|
});
|
|
25
25
|
|
|
@@ -57,7 +57,7 @@ import { indexingDatasourcesAdd } from "@gleanwork/api-client/funcs/indexingData
|
|
|
57
57
|
// You can create one instance of it to use across an application.
|
|
58
58
|
const glean = new GleanCore({
|
|
59
59
|
security: {
|
|
60
|
-
|
|
60
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
61
61
|
},
|
|
62
62
|
});
|
|
63
63
|
|
|
@@ -136,7 +136,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
136
136
|
|
|
137
137
|
const glean = new Glean({
|
|
138
138
|
security: {
|
|
139
|
-
|
|
139
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
140
140
|
},
|
|
141
141
|
});
|
|
142
142
|
|
|
@@ -164,7 +164,7 @@ import { indexingDatasourcesRetrieveConfig } from "@gleanwork/api-client/funcs/i
|
|
|
164
164
|
// You can create one instance of it to use across an application.
|
|
165
165
|
const glean = new GleanCore({
|
|
166
166
|
security: {
|
|
167
|
-
|
|
167
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
168
168
|
},
|
|
169
169
|
});
|
|
170
170
|
|
|
@@ -19,7 +19,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
19
19
|
|
|
20
20
|
const glean = new Glean({
|
|
21
21
|
security: {
|
|
22
|
-
|
|
22
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
23
23
|
},
|
|
24
24
|
});
|
|
25
25
|
|
|
@@ -62,7 +62,7 @@ import { clientEntitiesList } from "@gleanwork/api-client/funcs/clientEntitiesLi
|
|
|
62
62
|
// You can create one instance of it to use across an application.
|
|
63
63
|
const glean = new GleanCore({
|
|
64
64
|
security: {
|
|
65
|
-
|
|
65
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
66
66
|
},
|
|
67
67
|
});
|
|
68
68
|
|
|
@@ -146,7 +146,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
146
146
|
|
|
147
147
|
const glean = new Glean({
|
|
148
148
|
security: {
|
|
149
|
-
|
|
149
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
150
150
|
},
|
|
151
151
|
});
|
|
152
152
|
|
|
@@ -177,7 +177,7 @@ import { clientEntitiesReadPeople } from "@gleanwork/api-client/funcs/clientEnti
|
|
|
177
177
|
// You can create one instance of it to use across an application.
|
|
178
178
|
const glean = new GleanCore({
|
|
179
179
|
security: {
|
|
180
|
-
|
|
180
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
181
181
|
},
|
|
182
182
|
});
|
|
183
183
|
|