@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@targetprocess/shared-data-model-client",
3
- "version": "0.2.0-us817123-mappings.7",
3
+ "version": "0.2.0-us817123-improvements.5",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  // Generated by Microsoft Kiota
4
4
  // @ts-ignore
5
- import { createMicrosoftAspNetCoreHttpHttpValidationProblemDetailsFromDiscriminatorValue, createMicrosoftAspNetCoreMvcProblemDetailsFromDiscriminatorValue, createTpSharedDataModelServiceModulesSettingsGetEntityTypesGetEntityTypesDtoFromDiscriminatorValue, type MicrosoftAspNetCoreHttpHttpValidationProblemDetails, type MicrosoftAspNetCoreMvcProblemDetails, type TpSharedDataModelServiceModulesSettingsGetEntityTypesGetEntityTypesDto } from '../../../models/index.js';
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<TpSharedDataModelServiceModulesSettingsGetEntityTypesGetEntityTypesDto>}
17
- * @throws {MicrosoftAspNetCoreHttpHttpValidationProblemDetails} error when the service returns a 400 status code
18
- * @throws {MicrosoftAspNetCoreMvcProblemDetails} error when the service returns a 401 status code
19
- * @throws {MicrosoftAspNetCoreMvcProblemDetails} error when the service returns a 404 status code
20
- * @throws {MicrosoftAspNetCoreMvcProblemDetails} error when the service returns a 500 status code
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<TpSharedDataModelServiceModulesSettingsGetEntityTypesGetEntityTypesDto | undefined>;
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: createMicrosoftAspNetCoreHttpHttpValidationProblemDetailsFromDiscriminatorValue as ParsableFactory<Parsable>,
43
- 401: createMicrosoftAspNetCoreMvcProblemDetailsFromDiscriminatorValue as ParsableFactory<Parsable>,
44
- 404: createMicrosoftAspNetCoreMvcProblemDetailsFromDiscriminatorValue as ParsableFactory<Parsable>,
45
- 500: createMicrosoftAspNetCoreMvcProblemDetailsFromDiscriminatorValue as ParsableFactory<Parsable>,
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: createTpSharedDataModelServiceModulesSettingsGetEntityTypesGetEntityTypesDtoFromDiscriminatorValue,
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 { createMicrosoftAspNetCoreHttpHttpValidationProblemDetailsFromDiscriminatorValue, createMicrosoftAspNetCoreMvcProblemDetailsFromDiscriminatorValue, createTpSharedDataModelServiceModulesSettingsGetProfileGetProfileSettingsDtoFromDiscriminatorValue, createTpSharedDataModelServiceModulesSettingsProfileDtoFromDiscriminatorValue, serializeTpSharedDataModelServiceModulesSettingsProfileDto, type MicrosoftAspNetCoreHttpHttpValidationProblemDetails, type MicrosoftAspNetCoreMvcProblemDetails, type TpSharedDataModelServiceModulesSettingsGetProfileGetProfileSettingsDto, type TpSharedDataModelServiceModulesSettingsProfileDto } from '../../../models/index.js';
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<TpSharedDataModelServiceModulesSettingsGetProfileGetProfileSettingsDto>}
17
- * @throws {MicrosoftAspNetCoreHttpHttpValidationProblemDetails} error when the service returns a 400 status code
18
- * @throws {MicrosoftAspNetCoreMvcProblemDetails} error when the service returns a 401 status code
19
- * @throws {MicrosoftAspNetCoreMvcProblemDetails} error when the service returns a 404 status code
20
- * @throws {MicrosoftAspNetCoreMvcProblemDetails} error when the service returns a 500 status code
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<TpSharedDataModelServiceModulesSettingsGetProfileGetProfileSettingsDto | undefined>;
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<TpSharedDataModelServiceModulesSettingsProfileDto>}
28
- * @throws {MicrosoftAspNetCoreHttpHttpValidationProblemDetails} error when the service returns a 400 status code
29
- * @throws {MicrosoftAspNetCoreMvcProblemDetails} error when the service returns a 401 status code
30
- * @throws {MicrosoftAspNetCoreMvcProblemDetails} error when the service returns a 404 status code
31
- * @throws {MicrosoftAspNetCoreMvcProblemDetails} error when the service returns a 500 status code
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: TpSharedDataModelServiceModulesSettingsProfileDto, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<TpSharedDataModelServiceModulesSettingsProfileDto | undefined>;
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: TpSharedDataModelServiceModulesSettingsProfileDto, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
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: createMicrosoftAspNetCoreHttpHttpValidationProblemDetailsFromDiscriminatorValue as ParsableFactory<Parsable>,
61
- 401: createMicrosoftAspNetCoreMvcProblemDetailsFromDiscriminatorValue as ParsableFactory<Parsable>,
62
- 404: createMicrosoftAspNetCoreMvcProblemDetailsFromDiscriminatorValue as ParsableFactory<Parsable>,
63
- 500: createMicrosoftAspNetCoreMvcProblemDetailsFromDiscriminatorValue as ParsableFactory<Parsable>,
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: createTpSharedDataModelServiceModulesSettingsGetProfileGetProfileSettingsDtoFromDiscriminatorValue,
66
+ responseBodyFactory: createGetProfileSettingsDtoFromDiscriminatorValue,
67
67
  },
