mavenagi 1.2.56 → 1.2.57

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 (219) hide show
  1. package/BaseClient.js +2 -2
  2. package/Client.d.ts +3 -0
  3. package/Client.js +21 -16
  4. package/api/resources/analytics/types/ConversationBasicMetric.d.ts +5 -0
  5. package/api/resources/analytics/types/ConversationGroupBy.d.ts +9 -1
  6. package/api/resources/analytics/types/ConversationNumericMetric.d.ts +5 -0
  7. package/api/resources/analytics/types/ConversationTableRequest.d.ts +6 -0
  8. package/api/resources/charters/index.d.ts +1 -0
  9. package/api/resources/charters/index.js +17 -0
  10. package/api/resources/charters/types/CharterChildrenExclusionPolicy.d.ts +17 -0
  11. package/api/resources/charters/types/CharterChildrenExclusionPolicy.js +20 -0
  12. package/api/resources/charters/types/CharterStatus.d.ts +16 -0
  13. package/api/resources/charters/types/CharterStatus.js +19 -0
  14. package/api/resources/charters/types/CharterSummary.d.ts +28 -0
  15. package/api/resources/charters/types/CharterType.d.ts +25 -0
  16. package/api/resources/charters/types/CharterType.js +28 -0
  17. package/api/resources/charters/types/index.d.ts +4 -0
  18. package/api/resources/charters/types/index.js +20 -0
  19. package/api/resources/commons/types/ActionParameter.d.ts +2 -2
  20. package/api/resources/commons/types/BotObjectResponse.d.ts +2 -4
  21. package/api/resources/commons/types/FieldCondition.d.ts +45 -0
  22. package/api/resources/commons/types/FieldCondition.js +3 -0
  23. package/api/resources/commons/types/IntelligentFieldPrecondition.d.ts +1 -1
  24. package/api/resources/commons/types/IntelligentFieldPreconditionResponse.d.ts +1 -1
  25. package/api/resources/commons/types/KeyValueEntryCondition.d.ts +1 -1
  26. package/api/resources/commons/types/TextFormat.d.ts +13 -0
  27. package/api/resources/commons/types/TextFormat.js +3 -0
  28. package/api/resources/commons/types/TextFormatJsonSchema.d.ts +35 -0
  29. package/api/resources/commons/types/TextFormatJsonSchema.js +3 -0
  30. package/api/resources/commons/types/TextFormatText.d.ts +4 -0
  31. package/api/resources/commons/types/TextFormatText.js +3 -0
  32. package/api/resources/commons/types/UniversalCondition.d.ts +3 -3
  33. package/api/resources/commons/types/index.d.ts +4 -1
  34. package/api/resources/commons/types/index.js +4 -1
  35. package/api/resources/conversation/types/AskRequest.d.ts +59 -0
  36. package/api/resources/conversation/types/AskStreamObjectEvent.d.ts +7 -0
  37. package/api/resources/conversation/types/AskStreamObjectEvent.js +3 -0
  38. package/api/resources/conversation/types/ConversationField.d.ts +8 -0
  39. package/api/resources/conversation/types/ConversationField.js +8 -0
  40. package/api/resources/conversation/types/ConversationsSearchRequest.d.ts +5 -0
  41. package/api/resources/conversation/types/NumericConversationField.d.ts +4 -0
  42. package/api/resources/conversation/types/NumericConversationField.js +4 -0
  43. package/api/resources/conversation/types/StreamResponse.d.ts +4 -1
  44. package/api/resources/conversation/types/index.d.ts +1 -0
  45. package/api/resources/conversation/types/index.js +1 -0
  46. package/api/resources/index.d.ts +5 -0
  47. package/api/resources/index.js +6 -1
  48. package/api/resources/intelligentFields/client/Client.d.ts +156 -0
  49. package/api/resources/intelligentFields/client/Client.js +627 -0
  50. package/api/resources/intelligentFields/client/index.d.ts +1 -0
  51. package/api/resources/intelligentFields/client/index.js +17 -0
  52. package/api/resources/intelligentFields/client/requests/IntelligentFieldDeleteRequest.d.ts +12 -0
  53. package/api/resources/intelligentFields/client/requests/IntelligentFieldDeleteRequest.js +3 -0
  54. package/api/resources/intelligentFields/client/requests/IntelligentFieldGetRequest.d.ts +8 -0
  55. package/api/resources/intelligentFields/client/requests/IntelligentFieldGetRequest.js +3 -0
  56. package/api/resources/intelligentFields/client/requests/IntelligentFieldPatchRequest.d.ts +26 -0
  57. package/api/resources/intelligentFields/client/requests/IntelligentFieldPatchRequest.js +3 -0
  58. package/api/resources/intelligentFields/client/requests/index.d.ts +3 -0
  59. package/api/resources/intelligentFields/client/requests/index.js +2 -0
  60. package/api/resources/intelligentFields/exports.d.ts +2 -0
  61. package/api/resources/intelligentFields/exports.js +21 -0
  62. package/api/resources/intelligentFields/index.d.ts +2 -0
  63. package/api/resources/intelligentFields/index.js +18 -0
  64. package/api/resources/intelligentFields/types/EnumOption.d.ts +9 -0
  65. package/api/resources/intelligentFields/types/EnumOption.js +3 -0
  66. package/api/resources/intelligentFields/types/IntelligentFieldBase.d.ts +7 -0
  67. package/api/resources/intelligentFields/types/IntelligentFieldBase.js +3 -0
  68. package/api/resources/intelligentFields/types/IntelligentFieldCore.d.ts +28 -0
  69. package/api/resources/intelligentFields/types/IntelligentFieldCore.js +3 -0
  70. package/api/resources/intelligentFields/types/IntelligentFieldDetailResponse.d.ts +36 -0
  71. package/api/resources/intelligentFields/types/IntelligentFieldDetailResponse.js +3 -0
  72. package/api/resources/intelligentFields/types/IntelligentFieldRequest.d.ts +28 -0
  73. package/api/resources/intelligentFields/types/IntelligentFieldRequest.js +3 -0
  74. package/api/resources/intelligentFields/types/IntelligentFieldResponse.d.ts +41 -0
  75. package/api/resources/intelligentFields/types/IntelligentFieldResponse.js +3 -0
  76. package/api/resources/intelligentFields/types/IntelligentFieldStatus.d.ts +7 -0
  77. package/api/resources/intelligentFields/types/IntelligentFieldStatus.js +10 -0
  78. package/api/resources/intelligentFields/types/IntelligentFieldType.d.ts +9 -0
  79. package/api/resources/intelligentFields/types/IntelligentFieldType.js +12 -0
  80. package/api/resources/intelligentFields/types/IntelligentFieldValueEntityFilter.d.ts +8 -0
  81. package/api/resources/intelligentFields/types/IntelligentFieldValueEntityFilter.js +3 -0
  82. package/api/resources/intelligentFields/types/IntelligentFieldValueFieldFilter.d.ts +10 -0
  83. package/api/resources/intelligentFields/types/IntelligentFieldValueFieldFilter.js +3 -0
  84. package/api/resources/intelligentFields/types/IntelligentFieldValueSearchRequest.d.ts +17 -0
  85. package/api/resources/intelligentFields/types/IntelligentFieldValueSearchRequest.js +3 -0
  86. package/api/resources/intelligentFields/types/IntelligentFieldValueSearchResponse.d.ts +35 -0
  87. package/api/resources/intelligentFields/types/IntelligentFieldValueSearchResponse.js +3 -0
  88. package/api/resources/intelligentFields/types/IntelligentFieldValueSortField.d.ts +5 -0
  89. package/api/resources/intelligentFields/types/IntelligentFieldValueSortField.js +8 -0
  90. package/api/resources/intelligentFields/types/index.d.ts +13 -0
  91. package/api/resources/intelligentFields/types/index.js +29 -0
  92. package/api/resources/knowledge/client/Client.d.ts +33 -0
  93. package/api/resources/knowledge/client/Client.js +117 -0
  94. package/api/resources/knowledge/types/KnowledgeBaseResponse.d.ts +5 -0
  95. package/api/resources/knowledge/types/KnowledgeBaseVersion.d.ts +25 -0
  96. package/api/resources/knowledge/types/KnowledgeBaseVersionProgress.d.ts +29 -0
  97. package/api/resources/knowledge/types/KnowledgeBaseVersionProgress.js +3 -0
  98. package/api/resources/knowledge/types/KnowledgeBaseVersionProgressRequest.d.ts +24 -0
  99. package/api/resources/knowledge/types/KnowledgeBaseVersionProgressRequest.js +3 -0
  100. package/api/resources/knowledge/types/index.d.ts +2 -0
  101. package/api/resources/knowledge/types/index.js +2 -0
  102. package/api/resources/segments/client/Client.js +3 -1
  103. package/api/resources/segments/client/requests/SegmentDeleteRequest.d.ts +12 -0
  104. package/api/resources/segments/types/SegmentPatchRequest.d.ts +8 -0
  105. package/api/resources/segments/types/SegmentRequest.d.ts +8 -0
  106. package/api/resources/segments/types/SegmentSummary.d.ts +14 -0
  107. package/api/resources/segments/types/SegmentSummary.js +3 -0
  108. package/api/resources/segments/types/index.d.ts +1 -0
  109. package/api/resources/segments/types/index.js +1 -0
  110. package/package.json +1 -1
  111. package/reference.md +476 -0
  112. package/serialization/resources/analytics/types/ConversationBasicMetric.d.ts +2 -0
  113. package/serialization/resources/analytics/types/ConversationBasicMetric.js +2 -0
  114. package/serialization/resources/analytics/types/ConversationGroupBy.d.ts +2 -0
  115. package/serialization/resources/analytics/types/ConversationGroupBy.js +2 -0
  116. package/serialization/resources/analytics/types/ConversationNumericMetric.d.ts +2 -0
  117. package/serialization/resources/analytics/types/ConversationNumericMetric.js +2 -0
  118. package/serialization/resources/charters/index.d.ts +1 -0
  119. package/serialization/resources/charters/index.js +17 -0
  120. package/serialization/resources/charters/types/CharterChildrenExclusionPolicy.d.ts +7 -0
  121. package/serialization/resources/charters/types/CharterChildrenExclusionPolicy.js +39 -0
  122. package/serialization/resources/charters/types/CharterStatus.d.ts +7 -0
  123. package/serialization/resources/charters/types/CharterStatus.js +39 -0
  124. package/serialization/resources/charters/types/CharterSummary.d.ts +22 -0
  125. package/serialization/resources/charters/types/CharterSummary.js +54 -0
  126. package/serialization/resources/charters/types/CharterType.d.ts +7 -0
  127. package/serialization/resources/charters/types/CharterType.js +39 -0
  128. package/serialization/resources/charters/types/index.d.ts +4 -0
  129. package/serialization/resources/charters/types/index.js +20 -0
  130. package/serialization/resources/commons/types/BotObjectResponse.d.ts +0 -1
  131. package/serialization/resources/commons/types/BotObjectResponse.js +0 -1
  132. package/serialization/resources/commons/types/{IntelligentFieldCondition.d.ts → FieldCondition.d.ts} +3 -3
  133. package/serialization/resources/commons/types/{IntelligentFieldCondition.js → FieldCondition.js} +2 -2
  134. package/serialization/resources/commons/types/IntelligentFieldPrecondition.d.ts +2 -2
  135. package/serialization/resources/commons/types/IntelligentFieldPrecondition.js +2 -2
  136. package/serialization/resources/commons/types/IntelligentFieldPreconditionResponse.d.ts +2 -2
  137. package/serialization/resources/commons/types/IntelligentFieldPreconditionResponse.js +2 -2
  138. package/serialization/resources/commons/types/KeyValueEntryCondition.d.ts +2 -2
  139. package/serialization/resources/commons/types/KeyValueEntryCondition.js +2 -2
  140. package/serialization/resources/commons/types/TextFormat.d.ts +15 -0
  141. package/serialization/resources/commons/types/TextFormat.js +49 -0
  142. package/serialization/resources/commons/types/TextFormatJsonSchema.d.ts +10 -0
  143. package/serialization/resources/commons/types/TextFormatJsonSchema.js +42 -0
  144. package/serialization/resources/commons/types/TextFormatText.d.ts +7 -0
  145. package/serialization/resources/commons/types/TextFormatText.js +39 -0
  146. package/serialization/resources/commons/types/index.d.ts +4 -1
  147. package/serialization/resources/commons/types/index.js +4 -1
  148. package/serialization/resources/conversation/types/AskRequest.d.ts +2 -0
  149. package/serialization/resources/conversation/types/AskRequest.js +2 -0
  150. package/serialization/resources/conversation/types/AskStreamObjectEvent.d.ts +9 -0
  151. package/serialization/resources/conversation/types/AskStreamObjectEvent.js +40 -0
  152. package/serialization/resources/conversation/types/ConversationField.d.ts +1 -1
  153. package/serialization/resources/conversation/types/ConversationField.js +2 -0
  154. package/serialization/resources/conversation/types/NumericConversationField.d.ts +1 -1
  155. package/serialization/resources/conversation/types/NumericConversationField.js +1 -0
  156. package/serialization/resources/conversation/types/StreamResponse.d.ts +5 -1
  157. package/serialization/resources/conversation/types/StreamResponse.js +2 -0
  158. package/serialization/resources/conversation/types/index.d.ts +1 -0
  159. package/serialization/resources/conversation/types/index.js +1 -0
  160. package/serialization/resources/index.d.ts +5 -0
  161. package/serialization/resources/index.js +6 -1
  162. package/serialization/resources/intelligentFields/client/index.d.ts +1 -0
  163. package/serialization/resources/intelligentFields/client/index.js +17 -0
  164. package/serialization/resources/intelligentFields/client/requests/IntelligentFieldPatchRequest.d.ts +17 -0
  165. package/serialization/resources/intelligentFields/client/requests/IntelligentFieldPatchRequest.js +49 -0
  166. package/serialization/resources/intelligentFields/client/requests/index.d.ts +1 -0
  167. package/serialization/resources/intelligentFields/client/requests/index.js +5 -0
  168. package/serialization/resources/intelligentFields/index.d.ts +2 -0
  169. package/serialization/resources/intelligentFields/index.js +18 -0
  170. package/serialization/resources/intelligentFields/types/EnumOption.d.ts +10 -0
  171. package/serialization/resources/intelligentFields/types/EnumOption.js +42 -0
  172. package/serialization/resources/intelligentFields/types/IntelligentFieldBase.d.ts +13 -0
  173. package/serialization/resources/intelligentFields/types/IntelligentFieldBase.js +47 -0
  174. package/serialization/resources/intelligentFields/types/IntelligentFieldCore.d.ts +15 -0
  175. package/serialization/resources/intelligentFields/types/IntelligentFieldCore.js +47 -0
  176. package/serialization/resources/intelligentFields/types/IntelligentFieldDetailResponse.d.ts +11 -0
  177. package/serialization/resources/intelligentFields/types/IntelligentFieldDetailResponse.js +45 -0
  178. package/serialization/resources/intelligentFields/types/IntelligentFieldRequest.d.ts +11 -0
  179. package/serialization/resources/intelligentFields/types/IntelligentFieldRequest.js +45 -0
  180. package/serialization/resources/intelligentFields/types/IntelligentFieldResponse.d.ts +15 -0
  181. package/serialization/resources/intelligentFields/types/IntelligentFieldResponse.js +49 -0
  182. package/serialization/resources/intelligentFields/types/IntelligentFieldStatus.d.ts +7 -0
  183. package/serialization/resources/intelligentFields/types/IntelligentFieldStatus.js +39 -0
  184. package/serialization/resources/intelligentFields/types/IntelligentFieldType.d.ts +7 -0
  185. package/serialization/resources/intelligentFields/types/IntelligentFieldType.js +39 -0
  186. package/serialization/resources/intelligentFields/types/IntelligentFieldValueEntityFilter.d.ts +10 -0
  187. package/serialization/resources/intelligentFields/types/IntelligentFieldValueEntityFilter.js +42 -0
  188. package/serialization/resources/intelligentFields/types/IntelligentFieldValueFieldFilter.d.ts +12 -0
  189. package/serialization/resources/intelligentFields/types/IntelligentFieldValueFieldFilter.js +44 -0
  190. package/serialization/resources/intelligentFields/types/IntelligentFieldValueSearchRequest.d.ts +20 -0
  191. package/serialization/resources/intelligentFields/types/IntelligentFieldValueSearchRequest.js +54 -0
  192. package/serialization/resources/intelligentFields/types/IntelligentFieldValueSearchResponse.d.ts +11 -0
  193. package/serialization/resources/intelligentFields/types/IntelligentFieldValueSearchResponse.js +45 -0
  194. package/serialization/resources/intelligentFields/types/IntelligentFieldValueSortField.d.ts +7 -0
  195. package/serialization/resources/intelligentFields/types/IntelligentFieldValueSortField.js +39 -0
  196. package/serialization/resources/intelligentFields/types/index.d.ts +13 -0
  197. package/serialization/resources/intelligentFields/types/index.js +29 -0
  198. package/serialization/resources/knowledge/types/KnowledgeBaseResponse.d.ts +2 -0
  199. package/serialization/resources/knowledge/types/KnowledgeBaseResponse.js +2 -0
  200. package/serialization/resources/knowledge/types/KnowledgeBaseVersion.d.ts +2 -0
  201. package/serialization/resources/knowledge/types/KnowledgeBaseVersion.js +2 -0
  202. package/serialization/resources/knowledge/types/KnowledgeBaseVersionProgress.d.ts +11 -0
  203. package/serialization/resources/knowledge/types/KnowledgeBaseVersionProgress.js +43 -0
  204. package/serialization/resources/knowledge/types/KnowledgeBaseVersionProgressRequest.d.ts +13 -0
  205. package/serialization/resources/knowledge/types/KnowledgeBaseVersionProgressRequest.js +45 -0
  206. package/serialization/resources/knowledge/types/index.d.ts +2 -0
  207. package/serialization/resources/knowledge/types/index.js +2 -0
  208. package/serialization/resources/segments/types/SegmentPatchRequest.d.ts +2 -0
  209. package/serialization/resources/segments/types/SegmentPatchRequest.js +2 -0
  210. package/serialization/resources/segments/types/SegmentRequest.d.ts +2 -0
  211. package/serialization/resources/segments/types/SegmentRequest.js +2 -0
  212. package/serialization/resources/segments/types/SegmentSummary.d.ts +14 -0
  213. package/serialization/resources/segments/types/SegmentSummary.js +47 -0
  214. package/serialization/resources/segments/types/index.d.ts +1 -0
  215. package/serialization/resources/segments/types/index.js +1 -0
  216. package/version.d.ts +1 -1
  217. package/version.js +1 -1
  218. package/api/resources/commons/types/IntelligentFieldCondition.d.ts +0 -37
  219. /package/api/resources/{commons/types/IntelligentFieldCondition.js → charters/types/CharterSummary.js} +0 -0
