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