@experteam-mx/ngx-services 20.0.0-beta.4 → 20.0.1
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 +24 -24
- package/esm2022/experteam-mx-ngx-services.mjs +5 -0
- package/esm2022/lib/apis/api-billing-do.service.mjs +41 -0
- package/esm2022/lib/apis/api-billing-gt.service.mjs +61 -0
- package/esm2022/lib/apis/api-billing-mx.service.mjs +62 -0
- package/esm2022/lib/apis/api-billing-pa.service.mjs +105 -0
- package/esm2022/lib/apis/api-billing-sv.service.mjs +83 -0
- package/esm2022/lib/apis/api-cash-operations.service.mjs +93 -0
- package/esm2022/lib/apis/api-catalogs.service.mjs +626 -0
- package/esm2022/lib/apis/api-companies.service.mjs +1031 -0
- package/esm2022/lib/apis/api-composition.service.mjs +55 -0
- package/esm2022/lib/apis/api-customs.service.mjs +157 -0
- package/esm2022/lib/apis/api-discounts.service.mjs +243 -0
- package/esm2022/lib/apis/api-e-tools-auto-billing.service.mjs +75 -0
- package/esm2022/lib/apis/api-events.service.mjs +53 -0
- package/esm2022/lib/apis/api-external-pickups.service.mjs +74 -0
- package/esm2022/lib/apis/api-inventories.service.mjs +208 -0
- package/esm2022/lib/apis/api-invoices.service.mjs +398 -0
- package/esm2022/lib/apis/api-notifications.service.mjs +104 -0
- package/esm2022/lib/apis/api-open-items.service.mjs +62 -0
- package/esm2022/lib/apis/api-reports.service.mjs +172 -0
- package/esm2022/lib/apis/api-security.service.mjs +245 -0
- package/esm2022/lib/apis/api-services.service.mjs +93 -0
- package/esm2022/lib/apis/api-shipments.service.mjs +116 -0
- package/esm2022/lib/apis/api-supplies.service.mjs +133 -0
- package/esm2022/lib/apis/models/api-billing-do.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-billing-do.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-billing-mx.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-billing-mx.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-billing-pa.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-billing-pa.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-billing-sv.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-billing-sv.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-billing.models.mjs +2 -0
- package/esm2022/lib/apis/models/api-cash-operations.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-cash-operations.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-catalog.enum.mjs +9 -0
- package/esm2022/lib/apis/models/api-catalog.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-catalog.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-companies.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-companies.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-composition.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-composition.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-customs.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-customs.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-discounts.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-discounts.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-e-tools-auto-billing.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-e-tools-auto-billing.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-events.enum.mjs +7 -0
- package/esm2022/lib/apis/models/api-events.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-events.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-external-pickups.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-inventories.enum.mjs +22 -0
- package/esm2022/lib/apis/models/api-inventories.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-inventories.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-invoices.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-invoices.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-notifications.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-notifications.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-open-items.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-open-items.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-reports.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-reports.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-security.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-security.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-services.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-services.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-shipments.enums.mjs +8 -0
- package/esm2022/lib/apis/models/api-shipments.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-shipments.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-supplies.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-supplies.types.mjs +2 -0
- package/esm2022/lib/apis/models/api.models.mjs +2 -0
- package/esm2022/lib/cypher/crypto.service.mjs +93 -0
- package/esm2022/lib/helpers/files.mjs +9 -0
- package/esm2022/lib/helpers/http.mjs +66 -0
- package/esm2022/lib/interceptors/api-headers.interceptor.mjs +24 -0
- package/esm2022/lib/interceptors/api-token.interceptor.mjs +28 -0
- package/esm2022/lib/interceptors/http-caching.interceptor.mjs +37 -0
- package/esm2022/lib/ngx-services.models.mjs +11 -0
- package/esm2022/lib/ngx-services.module.mjs +33 -0
- package/esm2022/lib/websockets/web-sockets.service.mjs +115 -0
- package/esm2022/public-api.mjs +90 -0
- package/fesm2022/experteam-mx-ngx-services.mjs +126 -5
- package/fesm2022/experteam-mx-ngx-services.mjs.map +1 -1
- package/index.d.ts +287 -4
- package/lib/apis/api-billing-do.service.d.ts +24 -0
- package/lib/apis/api-billing-gt.service.d.ts +38 -0
- package/lib/apis/api-billing-mx.service.d.ts +39 -0
- package/lib/apis/api-billing-pa.service.d.ts +68 -0
- package/lib/apis/api-billing-sv.service.d.ts +55 -0
- package/lib/apis/api-cash-operations.service.d.ts +62 -0
- package/lib/apis/api-catalogs.service.d.ts +458 -0
- package/lib/apis/api-companies.service.d.ts +714 -0
- package/lib/apis/api-composition.service.d.ts +35 -0
- package/lib/apis/api-customs.service.d.ts +110 -0
- package/lib/apis/api-discounts.service.d.ts +167 -0
- package/lib/apis/api-e-tools-auto-billing.service.d.ts +49 -0
- package/lib/apis/api-events.service.d.ts +33 -0
- package/lib/apis/api-external-pickups.service.d.ts +46 -0
- package/lib/apis/api-inventories.service.d.ts +145 -0
- package/lib/apis/api-invoices.service.d.ts +280 -0
- package/lib/apis/api-notifications.service.d.ts +70 -0
- package/lib/apis/api-open-items.service.d.ts +41 -0
- package/lib/apis/api-reports.service.d.ts +120 -0
- package/lib/apis/api-security.service.d.ts +162 -0
- package/lib/apis/api-services.service.d.ts +61 -0
- package/lib/apis/api-shipments.service.d.ts +77 -0
- package/lib/apis/api-supplies.service.d.ts +93 -0
- package/lib/apis/models/api-billing-do.interfaces.d.ts +6 -0
- package/lib/apis/models/api-billing-do.types.d.ts +5 -0
- package/lib/apis/models/api-billing-mx.interfaces.d.ts +21 -0
- package/lib/apis/models/api-billing-mx.types.d.ts +13 -0
- package/lib/apis/models/api-billing-pa.interfaces.d.ts +26 -0
- package/lib/apis/models/api-billing-pa.types.d.ts +16 -0
- package/lib/apis/models/api-billing-sv.interfaces.d.ts +22 -0
- package/lib/apis/models/api-billing-sv.types.d.ts +21 -0
- package/lib/apis/models/api-billing.models.d.ts +27 -0
- package/lib/apis/models/api-cash-operations.interfaces.d.ts +40 -0
- package/lib/apis/models/api-cash-operations.types.d.ts +30 -0
- package/lib/apis/models/api-catalog.enum.d.ts +7 -0
- package/lib/apis/models/api-catalog.interfaces.d.ts +219 -0
- package/lib/apis/models/api-catalog.types.d.ts +217 -0
- package/lib/apis/models/api-companies.interfaces.d.ts +341 -0
- package/lib/apis/models/api-companies.types.d.ts +457 -0
- package/lib/apis/models/api-composition.interfaces.d.ts +272 -0
- package/lib/apis/models/api-composition.types.d.ts +9 -0
- package/lib/apis/models/api-customs.interfaces.d.ts +125 -0
- package/lib/apis/models/api-customs.types.d.ts +90 -0
- package/lib/apis/models/api-discounts.interfaces.d.ts +78 -0
- package/lib/apis/models/api-discounts.types.d.ts +89 -0
- package/lib/apis/models/api-e-tools-auto-billing.interfaces.d.ts +45 -0
- package/lib/apis/models/api-e-tools-auto-billing.types.d.ts +30 -0
- package/lib/apis/models/api-events.enum.d.ts +5 -0
- package/lib/apis/models/api-events.interfaces.d.ts +21 -0
- package/lib/apis/models/api-events.types.d.ts +14 -0
- package/lib/apis/models/api-external-pickups.types.d.ts +31 -0
- package/lib/apis/models/api-inventories.enum.d.ts +18 -0
- package/lib/apis/models/api-inventories.interfaces.d.ts +40 -0
- package/lib/apis/models/api-inventories.types.d.ts +62 -0
- package/lib/apis/models/api-invoices.interfaces.d.ts +267 -0
- package/lib/apis/models/api-invoices.types.d.ts +195 -0
- package/lib/apis/models/api-notifications.interfaces.d.ts +36 -0
- package/lib/apis/models/api-notifications.types.d.ts +34 -0
- package/lib/apis/models/api-open-items.interfaces.d.ts +32 -0
- package/lib/apis/models/api-open-items.types.d.ts +58 -0
- package/lib/apis/models/api-reports.interfaces.d.ts +342 -0
- package/lib/apis/models/api-reports.types.d.ts +59 -0
- package/lib/apis/models/api-security.interfaces.d.ts +68 -0
- package/lib/apis/models/api-security.types.d.ts +72 -0
- package/lib/apis/models/api-services.interfaces.d.ts +43 -0
- package/lib/apis/models/api-services.types.d.ts +57 -0
- package/lib/apis/models/api-shipments.enums.d.ts +6 -0
- package/lib/apis/models/api-shipments.interfaces.d.ts +41 -0
- package/lib/apis/models/api-shipments.types.d.ts +121 -0
- package/lib/apis/models/api-supplies.interfaces.d.ts +40 -0
- package/lib/apis/models/api-supplies.types.d.ts +50 -0
- package/lib/apis/models/api.models.d.ts +36 -0
- package/lib/cypher/crypto.service.d.ts +15 -0
- package/lib/helpers/files.d.ts +2 -0
- package/lib/helpers/http.d.ts +38 -0
- package/lib/interceptors/api-headers.interceptor.d.ts +12 -0
- package/lib/interceptors/api-token.interceptor.d.ts +11 -0
- package/lib/interceptors/http-caching.interceptor.d.ts +12 -0
- package/lib/ngx-services.models.d.ts +62 -0
- package/lib/ngx-services.module.d.ts +16 -0
- package/lib/websockets/web-sockets.service.d.ts +49 -0
- package/package.json +1 -1
- package/public-api.d.ts +80 -0
package/index.d.ts
CHANGED
|
@@ -46,10 +46,10 @@ type Environment = {
|
|
|
46
46
|
apiServicesUrl?: string;
|
|
47
47
|
apiShipmentUrl?: string;
|
|
48
48
|
apiSuppliesUrl?: string;
|
|
49
|
-
authCookie
|
|
49
|
+
authCookie?: string;
|
|
50
50
|
cacheTtl?: number;
|
|
51
51
|
printUrl?: string;
|
|
52
|
-
secretKey
|
|
52
|
+
secretKey?: string;
|
|
53
53
|
sockets?: {
|
|
54
54
|
app_key: string;
|
|
55
55
|
debug?: boolean;
|
|
@@ -810,6 +810,13 @@ interface Holiday extends SymfonyModel {
|
|
|
810
810
|
description: string;
|
|
811
811
|
country: Country;
|
|
812
812
|
}
|
|
813
|
+
interface BusinessPartyTraderType extends SymfonyModel {
|
|
814
|
+
code: string;
|
|
815
|
+
name: string;
|
|
816
|
+
description: string | null;
|
|
817
|
+
category: string | null;
|
|
818
|
+
esbCode: string;
|
|
819
|
+
}
|
|
813
820
|
|
|
814
821
|
type OperationTypesOut = {
|
|
815
822
|
total: number;
|
|
@@ -1012,6 +1019,16 @@ type HolidayIn = {
|
|
|
1012
1019
|
countryId: number;
|
|
1013
1020
|
isActive: boolean;
|
|
1014
1021
|
};
|
|
1022
|
+
type IdentificationTypeNumberValidationIn = {
|
|
1023
|
+
identificationTypeId: number;
|
|
1024
|
+
identificationNumber: string;
|
|
1025
|
+
section: string;
|
|
1026
|
+
};
|
|
1027
|
+
type IdentificationTypeNumberValidationOut = {};
|
|
1028
|
+
type BusinessPartyTraderTypesOut = {
|
|
1029
|
+
total: number;
|
|
1030
|
+
businessPartyTraderTypes: BusinessPartyTraderType[];
|
|
1031
|
+
};
|
|
1015
1032
|
|
|
1016
1033
|
declare class ApiCatalogsService {
|
|
1017
1034
|
private environments;
|
|
@@ -1059,7 +1076,7 @@ declare class ApiCatalogsService {
|
|
|
1059
1076
|
* @param body - The identification type payload to create (IdentificationTypeIn).
|
|
1060
1077
|
* @returns Observable<IdentificationTypeOut> that emits the created identification type on success.
|
|
1061
1078
|
*/
|
|
1062
|
-
|
|
1079
|
+
postIdentificationType(body: IdentificationTypeIn): Observable<IdentificationTypeOut>;
|
|
1063
1080
|
/**
|
|
1064
1081
|
* Update a identification type by its ID.
|
|
1065
1082
|
*
|
|
@@ -1086,6 +1103,18 @@ declare class ApiCatalogsService {
|
|
|
1086
1103
|
* The Observable will emit an error if the HTTP request fails.
|
|
1087
1104
|
*/
|
|
1088
1105
|
deleteIdentificationType(id: number): Observable<{}>;
|
|
1106
|
+
/**
|
|
1107
|
+
* Sends a POST request to validate identification type number.
|
|
1108
|
+
*
|
|
1109
|
+
* The request payload is sent as an object with a `body` property containing the provided
|
|
1110
|
+
* IdentificationTypeNumberValidationIn value (i.e. { body: IdentificationTypeNumberValidationIn }). On success the HTTP response is expected
|
|
1111
|
+
* to follow the ApiSuccess<T> shape; the operator maps that response to the inner `data`
|
|
1112
|
+
* object and emits it as a IdentificationTypeNumberValidationOut.
|
|
1113
|
+
*
|
|
1114
|
+
* @param body - The identification type number validation payload to validate (IdentificationTypeNumberValidationIn).
|
|
1115
|
+
* @returns Observable<IdentificationTypeNumberValidationOut> that emits the validate status.
|
|
1116
|
+
*/
|
|
1117
|
+
postIdentificationTypeNumberValidation(body: IdentificationTypeNumberValidationIn): Observable<IdentificationTypeNumberValidationOut>;
|
|
1089
1118
|
/**
|
|
1090
1119
|
* Fetches the extra charges based on the provided query parameters.
|
|
1091
1120
|
*
|
|
@@ -1437,6 +1466,12 @@ declare class ApiCatalogsService {
|
|
|
1437
1466
|
* The Observable will emit an error if the HTTP request fails.
|
|
1438
1467
|
*/
|
|
1439
1468
|
deleteHoliday(id: number): Observable<{}>;
|
|
1469
|
+
/**
|
|
1470
|
+
* Retrieves a list of business party trader types
|
|
1471
|
+
* @param {QueryParams} params - Query parameters for filtering and pagination (optional)
|
|
1472
|
+
* @returns {Observable<BusinessPartyTraderTypesOut>} Observable containing the list of trader types
|
|
1473
|
+
*/
|
|
1474
|
+
getBusinessPartyTraderTypes(params: QueryParams): Observable<BusinessPartyTraderTypesOut>;
|
|
1440
1475
|
static ɵfac: i0.ɵɵFactoryDeclaration<ApiCatalogsService, never>;
|
|
1441
1476
|
static ɵprov: i0.ɵɵInjectableDeclaration<ApiCatalogsService>;
|
|
1442
1477
|
}
|
|
@@ -4352,6 +4387,12 @@ type IncidentReasonComplementIn = {
|
|
|
4352
4387
|
readOnly?: boolean;
|
|
4353
4388
|
isActive?: boolean;
|
|
4354
4389
|
};
|
|
4390
|
+
type PackagesInStockIn = {
|
|
4391
|
+
packageTrackingNumbers: string[];
|
|
4392
|
+
};
|
|
4393
|
+
type PackagesInStockOut = {
|
|
4394
|
+
inStock: boolean;
|
|
4395
|
+
};
|
|
4355
4396
|
|
|
4356
4397
|
declare class ApiInventoriesService {
|
|
4357
4398
|
private environments;
|
|
@@ -4478,6 +4519,17 @@ declare class ApiInventoriesService {
|
|
|
4478
4519
|
* @returns {Observable<IncidentReasonComplementOut>} An observable that emits the result of the delete incident reason complement.
|
|
4479
4520
|
*/
|
|
4480
4521
|
deleteIncidentReasonComplement(id: Number): Observable<IncidentReasonComplementOut>;
|
|
4522
|
+
/**
|
|
4523
|
+
* Posts packages that are currently in stock.
|
|
4524
|
+
*
|
|
4525
|
+
* @param body - The input data containing package stock information
|
|
4526
|
+
* @returns {Observable<PackagesInStockOut>} An Observable that emits the packages in stock output data
|
|
4527
|
+
*
|
|
4528
|
+
* @remarks
|
|
4529
|
+
* This method sends a POST request to the `/packages/in-stock` endpoint and
|
|
4530
|
+
* extracts the data property from the API success response.
|
|
4531
|
+
*/
|
|
4532
|
+
postPackagesInStock(body: PackagesInStockIn): Observable<PackagesInStockOut>;
|
|
4481
4533
|
static ɵfac: i0.ɵɵFactoryDeclaration<ApiInventoriesService, never>;
|
|
4482
4534
|
static ɵprov: i0.ɵɵInjectableDeclaration<ApiInventoriesService>;
|
|
4483
4535
|
}
|
|
@@ -5594,6 +5646,84 @@ interface ShipmentReports {
|
|
|
5594
5646
|
};
|
|
5595
5647
|
}[];
|
|
5596
5648
|
}
|
|
5649
|
+
interface ShipmentLandingReport extends ActiveLessLaravelModel {
|
|
5650
|
+
authorization_numbers: string[] | null;
|
|
5651
|
+
commercial_invoice: boolean | null;
|
|
5652
|
+
company_id: number;
|
|
5653
|
+
company_name: string;
|
|
5654
|
+
country_id: number;
|
|
5655
|
+
country_name: string;
|
|
5656
|
+
currency_code: string | null;
|
|
5657
|
+
document_id: number;
|
|
5658
|
+
hasCreditCardPayment: boolean;
|
|
5659
|
+
installation_id: number;
|
|
5660
|
+
installation_number: number;
|
|
5661
|
+
invoice_document_id: number | null;
|
|
5662
|
+
is_document: boolean;
|
|
5663
|
+
is_manual: boolean;
|
|
5664
|
+
itn_number: string | null;
|
|
5665
|
+
location_code: string;
|
|
5666
|
+
location_facility_code: string;
|
|
5667
|
+
location_id: number;
|
|
5668
|
+
location_name: string;
|
|
5669
|
+
price_override_approver_name: string | null;
|
|
5670
|
+
price_override_reason_name: string | null;
|
|
5671
|
+
product_global_name: string;
|
|
5672
|
+
product_local_name: string;
|
|
5673
|
+
question_description: string | null;
|
|
5674
|
+
receiver_address_line1: string;
|
|
5675
|
+
receiver_address_line2: string | null;
|
|
5676
|
+
receiver_address_line3: string | null;
|
|
5677
|
+
receiver_city_name: string;
|
|
5678
|
+
receiver_company_name: string;
|
|
5679
|
+
receiver_country_name: string;
|
|
5680
|
+
receiver_county_name: string | null;
|
|
5681
|
+
receiver_email: string | null;
|
|
5682
|
+
receiver_full_name: string;
|
|
5683
|
+
receiver_full_phone_number: string | null;
|
|
5684
|
+
receiver_identification_number: string | null;
|
|
5685
|
+
receiver_postal_code: string | null;
|
|
5686
|
+
receiver_state_name: string;
|
|
5687
|
+
send_to_api_inventories: boolean;
|
|
5688
|
+
shipment_description: string;
|
|
5689
|
+
shipment_group_id: number;
|
|
5690
|
+
shipment_group_name: string;
|
|
5691
|
+
shipment_pieces_tracking_numbers: string[];
|
|
5692
|
+
shipment_status_code: string;
|
|
5693
|
+
shipment_status_id: number;
|
|
5694
|
+
shipment_status_name_EN: string;
|
|
5695
|
+
shipment_status_name_ES: string;
|
|
5696
|
+
shipment_status_name_FR: string;
|
|
5697
|
+
shipment_status_name_PT: string;
|
|
5698
|
+
shipment_tags: ShipmentTag[];
|
|
5699
|
+
shipment_tracking_number: string;
|
|
5700
|
+
shipment_type: string;
|
|
5701
|
+
shipment_value: number;
|
|
5702
|
+
shipper_account: string;
|
|
5703
|
+
shipper_address_line1: string;
|
|
5704
|
+
shipper_address_line2: string | null;
|
|
5705
|
+
shipper_address_line3: string | null;
|
|
5706
|
+
shipper_city_name: string | null;
|
|
5707
|
+
shipper_company_name: string;
|
|
5708
|
+
shipper_country_name: string;
|
|
5709
|
+
shipper_county_name: string | null;
|
|
5710
|
+
shipper_email: string | null;
|
|
5711
|
+
shipper_full_name: string;
|
|
5712
|
+
shipper_full_phone_number: string;
|
|
5713
|
+
shipper_identification_number: string | null;
|
|
5714
|
+
shipper_phone_number: string | null;
|
|
5715
|
+
shipper_postal_code: string | null;
|
|
5716
|
+
shipper_state_name: string | null;
|
|
5717
|
+
tracking: string | null;
|
|
5718
|
+
user_id: number;
|
|
5719
|
+
user_username: string;
|
|
5720
|
+
additional_documents: {
|
|
5721
|
+
country_id: number;
|
|
5722
|
+
include_indemnity_letter: boolean;
|
|
5723
|
+
shipment_content_type_id: number;
|
|
5724
|
+
shipment_scope_id: number;
|
|
5725
|
+
} | null;
|
|
5726
|
+
}
|
|
5597
5727
|
interface ShipmentTag extends ActiveLessSymfonyModel {
|
|
5598
5728
|
name: string;
|
|
5599
5729
|
code: string;
|
|
@@ -5648,6 +5778,7 @@ interface PromotionCodeDiscount extends ApiModel {
|
|
|
5648
5778
|
origin_company_name: string;
|
|
5649
5779
|
origin_full_name: string;
|
|
5650
5780
|
promotion_code: string;
|
|
5781
|
+
discount_percentage: number;
|
|
5651
5782
|
product_subtotals: ProductSubtotal[];
|
|
5652
5783
|
}
|
|
5653
5784
|
interface ProductSubtotal {
|
|
@@ -5655,6 +5786,8 @@ interface ProductSubtotal {
|
|
|
5655
5786
|
currency_id: number;
|
|
5656
5787
|
currency_code: string;
|
|
5657
5788
|
value: number;
|
|
5789
|
+
shipment_total: number;
|
|
5790
|
+
discount_amount: number;
|
|
5658
5791
|
}
|
|
5659
5792
|
interface WithdrawalAmount {
|
|
5660
5793
|
country_reference_currency_id: number;
|
|
@@ -5708,6 +5841,34 @@ interface Invoice extends ActiveLessLaravelModel {
|
|
|
5708
5841
|
customer_county_name: string;
|
|
5709
5842
|
shipment_id: number;
|
|
5710
5843
|
}
|
|
5844
|
+
interface Sales extends ActiveLessLaravelModel {
|
|
5845
|
+
company_country_id: number;
|
|
5846
|
+
country_document_type_id: number;
|
|
5847
|
+
country_id: number;
|
|
5848
|
+
customer_address_line1: string;
|
|
5849
|
+
customer_email: string;
|
|
5850
|
+
customer_name: string;
|
|
5851
|
+
customer_phone: string;
|
|
5852
|
+
document_full_number: string;
|
|
5853
|
+
document_sap_full_number: string;
|
|
5854
|
+
document_status_name: string;
|
|
5855
|
+
document_status: number;
|
|
5856
|
+
document_type_name_EN: string;
|
|
5857
|
+
document_type_name_ES: string;
|
|
5858
|
+
document_type_name_FR: string;
|
|
5859
|
+
document_type_name_PT: string;
|
|
5860
|
+
document_type_name: string;
|
|
5861
|
+
exempt: number;
|
|
5862
|
+
identification_number: string;
|
|
5863
|
+
identification_type_id: number;
|
|
5864
|
+
identification_type_name: string;
|
|
5865
|
+
installation_id: number;
|
|
5866
|
+
location_id: number;
|
|
5867
|
+
subtotal: number;
|
|
5868
|
+
tax: number;
|
|
5869
|
+
total: number;
|
|
5870
|
+
user_id: number;
|
|
5871
|
+
}
|
|
5711
5872
|
|
|
5712
5873
|
type AuthLoginIn = {
|
|
5713
5874
|
username: string;
|
|
@@ -5856,6 +6017,10 @@ type ShipmentsReportOut = {
|
|
|
5856
6017
|
shipments: ShipmentReports[];
|
|
5857
6018
|
total: number;
|
|
5858
6019
|
};
|
|
6020
|
+
type ShipmentsLandingReportOut = {
|
|
6021
|
+
shipments_landing: ShipmentLandingReport[];
|
|
6022
|
+
total: number;
|
|
6023
|
+
};
|
|
5859
6024
|
type ExternalShipmentsOut = {
|
|
5860
6025
|
external_shipments: ReportExternalShipment[];
|
|
5861
6026
|
total: number;
|
|
@@ -5895,6 +6060,11 @@ type InvoicesOut = {
|
|
|
5895
6060
|
invoices: Invoice[];
|
|
5896
6061
|
total: number;
|
|
5897
6062
|
};
|
|
6063
|
+
type SalesBookReportOut = {
|
|
6064
|
+
sale_books: Sales[];
|
|
6065
|
+
total: number;
|
|
6066
|
+
transaction_id?: string;
|
|
6067
|
+
};
|
|
5898
6068
|
|
|
5899
6069
|
declare class ApiReportsService {
|
|
5900
6070
|
private environments;
|
|
@@ -5920,6 +6090,31 @@ declare class ApiReportsService {
|
|
|
5920
6090
|
* @return {Observable<ShipmentsReportOut>} An observable emitting the shipment report data.
|
|
5921
6091
|
*/
|
|
5922
6092
|
getShipmentsReport(params: QueryParams): Observable<ShipmentsReportOut>;
|
|
6093
|
+
/**
|
|
6094
|
+
* Retrieves the shipments landing report from the reports API.
|
|
6095
|
+
*
|
|
6096
|
+
* Sends a GET request to the `/shipments-landing-report` endpoint with the provided query parameters.
|
|
6097
|
+
* The HTTP response is expected to be wrapped in an `ApiSuccess` envelope, from which the `data`
|
|
6098
|
+
* payload is extracted and returned as the stream value.
|
|
6099
|
+
*
|
|
6100
|
+
* @param params - Query parameters used to filter or paginate the shipments landing report.
|
|
6101
|
+
* @returns An observable that emits the parsed `ShipmentsLandingReportOut` data from the API response.
|
|
6102
|
+
*
|
|
6103
|
+
* @remarks
|
|
6104
|
+
* - The underlying HTTP call uses `HttpClient.get` with `params` serialized as query string values.
|
|
6105
|
+
* - The response is piped through `map` to unwrap `data` from `ApiSuccess<T>`.
|
|
6106
|
+
* - Errors from the HTTP request are propagated through the observable stream.
|
|
6107
|
+
*
|
|
6108
|
+
* @example
|
|
6109
|
+
* ```ts
|
|
6110
|
+
* // Basic usage:
|
|
6111
|
+
* service.getShipmentsLandingReport({ page: 1, perPage: 25 })
|
|
6112
|
+
* .subscribe(report => {
|
|
6113
|
+
* // handle ShipmentsLandingReportOut
|
|
6114
|
+
* });
|
|
6115
|
+
* ```
|
|
6116
|
+
*/
|
|
6117
|
+
getShipmentsLandingReport(params: QueryParams): Observable<ShipmentsLandingReportOut>;
|
|
5923
6118
|
/**
|
|
5924
6119
|
* Retrieves a report of external shipments based on the provided query parameters.
|
|
5925
6120
|
*
|
|
@@ -5969,6 +6164,19 @@ declare class ApiReportsService {
|
|
|
5969
6164
|
* @returns An observable that emits the list of invoices.
|
|
5970
6165
|
*/
|
|
5971
6166
|
getInvoices(params: QueryParams): Observable<InvoicesOut>;
|
|
6167
|
+
/**
|
|
6168
|
+
* Retrieves the sales book report based on the provided query parameters.
|
|
6169
|
+
*
|
|
6170
|
+
* @param params - The query parameters to filter or customize the report.
|
|
6171
|
+
* @returns An Observable that emits the sales book report data.
|
|
6172
|
+
*
|
|
6173
|
+
* @example
|
|
6174
|
+
* ```typescript
|
|
6175
|
+
* this.apiReportsService.getSalesBookReport({ page: 1, limit: 10 })
|
|
6176
|
+
* .subscribe(report => console.log(report));
|
|
6177
|
+
* ```
|
|
6178
|
+
*/
|
|
6179
|
+
getSalesBookReport(params: QueryParams): Observable<SalesBookReportOut>;
|
|
5972
6180
|
static ɵfac: i0.ɵɵFactoryDeclaration<ApiReportsService, never>;
|
|
5973
6181
|
static ɵprov: i0.ɵɵInjectableDeclaration<ApiReportsService>;
|
|
5974
6182
|
}
|
|
@@ -6319,6 +6527,34 @@ interface ExportType extends SymfonyModel {
|
|
|
6319
6527
|
code: string;
|
|
6320
6528
|
name: string;
|
|
6321
6529
|
}
|
|
6530
|
+
interface DestinationCountry extends ActiveLessSymfonyModel {
|
|
6531
|
+
code: string;
|
|
6532
|
+
name: string;
|
|
6533
|
+
}
|
|
6534
|
+
interface EmbassyShipment extends SymfonyModel {
|
|
6535
|
+
id: number;
|
|
6536
|
+
countryId: number;
|
|
6537
|
+
name: string;
|
|
6538
|
+
destinationCountry: DestinationCountry;
|
|
6539
|
+
destinationCityName: string | null;
|
|
6540
|
+
destinationPostalCode: string | null;
|
|
6541
|
+
destinationCountyName: string | null;
|
|
6542
|
+
contentDescription: string | null;
|
|
6543
|
+
shipmentContentType: ShipmentContentType;
|
|
6544
|
+
piecesNumber: number | null;
|
|
6545
|
+
destinationCompanyName: string | null;
|
|
6546
|
+
destinationFullName: string | null;
|
|
6547
|
+
destinationAddressLine1: string | null;
|
|
6548
|
+
destinationAddressLine2: string | null;
|
|
6549
|
+
destinationAddressLine3: string | null;
|
|
6550
|
+
destinationPhoneCode: string | null;
|
|
6551
|
+
destinationPhoneNumber: string | null;
|
|
6552
|
+
destinationEmail: string | null;
|
|
6553
|
+
businessPartyTraderTypeId: number | null;
|
|
6554
|
+
isActive: boolean;
|
|
6555
|
+
createdAt: string;
|
|
6556
|
+
updatedAt: string;
|
|
6557
|
+
}
|
|
6322
6558
|
|
|
6323
6559
|
type ValidateAccountIn = {
|
|
6324
6560
|
accountValue: string;
|
|
@@ -6411,6 +6647,34 @@ type ExportTypesOut = {
|
|
|
6411
6647
|
exportTypes: ExportType[];
|
|
6412
6648
|
total: number;
|
|
6413
6649
|
};
|
|
6650
|
+
type EmbassyShipmentsOut = {
|
|
6651
|
+
total: number;
|
|
6652
|
+
embassyShipments: EmbassyShipment[];
|
|
6653
|
+
};
|
|
6654
|
+
type EmbassyShipmentIn = {
|
|
6655
|
+
countryId: number;
|
|
6656
|
+
name: string;
|
|
6657
|
+
destinationCountryId: number | null;
|
|
6658
|
+
destinationCityName: string | null;
|
|
6659
|
+
destinationPostalCode: string | null;
|
|
6660
|
+
destinationCountyName: string | null;
|
|
6661
|
+
contentDescription: string | null;
|
|
6662
|
+
shipmentContentTypeId: number | null;
|
|
6663
|
+
piecesNumber: number | null;
|
|
6664
|
+
destinationCompanyName: string | null;
|
|
6665
|
+
destinationFullName: string | null;
|
|
6666
|
+
destinationAddressLine1: string | null;
|
|
6667
|
+
destinationAddressLine2: string | null;
|
|
6668
|
+
destinationAddressLine3: string | null;
|
|
6669
|
+
destinationPhoneCode: string | null;
|
|
6670
|
+
destinationPhoneNumber: string | null;
|
|
6671
|
+
destinationEmail: string | null;
|
|
6672
|
+
businessPartyTraderTypeId: number | null;
|
|
6673
|
+
isActive: boolean;
|
|
6674
|
+
};
|
|
6675
|
+
interface EmbassyShipmentOut {
|
|
6676
|
+
embassyShipment: EmbassyShipment;
|
|
6677
|
+
}
|
|
6414
6678
|
|
|
6415
6679
|
declare class ApiShipmentsService {
|
|
6416
6680
|
private environments;
|
|
@@ -6461,6 +6725,25 @@ declare class ApiShipmentsService {
|
|
|
6461
6725
|
* @return {Observable<ExportTypesOut>} An observable containing the list of export types.
|
|
6462
6726
|
*/
|
|
6463
6727
|
getExportTypes(params: QueryParams): Observable<ExportTypesOut>;
|
|
6728
|
+
/**
|
|
6729
|
+
* Retrieves a paginated list of embassy shipments
|
|
6730
|
+
* @param {QueryParams} params - Query parameters for filtering and pagination
|
|
6731
|
+
* @returns {Observable<EmbassyShipmentsOut>} Observable containing the list of shipments and pagination metadata
|
|
6732
|
+
*/
|
|
6733
|
+
getEmbassyShipments(params: QueryParams): Observable<EmbassyShipmentsOut>;
|
|
6734
|
+
/**
|
|
6735
|
+
* Creates a new embassy shipment
|
|
6736
|
+
* @param {EmbassyShipmentIn} body - The shipment data to create
|
|
6737
|
+
* @returns {Observable<EmbassyShipmentOut>} Observable containing the created shipment with its assigned ID
|
|
6738
|
+
*/
|
|
6739
|
+
postEmbassyShipments(body: EmbassyShipmentIn): Observable<EmbassyShipmentOut>;
|
|
6740
|
+
/**
|
|
6741
|
+
* Updates an existing embassy shipment
|
|
6742
|
+
* @param {number} id - The unique identifier of the shipment to update
|
|
6743
|
+
* @param {EmbassyShipmentIn} body - The updated shipment data
|
|
6744
|
+
* @returns {Observable<EmbassyShipmentOut>} Observable containing the updated shipment
|
|
6745
|
+
*/
|
|
6746
|
+
putEmbassyShipments(id: number, body: EmbassyShipmentIn): Observable<EmbassyShipmentOut>;
|
|
6464
6747
|
static ɵfac: i0.ɵɵFactoryDeclaration<ApiShipmentsService, never>;
|
|
6465
6748
|
static ɵprov: i0.ɵɵInjectableDeclaration<ApiShipmentsService>;
|
|
6466
6749
|
}
|
|
@@ -6770,4 +7053,4 @@ declare const xmlHeaders: (format?: "object" | "http_header") => HttpHeaders | {
|
|
|
6770
7053
|
};
|
|
6771
7054
|
|
|
6772
7055
|
export { AlphaNumeric, ApiBillingDOService, ApiBillingGtService, ApiBillingMxService, ApiBillingPaService, ApiBillingSvService, ApiCashOperationsService, ApiCatalogsService, ApiCompaniesService, ApiCompositionService, ApiCustomsService, ApiDiscountsService, ApiEToolsAutoBillingService, ApiEventsService, ApiExternalOperationsService, ApiInventoriesService, ApiInvoicesService, ApiNotificationsService, ApiOpenItemsService, ApiReportsService, ApiSecurityService, ApiServicesService, ApiShipmentsService, ApiSuppliesService, CryptoService, DefaultValueType, ENVIRONMENT_TOKEN, Event, NgxServicesModule, OperationModuleStatus, ViewSectionOption, WebSocketsService, apiHeadersInterceptor, apiKeyInterceptor, apiTokenInterceptor, base64PdfToUrl, downloadBase64Pdf, httpCachingInterceptor, httpParams, pdfHeaders, queryString, xmlHeaders };
|
|
6773
|
-
export type { Account, AccountCategoriesOut, AccountCategory, AccountEntitiesIn, AccountEntitiesOut, AccountIn, AccountOut, AccountPayment, AccountResponse, AccountToTDX, AccountType, AccountTypeIn, AccountTypeOut, AccountTypesOut, AccountsOut, ActiveLessLaravelModel, ActiveLessSymfonyModel, AdditionalData, ApiBillingConfigurable, ApiModel, ApiResponse, ApiSuccess, Attribute, AttributeIn, AttributeWithId, Attributes, AuthLoginIn, AuthLoginOut, AuthMeOut, AuthUserLoginIn, BillingConfig, BillingConfigIn, BillingConfigOut, BillingConfigsOut, BillingPaCustomer, BillingPaCustomerOut, BoardingProcess, BoardingProcessHistory, BoardingProcessIdIn, BoardingProcessIn, BoardingProcessStatus, CFDI, CancelPaymentReceiptIn, CancellationReason, CancellationReasonIn, CancellationReasonOut, CancellationReasonsOut, CashValueSummary, CashValueSummaryOut, Catalog, CatalogLess, CatalogsOut, ChangeLanguageIn, Checkpoint, CheckpointEventReason, CheckpointEventReasonsOut, CheckpointsOut, City, CollectionPayment, CommercialInvoice, Commodity, Company, CompanyCountriesOut, CompanyCountry, CompanyCountryIn, CompanyCountryOut, CompanyCountryTax, CompanyCountryTaxesOut, CompanyIn, CompanyOut, CompositionCountryReferencesOut, CountriesOut, Country, CountryCurrencyRate, CountryDocumentType, CountryExchange, CountryGroups, CountryGroupsOut, CountryIn, CountryOut, CountryPaymentType, CountryPaymentTypeField, CountryPaymentTypeFieldIn, CountryPaymentTypeFieldOut, CountryPaymentTypeFieldsOut, CountryPaymentTypeIn, CountryPaymentTypeOut, CountryPaymentTypesOut, CountryReference, CountryReferenceCurrenciesOut, CountryReferenceCurrency, CountryReferenceCurrencyIn, CountryReferenceCurrencyOut, CountryReferenceExtraCharge, CountryReferenceExtraChargeIn, CountryReferenceExtraChargeOut, CountryReferenceIn, CountryReferenceOut, CountryReferenceProduct, CountryReferenceProductIn, CountryReferenceProductOut, CountryReferenceProductsOut, CountryReferencesOut, Criteria, CriteriaCustom, CriteriaIn, CriteriaOut, CriteriaWithTimestamps, CurrenciesOut, Currency, Customer, CustomerComposition, CustomerCountryDocumentType, CustomerDocumentTypesOut, CustomerOpenItem, CustomerOtherInvoice, CustomerRestriction, CustomerRestrictionIn, CustomerRestrictionInV2, CustomerRestrictionOut, CustomerRestrictionsOut, CustomerType, CustomerTypesOut, CustomersOut, Customs, DeliveryConfirmationCompleteIn, DeliveryConfirmationGenerateIn, DeliveryConfirmationGenerateOut, DeliveryConfirmationIn, DeliveryConfirmationSearchOut, Department, DepartmentsOut, DependentRules, DhlCode, DhlCodeLess, Discount, DiscountIn, DiscountOut, DiscountsOut, District, DistrictsOut, Document, DocumentCategory, DocumentCategoryReports, DocumentFunction, DocumentItem, DocumentPayment, DocumentRequests, DocumentStatus, DocumentStatusesOut, DocumentType, DocumentTypeComposition, DocumentTypeRange, DocumentTypeReports, Dropdown, DropdownConfig, EconomicActivitiesOut, EconomicActivity, EmailErrorIn, Employee, EmployeeCustomerDhl, EmployeeCustomersIn, EmployeeCustomersOut, EmployeeIn, EmployeeOut, EmployeesCustomersOut, EmployeesOut, Entity, Environment, EstablishmentType, EstablishmentTypesOut, Exchange, ExchangeIn, ExchangeOut, ExchangesOut, ExportType, ExportTypesOut, ExternalShipmentAddress, ExternalShipmentAddressesIn, ExternalShipmentAddressesOut, ExternalShipmentFile, ExternalShipmentFileHistory, ExternalShipmentFileOut, ExternalShipmentHistoriesOut, ExternalShipmentHistory, ExternalShipmentStatus, ExternalShipmentStatusOut, ExternalShipmentStatuses, ExtraCharge, ExtraChargeComposition, ExtraChargeEntitiesIn, ExtraChargeEntitiesOut, ExtraChargeEntity, ExtraChargeIn, ExtraChargeOut, ExtraChargesOut, Facility, Field, FieldLess, FieldsOut, FillFrom, FillFromIn, FiscalRegimen, FiscalRegimensAcceptedOut, FiscalRegimensOut, GenericFolio, GenericFolioIn, GenericFolioOut, GenericFoliosOut, GetDocumentsOut, GetPostalLocationsIn, GetUserOut, GetUsersOut, Holiday, HolidayIn, HolidayOut, HolidaysOut, IdentificationType, IdentificationTypeComposition, IdentificationTypeCustomer, IdentificationTypeIn, IdentificationTypeOut, IdentificationTypesOut, Incident, IncidentIn, IncidentOut, IncidentReason, IncidentReasonComplement, IncidentReasonComplementIn, IncidentReasonComplementOut, IncidentReasonComplementsOut, IncidentReasonIn, IncidentReasonOut, IncidentReasonsOut, IncidentsOut, IncomeType, IncomeTypesOut, Installation, InstallationCountryReferenceCurrenciesOut, InstallationCountryReferenceCurrency, InstallationCountryReferenceCurrencyIn, InstallationCountryReferenceCurrencyOut, InstallationIn, InstallationOut, InstallationsOut, Invoice, InvoiceTypeCustomParamsIn, Item, Language, LanguagesOut, LaravelModel, Location, LocationEmployee, LocationEmployeeBatchIn, LocationEmployeeOut, LocationEmployeesIn, LocationEmployeesOut, LocationIn, LocationOut, LocationType, LocationTypeFields, LocationsOut, LoyaltyPeriod, LoyaltyPeriodIn, LoyaltyPeriodOut, LoyaltyPeriodsOut, LoyaltyRule, LoyaltyRuleIn, LoyaltyRuleOut, LoyaltyRulesOut, ManagementArea, ManagementAreasOut, ManifestMultipleIn, ManifestMultipleOut, ManufactureCountry, Module, ModuleType, ModulesOut, MunicipalitiesOut, Municipality, Notification, NotificationConfiguration, NotificationConfigurationIn, NotificationConfigurationOut, NotificationIn, NotificationOut, NotificationStatus, NotificationType, NotificationsOut, NotificationsTypeOut, OpenItem, OpenItemIn, OpenItems, OpenItemsOut, OpeningTransference, OpeningTransferenceIn, OpeningTransferenceOut, Operation, OperationAccountPaymentIn, OperationAccountPaymentOut, OperationAction, OperationCancelBillingIn, OperationCancelBillingOut, OperationDocumentIn, OperationDocumentOut, OperationDocumentRequestsOut, OperationEvent, OperationModule, OperationModuleEndIn, OperationModuleOut, OperationModuleStartIn, OperationPrintDocumentOut, OperationPrintXmlOut, OperationShipmentExternalIn, OperationShipmentExternalOut, OperationType, OperationTypesOut, OperationsLoadTopCustomerV2In, OtherInvoiceIn, OtherInvoiceOut, OtherInvoices, Override, OverridesOut, PackageLocation, Parameter, ParameterConfig, ParameterConfigIn, ParameterConfigOut, ParameterConfigsOut, ParameterValueIn, ParameterValueOut, ParametersByLevelIn, ParametersOut, ParametersValuesIn, ParametersValuesOut, Parish, ParishesOut, PartialWithdrawal, Payment, PaymentDetail, PaymentOpenItemIn, PaymentOut, PaymentType, PaymentTypeFieldAccount, PaymentTypeFieldAccountIn, PaymentTypeFieldAccountOut, PaymentTypeFieldAccountsOut, PaymentTypeFieldCardType, PaymentTypeFieldCardTypeIn, PaymentTypeFieldCardTypeOut, PaymentTypeFieldCardTypesOut, PaymentTypesOut, Permission, PersonType, PersonTypesOut, Pivot, PostalCode, PostalCodeBillings, PostalCodesOut, PostalLocation, PostalLocationsOut, PrintCollectionReceiptOut, Product, ProductEntitiesIn, ProductEntitiesOut, ProductEntity, ProductIn, ProductOut, ProductSubtotal, PromotionCodeDiscount, PromotionIn, PromotionOut, Province, ProvincesOut, PutUsersIn, PutUsersOut, QuantityUnit, QueryParams, Question, QuestionIn, QuestionOut, QuestionsOut, ReceiptFile, ReceiptFileOut, Region, RegionsOut, ReportExternalShipment, ReportExternalShipmentAddress, Role, RoleIn, RoleOut, RoleType, RoleTypesOut, RolesOut, Rule, RuleByCriteria, RuleCriteriaIn, RuleIn, RuleOut, Rules, RulesByCriteriaOut, RulesIn, RulesOut, ServiceArea, ServiceAreaIn, ServiceAreasOut, Session, SessionIn, SessionOut, ShipmentAddresses, ShipmentBookPickup, ShipmentCancellationIn, ShipmentCancellationOut, ShipmentCompanyCountryExtraCharges, ShipmentComposition, ShipmentContentType, ShipmentContentTypesOut, ShipmentEmployeeCustomer, ShipmentEmployeeCustomers, ShipmentGroup, ShipmentGroupsOut, ShipmentGsop, ShipmentIncomeType, ShipmentIncomeTypeIn, ShipmentIncomeTypeOut, ShipmentIncomeTypesOut, ShipmentOut, ShipmentPieceCompanyCountrySupplies, ShipmentPieces, ShipmentReports, ShipmentScope, ShipmentScopesOut, ShipmentStatus, ShipmentStatusesOut, ShipmentTag, State, Suburb, SuppliesOut, Supply, SupplyEntitiesIn, SupplyEntitiesOut, SupplyEntity, SupplyEntityPacking, SupplyEntityType, SupplyIn, SupplyLocation, SupplyLocationIn, SupplyLocationOut, SupplyLocationTransaction, SupplyLocationTransactionIn, SupplyLocationTransactionOut, SupplyLocationsOut, SupplyOut, SupplyPacking, SupplyTransactionType, SupplyTransactionTypesOut, SupplyType, SupplyTypesOut, SymfonyModel, System, SystemEntitiesIn, SystemEntitiesOut, SystemIn, SystemOut, SystemsOut, TDXAccountSetting, TDXAccountSettingsIn, TDXAccountSettingsOut, TDXAccountsSettingsOut, Tax, TextConfig, Tolerance, ToleranceIn, ToleranceOut, TolerancesOut, TopCustomer, TopCustomersOut, TradingTransactionType, TransferenceType, Translations, UniqueFolio, UniqueFolioIn, UniqueFolioOut, UniqueFoliosOut, Unit, UnitsOut, User, UserMe, ValidateAccountIn, ValidateAccountOut, ValidateFacilityIn, ValidateFacilityOut, ValidateIdentificationBRIn, ValidateIdentificationBROut, ValidateNIPIn, ValidateNIPOut, Values, WithdrawalAmount, WorkflowConfig, WorkflowConfigsBatchIn, WorkflowConfigsOut, WorkflowsOut, Zone, ZonesOut };
|
|
7056
|
+
export type { Account, AccountCategoriesOut, AccountCategory, AccountEntitiesIn, AccountEntitiesOut, AccountIn, AccountOut, AccountPayment, AccountResponse, AccountToTDX, AccountType, AccountTypeIn, AccountTypeOut, AccountTypesOut, AccountsOut, ActiveLessLaravelModel, ActiveLessSymfonyModel, AdditionalData, ApiBillingConfigurable, ApiModel, ApiResponse, ApiSuccess, Attribute, AttributeIn, AttributeWithId, Attributes, AuthLoginIn, AuthLoginOut, AuthMeOut, AuthUserLoginIn, BillingConfig, BillingConfigIn, BillingConfigOut, BillingConfigsOut, BillingPaCustomer, BillingPaCustomerOut, BoardingProcess, BoardingProcessHistory, BoardingProcessIdIn, BoardingProcessIn, BoardingProcessStatus, BusinessPartyTraderType, BusinessPartyTraderTypesOut, CFDI, CancelPaymentReceiptIn, CancellationReason, CancellationReasonIn, CancellationReasonOut, CancellationReasonsOut, CashValueSummary, CashValueSummaryOut, Catalog, CatalogLess, CatalogsOut, ChangeLanguageIn, Checkpoint, CheckpointEventReason, CheckpointEventReasonsOut, CheckpointsOut, City, CollectionPayment, CollectionPaymentsOut, CommercialInvoice, Commodity, Company, CompanyCountriesOut, CompanyCountry, CompanyCountryIn, CompanyCountryOut, CompanyCountryTax, CompanyCountryTaxesOut, CompanyIn, CompanyOut, CompositionCountryReferencesOut, CountriesOut, Country, CountryCurrencyRate, CountryDocumentType, CountryExchange, CountryGroups, CountryGroupsOut, CountryIn, CountryOut, CountryPaymentType, CountryPaymentTypeField, CountryPaymentTypeFieldIn, CountryPaymentTypeFieldOut, CountryPaymentTypeFieldsOut, CountryPaymentTypeIn, CountryPaymentTypeOut, CountryPaymentTypesOut, CountryReference, CountryReferenceCurrenciesOut, CountryReferenceCurrency, CountryReferenceCurrencyIn, CountryReferenceCurrencyOut, CountryReferenceExtraCharge, CountryReferenceExtraChargeIn, CountryReferenceExtraChargeOut, CountryReferenceIn, CountryReferenceOut, CountryReferenceProduct, CountryReferenceProductIn, CountryReferenceProductOut, CountryReferenceProductsOut, CountryReferencesOut, Criteria, CriteriaCustom, CriteriaIn, CriteriaOut, CriteriaWithTimestamps, CurrenciesOut, Currency, Customer, CustomerComposition, CustomerCountryDocumentType, CustomerDocumentTypesOut, CustomerOpenItem, CustomerOtherInvoice, CustomerRestriction, CustomerRestrictionIn, CustomerRestrictionInV2, CustomerRestrictionOut, CustomerRestrictionsOut, CustomerType, CustomerTypesOut, CustomersOut, Customs, DeliveryConfirmationCompleteIn, DeliveryConfirmationGenerateIn, DeliveryConfirmationGenerateOut, DeliveryConfirmationIn, DeliveryConfirmationSearchOut, Department, DepartmentsOut, DependentRules, DestinationCountry, DhlCode, DhlCodeLess, Discount, DiscountIn, DiscountOut, DiscountsOut, District, DistrictsOut, Document, DocumentCategory, DocumentCategoryReports, DocumentFunction, DocumentItem, DocumentPayment, DocumentRequests, DocumentStatus, DocumentStatusesOut, DocumentType, DocumentTypeComposition, DocumentTypeRange, DocumentTypeReports, Dropdown, DropdownConfig, EconomicActivitiesOut, EconomicActivity, EmailErrorIn, EmbassyShipment, EmbassyShipmentIn, EmbassyShipmentOut, EmbassyShipmentsOut, Employee, EmployeeCustomerDhl, EmployeeCustomersIn, EmployeeCustomersOut, EmployeeIn, EmployeeOut, EmployeesCustomersOut, EmployeesOut, Entity, Environment, EstablishmentType, EstablishmentTypesOut, Exchange, ExchangeIn, ExchangeOut, ExchangesOut, ExportType, ExportTypesOut, ExternalShipmentAddress, ExternalShipmentAddressesIn, ExternalShipmentAddressesOut, ExternalShipmentFile, ExternalShipmentFileHistory, ExternalShipmentFileOut, ExternalShipmentHistoriesOut, ExternalShipmentHistory, ExternalShipmentStatus, ExternalShipmentStatusOut, ExternalShipmentStatuses, ExternalShipmentsOut, ExtraCharge, ExtraChargeComposition, ExtraChargeEntitiesIn, ExtraChargeEntitiesOut, ExtraChargeEntity, ExtraChargeIn, ExtraChargeOut, ExtraChargesOut, Facility, Field, FieldLess, FieldsOut, FileCheckOut, FillFrom, FillFromIn, FiscalRegimen, FiscalRegimensAcceptedOut, FiscalRegimensOut, GenericFolio, GenericFolioIn, GenericFolioOut, GenericFoliosOut, GetDocumentsOut, GetPostalLocationsIn, GetUserOut, GetUsersOut, Holiday, HolidayIn, HolidayOut, HolidaysOut, IdentificationType, IdentificationTypeComposition, IdentificationTypeCustomer, IdentificationTypeIn, IdentificationTypeNumberValidationIn, IdentificationTypeNumberValidationOut, IdentificationTypeOut, IdentificationTypesOut, Incident, IncidentIn, IncidentOut, IncidentReason, IncidentReasonComplement, IncidentReasonComplementIn, IncidentReasonComplementOut, IncidentReasonComplementsOut, IncidentReasonIn, IncidentReasonOut, IncidentReasonsOut, IncidentsOut, IncomeType, IncomeTypesOut, Installation, InstallationCountryReferenceCurrenciesOut, InstallationCountryReferenceCurrency, InstallationCountryReferenceCurrencyIn, InstallationCountryReferenceCurrencyOut, InstallationIn, InstallationOut, InstallationsOut, Invoice, InvoiceTypeCustomParamsIn, InvoicesOut, Item, Language, LanguagesOut, LaravelModel, Location, LocationEmployee, LocationEmployeeBatchIn, LocationEmployeeOut, LocationEmployeesIn, LocationEmployeesOut, LocationIn, LocationOut, LocationType, LocationTypeFields, LocationsOut, LoyaltyPeriod, LoyaltyPeriodIn, LoyaltyPeriodOut, LoyaltyPeriodsOut, LoyaltyRule, LoyaltyRuleIn, LoyaltyRuleOut, LoyaltyRulesOut, ManagementArea, ManagementAreasOut, ManifestMultipleIn, ManifestMultipleOut, ManufactureCountry, Module, ModuleType, ModulesOut, MunicipalitiesOut, Municipality, Notification, NotificationConfiguration, NotificationConfigurationIn, NotificationConfigurationOut, NotificationIn, NotificationOut, NotificationStatus, NotificationType, NotificationsOut, NotificationsTypeOut, OpenItem, OpenItemIn, OpenItems, OpenItemsOut, OpeningTransference, OpeningTransferenceIn, OpeningTransferenceOut, Operation, OperationAccountPaymentIn, OperationAccountPaymentOut, OperationAction, OperationCancelBillingIn, OperationCancelBillingOut, OperationDocumentIn, OperationDocumentOut, OperationDocumentRequestsOut, OperationEvent, OperationModule, OperationModuleEndIn, OperationModuleOut, OperationModuleStartIn, OperationPrintDocumentOut, OperationPrintXmlOut, OperationShipmentExternalIn, OperationShipmentExternalOut, OperationType, OperationTypesOut, OperationsLoadTopCustomerV2In, OtherInvoiceIn, OtherInvoiceOut, OtherInvoices, Override, OverridesOut, PackageLocation, PackagesInStockIn, PackagesInStockOut, Parameter, ParameterConfig, ParameterConfigIn, ParameterConfigOut, ParameterConfigsOut, ParameterValueIn, ParameterValueOut, ParametersByLevelIn, ParametersOut, ParametersValuesIn, ParametersValuesOut, Parish, ParishesOut, PartialWithdrawal, PartialWithdrawalsOut, Payment, PaymentDetail, PaymentOpenItemIn, PaymentOut, PaymentType, PaymentTypeFieldAccount, PaymentTypeFieldAccountIn, PaymentTypeFieldAccountOut, PaymentTypeFieldAccountsOut, PaymentTypeFieldCardType, PaymentTypeFieldCardTypeIn, PaymentTypeFieldCardTypeOut, PaymentTypeFieldCardTypesOut, PaymentTypesOut, Permission, PersonType, PersonTypesOut, Pivot, PostalCode, PostalCodeBillings, PostalCodesOut, PostalLocation, PostalLocationsOut, PrintCollectionReceiptOut, Product, ProductEntitiesIn, ProductEntitiesOut, ProductEntity, ProductIn, ProductOut, ProductSubtotal, PromotionCodeDiscount, PromotionCodeDiscountsOut, PromotionIn, PromotionOut, Province, ProvincesOut, PutUsersIn, PutUsersOut, QuantityUnit, QueryParams, Question, QuestionIn, QuestionOut, QuestionsOut, ReceiptFile, ReceiptFileOut, Region, RegionsOut, ReportExternalShipment, ReportExternalShipmentAddress, Role, RoleIn, RoleOut, RoleType, RoleTypesOut, RolesOut, Rule, RuleByCriteria, RuleCriteriaIn, RuleIn, RuleOut, Rules, RulesByCriteriaOut, RulesIn, RulesOut, Sales, SalesBookReportOut, ServiceArea, ServiceAreaIn, ServiceAreasOut, Session, SessionIn, SessionOut, ShipmentAddresses, ShipmentBookPickup, ShipmentCancellationIn, ShipmentCancellationOut, ShipmentCompanyCountryExtraCharges, ShipmentComposition, ShipmentContentType, ShipmentContentTypesOut, ShipmentEmployeeCustomer, ShipmentEmployeeCustomers, ShipmentGroup, ShipmentGroupsOut, ShipmentGsop, ShipmentIncomeType, ShipmentIncomeTypeIn, ShipmentIncomeTypeOut, ShipmentIncomeTypesOut, ShipmentLandingReport, ShipmentOut, ShipmentPieceCompanyCountrySupplies, ShipmentPieces, ShipmentReports, ShipmentScope, ShipmentScopesOut, ShipmentStatus, ShipmentStatusesOut, ShipmentTag, ShipmentsLandingReportOut, ShipmentsReportOut, State, Suburb, SuppliesOut, Supply, SupplyEntitiesIn, SupplyEntitiesOut, SupplyEntity, SupplyEntityPacking, SupplyEntityType, SupplyIn, SupplyLocation, SupplyLocationIn, SupplyLocationOut, SupplyLocationTransaction, SupplyLocationTransactionIn, SupplyLocationTransactionOut, SupplyLocationsOut, SupplyOut, SupplyPacking, SupplyTransactionType, SupplyTransactionTypesOut, SupplyType, SupplyTypesOut, SymfonyModel, System, SystemEntitiesIn, SystemEntitiesOut, SystemIn, SystemOut, SystemsOut, TDXAccountSetting, TDXAccountSettingsIn, TDXAccountSettingsOut, TDXAccountsSettingsOut, Tax, TextConfig, Tolerance, ToleranceIn, ToleranceOut, TolerancesOut, TopCustomer, TopCustomersOut, TradingTransactionType, TransferenceType, Translations, UniqueFolio, UniqueFolioIn, UniqueFolioOut, UniqueFoliosOut, Unit, UnitsOut, User, UserMe, ValidateAccountIn, ValidateAccountOut, ValidateFacilityIn, ValidateFacilityOut, ValidateIdentificationBRIn, ValidateIdentificationBROut, ValidateNIPIn, ValidateNIPOut, Values, WithdrawalAmount, WorkflowConfig, WorkflowConfigsBatchIn, WorkflowConfigsOut, WorkflowsOut, Zone, ZonesOut };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Environment } from '../ngx-services.models';
|
|
2
|
+
import { HttpClient } from '@angular/common/http';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { IncomeTypesOut } from './models/api-billing-do.types';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ApiBillingDOService {
|
|
7
|
+
private environments;
|
|
8
|
+
private http;
|
|
9
|
+
constructor(environments: Environment, http: HttpClient);
|
|
10
|
+
/**
|
|
11
|
+
* Retrieves the URL for the shipments API from the environment configurations.
|
|
12
|
+
*
|
|
13
|
+
* @return {string} The URL of the shipments API.
|
|
14
|
+
*/
|
|
15
|
+
get url(): string;
|
|
16
|
+
/**
|
|
17
|
+
* Retrieves a list of income types
|
|
18
|
+
*
|
|
19
|
+
* @return {Observable<ApiSuccess<IncomeTypesOut>>} An observable that emits the income types data.
|
|
20
|
+
*/
|
|
21
|
+
getIncomeTypes(): Observable<IncomeTypesOut>;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ApiBillingDOService, never>;
|
|
23
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ApiBillingDOService>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { Environment } from '../ngx-services.models';
|
|
2
|
+
import { HttpClient } from '@angular/common/http';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { ApiBillingConfigurable, BillingConfigIn, BillingConfigOut, BillingConfigsOut } from './models/api-billing.models';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ApiBillingGtService implements ApiBillingConfigurable {
|
|
7
|
+
private environments;
|
|
8
|
+
private http;
|
|
9
|
+
constructor(environments: Environment, http: HttpClient);
|
|
10
|
+
/**
|
|
11
|
+
* Retrieves the URL for the billing GT API from the environment configurations.
|
|
12
|
+
*
|
|
13
|
+
* @return {string} The URL of the shipments API.
|
|
14
|
+
*/
|
|
15
|
+
get url(): string;
|
|
16
|
+
/**
|
|
17
|
+
* RRetrieves the list of billing configurations to locations
|
|
18
|
+
*
|
|
19
|
+
* @return {Observable<BillingConfigsOut>} An observable that emits an array of billing configurations to locations
|
|
20
|
+
*/
|
|
21
|
+
getConfigs(): Observable<BillingConfigsOut>;
|
|
22
|
+
/**
|
|
23
|
+
* Retrieves the details of a location in billing configurations
|
|
24
|
+
*
|
|
25
|
+
* @param {number} id - The id of the location to fetch.
|
|
26
|
+
* @return {Observable<BillingConfigOut>} An observable that emits the location billing configuration data.
|
|
27
|
+
*/
|
|
28
|
+
getConfig(id: number): Observable<BillingConfigOut>;
|
|
29
|
+
/**
|
|
30
|
+
* Sends a POST request to create a new billing configuration location.
|
|
31
|
+
*
|
|
32
|
+
* @param {BillingConfigIn} body - The billing configuration to location data to be sent in the request body.
|
|
33
|
+
* @return {Observable<BillingConfigOut>} An observable emitting the created billing configuration to location data.
|
|
34
|
+
*/
|
|
35
|
+
postConfigs(body: BillingConfigIn): Observable<BillingConfigOut>;
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ApiBillingGtService, never>;
|
|
37
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ApiBillingGtService>;
|
|
38
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Environment } from '../ngx-services.models';
|
|
2
|
+
import { HttpClient } from '@angular/common/http';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { QueryParams } from './models/api.models';
|
|
5
|
+
import { FiscalRegimensAcceptedOut, FiscalRegimensOut, PostalCodesOut } from './models/api-billing-mx.types';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class ApiBillingMxService {
|
|
8
|
+
private environments;
|
|
9
|
+
private http;
|
|
10
|
+
constructor(environments: Environment, http: HttpClient);
|
|
11
|
+
/**
|
|
12
|
+
* Retrieves the URL for the shipments API from the environment configurations.
|
|
13
|
+
*
|
|
14
|
+
* @return {string} The URL of the shipments API.
|
|
15
|
+
*/
|
|
16
|
+
get url(): string;
|
|
17
|
+
/**
|
|
18
|
+
* Fetches the tax regimen data from the server.
|
|
19
|
+
*
|
|
20
|
+
* @return {Observable<FiscalRegimensOut>} An observable that emits the fiscal regimen data.
|
|
21
|
+
*/
|
|
22
|
+
getFiscalRegimens(): Observable<FiscalRegimensOut>;
|
|
23
|
+
/**
|
|
24
|
+
* Fetches a paginated list of CFDIs (Comprobante Fiscal Digital por Internet) based on the provided fiscal regimen.
|
|
25
|
+
*
|
|
26
|
+
* @param {number} fiscalRegimen - The fiscal regimen identifier to filter the CFDIs.
|
|
27
|
+
* @return {Observable<FiscalRegimensAcceptedOut>} An observable containing the paginated list of CFDIs.
|
|
28
|
+
*/
|
|
29
|
+
getFiscalRegimensAccepted(fiscalRegimen: number): Observable<FiscalRegimensAcceptedOut>;
|
|
30
|
+
/**
|
|
31
|
+
* Fetches and validates postal code data from the server.
|
|
32
|
+
*
|
|
33
|
+
* @param {QueryParams} params - Query parameters used to filter the postal code data.
|
|
34
|
+
* @return {Observable<PostalCodesOut>} - An observable emitting the validated postal code data.
|
|
35
|
+
*/
|
|
36
|
+
getPostalCodes(params: QueryParams): Observable<PostalCodesOut>;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ApiBillingMxService, never>;
|
|
38
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ApiBillingMxService>;
|
|
39
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { Environment } from '../ngx-services.models';
|
|
2
|
+
import { HttpClient } from '@angular/common/http';
|
|
3
|
+
import { QueryParams } from './models/api.models';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
import { BillingPaCustomerOut, DistrictsOut, ParishesOut, ProvincesOut } from './models/api-billing-pa.types';
|
|
6
|
+
import { ApiBillingConfigurable, BillingConfigIn, BillingConfigOut, BillingConfigsOut } from './models/api-billing.models';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class ApiBillingPaService implements ApiBillingConfigurable {
|
|
9
|
+
private environments;
|
|
10
|
+
private http;
|
|
11
|
+
constructor(environments: Environment, http: HttpClient);
|
|
12
|
+
/**
|
|
13
|
+
* Retrieves the URL for the Billing Pa API from the environment configurations.
|
|
14
|
+
*
|
|
15
|
+
* @return {string} The URL of the Billing Pa API.
|
|
16
|
+
*/
|
|
17
|
+
get url(): string;
|
|
18
|
+
/**
|
|
19
|
+
* Retrieves a list of districts based on query parameters.
|
|
20
|
+
*
|
|
21
|
+
* @param {QueryParams} params - Query parameters for filtering the districts.
|
|
22
|
+
* @returns {Observable<DistrictsOut>} The list of districts.
|
|
23
|
+
*/
|
|
24
|
+
getDistricts(params: QueryParams): Observable<DistrictsOut>;
|
|
25
|
+
/**
|
|
26
|
+
* Retrieves a list of parishes based on query parameters.
|
|
27
|
+
*
|
|
28
|
+
* @param {QueryParams} params - Query parameters for filtering the parishes.
|
|
29
|
+
* @returns {Observable<ParishesOut>} The list of parishes.
|
|
30
|
+
*/
|
|
31
|
+
getParishes(params: QueryParams): Observable<ParishesOut>;
|
|
32
|
+
/**
|
|
33
|
+
* Retrieves a list of provinces based on query parameters.
|
|
34
|
+
*
|
|
35
|
+
* @param {QueryParams} params - Query parameters for filtering the provinces.
|
|
36
|
+
* @returns {Observable<ProvincesOut>} The list of provinces.
|
|
37
|
+
*/
|
|
38
|
+
getProvinces(params: QueryParams): Observable<ProvincesOut>;
|
|
39
|
+
/**
|
|
40
|
+
* Retrieves the details of a customer based on query parameters.
|
|
41
|
+
*
|
|
42
|
+
* @param {QueryParams} params - Query parameters for get customer.
|
|
43
|
+
* @return {Observable<BillingPaCustomerOut>} An observable that emits customer data.
|
|
44
|
+
*/
|
|
45
|
+
getValidateCustomer(params: QueryParams): Observable<BillingPaCustomerOut>;
|
|
46
|
+
/**
|
|
47
|
+
* RRetrieves the list of billing configurations to locations
|
|
48
|
+
*
|
|
49
|
+
* @return {Observable<BillingConfigsOut>} An observable that emits an array of billing configurations to locations
|
|
50
|
+
*/
|
|
51
|
+
getConfigs(): Observable<BillingConfigsOut>;
|
|
52
|
+
/**
|
|
53
|
+
* Retrieves the details of a location in billing configurations
|
|
54
|
+
*
|
|
55
|
+
* @param {number} id - The id of the location to fetch.
|
|
56
|
+
* @return {Observable<BillingConfigOut>} An observable that emits the location billing configuration data.
|
|
57
|
+
*/
|
|
58
|
+
getConfig(id: number): Observable<BillingConfigOut>;
|
|
59
|
+
/**
|
|
60
|
+
* Sends a POST request to create a new billing configuration location.
|
|
61
|
+
*
|
|
62
|
+
* @param {BillingConfigIn} body - The billing configuration to location data to be sent in the request body.
|
|
63
|
+
* @return {Observable<BillingConfigOut>} An observable emitting the created billing configuration to location data.
|
|
64
|
+
*/
|
|
65
|
+
postConfigs(body: BillingConfigIn): Observable<BillingConfigOut>;
|
|
66
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ApiBillingPaService, never>;
|
|
67
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ApiBillingPaService>;
|
|
68
|
+
}
|