@cbm-common/cbm-types 0.0.181 → 0.0.183
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/user-history/components/email-history/email-history.component.d.ts +6 -6
- package/lib/components/user-history/components/general-history/general-history.component.d.ts +2 -2
- package/lib/components/user-history/components/print-history/print-history.component.d.ts +4 -4
- package/lib/components/user-history/components/sri-history/sri-history.component.d.ts +4 -4
- package/lib/domain/repositories/account.domain.repository.d.ts +2 -0
- package/lib/domain/repositories/item.domain.repository.d.ts +1 -0
- package/lib/domain/repositories/provider-contact.domain.repository.d.ts +1 -0
- package/lib/domain/repositories/service-outsourcing.domain.repository.d.ts +1 -0
- package/lib/infrastructure/repositories/account.infrastructure.repository.d.ts +2 -0
- package/lib/infrastructure/repositories/item.infrastructure.repository.d.ts +1 -0
- package/lib/infrastructure/repositories/provider-contact.infrastructure.repository.d.ts +1 -0
- package/lib/infrastructure/repositories/service-outsourcing.infrastructure.repository.d.ts +1 -0
- package/lib/infrastructure/services/account.infrastructure.service.d.ts +2 -0
- package/lib/infrastructure/services/client-branch.infrastructure.service.d.ts +2 -2
- package/lib/infrastructure/services/item.infrastructure.service.d.ts +1 -0
- package/lib/infrastructure/services/provider-contact.infrastructure.service.d.ts +1 -0
- package/lib/infrastructure/services/service-outsourcing.infrastructure.service.d.ts +1 -0
- package/package.json +1 -1
- package/lib/components/accounting-seat/directives/drop-down-menu.directive.d.ts +0 -13
- package/lib/components/accounting-seat/directives/drop-down.directive.d.ts +0 -10
- package/lib/components/record-detail-metadata/components/options/options.d.ts +0 -13
- package/lib/components/record-detail-metadata/directives/drop-down-menu.directive.d.ts +0 -13
- package/lib/components/record-detail-metadata/directives/drop-down.directive.d.ts +0 -9
- package/lib/domain/models/sales-pending-document.domain.model.d.ts +0 -91
- package/lib/domain/repositories/sales-pending-document.domain.repository.d.ts +0 -8
- package/lib/infrastructure/repositories/blanket-agreement-category-service..infrastructure.repository.d.ts +0 -7
- package/lib/infrastructure/repositories/sales-pending-document.infrastructure.repository.d.ts +0 -5
- package/lib/infrastructure/services/sales-pending-document.infrastructure.service.d.ts +0 -9
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { DestroyRef, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { FormControl, FormGroup } from '@angular/forms';
|
|
3
3
|
import { Subject } from 'rxjs';
|
|
4
|
-
import { CbmUserHistory } from '../../types';
|
|
5
|
-
import { EmailsModalComponent } from './emails-modal/emails-modal.component';
|
|
6
4
|
import { CbmHistoryModel } from "../../../../domain/models/history.domain.model";
|
|
7
5
|
import { CbmUserModel } from "../../../../domain/models/user.domain.model";
|
|
8
|
-
import { CbmNotificationService } from "../../../../domain/services/notification/notification.service";
|
|
9
6
|
import { CbmHistoryDomainRepository } from '../../../../domain/repositories/history.domain.repository';
|
|
10
7
|
import { CbmUserDomainRepository } from '../../../../domain/repositories/user.domain.repository';
|
|
11
|
-
import {
|
|
8
|
+
import { CbmAuthReactiveService } from '../../../../domain/services/auth-reactive.domain.service';
|
|
9
|
+
import { CbmNotificationService } from "../../../../domain/services/notification/notification.service";
|
|
10
|
+
import { CbmUserHistory } from '../../types';
|
|
11
|
+
import { EmailsModalComponent } from './emails-modal/emails-modal.component';
|
|
12
12
|
export declare class EmailHistoryComponent implements OnChanges, OnInit {
|
|
13
13
|
private historyRepository;
|
|
14
14
|
private notificationService;
|
|
@@ -45,7 +45,7 @@ export declare class EmailHistoryComponent implements OnChanges, OnInit {
|
|
|
45
45
|
toDate: FormControl<string | null>;
|
|
46
46
|
user: FormControl<CbmUserModel.NgSelectListResponse.Item | null>;
|
|
47
47
|
}>;
|
|
48
|
-
constructor(historyRepository: CbmHistoryDomainRepository, notificationService: CbmNotificationService, userRepository: CbmUserDomainRepository, destroyRef: DestroyRef, authService:
|
|
48
|
+
constructor(historyRepository: CbmHistoryDomainRepository, notificationService: CbmNotificationService, userRepository: CbmUserDomainRepository, destroyRef: DestroyRef, authService: CbmAuthReactiveService);
|
|
49
49
|
get isSuperUser(): boolean;
|
|
50
50
|
ngOnInit(): void;
|
|
51
51
|
ngOnChanges(changes: SimpleChanges): void;
|
package/lib/components/user-history/components/general-history/general-history.component.d.ts
CHANGED
|
@@ -6,8 +6,8 @@ import { CbmHistoryModel } from "../../../../domain/models/history.domain.model"
|
|
|
6
6
|
import { CbmUserModel } from "../../../../domain/models/user.domain.model";
|
|
7
7
|
import { CbmHistoryDomainRepository } from "../../../../domain/repositories/history.domain.repository";
|
|
8
8
|
import { CbmUserDomainRepository } from "../../../../domain/repositories/user.domain.repository";
|
|
9
|
+
import { CbmAuthReactiveService } from '../../../../domain/services/auth-reactive.domain.service';
|
|
9
10
|
import { CbmNotificationService } from "../../../../domain/services/notification/notification.service";
|
|
10
|
-
import { CbmAuthService } from '../../../../domain/services/auth/auth.service';
|
|
11
11
|
import { CbmFilters } from '../../../filters/filters.component';
|
|
12
12
|
import { CbmUserHistory } from '../../types';
|
|
13
13
|
export declare class GeneralHistoryComponent implements OnInit {
|
|
@@ -35,7 +35,7 @@ export declare class GeneralHistoryComponent implements OnInit {
|
|
|
35
35
|
user: FormControl<CbmUserModel.NgSelectListResponse.Item | null>;
|
|
36
36
|
}>;
|
|
37
37
|
filterRef: import("@angular/core").Signal<CbmFilters>;
|
|
38
|
-
constructor(destroyRef: DestroyRef, historyRepository: CbmHistoryDomainRepository, notificationService: CbmNotificationService, userRepository: CbmUserDomainRepository, authService:
|
|
38
|
+
constructor(destroyRef: DestroyRef, historyRepository: CbmHistoryDomainRepository, notificationService: CbmNotificationService, userRepository: CbmUserDomainRepository, authService: CbmAuthReactiveService);
|
|
39
39
|
get isSuperUser(): boolean;
|
|
40
40
|
users$: PaginatedListService<CbmUserModel.NgSelectListResponse, CbmUserModel.NgSelectListParams, CbmUserModel.ListByCompanyResponse.Item[]>;
|
|
41
41
|
history$: PaginatedListService<CbmHistoryModel.ListResponse, CbmHistoryModel.ListParams, CbmHistoryModel.ListResponse.Item[]>;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { DestroyRef, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { FormControl, FormGroup } from '@angular/forms';
|
|
3
3
|
import { Subject } from 'rxjs';
|
|
4
|
-
import { CbmUserHistory } from '../../types';
|
|
5
4
|
import { CbmHistoryModel } from "../../../../domain/models/history.domain.model";
|
|
6
5
|
import { CbmUserModel } from "../../../../domain/models/user.domain.model";
|
|
7
6
|
import { CbmHistoryDomainRepository } from "../../../../domain/repositories/history.domain.repository";
|
|
8
|
-
import { CbmNotificationService } from "../../../../domain/services/notification/notification.service";
|
|
9
7
|
import { CbmUserDomainRepository } from "../../../../domain/repositories/user.domain.repository";
|
|
10
|
-
import {
|
|
8
|
+
import { CbmAuthReactiveService } from '../../../../domain/services/auth-reactive.domain.service';
|
|
9
|
+
import { CbmNotificationService } from "../../../../domain/services/notification/notification.service";
|
|
10
|
+
import { CbmUserHistory } from '../../types';
|
|
11
11
|
export declare class PrintHistoryComponent implements OnChanges, OnInit {
|
|
12
12
|
private historyRepository;
|
|
13
13
|
private notificationService;
|
|
@@ -38,7 +38,7 @@ export declare class PrintHistoryComponent implements OnChanges, OnInit {
|
|
|
38
38
|
toDate: FormControl<string | null>;
|
|
39
39
|
user: FormControl<CbmUserModel.NgSelectListResponse.Item | null>;
|
|
40
40
|
}>;
|
|
41
|
-
constructor(historyRepository: CbmHistoryDomainRepository, notificationService: CbmNotificationService, userRepository: CbmUserDomainRepository, destroyRef: DestroyRef, authService:
|
|
41
|
+
constructor(historyRepository: CbmHistoryDomainRepository, notificationService: CbmNotificationService, userRepository: CbmUserDomainRepository, destroyRef: DestroyRef, authService: CbmAuthReactiveService);
|
|
42
42
|
get isSuperUser(): boolean;
|
|
43
43
|
ngOnInit(): void;
|
|
44
44
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { DestroyRef, ElementRef, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { FormControl, FormGroup } from '@angular/forms';
|
|
3
3
|
import { Subject } from 'rxjs';
|
|
4
|
-
import { CbmUserHistory } from '../../types';
|
|
5
4
|
import { CbmSriHistoryModel } from "../../../../domain/models/sri-history.domain.model";
|
|
6
5
|
import { CbmUserModel } from "../../../../domain/models/user.domain.model";
|
|
7
|
-
import { CbmNotificationService } from "../../../../domain/services/notification/notification.service";
|
|
8
6
|
import { CbmSriHistoryDomainRepository } from '../../../../domain/repositories/sri-history.domain.repository';
|
|
9
7
|
import { CbmUserDomainRepository } from '../../../../domain/repositories/user.domain.repository';
|
|
10
|
-
import {
|
|
8
|
+
import { CbmAuthReactiveService } from '../../../../domain/services/auth-reactive.domain.service';
|
|
9
|
+
import { CbmNotificationService } from "../../../../domain/services/notification/notification.service";
|
|
10
|
+
import { CbmUserHistory } from '../../types';
|
|
11
11
|
export declare class SriHistoryComponent implements OnChanges, OnInit {
|
|
12
12
|
private sriHistoryRepository;
|
|
13
13
|
private notificationService;
|
|
@@ -43,7 +43,7 @@ export declare class SriHistoryComponent implements OnChanges, OnInit {
|
|
|
43
43
|
toDate: FormControl<string | null>;
|
|
44
44
|
user: FormControl<CbmUserModel.NgSelectListResponse.Item | null>;
|
|
45
45
|
}>;
|
|
46
|
-
constructor(sriHistoryRepository: CbmSriHistoryDomainRepository, notificationService: CbmNotificationService, userRepository: CbmUserDomainRepository, destroyRef: DestroyRef, authService:
|
|
46
|
+
constructor(sriHistoryRepository: CbmSriHistoryDomainRepository, notificationService: CbmNotificationService, userRepository: CbmUserDomainRepository, destroyRef: DestroyRef, authService: CbmAuthReactiveService);
|
|
47
47
|
get isSuperUser(): boolean;
|
|
48
48
|
ngOnInit(): void;
|
|
49
49
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -10,7 +10,9 @@ export declare class CbmAccountRepository implements ICbmAccountRepository {
|
|
|
10
10
|
listPaginated(params: CbmAccountModel.ListPaginatedParams): Observable<CbmAccountModel.ListPaginatedResponse>;
|
|
11
11
|
ngSelectListPaginated(params: CbmAccountModel.NgSelectListPaginatedParams): Observable<CbmAccountModel.NgSelectListPaginatedResponse>;
|
|
12
12
|
getOne(id: string): Observable<CbmAccountModel.GetOneResponse>;
|
|
13
|
+
getOneParameters(id: string): Observable<CbmAccountModel.GetOneResponse>;
|
|
13
14
|
getOneByCode(code: string): Observable<CbmAccountModel.GetOneByCodeResponse>;
|
|
15
|
+
getOneByCodeParameters(code: string): Observable<CbmAccountModel.GetOneByCodeResponse>;
|
|
14
16
|
save(data: CbmAccountModel.SaveBody): Observable<CbmAccountModel.ConfirmResponse>;
|
|
15
17
|
update(id: string, data: CbmAccountModel.UpdateBody): Observable<CbmAccountModel.ConfirmResponse>;
|
|
16
18
|
changeStatus(id: string, data: CbmAccountModel.ChangeStatusBody): Observable<CbmAccountModel.ConfirmResponse>;
|
|
@@ -7,6 +7,7 @@ export declare class CbmItemDomainRepository implements ICbmItemInfrastructureRe
|
|
|
7
7
|
constructor(service: ICbmItemInfrastructureRepository);
|
|
8
8
|
list(params: CbmItemModel.ListParams): Observable<CbmItemModel.ListResponse>;
|
|
9
9
|
getOne(id: string): Observable<CbmItemModel.GetOneResponse>;
|
|
10
|
+
getOneParameters(id: string): Observable<CbmItemModel.GetOneResponse>;
|
|
10
11
|
getOneByCode(code: string): Observable<CbmItemModel.GetOneByCodeResponse>;
|
|
11
12
|
save(data: CbmItemModel.SaveBody): Observable<CbmItemModel.ConfirmResponse>;
|
|
12
13
|
update(id: string, data: CbmItemModel.UpdateBody): Observable<CbmItemModel.ConfirmResponse>;
|
|
@@ -5,6 +5,7 @@ export declare class CbmProviderContactRepository implements ICbmProviderContact
|
|
|
5
5
|
private readonly apiProviderContact;
|
|
6
6
|
constructor(apiProviderContact: ICbmProviderContactInfrastructureRepository);
|
|
7
7
|
list(request: CbmProviderContactModel.ListParams): Observable<CbmProviderContactModel.ListResponse>;
|
|
8
|
+
listParameters(request: CbmProviderContactModel.ListParams): Observable<CbmProviderContactModel.ListResponse>;
|
|
8
9
|
getOne(_id: string): Observable<CbmProviderContactModel.GetOneResponse>;
|
|
9
10
|
update(_id: string, request: CbmProviderContactModel.UpdateBody): Observable<CbmProviderContactModel.ConfirmResponse>;
|
|
10
11
|
}
|
|
@@ -8,6 +8,7 @@ export declare class CbmServiceOutsourcingDomainRepository implements ICbmServic
|
|
|
8
8
|
list(params: CbmOutsourcingServiceModel.ListParams): Observable<CbmOutsourcingServiceModel.ListResponse>;
|
|
9
9
|
getOne(id: string): Observable<CbmOutsourcingServiceModel.GetOneResponse>;
|
|
10
10
|
getOneByCode(code: string): Observable<CbmOutsourcingServiceModel.GetOneByCodeResponse>;
|
|
11
|
+
getOneByCodeParameters(code: string): Observable<CbmOutsourcingServiceModel.GetOneByCodeResponse>;
|
|
11
12
|
save(data: CbmOutsourcingServiceModel.SaveBody): Observable<CbmOutsourcingServiceModel.ConfirmResponse>;
|
|
12
13
|
update(id: string, data: CbmOutsourcingServiceModel.UpdateBody): Observable<CbmOutsourcingServiceModel.ConfirmResponse>;
|
|
13
14
|
changeStatus(id: string, data: CbmOutsourcingServiceModel.ChangeStatusBody): Observable<CbmOutsourcingServiceModel.ConfirmResponse>;
|
|
@@ -6,7 +6,9 @@ export interface ICbmAccountRepository {
|
|
|
6
6
|
listPaginated(params: CbmAccountModel.ListPaginatedParams): Observable<CbmAccountModel.ListPaginatedResponse>;
|
|
7
7
|
ngSelectListPaginated(params: CbmAccountModel.NgSelectListPaginatedParams): Observable<CbmAccountModel.NgSelectListPaginatedResponse>;
|
|
8
8
|
getOne(id: string): Observable<CbmAccountModel.GetOneResponse>;
|
|
9
|
+
getOneParameters(id: string): Observable<CbmAccountModel.GetOneResponse>;
|
|
9
10
|
getOneByCode(code: string): Observable<CbmAccountModel.GetOneByCodeResponse>;
|
|
11
|
+
getOneByCodeParameters(code: string): Observable<CbmAccountModel.GetOneByCodeResponse>;
|
|
10
12
|
save(data: CbmAccountModel.SaveBody): Observable<CbmAccountModel.ConfirmResponse>;
|
|
11
13
|
update(id: string, data: CbmAccountModel.UpdateBody): Observable<CbmAccountModel.ConfirmResponse>;
|
|
12
14
|
changeStatus(id: string, data: CbmAccountModel.ChangeStatusBody): Observable<CbmAccountModel.ConfirmResponse>;
|
|
@@ -4,6 +4,7 @@ import { Observable } from 'rxjs';
|
|
|
4
4
|
export interface ICbmItemInfrastructureRepository {
|
|
5
5
|
list(params: CbmItemModel.ListParams): Observable<CbmItemModel.ListResponse>;
|
|
6
6
|
getOne(id: string): Observable<CbmItemModel.GetOneResponse>;
|
|
7
|
+
getOneParameters(id: string): Observable<CbmItemModel.GetOneResponse>;
|
|
7
8
|
getOneByCode(code: string): Observable<CbmItemModel.GetOneByCodeResponse>;
|
|
8
9
|
save(data: CbmItemModel.SaveBody): Observable<CbmItemModel.ConfirmResponse>;
|
|
9
10
|
update(id: string, data: CbmItemModel.UpdateBody): Observable<CbmItemModel.ConfirmResponse>;
|
|
@@ -4,4 +4,5 @@ export interface ICbmProviderContactInfrastructureRepository {
|
|
|
4
4
|
list(request: CbmProviderContactModel.ListParams): Observable<CbmProviderContactModel.ListResponse>;
|
|
5
5
|
getOne(_id: string): Observable<CbmProviderContactModel.GetOneResponse>;
|
|
6
6
|
update(_id: string, request: CbmProviderContactModel.UpdateBody): Observable<CbmProviderContactModel.ConfirmResponse>;
|
|
7
|
+
listParameters(request: CbmProviderContactModel.ListParams): Observable<CbmProviderContactModel.ListResponse>;
|
|
7
8
|
}
|
|
@@ -5,6 +5,7 @@ export interface ICbmServiceOutsourcingInfrastructureRepository {
|
|
|
5
5
|
list(params: CbmOutsourcingServiceModel.ListParams): Observable<CbmOutsourcingServiceModel.ListResponse>;
|
|
6
6
|
getOne(id: string): Observable<CbmOutsourcingServiceModel.GetOneResponse>;
|
|
7
7
|
getOneByCode(code: string): Observable<CbmOutsourcingServiceModel.GetOneByCodeResponse>;
|
|
8
|
+
getOneByCodeParameters(code: string): Observable<CbmOutsourcingServiceModel.GetOneByCodeResponse>;
|
|
8
9
|
save(data: CbmOutsourcingServiceModel.SaveBody): Observable<CbmOutsourcingServiceModel.ConfirmResponse>;
|
|
9
10
|
update(id: string, data: CbmOutsourcingServiceModel.UpdateBody): Observable<CbmOutsourcingServiceModel.ConfirmResponse>;
|
|
10
11
|
changeStatus(id: string, data: CbmOutsourcingServiceModel.ChangeStatusBody): Observable<CbmOutsourcingServiceModel.ConfirmResponse>;
|
|
@@ -10,7 +10,9 @@ export declare class CbmAccountService implements ICbmAccountRepository {
|
|
|
10
10
|
listPaginated(params: CbmAccountModel.ListPaginatedParams): Observable<CbmAccountModel.ListPaginatedResponse>;
|
|
11
11
|
ngSelectListPaginated(params: CbmAccountModel.NgSelectListPaginatedParams): Observable<CbmAccountModel.NgSelectListPaginatedResponse>;
|
|
12
12
|
getOne(id: string): Observable<CbmAccountModel.GetOneResponse>;
|
|
13
|
+
getOneParameters(id: string): Observable<CbmAccountModel.GetOneResponse>;
|
|
13
14
|
getOneByCode(code: string): Observable<CbmAccountModel.GetOneByCodeResponse>;
|
|
15
|
+
getOneByCodeParameters(code: string): Observable<CbmAccountModel.GetOneByCodeResponse>;
|
|
14
16
|
save(data: CbmAccountModel.SaveBody): Observable<CbmAccountModel.ConfirmResponse>;
|
|
15
17
|
update(id: string, data: CbmAccountModel.UpdateBody): Observable<CbmAccountModel.ConfirmResponse>;
|
|
16
18
|
changeStatus(id: string, data: CbmAccountModel.ChangeStatusBody): Observable<CbmAccountModel.ConfirmResponse>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { CbmClientBranchModel } from
|
|
2
|
+
import { CbmClientBranchModel } from '../../domain/models/client-branch.domain.model';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
|
-
import { ICbmClientBranchInfrastructureRepository } from
|
|
4
|
+
import { ICbmClientBranchInfrastructureRepository } from '../repositories/client-branch.infrastructure.repository';
|
|
5
5
|
export declare class CbmClientBranchInfrastructureService implements ICbmClientBranchInfrastructureRepository {
|
|
6
6
|
private readonly http;
|
|
7
7
|
constructor(http: HttpClient);
|
|
@@ -8,6 +8,7 @@ export declare class CbmItemInfrastructureService implements ICbmItemInfrastruct
|
|
|
8
8
|
private readonly url;
|
|
9
9
|
list(params: CbmItemModel.ListParams): Observable<CbmItemModel.ListResponse>;
|
|
10
10
|
getOne(id: string): Observable<CbmItemModel.GetOneResponse>;
|
|
11
|
+
getOneParameters(id: string): Observable<CbmItemModel.GetOneResponse>;
|
|
11
12
|
getOneByCode(code: string): Observable<CbmItemModel.GetOneByCodeResponse>;
|
|
12
13
|
save(data: CbmItemModel.SaveBody): Observable<CbmItemModel.ConfirmResponse>;
|
|
13
14
|
update(id: string, data: CbmItemModel.UpdateBody): Observable<CbmItemModel.ConfirmResponse>;
|
|
@@ -7,6 +7,7 @@ export declare class CbmProviderContactInfrastructureService implements ICbmProv
|
|
|
7
7
|
constructor(http: HttpClient);
|
|
8
8
|
private readonly url;
|
|
9
9
|
list(request: CbmProviderContactModel.ListParams): Observable<CbmProviderContactModel.ListResponse>;
|
|
10
|
+
listParameters(request: CbmProviderContactModel.ListParams): Observable<CbmProviderContactModel.ListResponse>;
|
|
10
11
|
getOne(_id: string): Observable<CbmProviderContactModel.GetOneResponse>;
|
|
11
12
|
update(_id: string, request: CbmProviderContactModel.UpdateBody): Observable<CbmProviderContactModel.ConfirmResponse>;
|
|
12
13
|
}
|
|
@@ -9,6 +9,7 @@ export declare class CbmServiceOutsourcingInfrastructureService implements ICbmS
|
|
|
9
9
|
list(params: CbmOutsourcingServiceModel.ListParams): Observable<CbmOutsourcingServiceModel.ListResponse>;
|
|
10
10
|
getOne(id: string): Observable<CbmOutsourcingServiceModel.GetOneResponse>;
|
|
11
11
|
getOneByCode(code: string): Observable<CbmOutsourcingServiceModel.GetOneByCodeResponse>;
|
|
12
|
+
getOneByCodeParameters(code: string): Observable<CbmOutsourcingServiceModel.GetOneByCodeResponse>;
|
|
12
13
|
save(data: CbmOutsourcingServiceModel.SaveBody): Observable<CbmOutsourcingServiceModel.ConfirmResponse>;
|
|
13
14
|
update(id: string, data: CbmOutsourcingServiceModel.UpdateBody): Observable<CbmOutsourcingServiceModel.ConfirmResponse>;
|
|
14
15
|
changeStatus(id: string, data: CbmOutsourcingServiceModel.ChangeStatusBody): Observable<CbmOutsourcingServiceModel.ConfirmResponse>;
|
package/package.json
CHANGED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef, OnChanges, Renderer2, SimpleChanges } from '@angular/core';
|
|
2
|
-
export declare class DropdownMenuDirective implements OnChanges, AfterViewInit {
|
|
3
|
-
private element;
|
|
4
|
-
private renderer2;
|
|
5
|
-
hiddenMenu: import("@angular/core").InputSignal<boolean>;
|
|
6
|
-
hiddenMenuOp: import("@angular/core").WritableSignal<boolean>;
|
|
7
|
-
constructor(element: ElementRef, renderer2: Renderer2);
|
|
8
|
-
ngAfterViewInit(): void;
|
|
9
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
10
|
-
toggle(event: Event): void;
|
|
11
|
-
private toggleMenu;
|
|
12
|
-
initStyle(): void;
|
|
13
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef, Renderer2 } from '@angular/core';
|
|
2
|
-
export declare class DropdownDirective implements AfterViewInit {
|
|
3
|
-
private elementRef;
|
|
4
|
-
private renderer;
|
|
5
|
-
private isOpen;
|
|
6
|
-
constructor(elementRef: ElementRef, renderer: Renderer2);
|
|
7
|
-
ngAfterViewInit(): void;
|
|
8
|
-
toggleDropdown(event: MouseEvent): void;
|
|
9
|
-
closeDropdown(event: MouseEvent): void;
|
|
10
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { WritableSignal } from '@angular/core';
|
|
2
|
-
import { Router, ActivatedRoute, Params } from '@angular/router';
|
|
3
|
-
import { CbmRecordDetailMetadataModel } from "../../types";
|
|
4
|
-
export declare class OptionsComponent {
|
|
5
|
-
private router;
|
|
6
|
-
private route;
|
|
7
|
-
constructor(router: Router, route: ActivatedRoute);
|
|
8
|
-
metadata: import("@angular/core").InputSignal<CbmRecordDetailMetadataModel.metadata | null>;
|
|
9
|
-
options: import("@angular/core").InputSignal<CbmRecordDetailMetadataModel.options[] | undefined>;
|
|
10
|
-
optionInSignals: WritableSignal<WritableSignal<CbmRecordDetailMetadataModel.options>[]>;
|
|
11
|
-
executeFunction(option: WritableSignal<CbmRecordDetailMetadataModel.options>): void;
|
|
12
|
-
navigate(routerLink?: string, queryParams?: Params): void;
|
|
13
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef, OnChanges, Renderer2, SimpleChanges } from '@angular/core';
|
|
2
|
-
export declare class DropdownMenuDirective implements OnChanges, AfterViewInit {
|
|
3
|
-
private element;
|
|
4
|
-
private renderer2;
|
|
5
|
-
hiddenMenu: import("@angular/core").InputSignal<boolean>;
|
|
6
|
-
hiddenMenuOp: import("@angular/core").WritableSignal<boolean>;
|
|
7
|
-
constructor(element: ElementRef, renderer2: Renderer2);
|
|
8
|
-
ngAfterViewInit(): void;
|
|
9
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
10
|
-
toggle(event: Event): void;
|
|
11
|
-
private toggleMenu;
|
|
12
|
-
initStyle(): void;
|
|
13
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ElementRef, Renderer2 } from '@angular/core';
|
|
2
|
-
export declare class DropdownDirective {
|
|
3
|
-
private elementRef;
|
|
4
|
-
private renderer;
|
|
5
|
-
private isOpen;
|
|
6
|
-
constructor(elementRef: ElementRef, renderer: Renderer2);
|
|
7
|
-
toggleDropdown(event: MouseEvent): void;
|
|
8
|
-
closeDropdown(event: MouseEvent): void;
|
|
9
|
-
}
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
export declare namespace CbmSalesPendingDocumentModel {
|
|
2
|
-
type TTypeEstablishment = 'matrix' | 'branch';
|
|
3
|
-
export interface ListParams {
|
|
4
|
-
page: number;
|
|
5
|
-
size: number;
|
|
6
|
-
document_number?: string;
|
|
7
|
-
date_end?: number;
|
|
8
|
-
date_begin?: number;
|
|
9
|
-
client_id?: string;
|
|
10
|
-
client_branch_id?: string;
|
|
11
|
-
type?: string;
|
|
12
|
-
}
|
|
13
|
-
export interface ListResponse {
|
|
14
|
-
success: boolean;
|
|
15
|
-
pageNum: number;
|
|
16
|
-
pageSize: number;
|
|
17
|
-
pages: number;
|
|
18
|
-
total: number;
|
|
19
|
-
totales: ListResponse.totales;
|
|
20
|
-
items: ListResponse.Item[];
|
|
21
|
-
}
|
|
22
|
-
export namespace ListResponse {
|
|
23
|
-
interface Item {
|
|
24
|
-
_id: string;
|
|
25
|
-
created_at: number;
|
|
26
|
-
document_nomenclature: string;
|
|
27
|
-
document_emission_point_number: string;
|
|
28
|
-
document_sequence: string;
|
|
29
|
-
balance: number;
|
|
30
|
-
client_id: string;
|
|
31
|
-
client_payment_deadline?: number;
|
|
32
|
-
client_credit_limit?: number;
|
|
33
|
-
client_business_name: string;
|
|
34
|
-
client_trade_name: string;
|
|
35
|
-
client_document_number: string;
|
|
36
|
-
client_credit_application: boolean;
|
|
37
|
-
client_price_list_id: string;
|
|
38
|
-
client_price_list_code: string;
|
|
39
|
-
client_price_list_name: string;
|
|
40
|
-
client_document_type_id: string;
|
|
41
|
-
client_document_type_name: string;
|
|
42
|
-
client_document_type_code: string;
|
|
43
|
-
client_category_id: string;
|
|
44
|
-
client_category_name: string;
|
|
45
|
-
client_branch_id: string;
|
|
46
|
-
client_branch_code: string;
|
|
47
|
-
client_branch_name: string;
|
|
48
|
-
client_branch_address: string;
|
|
49
|
-
client_branch_email: string[];
|
|
50
|
-
client_branch_phone_code?: string;
|
|
51
|
-
client_branch_phone?: string;
|
|
52
|
-
client_branch_cellphone?: string;
|
|
53
|
-
client_branch_type_establishment: `${TTypeEstablishment}`;
|
|
54
|
-
client_branch_province_id?: string;
|
|
55
|
-
client_branch_province_code?: string;
|
|
56
|
-
client_branch_province_name?: string;
|
|
57
|
-
client_branch_canton_id?: string;
|
|
58
|
-
client_branch_canton_code?: string;
|
|
59
|
-
client_branch_canton_name?: string;
|
|
60
|
-
client_branch_parish_id?: string;
|
|
61
|
-
client_branch_parish_code?: string;
|
|
62
|
-
client_branch_parish_name?: string;
|
|
63
|
-
client_branch_longitude?: number;
|
|
64
|
-
client_branch_latitude?: number;
|
|
65
|
-
client_branch_seller_id: string;
|
|
66
|
-
client_branch_seller_identification_number: string;
|
|
67
|
-
client_branch_seller_full_name: string;
|
|
68
|
-
client_branch_seller_address: string;
|
|
69
|
-
client_branch_seller_email: string[];
|
|
70
|
-
client_branch_seller_cellphone: string;
|
|
71
|
-
client_branch_contact_id?: string;
|
|
72
|
-
client_branch_contact_identification_number?: string;
|
|
73
|
-
client_branch_contact_full_name?: string;
|
|
74
|
-
client_branch_contact_cellphone?: string;
|
|
75
|
-
client_branch_contact_email?: string[];
|
|
76
|
-
new_document_number: string;
|
|
77
|
-
date: number;
|
|
78
|
-
type: string;
|
|
79
|
-
checked?: boolean;
|
|
80
|
-
}
|
|
81
|
-
interface totales {
|
|
82
|
-
total_retention?: number;
|
|
83
|
-
total_down_payment?: number;
|
|
84
|
-
total_credit_note?: number;
|
|
85
|
-
total_initial_balance_retention?: number;
|
|
86
|
-
total_initial_balance_down_payment?: number;
|
|
87
|
-
total_initial_balance_credit_note?: number;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
export {};
|
|
91
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { CbmSalesPendingDocumentModel } from '../models/sales-pending-document.domain.model';
|
|
3
|
-
import { ICbmSalesPendingDocumentRepository } from '../../infrastructure/repositories/sales-pending-document.infrastructure.repository';
|
|
4
|
-
export declare class CbmSalesPendingDocumentRepository implements ICbmSalesPendingDocumentRepository {
|
|
5
|
-
private service;
|
|
6
|
-
constructor(service: ICbmSalesPendingDocumentRepository);
|
|
7
|
-
list(params: CbmSalesPendingDocumentModel.ListParams): Observable<CbmSalesPendingDocumentModel.ListResponse>;
|
|
8
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Observable } from "rxjs";
|
|
2
|
-
import { CbmBlanketAgreementCategoryServiceModel } from "../../domain/models/blanket-agreement-category-service.domain.model";
|
|
3
|
-
export interface ICbmBlanketAgreementCategoryServiceRepository {
|
|
4
|
-
list(params: CbmBlanketAgreementCategoryServiceModel.ListParams): Observable<CbmBlanketAgreementCategoryServiceModel.ListResponse>;
|
|
5
|
-
save(data: CbmBlanketAgreementCategoryServiceModel.SaveBody): Observable<CbmBlanketAgreementCategoryServiceModel.ConfirmResponse>;
|
|
6
|
-
delete(id: string): Observable<CbmBlanketAgreementCategoryServiceModel.ConfirmResponse>;
|
|
7
|
-
}
|
package/lib/infrastructure/repositories/sales-pending-document.infrastructure.repository.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { CbmSalesPendingDocumentModel } from '../../domain/models/sales-pending-document.domain.model';
|
|
3
|
-
export interface ICbmSalesPendingDocumentRepository {
|
|
4
|
-
list(params: CbmSalesPendingDocumentModel.ListParams): Observable<CbmSalesPendingDocumentModel.ListResponse>;
|
|
5
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { CbmSalesPendingDocumentModel } from '../../domain/models/sales-pending-document.domain.model';
|
|
4
|
-
export declare class CbmSalesPendingDocumentService {
|
|
5
|
-
private http;
|
|
6
|
-
constructor(http: HttpClient);
|
|
7
|
-
private readonly url;
|
|
8
|
-
list(params: CbmSalesPendingDocumentModel.ListParams): Observable<CbmSalesPendingDocumentModel.ListResponse>;
|
|
9
|
-
}
|