@experteam-mx/ngx-services 18.9.12 → 20.0.0-beta.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/fesm2022/experteam-mx-ngx-services.mjs +80 -80
- package/fesm2022/experteam-mx-ngx-services.mjs.map +1 -1
- package/index.d.ts +6703 -3
- package/package.json +6 -8
- package/esm2022/experteam-mx-ngx-services.mjs +0 -5
- package/esm2022/lib/apis/api-billing-do.service.mjs +0 -41
- package/esm2022/lib/apis/api-billing-gt.service.mjs +0 -61
- package/esm2022/lib/apis/api-billing-mx.service.mjs +0 -62
- package/esm2022/lib/apis/api-billing-pa.service.mjs +0 -105
- package/esm2022/lib/apis/api-billing-sv.service.mjs +0 -83
- package/esm2022/lib/apis/api-cash-operations.service.mjs +0 -93
- package/esm2022/lib/apis/api-catalogs.service.mjs +0 -593
- package/esm2022/lib/apis/api-companies.service.mjs +0 -1031
- package/esm2022/lib/apis/api-composition.service.mjs +0 -55
- package/esm2022/lib/apis/api-customs.service.mjs +0 -157
- package/esm2022/lib/apis/api-discounts.service.mjs +0 -243
- package/esm2022/lib/apis/api-e-tools-auto-billing.service.mjs +0 -75
- package/esm2022/lib/apis/api-events.service.mjs +0 -53
- package/esm2022/lib/apis/api-external-pickups.service.mjs +0 -74
- package/esm2022/lib/apis/api-inventories.service.mjs +0 -194
- package/esm2022/lib/apis/api-invoices.service.mjs +0 -398
- package/esm2022/lib/apis/api-notifications.service.mjs +0 -104
- package/esm2022/lib/apis/api-open-items.service.mjs +0 -62
- package/esm2022/lib/apis/api-reports.service.mjs +0 -128
- package/esm2022/lib/apis/api-security.service.mjs +0 -245
- package/esm2022/lib/apis/api-services.service.mjs +0 -103
- package/esm2022/lib/apis/api-shipments.service.mjs +0 -87
- package/esm2022/lib/apis/api-supplies.service.mjs +0 -133
- package/esm2022/lib/apis/models/api-billing-do.interfaces.mjs +0 -2
- package/esm2022/lib/apis/models/api-billing-do.types.mjs +0 -2
- package/esm2022/lib/apis/models/api-billing-mx.interfaces.mjs +0 -2
- package/esm2022/lib/apis/models/api-billing-mx.types.mjs +0 -2
- package/esm2022/lib/apis/models/api-billing-pa.interfaces.mjs +0 -2
- package/esm2022/lib/apis/models/api-billing-pa.types.mjs +0 -2
- package/esm2022/lib/apis/models/api-billing-sv.interfaces.mjs +0 -2
- package/esm2022/lib/apis/models/api-billing-sv.types.mjs +0 -2
- package/esm2022/lib/apis/models/api-billing.models.mjs +0 -2
- package/esm2022/lib/apis/models/api-cash-operations.interfaces.mjs +0 -2
- package/esm2022/lib/apis/models/api-cash-operations.types.mjs +0 -2
- package/esm2022/lib/apis/models/api-catalog.enum.mjs +0 -9
- package/esm2022/lib/apis/models/api-catalog.interfaces.mjs +0 -2
- package/esm2022/lib/apis/models/api-catalog.types.mjs +0 -2
- package/esm2022/lib/apis/models/api-companies.interfaces.mjs +0 -2
- package/esm2022/lib/apis/models/api-companies.types.mjs +0 -2
- package/esm2022/lib/apis/models/api-composition.interfaces.mjs +0 -2
- package/esm2022/lib/apis/models/api-composition.types.mjs +0 -2
- package/esm2022/lib/apis/models/api-customs.interfaces.mjs +0 -2
- package/esm2022/lib/apis/models/api-customs.types.mjs +0 -2
- package/esm2022/lib/apis/models/api-discounts.interfaces.mjs +0 -2
- package/esm2022/lib/apis/models/api-discounts.types.mjs +0 -2
- package/esm2022/lib/apis/models/api-e-tools-auto-billing.interfaces.mjs +0 -2
- package/esm2022/lib/apis/models/api-e-tools-auto-billing.types.mjs +0 -2
- package/esm2022/lib/apis/models/api-events.enum.mjs +0 -7
- package/esm2022/lib/apis/models/api-events.interfaces.mjs +0 -2
- package/esm2022/lib/apis/models/api-events.types.mjs +0 -2
- package/esm2022/lib/apis/models/api-external-pickups.types.mjs +0 -2
- package/esm2022/lib/apis/models/api-inventories.enum.mjs +0 -22
- package/esm2022/lib/apis/models/api-inventories.interfaces.mjs +0 -2
- package/esm2022/lib/apis/models/api-inventories.types.mjs +0 -2
- package/esm2022/lib/apis/models/api-invoices.interfaces.mjs +0 -2
- package/esm2022/lib/apis/models/api-invoices.types.mjs +0 -2
- package/esm2022/lib/apis/models/api-notifications.interfaces.mjs +0 -2
- package/esm2022/lib/apis/models/api-notifications.types.mjs +0 -2
- package/esm2022/lib/apis/models/api-open-items.interfaces.mjs +0 -2
- package/esm2022/lib/apis/models/api-open-items.types.mjs +0 -2
- package/esm2022/lib/apis/models/api-reports.interfaces.mjs +0 -2
- package/esm2022/lib/apis/models/api-reports.types.mjs +0 -2
- package/esm2022/lib/apis/models/api-security.interfaces.mjs +0 -2
- package/esm2022/lib/apis/models/api-security.types.mjs +0 -2
- package/esm2022/lib/apis/models/api-services.interfaces.mjs +0 -2
- package/esm2022/lib/apis/models/api-services.types.mjs +0 -2
- package/esm2022/lib/apis/models/api-shipments.enums.mjs +0 -8
- package/esm2022/lib/apis/models/api-shipments.interfaces.mjs +0 -2
- package/esm2022/lib/apis/models/api-shipments.types.mjs +0 -2
- package/esm2022/lib/apis/models/api-supplies.interfaces.mjs +0 -2
- package/esm2022/lib/apis/models/api-supplies.types.mjs +0 -2
- package/esm2022/lib/apis/models/api.models.mjs +0 -2
- package/esm2022/lib/cypher/crypto.service.mjs +0 -93
- package/esm2022/lib/helpers/files.mjs +0 -9
- package/esm2022/lib/helpers/http.mjs +0 -66
- package/esm2022/lib/interceptors/api-headers.interceptor.mjs +0 -24
- package/esm2022/lib/interceptors/api-token.interceptor.mjs +0 -28
- package/esm2022/lib/interceptors/http-caching.interceptor.mjs +0 -37
- package/esm2022/lib/ngx-services.models.mjs +0 -11
- package/esm2022/lib/ngx-services.module.mjs +0 -33
- package/esm2022/lib/websockets/web-sockets.service.mjs +0 -115
- package/esm2022/public-api.mjs +0 -89
- package/lib/apis/api-billing-do.service.d.ts +0 -24
- package/lib/apis/api-billing-gt.service.d.ts +0 -38
- package/lib/apis/api-billing-mx.service.d.ts +0 -39
- package/lib/apis/api-billing-pa.service.d.ts +0 -68
- package/lib/apis/api-billing-sv.service.d.ts +0 -55
- package/lib/apis/api-cash-operations.service.d.ts +0 -62
- package/lib/apis/api-catalogs.service.d.ts +0 -433
- package/lib/apis/api-companies.service.d.ts +0 -714
- package/lib/apis/api-composition.service.d.ts +0 -35
- package/lib/apis/api-customs.service.d.ts +0 -110
- package/lib/apis/api-discounts.service.d.ts +0 -167
- package/lib/apis/api-e-tools-auto-billing.service.d.ts +0 -49
- package/lib/apis/api-events.service.d.ts +0 -33
- package/lib/apis/api-external-pickups.service.d.ts +0 -46
- package/lib/apis/api-inventories.service.d.ts +0 -134
- package/lib/apis/api-invoices.service.d.ts +0 -280
- package/lib/apis/api-notifications.service.d.ts +0 -70
- package/lib/apis/api-open-items.service.d.ts +0 -41
- package/lib/apis/api-reports.service.d.ts +0 -82
- package/lib/apis/api-security.service.d.ts +0 -162
- package/lib/apis/api-services.service.d.ts +0 -67
- package/lib/apis/api-shipments.service.d.ts +0 -58
- package/lib/apis/api-supplies.service.d.ts +0 -93
- package/lib/apis/models/api-billing-do.interfaces.d.ts +0 -6
- package/lib/apis/models/api-billing-do.types.d.ts +0 -5
- package/lib/apis/models/api-billing-mx.interfaces.d.ts +0 -21
- package/lib/apis/models/api-billing-mx.types.d.ts +0 -13
- package/lib/apis/models/api-billing-pa.interfaces.d.ts +0 -26
- package/lib/apis/models/api-billing-pa.types.d.ts +0 -16
- package/lib/apis/models/api-billing-sv.interfaces.d.ts +0 -22
- package/lib/apis/models/api-billing-sv.types.d.ts +0 -21
- package/lib/apis/models/api-billing.models.d.ts +0 -27
- package/lib/apis/models/api-cash-operations.interfaces.d.ts +0 -40
- package/lib/apis/models/api-cash-operations.types.d.ts +0 -30
- package/lib/apis/models/api-catalog.enum.d.ts +0 -7
- package/lib/apis/models/api-catalog.interfaces.d.ts +0 -204
- package/lib/apis/models/api-catalog.types.d.ts +0 -203
- package/lib/apis/models/api-companies.interfaces.d.ts +0 -341
- package/lib/apis/models/api-companies.types.d.ts +0 -457
- package/lib/apis/models/api-composition.interfaces.d.ts +0 -272
- package/lib/apis/models/api-composition.types.d.ts +0 -9
- package/lib/apis/models/api-customs.interfaces.d.ts +0 -125
- package/lib/apis/models/api-customs.types.d.ts +0 -90
- package/lib/apis/models/api-discounts.interfaces.d.ts +0 -78
- package/lib/apis/models/api-discounts.types.d.ts +0 -89
- package/lib/apis/models/api-e-tools-auto-billing.interfaces.d.ts +0 -45
- package/lib/apis/models/api-e-tools-auto-billing.types.d.ts +0 -30
- package/lib/apis/models/api-events.enum.d.ts +0 -5
- package/lib/apis/models/api-events.interfaces.d.ts +0 -21
- package/lib/apis/models/api-events.types.d.ts +0 -14
- package/lib/apis/models/api-external-pickups.types.d.ts +0 -31
- package/lib/apis/models/api-inventories.enum.d.ts +0 -18
- package/lib/apis/models/api-inventories.interfaces.d.ts +0 -40
- package/lib/apis/models/api-inventories.types.d.ts +0 -56
- package/lib/apis/models/api-invoices.interfaces.d.ts +0 -267
- package/lib/apis/models/api-invoices.types.d.ts +0 -195
- package/lib/apis/models/api-notifications.interfaces.d.ts +0 -36
- package/lib/apis/models/api-notifications.types.d.ts +0 -34
- package/lib/apis/models/api-open-items.interfaces.d.ts +0 -32
- package/lib/apis/models/api-open-items.types.d.ts +0 -58
- package/lib/apis/models/api-reports.interfaces.d.ts +0 -233
- package/lib/apis/models/api-reports.types.d.ts +0 -50
- package/lib/apis/models/api-security.interfaces.d.ts +0 -68
- package/lib/apis/models/api-security.types.d.ts +0 -72
- package/lib/apis/models/api-services.interfaces.d.ts +0 -49
- package/lib/apis/models/api-services.types.d.ts +0 -67
- package/lib/apis/models/api-shipments.enums.d.ts +0 -6
- package/lib/apis/models/api-shipments.interfaces.d.ts +0 -12
- package/lib/apis/models/api-shipments.types.d.ts +0 -93
- package/lib/apis/models/api-supplies.interfaces.d.ts +0 -40
- package/lib/apis/models/api-supplies.types.d.ts +0 -50
- package/lib/apis/models/api.models.d.ts +0 -36
- package/lib/cypher/crypto.service.d.ts +0 -15
- package/lib/helpers/files.d.ts +0 -2
- package/lib/helpers/http.d.ts +0 -38
- package/lib/interceptors/api-headers.interceptor.d.ts +0 -12
- package/lib/interceptors/api-token.interceptor.d.ts +0 -11
- package/lib/interceptors/http-caching.interceptor.d.ts +0 -12
- package/lib/ngx-services.models.d.ts +0 -62
- package/lib/ngx-services.module.d.ts +0 -16
- package/lib/websockets/web-sockets.service.d.ts +0 -49
- package/public-api.d.ts +0 -79
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { Environment } from '../ngx-services.models';
|
|
2
|
-
import { HttpClient } from '@angular/common/http';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import { ValidateFacilityIn, ValidateFacilityOut, ServiceAreasOut, EmailErrorIn, PromotionIn, PromotionOut, ValidateNIPOut, ValidateNIPIn, ValidateIdentificationBROut, ValidateIdentificationBRIn, ServiceAreaIn, PostalLocationsOut, GetPostalLocationsIn } from './models/api-services.types';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class ApiServicesService {
|
|
7
|
-
private environments;
|
|
8
|
-
private http;
|
|
9
|
-
constructor(environments: Environment, http: HttpClient);
|
|
10
|
-
/**
|
|
11
|
-
* Retrieves the URL for the services API from the environment settings.
|
|
12
|
-
* If the URL is not defined, an empty string is returned.
|
|
13
|
-
*
|
|
14
|
-
* @return {string} The API Services URL or an empty string if not defined.
|
|
15
|
-
*/
|
|
16
|
-
get url(): string;
|
|
17
|
-
/**
|
|
18
|
-
* Retrieves service areas based on the provided query parameters.
|
|
19
|
-
*
|
|
20
|
-
* @param {ServiceAreaIn} body - The query parameters used to filter and retrieve service areas.
|
|
21
|
-
* @return {Observable<NotificationsOut>} An observable that emits the fetched service areas.
|
|
22
|
-
*/
|
|
23
|
-
postServiceAreas(body: ServiceAreaIn): Observable<ServiceAreasOut>;
|
|
24
|
-
/**
|
|
25
|
-
* Validate facility values based on the provided parameter.
|
|
26
|
-
*
|
|
27
|
-
* @param {ValidateFacilityIn} body - The facility data to be sent in the request body
|
|
28
|
-
* @return {Observable<ValidateFacilityOut>} An observable emitting the response containing the facility validated output data.
|
|
29
|
-
*/
|
|
30
|
-
postValidateFacility(body: ValidateFacilityIn): Observable<ValidateFacilityOut>;
|
|
31
|
-
/**
|
|
32
|
-
* Create an email resource.
|
|
33
|
-
*
|
|
34
|
-
* @param {EmailErrorIn} body - The email data to be sent in the request body
|
|
35
|
-
* @return {Observable<{}>} An observable emitting the response data.
|
|
36
|
-
*/
|
|
37
|
-
postEmailError(body: EmailErrorIn): Observable<{}>;
|
|
38
|
-
/**
|
|
39
|
-
* Sends a promotion request to the server using the provided body.
|
|
40
|
-
*
|
|
41
|
-
* @param {PromotionIn} body - The promotion data to be sent in the request body.
|
|
42
|
-
* @return {Observable<PromotionOut>} An observable emitting the response containing the promotion output data.
|
|
43
|
-
*/
|
|
44
|
-
postPromotion(body: PromotionIn): Observable<PromotionOut>;
|
|
45
|
-
/**
|
|
46
|
-
* Validate NIP account value based on the provided parameter.
|
|
47
|
-
*
|
|
48
|
-
* @param {ValidateNIPIn} body - The NIP account data to be sent in the request body
|
|
49
|
-
* @return {Observable<ValidateNIPOut>} An observable emitting the response containing the NIP account validated data.
|
|
50
|
-
*/
|
|
51
|
-
postValidateNIP(body: ValidateNIPIn): Observable<ValidateNIPOut>;
|
|
52
|
-
/**
|
|
53
|
-
* Validate BR Identification value based on the provided parameter.
|
|
54
|
-
*
|
|
55
|
-
* @param {ValidateIdentificationBRIn} body - The BR Identification data to be sent in the request body
|
|
56
|
-
* @return {Observable<ValidateIdentificationBROut>} An observable emitting the response containing the BR Identification validated data.
|
|
57
|
-
*/
|
|
58
|
-
postValidateIdentificationBR(body: ValidateIdentificationBRIn): Observable<ValidateIdentificationBROut>;
|
|
59
|
-
/**
|
|
60
|
-
* Fetches postal location details based on the provided query parameters.
|
|
61
|
-
* @param {GetPostalLocationsIn} queryParams - The query parameters to filter and fetch postal location data.
|
|
62
|
-
* @return {Observable<PostalLocationsOut>} An observable that emits the postal location details.
|
|
63
|
-
*/
|
|
64
|
-
getPostalLocations(queryParams: GetPostalLocationsIn): Observable<PostalLocationsOut>;
|
|
65
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ApiServicesService, never>;
|
|
66
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ApiServicesService>;
|
|
67
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { Environment } from '../ngx-services.models';
|
|
4
|
-
import { ExportTypesOut, ManifestMultipleIn, ManifestMultipleOut, ShipmentCancellationIn, ShipmentCancellationOut, ShipmentEmployeeCustomer, ValidateAccountIn, ValidateAccountOut } from './models/api-shipments.types';
|
|
5
|
-
import { QueryParams } from './models/api.models';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class ApiShipmentsService {
|
|
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
|
-
* Retrieves the parameter values based on the provided parameter names.
|
|
19
|
-
*
|
|
20
|
-
* @param {ValidateAccountIn} body - An object of parameter names for which the values need to be fetched.
|
|
21
|
-
* @return {Observable<ValidateAccountIn>} An observable that emits the fetched parameter values
|
|
22
|
-
* @param body
|
|
23
|
-
*/
|
|
24
|
-
postValidateAccount(body: ValidateAccountIn): Observable<ValidateAccountOut>;
|
|
25
|
-
/**
|
|
26
|
-
* Sends a POST request to the shipments manifest endpoint with the provided body.
|
|
27
|
-
*
|
|
28
|
-
* @param body - The request payload of type `ManifestMultipleIn`.
|
|
29
|
-
* @returns An observable that emits the response data of type `ManifestMultipleOut`.
|
|
30
|
-
*/
|
|
31
|
-
postManifestMultiple(body: ManifestMultipleIn): Observable<ManifestMultipleOut>;
|
|
32
|
-
/**
|
|
33
|
-
* Validates and obtains the number of shipments allowed by an employee customer
|
|
34
|
-
*
|
|
35
|
-
* @return {Observable<ShipmentEmployeeCustomer>} An observable containing the shipments allowed by an employee
|
|
36
|
-
* @param id
|
|
37
|
-
*/
|
|
38
|
-
getEmployeeCustomer(id: number): Observable<ShipmentEmployeeCustomer>;
|
|
39
|
-
/**
|
|
40
|
-
* Cancels a specific shipment by providing its ID and a reason for cancellation.
|
|
41
|
-
* Sends a PATCH request to update the shipment's cancellation status with the specified reason.
|
|
42
|
-
*
|
|
43
|
-
* @param {Object} param0 - The input object containing shipment cancellation details.
|
|
44
|
-
* @param {string} param0.shipmentId - The unique identifier of the shipment to be canceled.
|
|
45
|
-
* @param {string} param0.reasonId - The unique identifier of the reason for cancellation.
|
|
46
|
-
* @return {Observable<ShipmentCancellationOut>} An observable emitting the result of the cancellation operation.
|
|
47
|
-
*/
|
|
48
|
-
patchShipmentsCancellation({ shipmentId, reasonId }: ShipmentCancellationIn): Observable<ShipmentCancellationOut>;
|
|
49
|
-
/**
|
|
50
|
-
* Fetches a list of export types based on the provided query parameters.
|
|
51
|
-
*
|
|
52
|
-
* @param {QueryParams} params - The query parameters to filter the export types.
|
|
53
|
-
* @return {Observable<ExportTypesOut>} An observable containing the list of export types.
|
|
54
|
-
*/
|
|
55
|
-
getExportTypes(params: QueryParams): Observable<ExportTypesOut>;
|
|
56
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ApiShipmentsService, never>;
|
|
57
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ApiShipmentsService>;
|
|
58
|
-
}
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { Environment } from '../ngx-services.models';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import { QueryParams } from './models/api.models';
|
|
5
|
-
import { SuppliesOut, SupplyIn, SupplyLocationIn, SupplyLocationOut, SupplyLocationsOut, SupplyLocationTransactionIn, SupplyLocationTransactionOut, SupplyOut, SupplyTransactionTypesOut, SupplyTypesOut } from './models/api-supplies.types';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class ApiSuppliesService {
|
|
8
|
-
private environments;
|
|
9
|
-
private http;
|
|
10
|
-
constructor(environments: Environment, http: HttpClient);
|
|
11
|
-
/**
|
|
12
|
-
* Retrieves the URL for the API supplies endpoint.
|
|
13
|
-
*
|
|
14
|
-
* @return {string} The API supplies URL or an empty string if not defined.
|
|
15
|
-
*/
|
|
16
|
-
get url(): string;
|
|
17
|
-
/**
|
|
18
|
-
* Fetches a list of supplies based on the provided query parameters.
|
|
19
|
-
*
|
|
20
|
-
* @param {QueryParams} params - The query parameters to filter the supplies.
|
|
21
|
-
* @return {Observable<SuppliesOut>} An observable containing the list of supplies.
|
|
22
|
-
*/
|
|
23
|
-
getSupplies(params: QueryParams): Observable<SuppliesOut>;
|
|
24
|
-
/**
|
|
25
|
-
* Retrieves the supply details for a given supply ID.
|
|
26
|
-
*
|
|
27
|
-
* @param {number} id - The unique identifier of the supply to retrieve.
|
|
28
|
-
* @return {Observable<SupplyOut>} An observable containing the supply details.
|
|
29
|
-
*/
|
|
30
|
-
getSupply(id: number): Observable<SupplyOut>;
|
|
31
|
-
/**
|
|
32
|
-
* Sends a supply object to the server and returns the created or updated supply information.
|
|
33
|
-
*
|
|
34
|
-
* @param {SupplyIn} body - The supply information to be sent to the server.
|
|
35
|
-
* @return {Observable<SupplyOut>} An observable containing the response with the supply data.
|
|
36
|
-
*/
|
|
37
|
-
postSupply(body: SupplyIn): Observable<SupplyOut>;
|
|
38
|
-
/**
|
|
39
|
-
* Updates an existing supply with the provided data.
|
|
40
|
-
*
|
|
41
|
-
* @param {number} id - The unique identifier of the supply to update.
|
|
42
|
-
* @param {SupplyIn} body - The data to update the supply with.
|
|
43
|
-
* @return {Observable<SupplyOut>} An observable containing the updated supply information.
|
|
44
|
-
*/
|
|
45
|
-
putSupply(id: number, body: SupplyIn): Observable<SupplyOut>;
|
|
46
|
-
/**
|
|
47
|
-
* Fetches the supply types based on the provided query parameters.
|
|
48
|
-
*
|
|
49
|
-
* @param {QueryParams} params - The query parameters to filter the supply types.
|
|
50
|
-
* @return {Observable<SupplyTypesOut>} An Observable that emits the supply types data.
|
|
51
|
-
*/
|
|
52
|
-
getSupplyTypes(params: QueryParams): Observable<SupplyTypesOut>;
|
|
53
|
-
/**
|
|
54
|
-
* Creates a new supply location.
|
|
55
|
-
*
|
|
56
|
-
* @param {SupplyLocationIn} body - The supply location data to create.
|
|
57
|
-
* @return {Observable<SupplyLocationOut>} An Observable that emits the created supply location data.
|
|
58
|
-
*/
|
|
59
|
-
postSupplyLocations(body: SupplyLocationIn): Observable<SupplyLocationOut>;
|
|
60
|
-
/**
|
|
61
|
-
* Fetches the supply locations based on the provided query parameters.
|
|
62
|
-
*
|
|
63
|
-
* @param {QueryParams} params - The query parameters to filter the supply locations.
|
|
64
|
-
* @return {Observable<SupplyLocationsOut>} An Observable that emits the supply locations data.
|
|
65
|
-
*/
|
|
66
|
-
getSupplyLocations(params: QueryParams): Observable<SupplyLocationsOut>;
|
|
67
|
-
/**
|
|
68
|
-
* Creates a new supply location transaction.
|
|
69
|
-
*
|
|
70
|
-
* @param {SupplyLocationTransactionIn} body - The transaction data to create.
|
|
71
|
-
* @return {Observable<SupplyLocationTransactionOut>} An Observable that emits the created transaction data.
|
|
72
|
-
*/
|
|
73
|
-
postSupplyLocationTransaction(body: SupplyLocationTransactionIn): Observable<SupplyLocationTransactionOut>;
|
|
74
|
-
/**
|
|
75
|
-
* Fetches the supply transaction types based on the provided query parameters.
|
|
76
|
-
*
|
|
77
|
-
* @param {QueryParams} params - The query parameters to filter the transaction types.
|
|
78
|
-
* @return {Observable<SupplyTransactionTypesOut>} An Observable that emits the supply transaction types data.
|
|
79
|
-
*/
|
|
80
|
-
getSupplyTransactionTypes(params: QueryParams): Observable<SupplyTransactionTypesOut>;
|
|
81
|
-
/**
|
|
82
|
-
* Exports the supply locations to an Excel file.
|
|
83
|
-
*
|
|
84
|
-
* @param {QueryParams} params - The query parameters to filter the data before export.
|
|
85
|
-
* @return {Observable<{ mime_type: string; base64: string }>} An Observable that emits the exported file's MIME type and Base64 content.
|
|
86
|
-
*/
|
|
87
|
-
getSupplyLocationsExportToExcel(params: QueryParams): Observable<{
|
|
88
|
-
mime_type: string;
|
|
89
|
-
base64: string;
|
|
90
|
-
}>;
|
|
91
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ApiSuppliesService, never>;
|
|
92
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ApiSuppliesService>;
|
|
93
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { LaravelModel } from './api.models';
|
|
2
|
-
export interface CFDI extends LaravelModel {
|
|
3
|
-
code: string;
|
|
4
|
-
description: string;
|
|
5
|
-
fiscal_regimen_receptor: string;
|
|
6
|
-
moral_person: string;
|
|
7
|
-
physical_person: string;
|
|
8
|
-
}
|
|
9
|
-
export interface FiscalRegimen extends LaravelModel {
|
|
10
|
-
code: string;
|
|
11
|
-
description: string;
|
|
12
|
-
moral_person: string;
|
|
13
|
-
physical_person: string;
|
|
14
|
-
}
|
|
15
|
-
export interface PostalCodeBillings extends LaravelModel {
|
|
16
|
-
city: string;
|
|
17
|
-
municipality: string;
|
|
18
|
-
state: string;
|
|
19
|
-
suburb: string;
|
|
20
|
-
postal_code_number: string;
|
|
21
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { CFDI, FiscalRegimen, PostalCodeBillings } from './api-billing-mx.interfaces';
|
|
2
|
-
export type FiscalRegimensAcceptedOut = {
|
|
3
|
-
total: number;
|
|
4
|
-
cfdi_use: CFDI[];
|
|
5
|
-
};
|
|
6
|
-
export type FiscalRegimensOut = {
|
|
7
|
-
total: number;
|
|
8
|
-
fiscal_regimen: FiscalRegimen[];
|
|
9
|
-
};
|
|
10
|
-
export type PostalCodesOut = {
|
|
11
|
-
postal_code: PostalCodeBillings[];
|
|
12
|
-
total: number;
|
|
13
|
-
};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { LaravelModel } from './api.models';
|
|
2
|
-
export interface BillingPaCustomer {
|
|
3
|
-
document_id: number;
|
|
4
|
-
name: string;
|
|
5
|
-
number: string;
|
|
6
|
-
type_ruc: number;
|
|
7
|
-
type_ruc_code: string;
|
|
8
|
-
verification_code: string;
|
|
9
|
-
type_rec: string;
|
|
10
|
-
identification_type_id: number;
|
|
11
|
-
}
|
|
12
|
-
export interface District extends LaravelModel {
|
|
13
|
-
code: string;
|
|
14
|
-
name: string;
|
|
15
|
-
province_id: number;
|
|
16
|
-
}
|
|
17
|
-
export interface Parish extends LaravelModel {
|
|
18
|
-
code: string;
|
|
19
|
-
name: string;
|
|
20
|
-
district_id: number;
|
|
21
|
-
province_id: number;
|
|
22
|
-
}
|
|
23
|
-
export interface Province extends LaravelModel {
|
|
24
|
-
code: string;
|
|
25
|
-
name: string;
|
|
26
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { BillingPaCustomer, District, Parish, Province } from './api-billing-pa.interfaces';
|
|
2
|
-
export type DistrictsOut = {
|
|
3
|
-
total: number;
|
|
4
|
-
districts: District[];
|
|
5
|
-
};
|
|
6
|
-
export type BillingPaCustomerOut = {
|
|
7
|
-
customer: BillingPaCustomer;
|
|
8
|
-
};
|
|
9
|
-
export type ParishesOut = {
|
|
10
|
-
total: number;
|
|
11
|
-
parishes: Parish[];
|
|
12
|
-
};
|
|
13
|
-
export type ProvincesOut = {
|
|
14
|
-
total: number;
|
|
15
|
-
provinces: Province[];
|
|
16
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { LaravelModel } from './api.models';
|
|
2
|
-
export interface PersonType extends LaravelModel {
|
|
3
|
-
code: string;
|
|
4
|
-
name: string;
|
|
5
|
-
}
|
|
6
|
-
export interface EconomicActivity extends LaravelModel {
|
|
7
|
-
code: string;
|
|
8
|
-
name: string;
|
|
9
|
-
}
|
|
10
|
-
export interface EstablishmentType extends LaravelModel {
|
|
11
|
-
code: string;
|
|
12
|
-
name: string;
|
|
13
|
-
}
|
|
14
|
-
export interface Department extends LaravelModel {
|
|
15
|
-
code: string;
|
|
16
|
-
name: string;
|
|
17
|
-
}
|
|
18
|
-
export interface Municipality extends LaravelModel {
|
|
19
|
-
code: string;
|
|
20
|
-
name: string;
|
|
21
|
-
department_code: string;
|
|
22
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Department, EconomicActivity, EstablishmentType, Municipality, PersonType } from './api-billing-sv.interfaces';
|
|
2
|
-
export type EconomicActivitiesOut = {
|
|
3
|
-
economic_activities: EconomicActivity[];
|
|
4
|
-
total: number;
|
|
5
|
-
};
|
|
6
|
-
export type PersonTypesOut = {
|
|
7
|
-
person_types: PersonType[];
|
|
8
|
-
total: number;
|
|
9
|
-
};
|
|
10
|
-
export type EstablishmentTypesOut = {
|
|
11
|
-
establishment_types: EstablishmentType[];
|
|
12
|
-
total: number;
|
|
13
|
-
};
|
|
14
|
-
export type DepartmentsOut = {
|
|
15
|
-
departments: Department[];
|
|
16
|
-
total: number;
|
|
17
|
-
};
|
|
18
|
-
export type MunicipalitiesOut = {
|
|
19
|
-
municipalities: Municipality[];
|
|
20
|
-
total: number;
|
|
21
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { QueryParams } from './api.models';
|
|
3
|
-
import { DistrictsOut, ParishesOut, ProvincesOut } from './api-billing-pa.types';
|
|
4
|
-
export interface ApiBillingConfigurable {
|
|
5
|
-
getConfigs(): Observable<BillingConfigsOut>;
|
|
6
|
-
getConfig(id: number): Observable<BillingConfigOut>;
|
|
7
|
-
postConfigs(body: BillingConfigIn): Observable<BillingConfigOut>;
|
|
8
|
-
getDistricts?(params: QueryParams): Observable<DistrictsOut>;
|
|
9
|
-
getParishes?(params: QueryParams): Observable<ParishesOut>;
|
|
10
|
-
getProvinces?(params: QueryParams): Observable<ProvincesOut>;
|
|
11
|
-
}
|
|
12
|
-
export type BillingConfig = {
|
|
13
|
-
label: string;
|
|
14
|
-
field: string;
|
|
15
|
-
is_required: boolean;
|
|
16
|
-
type?: string;
|
|
17
|
-
};
|
|
18
|
-
export type BillingConfigsOut = {
|
|
19
|
-
configurations: BillingConfig[];
|
|
20
|
-
total: number;
|
|
21
|
-
};
|
|
22
|
-
export type BillingConfigIn = {
|
|
23
|
-
[key: string]: string | number;
|
|
24
|
-
};
|
|
25
|
-
export type BillingConfigOut = {
|
|
26
|
-
[key: string]: [key: string | number][];
|
|
27
|
-
};
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { ActiveLessSymfonyModel, SymfonyModel } from './api.models';
|
|
2
|
-
export interface InstallationCountryReferenceCurrency extends ActiveLessSymfonyModel {
|
|
3
|
-
installationId?: number;
|
|
4
|
-
countryReferenceCurrencyId: number;
|
|
5
|
-
minCashValue?: number;
|
|
6
|
-
maxCashValue?: number;
|
|
7
|
-
}
|
|
8
|
-
export interface CashValueSummary {
|
|
9
|
-
countryReferenceCurrencyId: number;
|
|
10
|
-
currencyCode: string;
|
|
11
|
-
balanceInitial: number;
|
|
12
|
-
transfers: number;
|
|
13
|
-
payments: number;
|
|
14
|
-
totalBalance: number;
|
|
15
|
-
minCashValue: number;
|
|
16
|
-
maxAmount: number;
|
|
17
|
-
}
|
|
18
|
-
export interface OpeningTransference extends ActiveLessSymfonyModel {
|
|
19
|
-
openingId: number;
|
|
20
|
-
openingReferenceId: number;
|
|
21
|
-
transferenceTypeId: number;
|
|
22
|
-
userId: number;
|
|
23
|
-
amount: number;
|
|
24
|
-
countryReferenceCurrencyId: number;
|
|
25
|
-
transferenceCode: string;
|
|
26
|
-
receiptNumber: string;
|
|
27
|
-
userName: string | null;
|
|
28
|
-
userUsername: string | null;
|
|
29
|
-
currencyCode: string | null;
|
|
30
|
-
maxCashExceeded: boolean;
|
|
31
|
-
transferenceType: TransferenceType;
|
|
32
|
-
}
|
|
33
|
-
export interface ReceiptFile {
|
|
34
|
-
format: string;
|
|
35
|
-
base64: string;
|
|
36
|
-
}
|
|
37
|
-
export interface TransferenceType extends SymfonyModel {
|
|
38
|
-
code: string;
|
|
39
|
-
name: string;
|
|
40
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { CashValueSummary, InstallationCountryReferenceCurrency, OpeningTransference, ReceiptFile } from './api-cash-operations.interfaces';
|
|
2
|
-
export type InstallationCountryReferenceCurrenciesOut = {
|
|
3
|
-
total: number;
|
|
4
|
-
installationCountryReferenceCurrencies: InstallationCountryReferenceCurrency[];
|
|
5
|
-
};
|
|
6
|
-
export type InstallationCountryReferenceCurrencyIn = {
|
|
7
|
-
installationId?: number;
|
|
8
|
-
countryReferenceCurrencyId: number;
|
|
9
|
-
minCashValue?: number;
|
|
10
|
-
maxCashValue?: number;
|
|
11
|
-
};
|
|
12
|
-
export type InstallationCountryReferenceCurrencyOut = {
|
|
13
|
-
installationCountryReferenceCurrencies: InstallationCountryReferenceCurrency;
|
|
14
|
-
};
|
|
15
|
-
export type CashValueSummaryOut = {
|
|
16
|
-
total: number;
|
|
17
|
-
cashValueSummary: CashValueSummary[];
|
|
18
|
-
};
|
|
19
|
-
export type OpeningTransferenceIn = {
|
|
20
|
-
openingId: number;
|
|
21
|
-
amount: number;
|
|
22
|
-
countryReferenceCurrencyId: number;
|
|
23
|
-
transferenceTypeCode: string;
|
|
24
|
-
};
|
|
25
|
-
export type OpeningTransferenceOut = {
|
|
26
|
-
openingTransference: OpeningTransference;
|
|
27
|
-
};
|
|
28
|
-
export type ReceiptFileOut = {
|
|
29
|
-
receipt: ReceiptFile;
|
|
30
|
-
};
|
|
@@ -1,204 +0,0 @@
|
|
|
1
|
-
import { ViewSectionOption } from './api-catalog.enum';
|
|
2
|
-
import { SymfonyModel, Translations } from './api.models';
|
|
3
|
-
export interface Country extends SymfonyModel {
|
|
4
|
-
name: string;
|
|
5
|
-
code: string;
|
|
6
|
-
codeAndName: string;
|
|
7
|
-
isoCode: string;
|
|
8
|
-
codePhone: string;
|
|
9
|
-
locale: string;
|
|
10
|
-
locationType: LocationType;
|
|
11
|
-
unit: Unit;
|
|
12
|
-
timezone: string;
|
|
13
|
-
hasImportService: boolean;
|
|
14
|
-
phoneDigits: number;
|
|
15
|
-
locationTypeFields: LocationTypeFields;
|
|
16
|
-
postalCodeSuffixRegex: string;
|
|
17
|
-
decimalPoint: number;
|
|
18
|
-
max_quantity_document_piece: number;
|
|
19
|
-
max_quantity_package_piece: number;
|
|
20
|
-
weight_restriction_piece: number;
|
|
21
|
-
restriction_shipment: number;
|
|
22
|
-
restriction_dimension: number;
|
|
23
|
-
max_declared_value: number;
|
|
24
|
-
decimal_separator: string;
|
|
25
|
-
thousands_separator: string;
|
|
26
|
-
label_printer_name: string;
|
|
27
|
-
receipt_printer_name: string;
|
|
28
|
-
others_printer_name: string;
|
|
29
|
-
territories: number[];
|
|
30
|
-
use_billing?: boolean;
|
|
31
|
-
translations: Translations;
|
|
32
|
-
}
|
|
33
|
-
export interface LocationType extends SymfonyModel {
|
|
34
|
-
code: string;
|
|
35
|
-
name: string;
|
|
36
|
-
priority: number;
|
|
37
|
-
}
|
|
38
|
-
export interface Unit extends SymfonyModel {
|
|
39
|
-
name: string;
|
|
40
|
-
weight: string;
|
|
41
|
-
dimension: string;
|
|
42
|
-
}
|
|
43
|
-
export interface LocationTypeFields {
|
|
44
|
-
city: City;
|
|
45
|
-
postalCode: PostalCode;
|
|
46
|
-
suburb: Suburb;
|
|
47
|
-
}
|
|
48
|
-
export interface City {
|
|
49
|
-
enabled: boolean;
|
|
50
|
-
required: boolean;
|
|
51
|
-
}
|
|
52
|
-
export interface PostalCode {
|
|
53
|
-
enabled: boolean;
|
|
54
|
-
required: boolean;
|
|
55
|
-
}
|
|
56
|
-
export interface Suburb {
|
|
57
|
-
enabled: boolean;
|
|
58
|
-
required: boolean;
|
|
59
|
-
}
|
|
60
|
-
export interface Language extends SymfonyModel {
|
|
61
|
-
code: string;
|
|
62
|
-
name: string;
|
|
63
|
-
}
|
|
64
|
-
export interface State extends SymfonyModel {
|
|
65
|
-
country: Country;
|
|
66
|
-
code: string;
|
|
67
|
-
name: string;
|
|
68
|
-
}
|
|
69
|
-
export interface Currency extends SymfonyModel {
|
|
70
|
-
code: string;
|
|
71
|
-
name: string;
|
|
72
|
-
symbol: string;
|
|
73
|
-
}
|
|
74
|
-
export interface IdentificationType extends SymfonyModel {
|
|
75
|
-
code: string;
|
|
76
|
-
countryId: number;
|
|
77
|
-
identificationType: number | null;
|
|
78
|
-
name: string;
|
|
79
|
-
viewSection?: Record<ViewSectionOption, boolean>;
|
|
80
|
-
regex: string | null;
|
|
81
|
-
isExternalValidation: boolean;
|
|
82
|
-
}
|
|
83
|
-
export interface OperationType extends SymfonyModel {
|
|
84
|
-
code: string;
|
|
85
|
-
name: string;
|
|
86
|
-
translations?: Translations;
|
|
87
|
-
}
|
|
88
|
-
export interface BoardingProcessStatus {
|
|
89
|
-
id: number;
|
|
90
|
-
code: string;
|
|
91
|
-
createdAt: string;
|
|
92
|
-
updatedAt: string;
|
|
93
|
-
}
|
|
94
|
-
export interface ExtraCharge extends SymfonyModel {
|
|
95
|
-
code: string;
|
|
96
|
-
name: string;
|
|
97
|
-
isDiscount: boolean;
|
|
98
|
-
}
|
|
99
|
-
export interface Region extends SymfonyModel {
|
|
100
|
-
code: string;
|
|
101
|
-
name: string;
|
|
102
|
-
country: Country;
|
|
103
|
-
}
|
|
104
|
-
export interface Zone extends SymfonyModel {
|
|
105
|
-
code: string;
|
|
106
|
-
name: string;
|
|
107
|
-
country: Country;
|
|
108
|
-
}
|
|
109
|
-
export interface ManagementArea extends SymfonyModel {
|
|
110
|
-
name: string;
|
|
111
|
-
country: Country;
|
|
112
|
-
}
|
|
113
|
-
export interface CancellationReason extends SymfonyModel {
|
|
114
|
-
code: string;
|
|
115
|
-
name: string;
|
|
116
|
-
eventReasonCode: string;
|
|
117
|
-
countryId: number;
|
|
118
|
-
}
|
|
119
|
-
export interface Currency extends SymfonyModel {
|
|
120
|
-
code: string;
|
|
121
|
-
name: string;
|
|
122
|
-
symbol: string;
|
|
123
|
-
}
|
|
124
|
-
export interface Unit extends SymfonyModel {
|
|
125
|
-
name: string;
|
|
126
|
-
weight: string;
|
|
127
|
-
dimension: string;
|
|
128
|
-
}
|
|
129
|
-
export interface ShipmentScope extends SymfonyModel {
|
|
130
|
-
code: string;
|
|
131
|
-
name: string;
|
|
132
|
-
}
|
|
133
|
-
export interface ShipmentContentType extends SymfonyModel {
|
|
134
|
-
code: string;
|
|
135
|
-
name: string;
|
|
136
|
-
}
|
|
137
|
-
export interface GenericFolio extends SymfonyModel {
|
|
138
|
-
countryId: number;
|
|
139
|
-
code: string;
|
|
140
|
-
customer: string;
|
|
141
|
-
accountNumber: string;
|
|
142
|
-
content: string;
|
|
143
|
-
packaging: true;
|
|
144
|
-
destinationFullName: string;
|
|
145
|
-
destinationAddressLine1: string;
|
|
146
|
-
destinationAddressLine2: string;
|
|
147
|
-
destinationAddressLine3: string;
|
|
148
|
-
destinationCountryId: number;
|
|
149
|
-
destinationCountryCode: string;
|
|
150
|
-
destinationPostalCode: string;
|
|
151
|
-
destinationCityName: string;
|
|
152
|
-
destinationCountyName: string;
|
|
153
|
-
destinationStateCode: string;
|
|
154
|
-
destinationPhoneCode: string;
|
|
155
|
-
destinationPhoneNumber: string;
|
|
156
|
-
destinationEmail: string;
|
|
157
|
-
countryReferenceProductIds: number[];
|
|
158
|
-
productLocalCodes: string;
|
|
159
|
-
}
|
|
160
|
-
export interface Product extends SymfonyModel {
|
|
161
|
-
globalCode: number;
|
|
162
|
-
localCode: string;
|
|
163
|
-
globalName: string;
|
|
164
|
-
localName: string;
|
|
165
|
-
isDocument: string;
|
|
166
|
-
restrictedAccounts: {
|
|
167
|
-
id: string;
|
|
168
|
-
number: string;
|
|
169
|
-
isActive: boolean;
|
|
170
|
-
}[];
|
|
171
|
-
discounts: [];
|
|
172
|
-
}
|
|
173
|
-
export interface ShipmentIncomeType extends SymfonyModel {
|
|
174
|
-
countryId: number;
|
|
175
|
-
code: string;
|
|
176
|
-
name: string;
|
|
177
|
-
}
|
|
178
|
-
export interface UniqueFolio extends SymfonyModel {
|
|
179
|
-
code: number;
|
|
180
|
-
customer: string;
|
|
181
|
-
content: string;
|
|
182
|
-
kad: string | null;
|
|
183
|
-
executive: string;
|
|
184
|
-
}
|
|
185
|
-
export interface ShipmentGroup extends SymfonyModel {
|
|
186
|
-
code: string;
|
|
187
|
-
name: string;
|
|
188
|
-
}
|
|
189
|
-
export interface ShipmentStatus extends SymfonyModel {
|
|
190
|
-
code: string;
|
|
191
|
-
description: string;
|
|
192
|
-
}
|
|
193
|
-
export interface Question extends SymfonyModel {
|
|
194
|
-
description: string;
|
|
195
|
-
type: string;
|
|
196
|
-
questionOrder: number;
|
|
197
|
-
countryId: number;
|
|
198
|
-
isRequiredValue: boolean;
|
|
199
|
-
}
|
|
200
|
-
export interface Holiday extends SymfonyModel {
|
|
201
|
-
date: string;
|
|
202
|
-
description: string;
|
|
203
|
-
country: Country;
|
|
204
|
-
}
|