@targetprocess/shared-data-model-client 1.41.1 → 1.42.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.
@@ -1,4 +1,4 @@
1
- import { type TpEntityRequest, type TpQueryResponseOfJsonElement } from '../../../models/index.js';
1
+ import { type TpEntityRequest, type TpMcpQueryResponseOfJsonElement } from '../../../models/index.js';
2
2
  import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
3
3
  /**
4
4
  * Builds and executes requests for operations under /mcp/_tools/query_entities
@@ -6,15 +6,15 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
6
6
  export interface Query_entitiesRequestBuilder extends BaseRequestBuilder<Query_entitiesRequestBuilder> {
7
7
  /**
8
8
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9
- * @returns {Promise<TpQueryResponseOfJsonElement>}
9
+ * @returns {Promise<TpMcpQueryResponseOfJsonElement>}
10
10
  */
11
- get(requestConfiguration?: RequestConfiguration<Query_entitiesRequestBuilderGetQueryParameters> | undefined): Promise<TpQueryResponseOfJsonElement | undefined>;
11
+ get(requestConfiguration?: RequestConfiguration<Query_entitiesRequestBuilderGetQueryParameters> | undefined): Promise<TpMcpQueryResponseOfJsonElement | undefined>;
12
12
  /**
13
13
  * @param body The request body
14
14
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
- * @returns {Promise<TpQueryResponseOfJsonElement>}
15
+ * @returns {Promise<TpMcpQueryResponseOfJsonElement>}
16
16
  */
17
- post(body: TpEntityRequest, requestConfiguration?: RequestConfiguration<Query_entitiesRequestBuilderPostQueryParameters> | undefined): Promise<TpQueryResponseOfJsonElement | undefined>;
17
+ post(body: TpEntityRequest, requestConfiguration?: RequestConfiguration<Query_entitiesRequestBuilderPostQueryParameters> | undefined): Promise<TpMcpQueryResponseOfJsonElement | undefined>;
18
18
  /**
19
19
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
20
20
  * @returns {RequestInformation}
@@ -18,13 +18,13 @@ exports.Query_entitiesRequestBuilderRequestsMetadata = {
18
18
  uriTemplate: exports.Query_entitiesRequestBuilderUriTemplate,
19
19
  responseBodyContentType: "application/json",
20
20
  adapterMethodName: "send",
21
- responseBodyFactory: index_js_1.createTpQueryResponseOfJsonElementFromDiscriminatorValue,
21
+ responseBodyFactory: index_js_1.createTpMcpQueryResponseOfJsonElementFromDiscriminatorValue,
22
22
  },
23
23
  post: {
24
24
  uriTemplate: exports.Query_entitiesRequestBuilderUriTemplate,
25
25
  responseBodyContentType: "application/json",
26
26
  adapterMethodName: "send",
27
- responseBodyFactory: index_js_1.createTpQueryResponseOfJsonElementFromDiscriminatorValue,
27
+ responseBodyFactory: index_js_1.createTpMcpQueryResponseOfJsonElementFromDiscriminatorValue,
28
28
  requestBodyContentType: "application/json",
29
29
  requestBodySerializer: index_js_1.serializeTpEntityRequest,
30
30
  requestInformationContentSetMethod: "setContentFromParsable",
@@ -134,9 +134,9 @@ export declare function createTpFieldDefDtoFromDiscriminatorValue(parseNode: Par
134
134
  /**
135
135
  * Creates a new instance of the appropriate class based on discriminator value
136
136
  * @param parseNode The parse node to use to read the discriminator value and create the object
137
- * @returns {TpQueryResponseOfJsonElement}
137
+ * @returns {TpMcpQueryResponseOfJsonElement}
138
138
  */
139
- export declare function createTpQueryResponseOfJsonElementFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
139
+ export declare function createTpMcpQueryResponseOfJsonElementFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
140
140
  /**
141
141
  * Creates a new instance of the appropriate class based on discriminator value
142
142
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -307,10 +307,10 @@ export declare function deserializeIntoTpEntityRequest(tpEntityRequest?: Partial
307
307
  export declare function deserializeIntoTpFieldDefDto(tpFieldDefDto?: Partial<TpFieldDefDto> | undefined): Record<string, (node: ParseNode) => void>;
308
308
  /**
309
309
  * The deserialization information for the current model
310
- * @param TpQueryResponseOfJsonElement The instance to deserialize into.
310
+ * @param TpMcpQueryResponseOfJsonElement The instance to deserialize into.
311
311
  * @returns {Record<string, (node: ParseNode) => void>}
312
312
  */