@@ -1,6 +1,7 @@
1
1
  import type * as MavenAGI from "../../../../api/index";
2
2
  import * as core from "../../../../core";
3
3
  import * as serializers from "../../../index";
4
+ import { EntityIdWithoutAgent } from "../../commons/types/EntityIdWithoutAgent";
4
5
  import { SegmentStatus } from "./SegmentStatus";
5
6
  export declare const SegmentPatchRequest: core.serialization.ObjectSchema<serializers.SegmentPatchRequest.Raw, MavenAGI.SegmentPatchRequest>;
6
7
  export declare namespace SegmentPatchRequest {
@@ -10,5 +11,6 @@ export declare namespace SegmentPatchRequest {
10
11
  description?: string | null;
11
12
  precondition?: serializers.Precondition.Raw | null;
12
13
  status?: SegmentStatus.Raw | null;
14
+ variantId?: EntityIdWithoutAgent.Raw | null;
13
15
  }
14
16
  }
@@ -37,6 +37,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.SegmentPatchRequest = void 0;
38
38
  const core = __importStar(require("../../../../core"));
39
39
  const serializers = __importStar(require("../../../index"));
40
+ const EntityIdWithoutAgent_1 = require("../../commons/types/EntityIdWithoutAgent");
40
41
  const SegmentStatus_1 = require("./SegmentStatus");
