@cbm-common/cbm-types 0.0.347 → 0.0.348

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.
@@ -94,16 +94,6 @@ export declare class CbmAddClientComponent implements OnInit, AfterViewInit {
94
94
  saveOption: import("@angular/core").WritableSignal<TSaveOptions | null>;
95
95
  readonly carDelear: import("@angular/core").Signal<boolean>;
96
96
  readonly pms: import("@angular/core").Signal<boolean>;
97
- readonly CAR_DEALER_TYPES: readonly [{
98
- readonly label: "Empleado privado";
99
- readonly value: "privat_sector_employee";
100
- }, {
101
- readonly label: "Empleado publico";
102
- readonly value: "civil_servant";
103
- }, {
104
- readonly label: "Sociedad";
105
- readonly value: "society";
106
- }];
107
97
  modalConfirmRef: import("@angular/core").Signal<CbmModalConfirmComponent | undefined>;
108
98
  clientForm: FormGroup<{
109
99
  documentType: FormControl<CbmDocumentTypeModel.ListResponse.Data | null>;
@@ -128,7 +118,6 @@ export declare class CbmAddClientComponent implements OnInit, AfterViewInit {
128
118
  requestCredit: FormControl<string | null>;
129
119
  reasonOfCredit: FormControl<string | null>;
130
120
  profession: FormControl<CbmSettingsProfessionsModel.ListResponse.Item | null>;
131
- carDealerType: FormControl<"society" | "privat_sector_employee" | "civil_servant" | null>;
132
121
  carDealerValue: FormControl<string | null>;
133
122
  }>;
134
123
  ngOnInit(): void;
@@ -155,7 +144,6 @@ export declare class CbmAddClientComponent implements OnInit, AfterViewInit {
155
144
  get creditApplicationControl(): FormControl<boolean>;
156
145
  get requestCreditControl(): FormControl<string | null>;
157
146
  get professionControl(): FormControl<CbmSettingsProfessionsModel.ListResponse.Item | null>;
158
- get carDealerTypeControl(): FormControl<"society" | "privat_sector_employee" | "civil_servant" | null>;
159
147
  get carDealerValueControl(): FormControl<string | null>;
160
148
  private fetchGeneralSettingsConfiguration;
161
149
  private syncConfigurationDrivenControls;
@@ -71,12 +71,14 @@ export declare class CbmAddProviderComponent {
71
71
  readonly VENTA_A_CONSUMIDOR_FINAL: "07";
72
72
  readonly IDENTIFICACION_DEL_EXTERIOR: "08";
73
73
  };
74
+ SUBJECT_CLASSES: CbmAddProviderModel.SubjectClass[];
74
75
  previousDealerConfiguration: import("@angular/core").WritableSignal<boolean>;
75
76
  documentNumberDisplay: FormControl<string | null>;
76
77
  providerForm: FormGroup<{
77
78
  documentType: FormControl<CbmDocumentTypeModel.ListResponse.Data | null>;
78
79
  documentNumber: FormControl<string | null>;
79
80
  category: FormControl<CbmProviderGroupModel.ListAsTreeResponse.Category | null>;
81
+ subjectClass: FormControl<CbmAddProviderModel.SubjectClass | null>;
80
82
  businessName: FormControl<string | null>;
81
83
  tradename: FormControl<string | null>;
82
84
  address: FormControl<string | null>;
@@ -94,6 +96,7 @@ export declare class CbmAddProviderComponent {
94
96
  get documentTypeControl(): FormControl<CbmDocumentTypeModel.ListResponse.Data | null>;
95
97
  get documentNumberControl(): FormControl<string | null>;
96
98
  get categoryControl(): FormControl<CbmProviderGroupModel.ListAsTreeResponse.Category | null>;
99
+ get subjectClassControl(): FormControl<CbmAddProviderModel.SubjectClass | null>;
97
100
  get businessNameControl(): FormControl<string | null>;
98
101
  get tradenameControl(): FormControl<string | null>;
99
102
  get addressControl(): FormControl<string | null>;
@@ -3,4 +3,8 @@ export declare namespace CbmAddProviderModel {
3
3
  visualization: 'component' | 'modal';
4
4
  show_title: boolean;
5
5
  }
6
+ interface SubjectClass {
7
+ code: string;
8
+ description: string;
9
+ }
6
10
  }
@@ -1,3 +1,4 @@
1
+ import { CbmAddProviderModel } from "./add-provider.model";
1
2
  export declare const DOCUMENT_TYPES_CODES: {
2
3
  readonly RUC: "04";
3
4
  readonly CEDULA: "05";
@@ -5,3 +6,4 @@ export declare const DOCUMENT_TYPES_CODES: {
5
6
  readonly VENTA_A_CONSUMIDOR_FINAL: "07";
6
7
  readonly IDENTIFICACION_DEL_EXTERIOR: "08";
7
8
  };
9
+ export declare const SUBJECT_CLASSES: CbmAddProviderModel.SubjectClass[];
@@ -75,6 +75,9 @@ export declare namespace CbmProviderModel {
75
75
  payment_destination_country_name?: string;
76
76
  double_taxation_treaty_applies?: boolean;
77
77
  legal_withholding_applies?: string;
78
+ is_related_party?: boolean;
79
+ subject_class_code?: string;
80
+ subject_class_description?: string;
78
81
  }
79
82
  }
80
83
  interface GetOneResponse {
@@ -142,6 +145,8 @@ export declare namespace CbmProviderModel {
142
145
  economic_activity_id?: string;
143
146
  economic_activity_code?: string;
144
147
  is_related_party?: boolean;
148
+ subject_class_code?: string;
149
+ subject_class_description?: string;
145
150
  }
146
151
  export namespace Data {
147
152
  interface ProviderContact {
@@ -216,6 +221,8 @@ export declare namespace CbmProviderModel {
216
221
  economic_activity_id?: string;
217
222
  economic_activity_code?: string;
218
223
  is_related_party?: boolean;
224
+ subject_class_code: string;
225
+ subject_class_description: string;
219
226
  }
220
227
  interface UpdateBody {
221
228
  category_provider_id?: string;
@@ -235,6 +242,8 @@ export declare namespace CbmProviderModel {
235
242
  employee_salary?: number;
236
243
  economic_activity_id?: string;
237
244
  economic_activity_code?: string;
245
+ subject_class_code?: string;
246
+ subject_class_description?: string;
238
247
  }
239
248
  interface UpdateManagementBody {
240
249
  bank_id?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cbm-common/cbm-types",
3
- "version": "0.0.347",
3
+ "version": "0.0.348",
4
4
  "main": "index.js",
5
5
  "types": "public-api.d.ts",
6
6
  "exports": {