@vrplatform/api 1.3.1-stage.3971 → 1.3.1-stage.39762444931
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/build/main/cache.js +10 -7
- package/build/main/cache.js.map +1 -1
- package/build/main/client.d.ts +6 -2
- package/build/main/client.js +18 -15
- package/build/main/client.js.map +1 -1
- package/build/main/control-plane-routing.d.ts +6 -0
- package/build/main/control-plane-routing.js +34 -0
- package/build/main/control-plane-routing.js.map +1 -0
- package/build/main/embed-lifecycle.d.ts +140 -0
- package/build/main/embed-lifecycle.js +93 -0
- package/build/main/embed-lifecycle.js.map +1 -0
- package/build/main/error.d.ts +31 -17
- package/build/main/error.js +55 -32
- package/build/main/error.js.map +1 -1
- package/build/main/generated/routing.d.ts +11 -0
- package/build/main/generated/routing.js +284 -0
- package/build/main/generated/routing.js.map +1 -0
- package/build/main/generated/v1.d.ts +4 -60691
- package/build/main/generated/v1.js.map +4 -1
- package/build/main/index.d.ts +8 -0
- package/build/main/index.js +8 -0
- package/build/main/index.js.map +1 -1
- package/build/main/is-test-team.d.ts +6 -0
- package/build/main/is-test-team.js +18 -0
- package/build/main/is-test-team.js.map +1 -0
- package/build/main/is-test-user.d.ts +4 -0
- package/build/main/is-test-user.js +31 -0
- package/build/main/is-test-user.js.map +1 -0
- package/build/main/is-vrp-member.d.ts +4 -0
- package/build/main/is-vrp-member.js +33 -0
- package/build/main/is-vrp-member.js.map +1 -0
- package/build/main/retarget-request.d.ts +7 -0
- package/build/main/retarget-request.js +21 -0
- package/build/main/retarget-request.js.map +1 -0
- package/build/main/routing.d.ts +24 -0
- package/build/main/routing.js +62 -0
- package/build/main/routing.js.map +1 -0
- package/build/main/types.d.ts +2 -0
- package/build/main/types.js.map +1 -1
- package/build/main/vrt-mcp.d.ts +214 -0
- package/build/main/vrt-mcp.js +161 -0
- package/build/main/vrt-mcp.js.map +1 -0
- package/build/module/cache.js +10 -7
- package/build/module/cache.js.map +1 -1
- package/build/module/client.d.ts +6 -2
- package/build/module/client.js +18 -15
- package/build/module/client.js.map +1 -1
- package/build/module/control-plane-routing.d.ts +6 -0
- package/build/module/control-plane-routing.js +30 -0
- package/build/module/control-plane-routing.js.map +1 -0
- package/build/module/embed-lifecycle.d.ts +140 -0
- package/build/module/embed-lifecycle.js +90 -0
- package/build/module/embed-lifecycle.js.map +1 -0
- package/build/module/error.d.ts +31 -17
- package/build/module/error.js +57 -31
- package/build/module/error.js.map +1 -1
- package/build/module/generated/routing.d.ts +11 -0
- package/build/module/generated/routing.js +281 -0
- package/build/module/generated/routing.js.map +1 -0
- package/build/module/generated/v1.d.ts +4 -60691
- package/build/module/generated/v1.js.map +4 -1
- package/build/module/index.d.ts +8 -0
- package/build/module/index.js +8 -0
- package/build/module/index.js.map +1 -1
- package/build/module/is-test-team.d.ts +6 -0
- package/build/module/is-test-team.js +14 -0
- package/build/module/is-test-team.js.map +1 -0
- package/build/module/is-test-user.d.ts +4 -0
- package/build/module/is-test-user.js +27 -0
- package/build/module/is-test-user.js.map +1 -0
- package/build/module/is-vrp-member.d.ts +4 -0
- package/build/module/is-vrp-member.js +29 -0
- package/build/module/is-vrp-member.js.map +1 -0
- package/build/module/retarget-request.d.ts +7 -0
- package/build/module/retarget-request.js +18 -0
- package/build/module/retarget-request.js.map +1 -0
- package/build/module/routing.d.ts +24 -0
- package/build/module/routing.js +58 -0
- package/build/module/routing.js.map +1 -0
- package/build/module/types.d.ts +2 -0
- package/build/module/types.js.map +1 -1
- package/build/module/vrt-mcp.d.ts +214 -0
- package/build/module/vrt-mcp.js +158 -0
- package/build/module/vrt-mcp.js.map +1 -0
- package/package.json +8 -7
- package/src/cache.ts +11 -8
- package/src/client.ts +20 -17
- package/src/control-plane-routing.ts +46 -0
- package/src/embed-lifecycle.ts +96 -0
- package/src/error.ts +103 -56
- package/src/generated/routing.ts +284 -0
- package/src/generated/v1.ts +4 -60692
- package/src/index.ts +8 -0
- package/src/is-test-team.ts +26 -0
- package/src/is-test-user.ts +39 -0
- package/src/is-vrp-member.ts +38 -0
- package/src/retarget-request.ts +17 -0
- package/src/routing.ts +89 -0
- package/src/types.ts +8 -0
- package/src/vrt-mcp.ts +185 -0
- package/build/main/generated/openapi-fetch.d.ts +0 -224
- package/build/main/generated/openapi-fetch.js +0 -14
- package/build/main/generated/openapi-fetch.js.map +0 -1
- package/build/module/generated/openapi-fetch.d.ts +0 -224
- package/build/module/generated/openapi-fetch.js +0 -2
- package/build/module/generated/openapi-fetch.js.map +0 -1
- package/src/generated/openapi-fetch.ts +0 -433
|
@@ -0,0 +1,284 @@
|
|
|
1
|
+
// Generated by packages/client/openapi.ts from API route and deployment metadata.
|
|
2
|
+
export const controlPlaneRouting: {
|
|
3
|
+
readonly origins: Readonly<Record<string, string>>;
|
|
4
|
+
readonly routes: readonly { method: string; endpoint: string }[];
|
|
5
|
+
} = {
|
|
6
|
+
"origins": {
|
|
7
|
+
"https://api.vrplatform.app": "https://us.api.vrplatform.app",
|
|
8
|
+
"https://api.edge.vrplatform.app": "https://us.api.vrplatform.app",
|
|
9
|
+
"https://staging.api.vrplatform.app": "https://us.staging.api.vrplatform.app",
|
|
10
|
+
"https://staging.api.edge.vrplatform.app": "https://us.staging.api.vrplatform.app",
|
|
11
|
+
"https://us.staging.api.vrplatform.app": "https://us.staging.api.vrplatform.app",
|
|
12
|
+
"https://eu.staging.api.vrplatform.app": "https://us.staging.api.vrplatform.app",
|
|
13
|
+
"https://ap.staging.api.vrplatform.app": "https://us.staging.api.vrplatform.app",
|
|
14
|
+
"https://us.api.vrplatform.app": "https://us.api.vrplatform.app",
|
|
15
|
+
"https://eu.api.vrplatform.app": "https://us.api.vrplatform.app",
|
|
16
|
+
"https://ap.api.vrplatform.app": "https://us.api.vrplatform.app"
|
|
17
|
+
},
|
|
18
|
+
"routes": [
|
|
19
|
+
{
|
|
20
|
+
"method": "GET",
|
|
21
|
+
"endpoint": "/internal/message-overwrites"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"method": "GET",
|
|
25
|
+
"endpoint": "/internal/operations/accounting-integrity/definition-drafts/{id}"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"method": "GET",
|
|
29
|
+
"endpoint": "/internal/operations/accounting-integrity/definitions"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"method": "GET",
|
|
33
|
+
"endpoint": "/internal/operations/accounting-integrity/definitions/{code}"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"method": "GET",
|
|
37
|
+
"endpoint": "/internal/owner-portals/{hostname}"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"method": "GET",
|
|
41
|
+
"endpoint": "/internal/owner-portals/{hostname}/providers"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"method": "GET",
|
|
45
|
+
"endpoint": "/me/teams"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"method": "POST",
|
|
49
|
+
"endpoint": "/embed-sessions/exchange"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"method": "POST",
|
|
53
|
+
"endpoint": "/embed-sessions/frame-ancestor-policy"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"method": "POST",
|
|
57
|
+
"endpoint": "/internal/operations/accounting-integrity/definition-drafts"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"method": "POST",
|
|
61
|
+
"endpoint": "/internal/operations/accounting-integrity/definition-drafts/{id}/publish"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"method": "POST",
|
|
65
|
+
"endpoint": "/internal/operations/accounting-integrity/definition-drafts/{id}/validate"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"method": "POST",
|
|
69
|
+
"endpoint": "/internal/owner-portals/logo"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"method": "POST",
|
|
73
|
+
"endpoint": "/internal/owner-portals/{hostname}/providers"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"method": "POST",
|
|
77
|
+
"endpoint": "/owner-portal-previews/end"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"method": "POST",
|
|
81
|
+
"endpoint": "/owner-portal-previews/exchange"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"method": "PUT",
|
|
85
|
+
"endpoint": "/internal/operations/accounting-integrity/definition-drafts/{id}"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"method": "PUT",
|
|
89
|
+
"endpoint": "/internal/operations/grants/users/{userId}"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"method": "PUT",
|
|
93
|
+
"endpoint": "/internal/owner-portals/{hostname}"
|
|
94
|
+
}
|
|
95
|
+
]
|
|
96
|
+
};
|
|
97
|
+
|
|
98
|
+
// Routes the API places by `x-data-region` or path, not by `x-team-id`.
|
|
99
|
+
export const requestRegionRoutes: readonly { method: string; endpoint: string }[] = [
|
|
100
|
+
{
|
|
101
|
+
"method": "DELETE",
|
|
102
|
+
"endpoint": "/internal/teams/{teamId}"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"method": "GET",
|
|
106
|
+
"endpoint": "/internal/memberships/{membershipId}"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"method": "GET",
|
|
110
|
+
"endpoint": "/internal/operations/accounting-integrity/regions/{region}/cases"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"method": "GET",
|
|
114
|
+
"endpoint": "/internal/operations/accounting-integrity/regions/{region}/cases/{caseId}"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"method": "GET",
|
|
118
|
+
"endpoint": "/internal/operations/accounting-integrity/regions/{region}/cases/{caseId}/evidence"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"method": "GET",
|
|
122
|
+
"endpoint": "/internal/operations/accounting-integrity/regions/{region}/health"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"method": "GET",
|
|
126
|
+
"endpoint": "/internal/operations/accounting-integrity/regions/{region}/repair-plans"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"method": "GET",
|
|
130
|
+
"endpoint": "/internal/operations/accounting-integrity/regions/{region}/repair-plans/{planId}"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"method": "GET",
|
|
134
|
+
"endpoint": "/internal/operations/accounting-integrity/regions/{region}/runs"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"method": "GET",
|
|
138
|
+
"endpoint": "/internal/operations/accounting-integrity/regions/{region}/runs/{runId}"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"method": "GET",
|
|
142
|
+
"endpoint": "/internal/operations/accounting-integrity/regions/{region}/work-queue"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"method": "GET",
|
|
146
|
+
"endpoint": "/internal/teams/billing"
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"method": "GET",
|
|
150
|
+
"endpoint": "/internal/users"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"method": "GET",
|
|
154
|
+
"endpoint": "/operations"
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"method": "GET",
|
|
158
|
+
"endpoint": "/operations/{id}"
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"method": "GET",
|
|
162
|
+
"endpoint": "/partner/audit-events"
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"method": "GET",
|
|
166
|
+
"endpoint": "/partner/billing"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"method": "GET",
|
|
170
|
+
"endpoint": "/partner/connections"
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"method": "GET",
|
|
174
|
+
"endpoint": "/partner/listings"
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"method": "GET",
|
|
178
|
+
"endpoint": "/partner/owner-statements"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"method": "GET",
|
|
182
|
+
"endpoint": "/partner/users"
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"method": "GET",
|
|
186
|
+
"endpoint": "/partner/users/{id}"
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"method": "GET",
|
|
190
|
+
"endpoint": "/partner/vri-to-vrt/recurring-fee-setup"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"method": "GET",
|
|
194
|
+
"endpoint": "/partner/vri-to-vrt/reservation-line-mappings"
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"method": "GET",
|
|
198
|
+
"endpoint": "/partner/vri-to-vrt/statements/account-mappings"
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"method": "GET",
|
|
202
|
+
"endpoint": "/partner/vri-to-vrt/statements/listing-mappings"
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"method": "GET",
|
|
206
|
+
"endpoint": "/partner/vri-to-vrt/statements/payouts"
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"method": "GET",
|
|
210
|
+
"endpoint": "/teams"
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"method": "GET",
|
|
214
|
+
"endpoint": "/teams/issues"
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"method": "GET",
|
|
218
|
+
"endpoint": "/teams/lookup"
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"method": "POST",
|
|
222
|
+
"endpoint": "/internal/operations/accounting-integrity/regions/{region}/cases/{caseId}/claim"
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"method": "POST",
|
|
226
|
+
"endpoint": "/internal/operations/accounting-integrity/regions/{region}/cases/{caseId}/release"
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"method": "POST",
|
|
230
|
+
"endpoint": "/internal/operations/accounting-integrity/regions/{region}/cases/{caseId}/review"
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"method": "POST",
|
|
234
|
+
"endpoint": "/internal/operations/accounting-integrity/regions/{region}/previews"
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"method": "POST",
|
|
238
|
+
"endpoint": "/internal/operations/accounting-integrity/regions/{region}/repair-plans"
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"method": "POST",
|
|
242
|
+
"endpoint": "/internal/operations/accounting-integrity/regions/{region}/repair-plans/{planId}/cancel"
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"method": "POST",
|
|
246
|
+
"endpoint": "/internal/operations/accounting-integrity/regions/{region}/repair-plans/{planId}/complete"
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"method": "POST",
|
|
250
|
+
"endpoint": "/internal/operations/accounting-integrity/regions/{region}/repair-plans/{planId}/stages/{ordinal}/apply"
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"method": "POST",
|
|
254
|
+
"endpoint": "/internal/operations/accounting-integrity/regions/{region}/repair-plans/{planId}/stages/{ordinal}/approve"
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"method": "POST",
|
|
258
|
+
"endpoint": "/internal/operations/accounting-integrity/regions/{region}/repair-plans/{planId}/stages/{ordinal}/dry-run"
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"method": "POST",
|
|
262
|
+
"endpoint": "/internal/operations/accounting-integrity/regions/{region}/repair-plans/{planId}/stages/{ordinal}/request-approval"
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
"method": "POST",
|
|
266
|
+
"endpoint": "/internal/operations/accounting-integrity/regions/{region}/repair-plans/{planId}/stages/{ordinal}/verify"
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"method": "POST",
|
|
270
|
+
"endpoint": "/internal/operations/accounting-integrity/regions/{region}/shadow-runs"
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
"method": "POST",
|
|
274
|
+
"endpoint": "/partner/vri-to-vrt"
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"method": "POST",
|
|
278
|
+
"endpoint": "/partner/vri-to-vrt/booking-channels"
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"method": "POST",
|
|
282
|
+
"endpoint": "/partner/vri-to-vrt/statements"
|
|
283
|
+
}
|
|
284
|
+
];
|