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