@rolatech/angular-services 20.3.2-beta.3 → 20.3.3-beta.0
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.
|
@@ -2,9 +2,9 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { Component, OnInit, OnDestroy, ViewContainerRef, EventEmitter, Provider, EnvironmentProviders } from '@angular/core';
|
|
3
3
|
import { MatDialogRef, MatDialog } from '@angular/material/dialog';
|
|
4
4
|
import * as rxjs from 'rxjs';
|
|
5
|
-
import { Observable, BehaviorSubject, Subject } from 'rxjs';
|
|
6
|
-
import { HttpClient, HttpRequest, HttpHandler, HttpEvent, HttpInterceptorFn } from '@angular/common/http';
|
|
7
|
-
import { AppConfig,
|
|
5
|
+
import { Observable, OperatorFunction, BehaviorSubject, Subject } from 'rxjs';
|
|
6
|
+
import { HttpClient, HttpParams, HttpHeaders, HttpRequest, HttpHandler, HttpEvent, HttpInterceptorFn } from '@angular/common/http';
|
|
7
|
+
import { AppConfig, ApiRequestOptions as ApiRequestOptions$1, ApiResponse } 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';
|
|
@@ -46,78 +46,76 @@ declare class DialogComponent implements OnInit, OnDestroy {
|
|
|
46
46
|
static ɵcmp: i0.ɵɵComponentDeclaration<DialogComponent, "rolatech-dialog", never, {}, {}, never, never, true, never>;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
|
|
49
|
+
type Primitive = string | number | boolean | Date;
|
|
50
|
+
type QueryParams = object;
|
|
51
|
+
type ParamsInput = HttpParams | QueryParams | ApiRequestOptions$1;
|
|
52
|
+
/**
|
|
53
|
+
* Clean configuration object to replace positional arguments
|
|
54
|
+
*/
|
|
55
|
+
interface HttpOptions {
|
|
56
|
+
params?: ParamsInput;
|
|
57
|
+
headers?: HttpHeaders | Record<string, string | string[]>;
|
|
58
|
+
withCredentials?: boolean;
|
|
59
|
+
}
|
|
60
|
+
declare abstract class BaseService {
|
|
50
61
|
protected readonly http: HttpClient;
|
|
51
62
|
protected readonly environment: AppConfig;
|
|
52
|
-
protected
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
protected
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
+
protected abstract readonly endpoint: string;
|
|
64
|
+
protected get withCredentials(): boolean;
|
|
65
|
+
protected get actionUrl(): string;
|
|
66
|
+
protected get<TResponse>(path?: string, options?: HttpOptions): Observable<TResponse>;
|
|
67
|
+
protected post<TResponse, TBody = unknown>(path?: string, body?: TBody, options?: HttpOptions): Observable<TResponse>;
|
|
68
|
+
protected put<TResponse, TBody = unknown>(path: string | undefined, body: TBody, options?: HttpOptions): Observable<TResponse>;
|
|
69
|
+
protected patch<TResponse, TBody = unknown>(path: string | undefined, body?: TBody, options?: HttpOptions): Observable<TResponse>;
|
|
70
|
+
protected delete<TResponse, TBody = never>(path?: string, options?: HttpOptions & {
|
|
71
|
+
body?: TBody;
|
|
72
|
+
}): Observable<TResponse>;
|
|
73
|
+
protected buildUrl(path?: string): string;
|
|
74
|
+
protected buildParams(params?: ParamsInput): HttpParams;
|
|
75
|
+
protected buildHeaders(headers?: HttpHeaders | Record<string, string | string[]>): HttpHeaders | undefined;
|
|
76
|
+
protected unwrapData<T>(): OperatorFunction<ApiResponse<T>, T>;
|
|
77
|
+
protected unwrapPayload<T>(payload: ApiResponse<T> | {
|
|
78
|
+
data?: T;
|
|
79
|
+
} | T): T;
|
|
80
|
+
protected stringifyParamValue(value: Primitive): string;
|
|
81
|
+
private appendParam;
|
|
82
|
+
private isNullOrEmpty;
|
|
83
|
+
private joinUrl;
|
|
63
84
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaseService, never>;
|
|
64
85
|
static ɵprov: i0.ɵɵInjectableDeclaration<BaseService>;
|
|
65
86
|
}
|
|
66
87
|
|
|
67
|
-
declare class ProductService extends BaseService {
|
|
68
|
-
init(): void;
|
|
69
|
-
me(options: any): Observable<any>;
|
|
70
|
-
findByIds(ids: Array<string>): Observable<any>;
|
|
71
|
-
publish(productId: string): Observable<any>;
|
|
72
|
-
archived(productId: string): Observable<any>;
|
|
73
|
-
findWishlist(options: any): Observable<Object>;
|
|
74
|
-
addToWishlist(productId: string): Observable<Object>;
|
|
75
|
-
removeFromWishlist(productId: string): Observable<Object>;
|
|
76
|
-
findWishlistBy(productId: string): Observable<Object>;
|
|
77
|
-
findPurchasedByProductId(productId: string): Observable<Object>;
|
|
78
|
-
uploadMedia(productId: string, data: FormData): Observable<any>;
|
|
79
|
-
deleteMedia(id: string, mediaId: string): Observable<any>;
|
|
80
|
-
addPricing(productId: string, data: any): Observable<any>;
|
|
81
|
-
updatePricing(pricingId: string, data: any): Observable<any>;
|
|
82
|
-
deletePricing(pricingId: string): Observable<any>;
|
|
83
|
-
addSection(productId: string, data: any): Observable<any>;
|
|
84
|
-
addBatchSections(productId: string, data: any): Observable<any>;
|
|
85
|
-
findSections(productId: string): Observable<any>;
|
|
86
|
-
updateSection(sectionId: string, data: any): Observable<any>;
|
|
87
|
-
deleteSection(sectionId: string): Observable<any>;
|
|
88
|
-
uploadSectionMedia(sectionId: string, data: FormData): Observable<any>;
|
|
89
|
-
deleteSectionMedia(sectionId: string, mediaId: string): Observable<any>;
|
|
90
|
-
addOption(productId: string, data: any): Observable<any>;
|
|
91
|
-
findOptions(productId: string): Observable<any>;
|
|
92
|
-
updateOption(optionId: string, data: any): Observable<any>;
|
|
93
|
-
deleteOption(optionId: string): Observable<any>;
|
|
94
|
-
updateVariantPrice(productId: string, status: boolean): Observable<any>;
|
|
95
|
-
createVariants(productId: string, data: any): Observable<any>;
|
|
96
|
-
getVariant(variantId: string): Observable<any>;
|
|
97
|
-
findVariants(productId: string): Observable<any>;
|
|
98
|
-
findVariantsByIds(ids: Array<string>): Observable<any>;
|
|
99
|
-
updateVariants(productId: string, data: any): Observable<any>;
|
|
100
|
-
uploadVariantMedia(variantId: string, data: FormData): Observable<any>;
|
|
101
|
-
deleteVariantMedia(variantId: string, mediaId: string): Observable<any>;
|
|
102
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ProductService, never>;
|
|
103
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ProductService>;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
88
|
declare enum CartEventType {
|
|
107
89
|
CartAdd = 0,
|
|
108
90
|
CartRemove = 1
|
|
109
91
|
}
|
|
92
|
+
interface CartItem {
|
|
93
|
+
id: string;
|
|
94
|
+
productId?: string | null;
|
|
95
|
+
variantId?: string | null;
|
|
96
|
+
product?: unknown;
|
|
97
|
+
variant?: unknown;
|
|
98
|
+
}
|
|
99
|
+
interface CartQuery {
|
|
100
|
+
[key: string]: string | number | boolean | null | undefined;
|
|
101
|
+
}
|
|
110
102
|
declare class CartService extends BaseService {
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
103
|
+
protected readonly endpoint = "carts";
|
|
104
|
+
private readonly productService;
|
|
105
|
+
readonly cartEvent: EventEmitter<CartEventType>;
|
|
106
|
+
readonly cartEvent$: Observable<CartEventType>;
|
|
107
|
+
find(options?: CartQuery): Observable<any>;
|
|
108
|
+
create(data: unknown): Observable<any>;
|
|
109
|
+
update(id: string, data: unknown): Observable<any>;
|
|
110
|
+
findDetails(options?: CartQuery): Observable<CartItem[]>;
|
|
111
|
+
by(options?: CartQuery): Observable<CartItem[]>;
|
|
112
|
+
me(options?: CartQuery): Observable<CartItem[]>;
|
|
113
|
+
remove(cartId: string): Observable<void>;
|
|
114
|
+
deleteByIds(ids: string[]): Observable<void>;
|
|
115
|
+
deleteAll(): Observable<void>;
|
|
116
|
+
private normalizeItems;
|
|
117
|
+
private uniqueIds;
|
|
118
|
+
private unwrapFlexible;
|
|
121
119
|
static ɵfac: i0.ɵɵFactoryDeclaration<CartService, never>;
|
|
122
120
|
static ɵprov: i0.ɵɵInjectableDeclaration<CartService>;
|
|
123
121
|
}
|
|
@@ -455,6 +453,88 @@ interface PermissionsDto {
|
|
|
455
453
|
canMarkCompleted: boolean;
|
|
456
454
|
}
|
|
457
455
|
|
|
456
|
+
type ViewingType = 'RENTAL' | 'SALE';
|
|
457
|
+
type PropertyViewingStatusCode = keyof typeof PropertyViewingStatus;
|
|
458
|
+
type PropertyViewingtypeCode = keyof typeof PropertyViewingType;
|
|
459
|
+
type PropertyApplicantTypeCode = keyof typeof PropertyApplicantType;
|
|
460
|
+
interface PropertyViewingResponse {
|
|
461
|
+
id: string;
|
|
462
|
+
firstName: string;
|
|
463
|
+
lastName: string;
|
|
464
|
+
email: string;
|
|
465
|
+
phone: string;
|
|
466
|
+
jobTitle?: string;
|
|
467
|
+
monthlyBudget?: number;
|
|
468
|
+
annualIncome?: number;
|
|
469
|
+
moveInDate?: string;
|
|
470
|
+
userId: string;
|
|
471
|
+
agentId: string;
|
|
472
|
+
appId?: string;
|
|
473
|
+
orgId?: string;
|
|
474
|
+
type?: ViewingType;
|
|
475
|
+
status: PropertyViewingStatusCode | string;
|
|
476
|
+
viewerCategory?: PropertyViewerCategory | string;
|
|
477
|
+
tenantCategory?: PropertyApplicantTypeCode | string;
|
|
478
|
+
requesterType?: string;
|
|
479
|
+
requesterAppId?: string;
|
|
480
|
+
requesterOrgId?: string;
|
|
481
|
+
viewingDate?: string;
|
|
482
|
+
viewingTime?: string;
|
|
483
|
+
slotProposalSource?: string | null;
|
|
484
|
+
slotDecisionRequired?: boolean | null;
|
|
485
|
+
counteredAt?: string | null;
|
|
486
|
+
proposedSlots: ViewingProposedSlot[];
|
|
487
|
+
item: PropertyViewingItem;
|
|
488
|
+
}
|
|
489
|
+
declare enum PropertyViewingType {
|
|
490
|
+
RENTAL = "Rental",
|
|
491
|
+
SALE = "Sale"
|
|
492
|
+
}
|
|
493
|
+
declare enum PropertyViewerCategory {
|
|
494
|
+
TENANT = "TENANT",
|
|
495
|
+
AGENT = "AGENT"
|
|
496
|
+
}
|
|
497
|
+
declare enum PropertyApplicantType {
|
|
498
|
+
INDIVIDUAL = "Individual",
|
|
499
|
+
CORPORATE = "Corporate",
|
|
500
|
+
STUDENT = "Student"
|
|
501
|
+
}
|
|
502
|
+
interface PropertyViewingItem {
|
|
503
|
+
propertyId: string;
|
|
504
|
+
title: string;
|
|
505
|
+
description: string;
|
|
506
|
+
address: string;
|
|
507
|
+
price: number;
|
|
508
|
+
bedrooms: number;
|
|
509
|
+
bathrooms: number;
|
|
510
|
+
receptions: number;
|
|
511
|
+
agentId: string;
|
|
512
|
+
media: PropertyViewingItemMedia[];
|
|
513
|
+
}
|
|
514
|
+
interface PropertyViewingItemMedia {
|
|
515
|
+
id: string;
|
|
516
|
+
url: string;
|
|
517
|
+
alt: string;
|
|
518
|
+
width?: number;
|
|
519
|
+
height?: number;
|
|
520
|
+
uuid?: string;
|
|
521
|
+
}
|
|
522
|
+
declare enum PropertyViewingStatus {
|
|
523
|
+
PENDING = "Pending",
|
|
524
|
+
COUNTERED = "Countered",
|
|
525
|
+
APPROVED = "Approved",
|
|
526
|
+
REJECTED = "Rejected",
|
|
527
|
+
CANCELLED = "Cancelled",
|
|
528
|
+
COMPLETED = "Completed"
|
|
529
|
+
}
|
|
530
|
+
interface ViewingProposedSlot {
|
|
531
|
+
id?: string;
|
|
532
|
+
date: string;
|
|
533
|
+
time: string;
|
|
534
|
+
source?: string | null;
|
|
535
|
+
state?: string | null;
|
|
536
|
+
}
|
|
537
|
+
|
|
458
538
|
declare class DialogService {
|
|
459
539
|
dialog: MatDialog;
|
|
460
540
|
dialogRef: MatDialogRef<DialogComponent>;
|
|
@@ -479,7 +559,7 @@ declare class LoadingService {
|
|
|
479
559
|
}
|
|
480
560
|
|
|
481
561
|
declare class MediaService extends BaseService {
|
|
482
|
-
|
|
562
|
+
protected readonly endpoint = "media";
|
|
483
563
|
upload(data: FormData): Observable<any>;
|
|
484
564
|
uploadAndSave(data: FormData): Observable<any>;
|
|
485
565
|
deleteBy(filename: string): Observable<any>;
|
|
@@ -572,8 +652,54 @@ declare class ThemeService {
|
|
|
572
652
|
static ɵprov: i0.ɵɵInjectableDeclaration<ThemeService>;
|
|
573
653
|
}
|
|
574
654
|
|
|
655
|
+
declare class ProductService extends BaseService {
|
|
656
|
+
protected readonly endpoint = "products";
|
|
657
|
+
find(options?: any, withCredentials?: boolean): Observable<any>;
|
|
658
|
+
getProduct<TResponse = any>(productId: string, options?: any): Observable<TResponse>;
|
|
659
|
+
create(data: any): Observable<any>;
|
|
660
|
+
update(id: string, data: any): Observable<any>;
|
|
661
|
+
deleteProduct<TResponse = any>(productId: string, options?: any): Observable<TResponse>;
|
|
662
|
+
me(options: any): Observable<any>;
|
|
663
|
+
findByIds(ids: Array<string>): Observable<any>;
|
|
664
|
+
publish(productId: string): Observable<any>;
|
|
665
|
+
archived(productId: string): Observable<any>;
|
|
666
|
+
findWishlist(options: any): Observable<Object>;
|
|
667
|
+
addToWishlist(productId: string): Observable<Object>;
|
|
668
|
+
removeFromWishlist(productId: string): Observable<Object>;
|
|
669
|
+
findWishlistBy(productId: string): Observable<Object>;
|
|
670
|
+
findPurchasedByProductId(productId: string): Observable<Object>;
|
|
671
|
+
uploadMedia(productId: string, data: FormData): Observable<any>;
|
|
672
|
+
deleteMedia(id: string, mediaId: string): Observable<any>;
|
|
673
|
+
addPricing(productId: string, data: any): Observable<any>;
|
|
674
|
+
updatePricing(pricingId: string, data: any): Observable<any>;
|
|
675
|
+
deletePricing(pricingId: string): Observable<any>;
|
|
676
|
+
addSection(productId: string, data: any): Observable<any>;
|
|
677
|
+
addBatchSections(productId: string, data: any): Observable<any>;
|
|
678
|
+
findSections(productId: string): Observable<any>;
|
|
679
|
+
updateSection(sectionId: string, data: any): Observable<any>;
|
|
680
|
+
deleteSection(sectionId: string): Observable<any>;
|
|
681
|
+
uploadSectionMedia(sectionId: string, data: FormData): Observable<any>;
|
|
682
|
+
deleteSectionMedia(sectionId: string, mediaId: string): Observable<any>;
|
|
683
|
+
addOption(productId: string, data: any): Observable<any>;
|
|
684
|
+
findOptions(productId: string): Observable<any>;
|
|
685
|
+
updateOption(optionId: string, data: any): Observable<any>;
|
|
686
|
+
deleteOption(optionId: string): Observable<any>;
|
|
687
|
+
updateVariantPrice(productId: string, status: boolean): Observable<any>;
|
|
688
|
+
createVariants(productId: string, data: any): Observable<any>;
|
|
689
|
+
getVariant(variantId: string): Observable<any>;
|
|
690
|
+
findVariants(productId: string): Observable<any>;
|
|
691
|
+
findVariantsByIds(ids: Array<string>): Observable<any>;
|
|
692
|
+
updateVariants(productId: string, data: any): Observable<any>;
|
|
693
|
+
uploadVariantMedia(variantId: string, data: FormData): Observable<any>;
|
|
694
|
+
deleteVariantMedia(variantId: string, mediaId: string): Observable<any>;
|
|
695
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductService, never>;
|
|
696
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ProductService>;
|
|
697
|
+
}
|
|
698
|
+
|
|
575
699
|
declare class OrderService extends BaseService {
|
|
576
|
-
|
|
700
|
+
protected readonly endpoint = "orders";
|
|
701
|
+
create(data: any): Observable<any>;
|
|
702
|
+
getOrder<TResponse = any>(orderId: string, options?: any): Observable<TResponse>;
|
|
577
703
|
createPaymentIntent(id: number): Observable<any>;
|
|
578
704
|
by(options: any): Observable<any>;
|
|
579
705
|
me(options: any): Observable<any>;
|
|
@@ -595,7 +721,7 @@ declare class OrderService extends BaseService {
|
|
|
595
721
|
}
|
|
596
722
|
|
|
597
723
|
declare class InventoryService extends BaseService {
|
|
598
|
-
|
|
724
|
+
protected readonly endpoint = "inventories";
|
|
599
725
|
getLocation(locationId: string): Observable<any>;
|
|
600
726
|
findLocations(options: any): Observable<any>;
|
|
601
727
|
addLocation(data: any): Observable<any>;
|
|
@@ -648,7 +774,12 @@ declare class NotificationService {
|
|
|
648
774
|
}
|
|
649
775
|
|
|
650
776
|
declare class ProductCategoryService extends BaseService {
|
|
651
|
-
|
|
777
|
+
protected readonly endpoint = "products/categories";
|
|
778
|
+
find(options?: any, withCredentials?: boolean): Observable<any>;
|
|
779
|
+
getProductCategory<TResponse = any>(categoryId: string, options?: any): Observable<TResponse>;
|
|
780
|
+
create(data: any): Observable<any>;
|
|
781
|
+
update(id: string, data: any): Observable<any>;
|
|
782
|
+
deleteProductCategory<TResponse = any>(categoryId: string, options?: any): Observable<TResponse>;
|
|
652
783
|
uploadMedia(id: string, data: FormData): Observable<any>;
|
|
653
784
|
deleteMedia(id: string, mediaId: string): Observable<any>;
|
|
654
785
|
importFromExcel(data: FormData): Observable<any>;
|
|
@@ -671,7 +802,7 @@ declare class NotificationTemplateService {
|
|
|
671
802
|
}
|
|
672
803
|
|
|
673
804
|
declare class FulfillmentService extends BaseService {
|
|
674
|
-
|
|
805
|
+
protected readonly endpoint = "fulfillments";
|
|
675
806
|
fulfill(orderId: string, data: any): Observable<any>;
|
|
676
807
|
tracking(orderId: string): Observable<any>;
|
|
677
808
|
static ɵfac: i0.ɵɵFactoryDeclaration<FulfillmentService, never>;
|
|
@@ -1051,7 +1182,7 @@ interface OnboardingApplicationDetailResponse extends OnboardingApplicationRespo
|
|
|
1051
1182
|
timeline: OnboardingTimelineResponse[];
|
|
1052
1183
|
countryCode: string;
|
|
1053
1184
|
}
|
|
1054
|
-
interface
|
|
1185
|
+
interface OnboardingAdminListOptions {
|
|
1055
1186
|
status?: OnboardingStatus;
|
|
1056
1187
|
search?: string;
|
|
1057
1188
|
}
|
|
@@ -1431,8 +1562,56 @@ interface UpdateRolePermissionsRequest {
|
|
|
1431
1562
|
permissionIds: string[];
|
|
1432
1563
|
}
|
|
1433
1564
|
|
|
1565
|
+
interface BillingProfileUpsertParam {
|
|
1566
|
+
displayName?: string | null;
|
|
1567
|
+
companyName?: string | null;
|
|
1568
|
+
companyWebsite?: string | null;
|
|
1569
|
+
companyRegistrationNo?: string | null;
|
|
1570
|
+
companyVatNo?: string | null;
|
|
1571
|
+
companyAddressLine?: string | null;
|
|
1572
|
+
companyEmail?: string | null;
|
|
1573
|
+
companyPhone?: string | null;
|
|
1574
|
+
bankInstitution?: string | null;
|
|
1575
|
+
bankAccountName?: string | null;
|
|
1576
|
+
bankSortCode?: string | null;
|
|
1577
|
+
bankAccountNo?: string | null;
|
|
1578
|
+
bankSwift?: string | null;
|
|
1579
|
+
bankIban?: string | null;
|
|
1580
|
+
bankPaymentRef?: string | null;
|
|
1581
|
+
invoiceFooter?: string | null;
|
|
1582
|
+
paymentInstructions?: string | null;
|
|
1583
|
+
logoUrl?: string | null;
|
|
1584
|
+
enabled?: boolean | null;
|
|
1585
|
+
}
|
|
1586
|
+
interface BillingProfileResponse {
|
|
1587
|
+
id: string;
|
|
1588
|
+
appId: string;
|
|
1589
|
+
orgId: string;
|
|
1590
|
+
enabled: boolean;
|
|
1591
|
+
displayName?: string | null;
|
|
1592
|
+
companyName?: string | null;
|
|
1593
|
+
companyWebsite?: string | null;
|
|
1594
|
+
companyRegistrationNo?: string | null;
|
|
1595
|
+
companyVatNo?: string | null;
|
|
1596
|
+
companyAddressLine?: string | null;
|
|
1597
|
+
companyEmail?: string | null;
|
|
1598
|
+
companyPhone?: string | null;
|
|
1599
|
+
bankInstitution?: string | null;
|
|
1600
|
+
bankAccountName?: string | null;
|
|
1601
|
+
bankSortCode?: string | null;
|
|
1602
|
+
bankAccountNo?: string | null;
|
|
1603
|
+
bankSwift?: string | null;
|
|
1604
|
+
bankIban?: string | null;
|
|
1605
|
+
bankPaymentRef?: string | null;
|
|
1606
|
+
invoiceFooter?: string | null;
|
|
1607
|
+
paymentInstructions?: string | null;
|
|
1608
|
+
logoUrl?: string | null;
|
|
1609
|
+
createdAt?: string;
|
|
1610
|
+
updatedAt?: string;
|
|
1611
|
+
}
|
|
1612
|
+
|
|
1434
1613
|
declare class PostService extends BaseService {
|
|
1435
|
-
|
|
1614
|
+
protected readonly endpoint = "posts";
|
|
1436
1615
|
list(options?: PostQuery, withCredentials?: boolean): Observable<any>;
|
|
1437
1616
|
listPublished(options?: PostQuery): Observable<any>;
|
|
1438
1617
|
getByIdOrSlug(idOrSlug: string, withCredentials?: boolean): Observable<any>;
|
|
@@ -1448,7 +1627,9 @@ declare class PostService extends BaseService {
|
|
|
1448
1627
|
}
|
|
1449
1628
|
|
|
1450
1629
|
declare class OrderPayoutService extends BaseService {
|
|
1451
|
-
|
|
1630
|
+
protected readonly endpoint = "orders/payouts";
|
|
1631
|
+
find(options?: any, withCredentials?: boolean): Observable<any>;
|
|
1632
|
+
getPayout(id: string, withCredentials?: boolean): Observable<any>;
|
|
1452
1633
|
me(options: any): Observable<any>;
|
|
1453
1634
|
approve(id: string): Observable<any>;
|
|
1454
1635
|
static ɵfac: i0.ɵɵFactoryDeclaration<OrderPayoutService, never>;
|
|
@@ -1456,7 +1637,12 @@ declare class OrderPayoutService extends BaseService {
|
|
|
1456
1637
|
}
|
|
1457
1638
|
|
|
1458
1639
|
declare class ResourceService extends BaseService {
|
|
1459
|
-
|
|
1640
|
+
protected readonly endpoint = "resources";
|
|
1641
|
+
find(options?: any, withCredentials?: boolean): Observable<any>;
|
|
1642
|
+
getResource<TResponse = any>(resourceId: string, options?: any): Observable<TResponse>;
|
|
1643
|
+
create(data: any): Observable<any>;
|
|
1644
|
+
update(id: string, data: any): Observable<any>;
|
|
1645
|
+
deleteResource<TResponse = any>(resourceId: string, options?: any): Observable<TResponse>;
|
|
1460
1646
|
me(options: any): Observable<any>;
|
|
1461
1647
|
findByIds(ids: string): Observable<any>;
|
|
1462
1648
|
filter(options: any): Observable<any>;
|
|
@@ -1492,7 +1678,8 @@ declare class ResourceService extends BaseService {
|
|
|
1492
1678
|
}
|
|
1493
1679
|
|
|
1494
1680
|
declare class ResourceCategoryService extends BaseService {
|
|
1495
|
-
|
|
1681
|
+
protected readonly endpoint = "resources/categories";
|
|
1682
|
+
find(options?: any, withCredentials?: boolean): Observable<any>;
|
|
1496
1683
|
uploadMedia(id: string, data: FormData): Observable<any>;
|
|
1497
1684
|
deleteMedia(id: string, mediaId: string): Observable<any>;
|
|
1498
1685
|
static ɵfac: i0.ɵɵFactoryDeclaration<ResourceCategoryService, never>;
|
|
@@ -1500,7 +1687,7 @@ declare class ResourceCategoryService extends BaseService {
|
|
|
1500
1687
|
}
|
|
1501
1688
|
|
|
1502
1689
|
declare class BookingService extends BaseService {
|
|
1503
|
-
|
|
1690
|
+
protected readonly endpoint = "bookings";
|
|
1504
1691
|
by(options: any): Observable<any>;
|
|
1505
1692
|
me(options: any): Observable<any>;
|
|
1506
1693
|
timeline(id: string): Observable<any>;
|
|
@@ -1517,19 +1704,25 @@ declare class BookingService extends BaseService {
|
|
|
1517
1704
|
}
|
|
1518
1705
|
|
|
1519
1706
|
declare class FacilityService extends BaseService {
|
|
1520
|
-
|
|
1707
|
+
protected readonly endpoint = "facilities";
|
|
1521
1708
|
static ɵfac: i0.ɵɵFactoryDeclaration<FacilityService, never>;
|
|
1522
1709
|
static ɵprov: i0.ɵɵInjectableDeclaration<FacilityService>;
|
|
1523
1710
|
}
|
|
1524
1711
|
|
|
1525
1712
|
declare class AmenityService extends BaseService {
|
|
1526
|
-
|
|
1713
|
+
protected readonly endpoint = "resources/amenities";
|
|
1714
|
+
find(options?: any, withCredentials?: boolean): Observable<any>;
|
|
1527
1715
|
static ɵfac: i0.ɵɵFactoryDeclaration<AmenityService, never>;
|
|
1528
1716
|
static ɵprov: i0.ɵɵInjectableDeclaration<AmenityService>;
|
|
1529
1717
|
}
|
|
1530
1718
|
|
|
1531
1719
|
declare class PropertyService extends BaseService {
|
|
1532
|
-
|
|
1720
|
+
protected readonly endpoint = "properties";
|
|
1721
|
+
find(options?: any, withCredentials?: boolean): Observable<any>;
|
|
1722
|
+
getProperty<TResponse = any>(propertyId: string, options?: any): Observable<TResponse>;
|
|
1723
|
+
create(data: any): Observable<any>;
|
|
1724
|
+
update(id: string, data: any): Observable<any>;
|
|
1725
|
+
deleteProperty<TResponse = any>(propertyId: string, options?: any): Observable<TResponse>;
|
|
1533
1726
|
me(options: any): Observable<any>;
|
|
1534
1727
|
byAgent(options: any): Observable<ApiResponse<any>>;
|
|
1535
1728
|
findByIds(ids: Array<string>): Observable<any>;
|
|
@@ -1630,7 +1823,9 @@ declare class PropertyService extends BaseService {
|
|
|
1630
1823
|
}
|
|
1631
1824
|
|
|
1632
1825
|
declare class FeatureService extends BaseService {
|
|
1633
|
-
|
|
1826
|
+
protected readonly endpoint = "properties/user-features";
|
|
1827
|
+
find<TResponse = any>(options?: any, withCredentials?: boolean): Observable<TResponse>;
|
|
1828
|
+
update(featureId: string, data: any): Observable<any>;
|
|
1634
1829
|
addFeature(data: any): Observable<any>;
|
|
1635
1830
|
updateFeature(featureId: string, data: any): Observable<any>;
|
|
1636
1831
|
deleteFeature(featureId: string): Observable<any>;
|
|
@@ -1639,7 +1834,9 @@ declare class FeatureService extends BaseService {
|
|
|
1639
1834
|
}
|
|
1640
1835
|
|
|
1641
1836
|
declare class PaymentService extends BaseService {
|
|
1642
|
-
|
|
1837
|
+
protected readonly endpoint = "payments";
|
|
1838
|
+
find(options?: any, withCredentials?: boolean): Observable<any>;
|
|
1839
|
+
getPayment(id: string, withCredentials?: boolean): Observable<any>;
|
|
1643
1840
|
me(options: any): Observable<any>;
|
|
1644
1841
|
createPaymentIntent(data: any): Observable<any>;
|
|
1645
1842
|
createPayment(data: any): Observable<any>;
|
|
@@ -1648,7 +1845,11 @@ declare class PaymentService extends BaseService {
|
|
|
1648
1845
|
}
|
|
1649
1846
|
|
|
1650
1847
|
declare class OfferingService extends BaseService {
|
|
1651
|
-
|
|
1848
|
+
protected readonly endpoint = "offerings";
|
|
1849
|
+
find(options?: any, withCredentials?: boolean): Observable<any>;
|
|
1850
|
+
getOffering<TResponse = any>(offeringId: string, options?: any): Observable<TResponse>;
|
|
1851
|
+
createOffering(data: any): Observable<any>;
|
|
1852
|
+
updateOffering(offeringId: string, data: any): Observable<any>;
|
|
1652
1853
|
me(options: any): Observable<any>;
|
|
1653
1854
|
findByIds(ids: Array<string>): Observable<any>;
|
|
1654
1855
|
publish(propertyId: string): Observable<any>;
|
|
@@ -1716,7 +1917,8 @@ declare class OfferingService extends BaseService {
|
|
|
1716
1917
|
}
|
|
1717
1918
|
|
|
1718
1919
|
declare class MembershipService extends BaseService {
|
|
1719
|
-
|
|
1920
|
+
protected readonly endpoint = "memberships";
|
|
1921
|
+
findMemberships(options: any): Observable<any>;
|
|
1720
1922
|
me(options: any): Observable<any>;
|
|
1721
1923
|
createPlan(data: any): Observable<any>;
|
|
1722
1924
|
findPlans(options: any): Observable<any>;
|
|
@@ -1731,7 +1933,12 @@ declare class MembershipService extends BaseService {
|
|
|
1731
1933
|
}
|
|
1732
1934
|
|
|
1733
1935
|
declare class CategoryService extends BaseService {
|
|
1734
|
-
|
|
1936
|
+
protected readonly endpoint = "categories";
|
|
1937
|
+
find(options?: any, withCredentials?: boolean): Observable<any>;
|
|
1938
|
+
getCategory<TResponse = any>(categoryId: string, options?: any): Observable<TResponse>;
|
|
1939
|
+
create(data: any): Observable<any>;
|
|
1940
|
+
update(id: string, data: any): Observable<any>;
|
|
1941
|
+
deleteCategory<TResponse = any>(categoryId: string, options?: any): Observable<TResponse>;
|
|
1735
1942
|
uploadMedia(id: string, data: FormData): Observable<any>;
|
|
1736
1943
|
deleteMedia(id: string, mediaId: string): Observable<any>;
|
|
1737
1944
|
importFromExcel(data: FormData): Observable<any>;
|
|
@@ -1853,7 +2060,7 @@ interface SearchResult<T> {
|
|
|
1853
2060
|
};
|
|
1854
2061
|
}
|
|
1855
2062
|
declare class PropertySearchService extends BaseService {
|
|
1856
|
-
|
|
2063
|
+
protected readonly endpoint = "properties";
|
|
1857
2064
|
search<T = any>(rawParams: Record<string, any>): Observable<SearchResult<T>>;
|
|
1858
2065
|
stripUndefined<T extends Record<string, any>>(obj: T): Partial<T>;
|
|
1859
2066
|
isEmptyFilter(params: Record<string, any>, ignoreKeys?: string[]): boolean;
|
|
@@ -1874,13 +2081,15 @@ declare class TimeZoneService {
|
|
|
1874
2081
|
}
|
|
1875
2082
|
|
|
1876
2083
|
declare class BillingService extends BaseService {
|
|
1877
|
-
|
|
2084
|
+
protected readonly endpoint = "billing";
|
|
1878
2085
|
static ɵfac: i0.ɵɵFactoryDeclaration<BillingService, never>;
|
|
1879
2086
|
static ɵprov: i0.ɵɵInjectableDeclaration<BillingService>;
|
|
1880
2087
|
}
|
|
1881
2088
|
|
|
1882
2089
|
declare class InvoiceService extends BaseService {
|
|
1883
|
-
|
|
2090
|
+
protected readonly endpoint = "billing/invoices";
|
|
2091
|
+
create(data: any): Observable<any>;
|
|
2092
|
+
update(id: string, data: any): Observable<any>;
|
|
1884
2093
|
createByManager(data: any): Observable<any>;
|
|
1885
2094
|
findByManager(options: any): Observable<ApiResponse<any>>;
|
|
1886
2095
|
getInvoice(id: string): Observable<any>;
|
|
@@ -1894,7 +2103,7 @@ declare class InvoiceService extends BaseService {
|
|
|
1894
2103
|
}
|
|
1895
2104
|
|
|
1896
2105
|
declare class PropertyHighlightsService extends BaseService {
|
|
1897
|
-
|
|
2106
|
+
protected readonly endpoint = "properties";
|
|
1898
2107
|
getHighlights<T>(id: string): Observable<T>;
|
|
1899
2108
|
addHighlight<T>(id: string, text: string, position?: number | null): Observable<T>;
|
|
1900
2109
|
replaceAllHighlights<T>(id: string, highlights: string[]): Observable<T>;
|
|
@@ -1906,7 +2115,7 @@ declare class PropertyHighlightsService extends BaseService {
|
|
|
1906
2115
|
}
|
|
1907
2116
|
|
|
1908
2117
|
declare class FloorplanService extends BaseService {
|
|
1909
|
-
|
|
2118
|
+
protected readonly endpoint = "properties";
|
|
1910
2119
|
uploadFloorplan(propertyId: string, data: FormData): Observable<any>;
|
|
1911
2120
|
listFloorplans(propertyId: string): Observable<any>;
|
|
1912
2121
|
deleteFloorplan(propertyId: string, floorplanId: string): Observable<any>;
|
|
@@ -1915,22 +2124,22 @@ declare class FloorplanService extends BaseService {
|
|
|
1915
2124
|
}
|
|
1916
2125
|
|
|
1917
2126
|
declare class PropertyStatsService extends BaseService {
|
|
1918
|
-
|
|
2127
|
+
protected readonly endpoint = "properties";
|
|
1919
2128
|
stats(): Observable<PropertyStats>;
|
|
1920
2129
|
static ɵfac: i0.ɵɵFactoryDeclaration<PropertyStatsService, never>;
|
|
1921
2130
|
static ɵprov: i0.ɵɵInjectableDeclaration<PropertyStatsService>;
|
|
1922
2131
|
}
|
|
1923
2132
|
|
|
1924
2133
|
declare class InvoiceStatsService extends BaseService {
|
|
1925
|
-
|
|
2134
|
+
protected readonly endpoint = "billing/invoices";
|
|
1926
2135
|
stats(): Observable<InvoiceStats>;
|
|
1927
2136
|
static ɵfac: i0.ɵɵFactoryDeclaration<InvoiceStatsService, never>;
|
|
1928
2137
|
static ɵprov: i0.ɵɵInjectableDeclaration<InvoiceStatsService>;
|
|
1929
2138
|
}
|
|
1930
2139
|
|
|
1931
2140
|
declare class PropertyOfferService extends BaseService {
|
|
2141
|
+
protected readonly endpoint = "properties";
|
|
1932
2142
|
propertyService: PropertyService;
|
|
1933
|
-
init(): void;
|
|
1934
2143
|
makeOffer(propertyId: string, data: any): Observable<any>;
|
|
1935
2144
|
findOffers(options: any): Observable<any>;
|
|
1936
2145
|
search<T = any>(rawParams: Record<string, any>): Observable<ApiResponse<T>>;
|
|
@@ -1966,14 +2175,14 @@ declare class PropertyOfferService extends BaseService {
|
|
|
1966
2175
|
}
|
|
1967
2176
|
|
|
1968
2177
|
declare class PropertyViewingService extends BaseService {
|
|
2178
|
+
protected readonly endpoint = "properties";
|
|
1969
2179
|
propertyService: PropertyService;
|
|
1970
|
-
init(): void;
|
|
1971
2180
|
static ɵfac: i0.ɵɵFactoryDeclaration<PropertyViewingService, never>;
|
|
1972
2181
|
static ɵprov: i0.ɵɵInjectableDeclaration<PropertyViewingService>;
|
|
1973
2182
|
}
|
|
1974
2183
|
|
|
1975
2184
|
declare class AutomationService extends BaseService {
|
|
1976
|
-
|
|
2185
|
+
protected readonly endpoint = "automations";
|
|
1977
2186
|
summary(): Observable<any>;
|
|
1978
2187
|
listDefinitions(options?: ApiRequestOptions, withCredentials?: boolean): Observable<ApiResponse<AutomationDefinitionDto[]>>;
|
|
1979
2188
|
getDefinition(id: string, options?: ApiRequestOptions, withCredentials?: boolean): Observable<AutomationDefinitionDto>;
|
|
@@ -2031,7 +2240,7 @@ declare class EnumApiClient {
|
|
|
2031
2240
|
}
|
|
2032
2241
|
|
|
2033
2242
|
declare class InvoiceLineService extends BaseService {
|
|
2034
|
-
|
|
2243
|
+
protected readonly endpoint = "billing/invoices";
|
|
2035
2244
|
createByManager(data: any): Observable<any>;
|
|
2036
2245
|
findByManager(options: any): Observable<ApiResponse<any>>;
|
|
2037
2246
|
getInvoice(id: string): Observable<any>;
|
|
@@ -2043,7 +2252,7 @@ declare class InvoiceLineService extends BaseService {
|
|
|
2043
2252
|
}
|
|
2044
2253
|
|
|
2045
2254
|
declare class PropertyOfferCounterService extends BaseService {
|
|
2046
|
-
|
|
2255
|
+
protected readonly endpoint = "properties";
|
|
2047
2256
|
getNegotiationViewByAgent(id: string): Observable<ApiResponse<PropertyOfferNegotiationView>>;
|
|
2048
2257
|
getNegotiationViewByTenant(id: string): Observable<ApiResponse<PropertyOfferNegotiationView>>;
|
|
2049
2258
|
getVersions(id: string): Observable<ApiResponse<PropertyOfferVersion[]>>;
|
|
@@ -2077,8 +2286,8 @@ declare class PropertyOfferCounterService extends BaseService {
|
|
|
2077
2286
|
}
|
|
2078
2287
|
|
|
2079
2288
|
declare class ApplicationService extends BaseService {
|
|
2080
|
-
|
|
2081
|
-
findApplications(options?: ApiRequestOptions$1): Observable<
|
|
2289
|
+
protected readonly endpoint = "platform/applications";
|
|
2290
|
+
findApplications(options?: ApiRequestOptions$1): Observable<ApiResponse<ApplicationSummaryResponse[]>>;
|
|
2082
2291
|
findApplicationById(id: string): Observable<ApplicationDetailResponse>;
|
|
2083
2292
|
createApplication(request: CreateApplicationRequest): Observable<ApplicationDetailResponse>;
|
|
2084
2293
|
updateApplication(id: string, request: UpdateApplicationRequest): Observable<ApplicationDetailResponse>;
|
|
@@ -2086,8 +2295,8 @@ declare class ApplicationService extends BaseService {
|
|
|
2086
2295
|
findApplicationMembers(id: string, options?: ApiRequestOptions$1): Observable<ApplicationMemberPageResponse>;
|
|
2087
2296
|
findApplicationMemberById(id: string, memberId: string): Observable<ApplicationMemberDetailResponse>;
|
|
2088
2297
|
resetOrganizationOwnerPassword(id: string, organizationId: string): Observable<void>;
|
|
2089
|
-
private
|
|
2090
|
-
private
|
|
2298
|
+
private unwrapEnvelope;
|
|
2299
|
+
private toSimplePage;
|
|
2091
2300
|
private toMemberPage;
|
|
2092
2301
|
private toMemberDetail;
|
|
2093
2302
|
private toMemberSummary;
|
|
@@ -2095,18 +2304,18 @@ declare class ApplicationService extends BaseService {
|
|
|
2095
2304
|
private readOrganizationMemberships;
|
|
2096
2305
|
private readRoles;
|
|
2097
2306
|
private readStringArray;
|
|
2307
|
+
private readPaginationCount;
|
|
2098
2308
|
private readString;
|
|
2099
2309
|
private readOptionalString;
|
|
2100
2310
|
private readNumber;
|
|
2101
2311
|
private readBoolean;
|
|
2102
2312
|
private asRecord;
|
|
2103
|
-
private unwrapData;
|
|
2104
2313
|
static ɵfac: i0.ɵɵFactoryDeclaration<ApplicationService, never>;
|
|
2105
2314
|
static ɵprov: i0.ɵɵInjectableDeclaration<ApplicationService>;
|
|
2106
2315
|
}
|
|
2107
2316
|
|
|
2108
2317
|
declare class PlatformEndpointService extends BaseService {
|
|
2109
|
-
|
|
2318
|
+
protected readonly endpoint = "platform/endpoints";
|
|
2110
2319
|
findEndpoints(options?: ApiRequestOptions$1): Observable<PlatformEndpointPageResponse>;
|
|
2111
2320
|
findEndpointById(id: string): Observable<PlatformEndpointDetailResponse>;
|
|
2112
2321
|
private toPage;
|
|
@@ -2118,14 +2327,13 @@ declare class PlatformEndpointService extends BaseService {
|
|
|
2118
2327
|
private readString;
|
|
2119
2328
|
private readOptionalString;
|
|
2120
2329
|
private asRecord;
|
|
2121
|
-
private unwrapData;
|
|
2122
2330
|
private extractAttributes;
|
|
2123
2331
|
static ɵfac: i0.ɵɵFactoryDeclaration<PlatformEndpointService, never>;
|
|
2124
2332
|
static ɵprov: i0.ɵɵInjectableDeclaration<PlatformEndpointService>;
|
|
2125
2333
|
}
|
|
2126
2334
|
|
|
2127
2335
|
declare class PlatformServiceRegistryService extends BaseService {
|
|
2128
|
-
|
|
2336
|
+
protected readonly endpoint = "platform/service-registry";
|
|
2129
2337
|
findServices(options?: ApiRequestOptions$1): Observable<PlatformServiceRegistryPageResponse>;
|
|
2130
2338
|
findServiceById(id: string): Observable<PlatformServiceRegistryDetailResponse>;
|
|
2131
2339
|
createService(request: CreatePlatformServiceRegistryRequest): Observable<PlatformServiceRegistryDetailResponse>;
|
|
@@ -2140,14 +2348,13 @@ declare class PlatformServiceRegistryService extends BaseService {
|
|
|
2140
2348
|
private readString;
|
|
2141
2349
|
private readOptionalString;
|
|
2142
2350
|
private asRecord;
|
|
2143
|
-
private unwrapData;
|
|
2144
2351
|
private extractAttributes;
|
|
2145
2352
|
static ɵfac: i0.ɵɵFactoryDeclaration<PlatformServiceRegistryService, never>;
|
|
2146
2353
|
static ɵprov: i0.ɵɵInjectableDeclaration<PlatformServiceRegistryService>;
|
|
2147
2354
|
}
|
|
2148
2355
|
|
|
2149
2356
|
declare class PlatformAuthClientService extends BaseService {
|
|
2150
|
-
|
|
2357
|
+
protected readonly endpoint = "platform/clients";
|
|
2151
2358
|
findClients(options?: ApiRequestOptions$1): Observable<PlatformAuthClientPageResponse>;
|
|
2152
2359
|
findClientById(id: string): Observable<PlatformAuthClientDetailResponse>;
|
|
2153
2360
|
createClient(request: CreatePlatformAuthClientRequest): Observable<PlatformAuthClientDetailResponse>;
|
|
@@ -2164,14 +2371,13 @@ declare class PlatformAuthClientService extends BaseService {
|
|
|
2164
2371
|
private readString;
|
|
2165
2372
|
private readOptionalString;
|
|
2166
2373
|
private asRecord;
|
|
2167
|
-
private unwrapData;
|
|
2168
2374
|
private extractAttributes;
|
|
2169
2375
|
static ɵfac: i0.ɵɵFactoryDeclaration<PlatformAuthClientService, never>;
|
|
2170
2376
|
static ɵprov: i0.ɵɵInjectableDeclaration<PlatformAuthClientService>;
|
|
2171
2377
|
}
|
|
2172
2378
|
|
|
2173
2379
|
declare class PlatformUserService extends BaseService {
|
|
2174
|
-
|
|
2380
|
+
protected readonly endpoint = "platform/users";
|
|
2175
2381
|
findUsers(options?: ApiRequestOptions$1): Observable<PlatformUserPageResponse>;
|
|
2176
2382
|
findUserById(id: string): Observable<PlatformUserDetailResponse>;
|
|
2177
2383
|
findUserContext(id: string): Observable<PlatformUserContextResponse | null>;
|
|
@@ -2186,13 +2392,12 @@ declare class PlatformUserService extends BaseService {
|
|
|
2186
2392
|
private readString;
|
|
2187
2393
|
private readOptionalString;
|
|
2188
2394
|
private asRecord;
|
|
2189
|
-
private unwrapData;
|
|
2190
2395
|
static ɵfac: i0.ɵɵFactoryDeclaration<PlatformUserService, never>;
|
|
2191
2396
|
static ɵprov: i0.ɵɵInjectableDeclaration<PlatformUserService>;
|
|
2192
2397
|
}
|
|
2193
2398
|
|
|
2194
2399
|
declare class PermissionService extends BaseService {
|
|
2195
|
-
|
|
2400
|
+
protected readonly endpoint = "platform/role-permissions";
|
|
2196
2401
|
findRoles(options: FindRolePermissionRolesOptions): Observable<ApiResponse<RolePermissionIndexItem[]>>;
|
|
2197
2402
|
getRoleSummary(roleId: string, options: FindRolePermissionSummaryOptions): Observable<ApiResponse<RolePermissionSummary>>;
|
|
2198
2403
|
findAssignablePermissions(roleId: string, options: FindAssignablePermissionsOptions): Observable<ApiResponse<PermissionSummary[]>>;
|
|
@@ -2203,7 +2408,7 @@ declare class PermissionService extends BaseService {
|
|
|
2203
2408
|
}
|
|
2204
2409
|
|
|
2205
2410
|
declare class RoleService extends BaseService {
|
|
2206
|
-
|
|
2411
|
+
protected readonly endpoint = "platform/roles";
|
|
2207
2412
|
findPlatformRoles(options?: ApiRequestOptions$1): Observable<RoleResponse[]>;
|
|
2208
2413
|
findPlatformRoleById(id: string): Observable<RoleResponse>;
|
|
2209
2414
|
createPlatformRole(request: CreateRoleRequest): Observable<RoleResponse>;
|
|
@@ -2211,7 +2416,7 @@ declare class RoleService extends BaseService {
|
|
|
2211
2416
|
findPlatformRolePermissionPage(id: string): Observable<RolePermissionPageResponse>;
|
|
2212
2417
|
updatePlatformRolePermissions(id: string, request: UpdateRolePermissionsRequest): Observable<RoleResponse>;
|
|
2213
2418
|
deletePlatformRoleById(id: string): Observable<string>;
|
|
2214
|
-
findApplicationRoles(appId
|
|
2419
|
+
findApplicationRoles(appId: string): Observable<RoleResponse[]>;
|
|
2215
2420
|
findApplicationRoleById(id: string, appId?: string | null): Observable<RoleResponse>;
|
|
2216
2421
|
createApplicationRole(request: CreateRoleRequest, appId?: string | null): Observable<RoleResponse>;
|
|
2217
2422
|
updateApplicationRole(id: string, request: UpdateRoleRequest, appId?: string | null): Observable<RoleResponse>;
|
|
@@ -2237,7 +2442,7 @@ declare class RoleService extends BaseService {
|
|
|
2237
2442
|
}
|
|
2238
2443
|
|
|
2239
2444
|
declare class OrganizationInvitationService extends BaseService {
|
|
2240
|
-
|
|
2445
|
+
protected readonly endpoint = "platform/organizations";
|
|
2241
2446
|
findInvitations(orgId: string): Observable<OrganizationInvitationPageResponse>;
|
|
2242
2447
|
createInvitation(orgId: string, request: CreateOrganizationInvitationRequest): Observable<OrganizationInvitationResponse>;
|
|
2243
2448
|
resendInvitation(orgId: string, invitationId: string): Observable<void>;
|
|
@@ -2249,7 +2454,7 @@ declare class OrganizationInvitationService extends BaseService {
|
|
|
2249
2454
|
}
|
|
2250
2455
|
|
|
2251
2456
|
declare class OrganizationMemberService extends BaseService {
|
|
2252
|
-
|
|
2457
|
+
protected readonly endpoint = "platform/organizations";
|
|
2253
2458
|
findMembers(orgId: string): Observable<OrganizationMemberResponse[]>;
|
|
2254
2459
|
findMemberById(orgId: string, memberId: string): Observable<OrganizationMemberResponse>;
|
|
2255
2460
|
updateMemberRoles(orgId: string, memberId: string, request: UpdateOrganizationMemberRolesRequest): Observable<OrganizationMemberResponse>;
|
|
@@ -2261,7 +2466,7 @@ declare class OrganizationMemberService extends BaseService {
|
|
|
2261
2466
|
}
|
|
2262
2467
|
|
|
2263
2468
|
declare class OnboardingApplicantService extends BaseService {
|
|
2264
|
-
|
|
2469
|
+
protected readonly endpoint = "onboarding/applications";
|
|
2265
2470
|
createApplication(payload: CreateOnboardingApplicationRequest): Observable<OnboardingApplicationResponse>;
|
|
2266
2471
|
listMine(): Observable<OnboardingApplicationResponse[]>;
|
|
2267
2472
|
getApplication(applicationId: string): Observable<OnboardingApplicationDetailResponse>;
|
|
@@ -2276,8 +2481,8 @@ declare class OnboardingApplicantService extends BaseService {
|
|
|
2276
2481
|
}
|
|
2277
2482
|
|
|
2278
2483
|
declare class OnboardingAdminService extends BaseService {
|
|
2279
|
-
|
|
2280
|
-
list(
|
|
2484
|
+
protected readonly endpoint = "onboarding/admin/applications";
|
|
2485
|
+
list(options: OnboardingAdminListOptions): Observable<ApiResponse<OnboardingApplicationResponse[]>>;
|
|
2281
2486
|
getApplication(applicationId: string): Observable<OnboardingApplicationDetailResponse>;
|
|
2282
2487
|
getDocumentPreviewUrl(applicationId: string, documentId: string): Observable<OnboardingDocumentPreviewUrlResponse>;
|
|
2283
2488
|
startReview(applicationId: string): Observable<OnboardingApplicationResponse>;
|
|
@@ -2289,7 +2494,7 @@ declare class OnboardingAdminService extends BaseService {
|
|
|
2289
2494
|
}
|
|
2290
2495
|
|
|
2291
2496
|
declare class OnboardingDocumentService extends BaseService {
|
|
2292
|
-
|
|
2497
|
+
protected readonly endpoint = "onboarding/documents";
|
|
2293
2498
|
getPreviewUrl(documentId: string): Observable<OnboardingDocumentPreviewUrlResponse>;
|
|
2294
2499
|
static ɵfac: i0.ɵɵFactoryDeclaration<OnboardingDocumentService, never>;
|
|
2295
2500
|
static ɵprov: i0.ɵɵInjectableDeclaration<OnboardingDocumentService>;
|
|
@@ -2342,6 +2547,18 @@ declare class LanguageService {
|
|
|
2342
2547
|
static ɵprov: i0.ɵɵInjectableDeclaration<LanguageService>;
|
|
2343
2548
|
}
|
|
2344
2549
|
|
|
2550
|
+
declare class BillingProfileService extends BaseService {
|
|
2551
|
+
protected readonly endpoint = "billing/profile";
|
|
2552
|
+
getOrCreate(): Observable<ApiResponse<BillingProfileResponse>>;
|
|
2553
|
+
updateProfile(body: BillingProfileUpsertParam): Observable<ApiResponse<BillingProfileResponse>>;
|
|
2554
|
+
patchProfile(body: Partial<BillingProfileUpsertParam>): Observable<ApiResponse<BillingProfileResponse>>;
|
|
2555
|
+
patchProfile1(body: Partial<BillingProfileUpsertParam>): Observable<ApiResponse<BillingProfileResponse>>;
|
|
2556
|
+
enable(): Observable<ApiResponse<BillingProfileResponse>>;
|
|
2557
|
+
disable(): Observable<ApiResponse<BillingProfileResponse>>;
|
|
2558
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BillingProfileService, never>;
|
|
2559
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BillingProfileService>;
|
|
2560
|
+
}
|
|
2561
|
+
|
|
2345
2562
|
declare class LoadingInterceptor {
|
|
2346
2563
|
loadingService: LoadingService;
|
|
2347
2564
|
activeRequests: number;
|
|
@@ -2386,5 +2603,5 @@ declare function onboardingDocumentTypeLabel(type: OnboardingDocumentType | null
|
|
|
2386
2603
|
declare function onboardingIssueTypeLabel(type: OnboardingIssueType | null | undefined): string;
|
|
2387
2604
|
declare function onboardingVatModeLabel(mode: OnboardingVatMode | null | undefined): string;
|
|
2388
2605
|
|
|
2389
|
-
export { AmenityService, ApplicationService, AutomationService, BackButtonDirective, BaseService, BillingService, BookingService, BreadcrumbService, CartEventType, CartService, CategoryService, ConversationInitService, ConversationService, DialogComponent, DialogService, EnumApiClient, EnumCacheService, FacilityService, FeatureService, FloorplanService, FulfillmentService, HideFooterDirective, I18nLocaleService, InventoryService, InvoiceLineService, InvoiceService, InvoiceStatsService, LanguageService, 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, OnboardingDocumentService, 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 };
|
|
2390
|
-
export type { AdverseCreditStatus, ApiRequestOptions, ApplicantType, ApplicationDetailResponse, ApplicationMemberDetailResponse, ApplicationMemberOrganizationMembershipResponse, ApplicationMemberPageResponse, ApplicationMemberSummaryResponse, ApplicationMemberVerificationResponse, 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,
|
|
2606
|
+
export { AmenityService, ApplicationService, AutomationService, BackButtonDirective, BaseService, BillingProfileService, BillingService, BookingService, BreadcrumbService, CartEventType, CartService, CategoryService, ConversationInitService, ConversationService, DialogComponent, DialogService, EnumApiClient, EnumCacheService, FacilityService, FeatureService, FloorplanService, FulfillmentService, HideFooterDirective, I18nLocaleService, InventoryService, InvoiceLineService, InvoiceService, InvoiceStatsService, LanguageService, 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, OnboardingDocumentService, OrderPayoutService, OrderService, OrganizationInvitationService, OrganizationMemberService, PROPERTY_OFFER_STATUS_LABEL, PaymentService, PermissionService, PlatformAuthClientService, PlatformEndpointService, PlatformServiceRegistryService, PlatformUserService, PostService, ProductCategoryService, ProductService, PropertyApplicantType, PropertyHighlightsService, PropertyOfferCounterService, PropertyOfferService, PropertyOfferStatus, PropertySearchService, PropertyService, PropertyStatsService, PropertyViewerCategory, PropertyViewingService, PropertyViewingStatus, PropertyViewingType, ResourceCategoryService, ResourceService, RoleService, SCHEDULE_CRON_META, SERVICE_DIRECTIVES, SidenavService, SnackBarService, SupportService, ThemeService, TimeZoneService, TitleService, acceptLanguageInterceptor, offerStatusLabel, onboardingApplicantTypeLabel, onboardingDocumentTypeLabel, onboardingIssueTypeLabel, onboardingStatusLabel, onboardingVatModeLabel, provideAngularServices };
|
|
2607
|
+
export type { AdverseCreditStatus, ApiRequestOptions, ApplicantType, ApplicationDetailResponse, ApplicationMemberDetailResponse, ApplicationMemberOrganizationMembershipResponse, ApplicationMemberPageResponse, ApplicationMemberSummaryResponse, ApplicationMemberVerificationResponse, ApplicationOrganizationPageResponse, ApplicationOrganizationResponse, ApplicationPageResponse, ApplicationStatus, ApplicationSummaryResponse, ApproveOnboardingApplicationRequest, AuthScope, AutomationDefinition, AutomationDefinitionDto, AutomationExecution, AutomationExecutionDto, AutomationExecutionLog, AutomationExecutionStatus, AutomationLogLevel, AutomationSchedule, AutomationScheduleDto, AutomationSummaryResponse, BaseEntity, BillingProfileResponse, BillingProfileUpsertParam, 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, OnboardingAdminListOptions, OnboardingApplicantType, OnboardingApplicationDetailResponse, OnboardingApplicationResponse, OnboardingDocumentPreviewUrlResponse, OnboardingDocumentResponse, OnboardingDocumentType, OnboardingIssueResponse, OnboardingIssueType, OnboardingProgress, OnboardingProvisionStatus, OnboardingStatus, OnboardingTimelineResponse, OnboardingUploadUrlResponse, OnboardingVatMode, OrganizationInvitationAcceptanceResponse, OrganizationInvitationPageResponse, OrganizationInvitationResponse, OrganizationInvitationStatus, OrganizationMemberCollectionResponse, OrganizationMemberResponse, OrganizationMembershipStatus, 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, PropertyApplicantTypeCode, PropertyOfferActor, PropertyOfferCounterRequest, PropertyOfferHistory, PropertyOfferInternalNoteResponse, PropertyOfferItem, PropertyOfferItemMedia, PropertyOfferNegotiationView, PropertyOfferResponse, PropertyOfferVersion, PropertyStats, PropertyViewingItem, PropertyViewingItemMedia, PropertyViewingResponse, PropertyViewingStatusCode, PropertyViewingtypeCode, 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, ViewingProposedSlot, ViewingType, VisaShareCodeStatus, VisaStatus };
|