68
68
  put: {
69
69
  uriTemplate: ProfileRequestBuilderUriTemplate,
70
70
  responseBodyContentType: "application/json",
71
71
  errorMappings: {
72
- 400: createMicrosoftAspNetCoreHttpHttpValidationProblemDetailsFromDiscriminatorValue as ParsableFactory<Parsable>,
73
- 401: createMicrosoftAspNetCoreMvcProblemDetailsFromDiscriminatorValue as ParsableFactory<Parsable>,
74
- 404: createMicrosoftAspNetCoreMvcProblemDetailsFromDiscriminatorValue as ParsableFactory<Parsable>,
75
- 500: createMicrosoftAspNetCoreMvcProblemDetailsFromDiscriminatorValue as ParsableFactory<Parsable>,
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: createTpSharedDataModelServiceModulesSettingsProfileDtoFromDiscriminatorValue,
78
+ responseBodyFactory: createProfileDtoFromDiscriminatorValue,
79
79
  requestBodyContentType: "application/json",
80
- requestBodySerializer: serializeTpSharedDataModelServiceModulesSettingsProfileDto,
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 { createMicrosoftAspNetCoreHttpHttpValidationProblemDetailsFromDiscriminatorValue, createMicrosoftAspNetCoreMvcProblemDetailsFromDiscriminatorValue, createTpSharedDataModelServiceModulesSharedDataModelGetGetSharedDataModelResponseDtoFromDiscriminatorValue, type MicrosoftAspNetCoreHttpHttpValidationProblemDetails, type MicrosoftAspNetCoreMvcProblemDetails, type TpSharedDataModelServiceModulesSharedDataModelGetGetSharedDataModelResponseDto } from '../../models/index.js';
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<TpSharedDataModelServiceModulesSharedDataModelGetGetSharedDataModelResponseDto>}
17
- * @throws {MicrosoftAspNetCoreHttpHttpValidationProblemDetails} error when the service returns a 400 status code
18
- * @throws {MicrosoftAspNetCoreMvcProblemDetails} error when the service returns a 401 status code
19
- * @throws {MicrosoftAspNetCoreMvcProblemDetails} error when the service returns a 404 status code
20
- * @throws {MicrosoftAspNetCoreMvcProblemDetails} error when the service returns a 500 status code
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<TpSharedDataModelServiceModulesSharedDataModelGetGetSharedDataModelResponseDto | undefined>;
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: createMicrosoftAspNetCoreHttpHttpValidationProblemDetailsFromDiscriminatorValue as ParsableFactory<Parsable>,
43
- 401: createMicrosoftAspNetCoreMvcProblemDetailsFromDiscriminatorValue as ParsableFactory<Parsable>,
44
- 404: createMicrosoftAspNetCoreMvcProblemDetailsFromDiscriminatorValue as ParsableFactory<Parsable>,
45
- 500: createMicrosoftAspNetCoreMvcProblemDetailsFromDiscriminatorValue as ParsableFactory<Parsable>,
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: createTpSharedDataModelServiceModulesSharedDataModelGetGetSharedDataModelResponseDtoFromDiscriminatorValue,
48
+ responseBodyFactory: createGetSharedDataModelResponseDtoFromDiscriminatorValue,
49
49
  },
50
50
  };
51
51
  /* tslint:enable */
@@ -1,5 +1,5 @@
1
1
  {
2
- "descriptionHash": "924F4AD8E0BDD4B47D288C2FED78767787DFC50AD4ADCF018E8FC34E4C3EDD5A6A71066C1FFB81B573E7F303124D8BA6E4782B0E798588E6EC7CD1727546BBB1",
2
+ "descriptionHash": "E436C40D81330BFB676DC18CA59580532934CE1824E35DCEF1C73CC91030FF0757C78D365B26D6D86AE942758CFF7892930176B5A9A396E8AFF556A3BF03262E",
3
3
  "descriptionLocation": "v1.json",
4
4
  "lockFileVersion": "1.0.0",
5
5
  "kiotaVersion": "1.22.3",