@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
package/docs/sdks/pins/README.md
CHANGED
|
@@ -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
|
|
|
@@ -64,7 +64,7 @@ import { clientPinsUpdate } from "@gleanwork/api-client/funcs/clientPinsUpdate.j
|
|
|
64
64
|
// You can create one instance of it to use across an application.
|
|
65
65
|
const glean = new GleanCore({
|
|
66
66
|
security: {
|
|
67
|
-
|
|
67
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
68
68
|
},
|
|
69
69
|
});
|
|
70
70
|
|
|
@@ -147,7 +147,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
147
147
|
|
|
148
148
|
const glean = new Glean({
|
|
149
149
|
security: {
|
|
150
|
-
|
|
150
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
151
151
|
},
|
|
152
152
|
});
|
|
153
153
|
|
|
@@ -173,7 +173,7 @@ import { clientPinsRetrieve } from "@gleanwork/api-client/funcs/clientPinsRetrie
|
|
|
173
173
|
// You can create one instance of it to use across an application.
|
|
174
174
|
const glean = new GleanCore({
|
|
175
175
|
security: {
|
|
176
|
-
|
|
176
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
177
177
|
},
|
|
178
178
|
});
|
|
179
179
|
|
|
@@ -240,7 +240,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
240
240
|
|
|
241
241
|
const glean = new Glean({
|
|
242
242
|
security: {
|
|
243
|
-
|
|
243
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
244
244
|
},
|
|
245
245
|
});
|
|
246
246
|
|
|
@@ -266,7 +266,7 @@ import { clientPinsList } from "@gleanwork/api-client/funcs/clientPinsList.js";
|
|
|
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
|
|
|
@@ -333,7 +333,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
333
333
|
|
|
334
334
|
const glean = new Glean({
|
|
335
335
|
security: {
|
|
336
|
-
|
|
336
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
337
337
|
},
|
|
338
338
|
});
|
|
339
339
|
|
|
@@ -375,7 +375,7 @@ import { clientPinsCreate } from "@gleanwork/api-client/funcs/clientPinsCreate.j
|
|
|
375
375
|
// You can create one instance of it to use across an application.
|
|
376
376
|
const glean = new GleanCore({
|
|
377
377
|
security: {
|
|
378
|
-
|
|
378
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
379
379
|
},
|
|
380
380
|
});
|
|
381
381
|
|
|
@@ -458,7 +458,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
458
458
|
|
|
459
459
|
const glean = new Glean({
|
|
460
460
|
security: {
|
|
461
|
-
|
|
461
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
462
462
|
},
|
|
463
463
|
});
|
|
464
464
|
|
|
@@ -483,7 +483,7 @@ import { clientPinsRemove } from "@gleanwork/api-client/funcs/clientPinsRemove.j
|
|
|
483
483
|
// You can create one instance of it to use across an application.
|
|
484
484
|
const glean = new GleanCore({
|
|
485
485
|
security: {
|
|
486
|
-
|
|
486
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
487
487
|
},
|
|
488
488
|
});
|
|
489
489
|
|
|
@@ -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 { clientGovernanceDataPoliciesRetrieve } from "@gleanwork/api-client/func
|
|
|
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
|
|
|
@@ -127,7 +127,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
127
127
|
|
|
128
128
|
const glean = new Glean({
|
|
129
129
|
security: {
|
|
130
|
-
|
|
130
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
131
131
|
},
|
|
132
132
|
});
|
|
133
133
|
|
|
@@ -153,7 +153,7 @@ import { clientGovernanceDataPoliciesUpdate } from "@gleanwork/api-client/funcs/
|
|
|
153
153
|
// You can create one instance of it to use across an application.
|
|
154
154
|
const glean = new GleanCore({
|
|
155
155
|
security: {
|
|
156
|
-
|
|
156
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
157
157
|
},
|
|
158
158
|
});
|
|
159
159
|
|
|
@@ -221,7 +221,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
221
221
|
|
|
222
222
|
const glean = new Glean({
|
|
223
223
|
security: {
|
|
224
|
-
|
|
224
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
225
225
|
},
|
|
226
226
|
});
|
|
227
227
|
|
|
@@ -247,7 +247,7 @@ import { clientGovernanceDataPoliciesList } from "@gleanwork/api-client/funcs/cl
|
|
|
247
247
|
// You can create one instance of it to use across an application.
|
|
248
248
|
const glean = new GleanCore({
|
|
249
249
|
security: {
|
|
250
|
-
|
|
250
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
251
251
|
},
|
|
252
252
|
});
|
|
253
253
|
|
|
@@ -326,7 +326,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
326
326
|
|
|
327
327
|
const glean = new Glean({
|
|
328
328
|
security: {
|
|
329
|
-
|
|
329
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
330
330
|
},
|
|
331
331
|
});
|
|
332
332
|
|
|
@@ -352,7 +352,7 @@ import { clientGovernanceDataPoliciesCreate } from "@gleanwork/api-client/funcs/
|
|
|
352
352
|
// You can create one instance of it to use across an application.
|
|
353
353
|
const glean = new GleanCore({
|
|
354
354
|
security: {
|
|
355
|
-
|
|
355
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
356
356
|
},
|
|
357
357
|
});
|
|
358
358
|
|
|
@@ -419,7 +419,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
419
419
|
|
|
420
420
|
const glean = new Glean({
|
|
421
421
|
security: {
|
|
422
|
-
|
|
422
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
423
423
|
},
|
|
424
424
|
});
|
|
425
425
|
|
|
@@ -445,7 +445,7 @@ import { clientGovernanceDataPoliciesDownload } from "@gleanwork/api-client/func
|
|
|
445
445
|
// You can create one instance of it to use across an application.
|
|
446
446
|
const glean = new GleanCore({
|
|
447
447
|
security: {
|
|
448
|
-
|
|
448
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
449
449
|
},
|
|
450
450
|
});
|
|
451
451
|
|
|
@@ -20,7 +20,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
20
20
|
|
|
21
21
|
const glean = new Glean({
|
|
22
22
|
security: {
|
|
23
|
-
|
|
23
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
24
24
|
},
|
|
25
25
|
});
|
|
26
26
|
|
|
@@ -46,7 +46,7 @@ import { clientGovernanceDataReportsCreate } from "@gleanwork/api-client/funcs/c
|
|
|
46
46
|
// You can create one instance of it to use across an application.
|
|
47
47
|
const glean = new GleanCore({
|
|
48
48
|
security: {
|
|
49
|
-
|
|
49
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
50
50
|
},
|
|
51
51
|
});
|
|
52
52
|
|
|
@@ -113,7 +113,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
113
113
|
|
|
114
114
|
const glean = new Glean({
|
|
115
115
|
security: {
|
|
116
|
-
|
|
116
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
117
117
|
},
|
|
118
118
|
});
|
|
119
119
|
|
|
@@ -139,7 +139,7 @@ import { clientGovernanceDataReportsDownload } from "@gleanwork/api-client/funcs
|
|
|
139
139
|
// You can create one instance of it to use across an application.
|
|
140
140
|
const glean = new GleanCore({
|
|
141
141
|
security: {
|
|
142
|
-
|
|
142
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
143
143
|
},
|
|
144
144
|
});
|
|
145
145
|
|
|
@@ -217,7 +217,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
217
217
|
|
|
218
218
|
const glean = new Glean({
|
|
219
219
|
security: {
|
|
220
|
-
|
|
220
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
221
221
|
},
|
|
222
222
|
});
|
|
223
223
|
|
|
@@ -243,7 +243,7 @@ import { clientGovernanceDataReportsStatus } from "@gleanwork/api-client/funcs/c
|
|
|
243
243
|
// You can create one instance of it to use across an application.
|
|
244
244
|
const glean = new GleanCore({
|
|
245
245
|
security: {
|
|
246
|
-
|
|
246
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
247
247
|
},
|
|
248
248
|
});
|
|
249
249
|
|
|
@@ -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
|
|
|
@@ -2709,7 +2709,7 @@ import { RFCDate } from "@gleanwork/api-client/types";
|
|
|
2709
2709
|
// You can create one instance of it to use across an application.
|
|
2710
2710
|
const glean = new GleanCore({
|
|
2711
2711
|
security: {
|
|
2712
|
-
|
|
2712
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
2713
2713
|
},
|
|
2714
2714
|
});
|
|
2715
2715
|
|
|
@@ -5436,7 +5436,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
5436
5436
|
|
|
5437
5437
|
const glean = new Glean({
|
|
5438
5438
|
security: {
|
|
5439
|
-
|
|
5439
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
5440
5440
|
},
|
|
5441
5441
|
});
|
|
5442
5442
|
|
|
@@ -5476,7 +5476,7 @@ import { clientSearchAutocomplete } from "@gleanwork/api-client/funcs/clientSear
|
|
|
5476
5476
|
// You can create one instance of it to use across an application.
|
|
5477
5477
|
const glean = new GleanCore({
|
|
5478
5478
|
security: {
|
|
5479
|
-
|
|
5479
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
5480
5480
|
},
|
|
5481
5481
|
});
|
|
5482
5482
|
|
|
@@ -5557,7 +5557,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
5557
5557
|
|
|
5558
5558
|
const glean = new Glean({
|
|
5559
5559
|
security: {
|
|
5560
|
-
|
|
5560
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
5561
5561
|
},
|
|
5562
5562
|
});
|
|
5563
5563
|
|
|
@@ -5585,7 +5585,7 @@ import { clientSearchRetrieveFeed } from "@gleanwork/api-client/funcs/clientSear
|
|
|
5585
5585
|
// You can create one instance of it to use across an application.
|
|
5586
5586
|
const glean = new GleanCore({
|
|
5587
5587
|
security: {
|
|
5588
|
-
|
|
5588
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
5589
5589
|
},
|
|
5590
5590
|
});
|
|
5591
5591
|
|
|
@@ -5655,7 +5655,7 @@ import { RFCDate } from "@gleanwork/api-client/types";
|
|
|
5655
5655
|
|
|
5656
5656
|
const glean = new Glean({
|
|
5657
5657
|
security: {
|
|
5658
|
-
|
|
5658
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
5659
5659
|
},
|
|
5660
5660
|
});
|
|
5661
5661
|
|
|
@@ -8626,7 +8626,7 @@ import { RFCDate } from "@gleanwork/api-client/types";
|
|
|
8626
8626
|
// You can create one instance of it to use across an application.
|
|
8627
8627
|
const glean = new GleanCore({
|
|
8628
8628
|
security: {
|
|
8629
|
-
|
|
8629
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
8630
8630
|
},
|
|
8631
8631
|
});
|
|
8632
8632
|
|
|
@@ -11638,7 +11638,7 @@ import { RFCDate } from "@gleanwork/api-client/types";
|
|
|
11638
11638
|
|
|
11639
11639
|
const glean = new Glean({
|
|
11640
11640
|
security: {
|
|
11641
|
-
|
|
11641
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
11642
11642
|
},
|
|
11643
11643
|
});
|
|
11644
11644
|
|
|
@@ -17504,7 +17504,7 @@ import { RFCDate } from "@gleanwork/api-client/types";
|
|
|
17504
17504
|
// You can create one instance of it to use across an application.
|
|
17505
17505
|
const glean = new GleanCore({
|
|
17506
17506
|
security: {
|
|
17507
|
-
|
|
17507
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
17508
17508
|
},
|
|
17509
17509
|
});
|
|
17510
17510
|
|
|
@@ -20,7 +20,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
20
20
|
|
|
21
21
|
const glean = new Glean({
|
|
22
22
|
security: {
|
|
23
|
-
|
|
23
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
24
24
|
},
|
|
25
25
|
});
|
|
26
26
|
|
|
@@ -48,7 +48,7 @@ import { clientVerificationAddReminder } from "@gleanwork/api-client/funcs/clien
|
|
|
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
|
|
|
@@ -117,7 +117,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
117
117
|
|
|
118
118
|
const glean = new Glean({
|
|
119
119
|
security: {
|
|
120
|
-
|
|
120
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
121
121
|
},
|
|
122
122
|
});
|
|
123
123
|
|
|
@@ -143,7 +143,7 @@ import { clientVerificationList } from "@gleanwork/api-client/funcs/clientVerifi
|
|
|
143
143
|
// You can create one instance of it to use across an application.
|
|
144
144
|
const glean = new GleanCore({
|
|
145
145
|
security: {
|
|
146
|
-
|
|
146
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
147
147
|
},
|
|
148
148
|
});
|
|
149
149
|
|
|
@@ -210,7 +210,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
210
210
|
|
|
211
211
|
const glean = new Glean({
|
|
212
212
|
security: {
|
|
213
|
-
|
|
213
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
214
214
|
},
|
|
215
215
|
});
|
|
216
216
|
|
|
@@ -238,7 +238,7 @@ import { clientVerificationVerify } from "@gleanwork/api-client/funcs/clientVeri
|
|
|
238
238
|
// You can create one instance of it to use across an application.
|
|
239
239
|
const glean = new GleanCore({
|
|
240
240
|
security: {
|
|
241
|
-
|
|
241
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
242
242
|
},
|
|
243
243
|
});
|
|
244
244
|
|
|
@@ -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
|
|
|
@@ -45,7 +45,7 @@ import { clientGovernanceDocumentsVisibilityoverridesList } from "@gleanwork/api
|
|
|
45
45
|
// You can create one instance of it to use across an application.
|
|
46
46
|
const glean = new GleanCore({
|
|
47
47
|
security: {
|
|
48
|
-
|
|
48
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
49
49
|
},
|
|
50
50
|
});
|
|
51
51
|
|
|
@@ -123,7 +123,7 @@ import { Glean } from "@gleanwork/api-client";
|
|
|
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
|
|
|
@@ -149,7 +149,7 @@ import { clientGovernanceDocumentsVisibilityoverridesCreate } from "@gleanwork/a
|
|
|
149
149
|
// You can create one instance of it to use across an application.
|
|
150
150
|
const glean = new GleanCore({
|
|
151
151
|
security: {
|
|
152
|
-
|
|
152
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
|
|
153
153
|
},
|
|
154
154
|
});
|
|
155
155
|
|
package/jsr.json
CHANGED
package/package.json
CHANGED
|
@@ -13,7 +13,7 @@ test("Activity Activity", async () => {
|
|
|
13
13
|
serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
|
|
14
14
|
httpClient: testHttpClient,
|
|
15
15
|
security: {
|
|
16
|
-
|
|
16
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
|
|
17
17
|
},
|
|
18
18
|
});
|
|
19
19
|
|
|
@@ -52,7 +52,7 @@ test("Activity Feedback", async () => {
|
|
|
52
52
|
serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
|
|
53
53
|
httpClient: testHttpClient,
|
|
54
54
|
security: {
|
|
55
|
-
|
|
55
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
|
|
56
56
|
},
|
|
57
57
|
});
|
|
58
58
|
|
|
@@ -14,7 +14,7 @@ test("Admin Search Adminsearch", async () => {
|
|
|
14
14
|
serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
|
|
15
15
|
httpClient: testHttpClient,
|
|
16
16
|
security: {
|
|
17
|
-
|
|
17
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
|
|
18
18
|
},
|
|
19
19
|
});
|
|
20
20
|
|
|
@@ -31,7 +31,7 @@ test("Agents Get Agent", async () => {
|
|
|
31
31
|
serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
|
|
32
32
|
httpClient: testHttpClient,
|
|
33
33
|
security: {
|
|
34
|
-
|
|
34
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
|
|
35
35
|
},
|
|
36
36
|
});
|
|
37
37
|
|
|
@@ -46,7 +46,7 @@ test("Agents Get Agent Schemas", async () => {
|
|
|
46
46
|
serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
|
|
47
47
|
httpClient: testHttpClient,
|
|
48
48
|
security: {
|
|
49
|
-
|
|
49
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
|
|
50
50
|
},
|
|
51
51
|
});
|
|
52
52
|
|
|
@@ -61,7 +61,7 @@ test("Agents Search Agents", async () => {
|
|
|
61
61
|
serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
|
|
62
62
|
httpClient: testHttpClient,
|
|
63
63
|
security: {
|
|
64
|
-
|
|
64
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
|
|
65
65
|
},
|
|
66
66
|
});
|
|
67
67
|
|
|
@@ -82,7 +82,7 @@ test("Agents Create And Wait Run", async () => {
|
|
|
82
82
|
serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
|
|
83
83
|
httpClient: testHttpClient,
|
|
84
84
|
security: {
|
|
85
|
-
|
|
85
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
|
|
86
86
|
},
|
|
87
87
|
});
|
|
88
88
|
|
|
@@ -14,7 +14,7 @@ test("Announcements Createannouncement", async () => {
|
|
|
14
14
|
serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
|
|
15
15
|
httpClient: testHttpClient,
|
|
16
16
|
security: {
|
|
17
|
-
|
|
17
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
|
|
18
18
|
},
|
|
19
19
|
});
|
|
20
20
|
|
|
@@ -1776,7 +1776,7 @@ test("Announcements Deleteannouncement", async () => {
|
|
|
1776
1776
|
serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
|
|
1777
1777
|
httpClient: testHttpClient,
|
|
1778
1778
|
security: {
|
|
1779
|
-
|
|
1779
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
|
|
1780
1780
|
},
|
|
1781
1781
|
});
|
|
1782
1782
|
|
|
@@ -1792,7 +1792,7 @@ test("Announcements Updateannouncement", async () => {
|
|
|
1792
1792
|
serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
|
|
1793
1793
|
httpClient: testHttpClient,
|
|
1794
1794
|
security: {
|
|
1795
|
-
|
|
1795
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
|
|
1796
1796
|
},
|
|
1797
1797
|
});
|
|
1798
1798
|
|
|
@@ -14,7 +14,7 @@ test("Answers Createanswer", async () => {
|
|
|
14
14
|
serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
|
|
15
15
|
httpClient: testHttpClient,
|
|
16
16
|
security: {
|
|
17
|
-
|
|
17
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
|
|
18
18
|
},
|
|
19
19
|
});
|
|
20
20
|
|
|
@@ -731,7 +731,7 @@ test("Answers Deleteanswer", async () => {
|
|
|
731
731
|
serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
|
|
732
732
|
httpClient: testHttpClient,
|
|
733
733
|
security: {
|
|
734
|
-
|
|
734
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
|
|
735
735
|
},
|
|
736
736
|
});
|
|
737
737
|
|
|
@@ -748,7 +748,7 @@ test("Answers Editanswer", async () => {
|
|
|
748
748
|
serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
|
|
749
749
|
httpClient: testHttpClient,
|
|
750
750
|
security: {
|
|
751
|
-
|
|
751
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
|
|
752
752
|
},
|
|
753
753
|
});
|
|
754
754
|
|
|
@@ -1545,7 +1545,7 @@ test("Answers Getanswer", async () => {
|
|
|
1545
1545
|
serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
|
|
1546
1546
|
httpClient: testHttpClient,
|
|
1547
1547
|
security: {
|
|
1548
|
-
|
|
1548
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
|
|
1549
1549
|
},
|
|
1550
1550
|
});
|
|
1551
1551
|
|
|
@@ -1563,7 +1563,7 @@ test("Answers Listanswers", async () => {
|
|
|
1563
1563
|
serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
|
|
1564
1564
|
httpClient: testHttpClient,
|
|
1565
1565
|
security: {
|
|
1566
|
-
|
|
1566
|
+
apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
|
|
1567
1567
|
},
|
|
1568
1568
|
});
|
|
1569
1569
|
|