@cbm-common/cbm-types 0.0.342 → 0.0.344
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.
|
@@ -4,6 +4,7 @@ import { Subject } from 'rxjs';
|
|
|
4
4
|
import { CbmCountryCodeModel } from '../../domain/models/country-code.domain.model';
|
|
5
5
|
import { CbmDocumentTypeModel } from '../../domain/models/document-type.model';
|
|
6
6
|
import { CbmProviderGroupModel } from '../../domain/models/provider-group.domain.model';
|
|
7
|
+
import { CbmProviderModel } from '../../domain/models/provider.domain.model';
|
|
7
8
|
import { CbmBillingDomainRepository } from '../../domain/repositories/billing.domain.repository';
|
|
8
9
|
import { CbmCountryCodeDomainRepository } from '../../domain/repositories/country-code.domain.repository';
|
|
9
10
|
import { CbmDocumentTypeDomainRepository } from '../../domain/repositories/document-type.domain.repository';
|
|
@@ -48,7 +49,7 @@ export declare class CbmAddProviderComponent {
|
|
|
48
49
|
categories: import("@angular/core").WritableSignal<CbmTreeSelect.Children<any>>;
|
|
49
50
|
countryCodes: import("@angular/core").WritableSignal<CbmCountryCodeModel.ListResponse.Data[]>;
|
|
50
51
|
economicActivity: import("@angular/core").WritableSignal<CbmEconomicActivitiesDomainModel.ListResponse.Data[]>;
|
|
51
|
-
providerToUpdate: import("@angular/core").WritableSignal<
|
|
52
|
+
providerToUpdate: import("@angular/core").WritableSignal<CbmProviderModel.GetOneResponse.Data | null>;
|
|
52
53
|
isEmailInputFocused: import("@angular/core").WritableSignal<boolean>;
|
|
53
54
|
actionRegister: import("@angular/core").WritableSignal<boolean>;
|
|
54
55
|
saveOption: import("@angular/core").WritableSignal<TSaveOptions | null>;
|
|
@@ -73,6 +74,7 @@ export declare class CbmAddProviderComponent {
|
|
|
73
74
|
readonly IDENTIFICACION_DEL_EXTERIOR: "08";
|
|
74
75
|
};
|
|
75
76
|
previousDealerConfiguration: import("@angular/core").WritableSignal<boolean>;
|
|
77
|
+
documentNumberDisplay: FormControl<string | null>;
|
|
76
78
|
providerForm: FormGroup<{
|
|
77
79
|
documentType: FormControl<CbmDocumentTypeModel.ListResponse.Data | null>;
|
|
78
80
|
documentNumber: FormControl<string | null>;
|
|
@@ -1,13 +1,6 @@
|
|
|
1
|
-
import { CbmProviderModel } from '../../domain/models/provider.domain.model';
|
|
2
1
|
export declare namespace CbmAddProviderModel {
|
|
3
2
|
interface ComponentConfig {
|
|
4
3
|
visualization: 'component' | 'modal';
|
|
5
4
|
show_title: boolean;
|
|
6
5
|
}
|
|
7
|
-
type ProviderData = CbmProviderModel.GetOneResponse.Data & {
|
|
8
|
-
is_related_party?: boolean;
|
|
9
|
-
};
|
|
10
|
-
type SaveBody = CbmProviderModel.SaveBody & {
|
|
11
|
-
is_related_party?: boolean;
|
|
12
|
-
};
|
|
13
6
|
}
|
|
@@ -141,6 +141,7 @@ export declare namespace CbmProviderModel {
|
|
|
141
141
|
employee_salary?: number;
|
|
142
142
|
economic_activity_id?: string;
|
|
143
143
|
economic_activity_code?: string;
|
|
144
|
+
is_related_party?: boolean;
|
|
144
145
|
}
|
|
145
146
|
export namespace Data {
|
|
146
147
|
interface ProviderContact {
|
|
@@ -214,6 +215,7 @@ export declare namespace CbmProviderModel {
|
|
|
214
215
|
employee_salary?: number;
|
|
215
216
|
economic_activity_id?: string;
|
|
216
217
|
economic_activity_code?: string;
|
|
218
|
+
is_related_party?: boolean;
|
|
217
219
|
}
|
|
218
220
|
interface UpdateBody {
|
|
219
221
|
category_provider_id?: string;
|
|
@@ -261,6 +263,7 @@ export declare namespace CbmProviderModel {
|
|
|
261
263
|
double_taxation_treaty_applies?: boolean;
|
|
262
264
|
legal_withholding_applies?: string;
|
|
263
265
|
payment_to_resident?: string;
|
|
266
|
+
is_related_party?: boolean;
|
|
264
267
|
contacts?: UpdateManagementBody.Contact[];
|
|
265
268
|
delete_contacts?: string;
|
|
266
269
|
}
|