@experteam-mx/ngx-services 18.7.25 → 18.7.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/apis/api-reports.service.mjs +1 -56
- package/esm2022/lib/apis/models/api-reports.types.mjs +1 -1
- package/fesm2022/experteam-mx-ngx-services.mjs +0 -55
- package/fesm2022/experteam-mx-ngx-services.mjs.map +1 -1
- package/lib/apis/api-reports.service.d.ts +2 -26
- package/lib/apis/models/api-reports.types.d.ts +0 -6
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Environment } from '../ngx-services.models';
|
|
2
1
|
import { HttpClient, HttpResponse } from '@angular/common/http';
|
|
3
2
|
import { Observable } from 'rxjs';
|
|
3
|
+
import { Environment } from '../ngx-services.models';
|
|
4
|
+
import { CollectionPaymentsOut, ExternalShipmentsOut, FileCheckOut, InvoicesOut, PartialWithdrawalsOut, PromotionCodeDiscountsOut, ShipmentsReportOut } from './models/api-reports.types';
|
|
4
5
|
import { QueryParams } from './models/api.models';
|
|
5
|
-
import { CollectionPaymentsOut, ExistPendingInvoicesIn, ExistPendingPaymentsIn, ExternalShipmentsOut, FileCheckOut, InvoicesOut, PartialWithdrawalsOut, PromotionCodeDiscountsOut, ShipmentsReportOut } from './models/api-reports.types';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class ApiReportsService {
|
|
8
8
|
private environments;
|
|
@@ -21,30 +21,6 @@ export declare class ApiReportsService {
|
|
|
21
21
|
* @return {Observable<CollectionPaymentsOut[]>} An observable that emits an array of collection payment.
|
|
22
22
|
*/
|
|
23
23
|
getCollectionPayments(params: QueryParams): Observable<CollectionPaymentsOut>;
|
|
24
|
-
/**
|
|
25
|
-
* Fetches the list of shipments with pending payments.
|
|
26
|
-
*
|
|
27
|
-
* @param {ExistPendingPaymentsIn} params - The parameters to filter pending payment shipments.
|
|
28
|
-
* @return {Observable<ShipmentsReportOut>} An observable emitting the shipments report data.
|
|
29
|
-
*/
|
|
30
|
-
getShipmentsPendingPayments(params: ExistPendingPaymentsIn): Observable<ShipmentsReportOut>;
|
|
31
|
-
/**
|
|
32
|
-
* Fetches shipment reports that are pending invoices based on the specified parameters.
|
|
33
|
-
* This method retrieves a filtered list of shipments with pending invoice statuses.
|
|
34
|
-
*
|
|
35
|
-
* @param {ExistPendingInvoicesIn} params - The parameters to filter the pending invoices, including
|
|
36
|
-
* shipment status codes, and pagination options.
|
|
37
|
-
* @return {Observable<ShipmentsReportOut>} An observable that emits the shipment report data based on the filter criteria.
|
|
38
|
-
*/
|
|
39
|
-
getShipmentsPendingInvoices(params: ExistPendingInvoicesIn): Observable<ShipmentsReportOut>;
|
|
40
|
-
/**
|
|
41
|
-
* Retrieves a report of shipments that do not have an associated invoice.
|
|
42
|
-
*
|
|
43
|
-
* @param params - The parameters to filter the shipments report. Includes details such as
|
|
44
|
-
* shipment status, invoice document ID, and other query parameters.
|
|
45
|
-
* @returns An observable that emits the shipments report data.
|
|
46
|
-
*/
|
|
47
|
-
getShipmentsWithoutInvoice(params: ExistPendingInvoicesIn): Observable<ShipmentsReportOut>;
|
|
48
24
|
/**
|
|
49
25
|
* Fetches shipment reports based on the provided query parameters.
|
|
50
26
|
*
|
|
@@ -9,12 +9,6 @@ export type ShipmentsReportOut = {
|
|
|
9
9
|
shipments: ShipmentReports[];
|
|
10
10
|
total: number;
|
|
11
11
|
};
|
|
12
|
-
export type ExistPendingPaymentsIn = {
|
|
13
|
-
installation_id: number;
|
|
14
|
-
};
|
|
15
|
-
export type ExistPendingInvoicesIn = {
|
|
16
|
-
installation_id: number;
|
|
17
|
-
};
|
|
18
12
|
export type ExternalShipmentsOut = {
|
|
19
13
|
external_shipments: ReportExternalShipment[];
|
|
20
14
|
total: number;
|