@vrplatform/api 1.3.1-stage.6101 → 1.3.1-stage.6103

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.6101",
6
+ "version": "1.3.1-stage.6103",
7
7
  "description": "",
8
8
  "main": "build/main/index.js",
9
9
  "module": "build/module/index.js",
@@ -3505,7 +3505,7 @@ export interface paths {
3505
3505
  get?: never;
3506
3506
  put?: never;
3507
3507
  /**
3508
- * @description Import historical VRI statements into an existing migrated GL-enabled team after resolving and validating statement and reservation listing targets
3508
+ * @description Queue a tracked, rerunnable Trigger.dev job that imports historical VRI statements into an existing migrated GL-enabled team after resolving account paths and validating statement and reservation listing targets
3509
3509
  *
3510
3510
  * Required scope: general-ledger:import
3511
3511
  */
@@ -3524,7 +3524,7 @@ export interface paths {
3524
3524
  cookie?: never;
3525
3525
  };
3526
3526
  /**
3527
- * @description Retrieve required historical VRI statement account mappings and suggested target accounts
3527
+ * @description Retrieve required historical VRI statement account mappings, including structured account-path mappings and broad-path description override capabilities, plus the available revenue, expense, and liability targets
3528
3528
  *
3529
3529
  * Required scope: general-ledger:import
3530
3530
  */
@@ -69846,6 +69846,12 @@ export interface operations {
69846
69846
  /** Format: uuid */
69847
69847
  targetAccountId: string;
69848
69848
  }[];
69849
+ lineDescriptionOverrides?: {
69850
+ legacyAccountKey: string;
69851
+ descriptionIncludes: string;
69852
+ /** Format: uuid */
69853
+ targetAccountId: string;
69854
+ }[];
69849
69855
  listingMappings?: {
69850
69856
  /** Format: uuid */
69851
69857
  sourceListingId: string;
@@ -69866,182 +69872,7 @@ export interface operations {
69866
69872
  };
69867
69873
  content: {
69868
69874
  "application/json": {
69869
- /** Format: uuid */
69870
- id: string;
69871
- uniqueRef: string | null;
69872
- /** @enum {string} */
69873
- dataRegion: "ap" | "crunchy" | "eu" | "hostaway" | "us";
69874
- /** @enum {string} */
69875
- storageRealm: "vrintegration" | "vrtrust";
69876
- defaultCurrency?: string | null;
69877
- longTermStayNights?: number | null;
69878
- defaultRevenueRecognition?: ("checkIn" | "checkOut" | "bookedAt" | "proRata") | null;
69879
- migratedFromTenantId?: string | null;
69880
- historicalStatementsImportedAt?: string | null;
69881
- name: string;
69882
- slug: string;
69883
- statementAddress?: {
69884
- full?: string | null;
69885
- line1?: string | null;
69886
- line2?: string | null;
69887
- city?: string | null;
69888
- /** @description Deprecated, use stateCode instead */
69889
- state?: string | null;
69890
- postalCode?: string | null;
69891
- stateCode?: string | null;
69892
- countryCode?: string | null;
69893
- } | null;
69894
- billingAddress?: {
69895
- full?: string | null;
69896
- line1?: string | null;
69897
- line2?: string | null;
69898
- city?: string | null;
69899
- /** @description Deprecated, use stateCode instead */
69900
- state?: string | null;
69901
- postalCode?: string | null;
69902
- stateCode?: string | null;
69903
- countryCode?: string | null;
69904
- } | null;
69905
- phone?: string | null;
69906
- email?: string | null;
69907
- supportEmail?: string | null;
69908
- taxId?: string | null;
69909
- partner?: {
69910
- /** Format: uuid */
69911
- id: string;
69912
- name: string;
69913
- } | null;
69914
- billingPartner: {
69915
- /** Format: uuid */
69916
- id: string;
69917
- name: string;
69918
- };
69919
- /**
69920
- * Format: uuid
69921
- * @description Effective billing partner ID
69922
- */
69923
- billingPartnerId: string;
69924
- companyName?: string | null;
69925
- /** @enum {string} */
69926
- type: "partner" | "admin" | "propertyManager";
69927
- /**
69928
- * @description Lifecycle status derived from the team and billing-partner subscription states
69929
- * @enum {string}
69930
- */
69931
- status: "active" | "inactive";
69932
- capabilities: {
69933
- activate: {
69934
- enabled: boolean;
69935
- disabledReasons: ("teamBillingSubscriptionInactive" | "billingPartnerInactive")[];
69936
- };
69937
- };
69938
- billingSubscriptionStatus?: string | null;
69939
- billingPlan?: string | null;
69940
- billingPaymentMethodType?: string | null;
69941
- billingCustomerId: string | null;
69942
- colorPrimary?: string | null;
69943
- createdAt?: string | null;
69944
- updatedAt?: string | null;
69945
- cancelledAt?: string | null;
69946
- isOnboarding?: boolean | null;
69947
- issues: ({
69948
- /** @constant */
69949
- code: "unassignedAccount";
69950
- /** @constant */
69951
- severity: "error";
69952
- context: {
69953
- accountIds: string[];
69954
- };
69955
- } | {
69956
- /** @constant */
69957
- code: "brokenConnections";
69958
- /** @constant */
69959
- severity: "error";
69960
- context: {
69961
- connections: {
69962
- /** Format: uuid */
69963
- id: string;
69964
- name: string;
69965
- appId: string;
69966
- }[];
69967
- };
69968
- } | {
69969
- /** @constant */
69970
- code: "outdatedConnections";
69971
- /** @constant */
69972
- severity: "error";
69973
- context: {
69974
- connections: {
69975
- /** Format: uuid */
69976
- id: string;
69977
- name: string;
69978
- appId: string;
69979
- }[];
69980
- };
69981
- } | {
69982
- /** @constant */
69983
- code: "pmsMissingAccountingStart";
69984
- /** @constant */
69985
- severity: "error";
69986
- context: {
69987
- connections: {
69988
- /** Format: uuid */
69989
- id: string;
69990
- name: string;
69991
- appId: string;
69992
- }[];
69993
- };
69994
- })[];
69995
- isGeneralLedger?: boolean | null;
69996
- isOpex?: boolean;
69997
- booksClosedAt?: string | null;
69998
- logo?: string | null;
69999
- statementStartAt?: string | null;
70000
- effectiveStatementStartAt?: string | null;
70001
- settings: {
70002
- showVRPilotGuide: boolean;
70003
- showReservations: boolean;
70004
- showCancelledReservations: boolean;
70005
- showReservationTotal: boolean;
70006
- showOwnerCalendarBlocking: boolean;
70007
- showTaxStatements: boolean;
70008
- showTwoFactorAuth: boolean;
70009
- };
70010
- ownerPortalShowDraftStatements?: boolean;
70011
- members?: {
70012
- userId: string;
70013
- email?: string | null;
70014
- role: string;
70015
- name?: string | null;
70016
- firstName?: string | null;
70017
- lastName?: string | null;
70018
- }[] | null;
70019
- extractableConnections?: {
70020
- [key: string]: {
70021
- connections: {
70022
- /** Format: uuid */
70023
- id: string;
70024
- name: string;
70025
- appId: string;
70026
- urlExample?: string | null;
70027
- allowConfirmationCode?: boolean | null;
70028
- }[];
70029
- };
70030
- } | null;
70031
- enabledFeatures?: {
70032
- /** Format: uuid */
70033
- featureId: string;
70034
- /** @enum {string} */
70035
- status: "all" | "disabled" | "partially";
70036
- }[];
70037
- isBillable: boolean;
70038
- aggregates: {
70039
- activeListings: number;
70040
- members: number;
70041
- activeConnections: number;
70042
- connectionIssues: number;
70043
- childTeams: number;
70044
- };
69875
+ runId: string;
70045
69876
  };
70046
69877
  };
70047
69878
  };
@@ -70313,6 +70144,15 @@ export interface operations {
70313
70144
  id: string;
70314
70145
  title: string;
70315
70146
  } | null;
70147
+ lineDescriptionOverridesAllowed: boolean;
70148
+ currentLineDescriptionOverrides: {
70149
+ descriptionIncludes: string;
70150
+ targetAccount: {
70151
+ /** Format: uuid */
70152
+ id: string;
70153
+ title: string;
70154
+ };
70155
+ }[];
70316
70156
  }[];
70317
70157
  newAccounts: {
70318
70158
  /** Format: uuid */