mavenagi 1.2.58 → 1.2.60

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 (203) 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 +7 -3
  5. package/api/resources/agents/client/requests/AgentPatchRequest.d.ts +7 -3
  6. package/api/resources/agents/types/AgentPrompting.d.ts +7 -3
  7. package/api/resources/analytics/client/Client.d.ts +7 -1
  8. package/api/resources/analytics/client/Client.js +7 -1
  9. package/api/resources/analytics/types/AgentUserRow.d.ts +5 -2
  10. package/api/resources/analytics/types/AgentUserRowIdentifier.d.ts +5 -0
  11. package/api/resources/analytics/types/AgentUserRowIdentifier.js +3 -0
  12. package/api/resources/analytics/types/AgentUserTableResponse.d.ts +7 -0
  13. package/api/resources/analytics/types/ConversationRow.d.ts +5 -2
  14. package/api/resources/analytics/types/ConversationRowIdentifier.d.ts +7 -0
  15. package/api/resources/analytics/types/ConversationRowIdentifier.js +3 -0
  16. package/api/resources/analytics/types/ConversationTableRequest.d.ts +0 -6
  17. package/api/resources/analytics/types/ConversationTableResponse.d.ts +56 -0
  18. package/api/resources/analytics/types/EventRow.d.ts +5 -2
  19. package/api/resources/analytics/types/EventRowIdentifier.d.ts +5 -0
  20. package/api/resources/analytics/types/EventRowIdentifier.js +3 -0
  21. package/api/resources/analytics/types/EventTableResponse.d.ts +14 -0
  22. package/api/resources/analytics/types/FeedbackRow.d.ts +5 -2
  23. package/api/resources/analytics/types/FeedbackRowIdentifier.d.ts +5 -0
  24. package/api/resources/analytics/types/FeedbackRowIdentifier.js +3 -0
  25. package/api/resources/analytics/types/FeedbackTableResponse.d.ts +14 -0
  26. package/api/resources/analytics/types/RowIdentifierBase.d.ts +5 -0
  27. package/api/resources/analytics/types/RowIdentifierBase.js +3 -0
  28. package/api/resources/analytics/types/index.d.ts +5 -0
  29. package/api/resources/analytics/types/index.js +5 -0
  30. package/api/resources/appDirectory/client/Client.d.ts +126 -0
  31. package/api/resources/appDirectory/client/Client.js +640 -0
  32. package/api/resources/appDirectory/client/index.d.ts +1 -0
  33. package/api/resources/appDirectory/client/index.js +17 -0
  34. package/api/resources/appDirectory/client/requests/GetAppSettingUploadUrlRequest.d.ts +11 -0
  35. package/api/resources/appDirectory/client/requests/GetAppSettingUploadUrlRequest.js +3 -0
  36. package/api/resources/appDirectory/client/requests/index.d.ts +1 -0
  37. package/api/resources/appDirectory/client/requests/index.js +2 -0
  38. package/api/resources/appDirectory/exports.d.ts +2 -0
  39. package/api/resources/appDirectory/exports.js +21 -0
  40. package/api/resources/appDirectory/index.d.ts +2 -0
  41. package/api/resources/appDirectory/index.js +18 -0
  42. package/api/resources/appDirectory/types/DirectoryAppSortField.d.ts +19 -0
  43. package/api/resources/appDirectory/types/DirectoryAppSortField.js +22 -0
  44. package/api/resources/appDirectory/types/DirectoryAppsSearchRequest.d.ts +7 -0
  45. package/api/resources/appDirectory/types/DirectoryAppsSearchRequest.js +3 -0
  46. package/api/resources/appDirectory/types/GetDirectoryAppSettingDownloadUrlResponse.d.ts +3 -0
  47. package/api/resources/appDirectory/types/GetDirectoryAppSettingDownloadUrlResponse.js +3 -0
  48. package/api/resources/appDirectory/types/GetDirectoryAppSettingUploadUrlResponse.d.ts +4 -0
  49. package/api/resources/appDirectory/types/GetDirectoryAppSettingUploadUrlResponse.js +3 -0
  50. package/api/resources/appDirectory/types/InstallDirectoryAppRequest.d.ts +44 -0
  51. package/api/resources/appDirectory/types/InstallDirectoryAppRequest.js +3 -0
  52. package/api/resources/appDirectory/types/index.d.ts +5 -0
  53. package/api/resources/appDirectory/types/index.js +21 -0
  54. package/api/resources/charters/types/CharterSummary.d.ts +7 -2
  55. package/api/resources/commons/types/ActionProperties.d.ts +12 -1
  56. package/api/resources/commons/types/ActionResponse.d.ts +3 -3
  57. package/api/resources/commons/types/BotLogicActionExecutedDetail.d.ts +10 -0
  58. package/api/resources/commons/types/BotLogicUserItem.d.ts +2 -0
  59. package/api/resources/commons/types/EventFilter.d.ts +5 -0
  60. package/api/resources/commons/types/EventTriggerType.d.ts +2 -0
  61. package/api/resources/commons/types/EventTriggerType.js +2 -0
  62. package/api/resources/commons/types/KnowledgeContextByEntities.d.ts +11 -0
  63. package/api/resources/commons/types/KnowledgeContextByEntityTypes.d.ts +3 -0
  64. package/api/resources/commons/types/KnowledgeContextFilter.d.ts +6 -1
  65. package/api/resources/commons/types/LlmPersona.d.ts +1 -0
  66. package/api/resources/commons/types/LlmPersona.js +1 -0
  67. package/api/resources/commons/types/NovelUserEvent.d.ts +4 -1
  68. package/api/resources/commons/types/ResponseConfig.d.ts +9 -3
  69. package/api/resources/commons/types/SideEffects.d.ts +10 -0
  70. package/api/resources/commons/types/SideEffects.js +13 -0
  71. package/api/resources/commons/types/SimulationContext.d.ts +3 -3
  72. package/api/resources/commons/types/SystemEventName.d.ts +24 -0
  73. package/api/resources/commons/types/SystemEventName.js +24 -0
  74. package/api/resources/commons/types/UserEvent.d.ts +4 -1
  75. package/api/resources/commons/types/UserEventName.d.ts +84 -0
  76. package/api/resources/commons/types/UserEventName.js +84 -0
  77. package/api/resources/commons/types/UserMessage.d.ts +7 -0
  78. package/api/resources/commons/types/index.d.ts +1 -0
  79. package/api/resources/commons/types/index.js +1 -0
  80. package/api/resources/conversation/client/Client.d.ts +3 -1
  81. package/api/resources/conversation/client/Client.js +3 -1
  82. package/api/resources/conversation/types/ConversationFilter.d.ts +9 -3
  83. package/api/resources/developersCommons/exports.d.ts +1 -0
  84. package/api/resources/developersCommons/exports.js +18 -0
  85. package/api/resources/developersCommons/types/AppInstalled.d.ts +5 -0
  86. package/api/resources/developersCommons/types/AppInstalled.js +8 -0
  87. package/api/resources/developersCommons/types/AppsFilter.d.ts +27 -0
  88. package/api/resources/developersCommons/types/AppsFilter.js +3 -0
  89. package/api/resources/developersCommons/types/AppsResponse.d.ts +15 -0
  90. package/api/resources/developersCommons/types/AppsResponse.js +3 -0
  91. package/api/resources/developersCommons/types/BaseApp.d.ts +32 -0
  92. package/api/resources/developersCommons/types/BaseApp.js +3 -0
  93. package/api/resources/developersCommons/types/BaseDetailApp.d.ts +19 -0
  94. package/api/resources/developersCommons/types/BaseDetailApp.js +3 -0
  95. package/api/resources/developersCommons/types/CountByFilterResult.d.ts +11 -0
  96. package/api/resources/developersCommons/types/CountByFilterResult.js +3 -0
  97. package/api/resources/developersCommons/types/DeveloperOrganization.d.ts +15 -0
  98. package/api/resources/developersCommons/types/DeveloperOrganization.js +3 -0
  99. package/api/resources/developersCommons/types/Link.d.ts +6 -0
  100. package/api/resources/developersCommons/types/MarketplaceApp.d.ts +8 -0
  101. package/api/resources/developersCommons/types/MarketplaceApp.js +3 -0
  102. package/api/resources/developersCommons/types/MarketplaceAppDetail.d.ts +35 -0
  103. package/api/resources/developersCommons/types/MarketplaceAppDetail.js +3 -0
  104. package/api/resources/developersCommons/types/index.d.ts +9 -0
  105. package/api/resources/developersCommons/types/index.js +9 -0
  106. package/api/resources/index.d.ts +3 -0
  107. package/api/resources/index.js +4 -1
  108. package/api/resources/knowledge/client/requests/KnowledgeBasePatchRequest.d.ts +18 -10
  109. package/api/resources/knowledge/types/KnowledgeBaseFilter.d.ts +6 -1
  110. package/api/resources/knowledge/types/KnowledgeBaseProperties.d.ts +5 -1
  111. package/api/resources/knowledge/types/KnowledgeBaseResponse.d.ts +10 -6
  112. package/api/resources/knowledge/types/KnowledgeDocumentRequest.d.ts +14 -1
  113. package/api/resources/segments/client/Client.d.ts +10 -0
  114. package/api/resources/segments/client/Client.js +10 -0
  115. package/api/resources/triggers/types/EventTriggerBase.d.ts +3 -1
  116. package/package.json +1 -1
  117. package/reference.md +426 -2
  118. package/serialization/resources/actions/client/requests/ActionPatchRequest.d.ts +2 -0
  119. package/serialization/resources/actions/client/requests/ActionPatchRequest.js +2 -0
  120. package/serialization/resources/analytics/types/AgentUserRow.d.ts +2 -0
  121. package/serialization/resources/analytics/types/AgentUserRow.js +2 -0
  122. package/serialization/resources/analytics/types/AgentUserRowIdentifier.d.ts +11 -0
  123. package/serialization/resources/analytics/types/AgentUserRowIdentifier.js +45 -0
  124. package/serialization/resources/analytics/types/ConversationRow.d.ts +2 -0
  125. package/serialization/resources/analytics/types/ConversationRow.js +2 -0
  126. package/serialization/resources/analytics/types/ConversationRowIdentifier.d.ts +13 -0
  127. package/serialization/resources/analytics/types/ConversationRowIdentifier.js +47 -0
  128. package/serialization/resources/analytics/types/EventRow.d.ts +2 -0
  129. package/serialization/resources/analytics/types/EventRow.js +2 -0
  130. package/serialization/resources/analytics/types/EventRowIdentifier.d.ts +11 -0
  131. package/serialization/resources/analytics/types/EventRowIdentifier.js +45 -0
  132. package/serialization/resources/analytics/types/FeedbackRow.d.ts +2 -0
  133. package/serialization/resources/analytics/types/FeedbackRow.js +2 -0
  134. package/serialization/resources/analytics/types/FeedbackRowIdentifier.d.ts +11 -0
  135. package/serialization/resources/analytics/types/FeedbackRowIdentifier.js +45 -0
  136. package/serialization/resources/analytics/types/RowIdentifierBase.d.ts +10 -0
  137. package/serialization/resources/analytics/types/RowIdentifierBase.js +42 -0
  138. package/serialization/resources/analytics/types/index.d.ts +5 -0
  139. package/serialization/resources/analytics/types/index.js +5 -0
  140. package/serialization/resources/appDirectory/client/index.d.ts +1 -0
  141. package/serialization/resources/appDirectory/client/index.js +17 -0
  142. package/serialization/resources/appDirectory/client/requests/GetAppSettingUploadUrlRequest.d.ts +10 -0
  143. package/serialization/resources/appDirectory/client/requests/GetAppSettingUploadUrlRequest.js +42 -0
  144. package/serialization/resources/appDirectory/client/requests/index.d.ts +1 -0
  145. package/serialization/resources/appDirectory/client/requests/index.js +5 -0
  146. package/serialization/resources/appDirectory/index.d.ts +2 -0
  147. package/serialization/resources/appDirectory/index.js +18 -0
  148. package/serialization/resources/appDirectory/types/DirectoryAppSortField.d.ts +7 -0
  149. package/serialization/resources/appDirectory/types/DirectoryAppSortField.js +39 -0
  150. package/serialization/resources/appDirectory/types/DirectoryAppsSearchRequest.d.ts +13 -0
  151. package/serialization/resources/appDirectory/types/DirectoryAppsSearchRequest.js +47 -0
  152. package/serialization/resources/appDirectory/types/GetDirectoryAppSettingDownloadUrlResponse.d.ts +9 -0
  153. package/serialization/resources/appDirectory/types/GetDirectoryAppSettingDownloadUrlResponse.js +41 -0
  154. package/serialization/resources/appDirectory/types/GetDirectoryAppSettingUploadUrlResponse.d.ts +10 -0
  155. package/serialization/resources/appDirectory/types/GetDirectoryAppSettingUploadUrlResponse.js +42 -0
  156. package/serialization/resources/appDirectory/types/InstallDirectoryAppRequest.d.ts +9 -0
  157. package/serialization/resources/appDirectory/types/InstallDirectoryAppRequest.js +41 -0
  158. package/serialization/resources/appDirectory/types/index.d.ts +5 -0
  159. package/serialization/resources/appDirectory/types/index.js +21 -0
  160. package/serialization/resources/charters/types/CharterSummary.d.ts +2 -1
  161. package/serialization/resources/charters/types/CharterSummary.js +2 -0
  162. package/serialization/resources/commons/types/ActionProperties.d.ts +2 -0
  163. package/serialization/resources/commons/types/ActionProperties.js +2 -0
  164. package/serialization/resources/commons/types/BotLogicActionExecutedDetail.d.ts +3 -0
  165. package/serialization/resources/commons/types/BotLogicActionExecutedDetail.js +3 -0
  166. package/serialization/resources/commons/types/BotLogicUserItem.d.ts +1 -0
  167. package/serialization/resources/commons/types/BotLogicUserItem.js +1 -0
  168. package/serialization/resources/commons/types/SideEffects.d.ts +7 -0
  169. package/serialization/resources/commons/types/SideEffects.js +39 -0
  170. package/serialization/resources/commons/types/SystemEventName.d.ts +1 -1
  171. package/serialization/resources/commons/types/SystemEventName.js +13 -1
  172. package/serialization/resources/commons/types/UserEventName.d.ts +1 -1
  173. package/serialization/resources/commons/types/UserEventName.js +28 -0
  174. package/serialization/resources/commons/types/UserMessage.d.ts +1 -0
  175. package/serialization/resources/commons/types/UserMessage.js +1 -0
  176. package/serialization/resources/commons/types/index.d.ts +1 -0
  177. package/serialization/resources/commons/types/index.js +1 -0
  178. package/serialization/resources/conversation/types/ConversationFilter.d.ts +2 -0
  179. package/serialization/resources/conversation/types/ConversationFilter.js +2 -0
  180. package/serialization/resources/developersCommons/types/AppInstalled.d.ts +7 -0
  181. package/serialization/resources/developersCommons/types/AppInstalled.js +39 -0
  182. package/serialization/resources/developersCommons/types/AppsFilter.d.ts +18 -0
  183. package/serialization/resources/developersCommons/types/AppsFilter.js +50 -0
  184. package/serialization/resources/developersCommons/types/AppsResponse.d.ts +14 -0
  185. package/serialization/resources/developersCommons/types/AppsResponse.js +48 -0
  186. package/serialization/resources/developersCommons/types/BaseApp.d.ts +23 -0
  187. package/serialization/resources/developersCommons/types/BaseApp.js +55 -0
  188. package/serialization/resources/developersCommons/types/BaseDetailApp.d.ts +15 -0
  189. package/serialization/resources/developersCommons/types/BaseDetailApp.js +50 -0
  190. package/serialization/resources/developersCommons/types/CountByFilterResult.d.ts +12 -0
  191. package/serialization/resources/developersCommons/types/CountByFilterResult.js +44 -0
  192. package/serialization/resources/developersCommons/types/DeveloperOrganization.d.ts +13 -0
  193. package/serialization/resources/developersCommons/types/DeveloperOrganization.js +45 -0
  194. package/serialization/resources/developersCommons/types/MarketplaceApp.d.ts +11 -0
  195. package/serialization/resources/developersCommons/types/MarketplaceApp.js +45 -0
  196. package/serialization/resources/developersCommons/types/MarketplaceAppDetail.d.ts +12 -0
  197. package/serialization/resources/developersCommons/types/MarketplaceAppDetail.js +46 -0
  198. package/serialization/resources/developersCommons/types/index.d.ts +9 -0
  199. package/serialization/resources/developersCommons/types/index.js +9 -0
  200. package/serialization/resources/index.d.ts +3 -0
  201. package/serialization/resources/index.js +4 -1
  202. package/version.d.ts +1 -1
  203. package/version.js +1 -1
