@targetprocess/shared-data-model-client 1.46.0-rc.1 → 1.46.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/index.d.ts +0 -5
- package/dist/api/settings/index.js +5 -10
- package/dist/mcp/tools/query_entities/index.d.ts +1 -1
- package/dist/mcp/tools/query_entities/index.js +2 -2
- package/dist/models/index.d.ts +7 -79
- package/dist/models/index.js +7 -95
- package/package.json +1 -1
- package/src/api/settings/index.ts +0 -9
- package/src/kiota-lock.json +2 -2
- package/src/mcp/tools/query_entities/index.ts +2 -2
- package/src/models/index.ts +13 -116
- package/src/v1.json +22 -170
- package/dist/api/settings/cache/clean/index.d.ts +0 -34
- package/dist/api/settings/cache/clean/index.js +0 -35
- package/dist/api/settings/cache/index.d.ts +0 -19
- package/dist/api/settings/cache/index.js +0 -22
- package/src/api/settings/cache/clean/index.ts +0 -59
- package/src/api/settings/cache/index.ts +0 -31
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { type CacheRequestBuilder } from './cache/index.js';
|
|
2
1
|
import { type EntityTypesRequestBuilder } from './entityTypes/index.js';
|
|
3
2
|
import { type ProfileRequestBuilder } from './profile/index.js';
|
|
4
3
|
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata } from '@microsoft/kiota-abstractions';
|
|
@@ -6,10 +5,6 @@ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type
|
|
|
6
5
|
* Builds and executes requests for operations under /api/settings
|
|
7
6
|
*/
|
|
8
7
|
export interface SettingsRequestBuilder extends BaseRequestBuilder<SettingsRequestBuilder> {
|
|
9
|
-
/**
|
|
10
|
-
* The cache property
|
|
11
|
-
*/
|
|
12
|
-
get cache(): CacheRequestBuilder;
|
|
13
8
|
/**
|
|
14
9
|
* The entityTypes property
|
|
15
10
|
*/
|
|
@@ -5,11 +5,9 @@ exports.SettingsRequestBuilderNavigationMetadata = exports.SettingsRequestBuilde
|
|
|
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("./entityTypes/index.js");
|
|
9
9
|
// @ts-ignore
|
|
10
|
-
const index_js_2 = require("./
|
|
11
|
-
// @ts-ignore
|
|
12
|
-
const index_js_3 = require("./profile/index.js");
|
|
10
|
+
const index_js_2 = require("./profile/index.js");
|
|
13
11
|
/**
|
|
14
12
|
* Uri template for the request builder.
|
|
15
13
|
*/
|
|
@@ -18,15 +16,12 @@ exports.SettingsRequestBuilderUriTemplate = "{+baseurl}/api/settings";
|
|
|
18
16
|
* Metadata for all the navigation properties in the request builder.
|
|
19
17
|
*/
|
|
20
18
|
exports.SettingsRequestBuilderNavigationMetadata = {
|
|
21
|
-
cache: {
|
|
22
|
-
navigationMetadata: index_js_1.CacheRequestBuilderNavigationMetadata,
|
|
23
|
-
},
|
|
24
19
|
entityTypes: {
|
|
25
|
-
requestsMetadata:
|
|
20
|
+
requestsMetadata: index_js_1.EntityTypesRequestBuilderRequestsMetadata,
|
|
26
21
|
},
|
|
27
22
|
profile: {
|
|
28
|
-
requestsMetadata:
|
|
29
|
-
navigationMetadata:
|
|
23
|
+
requestsMetadata: index_js_2.ProfileRequestBuilderRequestsMetadata,
|
|
24
|
+
navigationMetadata: index_js_2.ProfileRequestBuilderNavigationMetadata,
|
|
30
25
|
},
|
|
31
26
|
};
|
|
32
27
|
/* tslint:enable */
|
|
@@ -43,7 +43,7 @@ export interface Query_entitiesRequestBuilderPostQueryParameters {
|
|
|
43
43
|
/**
|
|
44
44
|
* Uri template for the request builder.
|
|
45
45
|
*/
|
|
46
|
-
export declare const Query_entitiesRequestBuilderUriTemplate = "{+baseurl}/mcp/_tools/query_entities{
|
|
46
|
+
export declare const Query_entitiesRequestBuilderUriTemplate = "{+baseurl}/mcp/_tools/query_entities?entityType={entityType}{&disableValidation*,filter*,orderBy*,result*,select*,skip*,take*}";
|
|
47
47
|
/**
|
|
48
48
|
* Metadata for all the requests in the request builder.
|
|
49
49
|
*/
|
|
@@ -9,13 +9,13 @@ const index_js_1 = require("../../../models/index.js");
|
|
|
9
9
|
/**
|
|
10
10
|
* Uri template for the request builder.
|
|
11
11
|
*/
|
|
12
|
-
exports.Query_entitiesRequestBuilderUriTemplate = "{+baseurl}/mcp/_tools/query_entities{
|
|
12
|
+
exports.Query_entitiesRequestBuilderUriTemplate = "{+baseurl}/mcp/_tools/query_entities?entityType={entityType}{&disableValidation*,filter*,orderBy*,result*,select*,skip*,take*}";
|
|
13
13
|
/**
|
|
14
14
|
* Metadata for all the requests in the request builder.
|
|
15
15
|
*/
|
|
16
16
|
exports.Query_entitiesRequestBuilderRequestsMetadata = {
|
|
17
17
|
get: {
|
|
18
|
-
uriTemplate:
|
|
18
|
+
uriTemplate: exports.Query_entitiesRequestBuilderUriTemplate,
|
|
19
19
|
responseBodyContentType: "application/json",
|
|
20
20
|
adapterMethodName: "send",
|
|
21
21
|
responseBodyFactory: index_js_1.createTpMcpQueryResponseOfJsonElementFromDiscriminatorValue,
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,23 +1,10 @@
|
|
|
1
1
|
import { type AdditionalDataHolder, type ApiError, type Parsable, type ParseNode, type SerializationWriter, type UntypedNode } from '@microsoft/kiota-abstractions';
|
|
2
|
-
export type CacheCategory = (typeof CacheCategoryObject)[keyof typeof CacheCategoryObject];
|
|
3
|
-
export interface CleanCacheRequestDto extends Parsable {
|
|
4
|
-
/**
|
|
5
|
-
* Optional list of cache categories to clear. If empty or null, all categories are cleared.
|
|
6
|
-
*/
|
|
7
|
-
categories?: CacheCategory[] | null;
|
|
8
|
-
}
|
|
9
2
|
export interface CopyCurrentProfileRequestDto extends Parsable {
|
|
10
3
|
/**
|
|
11
4
|
* The profileName property
|
|
12
5
|
*/
|
|
13
6
|
profileName?: string | null;
|
|
14
7
|
}
|
|
15
|
-
/**
|
|
16
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
17
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
18
|
-
* @returns {CleanCacheRequestDto}
|
|
19
|
-
*/
|
|
20
|
-
export declare function createCleanCacheRequestDtoFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
21
8
|
/**
|
|
22
9
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
23
10
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -174,12 +161,6 @@ export declare function createTypeMappingDtoFromDiscriminatorValue(parseNode: Pa
|
|
|
174
161
|
* @returns {TypeMetaDefDto}
|
|
175
162
|
*/
|
|
176
163
|
export declare function createTypeMetaDefDtoFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
177
|
-
/**
|
|
178
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
179
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
180
|
-
* @returns {TypeTermDto}
|
|
181
|
-
*/
|
|
182
|
-
export declare function createTypeTermDtoFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
183
164
|
/**
|
|
184
165
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
185
166
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -204,12 +185,6 @@ export interface DeleteProfileRequestDto extends Parsable {
|
|
|
204
185
|
*/
|
|
205
186
|
profileId?: string | null;
|
|
206
187
|
}
|
|
207
|
-
/**
|
|
208
|
-
* The deserialization information for the current model
|
|
209
|
-
* @param CleanCacheRequestDto The instance to deserialize into.
|
|
210
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
211
|
-
*/
|
|
212
|
-
export declare function deserializeIntoCleanCacheRequestDto(cleanCacheRequestDto?: Partial<CleanCacheRequestDto> | undefined): Record<string, (node: ParseNode) => void>;
|
|
213
188
|
/**
|
|
214
189
|
* The deserialization information for the current model
|
|
215
190
|
* @param CopyCurrentProfileRequestDto The instance to deserialize into.
|
|
@@ -366,12 +341,6 @@ export declare function deserializeIntoTypeMappingDto(typeMappingDto?: Partial<T
|
|
|
366
341
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
367
342
|
*/
|
|
368
343
|
export declare function deserializeIntoTypeMetaDefDto(typeMetaDefDto?: Partial<TypeMetaDefDto> | undefined): Record<string, (node: ParseNode) => void>;
|
|
369
|
-
/**
|
|
370
|
-
* The deserialization information for the current model
|
|
371
|
-
* @param TypeTermDto The instance to deserialize into.
|
|
372
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
373
|
-
*/
|
|
374
|
-
export declare function deserializeIntoTypeTermDto(typeTermDto?: Partial<TypeTermDto> | undefined): Record<string, (node: ParseNode) => void>;
|
|
375
344
|
/**
|
|
376
345
|
* The deserialization information for the current model
|
|
377
346
|
* @param ValidatedFieldMappingDto The instance to deserialize into.
|
|
@@ -548,13 +517,6 @@ export interface SdmTypeDefDto extends Parsable {
|
|
|
548
517
|
*/
|
|
549
518
|
name?: string | null;
|
|
550
519
|
}
|
|
551
|
-
/**
|
|
552
|
-
* Serializes information the current object
|
|
553
|
-
* @param CleanCacheRequestDto The instance to serialize from.
|
|
554
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
555
|
-
* @param writer Serialization writer to use to serialize this model
|
|
556
|
-
*/
|
|
557
|
-
export declare function serializeCleanCacheRequestDto(writer: SerializationWriter, cleanCacheRequestDto?: Partial<CleanCacheRequestDto> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
558
520
|
/**
|
|
559
521
|
* Serializes information the current object
|
|
560
522
|
* @param CopyCurrentProfileRequestDto The instance to serialize from.
|
|
@@ -737,13 +699,6 @@ export declare function serializeTypeMappingDto(writer: SerializationWriter, typ
|
|
|
737
699
|
* @param writer Serialization writer to use to serialize this model
|
|
738
700
|
*/
|
|
739
701
|
export declare function serializeTypeMetaDefDto(writer: SerializationWriter, typeMetaDefDto?: Partial<TypeMetaDefDto> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
740
|
-
/**
|
|
741
|
-
* Serializes information the current object
|
|
742
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
743
|
-
* @param TypeTermDto The instance to serialize from.
|
|
744
|
-
* @param writer Serialization writer to use to serialize this model
|
|
745
|
-
*/
|
|
746
|
-
export declare function serializeTypeTermDto(writer: SerializationWriter, typeTermDto?: Partial<TypeTermDto> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
747
702
|
/**
|
|
748
703
|
* Serializes information the current object
|
|
749
704
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -836,6 +791,10 @@ export interface TpEntityRequest extends Parsable {
|
|
|
836
791
|
* The id property
|
|
837
792
|
*/
|
|
838
793
|
id?: number | null;
|
|
794
|
+
/**
|
|
795
|
+
* The includeLinks property
|
|
796
|
+
*/
|
|
797
|
+
includeLinks?: boolean | null;
|
|
839
798
|
/**
|
|
840
799
|
* The orderBy property
|
|
841
800
|
*/
|
|
@@ -896,21 +855,13 @@ export interface TpTypeDefDto extends Parsable {
|
|
|
896
855
|
}
|
|
897
856
|
export interface TpTypeMetaDefDto extends AdditionalDataHolder, Parsable, TypeMetaDefDto {
|
|
898
857
|
/**
|
|
899
|
-
*
|
|
900
|
-
*/
|
|
901
|
-
alternateNames?: string[] | null;
|
|
902
|
-
/**
|
|
903
|
-
* The globalTerm property
|
|
904
|
-
*/
|
|
905
|
-
globalTerm?: string | null;
|
|
906
|
-
/**
|
|
907
|
-
* The hasProject property
|
|
858
|
+
* Indicates whether entities of this type have a UI page in Targetprocess.Based on native types list + extendable domain types (isAssignable || isVisible) + Comment (special case).
|
|
908
859
|
*/
|
|
909
|
-
|
|
860
|
+
isLinkable?: boolean | null;
|
|
910
861
|
/**
|
|
911
862
|
* The terms property
|
|
912
863
|
*/
|
|
913
|
-
terms?:
|
|
864
|
+
terms?: string[] | null;
|
|
914
865
|
}
|
|
915
866
|
export interface TypeMappingDto extends Parsable {
|
|
916
867
|
/**
|
|
@@ -960,20 +911,6 @@ export interface TypeMetaDefDto extends Parsable {
|
|
|
960
911
|
*/
|
|
961
912
|
type?: string | null;
|
|
962
913
|
}
|
|
963
|
-
export interface TypeTermDto extends Parsable {
|
|
964
|
-
/**
|
|
965
|
-
* The id property
|
|
966
|
-
*/
|
|
967
|
-
id?: string | null;
|
|
968
|
-
/**
|
|
969
|
-
* The processIds property
|
|
970
|
-
*/
|
|
971
|
-
processIds?: number[] | null;
|
|
972
|
-
/**
|
|
973
|
-
* The term property
|
|
974
|
-
*/
|
|
975
|
-
term?: string | null;
|
|
976
|
-
}
|
|
977
914
|
export interface ValidatedFieldMappingDto extends AdditionalDataHolder, FieldMappingDto, Parsable {
|
|
978
915
|
/**
|
|
979
916
|
* The errors property
|
|
@@ -1009,15 +946,6 @@ export interface ValidatedTypeMappingDto extends AdditionalDataHolder, Parsable,
|
|
|
1009
946
|
validationState?: ValidationState | null;
|
|
1010
947
|
}
|
|
1011
948
|
export type ValidationState = (typeof ValidationStateObject)[keyof typeof ValidationStateObject];
|
|
1012
|
-
export declare const CacheCategoryObject: {
|
|
1013
|
-
readonly ArrowMeta: "ArrowMeta";
|
|
1014
|
-
readonly FrontdoorUser: "FrontdoorUser";
|
|
1015
|
-
readonly MappedExpressions: "MappedExpressions";
|
|
1016
|
-
readonly TpMeta: "TpMeta";
|
|
1017
|
-
readonly TpUser: "TpUser";
|
|
1018
|
-
readonly TpUserToken: "TpUserToken";
|
|
1019
|
-
readonly Yaft: "Yaft";
|
|
1020
|
-
};
|
|
1021
949
|
export declare const FieldMappingKindObject: {
|
|
1022
950
|
readonly DefaultEscaped: "Default";
|
|
1023
951
|
readonly Custom: "Custom";
|
package/dist/models/index.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ValidationStateObject = exports.RefKindObject = exports.FieldMappingKindObject =
|
|
4
|
-
exports.createCleanCacheRequestDtoFromDiscriminatorValue = createCleanCacheRequestDtoFromDiscriminatorValue;
|
|
3
|
+
exports.ValidationStateObject = exports.RefKindObject = exports.FieldMappingKindObject = void 0;
|
|
5
4
|
exports.createCopyCurrentProfileRequestDtoFromDiscriminatorValue = createCopyCurrentProfileRequestDtoFromDiscriminatorValue;
|
|
6
5
|
exports.createDeleteProfileRequestDtoFromDiscriminatorValue = createDeleteProfileRequestDtoFromDiscriminatorValue;
|
|
7
6
|
exports.createFieldDefDtoFromDiscriminatorValue = createFieldDefDtoFromDiscriminatorValue;
|
|
@@ -28,11 +27,9 @@ exports.createTpTypeDefDtoFromDiscriminatorValue = createTpTypeDefDtoFromDiscrim
|
|
|
28
27
|
exports.createTpTypeMetaDefDtoFromDiscriminatorValue = createTpTypeMetaDefDtoFromDiscriminatorValue;
|
|
29
28
|
exports.createTypeMappingDtoFromDiscriminatorValue = createTypeMappingDtoFromDiscriminatorValue;
|
|
30
29
|
exports.createTypeMetaDefDtoFromDiscriminatorValue = createTypeMetaDefDtoFromDiscriminatorValue;
|
|
31
|
-
exports.createTypeTermDtoFromDiscriminatorValue = createTypeTermDtoFromDiscriminatorValue;
|
|
32
30
|
exports.createValidatedFieldMappingDtoFromDiscriminatorValue = createValidatedFieldMappingDtoFromDiscriminatorValue;
|
|
33
31
|
exports.createValidatedProfileDtoFromDiscriminatorValue = createValidatedProfileDtoFromDiscriminatorValue;
|
|
34
32
|
exports.createValidatedTypeMappingDtoFromDiscriminatorValue = createValidatedTypeMappingDtoFromDiscriminatorValue;
|
|
35
|
-
exports.deserializeIntoCleanCacheRequestDto = deserializeIntoCleanCacheRequestDto;
|
|
36
33
|
exports.deserializeIntoCopyCurrentProfileRequestDto = deserializeIntoCopyCurrentProfileRequestDto;
|
|
37
34
|
exports.deserializeIntoDeleteProfileRequestDto = deserializeIntoDeleteProfileRequestDto;
|
|
38
35
|
exports.deserializeIntoFieldDefDto = deserializeIntoFieldDefDto;
|
|
@@ -59,11 +56,9 @@ exports.deserializeIntoTpTypeDefDto = deserializeIntoTpTypeDefDto;
|
|
|
59
56
|
exports.deserializeIntoTpTypeMetaDefDto = deserializeIntoTpTypeMetaDefDto;
|
|
60
57
|
exports.deserializeIntoTypeMappingDto = deserializeIntoTypeMappingDto;
|
|
61
58
|
exports.deserializeIntoTypeMetaDefDto = deserializeIntoTypeMetaDefDto;
|
|
62
|
-
exports.deserializeIntoTypeTermDto = deserializeIntoTypeTermDto;
|
|
63
59
|
exports.deserializeIntoValidatedFieldMappingDto = deserializeIntoValidatedFieldMappingDto;
|
|
64
60
|
exports.deserializeIntoValidatedProfileDto = deserializeIntoValidatedProfileDto;
|
|
65
61
|
exports.deserializeIntoValidatedTypeMappingDto = deserializeIntoValidatedTypeMappingDto;
|
|
66
|
-
exports.serializeCleanCacheRequestDto = serializeCleanCacheRequestDto;
|
|
67
62
|
exports.serializeCopyCurrentProfileRequestDto = serializeCopyCurrentProfileRequestDto;
|
|
68
63
|
exports.serializeDeleteProfileRequestDto = serializeDeleteProfileRequestDto;
|
|
69
64
|
exports.serializeFieldDefDto = serializeFieldDefDto;
|
|
@@ -90,7 +85,6 @@ exports.serializeTpTypeDefDto = serializeTpTypeDefDto;
|
|
|
90
85
|
exports.serializeTpTypeMetaDefDto = serializeTpTypeMetaDefDto;
|
|
91
86
|
exports.serializeTypeMappingDto = serializeTypeMappingDto;
|
|
92
87
|
exports.serializeTypeMetaDefDto = serializeTypeMetaDefDto;
|
|
93
|
-
exports.serializeTypeTermDto = serializeTypeTermDto;
|
|
94
88
|
exports.serializeValidatedFieldMappingDto = serializeValidatedFieldMappingDto;
|
|
95
89
|
exports.serializeValidatedProfileDto = serializeValidatedProfileDto;
|
|
96
90
|
exports.serializeValidatedTypeMappingDto = serializeValidatedTypeMappingDto;
|
|
@@ -99,15 +93,6 @@ exports.serializeValidatedTypeMappingDto = serializeValidatedTypeMappingDto;
|
|
|
99
93
|
// Generated by Microsoft Kiota
|
|
100
94
|
// @ts-ignore
|
|
101
95
|
const kiota_abstractions_1 = require("@microsoft/kiota-abstractions");
|
|
102
|
-
/**
|
|
103
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
104
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
105
|
-
* @returns {CleanCacheRequestDto}
|
|
106
|
-
*/
|
|
107
|
-
// @ts-ignore
|
|
108
|
-
function createCleanCacheRequestDtoFromDiscriminatorValue(parseNode) {
|
|
109
|
-
return deserializeIntoCleanCacheRequestDto;
|
|
110
|
-
}
|
|
111
96
|
/**
|
|
112
97
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
113
98
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -390,15 +375,6 @@ function createTypeMetaDefDtoFromDiscriminatorValue(parseNode) {
|
|
|
390
375
|
}
|
|
391
376
|
return deserializeIntoTypeMetaDefDto;
|
|
392
377
|
}
|
|
393
|
-
/**
|
|
394
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
395
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
396
|
-
* @returns {TypeTermDto}
|
|
397
|
-
*/
|
|
398
|
-
// @ts-ignore
|
|
399
|
-
function createTypeTermDtoFromDiscriminatorValue(parseNode) {
|
|
400
|
-
return deserializeIntoTypeTermDto;
|
|
401
|
-
}
|
|
402
378
|
/**
|
|
403
379
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
404
380
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -426,17 +402,6 @@ function createValidatedProfileDtoFromDiscriminatorValue(parseNode) {
|
|
|
426
402
|
function createValidatedTypeMappingDtoFromDiscriminatorValue(parseNode) {
|
|
427
403
|
return deserializeIntoValidatedTypeMappingDto;
|
|
428
404
|
}
|
|
429
|
-
/**
|
|
430
|
-
* The deserialization information for the current model
|
|
431
|
-
* @param CleanCacheRequestDto The instance to deserialize into.
|
|
432
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
433
|
-
*/
|
|
434
|
-
// @ts-ignore
|
|
435
|
-
function deserializeIntoCleanCacheRequestDto(cleanCacheRequestDto = {}) {
|
|
436
|
-
return {
|
|
437
|
-
"categories": n => { cleanCacheRequestDto.categories = n.getCollectionOfEnumValues(exports.CacheCategoryObject); },
|
|
438
|
-
};
|
|
439
|
-
}
|
|
440
405
|
/**
|
|
441
406
|
* The deserialization information for the current model
|
|
442
407
|
* @param CopyCurrentProfileRequestDto The instance to deserialize into.
|
|
@@ -686,6 +651,7 @@ function deserializeIntoTpEntityRequest(tpEntityRequest = {}) {
|
|
|
686
651
|
"entityType": n => { tpEntityRequest.entityType = n.getStringValue(); },
|
|
687
652
|
"filter": n => { tpEntityRequest.filter = n.getStringValue(); },
|
|
688
653
|
"id": n => { tpEntityRequest.id = n.getNumberValue(); },
|
|
654
|
+
"includeLinks": n => { tpEntityRequest.includeLinks = n.getBooleanValue(); },
|
|
689
655
|
"orderBy": n => { tpEntityRequest.orderBy = n.getStringValue(); },
|
|
690
656
|
"result": n => { tpEntityRequest.result = n.getStringValue(); },
|
|
691
657
|
"select": n => { tpEntityRequest.select = n.getStringValue(); },
|
|
@@ -740,10 +706,8 @@ function deserializeIntoTpTypeDefDto(tpTypeDefDto = {}) {
|
|
|
740
706
|
function deserializeIntoTpTypeMetaDefDto(tpTypeMetaDefDto = {}) {
|
|
741
707
|
return {
|
|
742
708
|
...deserializeIntoTypeMetaDefDto(tpTypeMetaDefDto),
|
|
743
|
-
"
|
|
744
|
-
"
|
|
745
|
-
"hasProject": n => { tpTypeMetaDefDto.hasProject = n.getBooleanValue(); },
|
|
746
|
-
"terms": n => { tpTypeMetaDefDto.terms = n.getCollectionOfObjectValues(createTypeTermDtoFromDiscriminatorValue); },
|
|
709
|
+
"isLinkable": n => { tpTypeMetaDefDto.isLinkable = n.getBooleanValue(); },
|
|
710
|
+
"terms": n => { tpTypeMetaDefDto.terms = n.getCollectionOfPrimitiveValues(); },
|
|
747
711
|
};
|
|
748
712
|
}
|
|
749
713
|
/**
|
|
@@ -777,19 +741,6 @@ function deserializeIntoTypeMetaDefDto(typeMetaDefDto = {}) {
|
|
|
777
741
|
"$type": n => { typeMetaDefDto.type = n.getStringValue(); },
|
|
778
742
|
};
|
|
779
743
|
}
|
|
780
|
-
/**
|
|
781
|
-
* The deserialization information for the current model
|
|
782
|
-
* @param TypeTermDto The instance to deserialize into.
|
|
783
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
784
|
-
*/
|
|
785
|
-
// @ts-ignore
|
|
786
|
-
function deserializeIntoTypeTermDto(typeTermDto = {}) {
|
|
787
|
-
return {
|
|
788
|
-
"id": n => { typeTermDto.id = n.getStringValue(); },
|
|
789
|
-
"processIds": n => { typeTermDto.processIds = n.getCollectionOfPrimitiveValues(); },
|
|
790
|
-
"term": n => { typeTermDto.term = n.getStringValue(); },
|
|
791
|
-
};
|
|
792
|
-
}
|
|
793
744
|
/**
|
|
794
745
|
* The deserialization information for the current model
|
|
795
746
|
* @param ValidatedFieldMappingDto The instance to deserialize into.
|
|
@@ -830,20 +781,6 @@ function deserializeIntoValidatedTypeMappingDto(validatedTypeMappingDto = {}) {
|
|
|
830
781
|
"validationState": n => { validatedTypeMappingDto.validationState = n.getEnumValue(exports.ValidationStateObject); },
|
|
831
782
|
};
|
|
832
783
|
}
|
|
833
|
-
/**
|
|
834
|
-
* Serializes information the current object
|
|
835
|
-
* @param CleanCacheRequestDto The instance to serialize from.
|
|
836
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
837
|
-
* @param writer Serialization writer to use to serialize this model
|
|
838
|
-
*/
|
|
839
|
-
// @ts-ignore
|
|
840
|
-
function serializeCleanCacheRequestDto(writer, cleanCacheRequestDto = {}, isSerializingDerivedType = false) {
|
|
841
|
-
if (!cleanCacheRequestDto || isSerializingDerivedType) {
|
|
842
|
-
return;
|
|
843
|
-
}
|
|
844
|
-
if (cleanCacheRequestDto.categories)
|
|
845
|
-
writer.writeCollectionOfEnumValues("categories", cleanCacheRequestDto.categories);
|
|
846
|
-
}
|
|
847
784
|
/**
|
|
848
785
|
* Serializes information the current object
|
|
849
786
|
* @param CopyCurrentProfileRequestDto The instance to serialize from.
|
|
@@ -1148,6 +1085,7 @@ function serializeTpEntityRequest(writer, tpEntityRequest = {}, isSerializingDer
|
|
|
1148
1085
|
writer.writeStringValue("entityType", tpEntityRequest.entityType);
|
|
1149
1086
|
writer.writeStringValue("filter", tpEntityRequest.filter);
|
|
1150
1087
|
writer.writeNumberValue("id", tpEntityRequest.id);
|
|
1088
|
+
writer.writeBooleanValue("includeLinks", tpEntityRequest.includeLinks);
|
|
1151
1089
|
writer.writeStringValue("orderBy", tpEntityRequest.orderBy);
|
|
1152
1090
|
writer.writeStringValue("result", tpEntityRequest.result);
|
|
1153
1091
|
writer.writeStringValue("select", tpEntityRequest.select);
|
|
@@ -1211,10 +1149,8 @@ function serializeTpTypeMetaDefDto(writer, tpTypeMetaDefDto = {}, isSerializingD
|
|
|
1211
1149
|
return;
|
|
1212
1150
|
}
|
|
1213
1151
|
serializeTypeMetaDefDto(writer, tpTypeMetaDefDto, isSerializingDerivedType);
|
|
1214
|
-
writer.
|
|
1215
|
-
writer.
|
|
1216
|
-
writer.writeBooleanValue("hasProject", tpTypeMetaDefDto.hasProject);
|
|
1217
|
-
writer.writeCollectionOfObjectValues("terms", tpTypeMetaDefDto.terms, serializeTypeTermDto);
|
|
1152
|
+
writer.writeBooleanValue("isLinkable", tpTypeMetaDefDto.isLinkable);
|
|
1153
|
+
writer.writeCollectionOfPrimitiveValues("terms", tpTypeMetaDefDto.terms);
|
|
1218
1154
|
writer.writeAdditionalData(tpTypeMetaDefDto.additionalData);
|
|
1219
1155
|
}
|
|
1220
1156
|
/**
|
|
@@ -1262,21 +1198,6 @@ function serializeTypeMetaDefDto(writer, typeMetaDefDto = {}, isSerializingDeriv
|
|
|
1262
1198
|
break;
|
|
1263
1199
|
}
|
|
1264
1200
|
}
|
|
1265
|
-
/**
|
|
1266
|
-
* Serializes information the current object
|
|
1267
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1268
|
-
* @param TypeTermDto The instance to serialize from.
|
|
1269
|
-
* @param writer Serialization writer to use to serialize this model
|
|
1270
|
-
*/
|
|
1271
|
-
// @ts-ignore
|
|
1272
|
-
function serializeTypeTermDto(writer, typeTermDto = {}, isSerializingDerivedType = false) {
|
|
1273
|
-
if (!typeTermDto || isSerializingDerivedType) {
|
|
1274
|
-
return;
|
|
1275
|
-
}
|
|
1276
|
-
writer.writeStringValue("id", typeTermDto.id);
|
|
1277
|
-
writer.writeCollectionOfPrimitiveValues("processIds", typeTermDto.processIds);
|
|
1278
|
-
writer.writeStringValue("term", typeTermDto.term);
|
|
1279
|
-
}
|
|
1280
1201
|
/**
|
|
1281
1202
|
* Serializes information the current object
|
|
1282
1203
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -1326,15 +1247,6 @@ function serializeValidatedTypeMappingDto(writer, validatedTypeMappingDto = {},
|
|
|
1326
1247
|
writer.writeEnumValue("validationState", validatedTypeMappingDto.validationState);
|
|
1327
1248
|
writer.writeAdditionalData(validatedTypeMappingDto.additionalData);
|
|
1328
1249
|
}
|
|
1329
|
-
exports.CacheCategoryObject = {
|
|
1330
|
-
ArrowMeta: "ArrowMeta",
|
|
1331
|
-
FrontdoorUser: "FrontdoorUser",
|
|
1332
|
-
MappedExpressions: "MappedExpressions",
|
|
1333
|
-
TpMeta: "TpMeta",
|
|
1334
|
-
TpUser: "TpUser",
|
|
1335
|
-
TpUserToken: "TpUserToken",
|
|
1336
|
-
Yaft: "Yaft",
|
|
1337
|
-
};
|
|
1338
1250
|
exports.FieldMappingKindObject = {
|
|
1339
1251
|
DefaultEscaped: "Default",
|
|
1340
1252
|
Custom: "Custom",
|
package/package.json
CHANGED
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
// Generated by Microsoft Kiota
|
|
4
4
|
// @ts-ignore
|
|
5
|
-
import { CacheRequestBuilderNavigationMetadata, type CacheRequestBuilder } from './cache/index.js';
|
|
6
|
-
// @ts-ignore
|
|
7
5
|
import { EntityTypesRequestBuilderRequestsMetadata, type EntityTypesRequestBuilder } from './entityTypes/index.js';
|
|
8
6
|
// @ts-ignore
|
|
9
7
|
import { ProfileRequestBuilderNavigationMetadata, ProfileRequestBuilderRequestsMetadata, type ProfileRequestBuilder } from './profile/index.js';
|
|
@@ -14,10 +12,6 @@ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type
|
|
|
14
12
|
* Builds and executes requests for operations under /api/settings
|
|
15
13
|
*/
|
|
16
14
|
export interface SettingsRequestBuilder extends BaseRequestBuilder<SettingsRequestBuilder> {
|
|
17
|
-
/**
|
|
18
|
-
* The cache property
|
|
19
|
-
*/
|
|
20
|
-
get cache(): CacheRequestBuilder;
|
|
21
15
|
/**
|
|
22
16
|
* The entityTypes property
|
|
23
17
|
*/
|
|
@@ -35,9 +29,6 @@ export const SettingsRequestBuilderUriTemplate = "{+baseurl}/api/settings";
|
|
|
35
29
|
* Metadata for all the navigation properties in the request builder.
|
|
36
30
|
*/
|
|
37
31
|
export const SettingsRequestBuilderNavigationMetadata: Record<Exclude<keyof SettingsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata> = {
|
|
38
|
-
cache: {
|
|
39
|
-
navigationMetadata: CacheRequestBuilderNavigationMetadata,
|
|
40
|
-
},
|
|
41
32
|
entityTypes: {
|
|
42
33
|
requestsMetadata: EntityTypesRequestBuilderRequestsMetadata,
|
|
43
34
|
},
|
package/src/kiota-lock.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"descriptionHash": "
|
|
2
|
+
"descriptionHash": "78246162DE31C6D507790E4A3A8E50DA6E7A9D19BB4F984E57F5C2EC295E03800C6BC6AD2E00309C97A718E4CE16EDD52B1BBE44E2D5B247AEEAB0721611C332",
|
|
3
3
|
"descriptionLocation": "v1.json",
|
|
4
4
|
"lockFileVersion": "1.0.0",
|
|
5
|
-
"kiotaVersion": "1.
|
|
5
|
+
"kiotaVersion": "1.31.1",
|
|
6
6
|
"clientClassName": "TpSharedDataModelClient",
|
|
7
7
|
"typeAccessModifier": "Public",
|
|
8
8
|
"clientNamespaceName": "Tp",
|
|
@@ -49,13 +49,13 @@ export interface Query_entitiesRequestBuilderPostQueryParameters {
|
|
|
49
49
|
/**
|
|
50
50
|
* Uri template for the request builder.
|
|
51
51
|
*/
|
|
52
|
-
export const Query_entitiesRequestBuilderUriTemplate = "{+baseurl}/mcp/_tools/query_entities{
|
|
52
|
+
export const Query_entitiesRequestBuilderUriTemplate = "{+baseurl}/mcp/_tools/query_entities?entityType={entityType}{&disableValidation*,filter*,orderBy*,result*,select*,skip*,take*}";
|
|
53
53
|
/**
|
|
54
54
|
* Metadata for all the requests in the request builder.
|
|
55
55
|
*/
|
|
56
56
|
export const Query_entitiesRequestBuilderRequestsMetadata: RequestsMetadata = {
|
|
57
57
|
get: {
|
|
58
|
-
uriTemplate:
|
|
58
|
+
uriTemplate: Query_entitiesRequestBuilderUriTemplate,
|
|
59
59
|
responseBodyContentType: "application/json",
|
|
60
60
|
adapterMethodName: "send",
|
|
61
61
|
responseBodyFactory: createTpMcpQueryResponseOfJsonElementFromDiscriminatorValue,
|
package/src/models/index.ts
CHANGED
|
@@ -4,28 +4,12 @@
|
|
|
4
4
|
// @ts-ignore
|
|
5
5
|
import { createUntypedNodeFromDiscriminatorValue, type AdditionalDataHolder, type ApiError, type Parsable, type ParseNode, type SerializationWriter, type UntypedNode } from '@microsoft/kiota-abstractions';
|
|
6
6
|
|
|
7
|
-
export type CacheCategory = (typeof CacheCategoryObject)[keyof typeof CacheCategoryObject];
|
|
8
|
-
export interface CleanCacheRequestDto extends Parsable {
|
|
9
|
-
/**
|
|
10
|
-
* Optional list of cache categories to clear. If empty or null, all categories are cleared.
|
|
11
|
-
*/
|
|
12
|
-
categories?: CacheCategory[] | null;
|
|
13
|
-
}
|
|
14
7
|
export interface CopyCurrentProfileRequestDto extends Parsable {
|
|
15
8
|
/**
|
|
16
9
|
* The profileName property
|
|
17
10
|
*/
|
|
18
11
|
profileName?: string | null;
|
|
19
12
|
}
|
|
20
|
-
/**
|
|
21
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
22
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
23
|
-
* @returns {CleanCacheRequestDto}
|
|
24
|
-
*/
|
|
25
|
-
// @ts-ignore
|
|
26
|
-
export function createCleanCacheRequestDtoFromDiscriminatorValue(parseNode: ParseNode | undefined) : ((instance?: Parsable) => Record<string, (node: ParseNode) => void>) {
|
|
27
|
-
return deserializeIntoCleanCacheRequestDto;
|
|
28
|
-
}
|
|
29
13
|
/**
|
|
30
14
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
31
15
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -304,15 +288,6 @@ export function createTypeMetaDefDtoFromDiscriminatorValue(parseNode: ParseNode
|
|
|
304
288
|
}
|
|
305
289
|
return deserializeIntoTypeMetaDefDto;
|
|
306
290
|
}
|
|
307
|
-
/**
|
|
308
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
309
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
310
|
-
* @returns {TypeTermDto}
|
|
311
|
-
*/
|
|
312
|
-
// @ts-ignore
|
|
313
|
-
export function createTypeTermDtoFromDiscriminatorValue(parseNode: ParseNode | undefined) : ((instance?: Parsable) => Record<string, (node: ParseNode) => void>) {
|
|
314
|
-
return deserializeIntoTypeTermDto;
|
|
315
|
-
}
|
|
316
291
|
/**
|
|
317
292
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
318
293
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -346,17 +321,6 @@ export interface DeleteProfileRequestDto extends Parsable {
|
|
|
346
321
|
*/
|
|
347
322
|
profileId?: string | null;
|
|
348
323
|
}
|
|
349
|
-
/**
|
|
350
|
-
* The deserialization information for the current model
|
|
351
|
-
* @param CleanCacheRequestDto The instance to deserialize into.
|
|
352
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
353
|
-
*/
|
|
354
|
-
// @ts-ignore
|
|
355
|
-
export function deserializeIntoCleanCacheRequestDto(cleanCacheRequestDto: Partial<CleanCacheRequestDto> | undefined = {}) : Record<string, (node: ParseNode) => void> {
|
|
356
|
-
return {
|
|
357
|
-
"categories": n => { cleanCacheRequestDto.categories = n.getCollectionOfEnumValues<CacheCategory>(CacheCategoryObject); },
|
|
358
|
-
}
|
|
359
|
-
}
|
|
360
324
|
/**
|
|
361
325
|
* The deserialization information for the current model
|
|
362
326
|
* @param CopyCurrentProfileRequestDto The instance to deserialize into.
|
|
@@ -607,6 +571,7 @@ export function deserializeIntoTpEntityRequest(tpEntityRequest: Partial<TpEntity
|
|
|
607
571
|
"entityType": n => { tpEntityRequest.entityType = n.getStringValue(); },
|
|
608
572
|
"filter": n => { tpEntityRequest.filter = n.getStringValue(); },
|
|
609
573
|
"id": n => { tpEntityRequest.id = n.getNumberValue(); },
|
|
574
|
+
"includeLinks": n => { tpEntityRequest.includeLinks = n.getBooleanValue(); },
|
|
610
575
|
"orderBy": n => { tpEntityRequest.orderBy = n.getStringValue(); },
|
|
611
576
|
"result": n => { tpEntityRequest.result = n.getStringValue(); },
|
|
612
577
|
"select": n => { tpEntityRequest.select = n.getStringValue(); },
|
|
@@ -661,10 +626,8 @@ export function deserializeIntoTpTypeDefDto(tpTypeDefDto: Partial<TpTypeDefDto>
|
|
|
661
626
|
export function deserializeIntoTpTypeMetaDefDto(tpTypeMetaDefDto: Partial<TpTypeMetaDefDto> | undefined = {}) : Record<string, (node: ParseNode) => void> {
|
|
662
627
|
return {
|
|
663
628
|
...deserializeIntoTypeMetaDefDto(tpTypeMetaDefDto),
|
|
664
|
-
"
|
|
665
|
-
"
|
|
666
|
-
"hasProject": n => { tpTypeMetaDefDto.hasProject = n.getBooleanValue(); },
|
|
667
|
-
"terms": n => { tpTypeMetaDefDto.terms = n.getCollectionOfObjectValues<TypeTermDto>(createTypeTermDtoFromDiscriminatorValue); },
|
|
629
|
+
"isLinkable": n => { tpTypeMetaDefDto.isLinkable = n.getBooleanValue(); },
|
|
630
|
+
"terms": n => { tpTypeMetaDefDto.terms = n.getCollectionOfPrimitiveValues<string>(); },
|
|
668
631
|
}
|
|
669
632
|
}
|
|
670
633
|
/**
|
|
@@ -698,19 +661,6 @@ export function deserializeIntoTypeMetaDefDto(typeMetaDefDto: Partial<TypeMetaDe
|
|
|
698
661
|
"$type": n => { typeMetaDefDto.type = n.getStringValue(); },
|
|
699
662
|
}
|
|
700
663
|
}
|
|
701
|
-
/**
|
|
702
|
-
* The deserialization information for the current model
|
|
703
|
-
* @param TypeTermDto The instance to deserialize into.
|
|
704
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
705
|
-
*/
|
|
706
|
-
// @ts-ignore
|
|
707
|
-
export function deserializeIntoTypeTermDto(typeTermDto: Partial<TypeTermDto> | undefined = {}) : Record<string, (node: ParseNode) => void> {
|
|
708
|
-
return {
|
|
709
|
-
"id": n => { typeTermDto.id = n.getStringValue(); },
|
|
710
|
-
"processIds": n => { typeTermDto.processIds = n.getCollectionOfPrimitiveValues<number>(); },
|
|
711
|
-
"term": n => { typeTermDto.term = n.getStringValue(); },
|
|
712
|
-
}
|
|
713
|
-
}
|
|
714
664
|
/**
|
|
715
665
|
* The deserialization information for the current model
|
|
716
666
|
* @param ValidatedFieldMappingDto The instance to deserialize into.
|
|
@@ -909,18 +859,6 @@ export interface SdmTypeDefDto extends Parsable {
|
|
|
909
859
|
*/
|
|
910
860
|
name?: string | null;
|
|
911
861
|
}
|
|
912
|
-
/**
|
|
913
|
-
* Serializes information the current object
|
|
914
|
-
* @param CleanCacheRequestDto The instance to serialize from.
|
|
915
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
916
|
-
* @param writer Serialization writer to use to serialize this model
|
|
917
|
-
*/
|
|
918
|
-
// @ts-ignore
|
|
919
|
-
export function serializeCleanCacheRequestDto(writer: SerializationWriter, cleanCacheRequestDto: Partial<CleanCacheRequestDto> | undefined | null = {}, isSerializingDerivedType: boolean = false) : void {
|
|
920
|
-
if (!cleanCacheRequestDto || isSerializingDerivedType) { return; }
|
|
921
|
-
if(cleanCacheRequestDto.categories)
|
|
922
|
-
writer.writeCollectionOfEnumValues<CacheCategory>("categories", cleanCacheRequestDto.categories);
|
|
923
|
-
}
|
|
924
862
|
/**
|
|
925
863
|
* Serializes information the current object
|
|
926
864
|
* @param CopyCurrentProfileRequestDto The instance to serialize from.
|
|
@@ -1185,6 +1123,7 @@ export function serializeTpEntityRequest(writer: SerializationWriter, tpEntityRe
|
|
|
1185
1123
|
writer.writeStringValue("entityType", tpEntityRequest.entityType);
|
|
1186
1124
|
writer.writeStringValue("filter", tpEntityRequest.filter);
|
|
1187
1125
|
writer.writeNumberValue("id", tpEntityRequest.id);
|
|
1126
|
+
writer.writeBooleanValue("includeLinks", tpEntityRequest.includeLinks);
|
|
1188
1127
|
writer.writeStringValue("orderBy", tpEntityRequest.orderBy);
|
|
1189
1128
|
writer.writeStringValue("result", tpEntityRequest.result);
|
|
1190
1129
|
writer.writeStringValue("select", tpEntityRequest.select);
|
|
@@ -1240,10 +1179,8 @@ export function serializeTpTypeDefDto(writer: SerializationWriter, tpTypeDefDto:
|
|
|
1240
1179
|
export function serializeTpTypeMetaDefDto(writer: SerializationWriter, tpTypeMetaDefDto: Partial<TpTypeMetaDefDto> | undefined | null = {}, isSerializingDerivedType: boolean = false) : void {
|
|
1241
1180
|
if (!tpTypeMetaDefDto || isSerializingDerivedType) { return; }
|
|
1242
1181
|
serializeTypeMetaDefDto(writer, tpTypeMetaDefDto, isSerializingDerivedType)
|
|
1243
|
-
writer.
|
|
1244
|
-
writer.
|
|
1245
|
-
writer.writeBooleanValue("hasProject", tpTypeMetaDefDto.hasProject);
|
|
1246
|
-
writer.writeCollectionOfObjectValues<TypeTermDto>("terms", tpTypeMetaDefDto.terms, serializeTypeTermDto);
|
|
1182
|
+
writer.writeBooleanValue("isLinkable", tpTypeMetaDefDto.isLinkable);
|
|
1183
|
+
writer.writeCollectionOfPrimitiveValues<string>("terms", tpTypeMetaDefDto.terms);
|
|
1247
1184
|
writer.writeAdditionalData(tpTypeMetaDefDto.additionalData);
|
|
1248
1185
|
}
|
|
1249
1186
|
/**
|
|
@@ -1287,19 +1224,6 @@ export function serializeTypeMetaDefDto(writer: SerializationWriter, typeMetaDef
|
|
|
1287
1224
|
break;
|
|
1288
1225
|
}
|
|
1289
1226
|
}
|
|
1290
|
-
/**
|
|
1291
|
-
* Serializes information the current object
|
|
1292
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1293
|
-
* @param TypeTermDto The instance to serialize from.
|
|
1294
|
-
* @param writer Serialization writer to use to serialize this model
|
|
1295
|
-
*/
|
|
1296
|
-
// @ts-ignore
|
|
1297
|
-
export function serializeTypeTermDto(writer: SerializationWriter, typeTermDto: Partial<TypeTermDto> | undefined | null = {}, isSerializingDerivedType: boolean = false) : void {
|
|
1298
|
-
if (!typeTermDto || isSerializingDerivedType) { return; }
|
|
1299
|
-
writer.writeStringValue("id", typeTermDto.id);
|
|
1300
|
-
writer.writeCollectionOfPrimitiveValues<number>("processIds", typeTermDto.processIds);
|
|
1301
|
-
writer.writeStringValue("term", typeTermDto.term);
|
|
1302
|
-
}
|
|
1303
1227
|
/**
|
|
1304
1228
|
* Serializes information the current object
|
|
1305
1229
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -1414,6 +1338,10 @@ export interface TpEntityRequest extends Parsable {
|
|
|
1414
1338
|
* The id property
|
|
1415
1339
|
*/
|
|
1416
1340
|
id?: number | null;
|
|
1341
|
+
/**
|
|
1342
|
+
* The includeLinks property
|
|
1343
|
+
*/
|
|
1344
|
+
includeLinks?: boolean | null;
|
|
1417
1345
|
/**
|
|
1418
1346
|
* The orderBy property
|
|
1419
1347
|
*/
|
|
@@ -1474,21 +1402,13 @@ export interface TpTypeDefDto extends Parsable {
|
|
|
1474
1402
|
}
|
|
1475
1403
|
export interface TpTypeMetaDefDto extends AdditionalDataHolder, Parsable, TypeMetaDefDto {
|
|
1476
1404
|
/**
|
|
1477
|
-
*
|
|
1478
|
-
*/
|
|
1479
|
-
alternateNames?: string[] | null;
|
|
1480
|
-
/**
|
|
1481
|
-
* The globalTerm property
|
|
1482
|
-
*/
|
|
1483
|
-
globalTerm?: string | null;
|
|
1484
|
-
/**
|
|
1485
|
-
* The hasProject property
|
|
1405
|
+
* Indicates whether entities of this type have a UI page in Targetprocess.Based on native types list + extendable domain types (isAssignable || isVisible) + Comment (special case).
|
|
1486
1406
|
*/
|
|
1487
|
-
|
|
1407
|
+
isLinkable?: boolean | null;
|
|
1488
1408
|
/**
|
|
1489
1409
|
* The terms property
|
|
1490
1410
|
*/
|
|
1491
|
-
terms?:
|
|
1411
|
+
terms?: string[] | null;
|
|
1492
1412
|
}
|
|
1493
1413
|
export interface TypeMappingDto extends Parsable {
|
|
1494
1414
|
/**
|
|
@@ -1538,20 +1458,6 @@ export interface TypeMetaDefDto extends Parsable {
|
|
|
1538
1458
|
*/
|
|
1539
1459
|
type?: string | null;
|
|
1540
1460
|
}
|
|
1541
|
-
export interface TypeTermDto extends Parsable {
|
|
1542
|
-
/**
|
|
1543
|
-
* The id property
|
|
1544
|
-
*/
|
|
1545
|
-
id?: string | null;
|
|
1546
|
-
/**
|
|
1547
|
-
* The processIds property
|
|
1548
|
-
*/
|
|
1549
|
-
processIds?: number[] | null;
|
|
1550
|
-
/**
|
|
1551
|
-
* The term property
|
|
1552
|
-
*/
|
|
1553
|
-
term?: string | null;
|
|
1554
|
-
}
|
|
1555
1461
|
export interface ValidatedFieldMappingDto extends AdditionalDataHolder, FieldMappingDto, Parsable {
|
|
1556
1462
|
/**
|
|
1557
1463
|
* The errors property
|
|
@@ -1587,15 +1493,6 @@ export interface ValidatedTypeMappingDto extends AdditionalDataHolder, Parsable,
|
|
|
1587
1493
|
validationState?: ValidationState | null;
|
|
1588
1494
|
}
|
|
1589
1495
|
export type ValidationState = (typeof ValidationStateObject)[keyof typeof ValidationStateObject];
|
|
1590
|
-
export const CacheCategoryObject = {
|
|
1591
|
-
ArrowMeta: "ArrowMeta",
|
|
1592
|
-
FrontdoorUser: "FrontdoorUser",
|
|
1593
|
-
MappedExpressions: "MappedExpressions",
|
|
1594
|
-
TpMeta: "TpMeta",
|
|
1595
|
-
TpUser: "TpUser",
|
|
1596
|
-
TpUserToken: "TpUserToken",
|
|
1597
|
-
Yaft: "Yaft",
|
|
1598
|
-
} as const;
|
|
1599
1496
|
export const FieldMappingKindObject = {
|
|
1600
1497
|
DefaultEscaped: "Default",
|
|
1601
1498
|
Custom: "Custom",
|
package/src/v1.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"x-generator": "NSwag v14.
|
|
2
|
+
"x-generator": "NSwag v14.6.3.0 (NJsonSchema v11.5.2.0 (Newtonsoft.Json v13.0.0.0))",
|
|
3
3
|
"openapi": "3.0.0",
|
|
4
4
|
"info": {
|
|
5
5
|
"title": "Targetprocess Shared Data Model",
|
|
@@ -257,88 +257,6 @@
|
|
|
257
257
|
]
|
|
258
258
|
}
|
|
259
259
|
},
|
|
260
|
-
"/api/settings/cache/clean": {
|
|
261
|
-
"post": {
|
|
262
|
-
"tags": [
|
|
263
|
-
"Settings"
|
|
264
|
-
],
|
|
265
|
-
"summary": "Clear cache for the current account, optionally filtered by categories",
|
|
266
|
-
"operationId": "CleanCacheEndpoint",
|
|
267
|
-
"requestBody": {
|
|
268
|
-
"x-name": "CleanCacheRequestDto",
|
|
269
|
-
"description": "",
|
|
270
|
-
"content": {
|
|
271
|
-
"application/json": {
|
|
272
|
-
"schema": {
|
|
273
|
-
"$ref": "#/components/schemas/CleanCacheRequestDto"
|
|
274
|
-
}
|
|
275
|
-
}
|
|
276
|
-
},
|
|
277
|
-
"required": true,
|
|
278
|
-
"x-position": 1
|
|
279
|
-
},
|
|
280
|
-
"responses": {
|
|
281
|
-
"400": {
|
|
282
|
-
"description": "Validation error",
|
|
283
|
-
"content": {
|
|
284
|
-
"application/problem+json": {
|
|
285
|
-
"schema": {
|
|
286
|
-
"$ref": "#/components/schemas/HttpValidationProblemDetails"
|
|
287
|
-
}
|
|
288
|
-
}
|
|
289
|
-
}
|
|
290
|
-
},
|
|
291
|
-
"401": {
|
|
292
|
-
"description": "Unauthorized",
|
|
293
|
-
"content": {
|
|
294
|
-
"application/problem+json": {
|
|
295
|
-
"schema": {
|
|
296
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
297
|
-
}
|
|
298
|
-
}
|
|
299
|
-
}
|
|
300
|
-
},
|
|
301
|
-
"404": {
|
|
302
|
-
"description": "Unable to find resource",
|
|
303
|
-
"content": {
|
|
304
|
-
"application/problem+json": {
|
|
305
|
-
"schema": {
|
|
306
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
307
|
-
}
|
|
308
|
-
}
|
|
309
|
-
}
|
|
310
|
-
},
|
|
311
|
-
"409": {
|
|
312
|
-
"description": "Conflict",
|
|
313
|
-
"content": {
|
|
314
|
-
"application/problem+json": {
|
|
315
|
-
"schema": {
|
|
316
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
317
|
-
}
|
|
318
|
-
}
|
|
319
|
-
}
|
|
320
|
-
},
|
|
321
|
-
"500": {
|
|
322
|
-
"description": "Internal server error",
|
|
323
|
-
"content": {
|
|
324
|
-
"application/problem+json": {
|
|
325
|
-
"schema": {
|
|
326
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
327
|
-
}
|
|
328
|
-
}
|
|
329
|
-
}
|
|
330
|
-
},
|
|
331
|
-
"403": {
|
|
332
|
-
"description": "Forbidden"
|
|
333
|
-
}
|
|
334
|
-
},
|
|
335
|
-
"security": [
|
|
336
|
-
{
|
|
337
|
-
"apptio-token-scheme": []
|
|
338
|
-
}
|
|
339
|
-
]
|
|
340
|
-
}
|
|
341
|
-
},
|
|
342
260
|
"/api/settings/profile/copy": {
|
|
343
261
|
"post": {
|
|
344
262
|
"tags": [
|
|
@@ -2680,7 +2598,8 @@
|
|
|
2680
2598
|
"type": "object",
|
|
2681
2599
|
"additionalProperties": false,
|
|
2682
2600
|
"required": [
|
|
2683
|
-
"entityType"
|
|
2601
|
+
"entityType",
|
|
2602
|
+
"includeLinks"
|
|
2684
2603
|
],
|
|
2685
2604
|
"properties": {
|
|
2686
2605
|
"entityType": {
|
|
@@ -2691,6 +2610,9 @@
|
|
|
2691
2610
|
"format": "int32",
|
|
2692
2611
|
"nullable": true
|
|
2693
2612
|
},
|
|
2613
|
+
"includeLinks": {
|
|
2614
|
+
"type": "boolean"
|
|
2615
|
+
},
|
|
2694
2616
|
"where": {
|
|
2695
2617
|
"type": "string",
|
|
2696
2618
|
"nullable": true
|
|
@@ -2783,42 +2705,6 @@
|
|
|
2783
2705
|
}
|
|
2784
2706
|
}
|
|
2785
2707
|
},
|
|
2786
|
-
"CleanCacheRequestDto": {
|
|
2787
|
-
"type": "object",
|
|
2788
|
-
"additionalProperties": false,
|
|
2789
|
-
"properties": {
|
|
2790
|
-
"categories": {
|
|
2791
|
-
"type": "array",
|
|
2792
|
-
"description": "Optional list of cache categories to clear. If empty or null, all categories are cleared.",
|
|
2793
|
-
"nullable": true,
|
|
2794
|
-
"items": {
|
|
2795
|
-
"$ref": "#/components/schemas/CacheCategory"
|
|
2796
|
-
}
|
|
2797
|
-
}
|
|
2798
|
-
}
|
|
2799
|
-
},
|
|
2800
|
-
"CacheCategory": {
|
|
2801
|
-
"type": "string",
|
|
2802
|
-
"description": "",
|
|
2803
|
-
"x-enumNames": [
|
|
2804
|
-
"ArrowMeta",
|
|
2805
|
-
"FrontdoorUser",
|
|
2806
|
-
"MappedExpressions",
|
|
2807
|
-
"TpMeta",
|
|
2808
|
-
"TpUser",
|
|
2809
|
-
"TpUserToken",
|
|
2810
|
-
"Yaft"
|
|
2811
|
-
],
|
|
2812
|
-
"enum": [
|
|
2813
|
-
"ArrowMeta",
|
|
2814
|
-
"FrontdoorUser",
|
|
2815
|
-
"MappedExpressions",
|
|
2816
|
-
"TpMeta",
|
|
2817
|
-
"TpUser",
|
|
2818
|
-
"TpUserToken",
|
|
2819
|
-
"Yaft"
|
|
2820
|
-
]
|
|
2821
|
-
},
|
|
2822
2708
|
"ProfileDto": {
|
|
2823
2709
|
"allOf": [
|
|
2824
2710
|
{
|
|
@@ -2851,11 +2737,11 @@
|
|
|
2851
2737
|
},
|
|
2852
2738
|
"additionalProperties": false,
|
|
2853
2739
|
"required": [
|
|
2740
|
+
"$type",
|
|
2741
|
+
"id",
|
|
2854
2742
|
"sourceType",
|
|
2855
2743
|
"targetType",
|
|
2856
|
-
"fieldMappings"
|
|
2857
|
-
"$type",
|
|
2858
|
-
"id"
|
|
2744
|
+
"fieldMappings"
|
|
2859
2745
|
],
|
|
2860
2746
|
"properties": {
|
|
2861
2747
|
"id": {
|
|
@@ -2882,8 +2768,8 @@
|
|
|
2882
2768
|
"type": "object",
|
|
2883
2769
|
"additionalProperties": false,
|
|
2884
2770
|
"required": [
|
|
2885
|
-
"name",
|
|
2886
2771
|
"id",
|
|
2772
|
+
"name",
|
|
2887
2773
|
"isEmptyType"
|
|
2888
2774
|
],
|
|
2889
2775
|
"properties": {
|
|
@@ -2902,8 +2788,8 @@
|
|
|
2902
2788
|
"type": "object",
|
|
2903
2789
|
"additionalProperties": false,
|
|
2904
2790
|
"required": [
|
|
2905
|
-
"
|
|
2906
|
-
"
|
|
2791
|
+
"id",
|
|
2792
|
+
"name"
|
|
2907
2793
|
],
|
|
2908
2794
|
"properties": {
|
|
2909
2795
|
"id": {
|
|
@@ -2924,10 +2810,10 @@
|
|
|
2924
2810
|
},
|
|
2925
2811
|
"additionalProperties": false,
|
|
2926
2812
|
"required": [
|
|
2927
|
-
"source",
|
|
2928
|
-
"target",
|
|
2929
2813
|
"$type",
|
|
2930
2814
|
"id",
|
|
2815
|
+
"source",
|
|
2816
|
+
"target",
|
|
2931
2817
|
"kind"
|
|
2932
2818
|
],
|
|
2933
2819
|
"properties": {
|
|
@@ -3138,10 +3024,10 @@
|
|
|
3138
3024
|
},
|
|
3139
3025
|
"additionalProperties": false,
|
|
3140
3026
|
"required": [
|
|
3027
|
+
"$type",
|
|
3141
3028
|
"id",
|
|
3142
3029
|
"name",
|
|
3143
3030
|
"fields",
|
|
3144
|
-
"$type",
|
|
3145
3031
|
"isEmptyType"
|
|
3146
3032
|
],
|
|
3147
3033
|
"properties": {
|
|
@@ -3179,9 +3065,9 @@
|
|
|
3179
3065
|
},
|
|
3180
3066
|
"additionalProperties": false,
|
|
3181
3067
|
"required": [
|
|
3068
|
+
"$type",
|
|
3182
3069
|
"expression",
|
|
3183
|
-
"type"
|
|
3184
|
-
"$type"
|
|
3070
|
+
"type"
|
|
3185
3071
|
],
|
|
3186
3072
|
"properties": {
|
|
3187
3073
|
"expression": {
|
|
@@ -3245,30 +3131,20 @@
|
|
|
3245
3131
|
"type": "object",
|
|
3246
3132
|
"additionalProperties": false,
|
|
3247
3133
|
"required": [
|
|
3248
|
-
"alternateNames",
|
|
3249
3134
|
"terms",
|
|
3250
|
-
"
|
|
3135
|
+
"isLinkable",
|
|
3251
3136
|
"isEmptyType"
|
|
3252
3137
|
],
|
|
3253
3138
|
"properties": {
|
|
3254
|
-
"globalTerm": {
|
|
3255
|
-
"type": "string",
|
|
3256
|
-
"nullable": true
|
|
3257
|
-
},
|
|
3258
|
-
"alternateNames": {
|
|
3259
|
-
"type": "array",
|
|
3260
|
-
"items": {
|
|
3261
|
-
"type": "string"
|
|
3262
|
-
}
|
|
3263
|
-
},
|
|
3264
3139
|
"terms": {
|
|
3265
3140
|
"type": "array",
|
|
3266
3141
|
"items": {
|
|
3267
|
-
"
|
|
3142
|
+
"type": "string"
|
|
3268
3143
|
}
|
|
3269
3144
|
},
|
|
3270
|
-
"
|
|
3271
|
-
"type": "boolean"
|
|
3145
|
+
"isLinkable": {
|
|
3146
|
+
"type": "boolean",
|
|
3147
|
+
"description": "Indicates whether entities of this type have a UI page in Targetprocess.\nBased on native types list + extendable domain types (isAssignable || isVisible) + Comment (special case)."
|
|
3272
3148
|
},
|
|
3273
3149
|
"isEmptyType": {
|
|
3274
3150
|
"type": "boolean"
|
|
@@ -3277,30 +3153,6 @@
|
|
|
3277
3153
|
}
|
|
3278
3154
|
]
|
|
3279
3155
|
},
|
|
3280
|
-
"TypeTermDto": {
|
|
3281
|
-
"type": "object",
|
|
3282
|
-
"additionalProperties": false,
|
|
3283
|
-
"required": [
|
|
3284
|
-
"id",
|
|
3285
|
-
"term",
|
|
3286
|
-
"processIds"
|
|
3287
|
-
],
|
|
3288
|
-
"properties": {
|
|
3289
|
-
"id": {
|
|
3290
|
-
"type": "string"
|
|
3291
|
-
},
|
|
3292
|
-
"term": {
|
|
3293
|
-
"type": "string"
|
|
3294
|
-
},
|
|
3295
|
-
"processIds": {
|
|
3296
|
-
"type": "array",
|
|
3297
|
-
"items": {
|
|
3298
|
-
"type": "integer",
|
|
3299
|
-
"format": "int32"
|
|
3300
|
-
}
|
|
3301
|
-
}
|
|
3302
|
-
}
|
|
3303
|
-
},
|
|
3304
3156
|
"SetCurrentProfileRequestDto": {
|
|
3305
3157
|
"type": "object",
|
|
3306
3158
|
"additionalProperties": false,
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { type CleanCacheRequestDto } from '../../../../models/index.js';
|
|
2
|
-
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
3
|
-
/**
|
|
4
|
-
* Builds and executes requests for operations under /api/settings/cache/clean
|
|
5
|
-
*/
|
|
6
|
-
export interface CleanRequestBuilder extends BaseRequestBuilder<CleanRequestBuilder> {
|
|
7
|
-
/**
|
|
8
|
-
* Clear cache for the current account, optionally filtered by categories
|
|
9
|
-
* @param body The request body
|
|
10
|
-
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
11
|
-
* @returns {Promise<ArrayBuffer>}
|
|
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: CleanCacheRequestDto, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArrayBuffer | undefined>;
|
|
19
|
-
/**
|
|
20
|
-
* Clear cache for the current account, optionally filtered by categories
|
|
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: CleanCacheRequestDto, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* Uri template for the request builder.
|
|
29
|
-
*/
|
|
30
|
-
export declare const CleanRequestBuilderUriTemplate = "{+baseurl}/api/settings/cache/clean";
|
|
31
|
-
/**
|
|
32
|
-
* Metadata for all the requests in the request builder.
|
|
33
|
-
*/
|
|
34
|
-
export declare const CleanRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CleanRequestBuilderRequestsMetadata = exports.CleanRequestBuilderUriTemplate = 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
|
-
/**
|
|
10
|
-
* Uri template for the request builder.
|
|
11
|
-
*/
|
|
12
|
-
exports.CleanRequestBuilderUriTemplate = "{+baseurl}/api/settings/cache/clean";
|
|
13
|
-
/**
|
|
14
|
-
* Metadata for all the requests in the request builder.
|
|
15
|
-
*/
|
|
16
|
-
exports.CleanRequestBuilderRequestsMetadata = {
|
|
17
|
-
post: {
|
|
18
|
-
uriTemplate: exports.CleanRequestBuilderUriTemplate,
|
|
19
|
-
responseBodyContentType: "application/problem+json",
|
|
20
|
-
errorMappings: {
|
|
21
|
-
400: index_js_1.createHttpValidationProblemDetailsFromDiscriminatorValue,
|
|
22
|
-
401: index_js_1.createProblemDetailsFromDiscriminatorValue,
|
|
23
|
-
404: index_js_1.createProblemDetailsFromDiscriminatorValue,
|
|
24
|
-
409: index_js_1.createProblemDetailsFromDiscriminatorValue,
|
|
25
|
-
500: index_js_1.createProblemDetailsFromDiscriminatorValue,
|
|
26
|
-
},
|
|
27
|
-
adapterMethodName: "sendPrimitive",
|
|
28
|
-
responseBodyFactory: "ArrayBuffer",
|
|
29
|
-
requestBodyContentType: "application/json",
|
|
30
|
-
requestBodySerializer: index_js_1.serializeCleanCacheRequestDto,
|
|
31
|
-
requestInformationContentSetMethod: "setContentFromParsable",
|
|
32
|
-
},
|
|
33
|
-
};
|
|
34
|
-
/* tslint:enable */
|
|
35
|
-
/* eslint-enable */
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { type CleanRequestBuilder } from './clean/index.js';
|
|
2
|
-
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata } from '@microsoft/kiota-abstractions';
|
|
3
|
-
/**
|
|
4
|
-
* Builds and executes requests for operations under /api/settings/cache
|
|
5
|
-
*/
|
|
6
|
-
export interface CacheRequestBuilder extends BaseRequestBuilder<CacheRequestBuilder> {
|
|
7
|
-
/**
|
|
8
|
-
* The clean property
|
|
9
|
-
*/
|
|
10
|
-
get clean(): CleanRequestBuilder;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* Uri template for the request builder.
|
|
14
|
-
*/
|
|
15
|
-
export declare const CacheRequestBuilderUriTemplate = "{+baseurl}/api/settings/cache";
|
|
16
|
-
/**
|
|
17
|
-
* Metadata for all the navigation properties in the request builder.
|
|
18
|
-
*/
|
|
19
|
-
export declare const CacheRequestBuilderNavigationMetadata: Record<Exclude<keyof CacheRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CacheRequestBuilderNavigationMetadata = exports.CacheRequestBuilderUriTemplate = void 0;
|
|
4
|
-
/* tslint:disable */
|
|
5
|
-
/* eslint-disable */
|
|
6
|
-
// Generated by Microsoft Kiota
|
|
7
|
-
// @ts-ignore
|
|
8
|
-
const index_js_1 = require("./clean/index.js");
|
|
9
|
-
/**
|
|
10
|
-
* Uri template for the request builder.
|
|
11
|
-
*/
|
|
12
|
-
exports.CacheRequestBuilderUriTemplate = "{+baseurl}/api/settings/cache";
|
|
13
|
-
/**
|
|
14
|
-
* Metadata for all the navigation properties in the request builder.
|
|
15
|
-
*/
|
|
16
|
-
exports.CacheRequestBuilderNavigationMetadata = {
|
|
17
|
-
clean: {
|
|
18
|
-
requestsMetadata: index_js_1.CleanRequestBuilderRequestsMetadata,
|
|
19
|
-
},
|
|
20
|
-
};
|
|
21
|
-
/* tslint:enable */
|
|
22
|
-
/* eslint-enable */
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
// Generated by Microsoft Kiota
|
|
4
|
-
// @ts-ignore
|
|
5
|
-
import { createHttpValidationProblemDetailsFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue, serializeCleanCacheRequestDto, type CleanCacheRequestDto, type HttpValidationProblemDetails, type ProblemDetails } from '../../../../models/index.js';
|
|
6
|
-
// @ts-ignore
|
|
7
|
-
import { type BaseRequestBuilder, type Parsable, type ParsableFactory, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* Builds and executes requests for operations under /api/settings/cache/clean
|
|
11
|
-
*/
|
|
12
|
-
export interface CleanRequestBuilder extends BaseRequestBuilder<CleanRequestBuilder> {
|
|
13
|
-
/**
|
|
14
|
-
* Clear cache for the current account, optionally filtered by categories
|
|
15
|
-
* @param body The request body
|
|
16
|
-
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
17
|
-
* @returns {Promise<ArrayBuffer>}
|
|
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: CleanCacheRequestDto, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<ArrayBuffer | undefined>;
|
|
25
|
-
/**
|
|
26
|
-
* Clear cache for the current account, optionally filtered by categories
|
|
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: CleanCacheRequestDto, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Uri template for the request builder.
|
|
35
|
-
*/
|
|
36
|
-
export const CleanRequestBuilderUriTemplate = "{+baseurl}/api/settings/cache/clean";
|
|
37
|
-
/**
|
|
38
|
-
* Metadata for all the requests in the request builder.
|
|
39
|
-
*/
|
|
40
|
-
export const CleanRequestBuilderRequestsMetadata: RequestsMetadata = {
|
|
41
|
-
post: {
|
|
42
|
-
uriTemplate: CleanRequestBuilderUriTemplate,
|
|
43
|
-
responseBodyContentType: "application/problem+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: "sendPrimitive",
|
|
52
|
-
responseBodyFactory: "ArrayBuffer",
|
|
53
|
-
requestBodyContentType: "application/json",
|
|
54
|
-
requestBodySerializer: serializeCleanCacheRequestDto,
|
|
55
|
-
requestInformationContentSetMethod: "setContentFromParsable",
|
|
56
|
-
},
|
|
57
|
-
};
|
|
58
|
-
/* tslint:enable */
|
|
59
|
-
/* eslint-enable */
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
// Generated by Microsoft Kiota
|
|
4
|
-
// @ts-ignore
|
|
5
|
-
import { CleanRequestBuilderRequestsMetadata, type CleanRequestBuilder } from './clean/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/settings/cache
|
|
11
|
-
*/
|
|
12
|
-
export interface CacheRequestBuilder extends BaseRequestBuilder<CacheRequestBuilder> {
|
|
13
|
-
/**
|
|
14
|
-
* The clean property
|
|
15
|
-
*/
|
|
16
|
-
get clean(): CleanRequestBuilder;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Uri template for the request builder.
|
|
20
|
-
*/
|
|
21
|
-
export const CacheRequestBuilderUriTemplate = "{+baseurl}/api/settings/cache";
|
|
22
|
-
/**
|
|
23
|
-
* Metadata for all the navigation properties in the request builder.
|
|
24
|
-
*/
|
|
25
|
-
export const CacheRequestBuilderNavigationMetadata: Record<Exclude<keyof CacheRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata> = {
|
|
26
|
-
clean: {
|
|
27
|
-
requestsMetadata: CleanRequestBuilderRequestsMetadata,
|
|
28
|
-
},
|
|
29
|
-
};
|
|
30
|
-
/* tslint:enable */
|
|
31
|
-
/* eslint-enable */
|