@experteam-mx/ngx-services 18.8.22 → 18.8.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.
@@ -1,6 +1,6 @@
1
1
  import { Environment } from '../ngx-services.models';
2
2
  import { HttpClient } from '@angular/common/http';
3
- import { AccountCategoriesOut, AccountEntitiesIn, AccountEntitiesOut, AccountIn, AccountOut, AccountsOut, AccountTypeIn, AccountTypeOut, AccountTypesOut, BoardingProcessIdIn, BoardingProcessIn, CompanyCountriesOut, CompanyCountryIn, CompanyCountryOut, CompanyCountryTaxesOut, CompanyIn, CompanyOut, CountryReferenceCurrenciesOut, CountryReferenceCurrencyIn, CountryReferenceCurrencyOut, CountryReferenceExtraChargeIn, CountryReferenceExtraChargeOut, CountryReferenceIn, CountryReferenceOut, CountryReferenceProductIn, CountryReferenceProductOut, CountryReferenceProductsOut, CountryReferencesOut, EmployeeCustomersIn, EmployeeCustomersOut, EmployeeIn, EmployeeOut, EmployeesCustomersOut, EmployeesOut, ExchangeIn, ExchangeOut, ExchangesOut, ExtraChargeEntitiesIn, ExtraChargeEntitiesOut, ExtraChargeEntityGlobalConfigIn, ExtraChargeEntityGlobalConfigOut, InstallationIn, InstallationOut, InstallationsOut, LocationEmployeeBatchIn, LocationEmployeeOut, LocationEmployeesOut, LocationIn, LocationOut, LocationsOut, ParameterConfigIn, ParameterConfigOut, ParameterConfigsOut, ParametersByLevelIn, ParametersOut, ParametersValuesIn, ParametersValuesOut, ParameterValueIn, ParameterValueOut, ProductEntitiesIn, ProductEntitiesOut, SupplyEntitiesIn, SupplyEntitiesOut, SystemEntitiesIn, SystemEntitiesOut, SystemIn, SystemOut, SystemsOut, TDXAccountSettingsIn, TDXAccountSettingsOut, TDXAccountsSettingsOut, WorkflowConfigsBatchIn, WorkflowConfigsOut, WorkflowsOut } from './models/api-companies.types';
3
+ import { AccountCategoriesOut, AccountEntitiesIn, AccountEntitiesOut, AccountIn, AccountOut, AccountsOut, AccountTypeIn, AccountTypeOut, AccountTypesOut, BoardingProcessIdIn, BoardingProcessIn, CompanyCountriesOut, CompanyCountryIn, CompanyCountryOut, CompanyCountryTaxesOut, CompanyIn, CompanyOut, CountryReferenceCurrenciesOut, CountryReferenceCurrencyIn, CountryReferenceCurrencyOut, CountryReferenceExtraChargeIn, CountryReferenceExtraChargeOut, CountryReferenceIn, CountryReferenceOut, CountryReferenceProductIn, CountryReferenceProductOut, CountryReferenceProductsOut, CountryReferencesOut, EmployeeCustomersIn, EmployeeCustomersOut, EmployeeIn, EmployeeOut, EmployeesCustomersOut, EmployeesOut, ExchangeIn, ExchangeOut, ExchangesOut, ExtraChargeEntitiesIn, ExtraChargeEntitiesOut, InstallationIn, InstallationOut, InstallationsOut, LocationEmployeeBatchIn, LocationEmployeeOut, LocationEmployeesOut, LocationIn, LocationOut, LocationsOut, ParameterConfigIn, ParameterConfigOut, ParameterConfigsOut, ParametersByLevelIn, ParametersOut, ParametersValuesIn, ParametersValuesOut, ParameterValueIn, ParameterValueOut, ProductEntitiesIn, ProductEntitiesOut, SupplyEntitiesIn, SupplyEntitiesOut, SystemEntitiesIn, SystemEntitiesOut, SystemIn, SystemOut, SystemsOut, TDXAccountSettingsIn, TDXAccountSettingsOut, TDXAccountsSettingsOut, WorkflowConfigsBatchIn, WorkflowConfigsOut, WorkflowsOut } from './models/api-companies.types';
4
4
  import { QueryParams } from './models/api.models';
