@experteam-mx/ngx-services 18.7.28 → 18.7.30

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.
@@ -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, OperationDocumentRequestsOut, 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, GetDocumentsOut, 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 {
@@ -247,6 +247,13 @@ export declare class ApiInvoicesService {
247
247
  * @returns An observable that emits the document requests data.
248
248
  */
249
249
  getOperationDocumentRequests(id: number): Observable<OperationDocumentRequestsOut>;
250
+ /**
251
+ * Retrieves a list of documents based on the provided query parameters.
252
+ *
253
+ * @param params - The query parameters to filter and paginate the documents
254
+ * @returns An Observable that emits the documents data when the HTTP request completes
255
+ */
256
+ getDocuments(params: QueryParams): Observable<GetDocumentsOut>;
250
257
  static ɵfac: i0.ɵɵFactoryDeclaration<ApiInvoicesService, never>;
251
258
  static ɵprov: i0.ɵɵInjectableDeclaration<ApiInvoicesService>;
252
259
  }
@@ -146,6 +146,11 @@ export interface Installation extends LaravelModel {
146
146
  location_id: number;
147
147
  number: number;
148
148
  system: System;
149
+ customer_screen: boolean;
150
+ epod_capture: boolean;
151
+ cx_survey: boolean;
152
+ customer_flow: boolean;
153
+ promotional_content: boolean;
149
154
  }
150
155
  export interface Location extends LaravelModel {
151
156
  accounts: Account[];
@@ -23,6 +23,11 @@ export type InstallationIn = {
23
23
  ip_address: string;
24
24
  location_id: number;
25
25
  number: number;
26
+ customer_screen: boolean;
27
+ epod_capture: boolean;
28
+ cx_survey: boolean;
29
+ customer_flow: boolean;
30
+ promotional_content: boolean;
26
31
  };
27
32
  export type InstallationOut = {
28
33
  installation: Installation;
@@ -182,3 +182,7 @@ export type ToleranceOut = {
182
182
  export type OperationDocumentRequestsOut = {
183
183
  requests: DocumentRequests[];
184
184
  };
185
+ export type GetDocumentsOut = {
186
+ documents: Document[];
187
+ total: number;
188
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experteam-mx/ngx-services",
3
- "version": "18.7.28",
3
+ "version": "18.7.30",
4
4
  "description": "Angular common services for Experteam apps",
5
5
  "author": "Experteam Cía. Ltda.",
6
6
  "keywords": [