@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.
Files changed (173) hide show
  1. package/FUNCTIONS.md +1 -1
  2. package/REACT_QUERY.md +3 -3
  3. package/README.md +11 -11
  4. package/dist/commonjs/__tests__/activity.test.js +2 -2
  5. package/dist/commonjs/__tests__/activity.test.js.map +1 -1
  6. package/dist/commonjs/__tests__/adminsearch.test.js +1 -1
  7. package/dist/commonjs/__tests__/adminsearch.test.js.map +1 -1
  8. package/dist/commonjs/__tests__/agents.test.js +4 -4
  9. package/dist/commonjs/__tests__/agents.test.js.map +1 -1
  10. package/dist/commonjs/__tests__/announcements.test.js +3 -3
  11. package/dist/commonjs/__tests__/announcements.test.js.map +1 -1
  12. package/dist/commonjs/__tests__/answers.test.js +5 -5
  13. package/dist/commonjs/__tests__/answers.test.js.map +1 -1
  14. package/dist/commonjs/__tests__/chat.test.js +18 -18
  15. package/dist/commonjs/__tests__/chat.test.js.map +1 -1
  16. package/dist/commonjs/__tests__/clientauthentication.test.js +1 -1
  17. package/dist/commonjs/__tests__/clientauthentication.test.js.map +1 -1
  18. package/dist/commonjs/__tests__/clientdocuments.test.js +4 -4
  19. package/dist/commonjs/__tests__/clientdocuments.test.js.map +1 -1
  20. package/dist/commonjs/__tests__/clientsearch.test.js +3 -3
  21. package/dist/commonjs/__tests__/clientsearch.test.js.map +1 -1
  22. package/dist/commonjs/__tests__/clientshortcuts.test.js +5 -5
  23. package/dist/commonjs/__tests__/clientshortcuts.test.js.map +1 -1
  24. package/dist/commonjs/__tests__/collections.test.js +8 -8
  25. package/dist/commonjs/__tests__/collections.test.js.map +1 -1
  26. package/dist/commonjs/__tests__/datasources.test.js +2 -2
  27. package/dist/commonjs/__tests__/datasources.test.js.map +1 -1
  28. package/dist/commonjs/__tests__/entities.test.js +2 -2
  29. package/dist/commonjs/__tests__/entities.test.js.map +1 -1
  30. package/dist/commonjs/__tests__/indexingauthentication.test.js +1 -1
  31. package/dist/commonjs/__tests__/indexingauthentication.test.js.map +1 -1
  32. package/dist/commonjs/__tests__/indexingdocuments.test.js +8 -8
  33. package/dist/commonjs/__tests__/indexingdocuments.test.js.map +1 -1
  34. package/dist/commonjs/__tests__/indexingpeople.test.js +2 -2
  35. package/dist/commonjs/__tests__/indexingpeople.test.js.map +1 -1
  36. package/dist/commonjs/__tests__/insights.test.js +1 -1
  37. package/dist/commonjs/__tests__/insights.test.js.map +1 -1
  38. package/dist/commonjs/__tests__/messages.test.js +1 -1
  39. package/dist/commonjs/__tests__/messages.test.js.map +1 -1
  40. package/dist/commonjs/__tests__/permissions.test.js +12 -12
  41. package/dist/commonjs/__tests__/permissions.test.js.map +1 -1
  42. package/dist/commonjs/__tests__/pins.test.js +5 -5
  43. package/dist/commonjs/__tests__/pins.test.js.map +1 -1
  44. package/dist/commonjs/__tests__/policies.test.js +2 -2
  45. package/dist/commonjs/__tests__/policies.test.js.map +1 -1
  46. package/dist/commonjs/__tests__/search.test.js +1 -1
  47. package/dist/commonjs/__tests__/search.test.js.map +1 -1
  48. package/dist/commonjs/__tests__/verification.test.js +3 -3
  49. package/dist/commonjs/__tests__/verification.test.js.map +1 -1
  50. package/dist/commonjs/lib/config.d.ts +2 -2
  51. package/dist/commonjs/lib/config.js +2 -2
  52. package/dist/commonjs/lib/env.d.ts +1 -1
  53. package/dist/commonjs/lib/env.d.ts.map +1 -1
  54. package/dist/commonjs/lib/env.js +1 -1
  55. package/dist/commonjs/lib/env.js.map +1 -1
  56. package/dist/commonjs/lib/security.js +2 -2
  57. package/dist/commonjs/lib/security.js.map +1 -1
  58. package/dist/commonjs/models/components/security.d.ts +2 -2
  59. package/dist/commonjs/models/components/security.d.ts.map +1 -1
  60. package/dist/commonjs/models/components/security.js +11 -2
  61. package/dist/commonjs/models/components/security.js.map +1 -1
  62. package/dist/esm/__tests__/activity.test.js +2 -2
  63. package/dist/esm/__tests__/activity.test.js.map +1 -1
  64. package/dist/esm/__tests__/adminsearch.test.js +1 -1
  65. package/dist/esm/__tests__/adminsearch.test.js.map +1 -1
  66. package/dist/esm/__tests__/agents.test.js +4 -4
  67. package/dist/esm/__tests__/agents.test.js.map +1 -1
  68. package/dist/esm/__tests__/announcements.test.js +3 -3
  69. package/dist/esm/__tests__/announcements.test.js.map +1 -1
  70. package/dist/esm/__tests__/answers.test.js +5 -5
  71. package/dist/esm/__tests__/answers.test.js.map +1 -1
  72. package/dist/esm/__tests__/chat.test.js +18 -18
  73. package/dist/esm/__tests__/chat.test.js.map +1 -1
  74. package/dist/esm/__tests__/clientauthentication.test.js +1 -1
  75. package/dist/esm/__tests__/clientauthentication.test.js.map +1 -1
  76. package/dist/esm/__tests__/clientdocuments.test.js +4 -4
  77. package/dist/esm/__tests__/clientdocuments.test.js.map +1 -1
  78. package/dist/esm/__tests__/clientsearch.test.js +3 -3
  79. package/dist/esm/__tests__/clientsearch.test.js.map +1 -1
  80. package/dist/esm/__tests__/clientshortcuts.test.js +5 -5
  81. package/dist/esm/__tests__/clientshortcuts.test.js.map +1 -1
  82. package/dist/esm/__tests__/collections.test.js +8 -8
  83. package/dist/esm/__tests__/collections.test.js.map +1 -1
  84. package/dist/esm/__tests__/datasources.test.js +2 -2
  85. package/dist/esm/__tests__/datasources.test.js.map +1 -1
  86. package/dist/esm/__tests__/entities.test.js +2 -2
  87. package/dist/esm/__tests__/entities.test.js.map +1 -1
  88. package/dist/esm/__tests__/indexingauthentication.test.js +1 -1
  89. package/dist/esm/__tests__/indexingauthentication.test.js.map +1 -1
  90. package/dist/esm/__tests__/indexingdocuments.test.js +8 -8
  91. package/dist/esm/__tests__/indexingdocuments.test.js.map +1 -1
  92. package/dist/esm/__tests__/indexingpeople.test.js +2 -2
  93. package/dist/esm/__tests__/indexingpeople.test.js.map +1 -1
  94. package/dist/esm/__tests__/insights.test.js +1 -1
  95. package/dist/esm/__tests__/insights.test.js.map +1 -1
  96. package/dist/esm/__tests__/messages.test.js +1 -1
  97. package/dist/esm/__tests__/messages.test.js.map +1 -1
  98. package/dist/esm/__tests__/permissions.test.js +12 -12
  99. package/dist/esm/__tests__/permissions.test.js.map +1 -1
  100. package/dist/esm/__tests__/pins.test.js +5 -5
  101. package/dist/esm/__tests__/pins.test.js.map +1 -1
  102. package/dist/esm/__tests__/policies.test.js +2 -2
  103. package/dist/esm/__tests__/policies.test.js.map +1 -1
  104. package/dist/esm/__tests__/search.test.js +1 -1
  105. package/dist/esm/__tests__/search.test.js.map +1 -1
  106. package/dist/esm/__tests__/verification.test.js +3 -3
  107. package/dist/esm/__tests__/verification.test.js.map +1 -1
  108. package/dist/esm/lib/config.d.ts +2 -2
  109. package/dist/esm/lib/config.js +2 -2
  110. package/dist/esm/lib/env.d.ts +1 -1
  111. package/dist/esm/lib/env.d.ts.map +1 -1
  112. package/dist/esm/lib/env.js +1 -1
  113. package/dist/esm/lib/env.js.map +1 -1
  114. package/dist/esm/lib/security.js +2 -2
  115. package/dist/esm/lib/security.js.map +1 -1
  116. package/dist/esm/models/components/security.d.ts +2 -2
  117. package/dist/esm/models/components/security.d.ts.map +1 -1
  118. package/dist/esm/models/components/security.js +11 -2
  119. package/dist/esm/models/components/security.js.map +1 -1
  120. package/docs/sdks/activity/README.md +4 -4
  121. package/docs/sdks/agents/README.md +10 -10
  122. package/docs/sdks/announcements/README.md +6097 -861
  123. package/docs/sdks/answers/README.md +10 -10
  124. package/docs/sdks/chat/README.md +20 -20
  125. package/docs/sdks/clientauthentication/README.md +2 -2
  126. package/docs/sdks/clientdocuments/README.md +8 -8
  127. package/docs/sdks/clientshortcuts/README.md +10 -10
  128. package/docs/sdks/collections/README.md +16 -16
  129. package/docs/sdks/datasource/README.md +2 -2
  130. package/docs/sdks/datasources/README.md +4 -4
  131. package/docs/sdks/entities/README.md +4 -4
  132. package/docs/sdks/indexingauthentication/README.md +2 -2
  133. package/docs/sdks/indexingdocuments/README.md +20 -20
  134. package/docs/sdks/indexingshortcuts/README.md +4 -4
  135. package/docs/sdks/insights/README.md +2 -2
  136. package/docs/sdks/messages/README.md +2 -2
  137. package/docs/sdks/people/README.md +18 -18
  138. package/docs/sdks/permissions/README.md +24 -24
  139. package/docs/sdks/pins/README.md +10 -10
  140. package/docs/sdks/policies/README.md +10 -10
  141. package/docs/sdks/reports/README.md +6 -6
  142. package/docs/sdks/search/README.md +10 -10
  143. package/docs/sdks/verification/README.md +6 -6
  144. package/docs/sdks/visibilityoverrides/README.md +4 -4
  145. package/jsr.json +1 -1
  146. package/package.json +1 -1
  147. package/src/__tests__/activity.test.ts +2 -2
  148. package/src/__tests__/adminsearch.test.ts +1 -1
  149. package/src/__tests__/agents.test.ts +4 -4
  150. package/src/__tests__/announcements.test.ts +3 -3
  151. package/src/__tests__/answers.test.ts +5 -5
  152. package/src/__tests__/chat.test.ts +18 -18
  153. package/src/__tests__/clientauthentication.test.ts +1 -1
  154. package/src/__tests__/clientdocuments.test.ts +4 -4
  155. package/src/__tests__/clientsearch.test.ts +3 -3
  156. package/src/__tests__/clientshortcuts.test.ts +5 -5
  157. package/src/__tests__/collections.test.ts +8 -8
  158. package/src/__tests__/datasources.test.ts +2 -2
  159. package/src/__tests__/entities.test.ts +2 -2
  160. package/src/__tests__/indexingauthentication.test.ts +1 -1
  161. package/src/__tests__/indexingdocuments.test.ts +8 -8
  162. package/src/__tests__/indexingpeople.test.ts +2 -2
  163. package/src/__tests__/insights.test.ts +1 -1
  164. package/src/__tests__/messages.test.ts +1 -1
  165. package/src/__tests__/permissions.test.ts +12 -12
  166. package/src/__tests__/pins.test.ts +5 -5
  167. package/src/__tests__/policies.test.ts +2 -2
  168. package/src/__tests__/search.test.ts +1 -1
  169. package/src/__tests__/verification.test.ts +3 -3
  170. package/src/lib/config.ts +2 -2
  171. package/src/lib/env.ts +2 -2
  172. package/src/lib/security.ts +2 -2
  173. package/src/models/components/security.ts +13 -4
