@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.
@@ -1,4 +1,4 @@
1
- import { type TpSharedDataModelServiceModulesSettingsGetEntityTypesGetEntityTypesDto } from '../../../models/index.js';
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<TpSharedDataModelServiceModulesSettingsGetEntityTypesGetEntityTypesDto>}
11
- * @throws {MicrosoftAspNetCoreHttpHttpValidationProblemDetails} error when the service returns a 400 status code
12
- * @throws {MicrosoftAspNetCoreMvcProblemDetails} error when the service returns a 401 status code
13
- * @throws {MicrosoftAspNetCoreMvcProblemDetails} error when the service returns a 404 status code
14
- * @throws {MicrosoftAspNetCoreMvcProblemDetails} error when the service returns a 500 status code
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<TpSharedDataModelServiceModulesSettingsGetEntityTypesGetEntityTypesDto | undefined>;
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.createMicrosoftAspNetCoreHttpHttpValidationProblemDetailsFromDiscriminatorValue,
22
- 401: index_js_1.createMicrosoftAspNetCoreMvcProblemDetailsFromDiscriminatorValue,
23
- 404: index_js_1.createMicrosoftAspNetCoreMvcProblemDetailsFromDiscriminatorValue,
24
- 500: index_js_1.createMicrosoftAspNetCoreMvcProblemDetailsFromDiscriminatorValue,
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.createTpSharedDataModelServiceModulesSettingsGetEntityTypesGetEntityTypesDtoFromDiscriminatorValue,
27
+ responseBodyFactory: index_js_1.createGetEntityTypesDtoFromDiscriminatorValue,
28
28
  },
29
29
  };
30
30
  /* tslint:enable */
@@ -1,4 +1,4 @@
1
- import { type TpSharedDataModelServiceModulesSettingsGetProfileGetProfileSettingsDto, type TpSharedDataModelServiceModulesSettingsProfileDto } from '../../../models/index.js';
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<TpSharedDataModelServiceModulesSettingsGetProfileGetProfileSettingsDto>}
11
- * @throws {MicrosoftAspNetCoreHttpHttpValidationProblemDetails} error when the service returns a 400 status code
12
- * @throws {MicrosoftAspNetCoreMvcProblemDetails} error when the service returns a 401 status code
13
- * @throws {MicrosoftAspNetCoreMvcProblemDetails} error when the service returns a 404 status code
14
- * @throws {MicrosoftAspNetCoreMvcProblemDetails} error when the service returns a 500 status code
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<TpSharedDataModelServiceModulesSettingsGetProfileGetProfileSettingsDto | undefined>;
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<TpSharedDataModelServiceModulesSettingsProfileDto>}
22
- * @throws {MicrosoftAspNetCoreHttpHttpValidationProblemDetails} error when the service returns a 400 status code
23
- * @throws {MicrosoftAspNetCoreMvcProblemDetails} error when the service returns a 401 status code
24
- * @throws {MicrosoftAspNetCoreMvcProblemDetails} error when the service returns a 404 status code
25
- * @throws {MicrosoftAspNetCoreMvcProblemDetails} error when the service returns a 500 status code
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: TpSharedDataModelServiceModulesSettingsProfileDto, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<TpSharedDataModelServiceModulesSettingsProfileDto | undefined>;
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: TpSharedDataModelServiceModulesSettingsProfileDto, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
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.createMicrosoftAspNetCoreHttpHttpValidationProblemDetailsFromDiscriminatorValue,
22
- 401: index_js_1.createMicrosoftAspNetCoreMvcProblemDetailsFromDiscriminatorValue,
23
- 404: index_js_1.createMicrosoftAspNetCoreMvcProblemDetailsFromDiscriminatorValue,
24
- 500: index_js_1.createMicrosoftAspNetCoreMvcProblemDetailsFromDiscriminatorValue,
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.createTpSharedDataModelServiceModulesSettingsGetProfileGetProfileSettingsDtoFromDiscriminatorValue,
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.createMicrosoftAspNetCoreHttpHttpValidationProblemDetailsFromDiscriminatorValue,
34
- 401: index_js_1.createMicrosoftAspNetCoreMvcProblemDetailsFromDiscriminatorValue,
35
- 404: index_js_1.createMicrosoftAspNetCoreMvcProblemDetailsFromDiscriminatorValue,
36
- 500: index_js_1.createMicrosoftAspNetCoreMvcProblemDetailsFromDiscriminatorValue,
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.createTpSharedDataModelServiceModulesSettingsProfileDtoFromDiscriminatorValue,
39
+ responseBodyFactory: index_js_1.createProfileDtoFromDiscriminatorValue,
40
40
  requestBodyContentType: "application/json",
41
- requestBodySerializer: index_js_1.serializeTpSharedDataModelServiceModulesSettingsProfileDto,
41
+ requestBodySerializer: index_js_1.serializeProfileDto,
42
42
  requestInformationContentSetMethod: "setContentFromParsable",
43
43
  },
44
44
  };
@@ -1,4 +1,4 @@
1
- import { type TpSharedDataModelServiceModulesSharedDataModelGetGetSharedDataModelResponseDto } from '../../models/index.js';
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<TpSharedDataModelServiceModulesSharedDataModelGetGetSharedDataModelResponseDto>}
11
- * @throws {MicrosoftAspNetCoreHttpHttpValidationProblemDetails} error when the service returns a 400 status code
12
- * @throws {MicrosoftAspNetCoreMvcProblemDetails} error when the service returns a 401 status code
13
- * @throws {MicrosoftAspNetCoreMvcProblemDetails} error when the service returns a 404 status code
14
- * @throws {MicrosoftAspNetCoreMvcProblemDetails} error when the service returns a 500 status code
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<TpSharedDataModelServiceModulesSharedDataModelGetGetSharedDataModelResponseDto | undefined>;
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.createMicrosoftAspNetCoreHttpHttpValidationProblemDetailsFromDiscriminatorValue,
22
- 401: index_js_1.createMicrosoftAspNetCoreMvcProblemDetailsFromDiscriminatorValue,
23
- 404: index_js_1.createMicrosoftAspNetCoreMvcProblemDetailsFromDiscriminatorValue,
24
- 500: index_js_1.createMicrosoftAspNetCoreMvcProblemDetailsFromDiscriminatorValue,
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.createTpSharedDataModelServiceModulesSharedDataModelGetGetSharedDataModelResponseDtoFromDiscriminatorValue,
27
+ responseBodyFactory: index_js_1.createGetSharedDataModelResponseDtoFromDiscriminatorValue,
28
28
  },
29
29
  };
30
30
  /* tslint:enable */