@indigina/wms-api 0.0.197 → 0.0.199
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 +53 -16
- package/fesm2022/indigina-wms-api.mjs.map +1 -1
- package/package.json +1 -1
- package/types/indigina-wms-api.d.ts +45 -22
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @indigina/wms-api@0.0.
|
|
1
|
+
# @indigina/wms-api@0.0.199
|
|
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.199 --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,
|
|
@@ -5386,6 +5389,40 @@ class DispatchesService extends BaseService {
|
|
|
5386
5389
|
reportProgress: reportProgress
|
|
5387
5390
|
});
|
|
5388
5391
|
}
|
|
5392
|
+
getStarDispatchOrderTypes(observe = 'body', reportProgress = false, options) {
|
|
5393
|
+
let localVarHeaders = this.defaultHeaders;
|
|
5394
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
5395
|
+
'application/json'
|
|
5396
|
+
]);
|
|
5397
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
5398
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
5399
|
+
}
|
|
5400
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
5401
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
5402
|
+
let responseType_ = 'json';
|
|
5403
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
5404
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
5405
|
+
responseType_ = 'text';
|
|
5406
|
+
}
|
|
5407
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
5408
|
+
responseType_ = 'json';
|
|
5409
|
+
}
|
|
5410
|
+
else {
|
|
5411
|
+
responseType_ = 'blob';
|
|
5412
|
+
}
|
|
5413
|
+
}
|
|
5414
|
+
let localVarPath = `/dispatches/star-dispatches/order-types`;
|
|
5415
|
+
const { basePath, withCredentials } = this.configuration;
|
|
5416
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
5417
|
+
context: localVarHttpContext,
|
|
5418
|
+
responseType: responseType_,
|
|
5419
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
5420
|
+
headers: localVarHeaders,
|
|
5421
|
+
observe: observe,
|
|
5422
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
5423
|
+
reportProgress: reportProgress
|
|
5424
|
+
});
|
|
5425
|
+
}
|
|
5389
5426
|
getStarDispatches($skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
|
|
5390
5427
|
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
5391
5428
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
|