@vrplatform/api 1.3.1-stage.2100 → 1.3.1-stage.2102

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