@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
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
// Generated by Microsoft Kiota
|
|
4
4
|
// @ts-ignore
|
|
5
|
-
import {
|
|
5
|
+
import { createGetEntityTypesDtoFromDiscriminatorValue, createHttpValidationProblemDetailsFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue, type GetEntityTypesDto, type HttpValidationProblemDetails, type ProblemDetails } from '../../../models/index.js';
|
|
6
6
|
// @ts-ignore
|
|
7
7
|
import { type BaseRequestBuilder, type Parsable, type ParsableFactory, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
8
8
|
|
|
@@ -13,13 +13,13 @@ export interface EntityTypesRequestBuilder extends BaseRequestBuilder<EntityType
|
|
|
13
13
|
/**
|
|
14
14
|
* Get Entity Types
|
|
15
15
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
|
-
* @returns {Promise<
|
|
17
|
-
* @throws {
|
|
18
|
-
* @throws {
|
|
19
|
-
* @throws {
|
|
20
|
-
* @throws {
|
|
16
|
+
* @returns {Promise<GetEntityTypesDto>}
|
|
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
21
|
*/
|
|
22
|
-
get(requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<
|
|
22
|
+
get(requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<GetEntityTypesDto | undefined>;
|
|
23
23
|
/**
|
|
24
24
|
* Get Entity Types
|
|
25
25
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
@@ -39,13 +39,13 @@ export const EntityTypesRequestBuilderRequestsMetadata: RequestsMetadata = {
|
|
|
39
39
|
uriTemplate: EntityTypesRequestBuilderUriTemplate,
|
|
40
40
|
responseBodyContentType: "application/json",
|
|
41
41
|
errorMappings: {
|
|
42
|
-
400:
|
|
43
|
-
401:
|
|
44
|
-
404:
|
|
45
|
-
500:
|
|
42
|
+
400: createHttpValidationProblemDetailsFromDiscriminatorValue as ParsableFactory<Parsable>,
|
|
43
|
+
401: createProblemDetailsFromDiscriminatorValue as ParsableFactory<Parsable>,
|
|
44
|
+
404: createProblemDetailsFromDiscriminatorValue as ParsableFactory<Parsable>,
|
|
45
|
+
500: createProblemDetailsFromDiscriminatorValue as ParsableFactory<Parsable>,
|
|
46
46
|
},
|
|
47
47
|
adapterMethodName: "send",
|
|
48
|
-
responseBodyFactory:
|
|
48
|
+
responseBodyFactory: createGetEntityTypesDtoFromDiscriminatorValue,
|
|
49
49
|
},
|
|
50
50
|
};
|
|
51
51
|
/* tslint:enable */
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
// Generated by Microsoft Kiota
|
|
4
4
|
// @ts-ignore
|
|
5
|
-
import {
|
|
5
|
+
import { createGetProfileSettingsDtoFromDiscriminatorValue, createHttpValidationProblemDetailsFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue, createProfileDtoFromDiscriminatorValue, serializeProfileDto, type GetProfileSettingsDto, type HttpValidationProblemDetails, type ProblemDetails, type ProfileDto } from '../../../models/index.js';
|
|
6
6
|
// @ts-ignore
|
|
7
7
|
import { type BaseRequestBuilder, type Parsable, type ParsableFactory, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
8
8
|
|
|
@@ -13,24 +13,24 @@ export interface ProfileRequestBuilder extends BaseRequestBuilder<ProfileRequest
|
|
|
13
13
|
/**
|
|
14
14
|
* Get settings profile
|
|
15
15
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
|
-
* @returns {Promise<
|
|
17
|
-
* @throws {
|
|
18
|
-
* @throws {
|
|
19
|
-
* @throws {
|
|
20
|
-
* @throws {
|
|
16
|
+
* @returns {Promise<GetProfileSettingsDto>}
|
|
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
21
|
*/
|
|
22
|
-
get(requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<
|
|
22
|
+
get(requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<GetProfileSettingsDto | undefined>;
|
|
23
23
|
/**
|
|
24
24
|
* Update settings profile
|
|
25
25
|
* @param body The request body
|
|
26
26
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
27
|
-
* @returns {Promise<
|
|
28
|
-
* @throws {
|
|
29
|
-
* @throws {
|
|
30
|
-
* @throws {
|
|
31
|
-
* @throws {
|
|
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
32
|
*/
|
|
33
|
-
put(body:
|
|
33
|
+
put(body: ProfileDto, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<ProfileDto | undefined>;
|
|
34
34
|
/**
|
|
35
35
|
* Get settings profile
|
|
36
36
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
@@ -43,7 +43,7 @@ export interface ProfileRequestBuilder extends BaseRequestBuilder<ProfileRequest
|
|
|
43
43
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
44
44
|
* @returns {RequestInformation}
|
|
45
45
|
*/
|
|
46
|
-
toPutRequestInformation(body:
|
|
46
|
+
toPutRequestInformation(body: ProfileDto, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
|
|
47
47
|
}
|
|
48
48
|
/**
|
|
49
49
|
* Uri template for the request builder.
|
|
@@ -57,27 +57,27 @@ export const ProfileRequestBuilderRequestsMetadata: RequestsMetadata = {
|
|
|
57
57
|
uriTemplate: ProfileRequestBuilderUriTemplate,
|
|
58
58
|
responseBodyContentType: "application/json",
|
|
59
59
|
errorMappings: {
|
|
60
|
-
400:
|
|
61
|
-
401:
|
|
62
|
-
404:
|
|
63
|
-
500:
|
|
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
64
|
},
|
|
65
65
|
adapterMethodName: "send",
|
|
66
|
-
responseBodyFactory:
|
|
66
|
+
responseBodyFactory: createGetProfileSettingsDtoFromDiscriminatorValue,
|
|
67
67
|
},
|
|
68
68
|
put: {
|
|
69
69
|
uriTemplate: ProfileRequestBuilderUriTemplate,
|
|
70
70
|
responseBodyContentType: "application/json",
|
|
71
71
|
errorMappings: {
|
|
72
|
-
400:
|
|
73
|
-
401:
|
|
74
|
-
404:
|
|
75
|
-
500:
|
|
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
76
|
},
|
|
77
77
|
adapterMethodName: "send",
|
|
78
|
-
responseBodyFactory:
|
|
78
|
+
responseBodyFactory: createProfileDtoFromDiscriminatorValue,
|
|
79
79
|
requestBodyContentType: "application/json",
|
|
80
|
-
requestBodySerializer:
|
|
80
|
+
requestBodySerializer: serializeProfileDto,
|
|
81
81
|
requestInformationContentSetMethod: "setContentFromParsable",
|
|
82
82
|
},
|
|
83
83
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
// Generated by Microsoft Kiota
|
|
4
4
|
// @ts-ignore
|
|
5
|
-
import {
|
|
5
|
+
import { createGetSharedDataModelResponseDtoFromDiscriminatorValue, createHttpValidationProblemDetailsFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue, type GetSharedDataModelResponseDto, type HttpValidationProblemDetails, type ProblemDetails } from '../../models/index.js';
|
|
6
6
|
// @ts-ignore
|
|
7
7
|
import { type BaseRequestBuilder, type Parsable, type ParsableFactory, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
8
8
|
|
|
@@ -13,13 +13,13 @@ export interface SharedDataRequestBuilder extends BaseRequestBuilder<SharedDataR
|
|
|
13
13
|
/**
|
|
14
14
|
* Retrieves data
|
|
15
15
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
|
-
* @returns {Promise<
|
|
17
|
-
* @throws {
|
|
18
|
-
* @throws {
|
|
19
|
-
* @throws {
|
|
20
|
-
* @throws {
|
|
16
|
+
* @returns {Promise<GetSharedDataModelResponseDto>}
|
|
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
21
|
*/
|
|
22
|
-
get(requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<
|
|
22
|
+
get(requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<GetSharedDataModelResponseDto | undefined>;
|
|
23
23
|
/**
|
|
24
24
|
* Retrieves data
|
|
25
25
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
@@ -39,13 +39,13 @@ export const SharedDataRequestBuilderRequestsMetadata: RequestsMetadata = {
|
|
|
39
39
|
uriTemplate: SharedDataRequestBuilderUriTemplate,
|
|
40
40
|
responseBodyContentType: "application/json",
|
|
41
41
|
errorMappings: {
|
|
42
|
-
400:
|
|
43
|
-
401:
|
|
44
|
-
404:
|
|
45
|
-
500:
|
|
42
|
+
400: createHttpValidationProblemDetailsFromDiscriminatorValue as ParsableFactory<Parsable>,
|
|
43
|
+
401: createProblemDetailsFromDiscriminatorValue as ParsableFactory<Parsable>,
|
|
44
|
+
404: createProblemDetailsFromDiscriminatorValue as ParsableFactory<Parsable>,
|
|
45
|
+
500: createProblemDetailsFromDiscriminatorValue as ParsableFactory<Parsable>,
|
|
46
46
|
},
|
|
47
47
|
adapterMethodName: "send",
|
|
48
|
-
responseBodyFactory:
|
|
48
|
+
responseBodyFactory: createGetSharedDataModelResponseDtoFromDiscriminatorValue,
|
|
49
49
|
},
|
|
50
50
|
};
|
|
51
51
|
/* tslint:enable */
|
package/src/kiota-lock.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"descriptionHash": "
|
|
2
|
+
"descriptionHash": "E436C40D81330BFB676DC18CA59580532934CE1824E35DCEF1C73CC91030FF0757C78D365B26D6D86AE942758CFF7892930176B5A9A396E8AFF556A3BF03262E",
|
|
3
3
|
"descriptionLocation": "v1.json",
|
|
4
4
|
"lockFileVersion": "1.0.0",
|
|
5
5
|
"kiotaVersion": "1.22.3",
|