angular-odata 0.102.6 → 0.110.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 (89) hide show
  1. package/esm2020/lib/api.mjs +47 -7
  2. package/esm2020/lib/client.mjs +6 -31
  3. package/esm2020/lib/helper.mjs +14 -7
  4. package/esm2020/lib/models/collection.mjs +27 -27
  5. package/esm2020/lib/models/model.mjs +14 -8
  6. package/esm2020/lib/models/options.mjs +47 -26
  7. package/esm2020/lib/options.mjs +8 -2
  8. package/esm2020/lib/resources/query/expressions/compute.mjs +3 -9
  9. package/esm2020/lib/resources/query/expressions/expand.mjs +3 -9
  10. package/esm2020/lib/resources/query/expressions/filter.mjs +11 -14
  11. package/esm2020/lib/resources/query/expressions/orderby.mjs +3 -9
  12. package/esm2020/lib/resources/query/expressions/search.mjs +2 -5
  13. package/esm2020/lib/resources/query/expressions/select.mjs +3 -9
  14. package/esm2020/lib/resources/query/expressions/syntax.mjs +12 -7
  15. package/esm2020/lib/resources/query/options.mjs +9 -3
  16. package/esm2020/lib/resources/request.mjs +30 -2
  17. package/esm2020/lib/resources/resource.mjs +13 -59
  18. package/esm2020/lib/resources/responses/annotations.mjs +21 -3
  19. package/esm2020/lib/resources/responses/response.mjs +1 -1
  20. package/esm2020/lib/resources/responses/types.mjs +1 -1
  21. package/esm2020/lib/resources/types/batch.mjs +6 -9
  22. package/esm2020/lib/resources/types/count.mjs +1 -1
  23. package/esm2020/lib/resources/types/entity-set.mjs +32 -10
  24. package/esm2020/lib/resources/types/entity.mjs +1 -1
  25. package/esm2020/lib/resources/types/media.mjs +1 -1
  26. package/esm2020/lib/resources/types/metadata.mjs +3 -5
  27. package/esm2020/lib/resources/types/navigation-property.mjs +24 -6
  28. package/esm2020/lib/resources/types/options.mjs +1 -1
  29. package/esm2020/lib/resources/types/property.mjs +24 -4
  30. package/esm2020/lib/resources/types/reference.mjs +1 -1
  31. package/esm2020/lib/resources/types/singleton.mjs +1 -4
  32. package/esm2020/lib/resources/types/value.mjs +2 -2
  33. package/esm2020/lib/schema/callable.mjs +4 -4
  34. package/esm2020/lib/schema/enum-type.mjs +9 -6
  35. package/esm2020/lib/schema/parsers/callable.mjs +9 -11
  36. package/esm2020/lib/schema/parsers/edm.mjs +18 -10
  37. package/esm2020/lib/schema/parsers/enum-type.mjs +21 -23
  38. package/esm2020/lib/schema/parsers/structured-type.mjs +10 -10
  39. package/esm2020/lib/schema/schema.mjs +5 -5
  40. package/esm2020/lib/schema/structured-type.mjs +6 -4
  41. package/esm2020/lib/services/entity-set.mjs +7 -7
  42. package/esm2020/lib/types.mjs +1 -1
  43. package/esm2020/lib/utils/enums.mjs +1 -1
  44. package/esm2020/lib/utils/http.mjs +1 -1
  45. package/esm2020/lib/utils/objects.mjs +1 -1
  46. package/fesm2015/angular-odata.mjs +418 -350
  47. package/fesm2015/angular-odata.mjs.map +1 -1
  48. package/fesm2020/angular-odata.mjs +408 -308
  49. package/fesm2020/angular-odata.mjs.map +1 -1
  50. package/lib/api.d.ts +10 -3
  51. package/lib/client.d.ts +139 -1425
  52. package/lib/helper.d.ts +4 -1
  53. package/lib/models/collection.d.ts +13 -6
  54. package/lib/models/model.d.ts +7 -9
  55. package/lib/models/options.d.ts +15 -9
  56. package/lib/options.d.ts +8 -2
  57. package/lib/resources/query/expressions/compute.d.ts +1 -3
  58. package/lib/resources/query/expressions/expand.d.ts +1 -3
  59. package/lib/resources/query/expressions/filter.d.ts +2 -4
  60. package/lib/resources/query/expressions/orderby.d.ts +1 -3
  61. package/lib/resources/query/expressions/search.d.ts +0 -1
  62. package/lib/resources/query/expressions/select.d.ts +1 -3
  63. package/lib/resources/query/handlers.d.ts +3 -1
  64. package/lib/resources/request.d.ts +13 -2
  65. package/lib/resources/resource.d.ts +2 -9
  66. package/lib/resources/responses/annotations.d.ts +20 -12
  67. package/lib/resources/responses/types.d.ts +3 -3
  68. package/lib/resources/types/count.d.ts +1 -1
  69. package/lib/resources/types/entity-set.d.ts +23 -6
  70. package/lib/resources/types/entity.d.ts +8 -24
  71. package/lib/resources/types/media.d.ts +7 -15
  72. package/lib/resources/types/metadata.d.ts +1 -1
  73. package/lib/resources/types/navigation-property.d.ts +26 -28
  74. package/lib/resources/types/options.d.ts +4 -2
  75. package/lib/resources/types/property.d.ts +28 -15
  76. package/lib/resources/types/reference.d.ts +3 -12
  77. package/lib/resources/types/singleton.d.ts +8 -27
  78. package/lib/schema/callable.d.ts +3 -1
  79. package/lib/schema/enum-type.d.ts +8 -2
  80. package/lib/schema/parsers/callable.d.ts +6 -6
  81. package/lib/schema/parsers/enum-type.d.ts +5 -10
  82. package/lib/schema/parsers/structured-type.d.ts +7 -5
  83. package/lib/schema/schema.d.ts +3 -2
  84. package/lib/schema/structured-type.d.ts +4 -3
  85. package/lib/services/entity-set.d.ts +15 -6
  86. package/lib/types.d.ts +4 -1
  87. package/lib/utils/http.d.ts +1 -1
  88. package/lib/utils/objects.d.ts +19 -5
  89. package/package.json +1 -1
package/lib/client.d.ts CHANGED
@@ -1,9 +1,9 @@
1
- import { HttpClient, HttpEvent, HttpHeaders, HttpParams, HttpResponse } from '@angular/common/http';
1
+ import { HttpClient, HttpEvent } from '@angular/common/http';
2
2
  import { Injector } from '@angular/core';
3
3
  import { Observable } from 'rxjs';
4
4
  import { ODataApi } from './api';
5
5
  import { ODataCollection, ODataModel } from './models/index';
6
- import { ODataActionResource, ODataBatchResource, ODataEntityResource, ODataEntitySetResource, ODataFunctionResource, ODataMetadataResource, ODataNavigationPropertyResource, ODataResource, ODataResponse, ODataSegment, ODataSingletonResource } from './resources/index';
6
+ import { ODataActionResource, ODataBatchResource, ODataEntityResource, ODataEntitySetResource, ODataFunctionResource, ODataMetadataResource, ODataNavigationPropertyResource, ODataOptions, ODataResource, ODataResponse, ODataSegment, ODataSingletonResource } from './resources/index';
7
7
  import { ODataEntityService } from './services/entity';
8
8
  import { ODataSettings } from './settings';
9
9
  import * as i0 from "@angular/core";
