@indigina/wms-api 0.0.89 → 0.0.90

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.89
1
+ # @indigina/wms-api@0.0.90
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.89 --save
27
+ npm install @indigina/wms-api@0.0.90 --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 CartonsService extends BaseService {
736
+ httpClient;
737
+ constructor(httpClient, basePath, configuration) {
738
+ super(basePath, configuration);
739
+ this.httpClient = httpClient;
740
+ }
741
+ getCartons($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`;
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
+ getCartonsFromIndex($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/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: CartonsService, 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: CartonsService, providedIn: 'root' });
825
+ }
826
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: CartonsService, 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
  *
@@ -833,6 +948,80 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
833
948
  type: Optional
834
949
  }] }] });
835
950
 
951
+ /**
952
+ * Wms.API.Client
953
+ *
954
+ *
955
+ *
956
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
957
+ * https://openapi-generator.tech
958
+ * Do not edit the class manually.
959
+ */
960
+ /* tslint:disable:no-unused-variable member-ordering */
961
+ class DcLocationsService extends BaseService {
962
+ httpClient;
963
+ constructor(httpClient, basePath, configuration) {
964
+ super(basePath, configuration);
965
+ this.httpClient = httpClient;
966
+ }
967
+ getDcLocations($skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
968
+ let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
969
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $skip, '$skip');
970
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $top, '$top');
971
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $orderby, '$orderby');
972
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $filter, '$filter');
973
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $search, '$search');
974
+ let localVarHeaders = this.defaultHeaders;
975
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
976
+ 'application/json'
977
+ ]);
978
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
979
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
980
+ }
981
+ const localVarHttpContext = options?.context ?? new HttpContext();
982
+ const localVarTransferCache = options?.transferCache ?? true;
983
+ let responseType_ = 'json';
984
+ if (localVarHttpHeaderAcceptSelected) {
985
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
986
+ responseType_ = 'text';
987
+ }
988
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
989
+ responseType_ = 'json';
990
+ }
991
+ else {
992
+ responseType_ = 'blob';
993
+ }
994
+ }
995
+ let localVarPath = `/dcLocations`;
996
+ const { basePath, withCredentials } = this.configuration;
997
+ return this.httpClient.request('get', `${basePath}${localVarPath}`, {
998
+ context: localVarHttpContext,
999
+ params: localVarQueryParameters,
1000
+ responseType: responseType_,
1001
+ ...(withCredentials ? { withCredentials } : {}),
1002
+ headers: localVarHeaders,
1003
+ observe: observe,
1004
+ transferCache: localVarTransferCache,
1005
+ reportProgress: reportProgress
1006
+ });
1007
+ }
1008
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DcLocationsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1009
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DcLocationsService, providedIn: 'root' });
1010
+ }
1011
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DcLocationsService, decorators: [{
1012
+ type: Injectable,
1013
+ args: [{
1014
+ providedIn: 'root'
1015
+ }]
1016
+ }], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
1017
+ type: Optional
1018
+ }, {
1019
+ type: Inject,
1020
+ args: [BASE_PATH]
1021
+ }] }, { type: Configuration, decorators: [{
1022
+ type: Optional
1023
+ }] }] });
1024
+
836
1025
  /**
837
1026
  * Wms.API.Client
838
1027
  *
@@ -4616,7 +4805,27 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
4616
4805
  type: Optional
4617
4806
  }] }] });
4618
4807
 
4619
- const APIS = [AnalyticsService, CarrierProviderIntegrationsService, CompaniesService, DcsService, DeliveriesService, DeliveryItemsService, DispatchItemsService, DispatchesService, HealthService, NotesService, PendoService, PermissionsService, ProductMastersService, ProductQuantitiesService, ReasonsService, ReplenishmentService, SettingsService, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UserService, UsersInternalService];
4808
+ 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];
4809
+
4810
+ /**
4811
+ * Wms.API.Client
4812
+ *
4813
+ *
4814
+ *
4815
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4816
+ * https://openapi-generator.tech
4817
+ * Do not edit the class manually.
4818
+ */
4819
+
4820
+ /**
4821
+ * Wms.API.Client
4822
+ *
4823
+ *
4824
+ *
4825
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4826
+ * https://openapi-generator.tech
4827
+ * Do not edit the class manually.
4828
+ */
4620
4829
 
4621
4830
  /**
4622
4831
  * Wms.API.Client
@@ -5155,5 +5364,5 @@ function provideApi(configOrBasePath) {
5155
5364
  * Generated bundle index. Do not edit.
5156
5365
  */
5157
5366
 
5158
- export { APIS, AnalyticsService, ApiModule, BASE_PATH, COLLECTION_FORMATS, CarrierProviderIntegrationsService, CompaniesService, Configuration, 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 };
5367
+ 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 };
5159
5368
  //# sourceMappingURL=indigina-wms-api.mjs.map