@vrplatform/api 1.3.1-stage.3855 → 1.3.1-stage.38556592036

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