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