@vrplatform/api 1.3.1-stage.4973 → 1.3.1-stage.4979
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.
|
@@ -1902,7 +1902,7 @@ export interface paths {
|
|
|
1902
1902
|
};
|
|
1903
1903
|
get?: never;
|
|
1904
1904
|
put?: never;
|
|
1905
|
-
/** @description Queue one authenticated tracking event. User-authenticated requests derive teamId and userId from the current context. First-party service-authenticated requests may provide teamId and userId
|
|
1905
|
+
/** @description Queue one authenticated tracking event. User-authenticated requests derive teamId and userId from the current context. First-party service-authenticated requests may provide teamId and userId as optional attribution. A provided teamId must match x-team-id. Existing users and historical team members retain attribution; missing or team-mismatched service user attribution is cleared without rejecting the event. Obvious name and email properties are removed recursively before enqueueing. */
|
|
1906
1906
|
post: operations["postInternalEvents"];
|
|
1907
1907
|
delete?: never;
|
|
1908
1908
|
options?: never;
|
|
@@ -2523,6 +2523,27 @@ export interface paths {
|
|
|
2523
2523
|
patch?: never;
|
|
2524
2524
|
trace?: never;
|
|
2525
2525
|
};
|
|
2526
|
+
"/me/teams": {
|
|
2527
|
+
parameters: {
|
|
2528
|
+
query?: never;
|
|
2529
|
+
header?: never;
|
|
2530
|
+
path?: never;
|
|
2531
|
+
cookie?: never;
|
|
2532
|
+
};
|
|
2533
|
+
/**
|
|
2534
|
+
* @description List teams available to the authenticated user from the control plane. VRPlatform admins receive all teams regardless of membership. Other users receive directly assigned teams and child teams of assigned partners. Supports team-name search, lifecycle and type filters, deterministic sorting, and pagination across regions.
|
|
2535
|
+
*
|
|
2536
|
+
* Required scope: self:read
|
|
2537
|
+
*/
|
|
2538
|
+
get: operations["getMeTeams"];
|
|
2539
|
+
put?: never;
|
|
2540
|
+
post?: never;
|
|
2541
|
+
delete?: never;
|
|
2542
|
+
options?: never;
|
|
2543
|
+
head?: never;
|
|
2544
|
+
patch?: never;
|
|
2545
|
+
trace?: never;
|
|
2546
|
+
};
|
|
2526
2547
|
"/metrics/active-listings": {
|
|
2527
2548
|
parameters: {
|
|
2528
2549
|
query?: never;
|
|
@@ -55817,6 +55838,285 @@ export interface operations {
|
|
|
55817
55838
|
};
|
|
55818
55839
|
};
|
|
55819
55840
|
};
|
|
55841
|
+
getMeTeams: {
|
|
55842
|
+
parameters: {
|
|
55843
|
+
query?: {
|
|
55844
|
+
search?: string;
|
|
55845
|
+
status?: "active" | "inactive";
|
|
55846
|
+
type?: "partner" | "propertyManager";
|
|
55847
|
+
/** @description Sort field; prefix with - for descending order */
|
|
55848
|
+
sort?: "created" | "-created" | "name" | "-name" | "type" | "-type";
|
|
55849
|
+
limit?: number;
|
|
55850
|
+
page?: number;
|
|
55851
|
+
offset?: number;
|
|
55852
|
+
};
|
|
55853
|
+
header?: never;
|
|
55854
|
+
path?: never;
|
|
55855
|
+
cookie?: never;
|
|
55856
|
+
};
|
|
55857
|
+
requestBody?: never;
|
|
55858
|
+
responses: {
|
|
55859
|
+
/** @description Successful response */
|
|
55860
|
+
200: {
|
|
55861
|
+
headers: {
|
|
55862
|
+
[name: string]: unknown;
|
|
55863
|
+
};
|
|
55864
|
+
content: {
|
|
55865
|
+
"application/json": {
|
|
55866
|
+
data: {
|
|
55867
|
+
/** Format: uuid */
|
|
55868
|
+
id: string;
|
|
55869
|
+
name: string;
|
|
55870
|
+
slug: string;
|
|
55871
|
+
/** @enum {string} */
|
|
55872
|
+
dataRegion: "ap" | "crunchy" | "eu" | "hostaway" | "us";
|
|
55873
|
+
/** Format: uri */
|
|
55874
|
+
apiBaseUrl: string;
|
|
55875
|
+
/** @enum {string} */
|
|
55876
|
+
type: "partner" | "propertyManager";
|
|
55877
|
+
partnerId: string | null;
|
|
55878
|
+
/** @enum {string} */
|
|
55879
|
+
status: "active" | "inactive";
|
|
55880
|
+
}[];
|
|
55881
|
+
pagination: {
|
|
55882
|
+
/** @default 100 */
|
|
55883
|
+
limit: number;
|
|
55884
|
+
/** @default 1 */
|
|
55885
|
+
page: number;
|
|
55886
|
+
total: number;
|
|
55887
|
+
totalPage: number;
|
|
55888
|
+
nextPage?: number;
|
|
55889
|
+
};
|
|
55890
|
+
};
|
|
55891
|
+
};
|
|
55892
|
+
};
|
|
55893
|
+
/** @description Bad request */
|
|
55894
|
+
400: {
|
|
55895
|
+
headers: {
|
|
55896
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
55897
|
+
"Retry-After"?: number;
|
|
55898
|
+
[name: string]: unknown;
|
|
55899
|
+
};
|
|
55900
|
+
content: {
|
|
55901
|
+
"application/json": {
|
|
55902
|
+
code: string;
|
|
55903
|
+
message: string;
|
|
55904
|
+
links?: {
|
|
55905
|
+
docs: string;
|
|
55906
|
+
schema: string;
|
|
55907
|
+
};
|
|
55908
|
+
issues?: {
|
|
55909
|
+
message: string;
|
|
55910
|
+
path?: (string | number)[];
|
|
55911
|
+
schema?: string;
|
|
55912
|
+
}[];
|
|
55913
|
+
retryable?: boolean;
|
|
55914
|
+
context?: unknown;
|
|
55915
|
+
};
|
|
55916
|
+
};
|
|
55917
|
+
};
|
|
55918
|
+
/** @description Unauthorized */
|
|
55919
|
+
401: {
|
|
55920
|
+
headers: {
|
|
55921
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
55922
|
+
"Retry-After"?: number;
|
|
55923
|
+
[name: string]: unknown;
|
|
55924
|
+
};
|
|
55925
|
+
content: {
|
|
55926
|
+
"application/json": {
|
|
55927
|
+
code: string;
|
|
55928
|
+
message: string;
|
|
55929
|
+
links?: {
|
|
55930
|
+
docs: string;
|
|
55931
|
+
schema: string;
|
|
55932
|
+
};
|
|
55933
|
+
issues?: {
|
|
55934
|
+
message: string;
|
|
55935
|
+
path?: (string | number)[];
|
|
55936
|
+
schema?: string;
|
|
55937
|
+
}[];
|
|
55938
|
+
retryable?: boolean;
|
|
55939
|
+
context?: unknown;
|
|
55940
|
+
};
|
|
55941
|
+
};
|
|
55942
|
+
};
|
|
55943
|
+
/** @description Forbidden */
|
|
55944
|
+
403: {
|
|
55945
|
+
headers: {
|
|
55946
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
55947
|
+
"Retry-After"?: number;
|
|
55948
|
+
[name: string]: unknown;
|
|
55949
|
+
};
|
|
55950
|
+
content: {
|
|
55951
|
+
"application/json": {
|
|
55952
|
+
code: string;
|
|
55953
|
+
message: string;
|
|
55954
|
+
links?: {
|
|
55955
|
+
docs: string;
|
|
55956
|
+
schema: string;
|
|
55957
|
+
};
|
|
55958
|
+
issues?: {
|
|
55959
|
+
message: string;
|
|
55960
|
+
path?: (string | number)[];
|
|
55961
|
+
schema?: string;
|
|
55962
|
+
}[];
|
|
55963
|
+
retryable?: boolean;
|
|
55964
|
+
context?: unknown;
|
|
55965
|
+
};
|
|
55966
|
+
};
|
|
55967
|
+
};
|
|
55968
|
+
/** @description Not found */
|
|
55969
|
+
404: {
|
|
55970
|
+
headers: {
|
|
55971
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
55972
|
+
"Retry-After"?: number;
|
|
55973
|
+
[name: string]: unknown;
|
|
55974
|
+
};
|
|
55975
|
+
content: {
|
|
55976
|
+
"application/json": {
|
|
55977
|
+
code: string;
|
|
55978
|
+
message: string;
|
|
55979
|
+
links?: {
|
|
55980
|
+
docs: string;
|
|
55981
|
+
schema: string;
|
|
55982
|
+
};
|
|
55983
|
+
issues?: {
|
|
55984
|
+
message: string;
|
|
55985
|
+
path?: (string | number)[];
|
|
55986
|
+
schema?: string;
|
|
55987
|
+
}[];
|
|
55988
|
+
retryable?: boolean;
|
|
55989
|
+
context?: unknown;
|
|
55990
|
+
};
|
|
55991
|
+
};
|
|
55992
|
+
};
|
|
55993
|
+
/** @description Conflict */
|
|
55994
|
+
409: {
|
|
55995
|
+
headers: {
|
|
55996
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
55997
|
+
"Retry-After"?: number;
|
|
55998
|
+
[name: string]: unknown;
|
|
55999
|
+
};
|
|
56000
|
+
content: {
|
|
56001
|
+
"application/json": {
|
|
56002
|
+
code: string;
|
|
56003
|
+
message: string;
|
|
56004
|
+
links?: {
|
|
56005
|
+
docs: string;
|
|
56006
|
+
schema: string;
|
|
56007
|
+
};
|
|
56008
|
+
issues?: {
|
|
56009
|
+
message: string;
|
|
56010
|
+
path?: (string | number)[];
|
|
56011
|
+
schema?: string;
|
|
56012
|
+
}[];
|
|
56013
|
+
retryable?: boolean;
|
|
56014
|
+
context?: unknown;
|
|
56015
|
+
};
|
|
56016
|
+
};
|
|
56017
|
+
};
|
|
56018
|
+
/** @description Gone */
|
|
56019
|
+
410: {
|
|
56020
|
+
headers: {
|
|
56021
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
56022
|
+
"Retry-After"?: number;
|
|
56023
|
+
[name: string]: unknown;
|
|
56024
|
+
};
|
|
56025
|
+
content: {
|
|
56026
|
+
"application/json": {
|
|
56027
|
+
code: string;
|
|
56028
|
+
message: string;
|
|
56029
|
+
links?: {
|
|
56030
|
+
docs: string;
|
|
56031
|
+
schema: string;
|
|
56032
|
+
};
|
|
56033
|
+
issues?: {
|
|
56034
|
+
message: string;
|
|
56035
|
+
path?: (string | number)[];
|
|
56036
|
+
schema?: string;
|
|
56037
|
+
}[];
|
|
56038
|
+
retryable?: boolean;
|
|
56039
|
+
context?: unknown;
|
|
56040
|
+
};
|
|
56041
|
+
};
|
|
56042
|
+
};
|
|
56043
|
+
/** @description Unprocessable content */
|
|
56044
|
+
422: {
|
|
56045
|
+
headers: {
|
|
56046
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
56047
|
+
"Retry-After"?: number;
|
|
56048
|
+
[name: string]: unknown;
|
|
56049
|
+
};
|
|
56050
|
+
content: {
|
|
56051
|
+
"application/json": {
|
|
56052
|
+
code: string;
|
|
56053
|
+
message: string;
|
|
56054
|
+
links?: {
|
|
56055
|
+
docs: string;
|
|
56056
|
+
schema: string;
|
|
56057
|
+
};
|
|
56058
|
+
issues?: {
|
|
56059
|
+
message: string;
|
|
56060
|
+
path?: (string | number)[];
|
|
56061
|
+
schema?: string;
|
|
56062
|
+
}[];
|
|
56063
|
+
retryable?: boolean;
|
|
56064
|
+
context?: unknown;
|
|
56065
|
+
};
|
|
56066
|
+
};
|
|
56067
|
+
};
|
|
56068
|
+
/** @description Internal server error */
|
|
56069
|
+
500: {
|
|
56070
|
+
headers: {
|
|
56071
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
56072
|
+
"Retry-After"?: number;
|
|
56073
|
+
[name: string]: unknown;
|
|
56074
|
+
};
|
|
56075
|
+
content: {
|
|
56076
|
+
"application/json": {
|
|
56077
|
+
code: string;
|
|
56078
|
+
message: string;
|
|
56079
|
+
links?: {
|
|
56080
|
+
docs: string;
|
|
56081
|
+
schema: string;
|
|
56082
|
+
};
|
|
56083
|
+
issues?: {
|
|
56084
|
+
message: string;
|
|
56085
|
+
path?: (string | number)[];
|
|
56086
|
+
schema?: string;
|
|
56087
|
+
}[];
|
|
56088
|
+
retryable?: boolean;
|
|
56089
|
+
context?: unknown;
|
|
56090
|
+
};
|
|
56091
|
+
};
|
|
56092
|
+
};
|
|
56093
|
+
/** @description Service unavailable */
|
|
56094
|
+
503: {
|
|
56095
|
+
headers: {
|
|
56096
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
56097
|
+
"Retry-After"?: number;
|
|
56098
|
+
[name: string]: unknown;
|
|
56099
|
+
};
|
|
56100
|
+
content: {
|
|
56101
|
+
"application/json": {
|
|
56102
|
+
code: string;
|
|
56103
|
+
message: string;
|
|
56104
|
+
links?: {
|
|
56105
|
+
docs: string;
|
|
56106
|
+
schema: string;
|
|
56107
|
+
};
|
|
56108
|
+
issues?: {
|
|
56109
|
+
message: string;
|
|
56110
|
+
path?: (string | number)[];
|
|
56111
|
+
schema?: string;
|
|
56112
|
+
}[];
|
|
56113
|
+
retryable?: boolean;
|
|
56114
|
+
context?: unknown;
|
|
56115
|
+
};
|
|
56116
|
+
};
|
|
56117
|
+
};
|
|
56118
|
+
};
|
|
56119
|
+
};
|
|
55820
56120
|
getMetricActiveListings: {
|
|
55821
56121
|
parameters: {
|
|
55822
56122
|
query?: {
|