@indigina/wms-api 0.0.181 → 0.0.183
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 +482 -2
- package/fesm2022/indigina-wms-api.mjs.map +1 -1
- package/package.json +1 -1
- package/types/indigina-wms-api.d.ts +391 -3
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @indigina/wms-api@0.0.
|
|
1
|
+
# @indigina/wms-api@0.0.183
|
|
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.183 --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);
|
|
@@ -2423,6 +2466,361 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
|
|
|
2423
2466
|
type: Optional
|
|
2424
2467
|
}] }] });
|
|
2425
2468
|
|
|
2469
|
+
/**
|
|
2470
|
+
* Wms.API.Client
|
|
2471
|
+
*
|
|
2472
|
+
*
|
|
2473
|
+
*
|
|
2474
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2475
|
+
* https://openapi-generator.tech
|
|
2476
|
+
* Do not edit the class manually.
|
|
2477
|
+
*/
|
|
2478
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
2479
|
+
class CountContinuousInventoryService extends BaseService {
|
|
2480
|
+
httpClient;
|
|
2481
|
+
constructor(httpClient, basePath, configuration) {
|
|
2482
|
+
super(basePath, configuration);
|
|
2483
|
+
this.httpClient = httpClient;
|
|
2484
|
+
}
|
|
2485
|
+
activateCountContinuousInventory(id, observe = 'body', reportProgress = false, options) {
|
|
2486
|
+
if (id === null || id === undefined) {
|
|
2487
|
+
throw new Error('Required parameter id was null or undefined when calling activateCountContinuousInventory.');
|
|
2488
|
+
}
|
|
2489
|
+
let localVarHeaders = this.defaultHeaders;
|
|
2490
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
2491
|
+
'application/json'
|
|
2492
|
+
]);
|
|
2493
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2494
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
2495
|
+
}
|
|
2496
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
2497
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
2498
|
+
let responseType_ = 'json';
|
|
2499
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
2500
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
2501
|
+
responseType_ = 'text';
|
|
2502
|
+
}
|
|
2503
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2504
|
+
responseType_ = 'json';
|
|
2505
|
+
}
|
|
2506
|
+
else {
|
|
2507
|
+
responseType_ = 'blob';
|
|
2508
|
+
}
|
|
2509
|
+
}
|
|
2510
|
+
let localVarPath = `/CountContinuousInventories/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}/activate`;
|
|
2511
|
+
const { basePath, withCredentials } = this.configuration;
|
|
2512
|
+
return this.httpClient.request('put', `${basePath}${localVarPath}`, {
|
|
2513
|
+
context: localVarHttpContext,
|
|
2514
|
+
responseType: responseType_,
|
|
2515
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
2516
|
+
headers: localVarHeaders,
|
|
2517
|
+
observe: observe,
|
|
2518
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
2519
|
+
reportProgress: reportProgress
|
|
2520
|
+
});
|
|
2521
|
+
}
|
|
2522
|
+
createCountContinuousInventory(createCountContinuousInventory, observe = 'body', reportProgress = false, options) {
|
|
2523
|
+
if (createCountContinuousInventory === null || createCountContinuousInventory === undefined) {
|
|
2524
|
+
throw new Error('Required parameter createCountContinuousInventory was null or undefined when calling createCountContinuousInventory.');
|
|
2525
|
+
}
|
|
2526
|
+
let localVarHeaders = this.defaultHeaders;
|
|
2527
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
2528
|
+
'application/json'
|
|
2529
|
+
]);
|
|
2530
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2531
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
2532
|
+
}
|
|
2533
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
2534
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
2535
|
+
// to determine the Content-Type header
|
|
2536
|
+
const consumes = [
|
|
2537
|
+
'application/json'
|
|
2538
|
+
];
|
|
2539
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
2540
|
+
if (httpContentTypeSelected !== undefined) {
|
|
2541
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
2542
|
+
}
|
|
2543
|
+
let responseType_ = 'json';
|
|
2544
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
2545
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
2546
|
+
responseType_ = 'text';
|
|
2547
|
+
}
|
|
2548
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2549
|
+
responseType_ = 'json';
|
|
2550
|
+
}
|
|
2551
|
+
else {
|
|
2552
|
+
responseType_ = 'blob';
|
|
2553
|
+
}
|
|
2554
|
+
}
|
|
2555
|
+
let localVarPath = `/CountContinuousInventories`;
|
|
2556
|
+
const { basePath, withCredentials } = this.configuration;
|
|
2557
|
+
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
2558
|
+
context: localVarHttpContext,
|
|
2559
|
+
body: createCountContinuousInventory,
|
|
2560
|
+
responseType: responseType_,
|
|
2561
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
2562
|
+
headers: localVarHeaders,
|
|
2563
|
+
observe: observe,
|
|
2564
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
2565
|
+
reportProgress: reportProgress
|
|
2566
|
+
});
|
|
2567
|
+
}
|
|
2568
|
+
deleteCountContinuousInventory(id, observe = 'body', reportProgress = false, options) {
|
|
2569
|
+
if (id === null || id === undefined) {
|
|
2570
|
+
throw new Error('Required parameter id was null or undefined when calling deleteCountContinuousInventory.');
|
|
2571
|
+
}
|
|
2572
|
+
let localVarHeaders = this.defaultHeaders;
|
|
2573
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
2574
|
+
'application/json'
|
|
2575
|
+
]);
|
|
2576
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2577
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
2578
|
+
}
|
|
2579
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
2580
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
2581
|
+
let responseType_ = 'json';
|
|
2582
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
2583
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
2584
|
+
responseType_ = 'text';
|
|
2585
|
+
}
|
|
2586
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2587
|
+
responseType_ = 'json';
|
|
2588
|
+
}
|
|
2589
|
+
else {
|
|
2590
|
+
responseType_ = 'blob';
|
|
2591
|
+
}
|
|
2592
|
+
}
|
|
2593
|
+
let localVarPath = `/CountContinuousInventories/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}`;
|
|
2594
|
+
const { basePath, withCredentials } = this.configuration;
|
|
2595
|
+
return this.httpClient.request('delete', `${basePath}${localVarPath}`, {
|
|
2596
|
+
context: localVarHttpContext,
|
|
2597
|
+
responseType: responseType_,
|
|
2598
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
2599
|
+
headers: localVarHeaders,
|
|
2600
|
+
observe: observe,
|
|
2601
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
2602
|
+
reportProgress: reportProgress
|
|
2603
|
+
});
|
|
2604
|
+
}
|
|
2605
|
+
getCountContinuousInventories($skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
|
|
2606
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
2607
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
|
|
2608
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$top', $top, QueryParamStyle.Form, true);
|
|
2609
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$orderby', $orderby, QueryParamStyle.Form, true);
|
|
2610
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$filter', $filter, QueryParamStyle.Form, true);
|
|
2611
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$search', $search, QueryParamStyle.Form, true);
|
|
2612
|
+
let localVarHeaders = this.defaultHeaders;
|
|
2613
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
2614
|
+
'application/json'
|
|
2615
|
+
]);
|
|
2616
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2617
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
2618
|
+
}
|
|
2619
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
2620
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
2621
|
+
let responseType_ = 'json';
|
|
2622
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
2623
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
2624
|
+
responseType_ = 'text';
|
|
2625
|
+
}
|
|
2626
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2627
|
+
responseType_ = 'json';
|
|
2628
|
+
}
|
|
2629
|
+
else {
|
|
2630
|
+
responseType_ = 'blob';
|
|
2631
|
+
}
|
|
2632
|
+
}
|
|
2633
|
+
let localVarPath = `/CountContinuousInventories`;
|
|
2634
|
+
const { basePath, withCredentials } = this.configuration;
|
|
2635
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
2636
|
+
context: localVarHttpContext,
|
|
2637
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
2638
|
+
responseType: responseType_,
|
|
2639
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
2640
|
+
headers: localVarHeaders,
|
|
2641
|
+
observe: observe,
|
|
2642
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
2643
|
+
reportProgress: reportProgress
|
|
2644
|
+
});
|
|
2645
|
+
}
|
|
2646
|
+
getCountContinuousInventoriesFromIndex($skip, $top, $orderby, $filter, searchTerm, observe = 'body', reportProgress = false, options) {
|
|
2647
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
2648
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
|
|
2649
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$top', $top, QueryParamStyle.Form, true);
|
|
2650
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$orderby', $orderby, QueryParamStyle.Form, true);
|
|
2651
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$filter', $filter, QueryParamStyle.Form, true);
|
|
2652
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'searchTerm', searchTerm, QueryParamStyle.Form, true);
|
|
2653
|
+
let localVarHeaders = this.defaultHeaders;
|
|
2654
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
2655
|
+
'application/json'
|
|
2656
|
+
]);
|
|
2657
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2658
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
2659
|
+
}
|
|
2660
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
2661
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
2662
|
+
let responseType_ = 'json';
|
|
2663
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
2664
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
2665
|
+
responseType_ = 'text';
|
|
2666
|
+
}
|
|
2667
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2668
|
+
responseType_ = 'json';
|
|
2669
|
+
}
|
|
2670
|
+
else {
|
|
2671
|
+
responseType_ = 'blob';
|
|
2672
|
+
}
|
|
2673
|
+
}
|
|
2674
|
+
let localVarPath = `/CountContinuousInventories/search`;
|
|
2675
|
+
const { basePath, withCredentials } = this.configuration;
|
|
2676
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
2677
|
+
context: localVarHttpContext,
|
|
2678
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
2679
|
+
responseType: responseType_,
|
|
2680
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
2681
|
+
headers: localVarHeaders,
|
|
2682
|
+
observe: observe,
|
|
2683
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
2684
|
+
reportProgress: reportProgress
|
|
2685
|
+
});
|
|
2686
|
+
}
|
|
2687
|
+
getCountContinuousInventoryClients(observe = 'body', reportProgress = false, options) {
|
|
2688
|
+
let localVarHeaders = this.defaultHeaders;
|
|
2689
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
2690
|
+
'application/json'
|
|
2691
|
+
]);
|
|
2692
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2693
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
2694
|
+
}
|
|
2695
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
2696
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
2697
|
+
let responseType_ = 'json';
|
|
2698
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
2699
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
2700
|
+
responseType_ = 'text';
|
|
2701
|
+
}
|
|
2702
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2703
|
+
responseType_ = 'json';
|
|
2704
|
+
}
|
|
2705
|
+
else {
|
|
2706
|
+
responseType_ = 'blob';
|
|
2707
|
+
}
|
|
2708
|
+
}
|
|
2709
|
+
let localVarPath = `/CountContinuousInventories/clients`;
|
|
2710
|
+
const { basePath, withCredentials } = this.configuration;
|
|
2711
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
2712
|
+
context: localVarHttpContext,
|
|
2713
|
+
responseType: responseType_,
|
|
2714
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
2715
|
+
headers: localVarHeaders,
|
|
2716
|
+
observe: observe,
|
|
2717
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
2718
|
+
reportProgress: reportProgress
|
|
2719
|
+
});
|
|
2720
|
+
}
|
|
2721
|
+
pauseCountContinuousInventory(id, observe = 'body', reportProgress = false, options) {
|
|
2722
|
+
if (id === null || id === undefined) {
|
|
2723
|
+
throw new Error('Required parameter id was null or undefined when calling pauseCountContinuousInventory.');
|
|
2724
|
+
}
|
|
2725
|
+
let localVarHeaders = this.defaultHeaders;
|
|
2726
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
2727
|
+
'application/json'
|
|
2728
|
+
]);
|
|
2729
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2730
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
2731
|
+
}
|
|
2732
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
2733
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
2734
|
+
let responseType_ = 'json';
|
|
2735
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
2736
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
2737
|
+
responseType_ = 'text';
|
|
2738
|
+
}
|
|
2739
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2740
|
+
responseType_ = 'json';
|
|
2741
|
+
}
|
|
2742
|
+
else {
|
|
2743
|
+
responseType_ = 'blob';
|
|
2744
|
+
}
|
|
2745
|
+
}
|
|
2746
|
+
let localVarPath = `/CountContinuousInventories/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}/pause`;
|
|
2747
|
+
const { basePath, withCredentials } = this.configuration;
|
|
2748
|
+
return this.httpClient.request('put', `${basePath}${localVarPath}`, {
|
|
2749
|
+
context: localVarHttpContext,
|
|
2750
|
+
responseType: responseType_,
|
|
2751
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
2752
|
+
headers: localVarHeaders,
|
|
2753
|
+
observe: observe,
|
|
2754
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
2755
|
+
reportProgress: reportProgress
|
|
2756
|
+
});
|
|
2757
|
+
}
|
|
2758
|
+
updateCountContinuousInventory(id, updateCountContinuousInventory, observe = 'body', reportProgress = false, options) {
|
|
2759
|
+
if (id === null || id === undefined) {
|
|
2760
|
+
throw new Error('Required parameter id was null or undefined when calling updateCountContinuousInventory.');
|
|
2761
|
+
}
|
|
2762
|
+
if (updateCountContinuousInventory === null || updateCountContinuousInventory === undefined) {
|
|
2763
|
+
throw new Error('Required parameter updateCountContinuousInventory was null or undefined when calling updateCountContinuousInventory.');
|
|
2764
|
+
}
|
|
2765
|
+
let localVarHeaders = this.defaultHeaders;
|
|
2766
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
2767
|
+
'application/json'
|
|
2768
|
+
]);
|
|
2769
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2770
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
2771
|
+
}
|
|
2772
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
2773
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
2774
|
+
// to determine the Content-Type header
|
|
2775
|
+
const consumes = [
|
|
2776
|
+
'application/json'
|
|
2777
|
+
];
|
|
2778
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
2779
|
+
if (httpContentTypeSelected !== undefined) {
|
|
2780
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
2781
|
+
}
|
|
2782
|
+
let responseType_ = 'json';
|
|
2783
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
2784
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
2785
|
+
responseType_ = 'text';
|
|
2786
|
+
}
|
|
2787
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2788
|
+
responseType_ = 'json';
|
|
2789
|
+
}
|
|
2790
|
+
else {
|
|
2791
|
+
responseType_ = 'blob';
|
|
2792
|
+
}
|
|
2793
|
+
}
|
|
2794
|
+
let localVarPath = `/CountContinuousInventories/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}`;
|
|
2795
|
+
const { basePath, withCredentials } = this.configuration;
|
|
2796
|
+
return this.httpClient.request('put', `${basePath}${localVarPath}`, {
|
|
2797
|
+
context: localVarHttpContext,
|
|
2798
|
+
body: updateCountContinuousInventory,
|
|
2799
|
+
responseType: responseType_,
|
|
2800
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
2801
|
+
headers: localVarHeaders,
|
|
2802
|
+
observe: observe,
|
|
2803
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
2804
|
+
reportProgress: reportProgress
|
|
2805
|
+
});
|
|
2806
|
+
}
|
|
2807
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: CountContinuousInventoryService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2808
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: CountContinuousInventoryService, providedIn: 'root' });
|
|
2809
|
+
}
|
|
2810
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: CountContinuousInventoryService, decorators: [{
|
|
2811
|
+
type: Injectable,
|
|
2812
|
+
args: [{
|
|
2813
|
+
providedIn: 'root'
|
|
2814
|
+
}]
|
|
2815
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
2816
|
+
type: Optional
|
|
2817
|
+
}, {
|
|
2818
|
+
type: Inject,
|
|
2819
|
+
args: [BASE_PATH]
|
|
2820
|
+
}] }, { type: Configuration, decorators: [{
|
|
2821
|
+
type: Optional
|
|
2822
|
+
}] }] });
|
|
2823
|
+
|
|
2426
2824
|
/**
|
|
2427
2825
|
* Wms.API.Client
|
|
2428
2826
|
*
|
|
@@ -10596,7 +10994,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
|
|
|
10596
10994
|
type: Optional
|
|
10597
10995
|
}] }] });
|
|
10598
10996
|
|
|
10599
|
-
const APIS = [AddressesService, AnalyticsService, CarrierProviderIntegrationsService, CarriersService, CartonDeliveryItemsService, CartonMovementHistoriesService, CartonPicksService, CartonsService, ClientWaveConfigurationsService, ClusterPackingService, CompaniesService, ContactsService, CountRecordsService, DcLocationsService, DcUnitOfMeasurementService, DcsService, DeliveriesService, DeliveryItemsService, DispatchBoxTypesService, DispatchBoxesService, DispatchCarriersService, DispatchItemQuantityChangesService, DispatchItemsService, DispatchesService, HealthService, LicencePlateSerialsService, NotesService, PackageTypesService, PendoService, PermissionsService, PickSummariesService, PrintersService, ProductMasterSuppliersService, ProductMastersService, ProductQuantitiesService, ReasonsService, ReplenishmentAccessService, ReplenishmentRecordsService, ReturnedItemsService, SalesOrderItemsService, SalesOrdersService, SettingsService, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UserService, UserCompaniesService, UserPrintersService, UsersInternalService, WaveConfigGroupsService, WaveConfigurationsService, WaveHistoryService, WavePickReleasesService, WavePickingAccessService, WaveSummariesService, WavesByPickReleaseIdService];
|
|
10997
|
+
const APIS = [AddressesService, AnalyticsService, CarrierProviderIntegrationsService, CarriersService, CartonDeliveryItemsService, CartonMovementHistoriesService, CartonPicksService, CartonsService, ClientWaveConfigurationsService, ClusterPackingService, CompaniesService, ContactsService, CountContinuousInventoryService, CountRecordsService, DcLocationsService, DcUnitOfMeasurementService, DcsService, DeliveriesService, DeliveryItemsService, DispatchBoxTypesService, DispatchBoxesService, DispatchCarriersService, DispatchItemQuantityChangesService, DispatchItemsService, DispatchesService, HealthService, LicencePlateSerialsService, NotesService, PackageTypesService, PendoService, PermissionsService, PickSummariesService, PrintersService, ProductMasterSuppliersService, ProductMastersService, ProductQuantitiesService, ReasonsService, ReplenishmentAccessService, ReplenishmentRecordsService, ReturnedItemsService, SalesOrderItemsService, SalesOrdersService, SettingsService, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UserService, UserCompaniesService, UserPrintersService, UsersInternalService, WaveConfigGroupsService, WaveConfigurationsService, WaveHistoryService, WavePickReleasesService, WavePickingAccessService, WaveSummariesService, WavesByPickReleaseIdService];
|
|
10600
10998
|
|
|
10601
10999
|
/**
|
|
10602
11000
|
* Wms.API.Client
|
|
@@ -10829,6 +11227,68 @@ const ClusterPackWaveGridTypes = {
|
|
|
10829
11227
|
* Do not edit the class manually.
|
|
10830
11228
|
*/
|
|
10831
11229
|
|
|
11230
|
+
/**
|
|
11231
|
+
* Wms.API.Client
|
|
11232
|
+
*
|
|
11233
|
+
*
|
|
11234
|
+
*
|
|
11235
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11236
|
+
* https://openapi-generator.tech
|
|
11237
|
+
* Do not edit the class manually.
|
|
11238
|
+
*/
|
|
11239
|
+
|
|
11240
|
+
/**
|
|
11241
|
+
* Wms.API.Client
|
|
11242
|
+
*
|
|
11243
|
+
*
|
|
11244
|
+
*
|
|
11245
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11246
|
+
* https://openapi-generator.tech
|
|
11247
|
+
* Do not edit the class manually.
|
|
11248
|
+
*/
|
|
11249
|
+
|
|
11250
|
+
/**
|
|
11251
|
+
* Wms.API.Client
|
|
11252
|
+
*
|
|
11253
|
+
*
|
|
11254
|
+
*
|
|
11255
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11256
|
+
* https://openapi-generator.tech
|
|
11257
|
+
* Do not edit the class manually.
|
|
11258
|
+
*/
|
|
11259
|
+
|
|
11260
|
+
/**
|
|
11261
|
+
* Wms.API.Client
|
|
11262
|
+
*
|
|
11263
|
+
*
|
|
11264
|
+
*
|
|
11265
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11266
|
+
* https://openapi-generator.tech
|
|
11267
|
+
* Do not edit the class manually.
|
|
11268
|
+
*/
|
|
11269
|
+
const CompanyType = {
|
|
11270
|
+
Carrier: 'Carrier',
|
|
11271
|
+
TransportServices: 'TransportServices',
|
|
11272
|
+
Company: 'Company',
|
|
11273
|
+
Vendor: 'Vendor',
|
|
11274
|
+
Customer: 'Customer',
|
|
11275
|
+
ShippingAgent: 'ShippingAgent',
|
|
11276
|
+
ShipFrom: 'ShipFrom',
|
|
11277
|
+
OriginAgent: 'OriginAgent',
|
|
11278
|
+
ShipTo: 'ShipTo',
|
|
11279
|
+
BuyingAgent: 'BuyingAgent',
|
|
11280
|
+
Seller: 'Seller',
|
|
11281
|
+
DistributionCentre: 'DistributionCentre',
|
|
11282
|
+
Client: 'Client',
|
|
11283
|
+
SysAdmin: 'SysAdmin',
|
|
11284
|
+
LocalAgent: 'LocalAgent',
|
|
11285
|
+
CarrierProvider: 'CarrierProvider',
|
|
11286
|
+
WholesaleCustomer: 'WholesaleCustomer',
|
|
11287
|
+
WebCustomer: 'WebCustomer',
|
|
11288
|
+
DestinationAgent: 'DestinationAgent',
|
|
11289
|
+
ForwardingAgent: 'ForwardingAgent'
|
|
11290
|
+
};
|
|
11291
|
+
|
|
10832
11292
|
/**
|
|
10833
11293
|
* Wms.API.Client
|
|
10834
11294
|
*
|
|
@@ -10938,6 +11398,16 @@ const CountType = {
|
|
|
10938
11398
|
* Do not edit the class manually.
|
|
10939
11399
|
*/
|
|
10940
11400
|
|
|
11401
|
+
/**
|
|
11402
|
+
* Wms.API.Client
|
|
11403
|
+
*
|
|
11404
|
+
*
|
|
11405
|
+
*
|
|
11406
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11407
|
+
* https://openapi-generator.tech
|
|
11408
|
+
* Do not edit the class manually.
|
|
11409
|
+
*/
|
|
11410
|
+
|
|
10941
11411
|
/**
|
|
10942
11412
|
* Wms.API.Client
|
|
10943
11413
|
*
|
|
@@ -11743,6 +12213,16 @@ const UnitOfMeasurementTypes = {
|
|
|
11743
12213
|
* Do not edit the class manually.
|
|
11744
12214
|
*/
|
|
11745
12215
|
|
|
12216
|
+
/**
|
|
12217
|
+
* Wms.API.Client
|
|
12218
|
+
*
|
|
12219
|
+
*
|
|
12220
|
+
*
|
|
12221
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12222
|
+
* https://openapi-generator.tech
|
|
12223
|
+
* Do not edit the class manually.
|
|
12224
|
+
*/
|
|
12225
|
+
|
|
11746
12226
|
/**
|
|
11747
12227
|
* Wms.API.Client
|
|
11748
12228
|
*
|
|
@@ -11978,5 +12458,5 @@ function provideApi(configOrBasePath) {
|
|
|
11978
12458
|
* Generated bundle index. Do not edit.
|
|
11979
12459
|
*/
|
|
11980
12460
|
|
|
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 };
|
|
12461
|
+
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, CountContinuousInventoryService, 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
12462
|
//# sourceMappingURL=indigina-wms-api.mjs.map
|