mavenagi 1.2.12 → 1.2.13

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 (45) hide show
  1. package/Client.js +2 -2
  2. package/api/resources/commons/types/CsatInfo.d.ts +4 -0
  3. package/api/resources/commons/types/CsatInfo.js +3 -0
  4. package/api/resources/commons/types/NovelUserEvent.d.ts +2 -0
  5. package/api/resources/commons/types/index.d.ts +1 -0
  6. package/api/resources/commons/types/index.js +1 -0
  7. package/api/resources/conversation/types/ConversationField.d.ts +1 -0
  8. package/api/resources/conversation/types/ConversationField.js +1 -0
  9. package/api/resources/conversation/types/NumericConversationField.d.ts +1 -0
  10. package/api/resources/conversation/types/NumericConversationField.js +1 -0
  11. package/dist/Client.js +2 -2
  12. package/dist/api/resources/commons/types/CsatInfo.d.ts +4 -0
  13. package/dist/api/resources/commons/types/CsatInfo.js +3 -0
  14. package/dist/api/resources/commons/types/NovelUserEvent.d.ts +2 -0
  15. package/dist/api/resources/commons/types/index.d.ts +1 -0
  16. package/dist/api/resources/commons/types/index.js +1 -0
  17. package/dist/api/resources/conversation/types/ConversationField.d.ts +1 -0
  18. package/dist/api/resources/conversation/types/ConversationField.js +1 -0
  19. package/dist/api/resources/conversation/types/NumericConversationField.d.ts +1 -0
  20. package/dist/api/resources/conversation/types/NumericConversationField.js +1 -0
  21. package/dist/serialization/resources/commons/types/CsatInfo.d.ts +9 -0
  22. package/dist/serialization/resources/commons/types/CsatInfo.js +41 -0
  23. package/dist/serialization/resources/commons/types/NovelUserEvent.d.ts +2 -0
  24. package/dist/serialization/resources/commons/types/NovelUserEvent.js +2 -0
  25. package/dist/serialization/resources/commons/types/index.d.ts +1 -0
  26. package/dist/serialization/resources/commons/types/index.js +1 -0
  27. package/dist/serialization/resources/conversation/types/ConversationField.d.ts +1 -1
  28. package/dist/serialization/resources/conversation/types/ConversationField.js +1 -0
  29. package/dist/serialization/resources/conversation/types/NumericConversationField.d.ts +1 -1
  30. package/dist/serialization/resources/conversation/types/NumericConversationField.js +1 -0
  31. package/dist/version.d.ts +1 -1
  32. package/dist/version.js +1 -1
  33. package/package.json +1 -1
  34. package/serialization/resources/commons/types/CsatInfo.d.ts +9 -0
  35. package/serialization/resources/commons/types/CsatInfo.js +41 -0
  36. package/serialization/resources/commons/types/NovelUserEvent.d.ts +2 -0
  37. package/serialization/resources/commons/types/NovelUserEvent.js +2 -0
  38. package/serialization/resources/commons/types/index.d.ts +1 -0
  39. package/serialization/resources/commons/types/index.js +1 -0
  40. package/serialization/resources/conversation/types/ConversationField.d.ts +1 -1
  41. package/serialization/resources/conversation/types/ConversationField.js +1 -0
  42. package/serialization/resources/conversation/types/NumericConversationField.d.ts +1 -1
  43. package/serialization/resources/conversation/types/NumericConversationField.js +1 -0
  44. package/version.d.ts +1 -1
  45. package/version.js +1 -1
