@indigina/wms-api 0.0.181 → 0.0.182

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.181
1
+ # @indigina/wms-api@0.0.182
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.181 --save
27
+ npm install @indigina/wms-api@0.0.182 --save
28
28
  ```
29
29
 
30
30
  _without publishing (not recommended):_
@@ -2250,6 +2250,49 @@ class CompaniesService extends BaseService {
2250
2250
  reportProgress: reportProgress
2251
2251
  });
2252
2252
  }
2253
+ getCompaniesByCompanyType(companyType, $skip, $top, $orderby, $filter, observe = 'body', reportProgress = false, options) {
2254
+ if (companyType === null || companyType === undefined) {
2255
+ throw new Error('Required parameter companyType was null or undefined when calling getCompaniesByCompanyType.');
2256
+ }
2257
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
2258
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
2259
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$top', $top, QueryParamStyle.Form, true);
2260
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$orderby', $orderby, QueryParamStyle.Form, true);
2261
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$filter', $filter, QueryParamStyle.Form, true);
2262
+ let localVarHeaders = this.defaultHeaders;
2263
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
2264
+ 'application/json'
2265
+ ]);
2266
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
2267
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
2268
+ }
2269
+ const localVarHttpContext = options?.context ?? new HttpContext();
2270
+ const localVarTransferCache = options?.transferCache ?? true;
2271
+ let responseType_ = 'json';
2272
+ if (localVarHttpHeaderAcceptSelected) {
2273
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
2274
+ responseType_ = 'text';
2275
+ }
2276
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
2277
+ responseType_ = 'json';
2278
+ }
2279
+ else {
2280
+ responseType_ = 'blob';
2281
+ }
2282
+ }
2283
+ let localVarPath = `/companies/${this.configuration.encodeParam({ name: "companyType", value: companyType, in: "path", style: "simple", explode: false, dataType: "CompanyType", dataFormat: undefined })}`;
2284
+ const { basePath, withCredentials } = this.configuration;
2285
+ return this.httpClient.request('get', `${basePath}${localVarPath}`, {
2286
+ context: localVarHttpContext,
2287
+ params: localVarQueryParameters.toHttpParams(),
2288
+ responseType: responseType_,
2289
+ ...(withCredentials ? { withCredentials } : {}),
2290
+ headers: localVarHeaders,
2291
+ observe: observe,
2292
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
2293
+ reportProgress: reportProgress
2294
+ });
2295
+ }
2253
2296
  getShipToCompanies($skip, $top, $orderby, $filter, observe = 'body', reportProgress = false, options) {
2254
2297
  let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
2255
2298
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
@@ -10859,6 +10902,38 @@ const ClusterPackWaveGridTypes = {
10859
10902
  * Do not edit the class manually.
10860
10903
  */
10861
10904
 
10905
+ /**
10906
+ * Wms.API.Client
10907
+ *
10908
+ *
10909
+ *
10910
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10911
+ * https://openapi-generator.tech
10912
+ * Do not edit the class manually.
10913
+ */
10914
+ const CompanyType = {
10915
+ Carrier: 'Carrier',
10916
+ TransportServices: 'TransportServices',
10917
+ Company: 'Company',
10918
+ Vendor: 'Vendor',
10919
+ Customer: 'Customer',
10920
+ ShippingAgent: 'ShippingAgent',
10921
+ ShipFrom: 'ShipFrom',
10922
+ OriginAgent: 'OriginAgent',
10923
+ ShipTo: 'ShipTo',
10924
+ BuyingAgent: 'BuyingAgent',
10925
+ Seller: 'Seller',
10926
+ DistributionCentre: 'DistributionCentre',
10927
+ Client: 'Client',
10928
+ SysAdmin: 'SysAdmin',
10929
+ LocalAgent: 'LocalAgent',
10930
+ CarrierProvider: 'CarrierProvider',
10931
+ WholesaleCustomer: 'WholesaleCustomer',
10932
+ WebCustomer: 'WebCustomer',
10933
+ DestinationAgent: 'DestinationAgent',
10934
+ ForwardingAgent: 'ForwardingAgent'
10935
+ };
10936
+
10862
10937
  /**
10863
10938
  * Wms.API.Client
10864
10939
  *
@@ -11978,5 +12053,5 @@ function provideApi(configOrBasePath) {
11978
12053
  * Generated bundle index. Do not edit.
11979
12054
  */
11980
12055
 
11981
- export { APIS, AddressSource, AddressType, AddressesService, AnalyticsService, ApiModule, BASE_PATH, COLLECTION_FORMATS, CarrierProviderIntegrationsService, CarriersService, CartonDeliveryItemsService, CartonMovementHistoriesService, CartonPicksService, CartonsService, ClientWaveConfigurationsService, ClusterPackStatuses, ClusterPackWaveGridTypes, ClusterPackingService, CompaniesService, Configuration, ContactsService, CountRecordsService, CountStatusGroup, CountStatuses, CountType, DcLocationStatus, DcLocationsService, DcUnitOfMeasurementService, DcsService, DeliveriesService, DeliveryItemsService, DeliveryType, DeviceType, DispatchBoxTypesService, DispatchBoxesService, DispatchCarriersService, DispatchItemQuantityChangesService, DispatchItemsService, DispatchesService, DocumentGenerationStatuses, DocumentTypes, HealthService, LicencePlateSerialsService, LocationType, NoteCategory, NoteSourceType, NotesService, OrderStatus, OrderType, PackageTypesService, PackingProcesses, PendoService, PeopleGroup, PermissionsService, PickReleaseHistoryTypes, PickSummariesService, PickingProcesses, PrintTypes, PrintersService, ProductMasterSuppliersService, ProductMastersService, ProductQuantitiesService, ProductStatus, QcType, ReasonType, ReasonsService, RecordType, ReplenishmentAccessService, ReplenishmentRecordsService, ReplenishmentStages, ReplenishmentStatuses, ReplenishmentTypes, ReprintStatuses, ReturnedItemsService, SalesOrderItemsService, SalesOrdersService, SettingsService, ShipToSubtype, StorageType, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UnitOfMeasurementTypes, UserCompaniesService, UserCompanyType, UserPrintersService, UserService, UsersInternalService, WaveConfigGroupsService, WaveConfigurationsService, WaveHistoryService, WaveHistoryTypes, WavePickReleaseMethods, WavePickReleaseStatuses, WavePickReleasesService, WavePickingAccessService, WaveStatuses, WaveSummariesService, WavesByPickReleaseIdService, provideApi };
12056
+ export { APIS, AddressSource, AddressType, AddressesService, AnalyticsService, ApiModule, BASE_PATH, COLLECTION_FORMATS, CarrierProviderIntegrationsService, CarriersService, CartonDeliveryItemsService, CartonMovementHistoriesService, CartonPicksService, CartonsService, ClientWaveConfigurationsService, ClusterPackStatuses, ClusterPackWaveGridTypes, ClusterPackingService, CompaniesService, CompanyType, Configuration, ContactsService, CountRecordsService, CountStatusGroup, CountStatuses, CountType, DcLocationStatus, DcLocationsService, DcUnitOfMeasurementService, DcsService, DeliveriesService, DeliveryItemsService, DeliveryType, DeviceType, DispatchBoxTypesService, DispatchBoxesService, DispatchCarriersService, DispatchItemQuantityChangesService, DispatchItemsService, DispatchesService, DocumentGenerationStatuses, DocumentTypes, HealthService, LicencePlateSerialsService, LocationType, NoteCategory, NoteSourceType, NotesService, OrderStatus, OrderType, PackageTypesService, PackingProcesses, PendoService, PeopleGroup, PermissionsService, PickReleaseHistoryTypes, PickSummariesService, PickingProcesses, PrintTypes, PrintersService, ProductMasterSuppliersService, ProductMastersService, ProductQuantitiesService, ProductStatus, QcType, ReasonType, ReasonsService, RecordType, ReplenishmentAccessService, ReplenishmentRecordsService, ReplenishmentStages, ReplenishmentStatuses, ReplenishmentTypes, ReprintStatuses, ReturnedItemsService, SalesOrderItemsService, SalesOrdersService, SettingsService, ShipToSubtype, StorageType, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UnitOfMeasurementTypes, UserCompaniesService, UserCompanyType, UserPrintersService, UserService, UsersInternalService, WaveConfigGroupsService, WaveConfigurationsService, WaveHistoryService, WaveHistoryTypes, WavePickReleaseMethods, WavePickReleaseStatuses, WavePickReleasesService, WavePickingAccessService, WaveStatuses, WaveSummariesService, WavesByPickReleaseIdService, provideApi };
11982
12057
  //# sourceMappingURL=indigina-wms-api.mjs.map