@vrplatform/api 1.3.1-stage.5513 → 1.3.1-stage.5525

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
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.3.1-stage.5513",
6
+ "version": "1.3.1-stage.5525",
7
7
  "description": "",
8
8
  "main": "build/main/index.js",
9
9
  "module": "build/module/index.js",
@@ -3298,7 +3298,7 @@ export interface paths {
3298
3298
  get?: never;
3299
3299
  put?: never;
3300
3300
  /**
3301
- * @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
3301
+ * @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
3302
3302
  *
3303
3303
  * Required scope: teams:provision, teams:initialize
3304
3304
  */
@@ -3309,6 +3309,27 @@ export interface paths {
3309
3309
  patch?: never;
3310
3310
  trace?: never;
3311
3311
  };
3312
+ "/partner/vri-to-vrt/booking-channels": {
3313
+ parameters: {
3314
+ query?: never;
3315
+ header?: never;
3316
+ path?: never;
3317
+ cookie?: never;
3318
+ };
3319
+ get?: never;
3320
+ put?: never;
3321
+ /**
3322
+ * @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.
3323
+ *
3324
+ * Required scope: teams:provision, teams:initialize
3325
+ */
3326
+ post: operations["backfillPartnerVriToVrtBookingChannels"];
3327
+ delete?: never;
3328
+ options?: never;
3329
+ head?: never;
3330
+ patch?: never;
3331
+ trace?: never;
3332
+ };
3312
3333
  "/partner/vri-to-vrt/statements": {
3313
3334
  parameters: {
3314
3335
  query?: never;
@@ -3319,7 +3340,7 @@ export interface paths {
3319
3340
  get?: never;
3320
3341
  put?: never;
3321
3342
  /**
3322
- * @description Import historical VRI statements into an existing migrated GL-enabled team
3343
+ * @description Import historical VRI statements into an existing migrated GL-enabled team, repairing booking-channel classifications and reservation links before writing
3323
3344
  *
3324
3345
  * Required scope: general-ledger:import
3325
3346
  */
@@ -13021,7 +13042,7 @@ export interface operations {
13021
13042
  endDate?: string;
13022
13043
  actionType?: string;
13023
13044
  entityId?: string;
13024
- entityType?: "account" | "connection" | "journalEntry" | "listingOwnershipPeriod" | "ownerStatement" | "recurringTransactionTemplate" | "reservation" | "tenant" | "transaction" | "transactionAttachment";
13045
+ entityType?: "account" | "connection" | "journalEntry" | "listingOwnershipPeriod" | "ownerStatement" | "recurringFee" | "recurringTransactionTemplate" | "reservation" | "tenant" | "transaction" | "transactionAttachment";
13025
13046
  includeIfNoEffects?: boolean;
13026
13047
  page?: number;
13027
13048
  };
@@ -13606,9 +13627,9 @@ export interface operations {
13606
13627
  offset?: number;
13607
13628
  actionId?: string;
13608
13629
  entityId?: string;
13609
- entityType?: "account" | "connection" | "journalEntry" | "listingOwnershipPeriod" | "ownerStatement" | "recurringTransactionTemplate" | "reservation" | "tenant" | "transaction" | "transactionAttachment";
13630
+ entityType?: "account" | "connection" | "journalEntry" | "listingOwnershipPeriod" | "ownerStatement" | "recurringFee" | "recurringTransactionTemplate" | "reservation" | "tenant" | "transaction" | "transactionAttachment";
13610
13631
  status?: "pending" | "claimed" | "running" | "completed" | "failed" | "dead_letter";
13611
- effectType?: "BANK_ACCOUNT_CREATED_TRACK" | "CALENDAR_UNBLOCK_ACTION" | "TRIGGER_CONNECTION_SYNC" | "CREATE_RECURRING_TRANSACTION_INSTANCE" | "JOURNAL_ENTRY_SET_ACTIVE" | "JOURNAL_ENTRY_SET_INACTIVE" | "LINK_JOURNAL_TO_OWNERSHIP_PERIOD" | "RECALCULATE_BANK_RECORD_BALANCES" | "REFRESH_RESERVATION_JOURNAL" | "DELETE_TRANSACTION_ATTACHMENT_BLOB" | "MAP_DEPOSIT_TRANSACTIONS_BY_LAST4" | "REFRESH_TRANSACTION_JOURNAL" | "SEND_STATEMENT_NOTIFICATIONS" | "UPDATE_RESERVATION_LINKABLES" | "UPDATE_RESERVATION_PAYMENTS" | "TENANT_CLERK_ALLOWED_IDS_SYNC" | "DUPLICATE_TENANT" | "TENANT_HYPERLINE_SYNC" | "TENANT_INIT" | "TENANT_LINEAR_WEBHOOK" | "TENANT_STATUS_TRACK" | "TENANT_SUSPENSION_EMAIL";
13632
+ effectType?: "BANK_ACCOUNT_CREATED_TRACK" | "CALENDAR_UNBLOCK_ACTION" | "TRIGGER_CONNECTION_SYNC" | "CREATE_RECURRING_TRANSACTION_INSTANCE" | "JOURNAL_ENTRY_SET_ACTIVE" | "JOURNAL_ENTRY_SET_INACTIVE" | "LINK_JOURNAL_TO_OWNERSHIP_PERIOD" | "RECALCULATE_BANK_RECORD_BALANCES" | "REFRESH_RECURRING_FEE_RESERVATIONS" | "REFRESH_RESERVATION_JOURNAL" | "DELETE_TRANSACTION_ATTACHMENT_BLOB" | "MAP_DEPOSIT_TRANSACTIONS_BY_LAST4" | "REFRESH_TRANSACTION_JOURNAL" | "SEND_STATEMENT_NOTIFICATIONS" | "UPDATE_RESERVATION_LINKABLES" | "UPDATE_RESERVATION_PAYMENTS" | "TENANT_CLERK_ALLOWED_IDS_SYNC" | "DUPLICATE_TENANT" | "TENANT_HYPERLINE_SYNC" | "TENANT_INIT" | "TENANT_LINEAR_WEBHOOK" | "TENANT_STATUS_TRACK" | "TENANT_SUSPENSION_EMAIL";
13612
13633
  page?: number;
13613
13634
  };
13614
13635
  header?: never;
@@ -13646,7 +13667,7 @@ export interface operations {
13646
13667
  rootEntityType: string | null;
13647
13668
  rootEntityId: string | null;
13648
13669
  /** @enum {string} */
13649
- effectType: "BANK_ACCOUNT_CREATED_TRACK" | "CALENDAR_UNBLOCK_ACTION" | "TRIGGER_CONNECTION_SYNC" | "CREATE_RECURRING_TRANSACTION_INSTANCE" | "JOURNAL_ENTRY_SET_ACTIVE" | "JOURNAL_ENTRY_SET_INACTIVE" | "LINK_JOURNAL_TO_OWNERSHIP_PERIOD" | "RECALCULATE_BANK_RECORD_BALANCES" | "REFRESH_RESERVATION_JOURNAL" | "DELETE_TRANSACTION_ATTACHMENT_BLOB" | "MAP_DEPOSIT_TRANSACTIONS_BY_LAST4" | "REFRESH_TRANSACTION_JOURNAL" | "SEND_STATEMENT_NOTIFICATIONS" | "UPDATE_RESERVATION_LINKABLES" | "UPDATE_RESERVATION_PAYMENTS" | "TENANT_CLERK_ALLOWED_IDS_SYNC" | "DUPLICATE_TENANT" | "TENANT_HYPERLINE_SYNC" | "TENANT_INIT" | "TENANT_LINEAR_WEBHOOK" | "TENANT_STATUS_TRACK" | "TENANT_SUSPENSION_EMAIL";
13670
+ effectType: "BANK_ACCOUNT_CREATED_TRACK" | "CALENDAR_UNBLOCK_ACTION" | "TRIGGER_CONNECTION_SYNC" | "CREATE_RECURRING_TRANSACTION_INSTANCE" | "JOURNAL_ENTRY_SET_ACTIVE" | "JOURNAL_ENTRY_SET_INACTIVE" | "LINK_JOURNAL_TO_OWNERSHIP_PERIOD" | "RECALCULATE_BANK_RECORD_BALANCES" | "REFRESH_RECURRING_FEE_RESERVATIONS" | "REFRESH_RESERVATION_JOURNAL" | "DELETE_TRANSACTION_ATTACHMENT_BLOB" | "MAP_DEPOSIT_TRANSACTIONS_BY_LAST4" | "REFRESH_TRANSACTION_JOURNAL" | "SEND_STATEMENT_NOTIFICATIONS" | "UPDATE_RESERVATION_LINKABLES" | "UPDATE_RESERVATION_PAYMENTS" | "TENANT_CLERK_ALLOWED_IDS_SYNC" | "DUPLICATE_TENANT" | "TENANT_HYPERLINE_SYNC" | "TENANT_INIT" | "TENANT_LINEAR_WEBHOOK" | "TENANT_STATUS_TRACK" | "TENANT_SUSPENSION_EMAIL";
13650
13671
  payload: unknown;
13651
13672
  entity: ({
13652
13673
  /** @constant */
@@ -67237,6 +67258,263 @@ export interface operations {
67237
67258
  };
67238
67259
  };
67239
67260
  };
67261
+ backfillPartnerVriToVrtBookingChannels: {
67262
+ parameters: {
67263
+ query?: never;
67264
+ header?: {
67265
+ /** @description Selects the regional data partition for this regional collection read. It does not change the authenticated team context. */
67266
+ "x-data-region"?: "ap" | "crunchy" | "eu" | "hostaway" | "us";
67267
+ };
67268
+ path?: never;
67269
+ cookie?: never;
67270
+ };
67271
+ requestBody?: {
67272
+ content: {
67273
+ "application/json": {
67274
+ /** Format: uuid */
67275
+ sourceTeamId: string;
67276
+ };
67277
+ };
67278
+ };
67279
+ responses: {
67280
+ /** @description Successful response */
67281
+ 200: {
67282
+ headers: {
67283
+ [name: string]: unknown;
67284
+ };
67285
+ content: {
67286
+ "application/json": {
67287
+ bookingChannelCount: number;
67288
+ };
67289
+ };
67290
+ };
67291
+ /** @description Bad request */
67292
+ 400: {
67293
+ headers: {
67294
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
67295
+ "Retry-After"?: number;
67296
+ [name: string]: unknown;
67297
+ };
67298
+ content: {
67299
+ "application/json": {
67300
+ code: string;
67301
+ message: string;
67302
+ links?: {
67303
+ docs: string;
67304
+ schema: string;
67305
+ };
67306
+ issues?: {
67307
+ message: string;
67308
+ path?: (string | number)[];
67309
+ schema?: string;
67310
+ }[];
67311
+ retryable?: boolean;
67312
+ context?: unknown;
67313
+ };
67314
+ };
67315
+ };
67316
+ /** @description Unauthorized */
67317
+ 401: {
67318
+ headers: {
67319
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
67320
+ "Retry-After"?: number;
67321
+ [name: string]: unknown;
67322
+ };
67323
+ content: {
67324
+ "application/json": {
67325
+ code: string;
67326
+ message: string;
67327
+ links?: {
67328
+ docs: string;
67329
+ schema: string;
67330
+ };
67331
+ issues?: {
67332
+ message: string;
67333
+ path?: (string | number)[];
67334
+ schema?: string;
67335
+ }[];
67336
+ retryable?: boolean;
67337
+ context?: unknown;
67338
+ };
67339
+ };
67340
+ };
67341
+ /** @description Forbidden */
67342
+ 403: {
67343
+ headers: {
67344
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
67345
+ "Retry-After"?: number;
67346
+ [name: string]: unknown;
67347
+ };
67348
+ content: {
67349
+ "application/json": {
67350
+ code: string;
67351
+ message: string;
67352
+ links?: {
67353
+ docs: string;
67354
+ schema: string;
67355
+ };
67356
+ issues?: {
67357
+ message: string;
67358
+ path?: (string | number)[];
67359
+ schema?: string;
67360
+ }[];
67361
+ retryable?: boolean;
67362
+ context?: unknown;
67363
+ };
67364
+ };
67365
+ };
67366
+ /** @description Not found */
67367
+ 404: {
67368
+ headers: {
67369
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
67370
+ "Retry-After"?: number;
67371
+ [name: string]: unknown;
67372
+ };
67373
+ content: {
67374
+ "application/json": {
67375
+ code: string;
67376
+ message: string;
67377
+ links?: {
67378
+ docs: string;
67379
+ schema: string;
67380
+ };
67381
+ issues?: {
67382
+ message: string;
67383
+ path?: (string | number)[];
67384
+ schema?: string;
67385
+ }[];
67386
+ retryable?: boolean;
67387
+ context?: unknown;
67388
+ };
67389
+ };
67390
+ };
67391
+ /** @description Conflict */
67392
+ 409: {
67393
+ headers: {
67394
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
67395
+ "Retry-After"?: number;
67396
+ [name: string]: unknown;
67397
+ };
67398
+ content: {
67399
+ "application/json": {
67400
+ code: string;
67401
+ message: string;
67402
+ links?: {
67403
+ docs: string;
67404
+ schema: string;
67405
+ };
67406
+ issues?: {
67407
+ message: string;
67408
+ path?: (string | number)[];
67409
+ schema?: string;
67410
+ }[];
67411
+ retryable?: boolean;
67412
+ context?: unknown;
67413
+ };
67414
+ };
67415
+ };
67416
+ /** @description Gone */
67417
+ 410: {
67418
+ headers: {
67419
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
67420
+ "Retry-After"?: number;
67421
+ [name: string]: unknown;
67422
+ };
67423
+ content: {
67424
+ "application/json": {
67425
+ code: string;
67426
+ message: string;
67427
+ links?: {
67428
+ docs: string;
67429
+ schema: string;
67430
+ };
67431
+ issues?: {
67432
+ message: string;
67433
+ path?: (string | number)[];
67434
+ schema?: string;
67435
+ }[];
67436
+ retryable?: boolean;
67437
+ context?: unknown;
67438
+ };
67439
+ };
67440
+ };
67441
+ /** @description Unprocessable content */
67442
+ 422: {
67443
+ headers: {
67444
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
67445
+ "Retry-After"?: number;
67446
+ [name: string]: unknown;
67447
+ };
67448
+ content: {
67449
+ "application/json": {
67450
+ code: string;
67451
+ message: string;
67452
+ links?: {
67453
+ docs: string;
67454
+ schema: string;
67455
+ };
67456
+ issues?: {
67457
+ message: string;
67458
+ path?: (string | number)[];
67459
+ schema?: string;
67460
+ }[];
67461
+ retryable?: boolean;
67462
+ context?: unknown;
67463
+ };
67464
+ };
67465
+ };
67466
+ /** @description Internal server error */
67467
+ 500: {
67468
+ headers: {
67469
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
67470
+ "Retry-After"?: number;
67471
+ [name: string]: unknown;
67472
+ };
67473
+ content: {
67474
+ "application/json": {
67475
+ code: string;
67476
+ message: string;
67477
+ links?: {
67478
+ docs: string;
67479
+ schema: string;
67480
+ };
67481
+ issues?: {
67482
+ message: string;
67483
+ path?: (string | number)[];
67484
+ schema?: string;
67485
+ }[];
67486
+ retryable?: boolean;
67487
+ context?: unknown;
67488
+ };
67489
+ };
67490
+ };
67491
+ /** @description Service unavailable */
67492
+ 503: {
67493
+ headers: {
67494
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
67495
+ "Retry-After"?: number;
67496
+ [name: string]: unknown;
67497
+ };
67498
+ content: {
67499
+ "application/json": {
67500
+ code: string;
67501
+ message: string;
67502
+ links?: {
67503
+ docs: string;
67504
+ schema: string;
67505
+ };
67506
+ issues?: {
67507
+ message: string;
67508
+ path?: (string | number)[];
67509
+ schema?: string;
67510
+ }[];
67511
+ retryable?: boolean;
67512
+ context?: unknown;
67513
+ };
67514
+ };
67515
+ };
67516
+ };
67517
+ };
67240
67518
  migratePartnerVriToVrtStatements: {
67241
67519
  parameters: {
67242
67520
  query?: never;