mavenagi 1.2.58 → 1.2.59

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 (162) hide show
  1. package/BaseClient.js +2 -2
  2. package/Client.d.ts +3 -0
  3. package/Client.js +37 -32
  4. package/api/resources/actions/client/requests/ActionPatchRequest.d.ts +5 -0
  5. package/api/resources/analytics/types/AgentUserRow.d.ts +5 -2
  6. package/api/resources/analytics/types/AgentUserRowIdentifier.d.ts +5 -0
  7. package/api/resources/analytics/types/AgentUserRowIdentifier.js +3 -0
  8. package/api/resources/analytics/types/AgentUserTableResponse.d.ts +7 -0
  9. package/api/resources/analytics/types/ConversationRow.d.ts +5 -2
  10. package/api/resources/analytics/types/ConversationRowIdentifier.d.ts +7 -0
  11. package/api/resources/analytics/types/ConversationRowIdentifier.js +3 -0
  12. package/api/resources/analytics/types/ConversationTableRequest.d.ts +0 -6
  13. package/api/resources/analytics/types/ConversationTableResponse.d.ts +56 -0
  14. package/api/resources/analytics/types/EventRow.d.ts +5 -2
  15. package/api/resources/analytics/types/EventRowIdentifier.d.ts +5 -0
  16. package/api/resources/analytics/types/EventRowIdentifier.js +3 -0
  17. package/api/resources/analytics/types/EventTableResponse.d.ts +14 -0
  18. package/api/resources/analytics/types/FeedbackRow.d.ts +5 -2
  19. package/api/resources/analytics/types/FeedbackRowIdentifier.d.ts +5 -0
  20. package/api/resources/analytics/types/FeedbackRowIdentifier.js +3 -0
  21. package/api/resources/analytics/types/FeedbackTableResponse.d.ts +14 -0
  22. package/api/resources/analytics/types/RowIdentifierBase.d.ts +5 -0
  23. package/api/resources/analytics/types/RowIdentifierBase.js +3 -0
  24. package/api/resources/analytics/types/index.d.ts +5 -0
  25. package/api/resources/analytics/types/index.js +5 -0
  26. package/api/resources/appDirectory/client/Client.d.ts +126 -0
  27. package/api/resources/appDirectory/client/Client.js +640 -0
  28. package/api/resources/appDirectory/client/index.d.ts +1 -0
  29. package/api/resources/appDirectory/client/index.js +17 -0
  30. package/api/resources/appDirectory/client/requests/GetAppSettingUploadUrlRequest.d.ts +11 -0
  31. package/api/resources/appDirectory/client/requests/GetAppSettingUploadUrlRequest.js +3 -0
  32. package/api/resources/appDirectory/client/requests/index.d.ts +1 -0
  33. package/api/resources/appDirectory/client/requests/index.js +2 -0
  34. package/api/resources/appDirectory/exports.d.ts +2 -0
  35. package/api/resources/appDirectory/exports.js +21 -0
  36. package/api/resources/appDirectory/index.d.ts +2 -0
  37. package/api/resources/appDirectory/index.js +18 -0
  38. package/api/resources/appDirectory/types/DirectoryAppSortField.d.ts +19 -0
  39. package/api/resources/appDirectory/types/DirectoryAppSortField.js +22 -0
  40. package/api/resources/appDirectory/types/DirectoryAppsSearchRequest.d.ts +7 -0
  41. package/api/resources/appDirectory/types/DirectoryAppsSearchRequest.js +3 -0
  42. package/api/resources/appDirectory/types/GetDirectoryAppSettingDownloadUrlResponse.d.ts +3 -0
  43. package/api/resources/appDirectory/types/GetDirectoryAppSettingDownloadUrlResponse.js +3 -0
  44. package/api/resources/appDirectory/types/GetDirectoryAppSettingUploadUrlResponse.d.ts +4 -0
  45. package/api/resources/appDirectory/types/GetDirectoryAppSettingUploadUrlResponse.js +3 -0
  46. package/api/resources/appDirectory/types/InstallDirectoryAppRequest.d.ts +44 -0
  47. package/api/resources/appDirectory/types/InstallDirectoryAppRequest.js +3 -0
  48. package/api/resources/appDirectory/types/index.d.ts +5 -0
  49. package/api/resources/appDirectory/types/index.js +21 -0
  50. package/api/resources/commons/types/ActionProperties.d.ts +7 -0
  51. package/api/resources/commons/types/BotLogicActionExecutedDetail.d.ts +10 -0
  52. package/api/resources/commons/types/BotLogicUserItem.d.ts +2 -0
  53. package/api/resources/commons/types/SideEffects.d.ts +10 -0
  54. package/api/resources/commons/types/SideEffects.js +13 -0
  55. package/api/resources/commons/types/index.d.ts +1 -0
  56. package/api/resources/commons/types/index.js +1 -0
  57. package/api/resources/conversation/types/ConversationFilter.d.ts +5 -0
  58. package/api/resources/developersCommons/exports.d.ts +1 -0
  59. package/api/resources/developersCommons/exports.js +18 -0
  60. package/api/resources/developersCommons/types/AppInstalled.d.ts +5 -0
  61. package/api/resources/developersCommons/types/AppInstalled.js +8 -0
  62. package/api/resources/developersCommons/types/AppsFilter.d.ts +27 -0
  63. package/api/resources/developersCommons/types/AppsFilter.js +3 -0
  64. package/api/resources/developersCommons/types/AppsResponse.d.ts +15 -0
  65. package/api/resources/developersCommons/types/AppsResponse.js +3 -0
  66. package/api/resources/developersCommons/types/BaseApp.d.ts +32 -0
  67. package/api/resources/developersCommons/types/BaseApp.js +3 -0
  68. package/api/resources/developersCommons/types/BaseDetailApp.d.ts +19 -0
  69. package/api/resources/developersCommons/types/BaseDetailApp.js +3 -0
  70. package/api/resources/developersCommons/types/CountByFilterResult.d.ts +11 -0
  71. package/api/resources/developersCommons/types/CountByFilterResult.js +3 -0
  72. package/api/resources/developersCommons/types/DeveloperOrganization.d.ts +15 -0
  73. package/api/resources/developersCommons/types/DeveloperOrganization.js +3 -0
  74. package/api/resources/developersCommons/types/Link.d.ts +6 -0
  75. package/api/resources/developersCommons/types/MarketplaceApp.d.ts +8 -0
  76. package/api/resources/developersCommons/types/MarketplaceApp.js +3 -0
  77. package/api/resources/developersCommons/types/MarketplaceAppDetail.d.ts +35 -0
  78. package/api/resources/developersCommons/types/MarketplaceAppDetail.js +3 -0
  79. package/api/resources/developersCommons/types/index.d.ts +9 -0
  80. package/api/resources/developersCommons/types/index.js +9 -0
  81. package/api/resources/index.d.ts +3 -0
  82. package/api/resources/index.js +4 -1
  83. package/package.json +1 -1
  84. package/reference.md +418 -0
  85. package/serialization/resources/actions/client/requests/ActionPatchRequest.d.ts +2 -0
  86. package/serialization/resources/actions/client/requests/ActionPatchRequest.js +2 -0
  87. package/serialization/resources/analytics/types/AgentUserRow.d.ts +2 -0
  88. package/serialization/resources/analytics/types/AgentUserRow.js +2 -0
  89. package/serialization/resources/analytics/types/AgentUserRowIdentifier.d.ts +11 -0
  90. package/serialization/resources/analytics/types/AgentUserRowIdentifier.js +45 -0
  91. package/serialization/resources/analytics/types/ConversationRow.d.ts +2 -0
  92. package/serialization/resources/analytics/types/ConversationRow.js +2 -0
  93. package/serialization/resources/analytics/types/ConversationRowIdentifier.d.ts +13 -0
  94. package/serialization/resources/analytics/types/ConversationRowIdentifier.js +47 -0
  95. package/serialization/resources/analytics/types/EventRow.d.ts +2 -0
  96. package/serialization/resources/analytics/types/EventRow.js +2 -0
  97. package/serialization/resources/analytics/types/EventRowIdentifier.d.ts +11 -0
  98. package/serialization/resources/analytics/types/EventRowIdentifier.js +45 -0
  99. package/serialization/resources/analytics/types/FeedbackRow.d.ts +2 -0
  100. package/serialization/resources/analytics/types/FeedbackRow.js +2 -0
  101. package/serialization/resources/analytics/types/FeedbackRowIdentifier.d.ts +11 -0
  102. package/serialization/resources/analytics/types/FeedbackRowIdentifier.js +45 -0
  103. package/serialization/resources/analytics/types/RowIdentifierBase.d.ts +10 -0
  104. package/serialization/resources/analytics/types/RowIdentifierBase.js +42 -0
  105. package/serialization/resources/analytics/types/index.d.ts +5 -0
  106. package/serialization/resources/analytics/types/index.js +5 -0
  107. package/serialization/resources/appDirectory/client/index.d.ts +1 -0
  108. package/serialization/resources/appDirectory/client/index.js +17 -0
  109. package/serialization/resources/appDirectory/client/requests/GetAppSettingUploadUrlRequest.d.ts +10 -0
  110. package/serialization/resources/appDirectory/client/requests/GetAppSettingUploadUrlRequest.js +42 -0
  111. package/serialization/resources/appDirectory/client/requests/index.d.ts +1 -0
  112. package/serialization/resources/appDirectory/client/requests/index.js +5 -0
  113. package/serialization/resources/appDirectory/index.d.ts +2 -0
  114. package/serialization/resources/appDirectory/index.js +18 -0
  115. package/serialization/resources/appDirectory/types/DirectoryAppSortField.d.ts +7 -0
  116. package/serialization/resources/appDirectory/types/DirectoryAppSortField.js +39 -0
  117. package/serialization/resources/appDirectory/types/DirectoryAppsSearchRequest.d.ts +13 -0
  118. package/serialization/resources/appDirectory/types/DirectoryAppsSearchRequest.js +47 -0
  119. package/serialization/resources/appDirectory/types/GetDirectoryAppSettingDownloadUrlResponse.d.ts +9 -0
  120. package/serialization/resources/appDirectory/types/GetDirectoryAppSettingDownloadUrlResponse.js +41 -0
  121. package/serialization/resources/appDirectory/types/GetDirectoryAppSettingUploadUrlResponse.d.ts +10 -0
  122. package/serialization/resources/appDirectory/types/GetDirectoryAppSettingUploadUrlResponse.js +42 -0
  123. package/serialization/resources/appDirectory/types/InstallDirectoryAppRequest.d.ts +9 -0
  124. package/serialization/resources/appDirectory/types/InstallDirectoryAppRequest.js +41 -0
  125. package/serialization/resources/appDirectory/types/index.d.ts +5 -0
  126. package/serialization/resources/appDirectory/types/index.js +21 -0
  127. package/serialization/resources/commons/types/ActionProperties.d.ts +2 -0
  128. package/serialization/resources/commons/types/ActionProperties.js +2 -0
  129. package/serialization/resources/commons/types/BotLogicActionExecutedDetail.d.ts +3 -0
  130. package/serialization/resources/commons/types/BotLogicActionExecutedDetail.js +3 -0
  131. package/serialization/resources/commons/types/BotLogicUserItem.d.ts +1 -0
  132. package/serialization/resources/commons/types/BotLogicUserItem.js +1 -0
  133. package/serialization/resources/commons/types/SideEffects.d.ts +7 -0
  134. package/serialization/resources/commons/types/SideEffects.js +39 -0
  135. package/serialization/resources/commons/types/index.d.ts +1 -0
  136. package/serialization/resources/commons/types/index.js +1 -0
  137. package/serialization/resources/conversation/types/ConversationFilter.d.ts +2 -0
  138. package/serialization/resources/conversation/types/ConversationFilter.js +2 -0
  139. package/serialization/resources/developersCommons/types/AppInstalled.d.ts +7 -0
  140. package/serialization/resources/developersCommons/types/AppInstalled.js +39 -0
  141. package/serialization/resources/developersCommons/types/AppsFilter.d.ts +18 -0
  142. package/serialization/resources/developersCommons/types/AppsFilter.js +50 -0
  143. package/serialization/resources/developersCommons/types/AppsResponse.d.ts +14 -0
  144. package/serialization/resources/developersCommons/types/AppsResponse.js +48 -0
  145. package/serialization/resources/developersCommons/types/BaseApp.d.ts +23 -0
  146. package/serialization/resources/developersCommons/types/BaseApp.js +55 -0
  147. package/serialization/resources/developersCommons/types/BaseDetailApp.d.ts +15 -0
  148. package/serialization/resources/developersCommons/types/BaseDetailApp.js +50 -0
  149. package/serialization/resources/developersCommons/types/CountByFilterResult.d.ts +12 -0
  150. package/serialization/resources/developersCommons/types/CountByFilterResult.js +44 -0
  151. package/serialization/resources/developersCommons/types/DeveloperOrganization.d.ts +13 -0
  152. package/serialization/resources/developersCommons/types/DeveloperOrganization.js +45 -0
  153. package/serialization/resources/developersCommons/types/MarketplaceApp.d.ts +11 -0
  154. package/serialization/resources/developersCommons/types/MarketplaceApp.js +45 -0
  155. package/serialization/resources/developersCommons/types/MarketplaceAppDetail.d.ts +12 -0
  156. package/serialization/resources/developersCommons/types/MarketplaceAppDetail.js +46 -0
  157. package/serialization/resources/developersCommons/types/index.d.ts +9 -0
  158. package/serialization/resources/developersCommons/types/index.js +9 -0
  159. package/serialization/resources/index.d.ts +3 -0
  160. package/serialization/resources/index.js +4 -1
  161. package/version.d.ts +1 -1
  162. package/version.js +1 -1
