@experteam-mx/ngx-services 18.8.20 → 18.8.22

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, 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, 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';
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,6 +709,13 @@ 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>;
712
719
  static ɵfac: i0.ɵɵFactoryDeclaration<ApiCompaniesService, never>;
713
720
  static ɵprov: i0.ɵɵInjectableDeclaration<ApiCompaniesService>;
714
721
  }
@@ -339,3 +339,13 @@ 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, 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, ExtraChargeEntityConfigGlobal, 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[];
@@ -455,3 +455,10 @@ export type TDXAccountSettingsIn = {
455
455
  export type LocationEmployeesIn = {
456
456
  token: string;
457
457
  } & QueryParams;
458
+ export type ExtraChargeEntityGlobalConfigIn = {
459
+ extracharge_id: number;
460
+ is_active?: boolean;
461
+ };
462
+ export type ExtraChargeEntityGlobalConfigOut = {
463
+ extracharge_entities: ExtraChargeEntityConfigGlobal;
464
+ };
@@ -216,6 +216,10 @@ export interface ReportExternalShipment extends ActiveLessLaravelModel {
216
216
  total: number;
217
217
  tracking_number: string;
218
218
  user_id: number;
219
+ customer_full_name: string;
220
+ customer_email: string | null;
221
+ customer_phone_code: string | null;
222
+ customer_phone_number: string | null;
219
223
  }
220
224
  export interface ReportExternalShipmentAddress extends ApiModel {
221
225
  address_line_1: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experteam-mx/ngx-services",
3
- "version": "18.8.20",
3
+ "version": "18.8.22",
4
4
  "description": "Angular common services for Experteam apps",
5
5
  "author": "Experteam Cía. Ltda.",
6
6
  "keywords": [