@@ -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
+ });
@@ -0,0 +1,13 @@
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 DeveloperOrganization: core.serialization.ObjectSchema<serializers.DeveloperOrganization.Raw, MavenAGI.DeveloperOrganization>;
5
+ export declare namespace DeveloperOrganization {
6
+ interface Raw {
7
+ organizationId: string;
8
+ name: string;
9
+ website?: string | null;
10
+ email?: string | null;
11
+ phone?: string | null;
12
+ }
13
+ }
@@ -0,0 +1,45 @@
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.DeveloperOrganization = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ exports.DeveloperOrganization = core.serialization.object({
40
+ organizationId: core.serialization.string(),
41
+ name: core.serialization.string(),
42
+ website: core.serialization.string().optional(),
43
+ email: core.serialization.string().optional(),
44
+ phone: core.serialization.string().optional(),
45
+ });
@@ -0,0 +1,11 @@
1
+ import type * as MavenAGI from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ import { AppInstalled } from "./AppInstalled";
5
+ import { BaseApp } from "./BaseApp";
6
+ export declare const MarketplaceApp: core.serialization.ObjectSchema<serializers.MarketplaceApp.Raw, MavenAGI.MarketplaceApp>;
7
+ export declare namespace MarketplaceApp {
8
+ interface Raw extends BaseApp.Raw {
9
+ installed: AppInstalled.Raw;
10
+ }
11
+ }
@@ -0,0 +1,45 @@
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.MarketplaceApp = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ const AppInstalled_1 = require("./AppInstalled");
40
+ const BaseApp_1 = require("./BaseApp");
41
+ exports.MarketplaceApp = core.serialization
42
+ .object({
43
+ installed: AppInstalled_1.AppInstalled,
44
+ })
45
+ .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 { AppInstalled } from "./AppInstalled";
5
+ import { BaseDetailApp } from "./BaseDetailApp";
6
+ export declare const MarketplaceAppDetail: core.serialization.ObjectSchema<serializers.MarketplaceAppDetail.Raw, MavenAGI.MarketplaceAppDetail>;
7
+ export declare namespace MarketplaceAppDetail {
8
+ interface Raw extends BaseDetailApp.Raw {
9
+ installed: AppInstalled.Raw;
10
+ settings?: unknown | null;
11
+ }
12
+ }
@@ -0,0 +1,46 @@
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.MarketplaceAppDetail = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ const AppInstalled_1 = require("./AppInstalled");
40
+ const BaseDetailApp_1 = require("./BaseDetailApp");
41
+ exports.MarketplaceAppDetail = core.serialization
42
+ .object({
43
+ installed: AppInstalled_1.AppInstalled,
44
+ settings: core.serialization.unknown().optional(),
45
+ })
46
+ .extend(BaseDetailApp_1.BaseDetailApp);
@@ -1,5 +1,14 @@
1
1
  export * from "./AppCapability";
