@targetprocess/shared-data-model-client 0.2.0-us817123-mappings.7 → 0.2.0-us817123-improvements.5
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/entityTypes/index.d.ts +7 -7
- package/dist/api/settings/entityTypes/index.js +5 -5
- package/dist/api/settings/profile/index.d.ts +14 -14
- package/dist/api/settings/profile/index.js +11 -11
- package/dist/api/sharedData/index.d.ts +7 -7
- package/dist/api/sharedData/index.js +5 -5
- package/dist/models/index.d.ts +290 -213
- package/dist/models/index.js +338 -256
- package/package.json +1 -1
- package/src/api/settings/entityTypes/index.ts +12 -12
- package/src/api/settings/profile/index.ts +25 -25
- package/src/api/sharedData/index.ts +12 -12
- package/src/kiota-lock.json +1 -1
- package/src/models/index.ts +460 -343
- package/src/v1.json +246 -93
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type GetEntityTypesDto } from '../../../models/index.js';
|
|
2
2
|
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
3
3
|
/**
|
|
4
4
|
* Builds and executes requests for operations under /api/settings/entityTypes
|
|
@@ -7,13 +7,13 @@ export interface EntityTypesRequestBuilder extends BaseRequestBuilder<EntityType
|
|
|
7
7
|
/**
|
|
8
8
|
* Get Entity Types
|
|
9
9
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
-
* @returns {Promise<
|
|
11
|
-
* @throws {
|
|
12
|
-
* @throws {
|
|
13
|
-
* @throws {
|
|
14
|
-
* @throws {
|
|
10
|
+
* @returns {Promise<GetEntityTypesDto>}
|
|
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
15
|
*/
|
|
16
|
-
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<
|
|
16
|
+
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<GetEntityTypesDto | undefined>;
|
|
17
17
|
/**
|
|
18
18
|
* Get Entity Types
|
|
19
19
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
@@ -18,13 +18,13 @@ exports.EntityTypesRequestBuilderRequestsMetadata = {
|
|
|
18
18
|
uriTemplate: exports.EntityTypesRequestBuilderUriTemplate,
|
|
19
19
|
responseBodyContentType: "application/json",
|
|
20
20
|
errorMappings: {
|
|
21
|
-
400: index_js_1.
|
|
22
|
-
401: index_js_1.
|
|
23
|
-
404: index_js_1.
|
|
24
|
-
500: index_js_1.
|
|
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
25
|
},
|
|
26
26
|
adapterMethodName: "send",
|
|
27
|
-
responseBodyFactory: index_js_1.
|
|
27
|
+
responseBodyFactory: index_js_1.createGetEntityTypesDtoFromDiscriminatorValue,
|
|
28
28
|
},
|
|
29
29
|
};
|
|
30
30
|
/* tslint:enable */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type GetProfileSettingsDto, type ProfileDto } from '../../../models/index.js';
|
|
2
2
|
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
3
3
|
/**
|
|
4
4
|
* Builds and executes requests for operations under /api/settings/profile
|
|
@@ -7,24 +7,24 @@ export interface ProfileRequestBuilder extends BaseRequestBuilder<ProfileRequest
|
|
|
7
7
|
/**
|
|
8
8
|
* Get settings profile
|
|
9
9
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
-
* @returns {Promise<
|
|
11
|
-
* @throws {
|
|
12
|
-
* @throws {
|
|
13
|
-
* @throws {
|
|
14
|
-
* @throws {
|
|
10
|
+
* @returns {Promise<GetProfileSettingsDto>}
|
|
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
15
|
*/
|
|
16
|
-
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<
|
|
16
|
+
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<GetProfileSettingsDto | undefined>;
|
|
17
17
|
/**
|
|
18
18
|
* Update settings profile
|
|
19
19
|
* @param body The request body
|
|
20
20
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
21
|
-
* @returns {Promise<
|
|
22
|
-
* @throws {
|
|
23
|
-
* @throws {
|
|
24
|
-
* @throws {
|
|
25
|
-
* @throws {
|
|
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
26
|
*/
|
|
27
|
-
put(body:
|
|
27
|
+
put(body: ProfileDto, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ProfileDto | undefined>;
|
|
28
28
|
/**
|
|
29
29
|
* Get settings profile
|
|
30
30
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
@@ -37,7 +37,7 @@ export interface ProfileRequestBuilder extends BaseRequestBuilder<ProfileRequest
|
|
|
37
37
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
38
38
|
* @returns {RequestInformation}
|
|
39
39
|
*/
|
|
40
|
-
toPutRequestInformation(body:
|
|
40
|
+
toPutRequestInformation(body: ProfileDto, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
41
41
|
}
|
|
42
42
|
/**
|
|
43
43
|
* Uri template for the request builder.
|
|
@@ -18,27 +18,27 @@ exports.ProfileRequestBuilderRequestsMetadata = {
|
|
|
18
18
|
uriTemplate: exports.ProfileRequestBuilderUriTemplate,
|
|
19
19
|
responseBodyContentType: "application/json",
|
|
20
20
|
errorMappings: {
|
|
21
|
-
400: index_js_1.
|
|
22
|
-
401: index_js_1.
|
|
23
|
-
404: index_js_1.
|
|
24
|
-
500: index_js_1.
|
|
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
25
|
},
|
|
26
26
|
adapterMethodName: "send",
|
|
27
|
-
responseBodyFactory: index_js_1.
|
|
27
|
+
responseBodyFactory: index_js_1.createGetProfileSettingsDtoFromDiscriminatorValue,
|
|
28
28
|
},
|
|
29
29
|
put: {
|
|
30
30
|
uriTemplate: exports.ProfileRequestBuilderUriTemplate,
|
|
31
31
|
responseBodyContentType: "application/json",
|
|
32
32
|
errorMappings: {
|
|
33
|
-
400: index_js_1.
|
|
34
|
-
401: index_js_1.
|
|
35
|
-
404: index_js_1.
|
|
36
|
-
500: index_js_1.
|
|
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
37
|
},
|
|
38
38
|
adapterMethodName: "send",
|
|
39
|
-
responseBodyFactory: index_js_1.
|
|
39
|
+
responseBodyFactory: index_js_1.createProfileDtoFromDiscriminatorValue,
|
|
40
40
|
requestBodyContentType: "application/json",
|
|
41
|
-
requestBodySerializer: index_js_1.
|
|
41
|
+
requestBodySerializer: index_js_1.serializeProfileDto,
|
|
42
42
|
requestInformationContentSetMethod: "setContentFromParsable",
|
|
43
43
|
},
|
|
44
44
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type GetSharedDataModelResponseDto } from '../../models/index.js';
|
|
2
2
|
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
3
3
|
/**
|
|
4
4
|
* Builds and executes requests for operations under /api/sharedData
|
|
@@ -7,13 +7,13 @@ export interface SharedDataRequestBuilder extends BaseRequestBuilder<SharedDataR
|
|
|
7
7
|
/**
|
|
8
8
|
* Retrieves data
|
|
9
9
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
-
* @returns {Promise<
|
|
11
|
-
* @throws {
|
|
12
|
-
* @throws {
|
|
13
|
-
* @throws {
|
|
14
|
-
* @throws {
|
|
10
|
+
* @returns {Promise<GetSharedDataModelResponseDto>}
|
|
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
15
|
*/
|
|
16
|
-
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<
|
|
16
|
+
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<GetSharedDataModelResponseDto | undefined>;
|
|
17
17
|
/**
|
|
18
18
|
* Retrieves data
|
|
19
19
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
@@ -18,13 +18,13 @@ exports.SharedDataRequestBuilderRequestsMetadata = {
|
|
|
18
18
|
uriTemplate: exports.SharedDataRequestBuilderUriTemplate,
|
|
19
19
|
responseBodyContentType: "application/json",
|
|
20
20
|
errorMappings: {
|
|
21
|
-
400: index_js_1.
|
|
22
|
-
401: index_js_1.
|
|
23
|
-
404: index_js_1.
|
|
24
|
-
500: index_js_1.
|
|
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
25
|
},
|
|
26
26
|
adapterMethodName: "send",
|
|
27
|
-
responseBodyFactory: index_js_1.
|
|
27
|
+
responseBodyFactory: index_js_1.createGetSharedDataModelResponseDtoFromDiscriminatorValue,
|
|
28
28
|
},
|
|
29
29
|
};
|
|
30
30
|
/* tslint:enable */
|