@@ -13,7 +13,7 @@ test("Chat Chat Default Example", async () => {
13
13
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
14
14
  httpClient: testHttpClient,
15
15
  security: {
16
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
16
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
17
17
  },
18
18
  });
19
19
 
@@ -38,7 +38,7 @@ test("Chat Chat Gpt Agent Example", async () => {
38
38
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
39
39
  httpClient: testHttpClient,
40
40
  security: {
41
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
41
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
42
42
  },
43
43
  });
44
44
 
@@ -66,7 +66,7 @@ test("Chat Chat Streaming Example", async () => {
66
66
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
67
67
  httpClient: testHttpClient,
68
68
  security: {
69
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
69
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
70
70
  },
71
71
  });
72
72
 
@@ -4445,7 +4445,7 @@ test("Chat Chat Update Response", async () => {
4445
4445
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
4446
4446
  httpClient: testHttpClient,
4447
4447
  security: {
4448
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
4448
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
4449
4449
  },
4450
4450
  });
4451
4451
 
@@ -8508,7 +8508,7 @@ test("Chat Chat Citation Response", async () => {
8508
8508
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
8509
8509
  httpClient: testHttpClient,
8510
8510
  security: {
8511
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
8511
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
8512
8512
  },
8513
8513
  });
8514
8514
 
