@sap-cloud-sdk/odata-common 4.2.1-20251218014359.0 → 4.2.1-20251220014302.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.
Files changed (78) hide show
  1. package/dist/batch-response.d.ts +3 -3
  2. package/dist/de-serializers/custom-de-serializers.d.ts +2 -2
  3. package/dist/de-serializers/de-serializers.d.ts +3 -3
  4. package/dist/entity-api.d.ts +3 -3
  5. package/dist/entity-builder.d.ts +1 -1
  6. package/dist/expandable.d.ts +1 -1
  7. package/dist/filter/filter-link.d.ts +2 -2
  8. package/dist/filter/filter-link.js +2 -2
  9. package/dist/filter/filter-link.js.map +1 -1
  10. package/dist/filter/filter-list.d.ts +1 -1
  11. package/dist/filter/filter-list.js +1 -1
  12. package/dist/filter/filter-list.js.map +1 -1
  13. package/dist/filter/filter.d.ts +2 -2
  14. package/dist/filter/filter.js +2 -2
  15. package/dist/filter/filter.js.map +1 -1
  16. package/dist/filter/filterable.d.ts +3 -3
  17. package/dist/header-builder.d.ts +1 -1
  18. package/dist/order/order-link.d.ts +2 -2
  19. package/dist/order/order-link.js +2 -2
  20. package/dist/order/order.d.ts +1 -1
  21. package/dist/order/order.js +1 -1
  22. package/dist/order/order.js.map +1 -1
  23. package/dist/order/orderable.d.ts +5 -5
  24. package/dist/order/orderable.js +2 -2
  25. package/dist/request/odata-count-request-config.d.ts +1 -1
  26. package/dist/request/odata-count-request-config.js +1 -1
  27. package/dist/request/odata-create-request-config.d.ts +1 -1
  28. package/dist/request/odata-create-request-config.js +1 -1
  29. package/dist/request/odata-delete-request-config.d.ts +1 -1
  30. package/dist/request/odata-delete-request-config.js +1 -1
  31. package/dist/request/odata-function-request-config.d.ts +2 -2
  32. package/dist/request/odata-function-request-config.js +2 -2
  33. package/dist/request/odata-get-all-request-config.d.ts +1 -1
  34. package/dist/request/odata-get-all-request-config.js +1 -1
  35. package/dist/request/odata-get-by-key-request-config.d.ts +1 -1
  36. package/dist/request/odata-get-by-key-request-config.js +1 -1
  37. package/dist/request/odata-request.d.ts +1 -1
  38. package/dist/request/odata-request.js +1 -1
  39. package/dist/request/odata-update-request-config.d.ts +1 -1
  40. package/dist/request/odata-update-request-config.js +1 -1
  41. package/dist/request/operation-parameter.d.ts +2 -2
  42. package/dist/request/operation-parameter.js +1 -1
  43. package/dist/request-builder/count-request-builder.d.ts +1 -1
  44. package/dist/request-builder/count-request-builder.js +1 -1
  45. package/dist/request-builder/create-request-builder-base.d.ts +1 -1
  46. package/dist/request-builder/create-request-builder-base.js +1 -1
  47. package/dist/request-builder/delete-request-builder-base.d.ts +1 -1
  48. package/dist/request-builder/delete-request-builder-base.js +1 -1
  49. package/dist/request-builder/get-all-request-builder-base.d.ts +1 -1
  50. package/dist/request-builder/get-all-request-builder-base.js +1 -1
  51. package/dist/request-builder/get-by-key-request-builder-base.d.ts +1 -1
  52. package/dist/request-builder/get-by-key-request-builder-base.js +1 -1
  53. package/dist/request-builder/operation-request-builder-base.d.ts +3 -3
  54. package/dist/request-builder/operation-request-builder-base.js +3 -3
  55. package/dist/request-builder/request-builder.js.map +1 -1
  56. package/dist/request-builder/update-request-builder-base.d.ts +1 -1
  57. package/dist/request-builder/update-request-builder-base.js +1 -1
  58. package/dist/selectable/collection-field.d.ts +6 -6
  59. package/dist/selectable/collection-field.js +5 -5
  60. package/dist/selectable/complex-type-field.d.ts +5 -5
  61. package/dist/selectable/complex-type-field.js +5 -5
  62. package/dist/selectable/edm-type-field.d.ts +9 -9
  63. package/dist/selectable/edm-type-field.js +5 -5
  64. package/dist/selectable/enum-field.d.ts +4 -4
  65. package/dist/selectable/enum-field.js +4 -4
  66. package/dist/selectable/field-builder.d.ts +3 -3
  67. package/dist/selectable/field-builder.js +2 -2
  68. package/dist/selectable/field.d.ts +3 -3
  69. package/dist/selectable/field.js +3 -3
  70. package/dist/selectable/link.d.ts +4 -4
  71. package/dist/selectable/link.js +4 -4
  72. package/dist/selectable/link.js.map +1 -1
  73. package/dist/selectable/one-to-one-link.d.ts +2 -2
  74. package/dist/selectable/one-to-one-link.js +2 -2
  75. package/dist/selectable/orderable-edm-type-field.d.ts +4 -4
  76. package/dist/selectable/orderable-edm-type-field.js +4 -4
  77. package/dist/uri-conversion/get-filter.js +1 -1
  78. package/package.json +5 -5
@@ -13,7 +13,7 @@ interface BatchResponseTypeGuards<DeSerializersT extends DeSerializers> {
13
13
  }
14
14
  /**
15
15
  * Represents the list of responses for a change set in a batch request.
16
- * @typeParam DeSerializersT - Type of the (de-)serializers.
16
+ * @template DeSerializersT - Type of the (de-)serializers.
17
17
  */
