@gleanwork/api-client 0.13.10 → 0.13.11

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 (43) hide show
  1. package/dist/commonjs/__tests__/messages.test.js +1 -1
  2. package/dist/commonjs/__tests__/messages.test.js.map +1 -1
  3. package/dist/commonjs/lib/config.d.ts +3 -3
  4. package/dist/commonjs/lib/config.js +3 -3
  5. package/dist/commonjs/models/components/insightsoverviewresponse.d.ts +1 -23
  6. package/dist/commonjs/models/components/insightsoverviewresponse.d.ts.map +1 -1
  7. package/dist/commonjs/models/components/insightsoverviewresponse.js +1 -14
  8. package/dist/commonjs/models/components/insightsoverviewresponse.js.map +1 -1
  9. package/dist/commonjs/models/components/peragentinsight.d.ts +4 -0
  10. package/dist/commonjs/models/components/peragentinsight.d.ts.map +1 -1
  11. package/dist/commonjs/models/components/peragentinsight.js +1 -0
  12. package/dist/commonjs/models/components/peragentinsight.js.map +1 -1
  13. package/dist/commonjs/models/components/peruserassistantinsight.d.ts +2 -2
  14. package/dist/commonjs/models/components/peruserinsight.d.ts +12 -0
  15. package/dist/commonjs/models/components/peruserinsight.d.ts.map +1 -1
  16. package/dist/commonjs/models/components/peruserinsight.js +3 -0
  17. package/dist/commonjs/models/components/peruserinsight.js.map +1 -1
  18. package/dist/esm/__tests__/messages.test.js +1 -1
  19. package/dist/esm/__tests__/messages.test.js.map +1 -1
  20. package/dist/esm/lib/config.d.ts +3 -3
  21. package/dist/esm/lib/config.js +3 -3
  22. package/dist/esm/models/components/insightsoverviewresponse.d.ts +1 -23
  23. package/dist/esm/models/components/insightsoverviewresponse.d.ts.map +1 -1
  24. package/dist/esm/models/components/insightsoverviewresponse.js +0 -12
  25. package/dist/esm/models/components/insightsoverviewresponse.js.map +1 -1
  26. package/dist/esm/models/components/peragentinsight.d.ts +4 -0
  27. package/dist/esm/models/components/peragentinsight.d.ts.map +1 -1
  28. package/dist/esm/models/components/peragentinsight.js +1 -0
  29. package/dist/esm/models/components/peragentinsight.js.map +1 -1
  30. package/dist/esm/models/components/peruserassistantinsight.d.ts +2 -2
  31. package/dist/esm/models/components/peruserinsight.d.ts +12 -0
  32. package/dist/esm/models/components/peruserinsight.d.ts.map +1 -1
  33. package/dist/esm/models/components/peruserinsight.js +3 -0
  34. package/dist/esm/models/components/peruserinsight.js.map +1 -1
  35. package/examples/package-lock.json +1 -1
  36. package/jsr.json +1 -1
  37. package/package.json +1 -1
  38. package/src/__tests__/messages.test.ts +1 -1
  39. package/src/lib/config.ts +3 -3
  40. package/src/models/components/insightsoverviewresponse.ts +1 -45
  41. package/src/models/components/peragentinsight.ts +5 -0
  42. package/src/models/components/peruserassistantinsight.ts +2 -2
  43. package/src/models/components/peruserinsight.ts +15 -0
@@ -17,7 +17,7 @@ const testclient_js_1 = require("./testclient.js");
17
17
  idType: "CONVERSATION_ID",
18
18
  id: "<id>",
19
19
  timestampMillis: 558834,
20
- datasource: "GCHAT",
20
+ datasource: "MICROSOFTTEAMS",
21
21
  });
22
22
  (0, vitest_1.expect)(result).toBeDefined();
23
23
  });
