@indigina/wms-api 0.0.92 → 0.0.94

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.94
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.94 --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,27 @@ 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
+ */
4969
+
4970
+ /**
4971
+ * Wms.API.Client
4972
+ *
4973
+ *
4974
+ *
4975
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4976
+ * https://openapi-generator.tech
4977
+ * Do not edit the class manually.
4978
+ */
4844
4979
 
4845
4980
  /**
4846
4981
  * Wms.API.Client
@@ -4911,6 +5046,11 @@ const APIS = [AnalyticsService, CarrierProviderIntegrationsService, CartonsServi
4911
5046
  * https://openapi-generator.tech
4912
5047
  * Do not edit the class manually.
4913
5048
  */
5049
+ const DcLocationStatus = {
5050
+ Active: 'Active',
5051
+ Suspended: 'Suspended',
5052
+ Closed: 'Closed'
5053
+ };
4914
5054
 
4915
5055
  /**
4916
5056
  * Wms.API.Client
@@ -4994,6 +5134,27 @@ const DeviceType = {
4994
5134
  * Do not edit the class manually.
4995
5135
  */
4996
5136
 
5137
+ /**
5138
+ * Wms.API.Client
5139
+ *
5140
+ *
5141
+ *
5142
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
5143
+ * https://openapi-generator.tech
5144
+ * Do not edit the class manually.
5145
+ */
5146
+ const LocationType = {
5147
+ AvailableStock: 'AvailableStock',
5148
+ CrossDock: 'CrossDock',
5149
+ Quarantine: 'Quarantine',
5150
+ Returns: 'Returns',
5151
+ WebStock: 'WebStock',
5152
+ BulkStock: 'BulkStock',
5153
+ Qc: 'QC',
5154
+ Query: 'Query',
5155
+ TestCode: 'TestCode'
5156
+ };
5157
+
4997
5158
  /**
4998
5159
  * Wms.API.Client
4999
5160
  *
@@ -5144,6 +5305,16 @@ const PickingProcesses = {
5144
5305
  * Do not edit the class manually.
5145
5306
  */
5146
5307
 
5308
+ /**
5309
+ * Wms.API.Client
5310
+ *
5311
+ *
5312
+ *
5313
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
5314
+ * https://openapi-generator.tech
5315
+ * Do not edit the class manually.
5316
+ */
5317
+
5147
5318
  /**
5148
5319
  * Wms.API.Client
5149
5320
  *
@@ -5275,6 +5446,21 @@ const RecordType = {
5275
5446
  * Do not edit the class manually.
5276
5447
  */
5277
5448
 
5449
+ /**
5450
+ * Wms.API.Client
5451
+ *
5452
+ *
5453
+ *
5454
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
5455
+ * https://openapi-generator.tech
5456
+ * Do not edit the class manually.
5457
+ */
5458
+ const StorageType = {
5459
+ PickFace: 'PickFace',
5460
+ Bulk: 'Bulk',
5461
+ CrossDock: 'CrossDock'
5462
+ };
5463
+
5278
5464
  /**
5279
5465
  * Wms.API.Client
5280
5466
  *
@@ -5399,5 +5585,5 @@ function provideApi(configOrBasePath) {
5399
5585
  * Generated bundle index. Do not edit.
5400
5586
  */
5401
5587
 
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 };
5588
+ export { APIS, AnalyticsService, ApiModule, BASE_PATH, COLLECTION_FORMATS, CarrierProviderIntegrationsService, CartonDeliveryItemsService, CartonsService, CompaniesService, Configuration, DcLocationStatus, DcLocationsService, DcsService, DeliveriesService, DeliveryItemsService, DeliveryType, DeviceType, DispatchItemsService, DispatchesService, HealthService, LocationType, NoteCategory, NoteSourceType, NotesService, OrderStatus, OrderType, PackingProcesses, PendoService, PermissionsService, PickingProcesses, ProductMastersService, ProductQuantitiesService, QcType, ReasonType, ReasonsService, RecordType, ReplenishmentService, SettingsService, StorageType, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UserCompanyType, UserService, UsersInternalService, provideApi };
5403
5589
  //# sourceMappingURL=indigina-wms-api.mjs.map