@targetprocess/shared-data-model-client 0.6.0 → 0.7.0-us817837-mapping.21
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.js +1 -0
- package/dist/api/settings/profile/current/index.d.ts +49 -0
- package/dist/api/settings/profile/current/index.js +46 -0
- package/dist/api/settings/profile/index.d.ts +23 -4
- package/dist/api/settings/profile/index.js +23 -3
- package/dist/api/settings/profile/testTypeMapping/index.d.ts +33 -0
- package/dist/api/settings/profile/testTypeMapping/index.js +36 -0
- package/dist/api/settings/profile/validate/index.d.ts +33 -0
- package/dist/api/settings/profile/validate/index.js +34 -0
- package/dist/models/index.d.ts +205 -182
- package/dist/models/index.js +283 -202
- package/package.json +1 -1
- package/src/api/settings/index.ts +2 -1
- package/src/api/settings/profile/current/index.ts +85 -0
- package/src/api/settings/profile/index.ts +38 -6
- package/src/api/settings/profile/testTypeMapping/index.ts +57 -0
- package/src/api/settings/profile/validate/index.ts +57 -0
- package/src/kiota-lock.json +1 -1
- package/src/models/index.ts +360 -301
- package/src/v1.json +635 -369
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
// @ts-ignore
|
|
5
5
|
import { EntityTypesRequestBuilderRequestsMetadata, type EntityTypesRequestBuilder } from './entityTypes/index.js';
|
|
6
6
|
// @ts-ignore
|
|
7
|
-
import { ProfileRequestBuilderRequestsMetadata, type ProfileRequestBuilder } from './profile/index.js';
|
|
7
|
+
import { ProfileRequestBuilderNavigationMetadata, ProfileRequestBuilderRequestsMetadata, type ProfileRequestBuilder } from './profile/index.js';
|
|
8
8
|
// @ts-ignore
|
|
9
9
|
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata } from '@microsoft/kiota-abstractions';
|
|
10
10
|
|
|
@@ -34,6 +34,7 @@ export const SettingsRequestBuilderNavigationMetadata: Record<Exclude<keyof Sett
|
|
|
34
34
|
},
|
|
35
35
|
profile: {
|
|
36
36
|
requestsMetadata: ProfileRequestBuilderRequestsMetadata,
|
|
37
|
+
navigationMetadata: ProfileRequestBuilderNavigationMetadata,
|
|
37
38
|
},
|
|
38
39
|
};
|
|
39
40
|
/* tslint:enable */
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createHttpValidationProblemDetailsFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue, createProfileDtoFromDiscriminatorValue, serializeProfileDto, serializeSetCurrentProfileRequestDto, type HttpValidationProblemDetails, type ProblemDetails, type ProfileDto, type SetCurrentProfileRequestDto } 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/profile/current
|
|
11
|
+
*/
|
|
12
|
+
export interface CurrentRequestBuilder extends BaseRequestBuilder<CurrentRequestBuilder> {
|
|
13
|
+
/**
|
|
14
|
+
* Get settings profile
|
|
15
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
|
+
* @returns {Promise<ProfileDto>}
|
|
17
|
+
* @throws {HttpValidationProblemDetails} error when the service returns a 400 status code
|
|
18
|
+
* @throws {ProblemDetails} error when the service returns a 401 status code
|
|
19
|
+
* @throws {ProblemDetails} error when the service returns a 404 status code
|
|
20
|
+
* @throws {ProblemDetails} error when the service returns a 500 status code
|
|
21
|
+
*/
|
|
22
|
+
get(requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<ProfileDto | undefined>;
|
|
23
|
+
/**
|
|
24
|
+
* Sets current settings profile
|
|
25
|
+
* @param body The request body
|
|
26
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
27
|
+
* @returns {Promise<ProfileDto>}
|
|
28
|
+
* @throws {HttpValidationProblemDetails} error when the service returns a 400 status code
|
|
29
|
+
* @throws {ProblemDetails} error when the service returns a 401 status code
|
|
30
|
+
* @throws {ProblemDetails} error when the service returns a 404 status code
|
|
31
|
+
* @throws {ProblemDetails} error when the service returns a 500 status code
|
|
32
|
+
*/
|
|
33
|
+
put(body: SetCurrentProfileRequestDto, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<ProfileDto | undefined>;
|
|
34
|
+
/**
|
|
35
|
+
* Get settings profile
|
|
36
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
37
|
+
* @returns {RequestInformation}
|
|
38
|
+
*/
|
|
39
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
|
|
40
|
+
/**
|
|
41
|
+
* Sets current settings profile
|
|
42
|
+
* @param body The request body
|
|
43
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
44
|
+
* @returns {RequestInformation}
|
|
45
|
+
*/
|
|
46
|
+
toPutRequestInformation(body: SetCurrentProfileRequestDto, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Uri template for the request builder.
|
|
50
|
+
*/
|
|
51
|
+
export const CurrentRequestBuilderUriTemplate = "{+baseurl}/api/settings/profile/current";
|
|
52
|
+
/**
|
|
53
|
+
* Metadata for all the requests in the request builder.
|
|
54
|
+
*/
|
|
55
|
+
export const CurrentRequestBuilderRequestsMetadata: RequestsMetadata = {
|
|
56
|
+
get: {
|
|
57
|
+
uriTemplate: CurrentRequestBuilderUriTemplate,
|
|
58
|
+
responseBodyContentType: "application/json",
|
|
59
|
+
errorMappings: {
|
|
60
|
+
400: createHttpValidationProblemDetailsFromDiscriminatorValue as ParsableFactory<Parsable>,
|
|
61
|
+
401: createProblemDetailsFromDiscriminatorValue as ParsableFactory<Parsable>,
|
|
62
|
+
404: createProblemDetailsFromDiscriminatorValue as ParsableFactory<Parsable>,
|
|
63
|
+
500: createProblemDetailsFromDiscriminatorValue as ParsableFactory<Parsable>,
|
|
64
|
+
},
|
|
65
|
+
adapterMethodName: "send",
|
|
66
|
+
responseBodyFactory: createProfileDtoFromDiscriminatorValue,
|
|
67
|
+
},
|
|
68
|
+
put: {
|
|
69
|
+
uriTemplate: CurrentRequestBuilderUriTemplate,
|
|
70
|
+
responseBodyContentType: "application/json",
|
|
71
|
+
errorMappings: {
|
|
72
|
+
400: createHttpValidationProblemDetailsFromDiscriminatorValue as ParsableFactory<Parsable>,
|
|
73
|
+
401: createProblemDetailsFromDiscriminatorValue as ParsableFactory<Parsable>,
|
|
74
|
+
404: createProblemDetailsFromDiscriminatorValue as ParsableFactory<Parsable>,
|
|
75
|
+
500: createProblemDetailsFromDiscriminatorValue as ParsableFactory<Parsable>,
|
|
76
|
+
},
|
|
77
|
+
adapterMethodName: "send",
|
|
78
|
+
responseBodyFactory: createProfileDtoFromDiscriminatorValue,
|
|
79
|
+
requestBodyContentType: "application/json",
|
|
80
|
+
requestBodySerializer: serializeSetCurrentProfileRequestDto,
|
|
81
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
82
|
+
},
|
|
83
|
+
};
|
|
84
|
+
/* tslint:enable */
|
|
85
|
+
/* eslint-enable */
|
|
@@ -2,24 +2,42 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
// Generated by Microsoft Kiota
|
|
4
4
|
// @ts-ignore
|
|
5
|
-
import {
|
|
5
|
+
import { createHttpValidationProblemDetailsFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue, createProfileDtoFromDiscriminatorValue, createProfileIdDtoFromDiscriminatorValue, serializeProfileDto, type HttpValidationProblemDetails, type ProblemDetails, type ProfileDto, type ProfileIdDto } from '../../../models/index.js';
|
|
6
6
|
// @ts-ignore
|
|
7
|
-
import {
|
|
7
|
+
import { CurrentRequestBuilderRequestsMetadata, type CurrentRequestBuilder } from './current/index.js';
|
|
8
|
+
// @ts-ignore
|
|
9
|
+
import { TestTypeMappingRequestBuilderRequestsMetadata, type TestTypeMappingRequestBuilder } from './testTypeMapping/index.js';
|
|
10
|
+
// @ts-ignore
|
|
11
|
+
import { type ValidateRequestBuilder, ValidateRequestBuilderRequestsMetadata } from './validate/index.js';
|
|
12
|
+
// @ts-ignore
|
|
13
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type Parsable, type ParsableFactory, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
8
14
|
|
|
9
15
|
/**
|
|
10
16
|
* Builds and executes requests for operations under /api/settings/profile
|
|
11
17
|
*/
|
|
12
18
|
export interface ProfileRequestBuilder extends BaseRequestBuilder<ProfileRequestBuilder> {
|
|
19
|
+
/**
|
|
20
|
+
* The current property
|
|
21
|
+
*/
|
|
22
|
+
get current(): CurrentRequestBuilder;
|
|
23
|
+
/**
|
|
24
|
+
* The testTypeMapping property
|
|
25
|
+
*/
|
|
26
|
+
get testTypeMapping(): TestTypeMappingRequestBuilder;
|
|
27
|
+
/**
|
|
28
|
+
* The validate property
|
|
29
|
+
*/
|
|
30
|
+
get validate(): ValidateRequestBuilder;
|
|
13
31
|
/**
|
|
14
32
|
* Get settings profile
|
|
15
33
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
|
-
* @returns {Promise<
|
|
34
|
+
* @returns {Promise<ProfileIdDto[]>}
|
|
17
35
|
* @throws {HttpValidationProblemDetails} error when the service returns a 400 status code
|
|
18
36
|
* @throws {ProblemDetails} error when the service returns a 401 status code
|
|
19
37
|
* @throws {ProblemDetails} error when the service returns a 404 status code
|
|
20
38
|
* @throws {ProblemDetails} error when the service returns a 500 status code
|
|
21
39
|
*/
|
|
22
|
-
get(requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<
|
|
40
|
+
get(requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<ProfileIdDto[] | undefined>;
|
|
23
41
|
/**
|
|
24
42
|
* Update settings profile
|
|
25
43
|
* @param body The request body
|
|
@@ -49,6 +67,20 @@ export interface ProfileRequestBuilder extends BaseRequestBuilder<ProfileRequest
|
|
|
49
67
|
* Uri template for the request builder.
|
|
50
68
|
*/
|
|
51
69
|
export const ProfileRequestBuilderUriTemplate = "{+baseurl}/api/settings/profile";
|
|
70
|
+
/**
|
|
71
|
+
* Metadata for all the navigation properties in the request builder.
|
|
72
|
+
*/
|
|
73
|
+
export const ProfileRequestBuilderNavigationMetadata: Record<Exclude<keyof ProfileRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata> = {
|
|
74
|
+
current: {
|
|
75
|
+
requestsMetadata: CurrentRequestBuilderRequestsMetadata,
|
|
76
|
+
},
|
|
77
|
+
testTypeMapping: {
|
|
78
|
+
requestsMetadata: TestTypeMappingRequestBuilderRequestsMetadata,
|
|
79
|
+
},
|
|
80
|
+
validate: {
|
|
81
|
+
requestsMetadata: ValidateRequestBuilderRequestsMetadata,
|
|
82
|
+
},
|
|
83
|
+
};
|
|
52
84
|
/**
|
|
53
85
|
* Metadata for all the requests in the request builder.
|
|
54
86
|
*/
|
|
@@ -62,8 +94,8 @@ export const ProfileRequestBuilderRequestsMetadata: RequestsMetadata = {
|
|
|
62
94
|
404: createProblemDetailsFromDiscriminatorValue as ParsableFactory<Parsable>,
|
|
63
95
|
500: createProblemDetailsFromDiscriminatorValue as ParsableFactory<Parsable>,
|
|
64
96
|
},
|
|
65
|
-
adapterMethodName: "
|
|
66
|
-
responseBodyFactory:
|
|
97
|
+
adapterMethodName: "sendCollection",
|
|
98
|
+
responseBodyFactory: createProfileIdDtoFromDiscriminatorValue,
|
|
67
99
|
},
|
|
68
100
|
put: {
|
|
69
101
|
uriTemplate: ProfileRequestBuilderUriTemplate,
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createHttpValidationProblemDetailsFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue, serializeTestTypeMappingDto, type HttpValidationProblemDetails, type ProblemDetails, type TestTypeMappingDto } 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/settings/profile/testTypeMapping
|
|
11
|
+
*/
|
|
12
|
+
export interface TestTypeMappingRequestBuilder extends BaseRequestBuilder<TestTypeMappingRequestBuilder> {
|
|
13
|
+
/**
|
|
14
|
+
* Test type mapping
|
|
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 500 status code
|
|
22
|
+
*/
|
|
23
|
+
put(body: TestTypeMappingDto, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<UntypedNode | undefined>;
|
|
24
|
+
/**
|
|
25
|
+
* Test type mapping
|
|
26
|
+
* @param body The request body
|
|
27
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
28
|
+
* @returns {RequestInformation}
|
|
29
|
+
*/
|
|
30
|
+
toPutRequestInformation(body: TestTypeMappingDto, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Uri template for the request builder.
|
|
34
|
+
*/
|
|
35
|
+
export const TestTypeMappingRequestBuilderUriTemplate = "{+baseurl}/api/settings/profile/testTypeMapping";
|
|
36
|
+
/**
|
|
37
|
+
* Metadata for all the requests in the request builder.
|
|
38
|
+
*/
|
|
39
|
+
export const TestTypeMappingRequestBuilderRequestsMetadata: RequestsMetadata = {
|
|
40
|
+
put: {
|
|
41
|
+
uriTemplate: TestTypeMappingRequestBuilderUriTemplate,
|
|
42
|
+
responseBodyContentType: "application/json",
|
|
43
|
+
errorMappings: {
|
|
44
|
+
400: createHttpValidationProblemDetailsFromDiscriminatorValue as ParsableFactory<Parsable>,
|
|
45
|
+
401: createProblemDetailsFromDiscriminatorValue as ParsableFactory<Parsable>,
|
|
46
|
+
404: createProblemDetailsFromDiscriminatorValue as ParsableFactory<Parsable>,
|
|
47
|
+
500: createProblemDetailsFromDiscriminatorValue as ParsableFactory<Parsable>,
|
|
48
|
+
},
|
|
49
|
+
adapterMethodName: "send",
|
|
50
|
+
responseBodyFactory: createUntypedNodeFromDiscriminatorValue,
|
|
51
|
+
requestBodyContentType: "application/json",
|
|
52
|
+
requestBodySerializer: serializeTestTypeMappingDto,
|
|
53
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
54
|
+
},
|
|
55
|
+
};
|
|
56
|
+
/* tslint:enable */
|
|
57
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createHttpValidationProblemDetailsFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue, createValidatedProfileDtoFromDiscriminatorValue, serializeProfileDto, serializeValidatedProfileDto, type HttpValidationProblemDetails, type ProblemDetails, type ProfileDto, type ValidatedProfileDto } 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/profile/validate
|
|
11
|
+
*/
|
|
12
|
+
export interface ValidateRequestBuilder extends BaseRequestBuilder<ValidateRequestBuilder> {
|
|
13
|
+
/**
|
|
14
|
+
* Validate profile
|
|
15
|
+
* @param body The request body
|
|
16
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
17
|
+
* @returns {Promise<ValidatedProfileDto>}
|
|
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 500 status code
|
|
22
|
+
*/
|
|
23
|
+
put(body: ProfileDto, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<ValidatedProfileDto | undefined>;
|
|
24
|
+
/**
|
|
25
|
+
* Validate profile
|
|
26
|
+
* @param body The request body
|
|
27
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
28
|
+
* @returns {RequestInformation}
|
|
29
|
+
*/
|
|
30
|
+
toPutRequestInformation(body: ProfileDto, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Uri template for the request builder.
|
|
34
|
+
*/
|
|
35
|
+
export const ValidateRequestBuilderUriTemplate = "{+baseurl}/api/settings/profile/validate";
|
|
36
|
+
/**
|
|
37
|
+
* Metadata for all the requests in the request builder.
|
|
38
|
+
*/
|
|
39
|
+
export const ValidateRequestBuilderRequestsMetadata: RequestsMetadata = {
|
|
40
|
+
put: {
|
|
41
|
+
uriTemplate: ValidateRequestBuilderUriTemplate,
|
|
42
|
+
responseBodyContentType: "application/json",
|
|
43
|
+
errorMappings: {
|
|
44
|
+
400: createHttpValidationProblemDetailsFromDiscriminatorValue as ParsableFactory<Parsable>,
|
|
45
|
+
401: createProblemDetailsFromDiscriminatorValue as ParsableFactory<Parsable>,
|
|
46
|
+
404: createProblemDetailsFromDiscriminatorValue as ParsableFactory<Parsable>,
|
|
47
|
+
500: createProblemDetailsFromDiscriminatorValue as ParsableFactory<Parsable>,
|
|
48
|
+
},
|
|
49
|
+
adapterMethodName: "send",
|
|
50
|
+
responseBodyFactory: createValidatedProfileDtoFromDiscriminatorValue,
|
|
51
|
+
requestBodyContentType: "application/json",
|
|
52
|
+
requestBodySerializer: serializeProfileDto,
|
|
53
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
54
|
+
},
|
|
55
|
+
};
|
|
56
|
+
/* tslint:enable */
|
|
57
|
+
/* eslint-enable */
|
package/src/kiota-lock.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"descriptionHash": "
|
|
2
|
+
"descriptionHash": "1D81E4C1335CB44AA51F8AE5E461D574B6CFCA795E0AD62231F7D6449549B433737CA9EA125C9890C9DDCA27ECD2AE5CFB4EBF877087D7F64AEC19D64D4564A9",
|
|
3
3
|
"descriptionLocation": "v1.json",
|
|
4
4
|
"lockFileVersion": "1.0.0",
|
|
5
5
|
"kiotaVersion": "1.22.3",
|