@indigina/wms-api 0.0.106 → 0.0.108

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -3579,6 +3579,22 @@ declare const ReplenishmentStages: {
3579
3579
  };
3580
3580
  type ReplenishmentStages = typeof ReplenishmentStages[keyof typeof ReplenishmentStages];
3581
3581
 
3582
+ /**
3583
+ * Wms.API.Client
3584
+ *
3585
+ *
3586
+ *
3587
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3588
+ * https://openapi-generator.tech
3589
+ * Do not edit the class manually.
3590
+ */
3591
+ declare const ReplenishmentStatuses: {
3592
+ readonly Active: "Active";
3593
+ readonly Complete: "Complete";
3594
+ readonly Cancel: "Cancel";
3595
+ };
3596
+ type ReplenishmentStatuses = typeof ReplenishmentStatuses[keyof typeof ReplenishmentStatuses];
3597
+
3582
3598
  /**
3583
3599
  * Wms.API.Client
3584
3600
  *
@@ -3608,6 +3624,7 @@ interface ReplenishmentRecordGridView {
3608
3624
  id: string;
3609
3625
  clientName: string;
3610
3626
  replenishmentType: ReplenishmentTypes;
3627
+ replenishmentStatus?: ReplenishmentStatuses;
3611
3628
  replenishmentTypeIdLocalizedName?: string;
3612
3629
  productCode: string;
3613
3630
  bestBeforeDate?: string | null;
@@ -3659,25 +3676,30 @@ interface ReplenishmentRecords {
3659
3676
  data: Array<ReplenishmentRecordGridView>;
3660
3677
  }
3661
3678
 
3662
- /**
3663
- * Wms.API.Client
3664
- *
3665
- *
3666
- *
3667
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3668
- * https://openapi-generator.tech
3669
- * Do not edit the class manually.
3670
- */
3671
- declare const ReplenishmentStatuses: {
3672
- readonly Active: "Active";
3673
- readonly Complete: "Complete";
3674
- readonly Cancel: "Cancel";
3675
- };
3676
- type ReplenishmentStatuses = typeof ReplenishmentStatuses[keyof typeof ReplenishmentStatuses];
3677
-
3678
3679
  declare class ReplenishmentRecordsService extends BaseService {
3679
3680
  protected httpClient: HttpClient;
3680
3681
  constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
3682
+ /**
3683
+ * Cancel a replenishment record
3684
+ * @param id
3685
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
3686
+ * @param reportProgress flag to report request and response progress.
3687
+ */
3688
+ cancelReplenishmentRecord(id: string, observe?: 'body', reportProgress?: boolean, options?: {
3689
+ httpHeaderAccept?: undefined;
3690
+ context?: HttpContext;
3691
+ transferCache?: boolean;
3692
+ }): Observable<any>;
3693
+ cancelReplenishmentRecord(id: string, observe?: 'response', reportProgress?: boolean, options?: {
3694
+ httpHeaderAccept?: undefined;
3695
+ context?: HttpContext;
3696
+ transferCache?: boolean;
3697
+ }): Observable<HttpResponse<any>>;
3698
+ cancelReplenishmentRecord(id: string, observe?: 'events', reportProgress?: boolean, options?: {
3699
+ httpHeaderAccept?: undefined;
3700
+ context?: HttpContext;
3701
+ transferCache?: boolean;
3702
+ }): Observable<HttpEvent<any>>;
3681
3703
  /**
3682
3704
  * Getting replenishment records
3683
3705
  * @param $skip
@@ -3685,26 +3707,45 @@ declare class ReplenishmentRecordsService extends BaseService {
3685
3707
  * @param $orderby
3686
3708
  * @param $filter
3687
3709
  * @param $search
3688
- * @param replenishmentStatuses List of replenishment statuses to filter by
3689
- * @param hasAllocatedUsers
3690
3710
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
3691
3711
  * @param reportProgress flag to report request and response progress.
3692
3712
  */
3693
- getReplenishmentRecords($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, replenishmentStatuses?: Array<ReplenishmentStatuses>, hasAllocatedUsers?: boolean, observe?: 'body', reportProgress?: boolean, options?: {
3713
+ getReplenishmentRecords($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'body', reportProgress?: boolean, options?: {
3694
3714
  httpHeaderAccept?: 'application/json';
3695
3715
  context?: HttpContext;
3696
3716
  transferCache?: boolean;
3697
3717
  }): Observable<ReplenishmentRecords>;
3698
- getReplenishmentRecords($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, replenishmentStatuses?: Array<ReplenishmentStatuses>, hasAllocatedUsers?: boolean, observe?: 'response', reportProgress?: boolean, options?: {
3718
+ getReplenishmentRecords($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'response', reportProgress?: boolean, options?: {
3699
3719
  httpHeaderAccept?: 'application/json';
3700
3720
  context?: HttpContext;
3701
3721
  transferCache?: boolean;
3702
3722
  }): Observable<HttpResponse<ReplenishmentRecords>>;
3703
- getReplenishmentRecords($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, replenishmentStatuses?: Array<ReplenishmentStatuses>, hasAllocatedUsers?: boolean, observe?: 'events', reportProgress?: boolean, options?: {
3723
+ getReplenishmentRecords($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'events', reportProgress?: boolean, options?: {
3704
3724
  httpHeaderAccept?: 'application/json';
3705
3725
  context?: HttpContext;
3706
3726
  transferCache?: boolean;
3707
3727
  }): Observable<HttpEvent<ReplenishmentRecords>>;
3728
+ /**
3729
+ * Unallocate a replenishment record
3730
+ * @param id
3731
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
3732
+ * @param reportProgress flag to report request and response progress.
3733
+ */
3734
+ unallocateReplenishmentRecord(id: string, observe?: 'body', reportProgress?: boolean, options?: {
3735
+ httpHeaderAccept?: undefined;
3736
+ context?: HttpContext;
3737
+ transferCache?: boolean;
3738
+ }): Observable<any>;
3739
+ unallocateReplenishmentRecord(id: string, observe?: 'response', reportProgress?: boolean, options?: {
3740
+ httpHeaderAccept?: undefined;
3741
+ context?: HttpContext;
3742
+ transferCache?: boolean;
3743
+ }): Observable<HttpResponse<any>>;
3744
+ unallocateReplenishmentRecord(id: string, observe?: 'events', reportProgress?: boolean, options?: {
3745
+ httpHeaderAccept?: undefined;
3746
+ context?: HttpContext;
3747
+ transferCache?: boolean;
3748
+ }): Observable<HttpEvent<any>>;
3708
3749
  static ɵfac: i0.ɵɵFactoryDeclaration<ReplenishmentRecordsService, [null, { optional: true; }, { optional: true; }]>;
3709
3750
  static ɵprov: i0.ɵɵInjectableDeclaration<ReplenishmentRecordsService>;
3710
3751
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indigina/wms-api",
3
- "version": "0.0.106",
3
+ "version": "0.0.108",
4
4
  "description": "OpenAPI client for @indigina/wms-api",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {