@sap-cloud-sdk/odata-v2 4.2.1-20251219014401.0 → 4.2.1-20251221014402.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.
@@ -13,8 +13,8 @@ export declare function mergeDefaultDeSerializersWith<BinaryT = string, BooleanT
13
13
  * Infers the deserialized type for an EDM type, based on custom (de-)serializers.
14
14
  * If the custom (de-)serializers specify a type for the given EDM type, this type is inferred.
15
15
  * Otherwise the given DefaultType is used.
16
- * @typeParam CustomDeSerializerT - Type of the custom (de-)serializers.
17
- * @typeParam EdmT - The EDM type to infer the type for.
16
+ * @template CustomDeSerializerT - Type of the custom (de-)serializers.
17
+ * @template EdmT - The EDM type to infer the type for.
18
18
  */
19
19
  export type CustomOrDefaultType<CustomDeSerializerT, EdmT> = CustomOrDefaultTypeCommon<CustomDeSerializerT, EdmT, DefaultDeSerializers>;
20
20
  /**
@@ -3,8 +3,8 @@ import type { ODataUri, OperationParameters, RequestMethodType } from '@sap-clou
3
3
  import type { DeSerializers } from '../de-serializers';
4
4
  /**
5
5
  * Function request configuration for an entity type.
6
- * @typeParam DeSerializersT - Type of the deserializer use on the request
7
- * @typeParam ParametersT - Type of the parameter to setup a request with
6
+ * @template DeSerializersT - Type of the deserializer use on the request.
7
+ * @template ParametersT - Type of the parameter to setup a request with.
8
8
  */
