@cbm-common/cbm-types 0.0.75 → 0.0.77
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.
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { OnInit, AfterViewInit, ElementRef, DestroyRef } from
|
|
2
|
-
import { FormGroup, FormControl, ValidatorFn, AsyncValidatorFn } from
|
|
3
|
-
import { Subject } from
|
|
4
|
-
import { CbmClientGroupModel } from
|
|
5
|
-
import { CbmClientModel } from
|
|
6
|
-
import { CbmCountryCodeModel } from
|
|
7
|
-
import { CbmDocumentTypeModel } from
|
|
8
|
-
import { CbmPriceListModel } from
|
|
9
|
-
import { CbmRateModel } from
|
|
10
|
-
import { CbmSellerModel } from
|
|
11
|
-
import { CbmSettingsProfessionsModel } from
|
|
12
|
-
import { CbmBillingDomainRepository } from
|
|
13
|
-
import { CbmClientCategoryDomainRepository } from
|
|
14
|
-
import { CbmClientGroupRepository } from
|
|
15
|
-
import { CbmClientDomainRepository } from
|
|
16
|
-
import { CbmCountryCodeDomainRepository } from
|
|
17
|
-
import { CbmDocumentTypeDomainRepository } from
|
|
18
|
-
import { CbmPriceListDomainRepository } from
|
|
19
|
-
import { CbmRateDomainRepository } from
|
|
20
|
-
import { CbmSellerDomainRepository } from
|
|
21
|
-
import { CbmSettingsProfessionsDomainRepository } from
|
|
22
|
-
import { CbmModalConfirmComponent } from
|
|
23
|
-
import { CbmTreeSelect } from
|
|
24
|
-
import { IPagination, TStatus } from
|
|
25
|
-
import { CbmNotificationService } from
|
|
1
|
+
import { OnInit, AfterViewInit, ElementRef, DestroyRef } from '@angular/core';
|
|
2
|
+
import { FormGroup, FormControl, ValidatorFn, AsyncValidatorFn } from '@angular/forms';
|
|
3
|
+
import { Subject } from 'rxjs';
|
|
4
|
+
import { CbmClientGroupModel } from '../../domain/models/client-group.domain.model';
|
|
5
|
+
import { CbmClientModel } from '../../domain/models/client.domain.model';
|
|
6
|
+
import { CbmCountryCodeModel } from '../../domain/models/country-code.domain.model';
|
|
7
|
+
import { CbmDocumentTypeModel } from '../../domain/models/document-type.model';
|
|
8
|
+
import { CbmPriceListModel } from '../../domain/models/price-list.domain.model';
|
|
9
|
+
import { CbmRateModel } from '../../domain/models/rate.domain.model';
|
|
10
|
+
import { CbmSellerModel } from '../../domain/models/seller.domain.model';
|
|
11
|
+
import { CbmSettingsProfessionsModel } from '../../domain/models/settings-professions.domain.model';
|
|
12
|
+
import { CbmBillingDomainRepository } from '../../domain/repositories/billing.domain.repository';
|
|
13
|
+
import { CbmClientCategoryDomainRepository } from '../../domain/repositories/client-category.domain.repository';
|
|
14
|
+
import { CbmClientGroupRepository } from '../../domain/repositories/client-group.domain.repository';
|
|
15
|
+
import { CbmClientDomainRepository } from '../../domain/repositories/client.domain.repository';
|
|
16
|
+
import { CbmCountryCodeDomainRepository } from '../../domain/repositories/country-code.domain.repository';
|
|
17
|
+
import { CbmDocumentTypeDomainRepository } from '../../domain/repositories/document-type.domain.repository';
|
|
18
|
+
import { CbmPriceListDomainRepository } from '../../domain/repositories/price-list.domain.repository';
|
|
19
|
+
import { CbmRateDomainRepository } from '../../domain/repositories/rate.domain.repository';
|
|
20
|
+
import { CbmSellerDomainRepository } from '../../domain/repositories/seller.domain.repository';
|
|
21
|
+
import { CbmSettingsProfessionsDomainRepository } from '../../domain/repositories/settings-professions.domain.repository';
|
|
22
|
+
import { CbmModalConfirmComponent } from '../modal-confirm/modal-confirm';
|
|
23
|
+
import { CbmTreeSelect } from '../tree-select/types';
|
|
24
|
+
import { IPagination, TStatus } from './types';
|
|
25
|
+
import { CbmNotificationService } from '../../domain/services/notification/notification.service';
|
|
26
26
|
export type TSaveOptions = 'new' | 'view' | 'close';
|
|
27
27
|
export declare class CbmAddClientComponent implements OnInit, AfterViewInit {
|
|
28
28
|
private destroyRef;
|
|
@@ -103,6 +103,7 @@ export declare class CbmAddClientComponent implements OnInit, AfterViewInit {
|
|
|
103
103
|
email: FormControl<string | null>;
|
|
104
104
|
economicActivity: FormControl<string | null>;
|
|
105
105
|
hasCellphone: FormControl<boolean>;
|
|
106
|
+
retentionAgent: FormControl<boolean>;
|
|
106
107
|
creditApplication: FormControl<boolean>;
|
|
107
108
|
requestCredit: FormControl<string | null>;
|
|
108
109
|
reasonOfCredit: FormControl<string | null>;
|
|
@@ -127,6 +128,7 @@ export declare class CbmAddClientComponent implements OnInit, AfterViewInit {
|
|
|
127
128
|
get priceListControl(): FormControl<CbmPriceListModel.ListResponse.Data | null>;
|
|
128
129
|
get economicActivityControl(): FormControl<string | null>;
|
|
129
130
|
get hasCellphoneControl(): FormControl<boolean>;
|
|
131
|
+
get retentionAgentControl(): FormControl<boolean>;
|
|
130
132
|
get creditApplicationControl(): FormControl<boolean>;
|
|
131
133
|
get requestCreditControl(): FormControl<string | null>;
|
|
132
134
|
get professionControl(): FormControl<CbmSettingsProfessionsModel.ListResponse.Item | null>;
|
|
@@ -13,6 +13,7 @@ export declare namespace CbmClientModel {
|
|
|
13
13
|
seller_id?: string;
|
|
14
14
|
orderByName?: boolean;
|
|
15
15
|
price_list_id?: string;
|
|
16
|
+
ind_retention_agent?: boolean;
|
|
16
17
|
}
|
|
17
18
|
interface ListResponse {
|
|
18
19
|
success: boolean;
|
|
@@ -73,6 +74,7 @@ export declare namespace CbmClientModel {
|
|
|
73
74
|
parish?: Item.TerritorialData;
|
|
74
75
|
has_cellphone?: boolean;
|
|
75
76
|
credit_application?: boolean;
|
|
77
|
+
ind_retention_agent?: boolean;
|
|
76
78
|
credit_application_commentary?: string;
|
|
77
79
|
credit_application_status?: string;
|
|
78
80
|
deleted?: boolean;
|
|
@@ -155,6 +157,7 @@ export declare namespace CbmClientModel {
|
|
|
155
157
|
contact?: Data.Contact[];
|
|
156
158
|
has_cellphone?: boolean;
|
|
157
159
|
credit_application?: boolean;
|
|
160
|
+
ind_retention_agent?: boolean;
|
|
158
161
|
credit_application_commentary?: string;
|
|
159
162
|
credit_application_status?: string;
|
|
160
163
|
categoria_full_data: Data.CategoriaFullData;
|
|
@@ -313,6 +316,7 @@ export declare namespace CbmClientModel {
|
|
|
313
316
|
phone_code?: string;
|
|
314
317
|
payment_deadline?: SaveBody.PaymentDeadline[];
|
|
315
318
|
has_cellphone: boolean;
|
|
319
|
+
ind_retention_agent: boolean;
|
|
316
320
|
credit_application: boolean;
|
|
317
321
|
credit_application_commentary?: string;
|
|
318
322
|
credit_application_status?: string;
|
|
@@ -353,6 +357,7 @@ export declare namespace CbmClientModel {
|
|
|
353
357
|
payment_deadline?: UpdateBody.PaymentDeadline[];
|
|
354
358
|
has_cellphone?: boolean;
|
|
355
359
|
credit_application?: boolean;
|
|
360
|
+
ind_retention_agent?: boolean;
|
|
356
361
|
credit_application_commentary?: string;
|
|
357
362
|
credit_application_status?: string;
|
|
358
363
|
professions_id?: string;
|