@vrplatform/api 1.3.1-stage.2157 → 1.3.1-stage.2166

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.
@@ -2735,6 +2735,23 @@ export interface paths {
2735
2735
  patch?: never;
2736
2736
  trace?: never;
2737
2737
  };
2738
+ "/teams/migrate-vri-to-vrt/account-mappings": {
2739
+ parameters: {
2740
+ query?: never;
2741
+ header?: never;
2742
+ path?: never;
2743
+ cookie?: never;
2744
+ };
2745
+ /** @description Retrieve required historical VRI account mappings and suggested VRT targets */
2746
+ get: operations["getTeamsMigrateVriToVrtAccountMappings"];
2747
+ put?: never;
2748
+ post?: never;
2749
+ delete?: never;
2750
+ options?: never;
2751
+ head?: never;
2752
+ patch?: never;
2753
+ trace?: never;
2754
+ };
2738
2755
  "/teams/opening-balances/accounts-payable": {
2739
2756
  parameters: {
2740
2757
  query?: never;
@@ -5974,7 +5991,7 @@ export interface operations {
5974
5991
  entityId?: string;
5975
5992
  entityType?: "account" | "journalEntry" | "listingOwnershipPeriod" | "ownerStatement" | "recurringTransactionTemplate" | "reservation" | "tenant" | "transaction" | "transactionAttachment";
5976
5993
  status?: "pending" | "claimed" | "running" | "completed" | "failed" | "dead_letter";
5977
- effectType?: "BANK_ACCOUNT_CREATED_TRACK" | "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" | "TENANT_HYPERLINE_SYNC" | "TENANT_INIT" | "TENANT_LINEAR_WEBHOOK" | "TENANT_STATUS_TRACK" | "TENANT_SUSPENSION_EMAIL";
5994
+ effectType?: "BANK_ACCOUNT_CREATED_TRACK" | "CALENDAR_UNBLOCK_ACTION" | "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" | "TENANT_HYPERLINE_SYNC" | "TENANT_INIT" | "TENANT_LINEAR_WEBHOOK" | "TENANT_STATUS_TRACK" | "TENANT_SUSPENSION_EMAIL";
5978
5995
  page?: number;
5979
5996
  };
5980
5997
  header?: never;
@@ -6012,7 +6029,7 @@ export interface operations {
6012
6029
  rootEntityType: string | null;
6013
6030
  rootEntityId: string | null;
6014
6031
  /** @enum {string} */
6015
- effectType: "BANK_ACCOUNT_CREATED_TRACK" | "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" | "TENANT_HYPERLINE_SYNC" | "TENANT_INIT" | "TENANT_LINEAR_WEBHOOK" | "TENANT_STATUS_TRACK" | "TENANT_SUSPENSION_EMAIL";
6032
+ effectType: "BANK_ACCOUNT_CREATED_TRACK" | "CALENDAR_UNBLOCK_ACTION" | "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" | "TENANT_HYPERLINE_SYNC" | "TENANT_INIT" | "TENANT_LINEAR_WEBHOOK" | "TENANT_STATUS_TRACK" | "TENANT_SUSPENSION_EMAIL";
6016
6033
  payload: unknown;
6017
6034
  entity: ({
6018
6035
  /** @constant */
@@ -16036,7 +16053,7 @@ export interface operations {
16036
16053
  data: {
16037
16054
  /** Format: uuid */
16038
16055
  listingId: string;
16039
- startAt: string;
16056
+ startAt: string | null;
16040
16057
  endAt?: string | null;
16041
16058
  setListingInactive?: boolean | null;
16042
16059
  businessModel: ("managed" | "co_host" | "co_host_airbnb") | null;
@@ -16155,7 +16172,7 @@ export interface operations {
16155
16172
  "application/json": {
16156
16173
  /** Format: uuid */
16157
16174
  listingId: string;
16158
- startAt?: string;
16175
+ startAt?: string | null;
16159
16176
  endAt?: string | null;
16160
16177
  reserve?: number | null;
16161
16178
  members: {
@@ -16178,7 +16195,7 @@ export interface operations {
16178
16195
  "application/json": {
16179
16196
  /** Format: uuid */
16180
16197
  listingId: string;
16181
- startAt: string;
16198
+ startAt: string | null;
16182
16199
  endAt?: string | null;
16183
16200
  setListingInactive?: boolean | null;
16184
16201
  businessModel: ("managed" | "co_host" | "co_host_airbnb") | null;
@@ -16295,7 +16312,7 @@ export interface operations {
16295
16312
  "application/json": {
16296
16313
  /** Format: uuid */
16297
16314
  listingId: string;
16298
- startAt: string;
16315
+ startAt: string | null;
16299
16316
  endAt?: string | null;
16300
16317
  setListingInactive?: boolean | null;
16301
16318
  businessModel: ("managed" | "co_host" | "co_host_airbnb") | null;
@@ -16406,7 +16423,7 @@ export interface operations {
16406
16423
  "application/json": {
16407
16424
  /** Format: uuid */
16408
16425
  listingId?: string;
16409
- startAt?: string;
16426
+ startAt?: string | null;
16410
16427
  endAt?: string | null;
16411
16428
  reserve?: number | null;
16412
16429
  members?: {
@@ -16429,7 +16446,7 @@ export interface operations {
16429
16446
  "application/json": {
16430
16447
  /** Format: uuid */
16431
16448
  listingId: string;
16432
- startAt: string;
16449
+ startAt: string | null;
16433
16450
  endAt?: string | null;
16434
16451
  setListingInactive?: boolean | null;
16435
16452
  businessModel: ("managed" | "co_host" | "co_host_airbnb") | null;
@@ -23511,7 +23528,7 @@ export interface operations {
23511
23528
  netIncome: number;
23512
23529
  adjustments: number;
23513
23530
  transfers: number;
23514
- reserves: number;
23531
+ assetsAndLiabilities: number;
23515
23532
  availableBalance: number;
23516
23533
  };
23517
23534
  summary: {
@@ -23743,7 +23760,7 @@ export interface operations {
23743
23760
  netIncome: number;
23744
23761
  adjustments: number;
23745
23762
  transfers: number;
23746
- reserves: number;
23763
+ assetsAndLiabilities: number;
23747
23764
  availableBalance: number;
23748
23765
  };
23749
23766
  summary: {
@@ -23768,7 +23785,7 @@ export interface operations {
23768
23785
  }[];
23769
23786
  sections: {
23770
23787
  /** @enum {string} */
23771
- id: "net-revenue" | "expenses" | "adjustments" | "transfers" | "reserves" | "other";
23788
+ id: "net-revenue" | "expenses" | "adjustments" | "transfers" | "assets-and-liabilities" | "other";
23772
23789
  name: string;
23773
23790
  accounts: {
23774
23791
  id: string;
@@ -37977,6 +37994,11 @@ export interface operations {
37977
37994
  targetName?: string | null;
37978
37995
  glStartAt: string;
37979
37996
  includeHistoricalStatements?: boolean;
37997
+ accountMappings?: {
37998
+ legacyAccountKey: string;
37999
+ /** Format: uuid */
38000
+ targetAccountId: string;
38001
+ }[];
37980
38002
  };
37981
38003
  };
37982
38004
  };
@@ -38186,6 +38208,130 @@ export interface operations {
38186
38208
  };
38187
38209
  };
38188
38210
  };
38211
+ getTeamsMigrateVriToVrtAccountMappings: {
38212
+ parameters: {
38213
+ query: {
38214
+ sourceTenantId: string;
38215
+ targetPartnerId?: string | null;
38216
+ glStartAt: string;
38217
+ };
38218
+ header?: never;
38219
+ path?: never;
38220
+ cookie?: never;
38221
+ };
38222
+ requestBody?: never;
38223
+ responses: {
38224
+ /** @description Successful response */
38225
+ 200: {
38226
+ headers: {
38227
+ [name: string]: unknown;
38228
+ };
38229
+ content: {
38230
+ "application/json": {
38231
+ effectiveGlStartAt: string;
38232
+ oldAccounts: {
38233
+ legacyAccountKey: string;
38234
+ legacyAccountRef?: string | null;
38235
+ legacyAccountName: string;
38236
+ legacyClassification?: string | null;
38237
+ sources: ("template" | "line")[];
38238
+ suggestedTargetAccountId?: string | null;
38239
+ suggestedTargetAccountTitle?: string | null;
38240
+ }[];
38241
+ newAccounts: {
38242
+ /** Format: uuid */
38243
+ id: string;
38244
+ title: string;
38245
+ /** Format: uuid */
38246
+ categoryId: string;
38247
+ type: string;
38248
+ status?: string | null;
38249
+ }[];
38250
+ };
38251
+ };
38252
+ };
38253
+ /** @description Bad request */
38254
+ 400: {
38255
+ headers: {
38256
+ [name: string]: unknown;
38257
+ };
38258
+ content: {
38259
+ "application/json": {
38260
+ code: string;
38261
+ message: string;
38262
+ issues?: {
38263
+ message: string;
38264
+ }[];
38265
+ context?: unknown;
38266
+ };
38267
+ };
38268
+ };
38269
+ /** @description Unauthorized */
38270
+ 401: {
38271
+ headers: {
38272
+ [name: string]: unknown;
38273
+ };
38274
+ content: {
38275
+ "application/json": {
38276
+ code: string;
38277
+ message: string;
38278
+ issues?: {
38279
+ message: string;
38280
+ }[];
38281
+ context?: unknown;
38282
+ };
38283
+ };
38284
+ };
38285
+ /** @description Forbidden */
38286
+ 403: {
38287
+ headers: {
38288
+ [name: string]: unknown;
38289
+ };
38290
+ content: {
38291
+ "application/json": {
38292
+ code: string;
38293
+ message: string;
38294
+ issues?: {
38295
+ message: string;
38296
+ }[];
38297
+ context?: unknown;
38298
+ };
38299
+ };
38300
+ };
38301
+ /** @description Not found */
38302
+ 404: {
38303
+ headers: {
38304
+ [name: string]: unknown;
38305
+ };
38306
+ content: {
38307
+ "application/json": {
38308
+ code: string;
38309
+ message: string;
38310
+ issues?: {
38311
+ message: string;
38312
+ }[];
38313
+ context?: unknown;
38314
+ };
38315
+ };
38316
+ };
38317
+ /** @description Internal server error */
38318
+ 500: {
38319
+ headers: {
38320
+ [name: string]: unknown;
38321
+ };
38322
+ content: {
38323
+ "application/json": {
38324
+ code: string;
38325
+ message: string;
38326
+ issues?: {
38327
+ message: string;
38328
+ }[];
38329
+ context?: unknown;
38330
+ };
38331
+ };
38332
+ };
38333
+ };
38334
+ };
38189
38335
  getTeamsOpeningBalancesAccountsPayable: {
38190
38336
  parameters: {
38191
38337
  query: {