@experteam-mx/ngx-services 18.8.19 → 18.8.21
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-catalogs.service.mjs +2 -3
- package/esm2022/lib/apis/api-companies.service.mjs +11 -1
- package/esm2022/lib/apis/models/api-companies.interfaces.mjs +1 -1
- package/esm2022/lib/apis/models/api-companies.types.mjs +1 -1
- package/fesm2022/experteam-mx-ngx-services.mjs +11 -2
- package/fesm2022/experteam-mx-ngx-services.mjs.map +1 -1
- package/lib/apis/api-companies.service.d.ts +8 -1
- package/lib/apis/models/api-companies.interfaces.d.ts +10 -0
- package/lib/apis/models/api-companies.types.d.ts +8 -1
- package/package.json +1 -1
|
@@ -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
|
+
};
|