package/Client.js CHANGED
@@ -61,8 +61,8 @@ class MavenAGIClient {
61
61
  "X-Agent-Id": _options === null || _options === void 0 ? void 0 : _options.agentId,
62
62
  "X-Fern-Language": "JavaScript",
63
63
  "X-Fern-SDK-Name": "mavenagi",
64
- "X-Fern-SDK-Version": "1.2.12",
65
- "User-Agent": "mavenagi/1.2.12",
64
+ "X-Fern-SDK-Version": "1.2.13",
65
+ "User-Agent": "mavenagi/1.2.13",
66
66
  "X-Fern-Runtime": core.RUNTIME.type,
67
67
  "X-Fern-Runtime-Version": core.RUNTIME.version,
68
68
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -0,0 +1,4 @@
1
+ export interface CsatInfo {
2
+ /** The rating of the CSAT rating [0.0, 5.0] */
3
+ rating?: number;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -6,6 +6,8 @@ export interface NovelUserEvent extends MavenAGI.EventBaseNoId {
6
6
  eventName: MavenAGI.UserEventName;
7
7
  /** Information about the user who triggered the event */
8
8
  userInfo: MavenAGI.EventUserInfoBase;
9
+ /** Information about any CSAT associated with the event */
10
+ csatInfo?: MavenAGI.CsatInfo;
9
11
  /** Information about any feedback associated with the event */
10
12
  feedbackInfo?: MavenAGI.FeedbackInfo[];
11
13
  /** Information about the page on which the event occurred */
@@ -55,6 +55,7 @@ export * from "./ConversationPrecondition";
55
55
  export * from "./ConversationPreview";
56
56
  export * from "./ConversationResponse";
57
57
  export * from "./ConversationSummary";
58
+ export * from "./CsatInfo";
58
59
  export * from "./DeviceInfo";
59
60
  export * from "./DeviceType";
60
61
  export * from "./DocumentInformation";
@@ -71,6 +71,7 @@ __exportStar(require("./ConversationPrecondition"), exports);
71
71
  __exportStar(require("./ConversationPreview"), exports);
72
72
  __exportStar(require("./ConversationResponse"), exports);
73
73
  __exportStar(require("./ConversationSummary"), exports);
74
+ __exportStar(require("./CsatInfo"), exports);
74
75
  __exportStar(require("./DeviceInfo"), exports);
75
76
  __exportStar(require("./DeviceType"), exports);
76
77
  __exportStar(require("./DocumentInformation"), exports);
@@ -24,6 +24,7 @@ export declare const ConversationField: {
24
24
  readonly Sources: "Sources";
25
25
  readonly CreatedAt: "CreatedAt";
26
26
  readonly PredictedNps: "PredictedNPS";
27
+ readonly Csat: "Csat";
27
28
  readonly OrganizationId: "OrganizationId";
28
29
  readonly AgentId: "AgentId";
29
30
  readonly InboxItems: "InboxItems";
@@ -28,6 +28,7 @@ exports.ConversationField = {
28
28
  Sources: "Sources",
29
29
  CreatedAt: "CreatedAt",
30
30
  PredictedNps: "PredictedNPS",
31
+ Csat: "Csat",
31
32
  OrganizationId: "OrganizationId",
32
33
  AgentId: "AgentId",
33
34
  InboxItems: "InboxItems",
@@ -7,5 +7,6 @@ export declare const NumericConversationField: {
7
7
  readonly HandleTime: "HandleTime";
8
8
  readonly FirstResponseTime: "FirstResponseTime";
9
9
  readonly PredictedNps: "PredictedNPS";
10
+ readonly Csat: "Csat";
10
11
  };
11
12
  export type NumericConversationField = (typeof NumericConversationField)[keyof typeof NumericConversationField];
@@ -11,4 +11,5 @@ exports.NumericConversationField = {
11
11
  HandleTime: "HandleTime",
12
12
  FirstResponseTime: "FirstResponseTime",
13
13
  PredictedNps: "PredictedNPS",
14
+ Csat: "Csat",
14
15
  };
package/dist/Client.js CHANGED
@@ -61,8 +61,8 @@ class MavenAGIClient {
61
61
  "X-Agent-Id": _options === null || _options === void 0 ? void 0 : _options.agentId,
62
62
  "X-Fern-Language": "JavaScript",
63
63
  "X-Fern-SDK-Name": "mavenagi",
64
- "X-Fern-SDK-Version": "1.2.12",
65
- "User-Agent": "mavenagi/1.2.12",
64
+ "X-Fern-SDK-Version": "1.2.13",
65
+ "User-Agent": "mavenagi/1.2.13",
66
66
  "X-Fern-Runtime": core.RUNTIME.type,
67
67
  "X-Fern-Runtime-Version": core.RUNTIME.version,
68
68
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -0,0 +1,4 @@
1
+ export interface CsatInfo {
2
+ /** The rating of the CSAT rating [0.0, 5.0] */
3
+ rating?: number;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -6,6 +6,8 @@ export interface NovelUserEvent extends MavenAGI.EventBaseNoId {
6
6
  eventName: MavenAGI.UserEventName;
7
7
  /** Information about the user who triggered the event */
8
8
  userInfo: MavenAGI.EventUserInfoBase;
9
+ /** Information about any CSAT associated with the event */
10
+ csatInfo?: MavenAGI.CsatInfo;
9
11
  /** Information about any feedback associated with the event */
10
12
  feedbackInfo?: MavenAGI.FeedbackInfo[];
11
13
  /** Information about the page on which the event occurred */
@@ -55,6 +55,7 @@ export * from "./ConversationPrecondition";
55
55
  export * from "./ConversationPreview";
56
56
  export * from "./ConversationResponse";
57
57
  export * from "./ConversationSummary";
58
+ export * from "./CsatInfo";
58
59
  export * from "./DeviceInfo";
59
60
  export * from "./DeviceType";
60
61
  export * from "./DocumentInformation";
@@ -71,6 +71,7 @@ __exportStar(require("./ConversationPrecondition"), exports);
71
71
  __exportStar(require("./ConversationPreview"), exports);
72
72
  __exportStar(require("./ConversationResponse"), exports);
73
73
  __exportStar(require("./ConversationSummary"), exports);
74
+ __exportStar(require("./CsatInfo"), exports);
74
75
  __exportStar(require("./DeviceInfo"), exports);
75
76
  __exportStar(require("./DeviceType"), exports);
76
77
  __exportStar(require("./DocumentInformation"), exports);
@@ -24,6 +24,7 @@ export declare const ConversationField: {
24
24
  readonly Sources: "Sources";
25
25
  readonly CreatedAt: "CreatedAt";
26
26
  readonly PredictedNps: "PredictedNPS";
27
+ readonly Csat: "Csat";
27
28
  readonly OrganizationId: "OrganizationId";
28
29
  readonly AgentId: "AgentId";
29
30
  readonly InboxItems: "InboxItems";
@@ -28,6 +28,7 @@ exports.ConversationField = {
28
28
  Sources: "Sources",
29
29
  CreatedAt: "CreatedAt",
30
30
  PredictedNps: "PredictedNPS",
31
+ Csat: "Csat",
31
32
  OrganizationId: "OrganizationId",
32
33
  AgentId: "AgentId",
33
34
  InboxItems: "InboxItems",
@@ -7,5 +7,6 @@ export declare const NumericConversationField: {
7
7
  readonly HandleTime: "HandleTime";
8
8
  readonly FirstResponseTime: "FirstResponseTime";
9
9
  readonly PredictedNps: "PredictedNPS";
10
+ readonly Csat: "Csat";
10
11
  };
11
12
  export type NumericConversationField = (typeof NumericConversationField)[keyof typeof NumericConversationField];
@@ -11,4 +11,5 @@ exports.NumericConversationField = {
11
11
  HandleTime: "HandleTime",
12
12
  FirstResponseTime: "FirstResponseTime",
13
13
  PredictedNps: "PredictedNPS",
14
+ Csat: "Csat",
14
15
  };
@@ -0,0 +1,9 @@
1
+ import type * as MavenAGI from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ export declare const CsatInfo: core.serialization.ObjectSchema<serializers.CsatInfo.Raw, MavenAGI.CsatInfo>;
5
+ export declare namespace CsatInfo {
6
+ interface Raw {
7
+ rating?: number | null;
8
+ }
9
+ }
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.CsatInfo = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ exports.CsatInfo = core.serialization.object({
40
+ rating: core.serialization.number().optional(),
41
+ });
@@ -1,6 +1,7 @@
1
1
  import type * as MavenAGI from "../../../../api/index";
2
2
  import * as core from "../../../../core";
3
3
  import type * as serializers from "../../../index";
4
+ import { CsatInfo } from "./CsatInfo";
4
5
  import { EntityIdBase } from "./EntityIdBase";
5
6
  import { EventBaseNoId } from "./EventBaseNoId";
6
7
  import { EventUserInfoBase } from "./EventUserInfoBase";
@@ -13,6 +14,7 @@ export declare namespace NovelUserEvent {
13
14
  id: EntityIdBase.Raw;
14
15
  eventName: UserEventName.Raw;
15
16
  userInfo: EventUserInfoBase.Raw;
17
+ csatInfo?: CsatInfo.Raw | null;
16
18
  feedbackInfo?: FeedbackInfo.Raw[] | null;
17
19
  pageInfo?: PageInfo.Raw | null;
18
20
  }
@@ -36,6 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.NovelUserEvent = void 0;
38
38
  const core = __importStar(require("../../../../core"));
39
+ const CsatInfo_1 = require("./CsatInfo");
39
40
  const EntityIdBase_1 = require("./EntityIdBase");
40
41
  const EventBaseNoId_1 = require("./EventBaseNoId");
41
42
  const EventUserInfoBase_1 = require("./EventUserInfoBase");
@@ -47,6 +48,7 @@ exports.NovelUserEvent = core.serialization
47
48
  id: EntityIdBase_1.EntityIdBase,
48
49
  eventName: UserEventName_1.UserEventName,
49
50
  userInfo: EventUserInfoBase_1.EventUserInfoBase,
51
+ csatInfo: CsatInfo_1.CsatInfo.optional(),
50
52
  feedbackInfo: core.serialization.list(FeedbackInfo_1.FeedbackInfo).optional(),
51
53
  pageInfo: PageInfo_1.PageInfo.optional(),
52
54
  })
@@ -55,6 +55,7 @@ export * from "./ConversationPrecondition";
55
55
  export * from "./ConversationPreview";
56
56
  export * from "./ConversationResponse";
57
57
  export * from "./ConversationSummary";
58
+ export * from "./CsatInfo";
58
59
  export * from "./DeviceInfo";
59
60
  export * from "./DeviceType";
60
61
  export * from "./DocumentInformation";
@@ -71,6 +71,7 @@ __exportStar(require("./ConversationPrecondition"), exports);
71
71
  __exportStar(require("./ConversationPreview"), exports);
72
72
  __exportStar(require("./ConversationResponse"), exports);
73
73
  __exportStar(require("./ConversationSummary"), exports);
74
+ __exportStar(require("./CsatInfo"), exports);
74
75
  __exportStar(require("./DeviceInfo"), exports);
75
76
  __exportStar(require("./DeviceType"), exports);
76
77
  __exportStar(require("./DocumentInformation"), exports);
@@ -3,5 +3,5 @@ import * as core from "../../../../core";
3
3
  import type * as serializers from "../../../index";
4
4
  export declare const ConversationField: core.serialization.Schema<serializers.ConversationField.Raw, MavenAGI.ConversationField>;
5
5
  export declare namespace ConversationField {
6
- type Raw = "Category" | "FirstResponseTime" | "HandleTime" | "HumanAgents" | "HumanAgentsWithInserts" | "App" | "Sentiment" | "QualityReason" | "ResolutionStatus" | "ResolvedByMaven" | "Quality" | "Users" | "ResponseLength" | "ThumbsUpCount" | "ThumbsDownCount" | "InsertCount" | "Tags" | "UserMessageCount" | "BotMessageCount" | "Languages" | "Actions" | "IncompleteActions" | "Sources" | "CreatedAt" | "PredictedNPS" | "OrganizationId" | "AgentId" | "InboxItems" | "InvolvedApps";
6
+ type Raw = "Category" | "FirstResponseTime" | "HandleTime" | "HumanAgents" | "HumanAgentsWithInserts" | "App" | "Sentiment" | "QualityReason" | "ResolutionStatus" | "ResolvedByMaven" | "Quality" | "Users" | "ResponseLength" | "ThumbsUpCount" | "ThumbsDownCount" | "InsertCount" | "Tags" | "UserMessageCount" | "BotMessageCount" | "Languages" | "Actions" | "IncompleteActions" | "Sources" | "CreatedAt" | "PredictedNPS" | "Csat" | "OrganizationId" | "AgentId" | "InboxItems" | "InvolvedApps";
7
7
  }
@@ -62,6 +62,7 @@ exports.ConversationField = core.serialization.enum_([
62
62
  "Sources",
63
63
  "CreatedAt",
64
64
  "PredictedNPS",
65
+ "Csat",
65
66
  "OrganizationId",
66
67
  "AgentId",
67
68
  "InboxItems",
@@ -3,5 +3,5 @@ import * as core from "../../../../core";
3
3
  import type * as serializers from "../../../index";
4
4
  export declare const NumericConversationField: core.serialization.Schema<serializers.NumericConversationField.Raw, MavenAGI.NumericConversationField>;
5
5
  export declare namespace NumericConversationField {
6
- type Raw = "ThumbsUpCount" | "ThumbsDownCount" | "InsertCount" | "UserMessageCount" | "BotMessageCount" | "HandleTime" | "FirstResponseTime" | "PredictedNPS";
6
+ type Raw = "ThumbsUpCount" | "ThumbsDownCount" | "InsertCount" | "UserMessageCount" | "BotMessageCount" | "HandleTime" | "FirstResponseTime" | "PredictedNPS" | "Csat";
7
7
  }
@@ -45,4 +45,5 @@ exports.NumericConversationField = core.serialization.enum_([
45
45
  "HandleTime",
46
46
  "FirstResponseTime",
47
47
  "PredictedNPS",
48
+ "Csat",
48
49
  ]);
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.2.12";
1
+ export declare const SDK_VERSION = "1.2.13";
package/dist/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "1.2.12";
4
+ exports.SDK_VERSION = "1.2.13";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mavenagi",
3
- "version": "1.2.12",
3
+ "version": "1.2.13",
4
4
  "private": false,
5
5
  "repository": "github:mavenagi/mavenagi-node",
6
6
  "main": "./index.js",
@@ -0,0 +1,9 @@
1
+ import type * as MavenAGI from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ export declare const CsatInfo: core.serialization.ObjectSchema<serializers.CsatInfo.Raw, MavenAGI.CsatInfo>;
5
+ export declare namespace CsatInfo {
6
+ interface Raw {
7
+ rating?: number | null;
8
+ }
9
+ }
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.CsatInfo = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ exports.CsatInfo = core.serialization.object({
40
+ rating: core.serialization.number().optional(),
41
+ });
@@ -1,6 +1,7 @@
1
1
  import type * as MavenAGI from "../../../../api/index";
2
2
  import * as core from "../../../../core";
3
3
  import type * as serializers from "../../../index";
4
+ import { CsatInfo } from "./CsatInfo";
4
5
  import { EntityIdBase } from "./EntityIdBase";
5
6
  import { EventBaseNoId } from "./EventBaseNoId";
6
7
  import { EventUserInfoBase } from "./EventUserInfoBase";
@@ -13,6 +14,7 @@ export declare namespace NovelUserEvent {
13
14
  id: EntityIdBase.Raw;
14
15
  eventName: UserEventName.Raw;
15
16
  userInfo: EventUserInfoBase.Raw;
17
+ csatInfo?: CsatInfo.Raw | null;
16
18
  feedbackInfo?: FeedbackInfo.Raw[] | null;
17
19
  pageInfo?: PageInfo.Raw | null;
18
20
  }
@@ -36,6 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.NovelUserEvent = void 0;
38
38
  const core = __importStar(require("../../../../core"));
39
+ const CsatInfo_1 = require("./CsatInfo");
39
40
  const EntityIdBase_1 = require("./EntityIdBase");
40
41
  const EventBaseNoId_1 = require("./EventBaseNoId");
41
42
  const EventUserInfoBase_1 = require("./EventUserInfoBase");
@@ -47,6 +48,7 @@ exports.NovelUserEvent = core.serialization
47
48
  id: EntityIdBase_1.EntityIdBase,
48
49
  eventName: UserEventName_1.UserEventName,
49
50
  userInfo: EventUserInfoBase_1.EventUserInfoBase,
51
+ csatInfo: CsatInfo_1.CsatInfo.optional(),
50
52
  feedbackInfo: core.serialization.list(FeedbackInfo_1.FeedbackInfo).optional(),
51
53
  pageInfo: PageInfo_1.PageInfo.optional(),
52
54
  })
@@ -55,6 +55,7 @@ export * from "./ConversationPrecondition";
55
55
  export * from "./ConversationPreview";
56
56
  export * from "./ConversationResponse";
57
57
  export * from "./ConversationSummary";
58
+ export * from "./CsatInfo";
58
59
  export * from "./DeviceInfo";
59
60
  export * from "./DeviceType";
60
61
  export * from "./DocumentInformation";
@@ -71,6 +71,7 @@ __exportStar(require("./ConversationPrecondition"), exports);
71
71
  __exportStar(require("./ConversationPreview"), exports);
72
72
  __exportStar(require("./ConversationResponse"), exports);
73
73
  __exportStar(require("./ConversationSummary"), exports);
74
+ __exportStar(require("./CsatInfo"), exports);
74
75
  __exportStar(require("./DeviceInfo"), exports);
75
76
  __exportStar(require("./DeviceType"), exports);
76
77
  __exportStar(require("./DocumentInformation"), exports);
@@ -3,5 +3,5 @@ import * as core from "../../../../core";
3
3
  import type * as serializers from "../../../index";
4
4
  export declare const ConversationField: core.serialization.Schema<serializers.ConversationField.Raw, MavenAGI.ConversationField>;
5
5
  export declare namespace ConversationField {
6
- type Raw = "Category" | "FirstResponseTime" | "HandleTime" | "HumanAgents" | "HumanAgentsWithInserts" | "App" | "Sentiment" | "QualityReason" | "ResolutionStatus" | "ResolvedByMaven" | "Quality" | "Users" | "ResponseLength" | "ThumbsUpCount" | "ThumbsDownCount" | "InsertCount" | "Tags" | "UserMessageCount" | "BotMessageCount" | "Languages" | "Actions" | "IncompleteActions" | "Sources" | "CreatedAt" | "PredictedNPS" | "OrganizationId" | "AgentId" | "InboxItems" | "InvolvedApps";
6
+ type Raw = "Category" | "FirstResponseTime" | "HandleTime" | "HumanAgents" | "HumanAgentsWithInserts" | "App" | "Sentiment" | "QualityReason" | "ResolutionStatus" | "ResolvedByMaven" | "Quality" | "Users" | "ResponseLength" | "ThumbsUpCount" | "ThumbsDownCount" | "InsertCount" | "Tags" | "UserMessageCount" | "BotMessageCount" | "Languages" | "Actions" | "IncompleteActions" | "Sources" | "CreatedAt" | "PredictedNPS" | "Csat" | "OrganizationId" | "AgentId" | "InboxItems" | "InvolvedApps";
7
7
  }
@@ -62,6 +62,7 @@ exports.ConversationField = core.serialization.enum_([
62
62
  "Sources",
63
63
  "CreatedAt",
64
64
  "PredictedNPS",
65
+ "Csat",
65
66
  "OrganizationId",
66
67
  "AgentId",
67
68
  "InboxItems",
@@ -3,5 +3,5 @@ import * as core from "../../../../core";
3
3
  import type * as serializers from "../../../index";
4
4
  export declare const NumericConversationField: core.serialization.Schema<serializers.NumericConversationField.Raw, MavenAGI.NumericConversationField>;
5
5
  export declare namespace NumericConversationField {
6
- type Raw = "ThumbsUpCount" | "ThumbsDownCount" | "InsertCount" | "UserMessageCount" | "BotMessageCount" | "HandleTime" | "FirstResponseTime" | "PredictedNPS";
6
+ type Raw = "ThumbsUpCount" | "ThumbsDownCount" | "InsertCount" | "UserMessageCount" | "BotMessageCount" | "HandleTime" | "FirstResponseTime" | "PredictedNPS" | "Csat";
7
7
  }
@@ -45,4 +45,5 @@ exports.NumericConversationField = core.serialization.enum_([
45
45
  "HandleTime",
46
46
  "FirstResponseTime",
47
47
  "PredictedNPS",
48
+ "Csat",
48
49
  ]);
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.2.12";
1
+ export declare const SDK_VERSION = "1.2.13";
package/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "1.2.12";
4
+ exports.SDK_VERSION = "1.2.13";