9
9
  export declare class ODataFunctionRequestConfig<DeSerializersT extends DeSerializers, ParametersT> extends ODataFunctionRequestConfigBase<DeSerializersT, ParametersT> {
10
10
  /**
@@ -4,8 +4,8 @@ exports.ODataFunctionRequestConfig = void 0;
4
4
  const internal_1 = require("@sap-cloud-sdk/odata-common/internal");
5
5
  /**
6
6
  * Function request configuration for an entity type.
7
- * @typeParam DeSerializersT - Type of the deserializer use on the request
8
- * @typeParam ParametersT - Type of the parameter to setup a request with
7
+ * @template DeSerializersT - Type of the deserializer use on the request.
8
+ * @template ParametersT - Type of the parameter to setup a request with.
9
9
  */
10
10
  class ODataFunctionRequestConfig extends internal_1.ODataFunctionRequestConfig {
11
11
  /**
@@ -5,8 +5,8 @@ import type { DeSerializers, DefaultDeSerializers } from '../de-serializers';
5
5
  * Create an OData request to count entities based on the configuration of the request.
6
6
  * A `CountRequestBuilder` allows only for execution of the request.
7
7
  * If you want to apply query parameters like filter, skip or top do it on the {@link GetAllRequestBuilder} the count is created from.
8
- * @typeParam EntityT - Type of the entity to be requested.
9
- * @typeParam DeSerializersT - Type of the (de-)serializers.
8
+ * @template EntityT - Type of the entity to be requested.
9
+ * @template DeSerializersT - Type of the (de-)serializers.
10
10
  */
11
11
  export declare class CountRequestBuilder<EntityT extends Entity, DeSerializersT extends DeSerializers = DefaultDeSerializers> extends CountRequestBuilderCommon<EntityT, DeSerializersT> {
12
12
  }
@@ -6,8 +6,8 @@ const odata_common_1 = require("@sap-cloud-sdk/odata-common");
6
6
  * Create an OData request to count entities based on the configuration of the request.
7
7
  * A `CountRequestBuilder` allows only for execution of the request.
8
8
  * If you want to apply query parameters like filter, skip or top do it on the {@link GetAllRequestBuilder} the count is created from.
9
- * @typeParam EntityT - Type of the entity to be requested.
10
- * @typeParam DeSerializersT - Type of the (de-)serializers.
9
+ * @template EntityT - Type of the entity to be requested.
10
+ * @template DeSerializersT - Type of the (de-)serializers.
11
11
  */
12
12
  class CountRequestBuilder extends odata_common_1.CountRequestBuilder {
13
13
  }
@@ -4,7 +4,7 @@ import type { DefaultDeSerializers, DeSerializers } from '../de-serializers';
4
4
  import type { EntityIdentifiable, EntityApi } from '@sap-cloud-sdk/odata-common/internal';
5
5
  /**
6
6
  * Create OData request to create an entity.
7
- * @typeParam EntityT - Type of the entity to be created.
7
+ * @template EntityT - Type of the entity to be created.
8
8
  */
9
9
  export declare class CreateRequestBuilder<EntityT extends Entity, DeSerializersT extends DeSerializers = DefaultDeSerializers> extends CreateRequestBuilderBase<EntityT, DeSerializersT> implements EntityIdentifiable<EntityT, DeSerializersT> {
10
10
  readonly _entity: EntityT;
@@ -7,7 +7,7 @@ const uri_conversion_1 = require("../uri-conversion");
7
7
  const response_data_accessor_1 = require("./response-data-accessor");
8
8
  /**
9
9
  * Create OData request to create an entity.
10
- * @typeParam EntityT - Type of the entity to be created.
10
+ * @template EntityT - Type of the entity to be created.
11
11
  */
12
12
  class CreateRequestBuilder extends internal_1.CreateRequestBuilderBase {
13
13
  /**
@@ -4,7 +4,7 @@ import type { DefaultDeSerializers, DeSerializers } from '../de-serializers';
4
4
  import type { Entity } from '../entity';
5
5
  /**
6
6
  * Create OData query to delete an entity.
7
- * @typeParam EntityT - Type of the entity to be deleted.
7
+ * @template EntityT - Type of the entity to be deleted.
8
8
  */
9
9
  export declare class DeleteRequestBuilder<EntityT extends Entity, DeSerializersT extends DeSerializers = DefaultDeSerializers> extends DeleteRequestBuilderBase<EntityT, DeSerializersT> {
10
10
  /**
@@ -5,7 +5,7 @@ const internal_1 = require("@sap-cloud-sdk/odata-common/internal");
5
5
  const uri_conversion_1 = require("../uri-conversion");
6
6
  /**
7
7
  * Create OData query to delete an entity.
8
- * @typeParam EntityT - Type of the entity to be deleted.
8
+ * @template EntityT - Type of the entity to be deleted.
9
9
  */
10
10
  class DeleteRequestBuilder extends internal_1.DeleteRequestBuilderBase {
11
11
  /**
@@ -6,7 +6,7 @@ import type { EntityApi, EntityIdentifiable } from '@sap-cloud-sdk/odata-common/
6
6
  * Create an OData request to get a single entity based on its key properties.
7
7
  * The properties available in the response can be restricted by creating a {@link GetAllRequestBuilder.select selection}, where no selection is equal to selecting all fields.
8
8
  * Note that navigational properties are automatically expanded if they included in a select.
9
- * @typeParam EntityT - Type of the entity to be requested.
9
+ * @template EntityT - Type of the entity to be requested.
10
10
  */
11
11
  export declare class GetByKeyRequestBuilder<EntityT extends Entity, DeSerializersT extends DeSerializers = DefaultDeSerializers> extends GetByKeyRequestBuilderBase<EntityT, DeSerializersT> implements EntityIdentifiable<EntityT, DeSerializersT> {
12
12
  /**
@@ -9,7 +9,7 @@ const response_data_accessor_1 = require("./response-data-accessor");
9
9
  * Create an OData request to get a single entity based on its key properties.
10
10
  * The properties available in the response can be restricted by creating a {@link GetAllRequestBuilder.select selection}, where no selection is equal to selecting all fields.
11
11
  * Note that navigational properties are automatically expanded if they included in a select.
12
- * @typeParam EntityT - Type of the entity to be requested.
12
+ * @template EntityT - Type of the entity to be requested.
13
13
  */
14
14
  class GetByKeyRequestBuilder extends internal_1.GetByKeyRequestBuilderBase {
15
15
  /**
@@ -5,8 +5,8 @@ import type { OperationParameters, RequestMethodType } from '@sap-cloud-sdk/odat
5
5
  /**
6
6
  * Create OData request to execute an operation.
7
7
  * For v2, only function, but not action, is supported.
8
- * @typeParam ParametersT - Type of the function import parameters.
9
- * @typeParam ReturnT - Type of the function import return value.
8
+ * @template ParametersT - Type of the function import parameters.
9
+ * @template ReturnT - Type of the function import return value.
10
10
  */
11
11
  export declare class OperationRequestBuilder<DeSerializersT extends DeSerializers, ParametersT, ReturnT> extends OperationRequestBuilderBase<DeSerializersT, ReturnT, ODataFunctionRequestConfig<DeSerializersT, ParametersT>> {
12
12
  readonly responseTransformer: (data: any) => ReturnT;
@@ -7,8 +7,8 @@ const uri_conversion_1 = require("../uri-conversion");
7
7
  /**
8
8
  * Create OData request to execute an operation.
9
9
  * For v2, only function, but not action, is supported.
10
- * @typeParam ParametersT - Type of the function import parameters.
11
- * @typeParam ReturnT - Type of the function import return value.
10
+ * @template ParametersT - Type of the function import parameters.
11
+ * @template ReturnT - Type of the function import return value.
12
12
  */
13
13
  class OperationRequestBuilder extends internal_1.OperationRequestBuilderBase {
14
14
  /**
@@ -6,7 +6,7 @@ import type { Entity } from '../entity';
6
6
  import type { DefaultDeSerializers, DeSerializers } from '../de-serializers';
7
7
  /**
8
8
  * Create OData query to update an entity.
9
- * @typeParam EntityT - Type of the entity to be updated.
9
+ * @template EntityT - Type of the entity to be updated.
10
10
  */
11
11
  export declare class UpdateRequestBuilder<EntityT extends Entity, DeSerializersT extends DeSerializers = DefaultDeSerializers> extends UpdateRequestBuilderBase<EntityT, DeSerializersT> implements EntityIdentifiable<EntityT, DeSerializersT> {
12
12
  readonly _entity: EntityT;
@@ -11,7 +11,7 @@ const logger = (0, util_1.createLogger)({
11
11
  });
12
12
  /**
13
13
  * Create OData query to update an entity.
14
- * @typeParam EntityT - Type of the entity to be updated.
14
+ * @template EntityT - Type of the entity to be updated.
15
15
  */
16
16
  class UpdateRequestBuilder extends internal_1.UpdateRequestBuilderBase {
17
17
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sap-cloud-sdk/odata-v2",
3
- "version": "4.2.1-20251219014401.0",
3
+ "version": "4.2.1-20251221014402.0",
4
4
  "description": "SAP Cloud SDK for JavaScript common functions of OData client generator and OpenAPI clint generator.",
5
5
  "homepage": "https://sap.github.io/cloud-sdk/docs/js/overview",
6
6
  "license": "Apache-2.0",
@@ -40,17 +40,16 @@
40
40
  "readme": "ts-node ../../scripts/replace-common-readme.ts"
41
41
  },
42
42
  "dependencies": {
43
- "@sap-cloud-sdk/connectivity": "^4.2.1-20251219014401.0",
44
- "@sap-cloud-sdk/http-client": "^4.2.1-20251219014401.0",
45
- "@sap-cloud-sdk/odata-common": "^4.2.1-20251219014401.0",
46
- "@sap-cloud-sdk/util": "^4.2.1-20251219014401.0",
43
+ "@sap-cloud-sdk/connectivity": "^4.2.1-20251221014402.0",
44
+ "@sap-cloud-sdk/http-client": "^4.2.1-20251221014402.0",
45
+ "@sap-cloud-sdk/odata-common": "^4.2.1-20251221014402.0",
46
+ "@sap-cloud-sdk/util": "^4.2.1-20251221014402.0",
47
47
  "bignumber.js": "^9.3.1",
48
- "moment": "^2.30.1",
49
- "uuid": "^11.1.0"
48
+ "moment": "^2.30.1"
50
49
  },
51
50
  "devDependencies": {
52
- "@sap-cloud-sdk/test-services-odata-v2": "^4.2.1-20251219014401.0",
53
- "@sap-cloud-sdk/resilience": "^4.2.1-20251219014401.0",
51
+ "@sap-cloud-sdk/test-services-odata-v2": "^4.2.1-20251221014402.0",
52
+ "@sap-cloud-sdk/resilience": "^4.2.1-20251221014402.0",
54
53
  "nock": "^14.0.10",
55
54
  "typescript": "~5.9.3"
56
55
  }