5
5
  import { Observable } from 'rxjs';
6
6
  import { CountryCurrencyRate, CountryReferenceExtraCharge, EmployeeCustomerDhl } from './models/api-companies.interfaces';
@@ -709,13 +709,6 @@ export declare class ApiCompaniesService {
709
709
  token: string;
710
710
  queryParams: QueryParams;
711
711
  }): Observable<LocationEmployeesOut>;
712
- /**
713
- * Sends a POST request to create the global configuration for extra charge entities.
714
- *
715
- * @param {ExtraChargeEntityGlobalConfigIn} body - The request body containing the global configuration data for extra charge entities.
716
- * @return {Observable<ExtraChargeEntityGlobalConfigOut>} An observable that emits the created global configuration for extra charge entities.
717
- */
718
- postExtraChargeEntityGlobalConfig(body: ExtraChargeEntityGlobalConfigIn): Observable<ExtraChargeEntityGlobalConfigOut>;
719
712
  static ɵfac: i0.ɵɵFactoryDeclaration<ApiCompaniesService, never>;
720
713
  static ɵprov: i0.ɵɵInjectableDeclaration<ApiCompaniesService>;
721
714
  }
@@ -339,13 +339,3 @@ export interface SupplyEntityPacking {
339
339
  created_at: string;
340
340
  updated_at: string;
341
341
  }
342
- export interface ExtraChargeEntityConfigGlobal extends LaravelModel {
343
- extracharge_id: number;
344
- entity_id: number;
345
- entity: EntityExtraCharge;
346
- }
347
- export interface EntityExtraCharge extends LaravelModel {
348
- level: string;
349
- model_type: string;
350
- model_id: string;
351
- }
@@ -1,4 +1,4 @@
1
- import { Account, AccountCategory, AccountType, BoardingProcess, Company, CompanyCountry, CompanyCountryTax, CountryExchange, CountryReference, CountryReferenceCurrency, CountryReferenceExtraCharge, CountryReferenceProduct, Employee, EmployeeCustomerDhl, ExtraChargeEntity, ExtraChargeEntityConfigGlobal, Installation, Location, LocationEmployee, Parameter, ParameterConfig, ProductEntity, SupplyEntity, System, TDXAccountSetting, WorkflowConfig } from './api-companies.interfaces';
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
2
  import { QueryParams } from './api.models';
3
3
  export type LocationEmployeesOut = {
4
4
  location_employees: LocationEmployee[];
@@ -411,12 +411,13 @@ export type CountryReferenceProductOut = {
411
411
  country_reference_product: CountryReferenceProduct;
412
412
  };
413
413
  export type ExtraChargeEntitiesIn = {
414
- model_type: string;
415
- model_id: number;
414
+ model_type?: string;
415
+ model_id?: number;
416
416
  extracharge_entities: {
417
417
  id: number;
418
418
  is_active: boolean;
419
419
  }[];
420
+ check_all?: boolean;
420
421
  };
421
422
  export type ExtraChargeEntitiesOut = {
422
423
  extracharge_entities: ExtraChargeEntity[];
@@ -455,10 +456,3 @@ export type TDXAccountSettingsIn = {
455
456
  export type LocationEmployeesIn = {
456
457
  token: string;
457
458
  } & QueryParams;
458
- export type ExtraChargeEntityGlobalConfigIn = {
459
- extracharge_id: number;
460
- is_active?: boolean;
461
- };
462
- export type ExtraChargeEntityGlobalConfigOut = {
463
- extracharge_entities: ExtraChargeEntityConfigGlobal;
464
- };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experteam-mx/ngx-services",
3
- "version": "18.8.22",
3
+ "version": "18.8.23",
4
4
  "description": "Angular common services for Experteam apps",
5
5
  "author": "Experteam Cía. Ltda.",
6
6
  "keywords": [