@targetprocess/shared-data-model-client 0.6.0-us817837-mapping.18 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,49 +0,0 @@
1
- import { type ProfileDto, type SetCurrentProfileRequestDto } 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/profile/current
5
- */
6
- export interface CurrentRequestBuilder extends BaseRequestBuilder<CurrentRequestBuilder> {
7
- /**
8
- * Get settings profile
9
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
- * @returns {Promise<ProfileDto>}
11
- * @throws {HttpValidationProblemDetails} error when the service returns a 400 status code
12
- * @throws {ProblemDetails} error when the service returns a 401 status code
13
- * @throws {ProblemDetails} error when the service returns a 404 status code
14
- * @throws {ProblemDetails} error when the service returns a 500 status code
15
- */
16
- get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ProfileDto | undefined>;
17
- /**
18
- * Sets current settings profile
19
- * @param body The request body
20
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
21
- * @returns {Promise<ProfileDto>}
22
- * @throws {HttpValidationProblemDetails} error when the service returns a 400 status code
23
- * @throws {ProblemDetails} error when the service returns a 401 status code
24
- * @throws {ProblemDetails} error when the service returns a 404 status code
25
- * @throws {ProblemDetails} error when the service returns a 500 status code
26
- */
27
- put(body: SetCurrentProfileRequestDto, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ProfileDto | undefined>;
28
- /**
29
- * Get settings profile
30
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
31
- * @returns {RequestInformation}
32
- */
33
- toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
34
- /**
35
- * Sets current settings profile
36
- * @param body The request body
37
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
38
- * @returns {RequestInformation}
39
- */
40
- toPutRequestInformation(body: SetCurrentProfileRequestDto, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
41
- }
42
- /**
43
- * Uri template for the request builder.
44
- */
45
- export declare const CurrentRequestBuilderUriTemplate = "{+baseurl}/api/settings/profile/current";
46
- /**
47
- * Metadata for all the requests in the request builder.
48
- */
49
- export declare const CurrentRequestBuilderRequestsMetadata: RequestsMetadata;
@@ -1,46 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CurrentRequestBuilderRequestsMetadata = exports.CurrentRequestBuilderUriTemplate = 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.CurrentRequestBuilderUriTemplate = "{+baseurl}/api/settings/profile/current";
13
- /**
14
- * Metadata for all the requests in the request builder.
15
- */
16
- exports.CurrentRequestBuilderRequestsMetadata = {
17
- get: {
18
- uriTemplate: exports.CurrentRequestBuilderUriTemplate,
19
- responseBodyContentType: "application/json",
20
- errorMappings: {
21
- 400: index_js_1.createHttpValidationProblemDetailsFromDiscriminatorValue,
22
- 401: index_js_1.createProblemDetailsFromDiscriminatorValue,
23
- 404: index_js_1.createProblemDetailsFromDiscriminatorValue,
24
- 500: index_js_1.createProblemDetailsFromDiscriminatorValue,
25
- },
26
- adapterMethodName: "send",
27
- responseBodyFactory: index_js_1.createProfileDtoFromDiscriminatorValue,
28
- },
29
- put: {
30
- uriTemplate: exports.CurrentRequestBuilderUriTemplate,
31
- responseBodyContentType: "application/json",
32
- errorMappings: {
33
- 400: index_js_1.createHttpValidationProblemDetailsFromDiscriminatorValue,
34
- 401: index_js_1.createProblemDetailsFromDiscriminatorValue,
35
- 404: index_js_1.createProblemDetailsFromDiscriminatorValue,
36
- 500: index_js_1.createProblemDetailsFromDiscriminatorValue,
37
- },
38
- adapterMethodName: "send",
39
- responseBodyFactory: index_js_1.createProfileDtoFromDiscriminatorValue,
40
- requestBodyContentType: "application/json",
41
- requestBodySerializer: index_js_1.serializeSetCurrentProfileRequestDto,
42
- requestInformationContentSetMethod: "setContentFromParsable",
43
- },
44
- };
45
- /* tslint:enable */
46
- /* eslint-enable */
@@ -1,33 +0,0 @@
1
- import { type TestTypeMappingDto } 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/settings/profile/testTypeMapping
5
- */
6
- export interface TestTypeMappingRequestBuilder extends BaseRequestBuilder<TestTypeMappingRequestBuilder> {
7
- /**
8
- * Test type mapping
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 500 status code
16
- */
17
- put(body: TestTypeMappingDto, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<UntypedNode | undefined>;
18
- /**
19
- * Test type mapping
20
- * @param body The request body
21
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
- * @returns {RequestInformation}
23
- */
24
- toPutRequestInformation(body: TestTypeMappingDto, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
25
- }
26
- /**
27
- * Uri template for the request builder.
28
- */
29
- export declare const TestTypeMappingRequestBuilderUriTemplate = "{+baseurl}/api/settings/profile/testTypeMapping";
30
- /**
31
- * Metadata for all the requests in the request builder.
32
- */
33
- export declare const TestTypeMappingRequestBuilderRequestsMetadata: RequestsMetadata;
@@ -1,36 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TestTypeMappingRequestBuilderRequestsMetadata = exports.TestTypeMappingRequestBuilderUriTemplate = 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.TestTypeMappingRequestBuilderUriTemplate = "{+baseurl}/api/settings/profile/testTypeMapping";
15
- /**
16
- * Metadata for all the requests in the request builder.
17
- */
18
- exports.TestTypeMappingRequestBuilderRequestsMetadata = {
19
- put: {
20
- uriTemplate: exports.TestTypeMappingRequestBuilderUriTemplate,
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
- 500: index_js_1.createProblemDetailsFromDiscriminatorValue,
27
- },
28
- adapterMethodName: "send",
29
- responseBodyFactory: kiota_abstractions_1.createUntypedNodeFromDiscriminatorValue,
30
- requestBodyContentType: "application/json",
31
- requestBodySerializer: index_js_1.serializeTestTypeMappingDto,
32
- requestInformationContentSetMethod: "setContentFromParsable",
33
- },
34
- };
35
- /* tslint:enable */
36
- /* eslint-enable */
@@ -1,33 +0,0 @@
1
- import { type ProfileDto, type ValidatedProfileDto } 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/profile/validate
5
- */
6
- export interface ValidateRequestBuilder extends BaseRequestBuilder<ValidateRequestBuilder> {
7
- /**
8
- * Validate profile
9
- * @param body The request body
10
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
11
- * @returns {Promise<ValidatedProfileDto>}
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 500 status code
16
- */
17
- put(body: ProfileDto, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ValidatedProfileDto | undefined>;
18
- /**
19
- * Validate profile
20
- * @param body The request body
21
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
- * @returns {RequestInformation}
23
- */
24
- toPutRequestInformation(body: ProfileDto, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
25
- }
26
- /**
27
- * Uri template for the request builder.
28
- */
29
- export declare const ValidateRequestBuilderUriTemplate = "{+baseurl}/api/settings/profile/validate";
30
- /**
31
- * Metadata for all the requests in the request builder.
32
- */
33
- export declare const ValidateRequestBuilderRequestsMetadata: RequestsMetadata;
@@ -1,34 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ValidateRequestBuilderRequestsMetadata = exports.ValidateRequestBuilderUriTemplate = 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.ValidateRequestBuilderUriTemplate = "{+baseurl}/api/settings/profile/validate";
13
- /**
14
- * Metadata for all the requests in the request builder.
15
- */
16
- exports.ValidateRequestBuilderRequestsMetadata = {
17
- put: {
18
- uriTemplate: exports.ValidateRequestBuilderUriTemplate,
19
- responseBodyContentType: "application/json",
20
- errorMappings: {
21
- 400: index_js_1.createHttpValidationProblemDetailsFromDiscriminatorValue,
22
- 401: index_js_1.createProblemDetailsFromDiscriminatorValue,
23
- 404: index_js_1.createProblemDetailsFromDiscriminatorValue,
24
- 500: index_js_1.createProblemDetailsFromDiscriminatorValue,
25
- },
26
- adapterMethodName: "send",
27
- responseBodyFactory: index_js_1.createValidatedProfileDtoFromDiscriminatorValue,
28
- requestBodyContentType: "application/json",
29
- requestBodySerializer: index_js_1.serializeProfileDto,
30
- requestInformationContentSetMethod: "setContentFromParsable",
31
- },
32
- };
33
- /* tslint:enable */
34
- /* eslint-enable */
@@ -1,85 +0,0 @@
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 */
@@ -1,57 +0,0 @@
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 */
@@ -1,57 +0,0 @@
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 */