@@ -126,1792 +126,506 @@ export declare class ODataClient {
126
126
  * @returns The unbound function resource.
127
127
  */
128
128
  function<P, R>(path: string, apiNameOrType?: string): ODataFunctionResource<P, R>;
129
- request(method: string, resource: ODataResource<any>, options: {
129
+ request(method: string, resource: ODataResource<any>, options: ODataOptions & {
130
130
  body: any | null;
131
- etag?: string;
132
- apiName?: string;
133
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
134
- headers?: HttpHeaders | {
135
- [header: string]: string | string[];
136
- };
137
131
  observe?: 'body';
138
- params?: HttpParams | {
139
- [param: string]: string | string[];
140
- };
141
- reportProgress?: boolean;
142
132
  responseType: 'arraybuffer';
143
- withCredentials?: boolean;
144
133
  }): Observable<ArrayBuffer>;
145
- request(method: string, resource: ODataResource<any>, options: {
134
+ request(method: string, resource: ODataResource<any>, options: ODataOptions & {
146
135
  body: any | null;
147
- etag?: string;
148
- apiName?: string;
149
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
150
- headers?: HttpHeaders | {
151
- [header: string]: string | string[];
152
- };
153
136
  observe?: 'body';
154
- params?: HttpParams | {
155
- [param: string]: string | string[];
156
- };
157
- reportProgress?: boolean;
158
137
  responseType: 'blob';
159
- withCredentials?: boolean;
160
138
  }): Observable<Blob>;
161
- request(method: string, resource: ODataResource<any>, options: {
139
+ request(method: string, resource: ODataResource<any>, options: ODataOptions & {
162
140
  body: any | null;
163
- etag?: string;
164
- apiName?: string;
165
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
166
- headers?: HttpHeaders | {
167
- [header: string]: string | string[];
168
- };
169
141
  observe?: 'body';
170
- params?: HttpParams | {
171
- [param: string]: string | string[];
172
- };
173
- reportProgress?: boolean;
174
142
  responseType: 'text';
175
- withCredentials?: boolean;
176
143
  }): Observable<string>;
177
- request(method: string, resource: ODataResource<any>, options: {
144
+ request(method: string, resource: ODataResource<any>, options: ODataOptions & {
178
145
  body: any | null;
179
- etag?: string;
180
- apiName?: string;
181
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
182
- headers?: HttpHeaders | {
183
- [header: string]: string | string[];
184
- };
185
- params?: HttpParams | {
186
- [param: string]: string | string[];
187
- };
188
146
  observe: 'events';
189
- reportProgress?: boolean;
190
147
  responseType: 'arraybuffer';
191
- withCredentials?: boolean;
192
148
  }): Observable<HttpEvent<ArrayBuffer>>;
193
- request(method: string, resource: ODataResource<any>, options: {
149
+ request(method: string, resource: ODataResource<any>, options: ODataOptions & {
194
150
  body: any | null;
195
- etag?: string;
196
- apiName?: string;
197
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
198
- headers?: HttpHeaders | {
199
- [header: string]: string | string[];
200
- };
201
151
  observe: 'events';
202
- params?: HttpParams | {
203
- [param: string]: string | string[];
204
- };
205
- reportProgress?: boolean;
206
152
  responseType: 'blob';
207
- withCredentials?: boolean;
208
153
  }): Observable<HttpEvent<Blob>>;
209
- request(method: string, resource: ODataResource<any>, options: {
154
+ request(method: string, resource: ODataResource<any>, options: ODataOptions & {
210
155
  body: any | null;
211
- etag?: string;
212
- apiName?: string;
213
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
214
- headers?: HttpHeaders | {
215
- [header: string]: string | string[];
216
- };
217
156
  observe: 'events';
218
- params?: HttpParams | {
219
- [param: string]: string | string[];
220
- };
221
- reportProgress?: boolean;
222
157
  responseType: 'text';
223
- withCredentials?: boolean;
224
158
  }): Observable<HttpEvent<string>>;
225
- request(method: string, resource: ODataResource<any>, options: {
159
+ request(method: string, resource: ODataResource<any>, options: ODataOptions & {
226
160
  body: any | null;
227
- etag?: string;
228
- apiName?: string;
229
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
230
- headers?: HttpHeaders | {
231
- [header: string]: string | string[];
232
- };
233
- reportProgress?: boolean;
234
161
  observe: 'events';
235
- params?: HttpParams | {
236
- [param: string]: string | string[];
237
- };
238
162
  responseType?: 'json';
239
- withCredentials?: boolean;
240
163
  }): Observable<HttpEvent<any>>;
241
- request<R>(method: string, resource: ODataResource<any>, options: {
164
+ request<R>(method: string, resource: ODataResource<any>, options: ODataOptions & {
242
165
  body: any | null;
243
- etag?: string;
244
- apiName?: string;
245
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
246
- headers?: HttpHeaders | {
247
- [header: string]: string | string[];
248
- };
249
- reportProgress?: boolean;
250
166
  observe: 'events';
251
- params?: HttpParams | {
252
- [param: string]: string | string[];
253
- };
254
167
  responseType?: 'json';
255
- withCredentials?: boolean;
256
168
  }): Observable<HttpEvent<R>>;
257
- request(method: string, resource: ODataResource<any>, options: {
169
+ request(method: string, resource: ODataResource<any>, options: ODataOptions & {
258
170
  body: any | null;
259
- etag?: string;
260
- apiName?: string;
261
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
262
- headers?: HttpHeaders | {
263
- [header: string]: string | string[];
264
- };
265
171
  observe: 'response';
266
- params?: HttpParams | {
267
- [param: string]: string | string[];
268
- };
269
- reportProgress?: boolean;
270
172
  responseType: 'arraybuffer';
271
- withCredentials?: boolean;
272
- }): Observable<HttpResponse<ArrayBuffer>>;
273
- request(method: string, resource: ODataResource<any>, options: {
173
+ }): Observable<ODataResponse<ArrayBuffer>>;
174
+ request(method: string, resource: ODataResource<any>, options: ODataOptions & {
274
175
  body: any | null;
275
- etag?: string;
276
- apiName?: string;
277
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
278
- headers?: HttpHeaders | {
279
- [header: string]: string | string[];
280
- };
281
176
  observe: 'response';
282
- params?: HttpParams | {
283
- [param: string]: string | string[];
284
- };
285
- reportProgress?: boolean;
286
177
  responseType: 'blob';
287
- withCredentials?: boolean;
288
- }): Observable<HttpResponse<Blob>>;
289
- request(method: string, resource: ODataResource<any>, options: {
178
+ }): Observable<ODataResponse<Blob>>;
179
+ request(method: string, resource: ODataResource<any>, options: ODataOptions & {
290
180
  body: any | null;
291
- etag?: string;
292
- apiName?: string;
293
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
294
- headers?: HttpHeaders | {
295
- [header: string]: string | string[];
296
- };
297
181
  observe: 'response';
298
- params?: HttpParams | {
299
- [param: string]: string | string[];
300
- };
301
- reportProgress?: boolean;
302
182
  responseType: 'text';
303
- withCredentials?: boolean;
304
183
  }): Observable<ODataResponse<string>>;
305
- request(method: string, resource: ODataResource<any>, options: {
184
+ request(method: string, resource: ODataResource<any>, options: ODataOptions & {
306
185
  body: any | null;
307
- etag?: string;
308
- apiName?: string;
309
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
310
- headers?: HttpHeaders | {
311
- [header: string]: string | string[];
312
- };
313
- reportProgress?: boolean;
314
186
  observe: 'response';
315
- params?: HttpParams | {
316
- [param: string]: string | string[];
317
- };
318
187
  responseType?: 'json';
319
- withCredentials?: boolean;
320
188
  }): Observable<ODataResponse<Object>>;
321
- request<R>(method: string, resource: ODataResource<any>, options: {
189
+ request<R>(method: string, resource: ODataResource<any>, options: ODataOptions & {
322
190
  body: any | null;
323
- etag?: string;
324
- apiName?: string;
325
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
326
- headers?: HttpHeaders | {
327
- [header: string]: string | string[];
328
- };
329
- reportProgress?: boolean;
330
191
  observe: 'response';
331
- params?: HttpParams | {
332
- [param: string]: string | string[];
333
- };
334
192
  responseType?: 'json';
335
- withCredentials?: boolean;
336
193
  }): Observable<ODataResponse<R>>;
337
- request(method: string, resource: ODataResource<any>, options: {
194
+ request(method: string, resource: ODataResource<any>, options: ODataOptions & {
338
195
  body: any | null;
339
- etag?: string;
340
- apiName?: string;
341
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
342
- headers?: HttpHeaders | {
343
- [header: string]: string | string[];
344
- };
345
196
  observe?: 'body';
346
- params?: HttpParams | {
347
- [param: string]: string | string[];
348
- };
349
197
  responseType?: 'json';
350
- reportProgress?: boolean;
351
- withCredentials?: boolean;
352
198
  }): Observable<Object>;
353
- request<R>(method: string, resource: ODataResource<any>, options: {
199
+ request<R>(method: string, resource: ODataResource<any>, options: ODataOptions & {
354
200
  body: any | null;
355
- etag?: string;
356
- apiName?: string;
357
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
358
- headers?: HttpHeaders | {
359
- [header: string]: string | string[];
360
- };
361
201
  observe?: 'body';
362
- params?: HttpParams | {
363
- [param: string]: string | string[];
364
- };
365
202
  responseType?: 'json';
366
- reportProgress?: boolean;
367
- withCredentials?: boolean;
368
203
  }): Observable<R>;
369
- request(method: string, resource: ODataResource<any>, options?: {
370
- body: any | null;
371
- etag?: string;
372
- apiName?: string;
373
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
374
- headers?: HttpHeaders | {
375
- [header: string]: string | string[];
376
- };
377
- params?: HttpParams | {
378
- [param: string]: string | string[];
379
- };
380
- observe?: 'body' | 'events' | 'response';
381
- reportProgress?: boolean;
382
- responseType?: 'arraybuffer' | 'blob' | 'json' | 'text';
383
- withCredentials?: boolean;
384
- }): Observable<any>;
385
- delete(resource: ODataResource<any>, options?: {
386
- etag?: string;
387
- apiName?: string;
388
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
389
- headers?: HttpHeaders | {
390
- [header: string]: string | string[];
391
- };
204
+ delete(resource: ODataResource<any>, options: ODataOptions & {
392
205
  observe?: 'body';
393
- params?: HttpParams | {
394
- [param: string]: string | string[];
395
- };
396
- reportProgress?: boolean;
397
206
  responseType: 'arraybuffer';
398
- withCredentials?: boolean;
399
207
  }): Observable<ArrayBuffer>;
400
- delete(resource: ODataResource<any>, options?: {
401
- etag?: string;
402
- apiName?: string;
403
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
404
- headers?: HttpHeaders | {
405
- [header: string]: string | string[];
406
- };
208
+ delete(resource: ODataResource<any>, options: ODataOptions & {
407
209
  observe?: 'body';
408
- params?: HttpParams | {
409
- [param: string]: string | string[];
410
- };
411
- reportProgress?: boolean;
412
210
  responseType: 'blob';
413
- withCredentials?: boolean;
414
211
  }): Observable<Blob>;
415
- delete(resource: ODataResource<any>, options?: {
416
- etag?: string;
417
- apiName?: string;
418
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
419
- headers?: HttpHeaders | {
420
- [header: string]: string | string[];
421
- };
212
+ delete(resource: ODataResource<any>, options: ODataOptions & {
422
213
  observe?: 'body';
423
- params?: HttpParams | {
424
- [param: string]: string | string[];
425
- };
426
- reportProgress?: boolean;
427
214
  responseType: 'text';
428
- withCredentials?: boolean;
429
215
  }): Observable<string>;
430
- delete(resource: ODataResource<any>, options?: {
431
- etag?: string;
432
- apiName?: string;
433
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
434
- headers?: HttpHeaders | {
435
- [header: string]: string | string[];
436
- };
216
+ delete(resource: ODataResource<any>, options: ODataOptions & {
437
217
  observe: 'events';
438
- params?: HttpParams | {
439
- [param: string]: string | string[];
440
- };
441
- reportProgress?: boolean;
442
218
  responseType: 'arraybuffer';
443
- withCredentials?: boolean;
444
219
  }): Observable<HttpEvent<ArrayBuffer>>;
445
- delete(resource: ODataResource<any>, options?: {
446
- etag?: string;
447
- apiName?: string;
448
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
449
- headers?: HttpHeaders | {
450
- [header: string]: string | string[];
451
- };
220
+ delete(resource: ODataResource<any>, options: ODataOptions & {
452
221
  observe: 'events';
453
- params?: HttpParams | {
454
- [param: string]: string | string[];
455
- };
456
- reportProgress?: boolean;
457
222
  responseType: 'blob';
458
- withCredentials?: boolean;
459
223
  }): Observable<HttpEvent<Blob>>;
460
- delete(resource: ODataResource<any>, options?: {
461
- etag?: string;
462
- apiName?: string;
463
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
464
- headers?: HttpHeaders | {
465
- [header: string]: string | string[];
466
- };
224
+ delete(resource: ODataResource<any>, options: ODataOptions & {
467
225
  observe: 'events';
468
- params?: HttpParams | {
469
- [param: string]: string | string[];
470
- };
471
- reportProgress?: boolean;
472
226
  responseType: 'text';
473
- withCredentials?: boolean;
474
227
  }): Observable<HttpEvent<string>>;
475
- delete(resource: ODataResource<any>, options?: {
476
- etag?: string;
477
- apiName?: string;
478
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
479
- headers?: HttpHeaders | {
480
- [header: string]: string | string[];
481
- };
228
+ delete(resource: ODataResource<any>, options: ODataOptions & {
482
229
  observe: 'events';
483
- params?: HttpParams | {
484
- [param: string]: string | string[];
485
- };
486
- reportProgress?: boolean;
487
230
  responseType?: 'json';
488
- withCredentials?: boolean;
489
231
  }): Observable<HttpEvent<Object>>;
490
- delete<T>(resource: ODataResource<any>, options?: {
491
- etag?: string;
492
- apiName?: string;
493
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
494
- headers?: HttpHeaders | {
495
- [header: string]: string | string[];
496
- };
232
+ delete<T>(resource: ODataResource<any>, options: ODataOptions & {
497
233
  observe: 'events';
498
- params?: HttpParams | {
499
- [param: string]: string | string[];
500
- };
501
- reportProgress?: boolean;
502
234
  responseType?: 'json';
503
- withCredentials?: boolean;
504
235
  }): Observable<HttpEvent<T>>;
505
- delete(resource: ODataResource<any>, options?: {
506
- etag?: string;
507
- apiName?: string;
508
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
509
- headers?: HttpHeaders | {
510
- [header: string]: string | string[];
511
- };
236
+ delete(resource: ODataResource<any>, options: ODataOptions & {
512
237
  observe: 'response';
513
- params?: HttpParams | {
514
- [param: string]: string | string[];
515
- };
516
- reportProgress?: boolean;
517
238
  responseType: 'arraybuffer';
518
- withCredentials?: boolean;
519
- }): Observable<HttpResponse<ArrayBuffer>>;
520
- delete(resource: ODataResource<any>, options?: {
521
- etag?: string;
522
- apiName?: string;
523
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
524
- headers?: HttpHeaders | {
525
- [header: string]: string | string[];
526
- };
239
+ }): Observable<ODataResponse<ArrayBuffer>>;
240
+ delete(resource: ODataResource<any>, options: ODataOptions & {
527
241
  observe: 'response';
528
- params?: HttpParams | {
529
- [param: string]: string | string[];
530
- };
531
- reportProgress?: boolean;
532
242
  responseType: 'blob';
533
- withCredentials?: boolean;
534
- }): Observable<HttpResponse<Blob>>;
535
- delete(resource: ODataResource<any>, options?: {
536
- etag?: string;
537
- apiName?: string;
538
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
539
- headers?: HttpHeaders | {
540
- [header: string]: string | string[];
541
- };
243
+ }): Observable<ODataResponse<Blob>>;
244
+ delete(resource: ODataResource<any>, options: ODataOptions & {
542
245
  observe: 'response';
543
- params?: HttpParams | {
544
- [param: string]: string | string[];
545
- };
546
- reportProgress?: boolean;
547
246
  responseType: 'text';
548
- withCredentials?: boolean;
549
247
  }): Observable<ODataResponse<string>>;
550
- delete(resource: ODataResource<any>, options?: {
551
- etag?: string;
552
- apiName?: string;
553
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
554
- headers?: HttpHeaders | {
555
- [header: string]: string | string[];
556
- };
248
+ delete(resource: ODataResource<any>, options: ODataOptions & {
557
249
  observe: 'response';
558
- params?: HttpParams | {
559
- [param: string]: string | string[];
560
- };
561
- reportProgress?: boolean;
562
250
  responseType?: 'json';
563
- withCredentials?: boolean;
564
251
  }): Observable<ODataResponse<Object>>;
565
- delete<T>(resource: ODataResource<any>, options?: {
566
- etag?: string;
567
- apiName?: string;
568
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
569
- headers?: HttpHeaders | {
570
- [header: string]: string | string[];
571
- };
252
+ delete<T>(resource: ODataResource<any>, options: ODataOptions & {
572
253
  observe: 'response';
573
- params?: HttpParams | {
574
- [param: string]: string | string[];
575
- };
576
- reportProgress?: boolean;
577
254
  responseType?: 'json';
578
- withCredentials?: boolean;
579
255
  }): Observable<ODataResponse<T>>;
580
- delete(resource: ODataResource<any>, options?: {
581
- etag?: string;
582
- apiName?: string;
583
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
584
- headers?: HttpHeaders | {
585
- [header: string]: string | string[];
586
- };
256
+ delete(resource: ODataResource<any>, options: ODataOptions & {
587
257
  observe?: 'body';
588
- params?: HttpParams | {
589
- [param: string]: string | string[];
590
- };
591
- reportProgress?: boolean;
592
258
  responseType?: 'json';
593
- withCredentials?: boolean;
594
259
  }): Observable<Object>;
595
- delete<T>(resource: ODataResource<any>, options?: {
596
- etag?: string;
597
- apiName?: string;
598
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
599
- headers?: HttpHeaders | {
600
- [header: string]: string | string[];
601
- };
260
+ delete<T>(resource: ODataResource<any>, options: ODataOptions & {
602
261
  observe?: 'body';
603
- params?: HttpParams | {
604
- [param: string]: string | string[];
605
- };
606
- reportProgress?: boolean;
607
262
  responseType?: 'json';
608
- withCredentials?: boolean;
609
263
  }): Observable<T>;
610
- get(resource: ODataResource<any>, options: {
611
- apiName?: string;
612
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
613
- headers?: HttpHeaders | {
614
- [header: string]: string | string[];
615
- };
264
+ get(resource: ODataResource<any>, options: ODataOptions & {
616
265
  observe?: 'body';
617
- params?: HttpParams | {
618
- [param: string]: string | string[];
619
- };
620
- reportProgress?: boolean;
621
266
  responseType: 'arraybuffer';
622
- withCredentials?: boolean;
623
267
  }): Observable<ArrayBuffer>;
624
- get(resource: ODataResource<any>, options: {
625
- apiName?: string;
626
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
627
- headers?: HttpHeaders | {
628
- [header: string]: string | string[];
629
- };
268
+ get(resource: ODataResource<any>, options: ODataOptions & {
630
269
  observe?: 'body';
631
- params?: HttpParams | {
632
- [param: string]: string | string[];
633
- };
634
- reportProgress?: boolean;
635
270
  responseType: 'blob';
636
- withCredentials?: boolean;
637
271
  }): Observable<Blob>;
638
- get(resource: ODataResource<any>, options: {
639
- apiName?: string;
640
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
641
- headers?: HttpHeaders | {
642
- [header: string]: string | string[];
643
- };
272
+ get(resource: ODataResource<any>, options: ODataOptions & {
644
273
  observe?: 'body';
645
- params?: HttpParams | {
646
- [param: string]: string | string[];
647
- };
648
- reportProgress?: boolean;
649
274
  responseType: 'text';
650
- withCredentials?: boolean;
651
275
  }): Observable<string>;
652
- get(resource: ODataResource<any>, options: {
653
- apiName?: string;
654
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
655
- headers?: HttpHeaders | {
656
- [header: string]: string | string[];
657
- };
276
+ get(resource: ODataResource<any>, options: ODataOptions & {
658
277
  observe: 'events';
659
- params?: HttpParams | {
660
- [param: string]: string | string[];
661
- };
662
- reportProgress?: boolean;
663
278
  responseType: 'arraybuffer';
664
- withCredentials?: boolean;
665
279
  }): Observable<HttpEvent<ArrayBuffer>>;
666
- get(resource: ODataResource<any>, options: {
667
- apiName?: string;
668
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
669
- headers?: HttpHeaders | {
670
- [header: string]: string | string[];
671
- };
280
+ get(resource: ODataResource<any>, options: ODataOptions & {
672
281
  observe: 'events';
673
- params?: HttpParams | {
674
- [param: string]: string | string[];
675
- };
676
- reportProgress?: boolean;
677
282
  responseType: 'blob';
678
- withCredentials?: boolean;
679
283
  }): Observable<HttpEvent<Blob>>;
680
- get(resource: ODataResource<any>, options: {
681
- apiName?: string;
682
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
683
- headers?: HttpHeaders | {
684
- [header: string]: string | string[];
685
- };
284
+ get(resource: ODataResource<any>, options: ODataOptions & {
686
285
  observe: 'events';
687
- params?: HttpParams | {
688
- [param: string]: string | string[];
689
- };
690
- reportProgress?: boolean;
691
286
  responseType: 'text';
692
- withCredentials?: boolean;
693
287
  }): Observable<HttpEvent<string>>;
694
- get(resource: ODataResource<any>, options: {
695
- apiName?: string;
696
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
697
- headers?: HttpHeaders | {
698
- [header: string]: string | string[];
699
- };
288
+ get(resource: ODataResource<any>, options: ODataOptions & {
700
289
  observe: 'events';
701
- params?: HttpParams | {
702
- [param: string]: string | string[];
703
- };
704
- reportProgress?: boolean;
705
290
  responseType?: 'json';
706
- withCredentials?: boolean;
707
291
  }): Observable<HttpEvent<Object>>;
708
- get<T>(resource: ODataResource<any>, options: {
709
- apiName?: string;
710
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
711
- headers?: HttpHeaders | {
712
- [header: string]: string | string[];
713
- };
292
+ get<T>(resource: ODataResource<any>, options: ODataOptions & {
714
293
  observe: 'events';
715
- params?: HttpParams | {
716
- [param: string]: string | string[];
717
- };
718
- reportProgress?: boolean;
719
294
  responseType?: 'json';
720
- withCredentials?: boolean;
721
295
  }): Observable<HttpEvent<T>>;
722
- get(resource: ODataResource<any>, options: {
723
- apiName?: string;
724
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
725
- headers?: HttpHeaders | {
726
- [header: string]: string | string[];
727
- };
296
+ get(resource: ODataResource<any>, options: ODataOptions & {
728
297
  observe: 'response';
729
- params?: HttpParams | {
730
- [param: string]: string | string[];
731
- };
732
- reportProgress?: boolean;
733
298
  responseType: 'arraybuffer';
734
- withCredentials?: boolean;
735
- }): Observable<HttpResponse<ArrayBuffer>>;
736
- get(resource: ODataResource<any>, options: {
737
- apiName?: string;
738
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
739
- headers?: HttpHeaders | {
740
- [header: string]: string | string[];
741
- };
299
+ }): Observable<ODataResponse<ArrayBuffer>>;
300
+ get(resource: ODataResource<any>, options: ODataOptions & {
742
301
  observe: 'response';
743
- params?: HttpParams | {
744
- [param: string]: string | string[];
745
- };
746
- reportProgress?: boolean;
747
302
  responseType: 'blob';
748
- withCredentials?: boolean;
749
- }): Observable<HttpResponse<Blob>>;
750
- get(resource: ODataResource<any>, options: {
751
- apiName?: string;
752
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
753
- headers?: HttpHeaders | {
754
- [header: string]: string | string[];
755
- };
303
+ }): Observable<ODataResponse<Blob>>;
304
+ get(resource: ODataResource<any>, options: ODataOptions & {
756
305
  observe: 'response';
757
- params?: HttpParams | {
758
- [param: string]: string | string[];
759
- };
760
- reportProgress?: boolean;
761
306
  responseType: 'text';
762
- withCredentials?: boolean;
763
307
  }): Observable<ODataResponse<string>>;
764
- get(resource: ODataResource<any>, options: {
765
- apiName?: string;
766
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
767
- headers?: HttpHeaders | {
768
- [header: string]: string | string[];
769
- };
308
+ get(resource: ODataResource<any>, options: ODataOptions & {
770
309
  observe: 'response';
771
- params?: HttpParams | {
772
- [param: string]: string | string[];
773
- };
774
- reportProgress?: boolean;
775
310
  responseType?: 'json';
776
- withCredentials?: boolean;
777
311
  }): Observable<ODataResponse<Object>>;
778
- get<T>(resource: ODataResource<any>, options: {
779
- apiName?: string;
780
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
781
- headers?: HttpHeaders | {
782
- [header: string]: string | string[];
783
- };
312
+ get<T>(resource: ODataResource<any>, options: ODataOptions & {
784
313
  observe: 'response';
785
- params?: HttpParams | {
786
- [param: string]: string | string[];
787
- };
788
- reportProgress?: boolean;
789
314
  responseType?: 'json';
790
- withCredentials?: boolean;
791
315
  }): Observable<ODataResponse<T>>;
792
- get(resource: ODataResource<any>, options?: {
793
- apiName?: string;
794
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
795
- headers?: HttpHeaders | {
796
- [header: string]: string | string[];
797
- };
316
+ get(resource: ODataResource<any>, options: ODataOptions & {
798
317
  observe?: 'body';
799
- params?: HttpParams | {
800
- [param: string]: string | string[];
801
- };
802
- reportProgress?: boolean;
803
318
  responseType?: 'json';
804
- withCredentials?: boolean;
805
319
  }): Observable<Object>;
806
- get<T>(resource: ODataResource<any>, options?: {
807
- apiName?: string;
808
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
809
- headers?: HttpHeaders | {
810
- [header: string]: string | string[];
811
- };
320
+ get<T>(resource: ODataResource<any>, options: ODataOptions & {
812
321
  observe?: 'body';
813
- params?: HttpParams | {
814
- [param: string]: string | string[];
815
- };
816
- reportProgress?: boolean;
817
322
  responseType?: 'json';
818
- withCredentials?: boolean;
819
323
  }): Observable<T>;
820
- head(resource: ODataResource<any>, options: {
821
- apiName?: string;
822
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
823
- headers?: HttpHeaders | {
824
- [header: string]: string | string[];
825
- };
324
+ head(resource: ODataResource<any>, options: ODataOptions & {
826
325
  observe?: 'body';
827
- params?: HttpParams | {
828
- [param: string]: string | string[];
829
- };
830
- reportProgress?: boolean;
831
326
  responseType: 'arraybuffer';
832
- withCredentials?: boolean;
833
327
  }): Observable<ArrayBuffer>;
834
- head(resource: ODataResource<any>, options: {
835
- apiName?: string;
836
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
837
- headers?: HttpHeaders | {
838
- [header: string]: string | string[];
839
- };
328
+ head(resource: ODataResource<any>, options: ODataOptions & {
840
329
  observe?: 'body';
841
- params?: HttpParams | {
842
- [param: string]: string | string[];
843
- };
844
- reportProgress?: boolean;
845
330
  responseType: 'blob';
846
- withCredentials?: boolean;
847
331
  }): Observable<Blob>;
848
- head(resource: ODataResource<any>, options: {
849
- apiName?: string;
850
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
851
- headers?: HttpHeaders | {
852
- [header: string]: string | string[];
853
- };
332
+ head(resource: ODataResource<any>, options: ODataOptions & {
854
333
  observe?: 'body';
855
- params?: HttpParams | {
856
- [param: string]: string | string[];
857
- };
858
- reportProgress?: boolean;
859
334
  responseType: 'text';
860
- withCredentials?: boolean;
861
335
  }): Observable<string>;
862
- head(resource: ODataResource<any>, options: {
863
- apiName?: string;
864
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
865
- headers?: HttpHeaders | {
866
- [header: string]: string | string[];
867
- };
336
+ head(resource: ODataResource<any>, options: ODataOptions & {
868
337
  observe: 'events';
869
- params?: HttpParams | {
870
- [param: string]: string | string[];
871
- };
872
- reportProgress?: boolean;
873
338
  responseType: 'arraybuffer';
874
- withCredentials?: boolean;
875
339
  }): Observable<HttpEvent<ArrayBuffer>>;
876
- head(resource: ODataResource<any>, options: {
877
- apiName?: string;
878
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
879
- headers?: HttpHeaders | {
880
- [header: string]: string | string[];
881
- };
340
+ head(resource: ODataResource<any>, options: ODataOptions & {
882
341
  observe: 'events';
883
- params?: HttpParams | {
884
- [param: string]: string | string[];
885
- };
886
- reportProgress?: boolean;
887
342
  responseType: 'blob';
888
- withCredentials?: boolean;
889
343
  }): Observable<HttpEvent<Blob>>;
890
- head(resource: ODataResource<any>, options: {
891
- apiName?: string;
892
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
893
- headers?: HttpHeaders | {
894
- [header: string]: string | string[];
895
- };
344
+ head(resource: ODataResource<any>, options: ODataOptions & {
896
345
  observe: 'events';
897
- params?: HttpParams | {
898
- [param: string]: string | string[];
899
- };
900
- reportProgress?: boolean;
901
346
  responseType: 'text';
902
- withCredentials?: boolean;
903
347
  }): Observable<HttpEvent<string>>;
904
- head(resource: ODataResource<any>, options: {
905
- apiName?: string;
906
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
907
- headers?: HttpHeaders | {
908
- [header: string]: string | string[];
909
- };
348
+ head(resource: ODataResource<any>, options: ODataOptions & {
910
349
  observe: 'events';
911
- params?: HttpParams | {
912
- [param: string]: string | string[];
913
- };
914
- reportProgress?: boolean;
915
350
  responseType?: 'json';
916
- withCredentials?: boolean;
917
351
  }): Observable<HttpEvent<Object>>;
918
- head<T>(resource: ODataResource<any>, options: {
919
- apiName?: string;
920
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
921
- headers?: HttpHeaders | {
922
- [header: string]: string | string[];
923
- };
352
+ head<T>(resource: ODataResource<any>, options: ODataOptions & {
924
353
  observe: 'events';
925
- params?: HttpParams | {
926
- [param: string]: string | string[];
927
- };
928
- reportProgress?: boolean;
929
354
  responseType?: 'json';
930
- withCredentials?: boolean;
931
355
  }): Observable<HttpEvent<T>>;
932
- head(resource: ODataResource<any>, options: {
933
- apiName?: string;
934
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
935
- headers?: HttpHeaders | {
936
- [header: string]: string | string[];
937
- };
356
+ head(resource: ODataResource<any>, options: ODataOptions & {
938
357
  observe: 'response';
939
- params?: HttpParams | {
940
- [param: string]: string | string[];
941
- };
942
- reportProgress?: boolean;
943
358
  responseType: 'arraybuffer';
944
- withCredentials?: boolean;
945
- }): Observable<HttpResponse<ArrayBuffer>>;
946
- head(resource: ODataResource<any>, options: {
947
- apiName?: string;
948
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
949
- headers?: HttpHeaders | {
950
- [header: string]: string | string[];
951
- };
359
+ }): Observable<ODataResponse<ArrayBuffer>>;
360
+ head(resource: ODataResource<any>, options: ODataOptions & {
952
361
  observe: 'response';
953
- params?: HttpParams | {
954
- [param: string]: string | string[];
955
- };
956
- reportProgress?: boolean;
957
362
  responseType: 'blob';
958
- withCredentials?: boolean;
959
- }): Observable<HttpResponse<Blob>>;
960
- head(resource: ODataResource<any>, options: {
961
- apiName?: string;
962
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
963
- headers?: HttpHeaders | {
964
- [header: string]: string | string[];
965
- };
363
+ }): Observable<ODataResponse<Blob>>;
364
+ head(resource: ODataResource<any>, options: ODataOptions & {
966
365
  observe: 'response';
967
- params?: HttpParams | {
968
- [param: string]: string | string[];
969
- };
970
- reportProgress?: boolean;
971
366
  responseType: 'text';
972
- withCredentials?: boolean;
973
367
  }): Observable<ODataResponse<string>>;
974
- head(resource: ODataResource<any>, options: {
975
- apiName?: string;
976
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
977
- headers?: HttpHeaders | {
978
- [header: string]: string | string[];
979
- };
368
+ head(resource: ODataResource<any>, options: ODataOptions & {
980
369
  observe: 'response';
981
- params?: HttpParams | {
982
- [param: string]: string | string[];
983
- };
984
- reportProgress?: boolean;
985
370
  responseType?: 'json';
986
- withCredentials?: boolean;
987
371
  }): Observable<ODataResponse<Object>>;
988
- head<T>(resource: ODataResource<any>, options: {
989
- apiName?: string;
990
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
991
- headers?: HttpHeaders | {
992
- [header: string]: string | string[];
993
- };
372
+ head<T>(resource: ODataResource<any>, options: ODataOptions & {
994
373
  observe: 'response';
995
- params?: HttpParams | {
996
- [param: string]: string | string[];
997
- };
998
- reportProgress?: boolean;
999
374
  responseType?: 'json';
1000
- withCredentials?: boolean;
1001
375
  }): Observable<ODataResponse<T>>;
1002
- head(resource: ODataResource<any>, options?: {
1003
- apiName?: string;
1004
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
1005
- headers?: HttpHeaders | {
1006
- [header: string]: string | string[];
1007
- };
376
+ head(resource: ODataResource<any>, options: ODataOptions & {
1008
377
  observe?: 'body';
1009
- params?: HttpParams | {
1010
- [param: string]: string | string[];
1011
- };
1012
- reportProgress?: boolean;
1013
378
  responseType?: 'json';
1014
- withCredentials?: boolean;
1015
379
  }): Observable<Object>;
1016
- head<T>(resource: ODataResource<any>, options?: {
1017
- apiName?: string;
1018
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
1019
- headers?: HttpHeaders | {
1020
- [header: string]: string | string[];
1021
- };
380
+ head<T>(resource: ODataResource<any>, options: ODataOptions & {
1022
381
  observe?: 'body';
1023
- params?: HttpParams | {
1024
- [param: string]: string | string[];
1025
- };
1026
- reportProgress?: boolean;
1027
382
  responseType?: 'json';
1028
- withCredentials?: boolean;
1029
383
  }): Observable<T>;
1030
384
  jsonp(resource: ODataResource<any>, callbackParam: string): Observable<Object>;
1031
385
  jsonp<T>(resource: ODataResource<any>, callbackParam: string): Observable<T>;
1032
- options(resource: ODataResource<any>, options: {
1033
- apiName?: string;
1034
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
1035
- headers?: HttpHeaders | {
1036
- [header: string]: string | string[];
1037
- };
386
+ options(resource: ODataResource<any>, options: ODataOptions & {
1038
387
  observe?: 'body';
1039
- params?: HttpParams | {
1040
- [param: string]: string | string[];
1041
- };
1042
- reportProgress?: boolean;
1043
388
  responseType: 'arraybuffer';
1044
- withCredentials?: boolean;
1045
389
  }): Observable<ArrayBuffer>;
1046
- options(resource: ODataResource<any>, options: {
1047
- apiName?: string;
1048
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
1049
- headers?: HttpHeaders | {
1050
- [header: string]: string | string[];
1051
- };
390
+ options(resource: ODataResource<any>, options: ODataOptions & {
1052
391
  observe?: 'body';
1053
- params?: HttpParams | {
1054
- [param: string]: string | string[];
1055
- };
1056
- reportProgress?: boolean;
1057
392
  responseType: 'blob';
1058
- withCredentials?: boolean;
1059
393
  }): Observable<Blob>;
1060
- options(resource: ODataResource<any>, options: {
1061
- apiName?: string;
1062
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
1063
- headers?: HttpHeaders | {
1064
- [header: string]: string | string[];
1065
- };
394
+ options(resource: ODataResource<any>, options: ODataOptions & {
1066
395
  observe?: 'body';
1067
- params?: HttpParams | {
1068
- [param: string]: string | string[];
1069
- };
1070
- reportProgress?: boolean;
1071
396
  responseType: 'text';
1072
- withCredentials?: boolean;
1073
397
  }): Observable<string>;
1074
- options(resource: ODataResource<any>, options: {
1075
- apiName?: string;
1076
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
1077
- headers?: HttpHeaders | {
1078
- [header: string]: string | string[];
1079
- };
398
+ options(resource: ODataResource<any>, options: ODataOptions & {
1080
399
  observe: 'events';
1081
- params?: HttpParams | {
1082
- [param: string]: string | string[];
1083
- };
1084
- reportProgress?: boolean;
1085
400
  responseType: 'arraybuffer';
1086
- withCredentials?: boolean;
1087
401
  }): Observable<HttpEvent<ArrayBuffer>>;
1088
- options(resource: ODataResource<any>, options: {
1089
- apiName?: string;
1090
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
1091
- headers?: HttpHeaders | {
1092
- [header: string]: string | string[];
1093
- };
402
+ options(resource: ODataResource<any>, options: ODataOptions & {
1094
403
  observe: 'events';
1095
- params?: HttpParams | {
1096
- [param: string]: string | string[];
1097
- };
1098
- reportProgress?: boolean;
1099
404
  responseType: 'blob';
1100
- withCredentials?: boolean;
1101
405
  }): Observable<HttpEvent<Blob>>;
1102
- options(resource: ODataResource<any>, options: {
1103
- apiName?: string;
1104
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
1105
- headers?: HttpHeaders | {
1106
- [header: string]: string | string[];
1107
- };
406
+ options(resource: ODataResource<any>, options: ODataOptions & {
1108
407
  observe: 'events';
1109
- params?: HttpParams | {
1110
- [param: string]: string | string[];
1111
- };
1112
- reportProgress?: boolean;
1113
408
  responseType: 'text';
1114
- withCredentials?: boolean;
1115
409
  }): Observable<HttpEvent<string>>;
1116
- options(resource: ODataResource<any>, options: {
1117
- apiName?: string;
1118
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
1119
- headers?: HttpHeaders | {
1120
- [header: string]: string | string[];
1121
- };
410
+ options(resource: ODataResource<any>, options: ODataOptions & {
1122
411
  observe: 'events';
1123
- params?: HttpParams | {
1124
- [param: string]: string | string[];
1125
- };
1126
- reportProgress?: boolean;
1127
412
  responseType?: 'json';
1128
- withCredentials?: boolean;
1129
413
  }): Observable<HttpEvent<Object>>;
1130
- options(resource: ODataResource<any>, options: {
1131
- apiName?: string;
1132
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
1133
- headers?: HttpHeaders | {
1134
- [header: string]: string | string[];
1135
- };
414
+ options(resource: ODataResource<any>, options: ODataOptions & {
1136
415
  observe: 'events';
1137
- params?: HttpParams | {
1138
- [param: string]: string | string[];
1139
- };
1140
- reportProgress?: boolean;
1141
416
  responseType?: 'json';
1142
- withCredentials?: boolean;
1143
417
  }): Observable<HttpEvent<Object>>;
1144
- options<T>(resource: ODataResource<any>, options: {
1145
- apiName?: string;
1146
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
1147
- headers?: HttpHeaders | {
1148
- [header: string]: string | string[];
1149
- };
418
+ options<T>(resource: ODataResource<any>, options: ODataOptions & {
1150
419
  observe: 'events';
1151
- params?: HttpParams | {
1152
- [param: string]: string | string[];
1153
- };
1154
- reportProgress?: boolean;
1155
420
  responseType?: 'json';
1156
- withCredentials?: boolean;
1157
421
  }): Observable<HttpEvent<T>>;
1158
- options(resource: ODataResource<any>, options: {
1159
- apiName?: string;
1160
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
1161
- headers?: HttpHeaders | {
1162
- [header: string]: string | string[];
1163
- };
422
+ options(resource: ODataResource<any>, options: ODataOptions & {
1164
423
  observe: 'response';
1165
- params?: HttpParams | {
1166
- [param: string]: string | string[];
1167
- };
1168
- reportProgress?: boolean;
1169
424
  responseType: 'arraybuffer';
1170
- withCredentials?: boolean;
1171
- }): Observable<HttpResponse<ArrayBuffer>>;
1172
- options(resource: ODataResource<any>, options: {
1173
- apiName?: string;
1174
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
1175
- headers?: HttpHeaders | {
1176
- [header: string]: string | string[];
1177
- };
425
+ }): Observable<ODataResponse<ArrayBuffer>>;
426
+ options(resource: ODataResource<any>, options: ODataOptions & {
1178
427
  observe: 'response';
1179
- params?: HttpParams | {
1180
- [param: string]: string | string[];
1181
- };
1182
- reportProgress?: boolean;
1183
428
  responseType: 'blob';
1184
- withCredentials?: boolean;
1185
- }): Observable<HttpResponse<Blob>>;
1186
- options(resource: ODataResource<any>, options: {
1187
- apiName?: string;
1188
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
1189
- headers?: HttpHeaders | {
1190
- [header: string]: string | string[];
1191
- };
429
+ }): Observable<ODataResponse<Blob>>;
430
+ options(resource: ODataResource<any>, options: ODataOptions & {
1192
431
  observe: 'response';
1193
- params?: HttpParams | {
1194
- [param: string]: string | string[];
1195
- };
1196
- reportProgress?: boolean;
1197
432
  responseType: 'text';
1198
- withCredentials?: boolean;
1199
433
  }): Observable<ODataResponse<string>>;
1200
- options(resource: ODataResource<any>, options: {
1201
- apiName?: string;
1202
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
1203
- headers?: HttpHeaders | {
1204
- [header: string]: string | string[];
1205
- };
434
+ options(resource: ODataResource<any>, options: ODataOptions & {
1206
435
  observe: 'response';
1207
- params?: HttpParams | {
1208
- [param: string]: string | string[];
1209
- };
1210
- reportProgress?: boolean;
1211
436
  responseType?: 'json';
1212
- withCredentials?: boolean;
1213
437
  }): Observable<ODataResponse<Object>>;
1214
- options<T>(resource: ODataResource<any>, options: {
1215
- apiName?: string;
1216
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
1217
- headers?: HttpHeaders | {
1218
- [header: string]: string | string[];
1219
- };
438
+ options<T>(resource: ODataResource<any>, options: ODataOptions & {
1220
439
  observe: 'response';
1221
- params?: HttpParams | {
1222
- [param: string]: string | string[];
1223
- };
1224
- reportProgress?: boolean;
1225
440
  responseType?: 'json';
1226
- withCredentials?: boolean;
1227
441
  }): Observable<ODataResponse<T>>;
1228
- options(resource: ODataResource<any>, options?: {
1229
- apiName?: string;
1230
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
1231
- headers?: HttpHeaders | {
1232
- [header: string]: string | string[];
1233
- };
442
+ options(resource: ODataResource<any>, options: ODataOptions & {
1234
443
  observe?: 'body';
1235
- params?: HttpParams | {
1236
- [param: string]: string | string[];
1237
- };
1238
- reportProgress?: boolean;
1239
444
  responseType?: 'json';
1240
- withCredentials?: boolean;
1241
445
  }): Observable<Object>;
1242
- options<T>(resource: ODataResource<any>, options?: {
1243
- apiName?: string;
1244
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
1245
- headers?: HttpHeaders | {
1246
- [header: string]: string | string[];
1247
- };
446
+ options<T>(resource: ODataResource<any>, options: ODataOptions & {
1248
447
  observe?: 'body';
1249
- params?: HttpParams | {
1250
- [param: string]: string | string[];
1251
- };
1252
- reportProgress?: boolean;
1253
448
  responseType?: 'json';
1254
- withCredentials?: boolean;
1255
449
  }): Observable<T>;
1256
- patch(resource: ODataResource<any>, body: any | null, options?: {
1257
- etag?: string;
1258
- apiName?: string;
1259
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
1260
- headers?: HttpHeaders | {
1261
- [header: string]: string | string[];
1262
- };
450
+ patch(resource: ODataResource<any>, body: any | null, options: ODataOptions & {
1263
451
  observe?: 'body';
1264
- params?: HttpParams | {
1265
- [param: string]: string | string[];
1266
- };
1267
- reportProgress?: boolean;
1268
452
  responseType: 'arraybuffer';
1269
- withCredentials?: boolean;
1270
453
  }): Observable<ArrayBuffer>;
1271
- patch(resource: ODataResource<any>, body: any | null, options?: {
1272
- etag?: string;
1273
- apiName?: string;
1274
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
1275
- headers?: HttpHeaders | {
1276
- [header: string]: string | string[];
1277
- };
454
+ patch(resource: ODataResource<any>, body: any | null, options: ODataOptions & {
1278
455
  observe?: 'body';
1279
- params?: HttpParams | {
1280
- [param: string]: string | string[];
1281
- };
1282
- reportProgress?: boolean;
1283
456
  responseType: 'blob';
1284
- withCredentials?: boolean;
1285
457
  }): Observable<Blob>;
1286
- patch(resource: ODataResource<any>, body: any | null, options?: {
1287
- etag?: string;
1288
- apiName?: string;
1289
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
1290
- headers?: HttpHeaders | {
1291
- [header: string]: string | string[];
1292
- };
458
+ patch(resource: ODataResource<any>, body: any | null, options: ODataOptions & {
1293
459
  observe?: 'body';
1294
- params?: HttpParams | {
1295
- [param: string]: string | string[];
1296
- };
1297
- reportProgress?: boolean;
1298
460
  responseType: 'text';
1299
- withCredentials?: boolean;
1300
461
  }): Observable<string>;
1301
- patch(resource: ODataResource<any>, body: any | null, options?: {
1302
- etag?: string;
1303
- apiName?: string;
1304
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
1305
- headers?: HttpHeaders | {
1306
- [header: string]: string | string[];
1307
- };
462
+ patch(resource: ODataResource<any>, body: any | null, options: ODataOptions & {
1308
463
  observe: 'events';
1309
- params?: HttpParams | {
1310
- [param: string]: string | string[];
1311
- };
1312
- reportProgress?: boolean;
1313
464
  responseType: 'arraybuffer';
1314
- withCredentials?: boolean;
1315
465
  }): Observable<HttpEvent<ArrayBuffer>>;
1316
- patch(resource: ODataResource<any>, body: any | null, options?: {
1317
- etag?: string;
1318
- apiName?: string;
1319
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
1320
- headers?: HttpHeaders | {
1321
- [header: string]: string | string[];
1322
- };
466
+ patch(resource: ODataResource<any>, body: any | null, options: ODataOptions & {
1323
467
  observe: 'events';
1324
- params?: HttpParams | {
1325
- [param: string]: string | string[];
1326
- };
1327
- reportProgress?: boolean;
1328
468
  responseType: 'blob';
1329
- withCredentials?: boolean;
1330
469
  }): Observable<HttpEvent<Blob>>;
1331
- patch(resource: ODataResource<any>, body: any | null, options?: {
1332
- etag?: string;
1333
- apiName?: string;
1334
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
1335
- headers?: HttpHeaders | {
1336
- [header: string]: string | string[];
1337
- };
470
+ patch(resource: ODataResource<any>, body: any | null, options: ODataOptions & {
1338
471
  observe: 'events';
1339
- params?: HttpParams | {
1340
- [param: string]: string | string[];
1341
- };
1342
- reportProgress?: boolean;
1343
472
  responseType: 'text';
1344
- withCredentials?: boolean;
1345
473
  }): Observable<HttpEvent<string>>;
1346
- patch(resource: ODataResource<any>, body: any | null, options?: {
1347
- etag?: string;
1348
- apiName?: string;
1349
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
1350
- headers?: HttpHeaders | {
1351
- [header: string]: string | string[];
1352
- };
474
+ patch(resource: ODataResource<any>, body: any | null, options: ODataOptions & {
1353
475
  observe: 'events';
1354
- params?: HttpParams | {
1355
- [param: string]: string | string[];
1356
- };
1357
- reportProgress?: boolean;
1358
476
  responseType?: 'json';
1359
- withCredentials?: boolean;
1360
477
  }): Observable<HttpEvent<Object>>;
1361
- patch<T>(resource: ODataResource<any>, body: any | null, options?: {
1362
- etag?: string;
1363
- apiName?: string;
1364
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
1365
- headers?: HttpHeaders | {
1366
- [header: string]: string | string[];
1367
- };
478
+ patch<T>(resource: ODataResource<any>, body: any | null, options: ODataOptions & {
1368
479
  observe: 'events';
1369
- params?: HttpParams | {
1370
- [param: string]: string | string[];
1371
- };
1372
- reportProgress?: boolean;
1373
480
  responseType?: 'json';
1374
- withCredentials?: boolean;
1375
481
  }): Observable<HttpEvent<T>>;
1376
- patch(resource: ODataResource<any>, body: any | null, options?: {
1377
- etag?: string;
1378
- apiName?: string;
1379
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
1380
- headers?: HttpHeaders | {
1381
- [header: string]: string | string[];
1382
- };
482
+ patch(resource: ODataResource<any>, body: any | null, options: ODataOptions & {
1383
483
  observe: 'response';
1384
- params?: HttpParams | {
1385
- [param: string]: string | string[];
1386
- };
1387
- reportProgress?: boolean;
1388
484
  responseType: 'arraybuffer';
1389
- withCredentials?: boolean;
1390
- }): Observable<HttpResponse<ArrayBuffer>>;
1391
- patch(resource: ODataResource<any>, body: any | null, options?: {
1392
- etag?: string;
1393
- apiName?: string;
1394
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
1395
- headers?: HttpHeaders | {
1396
- [header: string]: string | string[];
1397
- };
485
+ }): Observable<ODataResponse<ArrayBuffer>>;
486
+ patch(resource: ODataResource<any>, body: any | null, options: ODataOptions & {
1398
487
  observe: 'response';
1399
- params?: HttpParams | {
1400
- [param: string]: string | string[];
1401
- };
1402
- reportProgress?: boolean;
1403
488
  responseType: 'blob';
1404
- withCredentials?: boolean;
1405
- }): Observable<HttpResponse<Blob>>;
1406
- patch(resource: ODataResource<any>, body: any | null, options?: {
1407
- etag?: string;
1408
- apiName?: string;
1409
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
1410
- headers?: HttpHeaders | {
1411
- [header: string]: string | string[];
1412
- };
489
+ }): Observable<ODataResponse<Blob>>;
490
+ patch(resource: ODataResource<any>, body: any | null, options: ODataOptions & {
1413
491
  observe: 'response';
1414
- params?: HttpParams | {
1415
- [param: string]: string | string[];
1416
- };
1417
- reportProgress?: boolean;
1418
492
  responseType: 'text';
1419
- withCredentials?: boolean;
1420
493
  }): Observable<ODataResponse<string>>;
1421
- patch(resource: ODataResource<any>, body: any | null, options?: {
1422
- etag?: string;
1423
- apiName?: string;
1424
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
1425
- headers?: HttpHeaders | {
1426
- [header: string]: string | string[];
1427
- };
494
+ patch(resource: ODataResource<any>, body: any | null, options: ODataOptions & {
1428
495
  observe: 'response';
1429
- params?: HttpParams | {
1430
- [param: string]: string | string[];
1431
- };
1432
- reportProgress?: boolean;
1433
496
  responseType?: 'json';
1434
- withCredentials?: boolean;
1435
497
  }): Observable<ODataResponse<Object>>;
1436
- patch<T>(resource: ODataResource<any>, body: any | null, options?: {
1437
- etag?: string;
1438
- apiName?: string;
1439
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
1440
- headers?: HttpHeaders | {
1441
- [header: string]: string | string[];
1442
- };
498
+ patch<T>(resource: ODataResource<any>, body: any | null, options: ODataOptions & {
1443
499
  observe: 'response';
1444
- params?: HttpParams | {
1445
- [param: string]: string | string[];
1446
- };
1447
- reportProgress?: boolean;
1448
500
  responseType?: 'json';
1449
- withCredentials?: boolean;
1450
501
  }): Observable<ODataResponse<T>>;
1451
- patch(resource: ODataResource<any>, body: any | null, options?: {
1452
- etag?: string;
1453
- apiName?: string;
1454
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
1455
- headers?: HttpHeaders | {
1456
- [header: string]: string | string[];
1457
- };
502
+ patch(resource: ODataResource<any>, body: any | null, options: ODataOptions & {
1458
503
  observe?: 'body';
1459
- params?: HttpParams | {
1460
- [param: string]: string | string[];
1461
- };
1462
- reportProgress?: boolean;
1463
504
  responseType?: 'json';
1464
- withCredentials?: boolean;
1465
505
  }): Observable<Object>;
1466
- patch<T>(resource: ODataResource<any>, body: any | null, options?: {
1467
- etag?: string;
1468
- apiName?: string;
1469
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
1470
- headers?: HttpHeaders | {
1471
- [header: string]: string | string[];
1472
- };
506
+ patch<T>(resource: ODataResource<any>, body: any | null, options: ODataOptions & {
1473
507
  observe?: 'body';
1474
- params?: HttpParams | {
1475
- [param: string]: string | string[];
1476
- };
1477
- reportProgress?: boolean;
1478
508
  responseType?: 'json';
1479
- withCredentials?: boolean;
1480
509
  }): Observable<T>;
1481
- post(resource: ODataResource<any>, body: any | null, options: {
1482
- apiName?: string;
1483
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
1484
- headers?: HttpHeaders | {
1485
- [header: string]: string | string[];
1486
- };
510
+ post(resource: ODataResource<any>, body: any | null, options: ODataOptions & {
1487
511
  observe?: 'body';
1488
- params?: HttpParams | {
1489
- [param: string]: string | string[];
1490
- };
1491
- reportProgress?: boolean;
1492
512
  responseType: 'arraybuffer';
1493
- withCredentials?: boolean;
1494
513
  }): Observable<ArrayBuffer>;
1495
- post(resource: ODataResource<any>, body: any | null, options: {
1496
- apiName?: string;
1497
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
1498
- headers?: HttpHeaders | {
1499
- [header: string]: string | string[];
1500
- };
514
+ post(resource: ODataResource<any>, body: any | null, options: ODataOptions & {
1501
515
  observe?: 'body';
1502
- params?: HttpParams | {
1503
- [param: string]: string | string[];
1504
- };
1505
- reportProgress?: boolean;
1506
516
  responseType: 'blob';
1507
- withCredentials?: boolean;
1508
517
  }): Observable<Blob>;
1509
- post(resource: ODataResource<any>, body: any | null, options: {
1510
- apiName?: string;
1511
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
1512
- headers?: HttpHeaders | {
1513
- [header: string]: string | string[];
1514
- };
518
+ post(resource: ODataResource<any>, body: any | null, options: ODataOptions & {
1515
519
  observe?: 'body';
1516
- params?: HttpParams | {
1517
- [param: string]: string | string[];
1518
- };
1519
- reportProgress?: boolean;
1520
520
  responseType: 'text';
1521
- withCredentials?: boolean;
1522
521
  }): Observable<string>;
1523
- post(resource: ODataResource<any>, body: any | null, options: {
1524
- apiName?: string;
1525
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
1526
- headers?: HttpHeaders | {
1527
- [header: string]: string | string[];
1528
- };
522
+ post(resource: ODataResource<any>, body: any | null, options: ODataOptions & {
1529
523
  observe: 'events';
1530
- params?: HttpParams | {
1531
- [param: string]: string | string[];
1532
- };
1533
- reportProgress?: boolean;
1534
524
  responseType: 'arraybuffer';
1535
- withCredentials?: boolean;
1536
525
  }): Observable<HttpEvent<ArrayBuffer>>;
1537
- post(resource: ODataResource<any>, body: any | null, options: {
1538
- apiName?: string;
1539
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
1540
- headers?: HttpHeaders | {
1541
- [header: string]: string | string[];
1542
- };
526
+ post(resource: ODataResource<any>, body: any | null, options: ODataOptions & {
1543
527
  observe: 'events';
1544
- params?: HttpParams | {
1545
- [param: string]: string | string[];
1546
- };
1547
- reportProgress?: boolean;
1548
528
  responseType: 'blob';
1549
- withCredentials?: boolean;
1550
529
  }): Observable<HttpEvent<Blob>>;
1551
- post(resource: ODataResource<any>, body: any | null, options: {
1552
- apiName?: string;
1553
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
1554
- headers?: HttpHeaders | {
1555
- [header: string]: string | string[];
1556
- };
530
+ post(resource: ODataResource<any>, body: any | null, options: ODataOptions & {
1557
531
  observe: 'events';
1558
- params?: HttpParams | {
1559
- [param: string]: string | string[];
1560
- };
1561
- reportProgress?: boolean;
1562
532
  responseType: 'text';
1563
- withCredentials?: boolean;
1564
533
  }): Observable<HttpEvent<string>>;
1565
- post(resource: ODataResource<any>, body: any | null, options: {
1566
- apiName?: string;
1567
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
1568
- headers?: HttpHeaders | {
1569
- [header: string]: string | string[];
1570
- };
534
+ post(resource: ODataResource<any>, body: any | null, options: ODataOptions & {
1571
535
  observe: 'events';
1572
- params?: HttpParams | {
1573
- [param: string]: string | string[];
1574
- };
1575
- reportProgress?: boolean;
1576
536
  responseType?: 'json';
1577
- withCredentials?: boolean;
1578
537
  }): Observable<HttpEvent<Object>>;
1579
- post<T>(resource: ODataResource<any>, body: any | null, options: {
1580
- apiName?: string;
1581
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
1582
- headers?: HttpHeaders | {
1583
- [header: string]: string | string[];
1584
- };
538
+ post<T>(resource: ODataResource<any>, body: any | null, options: ODataOptions & {
1585
539
  observe: 'events';
1586
- params?: HttpParams | {
1587
- [param: string]: string | string[];
1588
- };
1589
- reportProgress?: boolean;
1590
540
  responseType?: 'json';
1591
- withCredentials?: boolean;
1592
541
  }): Observable<HttpEvent<T>>;
1593
- post(resource: ODataResource<any>, body: any | null, options: {
1594
- apiName?: string;
1595
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
1596
- headers?: HttpHeaders | {
1597
- [header: string]: string | string[];
1598
- };
542
+ post(resource: ODataResource<any>, body: any | null, options: ODataOptions & {
1599
543
  observe: 'response';
1600
- params?: HttpParams | {
1601
- [param: string]: string | string[];
1602
- };
1603
- reportProgress?: boolean;
1604
544
  responseType: 'arraybuffer';
1605
- withCredentials?: boolean;
1606
- }): Observable<HttpResponse<ArrayBuffer>>;
1607
- post(resource: ODataResource<any>, body: any | null, options: {
1608
- apiName?: string;
1609
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
1610
- headers?: HttpHeaders | {
1611
- [header: string]: string | string[];
1612
- };
545
+ }): Observable<ODataResponse<ArrayBuffer>>;
546
+ post(resource: ODataResource<any>, body: any | null, options: ODataOptions & {
1613
547
  observe: 'response';
1614
- params?: HttpParams | {
1615
- [param: string]: string | string[];
1616
- };
1617
- reportProgress?: boolean;
1618
548
  responseType: 'blob';
1619
- withCredentials?: boolean;
1620
- }): Observable<HttpResponse<Blob>>;
1621
- post(resource: ODataResource<any>, body: any | null, options: {
1622
- apiName?: string;
1623
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
1624
- headers?: HttpHeaders | {
1625
- [header: string]: string | string[];
1626
- };
549
+ }): Observable<ODataResponse<Blob>>;
550
+ post(resource: ODataResource<any>, body: any | null, options: ODataOptions & {
1627
551
  observe: 'response';
1628
- params?: HttpParams | {
1629
- [param: string]: string | string[];
1630
- };
1631
- reportProgress?: boolean;
1632
552
  responseType: 'text';
1633
- withCredentials?: boolean;
1634
553
  }): Observable<ODataResponse<string>>;
1635
- post(resource: ODataResource<any>, body: any | null, options: {
1636
- apiName?: string;
1637
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
1638
- headers?: HttpHeaders | {
1639
- [header: string]: string | string[];
1640
- };
554
+ post(resource: ODataResource<any>, body: any | null, options: ODataOptions & {
1641
555
  observe: 'response';
1642
- params?: HttpParams | {
1643
- [param: string]: string | string[];
1644
- };
1645
- reportProgress?: boolean;
1646
556
  responseType?: 'json';
1647
- withCredentials?: boolean;
1648
557
  }): Observable<ODataResponse<Object>>;
1649
- post<T>(resource: ODataResource<any>, body: any | null, options: {
1650
- apiName?: string;
1651
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
1652
- headers?: HttpHeaders | {
1653
- [header: string]: string | string[];
1654
- };
558
+ post<T>(resource: ODataResource<any>, body: any | null, options: ODataOptions & {
1655
559
  observe: 'response';
1656
- params?: HttpParams | {
1657
- [param: string]: string | string[];
1658
- };
1659
- reportProgress?: boolean;
1660
560
  responseType?: 'json';
1661
- withCredentials?: boolean;
1662
561
  }): Observable<ODataResponse<T>>;
1663
- post(resource: ODataResource<any>, body: any | null, options?: {
1664
- apiName?: string;
1665
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
1666
- headers?: HttpHeaders | {
1667
- [header: string]: string | string[];
1668
- };
562
+ post(resource: ODataResource<any>, body: any | null, options: ODataOptions & {
1669
563
  observe?: 'body';
1670
- params?: HttpParams | {
1671
- [param: string]: string | string[];
1672
- };
1673
- reportProgress?: boolean;
1674
564
  responseType?: 'json';
1675
- withCredentials?: boolean;
1676
565
  }): Observable<Object>;
1677
- post<T>(resource: ODataResource<any>, body: any | null, options?: {
1678
- apiName?: string;
1679
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
1680
- headers?: HttpHeaders | {
1681
- [header: string]: string | string[];
1682
- };
566
+ post<T>(resource: ODataResource<any>, body: any | null, options: ODataOptions & {
1683
567
  observe?: 'body';
1684
- params?: HttpParams | {
1685
- [param: string]: string | string[];
1686
- };
1687
- reportProgress?: boolean;
1688
568
  responseType?: 'json';
1689
- withCredentials?: boolean;
1690
569
  }): Observable<T>;
1691
- put(resource: ODataResource<any>, body: any | null, options?: {
1692
- etag?: string;
1693
- apiName?: string;
1694
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
1695
- headers?: HttpHeaders | {
1696
- [header: string]: string | string[];
1697
- };
570
+ put(resource: ODataResource<any>, body: any | null, options: ODataOptions & {
1698
571
  observe?: 'body';
1699
- params?: HttpParams | {
1700
- [param: string]: string | string[];
1701
- };
1702
- reportProgress?: boolean;
1703
572
  responseType: 'arraybuffer';
1704
- withCredentials?: boolean;
1705
573
  }): Observable<ArrayBuffer>;
1706
- put(resource: ODataResource<any>, body: any | null, options?: {
1707
- etag?: string;
1708
- apiName?: string;
1709
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
1710
- headers?: HttpHeaders | {
1711
- [header: string]: string | string[];
1712
- };
574
+ put(resource: ODataResource<any>, body: any | null, options: ODataOptions & {
1713
575
  observe?: 'body';
1714
- params?: HttpParams | {
1715
- [param: string]: string | string[];
1716
- };
1717
- reportProgress?: boolean;
1718
576
  responseType: 'blob';
1719
- withCredentials?: boolean;
1720
577
  }): Observable<Blob>;
1721
- put(resource: ODataResource<any>, body: any | null, options?: {
1722
- etag?: string;
1723
- apiName?: string;
1724
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
1725
- headers?: HttpHeaders | {
1726
- [header: string]: string | string[];
1727
- };
578
+ put(resource: ODataResource<any>, body: any | null, options: ODataOptions & {
1728
579
  observe?: 'body';
1729
- params?: HttpParams | {
1730
- [param: string]: string | string[];
1731
- };
1732
- reportProgress?: boolean;
1733
580
  responseType: 'text';
1734
- withCredentials?: boolean;
1735
581
  }): Observable<string>;
1736
- put(resource: ODataResource<any>, body: any | null, options?: {
1737
- etag?: string;
1738
- apiName?: string;
1739
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
1740
- headers?: HttpHeaders | {
1741
- [header: string]: string | string[];
1742
- };
582
+ put(resource: ODataResource<any>, body: any | null, options: ODataOptions & {
1743
583
  observe: 'events';
1744
- params?: HttpParams | {
1745
- [param: string]: string | string[];
1746
- };
1747
- reportProgress?: boolean;
1748
584
  responseType: 'arraybuffer';
1749
- withCredentials?: boolean;
1750
585
  }): Observable<HttpEvent<ArrayBuffer>>;
1751
- put(resource: ODataResource<any>, body: any | null, options?: {
1752
- etag?: string;
1753
- apiName?: string;
1754
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
1755
- headers?: HttpHeaders | {
1756
- [header: string]: string | string[];
1757
- };
586
+ put(resource: ODataResource<any>, body: any | null, options: ODataOptions & {
1758
587
  observe: 'events';
1759
- params?: HttpParams | {
1760
- [param: string]: string | string[];
1761
- };
1762
- reportProgress?: boolean;
1763
588
  responseType: 'blob';
1764
- withCredentials?: boolean;
1765
589
  }): Observable<HttpEvent<Blob>>;
1766
- put(resource: ODataResource<any>, body: any | null, options?: {
1767
- etag?: string;
1768
- apiName?: string;
1769
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
1770
- headers?: HttpHeaders | {
1771
- [header: string]: string | string[];
1772
- };
590
+ put(resource: ODataResource<any>, body: any | null, options: ODataOptions & {
1773
591
  observe: 'events';
1774
- params?: HttpParams | {
1775
- [param: string]: string | string[];
1776
- };
1777
- reportProgress?: boolean;
1778
592
  responseType: 'text';
1779
- withCredentials?: boolean;
1780
593
  }): Observable<HttpEvent<string>>;
1781
- put(resource: ODataResource<any>, body: any | null, options?: {
1782
- etag?: string;
1783
- apiName?: string;
1784
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
1785
- headers?: HttpHeaders | {
1786
- [header: string]: string | string[];
1787
- };
594
+ put(resource: ODataResource<any>, body: any | null, options: ODataOptions & {
1788
595
  observe: 'events';
1789
- params?: HttpParams | {
1790
- [param: string]: string | string[];
1791
- };
1792
- reportProgress?: boolean;
1793
596
  responseType?: 'json';
1794
- withCredentials?: boolean;
1795
597
  }): Observable<HttpEvent<Object>>;
1796
- put<T>(resource: ODataResource<any>, body: any | null, options?: {
1797
- etag?: string;
1798
- apiName?: string;
1799
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
1800
- headers?: HttpHeaders | {
1801
- [header: string]: string | string[];
1802
- };
598
+ put<T>(resource: ODataResource<any>, body: any | null, options: ODataOptions & {
1803
599
  observe: 'events';
1804
- params?: HttpParams | {
1805
- [param: string]: string | string[];
1806
- };
1807
- reportProgress?: boolean;
1808
600
  responseType?: 'json';
1809
- withCredentials?: boolean;
1810
601
  }): Observable<HttpEvent<T>>;
1811
- put(resource: ODataResource<any>, body: any | null, options?: {
1812
- etag?: string;
1813
- apiName?: string;
1814
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
1815
- headers?: HttpHeaders | {
1816
- [header: string]: string | string[];
1817
- };
602
+ put(resource: ODataResource<any>, body: any | null, options: ODataOptions & {
1818
603
  observe: 'response';
1819
- params?: HttpParams | {
1820
- [param: string]: string | string[];
1821
- };
1822
- reportProgress?: boolean;
1823
604
  responseType: 'arraybuffer';
1824
- withCredentials?: boolean;
1825
- }): Observable<HttpResponse<ArrayBuffer>>;
1826
- put(resource: ODataResource<any>, body: any | null, options?: {
1827
- etag?: string;
1828
- apiName?: string;
1829
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
1830
- headers?: HttpHeaders | {
1831
- [header: string]: string | string[];
1832
- };
605
+ }): Observable<ODataResponse<ArrayBuffer>>;
606
+ put(resource: ODataResource<any>, body: any | null, options: ODataOptions & {
1833
607
  observe: 'response';
1834
- params?: HttpParams | {
1835
- [param: string]: string | string[];
1836
- };
1837
- reportProgress?: boolean;
1838
608
  responseType: 'blob';
1839
- withCredentials?: boolean;
1840
- }): Observable<HttpResponse<Blob>>;
1841
- put(resource: ODataResource<any>, body: any | null, options?: {
1842
- etag?: string;
1843
- apiName?: string;
1844
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
1845
- headers?: HttpHeaders | {
1846
- [header: string]: string | string[];
1847
- };
609
+ }): Observable<ODataResponse<Blob>>;
610
+ put(resource: ODataResource<any>, body: any | null, options: ODataOptions & {
1848
611
  observe: 'response';
1849
- params?: HttpParams | {
1850
- [param: string]: string | string[];
1851
- };
1852
- reportProgress?: boolean;
1853
612
  responseType: 'text';
1854
- withCredentials?: boolean;
1855
613
  }): Observable<ODataResponse<string>>;
1856
- put(resource: ODataResource<any>, body: any | null, options?: {
1857
- etag?: string;
1858
- apiName?: string;
1859
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
1860
- headers?: HttpHeaders | {
1861
- [header: string]: string | string[];
1862
- };
614
+ put(resource: ODataResource<any>, body: any | null, options: ODataOptions & {
1863
615
  observe: 'response';
1864
- params?: HttpParams | {
1865
- [param: string]: string | string[];
1866
- };
1867
- reportProgress?: boolean;
1868
616
  responseType?: 'json';
1869
- withCredentials?: boolean;
1870
617
  }): Observable<ODataResponse<Object>>;
1871
- put<T>(resource: ODataResource<any>, body: any | null, options?: {
1872
- etag?: string;
1873
- apiName?: string;
1874
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
1875
- headers?: HttpHeaders | {
1876
- [header: string]: string | string[];
1877
- };
618
+ put<T>(resource: ODataResource<any>, body: any | null, options: ODataOptions & {
1878
619
  observe: 'response';
1879
- params?: HttpParams | {
1880
- [param: string]: string | string[];
1881
- };
1882
- reportProgress?: boolean;
1883
620
  responseType?: 'json';
1884
- withCredentials?: boolean;
1885
621
  }): Observable<ODataResponse<T>>;
1886
- put(resource: ODataResource<any>, body: any | null, options?: {
1887
- etag?: string;
1888
- apiName?: string;
1889
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
1890
- headers?: HttpHeaders | {
1891
- [header: string]: string | string[];
1892
- };
622
+ put(resource: ODataResource<any>, body: any | null, options: ODataOptions & {
1893
623
  observe?: 'body';
1894
- params?: HttpParams | {
1895
- [param: string]: string | string[];
1896
- };
1897
- reportProgress?: boolean;
1898
624
  responseType?: 'json';
1899
- withCredentials?: boolean;
1900
625
  }): Observable<Object>;
1901
- put<T>(resource: ODataResource<any>, body: any | null, options?: {
1902
- etag?: string;
1903
- apiName?: string;
1904
- fetchPolicy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'no-cache' | 'cache-only';
1905
- headers?: HttpHeaders | {
1906
- [header: string]: string | string[];
1907
- };
626
+ put<T>(resource: ODataResource<any>, body: any | null, options: ODataOptions & {
1908
627
  observe?: 'body';
1909
- params?: HttpParams | {
1910
- [param: string]: string | string[];
1911
- };
1912
- reportProgress?: boolean;
1913
628
  responseType?: 'json';
1914
- withCredentials?: boolean;
1915
629
  }): Observable<T>;
1916
630
  static ɵfac: i0.ɵɵFactoryDeclaration<ODataClient, never>;
1917
631
  static ɵprov: i0.ɵɵInjectableDeclaration<ODataClient>;