@@ -11246,7 +11246,7 @@ test("Chat Deleteallchats", async () => {
11246
11246
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
11247
11247
  httpClient: testHttpClient,
11248
11248
  security: {
11249
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
11249
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
11250
11250
  },
11251
11251
  });
11252
11252
 
@@ -11260,7 +11260,7 @@ test("Chat Deletechats", async () => {
11260
11260
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
11261
11261
  httpClient: testHttpClient,
11262
11262
  security: {
11263
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
11263
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
11264
11264
  },
11265
11265
  });
11266
11266
 
@@ -11279,7 +11279,7 @@ test("Chat Getchat", async () => {
11279
11279
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
11280
11280
  httpClient: testHttpClient,
11281
11281
  security: {
11282
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
11282
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
11283
11283
  },
11284
11284
  });
11285
11285
 
@@ -11296,7 +11296,7 @@ test("Chat Listchats", async () => {
11296
11296
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
11297
11297
  httpClient: testHttpClient,
11298
11298
  security: {
11299
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
11299
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
11300
11300
  },
11301
11301
  });
11302
11302
 
@@ -11311,7 +11311,7 @@ test("Chat Getchatapplication", async () => {
11311
11311
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
11312
11312
  httpClient: testHttpClient,
11313
11313
  security: {
11314
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
11314
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
11315
11315
  },
11316
11316
  });
