@experteam-mx/ngx-services 18.8.18 → 18.8.19
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/esm2022/lib/apis/api-catalogs.service.mjs +16 -1
- package/esm2022/lib/apis/models/api-catalog.types.mjs +1 -1
- package/fesm2022/experteam-mx-ngx-services.mjs +15 -0
- package/fesm2022/experteam-mx-ngx-services.mjs.map +1 -1
- package/lib/apis/api-catalogs.service.d.ts +13 -1
- package/lib/apis/models/api-catalog.types.d.ts +6 -0
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import { Environment } from '../ngx-services.models';
|
|
|
2
2
|
import { HttpClient } from '@angular/common/http';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import { QueryParams } from './models/api.models';
|
|
5
|
-
import { BusinessPartyTraderTypesOut, CancellationReasonIn, CancellationReasonOut, CancellationReasonsOut, CountriesOut, CountryIn, CountryOut, CurrenciesOut, ExtraChargeIn, ExtraChargeOut, ExtraChargesOut, GenericFolioIn, GenericFolioOut, GenericFoliosOut, HolidayIn, HolidayOut, HolidaysOut, IdentificationTypeIn, IdentificationTypeOut, IdentificationTypesOut, LanguagesOut, ManagementAreasOut, OperationTypesOut, PostalLocationsOut, ProductIn, ProductOut, QuestionIn, QuestionOut, QuestionsOut, RegionsOut, ShipmentContentTypesOut, ShipmentGroupsOut, ShipmentIncomeTypeIn, ShipmentIncomeTypeOut, ShipmentIncomeTypesOut, ShipmentScopesOut, ShipmentStatusesOut, UniqueFolioIn, UniqueFolioOut, UniqueFoliosOut, UnitsOut, ZonesOut } from './models/api-catalog.types';
|
|
5
|
+
import { BusinessPartyTraderTypesOut, CancellationReasonIn, CancellationReasonOut, CancellationReasonsOut, CountriesOut, CountryIn, CountryOut, CurrenciesOut, ExtraChargeIn, ExtraChargeOut, ExtraChargesOut, GenericFolioIn, GenericFolioOut, GenericFoliosOut, HolidayIn, HolidayOut, HolidaysOut, IdentificationTypeIn, IdentificationTypeNumberValidationIn, IdentificationTypeNumberValidationOut, IdentificationTypeOut, IdentificationTypesOut, LanguagesOut, ManagementAreasOut, OperationTypesOut, PostalLocationsOut, ProductIn, ProductOut, QuestionIn, QuestionOut, QuestionsOut, RegionsOut, ShipmentContentTypesOut, ShipmentGroupsOut, ShipmentIncomeTypeIn, ShipmentIncomeTypeOut, ShipmentIncomeTypesOut, ShipmentScopesOut, ShipmentStatusesOut, UniqueFolioIn, UniqueFolioOut, UniqueFoliosOut, UnitsOut, ZonesOut } from './models/api-catalog.types';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class ApiCatalogsService {
|
|
8
8
|
private environments;
|
|
@@ -77,6 +77,18 @@ export declare class ApiCatalogsService {
|
|
|
77
77
|
* The Observable will emit an error if the HTTP request fails.
|
|
78
78
|
*/
|
|
79
79
|
deleteIdentificationType(id: number): Observable<{}>;
|
|
80
|
+
/**
|
|
81
|
+
* Sends a POST request to validate identification type number.
|
|
82
|
+
*
|
|
83
|
+
* The request payload is sent as an object with a `body` property containing the provided
|
|
84
|
+
* IdentificationTypeNumberValidationIn value (i.e. { body: IdentificationTypeNumberValidationIn }). On success the HTTP response is expected
|
|
85
|
+
* to follow the ApiSuccess<T> shape; the operator maps that response to the inner `data`
|
|
86
|
+
* object and emits it as a IdentificationTypeNumberValidationOut.
|
|
87
|
+
*
|
|
88
|
+
* @param body - The identification type number validation payload to validate (IdentificationTypeNumberValidationIn).
|
|
89
|
+
* @returns Observable<IdentificationTypeNumberValidationOut> that emits the validate status.
|
|
90
|
+
*/
|
|
91
|
+
postIdentificationtTypeNumberValidation(body: IdentificationTypeNumberValidationIn): Observable<IdentificationTypeNumberValidationOut>;
|
|
80
92
|
/**
|
|
81
93
|
* Fetches the extra charges based on the provided query parameters.
|
|
82
94
|
*
|
|
@@ -205,6 +205,12 @@ export type HolidayIn = {
|
|
|
205
205
|
countryId: number;
|
|
206
206
|
isActive: boolean;
|
|
207
207
|
};
|
|
208
|
+
export type IdentificationTypeNumberValidationIn = {
|
|
209
|
+
identificationTypeId: number;
|
|
210
|
+
identificationNumber: string;
|
|
211
|
+
section: string;
|
|
212
|
+
};
|
|
213
|
+
export type IdentificationTypeNumberValidationOut = {};
|
|
208
214
|
export type BusinessPartyTraderTypesOut = {
|
|
209
215
|
total: number;
|
|
210
216
|
businessPartyTraderTypes: BusinessPartyTraderType[];
|