@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
|
@@ -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 { indexingAuthenticationRotateToken } from "@gleanwork/api-client/funcs/i
|
|
|
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
|
|
|
@@ -29,7 +29,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
29
29
|
|
|
30
30
|
const glean = new Glean({
|
|
31
31
|
security: {
|
|
32
|
-
|
|
32
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
33
33
|
},
|
|
34
34
|
});
|
|
35
35
|
|
|
@@ -58,7 +58,7 @@ import { indexingDocumentsAddOrUpdate } from "@gleanwork/api-client/funcs/indexi
|
|
|
58
58
|
// You can create one instance of it to use across an application.
|
|
59
59
|
const glean = new GleanCore({
|
|
60
60
|
security: {
|
|
61
|
-
|
|
61
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
62
62
|
},
|
|
63
63
|
});
|
|
64
64
|
|
|
@@ -128,7 +128,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
128
128
|
|
|
129
129
|
const glean = new Glean({
|
|
130
130
|
security: {
|
|
131
|
-
|
|
131
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
132
132
|
},
|
|
133
133
|
});
|
|
134
134
|
|
|
@@ -156,7 +156,7 @@ import { indexingDocumentsIndex } from "@gleanwork/api-client/funcs/indexingDocu
|
|
|
156
156
|
// You can create one instance of it to use across an application.
|
|
157
157
|
const glean = new GleanCore({
|
|
158
158
|
security: {
|
|
159
|
-
|
|
159
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
160
160
|
},
|
|
161
161
|
});
|
|
162
162
|
|
|
@@ -225,7 +225,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
225
225
|
|
|
226
226
|
const glean = new Glean({
|
|
227
227
|
security: {
|
|
228
|
-
|
|
228
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
229
229
|
},
|
|
230
230
|
});
|
|
231
231
|
|
|
@@ -254,7 +254,7 @@ import { indexingDocumentsBulkIndex } from "@gleanwork/api-client/funcs/indexing
|
|
|
254
254
|
// You can create one instance of it to use across an application.
|
|
255
255
|
const glean = new GleanCore({
|
|
256
256
|
security: {
|
|
257
|
-
|
|
257
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
258
258
|
},
|
|
259
259
|
});
|
|
260
260
|
|
|
@@ -335,7 +335,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
335
335
|
|
|
336
336
|
const glean = new Glean({
|
|
337
337
|
security: {
|
|
338
|
-
|
|
338
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
339
339
|
},
|
|
340
340
|
});
|
|
341
341
|
|
|
@@ -360,7 +360,7 @@ import { indexingDocumentsProcessAll } from "@gleanwork/api-client/funcs/indexin
|
|
|
360
360
|
// You can create one instance of it to use across an application.
|
|
361
361
|
const glean = new GleanCore({
|
|
362
362
|
security: {
|
|
363
|
-
|
|
363
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
364
364
|
},
|
|
365
365
|
});
|
|
366
366
|
|
|
@@ -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
|
|
|
@@ -455,7 +455,7 @@ import { indexingDocumentsDelete } from "@gleanwork/api-client/funcs/indexingDoc
|
|
|
455
455
|
// You can create one instance of it to use across an application.
|
|
456
456
|
const glean = new GleanCore({
|
|
457
457
|
security: {
|
|
458
|
-
|
|
458
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
459
459
|
},
|
|
460
460
|
});
|
|
461
461
|
|
|
@@ -528,7 +528,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
528
528
|
|
|
529
529
|
const glean = new Glean({
|
|
530
530
|
security: {
|
|
531
|
-
|
|
531
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
532
532
|
},
|
|
533
533
|
});
|
|
534
534
|
|
|
@@ -557,7 +557,7 @@ import { indexingDocumentsDebug } from "@gleanwork/api-client/funcs/indexingDocu
|
|
|
557
557
|
// You can create one instance of it to use across an application.
|
|
558
558
|
const glean = new GleanCore({
|
|
559
559
|
security: {
|
|
560
|
-
|
|
560
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
561
561
|
},
|
|
562
562
|
});
|
|
563
563
|
|
|
@@ -631,7 +631,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
631
631
|
|
|
632
632
|
const glean = new Glean({
|
|
633
633
|
security: {
|
|
634
|
-
|
|
634
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
635
635
|
},
|
|
636
636
|
});
|
|
637
637
|
|
|
@@ -664,7 +664,7 @@ import { indexingDocumentsDebugMany } from "@gleanwork/api-client/funcs/indexing
|
|
|
664
664
|
// You can create one instance of it to use across an application.
|
|
665
665
|
const glean = new GleanCore({
|
|
666
666
|
security: {
|
|
667
|
-
|
|
667
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
668
668
|
},
|
|
669
669
|
});
|
|
670
670
|
|
|
@@ -742,7 +742,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
742
742
|
|
|
743
743
|
const glean = new Glean({
|
|
744
744
|
security: {
|
|
745
|
-
|
|
745
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
746
746
|
},
|
|
747
747
|
});
|
|
748
748
|
|
|
@@ -773,7 +773,7 @@ import { indexingDocumentsCheckAccess } from "@gleanwork/api-client/funcs/indexi
|
|
|
773
773
|
// You can create one instance of it to use across an application.
|
|
774
774
|
const glean = new GleanCore({
|
|
775
775
|
security: {
|
|
776
|
-
|
|
776
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
777
777
|
},
|
|
778
778
|
});
|
|
779
779
|
|
|
@@ -850,7 +850,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
850
850
|
|
|
851
851
|
const glean = new Glean({
|
|
852
852
|
security: {
|
|
853
|
-
|
|
853
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
854
854
|
},
|
|
855
855
|
});
|
|
856
856
|
|
|
@@ -880,7 +880,7 @@ import { indexingDocumentsStatus } from "@gleanwork/api-client/funcs/indexingDoc
|
|
|
880
880
|
// You can create one instance of it to use across an application.
|
|
881
881
|
const glean = new GleanCore({
|
|
882
882
|
security: {
|
|
883
|
-
|
|
883
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
884
884
|
},
|
|
885
885
|
});
|
|
886
886
|
|
|
@@ -956,7 +956,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
956
956
|
|
|
957
957
|
const glean = new Glean({
|
|
958
958
|
security: {
|
|
959
|
-
|
|
959
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
960
960
|
},
|
|
961
961
|
});
|
|
962
962
|
|
|
@@ -984,7 +984,7 @@ import { indexingDocumentsCount } from "@gleanwork/api-client/funcs/indexingDocu
|
|
|
984
984
|
// You can create one instance of it to use across an application.
|
|
985
985
|
const glean = new GleanCore({
|
|
986
986
|
security: {
|
|
987
|
-
|
|
987
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
988
988
|
},
|
|
989
989
|
});
|
|
990
990
|
|
|
@@ -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
|
|
|
@@ -60,7 +60,7 @@ import { indexingShortcutsBulkIndex } from "@gleanwork/api-client/funcs/indexing
|
|
|
60
60
|
// You can create one instance of it to use across an application.
|
|
61
61
|
const glean = new GleanCore({
|
|
62
62
|
security: {
|
|
63
|
-
|
|
63
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
64
64
|
},
|
|
65
65
|
});
|
|
66
66
|
|
|
@@ -142,7 +142,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
142
142
|
|
|
143
143
|
const glean = new Glean({
|
|
144
144
|
security: {
|
|
145
|
-
|
|
145
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
146
146
|
},
|
|
147
147
|
});
|
|
148
148
|
|
|
@@ -186,7 +186,7 @@ import { indexingShortcutsUpload } from "@gleanwork/api-client/funcs/indexingSho
|
|
|
186
186
|
// You can create one instance of it to use across an application.
|
|
187
187
|
const glean = new GleanCore({
|
|
188
188
|
security: {
|
|
189
|
-
|
|
189
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
190
190
|
},
|
|
191
191
|
});
|
|
192
192
|
|
|
@@ -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
|
|
|
@@ -50,7 +50,7 @@ import { clientInsightsRetrieve } from "@gleanwork/api-client/funcs/clientInsigh
|
|
|
50
50
|
// You can create one instance of it to use across an application.
|
|
51
51
|
const glean = new GleanCore({
|
|
52
52
|
security: {
|
|
53
|
-
|
|
53
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
54
54
|
},
|
|
55
55
|
});
|
|
56
56
|
|
|
@@ -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
|
|
|
@@ -47,7 +47,7 @@ import { clientMessagesRetrieve } from "@gleanwork/api-client/funcs/clientMessag
|
|
|
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
|
|
|
@@ -30,7 +30,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
30
30
|
|
|
31
31
|
const glean = new Glean({
|
|
32
32
|
security: {
|
|
33
|
-
|
|
33
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
34
34
|
},
|
|
35
35
|
});
|
|
36
36
|
|
|
@@ -58,7 +58,7 @@ import { indexingPeopleDebug } from "@gleanwork/api-client/funcs/indexingPeopleD
|
|
|
58
58
|
// You can create one instance of it to use across an application.
|
|
59
59
|
const glean = new GleanCore({
|
|
60
60
|
security: {
|
|
61
|
-
|
|
61
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
62
62
|
},
|
|
63
63
|
});
|
|
64
64
|
|
|
@@ -133,7 +133,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
133
133
|
|
|
134
134
|
const glean = new Glean({
|
|
135
135
|
security: {
|
|
136
|
-
|
|
136
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
137
137
|
},
|
|
138
138
|
});
|
|
139
139
|
|
|
@@ -161,7 +161,7 @@ import { indexingPeopleCount } from "@gleanwork/api-client/funcs/indexingPeopleC
|
|
|
161
161
|
// You can create one instance of it to use across an application.
|
|
162
162
|
const glean = new GleanCore({
|
|
163
163
|
security: {
|
|
164
|
-
|
|
164
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
165
165
|
},
|
|
166
166
|
});
|
|
167
167
|
|
|
@@ -230,7 +230,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
230
230
|
|
|
231
231
|
const glean = new Glean({
|
|
232
232
|
security: {
|
|
233
|
-
|
|
233
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
234
234
|
},
|
|
235
235
|
});
|
|
236
236
|
|
|
@@ -266,7 +266,7 @@ import { indexingPeopleIndex } from "@gleanwork/api-client/funcs/indexingPeopleI
|
|
|
266
266
|
// You can create one instance of it to use across an application.
|
|
267
267
|
const glean = new GleanCore({
|
|
268
268
|
security: {
|
|
269
|
-
|
|
269
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
270
270
|
},
|
|
271
271
|
});
|
|
272
272
|
|
|
@@ -343,7 +343,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
343
343
|
|
|
344
344
|
const glean = new Glean({
|
|
345
345
|
security: {
|
|
346
|
-
|
|
346
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
347
347
|
},
|
|
348
348
|
});
|
|
349
349
|
|
|
@@ -402,7 +402,7 @@ import { indexingPeopleBulkIndex } from "@gleanwork/api-client/funcs/indexingPeo
|
|
|
402
402
|
// You can create one instance of it to use across an application.
|
|
403
403
|
const glean = new GleanCore({
|
|
404
404
|
security: {
|
|
405
|
-
|
|
405
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
406
406
|
},
|
|
407
407
|
});
|
|
408
408
|
|
|
@@ -503,7 +503,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
503
503
|
|
|
504
504
|
const glean = new Glean({
|
|
505
505
|
security: {
|
|
506
|
-
|
|
506
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
507
507
|
},
|
|
508
508
|
});
|
|
509
509
|
|
|
@@ -528,7 +528,7 @@ import { indexingPeopleProcessAllEmployeesAndTeams } from "@gleanwork/api-client
|
|
|
528
528
|
// You can create one instance of it to use across an application.
|
|
529
529
|
const glean = new GleanCore({
|
|
530
530
|
security: {
|
|
531
|
-
|
|
531
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
532
532
|
},
|
|
533
533
|
});
|
|
534
534
|
|
|
@@ -593,7 +593,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
593
593
|
|
|
594
594
|
const glean = new Glean({
|
|
595
595
|
security: {
|
|
596
|
-
|
|
596
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
597
597
|
},
|
|
598
598
|
});
|
|
599
599
|
|
|
@@ -620,7 +620,7 @@ import { indexingPeopleDelete } from "@gleanwork/api-client/funcs/indexingPeople
|
|
|
620
620
|
// You can create one instance of it to use across an application.
|
|
621
621
|
const glean = new GleanCore({
|
|
622
622
|
security: {
|
|
623
|
-
|
|
623
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
624
624
|
},
|
|
625
625
|
});
|
|
626
626
|
|
|
@@ -688,7 +688,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
688
688
|
|
|
689
689
|
const glean = new Glean({
|
|
690
690
|
security: {
|
|
691
|
-
|
|
691
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
692
692
|
},
|
|
693
693
|
});
|
|
694
694
|
|
|
@@ -737,7 +737,7 @@ import { indexingPeopleIndexTeam } from "@gleanwork/api-client/funcs/indexingPeo
|
|
|
737
737
|
// You can create one instance of it to use across an application.
|
|
738
738
|
const glean = new GleanCore({
|
|
739
739
|
security: {
|
|
740
|
-
|
|
740
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
741
741
|
},
|
|
742
742
|
});
|
|
743
743
|
|
|
@@ -827,7 +827,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
827
827
|
|
|
828
828
|
const glean = new Glean({
|
|
829
829
|
security: {
|
|
830
|
-
|
|
830
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
831
831
|
},
|
|
832
832
|
});
|
|
833
833
|
|
|
@@ -854,7 +854,7 @@ import { indexingPeopleDeleteTeam } from "@gleanwork/api-client/funcs/indexingPe
|
|
|
854
854
|
// You can create one instance of it to use across an application.
|
|
855
855
|
const glean = new GleanCore({
|
|
856
856
|
security: {
|
|
857
|
-
|
|
857
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
858
858
|
},
|
|
859
859
|
});
|
|
860
860
|
|
|
@@ -922,7 +922,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
922
922
|
|
|
923
923
|
const glean = new Glean({
|
|
924
924
|
security: {
|
|
925
|
-
|
|
925
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
926
926
|
},
|
|
927
927
|
});
|
|
928
928
|
|
|
@@ -996,7 +996,7 @@ import { indexingPeopleBulkIndexTeams } from "@gleanwork/api-client/funcs/indexi
|
|
|
996
996
|
// You can create one instance of it to use across an application.
|
|
997
997
|
const glean = new GleanCore({
|
|
998
998
|
security: {
|
|
999
|
-
|
|
999
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
1000
1000
|
},
|
|
1001
1001
|
});
|
|
1002
1002
|
|
|
@@ -29,7 +29,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
29
29
|
|
|
30
30
|
const glean = new Glean({
|
|
31
31
|
security: {
|
|
32
|
-
|
|
32
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
33
33
|
},
|
|
34
34
|
});
|
|
35
35
|
|
|
@@ -57,7 +57,7 @@ import { indexingPermissionsUpdatePermissions } from "@gleanwork/api-client/func
|
|
|
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
|
|
|
@@ -126,7 +126,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
126
126
|
|
|
127
127
|
const glean = new Glean({
|
|
128
128
|
security: {
|
|
129
|
-
|
|
129
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
130
130
|
},
|
|
131
131
|
});
|
|
132
132
|
|
|
@@ -157,7 +157,7 @@ import { indexingPermissionsIndexUser } from "@gleanwork/api-client/funcs/indexi
|
|
|
157
157
|
// You can create one instance of it to use across an application.
|
|
158
158
|
const glean = new GleanCore({
|
|
159
159
|
security: {
|
|
160
|
-
|
|
160
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
161
161
|
},
|
|
162
162
|
});
|
|
163
163
|
|
|
@@ -229,7 +229,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
229
229
|
|
|
230
230
|
const glean = new Glean({
|
|
231
231
|
security: {
|
|
232
|
-
|
|
232
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
233
233
|
},
|
|
234
234
|
});
|
|
235
235
|
|
|
@@ -271,7 +271,7 @@ import { indexingPermissionsBulkIndexUsers } from "@gleanwork/api-client/funcs/i
|
|
|
271
271
|
// You can create one instance of it to use across an application.
|
|
272
272
|
const glean = new GleanCore({
|
|
273
273
|
security: {
|
|
274
|
-
|
|
274
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
275
275
|
},
|
|
276
276
|
});
|
|
277
277
|
|
|
@@ -354,7 +354,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
354
354
|
|
|
355
355
|
const glean = new Glean({
|
|
356
356
|
security: {
|
|
357
|
-
|
|
357
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
358
358
|
},
|
|
359
359
|
});
|
|
360
360
|
|
|
@@ -384,7 +384,7 @@ import { indexingPermissionsIndexGroup } from "@gleanwork/api-client/funcs/index
|
|
|
384
384
|
// You can create one instance of it to use across an application.
|
|
385
385
|
const glean = new GleanCore({
|
|
386
386
|
security: {
|
|
387
|
-
|
|
387
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
388
388
|
},
|
|
389
389
|
});
|
|
390
390
|
|
|
@@ -455,7 +455,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
455
455
|
|
|
456
456
|
const glean = new Glean({
|
|
457
457
|
security: {
|
|
458
|
-
|
|
458
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
459
459
|
},
|
|
460
460
|
});
|
|
461
461
|
|
|
@@ -491,7 +491,7 @@ import { indexingPermissionsBulkIndexGroups } from "@gleanwork/api-client/funcs/
|
|
|
491
491
|
// You can create one instance of it to use across an application.
|
|
492
492
|
const glean = new GleanCore({
|
|
493
493
|
security: {
|
|
494
|
-
|
|
494
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
495
495
|
},
|
|
496
496
|
});
|
|
497
497
|
|
|
@@ -568,7 +568,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
568
568
|
|
|
569
569
|
const glean = new Glean({
|
|
570
570
|
security: {
|
|
571
|
-
|
|
571
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
572
572
|
},
|
|
573
573
|
});
|
|
574
574
|
|
|
@@ -598,7 +598,7 @@ import { indexingPermissionsIndexMembership } from "@gleanwork/api-client/funcs/
|
|
|
598
598
|
// You can create one instance of it to use across an application.
|
|
599
599
|
const glean = new GleanCore({
|
|
600
600
|
security: {
|
|
601
|
-
|
|
601
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
602
602
|
},
|
|
603
603
|
});
|
|
604
604
|
|
|
@@ -669,7 +669,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
669
669
|
|
|
670
670
|
const glean = new Glean({
|
|
671
671
|
security: {
|
|
672
|
-
|
|
672
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
673
673
|
},
|
|
674
674
|
});
|
|
675
675
|
|
|
@@ -702,7 +702,7 @@ import { indexingPermissionsBulkIndexMemberships } from "@gleanwork/api-client/f
|
|
|
702
702
|
// You can create one instance of it to use across an application.
|
|
703
703
|
const glean = new GleanCore({
|
|
704
704
|
security: {
|
|
705
|
-
|
|
705
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
706
706
|
},
|
|
707
707
|
});
|
|
708
708
|
|
|
@@ -777,7 +777,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
777
777
|
|
|
778
778
|
const glean = new Glean({
|
|
779
779
|
security: {
|
|
780
|
-
|
|
780
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
781
781
|
},
|
|
782
782
|
});
|
|
783
783
|
|
|
@@ -802,7 +802,7 @@ import { indexingPermissionsProcessMemberships } from "@gleanwork/api-client/fun
|
|
|
802
802
|
// You can create one instance of it to use across an application.
|
|
803
803
|
const glean = new GleanCore({
|
|
804
804
|
security: {
|
|
805
|
-
|
|
805
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
806
806
|
},
|
|
807
807
|
});
|
|
808
808
|
|
|
@@ -868,7 +868,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
868
868
|
|
|
869
869
|
const glean = new Glean({
|
|
870
870
|
security: {
|
|
871
|
-
|
|
871
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
872
872
|
},
|
|
873
873
|
});
|
|
874
874
|
|
|
@@ -896,7 +896,7 @@ import { indexingPermissionsDeleteUser } from "@gleanwork/api-client/funcs/index
|
|
|
896
896
|
// You can create one instance of it to use across an application.
|
|
897
897
|
const glean = new GleanCore({
|
|
898
898
|
security: {
|
|
899
|
-
|
|
899
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
900
900
|
},
|
|
901
901
|
});
|
|
902
902
|
|
|
@@ -965,7 +965,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
965
965
|
|
|
966
966
|
const glean = new Glean({
|
|
967
967
|
security: {
|
|
968
|
-
|
|
968
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
969
969
|
},
|
|
970
970
|
});
|
|
971
971
|
|
|
@@ -993,7 +993,7 @@ import { indexingPermissionsDeleteGroup } from "@gleanwork/api-client/funcs/inde
|
|
|
993
993
|
// You can create one instance of it to use across an application.
|
|
994
994
|
const glean = new GleanCore({
|
|
995
995
|
security: {
|
|
996
|
-
|
|
996
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
997
997
|
},
|
|
998
998
|
});
|
|
999
999
|
|
|
@@ -1062,7 +1062,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
1062
1062
|
|
|
1063
1063
|
const glean = new Glean({
|
|
1064
1064
|
security: {
|
|
1065
|
-
|
|
1065
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
1066
1066
|
},
|
|
1067
1067
|
});
|
|
1068
1068
|
|
|
@@ -1092,7 +1092,7 @@ import { indexingPermissionsDeleteMembership } from "@gleanwork/api-client/funcs
|
|
|
1092
1092
|
// You can create one instance of it to use across an application.
|
|
1093
1093
|
const glean = new GleanCore({
|
|
1094
1094
|
security: {
|
|
1095
|
-
|
|
1095
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
1096
1096
|
},
|
|
1097
1097
|
});
|
|
1098
1098
|
|
|
@@ -1163,7 +1163,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
1163
1163
|
|
|
1164
1164
|
const glean = new Glean({
|
|
1165
1165
|
security: {
|
|
1166
|
-
|
|
1166
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
1167
1167
|
},
|
|
1168
1168
|
});
|
|
1169
1169
|
|
|
@@ -1195,7 +1195,7 @@ import { indexingPermissionsAuthorizeBetaUsers } from "@gleanwork/api-client/fun
|
|
|
1195
1195
|
// You can create one instance of it to use across an application.
|
|
1196
1196
|
const glean = new GleanCore({
|
|
1197
1197
|
security: {
|
|
1198
|
-
|
|
1198
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
1199
1199
|
},
|
|
1200
1200
|
});
|
|
1201
1201
|
|