41
42
  exports.SegmentPatchRequest = core.serialization.object({
42
43
  appId: core.serialization.string().optional(),
@@ -44,4 +45,5 @@ exports.SegmentPatchRequest = core.serialization.object({
44
45
  description: core.serialization.string().optional(),
45
46
  precondition: core.serialization.lazy(() => serializers.Precondition).optional(),
46
47
  status: SegmentStatus_1.SegmentStatus.optional(),
48
+ variantId: EntityIdWithoutAgent_1.EntityIdWithoutAgent.optional(),
47
49
  });
@@ -2,12 +2,14 @@ import type * as MavenAGI from "../../../../api/index";
2
2
  import * as core from "../../../../core";
3
3
  import * as serializers from "../../../index";
4
4
  import { EntityIdBase } from "../../commons/types/EntityIdBase";
5
+ import { EntityIdWithoutAgent } from "../../commons/types/EntityIdWithoutAgent";
5
6
  import { SegmentBase } from "./SegmentBase";
6
7
  import { SegmentStatus } from "./SegmentStatus";
7
8
  export declare const SegmentRequest: core.serialization.ObjectSchema<serializers.SegmentRequest.Raw, MavenAGI.SegmentRequest>;
8
9
  export declare namespace SegmentRequest {
9
10
  interface Raw extends SegmentBase.Raw {
10
11
  segmentId: EntityIdBase.Raw;
12
+ variantId?: EntityIdWithoutAgent.Raw | null;
11
13
  precondition: serializers.Precondition.Raw;
12
14
  status?: SegmentStatus.Raw | null;
13
15
  }
@@ -38,11 +38,13 @@ exports.SegmentRequest = void 0;
38
38
  const core = __importStar(require("../../../../core"));
39
39
  const serializers = __importStar(require("../../../index"));
40
40
  const EntityIdBase_1 = require("../../commons/types/EntityIdBase");
41
+ const EntityIdWithoutAgent_1 = require("../../commons/types/EntityIdWithoutAgent");
41
42
  const SegmentBase_1 = require("./SegmentBase");
42
43
  const SegmentStatus_1 = require("./SegmentStatus");
43
44
  exports.SegmentRequest = core.serialization
44
45
  .object({
45
46
  segmentId: EntityIdBase_1.EntityIdBase,
47
+ variantId: EntityIdWithoutAgent_1.EntityIdWithoutAgent.optional(),
46
48
  precondition: core.serialization.lazy(() => serializers.Precondition),
47
49
  status: SegmentStatus_1.SegmentStatus.optional(),
48
50
  })
@@ -0,0 +1,14 @@
1
+ import type * as MavenAGI from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import * as serializers from "../../../index";
4
+ import { EntityId } from "../../commons/types/EntityId";
5
+ import { SegmentStatus } from "./SegmentStatus";
6
+ export declare const SegmentSummary: core.serialization.ObjectSchema<serializers.SegmentSummary.Raw, MavenAGI.SegmentSummary>;
7
+ export declare namespace SegmentSummary {
8
+ interface Raw {
9
+ segmentId: EntityId.Raw;
10
+ name: string;
11
+ status: SegmentStatus.Raw;
12
+ precondition: serializers.PreconditionResponse.Raw;
13
+ }
14
+ }
@@ -0,0 +1,47 @@
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.SegmentSummary = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ const serializers = __importStar(require("../../../index"));
40
+ const EntityId_1 = require("../../commons/types/EntityId");
41
+ const SegmentStatus_1 = require("./SegmentStatus");
42
+ exports.SegmentSummary = core.serialization.object({
43
+ segmentId: EntityId_1.EntityId,
44
+ name: core.serialization.string(),
45
+ status: SegmentStatus_1.SegmentStatus,
46
+ precondition: core.serialization.lazy(() => serializers.PreconditionResponse),
47
+ });
@@ -5,5 +5,6 @@ export * from "./SegmentPatchRequest";
5
5
  export * from "./SegmentRequest";
6
6
  export * from "./SegmentResponse";
7
7
  export * from "./SegmentStatus";
8
+ export * from "./SegmentSummary";
8
9
  export * from "./SegmentsSearchRequest";
9
10
  export * from "./SegmentsSearchResponse";
@@ -21,5 +21,6 @@ __exportStar(require("./SegmentPatchRequest"), exports);
21
21
  __exportStar(require("./SegmentRequest"), exports);
22
22
  __exportStar(require("./SegmentResponse"), exports);
23
23
  __exportStar(require("./SegmentStatus"), exports);
24
+ __exportStar(require("./SegmentSummary"), exports);
24
25
  __exportStar(require("./SegmentsSearchRequest"), exports);
25
26
  __exportStar(require("./SegmentsSearchResponse"), exports);
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.2.56";
1
+ export declare const SDK_VERSION = "1.2.57";
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.56";
4
+ exports.SDK_VERSION = "1.2.57";
@@ -1,37 +0,0 @@
1
- import type * as MavenAGI from "../../../index";
2
- /**
3
- * The condition to evaluate against an intelligent field's value.
4
- * Use the appropriate type based on the field's validationType:
5
- * - `string`: For STRING and MULTILINE fields
6
- * - `numeric`: For NUMBER fields
7
- * - `boolean`: For BOOLEAN fields
8
- * - `set`: For MULTI_SELECT fields (unordered set of values)
9
- *
10
- * Note: single select fields are represented as STRING/NUMBER with a list of
11
- * enumOptions.
12
- *
13
- * The caller is responsible for querying the validationType and enumOptions
14
- * from the intelligent field API to ensure the values are valid enumOptions.
15
- */
16
- export type IntelligentFieldCondition = MavenAGI.IntelligentFieldCondition.String | MavenAGI.IntelligentFieldCondition.Numeric | MavenAGI.IntelligentFieldCondition.Boolean | MavenAGI.IntelligentFieldCondition.Set | MavenAGI.IntelligentFieldCondition.Universal;
17
- export declare namespace IntelligentFieldCondition {
18
- interface String {
19
- fieldValidationType: "string";
20
- value: MavenAGI.StringCondition;
21
- }
22
- interface Numeric {
23
- fieldValidationType: "numeric";
24
- value: MavenAGI.NumericCondition;
25
- }
26
- interface Boolean extends MavenAGI.BooleanCondition {
27
- fieldValidationType: "boolean";
28
- }
29
- interface Set {
30
- fieldValidationType: "set";
31
- value: MavenAGI.SetCondition;
32
- }
33
- interface Universal {
34
- fieldValidationType: "universal";
35
- value: MavenAGI.UniversalCondition;
36
- }
37
- }