@indigina/wms-api 0.0.92 → 0.0.93

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @indigina/wms-api@0.0.92
1
+ # @indigina/wms-api@0.0.93
2
2
 
3
3
  WMS API Client for Angular applications
4
4
 
@@ -24,7 +24,7 @@ Navigate to the folder of your consuming project and run one of next commands.
24
24
  _published:_
25
25
 
26
26
  ```console
27
- npm install @indigina/wms-api@0.0.92 --save
27
+ npm install @indigina/wms-api@0.0.93 --save
28
28
  ```
29
29
 
30
30
  _without publishing (not recommended):_
@@ -722,6 +722,121 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
722
722
  type: Optional
723
723
  }] }] });
724
724
 
725
+ /**
726
+ * Wms.API.Client
727
+ *
728
+ *
729
+ *
730
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
731
+ * https://openapi-generator.tech
732
+ * Do not edit the class manually.
733
+ */
734
+ /* tslint:disable:no-unused-variable member-ordering */
735
+ class CartonDeliveryItemsService extends BaseService {
736
+ httpClient;
737
+ constructor(httpClient, basePath, configuration) {
738
+ super(basePath, configuration);
739
+ this.httpClient = httpClient;
740
+ }
741
+ getCartonDeliveryItems($skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
742
+ let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
743
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $skip, '$skip');
744
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $top, '$top');
745
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $orderby, '$orderby');
746
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $filter, '$filter');
747
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $search, '$search');
748
+ let localVarHeaders = this.defaultHeaders;
749
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
750
+ 'application/json'
751
+ ]);
752
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
753
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
754
+ }
755
+ const localVarHttpContext = options?.context ?? new HttpContext();
756
+ const localVarTransferCache = options?.transferCache ?? true;
757
+ let responseType_ = 'json';
758
+ if (localVarHttpHeaderAcceptSelected) {
759
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
760
+ responseType_ = 'text';
761
+ }
762
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
763
+ responseType_ = 'json';
764
+ }
765
+ else {
766
+ responseType_ = 'blob';
767
+ }
768
+ }
769
+ let localVarPath = `/cartons/deliveryItems`;
770
+ const { basePath, withCredentials } = this.configuration;
771
+ return this.httpClient.request('get', `${basePath}${localVarPath}`, {
772
+ context: localVarHttpContext,
773
+ params: localVarQueryParameters,
774
+ responseType: responseType_,
775
+ ...(withCredentials ? { withCredentials } : {}),
776
+ headers: localVarHeaders,
777
+ observe: observe,
778
+ transferCache: localVarTransferCache,
779
+ reportProgress: reportProgress
780
+ });
781
+ }
782
+ getCartonDeliveryItemsFromIndex($skip, $top, $orderby, $filter, searchTerm, observe = 'body', reportProgress = false, options) {
783
+ let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
784
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $skip, '$skip');
785
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $top, '$top');
786
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $orderby, '$orderby');
787
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $filter, '$filter');
788
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, searchTerm, 'searchTerm');
789
+ let localVarHeaders = this.defaultHeaders;
790
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
791
+ 'application/json'
792
+ ]);
793
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
794
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
795
+ }
796
+ const localVarHttpContext = options?.context ?? new HttpContext();
797
+ const localVarTransferCache = options?.transferCache ?? true;
798
+ let responseType_ = 'json';
799
+ if (localVarHttpHeaderAcceptSelected) {
800
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
801
+ responseType_ = 'text';
802
+ }
803
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
804
+ responseType_ = 'json';
805
+ }
806
+ else {
807
+ responseType_ = 'blob';
808
+ }
809
+ }
810
+ let localVarPath = `/cartons/deliveryItems/search`;
811
+ const { basePath, withCredentials } = this.configuration;
812
+ return this.httpClient.request('get', `${basePath}${localVarPath}`, {
813
+ context: localVarHttpContext,
814
+ params: localVarQueryParameters,
815
+ responseType: responseType_,
816
+ ...(withCredentials ? { withCredentials } : {}),
817
+ headers: localVarHeaders,
818
+ observe: observe,
819
+ transferCache: localVarTransferCache,
820
+ reportProgress: reportProgress
821
+ });
822
+ }
823
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: CartonDeliveryItemsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
824
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: CartonDeliveryItemsService, providedIn: 'root' });
825
+ }
826
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: CartonDeliveryItemsService, decorators: [{
827
+ type: Injectable,
828
+ args: [{
829
+ providedIn: 'root'
830
+ }]
831
+ }], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
832
+ type: Optional
833
+ }, {
834
+ type: Inject,
835
+ args: [BASE_PATH]
836
+ }] }, { type: Configuration, decorators: [{
837
+ type: Optional
838
+ }] }] });
839
+
725
840
  /**
726
841
  * Wms.API.Client
727
842
  *
@@ -4840,7 +4955,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
4840
4955
  type: Optional
4841
4956
  }] }] });
4842
4957
 
4843
- const APIS = [AnalyticsService, CarrierProviderIntegrationsService, CartonsService, CompaniesService, DcLocationsService, DcsService, DeliveriesService, DeliveryItemsService, DispatchItemsService, DispatchesService, HealthService, NotesService, PendoService, PermissionsService, ProductMastersService, ProductQuantitiesService, ReasonsService, ReplenishmentService, SettingsService, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UserService, UsersInternalService];
4958
+ const APIS = [AnalyticsService, CarrierProviderIntegrationsService, CartonDeliveryItemsService, CartonsService, CompaniesService, DcLocationsService, DcsService, DeliveriesService, DeliveryItemsService, DispatchItemsService, DispatchesService, HealthService, NotesService, PendoService, PermissionsService, ProductMastersService, ProductQuantitiesService, ReasonsService, ReplenishmentService, SettingsService, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UserService, UsersInternalService];
4959
+
4960
+ /**
4961
+ * Wms.API.Client
4962
+ *
4963
+ *
4964
+ *
4965
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4966
+ * https://openapi-generator.tech
4967
+ * Do not edit the class manually.
4968
+ */
4844
4969
 
