@cbm-common/cbm-types 0.0.246 → 0.0.248
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/lib/components/add-client/add-client.d.ts +26 -1
- package/lib/components/order-vehicle-add-charge/order-vehicle-add-charge.d.ts +2 -0
- package/lib/domain/models/bank-movements.domain.model.d.ts +2 -0
- package/lib/domain/models/client.domain.model.d.ts +6 -0
- package/lib/domain/models/general-settings-partners.domain.model.d.ts +19 -0
- package/lib/domain/models/sales-account.domain.model.d.ts +25 -0
- package/lib/domain/repositories/general-settings-partners.domain.repository.d.ts +8 -0
- package/lib/domain/repositories/sales-account.domain.repository.d.ts +1 -0
- package/lib/infrastructure/repositories/general-settings-partners.infrastructure.repository.d.ts +5 -0
- package/lib/infrastructure/repositories/sales-account.infrastructure.repository.d.ts +1 -0
- package/lib/infrastructure/services/general-settings-partners.infrastructure.service.d.ts +10 -0
- package/lib/infrastructure/services/sales-account.infrastructure.service.d.ts +1 -0
- package/package.json +2 -2
- package/lib/domain/models/employee.model.d.ts +0 -176
|
@@ -5,6 +5,7 @@ import { ListService, PaginatedListService } from '@cbm-common/data-access';
|
|
|
5
5
|
import { CbmClientGroupModel } from '../../domain/models/client-group.domain.model';
|
|
6
6
|
import { CbmClientModel } from '../../domain/models/client.domain.model';
|
|
7
7
|
import { CbmDocumentTypeModel } from '../../domain/models/document-type.model';
|
|
8
|
+
import { CbmGeneralSettingsPartnersModel } from '../../domain/models/general-settings-partners.domain.model';
|
|
8
9
|
import { CbmPriceListModel } from '../../domain/models/price-list.domain.model';
|
|
9
10
|
import { CbmRateModel } from '../../domain/models/rate.domain.model';
|
|
10
11
|
import { CbmSellerModel } from '../../domain/models/seller.domain.model';
|
|
@@ -14,6 +15,7 @@ import { CbmClientGroupRepository } from '../../domain/repositories/client-group
|
|
|
14
15
|
import { CbmClientDomainRepository } from '../../domain/repositories/client.domain.repository';
|
|
15
16
|
import { CbmCountryCodeDomainRepository } from '../../domain/repositories/country-code.domain.repository';
|
|
16
17
|
import { CbmDocumentTypeDomainRepository } from '../../domain/repositories/document-type.domain.repository';
|
|
18
|
+
import { CbmGeneralSettingsPartnersDomainRepository } from '../../domain/repositories/general-settings-partners.domain.repository';
|
|
17
19
|
import { CbmPriceListDomainRepository } from '../../domain/repositories/price-list.domain.repository';
|
|
18
20
|
import { CbmRateDomainRepository } from '../../domain/repositories/rate.domain.repository';
|
|
19
21
|
import { CbmSellerDomainRepository } from '../../domain/repositories/seller.domain.repository';
|
|
@@ -36,11 +38,12 @@ export declare class CbmAddClientComponent implements OnInit, AfterViewInit {
|
|
|
36
38
|
private priceListRepository;
|
|
37
39
|
private clientGroupRepository;
|
|
38
40
|
private clientRepository;
|
|
41
|
+
private readonly generalSettingsPartnersRepository;
|
|
39
42
|
private rateRepository;
|
|
40
43
|
private settingsProfessionsRepository;
|
|
41
44
|
private personTypeUAFERepository;
|
|
42
45
|
private readonly accountValidatorsDomainService;
|
|
43
|
-
constructor(destroyRef: DestroyRef, documentTypeRepository: CbmDocumentTypeDomainRepository, notificationService: CbmNotificationService, billingRepository: CbmBillingDomainRepository, countryCodeRepository: CbmCountryCodeDomainRepository, sellerRepository: CbmSellerDomainRepository, priceListRepository: CbmPriceListDomainRepository, clientGroupRepository: CbmClientGroupRepository, clientRepository: CbmClientDomainRepository, rateRepository: CbmRateDomainRepository, settingsProfessionsRepository: CbmSettingsProfessionsDomainRepository, personTypeUAFERepository: CbmPersonTypeUAFERepository, accountValidatorsDomainService: AccountValidatorsDomainService);
|
|
46
|
+
constructor(destroyRef: DestroyRef, documentTypeRepository: CbmDocumentTypeDomainRepository, notificationService: CbmNotificationService, billingRepository: CbmBillingDomainRepository, countryCodeRepository: CbmCountryCodeDomainRepository, sellerRepository: CbmSellerDomainRepository, priceListRepository: CbmPriceListDomainRepository, clientGroupRepository: CbmClientGroupRepository, clientRepository: CbmClientDomainRepository, generalSettingsPartnersRepository: CbmGeneralSettingsPartnersDomainRepository, rateRepository: CbmRateDomainRepository, settingsProfessionsRepository: CbmSettingsProfessionsDomainRepository, personTypeUAFERepository: CbmPersonTypeUAFERepository, accountValidatorsDomainService: AccountValidatorsDomainService);
|
|
44
47
|
dropdownMenuRef: import("@angular/core").Signal<ElementRef<HTMLUListElement> | undefined>;
|
|
45
48
|
clientId: import("@angular/core").InputSignal<string | undefined>;
|
|
46
49
|
isFromOrigin: import("@angular/core").InputSignal<boolean | undefined>;
|
|
@@ -59,11 +62,13 @@ export declare class CbmAddClientComponent implements OnInit, AfterViewInit {
|
|
|
59
62
|
statusOfFetchDocumentTypes: import("@angular/core").WritableSignal<TStatus>;
|
|
60
63
|
statusOfExtractClientData: import("@angular/core").WritableSignal<TStatus>;
|
|
61
64
|
statusOfFetchCategories: import("@angular/core").WritableSignal<TStatus>;
|
|
65
|
+
statusOfFetchGeneralSettingsConfiguration: import("@angular/core").WritableSignal<TStatus>;
|
|
62
66
|
statusOfSaveClient: import("@angular/core").WritableSignal<TStatus>;
|
|
63
67
|
statusOfFetchClientData: import("@angular/core").WritableSignal<TStatus>;
|
|
64
68
|
statusOfUpdateClient: import("@angular/core").WritableSignal<TStatus>;
|
|
65
69
|
isInitialLoading: import("@angular/core").WritableSignal<boolean>;
|
|
66
70
|
isEmailInputFocused: import("@angular/core").WritableSignal<boolean>;
|
|
71
|
+
generalSettingsConfiguration: import("@angular/core").WritableSignal<CbmGeneralSettingsPartnersModel.ParametersListResponse.Data | null>;
|
|
67
72
|
subjectToSearchDocumentType$: Subject<string>;
|
|
68
73
|
subjectToSearchCategory$: Subject<string>;
|
|
69
74
|
sellers$: ListService<CbmSellerModel.ListResponse, CbmSellerModel.ListParams, CbmSellerModel.ListResponse.Data[]>;
|
|
@@ -81,6 +86,18 @@ export declare class CbmAddClientComponent implements OnInit, AfterViewInit {
|
|
|
81
86
|
readonly IDENTIFICACION_DEL_EXTERIOR: "08";
|
|
82
87
|
};
|
|
83
88
|
saveOption: import("@angular/core").WritableSignal<TSaveOptions | null>;
|
|
89
|
+
readonly carDelear: import("@angular/core").Signal<boolean>;
|
|
90
|
+
readonly pms: import("@angular/core").Signal<boolean>;
|
|
91
|
+
readonly CAR_DEALER_TYPES: readonly [{
|
|
92
|
+
readonly label: "Empleado privado";
|
|
93
|
+
readonly value: "privat_sector_employee";
|
|
94
|
+
}, {
|
|
95
|
+
readonly label: "Empleado publico";
|
|
96
|
+
readonly value: "civil_servant";
|
|
97
|
+
}, {
|
|
98
|
+
readonly label: "Sociedad";
|
|
99
|
+
readonly value: "society";
|
|
100
|
+
}];
|
|
84
101
|
modalConfirmRef: import("@angular/core").Signal<CbmModalConfirmComponent | undefined>;
|
|
85
102
|
clientForm: FormGroup<{
|
|
86
103
|
documentType: FormControl<CbmDocumentTypeModel.ListResponse.Data | null>;
|
|
@@ -104,6 +121,8 @@ export declare class CbmAddClientComponent implements OnInit, AfterViewInit {
|
|
|
104
121
|
requestCredit: FormControl<string | null>;
|
|
105
122
|
reasonOfCredit: FormControl<string | null>;
|
|
106
123
|
profession: FormControl<CbmSettingsProfessionsModel.ListResponse.Item | null>;
|
|
124
|
+
carDealerType: FormControl<"society" | "privat_sector_employee" | "civil_servant" | null>;
|
|
125
|
+
carDealerValue: FormControl<string | null>;
|
|
107
126
|
}>;
|
|
108
127
|
ngOnInit(): void;
|
|
109
128
|
ngAfterViewInit(): void;
|
|
@@ -128,6 +147,12 @@ export declare class CbmAddClientComponent implements OnInit, AfterViewInit {
|
|
|
128
147
|
get creditApplicationControl(): FormControl<boolean>;
|
|
129
148
|
get requestCreditControl(): FormControl<string | null>;
|
|
130
149
|
get professionControl(): FormControl<CbmSettingsProfessionsModel.ListResponse.Item | null>;
|
|
150
|
+
get carDealerTypeControl(): FormControl<"society" | "privat_sector_employee" | "civil_servant" | null>;
|
|
151
|
+
get carDealerValueControl(): FormControl<string | null>;
|
|
152
|
+
private fetchGeneralSettingsConfiguration;
|
|
153
|
+
private syncConfigurationDrivenControls;
|
|
154
|
+
private syncCarDealerControls;
|
|
155
|
+
private syncRateControl;
|
|
131
156
|
compareWithId(a: {
|
|
132
157
|
_id: string;
|
|
133
158
|
}, b: {
|
|
@@ -307,6 +307,8 @@ export declare class CbmOrderVehicleAddCharge {
|
|
|
307
307
|
searchSaleAccount$: PaginatedListService<CbmSalesAccountModel.ListResponse, CbmSalesAccountModel.ListParams, CbmSalesAccountModel.ListResponse.Item[]>;
|
|
308
308
|
fetchTaxIrbpnr(): Promise<void>;
|
|
309
309
|
onConfirmSave(redirect: 'new' | 'view' | 'close' | 'modal'): Promise<void>;
|
|
310
|
+
onConfirmUpdate(): Promise<void>;
|
|
311
|
+
updatePriceRequest(): Promise<string>;
|
|
310
312
|
populateFormWithExistingDetails(details: CbmSalesAccountModel.GetOneResponse.Data.Detail[]): Promise<void>;
|
|
311
313
|
fetchCompanyCustom(): Promise<void>;
|
|
312
314
|
saveRequest(): Promise<string>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export declare namespace CbmBankMovementsModel {
|
|
2
|
+
type TOriginMovement = 'income' | 'expenditure';
|
|
2
3
|
interface ListParams {
|
|
3
4
|
page: number;
|
|
4
5
|
size: number;
|
|
@@ -44,6 +45,7 @@ export declare namespace CbmBankMovementsModel {
|
|
|
44
45
|
interface ValidationOperationParams {
|
|
45
46
|
operation_number: string;
|
|
46
47
|
bank_id: string;
|
|
48
|
+
origin_movement?: `${TOriginMovement}`;
|
|
47
49
|
}
|
|
48
50
|
interface ValidationOperationResponse {
|
|
49
51
|
success: boolean;
|
|
@@ -146,6 +146,8 @@ export declare namespace CbmClientModel {
|
|
|
146
146
|
subject_id?: string;
|
|
147
147
|
type_subject?: string;
|
|
148
148
|
description_subject?: string;
|
|
149
|
+
employee_type?: 'society' | 'privat_sector_employee' | 'civil_servant';
|
|
150
|
+
employee_salary?: number;
|
|
149
151
|
}
|
|
150
152
|
namespace Data {
|
|
151
153
|
interface Branch {
|
|
@@ -354,6 +356,8 @@ export declare namespace CbmClientModel {
|
|
|
354
356
|
subject_id: string;
|
|
355
357
|
type_subject: string;
|
|
356
358
|
description_subject: string;
|
|
359
|
+
employee_type?: 'society' | 'privat_sector_employee' | 'civil_servant';
|
|
360
|
+
employee_salary?: number;
|
|
357
361
|
}
|
|
358
362
|
namespace SaveBody {
|
|
359
363
|
interface PaymentDeadline {
|
|
@@ -389,6 +393,8 @@ export declare namespace CbmClientModel {
|
|
|
389
393
|
subject_id?: string;
|
|
390
394
|
type_subject?: string;
|
|
391
395
|
description_subject?: string;
|
|
396
|
+
employee_type?: 'society' | 'privat_sector_employee' | 'civil_servant';
|
|
397
|
+
employee_salary?: number;
|
|
392
398
|
}
|
|
393
399
|
namespace UpdateBody {
|
|
394
400
|
interface PaymentDeadline {
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare namespace CbmGeneralSettingsPartnersModel {
|
|
2
|
+
interface ParametersListResponse {
|
|
3
|
+
success: boolean;
|
|
4
|
+
data: ParametersListResponse.Data | null;
|
|
5
|
+
}
|
|
6
|
+
namespace ParametersListResponse {
|
|
7
|
+
interface Data {
|
|
8
|
+
_id?: string;
|
|
9
|
+
company_id?: string;
|
|
10
|
+
user_id?: string;
|
|
11
|
+
created_at?: number;
|
|
12
|
+
created_user?: string;
|
|
13
|
+
updated_at?: number;
|
|
14
|
+
updated_user?: string;
|
|
15
|
+
pms_configuration?: boolean;
|
|
16
|
+
delear_configuration?: boolean;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -479,4 +479,29 @@ export declare namespace CbmSalesAccountModel {
|
|
|
479
479
|
guest_last_name: string;
|
|
480
480
|
sales_account_detail: [];
|
|
481
481
|
}
|
|
482
|
+
interface UpdatePriceBody {
|
|
483
|
+
sales_account_detail: Detail[];
|
|
484
|
+
}
|
|
485
|
+
interface Detail {
|
|
486
|
+
_id: string;
|
|
487
|
+
price_type_id: string;
|
|
488
|
+
price_type: string;
|
|
489
|
+
price_type_description: string;
|
|
490
|
+
price_base: number;
|
|
491
|
+
total_price: number;
|
|
492
|
+
discount_rate: number;
|
|
493
|
+
unit_discount: number;
|
|
494
|
+
total_discount: number;
|
|
495
|
+
commentary_item?: string;
|
|
496
|
+
replace_item_name?: string;
|
|
497
|
+
sales_account_detail_tax: Tax[];
|
|
498
|
+
}
|
|
499
|
+
interface Tax {
|
|
500
|
+
type: string;
|
|
501
|
+
description: string;
|
|
502
|
+
tax_code: string;
|
|
503
|
+
tax_rate: number;
|
|
504
|
+
tax_base: number;
|
|
505
|
+
tax_value: number;
|
|
506
|
+
}
|
|
482
507
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { CbmGeneralSettingsPartnersModel } from '../models/general-settings-partners.domain.model';
|
|
3
|
+
import { ICbmGeneralSettingsPartnersInfrastructureRepository } from '../../infrastructure/repositories/general-settings-partners.infrastructure.repository';
|
|
4
|
+
export declare class CbmGeneralSettingsPartnersDomainRepository implements ICbmGeneralSettingsPartnersInfrastructureRepository {
|
|
5
|
+
private readonly service;
|
|
6
|
+
constructor(service: ICbmGeneralSettingsPartnersInfrastructureRepository);
|
|
7
|
+
parametersList(): Observable<CbmGeneralSettingsPartnersModel.ParametersListResponse>;
|
|
8
|
+
}
|
|
@@ -8,4 +8,5 @@ export declare class CbmSalesAccountDomainRepository {
|
|
|
8
8
|
list(params: CbmSalesAccountModel.ListParams): Observable<CbmSalesAccountModel.ListResponse>;
|
|
9
9
|
getOne<T>(id: string): Observable<CbmSalesAccountModel.GetOneResponse>;
|
|
10
10
|
save(data: CbmSalesAccountModel.Save): Observable<IGeneral.Confirm>;
|
|
11
|
+
updatePrice(id: string, data: CbmSalesAccountModel.UpdatePriceBody): Observable<IGeneral.Confirm>;
|
|
11
12
|
}
|
package/lib/infrastructure/repositories/general-settings-partners.infrastructure.repository.d.ts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { CbmGeneralSettingsPartnersModel } from '../../domain/models/general-settings-partners.domain.model';
|
|
3
|
+
export interface ICbmGeneralSettingsPartnersInfrastructureRepository {
|
|
4
|
+
parametersList(): Observable<CbmGeneralSettingsPartnersModel.ParametersListResponse>;
|
|
5
|
+
}
|
|
@@ -5,4 +5,5 @@ export interface ICbmSalesAccountRepository {
|
|
|
5
5
|
list(params: CbmSalesAccountModel.ListParams): Observable<CbmSalesAccountModel.ListResponse>;
|
|
6
6
|
getOne(id: string): Observable<CbmSalesAccountModel.GetOneResponse>;
|
|
7
7
|
save(data: CbmSalesAccountModel.Save): Observable<IGeneral.Confirm>;
|
|
8
|
+
updatePrice(id: string, data: CbmSalesAccountModel.UpdatePriceBody): Observable<IGeneral.Confirm>;
|
|
8
9
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { CbmGeneralSettingsPartnersModel } from '../../domain/models/general-settings-partners.domain.model';
|
|
4
|
+
import { ICbmGeneralSettingsPartnersInfrastructureRepository } from '../repositories/general-settings-partners.infrastructure.repository';
|
|
5
|
+
export declare class CbmGeneralSettingsPartnersInfrastructureService implements ICbmGeneralSettingsPartnersInfrastructureRepository {
|
|
6
|
+
private readonly http;
|
|
7
|
+
constructor(http: HttpClient);
|
|
8
|
+
private readonly url;
|
|
9
|
+
parametersList(): Observable<CbmGeneralSettingsPartnersModel.ParametersListResponse>;
|
|
10
|
+
}
|
|
@@ -10,4 +10,5 @@ export declare class CbmSalesAccountService implements ICbmSalesAccountRepositor
|
|
|
10
10
|
list(params: CbmSalesAccountModel.ListParams): Observable<CbmSalesAccountModel.ListResponse>;
|
|
11
11
|
getOne(id: string): Observable<CbmSalesAccountModel.GetOneResponse>;
|
|
12
12
|
save(data: CbmSalesAccountModel.Save): Observable<IGeneral.Confirm>;
|
|
13
|
+
updatePrice(id: string, data: CbmSalesAccountModel.UpdatePriceBody): Observable<IGeneral.Confirm>;
|
|
13
14
|
}
|
package/package.json
CHANGED
|
@@ -1,176 +0,0 @@
|
|
|
1
|
-
export declare namespace CbmEmployeeModel {
|
|
2
|
-
interface ListParams {
|
|
3
|
-
page: number;
|
|
4
|
-
size: number;
|
|
5
|
-
department_id?: string;
|
|
6
|
-
position_id?: string;
|
|
7
|
-
marital_status_id?: string;
|
|
8
|
-
document_type_id?: string;
|
|
9
|
-
name_surname?: string;
|
|
10
|
-
enabled?: boolean;
|
|
11
|
-
}
|
|
12
|
-
interface ListResponse {
|
|
13
|
-
success: boolean;
|
|
14
|
-
items: ListResponse.Data[];
|
|
15
|
-
}
|
|
16
|
-
namespace ListResponse {
|
|
17
|
-
interface Data {
|
|
18
|
-
_id: string;
|
|
19
|
-
company_id: string;
|
|
20
|
-
company_NIF: string;
|
|
21
|
-
company_trade_name: string;
|
|
22
|
-
company_business_name: string;
|
|
23
|
-
company_address: string;
|
|
24
|
-
company_logo: string;
|
|
25
|
-
country_id: string;
|
|
26
|
-
country_code: string;
|
|
27
|
-
country_name: string;
|
|
28
|
-
country_short_name: string;
|
|
29
|
-
period_id: string;
|
|
30
|
-
period_year: string;
|
|
31
|
-
department_id: string;
|
|
32
|
-
department_code: number;
|
|
33
|
-
department_name: string;
|
|
34
|
-
position_id: string;
|
|
35
|
-
position_code: number;
|
|
36
|
-
position_name: string;
|
|
37
|
-
marital_status_id: string;
|
|
38
|
-
marital_status_code: string;
|
|
39
|
-
marital_status_name: string;
|
|
40
|
-
document_type_id: string;
|
|
41
|
-
document_type_code: string;
|
|
42
|
-
document_type_name: string;
|
|
43
|
-
sequence_number: number;
|
|
44
|
-
document_number: string;
|
|
45
|
-
names: string;
|
|
46
|
-
surnames: string;
|
|
47
|
-
address: string;
|
|
48
|
-
phone_code: string;
|
|
49
|
-
phone: string;
|
|
50
|
-
cellphone: string;
|
|
51
|
-
email: string[];
|
|
52
|
-
gender: string;
|
|
53
|
-
birthdate: number;
|
|
54
|
-
enabled: boolean;
|
|
55
|
-
deleted: boolean;
|
|
56
|
-
user_id: string;
|
|
57
|
-
created_user: string;
|
|
58
|
-
created_at: number;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
interface SaveBody {
|
|
62
|
-
company_NIF: string;
|
|
63
|
-
company_trade_name: string;
|
|
64
|
-
company_business_name: string;
|
|
65
|
-
company_address: string;
|
|
66
|
-
company_email?: string;
|
|
67
|
-
company_logo: string;
|
|
68
|
-
department_id: string;
|
|
69
|
-
department_code: number;
|
|
70
|
-
department_name: string;
|
|
71
|
-
position_id: string;
|
|
72
|
-
position_code: number;
|
|
73
|
-
position_name: string;
|
|
74
|
-
marital_status_id: string;
|
|
75
|
-
marital_status_code: string;
|
|
76
|
-
marital_status_name: string;
|
|
77
|
-
document_type_id: string;
|
|
78
|
-
document_type_code: string;
|
|
79
|
-
document_type_name: string;
|
|
80
|
-
document_number: string;
|
|
81
|
-
names: string;
|
|
82
|
-
surnames: string;
|
|
83
|
-
address: string;
|
|
84
|
-
phone_code: string;
|
|
85
|
-
phone: string;
|
|
86
|
-
cellphone: string;
|
|
87
|
-
email: string[];
|
|
88
|
-
email_business: string[];
|
|
89
|
-
gender: string;
|
|
90
|
-
birthdate: number;
|
|
91
|
-
}
|
|
92
|
-
interface UpdateBody {
|
|
93
|
-
company_NIF: string;
|
|
94
|
-
company_trade_name: string;
|
|
95
|
-
company_business_name: string;
|
|
96
|
-
company_address: string;
|
|
97
|
-
company_email?: string;
|
|
98
|
-
company_logo: string;
|
|
99
|
-
department_id: string;
|
|
100
|
-
department_code: number;
|
|
101
|
-
department_name: string;
|
|
102
|
-
position_id: string;
|
|
103
|
-
position_code: number;
|
|
104
|
-
position_name: string;
|
|
105
|
-
marital_status_id: string;
|
|
106
|
-
marital_status_code: string;
|
|
107
|
-
marital_status_name: string;
|
|
108
|
-
document_type_id: string;
|
|
109
|
-
document_type_code: string;
|
|
110
|
-
document_type_name: string;
|
|
111
|
-
document_number: string;
|
|
112
|
-
names: string;
|
|
113
|
-
surnames: string;
|
|
114
|
-
address: string;
|
|
115
|
-
phone_code: string;
|
|
116
|
-
phone: string;
|
|
117
|
-
cellphone: string;
|
|
118
|
-
email: string[];
|
|
119
|
-
email_business: string[];
|
|
120
|
-
gender: string;
|
|
121
|
-
birthdate: number;
|
|
122
|
-
}
|
|
123
|
-
interface GetOneResponse {
|
|
124
|
-
success: boolean;
|
|
125
|
-
data: GetOneResponse.Data;
|
|
126
|
-
}
|
|
127
|
-
namespace GetOneResponse {
|
|
128
|
-
interface Data {
|
|
129
|
-
_id: string;
|
|
130
|
-
company_id: string;
|
|
131
|
-
company_NIF: string;
|
|
132
|
-
company_trade_name: string;
|
|
133
|
-
company_business_name: string;
|
|
134
|
-
company_address: string;
|
|
135
|
-
company_logo: string;
|
|
136
|
-
country_id: string;
|
|
137
|
-
country_code: string;
|
|
138
|
-
country_name: string;
|
|
139
|
-
country_short_name: string;
|
|
140
|
-
period_id: string;
|
|
141
|
-
period_year: string;
|
|
142
|
-
department_id: string;
|
|
143
|
-
department_code: number;
|
|
144
|
-
department_name: string;
|
|
145
|
-
position_id: string;
|
|
146
|
-
position_code: number;
|
|
147
|
-
position_name: string;
|
|
148
|
-
marital_status_id: string;
|
|
149
|
-
marital_status_code: string;
|
|
150
|
-
marital_status_name: string;
|
|
151
|
-
document_type_id: string;
|
|
152
|
-
document_type_code: string;
|
|
153
|
-
document_type_name: string;
|
|
154
|
-
sequence_number: number;
|
|
155
|
-
document_number: string;
|
|
156
|
-
names: string;
|
|
157
|
-
surnames: string;
|
|
158
|
-
address: string;
|
|
159
|
-
phone_code: string;
|
|
160
|
-
phone: string;
|
|
161
|
-
cellphone: string;
|
|
162
|
-
email: string[];
|
|
163
|
-
emails_company: string[];
|
|
164
|
-
gender: string;
|
|
165
|
-
birthdate: number;
|
|
166
|
-
enabled: boolean;
|
|
167
|
-
deleted: boolean;
|
|
168
|
-
user_id: string;
|
|
169
|
-
user_inactive_at: number;
|
|
170
|
-
disabled_reason: string;
|
|
171
|
-
user_inactive_name: string;
|
|
172
|
-
created_user: string;
|
|
173
|
-
created_at: number;
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
}
|