11317
11317
 
@@ -11328,7 +11328,7 @@ test("Chat Uploadchatfiles", async () => {
11328
11328
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
11329
11329
  httpClient: testHttpClient,
11330
11330
  security: {
11331
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
11331
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
11332
11332
  },
11333
11333
  });
11334
11334
 
@@ -11345,7 +11345,7 @@ test("Chat Getchatfiles", async () => {
11345
11345
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
11346
11346
  httpClient: testHttpClient,
11347
11347
  security: {
11348
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
11348
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
11349
11349
  },
11350
11350
  });
11351
11351
 
@@ -11362,7 +11362,7 @@ test("Chat Deletechatfiles", async () => {
11362
11362
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
11363
11363
  httpClient: testHttpClient,
11364
11364
  security: {
11365
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
11365
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
11366
11366
  },
11367
11367
  });
11368
11368
 
@@ -11380,7 +11380,7 @@ test("Chat Chat Stream Default Example", async () => {
11380
11380
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
11381
11381
  httpClient: testHttpClient,
11382
11382
  security: {
11383
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
11383
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
11384
11384
  },
11385
11385
  });
11386
11386
 
@@ -11405,7 +11405,7 @@ test("Chat Chat Stream Gpt Agent Example", async () => {
11405
11405
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
11406
11406
  httpClient: testHttpClient,
11407
11407
  security: {
11408
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
11408
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
11409
11409
  },
11410
11410
  });