4845
4970
  /**
4846
4971
  * Wms.API.Client
@@ -5399,5 +5524,5 @@ function provideApi(configOrBasePath) {
5399
5524
  * Generated bundle index. Do not edit.
5400
5525
  */
5401
5526
 
5402
- export { APIS, AnalyticsService, ApiModule, BASE_PATH, COLLECTION_FORMATS, CarrierProviderIntegrationsService, CartonsService, CompaniesService, Configuration, DcLocationsService, DcsService, DeliveriesService, DeliveryItemsService, DeliveryType, DeviceType, DispatchItemsService, DispatchesService, HealthService, NoteCategory, NoteSourceType, NotesService, OrderStatus, OrderType, PackingProcesses, PendoService, PermissionsService, PickingProcesses, ProductMastersService, ProductQuantitiesService, QcType, ReasonType, ReasonsService, RecordType, ReplenishmentService, SettingsService, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UserCompanyType, UserService, UsersInternalService, provideApi };
5527
+ export { APIS, AnalyticsService, ApiModule, BASE_PATH, COLLECTION_FORMATS, CarrierProviderIntegrationsService, CartonDeliveryItemsService, CartonsService, CompaniesService, Configuration, DcLocationsService, DcsService, DeliveriesService, DeliveryItemsService, DeliveryType, DeviceType, DispatchItemsService, DispatchesService, HealthService, NoteCategory, NoteSourceType, NotesService, OrderStatus, OrderType, PackingProcesses, PendoService, PermissionsService, PickingProcesses, ProductMastersService, ProductQuantitiesService, QcType, ReasonType, ReasonsService, RecordType, ReplenishmentService, SettingsService, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UserCompanyType, UserService, UsersInternalService, provideApi };
5403
5528
  //# sourceMappingURL=indigina-wms-api.mjs.map