@@ -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 InstallDirectoryAppRequest: core.serialization.ObjectSchema<serializers.InstallDirectoryAppRequest.Raw, MavenAGI.InstallDirectoryAppRequest>;
5
+ export declare namespace InstallDirectoryAppRequest {
6
+ interface Raw {
7
+ settings?: unknown;
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.InstallDirectoryAppRequest = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ exports.InstallDirectoryAppRequest = core.serialization.object({
40
+ settings: core.serialization.unknown(),
41
+ });
@@ -0,0 +1,5 @@
1
+ export * from "./DirectoryAppSortField";
2
+ export * from "./DirectoryAppsSearchRequest";
3
+ export * from "./GetDirectoryAppSettingDownloadUrlResponse";
4
+ export * from "./GetDirectoryAppSettingUploadUrlResponse";
5
+ export * from "./InstallDirectoryAppRequest";
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./DirectoryAppSortField"), exports);
18
+ __exportStar(require("./DirectoryAppsSearchRequest"), exports);
19
+ __exportStar(require("./GetDirectoryAppSettingDownloadUrlResponse"), exports);
20
+ __exportStar(require("./GetDirectoryAppSettingUploadUrlResponse"), exports);
21
+ __exportStar(require("./InstallDirectoryAppRequest"), exports);
@@ -2,6 +2,7 @@ import type * as MavenAGI from "../../../../api/index";
2
2
  import * as core from "../../../../core";
3
3
  import * as serializers from "../../../index";
4
4
  import { ActionParameter } from "./ActionParameter";
5
+ import { SideEffects } from "./SideEffects";
5
6
  export declare const ActionProperties: core.serialization.ObjectSchema<serializers.ActionProperties.Raw, MavenAGI.ActionProperties>;
6
7
  export declare namespace ActionProperties {
7
8
  interface Raw {
@@ -10,5 +11,6 @@ export declare namespace ActionProperties {
10
11
  precondition?: serializers.Precondition.Raw | null;
11
12
  userFormParameters: ActionParameter.Raw[];
12
13
  language?: string | null;
14
+ sideEffects?: SideEffects.Raw | null;
13
15
  }
14
16
  }
@@ -38,10 +38,12 @@ exports.ActionProperties = void 0;
38
38
  const core = __importStar(require("../../../../core"));
39
39
  const serializers = __importStar(require("../../../index"));
40
40
  const ActionParameter_1 = require("./ActionParameter");
41
+ const SideEffects_1 = require("./SideEffects");
41
42
  exports.ActionProperties = core.serialization.object({
42
43
  userInteractionRequired: core.serialization.boolean(),
43
44
  buttonName: core.serialization.string().optional(),
44
45
  precondition: core.serialization.lazy(() => serializers.Precondition).optional(),
45
46
  userFormParameters: core.serialization.list(ActionParameter_1.ActionParameter),
46
47
  language: core.serialization.string().optional(),
48
+ sideEffects: SideEffects_1.SideEffects.optional(),
47
49
  });
@@ -9,5 +9,8 @@ export declare namespace BotLogicActionExecutedDetail {
9
9
  actionParameters: Record<string, ActionExecutionParamValue.Raw>;
10
10
  executionResult?: string | null;
11
11
  executionError?: string | null;
12
+ data?: Record<string, unknown> | null;
13
+ startedAt?: string | null;
14
+ durationMs?: number | null;
12
15
  }
13
16
  }
@@ -43,5 +43,8 @@ exports.BotLogicActionExecutedDetail = core.serialization
43
43
  actionParameters: core.serialization.record(core.serialization.string(), ActionExecutionParamValue_1.ActionExecutionParamValue),
44
44
  executionResult: core.serialization.string().optional(),
45
45
  executionError: core.serialization.string().optional(),
46
+ data: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
47
+ startedAt: core.serialization.date().optional(),
48
+ durationMs: core.serialization.number().optional(),
46
49
  })
