@vrplatform/api 1.3.1-stage.2189 → 1.3.1-stage.2191

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.
@@ -2744,7 +2744,7 @@ export interface paths {
2744
2744
  };
2745
2745
  get?: never;
2746
2746
  put?: never;
2747
- /** @description Migrate a legacy VRI team into a new GL-enabled team */
2747
+ /** @description Bootstrap a legacy VRI team into a new GL-enabled team without importing statements */
2748
2748
  post: operations["postTeamsMigrateVriToVrt"];
2749
2749
  delete?: never;
2750
2750
  options?: never;
@@ -2752,15 +2752,32 @@ export interface paths {
2752
2752
  patch?: never;
2753
2753
  trace?: never;
2754
2754
  };
2755
- "/teams/migrate-vri-to-vrt/account-mappings": {
2755
+ "/teams/migrate-vri-to-vrt/statements": {
2756
2756
  parameters: {
2757
2757
  query?: never;
2758
2758
  header?: never;
2759
2759
  path?: never;
2760
2760
  cookie?: never;
2761
2761
  };
2762
- /** @description Retrieve required historical VRI account mappings and suggested VRT targets */
2763
- get: operations["getTeamsMigrateVriToVrtAccountMappings"];
2762
+ get?: never;
2763
+ put?: never;
2764
+ /** @description Import historical VRI statements into an existing migrated GL-enabled team */
2765
+ post: operations["postTeamsMigrateVriToVrtStatements"];
2766
+ delete?: never;
2767
+ options?: never;
2768
+ head?: never;
2769
+ patch?: never;
2770
+ trace?: never;
2771
+ };
2772
+ "/teams/migrate-vri-to-vrt/statements/account-mappings": {
2773
+ parameters: {
2774
+ query?: never;
2775
+ header?: never;
2776
+ path?: never;
2777
+ cookie?: never;
2778
+ };
2779
+ /** @description Retrieve required historical VRI statement account mappings and suggested target accounts */
2780
+ get: operations["getTeamsMigrateVriToVrtStatementsAccountMappings"];
2764
2781
  put?: never;
2765
2782
  post?: never;
2766
2783
  delete?: never;
@@ -38201,7 +38218,230 @@ export interface operations {
38201
38218
  targetPartnerId?: string | null;
38202
38219
  targetName?: string | null;
38203
38220
  glStartAt: string;
38204
- includeHistoricalStatements?: boolean;
38221
+ };
38222
+ };
38223
+ };
38224
+ responses: {
38225
+ /** @description Successful response */
38226
+ 200: {
38227
+ headers: {
38228
+ [name: string]: unknown;
38229
+ };
38230
+ content: {
38231
+ "application/json": {
38232
+ /** Format: uuid */
38233
+ id: string;
38234
+ defaultCurrency?: string | null;
38235
+ longTermStayNights?: number | null;
38236
+ defaultRevenueRecognition?: ("checkIn" | "checkOut" | "bookedAt" | "proRata") | null;
38237
+ name: string;
38238
+ statementAddress?: {
38239
+ full?: string | null;
38240
+ line1?: string | null;
38241
+ line2?: string | null;
38242
+ city?: string | null;
38243
+ /** @description Deprecated, use stateCode instead */
38244
+ state?: string | null;
38245
+ postalCode?: string | null;
38246
+ stateCode?: string | null;
38247
+ countryCode?: string | null;
38248
+ } | null;
38249
+ billingAddress?: {
38250
+ full?: string | null;
38251
+ line1?: string | null;
38252
+ line2?: string | null;
38253
+ city?: string | null;
38254
+ /** @description Deprecated, use stateCode instead */
38255
+ state?: string | null;
38256
+ postalCode?: string | null;
38257
+ stateCode?: string | null;
38258
+ countryCode?: string | null;
38259
+ } | null;
38260
+ phone?: string | null;
38261
+ email?: string | null;
38262
+ taxId?: string | null;
38263
+ partner?: {
38264
+ /** Format: uuid */
38265
+ id: string;
38266
+ name: string;
38267
+ } | null;
38268
+ billingPartner?: {
38269
+ /** Format: uuid */
38270
+ id: string;
38271
+ name: string;
38272
+ } | null;
38273
+ companyName?: string | null;
38274
+ /** @enum {string} */
38275
+ type: "partner" | "admin" | "propertyManager";
38276
+ /** @enum {string} */
38277
+ status: "active" | "inactive" | "deleted" | "onboarding";
38278
+ billingSubscriptionStatus?: string | null;
38279
+ billingPlan?: string | null;
38280
+ createdAt?: string | null;
38281
+ updatedAt?: string | null;
38282
+ trialUntil?: string | null;
38283
+ cancelledAt?: string | null;
38284
+ isOnboarding?: boolean | null;
38285
+ issues: ({
38286
+ /** @constant */
38287
+ code: "unassignedAccount";
38288
+ /** @constant */
38289
+ severity: "error";
38290
+ context: {
38291
+ accountIds: string[];
38292
+ };
38293
+ } | {
38294
+ /** @constant */
38295
+ code: "brokenConnections";
38296
+ /** @constant */
38297
+ severity: "error";
38298
+ context: {
38299
+ connections: {
38300
+ /** Format: uuid */
38301
+ id: string;
38302
+ name: string;
38303
+ appId: string;
38304
+ }[];
38305
+ };
38306
+ } | {
38307
+ /** @constant */
38308
+ code: "outdatedConnections";
38309
+ /** @constant */
38310
+ severity: "error";
38311
+ context: {
38312
+ connections: {
38313
+ /** Format: uuid */
38314
+ id: string;
38315
+ name: string;
38316
+ appId: string;
38317
+ }[];
38318
+ };
38319
+ })[];
38320
+ isGeneralLedger?: boolean | null;
38321
+ isOpex?: boolean;
38322
+ booksClosedAt?: string | null;
38323
+ logo?: string | null;
38324
+ statementStartAt?: string | null;
38325
+ effectiveStatementStartAt?: string | null;
38326
+ ownerPortalShowDraftStatements?: boolean;
38327
+ members?: {
38328
+ userId: string;
38329
+ email?: string | null;
38330
+ role: string;
38331
+ name?: string | null;
38332
+ firstName?: string | null;
38333
+ }[] | null;
38334
+ extractableConnections?: {
38335
+ [key: string]: {
38336
+ connections: {
38337
+ /** Format: uuid */
38338
+ id: string;
38339
+ name: string;
38340
+ appId: string;
38341
+ urlExample?: string | null;
38342
+ allowConfirmationCode?: boolean | null;
38343
+ }[];
38344
+ };
38345
+ } | null;
38346
+ };
38347
+ };
38348
+ };
38349
+ /** @description Bad request */
38350
+ 400: {
38351
+ headers: {
38352
+ [name: string]: unknown;
38353
+ };
38354
+ content: {
38355
+ "application/json": {
38356
+ code: string;
38357
+ message: string;
38358
+ issues?: {
38359
+ message: string;
38360
+ }[];
38361
+ context?: unknown;
38362
+ };
38363
+ };
38364
+ };
38365
+ /** @description Unauthorized */
38366
+ 401: {
38367
+ headers: {
38368
+ [name: string]: unknown;
38369
+ };
38370
+ content: {
38371
+ "application/json": {
38372
+ code: string;
38373
+ message: string;
38374
+ issues?: {
38375
+ message: string;
38376
+ }[];
38377
+ context?: unknown;
38378
+ };
38379
+ };
38380
+ };
38381
+ /** @description Forbidden */
38382
+ 403: {
38383
+ headers: {
38384
+ [name: string]: unknown;
38385
+ };
38386
+ content: {
38387
+ "application/json": {
38388
+ code: string;
38389
+ message: string;
38390
+ issues?: {
38391
+ message: string;
38392
+ }[];
38393
+ context?: unknown;
38394
+ };
38395
+ };
38396
+ };
38397
+ /** @description Not found */
38398
+ 404: {
38399
+ headers: {
38400
+ [name: string]: unknown;
38401
+ };
38402
+ content: {
38403
+ "application/json": {
38404
+ code: string;
38405
+ message: string;
38406
+ issues?: {
38407
+ message: string;
38408
+ }[];
38409
+ context?: unknown;
38410
+ };
38411
+ };
38412
+ };
38413
+ /** @description Internal server error */
38414
+ 500: {
38415
+ headers: {
38416
+ [name: string]: unknown;
38417
+ };
38418
+ content: {
38419
+ "application/json": {
38420
+ code: string;
38421
+ message: string;
38422
+ issues?: {
38423
+ message: string;
38424
+ }[];
38425
+ context?: unknown;
38426
+ };
38427
+ };
38428
+ };
38429
+ };
38430
+ };
38431
+ postTeamsMigrateVriToVrtStatements: {
38432
+ parameters: {
38433
+ query?: never;
38434
+ header?: never;
38435
+ path?: never;
38436
+ cookie?: never;
38437
+ };
38438
+ requestBody?: {
38439
+ content: {
38440
+ "application/json": {
38441
+ /** Format: uuid */
38442
+ sourceTenantId: string;
38443
+ /** Format: uuid */
38444
+ targetTenantId: string;
38205
38445
  accountMappings?: {
38206
38446
  legacyAccountKey: string;
38207
38447
  /** Format: uuid */
@@ -38417,12 +38657,11 @@ export interface operations {
38417
38657
  };
38418
38658
  };
38419
38659
  };
38420
- getTeamsMigrateVriToVrtAccountMappings: {
38660
+ getTeamsMigrateVriToVrtStatementsAccountMappings: {
38421
38661
  parameters: {
38422
38662
  query: {
38423
38663
  sourceTenantId: string;
38424
- targetPartnerId?: string | null;
38425
- glStartAt: string;
38664
+ targetTenantId: string;
38426
38665
  };
38427
38666
  header?: never;
38428
38667
  path?: never;