@experteam-mx/ngx-services 18.8.0 → 18.8.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.
@@ -697,6 +697,18 @@ export declare class ApiCompaniesService {
697
697
  * @returns {Observable<TDXAccountSettingsOut>} An observable containing the updated TDX account setting.
698
698
  */
699
699
  putTDXAccountSettings(id: number, body: TDXAccountSettingsIn): Observable<TDXAccountSettingsOut>;
700
+ /**
701
+ * Retrieves the employees of a specific location using a provided token.
702
+ *
703
+ * @param params - Input parameters for the request, defined by the `LocationEmployeesIn` interface.
704
+ * @returns An `Observable<LocationEmployeesOut>` that emits the employees
705
+ * associated with the given location.
706
+ * @returns The response type is `ApiSuccess<LocationEmployeesOut>`, from which the `data` field is extracted.
707
+ */
708
+ getLocationEmployeesByToken(params: {
709
+ token: string;
710
+ queryParams: QueryParams;
711
+ }): Observable<LocationEmployeesOut>;
700
712
  static ɵfac: i0.ɵɵFactoryDeclaration<ApiCompaniesService, never>;
701
713
  static ɵprov: i0.ɵɵInjectableDeclaration<ApiCompaniesService>;
702
714
  }
@@ -1,4 +1,5 @@
1
1
  import { Account, AccountCategory, AccountType, BoardingProcess, Company, CompanyCountry, CompanyCountryTax, CountryExchange, CountryReference, CountryReferenceCurrency, CountryReferenceExtraCharge, CountryReferenceProduct, Employee, EmployeeCustomerDhl, ExtraChargeEntity, Installation, Location, LocationEmployee, Parameter, ParameterConfig, ProductEntity, SupplyEntity, System, TDXAccountSetting, WorkflowConfig } from './api-companies.interfaces';
2
+ import { QueryParams } from './api.models';
2
3
  export type LocationEmployeesOut = {
3
4
  location_employees: LocationEmployee[];
4
5
  total: number;
@@ -451,3 +452,6 @@ export type TDXAccountSettingsIn = {
451
452
  product_id: number;
452
453
  is_active: boolean;
453
454
  };
455
+ export type LocationEmployeesIn = {
456
+ token: string;
457
+ } & QueryParams;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experteam-mx/ngx-services",
3
- "version": "18.8.0",
3
+ "version": "18.8.1",
4
4
  "description": "Angular common services for Experteam apps",
5
5
  "author": "Experteam Cía. Ltda.",
6
6
  "keywords": [