@rolatech/angular-services 20.2.9-beta.6 → 20.3.0-beta.2
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,7 +4,7 @@ import { MatDialogRef, MatDialog } from '@angular/material/dialog';
|
|
|
4
4
|
import * as rxjs from 'rxjs';
|
|
5
5
|
import { Observable, BehaviorSubject, Subject } from 'rxjs';
|
|
6
6
|
import { HttpClient, HttpRequest, HttpHandler, HttpEvent, HttpInterceptorFn } from '@angular/common/http';
|
|
7
|
-
import { AppConfig, ApiResponse } from '@rolatech/angular-common';
|
|
7
|
+
import { AppConfig, ApiResponse, ApiRequestOptions as ApiRequestOptions$1 } from '@rolatech/angular-common';
|
|
8
8
|
import { Location } from '@angular/common';
|
|
9
9
|
import { Router, ActivatedRoute } from '@angular/router';
|
|
10
10
|
import { BreakpointObserver, MediaMatcher } from '@angular/cdk/layout';
|
|
@@ -53,6 +53,7 @@ declare class BaseService {
|
|
|
53
53
|
endpoint: string;
|
|
54
54
|
constructor();
|
|
55
55
|
init(): void;
|
|
56
|
+
protected params(options?: Record<string, any>): Record<string, any>;
|
|
56
57
|
find<T>(options?: any, withCredentials?: boolean): Observable<T>;
|
|
57
58
|
get<T>(id: string, options?: any, withCredentials?: boolean): Observable<T>;
|
|
58
59
|
create<T>(item: T): Observable<T>;
|
|
@@ -686,11 +687,696 @@ declare class TitleService {
|
|
|
686
687
|
static ɵprov: i0.ɵɵInjectableDeclaration<TitleService>;
|
|
687
688
|
}
|
|
688
689
|
|
|
690
|
+
type ApplicationStatus = 'ACTIVE' | 'INACTIVE' | 'DRAFT';
|
|
691
|
+
interface ApplicationSummaryResponse {
|
|
692
|
+
id: string;
|
|
693
|
+
name: string;
|
|
694
|
+
code: string;
|
|
695
|
+
type?: string | null;
|
|
696
|
+
description?: string | null;
|
|
697
|
+
status: ApplicationStatus;
|
|
698
|
+
active: boolean;
|
|
699
|
+
organizationCount: number;
|
|
700
|
+
roleCount: number;
|
|
701
|
+
updatedAt?: string | null;
|
|
702
|
+
}
|
|
703
|
+
interface ApplicationDetailResponse extends ApplicationSummaryResponse {
|
|
704
|
+
memberCount: number;
|
|
705
|
+
createdAt?: string | null;
|
|
706
|
+
}
|
|
707
|
+
interface ApplicationOrganizationResponse {
|
|
708
|
+
id: string;
|
|
709
|
+
name: string;
|
|
710
|
+
code: string;
|
|
711
|
+
status: ApplicationStatus;
|
|
712
|
+
memberCount: number;
|
|
713
|
+
ownerUserId?: string | null;
|
|
714
|
+
ownerDisplayName?: string | null;
|
|
715
|
+
ownerEmail?: string | null;
|
|
716
|
+
ownerStatus?: string | null;
|
|
717
|
+
}
|
|
718
|
+
interface ApplicationPageResponse {
|
|
719
|
+
items: ApplicationSummaryResponse[];
|
|
720
|
+
total: number;
|
|
721
|
+
}
|
|
722
|
+
interface ApplicationOrganizationPageResponse {
|
|
723
|
+
items: ApplicationOrganizationResponse[];
|
|
724
|
+
total: number;
|
|
725
|
+
}
|
|
726
|
+
interface CreateApplicationRequest {
|
|
727
|
+
name: string;
|
|
728
|
+
code: string;
|
|
729
|
+
type?: string | null;
|
|
730
|
+
description?: string | null;
|
|
731
|
+
active: boolean;
|
|
732
|
+
}
|
|
733
|
+
interface UpdateApplicationRequest extends CreateApplicationRequest {
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
/** Mirrors AbstractBaseEntity (common fields in your backend). */
|
|
737
|
+
interface BaseEntity {
|
|
738
|
+
id: string;
|
|
739
|
+
createdAt?: string;
|
|
740
|
+
updatedAt?: string;
|
|
741
|
+
version?: number;
|
|
742
|
+
}
|
|
743
|
+
/** ---- Enums ---- */
|
|
744
|
+
type AutomationExecutionStatus = 'QUEUED' | 'RUNNING' | 'SUCCEEDED' | 'FAILED' | 'CANCELLED';
|
|
745
|
+
type AutomationLogLevel = 'INFO' | 'WARN' | 'ERROR' | 'DEBUG';
|
|
746
|
+
type ScheduleCron = 'EVERY_5_MINUTES' | 'EVERY_15_MINUTES' | 'HOURLY' | 'DAILY' | 'WEEKLY';
|
|
747
|
+
/** ---- Entities ---- */
|
|
748
|
+
interface AutomationDefinition extends BaseEntity {
|
|
749
|
+
code: string;
|
|
750
|
+
name: string;
|
|
751
|
+
description?: string | null;
|
|
752
|
+
handlerKey: string;
|
|
753
|
+
defaultInputJson?: string | null;
|
|
754
|
+
enabled: boolean;
|
|
755
|
+
}
|
|
756
|
+
interface AutomationExecution extends BaseEntity {
|
|
757
|
+
definitionId: string;
|
|
758
|
+
scheduleId?: string | null;
|
|
759
|
+
status: AutomationExecutionStatus;
|
|
760
|
+
queuedAt?: string | null;
|
|
761
|
+
startedAt?: string | null;
|
|
762
|
+
finishedAt?: string | null;
|
|
763
|
+
processed: number;
|
|
764
|
+
total: number;
|
|
765
|
+
lastSeq: number;
|
|
766
|
+
inputJson?: string | null;
|
|
767
|
+
metadata?: Record<string, any> | null;
|
|
768
|
+
idempotencyKey?: string | null;
|
|
769
|
+
errorMessage?: string | null;
|
|
770
|
+
}
|
|
771
|
+
interface AutomationSchedule extends BaseEntity {
|
|
772
|
+
definitionId: string;
|
|
773
|
+
name: string;
|
|
774
|
+
schedule: ScheduleCron;
|
|
775
|
+
inputJson?: string | null;
|
|
776
|
+
enabled: boolean;
|
|
777
|
+
nextRunAt?: string | null;
|
|
778
|
+
lastRunAt?: string | null;
|
|
779
|
+
}
|
|
780
|
+
interface AutomationExecutionLog extends BaseEntity {
|
|
781
|
+
executionId: string;
|
|
782
|
+
level: AutomationLogLevel;
|
|
783
|
+
message: string;
|
|
784
|
+
}
|
|
785
|
+
/** ---- Optional: enum metadata for UI (label/description) ---- */
|
|
786
|
+
interface ScheduleCronMeta {
|
|
787
|
+
value: ScheduleCron;
|
|
788
|
+
label: string;
|
|
789
|
+
description: string;
|
|
790
|
+
}
|
|
791
|
+
declare const SCHEDULE_CRON_META: readonly ScheduleCronMeta[];
|
|
792
|
+
|
|
793
|
+
type ApiRequestOptions = Record<string, any>;
|
|
794
|
+
interface AutomationSummaryResponse {
|
|
795
|
+
[k: string]: any;
|
|
796
|
+
}
|
|
797
|
+
type AutomationDefinitionDto = AutomationDefinition;
|
|
798
|
+
interface CreateDefinitionRequest {
|
|
799
|
+
code: string;
|
|
800
|
+
name: string;
|
|
801
|
+
description?: string | null;
|
|
802
|
+
handlerKey: string;
|
|
803
|
+
defaultInputJson?: string | null;
|
|
804
|
+
enabled?: boolean;
|
|
805
|
+
}
|
|
806
|
+
interface UpdateDefinitionRequest {
|
|
807
|
+
name?: string;
|
|
808
|
+
description?: string | null;
|
|
809
|
+
handlerKey?: string;
|
|
810
|
+
defaultInputJson?: string | null;
|
|
811
|
+
enabled?: boolean;
|
|
812
|
+
}
|
|
813
|
+
interface AutomationExecutionDto extends AutomationExecution {
|
|
814
|
+
definitionCode?: string;
|
|
815
|
+
}
|
|
816
|
+
interface EnqueueExecutionRequest {
|
|
817
|
+
definitionCode: string;
|
|
818
|
+
inputJson?: string | null;
|
|
819
|
+
idempotencyKey?: string | null;
|
|
820
|
+
scheduleId?: string | null;
|
|
821
|
+
}
|
|
822
|
+
interface CancelStateResponse {
|
|
823
|
+
cancelRequested: boolean;
|
|
824
|
+
status: string;
|
|
825
|
+
}
|
|
826
|
+
interface ExecutionLogDto {
|
|
827
|
+
id: string;
|
|
828
|
+
executionId: string;
|
|
829
|
+
level: string;
|
|
830
|
+
message: string;
|
|
831
|
+
createdAt?: string | null;
|
|
832
|
+
}
|
|
833
|
+
interface AutomationScheduleDto extends AutomationSchedule {
|
|
834
|
+
definitionCode?: string;
|
|
835
|
+
schedule: ScheduleCron;
|
|
836
|
+
}
|
|
837
|
+
interface ScheduleOptionResponse {
|
|
838
|
+
code: string;
|
|
839
|
+
value: ScheduleCron;
|
|
840
|
+
label: string;
|
|
841
|
+
description: string;
|
|
842
|
+
}
|
|
843
|
+
interface CreateScheduleRequest {
|
|
844
|
+
definitionId: string;
|
|
845
|
+
name: string;
|
|
846
|
+
schedule: ScheduleCron;
|
|
847
|
+
inputJson?: string | null;
|
|
848
|
+
enabled?: boolean;
|
|
849
|
+
}
|
|
850
|
+
interface UpdateScheduleRequest {
|
|
851
|
+
name?: string;
|
|
852
|
+
schedule?: ScheduleCron;
|
|
853
|
+
inputJson?: string | null;
|
|
854
|
+
enabled?: boolean;
|
|
855
|
+
}
|
|
856
|
+
|
|
857
|
+
interface EnumOption {
|
|
858
|
+
value: string;
|
|
859
|
+
label: string;
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
type ReferenceProvider = 'GOODLORD' | 'LET_ALLIANCE' | 'HOMELET' | 'OTHER';
|
|
863
|
+
interface OfferReferencingPatchPayload {
|
|
864
|
+
referenceProvider: ReferenceProvider;
|
|
865
|
+
referenceProviderOther?: string | null;
|
|
866
|
+
}
|
|
867
|
+
interface OfferReferencingView {
|
|
868
|
+
referenceProvider: ReferenceProvider | null;
|
|
869
|
+
referenceProviderOther: string | null;
|
|
870
|
+
updatedBy?: string | null;
|
|
871
|
+
updatedAt?: string | null;
|
|
872
|
+
}
|
|
873
|
+
|
|
874
|
+
type OnboardingStatus = 'DRAFT' | 'IN_PROGRESS' | 'SUBMITTED' | 'IN_REVIEW' | 'NEED_MORE_INFO' | 'APPROVED' | 'FAILED';
|
|
875
|
+
type OnboardingApplicantType = 'INDIVIDUAL' | 'COMPANY';
|
|
876
|
+
type OnboardingDocumentType = 'PASSPORT' | 'CERTIFICATE_OF_INCORPORATION' | 'INDUSTRY_CERTIFICATE' | 'PROOF_OF_ADDRESS' | 'BANK_STATEMENT' | 'OTHER';
|
|
877
|
+
type OnboardingIssueType = 'FIELD' | 'DOCUMENT' | 'GENERAL';
|
|
878
|
+
type OnboardingVatMode = 'NON_VAT_REGISTERED' | 'VAT_REGISTERED' | 'MANUAL_REVIEW_REQUIRED';
|
|
879
|
+
interface CreateOnboardingApplicationRequest {
|
|
880
|
+
applicationId: string;
|
|
881
|
+
applicantType: OnboardingApplicantType;
|
|
882
|
+
companyCountry: string;
|
|
883
|
+
}
|
|
884
|
+
interface SaveOnboardingProfileRequest {
|
|
885
|
+
organizationName: string;
|
|
886
|
+
contactName: string;
|
|
887
|
+
contactEmail: string;
|
|
888
|
+
contactPhone: string;
|
|
889
|
+
countryCode: string;
|
|
890
|
+
}
|
|
891
|
+
interface SaveOnboardingFinancialRequest {
|
|
892
|
+
vatMode: OnboardingVatMode;
|
|
893
|
+
vatNumber?: string | null;
|
|
894
|
+
}
|
|
895
|
+
interface SaveOnboardingBankingRequest {
|
|
896
|
+
bankName: string;
|
|
897
|
+
accountHolderName: string;
|
|
898
|
+
sortCode: string;
|
|
899
|
+
accountNumber: string;
|
|
900
|
+
}
|
|
901
|
+
interface RequestOnboardingUploadUrlRequest {
|
|
902
|
+
documentType: OnboardingDocumentType;
|
|
903
|
+
filename: string;
|
|
904
|
+
contentType: string;
|
|
905
|
+
fileSize: number;
|
|
906
|
+
replacedDocumentId?: string;
|
|
907
|
+
}
|
|
908
|
+
interface ConfirmOnboardingDocumentUploadRequest {
|
|
909
|
+
documentType: OnboardingDocumentType;
|
|
910
|
+
storageType: string;
|
|
911
|
+
objectKey: string;
|
|
912
|
+
objectUrl: string;
|
|
913
|
+
originalFilename: string;
|
|
914
|
+
contentType: string;
|
|
915
|
+
fileSize: number;
|
|
916
|
+
replacedDocumentId?: string;
|
|
917
|
+
}
|
|
918
|
+
interface OnboardingUploadUrlResponse {
|
|
919
|
+
uploadUrl: string;
|
|
920
|
+
storageType: string;
|
|
921
|
+
objectKey: string;
|
|
922
|
+
expiresAt?: string | null;
|
|
923
|
+
}
|
|
924
|
+
interface NeedMoreInfoOnboardingIssueRequest {
|
|
925
|
+
issueType: OnboardingIssueType;
|
|
926
|
+
comment: string;
|
|
927
|
+
fieldKey?: string;
|
|
928
|
+
documentType?: OnboardingDocumentType;
|
|
929
|
+
}
|
|
930
|
+
interface NeedMoreInfoOnboardingApplicationRequest {
|
|
931
|
+
comment: string;
|
|
932
|
+
issues: NeedMoreInfoOnboardingIssueRequest[];
|
|
933
|
+
}
|
|
934
|
+
interface ApproveOnboardingApplicationRequest {
|
|
935
|
+
comment: string;
|
|
936
|
+
}
|
|
937
|
+
interface FailOnboardingApplicationRequest {
|
|
938
|
+
comment: string;
|
|
939
|
+
}
|
|
940
|
+
interface OnboardingIssueResponse {
|
|
941
|
+
id: string;
|
|
942
|
+
issueType: OnboardingIssueType;
|
|
943
|
+
comment: string;
|
|
944
|
+
fieldKey?: string | null;
|
|
945
|
+
documentType?: OnboardingDocumentType | null;
|
|
946
|
+
resolved?: boolean;
|
|
947
|
+
createdAt?: string;
|
|
948
|
+
}
|
|
949
|
+
interface OnboardingTimelineResponse {
|
|
950
|
+
id: string;
|
|
951
|
+
type: string;
|
|
952
|
+
title?: string | null;
|
|
953
|
+
description?: string | null;
|
|
954
|
+
createdAt: string;
|
|
955
|
+
}
|
|
956
|
+
interface OnboardingDocumentResponse {
|
|
957
|
+
id: string;
|
|
958
|
+
documentType: OnboardingDocumentType;
|
|
959
|
+
originalFilename: string;
|
|
960
|
+
contentType?: string;
|
|
961
|
+
fileSize?: number;
|
|
962
|
+
version: number;
|
|
963
|
+
status?: string;
|
|
964
|
+
reviewerComment?: string | null;
|
|
965
|
+
uploadedAt?: string;
|
|
966
|
+
}
|
|
967
|
+
interface OnboardingProgress {
|
|
968
|
+
profileCompleted: boolean;
|
|
969
|
+
qualificationCompleted: boolean;
|
|
970
|
+
financialCompleted: boolean;
|
|
971
|
+
bankingCompleted: boolean;
|
|
972
|
+
}
|
|
973
|
+
interface OnboardingApplicationResponse {
|
|
974
|
+
id: string;
|
|
975
|
+
applicationId: string;
|
|
976
|
+
status: OnboardingStatus;
|
|
977
|
+
applicantType: OnboardingApplicantType;
|
|
978
|
+
companyCountry: string;
|
|
979
|
+
organizationName?: string | null;
|
|
980
|
+
contactName?: string | null;
|
|
981
|
+
contactEmail?: string | null;
|
|
982
|
+
contactPhone?: string | null;
|
|
983
|
+
countryCode?: string | null;
|
|
984
|
+
progress?: OnboardingProgress;
|
|
985
|
+
createdAt?: string;
|
|
986
|
+
updatedAt?: string;
|
|
987
|
+
}
|
|
988
|
+
interface OnboardingApplicationDetailResponse extends OnboardingApplicationResponse {
|
|
989
|
+
vatMode?: OnboardingVatMode | null;
|
|
990
|
+
vatNumber?: string | null;
|
|
991
|
+
bankName?: string | null;
|
|
992
|
+
accountHolderName?: string | null;
|
|
993
|
+
sortCode?: string | null;
|
|
994
|
+
accountNumber?: string | null;
|
|
995
|
+
documents: OnboardingDocumentResponse[];
|
|
996
|
+
issues: OnboardingIssueResponse[];
|
|
997
|
+
timeline: OnboardingTimelineResponse[];
|
|
998
|
+
}
|
|
999
|
+
interface OnboardingAdminListQuery {
|
|
1000
|
+
status?: OnboardingStatus;
|
|
1001
|
+
search?: string;
|
|
1002
|
+
}
|
|
1003
|
+
|
|
1004
|
+
type OrganizationInvitationStatus = 'PENDING' | 'ACCEPTED' | 'EXPIRED' | 'REVOKED';
|
|
1005
|
+
interface OrganizationInvitationResponse {
|
|
1006
|
+
id: string;
|
|
1007
|
+
email: string;
|
|
1008
|
+
roleCode: string;
|
|
1009
|
+
status: OrganizationInvitationStatus;
|
|
1010
|
+
invitedBy?: string | null;
|
|
1011
|
+
createdAt: string;
|
|
1012
|
+
expiresAt?: string | null;
|
|
1013
|
+
respondedAt?: string | null;
|
|
1014
|
+
}
|
|
1015
|
+
interface OrganizationInvitationPageResponse {
|
|
1016
|
+
items: OrganizationInvitationResponse[];
|
|
1017
|
+
total: number;
|
|
1018
|
+
}
|
|
1019
|
+
interface CreateOrganizationInvitationRequest {
|
|
1020
|
+
email: string;
|
|
1021
|
+
roleCode: string;
|
|
1022
|
+
expiresInDays?: number | null;
|
|
1023
|
+
}
|
|
1024
|
+
interface OrganizationMemberResponse {
|
|
1025
|
+
id: string;
|
|
1026
|
+
userId?: string | null;
|
|
1027
|
+
email: string;
|
|
1028
|
+
displayName?: string | null;
|
|
1029
|
+
status: string;
|
|
1030
|
+
roleIds?: string[] | null;
|
|
1031
|
+
roleCodes: string[];
|
|
1032
|
+
invitedAt?: string | null;
|
|
1033
|
+
joinedAt?: string | null;
|
|
1034
|
+
lastActiveAt?: string | null;
|
|
1035
|
+
}
|
|
1036
|
+
interface OrganizationMemberPageResponse {
|
|
1037
|
+
items: OrganizationMemberResponse[];
|
|
1038
|
+
total: number;
|
|
1039
|
+
}
|
|
1040
|
+
interface UpdateOrganizationMemberRolesRequest {
|
|
1041
|
+
roleIds: string[];
|
|
1042
|
+
}
|
|
1043
|
+
|
|
1044
|
+
type RoleManageScope = 'PLATFORM' | 'APP' | 'ORG';
|
|
1045
|
+
type PermissionScope = 'PLATFORM' | 'APP' | 'ORG';
|
|
1046
|
+
type PermissionSource = 'ENDPOINT' | 'SYSTEM' | 'MANUAL';
|
|
1047
|
+
interface RolePermissionContext {
|
|
1048
|
+
manageScope: RoleManageScope;
|
|
1049
|
+
applicationId?: string | null;
|
|
1050
|
+
organizationId?: string | null;
|
|
1051
|
+
}
|
|
1052
|
+
interface RolePermissionIndexItem {
|
|
1053
|
+
id: string;
|
|
1054
|
+
name: string;
|
|
1055
|
+
code: string;
|
|
1056
|
+
scope: PermissionScope;
|
|
1057
|
+
applicationId?: string | null;
|
|
1058
|
+
applicationName?: string | null;
|
|
1059
|
+
organizationId?: string | null;
|
|
1060
|
+
organizationName?: string | null;
|
|
1061
|
+
permissionCount: number;
|
|
1062
|
+
memberCount: number;
|
|
1063
|
+
active: boolean;
|
|
1064
|
+
updatedAt?: string | null;
|
|
1065
|
+
}
|
|
1066
|
+
interface RolePermissionSummary {
|
|
1067
|
+
roleId: string;
|
|
1068
|
+
roleName: string;
|
|
1069
|
+
roleCode: string;
|
|
1070
|
+
roleDescription?: string | null;
|
|
1071
|
+
roleScope: PermissionScope;
|
|
1072
|
+
applicationId?: string | null;
|
|
1073
|
+
applicationName?: string | null;
|
|
1074
|
+
organizationId?: string | null;
|
|
1075
|
+
organizationName?: string | null;
|
|
1076
|
+
active: boolean;
|
|
1077
|
+
assignedPermissionCount: number;
|
|
1078
|
+
availablePermissionCount: number;
|
|
1079
|
+
memberCount: number;
|
|
1080
|
+
updatedAt?: string | null;
|
|
1081
|
+
}
|
|
1082
|
+
interface PermissionSummary {
|
|
1083
|
+
id: string;
|
|
1084
|
+
code: string;
|
|
1085
|
+
name: string;
|
|
1086
|
+
resource?: string | null;
|
|
1087
|
+
module?: string | null;
|
|
1088
|
+
scope: PermissionScope;
|
|
1089
|
+
description?: string | null;
|
|
1090
|
+
source?: PermissionSource | null;
|
|
1091
|
+
assigned: boolean;
|
|
1092
|
+
}
|
|
1093
|
+
interface PermissionGroup {
|
|
1094
|
+
key: string;
|
|
1095
|
+
label: string;
|
|
1096
|
+
count: number;
|
|
1097
|
+
assignedCount: number;
|
|
1098
|
+
items: PermissionSummary[];
|
|
1099
|
+
}
|
|
1100
|
+
interface FindRolePermissionRolesOptions extends RolePermissionContext {
|
|
1101
|
+
keyword?: string | null;
|
|
1102
|
+
scope?: 'ALL' | PermissionScope | null;
|
|
1103
|
+
active?: boolean | null;
|
|
1104
|
+
}
|
|
1105
|
+
interface FindRolePermissionSummaryOptions extends RolePermissionContext {
|
|
1106
|
+
}
|
|
1107
|
+
interface FindAssignablePermissionsOptions extends RolePermissionContext {
|
|
1108
|
+
keyword?: string | null;
|
|
1109
|
+
module?: string | null;
|
|
1110
|
+
assigned?: boolean | null;
|
|
1111
|
+
}
|
|
1112
|
+
interface SaveRolePermissionsRequest extends RolePermissionContext {
|
|
1113
|
+
permissionIds: string[];
|
|
1114
|
+
}
|
|
1115
|
+
|
|
1116
|
+
interface PlatformEndpointSummaryResponse {
|
|
1117
|
+
id: string;
|
|
1118
|
+
code?: string | null;
|
|
1119
|
+
name: string;
|
|
1120
|
+
resource?: string | null;
|
|
1121
|
+
path?: string | null;
|
|
1122
|
+
method?: string | null;
|
|
1123
|
+
serviceName?: string | null;
|
|
1124
|
+
authType?: string | null;
|
|
1125
|
+
status?: string | null;
|
|
1126
|
+
enabled: boolean;
|
|
1127
|
+
publicAccess: boolean;
|
|
1128
|
+
permissionCount: number;
|
|
1129
|
+
updatedAt?: string | null;
|
|
1130
|
+
}
|
|
1131
|
+
interface PlatformEndpointDetailResponse extends PlatformEndpointSummaryResponse {
|
|
1132
|
+
description?: string | null;
|
|
1133
|
+
uri?: string | null;
|
|
1134
|
+
scopes: string[];
|
|
1135
|
+
roles: string[];
|
|
1136
|
+
attributes?: Record<string, unknown> | null;
|
|
1137
|
+
}
|
|
1138
|
+
interface PlatformEndpointPageResponse {
|
|
1139
|
+
items: PlatformEndpointSummaryResponse[];
|
|
1140
|
+
total: number;
|
|
1141
|
+
}
|
|
1142
|
+
interface PlatformServiceRegistrySummaryResponse {
|
|
1143
|
+
id: string;
|
|
1144
|
+
code?: string | null;
|
|
1145
|
+
name: string;
|
|
1146
|
+
namespace?: string | null;
|
|
1147
|
+
serviceType?: string | null;
|
|
1148
|
+
version?: string | null;
|
|
1149
|
+
baseUrl?: string | null;
|
|
1150
|
+
healthStatus?: string | null;
|
|
1151
|
+
status?: string | null;
|
|
1152
|
+
enabled: boolean;
|
|
1153
|
+
instanceCount: number;
|
|
1154
|
+
endpointCount: number;
|
|
1155
|
+
updatedAt?: string | null;
|
|
1156
|
+
}
|
|
1157
|
+
interface PlatformServiceRegistryDetailResponse extends PlatformServiceRegistrySummaryResponse {
|
|
1158
|
+
description?: string | null;
|
|
1159
|
+
tags: string[];
|
|
1160
|
+
attributes?: Record<string, unknown> | null;
|
|
1161
|
+
}
|
|
1162
|
+
interface PlatformServiceRegistryPageResponse {
|
|
1163
|
+
items: PlatformServiceRegistrySummaryResponse[];
|
|
1164
|
+
total: number;
|
|
1165
|
+
}
|
|
1166
|
+
interface CreatePlatformServiceRegistryRequest {
|
|
1167
|
+
code?: string | null;
|
|
1168
|
+
name: string;
|
|
1169
|
+
namespace?: string | null;
|
|
1170
|
+
serviceType?: string | null;
|
|
1171
|
+
version?: string | null;
|
|
1172
|
+
baseUrl?: string | null;
|
|
1173
|
+
description?: string | null;
|
|
1174
|
+
enabled: boolean;
|
|
1175
|
+
tags: string[];
|
|
1176
|
+
attributes?: Record<string, unknown> | null;
|
|
1177
|
+
}
|
|
1178
|
+
interface UpdatePlatformServiceRegistryRequest extends CreatePlatformServiceRegistryRequest {
|
|
1179
|
+
}
|
|
1180
|
+
interface PlatformAuthClientSummaryResponse {
|
|
1181
|
+
id: string;
|
|
1182
|
+
clientId: string;
|
|
1183
|
+
name: string;
|
|
1184
|
+
description?: string | null;
|
|
1185
|
+
status?: string | null;
|
|
1186
|
+
enabled: boolean;
|
|
1187
|
+
confidential: boolean;
|
|
1188
|
+
grantTypes: string[];
|
|
1189
|
+
redirectUris: string[];
|
|
1190
|
+
scopes: string[];
|
|
1191
|
+
updatedAt?: string | null;
|
|
1192
|
+
createdAt?: string | null;
|
|
1193
|
+
}
|
|
1194
|
+
interface PlatformAuthClientDetailResponse extends PlatformAuthClientSummaryResponse {
|
|
1195
|
+
appId?: string | null;
|
|
1196
|
+
appSecret?: string | null;
|
|
1197
|
+
clientSecret?: string | null;
|
|
1198
|
+
permissions: string[];
|
|
1199
|
+
attributes?: Record<string, unknown> | null;
|
|
1200
|
+
}
|
|
1201
|
+
interface PlatformAuthClientPageResponse {
|
|
1202
|
+
items: PlatformAuthClientSummaryResponse[];
|
|
1203
|
+
total: number;
|
|
1204
|
+
}
|
|
1205
|
+
interface CreatePlatformAuthClientRequest {
|
|
1206
|
+
clientId?: string | null;
|
|
1207
|
+
name: string;
|
|
1208
|
+
description?: string | null;
|
|
1209
|
+
enabled: boolean;
|
|
1210
|
+
confidential: boolean;
|
|
1211
|
+
grantTypes: string[];
|
|
1212
|
+
redirectUris: string[];
|
|
1213
|
+
scopes: string[];
|
|
1214
|
+
permissions: string[];
|
|
1215
|
+
appId?: string | null;
|
|
1216
|
+
appSecret?: string | null;
|
|
1217
|
+
attributes?: Record<string, unknown> | null;
|
|
1218
|
+
}
|
|
1219
|
+
interface UpdatePlatformAuthClientRequest extends CreatePlatformAuthClientRequest {
|
|
1220
|
+
}
|
|
1221
|
+
interface PlatformAuthClientSecretResetResponse {
|
|
1222
|
+
clientSecret: string;
|
|
1223
|
+
updatedAt?: string | null;
|
|
1224
|
+
}
|
|
1225
|
+
|
|
1226
|
+
type PostStatus = 'DRAFT' | 'PUBLISHED' | 'ARCHIVED';
|
|
1227
|
+
interface PostAuthorSummary {
|
|
1228
|
+
id?: string | null;
|
|
1229
|
+
name?: string | null;
|
|
1230
|
+
username?: string | null;
|
|
1231
|
+
avatar?: string | null;
|
|
1232
|
+
}
|
|
1233
|
+
interface PostRecord {
|
|
1234
|
+
id: string;
|
|
1235
|
+
title: string;
|
|
1236
|
+
content: string;
|
|
1237
|
+
summary?: string | null;
|
|
1238
|
+
excerpt?: string | null;
|
|
1239
|
+
slug?: string | null;
|
|
1240
|
+
coverImage?: string | null;
|
|
1241
|
+
cover?: string | null;
|
|
1242
|
+
tags?: string[] | null;
|
|
1243
|
+
status?: PostStatus | string | null;
|
|
1244
|
+
author?: PostAuthorSummary | null;
|
|
1245
|
+
authorName?: string | null;
|
|
1246
|
+
createdAt?: string | null;
|
|
1247
|
+
updatedAt?: string | null;
|
|
1248
|
+
publishedAt?: string | null;
|
|
1249
|
+
}
|
|
1250
|
+
interface PostPageResponse {
|
|
1251
|
+
items: PostRecord[];
|
|
1252
|
+
total: number;
|
|
1253
|
+
}
|
|
1254
|
+
interface PostQuery {
|
|
1255
|
+
page?: number;
|
|
1256
|
+
limit?: number;
|
|
1257
|
+
search?: string;
|
|
1258
|
+
status?: string;
|
|
1259
|
+
sort?: string;
|
|
1260
|
+
tag?: string;
|
|
1261
|
+
}
|
|
1262
|
+
interface SavePostRequest {
|
|
1263
|
+
title: string;
|
|
1264
|
+
content: string;
|
|
1265
|
+
summary?: string | null;
|
|
1266
|
+
excerpt?: string | null;
|
|
1267
|
+
slug?: string | null;
|
|
1268
|
+
coverImage?: string | null;
|
|
1269
|
+
cover?: string | null;
|
|
1270
|
+
tags?: string[];
|
|
1271
|
+
status?: PostStatus | string;
|
|
1272
|
+
}
|
|
1273
|
+
|
|
1274
|
+
interface PlatformUserApplicationMembershipResponse {
|
|
1275
|
+
appId: string;
|
|
1276
|
+
appCode?: string | null;
|
|
1277
|
+
appName?: string | null;
|
|
1278
|
+
roles: string[];
|
|
1279
|
+
}
|
|
1280
|
+
interface PlatformUserOrganizationMembershipResponse {
|
|
1281
|
+
appId: string;
|
|
1282
|
+
orgId: string;
|
|
1283
|
+
orgCode?: string | null;
|
|
1284
|
+
orgName?: string | null;
|
|
1285
|
+
roles: string[];
|
|
1286
|
+
}
|
|
1287
|
+
interface PlatformUserContextResponse {
|
|
1288
|
+
userId: string;
|
|
1289
|
+
username?: string | null;
|
|
1290
|
+
platformRoles: string[];
|
|
1291
|
+
applications: PlatformUserApplicationMembershipResponse[];
|
|
1292
|
+
organizations: PlatformUserOrganizationMembershipResponse[];
|
|
1293
|
+
permissions?: string[] | null;
|
|
1294
|
+
}
|
|
1295
|
+
interface PlatformUserSummaryResponse {
|
|
1296
|
+
id: string;
|
|
1297
|
+
name?: string | null;
|
|
1298
|
+
username?: string | null;
|
|
1299
|
+
email?: string | null;
|
|
1300
|
+
phone?: string | null;
|
|
1301
|
+
avatar?: string | null;
|
|
1302
|
+
firstName?: string | null;
|
|
1303
|
+
lastName?: string | null;
|
|
1304
|
+
status?: string | null;
|
|
1305
|
+
createdAt?: string | null;
|
|
1306
|
+
roles: string[];
|
|
1307
|
+
}
|
|
1308
|
+
interface PlatformUserDetailResponse extends PlatformUserSummaryResponse {
|
|
1309
|
+
bio?: string | null;
|
|
1310
|
+
permissions?: string[] | null;
|
|
1311
|
+
platformRoles?: string[] | null;
|
|
1312
|
+
applications?: PlatformUserApplicationMembershipResponse[] | null;
|
|
1313
|
+
organizations?: PlatformUserOrganizationMembershipResponse[] | null;
|
|
1314
|
+
}
|
|
1315
|
+
interface PlatformUserPageResponse {
|
|
1316
|
+
items: PlatformUserSummaryResponse[];
|
|
1317
|
+
total: number;
|
|
1318
|
+
}
|
|
1319
|
+
|
|
1320
|
+
type AuthScope = 'PLATFORM' | 'APP' | 'ORG';
|
|
1321
|
+
type RoleScopeType = 'platform' | 'application' | 'organization';
|
|
1322
|
+
interface RoleResponse {
|
|
1323
|
+
scope: AuthScope;
|
|
1324
|
+
id: string;
|
|
1325
|
+
appId: string | null;
|
|
1326
|
+
orgId: string | null;
|
|
1327
|
+
code: string;
|
|
1328
|
+
name: string;
|
|
1329
|
+
description: string | null;
|
|
1330
|
+
enabled: boolean;
|
|
1331
|
+
permissionIds: string[];
|
|
1332
|
+
}
|
|
1333
|
+
interface RolePermissionCatalogItemResponse {
|
|
1334
|
+
id: string;
|
|
1335
|
+
code: string;
|
|
1336
|
+
action: string;
|
|
1337
|
+
name: string;
|
|
1338
|
+
description: string | null;
|
|
1339
|
+
serviceId: string | null;
|
|
1340
|
+
sortOrder: number;
|
|
1341
|
+
enabled: boolean;
|
|
1342
|
+
assigned: boolean;
|
|
1343
|
+
}
|
|
1344
|
+
interface RolePermissionCatalogGroupResponse {
|
|
1345
|
+
module: string;
|
|
1346
|
+
moduleName: string;
|
|
1347
|
+
permissions: RolePermissionCatalogItemResponse[];
|
|
1348
|
+
}
|
|
1349
|
+
interface RolePermissionPageResponse {
|
|
1350
|
+
role: RoleResponse;
|
|
1351
|
+
permissionCatalog: RolePermissionCatalogGroupResponse[];
|
|
1352
|
+
}
|
|
1353
|
+
interface CreateRoleRequest {
|
|
1354
|
+
code: string;
|
|
1355
|
+
name: string;
|
|
1356
|
+
description?: string | null;
|
|
1357
|
+
enabled?: boolean | null;
|
|
1358
|
+
}
|
|
1359
|
+
interface UpdateRoleRequest {
|
|
1360
|
+
name: string;
|
|
1361
|
+
description?: string | null;
|
|
1362
|
+
enabled: boolean;
|
|
1363
|
+
}
|
|
1364
|
+
interface UpdateRolePermissionsRequest {
|
|
1365
|
+
permissionIds: string[];
|
|
1366
|
+
}
|
|
1367
|
+
|
|
689
1368
|
declare class PostService extends BaseService {
|
|
690
1369
|
init(): void;
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
1370
|
+
list(options?: PostQuery, withCredentials?: boolean): Observable<any>;
|
|
1371
|
+
listPublished(options?: PostQuery): Observable<any>;
|
|
1372
|
+
getByIdOrSlug(idOrSlug: string, withCredentials?: boolean): Observable<any>;
|
|
1373
|
+
me(options?: PostQuery): Observable<any>;
|
|
1374
|
+
merchant(options?: PostQuery): Observable<any>;
|
|
1375
|
+
createPost(payload: SavePostRequest): Observable<PostRecord>;
|
|
1376
|
+
updatePost(id: string, payload: Partial<SavePostRequest>): Observable<PostRecord>;
|
|
1377
|
+
saveDraft(id: string, payload?: Partial<SavePostRequest>): Observable<PostRecord>;
|
|
1378
|
+
publish(id: string, payload?: Partial<SavePostRequest>): Observable<PostRecord>;
|
|
1379
|
+
preview(payload: Partial<SavePostRequest>): Observable<any>;
|
|
694
1380
|
static ɵfac: i0.ɵɵFactoryDeclaration<PostService, never>;
|
|
695
1381
|
static ɵprov: i0.ɵɵInjectableDeclaration<PostService>;
|
|
696
1382
|
}
|
|
@@ -1157,144 +1843,6 @@ declare class InvoiceStatsService extends BaseService {
|
|
|
1157
1843
|
static ɵprov: i0.ɵɵInjectableDeclaration<InvoiceStatsService>;
|
|
1158
1844
|
}
|
|
1159
1845
|
|
|
1160
|
-
/** Mirrors AbstractBaseEntity (common fields in your backend). */
|
|
1161
|
-
interface BaseEntity {
|
|
1162
|
-
id: string;
|
|
1163
|
-
createdAt?: string;
|
|
1164
|
-
updatedAt?: string;
|
|
1165
|
-
version?: number;
|
|
1166
|
-
}
|
|
1167
|
-
/** ---- Enums ---- */
|
|
1168
|
-
type AutomationExecutionStatus = 'QUEUED' | 'RUNNING' | 'SUCCEEDED' | 'FAILED' | 'CANCELLED';
|
|
1169
|
-
type AutomationLogLevel = 'INFO' | 'WARN' | 'ERROR' | 'DEBUG';
|
|
1170
|
-
type ScheduleCron = 'EVERY_5_MINUTES' | 'EVERY_15_MINUTES' | 'HOURLY' | 'DAILY' | 'WEEKLY';
|
|
1171
|
-
/** ---- Entities ---- */
|
|
1172
|
-
interface AutomationDefinition extends BaseEntity {
|
|
1173
|
-
code: string;
|
|
1174
|
-
name: string;
|
|
1175
|
-
description?: string | null;
|
|
1176
|
-
handlerKey: string;
|
|
1177
|
-
defaultInputJson?: string | null;
|
|
1178
|
-
enabled: boolean;
|
|
1179
|
-
}
|
|
1180
|
-
interface AutomationExecution extends BaseEntity {
|
|
1181
|
-
definitionId: string;
|
|
1182
|
-
scheduleId?: string | null;
|
|
1183
|
-
status: AutomationExecutionStatus;
|
|
1184
|
-
queuedAt?: string | null;
|
|
1185
|
-
startedAt?: string | null;
|
|
1186
|
-
finishedAt?: string | null;
|
|
1187
|
-
processed: number;
|
|
1188
|
-
total: number;
|
|
1189
|
-
lastSeq: number;
|
|
1190
|
-
inputJson?: string | null;
|
|
1191
|
-
metadata?: Record<string, any> | null;
|
|
1192
|
-
idempotencyKey?: string | null;
|
|
1193
|
-
errorMessage?: string | null;
|
|
1194
|
-
}
|
|
1195
|
-
interface AutomationSchedule extends BaseEntity {
|
|
1196
|
-
definitionId: string;
|
|
1197
|
-
name: string;
|
|
1198
|
-
schedule: ScheduleCron;
|
|
1199
|
-
inputJson?: string | null;
|
|
1200
|
-
enabled: boolean;
|
|
1201
|
-
nextRunAt?: string | null;
|
|
1202
|
-
lastRunAt?: string | null;
|
|
1203
|
-
}
|
|
1204
|
-
interface AutomationExecutionLog extends BaseEntity {
|
|
1205
|
-
executionId: string;
|
|
1206
|
-
level: AutomationLogLevel;
|
|
1207
|
-
message: string;
|
|
1208
|
-
}
|
|
1209
|
-
/** ---- Optional: enum metadata for UI (label/description) ---- */
|
|
1210
|
-
interface ScheduleCronMeta {
|
|
1211
|
-
value: ScheduleCron;
|
|
1212
|
-
label: string;
|
|
1213
|
-
description: string;
|
|
1214
|
-
}
|
|
1215
|
-
declare const SCHEDULE_CRON_META: readonly ScheduleCronMeta[];
|
|
1216
|
-
|
|
1217
|
-
type ApiRequestOptions = Record<string, any>;
|
|
1218
|
-
interface AutomationSummaryResponse {
|
|
1219
|
-
[k: string]: any;
|
|
1220
|
-
}
|
|
1221
|
-
type AutomationDefinitionDto = AutomationDefinition;
|
|
1222
|
-
interface CreateDefinitionRequest {
|
|
1223
|
-
code: string;
|
|
1224
|
-
name: string;
|
|
1225
|
-
description?: string | null;
|
|
1226
|
-
handlerKey: string;
|
|
1227
|
-
defaultInputJson?: string | null;
|
|
1228
|
-
enabled?: boolean;
|
|
1229
|
-
}
|
|
1230
|
-
interface UpdateDefinitionRequest {
|
|
1231
|
-
name?: string;
|
|
1232
|
-
description?: string | null;
|
|
1233
|
-
handlerKey?: string;
|
|
1234
|
-
defaultInputJson?: string | null;
|
|
1235
|
-
enabled?: boolean;
|
|
1236
|
-
}
|
|
1237
|
-
interface AutomationExecutionDto extends AutomationExecution {
|
|
1238
|
-
definitionCode?: string;
|
|
1239
|
-
}
|
|
1240
|
-
interface EnqueueExecutionRequest {
|
|
1241
|
-
definitionCode: string;
|
|
1242
|
-
inputJson?: string | null;
|
|
1243
|
-
idempotencyKey?: string | null;
|
|
1244
|
-
scheduleId?: string | null;
|
|
1245
|
-
}
|
|
1246
|
-
interface CancelStateResponse {
|
|
1247
|
-
cancelRequested: boolean;
|
|
1248
|
-
status: string;
|
|
1249
|
-
}
|
|
1250
|
-
interface ExecutionLogDto {
|
|
1251
|
-
id: string;
|
|
1252
|
-
executionId: string;
|
|
1253
|
-
level: string;
|
|
1254
|
-
message: string;
|
|
1255
|
-
createdAt?: string | null;
|
|
1256
|
-
}
|
|
1257
|
-
interface AutomationScheduleDto extends AutomationSchedule {
|
|
1258
|
-
definitionCode?: string;
|
|
1259
|
-
schedule: ScheduleCron;
|
|
1260
|
-
}
|
|
1261
|
-
interface ScheduleOptionResponse {
|
|
1262
|
-
code: string;
|
|
1263
|
-
value: ScheduleCron;
|
|
1264
|
-
label: string;
|
|
1265
|
-
description: string;
|
|
1266
|
-
}
|
|
1267
|
-
interface CreateScheduleRequest {
|
|
1268
|
-
definitionId: string;
|
|
1269
|
-
name: string;
|
|
1270
|
-
schedule: ScheduleCron;
|
|
1271
|
-
inputJson?: string | null;
|
|
1272
|
-
enabled?: boolean;
|
|
1273
|
-
}
|
|
1274
|
-
interface UpdateScheduleRequest {
|
|
1275
|
-
name?: string;
|
|
1276
|
-
schedule?: ScheduleCron;
|
|
1277
|
-
inputJson?: string | null;
|
|
1278
|
-
enabled?: boolean;
|
|
1279
|
-
}
|
|
1280
|
-
|
|
1281
|
-
interface EnumOption {
|
|
1282
|
-
value: string;
|
|
1283
|
-
label: string;
|
|
1284
|
-
}
|
|
1285
|
-
|
|
1286
|
-
type ReferenceProvider = 'GOODLORD' | 'LET_ALLIANCE' | 'HOMELET' | 'OTHER';
|
|
1287
|
-
interface OfferReferencingPatchPayload {
|
|
1288
|
-
referenceProvider: ReferenceProvider;
|
|
1289
|
-
referenceProviderOther?: string | null;
|
|
1290
|
-
}
|
|
1291
|
-
interface OfferReferencingView {
|
|
1292
|
-
referenceProvider: ReferenceProvider | null;
|
|
1293
|
-
referenceProviderOther: string | null;
|
|
1294
|
-
updatedBy?: string | null;
|
|
1295
|
-
updatedAt?: string | null;
|
|
1296
|
-
}
|
|
1297
|
-
|
|
1298
1846
|
declare class PropertyOfferService extends BaseService {
|
|
1299
1847
|
propertyService: PropertyService;
|
|
1300
1848
|
init(): void;
|
|
@@ -1443,6 +1991,194 @@ declare class PropertyOfferCounterService extends BaseService {
|
|
|
1443
1991
|
static ɵprov: i0.ɵɵInjectableDeclaration<PropertyOfferCounterService>;
|
|
1444
1992
|
}
|
|
1445
1993
|
|
|
1994
|
+
declare class ApplicationService extends BaseService {
|
|
1995
|
+
init(): void;
|
|
1996
|
+
findApplications(options?: ApiRequestOptions$1): Observable<ApplicationPageResponse>;
|
|
1997
|
+
findApplicationById(id: string): Observable<ApplicationDetailResponse>;
|
|
1998
|
+
createApplication(request: CreateApplicationRequest): Observable<ApplicationDetailResponse>;
|
|
1999
|
+
updateApplication(id: string, request: UpdateApplicationRequest): Observable<ApplicationDetailResponse>;
|
|
2000
|
+
findApplicationOrganizations(id: string, options?: ApiRequestOptions$1): Observable<ApplicationOrganizationPageResponse>;
|
|
2001
|
+
resetOrganizationOwnerPassword(id: string, organizationId: string): Observable<void>;
|
|
2002
|
+
private toApplicationPage;
|
|
2003
|
+
private toOrganizationPage;
|
|
2004
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ApplicationService, never>;
|
|
2005
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ApplicationService>;
|
|
2006
|
+
}
|
|
2007
|
+
|
|
2008
|
+
declare class PlatformEndpointService extends BaseService {
|
|
2009
|
+
init(): void;
|
|
2010
|
+
findEndpoints(options?: ApiRequestOptions$1): Observable<PlatformEndpointPageResponse>;
|
|
2011
|
+
findEndpointById(id: string): Observable<PlatformEndpointDetailResponse>;
|
|
2012
|
+
private toPage;
|
|
2013
|
+
private toSummary;
|
|
2014
|
+
private toDetail;
|
|
2015
|
+
private readStringArray;
|
|
2016
|
+
private readNumber;
|
|
2017
|
+
private readBoolean;
|
|
2018
|
+
private readString;
|
|
2019
|
+
private readOptionalString;
|
|
2020
|
+
private asRecord;
|
|
2021
|
+
private unwrapData;
|
|
2022
|
+
private extractAttributes;
|
|
2023
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PlatformEndpointService, never>;
|
|
2024
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PlatformEndpointService>;
|
|
2025
|
+
}
|
|
2026
|
+
|
|
2027
|
+
declare class PlatformServiceRegistryService extends BaseService {
|
|
2028
|
+
init(): void;
|
|
2029
|
+
findServices(options?: ApiRequestOptions$1): Observable<PlatformServiceRegistryPageResponse>;
|
|
2030
|
+
findServiceById(id: string): Observable<PlatformServiceRegistryDetailResponse>;
|
|
2031
|
+
createService(request: CreatePlatformServiceRegistryRequest): Observable<PlatformServiceRegistryDetailResponse>;
|
|
2032
|
+
updateService(id: string, request: UpdatePlatformServiceRegistryRequest): Observable<PlatformServiceRegistryDetailResponse>;
|
|
2033
|
+
deleteService(id: string): Observable<void>;
|
|
2034
|
+
private toPage;
|
|
2035
|
+
private toSummary;
|
|
2036
|
+
private toDetail;
|
|
2037
|
+
private readStringArray;
|
|
2038
|
+
private readNumber;
|
|
2039
|
+
private readBoolean;
|
|
2040
|
+
private readString;
|
|
2041
|
+
private readOptionalString;
|
|
2042
|
+
private asRecord;
|
|
2043
|
+
private unwrapData;
|
|
2044
|
+
private extractAttributes;
|
|
2045
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PlatformServiceRegistryService, never>;
|
|
2046
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PlatformServiceRegistryService>;
|
|
2047
|
+
}
|
|
2048
|
+
|
|
2049
|
+
declare class PlatformAuthClientService extends BaseService {
|
|
2050
|
+
init(): void;
|
|
2051
|
+
findClients(options?: ApiRequestOptions$1): Observable<PlatformAuthClientPageResponse>;
|
|
2052
|
+
findClientById(id: string): Observable<PlatformAuthClientDetailResponse>;
|
|
2053
|
+
createClient(request: CreatePlatformAuthClientRequest): Observable<PlatformAuthClientDetailResponse>;
|
|
2054
|
+
updateClient(id: string, request: UpdatePlatformAuthClientRequest): Observable<PlatformAuthClientDetailResponse>;
|
|
2055
|
+
deleteClient(id: string): Observable<void>;
|
|
2056
|
+
resetClientSecret(id: string): Observable<PlatformAuthClientSecretResetResponse>;
|
|
2057
|
+
private toPage;
|
|
2058
|
+
private toSummary;
|
|
2059
|
+
private toDetail;
|
|
2060
|
+
private toSecretReset;
|
|
2061
|
+
private readStringArray;
|
|
2062
|
+
private readNumber;
|
|
2063
|
+
private readBoolean;
|
|
2064
|
+
private readString;
|
|
2065
|
+
private readOptionalString;
|
|
2066
|
+
private asRecord;
|
|
2067
|
+
private unwrapData;
|
|
2068
|
+
private extractAttributes;
|
|
2069
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PlatformAuthClientService, never>;
|
|
2070
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PlatformAuthClientService>;
|
|
2071
|
+
}
|
|
2072
|
+
|
|
2073
|
+
declare class PlatformUserService extends BaseService {
|
|
2074
|
+
init(): void;
|
|
2075
|
+
findUsers(options?: ApiRequestOptions$1): Observable<PlatformUserPageResponse>;
|
|
2076
|
+
findUserById(id: string): Observable<PlatformUserDetailResponse>;
|
|
2077
|
+
findUserContext(id: string): Observable<PlatformUserContextResponse | null>;
|
|
2078
|
+
private toUserPage;
|
|
2079
|
+
private toUserSummary;
|
|
2080
|
+
private toUserDetail;
|
|
2081
|
+
private toUserContext;
|
|
2082
|
+
private readRoles;
|
|
2083
|
+
private readApplicationMemberships;
|
|
2084
|
+
private readOrganizationMemberships;
|
|
2085
|
+
private readStringArray;
|
|
2086
|
+
private readString;
|
|
2087
|
+
private readOptionalString;
|
|
2088
|
+
private asRecord;
|
|
2089
|
+
private unwrapData;
|
|
2090
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PlatformUserService, never>;
|
|
2091
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PlatformUserService>;
|
|
2092
|
+
}
|
|
2093
|
+
|
|
2094
|
+
declare class PermissionService extends BaseService {
|
|
2095
|
+
init(): void;
|
|
2096
|
+
findRoles(options: FindRolePermissionRolesOptions): Observable<ApiResponse<RolePermissionIndexItem[]>>;
|
|
2097
|
+
getRoleSummary(roleId: string, options: FindRolePermissionSummaryOptions): Observable<ApiResponse<RolePermissionSummary>>;
|
|
2098
|
+
findAssignablePermissions(roleId: string, options: FindAssignablePermissionsOptions): Observable<ApiResponse<PermissionSummary[]>>;
|
|
2099
|
+
saveRolePermissions(roleId: string, request: SaveRolePermissionsRequest): Observable<ApiResponse<void>>;
|
|
2100
|
+
buildGroups(items: PermissionSummary[]): PermissionGroup[];
|
|
2101
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PermissionService, never>;
|
|
2102
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PermissionService>;
|
|
2103
|
+
}
|
|
2104
|
+
|
|
2105
|
+
declare class RoleService extends BaseService {
|
|
2106
|
+
init(): void;
|
|
2107
|
+
findPlatformRoles(options?: ApiRequestOptions$1): Observable<RoleResponse[]>;
|
|
2108
|
+
findPlatformRoleById(id: string): Observable<RoleResponse>;
|
|
2109
|
+
createPlatformRole(request: CreateRoleRequest): Observable<RoleResponse>;
|
|
2110
|
+
updatePlatformRole(id: string, request: UpdateRoleRequest): Observable<RoleResponse>;
|
|
2111
|
+
findPlatformRolePermissionPage(id: string): Observable<RolePermissionPageResponse>;
|
|
2112
|
+
updatePlatformRolePermissions(id: string, request: UpdateRolePermissionsRequest): Observable<RoleResponse>;
|
|
2113
|
+
deletePlatformRoleById(id: string): Observable<string>;
|
|
2114
|
+
findApplicationRoles(appId?: string | null, options?: ApiRequestOptions$1): Observable<RoleResponse[]>;
|
|
2115
|
+
findApplicationRoleById(id: string, appId?: string | null): Observable<RoleResponse>;
|
|
2116
|
+
createApplicationRole(request: CreateRoleRequest, appId?: string | null): Observable<RoleResponse>;
|
|
2117
|
+
updateApplicationRole(id: string, request: UpdateRoleRequest, appId?: string | null): Observable<RoleResponse>;
|
|
2118
|
+
findApplicationRolePermissionPage(id: string, appId?: string | null): Observable<RolePermissionPageResponse>;
|
|
2119
|
+
updateApplicationRolePermissions(id: string, request: UpdateRolePermissionsRequest, appId?: string | null): Observable<RoleResponse>;
|
|
2120
|
+
deleteApplicationRoleById(id: string, appId?: string | null): Observable<string>;
|
|
2121
|
+
findOrganizationRoles(orgId: string): Observable<RoleResponse[]>;
|
|
2122
|
+
findOrganizationRoleById(orgId: string, id: string): Observable<RoleResponse>;
|
|
2123
|
+
createOrganizationRole(orgId: string, request: CreateRoleRequest): Observable<RoleResponse>;
|
|
2124
|
+
updateOrganizationRole(orgId: string, id: string, request: UpdateRoleRequest): Observable<RoleResponse>;
|
|
2125
|
+
findOrganizationRolePermissionPage(orgId: string, id: string): Observable<RolePermissionPageResponse>;
|
|
2126
|
+
updateOrganizationRolePermissions(orgId: string, id: string, request: UpdateRolePermissionsRequest): Observable<RoleResponse>;
|
|
2127
|
+
deleteOrganizationRoleById(orgId: string, id: string): Observable<string>;
|
|
2128
|
+
private toParams;
|
|
2129
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RoleService, never>;
|
|
2130
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<RoleService>;
|
|
2131
|
+
}
|
|
2132
|
+
|
|
2133
|
+
declare class OrganizationInvitationService extends BaseService {
|
|
2134
|
+
init(): void;
|
|
2135
|
+
findInvitations(orgId: string): Observable<OrganizationInvitationPageResponse>;
|
|
2136
|
+
createInvitation(orgId: string, request: CreateOrganizationInvitationRequest): Observable<OrganizationInvitationResponse>;
|
|
2137
|
+
resendInvitation(orgId: string, invitationId: string): Observable<void>;
|
|
2138
|
+
revokeInvitation(orgId: string, invitationId: string): Observable<void>;
|
|
2139
|
+
private toInvitationPage;
|
|
2140
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OrganizationInvitationService, never>;
|
|
2141
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<OrganizationInvitationService>;
|
|
2142
|
+
}
|
|
2143
|
+
|
|
2144
|
+
declare class OrganizationMemberService extends BaseService {
|
|
2145
|
+
init(): void;
|
|
2146
|
+
findMembers(orgId: string): Observable<OrganizationMemberPageResponse>;
|
|
2147
|
+
findMemberById(orgId: string, memberId: string): Observable<OrganizationMemberResponse>;
|
|
2148
|
+
updateMemberRoles(orgId: string, memberId: string, request: UpdateOrganizationMemberRolesRequest): Observable<OrganizationMemberResponse>;
|
|
2149
|
+
resetMemberPassword(orgId: string, memberId: string): Observable<void>;
|
|
2150
|
+
private toMemberPage;
|
|
2151
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OrganizationMemberService, never>;
|
|
2152
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<OrganizationMemberService>;
|
|
2153
|
+
}
|
|
2154
|
+
|
|
2155
|
+
declare class OnboardingApplicantService extends BaseService {
|
|
2156
|
+
init(): void;
|
|
2157
|
+
createApplication(payload: CreateOnboardingApplicationRequest): Observable<OnboardingApplicationResponse>;
|
|
2158
|
+
listMine(applicationId: string): Observable<OnboardingApplicationResponse[]>;
|
|
2159
|
+
getApplication(applicationId: string): Observable<OnboardingApplicationDetailResponse>;
|
|
2160
|
+
saveProfile(applicationId: string, payload: SaveOnboardingProfileRequest): Observable<OnboardingApplicationResponse>;
|
|
2161
|
+
saveFinancial(applicationId: string, payload: SaveOnboardingFinancialRequest): Observable<OnboardingApplicationResponse>;
|
|
2162
|
+
saveBanking(applicationId: string, payload: SaveOnboardingBankingRequest): Observable<OnboardingApplicationResponse>;
|
|
2163
|
+
requestUploadUrl(applicationId: string, payload: RequestOnboardingUploadUrlRequest): Observable<OnboardingUploadUrlResponse>;
|
|
2164
|
+
confirmDocumentUpload(applicationId: string, payload: ConfirmOnboardingDocumentUploadRequest): Observable<OnboardingApplicationDetailResponse>;
|
|
2165
|
+
submit(applicationId: string): Observable<OnboardingApplicationResponse>;
|
|
2166
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OnboardingApplicantService, never>;
|
|
2167
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<OnboardingApplicantService>;
|
|
2168
|
+
}
|
|
2169
|
+
|
|
2170
|
+
declare class OnboardingAdminService extends BaseService {
|
|
2171
|
+
init(): void;
|
|
2172
|
+
list(query: OnboardingAdminListQuery): Observable<OnboardingApplicationResponse[]>;
|
|
2173
|
+
getApplication(applicationId: string): Observable<OnboardingApplicationDetailResponse>;
|
|
2174
|
+
startReview(applicationId: string): Observable<OnboardingApplicationDetailResponse>;
|
|
2175
|
+
needMoreInfo(applicationId: string, payload: NeedMoreInfoOnboardingApplicationRequest): Observable<OnboardingApplicationDetailResponse>;
|
|
2176
|
+
approve(applicationId: string, payload: ApproveOnboardingApplicationRequest): Observable<OnboardingApplicationDetailResponse>;
|
|
2177
|
+
fail(applicationId: string, payload: FailOnboardingApplicationRequest): Observable<OnboardingApplicationDetailResponse>;
|
|
2178
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OnboardingAdminService, never>;
|
|
2179
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<OnboardingAdminService>;
|
|
2180
|
+
}
|
|
2181
|
+
|
|
1446
2182
|
declare class LoadingInterceptor {
|
|
1447
2183
|
loadingService: LoadingService;
|
|
1448
2184
|
activeRequests: number;
|
|
@@ -1476,5 +2212,16 @@ declare function provideAngularServices(): EnvironmentProviders;
|
|
|
1476
2212
|
declare const PROPERTY_OFFER_STATUS_LABEL: Record<PropertyOfferStatus, string>;
|
|
1477
2213
|
declare function offerStatusLabel(status: PropertyOfferStatus | null | undefined): string;
|
|
1478
2214
|
|
|
1479
|
-
|
|
1480
|
-
|
|
2215
|
+
declare const ONBOARDING_STATUS_LABEL: Record<OnboardingStatus, string>;
|
|
2216
|
+
declare const ONBOARDING_APPLICANT_TYPE_LABEL: Record<OnboardingApplicantType, string>;
|
|
2217
|
+
declare const ONBOARDING_DOCUMENT_TYPE_LABEL: Record<OnboardingDocumentType, string>;
|
|
2218
|
+
declare const ONBOARDING_ISSUE_TYPE_LABEL: Record<OnboardingIssueType, string>;
|
|
2219
|
+
declare const ONBOARDING_VAT_MODE_LABEL: Record<OnboardingVatMode, string>;
|
|
2220
|
+
declare function onboardingStatusLabel(status: OnboardingStatus | null | undefined): string;
|
|
2221
|
+
declare function onboardingApplicantTypeLabel(type: OnboardingApplicantType | null | undefined): string;
|
|
2222
|
+
declare function onboardingDocumentTypeLabel(type: OnboardingDocumentType | null | undefined): string;
|
|
2223
|
+
declare function onboardingIssueTypeLabel(type: OnboardingIssueType | null | undefined): string;
|
|
2224
|
+
declare function onboardingVatModeLabel(mode: OnboardingVatMode | null | undefined): string;
|
|
2225
|
+
|
|
2226
|
+
export { AmenityService, ApplicationService, AutomationService, BackButtonDirective, BaseService, BillingService, BookingService, BreadcrumbService, CartEventType, CartService, CategoryService, ConversationInitService, ConversationService, DialogComponent, DialogService, EnumApiClient, EnumCacheService, FacilityService, FeatureService, FloorplanService, FulfillmentService, HideFooterDirective, InventoryService, InvoiceLineService, InvoiceService, InvoiceStatsService, LayoutService, LoadingInterceptor, LoadingService, MediaService, MembershipService, NavigationService, NotificationService, NotificationStore, NotificationTemplateService, ONBOARDING_APPLICANT_TYPE_LABEL, ONBOARDING_DOCUMENT_TYPE_LABEL, ONBOARDING_ISSUE_TYPE_LABEL, ONBOARDING_STATUS_LABEL, ONBOARDING_VAT_MODE_LABEL, OfferingService, OnboardingAdminService, OnboardingApplicantService, OrderPayoutService, OrderService, OrganizationInvitationService, OrganizationMemberService, PROPERTY_OFFER_STATUS_LABEL, PaymentService, PermissionService, PlatformAuthClientService, PlatformEndpointService, PlatformServiceRegistryService, PlatformUserService, PostService, ProductCategoryService, ProductService, PropertyHighlightsService, PropertyOfferCounterService, PropertyOfferService, PropertyOfferStatus, PropertySearchService, PropertyService, PropertyStatsService, PropertyViewingService, ResourceCategoryService, ResourceService, RoleService, SCHEDULE_CRON_META, SERVICE_DIRECTIVES, SidenavService, SnackBarService, SupportService, ThemeService, TimeZoneService, TitleService, acceptLanguageInterceptor, offerStatusLabel, onboardingApplicantTypeLabel, onboardingDocumentTypeLabel, onboardingIssueTypeLabel, onboardingStatusLabel, onboardingVatModeLabel, provideAngularServices };
|
|
2227
|
+
export type { AdverseCreditStatus, ApiRequestOptions, ApplicantType, ApplicationDetailResponse, ApplicationOrganizationPageResponse, ApplicationOrganizationResponse, ApplicationPageResponse, ApplicationStatus, ApplicationSummaryResponse, ApproveOnboardingApplicationRequest, AuthScope, AutomationDefinition, AutomationDefinitionDto, AutomationExecution, AutomationExecutionDto, AutomationExecutionLog, AutomationExecutionStatus, AutomationLogLevel, AutomationSchedule, AutomationScheduleDto, AutomationSummaryResponse, BaseEntity, CancelStateResponse, ChatMessage, ConfirmOnboardingDocumentUploadRequest, ConversationInitResponse, CopyTextResponse, CreateApplicationRequest, CreateDefinitionRequest, CreateOnboardingApplicationRequest, CreateOrganizationInvitationRequest, CreatePlatformAuthClientRequest, CreatePlatformServiceRegistryRequest, CreateRentalOfferPayload, CreateRoleRequest, CreateSaleOfferPayload, CreateScheduleRequest, DialogData, EditLockDto, EditLockResponse, EmploymentStatus, EnqueueExecutionRequest, EnumOption, ExecutionLogDto, FailOnboardingApplicationRequest, FindAssignablePermissionsOptions, FindRolePermissionRolesOptions, FindRolePermissionSummaryOptions, FurnitureRequirement, Gender, GroupedViewingsByDate, Guarantor, GuarantorRelationshipType, GuarantorType, HistoryDto, IDynamicDialogConfig, InvoiceStats, NeedMoreInfoOnboardingApplicationRequest, NeedMoreInfoOnboardingIssueRequest, OfferDto, OfferInvoiceOption, OfferReferencingPatchPayload, OfferReferencingView, OfferSummary, OfferType, OnboardingAdminListQuery, OnboardingApplicantType, OnboardingApplicationDetailResponse, OnboardingApplicationResponse, OnboardingDocumentResponse, OnboardingDocumentType, OnboardingIssueResponse, OnboardingIssueType, OnboardingProgress, OnboardingStatus, OnboardingTimelineResponse, OnboardingUploadUrlResponse, OnboardingVatMode, OrganizationInvitationPageResponse, OrganizationInvitationResponse, OrganizationInvitationStatus, OrganizationMemberPageResponse, OrganizationMemberResponse, PaymentFrequency, PendingInvoice, PermissionGroup, PermissionScope, PermissionSource, PermissionSummary, PermissionsDto, PersonAddress, PlatformAuthClientDetailResponse, PlatformAuthClientPageResponse, PlatformAuthClientSecretResetResponse, PlatformAuthClientSummaryResponse, PlatformEndpointDetailResponse, PlatformEndpointPageResponse, PlatformEndpointSummaryResponse, PlatformServiceRegistryDetailResponse, PlatformServiceRegistryPageResponse, PlatformServiceRegistrySummaryResponse, PlatformUserApplicationMembershipResponse, PlatformUserContextResponse, PlatformUserDetailResponse, PlatformUserOrganizationMembershipResponse, PlatformUserPageResponse, PlatformUserSummaryResponse, PostAuthorSummary, PostPageResponse, PostQuery, PostRecord, PostStatus, PropertyOfferActor, PropertyOfferCounterRequest, PropertyOfferHistory, PropertyOfferInternalNoteResponse, PropertyOfferItem, PropertyOfferItemMedia, PropertyOfferNegotiationView, PropertyOfferResponse, PropertyOfferVersion, PropertyStats, ReferenceProvider, RentalOfferTerms, RequestOnboardingUploadUrlRequest, RoleManageScope, RolePermissionCatalogGroupResponse, RolePermissionCatalogItemResponse, RolePermissionContext, RolePermissionIndexItem, RolePermissionPageResponse, RolePermissionSummary, RoleResponse, RoleScopeType, SaleOfferDetails, SalePaymentMethod, SaveOnboardingBankingRequest, SaveOnboardingFinancialRequest, SaveOnboardingProfileRequest, SavePostRequest, SaveRolePermissionsRequest, ScheduleCron, ScheduleCronMeta, ScheduleOptionResponse, Tenant, UpcomingViewing, UpdateApplicationRequest, UpdateDefinitionRequest, UpdateOrganizationMemberRolesRequest, UpdatePlatformAuthClientRequest, UpdatePlatformServiceRegistryRequest, UpdatePropertyOfferInternalNoteRequest, UpdateRolePermissionsRequest, UpdateRoleRequest, UpdateScheduleRequest, VersionDto, VisaShareCodeStatus, VisaStatus };
|