angular-odata 0.149.0 → 0.151.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "angular-odata",
3
- "version": "0.149.0",
3
+ "version": "0.151.0",
4
4
  "license": "MIT",
5
5
  "description": "Client side OData typescript library for Angular",
6
6
  "repository": {
@@ -3802,12 +3802,12 @@ declare class ODataModel<T> {
3802
3802
  protected callFunction<P, R>(name: string, params: P | null, responseType: 'none', options?: ODataFunctionOptions<R>): Observable<null>;
3803
3803
  protected callFunction<P, R>(name: string, params: P | null, responseType: 'blob', options?: ODataFunctionOptions<R>): Observable<Blob>;
3804
3804
  protected callFunction<P, R>(name: string, params: P | null, responseType: 'arraybuffer', options?: ODataFunctionOptions<R>): Observable<ArrayBuffer>;
3805
- protected callAction<P, R>(name: string, params: P | null, responseType: 'model', { ...options }: ODataActionOptions<R>): Observable<ODataModel<R>>;
3806
- protected callAction<P, R>(name: string, params: P | null, responseType: 'collection', { ...options }: ODataActionOptions<R>): Observable<ODataCollection<R, ODataModel<R>>>;
3807
- protected callAction<P, R>(name: string, params: P | null, responseType: 'property', { ...options }: ODataActionOptions<R>): Observable<R>;
3808
- protected callAction<P, R>(name: string, params: P | null, responseType: 'none', { ...options }: ODataActionOptions<R>): Observable<null>;
3809
- protected callAction<P, R>(name: string, params: P | null, responseType: 'blob', { ...options }: ODataActionOptions<R>): Observable<Blob>;
3810
- protected callAction<P, R>(name: string, params: P | null, responseType: 'arraybuffer', { ...options }: ODataActionOptions<R>): Observable<ArrayBuffer>;
3805
+ protected callAction<P, R>(name: string, params: P | null, responseType: 'model', options?: ODataActionOptions<R>): Observable<ODataModel<R>>;
3806
+ protected callAction<P, R>(name: string, params: P | null, responseType: 'collection', options?: ODataActionOptions<R>): Observable<ODataCollection<R, ODataModel<R>>>;
3807
+ protected callAction<P, R>(name: string, params: P | null, responseType: 'property', options?: ODataActionOptions<R>): Observable<R>;
3808
+ protected callAction<P, R>(name: string, params: P | null, responseType: 'none', options?: ODataActionOptions<R>): Observable<null>;
3809
+ protected callAction<P, R>(name: string, params: P | null, responseType: 'blob', options?: ODataActionOptions<R>): Observable<Blob>;
3810
+ protected callAction<P, R>(name: string, params: P | null, responseType: 'arraybuffer', options?: ODataActionOptions<R>): Observable<ArrayBuffer>;
3811
3811
  cast<S>(type: string, ModelType?: typeof ODataModel<S>): ODataModel<S> & ModelInterface<S>;
3812
3812
  cast<S, M extends ODataModel<S>>(type: string, ModelType?: typeof ODataModel<S>): M;
3813
3813
  fetchNavigationProperty<S>(name: keyof T | string, responseType: 'model' | 'collection', options?: ODataQueryArgumentsOptions<S>): Observable<ODataModel<S> | ODataCollection<S, ODataModel<S>> | null>;