2
2
  export * from "./AppCategory";
3
+ export * from "./AppInstalled";
4
+ export * from "./AppsFilter";
5
+ export * from "./AppsResponse";
3
6
  export * from "./AppVisibility";
7
+ export * from "./BaseApp";
8
+ export * from "./BaseDetailApp";
9
+ export * from "./CountByFilterResult";
10
+ export * from "./DeveloperOrganization";
4
11
  export * from "./GithubRepository";
5
12
  export * from "./Link";
13
+ export * from "./MarketplaceApp";
14
+ export * from "./MarketplaceAppDetail";
@@ -16,6 +16,15 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./AppCapability"), exports);
18
18
  __exportStar(require("./AppCategory"), exports);
19
+ __exportStar(require("./AppInstalled"), exports);
20
+ __exportStar(require("./AppsFilter"), exports);
21
+ __exportStar(require("./AppsResponse"), exports);
19
22
  __exportStar(require("./AppVisibility"), exports);
23
+ __exportStar(require("./BaseApp"), exports);
24
+ __exportStar(require("./BaseDetailApp"), exports);
25
+ __exportStar(require("./CountByFilterResult"), exports);
26
+ __exportStar(require("./DeveloperOrganization"), exports);
20
27
  __exportStar(require("./GithubRepository"), exports);
