@indigina/wms-api 0.0.196 → 0.0.198
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 +2 -2
- package/fesm2022/indigina-wms-api.mjs +98 -18
- package/fesm2022/indigina-wms-api.mjs.map +1 -1
- package/package.json +1 -1
- package/types/indigina-wms-api.d.ts +68 -25
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @indigina/wms-api@0.0.
|
|
1
|
+
# @indigina/wms-api@0.0.198
|
|
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.
|
|
27
|
+
npm install @indigina/wms-api@0.0.198 --save
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
_without publishing (not recommended):_
|
|
@@ -2239,7 +2239,13 @@ class CompaniesService extends BaseService {
|
|
|
2239
2239
|
super(basePath, configuration);
|
|
2240
2240
|
this.httpClient = httpClient;
|
|
2241
2241
|
}
|
|
2242
|
-
|
|
2242
|
+
getClients($skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
|
|
2243
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
2244
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
|
|
2245
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$top', $top, QueryParamStyle.Form, true);
|
|
2246
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$orderby', $orderby, QueryParamStyle.Form, true);
|
|
2247
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$filter', $filter, QueryParamStyle.Form, true);
|
|
2248
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$search', $search, QueryParamStyle.Form, true);
|
|
2243
2249
|
let localVarHeaders = this.defaultHeaders;
|
|
2244
2250
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
2245
2251
|
'application/json'
|
|
@@ -2261,10 +2267,11 @@ class CompaniesService extends BaseService {
|
|
|
2261
2267
|
responseType_ = 'blob';
|
|
2262
2268
|
}
|
|
2263
2269
|
}
|
|
2264
|
-
let localVarPath = `/companies/clients
|
|
2270
|
+
let localVarPath = `/companies/clients`;
|
|
2265
2271
|
const { basePath, withCredentials } = this.configuration;
|
|
2266
2272
|
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
2267
2273
|
context: localVarHttpContext,
|
|
2274
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
2268
2275
|
responseType: responseType_,
|
|
2269
2276
|
...(withCredentials ? { withCredentials } : {}),
|
|
2270
2277
|
headers: localVarHeaders,
|
|
@@ -2273,13 +2280,15 @@ class CompaniesService extends BaseService {
|
|
|
2273
2280
|
reportProgress: reportProgress
|
|
2274
2281
|
});
|
|
2275
2282
|
}
|
|
2276
|
-
|
|
2283
|
+
getCompaniesByCompanyType(companyType, $skip, $top, $orderby, $filter, observe = 'body', reportProgress = false, options) {
|
|
2284
|
+
if (companyType === null || companyType === undefined) {
|
|
2285
|
+
throw new Error('Required parameter companyType was null or undefined when calling getCompaniesByCompanyType.');
|
|
2286
|
+
}
|
|
2277
2287
|
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
2278
2288
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
|
|
2279
2289
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$top', $top, QueryParamStyle.Form, true);
|
|
2280
2290
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$orderby', $orderby, QueryParamStyle.Form, true);
|
|
2281
2291
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$filter', $filter, QueryParamStyle.Form, true);
|
|
2282
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$search', $search, QueryParamStyle.Form, true);
|
|
2283
2292
|
let localVarHeaders = this.defaultHeaders;
|
|
2284
2293
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
2285
2294
|
'application/json'
|
|
@@ -2301,7 +2310,7 @@ class CompaniesService extends BaseService {
|
|
|
2301
2310
|
responseType_ = 'blob';
|
|
2302
2311
|
}
|
|
2303
2312
|
}
|
|
2304
|
-
let localVarPath = `/companies
|
|
2313
|
+
let localVarPath = `/companies/${this.configuration.encodeParam({ name: "companyType", value: companyType, in: "path", style: "simple", explode: false, dataType: "CompanyType", dataFormat: undefined })}`;
|
|
2305
2314
|
const { basePath, withCredentials } = this.configuration;
|
|
2306
2315
|
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
2307
2316
|
context: localVarHttpContext,
|
|
@@ -2314,10 +2323,7 @@ class CompaniesService extends BaseService {
|
|
|
2314
2323
|
reportProgress: reportProgress
|
|
2315
2324
|
});
|
|
2316
2325
|
}
|
|
2317
|
-
|
|
2318
|
-
if (companyType === null || companyType === undefined) {
|
|
2319
|
-
throw new Error('Required parameter companyType was null or undefined when calling getCompaniesByCompanyType.');
|
|
2320
|
-
}
|
|
2326
|
+
getShipToCompanies($skip, $top, $orderby, $filter, observe = 'body', reportProgress = false, options) {
|
|
2321
2327
|
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
2322
2328
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
|
|
2323
2329
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$top', $top, QueryParamStyle.Form, true);
|
|
@@ -2344,7 +2350,7 @@ class CompaniesService extends BaseService {
|
|
|
2344
2350
|
responseType_ = 'blob';
|
|
2345
2351
|
}
|
|
2346
2352
|
}
|
|
2347
|
-
let localVarPath = `/companies
|
|
2353
|
+
let localVarPath = `/companies/ship-to`;
|
|
2348
2354
|
const { basePath, withCredentials } = this.configuration;
|
|
2349
2355
|
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
2350
2356
|
context: localVarHttpContext,
|
|
@@ -2357,12 +2363,9 @@ class CompaniesService extends BaseService {
|
|
|
2357
2363
|
reportProgress: reportProgress
|
|
2358
2364
|
});
|
|
2359
2365
|
}
|
|
2360
|
-
|
|
2366
|
+
getShipToCompanyLookup(searchTerm, observe = 'body', reportProgress = false, options) {
|
|
2361
2367
|
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
2362
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '
|
|
2363
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$top', $top, QueryParamStyle.Form, true);
|
|
2364
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$orderby', $orderby, QueryParamStyle.Form, true);
|
|
2365
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$filter', $filter, QueryParamStyle.Form, true);
|
|
2368
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'searchTerm', searchTerm, QueryParamStyle.Form, true);
|
|
2366
2369
|
let localVarHeaders = this.defaultHeaders;
|
|
2367
2370
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
2368
2371
|
'application/json'
|
|
@@ -2384,7 +2387,7 @@ class CompaniesService extends BaseService {
|
|
|
2384
2387
|
responseType_ = 'blob';
|
|
2385
2388
|
}
|
|
2386
2389
|
}
|
|
2387
|
-
let localVarPath = `/companies/ship-to`;
|
|
2390
|
+
let localVarPath = `/companies/ship-to/lookup`;
|
|
2388
2391
|
const { basePath, withCredentials } = this.configuration;
|
|
2389
2392
|
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
2390
2393
|
context: localVarHttpContext,
|
|
@@ -9013,6 +9016,73 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImpor
|
|
|
9013
9016
|
type: Optional
|
|
9014
9017
|
}] }] });
|
|
9015
9018
|
|
|
9019
|
+
/**
|
|
9020
|
+
* Wms.API.Client
|
|
9021
|
+
*
|
|
9022
|
+
*
|
|
9023
|
+
*
|
|
9024
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9025
|
+
* https://openapi-generator.tech
|
|
9026
|
+
* Do not edit the class manually.
|
|
9027
|
+
*/
|
|
9028
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
9029
|
+
class SystemService extends BaseService {
|
|
9030
|
+
httpClient;
|
|
9031
|
+
constructor(httpClient, basePath, configuration) {
|
|
9032
|
+
super(basePath, configuration);
|
|
9033
|
+
this.httpClient = httpClient;
|
|
9034
|
+
}
|
|
9035
|
+
getSystemInfo(observe = 'body', reportProgress = false, options) {
|
|
9036
|
+
let localVarHeaders = this.defaultHeaders;
|
|
9037
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
9038
|
+
'application/json'
|
|
9039
|
+
]);
|
|
9040
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
9041
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
9042
|
+
}
|
|
9043
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
9044
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
9045
|
+
let responseType_ = 'json';
|
|
9046
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
9047
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
9048
|
+
responseType_ = 'text';
|
|
9049
|
+
}
|
|
9050
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
9051
|
+
responseType_ = 'json';
|
|
9052
|
+
}
|
|
9053
|
+
else {
|
|
9054
|
+
responseType_ = 'blob';
|
|
9055
|
+
}
|
|
9056
|
+
}
|
|
9057
|
+
let localVarPath = `/system/info`;
|
|
9058
|
+
const { basePath, withCredentials } = this.configuration;
|
|
9059
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
9060
|
+
context: localVarHttpContext,
|
|
9061
|
+
responseType: responseType_,
|
|
9062
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
9063
|
+
headers: localVarHeaders,
|
|
9064
|
+
observe: observe,
|
|
9065
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
9066
|
+
reportProgress: reportProgress
|
|
9067
|
+
});
|
|
9068
|
+
}
|
|
9069
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: SystemService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
9070
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: SystemService, providedIn: 'root' });
|
|
9071
|
+
}
|
|
9072
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: SystemService, decorators: [{
|
|
9073
|
+
type: Injectable,
|
|
9074
|
+
args: [{
|
|
9075
|
+
providedIn: 'root'
|
|
9076
|
+
}]
|
|
9077
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
9078
|
+
type: Optional
|
|
9079
|
+
}, {
|
|
9080
|
+
type: Inject,
|
|
9081
|
+
args: [BASE_PATH]
|
|
9082
|
+
}] }, { type: Configuration, decorators: [{
|
|
9083
|
+
type: Optional
|
|
9084
|
+
}] }] });
|
|
9085
|
+
|
|
9016
9086
|
/**
|
|
9017
9087
|
* Wms.API.Client
|
|
9018
9088
|
*
|
|
@@ -11753,7 +11823,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImpor
|
|
|
11753
11823
|
type: Optional
|
|
11754
11824
|
}] }] });
|
|
11755
11825
|
|
|
11756
|
-
const APIS = [AddressesService, AnalyticsService, CarrierProviderIntegrationsService, CarrierServiceTypesService, CarriersService, CartonDeliveryItemsService, CartonMovementHistoriesService, CartonPicksService, CartonsService, ClientWaveConfigurationsService, ClusterPackingService, CompaniesService, ContactsService, CountContinuousInventoryService, CountRecordsService, DcLocationsService, DcUnitOfMeasurementService, DcsService, DeliveriesService, DeliveryItemsService, DispatchBoxTypesService, DispatchBoxesService, DispatchCarriersService, DispatchItemQuantityChangesService, DispatchItemsService, DispatchesService, HealthService, LicencePlateLabelsService, LicencePlateSerialsService, NotesService, PackageTypesService, PendoService, PermissionsService, PickSummariesService, PrintersService, ProductMasterSuppliersService, ProductMastersService, ProductQuantitiesService, ReasonsService, ReplenishmentAccessService, ReplenishmentRecordsService, ReturnedItemsService, SalesOrderItemsService, SalesOrdersService, SettingsService, StockReportsService, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UserService, UserCompaniesService, UserPrintersService, UsersInternalService, WaveConfigGroupsService, WaveConfigurationsService, WaveHistoryService, WavePickReleasesService, WavePickingAccessService, WaveSummariesService, WavesByPickReleaseIdService];
|
|
11826
|
+
const APIS = [AddressesService, AnalyticsService, CarrierProviderIntegrationsService, CarrierServiceTypesService, CarriersService, CartonDeliveryItemsService, CartonMovementHistoriesService, CartonPicksService, CartonsService, ClientWaveConfigurationsService, ClusterPackingService, CompaniesService, ContactsService, CountContinuousInventoryService, CountRecordsService, DcLocationsService, DcUnitOfMeasurementService, DcsService, DeliveriesService, DeliveryItemsService, DispatchBoxTypesService, DispatchBoxesService, DispatchCarriersService, DispatchItemQuantityChangesService, DispatchItemsService, DispatchesService, HealthService, LicencePlateLabelsService, LicencePlateSerialsService, NotesService, PackageTypesService, PendoService, PermissionsService, PickSummariesService, PrintersService, ProductMasterSuppliersService, ProductMastersService, ProductQuantitiesService, ReasonsService, ReplenishmentAccessService, ReplenishmentRecordsService, ReturnedItemsService, SalesOrderItemsService, SalesOrdersService, SettingsService, StockReportsService, SummaryService, SystemService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UserService, UserCompaniesService, UserPrintersService, UsersInternalService, WaveConfigGroupsService, WaveConfigurationsService, WaveHistoryService, WavePickReleasesService, WavePickingAccessService, WaveSummariesService, WavesByPickReleaseIdService];
|
|
11757
11827
|
|
|
11758
11828
|
/**
|
|
11759
11829
|
* Wms.API.Client
|
|
@@ -13065,6 +13135,16 @@ const StorageType = {
|
|
|
13065
13135
|
* Do not edit the class manually.
|
|
13066
13136
|
*/
|
|
13067
13137
|
|
|
13138
|
+
/**
|
|
13139
|
+
* Wms.API.Client
|
|
13140
|
+
*
|
|
13141
|
+
*
|
|
13142
|
+
*
|
|
13143
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
13144
|
+
* https://openapi-generator.tech
|
|
13145
|
+
* Do not edit the class manually.
|
|
13146
|
+
*/
|
|
13147
|
+
|
|
13068
13148
|
/**
|
|
13069
13149
|
* Wms.API.Client
|
|
13070
13150
|
*
|
|
@@ -13348,5 +13428,5 @@ function provideApi(configOrBasePath) {
|
|
|
13348
13428
|
* Generated bundle index. Do not edit.
|
|
13349
13429
|
*/
|
|
13350
13430
|
|
|
13351
|
-
export { APIS, AddressSource, AddressType, AddressesService, AnalyticsService, ApiModule, BASE_PATH, COLLECTION_FORMATS, CarrierProviderIntegrationsService, CarrierServiceTypesService, CarriersService, CartonDeliveryItemsService, CartonMovementHistoriesService, CartonPicksService, CartonsService, ClientWaveConfigurationsService, ClusterPackStatuses, ClusterPackWaveGridTypes, ClusterPackingService, CompaniesService, CompanyType, Configuration, ContactsService, CountContinuousInventoryService, CountRecordsService, CountStatusGroup, CountStatuses, CountType, DcLocationStatus, DcLocationsService, DcUnitOfMeasurementService, DcsService, DeliveriesService, DeliveryItemsService, DeliveryType, DeviceType, DispatchBoxTypesService, DispatchBoxesService, DispatchCarriersService, DispatchItemQuantityChangesService, DispatchItemsService, DispatchesService, DocumentGenerationStatuses, DocumentTypes, HealthService, LicencePlateLabelsService, LicencePlateSerialsService, LocationType, NoteCategory, NoteSourceType, NotesService, OrderStatus, OrderType, PackageTypesService, PackingProcesses, PendoService, PeopleGroup, PermissionsService, PickReleaseHistoryTypes, PickSummariesService, PickingProcesses, PrintLabelTemplates, PrintTypes, PrintersService, ProductMasterSuppliersService, ProductMastersService, ProductQuantitiesService, ProductStatus, QcType, ReasonType, ReasonsService, RecordType, ReplenishmentAccessService, ReplenishmentRecordsService, ReplenishmentStages, ReplenishmentStatuses, ReplenishmentTypes, ReprintStatuses, ReturnedItemsService, SalesOrderCompletionIssue, SalesOrderItemsService, SalesOrderTab, SalesOrdersService, SettingsService, ShipToSubtype, StockReportsService, StockStatuses, StorageType, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UnitOfMeasurementTypes, UserCompaniesService, UserCompanyType, UserPrintersService, UserService, UsersInternalService, WaveConfigGroupsService, WaveConfigurationsService, WaveHistoryService, WaveHistoryTypes, WavePickReleaseMethods, WavePickReleaseStatuses, WavePickReleasesService, WavePickingAccessService, WaveStatuses, WaveSummariesService, WavesByPickReleaseIdService, provideApi };
|
|
13431
|
+
export { APIS, AddressSource, AddressType, AddressesService, AnalyticsService, ApiModule, BASE_PATH, COLLECTION_FORMATS, CarrierProviderIntegrationsService, CarrierServiceTypesService, CarriersService, CartonDeliveryItemsService, CartonMovementHistoriesService, CartonPicksService, CartonsService, ClientWaveConfigurationsService, ClusterPackStatuses, ClusterPackWaveGridTypes, ClusterPackingService, CompaniesService, CompanyType, Configuration, ContactsService, CountContinuousInventoryService, CountRecordsService, CountStatusGroup, CountStatuses, CountType, DcLocationStatus, DcLocationsService, DcUnitOfMeasurementService, DcsService, DeliveriesService, DeliveryItemsService, DeliveryType, DeviceType, DispatchBoxTypesService, DispatchBoxesService, DispatchCarriersService, DispatchItemQuantityChangesService, DispatchItemsService, DispatchesService, DocumentGenerationStatuses, DocumentTypes, HealthService, LicencePlateLabelsService, LicencePlateSerialsService, LocationType, NoteCategory, NoteSourceType, NotesService, OrderStatus, OrderType, PackageTypesService, PackingProcesses, PendoService, PeopleGroup, PermissionsService, PickReleaseHistoryTypes, PickSummariesService, PickingProcesses, PrintLabelTemplates, PrintTypes, PrintersService, ProductMasterSuppliersService, ProductMastersService, ProductQuantitiesService, ProductStatus, QcType, ReasonType, ReasonsService, RecordType, ReplenishmentAccessService, ReplenishmentRecordsService, ReplenishmentStages, ReplenishmentStatuses, ReplenishmentTypes, ReprintStatuses, ReturnedItemsService, SalesOrderCompletionIssue, SalesOrderItemsService, SalesOrderTab, SalesOrdersService, SettingsService, ShipToSubtype, StockReportsService, StockStatuses, StorageType, SummaryService, SystemService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UnitOfMeasurementTypes, UserCompaniesService, UserCompanyType, UserPrintersService, UserService, UsersInternalService, WaveConfigGroupsService, WaveConfigurationsService, WaveHistoryService, WaveHistoryTypes, WavePickReleaseMethods, WavePickReleaseStatuses, WavePickReleasesService, WavePickingAccessService, WaveStatuses, WaveSummariesService, WavesByPickReleaseIdService, provideApi };
|
|
13352
13432
|
//# sourceMappingURL=indigina-wms-api.mjs.map
|