mavenagi 1.2.56 → 1.2.58
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 +2 -2
- package/Client.d.ts +3 -0
- package/Client.js +21 -16
- package/api/resources/analytics/types/ConversationBasicMetric.d.ts +5 -0
- package/api/resources/analytics/types/ConversationGroupBy.d.ts +9 -1
- package/api/resources/analytics/types/ConversationNumericMetric.d.ts +5 -0
- package/api/resources/analytics/types/ConversationTableRequest.d.ts +6 -0
- package/api/resources/charters/index.d.ts +1 -0
- package/api/resources/charters/index.js +17 -0
- package/api/resources/charters/types/CharterChildrenExclusionPolicy.d.ts +17 -0
- package/api/resources/charters/types/CharterChildrenExclusionPolicy.js +20 -0
- package/api/resources/charters/types/CharterStatus.d.ts +16 -0
- package/api/resources/charters/types/CharterStatus.js +19 -0
- package/api/resources/charters/types/CharterSummary.d.ts +28 -0
- package/api/resources/charters/types/CharterType.d.ts +25 -0
- package/api/resources/charters/types/CharterType.js +28 -0
- package/api/resources/charters/types/index.d.ts +4 -0
- package/api/resources/charters/types/index.js +20 -0
- package/api/resources/commons/types/ActionParameter.d.ts +2 -2
- package/api/resources/commons/types/BaseCursorRequest.d.ts +21 -0
- package/api/resources/commons/types/BaseCursorRequest.js +3 -0
- package/api/resources/commons/types/BotObjectResponse.d.ts +2 -4
- package/api/resources/commons/types/CursorPage.d.ts +12 -0
- package/api/resources/commons/types/CursorPage.js +3 -0
- package/api/resources/commons/types/FieldCondition.d.ts +45 -0
- package/api/resources/commons/types/FieldCondition.js +3 -0
- package/api/resources/commons/types/IntelligentFieldPrecondition.d.ts +1 -1
- package/api/resources/commons/types/IntelligentFieldPreconditionResponse.d.ts +1 -1
- package/api/resources/commons/types/KeyValueEntryCondition.d.ts +1 -1
- package/api/resources/commons/types/TextFormat.d.ts +13 -0
- package/api/resources/commons/types/TextFormat.js +3 -0
- package/api/resources/commons/types/TextFormatJsonSchema.d.ts +35 -0
- package/api/resources/commons/types/TextFormatJsonSchema.js +3 -0
- package/api/resources/commons/types/TextFormatText.d.ts +4 -0
- package/api/resources/commons/types/TextFormatText.js +3 -0
- package/api/resources/commons/types/UniversalCondition.d.ts +3 -3
- package/api/resources/commons/types/index.d.ts +6 -1
- package/api/resources/commons/types/index.js +6 -1
- package/api/resources/conversation/client/Client.d.ts +32 -1
- package/api/resources/conversation/client/Client.js +116 -1
- package/api/resources/conversation/types/AskRequest.d.ts +59 -0
- package/api/resources/conversation/types/AskStreamObjectEvent.d.ts +7 -0
- package/api/resources/conversation/types/AskStreamObjectEvent.js +3 -0
- package/api/resources/conversation/types/ConversationField.d.ts +8 -0
- package/api/resources/conversation/types/ConversationField.js +8 -0
- package/api/resources/conversation/types/ConversationRequest.d.ts +12 -1
- package/api/resources/conversation/types/ConversationsCursorSearchRequest.d.ts +4 -0
- package/api/resources/conversation/types/ConversationsCursorSearchRequest.js +3 -0
- package/api/resources/conversation/types/ConversationsCursorSearchResponse.d.ts +11 -0
- package/api/resources/conversation/types/ConversationsCursorSearchResponse.js +3 -0
- package/api/resources/conversation/types/ConversationsSearchRequest.d.ts +5 -0
- package/api/resources/conversation/types/NumericConversationField.d.ts +4 -0
- package/api/resources/conversation/types/NumericConversationField.js +4 -0
- package/api/resources/conversation/types/StreamResponse.d.ts +4 -1
- package/api/resources/conversation/types/index.d.ts +3 -0
- package/api/resources/conversation/types/index.js +3 -0
- package/api/resources/index.d.ts +5 -0
- package/api/resources/index.js +6 -1
- package/api/resources/intelligentFields/client/Client.d.ts +156 -0
- package/api/resources/intelligentFields/client/Client.js +627 -0
- package/api/resources/intelligentFields/client/index.d.ts +1 -0
- package/api/resources/intelligentFields/client/index.js +17 -0
- package/api/resources/intelligentFields/client/requests/IntelligentFieldDeleteRequest.d.ts +12 -0
- package/api/resources/intelligentFields/client/requests/IntelligentFieldDeleteRequest.js +3 -0
- package/api/resources/intelligentFields/client/requests/IntelligentFieldGetRequest.d.ts +8 -0
- package/api/resources/intelligentFields/client/requests/IntelligentFieldGetRequest.js +3 -0
- package/api/resources/intelligentFields/client/requests/IntelligentFieldPatchRequest.d.ts +26 -0
- package/api/resources/intelligentFields/client/requests/IntelligentFieldPatchRequest.js +3 -0
- package/api/resources/intelligentFields/client/requests/index.d.ts +3 -0
- package/api/resources/intelligentFields/client/requests/index.js +2 -0
- package/api/resources/intelligentFields/exports.d.ts +2 -0
- package/api/resources/intelligentFields/exports.js +21 -0
- package/api/resources/intelligentFields/index.d.ts +2 -0
- package/api/resources/intelligentFields/index.js +18 -0
- package/api/resources/intelligentFields/types/EnumOption.d.ts +9 -0
- package/api/resources/intelligentFields/types/EnumOption.js +3 -0
- package/api/resources/intelligentFields/types/IntelligentFieldBase.d.ts +7 -0
- package/api/resources/intelligentFields/types/IntelligentFieldBase.js +3 -0
- package/api/resources/intelligentFields/types/IntelligentFieldCore.d.ts +28 -0
- package/api/resources/intelligentFields/types/IntelligentFieldCore.js +3 -0
- package/api/resources/intelligentFields/types/IntelligentFieldDetailResponse.d.ts +36 -0
- package/api/resources/intelligentFields/types/IntelligentFieldDetailResponse.js +3 -0
- package/api/resources/intelligentFields/types/IntelligentFieldRequest.d.ts +28 -0
- package/api/resources/intelligentFields/types/IntelligentFieldRequest.js +3 -0
- package/api/resources/intelligentFields/types/IntelligentFieldResponse.d.ts +41 -0
- package/api/resources/intelligentFields/types/IntelligentFieldResponse.js +3 -0
- package/api/resources/intelligentFields/types/IntelligentFieldStatus.d.ts +7 -0
- package/api/resources/intelligentFields/types/IntelligentFieldStatus.js +10 -0
- package/api/resources/intelligentFields/types/IntelligentFieldType.d.ts +9 -0
- package/api/resources/intelligentFields/types/IntelligentFieldType.js +12 -0
- package/api/resources/intelligentFields/types/IntelligentFieldValueEntityFilter.d.ts +8 -0
- package/api/resources/intelligentFields/types/IntelligentFieldValueEntityFilter.js +3 -0
- package/api/resources/intelligentFields/types/IntelligentFieldValueFieldFilter.d.ts +10 -0
- package/api/resources/intelligentFields/types/IntelligentFieldValueFieldFilter.js +3 -0
- package/api/resources/intelligentFields/types/IntelligentFieldValueSearchRequest.d.ts +17 -0
- package/api/resources/intelligentFields/types/IntelligentFieldValueSearchRequest.js +3 -0
- package/api/resources/intelligentFields/types/IntelligentFieldValueSearchResponse.d.ts +35 -0
- package/api/resources/intelligentFields/types/IntelligentFieldValueSearchResponse.js +3 -0
- package/api/resources/intelligentFields/types/IntelligentFieldValueSortField.d.ts +5 -0
- package/api/resources/intelligentFields/types/IntelligentFieldValueSortField.js +8 -0
- package/api/resources/intelligentFields/types/index.d.ts +13 -0
- package/api/resources/intelligentFields/types/index.js +29 -0
- package/api/resources/knowledge/client/Client.d.ts +33 -0
- package/api/resources/knowledge/client/Client.js +117 -0
- package/api/resources/knowledge/types/KnowledgeBaseDocumentDeltas.d.ts +16 -0
- package/api/resources/knowledge/types/KnowledgeBaseDocumentDeltas.js +3 -0
- package/api/resources/knowledge/types/KnowledgeBaseResponse.d.ts +5 -0
- package/api/resources/knowledge/types/KnowledgeBaseVersion.d.ts +30 -0
- package/api/resources/knowledge/types/KnowledgeBaseVersionProgress.d.ts +29 -0
- package/api/resources/knowledge/types/KnowledgeBaseVersionProgress.js +3 -0
- package/api/resources/knowledge/types/KnowledgeBaseVersionProgressRequest.d.ts +24 -0
- package/api/resources/knowledge/types/KnowledgeBaseVersionProgressRequest.js +3 -0
- package/api/resources/knowledge/types/index.d.ts +3 -0
- package/api/resources/knowledge/types/index.js +3 -0
- package/api/resources/segments/client/Client.js +3 -1
- package/api/resources/segments/client/requests/SegmentDeleteRequest.d.ts +12 -0
- package/api/resources/segments/types/SegmentPatchRequest.d.ts +8 -0
- package/api/resources/segments/types/SegmentRequest.d.ts +8 -0
- package/api/resources/segments/types/SegmentSummary.d.ts +14 -0
- package/api/resources/segments/types/SegmentSummary.js +3 -0
- package/api/resources/segments/types/index.d.ts +1 -0
- package/api/resources/segments/types/index.js +1 -0
- package/package.json +1 -1
- package/reference.md +552 -1
- package/serialization/resources/analytics/types/ConversationBasicMetric.d.ts +2 -0
- package/serialization/resources/analytics/types/ConversationBasicMetric.js +2 -0
- package/serialization/resources/analytics/types/ConversationGroupBy.d.ts +2 -0
- package/serialization/resources/analytics/types/ConversationGroupBy.js +2 -0
- package/serialization/resources/analytics/types/ConversationNumericMetric.d.ts +2 -0
- package/serialization/resources/analytics/types/ConversationNumericMetric.js +2 -0
- package/serialization/resources/charters/index.d.ts +1 -0
- package/serialization/resources/charters/index.js +17 -0
- package/serialization/resources/charters/types/CharterChildrenExclusionPolicy.d.ts +7 -0
- package/serialization/resources/charters/types/CharterChildrenExclusionPolicy.js +39 -0
- package/serialization/resources/charters/types/CharterStatus.d.ts +7 -0
- package/serialization/resources/charters/types/CharterStatus.js +39 -0
- package/serialization/resources/charters/types/CharterSummary.d.ts +22 -0
- package/serialization/resources/charters/types/CharterSummary.js +54 -0
- package/serialization/resources/charters/types/CharterType.d.ts +7 -0
- package/serialization/resources/charters/types/CharterType.js +39 -0
- package/serialization/resources/charters/types/index.d.ts +4 -0
- package/serialization/resources/charters/types/index.js +20 -0
- package/serialization/resources/commons/types/BaseCursorRequest.d.ts +11 -0
- package/serialization/resources/commons/types/BaseCursorRequest.js +43 -0
- package/serialization/resources/commons/types/BotObjectResponse.d.ts +0 -1
- package/serialization/resources/commons/types/BotObjectResponse.js +0 -1
- package/serialization/resources/commons/types/CursorPage.d.ts +9 -0
- package/serialization/resources/commons/types/CursorPage.js +41 -0
- package/serialization/resources/commons/types/{IntelligentFieldCondition.d.ts → FieldCondition.d.ts} +3 -3
- package/serialization/resources/commons/types/{IntelligentFieldCondition.js → FieldCondition.js} +2 -2
- package/serialization/resources/commons/types/IntelligentFieldPrecondition.d.ts +2 -2
- package/serialization/resources/commons/types/IntelligentFieldPrecondition.js +2 -2
- package/serialization/resources/commons/types/IntelligentFieldPreconditionResponse.d.ts +2 -2
- package/serialization/resources/commons/types/IntelligentFieldPreconditionResponse.js +2 -2
- package/serialization/resources/commons/types/KeyValueEntryCondition.d.ts +2 -2
- package/serialization/resources/commons/types/KeyValueEntryCondition.js +2 -2
- package/serialization/resources/commons/types/TextFormat.d.ts +15 -0
- package/serialization/resources/commons/types/TextFormat.js +49 -0
- package/serialization/resources/commons/types/TextFormatJsonSchema.d.ts +10 -0
- package/serialization/resources/commons/types/TextFormatJsonSchema.js +42 -0
- package/serialization/resources/commons/types/TextFormatText.d.ts +7 -0
- package/serialization/resources/commons/types/TextFormatText.js +39 -0
- package/serialization/resources/commons/types/index.d.ts +6 -1
- package/serialization/resources/commons/types/index.js +6 -1
- package/serialization/resources/conversation/types/AskRequest.d.ts +2 -0
- package/serialization/resources/conversation/types/AskRequest.js +2 -0
- package/serialization/resources/conversation/types/AskStreamObjectEvent.d.ts +9 -0
- package/serialization/resources/conversation/types/AskStreamObjectEvent.js +40 -0
- package/serialization/resources/conversation/types/ConversationField.d.ts +1 -1
- package/serialization/resources/conversation/types/ConversationField.js +2 -0
- package/serialization/resources/conversation/types/ConversationsCursorSearchRequest.d.ts +11 -0
- package/serialization/resources/conversation/types/ConversationsCursorSearchRequest.js +45 -0
- package/serialization/resources/conversation/types/ConversationsCursorSearchResponse.d.ts +12 -0
- package/serialization/resources/conversation/types/ConversationsCursorSearchResponse.js +46 -0
- package/serialization/resources/conversation/types/NumericConversationField.d.ts +1 -1
- package/serialization/resources/conversation/types/NumericConversationField.js +1 -0
- package/serialization/resources/conversation/types/StreamResponse.d.ts +5 -1
- package/serialization/resources/conversation/types/StreamResponse.js +2 -0
- package/serialization/resources/conversation/types/index.d.ts +3 -0
- package/serialization/resources/conversation/types/index.js +3 -0
- package/serialization/resources/index.d.ts +5 -0
- package/serialization/resources/index.js +6 -1
- package/serialization/resources/intelligentFields/client/index.d.ts +1 -0
- package/serialization/resources/intelligentFields/client/index.js +17 -0
- package/serialization/resources/intelligentFields/client/requests/IntelligentFieldPatchRequest.d.ts +17 -0
- package/serialization/resources/intelligentFields/client/requests/IntelligentFieldPatchRequest.js +49 -0
- package/serialization/resources/intelligentFields/client/requests/index.d.ts +1 -0
- package/serialization/resources/intelligentFields/client/requests/index.js +5 -0
- package/serialization/resources/intelligentFields/index.d.ts +2 -0
- package/serialization/resources/intelligentFields/index.js +18 -0
- package/serialization/resources/intelligentFields/types/EnumOption.d.ts +10 -0
- package/serialization/resources/intelligentFields/types/EnumOption.js +42 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldBase.d.ts +13 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldBase.js +47 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldCore.d.ts +15 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldCore.js +47 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldDetailResponse.d.ts +11 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldDetailResponse.js +45 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldRequest.d.ts +11 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldRequest.js +45 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldResponse.d.ts +15 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldResponse.js +49 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldStatus.d.ts +7 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldStatus.js +39 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldType.d.ts +7 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldType.js +39 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldValueEntityFilter.d.ts +10 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldValueEntityFilter.js +42 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldValueFieldFilter.d.ts +12 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldValueFieldFilter.js +44 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldValueSearchRequest.d.ts +20 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldValueSearchRequest.js +54 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldValueSearchResponse.d.ts +11 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldValueSearchResponse.js +45 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldValueSortField.d.ts +7 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldValueSortField.js +39 -0
- package/serialization/resources/intelligentFields/types/index.d.ts +13 -0
- package/serialization/resources/intelligentFields/types/index.js +29 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseDocumentDeltas.d.ts +11 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseDocumentDeltas.js +43 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseResponse.d.ts +2 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseResponse.js +2 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseVersion.d.ts +4 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseVersion.js +4 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseVersionProgress.d.ts +11 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseVersionProgress.js +43 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseVersionProgressRequest.d.ts +13 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseVersionProgressRequest.js +45 -0
- package/serialization/resources/knowledge/types/index.d.ts +3 -0
- package/serialization/resources/knowledge/types/index.js +3 -0
- package/serialization/resources/segments/types/SegmentPatchRequest.d.ts +2 -0
- package/serialization/resources/segments/types/SegmentPatchRequest.js +2 -0
- package/serialization/resources/segments/types/SegmentRequest.d.ts +2 -0
- package/serialization/resources/segments/types/SegmentRequest.js +2 -0
- package/serialization/resources/segments/types/SegmentSummary.d.ts +14 -0
- package/serialization/resources/segments/types/SegmentSummary.js +47 -0
- package/serialization/resources/segments/types/index.d.ts +1 -0
- package/serialization/resources/segments/types/index.js +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/commons/types/IntelligentFieldCondition.d.ts +0 -37
- /package/api/resources/{commons/types/IntelligentFieldCondition.js → charters/types/CharterSummary.js} +0 -0
|
@@ -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.EnumOption = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
exports.EnumOption = core.serialization.object({
|
|
40
|
+
value: core.serialization.string(),
|
|
41
|
+
label: core.serialization.string().optional(),
|
|
42
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { EntityIdWithoutAgent } from "../../commons/types/EntityIdWithoutAgent";
|
|
5
|
+
import { EntityType } from "../../commons/types/EntityType";
|
|
6
|
+
import { IntelligentFieldCore } from "./IntelligentFieldCore";
|
|
7
|
+
export declare const IntelligentFieldBase: core.serialization.ObjectSchema<serializers.IntelligentFieldBase.Raw, MavenAGI.IntelligentFieldBase>;
|
|
8
|
+
export declare namespace IntelligentFieldBase {
|
|
9
|
+
interface Raw extends IntelligentFieldCore.Raw {
|
|
10
|
+
entityType: EntityType.Raw;
|
|
11
|
+
variantId?: EntityIdWithoutAgent.Raw | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -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.IntelligentFieldBase = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const EntityIdWithoutAgent_1 = require("../../commons/types/EntityIdWithoutAgent");
|
|
40
|
+
const EntityType_1 = require("../../commons/types/EntityType");
|
|
41
|
+
const IntelligentFieldCore_1 = require("./IntelligentFieldCore");
|
|
42
|
+
exports.IntelligentFieldBase = core.serialization
|
|
43
|
+
.object({
|
|
44
|
+
entityType: EntityType_1.EntityType,
|
|
45
|
+
variantId: EntityIdWithoutAgent_1.EntityIdWithoutAgent.optional(),
|
|
46
|
+
})
|
|
47
|
+
.extend(IntelligentFieldCore_1.IntelligentFieldCore);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { EnumOption } from "./EnumOption";
|
|
5
|
+
import { IntelligentFieldType } from "./IntelligentFieldType";
|
|
6
|
+
export declare const IntelligentFieldCore: core.serialization.ObjectSchema<serializers.IntelligentFieldCore.Raw, MavenAGI.IntelligentFieldCore>;
|
|
7
|
+
export declare namespace IntelligentFieldCore {
|
|
8
|
+
interface Raw {
|
|
9
|
+
name: string;
|
|
10
|
+
description?: string | null;
|
|
11
|
+
validationType: IntelligentFieldType.Raw;
|
|
12
|
+
definition: string;
|
|
13
|
+
enumOptions?: EnumOption.Raw[] | null;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -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.IntelligentFieldCore = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const EnumOption_1 = require("./EnumOption");
|
|
40
|
+
const IntelligentFieldType_1 = require("./IntelligentFieldType");
|
|
41
|
+
exports.IntelligentFieldCore = core.serialization.object({
|
|
42
|
+
name: core.serialization.string(),
|
|
43
|
+
description: core.serialization.string().optional(),
|
|
44
|
+
validationType: IntelligentFieldType_1.IntelligentFieldType,
|
|
45
|
+
definition: core.serialization.string(),
|
|
46
|
+
enumOptions: core.serialization.list(EnumOption_1.EnumOption).optional(),
|
|
47
|
+
});
|
|
@@ -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 { CharterSummary } from "../../charters/types/CharterSummary";
|
|
5
|
+
import { IntelligentFieldResponse } from "./IntelligentFieldResponse";
|
|
6
|
+
export declare const IntelligentFieldDetailResponse: core.serialization.ObjectSchema<serializers.IntelligentFieldDetailResponse.Raw, MavenAGI.IntelligentFieldDetailResponse>;
|
|
7
|
+
export declare namespace IntelligentFieldDetailResponse {
|
|
8
|
+
interface Raw extends IntelligentFieldResponse.Raw {
|
|
9
|
+
referencingCharters?: CharterSummary.Raw[] | null;
|
|
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.IntelligentFieldDetailResponse = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const CharterSummary_1 = require("../../charters/types/CharterSummary");
|
|
40
|
+
const IntelligentFieldResponse_1 = require("./IntelligentFieldResponse");
|
|
41
|
+
exports.IntelligentFieldDetailResponse = core.serialization
|
|
42
|
+
.object({
|
|
43
|
+
referencingCharters: core.serialization.list(CharterSummary_1.CharterSummary).optional(),
|
|
44
|
+
})
|
|
45
|
+
.extend(IntelligentFieldResponse_1.IntelligentFieldResponse);
|
|
@@ -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 { EntityIdBase } from "../../commons/types/EntityIdBase";
|
|
5
|
+
import { IntelligentFieldBase } from "./IntelligentFieldBase";
|
|
6
|
+
export declare const IntelligentFieldRequest: core.serialization.ObjectSchema<serializers.IntelligentFieldRequest.Raw, MavenAGI.IntelligentFieldRequest>;
|
|
7
|
+
export declare namespace IntelligentFieldRequest {
|
|
8
|
+
interface Raw extends IntelligentFieldBase.Raw {
|
|
9
|
+
fieldId: EntityIdBase.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.IntelligentFieldRequest = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const EntityIdBase_1 = require("../../commons/types/EntityIdBase");
|
|
40
|
+
const IntelligentFieldBase_1 = require("./IntelligentFieldBase");
|
|
41
|
+
exports.IntelligentFieldRequest = core.serialization
|
|
42
|
+
.object({
|
|
43
|
+
fieldId: EntityIdBase_1.EntityIdBase,
|
|
44
|
+
})
|
|
45
|
+
.extend(IntelligentFieldBase_1.IntelligentFieldBase);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { EntityId } from "../../commons/types/EntityId";
|
|
5
|
+
import { IntelligentFieldBase } from "./IntelligentFieldBase";
|
|
6
|
+
import { IntelligentFieldStatus } from "./IntelligentFieldStatus";
|
|
7
|
+
export declare const IntelligentFieldResponse: core.serialization.ObjectSchema<serializers.IntelligentFieldResponse.Raw, MavenAGI.IntelligentFieldResponse>;
|
|
8
|
+
export declare namespace IntelligentFieldResponse {
|
|
9
|
+
interface Raw extends IntelligentFieldBase.Raw {
|
|
10
|
+
fieldId: EntityId.Raw;
|
|
11
|
+
status: IntelligentFieldStatus.Raw;
|
|
12
|
+
createdAt?: string | null;
|
|
13
|
+
updatedAt?: string | null;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
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.IntelligentFieldResponse = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const EntityId_1 = require("../../commons/types/EntityId");
|
|
40
|
+
const IntelligentFieldBase_1 = require("./IntelligentFieldBase");
|
|
41
|
+
const IntelligentFieldStatus_1 = require("./IntelligentFieldStatus");
|
|
42
|
+
exports.IntelligentFieldResponse = core.serialization
|
|
43
|
+
.object({
|
|
44
|
+
fieldId: EntityId_1.EntityId,
|
|
45
|
+
status: IntelligentFieldStatus_1.IntelligentFieldStatus,
|
|
46
|
+
createdAt: core.serialization.date().optional(),
|
|
47
|
+
updatedAt: core.serialization.date().optional(),
|
|
48
|
+
})
|
|
49
|
+
.extend(IntelligentFieldBase_1.IntelligentFieldBase);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
export declare const IntelligentFieldStatus: core.serialization.Schema<serializers.IntelligentFieldStatus.Raw, MavenAGI.IntelligentFieldStatus>;
|
|
5
|
+
export declare namespace IntelligentFieldStatus {
|
|
6
|
+
type Raw = "ACTIVE" | "INACTIVE" | "DELETED";
|
|
7
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.IntelligentFieldStatus = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
exports.IntelligentFieldStatus = core.serialization.forwardCompatibleEnum_(["ACTIVE", "INACTIVE", "DELETED"]);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
export declare const IntelligentFieldType: core.serialization.Schema<serializers.IntelligentFieldType.Raw, MavenAGI.IntelligentFieldType>;
|
|
5
|
+
export declare namespace IntelligentFieldType {
|
|
6
|
+
type Raw = "STRING" | "MULTILINE" | "MULTI_SELECT" | "BOOLEAN" | "NUMBER";
|
|
7
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.IntelligentFieldType = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
exports.IntelligentFieldType = core.serialization.forwardCompatibleEnum_(["STRING", "MULTILINE", "MULTI_SELECT", "BOOLEAN", "NUMBER"]);
|
package/serialization/resources/intelligentFields/types/IntelligentFieldValueEntityFilter.d.ts
ADDED
|
@@ -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 { EntityId } from "../../commons/types/EntityId";
|
|
5
|
+
export declare const IntelligentFieldValueEntityFilter: core.serialization.ObjectSchema<serializers.IntelligentFieldValueEntityFilter.Raw, MavenAGI.IntelligentFieldValueEntityFilter>;
|
|
6
|
+
export declare namespace IntelligentFieldValueEntityFilter {
|
|
7
|
+
interface Raw {
|
|
8
|
+
entityIds?: EntityId.Raw[] | null;
|
|
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.IntelligentFieldValueEntityFilter = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const EntityId_1 = require("../../commons/types/EntityId");
|
|
40
|
+
exports.IntelligentFieldValueEntityFilter = core.serialization.object({
|
|
41
|
+
entityIds: core.serialization.list(EntityId_1.EntityId).optional(),
|
|
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 { EntityId } from "../../commons/types/EntityId";
|
|
5
|
+
import { IntelligentFieldType } from "./IntelligentFieldType";
|
|
6
|
+
export declare const IntelligentFieldValueFieldFilter: core.serialization.ObjectSchema<serializers.IntelligentFieldValueFieldFilter.Raw, MavenAGI.IntelligentFieldValueFieldFilter>;
|
|
7
|
+
export declare namespace IntelligentFieldValueFieldFilter {
|
|
8
|
+
interface Raw {
|
|
9
|
+
fieldIds?: EntityId.Raw[] | null;
|
|
10
|
+
validationTypes?: IntelligentFieldType.Raw[] | null;
|
|
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.IntelligentFieldValueFieldFilter = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const EntityId_1 = require("../../commons/types/EntityId");
|
|
40
|
+
const IntelligentFieldType_1 = require("./IntelligentFieldType");
|
|
41
|
+
exports.IntelligentFieldValueFieldFilter = core.serialization.object({
|
|
42
|
+
fieldIds: core.serialization.list(EntityId_1.EntityId).optional(),
|
|
43
|
+
validationTypes: core.serialization.list(IntelligentFieldType_1.IntelligentFieldType).optional(),
|
|
44
|
+
});
|
package/serialization/resources/intelligentFields/types/IntelligentFieldValueSearchRequest.d.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { BaseCappedPaginatedRequest } from "../../commons/types/BaseCappedPaginatedRequest";
|
|
5
|
+
import { EntityIdWithoutAgent } from "../../commons/types/EntityIdWithoutAgent";
|
|
6
|
+
import { IntelligentFieldValueEntityFilter } from "./IntelligentFieldValueEntityFilter";
|
|
7
|
+
import { IntelligentFieldValueFieldFilter } from "./IntelligentFieldValueFieldFilter";
|
|
8
|
+
import { IntelligentFieldValueSortField } from "./IntelligentFieldValueSortField";
|
|
9
|
+
export declare const IntelligentFieldValueSearchRequest: core.serialization.ObjectSchema<serializers.IntelligentFieldValueSearchRequest.Raw, MavenAGI.IntelligentFieldValueSearchRequest>;
|
|
10
|
+
export declare namespace IntelligentFieldValueSearchRequest {
|
|
11
|
+
interface Raw extends BaseCappedPaginatedRequest.Raw {
|
|
12
|
+
fieldFilter?: IntelligentFieldValueFieldFilter.Raw | null;
|
|
13
|
+
entityFilter?: IntelligentFieldValueEntityFilter.Raw | null;
|
|
14
|
+
createdAfter?: string | null;
|
|
15
|
+
createdBefore?: string | null;
|
|
16
|
+
includeUnknownValues?: boolean | null;
|
|
17
|
+
sort?: IntelligentFieldValueSortField.Raw | null;
|
|
18
|
+
variantId?: EntityIdWithoutAgent.Raw | null;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
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.IntelligentFieldValueSearchRequest = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const BaseCappedPaginatedRequest_1 = require("../../commons/types/BaseCappedPaginatedRequest");
|
|
40
|
+
const EntityIdWithoutAgent_1 = require("../../commons/types/EntityIdWithoutAgent");
|
|
41
|
+
const IntelligentFieldValueEntityFilter_1 = require("./IntelligentFieldValueEntityFilter");
|
|
42
|
+
const IntelligentFieldValueFieldFilter_1 = require("./IntelligentFieldValueFieldFilter");
|
|
43
|
+
const IntelligentFieldValueSortField_1 = require("./IntelligentFieldValueSortField");
|
|
44
|
+
exports.IntelligentFieldValueSearchRequest = core.serialization
|
|
45
|
+
.object({
|
|
46
|
+
fieldFilter: IntelligentFieldValueFieldFilter_1.IntelligentFieldValueFieldFilter.optional(),
|
|
47
|
+
entityFilter: IntelligentFieldValueEntityFilter_1.IntelligentFieldValueEntityFilter.optional(),
|
|
48
|
+
createdAfter: core.serialization.date().optional(),
|
|
49
|
+
createdBefore: core.serialization.date().optional(),
|
|
50
|
+
includeUnknownValues: core.serialization.boolean().optional(),
|
|
51
|
+
sort: IntelligentFieldValueSortField_1.IntelligentFieldValueSortField.optional(),
|
|
52
|
+
variantId: EntityIdWithoutAgent_1.EntityIdWithoutAgent.optional(),
|
|
53
|
+
})
|
|
54
|
+
.extend(BaseCappedPaginatedRequest_1.BaseCappedPaginatedRequest);
|