313
- export declare function deserializeIntoTpQueryResponseOfJsonElement(tpQueryResponseOfJsonElement?: Partial<TpQueryResponseOfJsonElement> | undefined): Record<string, (node: ParseNode) => void>;
313
+ export declare function deserializeIntoTpMcpQueryResponseOfJsonElement(tpMcpQueryResponseOfJsonElement?: Partial<TpMcpQueryResponseOfJsonElement> | undefined): Record<string, (node: ParseNode) => void>;
314
314
  /**
315
315
  * The deserialization information for the current model
316
316
  * @param TpTypeDefDto The instance to deserialize into.
@@ -655,10 +655,10 @@ export declare function serializeTpFieldDefDto(writer: SerializationWriter, tpFi
655
655
  /**
656
656
  * Serializes information the current object
657
657
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
658
- * @param TpQueryResponseOfJsonElement The instance to serialize from.
658
+ * @param TpMcpQueryResponseOfJsonElement The instance to serialize from.
659
659
  * @param writer Serialization writer to use to serialize this model
660
660
  */
661
- export declare function serializeTpQueryResponseOfJsonElement(writer: SerializationWriter, tpQueryResponseOfJsonElement?: Partial<TpQueryResponseOfJsonElement> | undefined | null, isSerializingDerivedType?: boolean): void;
661
+ export declare function serializeTpMcpQueryResponseOfJsonElement(writer: SerializationWriter, tpMcpQueryResponseOfJsonElement?: Partial<TpMcpQueryResponseOfJsonElement> | undefined | null, isSerializingDerivedType?: boolean): void;
662
662
  /**
663
663
  * Serializes information the current object
664
664
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -807,11 +807,14 @@ export interface TpFieldDefDto extends AdditionalDataHolder, FieldDefDto, Parsab
807
807
  */
808
808
  referenceExpression?: string | null;
809
809
  }
