@indigina/dcm-api 0.0.20 → 0.0.21

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.
@@ -223,6 +223,270 @@ class BookingsService {
223
223
  }
224
224
  return httpParams;
225
225
  }
226
+ getDeliveriesRequireAmendConfirmationCount(observe = 'body', reportProgress = false, options) {
227
+ let localVarHeaders = this.defaultHeaders;
228
+ let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
229
+ if (localVarHttpHeaderAcceptSelected === undefined) {
230
+ // to determine the Accept header
231
+ const httpHeaderAccepts = [
232
+ 'application/json'
233
+ ];
234
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
235
+ }
236
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
237
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
238
+ }
239
+ let localVarHttpContext = options && options.context;
240
+ if (localVarHttpContext === undefined) {
241
+ localVarHttpContext = new HttpContext();
242
+ }
243
+ let localVarTransferCache = options && options.transferCache;
244
+ if (localVarTransferCache === undefined) {
245
+ localVarTransferCache = true;
246
+ }
247
+ let responseType_ = 'json';
248
+ if (localVarHttpHeaderAcceptSelected) {
249
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
250
+ responseType_ = 'text';
251
+ }
252
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
253
+ responseType_ = 'json';
254
+ }
255
+ else {
256
+ responseType_ = 'blob';
257
+ }
258
+ }
259
+ let localVarPath = `/bookings/deliveriesRequireAmendConfirmation/count`;
260
+ return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
261
+ context: localVarHttpContext,
262
+ responseType: responseType_,
263
+ withCredentials: this.configuration.withCredentials,
264
+ headers: localVarHeaders,
265
+ observe: observe,
266
+ transferCache: localVarTransferCache,
267
+ reportProgress: reportProgress
268
+ });
269
+ }
270
+ getDeliveriesRequireCancelConfirmationCount(observe = 'body', reportProgress = false, options) {
271
+ let localVarHeaders = this.defaultHeaders;
272
+ let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
273
+ if (localVarHttpHeaderAcceptSelected === undefined) {
274
+ // to determine the Accept header
275
+ const httpHeaderAccepts = [
276
+ 'application/json'
277
+ ];
278
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
279
+ }
280
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
281
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
282
+ }
283
+ let localVarHttpContext = options && options.context;
284
+ if (localVarHttpContext === undefined) {
285
+ localVarHttpContext = new HttpContext();
286
+ }
287
+ let localVarTransferCache = options && options.transferCache;
288
+ if (localVarTransferCache === undefined) {
289
+ localVarTransferCache = true;
290
+ }
291
+ let responseType_ = 'json';
292
+ if (localVarHttpHeaderAcceptSelected) {
293
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
294
+ responseType_ = 'text';
295
+ }
296
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
297
+ responseType_ = 'json';
298
+ }
299
+ else {
300
+ responseType_ = 'blob';
301
+ }
302
+ }
303
+ let localVarPath = `/bookings/deliveriesRequireCancelConfirmation/count`;
304
+ return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
305
+ context: localVarHttpContext,
306
+ responseType: responseType_,
307
+ withCredentials: this.configuration.withCredentials,
308
+ headers: localVarHeaders,
309
+ observe: observe,
310
+ transferCache: localVarTransferCache,
311
+ reportProgress: reportProgress
312
+ });
313
+ }
314
+ getDeliveriesRequireConfirmationCount(observe = 'body', reportProgress = false, options) {
315
+ let localVarHeaders = this.defaultHeaders;
316
+ let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
317
+ if (localVarHttpHeaderAcceptSelected === undefined) {
318
+ // to determine the Accept header
319
+ const httpHeaderAccepts = [
320
+ 'application/json'
321
+ ];
322
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
323
+ }
324
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
325
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
326
+ }
327
+ let localVarHttpContext = options && options.context;
328
+ if (localVarHttpContext === undefined) {
329
+ localVarHttpContext = new HttpContext();
330
+ }
331
+ let localVarTransferCache = options && options.transferCache;
332
+ if (localVarTransferCache === undefined) {
333
+ localVarTransferCache = true;
334
+ }
335
+ let responseType_ = 'json';
336
+ if (localVarHttpHeaderAcceptSelected) {
337
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
338
+ responseType_ = 'text';
339
+ }
340
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
341
+ responseType_ = 'json';
342
+ }
343
+ else {
344
+ responseType_ = 'blob';
345
+ }
346
+ }
347
+ let localVarPath = `/bookings/deliveriesRequireConfirmation/count`;
348
+ return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
349
+ context: localVarHttpContext,
350
+ responseType: responseType_,
351
+ withCredentials: this.configuration.withCredentials,
352
+ headers: localVarHeaders,
353
+ observe: observe,
354
+ transferCache: localVarTransferCache,
355
+ reportProgress: reportProgress
356
+ });
357
+ }
358
+ getDeliveriesToBookCount(observe = 'body', reportProgress = false, options) {
359
+ let localVarHeaders = this.defaultHeaders;
360
+ let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
361
+ if (localVarHttpHeaderAcceptSelected === undefined) {
362
+ // to determine the Accept header
363
+ const httpHeaderAccepts = [
364
+ 'application/json'
365
+ ];
366
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
367
+ }
368
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
369
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
370
+ }
371
+ let localVarHttpContext = options && options.context;
372
+ if (localVarHttpContext === undefined) {
373
+ localVarHttpContext = new HttpContext();
374
+ }
375
+ let localVarTransferCache = options && options.transferCache;
376
+ if (localVarTransferCache === undefined) {
377
+ localVarTransferCache = true;
378
+ }
379
+ let responseType_ = 'json';
380
+ if (localVarHttpHeaderAcceptSelected) {
381
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
382
+ responseType_ = 'text';
383
+ }
384
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
385
+ responseType_ = 'json';
386
+ }
387
+ else {
388
+ responseType_ = 'blob';
389
+ }
390
+ }
391
+ let localVarPath = `/bookings/deliveriesToBook/count`;
392
+ return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
393
+ context: localVarHttpContext,
394
+ responseType: responseType_,
395
+ withCredentials: this.configuration.withCredentials,
396
+ headers: localVarHeaders,
397
+ observe: observe,
398
+ transferCache: localVarTransferCache,
399
+ reportProgress: reportProgress
400
+ });
401
+ }
402
+ getDeliveriesToRescheduleCount(observe = 'body', reportProgress = false, options) {
403
+ let localVarHeaders = this.defaultHeaders;
404
+ let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
405
+ if (localVarHttpHeaderAcceptSelected === undefined) {
406
+ // to determine the Accept header
407
+ const httpHeaderAccepts = [
408
+ 'application/json'
409
+ ];
410
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
411
+ }
412
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
413
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
414
+ }
415
+ let localVarHttpContext = options && options.context;
416
+ if (localVarHttpContext === undefined) {
417
+ localVarHttpContext = new HttpContext();
418
+ }
419
+ let localVarTransferCache = options && options.transferCache;
420
+ if (localVarTransferCache === undefined) {
421
+ localVarTransferCache = true;
422
+ }
423
+ let responseType_ = 'json';
424
+ if (localVarHttpHeaderAcceptSelected) {
425
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
426
+ responseType_ = 'text';
427
+ }
428
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
429
+ responseType_ = 'json';
430
+ }
431
+ else {
432
+ responseType_ = 'blob';
433
+ }
434
+ }
435
+ let localVarPath = `/bookings/deliveriesToReschedule/count`;
436
+ return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
437
+ context: localVarHttpContext,
438
+ responseType: responseType_,
439
+ withCredentials: this.configuration.withCredentials,
440
+ headers: localVarHeaders,
441
+ observe: observe,
442
+ transferCache: localVarTransferCache,
443
+ reportProgress: reportProgress
444
+ });
445
+ }
446
+ getPlannedDeliveriesAndPodCount(observe = 'body', reportProgress = false, options) {
447
+ let localVarHeaders = this.defaultHeaders;
448
+ let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
449
+ if (localVarHttpHeaderAcceptSelected === undefined) {
450
+ // to determine the Accept header
451
+ const httpHeaderAccepts = [
452
+ 'application/json'
453
+ ];
454
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
455
+ }
456
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
457
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
458
+ }
459
+ let localVarHttpContext = options && options.context;
460
+ if (localVarHttpContext === undefined) {
461
+ localVarHttpContext = new HttpContext();
462
+ }
463
+ let localVarTransferCache = options && options.transferCache;
464
+ if (localVarTransferCache === undefined) {
465
+ localVarTransferCache = true;
466
+ }
467
+ let responseType_ = 'json';
468
+ if (localVarHttpHeaderAcceptSelected) {
469
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
470
+ responseType_ = 'text';
471
+ }
472
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
473
+ responseType_ = 'json';
474
+ }
475
+ else {
476
+ responseType_ = 'blob';
477
+ }
478
+ }
479
+ let localVarPath = `/bookings/plannedDeliveriesAndPod/count`;
480
+ return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
481
+ context: localVarHttpContext,
482
+ responseType: responseType_,
483
+ withCredentials: this.configuration.withCredentials,
484
+ headers: localVarHeaders,
485
+ observe: observe,
486
+ transferCache: localVarTransferCache,
487
+ reportProgress: reportProgress
488
+ });
489
+ }
226
490
  getVendorDraftBookingsCount(observe = 'body', reportProgress = false, options) {
227
491
  let localVarHeaders = this.defaultHeaders;
228
492
  let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;