@targetprocess/shared-data-model-client 1.32.2 → 1.33.0
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/dist/api/settings/profile/current/index.d.ts +1 -1
- package/dist/api/settings/profile/current/index.js +1 -1
- package/dist/mcp/index.d.ts +5 -0
- package/dist/mcp/index.js +7 -2
- package/dist/mcp/tools/index.d.ts +19 -0
- package/dist/mcp/tools/index.js +22 -0
- package/dist/mcp/tools/query_entities/index.d.ts +50 -0
- package/dist/mcp/tools/query_entities/index.js +36 -0
- package/dist/models/index.d.ts +94 -0
- package/dist/models/index.js +114 -0
- package/package.json +1 -1
- package/src/api/settings/profile/current/index.ts +1 -1
- package/src/kiota-lock.json +1 -1
- package/src/mcp/index.ts +9 -0
- package/src/mcp/tools/index.ts +31 -0
- package/src/mcp/tools/query_entities/index.ts +74 -0
- package/src/models/index.ts +159 -0
- package/src/v1.json +217 -2
|
@@ -50,7 +50,7 @@ export interface CurrentRequestBuilderGetQueryParameters {
|
|
|
50
50
|
/**
|
|
51
51
|
* Uri template for the request builder.
|
|
52
52
|
*/
|
|
53
|
-
export declare const CurrentRequestBuilderUriTemplate = "{+baseurl}/api/settings/profile/current?validate
|
|
53
|
+
export declare const CurrentRequestBuilderUriTemplate = "{+baseurl}/api/settings/profile/current{?validate*}";
|
|
54
54
|
/**
|
|
55
55
|
* Metadata for all the requests in the request builder.
|
|
56
56
|
*/
|
|
@@ -9,7 +9,7 @@ const index_js_1 = require("../../../../models/index.js");
|
|
|
9
9
|
/**
|
|
10
10
|
* Uri template for the request builder.
|
|
11
11
|
*/
|
|
12
|
-
exports.CurrentRequestBuilderUriTemplate = "{+baseurl}/api/settings/profile/current?validate
|
|
12
|
+
exports.CurrentRequestBuilderUriTemplate = "{+baseurl}/api/settings/profile/current{?validate*}";
|
|
13
13
|
/**
|
|
14
14
|
* Metadata for all the requests in the request builder.
|
|
15
15
|
*/
|
package/dist/mcp/index.d.ts
CHANGED
|
@@ -1,9 +1,14 @@
|
|
|
1
|
+
import { type ToolsRequestBuilder } from './tools/index.js';
|
|
1
2
|
import { type WellKnownRequestBuilder } from './wellKnown/index.js';
|
|
2
3
|
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata } from '@microsoft/kiota-abstractions';
|
|
3
4
|
/**
|
|
4
5
|
* Builds and executes requests for operations under /mcp
|
|
5
6
|
*/
|
|
6
7
|
export interface McpRequestBuilder extends BaseRequestBuilder<McpRequestBuilder> {
|
|
8
|
+
/**
|
|
9
|
+
* The Tools property
|
|
10
|
+
*/
|
|
11
|
+
get tools(): ToolsRequestBuilder;
|
|
7
12
|
/**
|
|
8
13
|
* The wellKnown property
|
|
9
14
|
*/
|
package/dist/mcp/index.js
CHANGED
|
@@ -5,7 +5,9 @@ exports.McpRequestBuilderNavigationMetadata = exports.McpRequestBuilderUriTempla
|
|
|
5
5
|
/* eslint-disable */
|
|
6
6
|
// Generated by Microsoft Kiota
|
|
7
7
|
// @ts-ignore
|
|
8
|
-
const index_js_1 = require("./
|
|
8
|
+
const index_js_1 = require("./tools/index.js");
|
|
9
|
+
// @ts-ignore
|
|
10
|
+
const index_js_2 = require("./wellKnown/index.js");
|
|
9
11
|
/**
|
|
10
12
|
* Uri template for the request builder.
|
|
11
13
|
*/
|
|
@@ -14,8 +16,11 @@ exports.McpRequestBuilderUriTemplate = "{+baseurl}/mcp";
|
|
|
14
16
|
* Metadata for all the navigation properties in the request builder.
|
|
15
17
|
*/
|
|
16
18
|
exports.McpRequestBuilderNavigationMetadata = {
|
|
19
|
+
tools: {
|
|
20
|
+
navigationMetadata: index_js_1.ToolsRequestBuilderNavigationMetadata,
|
|
21
|
+
},
|
|
17
22
|
wellKnown: {
|
|
18
|
-
navigationMetadata:
|
|
23
|
+
navigationMetadata: index_js_2.WellKnownRequestBuilderNavigationMetadata,
|
|
19
24
|
},
|
|
20
25
|
};
|
|
21
26
|
/* tslint:enable */
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type Query_entitiesRequestBuilder } from './query_entities/index.js';
|
|
2
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Builds and executes requests for operations under /mcp/$tools
|
|
5
|
+
*/
|
|
6
|
+
export interface ToolsRequestBuilder extends BaseRequestBuilder<ToolsRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* The query_entities property
|
|
9
|
+
*/
|
|
10
|
+
get query_entities(): Query_entitiesRequestBuilder;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Uri template for the request builder.
|
|
14
|
+
*/
|
|
15
|
+
export declare const ToolsRequestBuilderUriTemplate = "{+baseurl}/mcp/$tools";
|
|
16
|
+
/**
|
|
17
|
+
* Metadata for all the navigation properties in the request builder.
|
|
18
|
+
*/
|
|
19
|
+
export declare const ToolsRequestBuilderNavigationMetadata: Record<Exclude<keyof ToolsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ToolsRequestBuilderNavigationMetadata = exports.ToolsRequestBuilderUriTemplate = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
// @ts-ignore
|
|
8
|
+
const index_js_1 = require("./query_entities/index.js");
|
|
9
|
+
/**
|
|
10
|
+
* Uri template for the request builder.
|
|
11
|
+
*/
|
|
12
|
+
exports.ToolsRequestBuilderUriTemplate = "{+baseurl}/mcp/$tools";
|
|
13
|
+
/**
|
|
14
|
+
* Metadata for all the navigation properties in the request builder.
|
|
15
|
+
*/
|
|
16
|
+
exports.ToolsRequestBuilderNavigationMetadata = {
|
|
17
|
+
query_entities: {
|
|
18
|
+
requestsMetadata: index_js_1.Query_entitiesRequestBuilderRequestsMetadata,
|
|
19
|
+
},
|
|
20
|
+
};
|
|
21
|
+
/* tslint:enable */
|
|
22
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { type TpEntityRequest } from '../../../models/index.js';
|
|
2
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type UntypedNode } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Builds and executes requests for operations under /mcp/$tools/query_entities
|
|
5
|
+
*/
|
|
6
|
+
export interface Query_entitiesRequestBuilder extends BaseRequestBuilder<Query_entitiesRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
9
|
+
* @returns {Promise<UntypedNode>}
|
|
10
|
+
*/
|
|
11
|
+
get(requestConfiguration?: RequestConfiguration<Query_entitiesRequestBuilderGetQueryParameters> | undefined): Promise<UntypedNode | undefined>;
|
|
12
|
+
/**
|
|
13
|
+
* @param body The request body
|
|
14
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
|
+
* @returns {Promise<UntypedNode>}
|
|
16
|
+
*/
|
|
17
|
+
post(body: TpEntityRequest, requestConfiguration?: RequestConfiguration<Query_entitiesRequestBuilderPostQueryParameters> | undefined): Promise<UntypedNode | undefined>;
|
|
18
|
+
/**
|
|
19
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
20
|
+
* @returns {RequestInformation}
|
|
21
|
+
*/
|
|
22
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<Query_entitiesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
23
|
+
/**
|
|
24
|
+
* @param body The request body
|
|
25
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
26
|
+
* @returns {RequestInformation}
|
|
27
|
+
*/
|
|
28
|
+
toPostRequestInformation(body: TpEntityRequest, requestConfiguration?: RequestConfiguration<Query_entitiesRequestBuilderPostQueryParameters> | undefined): RequestInformation;
|
|
29
|
+
}
|
|
30
|
+
export interface Query_entitiesRequestBuilderGetQueryParameters {
|
|
31
|
+
disableValidation?: boolean;
|
|
32
|
+
entityType?: string;
|
|
33
|
+
filter?: string;
|
|
34
|
+
orderBy?: string;
|
|
35
|
+
result?: string;
|
|
36
|
+
select?: string;
|
|
37
|
+
skip?: number;
|
|
38
|
+
take?: number;
|
|
39
|
+
}
|
|
40
|
+
export interface Query_entitiesRequestBuilderPostQueryParameters {
|
|
41
|
+
disableValidation?: boolean;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Uri template for the request builder.
|
|
45
|
+
*/
|
|
46
|
+
export declare const Query_entitiesRequestBuilderUriTemplate = "{+baseurl}/mcp/$tools/query_entities?entityType={entityType}{&disableValidation*,filter*,orderBy*,result*,select*,skip*,take*}";
|
|
47
|
+
/**
|
|
48
|
+
* Metadata for all the requests in the request builder.
|
|
49
|
+
*/
|
|
50
|
+
export declare const Query_entitiesRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Query_entitiesRequestBuilderRequestsMetadata = exports.Query_entitiesRequestBuilderUriTemplate = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
// @ts-ignore
|
|
8
|
+
const index_js_1 = require("../../../models/index.js");
|
|
9
|
+
// @ts-ignore
|
|
10
|
+
const kiota_abstractions_1 = require("@microsoft/kiota-abstractions");
|
|
11
|
+
/**
|
|
12
|
+
* Uri template for the request builder.
|
|
13
|
+
*/
|
|
14
|
+
exports.Query_entitiesRequestBuilderUriTemplate = "{+baseurl}/mcp/$tools/query_entities?entityType={entityType}{&disableValidation*,filter*,orderBy*,result*,select*,skip*,take*}";
|
|
15
|
+
/**
|
|
16
|
+
* Metadata for all the requests in the request builder.
|
|
17
|
+
*/
|
|
18
|
+
exports.Query_entitiesRequestBuilderRequestsMetadata = {
|
|
19
|
+
get: {
|
|
20
|
+
uriTemplate: exports.Query_entitiesRequestBuilderUriTemplate,
|
|
21
|
+
responseBodyContentType: "application/json",
|
|
22
|
+
adapterMethodName: "send",
|
|
23
|
+
responseBodyFactory: kiota_abstractions_1.createUntypedNodeFromDiscriminatorValue,
|
|
24
|
+
},
|
|
25
|
+
post: {
|
|
26
|
+
uriTemplate: exports.Query_entitiesRequestBuilderUriTemplate,
|
|
27
|
+
responseBodyContentType: "application/json",
|
|
28
|
+
adapterMethodName: "send",
|
|
29
|
+
responseBodyFactory: kiota_abstractions_1.createUntypedNodeFromDiscriminatorValue,
|
|
30
|
+
requestBodyContentType: "application/json",
|
|
31
|
+
requestBodySerializer: index_js_1.serializeTpEntityRequest,
|
|
32
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
33
|
+
},
|
|
34
|
+
};
|
|
35
|
+
/* tslint:enable */
|
|
36
|
+
/* eslint-enable */
|
package/dist/models/index.d.ts
CHANGED
|
@@ -119,6 +119,18 @@ export declare function createSharedDataDeleteDtoFromDiscriminatorValue(parseNod
|
|
|
119
119
|
* @returns {TestTypeMappingDto}
|
|
120
120
|
*/
|
|
121
121
|
export declare function createTestTypeMappingDtoFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
122
|
+
/**
|
|
123
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
124
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
125
|
+
* @returns {TpEntityRequest}
|
|
126
|
+
*/
|
|
127
|
+
export declare function createTpEntityRequestFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
128
|
+
/**
|
|
129
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
130
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
131
|
+
* @returns {TpFieldDefDto}
|
|
132
|
+
*/
|
|
133
|
+
export declare function createTpFieldDefDtoFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
122
134
|
/**
|
|
123
135
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
124
136
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -275,6 +287,18 @@ export declare function deserializeIntoSharedDataDeleteDto(sharedDataDeleteDto?:
|
|
|
275
287
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
276
288
|
*/
|
|
277
289
|
export declare function deserializeIntoTestTypeMappingDto(testTypeMappingDto?: Partial<TestTypeMappingDto> | undefined): Record<string, (node: ParseNode) => void>;
|
|
290
|
+
/**
|
|
291
|
+
* The deserialization information for the current model
|
|
292
|
+
* @param TpEntityRequest The instance to deserialize into.
|
|
293
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
294
|
+
*/
|
|
295
|
+
export declare function deserializeIntoTpEntityRequest(tpEntityRequest?: Partial<TpEntityRequest> | undefined): Record<string, (node: ParseNode) => void>;
|
|
296
|
+
/**
|
|
297
|
+
* The deserialization information for the current model
|
|
298
|
+
* @param TpFieldDefDto The instance to deserialize into.
|
|
299
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
300
|
+
*/
|
|
301
|
+
export declare function deserializeIntoTpFieldDefDto(tpFieldDefDto?: Partial<TpFieldDefDto> | undefined): Record<string, (node: ParseNode) => void>;
|
|
278
302
|
/**
|
|
279
303
|
* The deserialization information for the current model
|
|
280
304
|
* @param TpTypeDefDto The instance to deserialize into.
|
|
@@ -316,6 +340,10 @@ export interface FieldDefDto extends Parsable {
|
|
|
316
340
|
* The expression property
|
|
317
341
|
*/
|
|
318
342
|
expression?: string | null;
|
|
343
|
+
/**
|
|
344
|
+
* The Type property
|
|
345
|
+
*/
|
|
346
|
+
fieldDefDtoType?: string | null;
|
|
319
347
|
/**
|
|
320
348
|
* The refKind property
|
|
321
349
|
*/
|
|
@@ -598,6 +626,20 @@ export declare function serializeSharedDataDeleteDto(writer: SerializationWriter
|
|
|
598
626
|
* @param writer Serialization writer to use to serialize this model
|
|
599
627
|
*/
|
|
600
628
|
export declare function serializeTestTypeMappingDto(writer: SerializationWriter, testTypeMappingDto?: Partial<TestTypeMappingDto> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
629
|
+
/**
|
|
630
|
+
* Serializes information the current object
|
|
631
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
632
|
+
* @param TpEntityRequest The instance to serialize from.
|
|
633
|
+
* @param writer Serialization writer to use to serialize this model
|
|
634
|
+
*/
|
|
635
|
+
export declare function serializeTpEntityRequest(writer: SerializationWriter, tpEntityRequest?: Partial<TpEntityRequest> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
636
|
+
/**
|
|
637
|
+
* Serializes information the current object
|
|
638
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
639
|
+
* @param TpFieldDefDto The instance to serialize from.
|
|
640
|
+
* @param writer Serialization writer to use to serialize this model
|
|
641
|
+
*/
|
|
642
|
+
export declare function serializeTpFieldDefDto(writer: SerializationWriter, tpFieldDefDto?: Partial<TpFieldDefDto> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
601
643
|
/**
|
|
602
644
|
* Serializes information the current object
|
|
603
645
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -694,6 +736,58 @@ export interface TestTypeMappingDto extends Parsable {
|
|
|
694
736
|
*/
|
|
695
737
|
take?: number | null;
|
|
696
738
|
}
|
|
739
|
+
export interface TpEntityRequest extends Parsable {
|
|
740
|
+
/**
|
|
741
|
+
* The dateFormat property
|
|
742
|
+
*/
|
|
743
|
+
dateFormat?: string | null;
|
|
744
|
+
/**
|
|
745
|
+
* The entityType property
|
|
746
|
+
*/
|
|
747
|
+
entityType?: string | null;
|
|
748
|
+
/**
|
|
749
|
+
* The filter property
|
|
750
|
+
*/
|
|
751
|
+
filter?: string | null;
|
|
752
|
+
/**
|
|
753
|
+
* The id property
|
|
754
|
+
*/
|
|
755
|
+
id?: number | null;
|
|
756
|
+
/**
|
|
757
|
+
* The includeLinks property
|
|
758
|
+
*/
|
|
759
|
+
includeLinks?: boolean | null;
|
|
760
|
+
/**
|
|
761
|
+
* The orderBy property
|
|
762
|
+
*/
|
|
763
|
+
orderBy?: string | null;
|
|
764
|
+
/**
|
|
765
|
+
* The result property
|
|
766
|
+
*/
|
|
767
|
+
result?: string | null;
|
|
768
|
+
/**
|
|
769
|
+
* The select property
|
|
770
|
+
*/
|
|
771
|
+
select?: string | null;
|
|
772
|
+
/**
|
|
773
|
+
* The skip property
|
|
774
|
+
*/
|
|
775
|
+
skip?: number | null;
|
|
776
|
+
/**
|
|
777
|
+
* The take property
|
|
778
|
+
*/
|
|
779
|
+
take?: number | null;
|
|
780
|
+
/**
|
|
781
|
+
* The where property
|
|
782
|
+
*/
|
|
783
|
+
where?: string | null;
|
|
784
|
+
}
|
|
785
|
+
export interface TpFieldDefDto extends AdditionalDataHolder, FieldDefDto, Parsable {
|
|
786
|
+
/**
|
|
787
|
+
* The referenceExpression property
|
|
788
|
+
*/
|
|
789
|
+
referenceExpression?: string | null;
|
|
790
|
+
}
|
|
697
791
|
export interface TpTypeDefDto extends Parsable {
|
|
698
792
|
/**
|
|
699
793
|
* The id property
|
package/dist/models/index.js
CHANGED
|
@@ -20,6 +20,8 @@ exports.createSharedDataCreateAttachmentResponseDtoFromDiscriminatorValue = crea
|
|
|
20
20
|
exports.createSharedDataCreateAttachmentResponseItemDtoFromDiscriminatorValue = createSharedDataCreateAttachmentResponseItemDtoFromDiscriminatorValue;
|
|
21
21
|
exports.createSharedDataDeleteDtoFromDiscriminatorValue = createSharedDataDeleteDtoFromDiscriminatorValue;
|
|
22
22
|
exports.createTestTypeMappingDtoFromDiscriminatorValue = createTestTypeMappingDtoFromDiscriminatorValue;
|
|
23
|
+
exports.createTpEntityRequestFromDiscriminatorValue = createTpEntityRequestFromDiscriminatorValue;
|
|
24
|
+
exports.createTpFieldDefDtoFromDiscriminatorValue = createTpFieldDefDtoFromDiscriminatorValue;
|
|
23
25
|
exports.createTpTypeDefDtoFromDiscriminatorValue = createTpTypeDefDtoFromDiscriminatorValue;
|
|
24
26
|
exports.createTypeMappingDtoFromDiscriminatorValue = createTypeMappingDtoFromDiscriminatorValue;
|
|
25
27
|
exports.createTypeMetaDefDtoFromDiscriminatorValue = createTypeMetaDefDtoFromDiscriminatorValue;
|
|
@@ -45,6 +47,8 @@ exports.deserializeIntoSharedDataCreateAttachmentResponseDto = deserializeIntoSh
|
|
|
45
47
|
exports.deserializeIntoSharedDataCreateAttachmentResponseItemDto = deserializeIntoSharedDataCreateAttachmentResponseItemDto;
|
|
46
48
|
exports.deserializeIntoSharedDataDeleteDto = deserializeIntoSharedDataDeleteDto;
|
|
47
49
|
exports.deserializeIntoTestTypeMappingDto = deserializeIntoTestTypeMappingDto;
|
|
50
|
+
exports.deserializeIntoTpEntityRequest = deserializeIntoTpEntityRequest;
|
|
51
|
+
exports.deserializeIntoTpFieldDefDto = deserializeIntoTpFieldDefDto;
|
|
48
52
|
exports.deserializeIntoTpTypeDefDto = deserializeIntoTpTypeDefDto;
|
|
49
53
|
exports.deserializeIntoTypeMappingDto = deserializeIntoTypeMappingDto;
|
|
50
54
|
exports.deserializeIntoTypeMetaDefDto = deserializeIntoTypeMetaDefDto;
|
|
@@ -70,6 +74,8 @@ exports.serializeSharedDataCreateAttachmentResponseDto = serializeSharedDataCrea
|
|
|
70
74
|
exports.serializeSharedDataCreateAttachmentResponseItemDto = serializeSharedDataCreateAttachmentResponseItemDto;
|
|
71
75
|
exports.serializeSharedDataDeleteDto = serializeSharedDataDeleteDto;
|
|
72
76
|
exports.serializeTestTypeMappingDto = serializeTestTypeMappingDto;
|
|
77
|
+
exports.serializeTpEntityRequest = serializeTpEntityRequest;
|
|
78
|
+
exports.serializeTpFieldDefDto = serializeTpFieldDefDto;
|
|
73
79
|
exports.serializeTpTypeDefDto = serializeTpTypeDefDto;
|
|
74
80
|
exports.serializeTypeMappingDto = serializeTypeMappingDto;
|
|
75
81
|
exports.serializeTypeMetaDefDto = serializeTypeMetaDefDto;
|
|
@@ -101,6 +107,18 @@ function createDeleteProfileRequestDtoFromDiscriminatorValue(parseNode) {
|
|
|
101
107
|
*/
|
|
102
108
|
// @ts-ignore
|
|
103
109
|
function createFieldDefDtoFromDiscriminatorValue(parseNode) {
|
|
110
|
+
if (!parseNode)
|
|
111
|
+
throw new Error("parseNode cannot be undefined");
|
|
112
|
+
const mappingValueNode = parseNode?.getChildNode("$type");
|
|
113
|
+
if (mappingValueNode) {
|
|
114
|
+
const mappingValue = mappingValueNode.getStringValue();
|
|
115
|
+
if (mappingValue) {
|
|
116
|
+
switch (mappingValue) {
|
|
117
|
+
case "TpFieldDefDto":
|
|
118
|
+
return deserializeIntoTpFieldDefDto;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}
|
|
104
122
|
return deserializeIntoFieldDefDto;
|
|
105
123
|
}
|
|
106
124
|
/**
|
|
@@ -259,6 +277,24 @@ function createSharedDataDeleteDtoFromDiscriminatorValue(parseNode) {
|
|
|
259
277
|
function createTestTypeMappingDtoFromDiscriminatorValue(parseNode) {
|
|
260
278
|
return deserializeIntoTestTypeMappingDto;
|
|
261
279
|
}
|
|
280
|
+
/**
|
|
281
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
282
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
283
|
+
* @returns {TpEntityRequest}
|
|
284
|
+
*/
|
|
285
|
+
// @ts-ignore
|
|
286
|
+
function createTpEntityRequestFromDiscriminatorValue(parseNode) {
|
|
287
|
+
return deserializeIntoTpEntityRequest;
|
|
288
|
+
}
|
|
289
|
+
/**
|
|
290
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
291
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
292
|
+
* @returns {TpFieldDefDto}
|
|
293
|
+
*/
|
|
294
|
+
// @ts-ignore
|
|
295
|
+
function createTpFieldDefDtoFromDiscriminatorValue(parseNode) {
|
|
296
|
+
return deserializeIntoTpFieldDefDto;
|
|
297
|
+
}
|
|
262
298
|
/**
|
|
263
299
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
264
300
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -356,6 +392,7 @@ function deserializeIntoDeleteProfileRequestDto(deleteProfileRequestDto = {}) {
|
|
|
356
392
|
function deserializeIntoFieldDefDto(fieldDefDto = {}) {
|
|
357
393
|
return {
|
|
358
394
|
"expression": n => { fieldDefDto.expression = n.getStringValue(); },
|
|
395
|
+
"$type": n => { fieldDefDto.fieldDefDtoType = n.getStringValue(); },
|
|
359
396
|
"refKind": n => { fieldDefDto.refKind = n.getEnumValue(exports.RefKindObject); },
|
|
360
397
|
"refType": n => { fieldDefDto.refType = n.getStringValue(); },
|
|
361
398
|
"type": n => { fieldDefDto.type = n.getStringValue(); },
|
|
@@ -561,6 +598,39 @@ function deserializeIntoTestTypeMappingDto(testTypeMappingDto = {}) {
|
|
|
561
598
|
"take": n => { testTypeMappingDto.take = n.getNumberValue(); },
|
|
562
599
|
};
|
|
563
600
|
}
|
|
601
|
+
/**
|
|
602
|
+
* The deserialization information for the current model
|
|
603
|
+
* @param TpEntityRequest The instance to deserialize into.
|
|
604
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
605
|
+
*/
|
|
606
|
+
// @ts-ignore
|
|
607
|
+
function deserializeIntoTpEntityRequest(tpEntityRequest = {}) {
|
|
608
|
+
return {
|
|
609
|
+
"dateFormat": n => { tpEntityRequest.dateFormat = n.getStringValue(); },
|
|
610
|
+
"entityType": n => { tpEntityRequest.entityType = n.getStringValue(); },
|
|
611
|
+
"filter": n => { tpEntityRequest.filter = n.getStringValue(); },
|
|
612
|
+
"id": n => { tpEntityRequest.id = n.getNumberValue(); },
|
|
613
|
+
"includeLinks": n => { tpEntityRequest.includeLinks = n.getBooleanValue(); },
|
|
614
|
+
"orderBy": n => { tpEntityRequest.orderBy = n.getStringValue(); },
|
|
615
|
+
"result": n => { tpEntityRequest.result = n.getStringValue(); },
|
|
616
|
+
"select": n => { tpEntityRequest.select = n.getStringValue(); },
|
|
617
|
+
"skip": n => { tpEntityRequest.skip = n.getNumberValue(); },
|
|
618
|
+
"take": n => { tpEntityRequest.take = n.getNumberValue(); },
|
|
619
|
+
"where": n => { tpEntityRequest.where = n.getStringValue(); },
|
|
620
|
+
};
|
|
621
|
+
}
|
|
622
|
+
/**
|
|
623
|
+
* The deserialization information for the current model
|
|
624
|
+
* @param TpFieldDefDto The instance to deserialize into.
|
|
625
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
626
|
+
*/
|
|
627
|
+
// @ts-ignore
|
|
628
|
+
function deserializeIntoTpFieldDefDto(tpFieldDefDto = {}) {
|
|
629
|
+
return {
|
|
630
|
+
...deserializeIntoFieldDefDto(tpFieldDefDto),
|
|
631
|
+
"referenceExpression": n => { tpFieldDefDto.referenceExpression = n.getStringValue(); },
|
|
632
|
+
};
|
|
633
|
+
}
|
|
564
634
|
/**
|
|
565
635
|
* The deserialization information for the current model
|
|
566
636
|
* @param TpTypeDefDto The instance to deserialize into.
|
|
@@ -682,9 +752,15 @@ function serializeFieldDefDto(writer, fieldDefDto = {}, isSerializingDerivedType
|
|
|
682
752
|
return;
|
|
683
753
|
}
|
|
684
754
|
writer.writeStringValue("expression", fieldDefDto.expression);
|
|
755
|
+
writer.writeStringValue("$type", fieldDefDto.fieldDefDtoType);
|
|
685
756
|
writer.writeEnumValue("refKind", fieldDefDto.refKind);
|
|
686
757
|
writer.writeStringValue("refType", fieldDefDto.refType);
|
|
687
758
|
writer.writeStringValue("type", fieldDefDto.type);
|
|
759
|
+
switch (fieldDefDto.fieldDefDtoType) {
|
|
760
|
+
case "TpFieldDefDto":
|
|
761
|
+
serializeTpFieldDefDto(writer, fieldDefDto, true);
|
|
762
|
+
break;
|
|
763
|
+
}
|
|
688
764
|
}
|
|
689
765
|
/**
|
|
690
766
|
* Serializes information the current object
|
|
@@ -927,6 +1003,44 @@ function serializeTestTypeMappingDto(writer, testTypeMappingDto = {}, isSerializ
|
|
|
927
1003
|
writer.writeNumberValue("skip", testTypeMappingDto.skip);
|
|
928
1004
|
writer.writeNumberValue("take", testTypeMappingDto.take);
|
|
929
1005
|
}
|
|
1006
|
+
/**
|
|
1007
|
+
* Serializes information the current object
|
|
1008
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1009
|
+
* @param TpEntityRequest The instance to serialize from.
|
|
1010
|
+
* @param writer Serialization writer to use to serialize this model
|
|
1011
|
+
*/
|
|
1012
|
+
// @ts-ignore
|
|
1013
|
+
function serializeTpEntityRequest(writer, tpEntityRequest = {}, isSerializingDerivedType = false) {
|
|
1014
|
+
if (!tpEntityRequest || isSerializingDerivedType) {
|
|
1015
|
+
return;
|
|
1016
|
+
}
|
|
1017
|
+
writer.writeStringValue("dateFormat", tpEntityRequest.dateFormat);
|
|
1018
|
+
writer.writeStringValue("entityType", tpEntityRequest.entityType);
|
|
1019
|
+
writer.writeStringValue("filter", tpEntityRequest.filter);
|
|
1020
|
+
writer.writeNumberValue("id", tpEntityRequest.id);
|
|
1021
|
+
writer.writeBooleanValue("includeLinks", tpEntityRequest.includeLinks);
|
|
1022
|
+
writer.writeStringValue("orderBy", tpEntityRequest.orderBy);
|
|
1023
|
+
writer.writeStringValue("result", tpEntityRequest.result);
|
|
1024
|
+
writer.writeStringValue("select", tpEntityRequest.select);
|
|
1025
|
+
writer.writeNumberValue("skip", tpEntityRequest.skip);
|
|
1026
|
+
writer.writeNumberValue("take", tpEntityRequest.take);
|
|
1027
|
+
writer.writeStringValue("where", tpEntityRequest.where);
|
|
1028
|
+
}
|
|
1029
|
+
/**
|
|
1030
|
+
* Serializes information the current object
|
|
1031
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1032
|
+
* @param TpFieldDefDto The instance to serialize from.
|
|
1033
|
+
* @param writer Serialization writer to use to serialize this model
|
|
1034
|
+
*/
|
|
1035
|
+
// @ts-ignore
|
|
1036
|
+
function serializeTpFieldDefDto(writer, tpFieldDefDto = {}, isSerializingDerivedType = false) {
|
|
1037
|
+
if (!tpFieldDefDto || isSerializingDerivedType) {
|
|
1038
|
+
return;
|
|
1039
|
+
}
|
|
1040
|
+
serializeFieldDefDto(writer, tpFieldDefDto, isSerializingDerivedType);
|
|
1041
|
+
writer.writeStringValue("referenceExpression", tpFieldDefDto.referenceExpression);
|
|
1042
|
+
writer.writeAdditionalData(tpFieldDefDto.additionalData);
|
|
1043
|
+
}
|
|
930
1044
|
/**
|
|
931
1045
|
* Serializes information the current object
|
|
932
1046
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
package/package.json
CHANGED
|
@@ -56,7 +56,7 @@ export interface CurrentRequestBuilderGetQueryParameters {
|
|
|
56
56
|
/**
|
|
57
57
|
* Uri template for the request builder.
|
|
58
58
|
*/
|
|
59
|
-
export const CurrentRequestBuilderUriTemplate = "{+baseurl}/api/settings/profile/current?validate
|
|
59
|
+
export const CurrentRequestBuilderUriTemplate = "{+baseurl}/api/settings/profile/current{?validate*}";
|
|
60
60
|
/**
|
|
61
61
|
* Metadata for all the requests in the request builder.
|
|
62
62
|
*/
|
package/src/kiota-lock.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"descriptionHash": "
|
|
2
|
+
"descriptionHash": "9AA9B6C0ECECA5DF935ED445880A0F293323B590261D5E2C92B849FC2EE5F91039DAA5C27C986F7A3934BE607A582DE668A7300AE9E65AF16ABAAFC1A294052E",
|
|
3
3
|
"descriptionLocation": "v1.json",
|
|
4
4
|
"lockFileVersion": "1.0.0",
|
|
5
5
|
"kiotaVersion": "1.30.0",
|
package/src/mcp/index.ts
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
// Generated by Microsoft Kiota
|
|
4
4
|
// @ts-ignore
|
|
5
|
+
import { ToolsRequestBuilderNavigationMetadata, type ToolsRequestBuilder } from './tools/index.js';
|
|
6
|
+
// @ts-ignore
|
|
5
7
|
import { type WellKnownRequestBuilder, WellKnownRequestBuilderNavigationMetadata } from './wellKnown/index.js';
|
|
6
8
|
// @ts-ignore
|
|
7
9
|
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata } from '@microsoft/kiota-abstractions';
|
|
@@ -10,6 +12,10 @@ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type
|
|
|
10
12
|
* Builds and executes requests for operations under /mcp
|
|
11
13
|
*/
|
|
12
14
|
export interface McpRequestBuilder extends BaseRequestBuilder<McpRequestBuilder> {
|
|
15
|
+
/**
|
|
16
|
+
* The Tools property
|
|
17
|
+
*/
|
|
18
|
+
get tools(): ToolsRequestBuilder;
|
|
13
19
|
/**
|
|
14
20
|
* The wellKnown property
|
|
15
21
|
*/
|
|
@@ -23,6 +29,9 @@ export const McpRequestBuilderUriTemplate = "{+baseurl}/mcp";
|
|
|
23
29
|
* Metadata for all the navigation properties in the request builder.
|
|
24
30
|
*/
|
|
25
31
|
export const McpRequestBuilderNavigationMetadata: Record<Exclude<keyof McpRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata> = {
|
|
32
|
+
tools: {
|
|
33
|
+
navigationMetadata: ToolsRequestBuilderNavigationMetadata,
|
|
34
|
+
},
|
|
26
35
|
wellKnown: {
|
|
27
36
|
navigationMetadata: WellKnownRequestBuilderNavigationMetadata,
|
|
28
37
|
},
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { Query_entitiesRequestBuilderRequestsMetadata, type Query_entitiesRequestBuilder } from './query_entities/index.js';
|
|
6
|
+
// @ts-ignore
|
|
7
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata } from '@microsoft/kiota-abstractions';
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Builds and executes requests for operations under /mcp/$tools
|
|
11
|
+
*/
|
|
12
|
+
export interface ToolsRequestBuilder extends BaseRequestBuilder<ToolsRequestBuilder> {
|
|
13
|
+
/**
|
|
14
|
+
* The query_entities property
|
|
15
|
+
*/
|
|
16
|
+
get query_entities(): Query_entitiesRequestBuilder;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Uri template for the request builder.
|
|
20
|
+
*/
|
|
21
|
+
export const ToolsRequestBuilderUriTemplate = "{+baseurl}/mcp/$tools";
|
|
22
|
+
/**
|
|
23
|
+
* Metadata for all the navigation properties in the request builder.
|
|
24
|
+
*/
|
|
25
|
+
export const ToolsRequestBuilderNavigationMetadata: Record<Exclude<keyof ToolsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata> = {
|
|
26
|
+
query_entities: {
|
|
27
|
+
requestsMetadata: Query_entitiesRequestBuilderRequestsMetadata,
|
|
28
|
+
},
|
|
29
|
+
};
|
|
30
|
+
/* tslint:enable */
|
|
31
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { serializeTpEntityRequest, type TpEntityRequest } from '../../../models/index.js';
|
|
6
|
+
// @ts-ignore
|
|
7
|
+
import { createUntypedNodeFromDiscriminatorValue, type BaseRequestBuilder, type Parsable, type ParsableFactory, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type UntypedNode } from '@microsoft/kiota-abstractions';
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Builds and executes requests for operations under /mcp/$tools/query_entities
|
|
11
|
+
*/
|
|
12
|
+
export interface Query_entitiesRequestBuilder extends BaseRequestBuilder<Query_entitiesRequestBuilder> {
|
|
13
|
+
/**
|
|
14
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
|
+
* @returns {Promise<UntypedNode>}
|
|
16
|
+
*/
|
|
17
|
+
get(requestConfiguration?: RequestConfiguration<Query_entitiesRequestBuilderGetQueryParameters> | undefined) : Promise<UntypedNode | undefined>;
|
|
18
|
+
/**
|
|
19
|
+
* @param body The request body
|
|
20
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
21
|
+
* @returns {Promise<UntypedNode>}
|
|
22
|
+
*/
|
|
23
|
+
post(body: TpEntityRequest, requestConfiguration?: RequestConfiguration<Query_entitiesRequestBuilderPostQueryParameters> | undefined) : Promise<UntypedNode | undefined>;
|
|
24
|
+
/**
|
|
25
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
26
|
+
* @returns {RequestInformation}
|
|
27
|
+
*/
|
|
28
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<Query_entitiesRequestBuilderGetQueryParameters> | undefined) : RequestInformation;
|
|
29
|
+
/**
|
|
30
|
+
* @param body The request body
|
|
31
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
32
|
+
* @returns {RequestInformation}
|
|
33
|
+
*/
|
|
34
|
+
toPostRequestInformation(body: TpEntityRequest, requestConfiguration?: RequestConfiguration<Query_entitiesRequestBuilderPostQueryParameters> | undefined) : RequestInformation;
|
|
35
|
+
}
|
|
36
|
+
export interface Query_entitiesRequestBuilderGetQueryParameters {
|
|
37
|
+
disableValidation?: boolean;
|
|
38
|
+
entityType?: string;
|
|
39
|
+
filter?: string;
|
|
40
|
+
orderBy?: string;
|
|
41
|
+
result?: string;
|
|
42
|
+
select?: string;
|
|
43
|
+
skip?: number;
|
|
44
|
+
take?: number;
|
|
45
|
+
}
|
|
46
|
+
export interface Query_entitiesRequestBuilderPostQueryParameters {
|
|
47
|
+
disableValidation?: boolean;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Uri template for the request builder.
|
|
51
|
+
*/
|
|
52
|
+
export const Query_entitiesRequestBuilderUriTemplate = "{+baseurl}/mcp/$tools/query_entities?entityType={entityType}{&disableValidation*,filter*,orderBy*,result*,select*,skip*,take*}";
|
|
53
|
+
/**
|
|
54
|
+
* Metadata for all the requests in the request builder.
|
|
55
|
+
*/
|
|
56
|
+
export const Query_entitiesRequestBuilderRequestsMetadata: RequestsMetadata = {
|
|
57
|
+
get: {
|
|
58
|
+
uriTemplate: Query_entitiesRequestBuilderUriTemplate,
|
|
59
|
+
responseBodyContentType: "application/json",
|
|
60
|
+
adapterMethodName: "send",
|
|
61
|
+
responseBodyFactory: createUntypedNodeFromDiscriminatorValue,
|
|
62
|
+
},
|
|
63
|
+
post: {
|
|
64
|
+
uriTemplate: Query_entitiesRequestBuilderUriTemplate,
|
|
65
|
+
responseBodyContentType: "application/json",
|
|
66
|
+
adapterMethodName: "send",
|
|
67
|
+
responseBodyFactory: createUntypedNodeFromDiscriminatorValue,
|
|
68
|
+
requestBodyContentType: "application/json",
|
|
69
|
+
requestBodySerializer: serializeTpEntityRequest,
|
|
70
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
71
|
+
},
|
|
72
|
+
};
|
|
73
|
+
/* tslint:enable */
|
|
74
|
+
/* eslint-enable */
|
package/src/models/index.ts
CHANGED
|
@@ -35,6 +35,17 @@ export function createDeleteProfileRequestDtoFromDiscriminatorValue(parseNode: P
|
|
|
35
35
|
*/
|
|
36
36
|
// @ts-ignore
|
|
37
37
|
export function createFieldDefDtoFromDiscriminatorValue(parseNode: ParseNode | undefined) : ((instance?: Parsable) => Record<string, (node: ParseNode) => void>) {
|
|
38
|
+
if(!parseNode) throw new Error("parseNode cannot be undefined");
|
|
39
|
+
const mappingValueNode = parseNode?.getChildNode("$type");
|
|
40
|
+
if (mappingValueNode) {
|
|
41
|
+
const mappingValue = mappingValueNode.getStringValue();
|
|
42
|
+
if (mappingValue) {
|
|
43
|
+
switch (mappingValue) {
|
|
44
|
+
case "TpFieldDefDto":
|
|
45
|
+
return deserializeIntoTpFieldDefDto;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
38
49
|
return deserializeIntoFieldDefDto;
|
|
39
50
|
}
|
|
40
51
|
/**
|
|
@@ -192,6 +203,24 @@ export function createSharedDataDeleteDtoFromDiscriminatorValue(parseNode: Parse
|
|
|
192
203
|
export function createTestTypeMappingDtoFromDiscriminatorValue(parseNode: ParseNode | undefined) : ((instance?: Parsable) => Record<string, (node: ParseNode) => void>) {
|
|
193
204
|
return deserializeIntoTestTypeMappingDto;
|
|
194
205
|
}
|
|
206
|
+
/**
|
|
207
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
208
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
209
|
+
* @returns {TpEntityRequest}
|
|
210
|
+
*/
|
|
211
|
+
// @ts-ignore
|
|
212
|
+
export function createTpEntityRequestFromDiscriminatorValue(parseNode: ParseNode | undefined) : ((instance?: Parsable) => Record<string, (node: ParseNode) => void>) {
|
|
213
|
+
return deserializeIntoTpEntityRequest;
|
|
214
|
+
}
|
|
215
|
+
/**
|
|
216
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
217
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
218
|
+
* @returns {TpFieldDefDto}
|
|
219
|
+
*/
|
|
220
|
+
// @ts-ignore
|
|
221
|
+
export function createTpFieldDefDtoFromDiscriminatorValue(parseNode: ParseNode | undefined) : ((instance?: Parsable) => Record<string, (node: ParseNode) => void>) {
|
|
222
|
+
return deserializeIntoTpFieldDefDto;
|
|
223
|
+
}
|
|
195
224
|
/**
|
|
196
225
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
197
226
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -294,6 +323,7 @@ export function deserializeIntoDeleteProfileRequestDto(deleteProfileRequestDto:
|
|
|
294
323
|
export function deserializeIntoFieldDefDto(fieldDefDto: Partial<FieldDefDto> | undefined = {}) : Record<string, (node: ParseNode) => void> {
|
|
295
324
|
return {
|
|
296
325
|
"expression": n => { fieldDefDto.expression = n.getStringValue(); },
|
|
326
|
+
"$type": n => { fieldDefDto.fieldDefDtoType = n.getStringValue(); },
|
|
297
327
|
"refKind": n => { fieldDefDto.refKind = n.getEnumValue<RefKind>(RefKindObject); },
|
|
298
328
|
"refType": n => { fieldDefDto.refType = n.getStringValue(); },
|
|
299
329
|
"type": n => { fieldDefDto.type = n.getStringValue(); },
|
|
@@ -500,6 +530,39 @@ export function deserializeIntoTestTypeMappingDto(testTypeMappingDto: Partial<Te
|
|
|
500
530
|
"take": n => { testTypeMappingDto.take = n.getNumberValue(); },
|
|
501
531
|
}
|
|
502
532
|
}
|
|
533
|
+
/**
|
|
534
|
+
* The deserialization information for the current model
|
|
535
|
+
* @param TpEntityRequest The instance to deserialize into.
|
|
536
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
537
|
+
*/
|
|
538
|
+
// @ts-ignore
|
|
539
|
+
export function deserializeIntoTpEntityRequest(tpEntityRequest: Partial<TpEntityRequest> | undefined = {}) : Record<string, (node: ParseNode) => void> {
|
|
540
|
+
return {
|
|
541
|
+
"dateFormat": n => { tpEntityRequest.dateFormat = n.getStringValue(); },
|
|
542
|
+
"entityType": n => { tpEntityRequest.entityType = n.getStringValue(); },
|
|
543
|
+
"filter": n => { tpEntityRequest.filter = n.getStringValue(); },
|
|
544
|
+
"id": n => { tpEntityRequest.id = n.getNumberValue(); },
|
|
545
|
+
"includeLinks": n => { tpEntityRequest.includeLinks = n.getBooleanValue(); },
|
|
546
|
+
"orderBy": n => { tpEntityRequest.orderBy = n.getStringValue(); },
|
|
547
|
+
"result": n => { tpEntityRequest.result = n.getStringValue(); },
|
|
548
|
+
"select": n => { tpEntityRequest.select = n.getStringValue(); },
|
|
549
|
+
"skip": n => { tpEntityRequest.skip = n.getNumberValue(); },
|
|
550
|
+
"take": n => { tpEntityRequest.take = n.getNumberValue(); },
|
|
551
|
+
"where": n => { tpEntityRequest.where = n.getStringValue(); },
|
|
552
|
+
}
|
|
553
|
+
}
|
|
554
|
+
/**
|
|
555
|
+
* The deserialization information for the current model
|
|
556
|
+
* @param TpFieldDefDto The instance to deserialize into.
|
|
557
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
558
|
+
*/
|
|
559
|
+
// @ts-ignore
|
|
560
|
+
export function deserializeIntoTpFieldDefDto(tpFieldDefDto: Partial<TpFieldDefDto> | undefined = {}) : Record<string, (node: ParseNode) => void> {
|
|
561
|
+
return {
|
|
562
|
+
...deserializeIntoFieldDefDto(tpFieldDefDto),
|
|
563
|
+
"referenceExpression": n => { tpFieldDefDto.referenceExpression = n.getStringValue(); },
|
|
564
|
+
}
|
|
565
|
+
}
|
|
503
566
|
/**
|
|
504
567
|
* The deserialization information for the current model
|
|
505
568
|
* @param TpTypeDefDto The instance to deserialize into.
|
|
@@ -588,6 +651,10 @@ export interface FieldDefDto extends Parsable {
|
|
|
588
651
|
* The expression property
|
|
589
652
|
*/
|
|
590
653
|
expression?: string | null;
|
|
654
|
+
/**
|
|
655
|
+
* The Type property
|
|
656
|
+
*/
|
|
657
|
+
fieldDefDtoType?: string | null;
|
|
591
658
|
/**
|
|
592
659
|
* The refKind property
|
|
593
660
|
*/
|
|
@@ -769,9 +836,15 @@ export function serializeDeleteProfileRequestDto(writer: SerializationWriter, de
|
|
|
769
836
|
export function serializeFieldDefDto(writer: SerializationWriter, fieldDefDto: Partial<FieldDefDto> | undefined | null = {}, isSerializingDerivedType: boolean = false) : void {
|
|
770
837
|
if (!fieldDefDto || isSerializingDerivedType) { return; }
|
|
771
838
|
writer.writeStringValue("expression", fieldDefDto.expression);
|
|
839
|
+
writer.writeStringValue("$type", fieldDefDto.fieldDefDtoType);
|
|
772
840
|
writer.writeEnumValue<RefKind>("refKind", fieldDefDto.refKind);
|
|
773
841
|
writer.writeStringValue("refType", fieldDefDto.refType);
|
|
774
842
|
writer.writeStringValue("type", fieldDefDto.type);
|
|
843
|
+
switch (fieldDefDto.fieldDefDtoType) {
|
|
844
|
+
case "TpFieldDefDto":
|
|
845
|
+
serializeTpFieldDefDto(writer, fieldDefDto, true);
|
|
846
|
+
break;
|
|
847
|
+
}
|
|
775
848
|
}
|
|
776
849
|
/**
|
|
777
850
|
* Serializes information the current object
|
|
@@ -982,6 +1055,40 @@ export function serializeTestTypeMappingDto(writer: SerializationWriter, testTyp
|
|
|
982
1055
|
writer.writeNumberValue("skip", testTypeMappingDto.skip);
|
|
983
1056
|
writer.writeNumberValue("take", testTypeMappingDto.take);
|
|
984
1057
|
}
|
|
1058
|
+
/**
|
|
1059
|
+
* Serializes information the current object
|
|
1060
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1061
|
+
* @param TpEntityRequest The instance to serialize from.
|
|
1062
|
+
* @param writer Serialization writer to use to serialize this model
|
|
1063
|
+
*/
|
|
1064
|
+
// @ts-ignore
|
|
1065
|
+
export function serializeTpEntityRequest(writer: SerializationWriter, tpEntityRequest: Partial<TpEntityRequest> | undefined | null = {}, isSerializingDerivedType: boolean = false) : void {
|
|
1066
|
+
if (!tpEntityRequest || isSerializingDerivedType) { return; }
|
|
1067
|
+
writer.writeStringValue("dateFormat", tpEntityRequest.dateFormat);
|
|
1068
|
+
writer.writeStringValue("entityType", tpEntityRequest.entityType);
|
|
1069
|
+
writer.writeStringValue("filter", tpEntityRequest.filter);
|
|
1070
|
+
writer.writeNumberValue("id", tpEntityRequest.id);
|
|
1071
|
+
writer.writeBooleanValue("includeLinks", tpEntityRequest.includeLinks);
|
|
1072
|
+
writer.writeStringValue("orderBy", tpEntityRequest.orderBy);
|
|
1073
|
+
writer.writeStringValue("result", tpEntityRequest.result);
|
|
1074
|
+
writer.writeStringValue("select", tpEntityRequest.select);
|
|
1075
|
+
writer.writeNumberValue("skip", tpEntityRequest.skip);
|
|
1076
|
+
writer.writeNumberValue("take", tpEntityRequest.take);
|
|
1077
|
+
writer.writeStringValue("where", tpEntityRequest.where);
|
|
1078
|
+
}
|
|
1079
|
+
/**
|
|
1080
|
+
* Serializes information the current object
|
|
1081
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1082
|
+
* @param TpFieldDefDto The instance to serialize from.
|
|
1083
|
+
* @param writer Serialization writer to use to serialize this model
|
|
1084
|
+
*/
|
|
1085
|
+
// @ts-ignore
|
|
1086
|
+
export function serializeTpFieldDefDto(writer: SerializationWriter, tpFieldDefDto: Partial<TpFieldDefDto> | undefined | null = {}, isSerializingDerivedType: boolean = false) : void {
|
|
1087
|
+
if (!tpFieldDefDto || isSerializingDerivedType) { return; }
|
|
1088
|
+
serializeFieldDefDto(writer, tpFieldDefDto, isSerializingDerivedType)
|
|
1089
|
+
writer.writeStringValue("referenceExpression", tpFieldDefDto.referenceExpression);
|
|
1090
|
+
writer.writeAdditionalData(tpFieldDefDto.additionalData);
|
|
1091
|
+
}
|
|
985
1092
|
/**
|
|
986
1093
|
* Serializes information the current object
|
|
987
1094
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -1127,6 +1234,58 @@ export interface TestTypeMappingDto extends Parsable {
|
|
|
1127
1234
|
*/
|
|
1128
1235
|
take?: number | null;
|
|
1129
1236
|
}
|
|
1237
|
+
export interface TpEntityRequest extends Parsable {
|
|
1238
|
+
/**
|
|
1239
|
+
* The dateFormat property
|
|
1240
|
+
*/
|
|
1241
|
+
dateFormat?: string | null;
|
|
1242
|
+
/**
|
|
1243
|
+
* The entityType property
|
|
1244
|
+
*/
|
|
1245
|
+
entityType?: string | null;
|
|
1246
|
+
/**
|
|
1247
|
+
* The filter property
|
|
1248
|
+
*/
|
|
1249
|
+
filter?: string | null;
|
|
1250
|
+
/**
|
|
1251
|
+
* The id property
|
|
1252
|
+
*/
|
|
1253
|
+
id?: number | null;
|
|
1254
|
+
/**
|
|
1255
|
+
* The includeLinks property
|
|
1256
|
+
*/
|
|
1257
|
+
includeLinks?: boolean | null;
|
|
1258
|
+
/**
|
|
1259
|
+
* The orderBy property
|
|
1260
|
+
*/
|
|
1261
|
+
orderBy?: string | null;
|
|
1262
|
+
/**
|
|
1263
|
+
* The result property
|
|
1264
|
+
*/
|
|
1265
|
+
result?: string | null;
|
|
1266
|
+
/**
|
|
1267
|
+
* The select property
|
|
1268
|
+
*/
|
|
1269
|
+
select?: string | null;
|
|
1270
|
+
/**
|
|
1271
|
+
* The skip property
|
|
1272
|
+
*/
|
|
1273
|
+
skip?: number | null;
|
|
1274
|
+
/**
|
|
1275
|
+
* The take property
|
|
1276
|
+
*/
|
|
1277
|
+
take?: number | null;
|
|
1278
|
+
/**
|
|
1279
|
+
* The where property
|
|
1280
|
+
*/
|
|
1281
|
+
where?: string | null;
|
|
1282
|
+
}
|
|
1283
|
+
export interface TpFieldDefDto extends AdditionalDataHolder, FieldDefDto, Parsable {
|
|
1284
|
+
/**
|
|
1285
|
+
* The referenceExpression property
|
|
1286
|
+
*/
|
|
1287
|
+
referenceExpression?: string | null;
|
|
1288
|
+
}
|
|
1130
1289
|
export interface TpTypeDefDto extends Parsable {
|
|
1131
1290
|
/**
|
|
1132
1291
|
* The id property
|
package/src/v1.json
CHANGED
|
@@ -16,6 +16,139 @@
|
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
|
+
"/mcp/$tools/query_entities": {
|
|
20
|
+
"get": {
|
|
21
|
+
"operationId": "GetMcp$toolsQueryEntities",
|
|
22
|
+
"parameters": [
|
|
23
|
+
{
|
|
24
|
+
"name": "entityType",
|
|
25
|
+
"in": "query",
|
|
26
|
+
"required": true,
|
|
27
|
+
"schema": {
|
|
28
|
+
"type": "string"
|
|
29
|
+
},
|
|
30
|
+
"x-position": 1
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "select",
|
|
34
|
+
"in": "query",
|
|
35
|
+
"schema": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"nullable": true
|
|
38
|
+
},
|
|
39
|
+
"x-position": 2
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"name": "result",
|
|
43
|
+
"in": "query",
|
|
44
|
+
"schema": {
|
|
45
|
+
"type": "string",
|
|
46
|
+
"nullable": true
|
|
47
|
+
},
|
|
48
|
+
"x-position": 3
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"name": "filter",
|
|
52
|
+
"in": "query",
|
|
53
|
+
"schema": {
|
|
54
|
+
"type": "string",
|
|
55
|
+
"nullable": true
|
|
56
|
+
},
|
|
57
|
+
"x-position": 4
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"name": "orderBy",
|
|
61
|
+
"in": "query",
|
|
62
|
+
"schema": {
|
|
63
|
+
"type": "string",
|
|
64
|
+
"nullable": true
|
|
65
|
+
},
|
|
66
|
+
"x-position": 5
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"name": "skip",
|
|
70
|
+
"in": "query",
|
|
71
|
+
"schema": {
|
|
72
|
+
"type": "integer",
|
|
73
|
+
"format": "int32",
|
|
74
|
+
"default": 0
|
|
75
|
+
},
|
|
76
|
+
"x-position": 6
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"name": "take",
|
|
80
|
+
"in": "query",
|
|
81
|
+
"schema": {
|
|
82
|
+
"type": "integer",
|
|
83
|
+
"format": "int32",
|
|
84
|
+
"default": 20
|
|
85
|
+
},
|
|
86
|
+
"x-position": 7
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"name": "disableValidation",
|
|
90
|
+
"in": "query",
|
|
91
|
+
"schema": {
|
|
92
|
+
"type": "boolean",
|
|
93
|
+
"default": false
|
|
94
|
+
},
|
|
95
|
+
"x-position": 8
|
|
96
|
+
}
|
|
97
|
+
],
|
|
98
|
+
"responses": {
|
|
99
|
+
"200": {
|
|
100
|
+
"description": "",
|
|
101
|
+
"content": {
|
|
102
|
+
"application/json": {
|
|
103
|
+
"schema": {
|
|
104
|
+
"type": "array",
|
|
105
|
+
"items": {}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
"post": {
|
|
113
|
+
"operationId": "PostMcp$toolsQueryEntities",
|
|
114
|
+
"parameters": [
|
|
115
|
+
{
|
|
116
|
+
"name": "disableValidation",
|
|
117
|
+
"in": "query",
|
|
118
|
+
"schema": {
|
|
119
|
+
"type": "boolean",
|
|
120
|
+
"default": false
|
|
121
|
+
},
|
|
122
|
+
"x-position": 2
|
|
123
|
+
}
|
|
124
|
+
],
|
|
125
|
+
"requestBody": {
|
|
126
|
+
"x-name": "request",
|
|
127
|
+
"content": {
|
|
128
|
+
"application/json": {
|
|
129
|
+
"schema": {
|
|
130
|
+
"$ref": "#/components/schemas/TpEntityRequest"
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
"required": true,
|
|
135
|
+
"x-position": 1
|
|
136
|
+
},
|
|
137
|
+
"responses": {
|
|
138
|
+
"200": {
|
|
139
|
+
"description": "",
|
|
140
|
+
"content": {
|
|
141
|
+
"application/json": {
|
|
142
|
+
"schema": {
|
|
143
|
+
"type": "array",
|
|
144
|
+
"items": {}
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
},
|
|
19
152
|
"/api/settings/profile/copy": {
|
|
20
153
|
"post": {
|
|
21
154
|
"tags": [
|
|
@@ -388,9 +521,9 @@
|
|
|
388
521
|
{
|
|
389
522
|
"name": "validate",
|
|
390
523
|
"in": "query",
|
|
391
|
-
"required": true,
|
|
392
524
|
"schema": {
|
|
393
|
-
"type": "boolean"
|
|
525
|
+
"type": "boolean",
|
|
526
|
+
"nullable": true
|
|
394
527
|
}
|
|
395
528
|
}
|
|
396
529
|
],
|
|
@@ -2245,6 +2378,61 @@
|
|
|
2245
2378
|
},
|
|
2246
2379
|
"components": {
|
|
2247
2380
|
"schemas": {
|
|
2381
|
+
"TpEntityRequest": {
|
|
2382
|
+
"type": "object",
|
|
2383
|
+
"additionalProperties": false,
|
|
2384
|
+
"required": [
|
|
2385
|
+
"entityType",
|
|
2386
|
+
"includeLinks"
|
|
2387
|
+
],
|
|
2388
|
+
"properties": {
|
|
2389
|
+
"entityType": {
|
|
2390
|
+
"type": "string"
|
|
2391
|
+
},
|
|
2392
|
+
"id": {
|
|
2393
|
+
"type": "integer",
|
|
2394
|
+
"format": "int32",
|
|
2395
|
+
"nullable": true
|
|
2396
|
+
},
|
|
2397
|
+
"includeLinks": {
|
|
2398
|
+
"type": "boolean"
|
|
2399
|
+
},
|
|
2400
|
+
"where": {
|
|
2401
|
+
"type": "string",
|
|
2402
|
+
"nullable": true
|
|
2403
|
+
},
|
|
2404
|
+
"filter": {
|
|
2405
|
+
"type": "string",
|
|
2406
|
+
"nullable": true
|
|
2407
|
+
},
|
|
2408
|
+
"select": {
|
|
2409
|
+
"type": "string",
|
|
2410
|
+
"nullable": true
|
|
2411
|
+
},
|
|
2412
|
+
"orderBy": {
|
|
2413
|
+
"type": "string",
|
|
2414
|
+
"nullable": true
|
|
2415
|
+
},
|
|
2416
|
+
"result": {
|
|
2417
|
+
"type": "string",
|
|
2418
|
+
"nullable": true
|
|
2419
|
+
},
|
|
2420
|
+
"take": {
|
|
2421
|
+
"type": "integer",
|
|
2422
|
+
"format": "int32",
|
|
2423
|
+
"nullable": true
|
|
2424
|
+
},
|
|
2425
|
+
"skip": {
|
|
2426
|
+
"type": "integer",
|
|
2427
|
+
"format": "int32",
|
|
2428
|
+
"nullable": true
|
|
2429
|
+
},
|
|
2430
|
+
"dateFormat": {
|
|
2431
|
+
"type": "string",
|
|
2432
|
+
"nullable": true
|
|
2433
|
+
}
|
|
2434
|
+
}
|
|
2435
|
+
},
|
|
2248
2436
|
"HttpValidationProblemDetails": {
|
|
2249
2437
|
"allOf": [
|
|
2250
2438
|
{
|
|
@@ -2643,8 +2831,15 @@
|
|
|
2643
2831
|
},
|
|
2644
2832
|
"FieldDefDto": {
|
|
2645
2833
|
"type": "object",
|
|
2834
|
+
"discriminator": {
|
|
2835
|
+
"propertyName": "$type",
|
|
2836
|
+
"mapping": {
|
|
2837
|
+
"TpFieldDefDto": "#/components/schemas/TpFieldDefDto"
|
|
2838
|
+
}
|
|
2839
|
+
},
|
|
2646
2840
|
"additionalProperties": false,
|
|
2647
2841
|
"required": [
|
|
2842
|
+
"$type",
|
|
2648
2843
|
"expression",
|
|
2649
2844
|
"type"
|
|
2650
2845
|
],
|
|
@@ -2666,6 +2861,9 @@
|
|
|
2666
2861
|
"refType": {
|
|
2667
2862
|
"type": "string",
|
|
2668
2863
|
"nullable": true
|
|
2864
|
+
},
|
|
2865
|
+
"$type": {
|
|
2866
|
+
"type": "string"
|
|
2669
2867
|
}
|
|
2670
2868
|
}
|
|
2671
2869
|
},
|
|
@@ -2681,6 +2879,23 @@
|
|
|
2681
2879
|
"Collection"
|
|
2682
2880
|
]
|
|
2683
2881
|
},
|
|
2882
|
+
"TpFieldDefDto": {
|
|
2883
|
+
"allOf": [
|
|
2884
|
+
{
|
|
2885
|
+
"$ref": "#/components/schemas/FieldDefDto"
|
|
2886
|
+
},
|
|
2887
|
+
{
|
|
2888
|
+
"type": "object",
|
|
2889
|
+
"additionalProperties": false,
|
|
2890
|
+
"properties": {
|
|
2891
|
+
"referenceExpression": {
|
|
2892
|
+
"type": "string",
|
|
2893
|
+
"nullable": true
|
|
2894
|
+
}
|
|
2895
|
+
}
|
|
2896
|
+
}
|
|
2897
|
+
]
|
|
2898
|
+
},
|
|
2684
2899
|
"SetCurrentProfileRequestDto": {
|
|
2685
2900
|
"type": "object",
|
|
2686
2901
|
"additionalProperties": false,
|