11411
11411
 
@@ -11433,7 +11433,7 @@ test("Chat Chat Stream Streaming Example", async () => {
11433
11433
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
11434
11434
  httpClient: testHttpClient,
11435
11435
  security: {
11436
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
11436
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
11437
11437
  },
11438
11438
  });
11439
11439
 
@@ -11451,7 +11451,7 @@ test("Chat Chat Stream Update Response", async () => {
11451
11451
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
11452
11452
  httpClient: testHttpClient,
11453
11453
  security: {
11454
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
11454
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
11455
11455
  },
11456
11456
  });
11457
11457
 
@@ -15872,7 +15872,7 @@ test("Chat Chat Stream Citation Response", async () => {
15872
15872
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
15873
15873
  httpClient: testHttpClient,
15874
15874
  security: {
15875
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
15875
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
15876
15876
  },
15877
15877
  });
15878
15878
 
@@ -13,7 +13,7 @@ test("Client Authentication Createauthtoken", async () => {
13
13
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
14
14
  httpClient: testHttpClient,
15
15
  security: {
16
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
16
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
17
17
  },
18
18
  });
19
19
 
@@ -13,7 +13,7 @@ test("Client Documents Getdocpermissions", async () => {
13
13
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
14
14
  httpClient: testHttpClient,
15
15
  security: {
16
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
16
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
17
17
  },
18
18
  });
19
19
 
@@ -28,7 +28,7 @@ test("Client Documents Getdocuments", async () => {
28
28
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
29
29
  httpClient: testHttpClient,
30
30
  security: {
31
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
31
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
32
32
  },
33
33
  });
34
34
 
@@ -43,7 +43,7 @@ test("Client Documents Getdocumentsbyfacets", async () => {
43
43
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
44
44
  httpClient: testHttpClient,
45
45
  security: {
46
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
46
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
47
47
  },
48
48
  });
49
49
 
@@ -95,7 +95,7 @@ test("Client Documents Summarize", async () => {
95
95
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
96
96
  httpClient: testHttpClient,
97
97
  security: {
98
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
98
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
99
99
  },
100
100
  });
101
101
 
@@ -14,7 +14,7 @@ test("Client Search Feed", async () => {
14
14
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
15
15
  httpClient: testHttpClient,
16
16
  security: {
17
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
17
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
18
18
  },
19
19
  });
20
20
 
@@ -31,7 +31,7 @@ test("Client Search Recommendations", async () => {
31
31
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
32
32
  httpClient: testHttpClient,
33
33
  security: {
34
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
34
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
35
35
  },
36
36
  });
37
37
 
@@ -2124,7 +2124,7 @@ test("Client Search Search", async () => {
2124
2124
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
2125
2125
  httpClient: testHttpClient,
2126
2126
  security: {
2127
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
2127
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
2128
2128
  },
2129
2129
  });
2130
2130
 
@@ -14,7 +14,7 @@ test("Client Shortcuts Createshortcut", async () => {
14
14
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
15
15
  httpClient: testHttpClient,
16
16
  security: {
17
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
17
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
18
18
  },
19
19
  });
20
20
 