810
- export interface TpQueryResponseOfJsonElement extends Parsable {
810
+ /**
811
+ * Separate model for MCP; HasMore field is confusing for LLM's, LLM can retry exact same call to get more data
812
+ */
813
+ export interface TpMcpQueryResponseOfJsonElement extends Parsable {
811
814
  /**
812
- * The hasMore property
815
+ * The hasNextPage property
813
816
  */
814
- hasMore?: boolean | null;
817
+ hasNextPage?: boolean | null;
815
818
  /**
816
819
  * The items property
817
820
  */
@@ -22,7 +22,7 @@ exports.createSharedDataDeleteDtoFromDiscriminatorValue = createSharedDataDelete
22
22
  exports.createTestTypeMappingDtoFromDiscriminatorValue = createTestTypeMappingDtoFromDiscriminatorValue;
23
23
  exports.createTpEntityRequestFromDiscriminatorValue = createTpEntityRequestFromDiscriminatorValue;
24
24
  exports.createTpFieldDefDtoFromDiscriminatorValue = createTpFieldDefDtoFromDiscriminatorValue;
25
- exports.createTpQueryResponseOfJsonElementFromDiscriminatorValue = createTpQueryResponseOfJsonElementFromDiscriminatorValue;
25
+ exports.createTpMcpQueryResponseOfJsonElementFromDiscriminatorValue = createTpMcpQueryResponseOfJsonElementFromDiscriminatorValue;
26
26
  exports.createTpTypeDefDtoFromDiscriminatorValue = createTpTypeDefDtoFromDiscriminatorValue;
27
27
  exports.createTypeMappingDtoFromDiscriminatorValue = createTypeMappingDtoFromDiscriminatorValue;
28
28
  exports.createTypeMetaDefDtoFromDiscriminatorValue = createTypeMetaDefDtoFromDiscriminatorValue;
@@ -50,7 +50,7 @@ exports.deserializeIntoSharedDataDeleteDto = deserializeIntoSharedDataDeleteDto;
50
50
  exports.deserializeIntoTestTypeMappingDto = deserializeIntoTestTypeMappingDto;
51
51
  exports.deserializeIntoTpEntityRequest = deserializeIntoTpEntityRequest;
52
52
  exports.deserializeIntoTpFieldDefDto = deserializeIntoTpFieldDefDto;
53
- exports.deserializeIntoTpQueryResponseOfJsonElement = deserializeIntoTpQueryResponseOfJsonElement;
53
+ exports.deserializeIntoTpMcpQueryResponseOfJsonElement = deserializeIntoTpMcpQueryResponseOfJsonElement;
54
54
  exports.deserializeIntoTpTypeDefDto = deserializeIntoTpTypeDefDto;
55
55
  exports.deserializeIntoTypeMappingDto = deserializeIntoTypeMappingDto;
56
56
  exports.deserializeIntoTypeMetaDefDto = deserializeIntoTypeMetaDefDto;
@@ -78,7 +78,7 @@ exports.serializeSharedDataDeleteDto = serializeSharedDataDeleteDto;
78
78
  exports.serializeTestTypeMappingDto = serializeTestTypeMappingDto;
79
79
  exports.serializeTpEntityRequest = serializeTpEntityRequest;
80
80
  exports.serializeTpFieldDefDto = serializeTpFieldDefDto;
81
- exports.serializeTpQueryResponseOfJsonElement = serializeTpQueryResponseOfJsonElement;
81
+ exports.serializeTpMcpQueryResponseOfJsonElement = serializeTpMcpQueryResponseOfJsonElement;
82
82
  exports.serializeTpTypeDefDto = serializeTpTypeDefDto;
83
83
  exports.serializeTypeMappingDto = serializeTypeMappingDto;
84
84
  exports.serializeTypeMetaDefDto = serializeTypeMetaDefDto;
@@ -306,11 +306,11 @@ function createTpFieldDefDtoFromDiscriminatorValue(parseNode) {
306
306
  /**
307
307
  * Creates a new instance of the appropriate class based on discriminator value
308
308
  * @param parseNode The parse node to use to read the discriminator value and create the object
309
- * @returns {TpQueryResponseOfJsonElement}
309
+ * @returns {TpMcpQueryResponseOfJsonElement}
310
310
  */
311
311
  // @ts-ignore
312
- function createTpQueryResponseOfJsonElementFromDiscriminatorValue(parseNode) {
313
- return deserializeIntoTpQueryResponseOfJsonElement;
312
+ function createTpMcpQueryResponseOfJsonElementFromDiscriminatorValue(parseNode) {
313
+ return deserializeIntoTpMcpQueryResponseOfJsonElement;
314
314
  }
315
315
  /**
316
316
  * Creates a new instance of the appropriate class based on discriminator value
@@ -650,14 +650,14 @@ function deserializeIntoTpFieldDefDto(tpFieldDefDto = {}) {
650
650
  }
651
651
  /**
652
652
  * The deserialization information for the current model
653
- * @param TpQueryResponseOfJsonElement The instance to deserialize into.
653
+ * @param TpMcpQueryResponseOfJsonElement The instance to deserialize into.
654
654
  * @returns {Record<string, (node: ParseNode) => void>}
655
655
  */
656
656
  // @ts-ignore
657
- function deserializeIntoTpQueryResponseOfJsonElement(tpQueryResponseOfJsonElement = {}) {
657
+ function deserializeIntoTpMcpQueryResponseOfJsonElement(tpMcpQueryResponseOfJsonElement = {}) {
658
658
  return {
659
- "hasMore": n => { tpQueryResponseOfJsonElement.hasMore = n.getBooleanValue(); },
660
- "items": n => { tpQueryResponseOfJsonElement.items = n.getObjectValue(kiota_abstractions_1.createUntypedNodeFromDiscriminatorValue); },
659
+ "hasNextPage": n => { tpMcpQueryResponseOfJsonElement.hasNextPage = n.getBooleanValue(); },
660
+ "items": n => { tpMcpQueryResponseOfJsonElement.items = n.getObjectValue(kiota_abstractions_1.createUntypedNodeFromDiscriminatorValue); },
661
661
  };
662
662
  }
663
663
  /**
@@ -1073,16 +1073,16 @@ function serializeTpFieldDefDto(writer, tpFieldDefDto = {}, isSerializingDerived
1073
1073
  /**
1074
1074
  * Serializes information the current object
1075
1075
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
1076
- * @param TpQueryResponseOfJsonElement The instance to serialize from.
1076
+ * @param TpMcpQueryResponseOfJsonElement The instance to serialize from.
1077
1077
  * @param writer Serialization writer to use to serialize this model
1078
1078
  */
1079
1079
  // @ts-ignore
1080
- function serializeTpQueryResponseOfJsonElement(writer, tpQueryResponseOfJsonElement = {}, isSerializingDerivedType = false) {
1081
- if (!tpQueryResponseOfJsonElement || isSerializingDerivedType) {
1080
+ function serializeTpMcpQueryResponseOfJsonElement(writer, tpMcpQueryResponseOfJsonElement = {}, isSerializingDerivedType = false) {
1081
+ if (!tpMcpQueryResponseOfJsonElement || isSerializingDerivedType) {
1082
1082
  return;
1083
1083
  }
1084
- writer.writeBooleanValue("hasMore", tpQueryResponseOfJsonElement.hasMore);
1085
- writer.writeObjectValue("items", tpQueryResponseOfJsonElement.items);
1084
+ writer.writeBooleanValue("hasNextPage", tpMcpQueryResponseOfJsonElement.hasNextPage);
1085
+ writer.writeObjectValue("items", tpMcpQueryResponseOfJsonElement.items);
1086
1086
  }
1087
1087
  /**
1088
1088
  * Serializes information the current object
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@targetprocess/shared-data-model-client",
3
- "version": "1.41.1",
3
+ "version": "1.42.0",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,5 +1,5 @@
1
1
  {
2
- "descriptionHash": "B35413759B044CC465091970A941FE244BC80EF2757F4D89A9882EE12F0D3068162FF4C9B181FD7F47FC026220ED49139D8862BB9136FBE86B1DAD4DC69C2383",
2
+ "descriptionHash": "F8A9320AF5C07D3454D2779EE92CE873445977D4F06ACA2CA710394EDC59C09A519627472BAB92152D9EDBE884087B3E0509284A19FB928B1E1E6F4D0D3FF204",
3
3
  "descriptionLocation": "v1.json",
4
4
  "lockFileVersion": "1.0.0",
5
5
  "kiotaVersion": "1.30.0",
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  // Generated by Microsoft Kiota
4
4
  // @ts-ignore
5
- import { createTpQueryResponseOfJsonElementFromDiscriminatorValue, serializeTpEntityRequest, serializeTpQueryResponseOfJsonElement, type TpEntityRequest, type TpQueryResponseOfJsonElement } from '../../../models/index.js';
5
+ import { createTpMcpQueryResponseOfJsonElementFromDiscriminatorValue, serializeTpEntityRequest, serializeTpMcpQueryResponseOfJsonElement, type TpEntityRequest, type TpMcpQueryResponseOfJsonElement } from '../../../models/index.js';
6
6
  // @ts-ignore
7
7
  import { type BaseRequestBuilder, type Parsable, type ParsableFactory, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
8
8
 
@@ -12,15 +12,15 @@ import { type BaseRequestBuilder, type Parsable, type ParsableFactory, type Requ
12
12
  export interface Query_entitiesRequestBuilder extends BaseRequestBuilder<Query_entitiesRequestBuilder> {
13
13
  /**
14
14
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
- * @returns {Promise<TpQueryResponseOfJsonElement>}
15
+ * @returns {Promise<TpMcpQueryResponseOfJsonElement>}
16
16
  */
17
- get(requestConfiguration?: RequestConfiguration<Query_entitiesRequestBuilderGetQueryParameters> | undefined) : Promise<TpQueryResponseOfJsonElement | undefined>;
17
+ get(requestConfiguration?: RequestConfiguration<Query_entitiesRequestBuilderGetQueryParameters> | undefined) : Promise<TpMcpQueryResponseOfJsonElement | undefined>;
18
18
  /**
19
19
  * @param body The request body
20
20
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
21
- * @returns {Promise<TpQueryResponseOfJsonElement>}
21
+ * @returns {Promise<TpMcpQueryResponseOfJsonElement>}
22
22
  */
23
- post(body: TpEntityRequest, requestConfiguration?: RequestConfiguration<Query_entitiesRequestBuilderPostQueryParameters> | undefined) : Promise<TpQueryResponseOfJsonElement | undefined>;
23
+ post(body: TpEntityRequest, requestConfiguration?: RequestConfiguration<Query_entitiesRequestBuilderPostQueryParameters> | undefined) : Promise<TpMcpQueryResponseOfJsonElement | undefined>;
24
24
  /**
25
25
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
26
26
  * @returns {RequestInformation}
@@ -58,13 +58,13 @@ export const Query_entitiesRequestBuilderRequestsMetadata: RequestsMetadata = {
58
58
  uriTemplate: Query_entitiesRequestBuilderUriTemplate,
59
59
  responseBodyContentType: "application/json",
60
60
  adapterMethodName: "send",
61
- responseBodyFactory: createTpQueryResponseOfJsonElementFromDiscriminatorValue,
61
+ responseBodyFactory: createTpMcpQueryResponseOfJsonElementFromDiscriminatorValue,
62
62
  },
63
63
  post: {
64
64
  uriTemplate: Query_entitiesRequestBuilderUriTemplate,
65
65
  responseBodyContentType: "application/json",
66
66
  adapterMethodName: "send",
67
- responseBodyFactory: createTpQueryResponseOfJsonElementFromDiscriminatorValue,
67
+ responseBodyFactory: createTpMcpQueryResponseOfJsonElementFromDiscriminatorValue,
68
68
  requestBodyContentType: "application/json",
69
69
  requestBodySerializer: serializeTpEntityRequest,
70
70
  requestInformationContentSetMethod: "setContentFromParsable",
@@ -224,11 +224,11 @@ export function createTpFieldDefDtoFromDiscriminatorValue(parseNode: ParseNode |
224
224
  /**
225
225
  * Creates a new instance of the appropriate class based on discriminator value
226
226
  * @param parseNode The parse node to use to read the discriminator value and create the object
227
- * @returns {TpQueryResponseOfJsonElement}
227
+ * @returns {TpMcpQueryResponseOfJsonElement}
228
228
  */
229
229
  // @ts-ignore
230
- export function createTpQueryResponseOfJsonElementFromDiscriminatorValue(parseNode: ParseNode | undefined) : ((instance?: Parsable) => Record<string, (node: ParseNode) => void>) {
231
- return deserializeIntoTpQueryResponseOfJsonElement;
230
+ export function createTpMcpQueryResponseOfJsonElementFromDiscriminatorValue(parseNode: ParseNode | undefined) : ((instance?: Parsable) => Record<string, (node: ParseNode) => void>) {
231
+ return deserializeIntoTpMcpQueryResponseOfJsonElement;
232
232
  }
233
233
  /**
234
234
  * Creates a new instance of the appropriate class based on discriminator value
@@ -574,14 +574,14 @@ export function deserializeIntoTpFieldDefDto(tpFieldDefDto: Partial<TpFieldDefDt
574
574
  }
575
575
  /**
576
576
  * The deserialization information for the current model
577
- * @param TpQueryResponseOfJsonElement The instance to deserialize into.
577
+ * @param TpMcpQueryResponseOfJsonElement The instance to deserialize into.
578
578
  * @returns {Record<string, (node: ParseNode) => void>}
579
579
  */
580
580
  // @ts-ignore
581
- export function deserializeIntoTpQueryResponseOfJsonElement(tpQueryResponseOfJsonElement: Partial<TpQueryResponseOfJsonElement> | undefined = {}) : Record<string, (node: ParseNode) => void> {
581
+ export function deserializeIntoTpMcpQueryResponseOfJsonElement(tpMcpQueryResponseOfJsonElement: Partial<TpMcpQueryResponseOfJsonElement> | undefined = {}) : Record<string, (node: ParseNode) => void> {
582
582
  return {
583
- "hasMore": n => { tpQueryResponseOfJsonElement.hasMore = n.getBooleanValue(); },
584
- "items": n => { tpQueryResponseOfJsonElement.items = n.getObjectValue<UntypedNode>(createUntypedNodeFromDiscriminatorValue); },
583
+ "hasNextPage": n => { tpMcpQueryResponseOfJsonElement.hasNextPage = n.getBooleanValue(); },
584
+ "items": n => { tpMcpQueryResponseOfJsonElement.items = n.getObjectValue<UntypedNode>(createUntypedNodeFromDiscriminatorValue); },
585
585
  }
586
586
  }
587
587
  /**
@@ -1113,14 +1113,14 @@ export function serializeTpFieldDefDto(writer: SerializationWriter, tpFieldDefDt
1113
1113
  /**
1114
1114
  * Serializes information the current object
1115
1115
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
1116
- * @param TpQueryResponseOfJsonElement The instance to serialize from.
1116
+ * @param TpMcpQueryResponseOfJsonElement The instance to serialize from.
1117
1117
  * @param writer Serialization writer to use to serialize this model
1118
1118
  */
1119
1119
  // @ts-ignore
1120
- export function serializeTpQueryResponseOfJsonElement(writer: SerializationWriter, tpQueryResponseOfJsonElement: Partial<TpQueryResponseOfJsonElement> | undefined | null = {}, isSerializingDerivedType: boolean = false) : void {
1121
- if (!tpQueryResponseOfJsonElement || isSerializingDerivedType) { return; }
1122
- writer.writeBooleanValue("hasMore", tpQueryResponseOfJsonElement.hasMore);
1123
- writer.writeObjectValue("items", tpQueryResponseOfJsonElement.items);
1120
+ export function serializeTpMcpQueryResponseOfJsonElement(writer: SerializationWriter, tpMcpQueryResponseOfJsonElement: Partial<TpMcpQueryResponseOfJsonElement> | undefined | null = {}, isSerializingDerivedType: boolean = false) : void {
1121
+ if (!tpMcpQueryResponseOfJsonElement || isSerializingDerivedType) { return; }
1122
+ writer.writeBooleanValue("hasNextPage", tpMcpQueryResponseOfJsonElement.hasNextPage);
1123
+ writer.writeObjectValue("items", tpMcpQueryResponseOfJsonElement.items);
1124
1124
  }
1125
1125
  /**
1126
1126
  * Serializes information the current object
@@ -1319,11 +1319,14 @@ export interface TpFieldDefDto extends AdditionalDataHolder, FieldDefDto, Parsab
1319
1319
  */
1320
1320
  referenceExpression?: string | null;
1321
1321
  }
1322
- export interface TpQueryResponseOfJsonElement extends Parsable {
1322
+ /**
1323
+ * Separate model for MCP; HasMore field is confusing for LLM's, LLM can retry exact same call to get more data
1324
+ */
1325
+ export interface TpMcpQueryResponseOfJsonElement extends Parsable {
1323
1326
  /**
1324
- * The hasMore property
1327
+ * The hasNextPage property
1325
1328
  */
1326
- hasMore?: boolean | null;
1329
+ hasNextPage?: boolean | null;
1327
1330
  /**
1328
1331
  * The items property
1329
1332
  */
package/src/v1.json CHANGED
@@ -189,7 +189,7 @@
189
189
  "content": {
190
190
  "application/json": {
191
191
  "schema": {
192
- "$ref": "#/components/schemas/TpQueryResponseOfJsonElement"
192
+ "$ref": "#/components/schemas/TpMcpQueryResponseOfJsonElement"
193
193
  }
194
194
  }
195
195
  }
@@ -238,7 +238,7 @@
238
238
  "content": {
239
239
  "application/json": {
240
240
  "schema": {
241
- "$ref": "#/components/schemas/TpQueryResponseOfJsonElement"
241
+ "$ref": "#/components/schemas/TpMcpQueryResponseOfJsonElement"
242
242
  }
243
243
  }
244
244
  }
@@ -2486,19 +2486,20 @@
2486
2486
  },
2487
2487
  "components": {
2488
2488
  "schemas": {
2489
- "TpQueryResponseOfJsonElement": {
2489
+ "TpMcpQueryResponseOfJsonElement": {
2490
2490
  "type": "object",
2491
+ "description": "Separate model for MCP; HasMore field is confusing for LLM's, LLM can retry exact same call to get more data",
2491
2492
  "additionalProperties": false,
2492
2493
  "required": [
2493
2494
  "items",
2494
- "hasMore"
2495
+ "hasNextPage"
2495
2496
  ],
2496
2497
  "properties": {
2497
2498
  "items": {
2498
2499
  "type": "array",
2499
2500
  "items": {}
2500
2501
  },
2501
- "hasMore": {
2502
+ "hasNextPage": {
2502
2503
  "type": "boolean"
2503
2504
  }
2504
2505
  }