@vrplatform/api 1.3.1-stage.2099 → 1.3.1-stage.2101

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.2099",
6
+ "version": "1.3.1-stage.2101",
7
7
  "description": "",
8
8
  "main": "build/main/index.js",
9
9
  "module": "build/module/index.js",
@@ -2615,6 +2615,23 @@ export interface paths {
2615
2615
  patch?: never;
2616
2616
  trace?: never;
2617
2617
  };
2618
+ "/teams/migrate-vri-to-vrt": {
2619
+ parameters: {
2620
+ query?: never;
2621
+ header?: never;
2622
+ path?: never;
2623
+ cookie?: never;
2624
+ };
2625
+ get?: never;
2626
+ put?: never;
2627
+ /** @description Migrate a legacy VRI team into a new GL-enabled team */
2628
+ post: operations["postTeamsMigrateVriToVrt"];
2629
+ delete?: never;
2630
+ options?: never;
2631
+ head?: never;
2632
+ patch?: never;
2633
+ trace?: never;
2634
+ };
2618
2635
  "/teams/opening-balances/accounts-payable": {
2619
2636
  parameters: {
2620
2637
  query?: never;
@@ -36039,6 +36056,229 @@ export interface operations {
36039
36056
  };
36040
36057
  };
36041
36058
  };