@@ -576,7 +576,7 @@ test("Client Shortcuts Deleteshortcut", async () => {
576
576
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
577
577
  httpClient: testHttpClient,
578
578
  security: {
579
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
579
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
580
580
  },
581
581
  });
582
582
 
@@ -592,7 +592,7 @@ test("Client Shortcuts Getshortcut", async () => {
592
592
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
593
593
  httpClient: testHttpClient,
594
594
  security: {
595
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
595
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
596
596
  },
597
597
  });
598
598
 
@@ -607,7 +607,7 @@ test("Client Shortcuts Listshortcuts", async () => {
607
607
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
608
608
  httpClient: testHttpClient,
609
609
  security: {
610
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
610
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
611
611
  },
612
612
  });
613
613
 
@@ -639,7 +639,7 @@ test("Client Shortcuts Updateshortcut", async () => {
639
639
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
640
640
  httpClient: testHttpClient,
641
641
  security: {
642
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
642
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
643
643
  },
644
644
  });
645
645
 
@@ -14,7 +14,7 @@ test("Collections Addcollectionitems", async () => {
14
14
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
15
15
  httpClient: testHttpClient,
16
16
  security: {
17
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
17
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
18
18
  },
19
19
  });
20
20
 
@@ -31,7 +31,7 @@ test("Collections Createcollection", async () => {
31
31
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
32
32
  httpClient: testHttpClient,
33
33
  security: {
34
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
34
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
35
35
  },
36
36
  });
37
37
 
@@ -607,7 +607,7 @@ test("Collections Deletecollection", async () => {
607
607
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
608
608
  httpClient: testHttpClient,
609
609
  security: {
610
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
610
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
611
611
  },
612
612
  });
613
613
 
@@ -626,7 +626,7 @@ test("Collections Deletecollectionitem", async () => {
626
626
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
627
627
  httpClient: testHttpClient,
628
628
  security: {
629
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
629
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
630
630
  },
631
631
  });
632
632
 
@@ -644,7 +644,7 @@ test("Collections Editcollection", async () => {
644
644
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
645
645
  httpClient: testHttpClient,
646
646
  security: {
647
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
647
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
648
648
  },
649
649
  });
650
650
 
@@ -1305,7 +1305,7 @@ test("Collections Editcollectionitem", async () => {
1305
1305
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
1306
1306
  httpClient: testHttpClient,
1307
1307
  security: {
1308
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
1308
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
1309
1309
  },
1310
1310
  });
1311
1311
 
@@ -1323,7 +1323,7 @@ test("Collections Getcollection", async () => {
1323
1323
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
1324
1324
  httpClient: testHttpClient,
1325
1325
  security: {
1326
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
1326
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
1327
1327
  },
1328
1328
  });
1329
1329
 
@@ -1340,7 +1340,7 @@ test("Collections Listcollections", async () => {
1340
1340
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
1341
1341
  httpClient: testHttpClient,
1342
1342
  security: {
1343
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
1343
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
1344
1344
  },
1345
1345
  });
1346
1346
 
@@ -15,7 +15,7 @@ test("Datasources Post /Api/index/v1 /Adddatasource", async () => {
15
15
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
16
16
  httpClient: testHttpClient,
17
17
  security: {
18
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
18
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
19
19
  },
20
20
  });
21
21
 
@@ -52,7 +52,7 @@ test("Datasources Post /Api/index/v1 /Getdatasourceconfig", async () => {
52
52
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
53
53
  httpClient: testHttpClient,
54
54
  security: {
55
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
55
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
56
56
  },
57
57
  });
58
58
 
@@ -13,7 +13,7 @@ test("Entities Listentities", async () => {
13
13
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
14
14
  httpClient: testHttpClient,
15
15
  security: {
16
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
16
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
17
17
  },
18
18
  });
19
19
 
@@ -45,7 +45,7 @@ test("Entities People", async () => {
45
45
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
46
46
  httpClient: testHttpClient,
47
47
  security: {
48
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
48
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
49
49
  },
50
50
  });
51
51
 
