@vrplatform/api 1.3.1-stage.6229 → 1.3.1-stage.6252
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.
|
@@ -818,7 +818,7 @@ export interface paths {
|
|
|
818
818
|
get?: never;
|
|
819
819
|
put?: never;
|
|
820
820
|
/**
|
|
821
|
-
* @description Connect an app and create the connection. OAuth defaults to https://portal.vrplatform.app/callback/ when redirectTo is omitted.
|
|
821
|
+
* @description Connect an app and create the connection. OAuth defaults to https://portal.vrplatform.app/callback/ when redirectTo is omitted. Legacy production /callback is normalized to /callback/, and legacy staging /callback to /connections/oauth-callback. Provider integrations must return stable account identity. The built-in API app receives server-generated connection identity. PMS connections queue durable reservation line-mapping initialization. Hostaway webhook reconciliation runs after credentials are stored. Ramp connections activate and run chart-of-accounts synchronization when autoExtract is enabled. Provider tasks may take up to 25 seconds. Tasks that exceed the limit return ERROR_TIMEOUT.
|
|
822
822
|
*
|
|
823
823
|
* Required scope: integrations:write
|
|
824
824
|
*/
|
|
@@ -860,7 +860,7 @@ export interface paths {
|
|
|
860
860
|
get?: never;
|
|
861
861
|
put?: never;
|
|
862
862
|
/**
|
|
863
|
-
* @description Get a redirect URL to connect an app through OAuth2.0. Defaults to https://portal.vrplatform.app/callback/ when redirectTo is omitted. Normalizes
|
|
863
|
+
* @description Get a redirect URL to connect an app through OAuth2.0. Defaults to https://portal.vrplatform.app/callback/ when redirectTo is omitted. Normalizes legacy production /callback to /callback/ and legacy staging /callback to /connections/oauth-callback.
|
|
864
864
|
*
|
|
865
865
|
* Required scope: integrations:write
|
|
866
866
|
*/
|
|
@@ -975,7 +975,7 @@ export interface paths {
|
|
|
975
975
|
get?: never;
|
|
976
976
|
put?: never;
|
|
977
977
|
/**
|
|
978
|
-
* @description Reconnect an existing app connection. OAuth defaults to https://portal.vrplatform.app/callback/ when redirectTo is omitted.
|
|
978
|
+
* @description Reconnect an existing app connection. OAuth defaults to https://portal.vrplatform.app/callback/ when redirectTo is omitted. Legacy production /callback is normalized to /callback/, and legacy staging /callback to /connections/oauth-callback. The built-in API app preserves its existing server-generated identity. Provider identities owned by another connection are rejected before mutation. PMS reconnections queue durable reservation line-mapping initialization. Hostaway webhook reconciliation runs after credentials are stored. Ramp reconnections run chart-of-accounts synchronization unless that flow is explicitly inactive. Provider tasks may take up to 25 seconds. Tasks that exceed the limit return ERROR_TIMEOUT.
|
|
979
979
|
*
|
|
980
980
|
* Required scope: integrations:write
|
|
981
981
|
*/
|
|
@@ -4521,7 +4521,7 @@ export interface paths {
|
|
|
4521
4521
|
get: operations["getReservations"];
|
|
4522
4522
|
put?: never;
|
|
4523
4523
|
/**
|
|
4524
|
-
* @description Create a reservation. Financial lines post journal entries inline against the listing ownership period covering the stay, so writes into books-closed or statement-locked months are rejected. Owner API keys cannot create reservations. Supports dryRun. See https://docs.vrplatform.app/guides/build/reservations.
|
|
4524
|
+
* @description Create a reservation. Financial lines post journal entries inline against the listing ownership period covering the stay, so writes into books-closed or statement-locked months are rejected. Creation rejects duplicates by connection and unique reference or by connection, resolved listing, and confirmation code. Owner API keys cannot create reservations. Supports dryRun. See https://docs.vrplatform.app/guides/build/reservations.
|
|
4525
4525
|
*
|
|
4526
4526
|
* Required scope: reservations:write
|
|
4527
4527
|
*/
|
|
@@ -5757,7 +5757,7 @@ export interface paths {
|
|
|
5757
5757
|
get: operations["getTeams"];
|
|
5758
5758
|
put?: never;
|
|
5759
5759
|
/**
|
|
5760
|
-
* @description Create team. The generic gateway forwards an explicit dataRegion to that regional cell; an omitted region uses the receiving cell. Partner provisioning requires a uniqueRef. An exact repeat of a completed provision fails with 409 and context.existingTeamId identifies the existing team; changed retry payloads fail without it. Fetch that team with GET /teams/lookup instead of creating it again. Retrying a provisioning request that failed before completing is safe. Generated and explicit slugs are checked against the global tenant registry before the regional tenant is written. defaultCurrency must exist in the target region currency catalog; unsupported values return 400 before creation.
|
|
5760
|
+
* @description Create team. The generic gateway forwards an explicit dataRegion to that regional cell; an omitted region uses the receiving cell. Partner provisioning requires a uniqueRef. An exact repeat of a completed provision fails with 409 and context.existingTeamId identifies the existing team; changed retry payloads fail without it. Fetch that team with GET /teams/lookup instead of creating it again. Retrying a provisioning request that failed before completing is safe. Generated and explicit slugs are checked against the global tenant registry before the regional tenant is written. defaultCurrency must exist in the target region currency catalog; unsupported values return 400 before creation. An explicit General Ledger copyFromTeamId must use the target data region; a mismatch returns 400 before either tenant registry is written.
|
|
5761
5761
|
*
|
|
5762
5762
|
* Required scope: teams:provision
|
|
5763
5763
|
*/
|
|
@@ -78058,6 +78058,7 @@ export interface operations {
|
|
|
78058
78058
|
getGuestBalancesReport: {
|
|
78059
78059
|
parameters: {
|
|
78060
78060
|
query: {
|
|
78061
|
+
/** @description As-of date or date range. For a range, the inclusive end is used. */
|
|
78061
78062
|
date: string;
|
|
78062
78063
|
occupancyStatus: "departed" | "inHouse" | "upcoming" | "cancelled" | "unassigned" | "all";
|
|
78063
78064
|
channels?: string;
|
|
@@ -78436,6 +78437,7 @@ export interface operations {
|
|
|
78436
78437
|
getGuestBalancesReportCsv: {
|
|
78437
78438
|
parameters: {
|
|
78438
78439
|
query: {
|
|
78440
|
+
/** @description As-of date or date range. For a range, the inclusive end is used. */
|
|
78439
78441
|
date: string;
|
|
78440
78442
|
occupancyStatus: "departed" | "inHouse" | "upcoming" | "cancelled" | "unassigned" | "all";
|
|
78441
78443
|
channels?: string;
|
|
@@ -78688,6 +78690,7 @@ export interface operations {
|
|
|
78688
78690
|
getGuestBalancesReportAggregated: {
|
|
78689
78691
|
parameters: {
|
|
78690
78692
|
query: {
|
|
78693
|
+
/** @description As-of date or date range. For a range, the inclusive end is used. */
|
|
78691
78694
|
date: string;
|
|
78692
78695
|
channels?: string;
|
|
78693
78696
|
};
|