@rolatech/angular-services 20.3.2-beta.4 → 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
|
}
|
|
@@ -1480,7 +1611,7 @@ interface BillingProfileResponse {
|
|
|
1480
1611
|
}
|
|
1481
1612
|
|
|
1482
1613
|
declare class PostService extends BaseService {
|
|
1483
|
-
|
|
1614
|
+
protected readonly endpoint = "posts";
|
|
1484
1615
|
list(options?: PostQuery, withCredentials?: boolean): Observable<any>;
|
|
1485
1616
|
listPublished(options?: PostQuery): Observable<any>;
|
|
1486
1617
|
getByIdOrSlug(idOrSlug: string, withCredentials?: boolean): Observable<any>;
|
|
@@ -1496,7 +1627,9 @@ declare class PostService extends BaseService {
|
|
|
1496
1627
|
}
|
|
1497
1628
|
|
|
1498
1629
|
declare class OrderPayoutService extends BaseService {
|
|
1499
|
-
|
|
1630
|
+
protected readonly endpoint = "orders/payouts";
|
|
1631
|
+
find(options?: any, withCredentials?: boolean): Observable<any>;
|
|
1632
|
+
getPayout(id: string, withCredentials?: boolean): Observable<any>;
|
|
1500
1633
|
me(options: any): Observable<any>;
|
|
1501
1634
|
approve(id: string): Observable<any>;
|
|
1502
1635
|
static ɵfac: i0.ɵɵFactoryDeclaration<OrderPayoutService, never>;
|
|
@@ -1504,7 +1637,12 @@ declare class OrderPayoutService extends BaseService {
|
|
|
1504
1637
|
}
|
|
1505
1638
|
|
|
1506
1639
|
declare class ResourceService extends BaseService {
|
|
1507
|
-
|
|
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>;
|
|
1508
1646
|
me(options: any): Observable<any>;
|
|
1509
1647
|
findByIds(ids: string): Observable<any>;
|
|
1510
1648
|
filter(options: any): Observable<any>;
|
|
@@ -1540,7 +1678,8 @@ declare class ResourceService extends BaseService {
|
|
|
1540
1678
|
}
|
|
1541
1679
|
|
|
1542
1680
|
declare class ResourceCategoryService extends BaseService {
|
|
1543
|
-
|
|
1681
|
+
protected readonly endpoint = "resources/categories";
|
|
1682
|
+
find(options?: any, withCredentials?: boolean): Observable<any>;
|
|
1544
1683
|
uploadMedia(id: string, data: FormData): Observable<any>;
|
|
1545
1684
|
deleteMedia(id: string, mediaId: string): Observable<any>;
|
|
1546
1685
|
static ɵfac: i0.ɵɵFactoryDeclaration<ResourceCategoryService, never>;
|
|
@@ -1548,7 +1687,7 @@ declare class ResourceCategoryService extends BaseService {
|
|
|
1548
1687
|
}
|
|
1549
1688
|
|
|
1550
1689
|
declare class BookingService extends BaseService {
|
|
1551
|
-
|
|
1690
|
+
protected readonly endpoint = "bookings";
|
|
1552
1691
|
by(options: any): Observable<any>;
|
|
1553
1692
|
me(options: any): Observable<any>;
|
|
1554
1693
|
timeline(id: string): Observable<any>;
|
|
@@ -1565,19 +1704,25 @@ declare class BookingService extends BaseService {
|
|
|
1565
1704
|
}
|
|
1566
1705
|
|
|
1567
1706
|
declare class FacilityService extends BaseService {
|
|
1568
|
-
|
|
1707
|
+
protected readonly endpoint = "facilities";
|
|
1569
1708
|
static ɵfac: i0.ɵɵFactoryDeclaration<FacilityService, never>;
|
|
1570
1709
|
static ɵprov: i0.ɵɵInjectableDeclaration<FacilityService>;
|
|
1571
1710
|
}
|
|
1572
1711
|
|
|
1573
1712
|
declare class AmenityService extends BaseService {
|
|
1574
|
-
|
|
1713
|
+
protected readonly endpoint = "resources/amenities";
|
|
1714
|
+
find(options?: any, withCredentials?: boolean): Observable<any>;
|
|
1575
1715
|
static ɵfac: i0.ɵɵFactoryDeclaration<AmenityService, never>;
|
|
1576
1716
|
static ɵprov: i0.ɵɵInjectableDeclaration<AmenityService>;
|
|
1577
1717
|
}
|
|
1578
1718
|
|
|
1579
1719
|
declare class PropertyService extends BaseService {
|
|
1580
|
-
|
|
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>;
|
|
1581
1726
|
me(options: any): Observable<any>;
|
|
1582
1727
|
byAgent(options: any): Observable<ApiResponse<any>>;
|
|
1583
1728
|
findByIds(ids: Array<string>): Observable<any>;
|
|
@@ -1678,7 +1823,9 @@ declare class PropertyService extends BaseService {
|
|
|
1678
1823
|
}
|
|
1679
1824
|
|
|
1680
1825
|
declare class FeatureService extends BaseService {
|
|
1681
|
-
|
|
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>;
|
|
1682
1829
|
addFeature(data: any): Observable<any>;
|
|
1683
1830
|
updateFeature(featureId: string, data: any): Observable<any>;
|
|
1684
1831
|
deleteFeature(featureId: string): Observable<any>;
|
|
@@ -1687,7 +1834,9 @@ declare class FeatureService extends BaseService {
|
|
|
1687
1834
|
}
|
|
1688
1835
|
|
|
1689
1836
|
declare class PaymentService extends BaseService {
|
|
1690
|
-
|
|
1837
|
+
protected readonly endpoint = "payments";
|
|
1838
|
+
find(options?: any, withCredentials?: boolean): Observable<any>;
|
|
1839
|
+
getPayment(id: string, withCredentials?: boolean): Observable<any>;
|
|
1691
1840
|
me(options: any): Observable<any>;
|
|
1692
1841
|
createPaymentIntent(data: any): Observable<any>;
|
|
1693
1842
|
createPayment(data: any): Observable<any>;
|
|
@@ -1696,7 +1845,11 @@ declare class PaymentService extends BaseService {
|
|
|
1696
1845
|
}
|
|
1697
1846
|
|
|
1698
1847
|
declare class OfferingService extends BaseService {
|
|
1699
|
-
|
|
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>;
|
|
1700
1853
|
me(options: any): Observable<any>;
|
|
1701
1854
|
findByIds(ids: Array<string>): Observable<any>;
|
|
1702
1855
|
publish(propertyId: string): Observable<any>;
|
|
@@ -1764,7 +1917,8 @@ declare class OfferingService extends BaseService {
|
|
|
1764
1917
|
}
|
|
1765
1918
|
|
|
1766
1919
|
declare class MembershipService extends BaseService {
|
|
1767
|
-
|
|
1920
|
+
protected readonly endpoint = "memberships";
|
|
1921
|
+
findMemberships(options: any): Observable<any>;
|
|
1768
1922
|
me(options: any): Observable<any>;
|
|
1769
1923
|
createPlan(data: any): Observable<any>;
|
|
1770
1924
|
findPlans(options: any): Observable<any>;
|
|
@@ -1779,7 +1933,12 @@ declare class MembershipService extends BaseService {
|
|
|
1779
1933
|
}
|
|
1780
1934
|
|
|
1781
1935
|
declare class CategoryService extends BaseService {
|
|
1782
|
-
|
|
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>;
|
|
1783
1942
|
uploadMedia(id: string, data: FormData): Observable<any>;
|
|
1784
1943
|
deleteMedia(id: string, mediaId: string): Observable<any>;
|
|
1785
1944
|
importFromExcel(data: FormData): Observable<any>;
|
|
@@ -1901,7 +2060,7 @@ interface SearchResult<T> {
|
|
|
1901
2060
|
};
|
|
1902
2061
|
}
|
|
1903
2062
|
declare class PropertySearchService extends BaseService {
|
|
1904
|
-
|
|
2063
|
+
protected readonly endpoint = "properties";
|
|
1905
2064
|
search<T = any>(rawParams: Record<string, any>): Observable<SearchResult<T>>;
|
|
1906
2065
|
stripUndefined<T extends Record<string, any>>(obj: T): Partial<T>;
|
|
1907
2066
|
isEmptyFilter(params: Record<string, any>, ignoreKeys?: string[]): boolean;
|
|
@@ -1922,13 +2081,15 @@ declare class TimeZoneService {
|
|
|
1922
2081
|
}
|
|
1923
2082
|
|
|
1924
2083
|
declare class BillingService extends BaseService {
|
|
1925
|
-
|
|
2084
|
+
protected readonly endpoint = "billing";
|
|
1926
2085
|
static ɵfac: i0.ɵɵFactoryDeclaration<BillingService, never>;
|
|
1927
2086
|
static ɵprov: i0.ɵɵInjectableDeclaration<BillingService>;
|
|
1928
2087
|
}
|
|
1929
2088
|
|
|
1930
2089
|
declare class InvoiceService extends BaseService {
|
|
1931
|
-
|
|
2090
|
+
protected readonly endpoint = "billing/invoices";
|
|
2091
|
+
create(data: any): Observable<any>;
|
|
2092
|
+
update(id: string, data: any): Observable<any>;
|
|
1932
2093
|
createByManager(data: any): Observable<any>;
|
|
1933
2094
|
findByManager(options: any): Observable<ApiResponse<any>>;
|
|
1934
2095
|
getInvoice(id: string): Observable<any>;
|
|
@@ -1942,7 +2103,7 @@ declare class InvoiceService extends BaseService {
|
|
|
1942
2103
|
}
|
|
1943
2104
|
|
|
1944
2105
|
declare class PropertyHighlightsService extends BaseService {
|
|
1945
|
-
|
|
2106
|
+
protected readonly endpoint = "properties";
|
|
1946
2107
|
getHighlights<T>(id: string): Observable<T>;
|
|
1947
2108
|
addHighlight<T>(id: string, text: string, position?: number | null): Observable<T>;
|
|
1948
2109
|
replaceAllHighlights<T>(id: string, highlights: string[]): Observable<T>;
|
|
@@ -1954,7 +2115,7 @@ declare class PropertyHighlightsService extends BaseService {
|
|
|
1954
2115
|
}
|
|
1955
2116
|
|
|
1956
2117
|
declare class FloorplanService extends BaseService {
|
|
1957
|
-
|
|
2118
|
+
protected readonly endpoint = "properties";
|
|
1958
2119
|
uploadFloorplan(propertyId: string, data: FormData): Observable<any>;
|
|
1959
2120
|
listFloorplans(propertyId: string): Observable<any>;
|
|
1960
2121
|
deleteFloorplan(propertyId: string, floorplanId: string): Observable<any>;
|
|
@@ -1963,22 +2124,22 @@ declare class FloorplanService extends BaseService {
|
|
|
1963
2124
|
}
|
|
1964
2125
|
|
|
1965
2126
|
declare class PropertyStatsService extends BaseService {
|
|
1966
|
-
|
|
2127
|
+
protected readonly endpoint = "properties";
|
|
1967
2128
|
stats(): Observable<PropertyStats>;
|
|
1968
2129
|
static ɵfac: i0.ɵɵFactoryDeclaration<PropertyStatsService, never>;
|
|
1969
2130
|
static ɵprov: i0.ɵɵInjectableDeclaration<PropertyStatsService>;
|
|
1970
2131
|
}
|
|
1971
2132
|
|
|
1972
2133
|
declare class InvoiceStatsService extends BaseService {
|
|
1973
|
-
|
|
2134
|
+
protected readonly endpoint = "billing/invoices";
|
|
1974
2135
|
stats(): Observable<InvoiceStats>;
|
|
1975
2136
|
static ɵfac: i0.ɵɵFactoryDeclaration<InvoiceStatsService, never>;
|
|
1976
2137
|
static ɵprov: i0.ɵɵInjectableDeclaration<InvoiceStatsService>;
|
|
1977
2138
|
}
|
|
1978
2139
|
|
|
1979
2140
|
declare class PropertyOfferService extends BaseService {
|
|
2141
|
+
protected readonly endpoint = "properties";
|
|
1980
2142
|
propertyService: PropertyService;
|
|
1981
|
-
init(): void;
|
|
1982
2143
|
makeOffer(propertyId: string, data: any): Observable<any>;
|
|
1983
2144
|
findOffers(options: any): Observable<any>;
|
|
1984
2145
|
search<T = any>(rawParams: Record<string, any>): Observable<ApiResponse<T>>;
|
|
@@ -2014,14 +2175,14 @@ declare class PropertyOfferService extends BaseService {
|
|
|
2014
2175
|
}
|
|
2015
2176
|
|
|
2016
2177
|
declare class PropertyViewingService extends BaseService {
|
|
2178
|
+
protected readonly endpoint = "properties";
|
|
2017
2179
|
propertyService: PropertyService;
|
|
2018
|
-
init(): void;
|
|
2019
2180
|
static ɵfac: i0.ɵɵFactoryDeclaration<PropertyViewingService, never>;
|
|
2020
2181
|
static ɵprov: i0.ɵɵInjectableDeclaration<PropertyViewingService>;
|
|
2021
2182
|
}
|
|
2022
2183
|
|
|
2023
2184
|
declare class AutomationService extends BaseService {
|
|
2024
|
-
|
|
2185
|
+
protected readonly endpoint = "automations";
|
|
2025
2186
|
summary(): Observable<any>;
|
|
2026
2187
|
listDefinitions(options?: ApiRequestOptions, withCredentials?: boolean): Observable<ApiResponse<AutomationDefinitionDto[]>>;
|
|
2027
2188
|
getDefinition(id: string, options?: ApiRequestOptions, withCredentials?: boolean): Observable<AutomationDefinitionDto>;
|
|
@@ -2079,7 +2240,7 @@ declare class EnumApiClient {
|
|
|
2079
2240
|
}
|
|
2080
2241
|
|
|
2081
2242
|
declare class InvoiceLineService extends BaseService {
|
|
2082
|
-
|
|
2243
|
+
protected readonly endpoint = "billing/invoices";
|
|
2083
2244
|
createByManager(data: any): Observable<any>;
|
|
2084
2245
|
findByManager(options: any): Observable<ApiResponse<any>>;
|
|
2085
2246
|
getInvoice(id: string): Observable<any>;
|
|
@@ -2091,7 +2252,7 @@ declare class InvoiceLineService extends BaseService {
|
|
|
2091
2252
|
}
|
|
2092
2253
|
|
|
2093
2254
|
declare class PropertyOfferCounterService extends BaseService {
|
|
2094
|
-
|
|
2255
|
+
protected readonly endpoint = "properties";
|
|
2095
2256
|
getNegotiationViewByAgent(id: string): Observable<ApiResponse<PropertyOfferNegotiationView>>;
|
|
2096
2257
|
getNegotiationViewByTenant(id: string): Observable<ApiResponse<PropertyOfferNegotiationView>>;
|
|
2097
2258
|
getVersions(id: string): Observable<ApiResponse<PropertyOfferVersion[]>>;
|
|
@@ -2125,8 +2286,8 @@ declare class PropertyOfferCounterService extends BaseService {
|
|
|
2125
2286
|
}
|
|
2126
2287
|
|
|
2127
2288
|
declare class ApplicationService extends BaseService {
|
|
2128
|
-
|
|
2129
|
-
findApplications(options?: ApiRequestOptions$1): Observable<
|
|
2289
|
+
protected readonly endpoint = "platform/applications";
|
|
2290
|
+
findApplications(options?: ApiRequestOptions$1): Observable<ApiResponse<ApplicationSummaryResponse[]>>;
|
|
2130
2291
|
findApplicationById(id: string): Observable<ApplicationDetailResponse>;
|
|
2131
2292
|
createApplication(request: CreateApplicationRequest): Observable<ApplicationDetailResponse>;
|
|
2132
2293
|
updateApplication(id: string, request: UpdateApplicationRequest): Observable<ApplicationDetailResponse>;
|
|
@@ -2134,8 +2295,8 @@ declare class ApplicationService extends BaseService {
|
|
|
2134
2295
|
findApplicationMembers(id: string, options?: ApiRequestOptions$1): Observable<ApplicationMemberPageResponse>;
|
|
2135
2296
|
findApplicationMemberById(id: string, memberId: string): Observable<ApplicationMemberDetailResponse>;
|
|
2136
2297
|
resetOrganizationOwnerPassword(id: string, organizationId: string): Observable<void>;
|
|
2137
|
-
private
|
|
2138
|
-
private
|
|
2298
|
+
private unwrapEnvelope;
|
|
2299
|
+
private toSimplePage;
|
|
2139
2300
|
private toMemberPage;
|
|
2140
2301
|
private toMemberDetail;
|
|
2141
2302
|
private toMemberSummary;
|
|
@@ -2143,18 +2304,18 @@ declare class ApplicationService extends BaseService {
|
|
|
2143
2304
|
private readOrganizationMemberships;
|
|
2144
2305
|
private readRoles;
|
|
2145
2306
|
private readStringArray;
|
|
2307
|
+
private readPaginationCount;
|
|
2146
2308
|
private readString;
|
|
2147
2309
|
private readOptionalString;
|
|
2148
2310
|
private readNumber;
|
|
2149
2311
|
private readBoolean;
|
|
2150
2312
|
private asRecord;
|
|
2151
|
-
private unwrapData;
|
|
2152
2313
|
static ɵfac: i0.ɵɵFactoryDeclaration<ApplicationService, never>;
|
|
2153
2314
|
static ɵprov: i0.ɵɵInjectableDeclaration<ApplicationService>;
|
|
2154
2315
|
}
|
|
2155
2316
|
|
|
2156
2317
|
declare class PlatformEndpointService extends BaseService {
|
|
2157
|
-
|
|
2318
|
+
protected readonly endpoint = "platform/endpoints";
|
|
2158
2319
|
findEndpoints(options?: ApiRequestOptions$1): Observable<PlatformEndpointPageResponse>;
|
|
2159
2320
|
findEndpointById(id: string): Observable<PlatformEndpointDetailResponse>;
|
|
2160
2321
|
private toPage;
|
|
@@ -2166,14 +2327,13 @@ declare class PlatformEndpointService extends BaseService {
|
|
|
2166
2327
|
private readString;
|
|
2167
2328
|
private readOptionalString;
|
|
2168
2329
|
private asRecord;
|
|
2169
|
-
private unwrapData;
|
|
2170
2330
|
private extractAttributes;
|
|
2171
2331
|
static ɵfac: i0.ɵɵFactoryDeclaration<PlatformEndpointService, never>;
|
|
2172
2332
|
static ɵprov: i0.ɵɵInjectableDeclaration<PlatformEndpointService>;
|
|
2173
2333
|
}
|
|
2174
2334
|
|
|
2175
2335
|
declare class PlatformServiceRegistryService extends BaseService {
|
|
2176
|
-
|
|
2336
|
+
protected readonly endpoint = "platform/service-registry";
|
|
2177
2337
|
findServices(options?: ApiRequestOptions$1): Observable<PlatformServiceRegistryPageResponse>;
|
|
2178
2338
|
findServiceById(id: string): Observable<PlatformServiceRegistryDetailResponse>;
|
|
2179
2339
|
createService(request: CreatePlatformServiceRegistryRequest): Observable<PlatformServiceRegistryDetailResponse>;
|
|
@@ -2188,14 +2348,13 @@ declare class PlatformServiceRegistryService extends BaseService {
|
|
|
2188
2348
|
private readString;
|
|
2189
2349
|
private readOptionalString;
|
|
2190
2350
|
private asRecord;
|
|
2191
|
-
private unwrapData;
|
|
2192
2351
|
private extractAttributes;
|
|
2193
2352
|
static ɵfac: i0.ɵɵFactoryDeclaration<PlatformServiceRegistryService, never>;
|
|
2194
2353
|
static ɵprov: i0.ɵɵInjectableDeclaration<PlatformServiceRegistryService>;
|
|
2195
2354
|
}
|
|
2196
2355
|
|
|
2197
2356
|
declare class PlatformAuthClientService extends BaseService {
|
|
2198
|
-
|
|
2357
|
+
protected readonly endpoint = "platform/clients";
|
|
2199
2358
|
findClients(options?: ApiRequestOptions$1): Observable<PlatformAuthClientPageResponse>;
|
|
2200
2359
|
findClientById(id: string): Observable<PlatformAuthClientDetailResponse>;
|
|
2201
2360
|
createClient(request: CreatePlatformAuthClientRequest): Observable<PlatformAuthClientDetailResponse>;
|
|
@@ -2212,14 +2371,13 @@ declare class PlatformAuthClientService extends BaseService {
|
|
|
2212
2371
|
private readString;
|
|
2213
2372
|
private readOptionalString;
|
|
2214
2373
|
private asRecord;
|
|
2215
|
-
private unwrapData;
|
|
2216
2374
|
private extractAttributes;
|
|
2217
2375
|
static ɵfac: i0.ɵɵFactoryDeclaration<PlatformAuthClientService, never>;
|
|
2218
2376
|
static ɵprov: i0.ɵɵInjectableDeclaration<PlatformAuthClientService>;
|
|
2219
2377
|
}
|
|
2220
2378
|
|
|
2221
2379
|
declare class PlatformUserService extends BaseService {
|
|
2222
|
-
|
|
2380
|
+
protected readonly endpoint = "platform/users";
|
|
2223
2381
|
findUsers(options?: ApiRequestOptions$1): Observable<PlatformUserPageResponse>;
|
|
2224
2382
|
findUserById(id: string): Observable<PlatformUserDetailResponse>;
|
|
2225
2383
|
findUserContext(id: string): Observable<PlatformUserContextResponse | null>;
|
|
@@ -2234,13 +2392,12 @@ declare class PlatformUserService extends BaseService {
|
|
|
2234
2392
|
private readString;
|
|
2235
2393
|
private readOptionalString;
|
|
2236
2394
|
private asRecord;
|
|
2237
|
-
private unwrapData;
|
|
2238
2395
|
static ɵfac: i0.ɵɵFactoryDeclaration<PlatformUserService, never>;
|
|
2239
2396
|
static ɵprov: i0.ɵɵInjectableDeclaration<PlatformUserService>;
|
|
2240
2397
|
}
|
|
2241
2398
|
|
|
2242
2399
|
declare class PermissionService extends BaseService {
|
|
2243
|
-
|
|
2400
|
+
protected readonly endpoint = "platform/role-permissions";
|
|
2244
2401
|
findRoles(options: FindRolePermissionRolesOptions): Observable<ApiResponse<RolePermissionIndexItem[]>>;
|
|
2245
2402
|
getRoleSummary(roleId: string, options: FindRolePermissionSummaryOptions): Observable<ApiResponse<RolePermissionSummary>>;
|
|
2246
2403
|
findAssignablePermissions(roleId: string, options: FindAssignablePermissionsOptions): Observable<ApiResponse<PermissionSummary[]>>;
|
|
@@ -2251,7 +2408,7 @@ declare class PermissionService extends BaseService {
|
|
|
2251
2408
|
}
|
|
2252
2409
|
|
|
2253
2410
|
declare class RoleService extends BaseService {
|
|
2254
|
-
|
|
2411
|
+
protected readonly endpoint = "platform/roles";
|
|
2255
2412
|
findPlatformRoles(options?: ApiRequestOptions$1): Observable<RoleResponse[]>;
|
|
2256
2413
|
findPlatformRoleById(id: string): Observable<RoleResponse>;
|
|
2257
2414
|
createPlatformRole(request: CreateRoleRequest): Observable<RoleResponse>;
|
|
@@ -2259,7 +2416,7 @@ declare class RoleService extends BaseService {
|
|
|
2259
2416
|
findPlatformRolePermissionPage(id: string): Observable<RolePermissionPageResponse>;
|
|
2260
2417
|
updatePlatformRolePermissions(id: string, request: UpdateRolePermissionsRequest): Observable<RoleResponse>;
|
|
2261
2418
|
deletePlatformRoleById(id: string): Observable<string>;
|
|
2262
|
-
findApplicationRoles(appId
|
|
2419
|
+
findApplicationRoles(appId: string): Observable<RoleResponse[]>;
|
|
2263
2420
|
findApplicationRoleById(id: string, appId?: string | null): Observable<RoleResponse>;
|
|
2264
2421
|
createApplicationRole(request: CreateRoleRequest, appId?: string | null): Observable<RoleResponse>;
|
|
2265
2422
|
updateApplicationRole(id: string, request: UpdateRoleRequest, appId?: string | null): Observable<RoleResponse>;
|
|
@@ -2285,7 +2442,7 @@ declare class RoleService extends BaseService {
|
|
|
2285
2442
|
}
|
|
2286
2443
|
|
|
2287
2444
|
declare class OrganizationInvitationService extends BaseService {
|
|
2288
|
-
|
|
2445
|
+
protected readonly endpoint = "platform/organizations";
|
|
2289
2446
|
findInvitations(orgId: string): Observable<OrganizationInvitationPageResponse>;
|
|
2290
2447
|
createInvitation(orgId: string, request: CreateOrganizationInvitationRequest): Observable<OrganizationInvitationResponse>;
|
|
2291
2448
|
resendInvitation(orgId: string, invitationId: string): Observable<void>;
|
|
@@ -2297,7 +2454,7 @@ declare class OrganizationInvitationService extends BaseService {
|
|
|
2297
2454
|
}
|
|
2298
2455
|
|
|
2299
2456
|
declare class OrganizationMemberService extends BaseService {
|
|
2300
|
-
|
|
2457
|
+
protected readonly endpoint = "platform/organizations";
|
|
2301
2458
|
findMembers(orgId: string): Observable<OrganizationMemberResponse[]>;
|
|
2302
2459
|
findMemberById(orgId: string, memberId: string): Observable<OrganizationMemberResponse>;
|
|
2303
2460
|
updateMemberRoles(orgId: string, memberId: string, request: UpdateOrganizationMemberRolesRequest): Observable<OrganizationMemberResponse>;
|
|
@@ -2309,7 +2466,7 @@ declare class OrganizationMemberService extends BaseService {
|
|
|
2309
2466
|
}
|
|
2310
2467
|
|
|
2311
2468
|
declare class OnboardingApplicantService extends BaseService {
|
|
2312
|
-
|
|
2469
|
+
protected readonly endpoint = "onboarding/applications";
|
|
2313
2470
|
createApplication(payload: CreateOnboardingApplicationRequest): Observable<OnboardingApplicationResponse>;
|
|
2314
2471
|
listMine(): Observable<OnboardingApplicationResponse[]>;
|
|
2315
2472
|
getApplication(applicationId: string): Observable<OnboardingApplicationDetailResponse>;
|
|
@@ -2324,8 +2481,8 @@ declare class OnboardingApplicantService extends BaseService {
|
|
|
2324
2481
|
}
|
|
2325
2482
|
|
|
2326
2483
|
declare class OnboardingAdminService extends BaseService {
|
|
2327
|
-
|
|
2328
|
-
list(
|
|
2484
|
+
protected readonly endpoint = "onboarding/admin/applications";
|
|
2485
|
+
list(options: OnboardingAdminListOptions): Observable<ApiResponse<OnboardingApplicationResponse[]>>;
|
|
2329
2486
|
getApplication(applicationId: string): Observable<OnboardingApplicationDetailResponse>;
|
|
2330
2487
|
getDocumentPreviewUrl(applicationId: string, documentId: string): Observable<OnboardingDocumentPreviewUrlResponse>;
|
|
2331
2488
|
startReview(applicationId: string): Observable<OnboardingApplicationResponse>;
|
|
@@ -2337,7 +2494,7 @@ declare class OnboardingAdminService extends BaseService {
|
|
|
2337
2494
|
}
|
|
2338
2495
|
|
|
2339
2496
|
declare class OnboardingDocumentService extends BaseService {
|
|
2340
|
-
|
|
2497
|
+
protected readonly endpoint = "onboarding/documents";
|
|
2341
2498
|
getPreviewUrl(documentId: string): Observable<OnboardingDocumentPreviewUrlResponse>;
|
|
2342
2499
|
static ɵfac: i0.ɵɵFactoryDeclaration<OnboardingDocumentService, never>;
|
|
2343
2500
|
static ɵprov: i0.ɵɵInjectableDeclaration<OnboardingDocumentService>;
|
|
@@ -2391,10 +2548,11 @@ declare class LanguageService {
|
|
|
2391
2548
|
}
|
|
2392
2549
|
|
|
2393
2550
|
declare class BillingProfileService extends BaseService {
|
|
2394
|
-
|
|
2551
|
+
protected readonly endpoint = "billing/profile";
|
|
2395
2552
|
getOrCreate(): Observable<ApiResponse<BillingProfileResponse>>;
|
|
2396
2553
|
updateProfile(body: BillingProfileUpsertParam): Observable<ApiResponse<BillingProfileResponse>>;
|
|
2397
|
-
|
|
2554
|
+
patchProfile(body: Partial<BillingProfileUpsertParam>): Observable<ApiResponse<BillingProfileResponse>>;
|
|
2555
|
+
patchProfile1(body: Partial<BillingProfileUpsertParam>): Observable<ApiResponse<BillingProfileResponse>>;
|
|
2398
2556
|
enable(): Observable<ApiResponse<BillingProfileResponse>>;
|
|
2399
2557
|
disable(): Observable<ApiResponse<BillingProfileResponse>>;
|
|
2400
2558
|
static ɵfac: i0.ɵɵFactoryDeclaration<BillingProfileService, never>;
|
|
@@ -2445,5 +2603,5 @@ declare function onboardingDocumentTypeLabel(type: OnboardingDocumentType | null
|
|
|
2445
2603
|
declare function onboardingIssueTypeLabel(type: OnboardingIssueType | null | undefined): string;
|
|
2446
2604
|
declare function onboardingVatModeLabel(mode: OnboardingVatMode | null | undefined): string;
|
|
2447
2605
|
|
|
2448
|
-
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, 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 };
|
|
2449
|
-
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,
|
|
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 };
|