@indigina/wms-api 0.0.75 → 0.0.76

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.75
1
+ # @indigina/wms-api@0.0.76
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.75 --save
27
+ npm install @indigina/wms-api@0.0.76 --save
28
28
  ```
29
29
 
30
30
  _without publishing (not recommended):_
package/api/api.d.ts CHANGED
@@ -1,5 +1,7 @@
1
1
  export * from './analytics.service';
2
2
  import { AnalyticsService } from './analytics.service';
3
+ export * from './carrierProviderIntegrations.service';
4
+ import { CarrierProviderIntegrationsService } from './carrierProviderIntegrations.service';
3
5
  export * from './companies.service';
4
6
  import { CompaniesService } from './companies.service';
5
7
  export * from './dcs.service';
@@ -38,4 +40,4 @@ export * from './user.service';
38
40
  import { UserService } from './user.service';
39
41
  export * from './usersInternal.service';
40
42
  import { UsersInternalService } from './usersInternal.service';
41
- export declare const APIS: (typeof AnalyticsService | typeof CompaniesService | typeof DcsService | typeof DeliveriesService | typeof DeliveryItemsService | typeof DispatchItemsService | typeof DispatchesService | typeof HealthService | typeof NotesService | typeof PermissionsService | typeof ProductMastersService | typeof ProductQuantitiesService | typeof ReasonsService | typeof SettingsService | typeof SummaryService | typeof TaskCompletionTimeService | typeof TaskOperationsService | typeof TaskUserRecordsService | typeof UserService | typeof UsersInternalService)[];
43
+ export declare const APIS: (typeof AnalyticsService | typeof CarrierProviderIntegrationsService | typeof CompaniesService | typeof DcsService | typeof DeliveriesService | typeof DeliveryItemsService | typeof DispatchItemsService | typeof DispatchesService | typeof HealthService | typeof NotesService | typeof PermissionsService | typeof ProductMastersService | typeof ProductQuantitiesService | typeof ReasonsService | typeof SettingsService | typeof SummaryService | typeof TaskCompletionTimeService | typeof TaskOperationsService | typeof TaskUserRecordsService | typeof UserService | typeof UsersInternalService)[];
@@ -0,0 +1,42 @@
1
+ import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
2
+ import { Observable } from 'rxjs';
3
+ import { CarrierProviderIntegrations } from '../model/carrierProviderIntegrations';
4
+ import { Configuration } from '../configuration';
5
+ import * as i0 from "@angular/core";
6
+ export declare class CarrierProviderIntegrationsService {
7
+ protected httpClient: HttpClient;
8
+ protected basePath: string;
9
+ defaultHeaders: HttpHeaders;
10
+ configuration: Configuration;
11
+ encoder: HttpParameterCodec;
12
+ constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
13
+ private addToHttpParams;
14
+ private addToHttpParamsRecursive;
15
+ /**
16
+ * Getting carrier provider integrations
17
+ * @param $skip
18
+ * @param $top
19
+ * @param $orderby
20
+ * @param $filter
21
+ * @param $search
22
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
23
+ * @param reportProgress flag to report request and response progress.
24
+ */
25
+ getCarrierProviderIntegrations($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'body', reportProgress?: boolean, options?: {
26
+ httpHeaderAccept?: 'application/json';
27
+ context?: HttpContext;
28
+ transferCache?: boolean;
29
+ }): Observable<CarrierProviderIntegrations>;
30
+ getCarrierProviderIntegrations($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'response', reportProgress?: boolean, options?: {
31
+ httpHeaderAccept?: 'application/json';
32
+ context?: HttpContext;
33
+ transferCache?: boolean;
34
+ }): Observable<HttpResponse<CarrierProviderIntegrations>>;
35
+ getCarrierProviderIntegrations($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'events', reportProgress?: boolean, options?: {
36
+ httpHeaderAccept?: 'application/json';
37
+ context?: HttpContext;
38
+ transferCache?: boolean;
39
+ }): Observable<HttpEvent<CarrierProviderIntegrations>>;
40
+ static ɵfac: i0.ɵɵFactoryDeclaration<CarrierProviderIntegrationsService, [null, { optional: true; }, { optional: true; }]>;
41
+ static ɵprov: i0.ɵɵInjectableDeclaration<CarrierProviderIntegrationsService>;
42
+ }
@@ -711,6 +711,155 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImpor
711
711
  type: Optional
712
712
  }] }] });
713
713
 
714
+ /**
715
+ * Wms.API.Client
716
+ *
717
+ *
718
+ *
719
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
720
+ * https://openapi-generator.tech
721
+ * Do not edit the class manually.
722
+ */
723
+ /* tslint:disable:no-unused-variable member-ordering */
724
+ class CarrierProviderIntegrationsService {
725
+ httpClient;
726
+ basePath = 'http://localhost';
727
+ defaultHeaders = new HttpHeaders();
728
+ configuration = new Configuration();
729
+ encoder;
730
+ constructor(httpClient, basePath, configuration) {
731
+ this.httpClient = httpClient;
732
+ if (configuration) {
733
+ this.configuration = configuration;
734
+ }
735
+ if (typeof this.configuration.basePath !== 'string') {
736
+ const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
737
+ if (firstBasePath != undefined) {
738
+ basePath = firstBasePath;
739
+ }
740
+ if (typeof basePath !== 'string') {
741
+ basePath = this.basePath;
742
+ }
743
+ this.configuration.basePath = basePath;
744
+ }
745
+ this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
746
+ }
747
+ // @ts-ignore
748
+ addToHttpParams(httpParams, value, key) {
749
+ if (typeof value === "object" && value instanceof Date === false) {
750
+ httpParams = this.addToHttpParamsRecursive(httpParams, value);
751
+ }
752
+ else {
753
+ httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
754
+ }
755
+ return httpParams;
756
+ }
757
+ addToHttpParamsRecursive(httpParams, value, key) {
758
+ if (value == null) {
759
+ return httpParams;
760
+ }
761
+ if (typeof value === "object") {
762
+ if (Array.isArray(value)) {
763
+ value.forEach(elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));
764
+ }
765
+ else if (value instanceof Date) {
766
+ if (key != null) {
767
+ httpParams = httpParams.append(key, value.toISOString().substring(0, 10));
768
+ }
769
+ else {
770
+ throw Error("key may not be null if value is Date");
771
+ }
772
+ }
773
+ else {
774
+ Object.keys(value).forEach(k => httpParams = this.addToHttpParamsRecursive(httpParams, value[k], key != null ? `${key}.${k}` : k));
775
+ }
776
+ }
777
+ else if (key != null) {
778
+ httpParams = httpParams.append(key, value);
779
+ }
780
+ else {
781
+ throw Error("key may not be null if value is not object or array");
782
+ }
783
+ return httpParams;
784
+ }
785
+ getCarrierProviderIntegrations($skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
786
+ let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
787
+ if ($skip !== undefined && $skip !== null) {
788
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $skip, '$skip');
789
+ }
790
+ if ($top !== undefined && $top !== null) {
791
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $top, '$top');
792
+ }
793
+ if ($orderby !== undefined && $orderby !== null) {
794
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $orderby, '$orderby');
795
+ }
796
+ if ($filter !== undefined && $filter !== null) {
797
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $filter, '$filter');
798
+ }
799
+ if ($search !== undefined && $search !== null) {
800
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $search, '$search');
801
+ }
802
+ let localVarHeaders = this.defaultHeaders;
803
+ let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
804
+ if (localVarHttpHeaderAcceptSelected === undefined) {
805
+ // to determine the Accept header
806
+ const httpHeaderAccepts = [
807
+ 'application/json'
808
+ ];
809
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
810
+ }
811
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
812
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
813
+ }
814
+ let localVarHttpContext = options && options.context;
815
+ if (localVarHttpContext === undefined) {
816
+ localVarHttpContext = new HttpContext();
817
+ }
818
+ let localVarTransferCache = options && options.transferCache;
819
+ if (localVarTransferCache === undefined) {
820
+ localVarTransferCache = true;
821
+ }
822
+ let responseType_ = 'json';
823
+ if (localVarHttpHeaderAcceptSelected) {
824
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
825
+ responseType_ = 'text';
826
+ }
827
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
828
+ responseType_ = 'json';
829
+ }
830
+ else {
831
+ responseType_ = 'blob';
832
+ }
833
+ }
834
+ let localVarPath = `/carrierProviderIntegrations`;
835
+ return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
836
+ context: localVarHttpContext,
837
+ params: localVarQueryParameters,
838
+ responseType: responseType_,
839
+ withCredentials: this.configuration.withCredentials,
840
+ headers: localVarHeaders,
841
+ observe: observe,
842
+ transferCache: localVarTransferCache,
843
+ reportProgress: reportProgress
844
+ });
845
+ }
846
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: CarrierProviderIntegrationsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
847
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: CarrierProviderIntegrationsService, providedIn: 'root' });
848
+ }
849
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: CarrierProviderIntegrationsService, decorators: [{
850
+ type: Injectable,
851
+ args: [{
852
+ providedIn: 'root'
853
+ }]
854
+ }], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
855
+ type: Optional
856
+ }, {
857
+ type: Inject,
858
+ args: [BASE_PATH]
859
+ }] }, { type: Configuration, decorators: [{
860
+ type: Optional
861
+ }] }] });
862
+
714
863
  /**
715
864
  * Wms.API.Client
716
865
  *
@@ -6255,7 +6404,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImpor
6255
6404
  type: Optional
6256
6405
  }] }] });
6257
6406
 
6258
- const APIS = [AnalyticsService, CompaniesService, DcsService, DeliveriesService, DeliveryItemsService, DispatchItemsService, DispatchesService, HealthService, NotesService, PermissionsService, ProductMastersService, ProductQuantitiesService, ReasonsService, SettingsService, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UserService, UsersInternalService];
6407
+ const APIS = [AnalyticsService, CarrierProviderIntegrationsService, CompaniesService, DcsService, DeliveriesService, DeliveryItemsService, DispatchItemsService, DispatchesService, HealthService, NotesService, PermissionsService, ProductMastersService, ProductQuantitiesService, ReasonsService, SettingsService, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UserService, UsersInternalService];
6408
+
6409
+ /**
6410
+ * Wms.API.Client
6411
+ *
6412
+ *
6413
+ *
6414
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
6415
+ * https://openapi-generator.tech
6416
+ * Do not edit the class manually.
6417
+ */
6259
6418
 
6260
6419
  /**
6261
6420
  * Wms.API.Client
@@ -6736,5 +6895,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImpor
6736
6895
  * Generated bundle index. Do not edit.
6737
6896
  */
6738
6897
 
6739
- export { APIS, AnalyticsService, ApiModule, BASE_PATH, COLLECTION_FORMATS, CompaniesService, Configuration, DcsService, DeliveriesService, DeliveryItemsService, DeliveryType, DeviceType, DispatchItemsService, DispatchesService, HealthService, NoteCategory, NoteSourceType, NotesService, OrderStatus, OrderType, PackingProcess, PermissionsService, PickingProcess, ProductMastersService, ProductQuantitiesService, QcType, ReasonType, ReasonsService, RecordType, SettingsService, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UserCompanyType, UserService, UsersInternalService };
6898
+ export { APIS, AnalyticsService, ApiModule, BASE_PATH, COLLECTION_FORMATS, CarrierProviderIntegrationsService, CompaniesService, Configuration, DcsService, DeliveriesService, DeliveryItemsService, DeliveryType, DeviceType, DispatchItemsService, DispatchesService, HealthService, NoteCategory, NoteSourceType, NotesService, OrderStatus, OrderType, PackingProcess, PermissionsService, PickingProcess, ProductMastersService, ProductQuantitiesService, QcType, ReasonType, ReasonsService, RecordType, SettingsService, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UserCompanyType, UserService, UsersInternalService };
6740
6899
  //# sourceMappingURL=indigina-wms-api.mjs.map