18
18
  export interface WriteResponses<DeSerializersT extends DeSerializers> extends BatchResponseTypeGuards<DeSerializersT> {
19
19
  /**
@@ -40,7 +40,7 @@ export interface ErrorResponse extends BatchResponseTypeGuards<any> {
40
40
  }
41
41
  /**
42
42
  * Represents a response to a retrieve request within a batch request.
43
- * @typeParam DeSerializersT - Type of the (de-)serializers.
43
+ * @template DeSerializersT - Type of the (de-)serializers.
44
44
  */
45
45
  export interface ReadResponse<DeSerializersT extends DeSerializers> extends BatchResponseTypeGuards<DeSerializersT> {
46
46
  /**
@@ -67,7 +67,7 @@ export interface ReadResponse<DeSerializersT extends DeSerializers> extends Batc
67
67
  }
68
68
  /**
69
69
  * Represents a single subresponse to a changeset request within a batch request.
70
- * @typeParam DeSerializersT - Type of the (de-)serializers.
70
+ * @template DeSerializersT - Type of the (de-)serializers.
71
71
  */
72
72
  export interface WriteResponse<DeSerializersT extends DeSerializers> {
73
73
  /**
@@ -5,8 +5,8 @@ import type { DefaultDeSerializers } from './default-de-serializers';
5
5
  * Infers the deserialized type for an EDM type, based on custom (de-)serializers.
6
6
  * If the custom (de-)serializers specify a type for the given EDM type, this type is inferred.
7
7
  * Otherwise the given DefaultType is used.
8
- * @typeParam CustomDeSerializerT - Type of the custom (de-)serializers.
9
- * @typeParam EdmT - The EDM type to infer the type for.
8
+ * @template CustomDeSerializerT - Type of the custom (de-)serializers.
9
+ * @template EdmT - The EDM type to infer the type for.
10
10
  */
11
11
  export type CustomOrDefaultType<CustomDeSerializerT, EdmT, DefaultDeSerializersT extends DefaultDeSerializers> = EdmT extends keyof CustomDeSerializerT ? CustomDeSerializerT[EdmT] extends DeSerializer<infer CustomT> | undefined ? CustomT : DeserializedType<DefaultDeSerializersT, EdmT> : DeserializedType<DefaultDeSerializersT, EdmT>;
12
12
  /**
@@ -62,7 +62,7 @@ export interface DeSerializers<BinaryT = any, BooleanT = any, ByteT = any, Decim
62
62
  /**
63
63
  * Represents a set of functions for serialization, deserialization and optionally serialization for URIs.
64
64
  * The return type of the `deserialize` function is the type of the input to the `serialize` and `serializeToUri` functions.
65
- * @typeParam DeserializedT - The return type of `deserialize` and input of `serialize` and `serializeToUri`.
65
+ * @template DeserializedT - The return type of `deserialize` and input of `serialize` and `serializeToUri`.
66
66
  */
67
67
  export interface DeSerializer<DeserializedT> {
68
68
  /**
@@ -88,8 +88,8 @@ export interface DeSerializer<DeserializedT> {
88
88
  }
89
89
  /**
90
90
  * Infers the deserialized type for an EDM type from the given (de-)serializers type.
91
- * @typeParam DeSerializersT - Type of the (de-)serializers.
92
- * @typeParam EdmT - Return type of the deserialize function for the given EDM type.
91
+ * @template DeSerializersT - Type of the (de-)serializers.
92
+ * @template EdmT - Return type of the deserialize function for the given EDM type.
93
93
  */
94
94
  export type DeserializedType<DeSerializersT extends DeSerializers, EdmT> = EdmT extends keyof DeSerializersT ? DeSerializersT[EdmT] extends DeSerializer<infer DeserializedT> ? DeserializedT : any : any;
95
95
  /**
@@ -4,9 +4,9 @@ import type { CustomField } from './selectable';
4
4
  import type { Constructable, EntityBase, EntityBuilderType } from './entity-base';
5
5
  /**
6
6
  * Represents the API of an entity, including its request and entity builders as well as its schema.
7
- * @typeParam EntityT - Type of the entity.
8
- * @typeParam DeSerializersT - Type of the (de-)serializers.
9
- * @typeParam JsonT - Type of the entity without methods.
7
+ * @template EntityT - Type of the entity.
8
+ * @template DeSerializersT - Type of the (de-)serializers.
9
+ * @template JsonT - Type of the entity without methods.
10
10
  */
11
11
  export interface EntityApi<EntityT extends EntityBase, DeSerializersT extends DeSerializers = DefaultDeSerializers> {
12
12
  /**
@@ -17,7 +17,7 @@ export type PureEntityType<T> = Omit<NonNullishType<T>, keyof EntityBase>;
17
17
  * Type to describe possible inputs for `.fromJson`.
18
18
  * This is based on the JSON type of an entity and allows all properties to be optional recursively.
19
19
  * It also allows setting unknown properties, which will be treated as custom fields.
20
- * @typeParam JsonT - JSON type of the entity.
20
+ * @template JsonT - JSON type of the entity.
21
21
  */
22
22
  export type FromJsonType<JsonT> = {
23
23
  [key: string]: any;
@@ -4,6 +4,6 @@ import type { OneToManyLink, OneToOneLink, AllFields } from './selectable';
4
4
  import type { EntityApi } from './entity-api';
5
5
  /**
6
6
  * Represents everything that can be used in an `.expand` statement. Only relevant for OData v4 requests.
7
- * @typeParam EntityT - Type of the entity to be selected on
7
+ * @template EntityT - Type of the entity to be selected on.
8
8
  */
9
9
  export type Expandable<EntityT extends EntityBase, DeSerializersT extends DeSerializers, LinkedEntityApiT extends EntityApi<EntityBase, DeSerializersT> = EntityApi<EntityBase, DeSerializersT>> = ODataVersionOf<EntityT> extends 'v2' ? never : OneToManyLink<EntityT, DeSerializersT, LinkedEntityApiT> | OneToOneLink<EntityT, DeSerializersT, LinkedEntityApiT> | AllFields<EntityT>;
@@ -11,8 +11,8 @@ import type { Filterable } from './filterable';
11
11
  * `Entity.to_NavProperty.filter(LinkedEntity.property.equals(value))` is a `FilterLink`.
12
12
  *
13
13
  * In OData v4 filtering is also possible on one-to-many links. See {@link OneToManyLink}.
14
- * @typeParam EntityT - Type of the entity to be filtered.
15
- * @typeParam LinkedEntityT - Type of the linked entity which is used in the filter.
14
+ * @template EntityT - Type of the entity to be filtered.
15
+ * @template LinkedEntityT - Type of the linked entity which is used in the filter.
16
16
  */
17
17
  export declare class FilterLink<EntityT extends EntityBase, DeSerializersT extends DeSerializers, LinkedEntityApiT extends EntityApi<EntityBase, DeSerializersT>> implements EntityIdentifiable<EntityT, DeSerializersT> {
18
18
  link: Link<EntityT, DeSerializersT, LinkedEntityApiT>;
@@ -10,8 +10,8 @@ exports.isFilterLink = isFilterLink;
10
10
  * `Entity.to_NavProperty.filter(LinkedEntity.property.equals(value))` is a `FilterLink`.
11
11
  *
12
12
  * In OData v4 filtering is also possible on one-to-many links. See {@link OneToManyLink}.
13
- * @typeParam EntityT - Type of the entity to be filtered.
14
- * @typeParam LinkedEntityT - Type of the linked entity which is used in the filter.
13
+ * @template EntityT - Type of the entity to be filtered.
14
+ * @template LinkedEntityT - Type of the linked entity which is used in the filter.
15
15
  */
16
16
  class FilterLink {
17
17
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"filter-link.js","sourceRoot":"","sources":["../../src/filter/filter-link.ts"],"names":[],"mappings":";;;AAmDA,oCAWC;AAxDD;;;;;;;;;;GAUG;AACH,MAAa,UAAU;IAiBrB;;;;OAIG;IACH,YACS,IAAqD,EACrD,OAAmE;QADnE,SAAI,GAAJ,IAAI,CAAiD;QACrD,YAAO,GAAP,OAAO,CAA4D;IACzE,CAAC;CACL;AA1BD,gCA0BC;AAED;;;;;GAKG;AACH,SAAgB,YAAY,CAK1B,UAA+C;IAE/C,OAAO,CACL,OAAO,UAAU,CAAC,MAAM,CAAC,KAAK,WAAW;QACzC,OAAO,UAAU,CAAC,SAAS,CAAC,KAAK,WAAW,CAC7C,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"filter-link.js","sourceRoot":"","sources":["../../src/filter/filter-link.ts"],"names":[],"mappings":";;;AAkDA,oCAWC;AAvDD;;;;;;;;;;GAUG;AACH,MAAa,UAAU;IAgBrB;;;;OAIG;IACH,YACS,IAAqD,EACrD,OAAmE;QADnE,SAAI,GAAJ,IAAI,CAAiD;QACrD,YAAO,GAAP,OAAO,CAA4D;IACzE,CAAC;CACL;AAzBD,gCAyBC;AAED;;;;;GAKG;AACH,SAAgB,YAAY,CAK1B,UAA+C;IAE/C,OAAO,CACL,OAAO,UAAU,CAAC,MAAM,CAAC,KAAK,WAAW;QACzC,OAAO,UAAU,CAAC,SAAS,CAAC,KAAK,WAAW,CAC7C,CAAC;AACJ,CAAC"}
@@ -3,7 +3,7 @@ import type { EntityBase, EntityIdentifiable } from '../entity-base';
3
3
  import type { Filterable } from './filterable';
4
4
  /**
5
5
  * Data structure to combine {@link Filterable}s conjunctively and / or disjunctively. A FilterList matches when all filterables within the `andFilters` match and when at least one filterable within the `orFilters` matches. Should not be used directly.
6
- * @typeParam EntityT -
6
+ * @template EntityT -.
7
7
  */
8
8
  export declare class FilterList<EntityT extends EntityBase, DeSerializersT extends DeSerializers> implements EntityIdentifiable<EntityT, DeSerializersT> {
9
9
  andFilters: Filterable<EntityT, DeSerializersT>[];
@@ -6,7 +6,7 @@ exports.isFilterList = isFilterList;
6
6
  const one_to_many_link_1 = require("../selectable/one-to-many-link");
7
7
  /**
8
8
  * Data structure to combine {@link Filterable}s conjunctively and / or disjunctively. A FilterList matches when all filterables within the `andFilters` match and when at least one filterable within the `orFilters` matches. Should not be used directly.
9
- * @typeParam EntityT -
9
+ * @template EntityT -.
10
10
  */
11
11
  class FilterList {
12
12
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"filter-list.js","sourceRoot":"","sources":["../../src/filter/filter-list.ts"],"names":[],"mappings":";;;AAsCA,oCAeC;AArDD,sDAAsD;AACtD,qEAA+D;AAK/D;;;GAGG;AACH,MAAa,UAAU;IAWrB;;;;OAIG;IACH,YACS,aAAoD,EAAE,EACtD,YAAmD,EAAE;QADrD,eAAU,GAAV,UAAU,CAA4C;QACtD,cAAS,GAAT,SAAS,CAA4C;IAC3D,CAAC;CACL;AApBD,gCAoBC;AAED;;;;;GAKG;AACH,SAAgB,YAAY,CAI1B,UAA+C;IAE/C,OAAO,CACL,OAAO,UAAU,CAAC,OAAO,CAAC,KAAK,WAAW;QAC1C,OAAO,UAAU,CAAC,UAAU,CAAC,KAAK,WAAW;QAC7C,OAAO,UAAU,CAAC,OAAO,CAAC,KAAK,WAAW;QAC1C,OAAO,UAAU,CAAC,cAAc,CAAC,KAAK,WAAW;QACjD,OAAO,UAAU,CAAC,MAAM,CAAC,KAAK,WAAW;QACzC,CAAC,CAAC,gBAAgB,IAAI,UAAU,CAAC;QACjC,CAAC,CAAC,UAAU,YAAY,gCAAa,CAAC,CACvC,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"filter-list.js","sourceRoot":"","sources":["../../src/filter/filter-list.ts"],"names":[],"mappings":";;;AAqCA,oCAeC;AApDD,sDAAsD;AACtD,qEAA+D;AAK/D;;;GAGG;AACH,MAAa,UAAU;IAUrB;;;;OAIG;IACH,YACS,aAAoD,EAAE,EACtD,YAAmD,EAAE;QADrD,eAAU,GAAV,UAAU,CAA4C;QACtD,cAAS,GAAT,SAAS,CAA4C;IAC3D,CAAC;CACL;AAnBD,gCAmBC;AAED;;;;;GAKG;AACH,SAAgB,YAAY,CAI1B,UAA+C;IAE/C,OAAO,CACL,OAAO,UAAU,CAAC,OAAO,CAAC,KAAK,WAAW;QAC1C,OAAO,UAAU,CAAC,UAAU,CAAC,KAAK,WAAW;QAC7C,OAAO,UAAU,CAAC,OAAO,CAAC,KAAK,WAAW;QAC1C,OAAO,UAAU,CAAC,cAAc,CAAC,KAAK,WAAW;QACjD,OAAO,UAAU,CAAC,MAAM,CAAC,KAAK,WAAW;QACzC,CAAC,CAAC,gBAAgB,IAAI,UAAU,CAAC;QACjC,CAAC,CAAC,UAAU,YAAY,gCAAa,CAAC,CACvC,CAAC;AACJ,CAAC"}
@@ -30,8 +30,8 @@ export type FilterOperatorByType<FieldT> = FieldT extends string ? FilterOperato
30
30
  * @example `Product.NAME.equals('cloud-sdk')` creates a filter for the entity `Product` that matches in case the field `NAME` equals 'cloud-sdk'.
31
31
  *
32
32
  * See also: {@link Filterable}.
33
- * @typeParam EntityT - Type of the entity to be filtered on.
34
- * @typeParam FieldT - Type of the field to be filtered by.
33
+ * @template EntityT - Type of the entity to be filtered on.
34
+ * @template FieldT - Type of the field to be filtered by.
35
35
  */
36
36
  export declare class Filter<EntityT extends EntityBase, DeSerializersT extends DeSerializers, FieldT> implements EntityIdentifiable<EntityT, DeSerializersT> {
37
37
  field: string | FilterFunction<EntityT, FieldT>;
@@ -8,8 +8,8 @@ exports.isFilter = isFilter;
8
8
  * @example `Product.NAME.equals('cloud-sdk')` creates a filter for the entity `Product` that matches in case the field `NAME` equals 'cloud-sdk'.
9
9
  *
10
10
  * See also: {@link Filterable}.
11
- * @typeParam EntityT - Type of the entity to be filtered on.
12
- * @typeParam FieldT - Type of the field to be filtered by.
11
+ * @template EntityT - Type of the entity to be filtered on.
12
+ * @template FieldT - Type of the field to be filtered by.
13
13
  */
14
14
  class Filter {
15
15
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"filter.js","sourceRoot":"","sources":["../../src/filter/filter.ts"],"names":[],"mappings":";;;AAqFA,4BAYC;AAvDD;;;;;;;;GAQG;AACH,MAAa,MAAM;IAajB;;;;;;OAMG;IACH,YACS,KAA+C,EAC/C,QAAwB,EACxB,KAAa,EACb,OAAgD;QAHhD,UAAK,GAAL,KAAK,CAA0C;QAC/C,aAAQ,GAAR,QAAQ,CAAgB;QACxB,UAAK,GAAL,KAAK,CAAQ;QACb,YAAO,GAAP,OAAO,CAAyC;IACtD,CAAC;CACL;AA1BD,wBA0BC;AAED;;;;;GAKG;AACH,SAAgB,QAAQ,CAKtB,UAA+C;IAE/C,OAAO,CACL,OAAO,UAAU,CAAC,OAAO,CAAC,KAAK,WAAW;QAC1C,OAAO,UAAU,CAAC,UAAU,CAAC,KAAK,WAAW;QAC7C,OAAO,UAAU,CAAC,OAAO,CAAC,KAAK,WAAW,CAC3C,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"filter.js","sourceRoot":"","sources":["../../src/filter/filter.ts"],"names":[],"mappings":";;;AAoFA,4BAYC;AAtDD;;;;;;;;GAQG;AACH,MAAa,MAAM;IAYjB;;;;;;OAMG;IACH,YACS,KAA+C,EAC/C,QAAwB,EACxB,KAAa,EACb,OAAgD;QAHhD,UAAK,GAAL,KAAK,CAA0C;QAC/C,aAAQ,GAAR,QAAQ,CAAgB;QACxB,UAAK,GAAL,KAAK,CAAQ;QACb,YAAO,GAAP,OAAO,CAAyC;IACtD,CAAC;CACL;AAzBD,wBAyBC;AAED;;;;;GAKG;AACH,SAAgB,QAAQ,CAKtB,UAA+C;IAE/C,OAAO,CACL,OAAO,UAAU,CAAC,OAAO,CAAC,KAAK,WAAW;QAC1C,OAAO,UAAU,CAAC,UAAU,CAAC,KAAK,WAAW;QAC7C,OAAO,UAAU,CAAC,OAAO,CAAC,KAAK,WAAW,CAC3C,CAAC;AACJ,CAAC"}
@@ -10,7 +10,7 @@ import type { FilterLambdaExpression } from './filter-lambda-expression';
10
10
  import type { FilterLink } from './filter-link';
11
11
  /**
12
12
  * A union of all types that can be used for filtering.
13
- * @typeParam EntityT - Type of the entity to be filtered on.
13
+ * @template EntityT - Type of the entity to be filtered on.
14
14
  */
15
15
  export type Filterable<EntityT extends EntityBase, DeSerializersT extends DeSerializers, LinkedEntityApiT extends EntityApi<EntityBase, DeSerializersT> = EntityApi<EntityBase, any>> = Filter<EntityT, DeSerializersT, any> | FilterLink<EntityT, DeSerializersT, LinkedEntityApiT> | FilterList<EntityT, DeSerializersT> | FilterLambdaExpression<EntityT, DeSerializersT> | UnaryFilter<EntityT, DeSerializersT> | BooleanFilterFunction<EntityT> | OneToManyLink<EntityT, DeSerializersT, LinkedEntityApiT>;
16
16
  /**
@@ -28,7 +28,7 @@ export type Filterable<EntityT extends EntityBase, DeSerializersT extends DeSeri
28
28
  * .getAll()
29
29
  * .filter(filterExp1, filterExp2);
30
30
  * ```
31
- * @typeParam EntityT - Type of the entity filter on.
31
+ * @template EntityT - Type of the entity filter on.
32
32
  * @param expressions - Filterables to be combined with logical `and`.
33
33
  * @returns The newly created FilterList.
34
34
  */
@@ -42,7 +42,7 @@ export declare function and<EntityT extends EntityBase, DeSerializersT extends D
42
42
  * .getAll()
43
43
  * .filter(or(filterExp1, filterExp2));
44
44
  * ```
45
- * @typeParam EntityT - Type of the entity filter on.
45
+ * @template EntityT - Type of the entity filter on.
46
46
  * @param expressions - Filterables to be combined with logical `or`.
47
47
  * @returns The newly created FilterList.
48
48
  */
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Create object containing all headers, including custom headers for a given OData request configuration and destination.
3
3
  * Custom headers override duplicate headers.
4
- * @typeParam RequestT - Type of the request the headers are built for.
4
+ * @template RequestT - Type of the request the headers are built for.
5
5
  * @param request - OData request configuration to create headers for.
6
6
  * @returns Key-value pairs where the key is the name of a header property and the value is the respective value.
7
7
  */
@@ -4,8 +4,8 @@ import type { EntityApi, EntityType } from '../entity-api';
4
4
  import type { Orderable } from './orderable';
5
5
  /**
6
6
  * Link to represent an order by on a linked entity.
7
- * @typeParam EntityT - Type of the entity to link from.
8
- * @typeParam LinkedEntityT - Type of the entity to link to.
7
+ * @template EntityT - Type of the entity to link from.
8
+ * @template LinkedEntityT - Type of the entity to link to.
9
9
  */
10
10
  export declare class OrderLink<EntityT extends EntityBase, LinkedEntityApiT extends EntityApi<EntityBase, any>> {
11
11
  link: Link<EntityT, any, LinkedEntityApiT>;
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.OrderLink = void 0;
4
4
  /**
5
5
  * Link to represent an order by on a linked entity.
6
- * @typeParam EntityT - Type of the entity to link from.
7
- * @typeParam LinkedEntityT - Type of the entity to link to.
6
+ * @template EntityT - Type of the entity to link from.
7
+ * @template LinkedEntityT - Type of the entity to link to.
8
8
  */
9
9
  class OrderLink {
10
10
  /**
@@ -5,7 +5,7 @@ import type { EntityBase, EntityIdentifiable, Constructable } from '../entity-ba
5
5
  export type OrderType = 'asc' | 'desc';
6
6
  /**
7
7
  * OData queries take this to determine the order of results.
8
- * @typeParam EntityT -
8
+ * @template EntityT -.
9
9
  */
10
10
  export declare class Order<EntityT extends EntityBase> implements EntityIdentifiable<EntityT, any> {
11
11
  _fieldName: string;
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Order = void 0;
4
4
  /**
5
5
  * OData queries take this to determine the order of results.
6
- * @typeParam EntityT -
6
+ * @template EntityT -.
7
7
  */
8
8
  class Order {
9
9
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"order.js","sourceRoot":"","sources":["../../src/order/order.ts"],"names":[],"mappings":";;;AAWA;;;GAGG;AACH,MAAa,KAAK;IAOhB;;;;OAIG;IACH,YACS,UAAkB,EAClB,YAAuB,KAAK;QAD5B,eAAU,GAAV,UAAU,CAAQ;QAClB,cAAS,GAAT,SAAS,CAAmB;IAClC,CAAC;CACL;AAhBD,sBAgBC"}
1
+ {"version":3,"file":"order.js","sourceRoot":"","sources":["../../src/order/order.ts"],"names":[],"mappings":";;;AAWA;;;GAGG;AACH,MAAa,KAAK;IAQhB;;;;OAIG;IACH,YACS,UAAkB,EAClB,YAAuB,KAAK;QAD5B,eAAU,GAAV,UAAU,CAAQ;QAClB,cAAS,GAAT,SAAS,CAAmB;IAClC,CAAC;CACL;AAjBD,sBAiBC"}
@@ -7,17 +7,17 @@ import type { EntityApi } from '../entity-api';
7
7
  import type { OrderLink } from './order-link';
8
8
  /**
9
9
  * A union of all types that can be used for ordering.
10
- * @typeParam EntityT - Type of the entity to be ordered
10
+ * @template EntityT - Type of the entity to be ordered.
11
11
  */
12
12
  export type Orderable<EntityT extends EntityBase, LinkedEntityApiT extends EntityApi<EntityBase> = EntityApi<EntityBase>> = Order<EntityT> | OrderLink<EntityT, LinkedEntityApiT>;
13
13
  /**
14
14
  * A union of all types that can be used as input for ordering.
15
- * @typeParam EntityT - Type of the entity to be ordered
15
+ * @template EntityT - Type of the entity to be ordered.
16
16
  */
17
17
  export type OrderableInput<EntityT extends EntityBase, DeSerializersT extends DeSerializers, LinkedEntityApiT extends EntityApi<EntityBase, DeSerializersT>> = SimpleTypeFields<EntityT> | Link<EntityT, DeSerializersT, LinkedEntityApiT> | ComplexTypePropertyFields<EntityT>;
18
18
  /**
19
19
  * A union of Orderable and OrderableInput.
20
- * @typeParam EntityT - Type of the entity to be ordered
20
+ * @template EntityT - Type of the entity to be ordered.
21
21
  */
22
22
  export type OrderableAndOrderableInput<EntityT extends EntityBase, DeSerializersT extends DeSerializers, LinkedEntityApiT extends EntityApi<EntityBase, DeSerializersT>, LinkedEntityApiTOptional extends EntityApi<EntityBase> = EntityApi<EntityBase>> = Orderable<EntityT, LinkedEntityApiTOptional> | OrderableInput<EntityT, DeSerializersT, LinkedEntityApiT>;
23
23
  /**
@@ -31,14 +31,14 @@ export type OrderableAndOrderableInput<EntityT extends EntityBase, DeSerializers
31
31
  export declare function isOrderable<EntityT extends EntityBase, DeSerializersT extends DeSerializers>(orderType: Orderable<EntityT> | OrderableInput<EntityT, DeSerializersT, EntityApi<EntityBase, DeSerializersT>>): orderType is Orderable<EntityT>;
32
32
  /**
33
33
  * Create new Order by `orderBy._fieldName` in ascending order.
34
- * @typeParam EntityT - Type of the entity to be ordered
34
+ * @template EntityT - Type of the entity to be ordered.
35
35
  * @param orderBy - Field or link to be ordered by.
36
36
  * @returns New order.
37
37
  */
38
38
  export declare function asc<EntityT extends EntityBase, DeSerializersT extends DeSerializers>(orderBy: OrderableInput<EntityT, DeSerializersT, EntityApi<EntityBase, DeSerializersT>>): Order<EntityT>;
39
39
  /**
40
40
  * Create new Order by `orderBy._fieldName` in descending order.
41
- * @typeParam EntityT - Type of the entity to be ordered
41
+ * @template EntityT - Type of the entity to be ordered.
42
42
  * @param orderBy - Field or link to be ordered by.
43
43
  * @returns New order.
44
44
  */
@@ -20,7 +20,7 @@ function isOrderable(orderType) {
20
20
  }
21
21
  /**
22
22
  * Create new Order by `orderBy._fieldName` in ascending order.
23
- * @typeParam EntityT - Type of the entity to be ordered
23
+ * @template EntityT - Type of the entity to be ordered.
24
24
  * @param orderBy - Field or link to be ordered by.
25
25
  * @returns New order.
26
26
  */
@@ -32,7 +32,7 @@ function asc(orderBy) {
32
32
  }
33
33
  /**
34
34
  * Create new Order by `orderBy._fieldName` in descending order.
35
- * @typeParam EntityT - Type of the entity to be ordered
35
+ * @template EntityT - Type of the entity to be ordered.
36
36
  * @param orderBy - Field or link to be ordered by.
37
37
  * @returns New order.
38
38
  */
@@ -4,7 +4,7 @@ import type { EntityBase } from '../entity-base';
4
4
  import type { GetAllRequestBuilderBase } from '../request-builder';
5
5
  /**
6
6
  * OData count request configuration for an entity type.
7
- * @typeParam EntityT - Type of the entity to setup a request for
7
+ * @template EntityT - Type of the entity to setup a request for.
8
8
  */
9
9
  export declare class ODataCountRequestConfig<EntityT extends EntityBase, DeSerializersT extends DeSerializers> extends ODataRequestConfig {
10
10
  readonly getAllRequest: GetAllRequestBuilderBase<EntityT, DeSerializersT>;
@@ -9,7 +9,7 @@ const logger = (0, util_1.createLogger)({
9
9
  });
10
10
  /**
11
11
  * OData count request configuration for an entity type.
12
- * @typeParam EntityT - Type of the entity to setup a request for
12
+ * @template EntityT - Type of the entity to setup a request for.
13
13
  */
14
14
  class ODataCountRequestConfig extends odata_request_config_1.ODataRequestConfig {
15
15
  /**
@@ -6,7 +6,7 @@ import type { DeSerializers } from '../de-serializers';
6
6
  import type { EntityApi } from '../entity-api';
7
7
  /**
8
8
  * OData create request configuration for an entity type.
9
- * @typeParam EntityT - Type of the entity to setup a request for
9
+ * @template EntityT - Type of the entity to setup a request for.
10
10
  */
11
11
  export declare class ODataCreateRequestConfig<EntityT extends EntityBase, DeSerializersT extends DeSerializers> extends ODataRequestConfig {
12
12
  readonly entityApi: EntityApi<EntityT, DeSerializersT>;
@@ -4,7 +4,7 @@ exports.ODataCreateRequestConfig = void 0;
4
4
  const odata_request_config_1 = require("./odata-request-config");
5
5
  /**
6
6
  * OData create request configuration for an entity type.
7
- * @typeParam EntityT - Type of the entity to setup a request for
7
+ * @template EntityT - Type of the entity to setup a request for.
8
8
  */
9
9
  class ODataCreateRequestConfig extends odata_request_config_1.ODataRequestConfig {
10
10
  /**
@@ -6,7 +6,7 @@ import type { EntityApi } from '../entity-api';
6
6
  import type { WithKeys, WithETag } from './odata-request-traits';
7
7
  /**
8
8
  * OData delete request configuration for an entity type.
9
- * @typeParam EntityT - Type of the entity to setup a request for
9
+ * @template EntityT - Type of the entity to setup a request for.
10
10
  */
11
11
  export declare class ODataDeleteRequestConfig<EntityT extends EntityBase, DeSerializersT extends DeSerializers> extends ODataRequestConfig implements WithKeys, WithETag {
12
12
  readonly entityApi: EntityApi<EntityT, DeSerializersT>;
@@ -4,7 +4,7 @@ exports.ODataDeleteRequestConfig = void 0;
4
4
  const odata_request_config_1 = require("./odata-request-config");
5
5
  /**
6
6
  * OData delete request configuration for an entity type.
7
- * @typeParam EntityT - Type of the entity to setup a request for
7
+ * @template EntityT - Type of the entity to setup a request for.
8
8
  */
9
9
  class ODataDeleteRequestConfig extends odata_request_config_1.ODataRequestConfig {
10
10
  /**
@@ -5,8 +5,8 @@ import type { OperationParameters } from './operation-parameter';
5
5
  import type { RequestMethodType } from './odata-request-config';
6
6
  /**
7
7
  * Function request configuration for an entity type.
8
- * @typeParam DeSerializersT - Type of the deserializer use on the request
9
- * @typeParam ParametersT - Type of the parameter to setup a request with
8
+ * @template DeSerializersT - Type of the deserializer use on the request.
9
+ * @template ParametersT - Type of the parameter to setup a request with.
10
10
  */
11
11
  export declare abstract class ODataFunctionRequestConfig<DeSerializersT extends DeSerializers, ParametersT> extends ODataRequestConfig {
12
12
  readonly functionName: string;
@@ -4,8 +4,8 @@ exports.ODataFunctionRequestConfig = void 0;
4
4
  const odata_request_config_1 = require("./odata-request-config");
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 odata_request_config_1.ODataRequestConfig {
11
11
  /**
@@ -10,7 +10,7 @@ import type { EntityApi } from '../entity-api';
10
10
  import type { WithGetAllRestrictions } from './odata-request-traits';
11
11
  /**
12
12
  * OData getAll request configuration for an entity type.
13
- * @typeParam EntityT - Type of the entity to setup a request for
13
+ * @template EntityT - Type of the entity to setup a request for.
14
14
  */
15
15
  export declare class ODataGetAllRequestConfig<EntityT extends EntityBase, DeSerializersT extends DeSerializers> extends ODataRequestConfig implements WithGetAllRestrictions<EntityT, DeSerializersT> {
16
16
  readonly entityApi: EntityApi<EntityT, DeSerializersT>;
@@ -4,7 +4,7 @@ exports.ODataGetAllRequestConfig = void 0;
4
4
  const odata_request_config_1 = require("./odata-request-config");
5
5
  /**
6
6
  * OData getAll request configuration for an entity type.
7
- * @typeParam EntityT - Type of the entity to setup a request for
7
+ * @template EntityT - Type of the entity to setup a request for.
8
8
  */
9
9
  class ODataGetAllRequestConfig extends odata_request_config_1.ODataRequestConfig {
10
10
  /**
@@ -8,7 +8,7 @@ import type { EntityApi } from '../entity-api';
8
8
  import type { WithKeys, WithSelection } from './odata-request-traits';
9
9
  /**
10
10
  * OData getByKey request configuration for an entity type.
11
- * @typeParam EntityT - Type of the entity to setup a request for
11
+ * @template EntityT - Type of the entity to setup a request for.
12
12
  */
13
13
  export declare class ODataGetByKeyRequestConfig<EntityT extends EntityBase, DeSerializersT extends DeSerializers> extends ODataRequestConfig implements WithKeys, WithSelection<EntityT, DeSerializersT> {
14
14
  readonly entityApi: EntityApi<EntityT, DeSerializersT>;
@@ -4,7 +4,7 @@ exports.ODataGetByKeyRequestConfig = void 0;
4
4
  const odata_request_config_1 = require("./odata-request-config");
5
5
  /**
6
6
  * OData getByKey request configuration for an entity type.
7
- * @typeParam EntityT - Type of the entity to setup a request for
7
+ * @template EntityT - Type of the entity to setup a request for.
8
8
  */
9
9
  class ODataGetByKeyRequestConfig extends odata_request_config_1.ODataRequestConfig {
10
10
  /**
@@ -5,7 +5,7 @@ import type { HttpDestination } from '@sap-cloud-sdk/connectivity/internal';
5
5
  import type { ODataRequestConfig } from './odata-request-config';
6
6
  /**
7
7
  * OData request configuration for an entity type.
8
- * @typeParam EntityT - Type of the entity to setup a request for.
8
+ * @template EntityT - Type of the entity to setup a request for.
9
9
  */
10
10
  export declare class ODataRequest<RequestConfigT extends ODataRequestConfig> {
11
11
  config: RequestConfigT;
@@ -9,7 +9,7 @@ const internal_2 = require("@sap-cloud-sdk/connectivity/internal");
9
9
  const odata_request_traits_1 = require("./odata-request-traits");
10
10
  /**
11
11
  * OData request configuration for an entity type.
12
- * @typeParam EntityT - Type of the entity to setup a request for.
12
+ * @template EntityT - Type of the entity to setup a request for.
13
13
  */
14
14
  class ODataRequest {
15
15
  /**
@@ -6,7 +6,7 @@ import type { EntityApi } from '../entity-api';
6
6
  import type { WithKeys, WithETag } from './odata-request-traits';
7
7
  /**
8
8
  * OData update request configuration for an entity type.
9
- * @typeParam EntityT - Type of the entity to setup a request for
9
+ * @template EntityT - Type of the entity to setup a request for.
10
10
  */
11
11
  export declare class ODataUpdateRequestConfig<EntityT extends EntityBase, DeSerializersT extends DeSerializers> extends ODataRequestConfig implements WithKeys, WithETag {
12
12
  readonly entityApi: EntityApi<EntityT, DeSerializersT>;
@@ -4,7 +4,7 @@ exports.ODataUpdateRequestConfig = void 0;
4
4
  const odata_request_config_1 = require("./odata-request-config");
5
5
  /**
6
6
  * OData update request configuration for an entity type.
7
- * @typeParam EntityT - Type of the entity to setup a request for
7
+ * @template EntityT - Type of the entity to setup a request for.
8
8
  */
9
9
  class ODataUpdateRequestConfig extends odata_request_config_1.ODataRequestConfig {
10
10
  /**
@@ -1,7 +1,7 @@
1
1
  import type { EdmTypeShared } from '../edm-types';
2
2
  /**
3
3
  * Internal representation of operation parameters. It adds metadata to the value.
4
- * @typeParam ValueT - Type of the value.
4
+ * @template ValueT - Type of the value.
5
5
  */
6
6
  export declare class OperationParameter<ValueT> {
7
7
  originalName: string;
@@ -17,7 +17,7 @@ export declare class OperationParameter<ValueT> {
17
17
  }
18
18
  /**
19
19
  * Internal representation of all parameters of an operation as a map.
20
- * @typeParam ParametersT - External representation of all parameters
20
+ * @template ParametersT - External representation of all parameters.
21
21
  */
22
22
  export type OperationParameters<ParametersT> = {
23
23
  [K in keyof ParametersT]: OperationParameter<ParametersT[K]>;
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.OperationParameter = void 0;
4
4
  /**
5
5
  * Internal representation of operation parameters. It adds metadata to the value.
6
- * @typeParam ValueT - Type of the value.
6
+ * @template ValueT - Type of the value.
7
7
  */
8
8
  class OperationParameter {
9
9
  /**
@@ -9,7 +9,7 @@ import type { GetAllRequestBuilderBase } from './get-all-request-builder-base';
9
9
  * Create an OData request to count entities based on the configuration of the request.
10
10
  * A `CountRequestBuilder` allows only for execution of the request.
11
11
  * If you want to apply query parameters like filter, skip or top do it on the {@link GetAllRequestBuilderBase | GetAllRequestBuilder} the count is created from.
12
- * @typeParam EntityT - Type of the entity to be requested
12
+ * @template EntityT - Type of the entity to be requested.
13
13
  */
14
14
  export declare class CountRequestBuilder<EntityT extends EntityBase, DeSerializersT extends DeSerializers> extends MethodRequestBuilder<ODataCountRequestConfig<EntityT, DeSerializersT>> {
15
15
  readonly getAllRequest: GetAllRequestBuilderBase<EntityT, DeSerializersT>;
@@ -7,7 +7,7 @@ const request_builder_base_1 = require("./request-builder-base");
7
7
  * Create an OData request to count entities based on the configuration of the request.
8
8
  * A `CountRequestBuilder` allows only for execution of the request.
9
9
  * If you want to apply query parameters like filter, skip or top do it on the {@link GetAllRequestBuilderBase | GetAllRequestBuilder} the count is created from.
10
- * @typeParam EntityT - Type of the entity to be requested
10
+ * @template EntityT - Type of the entity to be requested.
11
11
  */
12
12
  class CountRequestBuilder extends request_builder_base_1.MethodRequestBuilder {
13
13
  /**
@@ -13,7 +13,7 @@ import type { EntityApi } from '../entity-api';
13
13
  import type { BatchReference, WithBatchReference } from '../request';
14
14
  /**
15
15
  * Abstract create request class holding the parts shared in OData v2 and v4.
16
- * @typeParam EntityT - Type of the entity to be created
16
+ * @template EntityT - Type of the entity to be created.
17
17
  */
18
18
  export declare abstract class CreateRequestBuilderBase<EntityT extends EntityBase, DeSerializersT extends DeSerializers> extends MethodRequestBuilder<ODataCreateRequestConfig<EntityT, DeSerializersT>> implements EntityIdentifiable<EntityT, DeSerializersT>, WithBatchReference {
19
19
  readonly _entityApi: EntityApi<EntityT, DeSerializersT>;
@@ -7,7 +7,7 @@ const request_1 = require("../request");
7
7
  const request_builder_base_1 = require("./request-builder-base");
8
8
  /**
9
9
  * Abstract create request class holding the parts shared in OData v2 and v4.
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 CreateRequestBuilderBase extends request_builder_base_1.MethodRequestBuilder {
13
13
  /**
@@ -10,7 +10,7 @@ import type { EntityApi } from '../entity-api';
10
10
  import type { BatchReference, WithBatchReference } from '../request';
11
11
  /**
12
12
  * Abstract class to delete an entity holding the shared parts between OData v2 and v4.
13
- * @typeParam EntityT - Type of the entity to be deleted
13
+ * @template EntityT - Type of the entity to be deleted.
14
14
  */
15
15
  export declare abstract class DeleteRequestBuilderBase<EntityT extends EntityBase, DeSerializersT extends DeSerializers> extends MethodRequestBuilder<ODataDeleteRequestConfig<EntityT, DeSerializersT>> implements EntityIdentifiable<EntityT, DeSerializersT>, WithBatchReference {
16
16
  readonly _entityApi: EntityApi<EntityT, DeSerializersT>;
@@ -8,7 +8,7 @@ const request_1 = require("../request");
8
8
  const request_builder_base_1 = require("./request-builder-base");
9
9
  /**
10
10
  * Abstract class to delete an entity holding the shared parts between OData v2 and v4.
11
- * @typeParam EntityT - Type of the entity to be deleted
11
+ * @template EntityT - Type of the entity to be deleted.
12
12
  */
13
13
  class DeleteRequestBuilderBase extends request_builder_base_1.MethodRequestBuilder {
14
14
  /**
@@ -11,7 +11,7 @@ import type { DeSerializers } from '../de-serializers';
11
11
  import type { EntityApi } from '../entity-api';
12
12
  /**
13
13
  * Base class for the get all request builders {@link @sap-cloud-sdk/odata-v2!GetAllRequestBuilder | GetAllRequestBuilderV2} and {@link @sap-cloud-sdk/odata-v4!GetAllRequestBuilder | GetAllRequestBuilderV4}.
14
- * @typeParam EntityT - Type of the entity to be requested
14
+ * @template EntityT - Type of the entity to be requested.
15
15
  */
16
16
  export declare abstract class GetAllRequestBuilderBase<EntityT extends EntityBase, DeSerializersT extends DeSerializers> extends GetRequestBuilderBase<EntityT, DeSerializersT, ODataGetAllRequestConfig<EntityT, DeSerializersT>> {
17
17
  readonly entityDeserializer: EntityDeserializer;
@@ -7,7 +7,7 @@ const count_request_builder_1 = require("./count-request-builder");
7
7
  const get_request_builder_base_1 = require("./get-request-builder-base");
8
8
  /**
9
9
  * Base class for the get all request builders {@link @sap-cloud-sdk/odata-v2!GetAllRequestBuilder | GetAllRequestBuilderV2} and {@link @sap-cloud-sdk/odata-v4!GetAllRequestBuilder | GetAllRequestBuilderV4}.
10
- * @typeParam EntityT - Type of the entity to be requested
10
+ * @template EntityT - Type of the entity to be requested.
11
11
  */
12
12
  class GetAllRequestBuilderBase extends get_request_builder_base_1.GetRequestBuilderBase {
13
13
  /**
@@ -11,7 +11,7 @@ import type { EntityApi } from '../entity-api';
11
11
  import type { BatchReference, WithBatchReference } from '../request';
12
12
  /**
13
13
  * Abstract class to create a get by key request containing the shared functionality for OData v2 and v4.
14
- * @typeParam EntityT - Type of the entity to be requested
14
+ * @template EntityT - Type of the entity to be requested.
15
15
  */
16
16
  export declare abstract class GetByKeyRequestBuilderBase<EntityT extends EntityBase, DeSerializersT extends DeSerializers> extends GetRequestBuilderBase<EntityT, DeSerializersT, ODataGetByKeyRequestConfig<EntityT, DeSerializersT>> implements WithBatchReference {
17
17
  readonly entityDeserializer: EntityDeserializer;
@@ -7,7 +7,7 @@ const request_1 = require("../request");
7
7
  const get_request_builder_base_1 = require("./get-request-builder-base");
8
8
  /**
9
9
  * Abstract class to create a get by key request containing the shared functionality for OData v2 and v4.
10
- * @typeParam EntityT - Type of the entity to be requested
10
+ * @template EntityT - Type of the entity to be requested.
11
11
  */
12
12
  class GetByKeyRequestBuilderBase extends get_request_builder_base_1.GetRequestBuilderBase {
13
13
  /**
@@ -5,9 +5,9 @@ import type { ODataRequestConfig, BatchReference, WithBatchReference } from '../
5
5
  import type { DeSerializers } from '../de-serializers';
6
6
  /**
7
7
  * Create OData request to execute an action or function.
8
- * @typeParam DeSerializersT - Type of the (de-)serializers.
9
- * @typeParam ReturnT - Type of the function return value.
10
- * @typeParam RequestConfigT - Type of the request config.
8
+ * @template DeSerializersT - Type of the (de-)serializers.
9
+ * @template ReturnT - Type of the function return value.
10
+ * @template RequestConfigT - Type of the request config.
11
11
  */
12
12
  export declare abstract class OperationRequestBuilderBase<DeSerializersT extends DeSerializers, ReturnT, RequestConfigT extends ODataRequestConfig> extends MethodRequestBuilder<RequestConfigT> implements WithBatchReference {
13
13
  readonly responseTransformer: (data: any) => ReturnT;
@@ -5,9 +5,9 @@ const uuid_1 = require("uuid");
5
5
  const request_builder_base_1 = require("./request-builder-base");
6
6
  /**
7
7
  * Create OData request to execute an action or function.
8
- * @typeParam DeSerializersT - Type of the (de-)serializers.
9
- * @typeParam ReturnT - Type of the function return value.
10
- * @typeParam RequestConfigT - Type of the request config.
8
+ * @template DeSerializersT - Type of the (de-)serializers.
9
+ * @template ReturnT - Type of the function return value.
10
+ * @template RequestConfigT - Type of the request config.
11
11
  */
12
12
  class OperationRequestBuilderBase extends request_builder_base_1.MethodRequestBuilder {
13
13
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"request-builder.js","sourceRoot":"","sources":["../../src/request-builder/request-builder.ts"],"names":[],"mappings":";;;AAIA;;GAEG;AACH,MAAsB,cAAc;IAQlC,YAAmB,SAA6C;QAA7C,cAAS,GAAT,SAAS,CAAoC;IAAG,CAAC;CACrE;AATD,wCASC"}
1
+ {"version":3,"file":"request-builder.js","sourceRoot":"","sources":["../../src/request-builder/request-builder.ts"],"names":[],"mappings":";;;AAIA;;GAEG;AACH,MAAsB,cAAc;IAOlC,YAAmB,SAA6C;QAA7C,cAAS,GAAT,SAAS,CAAoC;IAAG,CAAC;CACrE;AARD,wCAQC"}
@@ -10,7 +10,7 @@ import type { DeSerializers } from '../de-serializers';
10
10
  import type { EntityApi } from '../entity-api';
11
11
  /**
12
12
  * Abstract class to create OData query to update an entity containing methods shared for OData v2 and v4.
13
- * @typeParam EntityT - Type of the entity to be updated
13
+ * @template EntityT - Type of the entity to be updated.
14
14
  */
15
15
  export declare abstract class UpdateRequestBuilderBase<EntityT extends EntityBase, DeSerializersT extends DeSerializers> extends MethodRequestBuilder<ODataUpdateRequestConfig<EntityT, DeSerializersT>> implements EntityIdentifiable<EntityT, DeSerializersT>, WithBatchReference {
16
16
  readonly _entityApi: EntityApi<EntityT, DeSerializersT>;
@@ -9,7 +9,7 @@ const request_1 = require("../request");
9
9
  const request_builder_base_1 = require("./request-builder-base");
10
10
  /**
11
11
  * Abstract class to create OData query to update an entity containing methods shared for OData v2 and v4.
12
- * @typeParam EntityT - Type of the entity to be updated
12
+ * @template EntityT - Type of the entity to be updated.
13
13
  */
14
14
  class UpdateRequestBuilderBase extends request_builder_base_1.MethodRequestBuilder {
15
15
  /**
@@ -7,11 +7,11 @@ import type { ConstructorOrField } from './constructor-or-field';
7
7
  import type { ComplexTypeNamespace } from './complex-type-namespace';
8
8
  /**
9
9
  * Represents a field of an entity or a complex type, that can have a collection as value.
10
- * @typeParam EntityT - Type of the entity the field belongs to.
11
- * @typeParam DeSerializersT - Type of the (de-)serializers.
12
- * @typeParam CollectionFieldT - Type of of elements of the collection. This can either be an EDM type or complex type.
13
- * @typeParam NullableT - Boolean type that represents whether the field is nullable.
14
- * @typeParam SelectableT - Boolean type that represents whether the field is selectable.
10
+ * @template EntityT - Type of the entity the field belongs to.
11
+ * @template DeSerializersT - Type of the (de-)serializers.
12
+ * @template CollectionFieldT - Type of of elements of the collection. This can either be an EDM type or complex type.
13
+ * @template NullableT - Boolean type that represents whether the field is nullable.
14
+ * @template SelectableT - Boolean type that represents whether the field is selectable.
15
15
  */
16
16
  export declare class CollectionField<EntityT extends EntityBase, DeSerializersT extends DeSerializers, CollectionFieldT extends EdmTypeShared<'any'> | Record<string, any> = any, NullableT extends boolean = false, SelectableT extends boolean = false> extends Field<EntityT, NullableT, SelectableT> {
17
17
  readonly _fieldOf: ConstructorOrField<EntityT>;
@@ -34,6 +34,6 @@ export declare class CollectionField<EntityT extends EntityBase, DeSerializersT
34
34
  /**
35
35
  * Convenience type to reflect the type of the instances of a collection field.
36
36
  * The actual type of the elements for complex type collections is {@link ComplexTypeNamespace}.
37
- * @typeParam CollectionFieldT - Type of of elements of the collection. This can either be an EDM type or complex type.
37
+ * @template CollectionFieldT - Type of of elements of the collection. This can either be an EDM type or complex type.
38
38
  */
39
39
  export type CollectionFieldType<CollectionFieldT extends EdmTypeShared<'any'> | Record<string, any>> = CollectionFieldT | ComplexTypeNamespace<CollectionFieldT>;
@@ -5,11 +5,11 @@ const field_1 = require("./field");
5
5
  const complex_type_field_1 = require("./complex-type-field");
6
6
  /**
7
7
  * Represents a field of an entity or a complex type, that can have a collection as value.
8
- * @typeParam EntityT - Type of the entity the field belongs to.
9
- * @typeParam DeSerializersT - Type of the (de-)serializers.
10
- * @typeParam CollectionFieldT - Type of of elements of the collection. This can either be an EDM type or complex type.
11
- * @typeParam NullableT - Boolean type that represents whether the field is nullable.
12
- * @typeParam SelectableT - Boolean type that represents whether the field is selectable.
8
+ * @template EntityT - Type of the entity the field belongs to.
9
+ * @template DeSerializersT - Type of the (de-)serializers.
10
+ * @template CollectionFieldT - Type of of elements of the collection. This can either be an EDM type or complex type.
11
+ * @template NullableT - Boolean type that represents whether the field is nullable.
12
+ * @template SelectableT - Boolean type that represents whether the field is selectable.
13
13
  */
14
14
  class CollectionField extends field_1.Field {
15
15
  /**
@@ -17,11 +17,11 @@ import type { ConstructorOrField } from './constructor-or-field';
17
17
  * Moreover, classes implementing this abstract class will provide property fields, that can be used for filtering and ordering.
18
18
  *
19
19
  * See also: {@link Selectable}.
20
- * @typeParam EntityT - Type of the entity the field belongs to.
21
- * @typeParam DeSerializersT - Type of the (de-)serializers.
22
- * @typeParam ComplexT - Type of complex type represented by this field.
23
- * @typeParam NullableT - Boolean type that represents whether the field is nullable.
24
- * @typeParam SelectableT - Boolean type that represents whether the field is selectable.
20
+ * @template EntityT - Type of the entity the field belongs to.
21
+ * @template DeSerializersT - Type of the (de-)serializers.
22
+ * @template ComplexT - Type of complex type represented by this field.
23
+ * @template NullableT - Boolean type that represents whether the field is nullable.
24
+ * @template SelectableT - Boolean type that represents whether the field is selectable.
25
25
  */
26
26
  export declare abstract class ComplexTypeField<EntityT extends EntityBase, DeSerializersT extends DeSerializers, ComplexT = any, NullableT extends boolean = false, SelectableT extends boolean = false> extends Field<EntityT, NullableT, SelectableT> {
27
27
  readonly fieldOf: ConstructorOrField<EntityT, ComplexT>;
@@ -16,11 +16,11 @@ const field_1 = require("./field");
16
16
  * Moreover, classes implementing this abstract class will provide property fields, that can be used for filtering and ordering.
17
17
  *
18
18
  * See also: {@link Selectable}.
19
- * @typeParam EntityT - Type of the entity the field belongs to.
20
- * @typeParam DeSerializersT - Type of the (de-)serializers.
21
- * @typeParam ComplexT - Type of complex type represented by this field.
22
- * @typeParam NullableT - Boolean type that represents whether the field is nullable.
23
- * @typeParam SelectableT - Boolean type that represents whether the field is selectable.
19
+ * @template EntityT - Type of the entity the field belongs to.
20
+ * @template DeSerializersT - Type of the (de-)serializers.
21
+ * @template ComplexT - Type of complex type represented by this field.
22
+ * @template NullableT - Boolean type that represents whether the field is nullable.
23
+ * @template SelectableT - Boolean type that represents whether the field is selectable.
24
24
  */
25
25
  class ComplexTypeField extends field_1.Field {
26
26
  /**
@@ -7,14 +7,14 @@ import type { ConstructorOrField } from './constructor-or-field';
7
7
  import type { FieldOptions } from './field';
8
8
  /**
9
9
  * Convenience type that maps the given field type to a new type that is either nullable or not, depending on the given `NullableT`.
10
- * @typeParam FieldT - Field type of the field.
11
- * @typeParam NullableT - Boolean type that represents whether the field is nullable.
10
+ * @template FieldT - Field type of the field.
11
+ * @template NullableT - Boolean type that represents whether the field is nullable.
12
12
  */
13
13
  export type NullableFieldType<FieldT, NullableT extends boolean> = NullableT extends true ? FieldT | null : FieldT;
14
14
  /**
15
15
  * Convenience type that maps the given EDM type to a field type. It also considers whether the field is nullable.
16
- * @typeParam EdmT - EDM type of the field. Deprecated: Field type of the field.
17
- * @typeParam NullableT - Boolean type that represents whether the field is nullable.
16
+ * @template EdmT - EDM type of the field. Deprecated: Field type of the field.
17
+ * @template NullableT - Boolean type that represents whether the field is nullable.
18
18
  */
19
19
  export type FieldTypeByEdmType<T extends DeSerializers, EdmT extends EdmTypeShared<'any'>, NullableT extends boolean> = NullableFieldType<DeserializedType<T, EdmT>, NullableT>;
20
20
  /**
@@ -27,11 +27,11 @@ export type FieldTypeByEdmType<T extends DeSerializers, EdmT extends EdmTypeShar
27
27
  * can be supplied as argument to the select function, e.g. `BusinessPartner.FIRST_NAME`.
28
28
  *
29
29
  * See also: {@link Selectable}.
30
- * @typeParam EntityT - Type of the entity the field belongs to.
31
- * @typeParam DeSerializersT - Type of the (de-)serializers.
32
- * @typeParam EdmT - EDM type of the field.
33
- * @typeParam NullableT - Boolean type that represents whether the field is nullable.
34
- * @typeParam SelectableT - Boolean type that represents whether the field is selectable.
30
+ * @template EntityT - Type of the entity the field belongs to.
31
+ * @template DeSerializersT - Type of the (de-)serializers.
32
+ * @template EdmT - EDM type of the field.
33
+ * @template NullableT - Boolean type that represents whether the field is nullable.
34
+ * @template SelectableT - Boolean type that represents whether the field is selectable.
35
35
  */
36
36
  export declare class EdmTypeField<EntityT extends EntityBase, DeSerializersT extends DeSerializers, EdmT extends EdmTypeShared<'any'>, NullableT extends boolean = false, SelectableT extends boolean = false> extends Field<EntityT, NullableT, SelectableT> implements EntityIdentifiable<EntityT, DeSerializersT> {
37
37
  readonly _fieldOf: ConstructorOrField<EntityT>;
@@ -14,11 +14,11 @@ const field_1 = require("./field");
14
14
  * can be supplied as argument to the select function, e.g. `BusinessPartner.FIRST_NAME`.
15
15
  *
16
16
  * See also: {@link Selectable}.
17
- * @typeParam EntityT - Type of the entity the field belongs to.
18
- * @typeParam DeSerializersT - Type of the (de-)serializers.
19
- * @typeParam EdmT - EDM type of the field.
20
- * @typeParam NullableT - Boolean type that represents whether the field is nullable.
21
- * @typeParam SelectableT - Boolean type that represents whether the field is selectable.
17
+ * @template EntityT - Type of the entity the field belongs to.
18
+ * @template DeSerializersT - Type of the (de-)serializers.
19
+ * @template EdmT - EDM type of the field.
20
+ * @template NullableT - Boolean type that represents whether the field is nullable.
21
+ * @template SelectableT - Boolean type that represents whether the field is selectable.
22
22
  */
23
23
  class EdmTypeField extends field_1.Field {
24
24
  /**
@@ -7,10 +7,10 @@ import type { FieldOptions } from './field';
7
7
  import type { ConstructorOrField } from './constructor-or-field';
8
8
  /**
9
9
  * Represents a property with an enum value.
10
- * @typeParam EntityT - Type of the entity the field belongs to.
11
- * @typeParam EnumT - Enum type that contains all valid enum entries for this field.
12
- * @typeParam NullableT - Boolean type that represents whether the field is nullable.
13
- * @typeParam SelectableT - Boolean type that represents whether the field is selectable.
10
+ * @template EntityT - Type of the entity the field belongs to.
11
+ * @template EnumT - Enum type that contains all valid enum entries for this field.
12
+ * @template NullableT - Boolean type that represents whether the field is nullable.
13
+ * @template SelectableT - Boolean type that represents whether the field is selectable.
14
14
  */
15
15
  export declare class EnumField<EntityT extends EntityBase, DeSerializersT extends DeSerializers, EnumT extends string = string, NullableT extends boolean = false, SelectableT extends boolean = false> extends Field<EntityT, NullableT, SelectableT> {
16
16
  readonly _fieldOf: ConstructorOrField<EntityT>;
@@ -6,10 +6,10 @@ const field_1 = require("./field");
6
6
  const complex_type_field_1 = require("./complex-type-field");
7
7
  /**
8
8
  * Represents a property with an enum value.
9
- * @typeParam EntityT - Type of the entity the field belongs to.
10
- * @typeParam EnumT - Enum type that contains all valid enum entries for this field.
11
- * @typeParam NullableT - Boolean type that represents whether the field is nullable.
12
- * @typeParam SelectableT - Boolean type that represents whether the field is selectable.
9
+ * @template EntityT - Type of the entity the field belongs to.
10
+ * @template EnumT - Enum type that contains all valid enum entries for this field.
11
+ * @template NullableT - Boolean type that represents whether the field is nullable.
12
+ * @template SelectableT - Boolean type that represents whether the field is selectable.
13
13
  */
14
14
  class EnumField extends field_1.Field {
15
15
  /**
@@ -15,7 +15,7 @@ import type { FieldOptions } from './field';
15
15
  export type ComplexTypeFieldConstructor<ComplexTypeFieldT extends ComplexTypeField<EntityT, DeSerializersT, ComplexT, NullableT, SelectableT>, EntityT extends EntityBase, DeSerializersT extends DeSerializers, ComplexT, NullableT extends boolean, SelectableT extends boolean> = new (fieldName: string, fieldOf: ConstructorOrField<EntityT>, deSerializers: DeSerializersT, fieldOptions?: FieldOptions<NullableT, SelectableT>) => ComplexTypeFieldT;
16
16
  /**
17
17
  * Convenience type to determine whether a field should be selectable. If the given `FieldOfT` is the type of an entity, it is selectable.
18
- * @typeParam FieldOfT - Type of the entity or complex type field this field belongs to.
18
+ * @template FieldOfT - Type of the entity or complex type field this field belongs to.
19
19
  */
20
20
  export type IsSelectableField<FieldOfT extends ConstructorOrField<any>> = FieldOfT extends Constructable<any> ? true : false;
21
21
  /**
@@ -30,8 +30,8 @@ export type IsOrderableField<EdmT extends EdmTypeShared<'any'>> = EdmT extends O
30
30
  export type EntityTypeFromFieldOf<FieldOfT extends ConstructorOrField<any>> = FieldOfT extends ConstructorOrField<infer EntityT> ? EntityT : never;
31
31
  /**
32
32
  * Field builder to orchestrate the creation of the different kinds of fields.
33
- * @typeParam FieldOfT - Type of the entity or complex type field this field belongs to.
34
- * @typeParam DeSerializersT - Type of the (de-)serializers.
33
+ * @template FieldOfT - Type of the entity or complex type field this field belongs to.
34
+ * @template DeSerializersT - Type of the (de-)serializers.
35
35
  */
36
36
  export declare class FieldBuilder<FieldOfT extends ConstructorOrField<any>, DeSerializersT extends DeSerializers> {
37
37
  fieldOf: FieldOfT;
@@ -10,8 +10,8 @@ const collection_field_1 = require("./collection-field");
10
10
  const enum_field_1 = require("./enum-field");
11
11
  /**
12
12
  * Field builder to orchestrate the creation of the different kinds of fields.
13
- * @typeParam FieldOfT - Type of the entity or complex type field this field belongs to.
14
- * @typeParam DeSerializersT - Type of the (de-)serializers.
13
+ * @template FieldOfT - Type of the entity or complex type field this field belongs to.
14
+ * @template DeSerializersT - Type of the (de-)serializers.
15
15
  */
16
16
  class FieldBuilder {
17
17
  /**
@@ -32,9 +32,9 @@ export declare function getFieldOptions<NullableT extends boolean = false, Selec
32
32
  * Fields are used to represent the domain of values that can be used in select, filter and order by functions.
33
33
  *
34
34
  * See also: {@link Selectable}, {@link EdmTypeField}, {@link ComplexTypeField}.
35
- * @typeParam EntityT - Type of the entity the field belongs to.
36
- * @typeParam NullableT - Boolean type that represents whether the field is nullable.
37
- * @typeParam SelectableT - Boolean type that represents whether the field is selectable.
35
+ * @template EntityT - Type of the entity the field belongs to.
36
+ * @template NullableT - Boolean type that represents whether the field is nullable.
37
+ * @template SelectableT - Boolean type that represents whether the field is selectable.
38
38
  */
39
39
  export declare class Field<EntityT extends EntityBase, NullableT extends boolean = false, SelectableT extends boolean = false> {
40
40
  readonly _fieldName: string;
@@ -25,9 +25,9 @@ const defaultFieldOptions = {
25
25
  * Fields are used to represent the domain of values that can be used in select, filter and order by functions.
26
26
  *
27
27
  * See also: {@link Selectable}, {@link EdmTypeField}, {@link ComplexTypeField}.
28
- * @typeParam EntityT - Type of the entity the field belongs to.
29
- * @typeParam NullableT - Boolean type that represents whether the field is nullable.
30
- * @typeParam SelectableT - Boolean type that represents whether the field is selectable.
28
+ * @template EntityT - Type of the entity the field belongs to.
29
+ * @template NullableT - Boolean type that represents whether the field is nullable.
30
+ * @template SelectableT - Boolean type that represents whether the field is selectable.
31
31
  */
32
32
  class Field {
33
33
  /**
@@ -17,8 +17,8 @@ import type { Selectable } from './selectable';
17
17
  * OData v4 entity: 1:N is a {@link OneToManyLink}, 1:0..1 is a {@link OneToOneLink}.
18
18
  *
19
19
  * See also: {@link Selectable}.
20
- * @typeParam EntityT - Type of the entity to be linked from.
21
- * @typeParam LinkedEntityT - Type of the entity to be linked to.
20
+ * @template EntityT - Type of the entity to be linked from.
21
+ * @template LinkedEntityT - Type of the entity to be linked to.
22
22
  */
23
23
  export declare class Link<EntityT extends EntityBase, DeSerializersT extends DeSerializers, LinkedEntityApiT extends EntityApi<EntityBase, DeSerializersT>> implements EntityIdentifiable<EntityT, DeSerializersT> {
24
24
  readonly _fieldName: string;
@@ -49,8 +49,8 @@ export declare class Link<EntityT extends EntityBase, DeSerializersT extends DeS
49
49
  expand(...expands: Expandable<EntityType<LinkedEntityApiT>, DeSerializersT, EntityApi<EntityBase, DeSerializersT>>[]): this;
50
50
  /**
51
51
  * Create a new link based on a given link.
52
- * @typeParam EntityT - Type of the entity to be linked from.
53
- * @typeParam LinkedEntityT - Type of the entity to be linked to.
52
+ * @template EntityT - Type of the entity to be linked from.
53
+ * @template LinkedEntityT - Type of the entity to be linked to.
54
54
  * @returns Newly created link.
55
55
  */
56
56
  clone(): this;
@@ -15,8 +15,8 @@ exports.Link = void 0;
15
15
  * OData v4 entity: 1:N is a {@link OneToManyLink}, 1:0..1 is a {@link OneToOneLink}.
16
16
  *
17
17
  * See also: {@link Selectable}.
18
- * @typeParam EntityT - Type of the entity to be linked from.
19
- * @typeParam LinkedEntityT - Type of the entity to be linked to.
18
+ * @template EntityT - Type of the entity to be linked from.
19
+ * @template LinkedEntityT - Type of the entity to be linked to.
20
20
  */
21
21
  class Link {
22
22
  /**
@@ -54,8 +54,8 @@ class Link {
54
54
  }
55
55
  /**
56
56
  * Create a new link based on a given link.
57
- * @typeParam EntityT - Type of the entity to be linked from.
58
- * @typeParam LinkedEntityT - Type of the entity to be linked to.
57
+ * @template EntityT - Type of the entity to be linked from.
58
+ * @template LinkedEntityT - Type of the entity to be linked to.
59
59
  * @returns Newly created link.
60
60
  */
61
61
  clone() {
@@ -1 +1 @@
1
- {"version":3,"file":"link.js","sourceRoot":"","sources":["../../src/selectable/link.ts"],"names":[],"mappings":";;;AAMA;;;;;;;;;;;;;;;;GAgBG;AACH,MAAa,IAAI;IAmBf;;;;;OAKG;IACH,YACW,UAAkB,EAClB,UAA8C,EAC9C,gBAAkC;QAFlC,eAAU,GAAV,UAAU,CAAQ;QAClB,eAAU,GAAV,UAAU,CAAoC;QAC9C,qBAAgB,GAAhB,gBAAgB,CAAkB;QAnB7C;;WAEG;QACH,aAAQ,GAA+D,EAAE,CAAC;QAC1E,YAAO,GAID,EAAE,CAAC;IAYN,CAAC;IAEJ;;;;;;OAMG;IACH,MAAM,CACJ,GAAG,OAAmE;QAEtE,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC;QAC1B,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC;QACxB,OAAO,IAAI,CAAC;IACd,CAAC;IAED,MAAM,CACJ,GAAG,OAIA;QAEH,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC;QAC1B,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,OAAO,IAAI,CAAC;IACd,CAAC;IAED;;;;;OAKG;IACH,KAAK;QACH,MAAM,UAAU,GAAG,IAAK,IAAI,CAAC,WAAmB,CAC9C,IAAI,CAAC,UAAU,EACf,IAAI,CAAC,UAAU,EACf,IAAI,CAAC,gBAAgB,CACtB,CAAC;QACF,UAAU,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC;QACpC,UAAU,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;QAClC,OAAO,UAAU,CAAC;IACpB,CAAC;CACF;AA1ED,oBA0EC"}
1
+ {"version":3,"file":"link.js","sourceRoot":"","sources":["../../src/selectable/link.ts"],"names":[],"mappings":";;;AAMA;;;;;;;;;;;;;;;;GAgBG;AACH,MAAa,IAAI;IAkBf;;;;;OAKG;IACH,YACW,UAAkB,EAClB,UAA8C,EAC9C,gBAAkC;QAFlC,eAAU,GAAV,UAAU,CAAQ;QAClB,eAAU,GAAV,UAAU,CAAoC;QAC9C,qBAAgB,GAAhB,gBAAgB,CAAkB;QAnB7C;;WAEG;QACH,aAAQ,GAA+D,EAAE,CAAC;QAC1E,YAAO,GAID,EAAE,CAAC;IAYN,CAAC;IAEJ;;;;;;OAMG;IACH,MAAM,CACJ,GAAG,OAAmE;QAEtE,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC;QAC1B,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC;QACxB,OAAO,IAAI,CAAC;IACd,CAAC;IAED,MAAM,CACJ,GAAG,OAIA;QAEH,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC;QAC1B,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,OAAO,IAAI,CAAC;IACd,CAAC;IAED;;;;;OAKG;IACH,KAAK;QACH,MAAM,UAAU,GAAG,IAAK,IAAI,CAAC,WAAmB,CAC9C,IAAI,CAAC,UAAU,EACf,IAAI,CAAC,UAAU,EACf,IAAI,CAAC,gBAAgB,CACtB,CAAC;QACF,UAAU,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC;QACpC,UAAU,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;QAClC,OAAO,UAAU,CAAC;IACpB,CAAC;CACF;AAzED,oBAyEC"}
@@ -8,8 +8,8 @@ import type { DeSerializers } from '../de-serializers';
8
8
  import type { EntityApi, EntityType } from '../entity-api';
9
9
  /**
10
10
  * Represents a link from one entity to one other linked entity (as opposed to a list of linked entities). In OData v2 a `OneToOneLink` can be used to filter and order a selection on an entity based on filters and orders on a linked entity.
11
- * @typeParam EntityT - Type of the entity to be linked from
12
- * @typeParam LinkedEntityT - Type of the entity to be linked to.
11
+ * @template EntityT - Type of the entity to be linked from.
12
+ * @template LinkedEntityT - Type of the entity to be linked to.
13
13
  */
14
14
  export declare class OneToOneLink<EntityT extends EntityBase, DeSerializersT extends DeSerializers, LinkedEntityApiT extends EntityApi<EntityBase, DeSerializersT>> extends Link<EntityT, DeSerializersT, LinkedEntityApiT> {
15
15
  /**
@@ -6,8 +6,8 @@ const filter_1 = require("../filter");
6
6
  const link_1 = require("./link");
7
7
  /**
8
8
  * Represents a link from one entity to one other linked entity (as opposed to a list of linked entities). In OData v2 a `OneToOneLink` can be used to filter and order a selection on an entity based on filters and orders on a linked entity.
9
- * @typeParam EntityT - Type of the entity to be linked from
10
- * @typeParam LinkedEntityT - Type of the entity to be linked to.
9
+ * @template EntityT - Type of the entity to be linked from.
10
+ * @template LinkedEntityT - Type of the entity to be linked to.
11
11
  */
12
12
  class OneToOneLink extends link_1.Link {
13
13
  constructor() {
@@ -6,10 +6,10 @@ import type { DeSerializers } from '../de-serializers';
6
6
  import type { FieldTypeByEdmType } from './edm-type-field';
7
7
  /**
8
8
  * {@link EdmTypeField}, that represents a property with an EDM type, that can be compared with `greaterThan`, `greaterOrEqual`, `lessThan` and `lessOrEqual`.
9
- * @typeParam EntityT - Type of the entity the field belongs to.
10
- * @typeParam EdmT - EDM type of the field.
11
- * @typeParam NullableT - Boolean type that represents whether the field is nullable.
12
- * @typeParam SelectableT - Boolean type that represents whether the field is selectable.
9
+ * @template EntityT - Type of the entity the field belongs to.
10
+ * @template EdmT - EDM type of the field.
11
+ * @template NullableT - Boolean type that represents whether the field is nullable.
12
+ * @template SelectableT - Boolean type that represents whether the field is selectable.
13
13
  */
14
14
  export declare class OrderableEdmTypeField<EntityT extends EntityBase, DeSerializersT extends DeSerializers, EdmT extends EdmTypeShared<'any'>, NullableT extends boolean = false, SelectableT extends boolean = false> extends EdmTypeField<EntityT, DeSerializersT, EdmT, NullableT, SelectableT> {
15
15
  /**
@@ -5,10 +5,10 @@ const filter_1 = require("../filter");
5
5
  const edm_type_field_1 = require("./edm-type-field");
6
6
  /**
7
7
  * {@link EdmTypeField}, that represents a property with an EDM type, that can be compared with `greaterThan`, `greaterOrEqual`, `lessThan` and `lessOrEqual`.
8
- * @typeParam EntityT - Type of the entity the field belongs to.
9
- * @typeParam EdmT - EDM type of the field.
10
- * @typeParam NullableT - Boolean type that represents whether the field is nullable.
11
- * @typeParam SelectableT - Boolean type that represents whether the field is selectable.
8
+ * @template EntityT - Type of the entity the field belongs to.
9
+ * @template EdmT - EDM type of the field.
10
+ * @template NullableT - Boolean type that represents whether the field is nullable.
11
+ * @template SelectableT - Boolean type that represents whether the field is selectable.
12
12
  */
13
13
  class OrderableEdmTypeField extends edm_type_field_1.EdmTypeField {
14
14
  /**
@@ -18,7 +18,7 @@ const selectable_1 = require("../selectable");
18
18
  function createGetFilter(uriConverter) {
19
19
  /**
20
20
  * Get an object containing the given filter as query parameter, or an empty object if none was given.
21
- * @typeParam EntityT - Type of the entity to filter on.
21
+ * @template EntityT - Type of the entity to filter on.
22
22
  * @param filter - The filter to transform to a query parameter.
23
23
  * @param entityApi - Entity API for building the filter.
24
24
  * @returns An object containing the query parameter with encoding or an empty object.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sap-cloud-sdk/odata-common",
3
- "version": "4.2.1-20251218014359.0",
3
+ "version": "4.2.1-20251220014302.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,9 +40,9 @@
40
40
  "readme": "ts-node ../../scripts/replace-common-readme.ts"
41
41
  },
42
42
  "dependencies": {
43
- "@sap-cloud-sdk/connectivity": "^4.2.1-20251218014359.0",
44
- "@sap-cloud-sdk/http-client": "^4.2.1-20251218014359.0",
45
- "@sap-cloud-sdk/util": "^4.2.1-20251218014359.0",
43
+ "@sap-cloud-sdk/connectivity": "^4.2.1-20251220014302.0",
44
+ "@sap-cloud-sdk/http-client": "^4.2.1-20251220014302.0",
45
+ "@sap-cloud-sdk/util": "^4.2.1-20251220014302.0",
46
46
  "bignumber.js": "^9.3.1",
47
47
  "moment": "^2.30.1",
48
48
  "uuid": "^11.1.0",
@@ -50,6 +50,6 @@
50
50
  },
51
51
  "devDependencies": {
52
52
  "typescript": "~5.9.3",
53
- "@sap-cloud-sdk/test-services-odata-common": "^4.2.1-20251218014359.0"
53
+ "@sap-cloud-sdk/test-services-odata-common": "^4.2.1-20251220014302.0"
54
54
  }
55
55
  }