mavenagi 1.2.71 → 1.2.72

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.
package/BaseClient.js CHANGED
@@ -46,8 +46,8 @@ function normalizeClientOptions(options) {
46
46
  const headers = (0, headers_1.mergeHeaders)({
47
47
  "X-Fern-Language": "JavaScript",
48
48
  "X-Fern-SDK-Name": "mavenagi",
49
- "X-Fern-SDK-Version": "1.2.71",
50
- "User-Agent": "mavenagi/1.2.71",
49
+ "X-Fern-SDK-Version": "1.2.72",
50
+ "User-Agent": "mavenagi/1.2.72",
51
51
  "X-Fern-Runtime": core.RUNTIME.type,
52
52
  "X-Fern-Runtime-Version": core.RUNTIME.version,
53
53
  "X-Organization-Id": options === null || options === void 0 ? void 0 : options.organizationId,
@@ -98,9 +98,9 @@ export declare class CapabilitiesClient {
98
98
  * Run one of an agent's capabilities once, as a simulation, and return what it produced.
99
99
  *
100
100
  * The caller supplies everything the capability reads, so it runs in isolation: no
101
- * conversation or agent user has to exist first. The capability is told its mode is
102
- * `SIMULATION`, the same as in a test suite run, so an app that honours it can avoid side
103
- * effects in real systems. Nothing here runs a capability live.
101
+ * conversation or agent user has to exist first. The capability's app is called with mode
102
+ * `SIMULATION`. What the app does in that mode is up to the app, and the platform does not
103
+ * stop it from acting on real systems.
104
104
  *
105
105
  * A simulated run is not recorded. It returns its result here and never appears in
106
106
  * capability execution search.
@@ -418,9 +418,9 @@ class CapabilitiesClient {
418
418
  * Run one of an agent's capabilities once, as a simulation, and return what it produced.
419
419
  *
420
420
  * The caller supplies everything the capability reads, so it runs in isolation: no
421
- * conversation or agent user has to exist first. The capability is told its mode is
422
- * `SIMULATION`, the same as in a test suite run, so an app that honours it can avoid side
423
- * effects in real systems. Nothing here runs a capability live.
421
+ * conversation or agent user has to exist first. The capability's app is called with mode
422
+ * `SIMULATION`. What the app does in that mode is up to the app, and the platform does not
423
+ * stop it from acting on real systems.
424
424
  *
425
425
  * A simulated run is not recorded. It returns its result here and never appears in
426
426
  * capability execution search.
@@ -2,8 +2,9 @@ import type * as MavenAGI from "../../../index";
2
2
  /**
3
3
  * A condition on a single value, discriminated by the type the value is
4
4
  * validated as. Used wherever a value needs testing regardless of where it
5
- * came from: an intelligent field's computed value, or a value addressed by
6
- * path inside data an action returned.
5
+ * came from: an intelligent field's computed value, a value addressed by
6
+ * path inside data an action returned, or the value under a metadata
7
+ * precondition's `key`.
7
8
  *
8
9
  * Pick the variant by type:
9
10
  * - `string`: For STRING and MULTILINE values
@@ -1,9 +1,33 @@
1
1
  import type * as MavenAGI from "../../../index";
2
2
  export interface MetadataPrecondition extends MavenAGI.PreconditionBase {
3
- /** The key that must be present in the metadata for a precondition to be met */
3
+ /** The metadata key the precondition reads. Without a `fieldCondition`, a missing key fails the precondition, or meets it when `operator` is `NOT`. With a `fieldCondition`, a missing key is undetermined: it meets only `IS_UNDETERMINED`. */
4
4
  key: string;
5
- /** Single value for CONTAINS operator or exact match */
5
+ /** Single value for CONTAINS operator or exact match. Superseded by `fieldCondition`, which carries its own value; this field and the inherited `operator` apply only without one. Keep using it until `fieldCondition` is generally available. */
6
6
  value?: string;
7
- /** Multiple values for CONTAINS_ANY and CONTAINS_ALL operators */
7
+ /** Multiple values for CONTAINS_ANY and CONTAINS_ALL operators. Superseded by `fieldCondition`, which carries its own values; this field and the inherited `operator` apply only without one. Keep using it until `fieldCondition` is generally available. */
8
8
  values?: string[];
9
+ /**
10
+ * A typed condition on the value stored under `key`, used instead of `operator`, `value`
11
+ * and `values`. On charters, segments and knowledge bases, setting it together with
12
+ * `operator`, `value` or a non-empty `values` is a 400.
13
+ *
14
+ * Pick the arm by how the value is stored: `string` for a plain string, such as a prefix
15
+ * or suffix match, and `set` for a JSON array of strings, such as `["us-east","eu-west"]`.
16
+ * `numeric` and `boolean` read a value written as a number or `true`/`false`.
17
+ *
18
+ * A missing key meets only `universal` `IS_UNDETERMINED`. Every other condition is unmet,
19
+ * negated ones such as `NOT_STARTS_WITH` and `NEQ` included, unlike `operator: NOT`,
20
+ * which a missing key meets. To also match a conversation without the key, put the
21
+ * condition in an `OR` group with `IS_UNDETERMINED`.
22
+ *
23
+ * A `string` condition compares the stored text, unwrapping a JSON-quoted string first, so
24
+ * a JSON array or number is compared as its raw text. An empty comparison value matches
25
+ * every value for `STARTS_WITH`, `ENDS_WITH` and `CONTAINS_SUBSTRING`. A `numeric` or
26
+ * `boolean` condition is unmet when the value cannot be read as that type. A `set`
27
+ * condition reads a value that is not a JSON array as a one-element set, and skips `null`
28
+ * elements, so `[null]` is an empty set. A `numeric` `comparison` or `boolean` condition
29
+ * without a `value` is saved with `0` or `false`, so `{"opType": "comparison",
30
+ * "operator": "GT"}` means greater than 0.
31
+ */
32
+ fieldCondition?: MavenAGI.FieldCondition;
9
33
  }
@@ -6,7 +6,8 @@ export declare const PresenceOperator: {
6
6
  /**
7
7
  * The field has no determined value — the LLM could not determine one, the
8
8
  * computation failed, is still running, or has not run. Surfaced to authors as
9
- * the special "Undetermined" value. */
9
+ * the special "Undetermined" value. For a metadata precondition, the key is
10
+ * absent. */
10
11
  readonly IsUndetermined: "IS_UNDETERMINED";
11
12
  /**
12
13
  * The field has a determined (non-null) value. */
@@ -10,7 +10,8 @@ exports.PresenceOperator = {
10
10
  /**
11
11
  * The field has no determined value — the LLM could not determine one, the
12
12
  * computation failed, is still running, or has not run. Surfaced to authors as
13
- * the special "Undetermined" value. */
13
+ * the special "Undetermined" value. For a metadata precondition, the key is
14
+ * absent. */
14
15
  IsUndetermined: "IS_UNDETERMINED",
15
16
  /**
16
17
  * The field has a determined (non-null) value. */
@@ -38,8 +38,10 @@ export declare const ResolutionStatus: {
38
38
  * The conversation was handed off to a human agent. Either an AI analysis of the
39
39
  * transcript found a handoff, or a handoff action that Maven recognizes ran successfully.
40
40
  * The AI analysis can be wrong. Once escalation is detected, later messages do not undo
41
- * it, but the earlier checks, such as `NEGATIVE_FEEDBACK`, still take precedence. Copilot
42
- * conversations are never `ESCALATED`. Billing status: not billable. Shown in Agent
41
+ * it, but the earlier checks, such as `NEGATIVE_FEEDBACK`, still take precedence. Agent
42
+ * Assist copilot conversations are never `ESCALATED`, in any mode: those tagged `copilot`
43
+ * or `copilot-research` count as `RESOLVED` instead, and copilot chat and Advice
44
+ * conversations are `INELIGIBLE`. Billing status: not billable. Shown in Agent
43
45
  * Designer as "Escalated". */
44
46
  readonly Escalated: "ESCALATED";
45
47
  /**
@@ -64,9 +66,11 @@ export declare const ResolutionStatus: {
64
66
  * status: not eligible. Shown in Agent Designer as "Hangup". */
65
67
  readonly Hangup: "HANGUP";
66
68
  /**
67
- * A copilot chat conversation. Billing status: not eligible. Shown in Agent Designer as
68
- * "Ineligible". Not the same as the `INELIGIBLE` billing status, which covers every not
69
- * eligible status. */
69
+ * A copilot chat or Advice conversation (tagged `copilot-chat` or `copilot-advice`). Other
70
+ * Agent Assist copilot conversations, such as those tagged `copilot` or `copilot-research`,
71
+ * keep the normal statuses but are never `ESCALATED`. Billing status: not eligible. Shown in
72
+ * Agent Designer as "Ineligible". Not the same as the `INELIGIBLE` billing status, which
73
+ * covers every not eligible status. */
70
74
  readonly Ineligible: "INELIGIBLE";
71
75
  };
72
76
  export type ResolutionStatus = (typeof ResolutionStatus)[keyof typeof ResolutionStatus] | string;
@@ -42,8 +42,10 @@ exports.ResolutionStatus = {
42
42
  * The conversation was handed off to a human agent. Either an AI analysis of the
43
43
  * transcript found a handoff, or a handoff action that Maven recognizes ran successfully.
44
44
  * The AI analysis can be wrong. Once escalation is detected, later messages do not undo
45
- * it, but the earlier checks, such as `NEGATIVE_FEEDBACK`, still take precedence. Copilot
46
- * conversations are never `ESCALATED`. Billing status: not billable. Shown in Agent
45
+ * it, but the earlier checks, such as `NEGATIVE_FEEDBACK`, still take precedence. Agent
46
+ * Assist copilot conversations are never `ESCALATED`, in any mode: those tagged `copilot`
47
+ * or `copilot-research` count as `RESOLVED` instead, and copilot chat and Advice
48
+ * conversations are `INELIGIBLE`. Billing status: not billable. Shown in Agent
47
49
  * Designer as "Escalated". */
48
50
  Escalated: "ESCALATED",
49
51
  /**
@@ -68,8 +70,10 @@ exports.ResolutionStatus = {
68
70
  * status: not eligible. Shown in Agent Designer as "Hangup". */
69
71
  Hangup: "HANGUP",
70
72
  /**
71
- * A copilot chat conversation. Billing status: not eligible. Shown in Agent Designer as
72
- * "Ineligible". Not the same as the `INELIGIBLE` billing status, which covers every not
73
- * eligible status. */
73
+ * A copilot chat or Advice conversation (tagged `copilot-chat` or `copilot-advice`). Other
74
+ * Agent Assist copilot conversations, such as those tagged `copilot` or `copilot-research`,
75
+ * keep the normal statuses but are never `ESCALATED`. Billing status: not eligible. Shown in
76
+ * Agent Designer as "Ineligible". Not the same as the `INELIGIBLE` billing status, which
77
+ * covers every not eligible status. */
74
78
  Ineligible: "INELIGIBLE",
75
79
  };
@@ -1,6 +1,11 @@
1
1
  import type * as MavenAGI from "../../../index";
2
2
  /**
3
3
  * Conversations with a simulation context are the runs on the Agent Designer "Simulator" page.
4
+ *
5
+ * By default, an action the agent executes in a simulation calls its app, with mode
6
+ * `SIMULATION`, and the app may act on real systems. To keep an action's app from being called, give it an
7
+ * `actionMocks` entry with a `fixedResponse`, or set `defaultActionBehavior` to a
8
+ * `fixedResponse`.
4
9
  */
5
10
  export interface SimulationContext extends MavenAGI.SimulationSetupFields {
6
11
  /**
@@ -1,5 +1,16 @@
1
1
  import type * as MavenAGI from "../../../index";
2
+ /**
3
+ * Checks the conversation's tags against `tags`. The `operator` decides how:
4
+ *
5
+ * - None: every listed tag must be present.
6
+ * - `CONTAINS` or `CONTAINS_ANY`: at least one listed tag must be present.
7
+ * - `NOT_CONTAINS` or `NOT_CONTAINS_ANY`: none of the listed tags may be present.
8
+ * - `CONTAINS_ALL`: every listed tag must be present.
9
+ * - `NOT_CONTAINS_ALL`: at least one listed tag must be missing.
10
+ * - `NOT`: met unless every listed tag is present. To require that none are present, use
11
+ * `NOT_CONTAINS_ANY`.
12
+ */
2
13
  export interface TagsPrecondition extends MavenAGI.PreconditionBase {
3
- /** The tags that must be present in the conversation context for the precondition to be met */
14
+ /** The tags the `operator` checks the conversation's tags against. */
4
15
  tags: Set<string>;
5
16
  }
@@ -532,6 +532,7 @@ export declare class ConversationClient {
532
532
  *
533
533
  * This CSV format is very simple and only allows for one column: `question`. A header containing this column is required.
534
534
  * Each row will generate one simulation conversation, using the provided response config, if present.
535
+ * The file can have at most 1,000 non-blank rows; a larger file is rejected with a 400.
535
536
  *
536
537
  * This API is offered for backwards compatibility.
537
538
  * Most API callers should create simulations programmatically to allow for more flexibility.
@@ -1819,6 +1819,7 @@ class ConversationClient {
1819
1819
  *
1820
1820
  * This CSV format is very simple and only allows for one column: `question`. A header containing this column is required.
1821
1821
  * Each row will generate one simulation conversation, using the provided response config, if present.
1822
+ * The file can have at most 1,000 non-blank rows; a larger file is rejected with a 400.
1822
1823
  *
1823
1824
  * This API is offered for backwards compatibility.
1824
1825
  * Most API callers should create simulations programmatically to allow for more flexibility.
@@ -2,7 +2,7 @@
2
2
  * Fields used to filter conversations by billing status:
3
3
  * - ELIGIBLE_AND_BILLABLE: Billable conversations with a RESOLVED resolution status. Shown in Agent Designer as "Billable".
4
4
  * - ELIGIBLE_AND_NOT_BILLABLE: Eligible conversations that are not RESOLVED. Shown in Agent Designer as "Not billable". Includes ERROR, IN_PROGRESS, ESCALATED, INCOMPLETE, and NEGATIVE_FEEDBACK.
5
- * - INELIGIBLE: Conversations excluded from billing consideration. Includes CONTENT_SAFETY_FLAGGED, PROMPT_ATTACK_FLAGGED, HANGUP, INELIGIBLE, and UNKNOWN. Shown in Agent Designer as "Not eligible". This differs from the INELIGIBLE resolution status, which covers copilot chat conversations only.
5
+ * - INELIGIBLE: Conversations excluded from billing consideration. Includes CONTENT_SAFETY_FLAGGED, PROMPT_ATTACK_FLAGGED, HANGUP, INELIGIBLE, and UNKNOWN. Shown in Agent Designer as "Not eligible". This differs from the INELIGIBLE resolution status, which covers copilot chat and Advice conversations only.
6
6
  *
7
7
  * Resolution-based pricing bills ELIGIBLE_AND_BILLABLE conversations. Volume-based pricing, used
8
8
  * for Voice and Proactive, bills ELIGIBLE_AND_BILLABLE and ELIGIBLE_AND_NOT_BILLABLE conversations.
@@ -6,7 +6,7 @@ exports.BillableFilterField = void 0;
6
6
  * Fields used to filter conversations by billing status:
7
7
  * - ELIGIBLE_AND_BILLABLE: Billable conversations with a RESOLVED resolution status. Shown in Agent Designer as "Billable".
8
8
  * - ELIGIBLE_AND_NOT_BILLABLE: Eligible conversations that are not RESOLVED. Shown in Agent Designer as "Not billable". Includes ERROR, IN_PROGRESS, ESCALATED, INCOMPLETE, and NEGATIVE_FEEDBACK.
9
- * - INELIGIBLE: Conversations excluded from billing consideration. Includes CONTENT_SAFETY_FLAGGED, PROMPT_ATTACK_FLAGGED, HANGUP, INELIGIBLE, and UNKNOWN. Shown in Agent Designer as "Not eligible". This differs from the INELIGIBLE resolution status, which covers copilot chat conversations only.
9
+ * - INELIGIBLE: Conversations excluded from billing consideration. Includes CONTENT_SAFETY_FLAGGED, PROMPT_ATTACK_FLAGGED, HANGUP, INELIGIBLE, and UNKNOWN. Shown in Agent Designer as "Not eligible". This differs from the INELIGIBLE resolution status, which covers copilot chat and Advice conversations only.
10
10
  *
11
11
  * Resolution-based pricing bills ELIGIBLE_AND_BILLABLE conversations. Volume-based pricing, used
12
12
  * for Voice and Proactive, bills ELIGIBLE_AND_BILLABLE and ELIGIBLE_AND_NOT_BILLABLE conversations.
@@ -226,6 +226,12 @@ export declare class KnowledgeClient {
226
226
  /**
227
227
  * Finalize the latest knowledge base version. Required to indicate the version is complete. Will throw an exception if the latest version is not in progress.
228
228
  *
229
+ * A `FULL` version starts empty and replaces the live documents. Finalizing a `FULL` version
230
+ * with status `SUCCEEDED` (the default when `status` is omitted) succeeds even if no
231
+ * documents were added to it, and once it is processed the knowledge base has no documents.
232
+ * A `PARTIAL` version starts from the live version's documents, so finalizing it keeps the
233
+ * documents it didn't change.
234
+ *
229
235
  * <Note>**Required permission:** `edit:agents`</Note>
230
236
  *
231
237
  * @param {string} knowledgeBaseReferenceId - The reference ID of the knowledge base to finalize a version for. All other entity ID fields are inferred from the request.
@@ -414,6 +420,10 @@ export declare class KnowledgeClient {
414
420
  /**
415
421
  * Get a knowledge document by its supplied version and document IDs. Response includes document content in markdown format.
416
422
  *
423
+ * The path takes the reference ID of a knowledge base version, not of the knowledge base.
424
+ * `searchKnowledgeDocuments` returns it as `knowledgeBaseVersionId.referenceId` when the
425
+ * document has one.
426
+ *
417
427
  * <Note>**Required permission:** `read:documents`</Note>
418
428
  *
419
429
  * @param {string} knowledgeBaseVersionReferenceId - The reference ID of the knowledge base version that contains the document. All other entity ID fields are inferred from the request.
@@ -439,6 +449,10 @@ export declare class KnowledgeClient {
439
449
  /**
440
450
  * Update mutable knowledge document fields that can be set independently of a knowledge base version.
441
451
  *
452
+ * Unlike `getKnowledgeDocument`, the path takes the knowledge base's reference ID, not a
453
+ * version's. The document is looked up in the knowledge base's live version, so a document
454
+ * that is only in a version still in progress is not found.
455
+ *
442
456
  * For any changes in document content see the `createKnowledgeBaseVersion` and `createKnowledgeDocument` endpoints.
443
457
  *
444
458
  * The `knowledgeBaseAppId` field can be provided to update a knowledge document in a knowledge base owned by a different app.
@@ -907,6 +907,12 @@ class KnowledgeClient {
907
907
  /**
908
908
  * Finalize the latest knowledge base version. Required to indicate the version is complete. Will throw an exception if the latest version is not in progress.
909
909
  *
910
+ * A `FULL` version starts empty and replaces the live documents. Finalizing a `FULL` version
911
+ * with status `SUCCEEDED` (the default when `status` is omitted) succeeds even if no
912
+ * documents were added to it, and once it is processed the knowledge base has no documents.
913
+ * A `PARTIAL` version starts from the live version's documents, so finalizing it keeps the
914
+ * documents it didn't change.
915
+ *
910
916
  * <Note>**Required permission:** `edit:agents`</Note>
911
917
  *
912
918
  * @param {string} knowledgeBaseReferenceId - The reference ID of the knowledge base to finalize a version for. All other entity ID fields are inferred from the request.
@@ -1588,6 +1594,10 @@ class KnowledgeClient {
1588
1594
  /**
1589
1595
  * Get a knowledge document by its supplied version and document IDs. Response includes document content in markdown format.
1590
1596
  *
1597
+ * The path takes the reference ID of a knowledge base version, not of the knowledge base.
1598
+ * `searchKnowledgeDocuments` returns it as `knowledgeBaseVersionId.referenceId` when the
1599
+ * document has one.
1600
+ *
1591
1601
  * <Note>**Required permission:** `read:documents`</Note>
1592
1602
  *
1593
1603
  * @param {string} knowledgeBaseVersionReferenceId - The reference ID of the knowledge base version that contains the document. All other entity ID fields are inferred from the request.
@@ -1700,6 +1710,10 @@ class KnowledgeClient {
1700
1710
  /**
1701
1711
  * Update mutable knowledge document fields that can be set independently of a knowledge base version.
1702
1712
  *
1713
+ * Unlike `getKnowledgeDocument`, the path takes the knowledge base's reference ID, not a
1714
+ * version's. The document is looked up in the knowledge base's live version, so a document
1715
+ * that is only in a version still in progress is not found.
1716
+ *
1703
1717
  * For any changes in document content see the `createKnowledgeBaseVersion` and `createKnowledgeDocument` endpoints.
1704
1718
  *
1705
1719
  * The `knowledgeBaseAppId` field can be provided to update a knowledge document in a knowledge base owned by a different app.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mavenagi",
3
- "version": "1.2.71",
3
+ "version": "1.2.72",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
package/reference.md CHANGED
@@ -2353,9 +2353,9 @@ await client.capabilities.deleteCapability("ACTION", "referenceId");
2353
2353
  Run one of an agent's capabilities once, as a simulation, and return what it produced.
2354
2354
 
2355
2355
  The caller supplies everything the capability reads, so it runs in isolation: no
2356
- conversation or agent user has to exist first. The capability is told its mode is
2357
- `SIMULATION`, the same as in a test suite run, so an app that honours it can avoid side
2358
- effects in real systems. Nothing here runs a capability live.
2356
+ conversation or agent user has to exist first. The capability's app is called with mode
2357
+ `SIMULATION`. What the app does in that mode is up to the app, and the platform does not
2358
+ stop it from acting on real systems.
2359
2359
 
2360
2360
  A simulated run is not recorded. It returns its result here and never appears in
2361
2361
  capability execution search.
@@ -6933,6 +6933,12 @@ await client.knowledge.createKnowledgeBaseVersion("help-center", {
6933
6933
 
6934
6934
  Finalize the latest knowledge base version. Required to indicate the version is complete. Will throw an exception if the latest version is not in progress.
6935
6935
 
6936
+ A `FULL` version starts empty and replaces the live documents. Finalizing a `FULL` version
6937
+ with status `SUCCEEDED` (the default when `status` is omitted) succeeds even if no
6938
+ documents were added to it, and once it is processed the knowledge base has no documents.
6939
+ A `PARTIAL` version starts from the live version's documents, so finalizing it keeps the
6940
+ documents it didn't change.
6941
+
6936
6942
  <Note>**Required permission:** `edit:agents`</Note>
6937
6943
  </dd>
6938
6944
  </dl>
@@ -7425,6 +7431,10 @@ await client.knowledge.deleteKnowledgeDocument("help-center", "getting-started",
7425
7431
 
7426
7432
  Get a knowledge document by its supplied version and document IDs. Response includes document content in markdown format.
7427
7433
 
7434
+ The path takes the reference ID of a knowledge base version, not of the knowledge base.
7435
+ `searchKnowledgeDocuments` returns it as `knowledgeBaseVersionId.referenceId` when the
7436
+ document has one.
7437
+
7428
7438
  <Note>**Required permission:** `read:documents`</Note>
7429
7439
  </dd>
7430
7440
  </dl>
@@ -7508,6 +7518,10 @@ await client.knowledge.getKnowledgeDocument("knowledgeBaseVersionReferenceId", "
7508
7518
 
7509
7519
  Update mutable knowledge document fields that can be set independently of a knowledge base version.
7510
7520
 
7521
+ Unlike `getKnowledgeDocument`, the path takes the knowledge base's reference ID, not a
7522
+ version's. The document is looked up in the knowledge base's live version, so a document
7523
+ that is only in a version still in progress is not found.
7524
+
7511
7525
  For any changes in document content see the `createKnowledgeBaseVersion` and `createKnowledgeDocument` endpoints.
7512
7526
 
7513
7527
  The `knowledgeBaseAppId` field can be provided to update a knowledge document in a knowledge base owned by a different app.
@@ -1,6 +1,7 @@
1
1
  import type * as MavenAGI from "../../../../api/index";
2
2
  import * as core from "../../../../core";
3
3
  import type * as serializers from "../../../index";
4
+ import { FieldCondition } from "./FieldCondition";
4
5
  import { PreconditionBase } from "./PreconditionBase";
5
6
  export declare const MetadataPrecondition: core.serialization.ObjectSchema<serializers.MetadataPrecondition.Raw, MavenAGI.MetadataPrecondition>;
6
7
  export declare namespace MetadataPrecondition {
@@ -8,5 +9,6 @@ export declare namespace MetadataPrecondition {
8
9
  key: string;
9
10
  value?: string | null;
10
11
  values?: string[] | null;
12
+ fieldCondition?: FieldCondition.Raw | null;
11
13
  }
12
14
  }
@@ -36,11 +36,13 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.MetadataPrecondition = void 0;
38
38
  const core = __importStar(require("../../../../core"));
39
+ const FieldCondition_1 = require("./FieldCondition");
39
40
  const PreconditionBase_1 = require("./PreconditionBase");
40
41
  exports.MetadataPrecondition = core.serialization
41
42
  .object({
42
43
  key: core.serialization.string(),
43
44
  value: core.serialization.string().optional(),
44
45
  values: core.serialization.list(core.serialization.string()).optional(),
46
+ fieldCondition: FieldCondition_1.FieldCondition.optional(),
45
47
  })
46
48
  .extend(PreconditionBase_1.PreconditionBase);
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.2.71";
1
+ export declare const SDK_VERSION = "1.2.72";
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.71";
4
+ exports.SDK_VERSION = "1.2.72";