mavenagi 1.2.69 → 1.2.70

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 (190) hide show
  1. package/BaseClient.js +2 -2
  2. package/api/resources/agents/client/requests/AgentPatchRequest.d.ts +3 -1
  3. package/api/resources/agents/types/AgentPrompting.d.ts +4 -3
  4. package/api/resources/appSettings/client/Client.d.ts +2 -0
  5. package/api/resources/appSettings/client/Client.js +2 -0
  6. package/api/resources/assets/client/Client.d.ts +5 -0
  7. package/api/resources/assets/client/Client.js +5 -0
  8. package/api/resources/capabilities/client/Client.d.ts +6 -2
  9. package/api/resources/capabilities/client/Client.js +6 -2
  10. package/api/resources/capabilities/types/CapabilityExecutionBase.d.ts +4 -25
  11. package/api/resources/capabilities/types/CapabilityRunBase.d.ts +31 -0
  12. package/api/resources/capabilities/types/CapabilityRunBase.js +3 -0
  13. package/api/resources/capabilities/types/CapabilitySimulationInput.d.ts +9 -3
  14. package/api/resources/capabilities/types/CapabilitySimulationResult.d.ts +7 -1
  15. package/api/resources/capabilities/types/ConversationKickoffSimulationInput.d.ts +6 -0
  16. package/api/resources/capabilities/types/ConversationKickoffSimulationInput.js +3 -0
  17. package/api/resources/capabilities/types/TriggerCapabilityExecution.d.ts +1 -7
  18. package/api/resources/capabilities/types/TriggerRunDetails.d.ts +12 -0
  19. package/api/resources/capabilities/types/TriggerRunDetails.js +3 -0
  20. package/api/resources/capabilities/types/TriggerSimulationInput.d.ts +14 -0
  21. package/api/resources/capabilities/types/TriggerSimulationInput.js +3 -0
  22. package/api/resources/capabilities/types/TriggerSimulationResult.d.ts +7 -0
  23. package/api/resources/capabilities/types/TriggerSimulationResult.js +3 -0
  24. package/api/resources/capabilities/types/index.d.ts +5 -0
  25. package/api/resources/capabilities/types/index.js +5 -0
  26. package/api/resources/commons/types/AbsoluteTimeWindow.d.ts +15 -0
  27. package/api/resources/commons/types/AbsoluteTimeWindow.js +3 -0
  28. package/api/resources/commons/types/AppUser.d.ts +9 -0
  29. package/api/resources/commons/types/ArraySettingsSchemaEntry.d.ts +1 -2
  30. package/api/resources/commons/types/BotLogic.d.ts +9 -0
  31. package/api/resources/commons/types/BotLogicIntelligentFieldsItem.d.ts +10 -0
  32. package/api/resources/commons/types/ColorSettingsSchemaEntry.d.ts +1 -2
  33. package/api/resources/commons/types/ConversationAnalysis.d.ts +10 -2
  34. package/api/resources/commons/types/ConversationKickoffExecutionResponse.d.ts +1 -1
  35. package/api/resources/commons/types/ConversationPrecondition.d.ts +4 -1
  36. package/api/resources/commons/types/ConversationPreconditionResponse.d.ts +4 -1
  37. package/api/resources/commons/types/DayOfMonthDaySelector.d.ts +4 -0
  38. package/api/resources/commons/types/DayOfMonthDaySelector.js +3 -0
  39. package/api/resources/commons/types/DayOfWeek.d.ts +10 -0
  40. package/api/resources/commons/types/DayOfWeek.js +13 -0
  41. package/api/resources/commons/types/DaySelector.d.ts +33 -0
  42. package/api/resources/commons/types/DaySelector.js +3 -0
  43. package/api/resources/commons/types/EntityIdBase.d.ts +1 -1
  44. package/api/resources/commons/types/EntityType.d.ts +4 -0
  45. package/api/resources/commons/types/EntityType.js +4 -0
  46. package/api/resources/commons/types/Month.d.ts +15 -0
  47. package/api/resources/commons/types/Month.js +18 -0
  48. package/api/resources/commons/types/MultilineSettingsSchemaEntry.d.ts +1 -2
  49. package/api/resources/commons/types/NthWeekdayDaySelector.d.ts +15 -0
  50. package/api/resources/commons/types/NthWeekdayDaySelector.js +3 -0
  51. package/api/resources/commons/types/NumberSettingsSchemaEntry.d.ts +1 -2
  52. package/api/resources/commons/types/Occurrence.d.ts +11 -0
  53. package/api/resources/commons/types/Occurrence.js +14 -0
  54. package/api/resources/commons/types/RecurringTimeWindow.d.ts +21 -0
  55. package/api/resources/commons/types/RecurringTimeWindow.js +3 -0
  56. package/api/resources/commons/types/ResolutionStatus.d.ts +57 -1
  57. package/api/resources/commons/types/ResolutionStatus.js +57 -1
  58. package/api/resources/commons/types/TextSettingsSchemaEntry.d.ts +1 -2
  59. package/api/resources/commons/types/TimeOfDayRange.d.ts +14 -0
  60. package/api/resources/commons/types/TimeOfDayRange.js +3 -0
  61. package/api/resources/commons/types/TimePrecondition.d.ts +109 -0
  62. package/api/resources/commons/types/TimePrecondition.js +3 -0
  63. package/api/resources/commons/types/TimeWindow.d.ts +22 -0
  64. package/api/resources/commons/types/TimeWindow.js +3 -0
  65. package/api/resources/commons/types/UserData.d.ts +14 -1
  66. package/api/resources/commons/types/ValidatedSettingsSchemaEntryBase.d.ts +7 -0
  67. package/api/resources/commons/types/ValidatedSettingsSchemaEntryBase.js +3 -0
  68. package/api/resources/commons/types/WeekTime.d.ts +9 -0
  69. package/api/resources/commons/types/WeekTime.js +3 -0
  70. package/api/resources/commons/types/WeekdaysDaySelector.d.ts +5 -0
  71. package/api/resources/commons/types/WeekdaysDaySelector.js +3 -0
  72. package/api/resources/commons/types/WeeklyTimeWindow.d.ts +23 -0
  73. package/api/resources/commons/types/WeeklyTimeWindow.js +3 -0
  74. package/api/resources/commons/types/YearlyDatesDaySelector.d.ts +16 -0
  75. package/api/resources/commons/types/YearlyDatesDaySelector.js +3 -0
  76. package/api/resources/commons/types/index.d.ts +16 -0
  77. package/api/resources/commons/types/index.js +16 -0
  78. package/api/resources/conversation/client/Client.d.ts +39 -11
  79. package/api/resources/conversation/client/Client.js +39 -11
  80. package/api/resources/conversation/types/AskRequestBase.d.ts +1 -35
  81. package/api/resources/conversation/types/AskRequestFields.d.ts +40 -0
  82. package/api/resources/conversation/types/AskRequestFields.js +3 -0
  83. package/api/resources/conversation/types/BillableFilterField.d.ts +7 -2
  84. package/api/resources/conversation/types/BillableFilterField.js +7 -2
  85. package/api/resources/conversation/types/ConversationFilter.d.ts +11 -8
  86. package/api/resources/conversation/types/DeliverAskRequest.d.ts +9 -0
  87. package/api/resources/conversation/types/DeliverAskRequest.js +3 -0
  88. package/api/resources/conversation/types/DeliverContent.d.ts +19 -0
  89. package/api/resources/conversation/types/DeliverContent.js +3 -0
  90. package/api/resources/conversation/types/DeliverConversationMessageRequest.d.ts +1 -3
  91. package/api/resources/conversation/types/DeliverMessageBase.d.ts +11 -0
  92. package/api/resources/conversation/types/DeliverMessageBase.js +3 -0
  93. package/api/resources/conversation/types/DeliverUserMessageRequest.d.ts +1 -3
  94. package/api/resources/conversation/types/index.d.ts +4 -0
  95. package/api/resources/conversation/types/index.js +4 -0
  96. package/api/resources/organizations/client/Client.d.ts +0 -4
  97. package/api/resources/organizations/client/Client.js +0 -4
  98. package/api/resources/users/client/Client.d.ts +7 -1
  99. package/api/resources/users/client/Client.js +7 -1
  100. package/api/resources/users/types/AppUserSummary.d.ts +1 -1
  101. package/package.json +1 -1
  102. package/reference.md +38 -14
  103. package/serialization/resources/capabilities/types/CapabilityExecutionBase.d.ts +2 -12
  104. package/serialization/resources/capabilities/types/CapabilityExecutionBase.js +5 -13
  105. package/serialization/resources/capabilities/types/CapabilityRunBase.d.ts +20 -0
  106. package/serialization/resources/capabilities/types/CapabilityRunBase.js +52 -0
  107. package/serialization/resources/capabilities/types/CapabilitySimulationInput.d.ts +9 -1
  108. package/serialization/resources/capabilities/types/CapabilitySimulationInput.js +4 -0
  109. package/serialization/resources/capabilities/types/CapabilitySimulationResult.d.ts +9 -1
  110. package/serialization/resources/capabilities/types/CapabilitySimulationResult.js +4 -0
  111. package/serialization/resources/capabilities/types/ConversationKickoffSimulationInput.d.ts +9 -0
  112. package/serialization/resources/capabilities/types/ConversationKickoffSimulationInput.js +40 -0
  113. package/serialization/resources/capabilities/types/TriggerCapabilityExecution.d.ts +2 -6
  114. package/serialization/resources/capabilities/types/TriggerCapabilityExecution.js +3 -6
  115. package/serialization/resources/capabilities/types/TriggerRunDetails.d.ts +13 -0
  116. package/serialization/resources/capabilities/types/TriggerRunDetails.js +45 -0
  117. package/serialization/resources/capabilities/types/TriggerSimulationInput.d.ts +10 -0
  118. package/serialization/resources/capabilities/types/TriggerSimulationInput.js +42 -0
  119. package/serialization/resources/capabilities/types/TriggerSimulationResult.d.ts +10 -0
  120. package/serialization/resources/capabilities/types/TriggerSimulationResult.js +41 -0
  121. package/serialization/resources/capabilities/types/index.d.ts +5 -0
  122. package/serialization/resources/capabilities/types/index.js +5 -0
  123. package/serialization/resources/commons/types/AbsoluteTimeWindow.d.ts +10 -0
  124. package/serialization/resources/commons/types/AbsoluteTimeWindow.js +42 -0
  125. package/serialization/resources/commons/types/ArraySettingsSchemaEntry.d.ts +2 -4
  126. package/serialization/resources/commons/types/ArraySettingsSchemaEntry.js +2 -4
  127. package/serialization/resources/commons/types/ColorSettingsSchemaEntry.d.ts +2 -4
  128. package/serialization/resources/commons/types/ColorSettingsSchemaEntry.js +2 -4
  129. package/serialization/resources/commons/types/ConversationPrecondition.d.ts +5 -1
  130. package/serialization/resources/commons/types/ConversationPrecondition.js +2 -0
  131. package/serialization/resources/commons/types/ConversationPreconditionResponse.d.ts +5 -1
  132. package/serialization/resources/commons/types/ConversationPreconditionResponse.js +2 -0
  133. package/serialization/resources/commons/types/DayOfMonthDaySelector.d.ts +9 -0
  134. package/serialization/resources/commons/types/DayOfMonthDaySelector.js +41 -0
  135. package/serialization/resources/commons/types/DayOfWeek.d.ts +7 -0
  136. package/serialization/resources/commons/types/DayOfWeek.js +47 -0
  137. package/serialization/resources/commons/types/DaySelector.d.ts +23 -0
  138. package/serialization/resources/commons/types/DaySelector.js +53 -0
  139. package/serialization/resources/commons/types/EntityType.d.ts +1 -1
  140. package/serialization/resources/commons/types/EntityType.js +1 -0
  141. package/serialization/resources/commons/types/Month.d.ts +7 -0
  142. package/serialization/resources/commons/types/Month.js +52 -0
  143. package/serialization/resources/commons/types/MultilineSettingsSchemaEntry.d.ts +2 -4
  144. package/serialization/resources/commons/types/MultilineSettingsSchemaEntry.js +2 -4
  145. package/serialization/resources/commons/types/NthWeekdayDaySelector.d.ts +12 -0
  146. package/serialization/resources/commons/types/NthWeekdayDaySelector.js +44 -0
  147. package/serialization/resources/commons/types/NumberSettingsSchemaEntry.d.ts +2 -4
  148. package/serialization/resources/commons/types/NumberSettingsSchemaEntry.js +2 -4
  149. package/serialization/resources/commons/types/Occurrence.d.ts +7 -0
  150. package/serialization/resources/commons/types/Occurrence.js +39 -0
  151. package/serialization/resources/commons/types/RecurringTimeWindow.d.ts +15 -0
  152. package/serialization/resources/commons/types/RecurringTimeWindow.js +47 -0
  153. package/serialization/resources/commons/types/TextSettingsSchemaEntry.d.ts +2 -4
  154. package/serialization/resources/commons/types/TextSettingsSchemaEntry.js +2 -4
  155. package/serialization/resources/commons/types/TimeOfDayRange.d.ts +10 -0
  156. package/serialization/resources/commons/types/TimeOfDayRange.js +42 -0
  157. package/serialization/resources/commons/types/TimePrecondition.d.ts +11 -0
  158. package/serialization/resources/commons/types/TimePrecondition.js +45 -0
  159. package/serialization/resources/commons/types/TimeWindow.d.ts +19 -0
  160. package/serialization/resources/commons/types/TimeWindow.js +51 -0
  161. package/serialization/resources/commons/types/ValidatedSettingsSchemaEntryBase.d.ts +12 -0
  162. package/serialization/resources/commons/types/ValidatedSettingsSchemaEntryBase.js +46 -0
  163. package/serialization/resources/commons/types/WeekTime.d.ts +11 -0
  164. package/serialization/resources/commons/types/WeekTime.js +43 -0
  165. package/serialization/resources/commons/types/WeekdaysDaySelector.d.ts +10 -0
  166. package/serialization/resources/commons/types/WeekdaysDaySelector.js +42 -0
  167. package/serialization/resources/commons/types/WeeklyTimeWindow.d.ts +12 -0
  168. package/serialization/resources/commons/types/WeeklyTimeWindow.js +44 -0
  169. package/serialization/resources/commons/types/YearlyDatesDaySelector.d.ts +10 -0
  170. package/serialization/resources/commons/types/YearlyDatesDaySelector.js +42 -0
  171. package/serialization/resources/commons/types/index.d.ts +16 -0
  172. package/serialization/resources/commons/types/index.js +16 -0
  173. package/serialization/resources/conversation/types/AskRequestBase.d.ts +2 -11
  174. package/serialization/resources/conversation/types/AskRequestBase.js +5 -12
  175. package/serialization/resources/conversation/types/AskRequestFields.d.ts +18 -0
  176. package/serialization/resources/conversation/types/AskRequestFields.js +50 -0
  177. package/serialization/resources/conversation/types/DeliverAskRequest.d.ts +11 -0
  178. package/serialization/resources/conversation/types/DeliverAskRequest.js +45 -0
  179. package/serialization/resources/conversation/types/DeliverContent.d.ts +15 -0
  180. package/serialization/resources/conversation/types/DeliverContent.js +49 -0
  181. package/serialization/resources/conversation/types/DeliverConversationMessageRequest.d.ts +2 -3
  182. package/serialization/resources/conversation/types/DeliverConversationMessageRequest.js +5 -4
  183. package/serialization/resources/conversation/types/DeliverMessageBase.d.ts +12 -0
  184. package/serialization/resources/conversation/types/DeliverMessageBase.js +44 -0
  185. package/serialization/resources/conversation/types/DeliverUserMessageRequest.d.ts +2 -3
  186. package/serialization/resources/conversation/types/DeliverUserMessageRequest.js +5 -4
  187. package/serialization/resources/conversation/types/index.d.ts +4 -0
  188. package/serialization/resources/conversation/types/index.js +4 -0
  189. package/version.d.ts +1 -1
  190. package/version.js +1 -1