@@ -1 +1 @@
1
- {"version":3,"file":"messages.test.js","sourceRoot":"","sources":["../../../src/__tests__/messages.test.ts"],"names":[],"mappings":";AAAA;;GAEG;;AAEH,mCAAsC;AACtC,0CAAoC;AACpC,mDAAuD;AAEvD,IAAA,aAAI,EAAC,mBAAmB,EAAE,KAAK,IAAI,EAAE;IACnC,MAAM,cAAc,GAAG,IAAA,oCAAoB,EAAC,UAAU,CAAC,CAAC;IAExD,MAAM,KAAK,GAAG,IAAI,gBAAK,CAAC;QACtB,SAAS,EAAE,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,IAAI,wBAAwB;QACrE,UAAU,EAAE,cAAc;QAC1B,QAAQ,EAAE,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,IAAI,OAAO;KACpD,CAAC,CAAC;IAEH,MAAM,MAAM,GAAG,MAAM,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAC;QAClD,MAAM,EAAE,iBAAiB;QACzB,EAAE,EAAE,MAAM;QACV,eAAe,EAAE,MAAM;QACvB,UAAU,EAAE,OAAO;KACpB,CAAC,CAAC;IACH,IAAA,eAAM,EAAC,MAAM,CAAC,CAAC,WAAW,EAAE,CAAC;AAC/B,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"messages.test.js","sourceRoot":"","sources":["../../../src/__tests__/messages.test.ts"],"names":[],"mappings":";AAAA;;GAEG;;AAEH,mCAAsC;AACtC,0CAAoC;AACpC,mDAAuD;AAEvD,IAAA,aAAI,EAAC,mBAAmB,EAAE,KAAK,IAAI,EAAE;IACnC,MAAM,cAAc,GAAG,IAAA,oCAAoB,EAAC,UAAU,CAAC,CAAC;IAExD,MAAM,KAAK,GAAG,IAAI,gBAAK,CAAC;QACtB,SAAS,EAAE,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,IAAI,wBAAwB;QACrE,UAAU,EAAE,cAAc;QAC1B,QAAQ,EAAE,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,IAAI,OAAO;KACpD,CAAC,CAAC;IAEH,MAAM,MAAM,GAAG,MAAM,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAC;QAClD,MAAM,EAAE,iBAAiB;QACzB,EAAE,EAAE,MAAM;QACV,eAAe,EAAE,MAAM;QACvB,UAAU,EAAE,gBAAgB;KAC7B,CAAC,CAAC;IACH,IAAA,eAAM,EAAC,MAAM,CAAC,CAAC,WAAW,EAAE,CAAC;AAC/B,CAAC,CAAC,CAAC"}
@@ -35,8 +35,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
35
35
  export declare const SDK_METADATA: {
36
36
  readonly language: "typescript";
37
37
  readonly openapiDocVersion: "0.9.0";
38
- readonly sdkVersion: "0.13.10";
39
- readonly genVersion: "2.755.6";
40
- readonly userAgent: "speakeasy-sdk/typescript 0.13.10 2.755.6 0.9.0 @gleanwork/api-client";
38
+ readonly sdkVersion: "0.13.11";
39
+ readonly genVersion: "2.755.9";
40
+ readonly userAgent: "speakeasy-sdk/typescript 0.13.11 2.755.9 0.9.0 @gleanwork/api-client";
41
41
  };
42
42
  //# sourceMappingURL=config.d.ts.map
@@ -34,8 +34,8 @@ function serverURLFromOptions(options) {
34
34
  exports.SDK_METADATA = {
35
35
  language: "typescript",
36
36
  openapiDocVersion: "0.9.0",
37
- sdkVersion: "0.13.10",
38
- genVersion: "2.755.6",
39
- userAgent: "speakeasy-sdk/typescript 0.13.10 2.755.6 0.9.0 @gleanwork/api-client",
37
+ sdkVersion: "0.13.11",
38
+ genVersion: "2.755.9",
39
+ userAgent: "speakeasy-sdk/typescript 0.13.11 2.755.9 0.9.0 @gleanwork/api-client",
40
40
  };
41
41
  //# sourceMappingURL=config.js.map
@@ -6,24 +6,6 @@ import { InsightsChatSummary } from "./insightschatsummary.js";
6
6
  import { InsightsSearchSummary } from "./insightssearchsummary.js";
7
7
  import { LabeledCountInfo } from "./labeledcountinfo.js";
8
8
  import { PerUserInsight } from "./peruserinsight.js";
9
- export type EngagementBreakdown = {
10
- /**
11
- * Number of non-user employees in the specified departments.
12
- */
13
- nonUsers?: number | undefined;
14
- /**
15
- * Number of currently dormant users in the specified departments.
16
- */
17
- dormantUsers?: number | undefined;
18
- /**
19
- * Number of currently regular users in the specified departments.
20
- */
21
- regularUsers?: number | undefined;
22
- /**
23
- * Number of currently power users in the specified departments.
24
- */
25
- powerUsers?: number | undefined;
26
- };
27
9
  export type InsightsOverviewResponse = {
28
10
  /**
29
11
  * Number of current Monthly Active Users, in the specified departments.
@@ -73,15 +55,11 @@ export type InsightsOverviewResponse = {
73
55
  [k: string]: number;
74
56
  } | undefined;
75
57
  /**
76
- * Top power users, over the specified time period in the specified departments.
58
+ * Per-user insights, over the specified time period in the specified departments. All current users in the organization who have signed into Glean at least once are included.
77
59
  */
78
60
  perUserInsights?: Array<PerUserInsight> | undefined;
79
- engagementBreakdown?: EngagementBreakdown | undefined;
80
61
  };
81
62
  /** @internal */
82
- export declare const EngagementBreakdown$inboundSchema: z.ZodType<EngagementBreakdown, z.ZodTypeDef, unknown>;
83
- export declare function engagementBreakdownFromJSON(jsonString: string): SafeParseResult<EngagementBreakdown, SDKValidationError>;
84
- /** @internal */
85
63
  export declare const InsightsOverviewResponse$inboundSchema: z.ZodType<InsightsOverviewResponse, z.ZodTypeDef, unknown>;
86
64
  export declare function insightsOverviewResponseFromJSON(jsonString: string): SafeParseResult<InsightsOverviewResponse, SDKValidationError>;
87
65
  //# sourceMappingURL=insightsoverviewresponse.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"insightsoverviewresponse.d.ts","sourceRoot":"","sources":["../../../../src/models/components/insightsoverviewresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,kBAAkB,EAEnB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,mBAAmB,EAEpB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,qBAAqB,EAEtB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,gBAAgB,EAEjB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,cAAc,EAEf,MAAM,qBAAqB,CAAC;AAE7B,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACjC,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG;IACrC;;O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,OAAO,CACvD,mBAAmB,EACnB,CAAC,CAAC,UAAU,EACZ,OAAO,CAMP,CAAC;AAEH,wBAAgB,2BAA2B,CACzC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,mBAAmB,EAAE,kBAAkB,CAAC,CAM1D;AAED,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,OAAO,CAC5D,wBAAwB,EACxB,CAAC,CAAC,UAAU,EACZ,OAAO,CAqBP,CAAC;AAEH,wBAAgB,gCAAgC,CAC9C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,wBAAwB,EAAE,kBAAkB,CAAC,CAM/D"}
1
+ {"version":3,"file":"insightsoverviewresponse.d.ts","sourceRoot":"","sources":["../../../../src/models/components/insightsoverviewresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,kBAAkB,EAEnB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,mBAAmB,EAEpB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,qBAAqB,EAEtB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,gBAAgB,EAEjB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,cAAc,EAEf,MAAM,qBAAqB,CAAC;AAE7B,MAAM,MAAM,wBAAwB,GAAG;IACrC;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxC;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC;;OAEG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACxC;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,aAAa,CAAC,EAAE,qBAAqB,GAAG,SAAS,CAAC;IAClD,WAAW,CAAC,EAAE,mBAAmB,GAAG,SAAS,CAAC;IAC9C,gBAAgB,CAAC,EAAE,kBAAkB,GAAG,SAAS,CAAC;IAClD,UAAU,CAAC,EAAE,kBAAkB,GAAG,SAAS,CAAC;IAC5C;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC;;OAEG;IACH,yBAAyB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/C,2BAA2B,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAC;IAC3D,0BAA0B,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAC;IAC1D,yBAAyB,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAC;IACzD;;OAEG;IACH,sBAAsB,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,GAAG,SAAS,CAAC;IAC7D;;OAEG;IACH,oBAAoB,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,GAAG,SAAS,CAAC;IAC3D;;OAEG;IACH,eAAe,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC;CACrD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,OAAO,CAC5D,wBAAwB,EACxB,CAAC,CAAC,UAAU,EACZ,OAAO,CAmBP,CAAC;AAEH,wBAAgB,gCAAgC,CAC9C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,wBAAwB,EAAE,kBAAkB,CAAC,CAM/D"}
@@ -36,8 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.InsightsOverviewResponse$inboundSchema = exports.EngagementBreakdown$inboundSchema = void 0;
40
- exports.engagementBreakdownFromJSON = engagementBreakdownFromJSON;
39
+ exports.InsightsOverviewResponse$inboundSchema = void 0;
41
40
  exports.insightsOverviewResponseFromJSON = insightsOverviewResponseFromJSON;
42
41
  const z = __importStar(require("zod/v3"));
43
42
  const schemas_js_1 = require("../../lib/schemas.js");
@@ -47,16 +46,6 @@ const insightssearchsummary_js_1 = require("./insightssearchsummary.js");
47
46
  const labeledcountinfo_js_1 = require("./labeledcountinfo.js");
48
47
  const peruserinsight_js_1 = require("./peruserinsight.js");
49
48
  /** @internal */
50
- exports.EngagementBreakdown$inboundSchema = z.object({
51
- nonUsers: z.number().int().optional(),
52
- dormantUsers: z.number().int().optional(),
53
- regularUsers: z.number().int().optional(),
54
- powerUsers: z.number().int().optional(),
55
- });
56
- function engagementBreakdownFromJSON(jsonString) {
57
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.EngagementBreakdown$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EngagementBreakdown' from JSON`);
58
- }
59
- /** @internal */
60
49
  exports.InsightsOverviewResponse$inboundSchema = z.object({
61
50
  monthlyActiveUsers: z.number().int().optional(),
62
51
  weeklyActiveUsers: z.number().int().optional(),
@@ -75,8 +64,6 @@ exports.InsightsOverviewResponse$inboundSchema = z.object({
75
64
  searchDatasourceCounts: z.record(z.number().int()).optional(),
76
65
  chatDatasourceCounts: z.record(z.number().int()).optional(),
77
66
  perUserInsights: z.array(peruserinsight_js_1.PerUserInsight$inboundSchema).optional(),
78
- engagementBreakdown: z.lazy(() => exports.EngagementBreakdown$inboundSchema)
79
- .optional(),
80
67
  });
81
68
  function insightsOverviewResponseFromJSON(jsonString) {
82
69
  return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.InsightsOverviewResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'InsightsOverviewResponse' from JSON`);
@@ -1 +1 @@
1
- {"version":3,"file":"insightsoverviewresponse.js","sourceRoot":"","sources":["../../../../src/models/components/insights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,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC7D,oBAAoB,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC3D,eAAe,EAAE,CAAC,CAAC,KAAK,CAAC,gDAA4B,CAAC,CAAC,QAAQ,EAAE;CAClE,CAAC,CAAC;AAEH,SAAgB,gCAAgC,CAC9C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,8CAAsC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAClE,sDAAsD,CACvD,CAAC;AACJ,CAAC"}
@@ -15,6 +15,10 @@ export type PerAgentInsight = {
15
15
  * Defines how to render an icon
16
16
  */
17
17
  icon?: IconConfig | undefined;
18
+ /**
19
+ * Indicates whether the agent has been deleted
20
+ */
21
+ isDeleted?: boolean | undefined;
18
22
  /**
19
23
  * Total number of users for this agent over the specified time period.
20
24
  */
@@ -1 +1 @@
1
- {"version":3,"file":"peragentinsight.d.ts","sourceRoot":"","sources":["../../../../src/models/components/peragentinsight.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,UAAU,EAA4B,MAAM,iBAAiB,CAAC;AAEvE,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B;;OAEG;IACH,IAAI,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IAC9B;;OAEG;I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OAEG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACpC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,OAAO,CACnD,eAAe,EACf,CAAC,CAAC,UAAU,EACZ,OAAO,CAUP,CAAC;AAEH,wBAAgB,uBAAuB,CACrC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,eAAe,EAAE,kBAAkB,CAAC,CAMtD"}
@@ -46,6 +46,7 @@ exports.PerAgentInsight$inboundSchema = z.object({
46
46
  agentId: z.string().optional(),
47
47
  agentName: z.string().optional(),
48
48
  icon: iconconfig_js_1.IconConfig$inboundSchema.optional(),
49
+ isDeleted: z.boolean().optional(),
49
50
  userCount: z.number().int().optional(),
50
51
  runCount: z.number().int().optional(),
51
52
  upvoteCount: z.number().int().optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"peragentinsight.js","sourceRoot":"","sources":["../../../../src/models/components/peragentinsight.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsDH,0DAQC;AA5DD,0CAA4B;AAC5B,qDAAiD;AAGjD,mDAAuE;AAiCvE,gBAAgB;AACH,QAAA,6BAA6B,GAItC,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,IAAI,EAAE,wCAAwB,CAAC,QAAQ,EAAE;IACzC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACtC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACrC,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACxC,aAAa,EAAE,CA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qCAA6B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACzD,6CAA6C,CAC9C,CAAC;AACJ,CAAC"}
@@ -17,11 +17,11 @@ export type PerUserAssistantInsight = {
17
17
  */
18
18
  numAiAnswers?: number | undefined;
19
19
  /**
20
- * Total number of Gleanbot interacted with by this user over the specified time period.
20
+ * Total number of Gleanbot responses marked useful by this user over the specified time period.
21
21
  */
22
22
  numGleanbotInteractions?: number | undefined;
23
23
  /**
24
- * Total number of days this user was active over the specified time period.
24
+ * Total number of days this user was active on the Assistant over the specified time period.
25
25
  */
26
26
  numDaysActive?: number | undefined;
27
27
  };
@@ -12,6 +12,18 @@ export type PerUserInsight = {
12
12
  * Total number of chats by this user over the specified time period.
13
13
  */
14
14
  numChats?: number | undefined;
15
+ /**
16
+ * Total number of active sessions by this user in a Glean client over the specified time period.
17
+ */
18
+ numActiveSessions?: number | undefined;
19
+ /**
20
+ * Total number of Gleanbot responses marked useful by this user over the specified time period.
21
+ */
22
+ numGleanbotUsefulResponses?: number | undefined;
23
+ /**
24
+ * Total number of days this user was an Active User over the specified time period.
25
+ */
26
+ numDaysActive?: number | undefined;
15
27
  };
16
28
  /** @internal */
17
29
  export declare const PerUserInsight$inboundSchema: z.ZodType<PerUserInsight, z.ZodTypeDef, unknown>;
@@ -1 +1 @@
1
- {"version":3,"file":"peruserinsight.d.ts","sourceRoot":"","sources":["../../../../src/models/components/peruserinsight.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,MAAM,EAAwB,MAAM,aAAa,CAAC;AAE3D,MAAM,MAAM,cAAc,GAAG;IAC3B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B;;OAEG;IACH,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c,EAAE,kBAAkB,CAAC,CAMrD"}
@@ -46,6 +46,9 @@ exports.PerUserInsight$inboundSchema = z.object({
46
46
  person: person_js_1.Person$inboundSchema.optional(),
47
47
  numSearches: z.number().int().optional(),
48
48
  numChats: z.number().int().optional(),
49
+ numActiveSessions: z.number().int().optional(),
50
+ numGleanbotUsefulResponses: z.number().int().optional(),
51
+ numDaysActive: z.number().int().optional(),
49
52
  });
50
53
  function perUserInsightFromJSON(jsonString) {
51
54
  return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.PerUserInsight$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PerUserInsight' from JSON`);
@@ -1 +1 @@
1
- {"version":3,"file":"peruserinsight.js","sourceRoot":"","sources":["../../../../src/models/components/peruserinsight.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+BH,wDAQC;AArCD,0CAA4B;AAC5B,qDAAiD;AAGjD,2CAA2D;AAc3D,gBAAgB;AACH,QAAA,4BAA4B,GAIrC,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,gCAAoB,CAAC,QAAQ,EAAE;IACvC,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACxC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;CACtC,CAAC,CAAC;AAEH,SAAgB,sBAAsB,CACpC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,oCAA4B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACxD,4CAA4C,CAC7C,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"peruserinsight.js","sourceRoot":"","sources":["../../../../src/models/components/peruserinsight.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8CH,wDAQC;AApDD,0CAA4B;AAC5B,qDAAiD;AAGjD,2CAA2D;AA0B3D,gBAAgB;AACH,QAAA,4BAA4B,GAIrC,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,gCAAoB,CAAC,QAAQ,EAAE;IACvC,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACxC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACrC,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IAC9C,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACvD,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;CAC3C,CAAC,CAAC;AAEH,SAAgB,sBAAsB,CACpC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,oCAA4B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACxD,4CAA4C,CAC7C,CAAC;AACJ,CAAC"}
@@ -15,7 +15,7 @@ test("Messages Messages", async () => {
15
15
  idType: "CONVERSATION_ID",
16
16
  id: "<id>",
17
17
  timestampMillis: 558834,
18
- datasource: "GCHAT",
18
+ datasource: "MICROSOFTTEAMS",
19
19
  });
20
20
  expect(result).toBeDefined();
21
21
  });
@@ -1 +1 @@
1
- {"version":3,"file":"messages.test.js","sourceRoot":"","sources":["../../../src/__tests__/messages.test.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AACtC,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAA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AC,CAAC;IAEH,MAAM,MAAM,GAAG,MAAM,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAC;QAClD,MAAM,EAAE,iBAAiB;QACzB,EAAE,EAAE,MAAM;QACV,eAAe,EAAE,MAAM;QACvB,UAAU,EAAE,gBAAgB;KAC7B,CAAC,CAAC;IACH,MAAM,CAAC,MAAM,CAAC,CAAC,WAAW,EAAE,CAAC;AAC/B,CAAC,CAAC,CAAC"}
@@ -35,8 +35,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
35
35
  export declare const SDK_METADATA: {
36
36
  readonly language: "typescript";
37
37
  readonly openapiDocVersion: "0.9.0";
38
- readonly sdkVersion: "0.13.10";
39
- readonly genVersion: "2.755.6";
40
- readonly userAgent: "speakeasy-sdk/typescript 0.13.10 2.755.6 0.9.0 @gleanwork/api-client";
38
+ readonly sdkVersion: "0.13.11";
39
+ readonly genVersion: "2.755.9";
40
+ readonly userAgent: "speakeasy-sdk/typescript 0.13.11 2.755.9 0.9.0 @gleanwork/api-client";
41
41
  };
42
42
  //# sourceMappingURL=config.d.ts.map
@@ -30,8 +30,8 @@ export function serverURLFromOptions(options) {
30
30
  export const SDK_METADATA = {
31
31
  language: "typescript",
32
32
  openapiDocVersion: "0.9.0",
33
- sdkVersion: "0.13.10",
34
- genVersion: "2.755.6",
35
- userAgent: "speakeasy-sdk/typescript 0.13.10 2.755.6 0.9.0 @gleanwork/api-client",
33
+ sdkVersion: "0.13.11",
34
+ genVersion: "2.755.9",
35
+ userAgent: "speakeasy-sdk/typescript 0.13.11 2.755.9 0.9.0 @gleanwork/api-client",
36
36
  };
37
37
  //# sourceMappingURL=config.js.map
@@ -6,24 +6,6 @@ import { InsightsChatSummary } from "./insightschatsummary.js";
6
6
  import { InsightsSearchSummary } from "./insightssearchsummary.js";
7
7
  import { LabeledCountInfo } from "./labeledcountinfo.js";
8
8
  import { PerUserInsight } from "./peruserinsight.js";
9
- export type EngagementBreakdown = {
10
- /**
11
- * Number of non-user employees in the specified departments.
12
- */
13
- nonUsers?: number | undefined;
14
- /**
15
- * Number of currently dormant users in the specified departments.
16
- */
17
- dormantUsers?: number | undefined;
18
- /**
19
- * Number of currently regular users in the specified departments.
20
- */
21
- regularUsers?: number | undefined;
22
- /**
23
- * Number of currently power users in the specified departments.
24
- */
25
- powerUsers?: number | undefined;
26
- };
27
9
  export type InsightsOverviewResponse = {
28
10
  /**
29
11
  * Number of current Monthly Active Users, in the specified departments.
@@ -73,15 +55,11 @@ export type InsightsOverviewResponse = {
73
55
  [k: string]: number;
74
56
  } | undefined;
75
57
  /**
76
- * Top power users, over the specified time period in the specified departments.
58
+ * Per-user insights, over the specified time period in the specified departments. All current users in the organization who have signed into Glean at least once are included.
77
59
  */
78
60
  perUserInsights?: Array<PerUserInsight> | undefined;
79
- engagementBreakdown?: EngagementBreakdown | undefined;
80
61
  };
81
62
  /** @internal */
82
- export declare const EngagementBreakdown$inboundSchema: z.ZodType<EngagementBreakdown, z.ZodTypeDef, unknown>;
83
- export declare function engagementBreakdownFromJSON(jsonString: string): SafeParseResult<EngagementBreakdown, SDKValidationError>;
84
- /** @internal */
85
63
  export declare const InsightsOverviewResponse$inboundSchema: z.ZodType<InsightsOverviewResponse, z.ZodTypeDef, unknown>;
86
64
  export declare function insightsOverviewResponseFromJSON(jsonString: string): SafeParseResult<InsightsOverviewResponse, SDKValidationError>;
87
65
  //# sourceMappingURL=insightsoverviewresponse.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"insightsoverviewresponse.d.ts","sourceRoot":"","sources":["../../../../src/models/components/insightsoverviewresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,kBAAkB,EAEnB,MAAM,yBAAyB,CAAC;AACjC,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IAC3D,0BAA0B,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAC;IAC1D,yBAAyB,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAC;IACzD;;OAEG;IACH,sBAAsB,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,GAAG,SAAS,CAAC;IAC7D;;OAEG;IACH,oBAAoB,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,GAAG,SAAS,CAAC;IAC3D;;OAEG;IACH,eAAe,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC;IACpD,mBAAmB,CAAC,EAAE,mBAAmB,GAAG,SAAS,CAAC;CACvD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,OAAO,CACvD,mBAAmB,EACnB,CAAC,CAAC,UAAU,EACZ,OAAO,CAMP,CAAC;AAEH,wBAAgB,2BAA2B,CACzC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,mBAAmB,EAAE,kBAAkB,CAAC,CAM1D;AAED,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,OAAO,CAC5D,wBAAwB,EACxB,CAAC,CAAC,UAAU,EACZ,OAAO,CAqBP,CAAC;AAEH,wBAAgB,gCAAgC,CAC9C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,wBAAwB,EAAE,kBAAkB,CAAC,CAM/D"}
1
+ {"version":3,"file":"insightsoverviewresponse.d.ts","sourceRoot":"","sources":["../../../../src/models/components/insightsoverviewresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,kBAAkB,EAEnB,MAAM,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AC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,GAAG,SAAS,CAAC;IAC3D;;OAEG;IACH,eAAe,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC;CACrD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,OAAO,CAC5D,wBAAwB,EACxB,CAAC,CAAC,UAAU,EACZ,OAAO,CAmBP,CAAC;AAEH,wBAAgB,gCAAgC,CAC9C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,wBAAwB,EAAE,kBAAkB,CAAC,CAM/D"}
@@ -9,16 +9,6 @@ import { InsightsSearchSummary$inboundSchema, } from "./insightssearchsummary.js
9
9
  import { LabeledCountInfo$inboundSchema, } from "./labeledcountinfo.js";
10
10
  import { PerUserInsight$inboundSchema, } from "./peruserinsight.js";
11
11
  /** @internal */
12
- export const EngagementBreakdown$inboundSchema = z.object({
13
- nonUsers: z.number().int().optional(),
14
- dormantUsers: z.number().int().optional(),
15
- regularUsers: z.number().int().optional(),
16
- powerUsers: z.number().int().optional(),
17
- });
18
- export function engagementBreakdownFromJSON(jsonString) {
19
- return safeParse(jsonString, (x) => EngagementBreakdown$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EngagementBreakdown' from JSON`);
20
- }
21
- /** @internal */
22
12
  export const InsightsOverviewResponse$inboundSchema = z.object({
23
13
  monthlyActiveUsers: z.number().int().optional(),
24
14
  weeklyActiveUsers: z.number().int().optional(),
@@ -37,8 +27,6 @@ export const InsightsOverviewResponse$inboundSchema = z.object({
37
27
  searchDatasourceCounts: z.record(z.number().int()).optional(),
38
28
  chatDatasourceCounts: z.record(z.number().int()).optional(),
39
29
  perUserInsights: z.array(PerUserInsight$inboundSchema).optional(),
40
- engagementBreakdown: z.lazy(() => EngagementBreakdown$inboundSchema)
41
- .optional(),
42
30
  });
43
31
  export function insightsOverviewResponseFromJSON(jsonString) {
44
32
  return safeParse(jsonString, (x) => InsightsOverviewResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'InsightsOverviewResponse' from JSON`);
@@ -1 +1 @@
1
- {"version":3,"file":"insightsoverviewresponse.js","sourceRoot":"","sources":["../../../../src/models/components/insightsoverviewresponse.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGjD,OAAO,EAEL,gCAAgC,GACjC,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAEL,iCAAiC,GAClC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAEL,mCAAmC,GACpC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAEL,8BAA8B,GAC/B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAEL,4BAA4B,GAC7B,MAAM,qBAAqB,CAAC;AAwE7B,gBAAgB;AAChB,MAAM,CAAC,MAAM,iCAAiC,GAI1C,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACrC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACzC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACzC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;CACxC,CAAC,CAAC;AAEH,MAAM,UAAU,2BAA2B,CACzC,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,iCAAiC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC7D,iDAAiD,CAClD,CAAC;AACJ,CAAC;AAED,gBAAgB;AAChB,MAAM,CAAC,MAAM,sCAAsC,GAI/C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C,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACzC,aAAa,EAAE,mCAAmC,CAAC,QAAQ,EAAE;IAC7D,WAAW,EAAE,iCAAiC,CAAC,QAAQ,EAAE;IACzD,gBAAgB,EAAE,gCAAgC,CAAC,QAAQ,EAAE;IAC7D,UAAU,EAAE,gCAAgC,CAAC,QAAQ,EAAE;IACvD,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IAC1C,yBAAyB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChD,2BAA2B,EAAE,8BAA8B,CAAC,QAAQ,EAAE;IACtE,0BAA0B,EAAE,8BAA8B,CAAC,QAAQ,EAAE;IACrE,yBAAyB,EAAE,8BAA8B,CAAC,QAAQ,EAAE;IACpE,sBAAsB,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC7D,oBAAoB,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC3D,eAAe,EAAE,CAAC,CAAC,KAAK,CAAC,4BAA4B,CAAC,CAAC,QAAQ,EAAE;CAClE,CAAC,CAAC;AAEH,MAAM,UAAU,gCAAgC,CAC9C,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,sCAAsC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAClE,sDAAsD,CACvD,CAAC;AACJ,CAAC"}
@@ -15,6 +15,10 @@ export type PerAgentInsight = {
15
15
  * Defines how to render an icon
16
16
  */
17
17
  icon?: IconConfig | undefined;
18
+ /**
19
+ * Indicates whether the agent has been deleted
20
+ */
21
+ isDeleted?: boolean | undefined;
18
22
  /**
19
23
  * Total number of users for this agent over the specified time period.
20
24
  */
@@ -1 +1 @@
1
- {"version":3,"file":"peragentinsight.d.ts","sourceRoot":"","sources":["../../../../src/models/components/peragentinsight.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,UAAU,EAA4B,MAAM,iBAAiB,CAAC;AAEvE,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B;;OAEG;IACH,IAAI,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IAC9B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACpC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,OAAO,CACnD,eAAe,EACf,CAAC,CAAC,UAAU,EACZ,OAAO,CASP,CAAC;AAEH,wBAAgB,uBAAuB,CACrC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,eAAe,EAAE,kBAAkB,CAAC,CAMtD"}
1
+ {"version":3,"file":"peragentinsight.d.ts","sourceRoot":"","sources":["../../../../src/models/components/peragentinsight.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,UAAU,EAA4B,MAAM,iBAAiB,CAAC;AAEvE,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B;;OAEG;IACH,IAAI,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IAC9B;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAChC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACpC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,OAAO,CACnD,eAAe,EACf,CAAC,CAAC,UAAU,EACZ,OAAO,CAUP,CAAC;AAEH,wBAAgB,uBAAuB,CACrC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,eAAe,EAAE,kBAAkB,CAAC,CAMtD"}
@@ -9,6 +9,7 @@ export const PerAgentInsight$inboundSchema = z.object({
9
9
  agentId: z.string().optional(),
10
10
  agentName: z.string().optional(),
11
11
  icon: IconConfig$inboundSchema.optional(),
12
+ isDeleted: z.boolean().optional(),
12
13
  userCount: z.number().int().optional(),
13
14
  runCount: z.number().int().optional(),
14
15
  upvoteCount: z.number().int().optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"peragentinsight.js","sourceRoot":"","sources":["../../../../src/models/components/peragentinsight.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC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ACX,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,IAAI,EAAE,wBAAwB,CAAC,QAAQ,EAAE;IACzC,SAAS,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACjC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACtC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACrC,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACxC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;CAC3C,CAAC,CAAC;AAEH,MAAM,UAAU,uBAAuB,CACrC,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,6BAA6B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACzD,6CAA6C,CAC9C,CAAC;AACJ,CAAC"}
@@ -17,11 +17,11 @@ export type PerUserAssistantInsight = {
17
17
  */
18
18
  numAiAnswers?: number | undefined;
19
19
  /**
20
- * Total number of Gleanbot interacted with by this user over the specified time period.
20
+ * Total number of Gleanbot responses marked useful by this user over the specified time period.
21
21
  */
22
22
  numGleanbotInteractions?: number | undefined;
23
23
  /**
24
- * Total number of days this user was active over the specified time period.
24
+ * Total number of days this user was active on the Assistant over the specified time period.
25
25
  */
26
26
  numDaysActive?: number | undefined;
27
27
  };
@@ -12,6 +12,18 @@ export type PerUserInsight = {
12
12
  * Total number of chats by this user over the specified time period.
13
13
  */
14
14
  numChats?: number | undefined;
15
+ /**
16
+ * Total number of active sessions by this user in a Glean client over the specified time period.
17
+ */
18
+ numActiveSessions?: number | undefined;
19
+ /**
20
+ * Total number of Gleanbot responses marked useful by this user over the specified time period.
21
+ */
22
+ numGleanbotUsefulResponses?: number | undefined;
23
+ /**
24
+ * Total number of days this user was an Active User over the specified time period.
25
+ */
26
+ numDaysActive?: number | undefined;
15
27
  };
16
28
  /** @internal */
17
29
  export declare const PerUserInsight$inboundSchema: z.ZodType<PerUserInsight, z.ZodTypeDef, unknown>;
@@ -1 +1 @@
1
- {"version":3,"file":"peruserinsight.d.ts","sourceRoot":"","sources":["../../../../src/models/components/peruserinsight.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,MAAM,EAAwB,MAAM,aAAa,CAAC;AAE3D,MAAM,MAAM,cAAc,GAAG;IAC3B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC/B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,OAAO,CAClD,cAAc,EACd,CAAC,CAAC,UAAU,EACZ,OAAO,CAKP,CAAC;AAEH,wBAAgB,sBAAsB,CACpC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,cAAc,EAAE,kBAAkB,CAAC,CAMrD"}
1
+ {"version":3,"file":"peruserinsight.d.ts","sourceRoot":"","sources":["../../../../src/models/components/peruserinsight.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,MAAM,EAAwB,MAAM,aAAa,CAAC;AAE3D,MAAM,MAAM,cAAc,GAAG;IAC3B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC;;OAEG;IACH,0BAA0B,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChD;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACpC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,OAAO,CAClD,cAAc,EACd,CAAC,CAAC,UAAU,EACZ,OAAO,CAQP,CAAC;AAEH,wBAAgB,sBAAsB,CACpC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,cAAc,EAAE,kBAAkB,CAAC,CAMrD"}
@@ -9,6 +9,9 @@ export const PerUserInsight$inboundSchema = z.object({
9
9
  person: Person$inboundSchema.optional(),
10
10
  numSearches: z.number().int().optional(),
11
11
  numChats: z.number().int().optional(),
12
+ numActiveSessions: z.number().int().optional(),
13
+ numGleanbotUsefulResponses: z.number().int().optional(),
14
+ numDaysActive: z.number().int().optional(),
12
15
  });
13
16
  export function perUserInsightFromJSON(jsonString) {
14
17
  return safeParse(jsonString, (x) => PerUserInsight$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PerUserInsight' from JSON`);
@@ -1 +1 @@
1
- {"version":3,"file":"peruserinsight.js","sourceRoot":"","sources":["../../../../src/models/components/peruserinsight.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,sBA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,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACvD,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;CAC3C,CAAC,CAAC;AAEH,MAAM,UAAU,sBAAsB,CACpC,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,4BAA4B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACxD,4CAA4C,CAC7C,CAAC;AACJ,CAAC"}
@@ -18,7 +18,7 @@
18
18
  },
19
19
  "..": {
20
20
  "name": "@gleanwork/api-client",
21
- "version": "0.13.10",
21
+ "version": "0.13.11",
22
22
  "dependencies": {
23
23
  "zod": "^3.25.0 || ^4.0.0"
24
24
  },
package/jsr.json CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  {
4
4
  "name": "@gleanwork/api-client",
5
- "version": "0.13.10",
5
+ "version": "0.13.11",
6
6
  "exports": {
7
7
  ".": "./src/index.ts",
8
8
  "./models/errors": "./src/models/errors/index.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gleanwork/api-client",
3
- "version": "0.13.10",
3
+ "version": "0.13.11",
4
4
  "author": "Speakeasy",
5
5
  "type": "module",
6
6
  "tshy": {
@@ -19,7 +19,7 @@ test("Messages Messages", async () => {
19
19
  idType: "CONVERSATION_ID",
20
20
  id: "<id>",
21
21
  timestampMillis: 558834,
22
- datasource: "GCHAT",
22
+ datasource: "MICROSOFTTEAMS",
23
23
  });
24
24
  expect(result).toBeDefined();
25
25
  });
package/src/lib/config.ts CHANGED
@@ -68,8 +68,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
68
68
  export const SDK_METADATA = {
69
69
  language: "typescript",
70
70
  openapiDocVersion: "0.9.0",
71
- sdkVersion: "0.13.10",
72
- genVersion: "2.755.6",
71
+ sdkVersion: "0.13.11",
72
+ genVersion: "2.755.9",
73
73
  userAgent:
74
- "speakeasy-sdk/typescript 0.13.10 2.755.6 0.9.0 @gleanwork/api-client",
74
+ "speakeasy-sdk/typescript 0.13.11 2.755.9 0.9.0 @gleanwork/api-client",
75
75
  } as const;
@@ -27,25 +27,6 @@ import {
27
27
  PerUserInsight$inboundSchema,
28
28
  } from "./peruserinsight.js";
29
29
 
30
- export type EngagementBreakdown = {
31
- /**
32
- * Number of non-user employees in the specified departments.
33
- */
34
- nonUsers?: number | undefined;
35
- /**
36
- * Number of currently dormant users in the specified departments.
37
- */
38
- dormantUsers?: number | undefined;
39
- /**
40
- * Number of currently regular users in the specified departments.
41
- */
42
- regularUsers?: number | undefined;
43
- /**
44
- * Number of currently power users in the specified departments.
45
- */
46
- powerUsers?: number | undefined;
47
- };
48
-
49
30
  export type InsightsOverviewResponse = {
50
31
  /**
51
32
  * Number of current Monthly Active Users, in the specified departments.
@@ -91,34 +72,11 @@ export type InsightsOverviewResponse = {
91
72
  */
92
73
  chatDatasourceCounts?: { [k: string]: number } | undefined;
93
74
  /**
94
- * Top power users, over the specified time period in the specified departments.
75
+ * Per-user insights, over the specified time period in the specified departments. All current users in the organization who have signed into Glean at least once are included.
95
76
  */
96
77
  perUserInsights?: Array<PerUserInsight> | undefined;
97
- engagementBreakdown?: EngagementBreakdown | undefined;
98
78
  };
99
79
 
100
- /** @internal */
101
- export const EngagementBreakdown$inboundSchema: z.ZodType<
102
- EngagementBreakdown,
103
- z.ZodTypeDef,
104
- unknown
105
- > = z.object({
106
- nonUsers: z.number().int().optional(),
107
- dormantUsers: z.number().int().optional(),
108
- regularUsers: z.number().int().optional(),
109
- powerUsers: z.number().int().optional(),
110
- });
111
-
112
- export function engagementBreakdownFromJSON(
113
- jsonString: string,
114
- ): SafeParseResult<EngagementBreakdown, SDKValidationError> {
115
- return safeParse(
116
- jsonString,
117
- (x) => EngagementBreakdown$inboundSchema.parse(JSON.parse(x)),
118
- `Failed to parse 'EngagementBreakdown' from JSON`,
119
- );
120
- }
121
-
122
80
  /** @internal */
123
81
  export const InsightsOverviewResponse$inboundSchema: z.ZodType<
124
82
  InsightsOverviewResponse,
@@ -142,8 +100,6 @@ export const InsightsOverviewResponse$inboundSchema: z.ZodType<
142
100
  searchDatasourceCounts: z.record(z.number().int()).optional(),
143
101
  chatDatasourceCounts: z.record(z.number().int()).optional(),
144
102
  perUserInsights: z.array(PerUserInsight$inboundSchema).optional(),
145
- engagementBreakdown: z.lazy(() => EngagementBreakdown$inboundSchema)
146
- .optional(),
147
103
  });
148
104
 
149
105
  export function insightsOverviewResponseFromJSON(
@@ -21,6 +21,10 @@ export type PerAgentInsight = {
21
21
  * Defines how to render an icon
22
22
  */
23
23
  icon?: IconConfig | undefined;
24
+ /**
25
+ * Indicates whether the agent has been deleted
26
+ */
27
+ isDeleted?: boolean | undefined;
24
28
  /**
25
29
  * Total number of users for this agent over the specified time period.
26
30
  */
@@ -48,6 +52,7 @@ export const PerAgentInsight$inboundSchema: z.ZodType<
48
52
  agentId: z.string().optional(),
49
53
  agentName: z.string().optional(),
50
54
  icon: IconConfig$inboundSchema.optional(),
55
+ isDeleted: z.boolean().optional(),
51
56
  userCount: z.number().int().optional(),
52
57
  runCount: z.number().int().optional(),
53
58
  upvoteCount: z.number().int().optional(),
@@ -23,11 +23,11 @@ export type PerUserAssistantInsight = {
23
23
  */
24
24
  numAiAnswers?: number | undefined;
25
25
  /**
26
- * Total number of Gleanbot interacted with by this user over the specified time period.
26
+ * Total number of Gleanbot responses marked useful by this user over the specified time period.
27
27
  */
28
28
  numGleanbotInteractions?: number | undefined;
29
29
  /**
30
- * Total number of days this user was active over the specified time period.
30
+ * Total number of days this user was active on the Assistant over the specified time period.
31
31
  */
32
32
  numDaysActive?: number | undefined;
33
33
  };
@@ -18,6 +18,18 @@ export type PerUserInsight = {
18
18
  * Total number of chats by this user over the specified time period.
19
19
  */
20
20
  numChats?: number | undefined;
21
+ /**
22
+ * Total number of active sessions by this user in a Glean client over the specified time period.
23
+ */
24
+ numActiveSessions?: number | undefined;
25
+ /**
26
+ * Total number of Gleanbot responses marked useful by this user over the specified time period.
27
+ */
28
+ numGleanbotUsefulResponses?: number | undefined;
29
+ /**
30
+ * Total number of days this user was an Active User over the specified time period.
31
+ */
32
+ numDaysActive?: number | undefined;
21
33
  };
22
34
 
23
35
  /** @internal */
@@ -29,6 +41,9 @@ export const PerUserInsight$inboundSchema: z.ZodType<
29
41
  person: Person$inboundSchema.optional(),
30
42
  numSearches: z.number().int().optional(),
31
43
  numChats: z.number().int().optional(),
44
+ numActiveSessions: z.number().int().optional(),
45
+ numGleanbotUsefulResponses: z.number().int().optional(),
46
+ numDaysActive: z.number().int().optional(),
32
47
  });
33
48
 
34
49
  export function perUserInsightFromJSON(