@experteam-mx/ngx-services 20.3.1-dev3.1 → 20.3.2
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.
|
@@ -3094,6 +3094,59 @@ class ApiInventoriesService {
|
|
|
3094
3094
|
putReEntryOfMissingPackages(body) {
|
|
3095
3095
|
return this.http.put(`${this.url}/re-entry-of-missing-packages`, body).pipe(map(({ data }) => data));
|
|
3096
3096
|
}
|
|
3097
|
+
/**
|
|
3098
|
+
* Fetches the packages details based on the provided operation check out ID.
|
|
3099
|
+
*
|
|
3100
|
+
* @param {number} id - The operation check out id
|
|
3101
|
+
* @return {Observable<CourierCheckOutPackesOut>} An observable that emits the packages data.
|
|
3102
|
+
*/
|
|
3103
|
+
getCourierCheckOutPackages(id) {
|
|
3104
|
+
return this.http.get(`${this.url}/courier-check-out/packages/${id}`)
|
|
3105
|
+
.pipe(map(({ data }) => data));
|
|
3106
|
+
}
|
|
3107
|
+
/**
|
|
3108
|
+
* Fetches the statuses based on query parameters.
|
|
3109
|
+
*
|
|
3110
|
+
* @param {QueryParams} params - The query parameters for filtering the statuses.
|
|
3111
|
+
* @return {Observable<StatusesOut>} An observable that emits the statuses.
|
|
3112
|
+
*/
|
|
3113
|
+
getStatuses(params) {
|
|
3114
|
+
return this.http.get(`${this.url}/statuses`, {
|
|
3115
|
+
params
|
|
3116
|
+
}).pipe(map(({ data }) => data));
|
|
3117
|
+
}
|
|
3118
|
+
/**
|
|
3119
|
+
* Fetches the operation types based on query parameters.
|
|
3120
|
+
*
|
|
3121
|
+
* @param {QueryParams} params - The query parameters for filtering the operation types.
|
|
3122
|
+
* @return {Observable<OperationTypesInventoryOut>} An observable that emits the operation types.
|
|
3123
|
+
*/
|
|
3124
|
+
getOperationTypes(params) {
|
|
3125
|
+
return this.http.get(`${this.url}/operation-types`, {
|
|
3126
|
+
params
|
|
3127
|
+
}).pipe(map(({ data }) => data));
|
|
3128
|
+
}
|
|
3129
|
+
/**
|
|
3130
|
+
* Fetches the package in stock details based on query parameters.
|
|
3131
|
+
*
|
|
3132
|
+
* @param {QueryParams} params - The query parameters for get the package in stock.
|
|
3133
|
+
* @return {Observable<PackageInStockDetailOut>} An observable that emits the package detail in stock.
|
|
3134
|
+
*/
|
|
3135
|
+
getPackageInStockDetail(params) {
|
|
3136
|
+
return this.http.get(`${this.url}/packages/in-stock-detail`, {
|
|
3137
|
+
params
|
|
3138
|
+
}).pipe(map(({ data }) => data));
|
|
3139
|
+
}
|
|
3140
|
+
/**
|
|
3141
|
+
* Fetches the packages details based on the provided operation stock update ID.
|
|
3142
|
+
*
|
|
3143
|
+
* @param {number} id - The operation stock update id
|
|
3144
|
+
* @return {Observable<StockUpdatePackagesOut>} An observable that emits the packages data.
|
|
3145
|
+
*/
|
|
3146
|
+
getStockUpdatePackages(id) {
|
|
3147
|
+
return this.http.get(`${this.url}/stock-update/packages/${id}`)
|
|
3148
|
+
.pipe(map(({ data }) => data));
|
|
3149
|
+
}
|
|
3097
3150
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiInventoriesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3098
3151
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ApiInventoriesService, providedIn: 'root' });
|
|
3099
3152
|
}
|
|
@@ -4785,6 +4838,15 @@ var AlphaNumeric;
|
|
|
4785
4838
|
AlphaNumeric["alphabetic"] = "alphabetic";
|
|
4786
4839
|
AlphaNumeric["amount"] = "amount";
|
|
4787
4840
|
})(AlphaNumeric || (AlphaNumeric = {}));
|
|
4841
|
+
var Group;
|
|
4842
|
+
(function (Group) {
|
|
4843
|
+
Group["check_in"] = "check_in";
|
|
4844
|
+
Group["check_out"] = "check_out";
|
|
4845
|
+
Group["movement"] = "movement";
|
|
4846
|
+
Group["incident"] = "incident";
|
|
4847
|
+
Group["expiration"] = "expiration";
|
|
4848
|
+
Group["verification"] = "verification";
|
|
4849
|
+
})(Group || (Group = {}));
|
|
4788
4850
|
|
|
4789
4851
|
class WebSocketsService {
|
|
4790
4852
|
pusher;
|
|
@@ -5201,5 +5263,5 @@ const xmlHeaders = (format = 'object') => {
|
|
|
5201
5263
|
* Generated bundle index. Do not edit.
|
|
5202
5264
|
*/
|
|
5203
5265
|
|
|
5204
|
-
export { AlphaNumeric, ApiBillingCOService, ApiBillingDOService, ApiBillingGtService, ApiBillingMxService, ApiBillingPaService, ApiBillingSvService, ApiCashOperationsService, ApiCatalogsService, ApiCompaniesService, ApiCompositionService, ApiCustomsService, ApiDiscountsService, ApiEToolsAutoBillingService, ApiEventsService, ApiExternalOperationsService, ApiInventoriesService, ApiInvoicesService, ApiNotificationsService, ApiOpenItemsService, ApiQuoteService, ApiReportsService, ApiSecurityService, ApiServicesService, ApiShipmentsService, ApiSuppliesService, ApiSurveysService, CryptoService, DefaultValueType, ENVIRONMENT_TOKEN, Event, NgxServicesModule, OperationModuleStatus, ViewSectionOption, WebSocketsService, apiHeadersInterceptor, apiKeyInterceptor, apiTokenInterceptor, base64PdfToUrl, downloadBase64Pdf, httpCachingInterceptor, httpParams, pdfHeaders, provideNgxServices, queryString, xmlHeaders };
|
|
5266
|
+
export { AlphaNumeric, ApiBillingCOService, ApiBillingDOService, ApiBillingGtService, ApiBillingMxService, ApiBillingPaService, ApiBillingSvService, ApiCashOperationsService, ApiCatalogsService, ApiCompaniesService, ApiCompositionService, ApiCustomsService, ApiDiscountsService, ApiEToolsAutoBillingService, ApiEventsService, ApiExternalOperationsService, ApiInventoriesService, ApiInvoicesService, ApiNotificationsService, ApiOpenItemsService, ApiQuoteService, ApiReportsService, ApiSecurityService, ApiServicesService, ApiShipmentsService, ApiSuppliesService, ApiSurveysService, CryptoService, DefaultValueType, ENVIRONMENT_TOKEN, Event, Group, NgxServicesModule, OperationModuleStatus, ViewSectionOption, WebSocketsService, apiHeadersInterceptor, apiKeyInterceptor, apiTokenInterceptor, base64PdfToUrl, downloadBase64Pdf, httpCachingInterceptor, httpParams, pdfHeaders, provideNgxServices, queryString, xmlHeaders };
|
|
5205
5267
|
//# sourceMappingURL=experteam-mx-ngx-services.mjs.map
|