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