@@ -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.RecurringTimeWindow = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ const DaySelector_1 = require("./DaySelector");
40
+ const Month_1 = require("./Month");
41
+ const TimeOfDayRange_1 = require("./TimeOfDayRange");
42
+ exports.RecurringTimeWindow = core.serialization.object({
43
+ timezone: core.serialization.string(),
44
+ days: DaySelector_1.DaySelector.optional(),
45
+ months: core.serialization.set(Month_1.Month).optional(),
46
+ timeOfDay: TimeOfDayRange_1.TimeOfDayRange.optional(),
47
+ });
@@ -1,12 +1,10 @@
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 { SettingsSchemaEntryBase } from "./SettingsSchemaEntryBase";
5
- import { SettingsSchemaValidation } from "./SettingsSchemaValidation";
4
+ import { ValidatedSettingsSchemaEntryBase } from "./ValidatedSettingsSchemaEntryBase";
6
5
  export declare const TextSettingsSchemaEntry: core.serialization.ObjectSchema<serializers.TextSettingsSchemaEntry.Raw, MavenAGI.TextSettingsSchemaEntry>;
7
6
  export declare namespace TextSettingsSchemaEntry {
8
- interface Raw extends SettingsSchemaEntryBase.Raw {
7
+ interface Raw extends ValidatedSettingsSchemaEntryBase.Raw {
9
8
  defaultValue?: string | null;
10
- validation?: SettingsSchemaValidation.Raw | null;
11
9
  }
12
10
  }
@@ -36,11 +36,9 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.TextSettingsSchemaEntry = void 0;
38
38
  const core = __importStar(require("../../../../core"));
39
- const SettingsSchemaEntryBase_1 = require("./SettingsSchemaEntryBase");
40
- const SettingsSchemaValidation_1 = require("./SettingsSchemaValidation");
39
+ const ValidatedSettingsSchemaEntryBase_1 = require("./ValidatedSettingsSchemaEntryBase");
41
40
  exports.TextSettingsSchemaEntry = core.serialization
42
41
  .object({
43
42
  defaultValue: core.serialization.string().optional(),
44
- validation: SettingsSchemaValidation_1.SettingsSchemaValidation.optional(),
45
43
  })
46
- .extend(SettingsSchemaEntryBase_1.SettingsSchemaEntryBase);
44
+ .extend(ValidatedSettingsSchemaEntryBase_1.ValidatedSettingsSchemaEntryBase);
@@ -0,0 +1,10 @@
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 TimeOfDayRange: core.serialization.ObjectSchema<serializers.TimeOfDayRange.Raw, MavenAGI.TimeOfDayRange>;
5
+ export declare namespace TimeOfDayRange {
6
+ interface Raw {
7
+ start: string;
8
+ end: string;
9
+ }
10
+ }
@@ -0,0 +1,42 @@
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.TimeOfDayRange = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ exports.TimeOfDayRange = core.serialization.object({
40
+ start: core.serialization.string(),
41
+ end: core.serialization.string(),
42
+ });
@@ -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 { PreconditionBase } from "./PreconditionBase";
5
+ import { TimeWindow } from "./TimeWindow";
6
+ export declare const TimePrecondition: core.serialization.ObjectSchema<serializers.TimePrecondition.Raw, MavenAGI.TimePrecondition>;
7
+ export declare namespace TimePrecondition {
8
+ interface Raw extends PreconditionBase.Raw {
9
+ window: TimeWindow.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.TimePrecondition = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ const PreconditionBase_1 = require("./PreconditionBase");
40
+ const TimeWindow_1 = require("./TimeWindow");
41
+ exports.TimePrecondition = core.serialization
42
+ .object({
43
+ window: TimeWindow_1.TimeWindow,
44
+ })
45
+ .extend(PreconditionBase_1.PreconditionBase);
@@ -0,0 +1,19 @@
1
+ import type * as MavenAGI from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ import { AbsoluteTimeWindow } from "./AbsoluteTimeWindow";
5
+ import { RecurringTimeWindow } from "./RecurringTimeWindow";
6
+ import { WeeklyTimeWindow } from "./WeeklyTimeWindow";
7
+ export declare const TimeWindow: core.serialization.Schema<serializers.TimeWindow.Raw, MavenAGI.TimeWindow>;
8
+ export declare namespace TimeWindow {
9
+ type Raw = TimeWindow.Absolute | TimeWindow.Recurring | TimeWindow.Weekly;
10
+ interface Absolute extends AbsoluteTimeWindow.Raw {
11
+ windowType: "absolute";
12
+ }
13
+ interface Recurring extends RecurringTimeWindow.Raw {
14
+ windowType: "recurring";
15
+ }
16
+ interface Weekly extends WeeklyTimeWindow.Raw {
17
+ windowType: "weekly";
18
+ }
19
+ }
@@ -0,0 +1,51 @@
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.TimeWindow = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ const AbsoluteTimeWindow_1 = require("./AbsoluteTimeWindow");
40
+ const RecurringTimeWindow_1 = require("./RecurringTimeWindow");
41
+ const WeeklyTimeWindow_1 = require("./WeeklyTimeWindow");
42
+ exports.TimeWindow = core.serialization
43
+ .union("windowType", {
44
+ absolute: AbsoluteTimeWindow_1.AbsoluteTimeWindow,
45
+ recurring: RecurringTimeWindow_1.RecurringTimeWindow,
46
+ weekly: WeeklyTimeWindow_1.WeeklyTimeWindow,
47
+ })
48
+ .transform({
49
+ transform: (value) => value,
50
+ untransform: (value) => value,
51
+ });
@@ -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 { SettingsSchemaEntryBase } from "./SettingsSchemaEntryBase";
5
+ import { SettingsSchemaValidation } from "./SettingsSchemaValidation";
6
+ export declare const ValidatedSettingsSchemaEntryBase: core.serialization.ObjectSchema<serializers.ValidatedSettingsSchemaEntryBase.Raw, MavenAGI.ValidatedSettingsSchemaEntryBase>;
7
+ export declare namespace ValidatedSettingsSchemaEntryBase {
8
+ interface Raw extends SettingsSchemaEntryBase.Raw {
9
+ validation?: SettingsSchemaValidation.Raw | null;
10
+ validations?: SettingsSchemaValidation.Raw[] | 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.ValidatedSettingsSchemaEntryBase = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ const SettingsSchemaEntryBase_1 = require("./SettingsSchemaEntryBase");
40
+ const SettingsSchemaValidation_1 = require("./SettingsSchemaValidation");
41
+ exports.ValidatedSettingsSchemaEntryBase = core.serialization
42
+ .object({
43
+ validation: SettingsSchemaValidation_1.SettingsSchemaValidation.optional(),
44
+ validations: core.serialization.list(SettingsSchemaValidation_1.SettingsSchemaValidation).optional(),
45
+ })
46
+ .extend(SettingsSchemaEntryBase_1.SettingsSchemaEntryBase);
@@ -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 { DayOfWeek } from "./DayOfWeek";
5
+ export declare const WeekTime: core.serialization.ObjectSchema<serializers.WeekTime.Raw, MavenAGI.WeekTime>;
6
+ export declare namespace WeekTime {
7
+ interface Raw {
8
+ dayOfWeek: DayOfWeek.Raw;
9
+ time: string;
10
+ }
11
+ }
@@ -0,0 +1,43 @@
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.WeekTime = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ const DayOfWeek_1 = require("./DayOfWeek");
40
+ exports.WeekTime = core.serialization.object({
41
+ dayOfWeek: DayOfWeek_1.DayOfWeek,
42
+ time: core.serialization.string(),
43
+ });
@@ -0,0 +1,10 @@
1
+ import type * as MavenAGI from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ import { DayOfWeek } from "./DayOfWeek";
5
+ export declare const WeekdaysDaySelector: core.serialization.ObjectSchema<serializers.WeekdaysDaySelector.Raw, MavenAGI.WeekdaysDaySelector>;
6
+ export declare namespace WeekdaysDaySelector {
7
+ interface Raw {
8
+ daysOfWeek: DayOfWeek.Raw[];
9
+ }
10
+ }
@@ -0,0 +1,42 @@
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.WeekdaysDaySelector = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ const DayOfWeek_1 = require("./DayOfWeek");
40
+ exports.WeekdaysDaySelector = core.serialization.object({
41
+ daysOfWeek: core.serialization.set(DayOfWeek_1.DayOfWeek),
42
+ });
@@ -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 { WeekTime } from "./WeekTime";
5
+ export declare const WeeklyTimeWindow: core.serialization.ObjectSchema<serializers.WeeklyTimeWindow.Raw, MavenAGI.WeeklyTimeWindow>;
6
+ export declare namespace WeeklyTimeWindow {
7
+ interface Raw {
8
+ timezone: string;
9
+ start: WeekTime.Raw;
10
+ end: WeekTime.Raw;
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.WeeklyTimeWindow = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ const WeekTime_1 = require("./WeekTime");
40
+ exports.WeeklyTimeWindow = core.serialization.object({
41
+ timezone: core.serialization.string(),
42
+ start: WeekTime_1.WeekTime,
43
+ end: WeekTime_1.WeekTime,
44
+ });
@@ -0,0 +1,10 @@
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 YearlyDatesDaySelector: core.serialization.ObjectSchema<serializers.YearlyDatesDaySelector.Raw, MavenAGI.YearlyDatesDaySelector>;
5
+ export declare namespace YearlyDatesDaySelector {
6
+ interface Raw {
7
+ start: string;
8
+ end: string;
9
+ }
10
+ }
@@ -0,0 +1,42 @@
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.YearlyDatesDaySelector = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ exports.YearlyDatesDaySelector = core.serialization.object({
40
+ start: core.serialization.string(),
41
+ end: core.serialization.string(),
42
+ });
@@ -1,3 +1,4 @@
1
+ export * from "./AbsoluteTimeWindow";
1
2
  export * from "./ActionBase";
2
3
  export * from "./ActionEnumOption";
3
4
  export * from "./ActionExecutionParamValue";
@@ -87,6 +88,9 @@ export * from "./ConversationSummary";
87
88
  export * from "./ConversationValueSource";
88
89
  export * from "./CsatInfo";
89
90
  export * from "./CursorPage";
91
+ export * from "./DayOfMonthDaySelector";
92
+ export * from "./DayOfWeek";
93
+ export * from "./DaySelector";
90
94
  export * from "./DeviceInfo";
91
95
  export * from "./DeviceType";
92
96
  export * from "./DocumentInformation";
@@ -161,10 +165,12 @@ export * from "./MetadataEntryCondition";
161
165
  export * from "./MetadataFilter";
162
166
  export * from "./MetadataFilterGroup";
163
167
  export * from "./MetadataPrecondition";
168
+ export * from "./Month";
164
169
  export * from "./MultilineSettingsSchemaEntry";
165
170
  export * from "./NovelSystemEvent";
166
171
  export * from "./NovelSystemEventNoId";
167
172
  export * from "./NovelUserEvent";
173
+ export * from "./NthWeekdayDaySelector";
168
174
  export * from "./NumberRange";
169
175
  export * from "./NumberSettingsSchemaEntry";
170
176
  export * from "./NumericComparisonCondition";
@@ -175,6 +181,7 @@ export * from "./NumericMembershipOperator";
175
181
  export * from "./OAuthAuthenticationMethod";
176
182
  export * from "./OAuthSettingsSchemaEntry";
177
183
  export * from "./ObjectCondition";
184
+ export * from "./Occurrence";
178
185
  export * from "./OneOfSettingsSchemaEntry";
179
186
  export * from "./OsInfo";
180
187
  export * from "./OsType";
@@ -192,6 +199,7 @@ export * from "./PresenceCondition";
192
199
  export * from "./PresenceOperator";
193
200
  export * from "./Quality";
194
201
  export * from "./QualityReason";
202
+ export * from "./RecurringTimeWindow";
195
203
  export * from "./RelationshipType";
196
204
  export * from "./ResolutionStatus";
197
205
  export * from "./ResponseConfig";
@@ -237,6 +245,9 @@ export * from "./TextFormat";
237
245
  export * from "./TextFormatJsonSchema";
238
246
  export * from "./TextFormatText";
239
247
  export * from "./TextSettingsSchemaEntry";
248
+ export * from "./TimeOfDayRange";
249
+ export * from "./TimePrecondition";
250
+ export * from "./TimeWindow";
240
251
  export * from "./UniversalCondition";
241
252
  export * from "./UserConversationMessageType";
242
253
  export * from "./UserData";
@@ -248,4 +259,9 @@ export * from "./UserEventNameCondition";
248
259
  export * from "./UserMessage";
249
260
  export * from "./UserMessageBase";
250
261
  export * from "./UserMessageResponseState";
262
+ export * from "./ValidatedSettingsSchemaEntryBase";
251
263
  export * from "./VisibilityType";
264
+ export * from "./WeekdaysDaySelector";
265
+ export * from "./WeeklyTimeWindow";
266
+ export * from "./WeekTime";
267
+ export * from "./YearlyDatesDaySelector";