47
50
  .extend(BotLogicActionReviewedDetail_1.BotLogicActionReviewedDetail);
@@ -5,5 +5,6 @@ export declare const BotLogicUserItem: core.serialization.ObjectSchema<serialize
5
5
  export declare namespace BotLogicUserItem {
6
6
  interface Raw {
7
7
  userData: Record<string, string>;
8
+ displayName?: string | null;
8
9
  }
9
10
  }
@@ -38,4 +38,5 @@ exports.BotLogicUserItem = void 0;
38
38
  const core = __importStar(require("../../../../core"));
39
39
  exports.BotLogicUserItem = core.serialization.object({
40
40
  userData: core.serialization.record(core.serialization.string(), core.serialization.string()),
41
+ displayName: core.serialization.string().optional(),
41
42
  });
@@ -0,0 +1,7 @@
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 SideEffects: core.serialization.Schema<serializers.SideEffects.Raw, MavenAGI.SideEffects>;
5
+ export declare namespace SideEffects {
6
+ type Raw = "NONE" | "PRESENT";
7
+ }
@@ -0,0 +1,39 @@
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.SideEffects = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ exports.SideEffects = core.serialization.forwardCompatibleEnum_(["NONE", "PRESENT"]);
@@ -187,6 +187,7 @@ export * from "./SettingsSchemaDiscriminatedUnionOptions";
187
187
  export * from "./SettingsSchemaEntry";
