@experteam-mx/ngx-services 18.7.22 → 18.7.24
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-invoices.service.mjs +11 -1
- package/esm2022/lib/apis/api-reports.service.mjs +20 -1
- package/esm2022/lib/apis/models/api-invoices.interfaces.mjs +1 -1
- package/esm2022/lib/apis/models/api-invoices.types.mjs +1 -1
- package/fesm2022/experteam-mx-ngx-services.mjs +29 -0
- package/fesm2022/experteam-mx-ngx-services.mjs.map +1 -1
- package/lib/apis/api-invoices.service.d.ts +8 -1
- package/lib/apis/api-reports.service.d.ts +8 -0
- package/lib/apis/models/api-invoices.interfaces.d.ts +8 -1
- package/lib/apis/models/api-invoices.types.d.ts +4 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { Environment } from '../ngx-services.models';
|
|
4
|
-
import { CancelPaymentReceiptIn, CountryPaymentTypeFieldIn, CountryPaymentTypeFieldOut, CountryPaymentTypeFieldsOut, CountryPaymentTypeIn, CountryPaymentTypeOut, CountryPaymentTypesOut, CustomerDocumentTypesOut, CustomersOut, CustomerTypesOut, OperationAccountPaymentIn, OperationAccountPaymentOut, OperationCancelBillingIn, OperationCancelBillingOut, OperationDocumentIn, OperationDocumentOut, OperationPrintDocumentOut, OperationShipmentExternalIn, OperationShipmentExternalOut, PaymentTypeFieldAccountIn, PaymentTypeFieldAccountOut, PaymentTypeFieldAccountsOut, PaymentTypeFieldCardTypeIn, PaymentTypeFieldCardTypeOut, PaymentTypeFieldCardTypesOut, PaymentTypesOut, PrintCollectionReceiptOut, ToleranceIn, ToleranceOut, TolerancesOut } from './models/api-invoices.types';
|
|
4
|
+
import { CancelPaymentReceiptIn, CountryPaymentTypeFieldIn, CountryPaymentTypeFieldOut, CountryPaymentTypeFieldsOut, CountryPaymentTypeIn, CountryPaymentTypeOut, CountryPaymentTypesOut, CustomerDocumentTypesOut, CustomersOut, CustomerTypesOut, OperationAccountPaymentIn, OperationAccountPaymentOut, OperationCancelBillingIn, OperationCancelBillingOut, OperationDocumentIn, OperationDocumentOut, OperationDocumentRequestsOut, OperationPrintDocumentOut, OperationShipmentExternalIn, OperationShipmentExternalOut, PaymentTypeFieldAccountIn, PaymentTypeFieldAccountOut, PaymentTypeFieldAccountsOut, PaymentTypeFieldCardTypeIn, PaymentTypeFieldCardTypeOut, PaymentTypeFieldCardTypesOut, PaymentTypesOut, PrintCollectionReceiptOut, ToleranceIn, ToleranceOut, TolerancesOut } from './models/api-invoices.types';
|
|
5
5
|
import { QueryParams } from './models/api.models';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class ApiInvoicesService {
|
|
@@ -240,6 +240,13 @@ export declare class ApiInvoicesService {
|
|
|
240
240
|
* @return {Observable<{}>} An Observable that emits the result of the delete operation.
|
|
241
241
|
*/
|
|
242
242
|
deleteTolerance(id: number): Observable<{}>;
|
|
243
|
+
/**
|
|
244
|
+
* Retrieves the document requests associated with a document ID.
|
|
245
|
+
*
|
|
246
|
+
* @param id - The unique identifier for the document.
|
|
247
|
+
* @returns An observable that emits the document requests data.
|
|
248
|
+
*/
|
|
249
|
+
getOperationDocumentRequests(id: number): Observable<OperationDocumentRequestsOut>;
|
|
243
250
|
static ɵfac: i0.ɵɵFactoryDeclaration<ApiInvoicesService, never>;
|
|
244
251
|
static ɵprov: i0.ɵɵInjectableDeclaration<ApiInvoicesService>;
|
|
245
252
|
}
|
|
@@ -37,6 +37,14 @@ export declare class ApiReportsService {
|
|
|
37
37
|
* @return {Observable<ShipmentsReportOut>} An observable that emits the shipment report data based on the filter criteria.
|
|
38
38
|
*/
|
|
39
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>;
|
|
40
48
|
/**
|
|
41
49
|
* Fetches shipment reports based on the provided query parameters.
|
|
42
50
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LaravelModel, Translations } from './api.models';
|
|
1
|
+
import { ActiveLessLaravelModel, LaravelModel, Translations } from './api.models';
|
|
2
2
|
import { Currency, IdentificationType } from './api-catalog.interfaces';
|
|
3
3
|
export interface Document extends LaravelModel {
|
|
4
4
|
document_type_range_id: number;
|
|
@@ -241,3 +241,10 @@ export interface DocumentCategory extends LaravelModel {
|
|
|
241
241
|
is_electronic: boolean;
|
|
242
242
|
taxable: number;
|
|
243
243
|
}
|
|
244
|
+
export interface DocumentRequests extends ActiveLessLaravelModel {
|
|
245
|
+
document_id: string;
|
|
246
|
+
document_status_code: string;
|
|
247
|
+
service: string;
|
|
248
|
+
times: string[];
|
|
249
|
+
observation: string;
|
|
250
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CountryPaymentType, CountryPaymentTypeField, Customer, CustomerCountryDocumentType, CustomerType, Document, PaymentType, PaymentTypeFieldAccount, PaymentTypeFieldCardType, Tolerance } from './api-invoices.interfaces';
|
|
1
|
+
import { CountryPaymentType, CountryPaymentTypeField, Customer, CustomerCountryDocumentType, CustomerType, Document, DocumentRequests, PaymentType, PaymentTypeFieldAccount, PaymentTypeFieldCardType, Tolerance } from './api-invoices.interfaces';
|
|
2
2
|
export interface OperationAccountPaymentIn {
|
|
3
3
|
document_type_range_id: number | null;
|
|
4
4
|
document_number: string | null;
|
|
@@ -179,3 +179,6 @@ export type ToleranceIn = {
|
|
|
179
179
|
export type ToleranceOut = {
|
|
180
180
|
tolerance: Tolerance;
|
|
181
181
|
};
|
|
182
|
+
export type OperationDocumentRequestsOut = {
|
|
183
|
+
requests: DocumentRequests[];
|
|
184
|
+
};
|