@vrplatform/api 1.3.1-stage.5506 → 1.3.1-stage.5519

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.
@@ -3297,7 +3297,7 @@ export interface paths {
3297
3297
  get?: never;
3298
3298
  put?: never;
3299
3299
  /**
3300
- * @description Bootstrap a legacy VRI team into a new GL-enabled team, starting its current PMS accounting source at the effective GL cutover without importing statements
3300
+ * @description Bootstrap a legacy VRI team into a new GL-enabled team, migrate its used booking-channel classifications through the control plane, and start its current PMS accounting source at the effective GL cutover without importing statements
3301
3301
  *
3302
3302
  * Required scope: teams:provision, teams:initialize
3303
3303
  */
@@ -3308,6 +3308,27 @@ export interface paths {
3308
3308
  patch?: never;
3309
3309
  trace?: never;
3310
3310
  };
3311
+ "/partner/vri-to-vrt/booking-channels": {
3312
+ parameters: {
3313
+ query?: never;
3314
+ header?: never;
3315
+ path?: never;
3316
+ cookie?: never;
3317
+ };
3318
+ get?: never;
3319
+ put?: never;
3320
+ /**
3321
+ * @description Backfill the booking-channel classifications used by a legacy VRI team into the control plane and queue every-region projections. Existing conflicting classifications are rejected.
3322
+ *
3323
+ * Required scope: teams:provision, teams:initialize
3324
+ */
3325
+ post: operations["backfillPartnerVriToVrtBookingChannels"];
3326
+ delete?: never;
3327
+ options?: never;
3328
+ head?: never;
3329
+ patch?: never;
3330
+ trace?: never;
3331
+ };
3311
3332
  "/partner/vri-to-vrt/statements": {
3312
3333
  parameters: {
3313
3334
  query?: never;
@@ -3318,7 +3339,7 @@ export interface paths {
3318
3339
  get?: never;
3319
3340
  put?: never;
3320
3341
  /**
3321
- * @description Import historical VRI statements into an existing migrated GL-enabled team
3342
+ * @description Import historical VRI statements into an existing migrated GL-enabled team, repairing booking-channel classifications and reservation links before writing
3322
3343
  *
3323
3344
  * Required scope: general-ledger:import
3324
3345
  */
@@ -67236,6 +67257,263 @@ export interface operations {
67236
67257
  };
67237
67258
  };
67238
67259
  };
67260
+ backfillPartnerVriToVrtBookingChannels: {
67261
+ parameters: {
67262
+ query?: never;
67263
+ header?: {
67264
+ /** @description Selects the regional data partition for this regional collection read. It does not change the authenticated team context. */
67265
+ "x-data-region"?: "ap" | "crunchy" | "eu" | "hostaway" | "us";
67266
+ };
67267
+ path?: never;
67268
+ cookie?: never;
67269
+ };
67270
+ requestBody?: {
67271
+ content: {
67272
+ "application/json": {
67273
+ /** Format: uuid */
67274
+ sourceTeamId: string;
67275
+ };
67276
+ };
67277
+ };
67278
+ responses: {
67279
+ /** @description Successful response */
67280
+ 200: {
67281
+ headers: {
67282
+ [name: string]: unknown;
67283
+ };
67284
+ content: {
67285
+ "application/json": {
67286
+ bookingChannelCount: number;
67287
+ };
67288
+ };
67289
+ };
67290
+ /** @description Bad request */
67291
+ 400: {
67292
+ headers: {
67293
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
67294
+ "Retry-After"?: number;
67295
+ [name: string]: unknown;
67296
+ };
67297
+ content: {
67298
+ "application/json": {
67299
+ code: string;
67300
+ message: string;
67301
+ links?: {
67302
+ docs: string;
67303
+ schema: string;
67304
+ };
67305
+ issues?: {
67306
+ message: string;
67307
+ path?: (string | number)[];
67308
+ schema?: string;
67309
+ }[];
67310
+ retryable?: boolean;
67311
+ context?: unknown;
67312
+ };
67313
+ };
67314
+ };
67315
+ /** @description Unauthorized */
67316
+ 401: {
67317
+ headers: {
67318
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
67319
+ "Retry-After"?: number;
67320
+ [name: string]: unknown;
67321
+ };
67322
+ content: {
67323
+ "application/json": {
67324
+ code: string;
67325
+ message: string;
67326
+ links?: {
67327
+ docs: string;
67328
+ schema: string;
67329
+ };
67330
+ issues?: {
67331
+ message: string;
67332
+ path?: (string | number)[];
67333
+ schema?: string;
67334
+ }[];
67335
+ retryable?: boolean;
67336
+ context?: unknown;
67337
+ };
67338
+ };
67339
+ };
67340
+ /** @description Forbidden */
67341
+ 403: {
67342
+ headers: {
67343
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
67344
+ "Retry-After"?: number;
67345
+ [name: string]: unknown;
67346
+ };
67347
+ content: {
67348
+ "application/json": {
67349
+ code: string;
67350
+ message: string;
67351
+ links?: {
67352
+ docs: string;
67353
+ schema: string;
67354
+ };
67355
+ issues?: {
67356
+ message: string;
67357
+ path?: (string | number)[];
67358
+ schema?: string;
67359
+ }[];
67360
+ retryable?: boolean;
67361
+ context?: unknown;
67362
+ };
67363
+ };
67364
+ };
67365
+ /** @description Not found */
67366
+ 404: {
67367
+ headers: {
67368
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
67369
+ "Retry-After"?: number;
67370
+ [name: string]: unknown;
67371
+ };
67372
+ content: {
67373
+ "application/json": {
67374
+ code: string;
67375
+ message: string;
67376
+ links?: {
67377
+ docs: string;
67378
+ schema: string;
67379
+ };
67380
+ issues?: {
67381
+ message: string;
67382
+ path?: (string | number)[];
67383
+ schema?: string;
67384
+ }[];
67385
+ retryable?: boolean;
67386
+ context?: unknown;
67387
+ };
67388
+ };
67389
+ };
67390
+ /** @description Conflict */
67391
+ 409: {
67392
+ headers: {
67393
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
67394
+ "Retry-After"?: number;
67395
+ [name: string]: unknown;
67396
+ };
67397
+ content: {
67398
+ "application/json": {
67399
+ code: string;
67400
+ message: string;
67401
+ links?: {
67402
+ docs: string;
67403
+ schema: string;
67404
+ };
67405
+ issues?: {
67406
+ message: string;
67407
+ path?: (string | number)[];
67408
+ schema?: string;
67409
+ }[];
67410
+ retryable?: boolean;
67411
+ context?: unknown;
67412
+ };
67413
+ };
67414
+ };
67415
+ /** @description Gone */
67416
+ 410: {
67417
+ headers: {
67418
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
67419
+ "Retry-After"?: number;
67420
+ [name: string]: unknown;
67421
+ };
67422
+ content: {
67423
+ "application/json": {
67424
+ code: string;
67425
+ message: string;
67426
+ links?: {
67427
+ docs: string;
67428
+ schema: string;
67429
+ };
67430
+ issues?: {
67431
+ message: string;
67432
+ path?: (string | number)[];
67433
+ schema?: string;
67434
+ }[];
67435
+ retryable?: boolean;
67436
+ context?: unknown;
67437
+ };
67438
+ };
67439
+ };
67440
+ /** @description Unprocessable content */
67441
+ 422: {
67442
+ headers: {
67443
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
67444
+ "Retry-After"?: number;
67445
+ [name: string]: unknown;
67446
+ };
67447
+ content: {
67448
+ "application/json": {
67449
+ code: string;
67450
+ message: string;
67451
+ links?: {
67452
+ docs: string;
67453
+ schema: string;
67454
+ };
67455
+ issues?: {
67456
+ message: string;
67457
+ path?: (string | number)[];
67458
+ schema?: string;
67459
+ }[];
67460
+ retryable?: boolean;
67461
+ context?: unknown;
67462
+ };
67463
+ };
67464
+ };
67465
+ /** @description Internal server error */
67466
+ 500: {
67467
+ headers: {
67468
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
67469
+ "Retry-After"?: number;
67470
+ [name: string]: unknown;
67471
+ };
67472
+ content: {
67473
+ "application/json": {
67474
+ code: string;
67475
+ message: string;
67476
+ links?: {
67477
+ docs: string;
67478
+ schema: string;
67479
+ };
67480
+ issues?: {
67481
+ message: string;
67482
+ path?: (string | number)[];
67483
+ schema?: string;
67484
+ }[];
67485
+ retryable?: boolean;
67486
+ context?: unknown;
67487
+ };
67488
+ };
67489
+ };
67490
+ /** @description Service unavailable */
67491
+ 503: {
67492
+ headers: {
67493
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
67494
+ "Retry-After"?: number;
67495
+ [name: string]: unknown;
67496
+ };
67497
+ content: {
67498
+ "application/json": {
67499
+ code: string;
67500
+ message: string;
67501
+ links?: {
67502
+ docs: string;
67503
+ schema: string;
67504
+ };
67505
+ issues?: {
67506
+ message: string;
67507
+ path?: (string | number)[];
67508
+ schema?: string;
67509
+ }[];
67510
+ retryable?: boolean;
67511
+ context?: unknown;
67512
+ };
67513
+ };
67514
+ };
67515
+ };
67516
+ };
67239
67517
  migratePartnerVriToVrtStatements: {
67240
67518
  parameters: {
67241
67519
  query?: never;