@@ -13,7 +13,7 @@ test("Indexing Authentication Post /Api/index/v1 /Rotatetoken", async () => {
13
13
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
14
14
  httpClient: testHttpClient,
15
15
  security: {
16
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
16
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
17
17
  },
18
18
  });
19
19
 
@@ -15,7 +15,7 @@ test("Indexing Documents Post /Api/index/v1 /Indexdocument", async () => {
15
15
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
16
16
  httpClient: testHttpClient,
17
17
  security: {
18
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
18
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
19
19
  },
20
20
  });
21
21
 
@@ -35,7 +35,7 @@ test("Indexing Documents Post /Api/index/v1 /Indexdocuments", async () => {
35
35
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
36
36
  httpClient: testHttpClient,
37
37
  security: {
38
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
38
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
39
39
  },
40
40
  });
41
41
 
@@ -58,7 +58,7 @@ test("Indexing Documents Post /Api/index/v1 /Bulkindexdocuments", async () => {
58
58
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
59
59
  httpClient: testHttpClient,
60
60
  security: {
61
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
61
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
62
62
  },
63
63
  });
64
64
 
@@ -82,7 +82,7 @@ test("Indexing Documents Post /Api/index/v1 /Processalldocuments", async () => {
82
82
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
83
83
  httpClient: testHttpClient,
84
84
  security: {
85
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
85
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
86
86
  },
87
87
  });
88
88
 
@@ -98,7 +98,7 @@ test("Indexing Documents Post /Api/index/v1 /Deletedocument", async () => {
98
98
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
99
99
  httpClient: testHttpClient,
100
100
  security: {
101
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
101
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
102
102
  },
103
103
  });
104
104
 
@@ -118,7 +118,7 @@ test("Indexing Documents Post /Api/index/v1 /Checkdocumentaccess", async () => {
118
118
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
119
119
  httpClient: testHttpClient,
120
120
  security: {
121
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
121
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
122
122
  },
123
123
  });
124
124
 
@@ -140,7 +140,7 @@ test("Indexing Documents Post /Api/index/v1 /Getdocumentstatus", async () => {
140
140
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
141
141
  httpClient: testHttpClient,
142
142
  security: {
143
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
143
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
144
144
  },
145
145
  });
146
146
 
@@ -161,7 +161,7 @@ test("Indexing Documents Post /Api/index/v1 /Getdocumentcount", async () => {
161
161
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
162
162
  httpClient: testHttpClient,
163
163
  security: {
164
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
164
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
165
165
  },
166
166
  });
167
167
 
@@ -15,7 +15,7 @@ test("Indexing People Post /Api/index/v1 /Getusercount", async () => {
15
15
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
16
16
  httpClient: testHttpClient,
17
17
  security: {
18
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
18
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
19
19
  },
20
20
  });
21
21
 
@@ -34,7 +34,7 @@ test("Indexing People Post /Api/index/v1 /Processallemployeesandteams", async ()
34
34
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
35
35
  httpClient: testHttpClient,
36
36
  security: {
37
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
37
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
38
38
  },
39
39
  });
40
40
 
@@ -13,7 +13,7 @@ test("Insights Insights", async () => {
13
13
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
14
14
  httpClient: testHttpClient,
15
15
  security: {
16
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
16
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
17
17
  },
18
18
  });
19
19
 
@@ -13,7 +13,7 @@ test("Messages Messages", async () => {
13
13
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
14
14
  httpClient: testHttpClient,
15
15
  security: {
16
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
16
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
17
17
  },
18
18
  });
19
19
 
@@ -15,7 +15,7 @@ test("Permissions Post /Api/index/v1 /Updatepermissions", async () => {
15
15
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
16
16
  httpClient: testHttpClient,
17
17
  security: {
18
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
18
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
19
19
  },
20
20
  });
21
21
 
@@ -32,7 +32,7 @@ test("Permissions Post /Api/index/v1 /Indexuser", async () => {
32
32
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
33
33
  httpClient: testHttpClient,
34
34
  security: {
35
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
35
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
36
36
  },
37
37
  });