36059
+ postTeamsMigrateVriToVrt: {
36060
+ parameters: {
36061
+ query?: never;
36062
+ header?: never;
36063
+ path?: never;
36064
+ cookie?: never;
36065
+ };
36066
+ requestBody?: {
36067
+ content: {
36068
+ "application/json": {
36069
+ /** Format: uuid */
36070
+ sourceTenantId: string;
36071
+ targetPartnerId?: string | null;
36072
+ targetName?: string | null;
36073
+ glStartAt: string;
36074
+ };
36075
+ };
36076
+ };
36077
+ responses: {
36078
+ /** @description Successful response */
36079
+ 200: {
36080
+ headers: {
36081
+ [name: string]: unknown;
36082
+ };
36083
+ content: {
36084
+ "application/json": {
36085
+ /** Format: uuid */
36086
+ id: string;
36087
+ defaultCurrency?: string | null;
36088
+ longTermStayNights?: number | null;
36089
+ defaultRevenueRecognition?: ("checkIn" | "checkOut" | "bookedAt" | "proRata") | null;
36090
+ name: string;
36091
+ statementAddress?: {
36092
+ full?: string | null;
36093
+ line1?: string | null;
36094
+ line2?: string | null;
36095
+ city?: string | null;
36096
+ /** @description Deprecated, use stateCode instead */
36097
+ state?: string | null;
36098
+ postalCode?: string | null;
36099
+ stateCode?: string | null;
36100
+ countryCode?: string | null;
36101
+ } | null;
36102
+ billingAddress?: {
36103
+ full?: string | null;
36104
+ line1?: string | null;
36105
+ line2?: string | null;
36106
+ city?: string | null;
36107
+ /** @description Deprecated, use stateCode instead */
36108
+ state?: string | null;
36109
+ postalCode?: string | null;
36110
+ stateCode?: string | null;
36111
+ countryCode?: string | null;
36112
+ } | null;
36113
+ phone?: string | null;
36114
+ email?: string | null;
36115
+ taxId?: string | null;
36116
+ partner?: {
36117
+ /** Format: uuid */
36118
+ id: string;
36119
+ name: string;
36120
+ } | null;
36121
+ billingPartner?: {
36122
+ /** Format: uuid */
36123
+ id: string;
36124
+ name: string;
36125
+ } | null;
36126
+ companyName?: string | null;
36127
+ /** @enum {string} */
36128
+ type: "partner" | "admin" | "propertyManager";
36129
+ /** @enum {string} */
36130
+ status: "active" | "inactive" | "deleted" | "onboarding";
36131
+ billingSubscriptionStatus?: string | null;
36132
+ billingPlan?: string | null;
36133
+ createdAt?: string | null;
36134
+ updatedAt?: string | null;
36135
+ trialUntil?: string | null;
36136
+ cancelledAt?: string | null;
36137
+ isOnboarding?: boolean | null;
36138
+ issues: ({
36139
+ /** @constant */
36140
+ code: "unassignedAccount";
36141
+ /** @constant */
36142
+ severity: "error";
36143
+ context: {
36144
+ accountIds: string[];
36145
+ };
36146
+ } | {
36147
+ /** @constant */
36148
+ code: "brokenConnections";
36149
+ /** @constant */
36150
+ severity: "error";
36151
+ context: {
36152
+ connections: {
36153
+ /** Format: uuid */
36154
+ id: string;
36155
+ name: string;
36156
+ appId: string;
36157
+ }[];
36158
+ };
36159
+ } | {
36160
+ /** @constant */
36161
+ code: "outdatedConnections";
36162
+ /** @constant */
36163
+ severity: "error";
36164
+ context: {
36165
+ connections: {
36166
+ /** Format: uuid */
36167
+ id: string;
36168
+ name: string;
36169
+ appId: string;
36170
+ }[];
36171
+ };
36172
+ })[];
36173
+ isGeneralLedger?: boolean | null;
36174
+ booksClosedAt?: string | null;
36175
+ logo?: string | null;
36176
+ statementStartAt?: string | null;
36177
+ ownerPortalShowDraftStatements?: boolean;
36178
+ members?: {
36179
+ userId: string;
36180
+ email?: string | null;
36181
+ role: string;
36182
+ name?: string | null;
36183
+ firstName?: string | null;
36184
+ }[] | null;
36185
+ extractableConnections?: {
36186
+ [key: string]: {
36187
+ connections: {
36188
+ /** Format: uuid */
36189
+ id: string;
36190
+ name: string;
36191
+ appId: string;
36192
+ urlExample?: string | null;
36193
+ allowConfirmationCode?: boolean | null;
36194
+ }[];
36195
+ };
36196
+ } | null;
36197
+ };
36198
+ };
36199
+ };
36200
+ /** @description Bad request */
36201
+ 400: {
36202
+ headers: {
36203
+ [name: string]: unknown;
36204
+ };
36205
+ content: {
36206
+ "application/json": {
36207
+ code: string;
36208
+ message: string;
36209
+ issues?: {
36210
+ message: string;
36211
+ }[];
36212
+ context?: unknown;
36213
+ };
36214
+ };
36215
+ };
36216
+ /** @description Unauthorized */
36217
+ 401: {
36218
+ headers: {
36219
+ [name: string]: unknown;
36220
+ };
36221
+ content: {
36222
+ "application/json": {
36223
+ code: string;
36224
+ message: string;
36225
+ issues?: {
36226
+ message: string;
36227
+ }[];
36228
+ context?: unknown;
36229
+ };
36230
+ };
36231
+ };
36232
+ /** @description Forbidden */
36233
+ 403: {
36234
+ headers: {
36235
+ [name: string]: unknown;
36236
+ };
36237
+ content: {
36238
+ "application/json": {
36239
+ code: string;
36240
+ message: string;
36241
+ issues?: {
36242
+ message: string;
36243
+ }[];
36244
+ context?: unknown;
36245
+ };
36246
+ };
36247
+ };
36248
+ /** @description Not found */
36249
+ 404: {
36250
+ headers: {
36251
+ [name: string]: unknown;
36252
+ };
36253
+ content: {
36254
+ "application/json": {
36255
+ code: string;
36256
+ message: string;
36257
+ issues?: {
36258
+ message: string;
36259
+ }[];
36260
+ context?: unknown;
36261
+ };
36262
+ };
36263
+ };
36264
+ /** @description Internal server error */
36265
+ 500: {
36266
+ headers: {
36267
+ [name: string]: unknown;
36268
+ };
36269
+ content: {
36270
+ "application/json": {
36271
+ code: string;
36272
+ message: string;
36273
+ issues?: {
36274
+ message: string;
36275
+ }[];
36276
+ context?: unknown;
36277
+ };
36278
+ };
36279
+ };
36280
+ };
36281
+ };
36042
36282
  getTeamsOpeningBalancesAccountsPayable: {
36043
36283
  parameters: {
36044
36284
  query: {