@experteam-mx/ngx-services 18.7.22 → 18.7.23
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/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 +10 -0
- package/fesm2022/experteam-mx-ngx-services.mjs.map +1 -1
- package/lib/apis/api-invoices.service.d.ts +8 -1
- 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
|
}
|
|
@@ -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
|
+
};
|