21
28
  __exportStar(require("./Link"), exports);
29
+ __exportStar(require("./MarketplaceApp"), exports);
30
+ __exportStar(require("./MarketplaceAppDetail"), exports);
@@ -6,6 +6,9 @@ export * from "./agents/client/requests";
6
6
  export * from "./agents/types";
7
7
  export * as analytics from "./analytics";
8
8
  export * from "./analytics/types";
9
+ export * as appDirectory from "./appDirectory";
10
+ export * from "./appDirectory/client/requests";
11
+ export * from "./appDirectory/types";
9
12
  export * as appSettings from "./appSettings";
10
13
  export * from "./appSettings/types";
11
14
  export * as assets from "./assets";
@@ -36,7 +36,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
36
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.voiceConversations = exports.voice = exports.users = exports.triggers = exports.translations = exports.segments = exports.organizations = exports.knowledge = exports.intelligentFields = exports.integrations = exports.inbox = exports.developersCommons = exports.customers = exports.conversation = exports.commons = exports.charters = exports.assets = exports.appSettings = exports.analytics = exports.agents = exports.actions = void 0;
39
+ exports.voiceConversations = exports.voice = exports.users = exports.triggers = exports.translations = exports.segments = exports.organizations = exports.knowledge = exports.intelligentFields = exports.integrations = exports.inbox = exports.developersCommons = exports.customers = exports.conversation = exports.commons = exports.charters = exports.assets = exports.appSettings = exports.appDirectory = exports.analytics = exports.agents = exports.actions = void 0;
40
40
  exports.actions = __importStar(require("./actions"));
41
41
  __exportStar(require("./actions/client/requests"), exports);
42
42
  __exportStar(require("./actions/types"), exports);
@@ -45,6 +45,9 @@ __exportStar(require("./agents/client/requests"), exports);
45
45
  __exportStar(require("./agents/types"), exports);
46
46
  exports.analytics = __importStar(require("./analytics"));
47
47
  __exportStar(require("./analytics/types"), exports);
48
+ exports.appDirectory = __importStar(require("./appDirectory"));
49
+ __exportStar(require("./appDirectory/client/requests"), exports);
50
+ __exportStar(require("./appDirectory/types"), exports);
48
51
  exports.appSettings = __importStar(require("./appSettings"));
49
52
  __exportStar(require("./appSettings/types"), exports);
50
53
  exports.assets = __importStar(require("./assets"));
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.2.58";
1
+ export declare const SDK_VERSION = "1.2.60";
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.58";
4
+ exports.SDK_VERSION = "1.2.60";