@indigina/wms-api 0.0.170 → 0.0.171
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.
|
|
1
|
+
# @indigina/wms-api@0.0.171
|
|
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.171 --save
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
_without publishing (not recommended):_
|
|
@@ -876,6 +876,76 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
|
|
|
876
876
|
type: Optional
|
|
877
877
|
}] }] });
|
|
878
878
|
|
|
879
|
+
/**
|
|
880
|
+
* Wms.API.Client
|
|
881
|
+
*
|
|
882
|
+
*
|
|
883
|
+
*
|
|
884
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
885
|
+
* https://openapi-generator.tech
|
|
886
|
+
* Do not edit the class manually.
|
|
887
|
+
*/
|
|
888
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
889
|
+
class CarriersService extends BaseService {
|
|
890
|
+
httpClient;
|
|
891
|
+
constructor(httpClient, basePath, configuration) {
|
|
892
|
+
super(basePath, configuration);
|
|
893
|
+
this.httpClient = httpClient;
|
|
894
|
+
}
|
|
895
|
+
getCarrierServices(carrierId, observe = 'body', reportProgress = false, options) {
|
|
896
|
+
if (carrierId === null || carrierId === undefined) {
|
|
897
|
+
throw new Error('Required parameter carrierId was null or undefined when calling getCarrierServices.');
|
|
898
|
+
}
|
|
899
|
+
let localVarHeaders = this.defaultHeaders;
|
|
900
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
901
|
+
'application/json'
|
|
902
|
+
]);
|
|
903
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
904
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
905
|
+
}
|
|
906
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
907
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
908
|
+
let responseType_ = 'json';
|
|
909
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
910
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
911
|
+
responseType_ = 'text';
|
|
912
|
+
}
|
|
913
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
914
|
+
responseType_ = 'json';
|
|
915
|
+
}
|
|
916
|
+
else {
|
|
917
|
+
responseType_ = 'blob';
|
|
918
|
+
}
|
|
919
|
+
}
|
|
920
|
+
let localVarPath = `/carriers/${this.configuration.encodeParam({ name: "carrierId", value: carrierId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}/services`;
|
|
921
|
+
const { basePath, withCredentials } = this.configuration;
|
|
922
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
923
|
+
context: localVarHttpContext,
|
|
924
|
+
responseType: responseType_,
|
|
925
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
926
|
+
headers: localVarHeaders,
|
|
927
|
+
observe: observe,
|
|
928
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
929
|
+
reportProgress: reportProgress
|
|
930
|
+
});
|
|
931
|
+
}
|
|
932
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: CarriersService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
933
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: CarriersService, providedIn: 'root' });
|
|
934
|
+
}
|
|
935
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: CarriersService, decorators: [{
|
|
936
|
+
type: Injectable,
|
|
937
|
+
args: [{
|
|
938
|
+
providedIn: 'root'
|
|
939
|
+
}]
|
|
940
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
941
|
+
type: Optional
|
|
942
|
+
}, {
|
|
943
|
+
type: Inject,
|
|
944
|
+
args: [BASE_PATH]
|
|
945
|
+
}] }, { type: Configuration, decorators: [{
|
|
946
|
+
type: Optional
|
|
947
|
+
}] }] });
|
|
948
|
+
|
|
879
949
|
/**
|
|
880
950
|
* Wms.API.Client
|
|
881
951
|
*
|
|
@@ -3560,6 +3630,48 @@ class DispatchesService extends BaseService {
|
|
|
3560
3630
|
reportProgress: reportProgress
|
|
3561
3631
|
});
|
|
3562
3632
|
}
|
|
3633
|
+
setDispatchCarrierReference(id, courierReference, carrierServiceName, observe = 'body', reportProgress = false, options) {
|
|
3634
|
+
if (id === null || id === undefined) {
|
|
3635
|
+
throw new Error('Required parameter id was null or undefined when calling setDispatchCarrierReference.');
|
|
3636
|
+
}
|
|
3637
|
+
if (courierReference === null || courierReference === undefined) {
|
|
3638
|
+
throw new Error('Required parameter courierReference was null or undefined when calling setDispatchCarrierReference.');
|
|
3639
|
+
}
|
|
3640
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
3641
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'courierReference', courierReference, QueryParamStyle.Form, true);
|
|
3642
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'carrierServiceName', carrierServiceName, QueryParamStyle.Form, true);
|
|
3643
|
+
let localVarHeaders = this.defaultHeaders;
|
|
3644
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
3645
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
3646
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
3647
|
+
}
|
|
3648
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
3649
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
3650
|
+
let responseType_ = 'json';
|
|
3651
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
3652
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
3653
|
+
responseType_ = 'text';
|
|
3654
|
+
}
|
|
3655
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
3656
|
+
responseType_ = 'json';
|
|
3657
|
+
}
|
|
3658
|
+
else {
|
|
3659
|
+
responseType_ = 'blob';
|
|
3660
|
+
}
|
|
3661
|
+
}
|
|
3662
|
+
let localVarPath = `/dispatches/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}/carrier-reference`;
|
|
3663
|
+
const { basePath, withCredentials } = this.configuration;
|
|
3664
|
+
return this.httpClient.request('put', `${basePath}${localVarPath}`, {
|
|
3665
|
+
context: localVarHttpContext,
|
|
3666
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
3667
|
+
responseType: responseType_,
|
|
3668
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
3669
|
+
headers: localVarHeaders,
|
|
3670
|
+
observe: observe,
|
|
3671
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
3672
|
+
reportProgress: reportProgress
|
|
3673
|
+
});
|
|
3674
|
+
}
|
|
3563
3675
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: DispatchesService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3564
3676
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: DispatchesService, providedIn: 'root' });
|
|
3565
3677
|
}
|
|
@@ -8743,7 +8855,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
|
|
|
8743
8855
|
type: Optional
|
|
8744
8856
|
}] }] });
|
|
8745
8857
|
|
|
8746
|
-
const APIS = [AnalyticsService, CarrierProviderIntegrationsService, CartonDeliveryItemsService, CartonMovementHistoriesService, CartonPicksService, CartonsService, ClientWaveConfigurationsService, CompaniesService, DcLocationsService, DcUnitOfMeasurementService, DcsService, DeliveriesService, DeliveryItemsService, DispatchBoxesService, DispatchItemQuantityChangesService, DispatchItemsService, DispatchesService, HealthService, LicencePlateSerialsService, NotesService, PendoService, PermissionsService, PickSummariesService, PrintersService, ProductMasterSuppliersService, ProductMastersService, ProductQuantitiesService, ReasonsService, ReplenishmentAccessService, ReplenishmentRecordsService, ReturnedItemsService, SettingsService, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UserService, UserCompaniesService, UserPrintersService, UsersInternalService, WaveConfigGroupsService, WaveConfigurationsService, WaveHistoryService, WavePickReleasesService, WavePickingAccessService, WaveSummariesService, WavesByPickReleaseIdService];
|
|
8858
|
+
const APIS = [AnalyticsService, CarrierProviderIntegrationsService, CarriersService, CartonDeliveryItemsService, CartonMovementHistoriesService, CartonPicksService, CartonsService, ClientWaveConfigurationsService, CompaniesService, DcLocationsService, DcUnitOfMeasurementService, DcsService, DeliveriesService, DeliveryItemsService, DispatchBoxesService, DispatchItemQuantityChangesService, DispatchItemsService, DispatchesService, HealthService, LicencePlateSerialsService, NotesService, PendoService, PermissionsService, PickSummariesService, PrintersService, ProductMasterSuppliersService, ProductMastersService, ProductQuantitiesService, ReasonsService, ReplenishmentAccessService, ReplenishmentRecordsService, ReturnedItemsService, SettingsService, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UserService, UserCompaniesService, UserPrintersService, UsersInternalService, WaveConfigGroupsService, WaveConfigurationsService, WaveHistoryService, WavePickReleasesService, WavePickingAccessService, WaveSummariesService, WavesByPickReleaseIdService];
|
|
8859
|
+
|
|
8860
|
+
/**
|
|
8861
|
+
* Wms.API.Client
|
|
8862
|
+
*
|
|
8863
|
+
*
|
|
8864
|
+
*
|
|
8865
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8866
|
+
* https://openapi-generator.tech
|
|
8867
|
+
* Do not edit the class manually.
|
|
8868
|
+
*/
|
|
8747
8869
|
|
|
8748
8870
|
/**
|
|
8749
8871
|
* Wms.API.Client
|
|
@@ -9817,5 +9939,5 @@ function provideApi(configOrBasePath) {
|
|
|
9817
9939
|
* Generated bundle index. Do not edit.
|
|
9818
9940
|
*/
|
|
9819
9941
|
|
|
9820
|
-
export { APIS, AnalyticsService, ApiModule, BASE_PATH, COLLECTION_FORMATS, CarrierProviderIntegrationsService, CartonDeliveryItemsService, CartonMovementHistoriesService, CartonPicksService, CartonsService, ClientWaveConfigurationsService, ClusterPackStatuses, CompaniesService, Configuration, DcLocationStatus, DcLocationsService, DcUnitOfMeasurementService, DcsService, DeliveriesService, DeliveryItemsService, DeliveryType, DeviceType, DispatchBoxesService, DispatchItemQuantityChangesService, DispatchItemsService, DispatchesService, DocumentGenerationStatuses, DocumentTypes, HealthService, LicencePlateSerialsService, LocationType, NoteCategory, NoteSourceType, NotesService, OrderStatus, OrderType, PackingProcesses, PendoService, PermissionsService, PickReleaseHistoryTypes, PickSummariesService, PickingProcesses, PrintTypes, PrintersService, ProductMasterSuppliersService, ProductMastersService, ProductQuantitiesService, ProductStatus, QcType, ReasonType, ReasonsService, RecordType, ReplenishmentAccessService, ReplenishmentRecordsService, ReplenishmentStages, ReplenishmentStatuses, ReplenishmentTypes, ReturnedItemsService, SettingsService, StorageType, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UnitOfMeasurementTypes, UserCompaniesService, UserCompanyType, UserPrintersService, UserService, UsersInternalService, WaveConfigGroupsService, WaveConfigurationsService, WaveHistoryService, WaveHistoryTypes, WavePickReleaseMethods, WavePickReleaseStatuses, WavePickReleasesService, WavePickingAccessService, WaveStatuses, WaveSummariesService, WavesByPickReleaseIdService, provideApi };
|
|
9942
|
+
export { APIS, AnalyticsService, ApiModule, BASE_PATH, COLLECTION_FORMATS, CarrierProviderIntegrationsService, CarriersService, CartonDeliveryItemsService, CartonMovementHistoriesService, CartonPicksService, CartonsService, ClientWaveConfigurationsService, ClusterPackStatuses, CompaniesService, Configuration, DcLocationStatus, DcLocationsService, DcUnitOfMeasurementService, DcsService, DeliveriesService, DeliveryItemsService, DeliveryType, DeviceType, DispatchBoxesService, DispatchItemQuantityChangesService, DispatchItemsService, DispatchesService, DocumentGenerationStatuses, DocumentTypes, HealthService, LicencePlateSerialsService, LocationType, NoteCategory, NoteSourceType, NotesService, OrderStatus, OrderType, PackingProcesses, PendoService, PermissionsService, PickReleaseHistoryTypes, PickSummariesService, PickingProcesses, PrintTypes, PrintersService, ProductMasterSuppliersService, ProductMastersService, ProductQuantitiesService, ProductStatus, QcType, ReasonType, ReasonsService, RecordType, ReplenishmentAccessService, ReplenishmentRecordsService, ReplenishmentStages, ReplenishmentStatuses, ReplenishmentTypes, ReturnedItemsService, SettingsService, StorageType, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UnitOfMeasurementTypes, UserCompaniesService, UserCompanyType, UserPrintersService, UserService, UsersInternalService, WaveConfigGroupsService, WaveConfigurationsService, WaveHistoryService, WaveHistoryTypes, WavePickReleaseMethods, WavePickReleaseStatuses, WavePickReleasesService, WavePickingAccessService, WaveStatuses, WaveSummariesService, WavesByPickReleaseIdService, provideApi };
|
|
9821
9943
|
//# sourceMappingURL=indigina-wms-api.mjs.map
|