@targetprocess/shared-data-model-client 1.21.0 → 1.23.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.
@@ -0,0 +1,21 @@
1
+ import { type WithEntityTypeItemRequestBuilder } from './item/index.js';
2
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata } from '@microsoft/kiota-abstractions';
3
+ /**
4
+ * Builds and executes requests for operations under /api/sdm/fetch
5
+ */
6
+ export interface FetchRequestBuilder extends BaseRequestBuilder<FetchRequestBuilder> {
7
+ /**
8
+ * Gets an item from the Tp.api.sdm.fetch.item collection
9
+ * @param entityType Unique identifier of the item
10
+ * @returns {WithEntityTypeItemRequestBuilder}
11
+ */
12
+ byEntityType(entityType: string): WithEntityTypeItemRequestBuilder;
13
+ }
14
+ /**
15
+ * Uri template for the request builder.
16
+ */
17
+ export declare const FetchRequestBuilderUriTemplate = "{+baseurl}/api/sdm/fetch";
18
+ /**
19
+ * Metadata for all the navigation properties in the request builder.
20
+ */
21
+ export declare const FetchRequestBuilderNavigationMetadata: Record<Exclude<keyof FetchRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FetchRequestBuilderNavigationMetadata = exports.FetchRequestBuilderUriTemplate = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ // @ts-ignore
8
+ const index_js_1 = require("./item/index.js");
9
+ /**
10
+ * Uri template for the request builder.
11
+ */
12
+ exports.FetchRequestBuilderUriTemplate = "{+baseurl}/api/sdm/fetch";
13
+ /**
14
+ * Metadata for all the navigation properties in the request builder.
15
+ */
16
+ exports.FetchRequestBuilderNavigationMetadata = {
17
+ byEntityType: {
18
+ requestsMetadata: index_js_1.WithEntityTypeItemRequestBuilderRequestsMetadata,
19
+ navigationMetadata: index_js_1.WithEntityTypeItemRequestBuilderNavigationMetadata,
20
+ pathParametersMappings: ["entityType"],
21
+ },
22
+ };
23
+ /* tslint:enable */
24
+ /* eslint-enable */
@@ -0,0 +1,45 @@
1
+ import { type QueryFiltersDto } from '../../../../models/index.js';
2
+ import { type EntityTypeItemRequestBuilder } from './item/index.js';
3
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type UntypedNode } from '@microsoft/kiota-abstractions';
4
+ /**
5
+ * Builds and executes requests for operations under /api/sdm/fetch/{entityType}
6
+ */
7
+ export interface WithEntityTypeItemRequestBuilder extends BaseRequestBuilder<WithEntityTypeItemRequestBuilder> {
8
+ /**
9
+ * Gets an item from the Tp.api.sdm.fetch.item.item collection
10
+ * @param id Unique identifier of the item
11
+ * @returns {EntityTypeItemRequestBuilder}
12
+ */
13
+ byId(id: number): EntityTypeItemRequestBuilder;
14
+ /**
15
+ * Fetches entities using POST with complex filters
16
+ * @param body The request body
17
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
18
+ * @returns {Promise<UntypedNode>}
19
+ * @throws {HttpValidationProblemDetails} error when the service returns a 400 status code
20
+ * @throws {ProblemDetails} error when the service returns a 401 status code
21
+ * @throws {ProblemDetails} error when the service returns a 404 status code
22
+ * @throws {ProblemDetails} error when the service returns a 409 status code
23
+ * @throws {ProblemDetails} error when the service returns a 500 status code
24
+ */
25
+ post(body: QueryFiltersDto, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<UntypedNode | undefined>;
26
+ /**
27
+ * Fetches entities using POST with complex filters
28
+ * @param body The request body
29
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
30
+ * @returns {RequestInformation}
31
+ */
32
+ toPostRequestInformation(body: QueryFiltersDto, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
33
+ }
34
+ /**
35
+ * Uri template for the request builder.
36
+ */
37
+ export declare const WithEntityTypeItemRequestBuilderUriTemplate = "{+baseurl}/api/sdm/fetch/{entityType}";
38
+ /**
39
+ * Metadata for all the navigation properties in the request builder.
40
+ */
41
+ export declare const WithEntityTypeItemRequestBuilderNavigationMetadata: Record<Exclude<keyof WithEntityTypeItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
42
+ /**
43
+ * Metadata for all the requests in the request builder.
44
+ */
45
+ export declare const WithEntityTypeItemRequestBuilderRequestsMetadata: RequestsMetadata;
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WithEntityTypeItemRequestBuilderRequestsMetadata = exports.WithEntityTypeItemRequestBuilderNavigationMetadata = exports.WithEntityTypeItemRequestBuilderUriTemplate = 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 index_js_2 = require("./item/index.js");
11
+ // @ts-ignore
12
+ const kiota_abstractions_1 = require("@microsoft/kiota-abstractions");
13
+ /**
14
+ * Uri template for the request builder.
15
+ */
16
+ exports.WithEntityTypeItemRequestBuilderUriTemplate = "{+baseurl}/api/sdm/fetch/{entityType}";
17
+ /**
18
+ * Metadata for all the navigation properties in the request builder.
19
+ */
20
+ exports.WithEntityTypeItemRequestBuilderNavigationMetadata = {
21
+ byId: {
22
+ requestsMetadata: index_js_2.EntityTypeItemRequestBuilderRequestsMetadata,
23
+ pathParametersMappings: ["id"],
24
+ },
25
+ };
26
+ /**
27
+ * Metadata for all the requests in the request builder.
28
+ */
29
+ exports.WithEntityTypeItemRequestBuilderRequestsMetadata = {
30
+ post: {
31
+ uriTemplate: exports.WithEntityTypeItemRequestBuilderUriTemplate,
32
+ responseBodyContentType: "application/json",
33
+ errorMappings: {
34
+ 400: index_js_1.createHttpValidationProblemDetailsFromDiscriminatorValue,
35
+ 401: index_js_1.createProblemDetailsFromDiscriminatorValue,
36
+ 404: index_js_1.createProblemDetailsFromDiscriminatorValue,
37
+ 409: index_js_1.createProblemDetailsFromDiscriminatorValue,
38
+ 500: index_js_1.createProblemDetailsFromDiscriminatorValue,
39
+ },
40
+ adapterMethodName: "send",
41
+ responseBodyFactory: kiota_abstractions_1.createUntypedNodeFromDiscriminatorValue,
42
+ requestBodyContentType: "application/json",
43
+ requestBodySerializer: index_js_1.serializeQueryFiltersDto,
44
+ requestInformationContentSetMethod: "setContentFromParsable",
45
+ },
46
+ };
47
+ /* tslint:enable */
48
+ /* eslint-enable */
@@ -0,0 +1,34 @@
1
+ import { type QueryFiltersDto } 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 /api/sdm/fetch/{entityType}/{id}
5
+ */
6
+ export interface EntityTypeItemRequestBuilder extends BaseRequestBuilder<EntityTypeItemRequestBuilder> {
7
+ /**
8
+ * Fetches entities using POST with complex filters
9
+ * @param body The request body
10
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
11
+ * @returns {Promise<UntypedNode>}
12
+ * @throws {HttpValidationProblemDetails} error when the service returns a 400 status code
13
+ * @throws {ProblemDetails} error when the service returns a 401 status code
14
+ * @throws {ProblemDetails} error when the service returns a 404 status code
15
+ * @throws {ProblemDetails} error when the service returns a 409 status code
16
+ * @throws {ProblemDetails} error when the service returns a 500 status code
17
+ */
18
+ post(body: QueryFiltersDto, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<UntypedNode | undefined>;
19
+ /**
20
+ * Fetches entities using POST with complex filters
21
+ * @param body The request body
22
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
23
+ * @returns {RequestInformation}
24
+ */
25
+ toPostRequestInformation(body: QueryFiltersDto, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
26
+ }
27
+ /**
28
+ * Uri template for the request builder.
29
+ */
30
+ export declare const EntityTypeItemRequestBuilderUriTemplate = "{+baseurl}/api/sdm/fetch/{entityType}/{id}";
31
+ /**
32
+ * Metadata for all the requests in the request builder.
33
+ */
34
+ export declare const EntityTypeItemRequestBuilderRequestsMetadata: RequestsMetadata;
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EntityTypeItemRequestBuilderRequestsMetadata = exports.EntityTypeItemRequestBuilderUriTemplate = 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.EntityTypeItemRequestBuilderUriTemplate = "{+baseurl}/api/sdm/fetch/{entityType}/{id}";
15
+ /**
16
+ * Metadata for all the requests in the request builder.
17
+ */
18
+ exports.EntityTypeItemRequestBuilderRequestsMetadata = {
19
+ post: {
20
+ uriTemplate: exports.EntityTypeItemRequestBuilderUriTemplate,
21
+ responseBodyContentType: "application/json",
22
+ errorMappings: {
23
+ 400: index_js_1.createHttpValidationProblemDetailsFromDiscriminatorValue,
24
+ 401: index_js_1.createProblemDetailsFromDiscriminatorValue,
25
+ 404: index_js_1.createProblemDetailsFromDiscriminatorValue,
26
+ 409: index_js_1.createProblemDetailsFromDiscriminatorValue,
27
+ 500: index_js_1.createProblemDetailsFromDiscriminatorValue,
28
+ },
29
+ adapterMethodName: "send",
30
+ responseBodyFactory: kiota_abstractions_1.createUntypedNodeFromDiscriminatorValue,
31
+ requestBodyContentType: "application/json",
32
+ requestBodySerializer: index_js_1.serializeQueryFiltersDto,
33
+ requestInformationContentSetMethod: "setContentFromParsable",
34
+ },
35
+ };
36
+ /* tslint:enable */
37
+ /* eslint-enable */
@@ -1,5 +1,6 @@
1
1
  import { type AlertsRequestBuilder } from './alerts/index.js';
2
2
  import { type AttachmentsRequestBuilder } from './attachments/index.js';
3
+ import { type FetchRequestBuilder } from './fetch/index.js';
3
4
  import { type WithEntityTypeItemRequestBuilder } from './item/index.js';
4
5
  import { type MentionsRequestBuilder } from './mentions/index.js';
5
6
  import { type SchemaRequestBuilder } from './schema/index.js';
@@ -17,6 +18,10 @@ export interface SdmRequestBuilder extends BaseRequestBuilder<SdmRequestBuilder>
17
18
  * The attachments property
18
19
  */
19
20
  get attachments(): AttachmentsRequestBuilder;
21
+ /**
22
+ * The fetch property
23
+ */
24
+ get fetch(): FetchRequestBuilder;
20
25
  /**
21
26
  * The mentions property
22
27
  */
@@ -9,13 +9,15 @@ const index_js_1 = require("./alerts/index.js");
9
9
  // @ts-ignore
10
10
  const index_js_2 = require("./attachments/index.js");
11
11
  // @ts-ignore
12
- const index_js_3 = require("./item/index.js");
12
+ const index_js_3 = require("./fetch/index.js");
13
13
  // @ts-ignore
14
- const index_js_4 = require("./mentions/index.js");
14
+ const index_js_4 = require("./item/index.js");
15
15
  // @ts-ignore
16
- const index_js_5 = require("./schema/index.js");
16
+ const index_js_5 = require("./mentions/index.js");
17
17
  // @ts-ignore
18
- const index_js_6 = require("./terms/index.js");
18
+ const index_js_6 = require("./schema/index.js");
19
+ // @ts-ignore
20
+ const index_js_7 = require("./terms/index.js");
19
21
  /**
20
22
  * Uri template for the request builder.
21
23
  */
@@ -25,8 +27,8 @@ exports.SdmRequestBuilderUriTemplate = "{+baseurl}/api/sdm";
25
27
  */
26
28
  exports.SdmRequestBuilderNavigationMetadata = {
27
29
  byEntityType: {
28
- requestsMetadata: index_js_3.WithEntityTypeItemRequestBuilderRequestsMetadata,
29
- navigationMetadata: index_js_3.WithEntityTypeItemRequestBuilderNavigationMetadata,
30
+ requestsMetadata: index_js_4.WithEntityTypeItemRequestBuilderRequestsMetadata,
31
+ navigationMetadata: index_js_4.WithEntityTypeItemRequestBuilderNavigationMetadata,
30
32
  pathParametersMappings: ["entityType"],
31
33
  },
32
34
  alerts: {
@@ -35,14 +37,17 @@ exports.SdmRequestBuilderNavigationMetadata = {
35
37
  attachments: {
36
38
  navigationMetadata: index_js_2.AttachmentsRequestBuilderNavigationMetadata,
37
39
  },
40
+ fetch: {
41
+ navigationMetadata: index_js_3.FetchRequestBuilderNavigationMetadata,
42
+ },
38
43
  mentions: {
39
- requestsMetadata: index_js_4.MentionsRequestBuilderRequestsMetadata,
44
+ requestsMetadata: index_js_5.MentionsRequestBuilderRequestsMetadata,
40
45
  },
41
46
  schema: {
42
- navigationMetadata: index_js_5.SchemaRequestBuilderNavigationMetadata,
47
+ navigationMetadata: index_js_6.SchemaRequestBuilderNavigationMetadata,
43
48
  },
44
49
  terms: {
45
- requestsMetadata: index_js_6.TermsRequestBuilderRequestsMetadata,
50
+ requestsMetadata: index_js_7.TermsRequestBuilderRequestsMetadata,
46
51
  },
47
52
  };
48
53
  /* tslint:enable */
@@ -77,6 +77,12 @@ export declare function createProfileDtoFromDiscriminatorValue(parseNode: ParseN
77
77
  * @returns {ProfileIdDto}
78
78
  */
79
79
  export declare function createProfileIdDtoFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
80
+ /**
81
+ * Creates a new instance of the appropriate class based on discriminator value
82
+ * @param parseNode The parse node to use to read the discriminator value and create the object
83
+ * @returns {QueryFiltersDto}
84
+ */
85
+ export declare function createQueryFiltersDtoFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
80
86
  /**
81
87
  * Creates a new instance of the appropriate class based on discriminator value
82
88
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -227,6 +233,12 @@ export declare function deserializeIntoProfileDto(profileDto?: Partial<ProfileDt
227
233
  * @returns {Record<string, (node: ParseNode) => void>}
228
234
  */
229
235
  export declare function deserializeIntoProfileIdDto(profileIdDto?: Partial<ProfileIdDto> | undefined): Record<string, (node: ParseNode) => void>;
236
+ /**
237
+ * The deserialization information for the current model
238
+ * @param QueryFiltersDto The instance to deserialize into.
239
+ * @returns {Record<string, (node: ParseNode) => void>}
240
+ */
241
+ export declare function deserializeIntoQueryFiltersDto(queryFiltersDto?: Partial<QueryFiltersDto> | undefined): Record<string, (node: ParseNode) => void>;
230
242
  /**
231
243
  * The deserialization information for the current model
232
244
  * @param SdmTypeDefDto The instance to deserialize into.
@@ -412,6 +424,36 @@ export interface ProfileIdDto extends Parsable {
412
424
  */
413
425
  name?: string | null;
414
426
  }
427
+ export interface QueryFiltersDto extends Parsable {
428
+ /**
429
+ * The filter property
430
+ */
431
+ filter?: string | null;
432
+ /**
433
+ * The orderBy property
434
+ */
435
+ orderBy?: string | null;
436
+ /**
437
+ * The result property
438
+ */
439
+ result?: string | null;
440
+ /**
441
+ * The select property
442
+ */
443
+ select?: string | null;
444
+ /**
445
+ * The skip property
446
+ */
447
+ skip?: number | null;
448
+ /**
449
+ * The take property
450
+ */
451
+ take?: number | null;
452
+ /**
453
+ * The where property
454
+ */
455
+ where?: string | null;
456
+ }
415
457
  export type RefKind = (typeof RefKindObject)[keyof typeof RefKindObject];
416
458
  export interface SdmTypeDefDto extends Parsable {
417
459
  /**
@@ -507,6 +549,13 @@ export declare function serializeProfileDto(writer: SerializationWriter, profile
507
549
  * @param writer Serialization writer to use to serialize this model
508
550
  */
509
551
  export declare function serializeProfileIdDto(writer: SerializationWriter, profileIdDto?: Partial<ProfileIdDto> | undefined | null, isSerializingDerivedType?: boolean): void;
552
+ /**
553
+ * Serializes information the current object
554
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
555
+ * @param QueryFiltersDto The instance to serialize from.
556
+ * @param writer Serialization writer to use to serialize this model
557
+ */
558
+ export declare function serializeQueryFiltersDto(writer: SerializationWriter, queryFiltersDto?: Partial<QueryFiltersDto> | undefined | null, isSerializingDerivedType?: boolean): void;
510
559
  /**
511
560
  * Serializes information the current object
512
561
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -13,6 +13,7 @@ exports.createMappingFieldDefDtoFromDiscriminatorValue = createMappingFieldDefDt
13
13
  exports.createProblemDetailsFromDiscriminatorValue = createProblemDetailsFromDiscriminatorValue;
14
14
  exports.createProfileDtoFromDiscriminatorValue = createProfileDtoFromDiscriminatorValue;
15
15
  exports.createProfileIdDtoFromDiscriminatorValue = createProfileIdDtoFromDiscriminatorValue;
16
+ exports.createQueryFiltersDtoFromDiscriminatorValue = createQueryFiltersDtoFromDiscriminatorValue;
16
17
  exports.createSdmTypeDefDtoFromDiscriminatorValue = createSdmTypeDefDtoFromDiscriminatorValue;
17
18
  exports.createSetCurrentProfileRequestDtoFromDiscriminatorValue = createSetCurrentProfileRequestDtoFromDiscriminatorValue;
18
19
  exports.createSharedDataCreateAttachmentResponseDtoFromDiscriminatorValue = createSharedDataCreateAttachmentResponseDtoFromDiscriminatorValue;
@@ -37,6 +38,7 @@ exports.deserializeIntoMappingFieldDefDto = deserializeIntoMappingFieldDefDto;
37
38
  exports.deserializeIntoProblemDetails = deserializeIntoProblemDetails;
38
39
  exports.deserializeIntoProfileDto = deserializeIntoProfileDto;
39
40
  exports.deserializeIntoProfileIdDto = deserializeIntoProfileIdDto;
41
+ exports.deserializeIntoQueryFiltersDto = deserializeIntoQueryFiltersDto;
40
42
  exports.deserializeIntoSdmTypeDefDto = deserializeIntoSdmTypeDefDto;
41
43
  exports.deserializeIntoSetCurrentProfileRequestDto = deserializeIntoSetCurrentProfileRequestDto;
42
44
  exports.deserializeIntoSharedDataCreateAttachmentResponseDto = deserializeIntoSharedDataCreateAttachmentResponseDto;
@@ -61,6 +63,7 @@ exports.serializeMappingFieldDefDto = serializeMappingFieldDefDto;
61
63
  exports.serializeProblemDetails = serializeProblemDetails;
62
64
  exports.serializeProfileDto = serializeProfileDto;
63
65
  exports.serializeProfileIdDto = serializeProfileIdDto;
66
+ exports.serializeQueryFiltersDto = serializeQueryFiltersDto;
64
67
  exports.serializeSdmTypeDefDto = serializeSdmTypeDefDto;
65
68
  exports.serializeSetCurrentProfileRequestDto = serializeSetCurrentProfileRequestDto;
66
69
  exports.serializeSharedDataCreateAttachmentResponseDto = serializeSharedDataCreateAttachmentResponseDto;
@@ -193,6 +196,15 @@ function createProfileDtoFromDiscriminatorValue(parseNode) {
193
196
  function createProfileIdDtoFromDiscriminatorValue(parseNode) {
194
197
  return deserializeIntoProfileIdDto;
195
198
  }
199
+ /**
200
+ * Creates a new instance of the appropriate class based on discriminator value
201
+ * @param parseNode The parse node to use to read the discriminator value and create the object
202
+ * @returns {QueryFiltersDto}
203
+ */
204
+ // @ts-ignore
205
+ function createQueryFiltersDtoFromDiscriminatorValue(parseNode) {
206
+ return deserializeIntoQueryFiltersDto;
207
+ }
196
208
  /**
197
209
  * Creates a new instance of the appropriate class based on discriminator value
198
210
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -459,6 +471,23 @@ function deserializeIntoProfileIdDto(profileIdDto = {}) {
459
471
  "name": n => { profileIdDto.name = n.getStringValue(); },
460
472
  };
461
473
  }
474
+ /**
475
+ * The deserialization information for the current model
476
+ * @param QueryFiltersDto The instance to deserialize into.
477
+ * @returns {Record<string, (node: ParseNode) => void>}
478
+ */
479
+ // @ts-ignore
480
+ function deserializeIntoQueryFiltersDto(queryFiltersDto = {}) {
481
+ return {
482
+ "filter": n => { queryFiltersDto.filter = n.getStringValue(); },
483
+ "orderBy": n => { queryFiltersDto.orderBy = n.getStringValue(); },
484
+ "result": n => { queryFiltersDto.result = n.getStringValue(); },
485
+ "select": n => { queryFiltersDto.select = n.getStringValue(); },
486
+ "skip": n => { queryFiltersDto.skip = n.getNumberValue(); },
487
+ "take": n => { queryFiltersDto.take = n.getNumberValue(); },
488
+ "where": n => { queryFiltersDto.where = n.getStringValue(); },
489
+ };
490
+ }
462
491
  /**
463
492
  * The deserialization information for the current model
464
493
  * @param SdmTypeDefDto The instance to deserialize into.
@@ -793,6 +822,25 @@ function serializeProfileIdDto(writer, profileIdDto = {}, isSerializingDerivedTy
793
822
  writer.writeStringValue("id", profileIdDto.id);
794
823
  writer.writeStringValue("name", profileIdDto.name);
795
824
  }
825
+ /**
826
+ * Serializes information the current object
827
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
828
+ * @param QueryFiltersDto The instance to serialize from.
829
+ * @param writer Serialization writer to use to serialize this model
830
+ */
831
+ // @ts-ignore
832
+ function serializeQueryFiltersDto(writer, queryFiltersDto = {}, isSerializingDerivedType = false) {
833
+ if (!queryFiltersDto || isSerializingDerivedType) {
834
+ return;
835
+ }
836
+ writer.writeStringValue("filter", queryFiltersDto.filter);
837
+ writer.writeStringValue("orderBy", queryFiltersDto.orderBy);
838
+ writer.writeStringValue("result", queryFiltersDto.result);
839
+ writer.writeStringValue("select", queryFiltersDto.select);
840
+ writer.writeNumberValue("skip", queryFiltersDto.skip);
841
+ writer.writeNumberValue("take", queryFiltersDto.take);
842
+ writer.writeStringValue("where", queryFiltersDto.where);
843
+ }
796
844
  /**
797
845
  * Serializes information the current object
798
846
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@targetprocess/shared-data-model-client",
3
- "version": "1.21.0",
3
+ "version": "1.23.0",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -0,0 +1,35 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { type WithEntityTypeItemRequestBuilder, WithEntityTypeItemRequestBuilderNavigationMetadata, WithEntityTypeItemRequestBuilderRequestsMetadata } from './item/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 /api/sdm/fetch
11
+ */
12
+ export interface FetchRequestBuilder extends BaseRequestBuilder<FetchRequestBuilder> {
13
+ /**
14
+ * Gets an item from the Tp.api.sdm.fetch.item collection
15
+ * @param entityType Unique identifier of the item
16
+ * @returns {WithEntityTypeItemRequestBuilder}
17
+ */
18
+ byEntityType(entityType: string) : WithEntityTypeItemRequestBuilder;
19
+ }
20
+ /**
21
+ * Uri template for the request builder.
22
+ */
23
+ export const FetchRequestBuilderUriTemplate = "{+baseurl}/api/sdm/fetch";
24
+ /**
25
+ * Metadata for all the navigation properties in the request builder.
26
+ */
27
+ export const FetchRequestBuilderNavigationMetadata: Record<Exclude<keyof FetchRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata> = {
28
+ byEntityType: {
29
+ requestsMetadata: WithEntityTypeItemRequestBuilderRequestsMetadata,
30
+ navigationMetadata: WithEntityTypeItemRequestBuilderNavigationMetadata,
31
+ pathParametersMappings: ["entityType"],
32
+ },
33
+ };
34
+ /* tslint:enable */
35
+ /* eslint-enable */
@@ -0,0 +1,76 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createHttpValidationProblemDetailsFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue, serializeQueryFiltersDto, type HttpValidationProblemDetails, type ProblemDetails, type QueryFiltersDto } from '../../../../models/index.js';
6
+ // @ts-ignore
7
+ import { EntityTypeItemRequestBuilderRequestsMetadata, type EntityTypeItemRequestBuilder } from './item/index.js';
8
+ // @ts-ignore
9
+ import { createUntypedNodeFromDiscriminatorValue, type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type Parsable, type ParsableFactory, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type UntypedNode } from '@microsoft/kiota-abstractions';
10
+
11
+ /**
12
+ * Builds and executes requests for operations under /api/sdm/fetch/{entityType}
13
+ */
14
+ export interface WithEntityTypeItemRequestBuilder extends BaseRequestBuilder<WithEntityTypeItemRequestBuilder> {
15
+ /**
16
+ * Gets an item from the Tp.api.sdm.fetch.item.item collection
17
+ * @param id Unique identifier of the item
18
+ * @returns {EntityTypeItemRequestBuilder}
19
+ */
20
+ byId(id: number) : EntityTypeItemRequestBuilder;
21
+ /**
22
+ * Fetches entities using POST with complex filters
23
+ * @param body The request body
24
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
25
+ * @returns {Promise<UntypedNode>}
26
+ * @throws {HttpValidationProblemDetails} error when the service returns a 400 status code
27
+ * @throws {ProblemDetails} error when the service returns a 401 status code
28
+ * @throws {ProblemDetails} error when the service returns a 404 status code
29
+ * @throws {ProblemDetails} error when the service returns a 409 status code
30
+ * @throws {ProblemDetails} error when the service returns a 500 status code
31
+ */
32
+ post(body: QueryFiltersDto, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<UntypedNode | undefined>;
33
+ /**
34
+ * Fetches entities using POST with complex filters
35
+ * @param body The request body
36
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
37
+ * @returns {RequestInformation}
38
+ */
39
+ toPostRequestInformation(body: QueryFiltersDto, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
40
+ }
41
+ /**
42
+ * Uri template for the request builder.
43
+ */
44
+ export const WithEntityTypeItemRequestBuilderUriTemplate = "{+baseurl}/api/sdm/fetch/{entityType}";
45
+ /**
46
+ * Metadata for all the navigation properties in the request builder.
47
+ */
48
+ export const WithEntityTypeItemRequestBuilderNavigationMetadata: Record<Exclude<keyof WithEntityTypeItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata> = {
49
+ byId: {
50
+ requestsMetadata: EntityTypeItemRequestBuilderRequestsMetadata,
51
+ pathParametersMappings: ["id"],
52
+ },
53
+ };
54
+ /**
55
+ * Metadata for all the requests in the request builder.
56
+ */
57
+ export const WithEntityTypeItemRequestBuilderRequestsMetadata: RequestsMetadata = {
58
+ post: {
59
+ uriTemplate: WithEntityTypeItemRequestBuilderUriTemplate,
60
+ responseBodyContentType: "application/json",
61
+ errorMappings: {
62
+ 400: createHttpValidationProblemDetailsFromDiscriminatorValue as ParsableFactory<Parsable>,
63
+ 401: createProblemDetailsFromDiscriminatorValue as ParsableFactory<Parsable>,
64
+ 404: createProblemDetailsFromDiscriminatorValue as ParsableFactory<Parsable>,
65
+ 409: createProblemDetailsFromDiscriminatorValue as ParsableFactory<Parsable>,
66
+ 500: createProblemDetailsFromDiscriminatorValue as ParsableFactory<Parsable>,
67
+ },
68
+ adapterMethodName: "send",
69
+ responseBodyFactory: createUntypedNodeFromDiscriminatorValue,
70
+ requestBodyContentType: "application/json",
71
+ requestBodySerializer: serializeQueryFiltersDto,
72
+ requestInformationContentSetMethod: "setContentFromParsable",
73
+ },
74
+ };
75
+ /* tslint:enable */
76
+ /* eslint-enable */
@@ -0,0 +1,59 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createHttpValidationProblemDetailsFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue, serializeQueryFiltersDto, type HttpValidationProblemDetails, type ProblemDetails, type QueryFiltersDto } 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 /api/sdm/fetch/{entityType}/{id}
11
+ */
12
+ export interface EntityTypeItemRequestBuilder extends BaseRequestBuilder<EntityTypeItemRequestBuilder> {
13
+ /**
14
+ * Fetches entities using POST with complex filters
15
+ * @param body The request body
16
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
17
+ * @returns {Promise<UntypedNode>}
18
+ * @throws {HttpValidationProblemDetails} error when the service returns a 400 status code
19
+ * @throws {ProblemDetails} error when the service returns a 401 status code
20
+ * @throws {ProblemDetails} error when the service returns a 404 status code
21
+ * @throws {ProblemDetails} error when the service returns a 409 status code
22
+ * @throws {ProblemDetails} error when the service returns a 500 status code
23
+ */
24
+ post(body: QueryFiltersDto, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<UntypedNode | undefined>;
25
+ /**
26
+ * Fetches entities using POST with complex filters
27
+ * @param body The request body
28
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
29
+ * @returns {RequestInformation}
30
+ */
31
+ toPostRequestInformation(body: QueryFiltersDto, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
32
+ }
33
+ /**
34
+ * Uri template for the request builder.
35
+ */
36
+ export const EntityTypeItemRequestBuilderUriTemplate = "{+baseurl}/api/sdm/fetch/{entityType}/{id}";
37
+ /**
38
+ * Metadata for all the requests in the request builder.
39
+ */
40
+ export const EntityTypeItemRequestBuilderRequestsMetadata: RequestsMetadata = {
41
+ post: {
42
+ uriTemplate: EntityTypeItemRequestBuilderUriTemplate,
43
+ responseBodyContentType: "application/json",
44
+ errorMappings: {
45
+ 400: createHttpValidationProblemDetailsFromDiscriminatorValue as ParsableFactory<Parsable>,
46
+ 401: createProblemDetailsFromDiscriminatorValue as ParsableFactory<Parsable>,
47
+ 404: createProblemDetailsFromDiscriminatorValue as ParsableFactory<Parsable>,
48
+ 409: createProblemDetailsFromDiscriminatorValue as ParsableFactory<Parsable>,
49
+ 500: createProblemDetailsFromDiscriminatorValue as ParsableFactory<Parsable>,
50
+ },
51
+ adapterMethodName: "send",
52
+ responseBodyFactory: createUntypedNodeFromDiscriminatorValue,
53
+ requestBodyContentType: "application/json",
54
+ requestBodySerializer: serializeQueryFiltersDto,
55
+ requestInformationContentSetMethod: "setContentFromParsable",
56
+ },
57
+ };
58
+ /* tslint:enable */
59
+ /* eslint-enable */
@@ -6,6 +6,8 @@ import { AlertsRequestBuilderNavigationMetadata, type AlertsRequestBuilder } fro
6
6
  // @ts-ignore
7
7
  import { AttachmentsRequestBuilderNavigationMetadata, type AttachmentsRequestBuilder } from './attachments/index.js';
8
8
  // @ts-ignore
9
+ import { FetchRequestBuilderNavigationMetadata, type FetchRequestBuilder } from './fetch/index.js';
10
+ // @ts-ignore
9
11
  import { type WithEntityTypeItemRequestBuilder, WithEntityTypeItemRequestBuilderNavigationMetadata, WithEntityTypeItemRequestBuilderRequestsMetadata } from './item/index.js';
10
12
  // @ts-ignore
11
13
  import { MentionsRequestBuilderRequestsMetadata, type MentionsRequestBuilder } from './mentions/index.js';
@@ -28,6 +30,10 @@ export interface SdmRequestBuilder extends BaseRequestBuilder<SdmRequestBuilder>
28
30
  * The attachments property
29
31
  */
30
32
  get attachments(): AttachmentsRequestBuilder;
33
+ /**
34
+ * The fetch property
35
+ */
36
+ get fetch(): FetchRequestBuilder;
31
37
  /**
32
38
  * The mentions property
33
39
  */
@@ -66,6 +72,9 @@ export const SdmRequestBuilderNavigationMetadata: Record<Exclude<keyof SdmReques
66
72
  attachments: {
67
73
  navigationMetadata: AttachmentsRequestBuilderNavigationMetadata,
68
74
  },
75
+ fetch: {
76
+ navigationMetadata: FetchRequestBuilderNavigationMetadata,
77
+ },
69
78
  mentions: {
70
79
  requestsMetadata: MentionsRequestBuilderRequestsMetadata,
71
80
  },
@@ -1,5 +1,5 @@
1
1
  {
2
- "descriptionHash": "A033EDCF7EE899BF2F23EF33E13A7B16157B2656373EE5D33FE266FE88AAD70A11D3D0F605F1A2F88BAA97F6B64C617724016133A864E4F59EB4E66FA243CAFA",
2
+ "descriptionHash": "21470499CF7D7F4691F22DAB0F13FE78738200A840F025B8F2425E3626718986E6E7D37A81A608AAC275A0073DE040DF4B1DA45229B6C72D4F532C19EF13BDEE",
3
3
  "descriptionLocation": "v1.json",
4
4
  "lockFileVersion": "1.0.0",
5
5
  "kiotaVersion": "1.29.0",
@@ -129,6 +129,15 @@ export function createProfileDtoFromDiscriminatorValue(parseNode: ParseNode | un
129
129
  export function createProfileIdDtoFromDiscriminatorValue(parseNode: ParseNode | undefined) : ((instance?: Parsable) => Record<string, (node: ParseNode) => void>) {
130
130
  return deserializeIntoProfileIdDto;
131
131
  }
132
+ /**
133
+ * Creates a new instance of the appropriate class based on discriminator value
134
+ * @param parseNode The parse node to use to read the discriminator value and create the object
135
+ * @returns {QueryFiltersDto}
136
+ */
137
+ // @ts-ignore
138
+ export function createQueryFiltersDtoFromDiscriminatorValue(parseNode: ParseNode | undefined) : ((instance?: Parsable) => Record<string, (node: ParseNode) => void>) {
139
+ return deserializeIntoQueryFiltersDto;
140
+ }
132
141
  /**
133
142
  * Creates a new instance of the appropriate class based on discriminator value
134
143
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -401,6 +410,23 @@ export function deserializeIntoProfileIdDto(profileIdDto: Partial<ProfileIdDto>
401
410
  "name": n => { profileIdDto.name = n.getStringValue(); },
402
411
  }
403
412
  }
413
+ /**
414
+ * The deserialization information for the current model
415
+ * @param QueryFiltersDto The instance to deserialize into.
416
+ * @returns {Record<string, (node: ParseNode) => void>}
417
+ */
418
+ // @ts-ignore
419
+ export function deserializeIntoQueryFiltersDto(queryFiltersDto: Partial<QueryFiltersDto> | undefined = {}) : Record<string, (node: ParseNode) => void> {
420
+ return {
421
+ "filter": n => { queryFiltersDto.filter = n.getStringValue(); },
422
+ "orderBy": n => { queryFiltersDto.orderBy = n.getStringValue(); },
423
+ "result": n => { queryFiltersDto.result = n.getStringValue(); },
424
+ "select": n => { queryFiltersDto.select = n.getStringValue(); },
425
+ "skip": n => { queryFiltersDto.skip = n.getNumberValue(); },
426
+ "take": n => { queryFiltersDto.take = n.getNumberValue(); },
427
+ "where": n => { queryFiltersDto.where = n.getStringValue(); },
428
+ }
429
+ }
404
430
  /**
405
431
  * The deserialization information for the current model
406
432
  * @param SdmTypeDefDto The instance to deserialize into.
@@ -669,6 +695,36 @@ export interface ProfileIdDto extends Parsable {
669
695
  */
670
696
  name?: string | null;
671
697
  }
698
+ export interface QueryFiltersDto extends Parsable {
699
+ /**
700
+ * The filter property
701
+ */
702
+ filter?: string | null;
703
+ /**
704
+ * The orderBy property
705
+ */
706
+ orderBy?: string | null;
707
+ /**
708
+ * The result property
709
+ */
710
+ result?: string | null;
711
+ /**
712
+ * The select property
713
+ */
714
+ select?: string | null;
715
+ /**
716
+ * The skip property
717
+ */
718
+ skip?: number | null;
719
+ /**
720
+ * The take property
721
+ */
722
+ take?: number | null;
723
+ /**
724
+ * The where property
725
+ */
726
+ where?: string | null;
727
+ }
672
728
  export type RefKind = (typeof RefKindObject)[keyof typeof RefKindObject];
673
729
  export interface SdmTypeDefDto extends Parsable {
674
730
  /**
@@ -835,6 +891,23 @@ export function serializeProfileIdDto(writer: SerializationWriter, profileIdDto:
835
891
  writer.writeStringValue("id", profileIdDto.id);
836
892
  writer.writeStringValue("name", profileIdDto.name);
837
893
  }
894
+ /**
895
+ * Serializes information the current object
896
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
897
+ * @param QueryFiltersDto The instance to serialize from.
898
+ * @param writer Serialization writer to use to serialize this model
899
+ */
900
+ // @ts-ignore
901
+ export function serializeQueryFiltersDto(writer: SerializationWriter, queryFiltersDto: Partial<QueryFiltersDto> | undefined | null = {}, isSerializingDerivedType: boolean = false) : void {
902
+ if (!queryFiltersDto || isSerializingDerivedType) { return; }
903
+ writer.writeStringValue("filter", queryFiltersDto.filter);
904
+ writer.writeStringValue("orderBy", queryFiltersDto.orderBy);
905
+ writer.writeStringValue("result", queryFiltersDto.result);
906
+ writer.writeStringValue("select", queryFiltersDto.select);
907
+ writer.writeNumberValue("skip", queryFiltersDto.skip);
908
+ writer.writeNumberValue("take", queryFiltersDto.take);
909
+ writer.writeStringValue("where", queryFiltersDto.where);
910
+ }
838
911
  /**
839
912
  * Serializes information the current object
840
913
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
package/src/v1.json CHANGED
@@ -720,6 +720,211 @@
720
720
  ]
721
721
  }
722
722
  },
723
+ "/api/sdm/fetch/{entityType}/{id}": {
724
+ "post": {
725
+ "tags": [
726
+ "Sdm"
727
+ ],
728
+ "summary": "Fetches entities using POST with complex filters",
729
+ "operationId": "SharedDataFetchPostEndpoint1",
730
+ "parameters": [
731
+ {
732
+ "name": "entityType",
733
+ "in": "path",
734
+ "required": true,
735
+ "schema": {
736
+ "type": "string"
737
+ }
738
+ },
739
+ {
740
+ "name": "id",
741
+ "in": "path",
742
+ "required": true,
743
+ "schema": {
744
+ "type": "integer",
745
+ "format": "int32"
746
+ }
747
+ }
748
+ ],
749
+ "requestBody": {
750
+ "x-name": "payload",
751
+ "content": {
752
+ "application/json": {
753
+ "schema": {
754
+ "$ref": "#/components/schemas/QueryFiltersDto"
755
+ }
756
+ }
757
+ },
758
+ "required": true
759
+ },
760
+ "responses": {
761
+ "400": {
762
+ "description": "Validation error",
763
+ "content": {
764
+ "application/problem+json": {
765
+ "schema": {
766
+ "$ref": "#/components/schemas/HttpValidationProblemDetails"
767
+ }
768
+ }
769
+ }
770
+ },
771
+ "401": {
772
+ "description": "Unauthorized",
773
+ "content": {
774
+ "application/problem+json": {
775
+ "schema": {
776
+ "$ref": "#/components/schemas/ProblemDetails"
777
+ }
778
+ }
779
+ }
780
+ },
781
+ "404": {
782
+ "description": "Unable to find resource",
783
+ "content": {
784
+ "application/problem+json": {
785
+ "schema": {
786
+ "$ref": "#/components/schemas/ProblemDetails"
787
+ }
788
+ }
789
+ }
790
+ },
791
+ "409": {
792
+ "description": "Conflict",
793
+ "content": {
794
+ "application/problem+json": {
795
+ "schema": {
796
+ "$ref": "#/components/schemas/ProblemDetails"
797
+ }
798
+ }
799
+ }
800
+ },
801
+ "500": {
802
+ "description": "Internal server error",
803
+ "content": {
804
+ "application/problem+json": {
805
+ "schema": {
806
+ "$ref": "#/components/schemas/ProblemDetails"
807
+ }
808
+ }
809
+ }
810
+ },
811
+ "200": {
812
+ "description": "Success",
813
+ "content": {
814
+ "application/json": {
815
+ "schema": {}
816
+ }
817
+ }
818
+ },
819
+ "403": {
820
+ "description": "Forbidden"
821
+ }
822
+ },
823
+ "security": [
824
+ {
825
+ "apptio-token-scheme": []
826
+ }
827
+ ]
828
+ }
829
+ },
830
+ "/api/sdm/fetch/{entityType}": {
831
+ "post": {
832
+ "tags": [
833
+ "Sdm"
834
+ ],
835
+ "summary": "Fetches entities using POST with complex filters",
836
+ "operationId": "SharedDataFetchPostEndpoint2",
837
+ "parameters": [
838
+ {
839
+ "name": "entityType",
840
+ "in": "path",
841
+ "required": true,
842
+ "schema": {
843
+ "type": "string"
844
+ }
845
+ }
846
+ ],
847
+ "requestBody": {
848
+ "x-name": "payload",
849
+ "content": {
850
+ "application/json": {
851
+ "schema": {
852
+ "$ref": "#/components/schemas/QueryFiltersDto"
853
+ }
854
+ }
855
+ },
856
+ "required": true
857
+ },
858
+ "responses": {
859
+ "400": {
860
+ "description": "Validation error",
861
+ "content": {
862
+ "application/problem+json": {
863
+ "schema": {
864
+ "$ref": "#/components/schemas/HttpValidationProblemDetails"
865
+ }
866
+ }
867
+ }
868
+ },
869
+ "401": {
870
+ "description": "Unauthorized",
871
+ "content": {
872
+ "application/problem+json": {
873
+ "schema": {
874
+ "$ref": "#/components/schemas/ProblemDetails"
875
+ }
876
+ }
877
+ }
878
+ },
879
+ "404": {
880
+ "description": "Unable to find resource",
881
+ "content": {
882
+ "application/problem+json": {
883
+ "schema": {
884
+ "$ref": "#/components/schemas/ProblemDetails"
885
+ }
886
+ }
887
+ }
888
+ },
889
+ "409": {
890
+ "description": "Conflict",
891
+ "content": {
892
+ "application/problem+json": {
893
+ "schema": {
894
+ "$ref": "#/components/schemas/ProblemDetails"
895
+ }
896
+ }
897
+ }
898
+ },
899
+ "500": {
900
+ "description": "Internal server error",
901
+ "content": {
902
+ "application/problem+json": {
903
+ "schema": {
904
+ "$ref": "#/components/schemas/ProblemDetails"
905
+ }
906
+ }
907
+ }
908
+ },
909
+ "200": {
910
+ "description": "Success",
911
+ "content": {
912
+ "application/json": {
913
+ "schema": {}
914
+ }
915
+ }
916
+ },
917
+ "403": {
918
+ "description": "Forbidden"
919
+ }
920
+ },
921
+ "security": [
922
+ {
923
+ "apptio-token-scheme": []
924
+ }
925
+ ]
926
+ }
927
+ },
723
928
  "/api/sdm/{entityType}/count": {
724
929
  "get": {
725
930
  "tags": [
@@ -2089,6 +2294,42 @@
2089
2294
  }
2090
2295
  }
2091
2296
  },
2297
+ "QueryFiltersDto": {
2298
+ "type": "object",
2299
+ "additionalProperties": false,
2300
+ "properties": {
2301
+ "select": {
2302
+ "type": "string",
2303
+ "nullable": true
2304
+ },
2305
+ "skip": {
2306
+ "type": "integer",
2307
+ "format": "int32",
2308
+ "nullable": true
2309
+ },
2310
+ "take": {
2311
+ "type": "integer",
2312
+ "format": "int32",
2313
+ "nullable": true
2314
+ },
2315
+ "where": {
2316
+ "type": "string",
2317
+ "nullable": true
2318
+ },
2319
+ "filter": {
2320
+ "type": "string",
2321
+ "nullable": true
2322
+ },
2323
+ "orderBy": {
2324
+ "type": "string",
2325
+ "nullable": true
2326
+ },
2327
+ "result": {
2328
+ "type": "string",
2329
+ "nullable": true
2330
+ }
2331
+ }
2332
+ },
2092
2333
  "SharedDataCountRequestDto": {
2093
2334
  "type": "object",
2094
2335
  "additionalProperties": false