@vrplatform/api 1.3.1-stage.4711 → 1.3.1-stage.4717
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.
|
@@ -2627,6 +2627,27 @@ export interface paths {
|
|
|
2627
2627
|
patch?: never;
|
|
2628
2628
|
trace?: never;
|
|
2629
2629
|
};
|
|
2630
|
+
"/partner/connections": {
|
|
2631
|
+
parameters: {
|
|
2632
|
+
query?: never;
|
|
2633
|
+
header?: never;
|
|
2634
|
+
path?: never;
|
|
2635
|
+
cookie?: never;
|
|
2636
|
+
};
|
|
2637
|
+
/**
|
|
2638
|
+
* @description List managed teams in one regional partition of the partner portfolio with active connections and current sync state. Supports team and company search, lifecycle, app, and connection error-state filters, pagination, and team ordering. Select the partition with x-data-region.
|
|
2639
|
+
*
|
|
2640
|
+
* Required scope: teams:read
|
|
2641
|
+
*/
|
|
2642
|
+
get: operations["getPartnerConnections"];
|
|
2643
|
+
put?: never;
|
|
2644
|
+
post?: never;
|
|
2645
|
+
delete?: never;
|
|
2646
|
+
options?: never;
|
|
2647
|
+
head?: never;
|
|
2648
|
+
patch?: never;
|
|
2649
|
+
trace?: never;
|
|
2650
|
+
};
|
|
2630
2651
|
"/partner/embed-sessions": {
|
|
2631
2652
|
parameters: {
|
|
2632
2653
|
query?: never;
|
|
@@ -4465,7 +4486,7 @@ export interface paths {
|
|
|
4465
4486
|
cookie?: never;
|
|
4466
4487
|
};
|
|
4467
4488
|
/**
|
|
4468
|
-
* @description Get the current team (singleton: the team in scope via the x-team-id header). Cross-team access uses the plural /teams collection.
|
|
4489
|
+
* @description Get the current team and its dashboard aggregates (singleton: the team in scope via the x-team-id header). Cross-team access uses the plural /teams collection.
|
|
4469
4490
|
*
|
|
4470
4491
|
* Required scope: teams:read
|
|
4471
4492
|
*/
|
|
@@ -4659,7 +4680,7 @@ export interface paths {
|
|
|
4659
4680
|
cookie?: never;
|
|
4660
4681
|
};
|
|
4661
4682
|
/**
|
|
4662
|
-
* @description List accessible teams in one regional data partition. Partner callers can select the partition with x-data-region.
|
|
4683
|
+
* @description List and filter accessible teams in one regional data partition. Billability is always present; includeAggregates opt-in adds partner-dashboard counts. Partner callers can select the partition with x-data-region.
|
|
4663
4684
|
*
|
|
4664
4685
|
* Required scope: teams:read
|
|
4665
4686
|
*/
|
|
@@ -31419,6 +31440,14 @@ export interface operations {
|
|
|
31419
31440
|
/** @enum {string} */
|
|
31420
31441
|
status: "all" | "disabled" | "partially";
|
|
31421
31442
|
}[];
|
|
31443
|
+
isBillable: boolean;
|
|
31444
|
+
aggregates: {
|
|
31445
|
+
activeListings: number;
|
|
31446
|
+
members: number;
|
|
31447
|
+
activeConnections: number;
|
|
31448
|
+
connectionIssues: number;
|
|
31449
|
+
childTeams: number;
|
|
31450
|
+
};
|
|
31422
31451
|
};
|
|
31423
31452
|
};
|
|
31424
31453
|
};
|
|
@@ -31745,6 +31774,14 @@ export interface operations {
|
|
|
31745
31774
|
/** @enum {string} */
|
|
31746
31775
|
status: "all" | "disabled" | "partially";
|
|
31747
31776
|
}[];
|
|
31777
|
+
isBillable: boolean;
|
|
31778
|
+
aggregates: {
|
|
31779
|
+
activeListings: number;
|
|
31780
|
+
members: number;
|
|
31781
|
+
activeConnections: number;
|
|
31782
|
+
connectionIssues: number;
|
|
31783
|
+
childTeams: number;
|
|
31784
|
+
};
|
|
31748
31785
|
};
|
|
31749
31786
|
};
|
|
31750
31787
|
};
|
|
@@ -42487,6 +42524,231 @@ export interface operations {
|
|
|
42487
42524
|
};
|
|
42488
42525
|
};
|
|
42489
42526
|
};
|
|
42527
|
+
getPartnerConnections: {
|
|
42528
|
+
parameters: {
|
|
42529
|
+
query?: {
|
|
42530
|
+
/** @description Filter by team or company name */
|
|
42531
|
+
search?: string;
|
|
42532
|
+
status?: "active" | "inactive" | "onboarding";
|
|
42533
|
+
/** @description Filter teams with an active connection to this app */
|
|
42534
|
+
appId?: string;
|
|
42535
|
+
/** @description Filter teams by whether an active connection is in error */
|
|
42536
|
+
isErrorState?: boolean;
|
|
42537
|
+
/** @description Team field to sort by; defaults to createdAt */
|
|
42538
|
+
sortBy?: "name" | "createdAt";
|
|
42539
|
+
/** @description Sort direction; defaults to desc for createdAt and asc for name */
|
|
42540
|
+
sortDirection?: "asc" | "desc";
|
|
42541
|
+
limit?: number;
|
|
42542
|
+
page?: number;
|
|
42543
|
+
offset?: number;
|
|
42544
|
+
};
|
|
42545
|
+
header?: {
|
|
42546
|
+
/** @description Selects the regional data partition for this regional collection read. It does not change the authenticated team context. */
|
|
42547
|
+
"x-data-region"?: "ap" | "crunchy" | "eu" | "hostaway" | "us";
|
|
42548
|
+
};
|
|
42549
|
+
path?: never;
|
|
42550
|
+
cookie?: never;
|
|
42551
|
+
};
|
|
42552
|
+
requestBody?: never;
|
|
42553
|
+
responses: {
|
|
42554
|
+
/** @description Successful response */
|
|
42555
|
+
200: {
|
|
42556
|
+
headers: {
|
|
42557
|
+
[name: string]: unknown;
|
|
42558
|
+
};
|
|
42559
|
+
content: {
|
|
42560
|
+
"application/json": {
|
|
42561
|
+
data: {
|
|
42562
|
+
/** Format: uuid */
|
|
42563
|
+
id: string;
|
|
42564
|
+
name: string;
|
|
42565
|
+
logo?: string;
|
|
42566
|
+
/**
|
|
42567
|
+
* Format: date-time
|
|
42568
|
+
* @description Timestamp string with date, time, milliseconds, and timezone.
|
|
42569
|
+
* @example 2024-01-15T12:30:00.000+00:00
|
|
42570
|
+
*/
|
|
42571
|
+
createdAt: string;
|
|
42572
|
+
/** @enum {string} */
|
|
42573
|
+
status: "active" | "inactive";
|
|
42574
|
+
isOnboarding: boolean;
|
|
42575
|
+
connections: {
|
|
42576
|
+
/** Format: uuid */
|
|
42577
|
+
id: string;
|
|
42578
|
+
name: string;
|
|
42579
|
+
isErrorState: boolean;
|
|
42580
|
+
app: {
|
|
42581
|
+
id: string;
|
|
42582
|
+
name: string;
|
|
42583
|
+
icon: string | null;
|
|
42584
|
+
/** @enum {string} */
|
|
42585
|
+
category: "paymentGateway" | "accountingPlatform" | "propertyManagementSystem" | "bookingChannel" | "service";
|
|
42586
|
+
};
|
|
42587
|
+
currentSync: {
|
|
42588
|
+
/** @enum {string} */
|
|
42589
|
+
status: "queued" | "started" | "completed" | "failed" | "canceled";
|
|
42590
|
+
/**
|
|
42591
|
+
* Format: date-time
|
|
42592
|
+
* @description Timestamp string with date, time, milliseconds, and timezone.
|
|
42593
|
+
* @example 2024-01-15T12:30:00.000+00:00
|
|
42594
|
+
*/
|
|
42595
|
+
createdAt: string;
|
|
42596
|
+
/**
|
|
42597
|
+
* Format: date-time
|
|
42598
|
+
* @description Timestamp string with date, time, milliseconds, and timezone.
|
|
42599
|
+
* @example 2024-01-15T12:30:00.000+00:00
|
|
42600
|
+
*/
|
|
42601
|
+
updatedAt: string;
|
|
42602
|
+
message?: string | null;
|
|
42603
|
+
} | null;
|
|
42604
|
+
}[];
|
|
42605
|
+
}[];
|
|
42606
|
+
pagination: {
|
|
42607
|
+
/** @default 100 */
|
|
42608
|
+
limit: number;
|
|
42609
|
+
/** @default 1 */
|
|
42610
|
+
page: number;
|
|
42611
|
+
total: number;
|
|
42612
|
+
totalPage: number;
|
|
42613
|
+
nextPage?: number;
|
|
42614
|
+
};
|
|
42615
|
+
};
|
|
42616
|
+
};
|
|
42617
|
+
};
|
|
42618
|
+
/** @description Bad request */
|
|
42619
|
+
400: {
|
|
42620
|
+
headers: {
|
|
42621
|
+
[name: string]: unknown;
|
|
42622
|
+
};
|
|
42623
|
+
content: {
|
|
42624
|
+
"application/json": {
|
|
42625
|
+
code: string;
|
|
42626
|
+
message: string;
|
|
42627
|
+
links?: {
|
|
42628
|
+
docs: string;
|
|
42629
|
+
schema: string;
|
|
42630
|
+
};
|
|
42631
|
+
issues?: {
|
|
42632
|
+
message: string;
|
|
42633
|
+
path?: (string | number)[];
|
|
42634
|
+
schema?: string;
|
|
42635
|
+
}[];
|
|
42636
|
+
context?: unknown;
|
|
42637
|
+
};
|
|
42638
|
+
};
|
|
42639
|
+
};
|
|
42640
|
+
/** @description Unauthorized */
|
|
42641
|
+
401: {
|
|
42642
|
+
headers: {
|
|
42643
|
+
[name: string]: unknown;
|
|
42644
|
+
};
|
|
42645
|
+
content: {
|
|
42646
|
+
"application/json": {
|
|
42647
|
+
code: string;
|
|
42648
|
+
message: string;
|
|
42649
|
+
links?: {
|
|
42650
|
+
docs: string;
|
|
42651
|
+
schema: string;
|
|
42652
|
+
};
|
|
42653
|
+
issues?: {
|
|
42654
|
+
message: string;
|
|
42655
|
+
path?: (string | number)[];
|
|
42656
|
+
schema?: string;
|
|
42657
|
+
}[];
|
|
42658
|
+
context?: unknown;
|
|
42659
|
+
};
|
|
42660
|
+
};
|
|
42661
|
+
};
|
|
42662
|
+
/** @description Forbidden */
|
|
42663
|
+
403: {
|
|
42664
|
+
headers: {
|
|
42665
|
+
[name: string]: unknown;
|
|
42666
|
+
};
|
|
42667
|
+
content: {
|
|
42668
|
+
"application/json": {
|
|
42669
|
+
code: string;
|
|
42670
|
+
message: string;
|
|
42671
|
+
links?: {
|
|
42672
|
+
docs: string;
|
|
42673
|
+
schema: string;
|
|
42674
|
+
};
|
|
42675
|
+
issues?: {
|
|
42676
|
+
message: string;
|
|
42677
|
+
path?: (string | number)[];
|
|
42678
|
+
schema?: string;
|
|
42679
|
+
}[];
|
|
42680
|
+
context?: unknown;
|
|
42681
|
+
};
|
|
42682
|
+
};
|
|
42683
|
+
};
|
|
42684
|
+
/** @description Not found */
|
|
42685
|
+
404: {
|
|
42686
|
+
headers: {
|
|
42687
|
+
[name: string]: unknown;
|
|
42688
|
+
};
|
|
42689
|
+
content: {
|
|
42690
|
+
"application/json": {
|
|
42691
|
+
code: string;
|
|
42692
|
+
message: string;
|
|
42693
|
+
links?: {
|
|
42694
|
+
docs: string;
|
|
42695
|
+
schema: string;
|
|
42696
|
+
};
|
|
42697
|
+
issues?: {
|
|
42698
|
+
message: string;
|
|
42699
|
+
path?: (string | number)[];
|
|
42700
|
+
schema?: string;
|
|
42701
|
+
}[];
|
|
42702
|
+
context?: unknown;
|
|
42703
|
+
};
|
|
42704
|
+
};
|
|
42705
|
+
};
|
|
42706
|
+
/** @description Internal server error */
|
|
42707
|
+
500: {
|
|
42708
|
+
headers: {
|
|
42709
|
+
[name: string]: unknown;
|
|
42710
|
+
};
|
|
42711
|
+
content: {
|
|
42712
|
+
"application/json": {
|
|
42713
|
+
code: string;
|
|
42714
|
+
message: string;
|
|
42715
|
+
links?: {
|
|
42716
|
+
docs: string;
|
|
42717
|
+
schema: string;
|
|
42718
|
+
};
|
|
42719
|
+
issues?: {
|
|
42720
|
+
message: string;
|
|
42721
|
+
path?: (string | number)[];
|
|
42722
|
+
schema?: string;
|
|
42723
|
+
}[];
|
|
42724
|
+
context?: unknown;
|
|
42725
|
+
};
|
|
42726
|
+
};
|
|
42727
|
+
};
|
|
42728
|
+
/** @description Service unavailable */
|
|
42729
|
+
503: {
|
|
42730
|
+
headers: {
|
|
42731
|
+
[name: string]: unknown;
|
|
42732
|
+
};
|
|
42733
|
+
content: {
|
|
42734
|
+
"application/json": {
|
|
42735
|
+
code: string;
|
|
42736
|
+
message: string;
|
|
42737
|
+
links?: {
|
|
42738
|
+
docs: string;
|
|
42739
|
+
schema: string;
|
|
42740
|
+
};
|
|
42741
|
+
issues?: {
|
|
42742
|
+
message: string;
|
|
42743
|
+
path?: (string | number)[];
|
|
42744
|
+
schema?: string;
|
|
42745
|
+
}[];
|
|
42746
|
+
context?: unknown;
|
|
42747
|
+
};
|
|
42748
|
+
};
|
|
42749
|
+
};
|
|
42750
|
+
};
|
|
42751
|
+
};
|
|
42490
42752
|
createEmbedSession: {
|
|
42491
42753
|
parameters: {
|
|
42492
42754
|
query?: never;
|
|
@@ -78308,6 +78570,14 @@ export interface operations {
|
|
|
78308
78570
|
/** @enum {string} */
|
|
78309
78571
|
status: "all" | "disabled" | "partially";
|
|
78310
78572
|
}[];
|
|
78573
|
+
isBillable: boolean;
|
|
78574
|
+
aggregates: {
|
|
78575
|
+
activeListings: number;
|
|
78576
|
+
members: number;
|
|
78577
|
+
activeConnections: number;
|
|
78578
|
+
connectionIssues: number;
|
|
78579
|
+
childTeams: number;
|
|
78580
|
+
};
|
|
78311
78581
|
};
|
|
78312
78582
|
};
|
|
78313
78583
|
};
|
|
@@ -78698,6 +78968,14 @@ export interface operations {
|
|
|
78698
78968
|
/** @enum {string} */
|
|
78699
78969
|
status: "all" | "disabled" | "partially";
|
|
78700
78970
|
}[];
|
|
78971
|
+
isBillable: boolean;
|
|
78972
|
+
aggregates: {
|
|
78973
|
+
activeListings: number;
|
|
78974
|
+
members: number;
|
|
78975
|
+
activeConnections: number;
|
|
78976
|
+
connectionIssues: number;
|
|
78977
|
+
childTeams: number;
|
|
78978
|
+
};
|
|
78701
78979
|
};
|
|
78702
78980
|
};
|
|
78703
78981
|
};
|
|
@@ -79968,6 +80246,14 @@ export interface operations {
|
|
|
79968
80246
|
/** @enum {string} */
|
|
79969
80247
|
status: "all" | "disabled" | "partially";
|
|
79970
80248
|
}[];
|
|
80249
|
+
isBillable: boolean;
|
|
80250
|
+
aggregates: {
|
|
80251
|
+
activeListings: number;
|
|
80252
|
+
members: number;
|
|
80253
|
+
activeConnections: number;
|
|
80254
|
+
connectionIssues: number;
|
|
80255
|
+
childTeams: number;
|
|
80256
|
+
};
|
|
79971
80257
|
};
|
|
79972
80258
|
};
|
|
79973
80259
|
};
|
|
@@ -81134,8 +81420,18 @@ export interface operations {
|
|
|
81134
81420
|
/** @description Comma-separated team IDs. */
|
|
81135
81421
|
ids?: string;
|
|
81136
81422
|
status?: "active" | "inactive";
|
|
81423
|
+
/** @description Filter by onboarding state. */
|
|
81424
|
+
isOnboarding?: boolean;
|
|
81137
81425
|
search?: string;
|
|
81138
81426
|
partnerId?: string;
|
|
81427
|
+
billingPartnerId?: string;
|
|
81428
|
+
billingSubscriptionStatus?: "active" | "pending" | "paused" | "cancelled" | "pendingCancellation" | "draft" | "voided" | "errored" | "missing" | "viaPartner";
|
|
81429
|
+
billingPlan?: string;
|
|
81430
|
+
product?: "vrtrust" | "vrintegrations";
|
|
81431
|
+
/** @description Comma-separated enabled feature IDs. */
|
|
81432
|
+
featureIds?: string;
|
|
81433
|
+
/** @description Include partner-dashboard listing, member, connection, issue, and child-team counts. */
|
|
81434
|
+
includeAggregates?: boolean;
|
|
81139
81435
|
type?: "partner" | "propertyManager";
|
|
81140
81436
|
/** @description Field to sort by */
|
|
81141
81437
|
sortBy?: "created" | "name" | "type";
|
|
@@ -81320,6 +81616,14 @@ export interface operations {
|
|
|
81320
81616
|
/** @enum {string} */
|
|
81321
81617
|
status: "all" | "disabled" | "partially";
|
|
81322
81618
|
}[];
|
|
81619
|
+
isBillable: boolean;
|
|
81620
|
+
aggregates?: {
|
|
81621
|
+
activeListings: number;
|
|
81622
|
+
members: number;
|
|
81623
|
+
activeConnections: number;
|
|
81624
|
+
connectionIssues: number;
|
|
81625
|
+
childTeams: number;
|
|
81626
|
+
};
|
|
81323
81627
|
}[];
|
|
81324
81628
|
pagination: {
|
|
81325
81629
|
/** @default 100 */
|
|
@@ -81705,6 +82009,14 @@ export interface operations {
|
|
|
81705
82009
|
/** @enum {string} */
|
|
81706
82010
|
status: "all" | "disabled" | "partially";
|
|
81707
82011
|
}[];
|
|
82012
|
+
isBillable: boolean;
|
|
82013
|
+
aggregates: {
|
|
82014
|
+
activeListings: number;
|
|
82015
|
+
members: number;
|
|
82016
|
+
activeConnections: number;
|
|
82017
|
+
connectionIssues: number;
|
|
82018
|
+
childTeams: number;
|
|
82019
|
+
};
|
|
81708
82020
|
};
|
|
81709
82021
|
};
|
|
81710
82022
|
};
|
|
@@ -82883,6 +83195,14 @@ export interface operations {
|
|
|
82883
83195
|
/** @enum {string} */
|
|
82884
83196
|
status: "all" | "disabled" | "partially";
|
|
82885
83197
|
}[];
|
|
83198
|
+
isBillable: boolean;
|
|
83199
|
+
aggregates?: {
|
|
83200
|
+
activeListings: number;
|
|
83201
|
+
members: number;
|
|
83202
|
+
activeConnections: number;
|
|
83203
|
+
connectionIssues: number;
|
|
83204
|
+
childTeams: number;
|
|
83205
|
+
};
|
|
82886
83206
|
}[];
|
|
82887
83207
|
pagination: {
|
|
82888
83208
|
/** @default 100 */
|
|
@@ -83203,6 +83523,14 @@ export interface operations {
|
|
|
83203
83523
|
/** @enum {string} */
|
|
83204
83524
|
status: "all" | "disabled" | "partially";
|
|
83205
83525
|
}[];
|
|
83526
|
+
isBillable: boolean;
|
|
83527
|
+
aggregates?: {
|
|
83528
|
+
activeListings: number;
|
|
83529
|
+
members: number;
|
|
83530
|
+
activeConnections: number;
|
|
83531
|
+
connectionIssues: number;
|
|
83532
|
+
childTeams: number;
|
|
83533
|
+
};
|
|
83206
83534
|
/** Format: uri */
|
|
83207
83535
|
apiBaseUrl: string;
|
|
83208
83536
|
};
|