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