188
188
  export * from "./SettingsSchemaEntryBase";
189
189
  export * from "./SettingsSchemaValidation";
190
+ export * from "./SideEffects";
190
191
  export * from "./SimulationContext";
191
192
  export * from "./Source";
192
193
  export * from "./SourceInfo";
@@ -203,6 +203,7 @@ __exportStar(require("./SettingsSchemaDiscriminatedUnionOptions"), exports);
203
203
  __exportStar(require("./SettingsSchemaEntry"), exports);
204
204
  __exportStar(require("./SettingsSchemaEntryBase"), exports);
205
205
  __exportStar(require("./SettingsSchemaValidation"), exports);
206
+ __exportStar(require("./SideEffects"), exports);
206
207
  __exportStar(require("./SimulationContext"), exports);
207
208
  __exportStar(require("./Source"), exports);
208
209
  __exportStar(require("./SourceInfo"), exports);
@@ -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 { ConversationMode } from "../../commons/types/ConversationMode";
4
5
  import { EntityIdFilter } from "../../commons/types/EntityIdFilter";
5
6
  import { FeedbackType } from "../../commons/types/FeedbackType";
6
7
  import { NumberRange } from "../../commons/types/NumberRange";
@@ -31,6 +32,7 @@ export declare namespace ConversationFilter {
31
32
  qualityReason?: QualityReason.Raw[] | null;
32
33
  responseLength?: ResponseLength.Raw[] | null;
33
34
  sentiment?: Sentiment.Raw[] | null;
35
+ conversationMode?: ConversationMode.Raw[] | null;
34
36
  tags?: string[] | null;
35
37
  agentUserIds?: string[] | null;
36
38
  resolutionStatus?: ResolutionStatus.Raw[] | null;
@@ -36,6 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.ConversationFilter = void 0;
38
38
  const core = __importStar(require("../../../../core"));
39
+ const ConversationMode_1 = require("../../commons/types/ConversationMode");
39
40
  const EntityIdFilter_1 = require("../../commons/types/EntityIdFilter");
40
41
  const FeedbackType_1 = require("../../commons/types/FeedbackType");
41
42
  const NumberRange_1 = require("../../commons/types/NumberRange");
@@ -64,6 +65,7 @@ exports.ConversationFilter = core.serialization.object({
64
65
  qualityReason: core.serialization.list(QualityReason_1.QualityReason).optional(),
65
66
  responseLength: core.serialization.list(ResponseLength_1.ResponseLength).optional(),
66
67
  sentiment: core.serialization.list(Sentiment_1.Sentiment).optional(),
68
+ conversationMode: core.serialization.list(ConversationMode_1.ConversationMode).optional(),
67
69
  tags: core.serialization.list(core.serialization.string()).optional(),
68
70
  agentUserIds: core.serialization.list(core.serialization.string()).optional(),
69
71
  resolutionStatus: core.serialization.list(ResolutionStatus_1.ResolutionStatus).optional(),
@@ -0,0 +1,7 @@
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 AppInstalled: core.serialization.Schema<serializers.AppInstalled.Raw, MavenAGI.AppInstalled>;
5
+ export declare namespace AppInstalled {
6
+ type Raw = "INSTALLED" | "NOT_INSTALLED";
7
+ }
@@ -0,0 +1,39 @@
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.AppInstalled = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ exports.AppInstalled = core.serialization.forwardCompatibleEnum_(["INSTALLED", "NOT_INSTALLED"]);
@@ -0,0 +1,18 @@
1
+ import type * as MavenAGI from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ import { AppCapability } from "./AppCapability";
5
+ import { AppCategory } from "./AppCategory";
6
+ import { AppInstalled } from "./AppInstalled";
7
+ import { AppVisibility } from "./AppVisibility";
8
+ export declare const AppsFilter: core.serialization.ObjectSchema<serializers.AppsFilter.Raw, MavenAGI.AppsFilter>;
9
+ export declare namespace AppsFilter {
10
+ interface Raw {
11
+ search?: string | null;
12
+ visibility?: AppVisibility.Raw[] | null;
13
+ installed?: AppInstalled.Raw | null;
14
+ category?: AppCategory.Raw[] | null;
15
+ capability?: AppCapability.Raw[] | null;
16
+ filterCountEnabled?: boolean | null;
17
+ }
18
+ }
@@ -0,0 +1,50 @@
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.AppsFilter = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ const AppCapability_1 = require("./AppCapability");
40
+ const AppCategory_1 = require("./AppCategory");
41
+ const AppInstalled_1 = require("./AppInstalled");
42
+ const AppVisibility_1 = require("./AppVisibility");
43
+ exports.AppsFilter = core.serialization.object({
44
+ search: core.serialization.string().optional(),
45
+ visibility: core.serialization.list(AppVisibility_1.AppVisibility).optional(),
46
+ installed: AppInstalled_1.AppInstalled.optional(),
47
+ category: core.serialization.list(AppCategory_1.AppCategory).optional(),
48
+ capability: core.serialization.list(AppCapability_1.AppCapability).optional(),
49
+ filterCountEnabled: core.serialization.boolean().optional(),
50
+ });
@@ -0,0 +1,14 @@
1
+ import type * as MavenAGI from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ import { Page } from "../../commons/types/Page";
5
+ import { CountByFilterResult } from "./CountByFilterResult";
6
+ import { MarketplaceApp } from "./MarketplaceApp";
7
+ export declare const AppsResponse: core.serialization.ObjectSchema<serializers.AppsResponse.Raw, MavenAGI.AppsResponse>;
8
+ export declare namespace AppsResponse {
9
+ interface Raw extends Page.Raw {
10
+ apps: MarketplaceApp.Raw[];
11
+ allAppsCountByFilter?: CountByFilterResult.Raw | null;
12
+ installedAppsCountByFilter?: CountByFilterResult.Raw | null;
13
+ }
14
+ }
@@ -0,0 +1,48 @@
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.AppsResponse = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ const Page_1 = require("../../commons/types/Page");
40
+ const CountByFilterResult_1 = require("./CountByFilterResult");
41
+ const MarketplaceApp_1 = require("./MarketplaceApp");
42
+ exports.AppsResponse = core.serialization
43
+ .object({
44
+ apps: core.serialization.list(MarketplaceApp_1.MarketplaceApp),
45
+ allAppsCountByFilter: CountByFilterResult_1.CountByFilterResult.optional(),
46
+ installedAppsCountByFilter: CountByFilterResult_1.CountByFilterResult.optional(),
47
+ })
48
+ .extend(Page_1.Page);
@@ -0,0 +1,23 @@
1
+ import type * as MavenAGI from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ import { AppCapability } from "./AppCapability";
5
+ import { AppCategory } from "./AppCategory";
6
+ import { AppVisibility } from "./AppVisibility";
7
+ import { DeveloperOrganization } from "./DeveloperOrganization";
8
+ export declare const BaseApp: core.serialization.ObjectSchema<serializers.BaseApp.Raw, MavenAGI.BaseApp>;
9
+ export declare namespace BaseApp {
10
+ interface Raw {
11
+ id: string;
12
+ name: string;
13
+ developerOrganizationId: string;
14
+ creator?: DeveloperOrganization.Raw | null;
15
+ visibility: AppVisibility.Raw;
16
+ description?: string | null;
17
+ shortDescription?: string | null;
18
+ logoUrl?: string | null;
19
+ categories: AppCategory.Raw[];
20
+ capabilities: AppCapability.Raw[];
21
+ isAgentApp?: boolean | null;
22
+ }
23
+ }
@@ -0,0 +1,55 @@
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.BaseApp = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ const AppCapability_1 = require("./AppCapability");
40
+ const AppCategory_1 = require("./AppCategory");
41
+ const AppVisibility_1 = require("./AppVisibility");
42
+ const DeveloperOrganization_1 = require("./DeveloperOrganization");
43
+ exports.BaseApp = core.serialization.object({
44
+ id: core.serialization.string(),
45
+ name: core.serialization.string(),
46
+ developerOrganizationId: core.serialization.string(),
47
+ creator: DeveloperOrganization_1.DeveloperOrganization.optional(),
48
+ visibility: AppVisibility_1.AppVisibility,
49
+ description: core.serialization.string().optional(),
50
+ shortDescription: core.serialization.string().optional(),
51
+ logoUrl: core.serialization.string().optional(),
52
+ categories: core.serialization.list(AppCategory_1.AppCategory),
53
+ capabilities: core.serialization.list(AppCapability_1.AppCapability),
54
+ isAgentApp: core.serialization.boolean().optional(),
55
+ });
@@ -0,0 +1,15 @@
1
+ import type * as MavenAGI from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import * as serializers from "../../../index";
4
+ import { BaseApp } from "./BaseApp";
5
+ import { Link } from "./Link";
6
+ export declare const BaseDetailApp: core.serialization.ObjectSchema<serializers.BaseDetailApp.Raw, MavenAGI.BaseDetailApp>;
7
+ export declare namespace BaseDetailApp {
8
+ interface Raw extends BaseApp.Raw {
9
+ installationInstructions?: string | null;
10
+ instructions?: string | null;
11
+ previewUrl?: string | null;
12
+ links: Link.Raw[];
13
+ settingsSchema: serializers.SettingsSchema.Raw;
14
+ }
15
+ }
@@ -0,0 +1,50 @@
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.BaseDetailApp = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ const serializers = __importStar(require("../../../index"));
40
+ const BaseApp_1 = require("./BaseApp");
41
+ const Link_1 = require("./Link");
42
+ exports.BaseDetailApp = core.serialization
43
+ .object({
44
+ installationInstructions: core.serialization.string().optional(),
45
+ instructions: core.serialization.string().optional(),
46
+ previewUrl: core.serialization.string().optional(),
47
+ links: core.serialization.list(Link_1.Link),
48
+ settingsSchema: core.serialization.lazy(() => serializers.SettingsSchema),
49
+ })
50
+ .extend(BaseApp_1.BaseApp);
@@ -0,0 +1,12 @@
1
+ import type * as MavenAGI from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ import { AppCategory } from "./AppCategory";
5
+ import { AppVisibility } from "./AppVisibility";
6
+ export declare const CountByFilterResult: core.serialization.ObjectSchema<serializers.CountByFilterResult.Raw, MavenAGI.CountByFilterResult>;
7
+ export declare namespace CountByFilterResult {
8
+ interface Raw {
9
+ countByVisibility: Record<AppVisibility.Raw, number | null | undefined>;
10
+ countByCategory: Record<AppCategory.Raw, number | null | undefined>;
11
+ }
12
+ }
@@ -0,0 +1,44 @@
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.CountByFilterResult = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ const AppCategory_1 = require("./AppCategory");
40
+ const AppVisibility_1 = require("./AppVisibility");
41
+ exports.CountByFilterResult = core.serialization.object({
42
+ countByVisibility: core.serialization.partialRecord(AppVisibility_1.AppVisibility, core.serialization.number().optional()),
43
+ countByCategory: core.serialization.partialRecord(AppCategory_1.AppCategory, core.serialization.number().optional()),
44
+ });