38
38
 
@@ -54,7 +54,7 @@ test("Permissions Post /Api/index/v1 /Bulkindexusers", async () => {
54
54
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
55
55
  httpClient: testHttpClient,
56
56
  security: {
57
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
57
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
58
58
  },
59
59
  });
60
60
 
@@ -85,7 +85,7 @@ test("Permissions Post /Api/index/v1 /Indexgroup", async () => {
85
85
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
86
86
  httpClient: testHttpClient,
87
87
  security: {
88
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
88
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
89
89
  },
90
90
  });
91
91
 
@@ -106,7 +106,7 @@ test("Permissions Post /Api/index/v1 /Bulkindexgroups", async () => {
106
106
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
107
107
  httpClient: testHttpClient,
108
108
  security: {
109
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
109
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
110
110
  },
111
111
  });
112
112
 
@@ -133,7 +133,7 @@ test("Permissions Post /Api/index/v1 /Indexmembership", async () => {
133
133
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
134
134
  httpClient: testHttpClient,
135
135
  security: {
136
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
136
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
137
137
  },
138
138
  });
139
139
 
@@ -154,7 +154,7 @@ test("Permissions Post /Api/index/v1 /Bulkindexmemberships", async () => {
154
154
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
155
155
  httpClient: testHttpClient,
156
156
  security: {
157
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
157
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
158
158
  },
159
159
  });
160
160
 
@@ -178,7 +178,7 @@ test("Permissions Post /Api/index/v1 /Processallmemberships", async () => {
178
178
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
179
179
  httpClient: testHttpClient,
180
180
  security: {
181
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
181
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
182
182
  },
183
183
  });
184
184
 
@@ -192,7 +192,7 @@ test("Permissions Post /Api/index/v1 /Deleteuser", async () => {
192
192
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
193
193
  httpClient: testHttpClient,
194
194
  security: {
195
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
195
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
196
196
  },
197
197
  });
198
198
 
@@ -209,7 +209,7 @@ test("Permissions Post /Api/index/v1 /Deletegroup", async () => {
209
209
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
210
210
  httpClient: testHttpClient,
211
211
  security: {
212
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
212
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
213
213
  },
214
214
  });
215
215
 
@@ -228,7 +228,7 @@ test("Permissions Post /Api/index/v1 /Deletemembership", async () => {
228
228
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
229
229
  httpClient: testHttpClient,
230
230
  security: {
231
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
231
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
232
232
  },
233
233
  });
234
234
 
@@ -247,7 +247,7 @@ test("Permissions Post /Api/index/v1 /Betausers", async () => {
247
247
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
248
248
  httpClient: testHttpClient,
249
249
  security: {
250
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
250
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
251
251
  },
252
252
  });
253
253
 
@@ -13,7 +13,7 @@ test("Pins Editpin", async () => {
13
13
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
14
14
  httpClient: testHttpClient,
15
15
  security: {
16
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
16
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
17
17
  },
18
18
  });
19
19
 
@@ -44,7 +44,7 @@ test("Pins Getpin", async () => {
44
44
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
45
45
  httpClient: testHttpClient,
46
46
  security: {
47
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
47
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
48
48
  },
49
49
  });
50
50
 
@@ -59,7 +59,7 @@ test("Pins Listpins", async () => {
59
59
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
60
60
  httpClient: testHttpClient,
61
61
  security: {
62
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
62
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
63
63
  },
64
64
  });
65
65
 
@@ -74,7 +74,7 @@ test("Pins Pin", async () => {
74
74
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
75
75
  httpClient: testHttpClient,
76
76
  security: {
77
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
77
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
78
78
  },
79
79
  });
80
80
 
@@ -105,7 +105,7 @@ test("Pins Unpin", async () => {
105
105
  serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
106
106
  httpClient: testHttpClient,
107
107
  security: {
108
- actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "value",
108
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
109
109
  },
110
110
  });
111
111