@vrplatform/api 1.3.1-6381 → 1.3.1-6387

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. 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.
821
+ * @description Connect an app and create the connection. 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 legacy production /callback to /callback/ and legacy staging /callback to /connections/oauth-callback.
863
+ * @description Get a redirect URL to connect an app through OAuth2.0.
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. 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.
978
+ * @description Reconnect an existing app connection. 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
  */
@@ -1104,7 +1104,7 @@ export interface paths {
1104
1104
  cookie?: never;
1105
1105
  };
1106
1106
  /**
1107
- * @description List the selected contact's active payout transactions newest first. Authenticated owners may request only contact IDs in their server-derived owner access; unauthorized contacts return an opaque not-found response. Property managers and owner-preview sessions may request a selected team contact. The response is an owner-facing projection with the latest provider-payment state, including requested payments, and excludes bank, reconciliation, journal, connection, and internal provider fields.
1107
+ * @description List the selected contact's active payout transactions newest first. Authenticated owners may request only contact IDs in their server-derived owner access; unauthorized contacts return an opaque not-found response. Property managers and owner-preview sessions may request a selected team contact. The response is an owner-facing projection with the linked owner statement and its listing, plus the latest provider-payment state, including requested payments. Payouts linked to more than one statement return no owner statement rather than a misleading listing. Bank, reconciliation, journal, connection, and internal provider fields are excluded.
1108
1108
  *
1109
1109
  * Required scope: transactions:read
1110
1110
  */
@@ -2236,7 +2236,7 @@ export interface paths {
2236
2236
  path?: never;
2237
2237
  cookie?: never;
2238
2238
  };
2239
- /** @description Load the immutable General Ledger default snapshot owned by the selected partner team. The VRPlatform team owns the global default. */
2239
+ /** @description Load the immutable accounting bootstrap snapshot owned by the selected partner team, including reservation line defaults. The VRPlatform team owns the global default. */
2240
2240
  get: operations["getInternalGlobalLedgerTemplate"];
2241
2241
  put?: never;
2242
2242
  post?: never;
@@ -2255,7 +2255,7 @@ export interface paths {
2255
2255
  };
2256
2256
  get?: never;
2257
2257
  put?: never;
2258
- /** @description Build and validate a portable General Ledger snapshot from the selected partner team. Returns the digest required by publish and does not write. */
2258
+ /** @description Build and validate a portable accounting bootstrap snapshot from the selected partner team and its Control Plane reservation defaults. Returns the digest required by publish and does not write. */
2259
2259
  post: operations["postInternalGlobalLedgerTemplatePreview"];
2260
2260
  delete?: never;
2261
2261
  options?: never;
@@ -2272,7 +2272,7 @@ export interface paths {
2272
2272
  };
2273
2273
  get?: never;
2274
2274
  put?: never;
2275
- /** @description Rebuild the selected partner team settings and publish an immutable General Ledger snapshot when its digest and version still match the preceding preview. */
2275
+ /** @description Rebuild the selected partner team settings and publish an immutable accounting bootstrap snapshot, including reservation defaults, when its digest and version still match the preceding preview. */
2276
2276
  post: operations["postInternalGlobalLedgerTemplatePublish"];
2277
2277
  delete?: never;
2278
2278
  options?: never;
@@ -2357,7 +2357,7 @@ export interface paths {
2357
2357
  path?: never;
2358
2358
  cookie?: never;
2359
2359
  };
2360
- /** @description List the selected partner team reservation defaults alongside cross-region adoption counts. The VRPlatform team selects the global scope. Defaults never replace team-owned mappings. VRP-admin only. */
2360
+ /** @description List complete reservation-default line-type groups for the selected partner scope. Filtering, totals, and pagination operate on parent line types; every returned parent includes its complete booking-channel override set and cross-region adoption counts. The VRPlatform team selects the global scope. Defaults never replace team-owned mappings. VRP-admin only. */
2361
2361
  get: operations["getInternalReservationLineDefaults"];
2362
2362
  put?: never;
2363
2363
  post?: never;
@@ -2367,6 +2367,23 @@ export interface paths {
2367
2367
  patch?: never;
2368
2368
  trace?: never;
2369
2369
  };
2370
+ "/internal/reservation-line-defaults/{classificationId}/booking-channel-options": {
2371
+ parameters: {
2372
+ query?: never;
2373
+ header?: never;
2374
+ path?: never;
2375
+ cookie?: never;
2376
+ };
2377
+ /** @description List booking-channel options that do not yet have an override for the selected reservation classification and partner/global scope. Search, totals, and pagination are applied after scoped exclusions. VRP-admin only. */
2378
+ get: operations["getInternalReservationLineDefaultsByClassificationIdBookingChannelOptions"];
2379
+ put?: never;
2380
+ post?: never;
2381
+ delete?: never;
2382
+ options?: never;
2383
+ head?: never;
2384
+ patch?: never;
2385
+ trace?: never;
2386
+ };
2370
2387
  "/internal/reservation-line-defaults/{type}": {
2371
2388
  parameters: {
2372
2389
  query?: never;
@@ -2436,6 +2453,40 @@ export interface paths {
2436
2453
  patch?: never;
2437
2454
  trace?: never;
2438
2455
  };
2456
+ "/internal/transaction-line-mappings": {
2457
+ parameters: {
2458
+ query?: never;
2459
+ header?: never;
2460
+ path?: never;
2461
+ cookie?: never;
2462
+ };
2463
+ /** @description List the Control Plane-owned transaction line classifications and global mappings. Status filters expose mapped or unmapped totals through pagination without scanning regional transaction lines. VRP-admin only. */
2464
+ get: operations["getInternalTransactionLineMappings"];
2465
+ put?: never;
2466
+ post?: never;
2467
+ delete?: never;
2468
+ options?: never;
2469
+ head?: never;
2470
+ patch?: never;
2471
+ trace?: never;
2472
+ };
2473
+ "/internal/transaction-line-mappings/{type}": {
2474
+ parameters: {
2475
+ query?: never;
2476
+ header?: never;
2477
+ path?: never;
2478
+ cookie?: never;
2479
+ };
2480
+ get?: never;
2481
+ /** @description Update the global Control Plane transaction mapping and enqueue its revision for every regional runtime projection. Existing assigned transaction lines are not rewritten. VRP-admin only. */
2482
+ put: operations["putInternalTransactionLineMappingsByType"];
2483
+ post?: never;
2484
+ delete?: never;
2485
+ options?: never;
2486
+ head?: never;
2487
+ patch?: never;
2488
+ trace?: never;
2489
+ };
2439
2490
  "/internal/users": {
2440
2491
  parameters: {
2441
2492
  query?: never;
@@ -6178,48 +6229,6 @@ export interface paths {
6178
6229
  patch?: never;
6179
6230
  trace?: never;
6180
6231
  };
6181
- "/transactions/line-mappings": {
6182
- parameters: {
6183
- query?: never;
6184
- header?: never;
6185
- path?: never;
6186
- cookie?: never;
6187
- };
6188
- /**
6189
- * @description List the Control Plane-owned transaction line classifications and global mappings. Status filters expose mapped or unmapped totals through pagination without scanning regional transaction lines.
6190
- *
6191
- * Required scope: transaction-mappings:read
6192
- */
6193
- get: operations["getTransactionsLineMappings"];
6194
- put?: never;
6195
- post?: never;
6196
- delete?: never;
6197
- options?: never;
6198
- head?: never;
6199
- patch?: never;
6200
- trace?: never;
6201
- };
6202
- "/transactions/line-mappings/{type}": {
6203
- parameters: {
6204
- query?: never;
6205
- header?: never;
6206
- path?: never;
6207
- cookie?: never;
6208
- };
6209
- get?: never;
6210
- /**
6211
- * @description Update the global Control Plane transaction mapping and enqueue its revision for every regional runtime projection. Existing assigned transaction lines are not rewritten. VRP-admin only.
6212
- *
6213
- * Required scope: transaction-mappings:write
6214
- */
6215
- put: operations["putTransactionsLineMappingsByType"];
6216
- post?: never;
6217
- delete?: never;
6218
- options?: never;
6219
- head?: never;
6220
- patch?: never;
6221
- trace?: never;
6222
- };
6223
6232
  "/transactions/recurring-templates": {
6224
6233
  parameters: {
6225
6234
  query?: never;
@@ -6333,14 +6342,14 @@ export interface paths {
6333
6342
  */
6334
6343
  get: operations["getTransactionsById"];
6335
6344
  /**
6336
- * @description Update a transaction by ID. Locks apply per line: lines whose journal entries are attached to an owner statement or fall into a books-closed month are locked while the remaining lines stay editable. Changing line account, assignment, listing, or reservation context can recompute a default or forced party. A bank-record match alone still permits deposit and expense description, line account, party, listing, reservation, and expense-markup changes. Amount, date, root bank account, line creation, and line deletion require unmatching first. Books-closed and statement locks still take precedence. See https://docs.vrplatform.app/guides/build/transactions#decision-table. For expense attachments, pass attachmentIds to replace the attached set. Omit attachmentIds to keep current attachments. Attachments are only supported for expense transactions. A uniqueRef already used by another team transaction returns a structured user error.
6345
+ * @description Update a transaction by ID. Locks apply per line: lines whose journal entries are attached to an owner statement or fall into a books-closed month are locked while the remaining lines stay editable. Changing line account, assignment, listing, or reservation context can recompute a default or forced party. A bank-record match alone still permits deposit and expense description, line account, party, listing, reservation, and expense-markup changes. Amount, date, root bank account, line creation, and line deletion require unmatching first. Books-closed and statement locks still take precedence. A payout with a Requested, Processing, or Paid Ramp payment accepts only a description update until the provider attempt becomes terminal. See https://docs.vrplatform.app/guides/build/transactions#decision-table. For expense attachments, pass attachmentIds to replace the attached set. Omit attachmentIds to keep current attachments. Attachments are only supported for expense transactions. A uniqueRef already used by another team transaction returns a structured user error.
6337
6346
  *
6338
6347
  * Required scope: transactions:write
6339
6348
  */
6340
6349
  put: operations["putTransactionsById"];
6341
6350
  post?: never;
6342
6351
  /**
6343
- * @description Delete a transaction by ID. Use onLocked=archive to archive eligible locked transactions; the option does not bypass statement, books-closed, or reconciliation rules. A concurrent duplicate delete returns the standard not-found response after the first request removes the transaction.
6352
+ * @description Delete a transaction by ID. Use onLocked=archive to archive eligible locked transactions; the option does not bypass statement, books-closed, or reconciliation rules. Payouts with a Requested, Processing, or Paid Ramp payment cannot be deleted until the provider attempt becomes terminal. A concurrent duplicate delete returns the standard not-found response after the first request removes the transaction.
6344
6353
  *
6345
6354
  * Required scope: transactions:delete
6346
6355
  */
@@ -6403,7 +6412,7 @@ export interface paths {
6403
6412
  put?: never;
6404
6413
  post?: never;
6405
6414
  /**
6406
- * @description Unlink a never-submitted or terminal Ramp payment attempt from a transaction. This requires transactions:mark-paid and ach-payments:execute. Processing and paid payments cannot be unlinked.
6415
+ * @description Unlink a never-submitted or terminal Ramp payment attempt from a transaction. This requires transactions:mark-paid and ach-payments:execute. Submitted requested, processing, and paid payments cannot be unlinked.
6407
6416
  *
6408
6417
  * Required scope: transactions:mark-paid, ach-payments:execute
6409
6418
  */
@@ -6443,7 +6452,7 @@ export interface paths {
6443
6452
  };
6444
6453
  get?: never;
6445
6454
  /**
6446
- * @description Update a transaction line by ID. Account, assignment, listing, and reservation changes can recompute a default or forced party. A bank-record match alone permits description, account, party, listing, reservation, and expense-markup changes. This includes moving deposit lines between reservation and non-reservation items. Amount changes require unmatching first. Books-closed, attached-statement, and source or destination statement-period locks take precedence. See https://docs.vrplatform.app/guides/build/transactions#decision-table.
6455
+ * @description Update a transaction line by ID. Account, assignment, listing, and reservation changes can recompute a default or forced party. A bank-record match alone permits description, account, party, listing, reservation, and expense-markup changes. This includes moving deposit lines between reservation and non-reservation items. Amount changes require unmatching first. Books-closed, attached-statement, and source or destination statement-period locks take precedence. A payout with a Requested, Processing, or Paid Ramp payment accepts only a line-description update until the provider attempt becomes terminal. See https://docs.vrplatform.app/guides/build/transactions#decision-table.
6447
6456
  *
6448
6457
  * Required scope: transactions:write
6449
6458
  */
@@ -11890,7 +11899,7 @@ export interface operations {
11890
11899
  hint: string | null;
11891
11900
  role: string | null;
11892
11901
  scope: string | null;
11893
- scopes: ("self:read" | "self:write" | "audit:read" | "operations:read" | "partner:read" | "teams:read" | "teams:provision" | "teams:write" | "teams:initialize" | "embedded-sessions:issue" | "team-members:read" | "team-members:manage" | "team-member-roles:manage" | "partner-access-policy:manage" | "api-tokens:manage" | "partner-users:read" | "partner-users:manage" | "partner-memberships:manage" | "team-settings:read" | "team-settings:write" | "integrations:read" | "integrations:write" | "integrations:execute" | "integrations:import" | "integrations:delete" | "sources:read" | "calendar:read" | "calendar:write" | "calendar:delete" | "files:read" | "files:write" | "files:delete" | "general-ledger:read" | "general-ledger:write" | "general-ledger:import" | "team-onboarding:read" | "team-onboarding:write" | "team-issues:read" | "books:close" | "listings:read" | "listings:write" | "listings:delete" | "listings:export" | "contacts:read" | "contacts:write" | "contacts:delete" | "contacts:export" | "ownerships:read" | "ownerships:write" | "ownerships:delete" | "reservations:read" | "reservations:write" | "reservations:delete" | "reservations:export" | "reservations:post-journals" | "transactions:read" | "transactions:write" | "transactions:delete" | "transactions:export" | "transactions:post-journals" | "transactions:mark-paid" | "accounts:read" | "accounts:write" | "accounts:delete" | "accounts:export" | "accounts:recalculate" | "tax-rates:read" | "tax-rates:write" | "tax-rates:delete" | "reservation-mappings:read" | "reservation-mappings:write" | "transaction-mappings:read" | "transaction-mappings:write" | "statements:read" | "statements:write" | "statements:delete" | "statements:publish" | "statements:record-payout" | "statements:export" | "statement-layouts:read" | "statement-layouts:write" | "statement-layouts:delete" | "recurring-fees:read" | "recurring-fees:write" | "recurring-fees:delete" | "reports:read" | "reports:export" | "metrics:read" | "bank-accounts:read" | "bank-accounts:write" | "bank-connections:manage" | "bank-records:read" | "bank-records:write" | "bank-records:delete" | "bank-records:export" | "bank-rules:read" | "bank-rules:write" | "bank-rules:delete" | "bank-rules:execute" | "ach-payment-methods:write" | "ach-payments:execute" | "webhooks:read" | "webhooks:manage" | "webhooks:replay")[];
11902
+ scopes: ("self:read" | "self:write" | "audit:read" | "operations:read" | "partner:read" | "teams:read" | "teams:provision" | "teams:write" | "teams:initialize" | "embedded-sessions:issue" | "team-members:read" | "team-members:manage" | "team-member-roles:manage" | "partner-access-policy:manage" | "api-tokens:manage" | "partner-users:read" | "partner-users:manage" | "partner-memberships:manage" | "team-settings:read" | "team-settings:write" | "integrations:read" | "integrations:write" | "integrations:execute" | "integrations:import" | "integrations:delete" | "sources:read" | "calendar:read" | "calendar:write" | "calendar:delete" | "files:read" | "files:write" | "files:delete" | "general-ledger:read" | "general-ledger:write" | "general-ledger:import" | "team-onboarding:read" | "team-onboarding:write" | "team-issues:read" | "books:close" | "listings:read" | "listings:write" | "listings:delete" | "listings:export" | "contacts:read" | "contacts:write" | "contacts:delete" | "contacts:export" | "ownerships:read" | "ownerships:write" | "ownerships:delete" | "reservations:read" | "reservations:write" | "reservations:delete" | "reservations:export" | "reservations:post-journals" | "transactions:read" | "transactions:write" | "transactions:delete" | "transactions:export" | "transactions:post-journals" | "transactions:mark-paid" | "accounts:read" | "accounts:write" | "accounts:delete" | "accounts:export" | "accounts:recalculate" | "tax-rates:read" | "tax-rates:write" | "tax-rates:delete" | "reservation-mappings:read" | "reservation-mappings:write" | "statements:read" | "statements:write" | "statements:delete" | "statements:publish" | "statements:record-payout" | "statements:export" | "statement-layouts:read" | "statement-layouts:write" | "statement-layouts:delete" | "recurring-fees:read" | "recurring-fees:write" | "recurring-fees:delete" | "reports:read" | "reports:export" | "metrics:read" | "bank-accounts:read" | "bank-accounts:write" | "bank-connections:manage" | "bank-records:read" | "bank-records:write" | "bank-records:delete" | "bank-records:export" | "bank-rules:read" | "bank-rules:write" | "bank-rules:delete" | "bank-rules:execute" | "ach-payment-methods:write" | "ach-payments:execute" | "webhooks:read" | "webhooks:manage" | "webhooks:replay")[];
11894
11903
  }[];
11895
11904
  pagination: {
11896
11905
  /** @default 100 */
@@ -12172,7 +12181,7 @@ export interface operations {
12172
12181
  hint: string | null;
12173
12182
  role: string | null;
12174
12183
  scope: string | null;
12175
- scopes: ("self:read" | "self:write" | "audit:read" | "operations:read" | "partner:read" | "teams:read" | "teams:provision" | "teams:write" | "teams:initialize" | "embedded-sessions:issue" | "team-members:read" | "team-members:manage" | "team-member-roles:manage" | "partner-access-policy:manage" | "api-tokens:manage" | "partner-users:read" | "partner-users:manage" | "partner-memberships:manage" | "team-settings:read" | "team-settings:write" | "integrations:read" | "integrations:write" | "integrations:execute" | "integrations:import" | "integrations:delete" | "sources:read" | "calendar:read" | "calendar:write" | "calendar:delete" | "files:read" | "files:write" | "files:delete" | "general-ledger:read" | "general-ledger:write" | "general-ledger:import" | "team-onboarding:read" | "team-onboarding:write" | "team-issues:read" | "books:close" | "listings:read" | "listings:write" | "listings:delete" | "listings:export" | "contacts:read" | "contacts:write" | "contacts:delete" | "contacts:export" | "ownerships:read" | "ownerships:write" | "ownerships:delete" | "reservations:read" | "reservations:write" | "reservations:delete" | "reservations:export" | "reservations:post-journals" | "transactions:read" | "transactions:write" | "transactions:delete" | "transactions:export" | "transactions:post-journals" | "transactions:mark-paid" | "accounts:read" | "accounts:write" | "accounts:delete" | "accounts:export" | "accounts:recalculate" | "tax-rates:read" | "tax-rates:write" | "tax-rates:delete" | "reservation-mappings:read" | "reservation-mappings:write" | "transaction-mappings:read" | "transaction-mappings:write" | "statements:read" | "statements:write" | "statements:delete" | "statements:publish" | "statements:record-payout" | "statements:export" | "statement-layouts:read" | "statement-layouts:write" | "statement-layouts:delete" | "recurring-fees:read" | "recurring-fees:write" | "recurring-fees:delete" | "reports:read" | "reports:export" | "metrics:read" | "bank-accounts:read" | "bank-accounts:write" | "bank-connections:manage" | "bank-records:read" | "bank-records:write" | "bank-records:delete" | "bank-records:export" | "bank-rules:read" | "bank-rules:write" | "bank-rules:delete" | "bank-rules:execute" | "ach-payment-methods:write" | "ach-payments:execute" | "webhooks:read" | "webhooks:manage" | "webhooks:replay")[];
12184
+ scopes: ("self:read" | "self:write" | "audit:read" | "operations:read" | "partner:read" | "teams:read" | "teams:provision" | "teams:write" | "teams:initialize" | "embedded-sessions:issue" | "team-members:read" | "team-members:manage" | "team-member-roles:manage" | "partner-access-policy:manage" | "api-tokens:manage" | "partner-users:read" | "partner-users:manage" | "partner-memberships:manage" | "team-settings:read" | "team-settings:write" | "integrations:read" | "integrations:write" | "integrations:execute" | "integrations:import" | "integrations:delete" | "sources:read" | "calendar:read" | "calendar:write" | "calendar:delete" | "files:read" | "files:write" | "files:delete" | "general-ledger:read" | "general-ledger:write" | "general-ledger:import" | "team-onboarding:read" | "team-onboarding:write" | "team-issues:read" | "books:close" | "listings:read" | "listings:write" | "listings:delete" | "listings:export" | "contacts:read" | "contacts:write" | "contacts:delete" | "contacts:export" | "ownerships:read" | "ownerships:write" | "ownerships:delete" | "reservations:read" | "reservations:write" | "reservations:delete" | "reservations:export" | "reservations:post-journals" | "transactions:read" | "transactions:write" | "transactions:delete" | "transactions:export" | "transactions:post-journals" | "transactions:mark-paid" | "accounts:read" | "accounts:write" | "accounts:delete" | "accounts:export" | "accounts:recalculate" | "tax-rates:read" | "tax-rates:write" | "tax-rates:delete" | "reservation-mappings:read" | "reservation-mappings:write" | "statements:read" | "statements:write" | "statements:delete" | "statements:publish" | "statements:record-payout" | "statements:export" | "statement-layouts:read" | "statement-layouts:write" | "statement-layouts:delete" | "recurring-fees:read" | "recurring-fees:write" | "recurring-fees:delete" | "reports:read" | "reports:export" | "metrics:read" | "bank-accounts:read" | "bank-accounts:write" | "bank-connections:manage" | "bank-records:read" | "bank-records:write" | "bank-records:delete" | "bank-records:export" | "bank-rules:read" | "bank-rules:write" | "bank-rules:delete" | "bank-rules:execute" | "ach-payment-methods:write" | "ach-payments:execute" | "webhooks:read" | "webhooks:manage" | "webhooks:replay")[];
12176
12185
  apiToken: string;
12177
12186
  };
12178
12187
  };
@@ -12436,7 +12445,7 @@ export interface operations {
12436
12445
  hint: string | null;
12437
12446
  role: string | null;
12438
12447
  scope: string | null;
12439
- scopes: ("self:read" | "self:write" | "audit:read" | "operations:read" | "partner:read" | "teams:read" | "teams:provision" | "teams:write" | "teams:initialize" | "embedded-sessions:issue" | "team-members:read" | "team-members:manage" | "team-member-roles:manage" | "partner-access-policy:manage" | "api-tokens:manage" | "partner-users:read" | "partner-users:manage" | "partner-memberships:manage" | "team-settings:read" | "team-settings:write" | "integrations:read" | "integrations:write" | "integrations:execute" | "integrations:import" | "integrations:delete" | "sources:read" | "calendar:read" | "calendar:write" | "calendar:delete" | "files:read" | "files:write" | "files:delete" | "general-ledger:read" | "general-ledger:write" | "general-ledger:import" | "team-onboarding:read" | "team-onboarding:write" | "team-issues:read" | "books:close" | "listings:read" | "listings:write" | "listings:delete" | "listings:export" | "contacts:read" | "contacts:write" | "contacts:delete" | "contacts:export" | "ownerships:read" | "ownerships:write" | "ownerships:delete" | "reservations:read" | "reservations:write" | "reservations:delete" | "reservations:export" | "reservations:post-journals" | "transactions:read" | "transactions:write" | "transactions:delete" | "transactions:export" | "transactions:post-journals" | "transactions:mark-paid" | "accounts:read" | "accounts:write" | "accounts:delete" | "accounts:export" | "accounts:recalculate" | "tax-rates:read" | "tax-rates:write" | "tax-rates:delete" | "reservation-mappings:read" | "reservation-mappings:write" | "transaction-mappings:read" | "transaction-mappings:write" | "statements:read" | "statements:write" | "statements:delete" | "statements:publish" | "statements:record-payout" | "statements:export" | "statement-layouts:read" | "statement-layouts:write" | "statement-layouts:delete" | "recurring-fees:read" | "recurring-fees:write" | "recurring-fees:delete" | "reports:read" | "reports:export" | "metrics:read" | "bank-accounts:read" | "bank-accounts:write" | "bank-connections:manage" | "bank-records:read" | "bank-records:write" | "bank-records:delete" | "bank-records:export" | "bank-rules:read" | "bank-rules:write" | "bank-rules:delete" | "bank-rules:execute" | "ach-payment-methods:write" | "ach-payments:execute" | "webhooks:read" | "webhooks:manage" | "webhooks:replay")[];
12448
+ scopes: ("self:read" | "self:write" | "audit:read" | "operations:read" | "partner:read" | "teams:read" | "teams:provision" | "teams:write" | "teams:initialize" | "embedded-sessions:issue" | "team-members:read" | "team-members:manage" | "team-member-roles:manage" | "partner-access-policy:manage" | "api-tokens:manage" | "partner-users:read" | "partner-users:manage" | "partner-memberships:manage" | "team-settings:read" | "team-settings:write" | "integrations:read" | "integrations:write" | "integrations:execute" | "integrations:import" | "integrations:delete" | "sources:read" | "calendar:read" | "calendar:write" | "calendar:delete" | "files:read" | "files:write" | "files:delete" | "general-ledger:read" | "general-ledger:write" | "general-ledger:import" | "team-onboarding:read" | "team-onboarding:write" | "team-issues:read" | "books:close" | "listings:read" | "listings:write" | "listings:delete" | "listings:export" | "contacts:read" | "contacts:write" | "contacts:delete" | "contacts:export" | "ownerships:read" | "ownerships:write" | "ownerships:delete" | "reservations:read" | "reservations:write" | "reservations:delete" | "reservations:export" | "reservations:post-journals" | "transactions:read" | "transactions:write" | "transactions:delete" | "transactions:export" | "transactions:post-journals" | "transactions:mark-paid" | "accounts:read" | "accounts:write" | "accounts:delete" | "accounts:export" | "accounts:recalculate" | "tax-rates:read" | "tax-rates:write" | "tax-rates:delete" | "reservation-mappings:read" | "reservation-mappings:write" | "statements:read" | "statements:write" | "statements:delete" | "statements:publish" | "statements:record-payout" | "statements:export" | "statement-layouts:read" | "statement-layouts:write" | "statement-layouts:delete" | "recurring-fees:read" | "recurring-fees:write" | "recurring-fees:delete" | "reports:read" | "reports:export" | "metrics:read" | "bank-accounts:read" | "bank-accounts:write" | "bank-connections:manage" | "bank-records:read" | "bank-records:write" | "bank-records:delete" | "bank-records:export" | "bank-rules:read" | "bank-rules:write" | "bank-rules:delete" | "bank-rules:execute" | "ach-payment-methods:write" | "ach-payments:execute" | "webhooks:read" | "webhooks:manage" | "webhooks:replay")[];
12440
12449
  apiToken: string;
12441
12450
  };
12442
12451
  };
@@ -27800,6 +27809,11 @@ export interface operations {
27800
27809
  * @example 2024-01
27801
27810
  */
27802
27811
  month: string;
27812
+ listing: {
27813
+ /** Format: uuid */
27814
+ id: string;
27815
+ name: string;
27816
+ };
27803
27817
  } | null;
27804
27818
  providerPayment: {
27805
27819
  /** Format: uuid */
@@ -49168,7 +49182,7 @@ export interface operations {
49168
49182
  publishedVersion: number | null;
49169
49183
  published: {
49170
49184
  /** @constant */
49171
- schemaVersion: 2;
49185
+ schemaVersion: 3;
49172
49186
  accounts: {
49173
49187
  /** Format: uuid */
49174
49188
  id: string;
@@ -49424,6 +49438,13 @@ export interface operations {
49424
49438
  } | null;
49425
49439
  activeListings: number;
49426
49440
  }[];
49441
+ reservationLineMappings: {
49442
+ accountKey: string | null;
49443
+ appId: string;
49444
+ bookingChannel: string | null;
49445
+ lineType: string;
49446
+ revenueRecognition: ("checkIn" | "checkOut" | "proRata") | null;
49447
+ }[];
49427
49448
  } | null;
49428
49449
  /** Format: uuid */
49429
49450
  sourceTenantId: string;
@@ -49694,7 +49715,7 @@ export interface operations {
49694
49715
  "application/json": {
49695
49716
  bundle: {
49696
49717
  /** @constant */
49697
- schemaVersion: 2;
49718
+ schemaVersion: 3;
49698
49719
  accounts: {
49699
49720
  /** Format: uuid */
49700
49721
  id: string;
@@ -49950,6 +49971,13 @@ export interface operations {
49950
49971
  } | null;
49951
49972
  activeListings: number;
49952
49973
  }[];
49974
+ reservationLineMappings: {
49975
+ accountKey: string | null;
49976
+ appId: string;
49977
+ bookingChannel: string | null;
49978
+ lineType: string;
49979
+ revenueRecognition: ("checkIn" | "checkOut" | "proRata") | null;
49980
+ }[];
49953
49981
  };
49954
49982
  sourceDigest: string;
49955
49983
  publishedVersion: number | null;
@@ -50214,7 +50242,7 @@ export interface operations {
50214
50242
  publishedVersion: number | null;
50215
50243
  published: {
50216
50244
  /** @constant */
50217
- schemaVersion: 2;
50245
+ schemaVersion: 3;
50218
50246
  accounts: {
50219
50247
  /** Format: uuid */
50220
50248
  id: string;
@@ -50470,6 +50498,13 @@ export interface operations {
50470
50498
  } | null;
50471
50499
  activeListings: number;
50472
50500
  }[];
50501
+ reservationLineMappings: {
50502
+ accountKey: string | null;
50503
+ appId: string;
50504
+ bookingChannel: string | null;
50505
+ lineType: string;
50506
+ revenueRecognition: ("checkIn" | "checkOut" | "proRata") | null;
50507
+ }[];
50473
50508
  } | null;
50474
50509
  /** Format: uuid */
50475
50510
  sourceTenantId: string;
@@ -52301,8 +52336,10 @@ export interface operations {
52301
52336
  getInternalReservationLineDefaults: {
52302
52337
  parameters: {
52303
52338
  query?: {
52339
+ accountKey?: string;
52304
52340
  appId?: string;
52305
52341
  search?: string;
52342
+ status?: "excluded" | "mapped" | "unmapped";
52306
52343
  limit?: number;
52307
52344
  page?: number;
52308
52345
  offset?: number;
@@ -52321,21 +52358,38 @@ export interface operations {
52321
52358
  content: {
52322
52359
  "application/json": {
52323
52360
  data: {
52324
- id: string | null;
52325
52361
  /** Format: uuid */
52326
52362
  classificationId: string;
52327
52363
  type: string;
52328
52364
  appId: string | null;
52329
52365
  appConflict: boolean;
52330
- bookingChannel: string | null;
52331
52366
  partnerTenantId: string | null;
52332
- accountKey: string | null;
52333
- revenueRecognition: ("checkIn" | "checkOut" | "proRata") | null;
52334
- revision: number | null;
52335
- teamsSeen: number;
52336
- mappedTeams: number;
52337
- excludedTeams: number;
52338
- unmappedTeams: number;
52367
+ /** @enum {string} */
52368
+ status: "excluded" | "mapped" | "unmapped";
52369
+ base: {
52370
+ /** Format: uuid */
52371
+ id: string;
52372
+ accountKey: string | null;
52373
+ revenueRecognition: ("checkIn" | "checkOut" | "proRata") | null;
52374
+ revision: number;
52375
+ } | null;
52376
+ overrides: {
52377
+ /** Format: uuid */
52378
+ id: string;
52379
+ bookingChannel: {
52380
+ uniqueRef: string;
52381
+ channelRef: string | null;
52382
+ };
52383
+ accountKey: string | null;
52384
+ revenueRecognition: ("checkIn" | "checkOut" | "proRata") | null;
52385
+ revision: number;
52386
+ }[];
52387
+ usage: {
52388
+ teamsSeen: number;
52389
+ mappedTeams: number;
52390
+ excludedTeams: number;
52391
+ unmappedTeams: number;
52392
+ };
52339
52393
  }[];
52340
52394
  pagination: {
52341
52395
  /** @default 100 */
@@ -52576,24 +52630,21 @@ export interface operations {
52576
52630
  };
52577
52631
  };
52578
52632
  };
52579
- putInternalReservationLineDefaultsByType: {
52633
+ getInternalReservationLineDefaultsByClassificationIdBookingChannelOptions: {
52580
52634
  parameters: {
52581
- query?: never;
52635
+ query?: {
52636
+ search?: string;
52637
+ limit?: number;
52638
+ page?: number;
52639
+ offset?: number;
52640
+ };
52582
52641
  header?: never;
52583
52642
  path: {
52584
- type: string;
52643
+ classificationId: string;
52585
52644
  };
52586
52645
  cookie?: never;
52587
52646
  };
52588
- requestBody?: {
52589
- content: {
52590
- "application/json": {
52591
- bookingChannel?: string | null;
52592
- accountKey: string | null;
52593
- revenueRecognition?: ("checkIn" | "checkOut" | "proRata") | null;
52594
- };
52595
- };
52596
- };
52647
+ requestBody?: never;
52597
52648
  responses: {
52598
52649
  /** @description Successful response */
52599
52650
  200: {
@@ -52602,16 +52653,19 @@ export interface operations {
52602
52653
  };
52603
52654
  content: {
52604
52655
  "application/json": {
52605
- /** Format: uuid */
52606
- id: string;
52607
- /** Format: uuid */
52608
- classificationId: string;
52609
- type: string;
52610
- bookingChannel: string | null;
52611
- partnerTenantId: string | null;
52612
- accountKey: string | null;
52613
- revenueRecognition: ("checkIn" | "checkOut" | "proRata") | null;
52614
- revision: number;
52656
+ data: {
52657
+ uniqueRef: string;
52658
+ channelRef: string | null;
52659
+ }[];
52660
+ pagination: {
52661
+ /** @default 100 */
52662
+ limit: number;
52663
+ /** @default 1 */
52664
+ page: number;
52665
+ total: number;
52666
+ totalPage: number;
52667
+ nextPage?: number;
52668
+ };
52615
52669
  };
52616
52670
  };
52617
52671
  };
@@ -52842,18 +52896,24 @@ export interface operations {
52842
52896
  };
52843
52897
  };
52844
52898
  };
52845
- deleteInternalReservationLineDefaultsByType: {
52899
+ putInternalReservationLineDefaultsByType: {
52846
52900
  parameters: {
52847
- query?: {
52848
- bookingChannel?: string;
52849
- };
52901
+ query?: never;
52850
52902
  header?: never;
52851
52903
  path: {
52852
52904
  type: string;
52853
52905
  };
52854
52906
  cookie?: never;
52855
52907
  };
52856
- requestBody?: never;
52908
+ requestBody?: {
52909
+ content: {
52910
+ "application/json": {
52911
+ bookingChannel?: string | null;
52912
+ accountKey: string | null;
52913
+ revenueRecognition?: ("checkIn" | "checkOut" | "proRata") | null;
52914
+ };
52915
+ };
52916
+ };
52857
52917
  responses: {
52858
52918
  /** @description Successful response */
52859
52919
  200: {
@@ -52862,8 +52922,16 @@ export interface operations {
52862
52922
  };
52863
52923
  content: {
52864
52924
  "application/json": {
52865
- /** @constant */
52866
- status: "deleted";
52925
+ /** Format: uuid */
52926
+ id: string;
52927
+ /** Format: uuid */
52928
+ classificationId: string;
52929
+ type: string;
52930
+ bookingChannel: string | null;
52931
+ partnerTenantId: string | null;
52932
+ accountKey: string | null;
52933
+ revenueRecognition: ("checkIn" | "checkOut" | "proRata") | null;
52934
+ revision: number;
52867
52935
  };
52868
52936
  };
52869
52937
  };
@@ -53094,35 +53162,15 @@ export interface operations {
53094
53162
  };
53095
53163
  };
53096
53164
  };
53097
- getInternalTeamsBilling: {
53165
+ deleteInternalReservationLineDefaultsByType: {
53098
53166
  parameters: {
53099
- query: {
53100
- /** @description Select exactly one VRP Billing tab. */
53101
- type: "propertyManager" | "partner";
53102
- /** @description Filter by team name; property-manager searches also include company name. */
53103
- search?: string;
53104
- status?: "active" | "inactive" | "onboarding";
53105
- billingSubscriptionStatus?: ("active" | "pending" | "paused" | "cancelled" | "pendingCancellation" | "draft" | "voided" | "errored" | "missing" | "viaPartner") | ("testTeam" | "demoTeam");
53106
- billingPlan?: string;
53107
- product?: "vrtrust" | "vrintegrations";
53108
- paymentMethod?: "card" | "direct_debit" | "direct_debit_ach" | "external" | "missing";
53109
- /** @description Require an active PMS connection on the property manager or on a partner billing client. */
53110
- appId?: string;
53111
- partnerId?: string;
53112
- billingPartnerId?: string;
53113
- /** @description Sort field; prefix with - for descending order */
53114
- sort?: "name" | "-name" | "created" | "-created";
53115
- /** @description Comma-separated enabled feature IDs. */
53116
- featureIds?: string;
53117
- limit?: number;
53118
- page?: number;
53119
- offset?: number;
53167
+ query?: {
53168
+ bookingChannel?: string;
53120
53169
  };
53121
- header?: {
53122
- /** @description Selects the regional data partition for this regional collection read. It does not change the authenticated team context. */
53123
- "x-data-region"?: "ap" | "crunchy" | "eu" | "hostaway" | "us";
53170
+ header?: never;
53171
+ path: {
53172
+ type: string;
53124
53173
  };
53125
- path?: never;
53126
53174
  cookie?: never;
53127
53175
  };
53128
53176
  requestBody?: never;
@@ -53134,60 +53182,8 @@ export interface operations {
53134
53182
  };
53135
53183
  content: {
53136
53184
  "application/json": {
53137
- data: {
53138
- /** Format: uuid */
53139
- id: string;
53140
- name: string;
53141
- /** @enum {string} */
53142
- dataRegion: "ap" | "crunchy" | "eu" | "hostaway" | "us";
53143
- logo: string | null;
53144
- /** @enum {string} */
53145
- status: "active" | "inactive";
53146
- capabilities: {
53147
- activate: {
53148
- enabled: boolean;
53149
- disabledReasons: ("teamBillingSubscriptionInactive" | "billingPartnerInactive")[];
53150
- };
53151
- };
53152
- isOnboarding: boolean;
53153
- isBillable: boolean | null;
53154
- isGeneralLedger: boolean | null;
53155
- partner: {
53156
- /** Format: uuid */
53157
- id: string;
53158
- name: string;
53159
- } | null;
53160
- billingPartner: {
53161
- /** Format: uuid */
53162
- id: string;
53163
- name: string;
53164
- } | null;
53165
- billingCustomerId: string | null;
53166
- billingSubscriptionStatus: string | null;
53167
- intercomId: string | null;
53168
- billingPlan: string | null;
53169
- billingPaymentMethodType: string | null;
53170
- defaultCurrency: string | null;
53171
- migratedFromTenantId: string | null;
53172
- createdAt: string | null;
53173
- cancelledAt: string | null;
53174
- activeListings: number;
53175
- /** @enum {string} */
53176
- type: "propertyManager" | "partner";
53177
- /** @description Distinct active PMS names; property-manager rows only. */
53178
- pmsNames?: string[];
53179
- /** @description Active property-manager billing clients; partner rows only. */
53180
- teamCount?: number;
53181
- }[];
53182
- pagination: {
53183
- /** @default 100 */
53184
- limit: number;
53185
- /** @default 1 */
53186
- page: number;
53187
- total: number;
53188
- totalPage: number;
53189
- nextPage?: number;
53190
- };
53185
+ /** @constant */
53186
+ status: "deleted";
53191
53187
  };
53192
53188
  };
53193
53189
  };
@@ -53418,20 +53414,35 @@ export interface operations {
53418
53414
  };
53419
53415
  };
53420
53416
  };
53421
- deleteInternalTeam: {
53417
+ getInternalTeamsBilling: {
53422
53418
  parameters: {
53423
53419
  query: {
53424
- /** @description Must be true to delete the selected team. */
53425
- confirm: boolean;
53426
- force?: boolean;
53420
+ /** @description Select exactly one VRP Billing tab. */
53421
+ type: "propertyManager" | "partner";
53422
+ /** @description Filter by team name; property-manager searches also include company name. */
53423
+ search?: string;
53424
+ status?: "active" | "inactive" | "onboarding";
53425
+ billingSubscriptionStatus?: ("active" | "pending" | "paused" | "cancelled" | "pendingCancellation" | "draft" | "voided" | "errored" | "missing" | "viaPartner") | ("testTeam" | "demoTeam");
53426
+ billingPlan?: string;
53427
+ product?: "vrtrust" | "vrintegrations";
53428
+ paymentMethod?: "card" | "direct_debit" | "direct_debit_ach" | "external" | "missing";
53429
+ /** @description Require an active PMS connection on the property manager or on a partner billing client. */
53430
+ appId?: string;
53431
+ partnerId?: string;
53432
+ billingPartnerId?: string;
53433
+ /** @description Sort field; prefix with - for descending order */
53434
+ sort?: "name" | "-name" | "created" | "-created";
53435
+ /** @description Comma-separated enabled feature IDs. */
53436
+ featureIds?: string;
53437
+ limit?: number;
53438
+ page?: number;
53439
+ offset?: number;
53427
53440
  };
53428
53441
  header?: {
53429
53442
  /** @description Selects the regional data partition for this regional collection read. It does not change the authenticated team context. */
53430
53443
  "x-data-region"?: "ap" | "crunchy" | "eu" | "hostaway" | "us";
53431
53444
  };
53432
- path: {
53433
- teamId: string;
53434
- };
53445
+ path?: never;
53435
53446
  cookie?: never;
53436
53447
  };
53437
53448
  requestBody?: never;
@@ -53443,11 +53454,60 @@ export interface operations {
53443
53454
  };
53444
53455
  content: {
53445
53456
  "application/json": {
53446
- /** @constant */
53447
- status: "deleted";
53448
- /** Format: uuid */
53449
- teamId: string;
53450
- runId: string;
53457
+ data: {
53458
+ /** Format: uuid */
53459
+ id: string;
53460
+ name: string;
53461
+ /** @enum {string} */
53462
+ dataRegion: "ap" | "crunchy" | "eu" | "hostaway" | "us";
53463
+ logo: string | null;
53464
+ /** @enum {string} */
53465
+ status: "active" | "inactive";
53466
+ capabilities: {
53467
+ activate: {
53468
+ enabled: boolean;
53469
+ disabledReasons: ("teamBillingSubscriptionInactive" | "billingPartnerInactive")[];
53470
+ };
53471
+ };
53472
+ isOnboarding: boolean;
53473
+ isBillable: boolean | null;
53474
+ isGeneralLedger: boolean | null;
53475
+ partner: {
53476
+ /** Format: uuid */
53477
+ id: string;
53478
+ name: string;
53479
+ } | null;
53480
+ billingPartner: {
53481
+ /** Format: uuid */
53482
+ id: string;
53483
+ name: string;
53484
+ } | null;
53485
+ billingCustomerId: string | null;
53486
+ billingSubscriptionStatus: string | null;
53487
+ intercomId: string | null;
53488
+ billingPlan: string | null;
53489
+ billingPaymentMethodType: string | null;
53490
+ defaultCurrency: string | null;
53491
+ migratedFromTenantId: string | null;
53492
+ createdAt: string | null;
53493
+ cancelledAt: string | null;
53494
+ activeListings: number;
53495
+ /** @enum {string} */
53496
+ type: "propertyManager" | "partner";
53497
+ /** @description Distinct active PMS names; property-manager rows only. */
53498
+ pmsNames?: string[];
53499
+ /** @description Active property-manager billing clients; partner rows only. */
53500
+ teamCount?: number;
53501
+ }[];
53502
+ pagination: {
53503
+ /** @default 100 */
53504
+ limit: number;
53505
+ /** @default 1 */
53506
+ page: number;
53507
+ total: number;
53508
+ totalPage: number;
53509
+ nextPage?: number;
53510
+ };
53451
53511
  };
53452
53512
  };
53453
53513
  };
@@ -53678,28 +53738,23 @@ export interface operations {
53678
53738
  };
53679
53739
  };
53680
53740
  };
53681
- putInternalTeamsByTeamIdBilling: {
53741
+ deleteInternalTeam: {
53682
53742
  parameters: {
53683
- query?: never;
53684
- header?: never;
53743
+ query: {
53744
+ /** @description Must be true to delete the selected team. */
53745
+ confirm: boolean;
53746
+ force?: boolean;
53747
+ };
53748
+ header?: {
53749
+ /** @description Selects the regional data partition for this regional collection read. It does not change the authenticated team context. */
53750
+ "x-data-region"?: "ap" | "crunchy" | "eu" | "hostaway" | "us";
53751
+ };
53685
53752
  path: {
53686
53753
  teamId: string;
53687
53754
  };
53688
53755
  cookie?: never;
53689
53756
  };
53690
- requestBody?: {
53691
- content: {
53692
- "application/json": {
53693
- billingCustomerId?: string | null;
53694
- billingPlan?: string | null;
53695
- billingPaymentMethodType?: ("card" | "apple_pay" | "google_pay" | "direct_debit" | "direct_debit_ach" | "direct_debit_bacs" | "stripe_link" | "transfer" | "transfer_automated" | "external") | null;
53696
- billingSubscriptionStatus?: ("active" | "cancelled" | "draft" | "errored" | "paused" | "pending" | "voided") | null;
53697
- cancelledAt?: string | null;
53698
- /** @enum {string} */
53699
- status?: "active" | "inactive";
53700
- };
53701
- };
53702
- };
53757
+ requestBody?: never;
53703
53758
  responses: {
53704
53759
  /** @description Successful response */
53705
53760
  200: {
@@ -53708,8 +53763,11 @@ export interface operations {
53708
53763
  };
53709
53764
  content: {
53710
53765
  "application/json": {
53766
+ /** @constant */
53767
+ status: "deleted";
53711
53768
  /** Format: uuid */
53712
- id: string;
53769
+ teamId: string;
53770
+ runId: string;
53713
53771
  };
53714
53772
  };
53715
53773
  };
@@ -53940,25 +53998,28 @@ export interface operations {
53940
53998
  };
53941
53999
  };
53942
54000
  };
53943
- getInternalUsers: {
54001
+ putInternalTeamsByTeamIdBilling: {
53944
54002
  parameters: {
53945
- query?: {
53946
- /** @description Filter by email, secondary email, first name, last name, or full name. Cannot be combined with userId. */
53947
- search?: string;
53948
- /** @description Filter by an exact user ID. Cannot be combined with search. */
53949
- userId?: string;
53950
- limit?: number;
53951
- page?: number;
53952
- offset?: number;
53953
- };
53954
- header?: {
53955
- /** @description Selects the regional data partition for this regional collection read. It does not change the authenticated team context. */
53956
- "x-data-region"?: "ap" | "crunchy" | "eu" | "hostaway" | "us";
54003
+ query?: never;
54004
+ header?: never;
54005
+ path: {
54006
+ teamId: string;
53957
54007
  };
53958
- path?: never;
53959
54008
  cookie?: never;
53960
54009
  };
53961
- requestBody?: never;
54010
+ requestBody?: {
54011
+ content: {
54012
+ "application/json": {
54013
+ billingCustomerId?: string | null;
54014
+ billingPlan?: string | null;
54015
+ billingPaymentMethodType?: ("card" | "apple_pay" | "google_pay" | "direct_debit" | "direct_debit_ach" | "direct_debit_bacs" | "stripe_link" | "transfer" | "transfer_automated" | "external") | null;
54016
+ billingSubscriptionStatus?: ("active" | "cancelled" | "draft" | "errored" | "paused" | "pending" | "voided") | null;
54017
+ cancelledAt?: string | null;
54018
+ /** @enum {string} */
54019
+ status?: "active" | "inactive";
54020
+ };
54021
+ };
54022
+ };
53962
54023
  responses: {
53963
54024
  /** @description Successful response */
53964
54025
  200: {
@@ -53967,49 +54028,8 @@ export interface operations {
53967
54028
  };
53968
54029
  content: {
53969
54030
  "application/json": {
53970
- data: {
53971
- /** Format: uuid */
53972
- id: string;
53973
- firstName: string | null;
53974
- lastName: string | null;
53975
- /** Format: email */
53976
- email: string;
53977
- secondaryEmails: string[];
53978
- /** @description User kind (e.g. user, owner) */
53979
- type?: string | null;
53980
- lastSeen: string | null;
53981
- createdAt: string | null;
53982
- memberships: {
53983
- /** @enum {string} */
53984
- accessSource?: "direct" | "partnerManaged";
53985
- /** Format: uuid */
53986
- teamId: string;
53987
- teamName: string;
53988
- role?: string | null;
53989
- status?: string | null;
53990
- /** Format: uuid */
53991
- id: string;
53992
- lastInvitedAt: string | null;
53993
- }[];
53994
- ownerAccesses: {
53995
- /** Format: uuid */
53996
- teamId: string;
53997
- contactId: string | null;
53998
- ownerId: string | null;
53999
- role?: string | null;
54000
- /** @description Owner contact name */
54001
- name?: string | null;
54002
- }[];
54003
- }[];
54004
- pagination: {
54005
- /** @default 100 */
54006
- limit: number;
54007
- /** @default 1 */
54008
- page: number;
54009
- total: number;
54010
- totalPage: number;
54011
- nextPage?: number;
54012
- };
54031
+ /** Format: uuid */
54032
+ id: string;
54013
54033
  };
54014
54034
  };
54015
54035
  };
@@ -54240,42 +54260,22 @@ export interface operations {
54240
54260
  };
54241
54261
  };
54242
54262
  };
54243
- postInternalUsers: {
54263
+ getInternalTransactionLineMappings: {
54244
54264
  parameters: {
54245
- query?: never;
54265
+ query?: {
54266
+ search?: string;
54267
+ appId?: string;
54268
+ status?: "mapped" | "unmapped";
54269
+ accountAssignmentType?: "accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "deposit_reserve" | "deposit_vat" | "dueToFromTrust" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "openingBalance" | "payout_bankAccount" | "payout_distribution";
54270
+ limit?: number;
54271
+ page?: number;
54272
+ offset?: number;
54273
+ };
54246
54274
  header?: never;
54247
54275
  path?: never;
54248
54276
  cookie?: never;
54249
54277
  };
54250
- requestBody?: {
54251
- content: {
54252
- "application/json": {
54253
- /** Format: uuid */
54254
- id?: string;
54255
- email: string;
54256
- firstName?: string | null;
54257
- lastName?: string | null;
54258
- name?: string | null;
54259
- /** @enum {string} */
54260
- status?: "active" | "inactive" | "archived" | "unconfirmed";
54261
- partnerId?: string | null;
54262
- secondaryEmails?: string[];
54263
- membership?: {
54264
- /** Format: uuid */
54265
- tenantId: string;
54266
- /** @enum {string} */
54267
- managedTeamAccess?: "all" | "assigned";
54268
- /**
54269
- * @default user
54270
- * @enum {string}
54271
- */
54272
- role?: "admin" | "user" | "owner";
54273
- /** @enum {string} */
54274
- status?: "active" | "inactive" | "unconfirmed";
54275
- };
54276
- };
54277
- };
54278
- };
54278
+ requestBody?: never;
54279
54279
  responses: {
54280
54280
  /** @description Successful response */
54281
54281
  200: {
@@ -54284,17 +54284,19 @@ export interface operations {
54284
54284
  };
54285
54285
  content: {
54286
54286
  "application/json": {
54287
- /** Format: uuid */
54288
- id: string;
54289
- isAdmin: boolean;
54290
- memberships: {
54291
- /** Format: uuid */
54292
- id: string;
54293
- /** Format: uuid */
54294
- tenantId: string;
54295
- role: string | null;
54296
- status: string | null;
54287
+ data: {
54288
+ type: string;
54289
+ accountAssignment?: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "deposit_reserve" | "deposit_vat" | "dueToFromTrust" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "openingBalance" | "payout_bankAccount" | "payout_distribution") | null;
54297
54290
  }[];
54291
+ pagination: {
54292
+ /** @default 100 */
54293
+ limit: number;
54294
+ /** @default 1 */
54295
+ page: number;
54296
+ total: number;
54297
+ totalPage: number;
54298
+ nextPage?: number;
54299
+ };
54298
54300
  };
54299
54301
  };
54300
54302
  };
@@ -54525,39 +54527,19 @@ export interface operations {
54525
54527
  };
54526
54528
  };
54527
54529
  };
54528
- putInternalUsersById: {
54530
+ putInternalTransactionLineMappingsByType: {
54529
54531
  parameters: {
54530
54532
  query?: never;
54531
54533
  header?: never;
54532
54534
  path: {
54533
- id: string;
54535
+ type: string;
54534
54536
  };
54535
54537
  cookie?: never;
54536
54538
  };
54537
54539
  requestBody?: {
54538
54540
  content: {
54539
54541
  "application/json": {
54540
- email: string;
54541
- firstName?: string | null;
54542
- lastName?: string | null;
54543
- name?: string | null;
54544
- /** @enum {string} */
54545
- status?: "active" | "inactive" | "archived" | "unconfirmed";
54546
- partnerId?: string | null;
54547
- secondaryEmails?: string[];
54548
- membership?: {
54549
- /** Format: uuid */
54550
- tenantId: string;
54551
- /** @enum {string} */
54552
- managedTeamAccess?: "all" | "assigned";
54553
- /**
54554
- * @default user
54555
- * @enum {string}
54556
- */
54557
- role?: "admin" | "user" | "owner";
54558
- /** @enum {string} */
54559
- status?: "active" | "inactive" | "unconfirmed";
54560
- };
54542
+ accountAssignment?: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "deposit_reserve" | "deposit_vat" | "dueToFromTrust" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "openingBalance" | "payout_bankAccount" | "payout_distribution") | null;
54561
54543
  };
54562
54544
  };
54563
54545
  };
@@ -54569,17 +54551,8 @@ export interface operations {
54569
54551
  };
54570
54552
  content: {
54571
54553
  "application/json": {
54572
- /** Format: uuid */
54573
- id: string;
54574
- isAdmin: boolean;
54575
- memberships: {
54576
- /** Format: uuid */
54577
- id: string;
54578
- /** Format: uuid */
54579
- tenantId: string;
54580
- role: string | null;
54581
- status: string | null;
54582
- }[];
54554
+ type: string;
54555
+ accountAssignment?: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "deposit_reserve" | "deposit_vat" | "dueToFromTrust" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "openingBalance" | "payout_bankAccount" | "payout_distribution") | null;
54583
54556
  };
54584
54557
  };
54585
54558
  };
@@ -54810,13 +54783,22 @@ export interface operations {
54810
54783
  };
54811
54784
  };
54812
54785
  };
54813
- deleteInternalUsersById: {
54786
+ getInternalUsers: {
54814
54787
  parameters: {
54815
- query?: never;
54816
- header?: never;
54817
- path: {
54818
- id: string;
54788
+ query?: {
54789
+ /** @description Filter by email, secondary email, first name, last name, or full name. Cannot be combined with userId. */
54790
+ search?: string;
54791
+ /** @description Filter by an exact user ID. Cannot be combined with search. */
54792
+ userId?: string;
54793
+ limit?: number;
54794
+ page?: number;
54795
+ offset?: number;
54819
54796
  };
54797
+ header?: {
54798
+ /** @description Selects the regional data partition for this regional collection read. It does not change the authenticated team context. */
54799
+ "x-data-region"?: "ap" | "crunchy" | "eu" | "hostaway" | "us";
54800
+ };
54801
+ path?: never;
54820
54802
  cookie?: never;
54821
54803
  };
54822
54804
  requestBody?: never;
@@ -54828,14 +54810,49 @@ export interface operations {
54828
54810
  };
54829
54811
  content: {
54830
54812
  "application/json": {
54831
- /** @enum {string} */
54832
- status: "deleted";
54833
- /** @description Deprecated: use status */
54834
- deleted: boolean;
54835
- files: number;
54836
- memberships: number;
54837
- ownerAccess: number;
54838
- tokens: number;
54813
+ data: {
54814
+ /** Format: uuid */
54815
+ id: string;
54816
+ firstName: string | null;
54817
+ lastName: string | null;
54818
+ /** Format: email */
54819
+ email: string;
54820
+ secondaryEmails: string[];
54821
+ /** @description User kind (e.g. user, owner) */
54822
+ type?: string | null;
54823
+ lastSeen: string | null;
54824
+ createdAt: string | null;
54825
+ memberships: {
54826
+ /** @enum {string} */
54827
+ accessSource?: "direct" | "partnerManaged";
54828
+ /** Format: uuid */
54829
+ teamId: string;
54830
+ teamName: string;
54831
+ role?: string | null;
54832
+ status?: string | null;
54833
+ /** Format: uuid */
54834
+ id: string;
54835
+ lastInvitedAt: string | null;
54836
+ }[];
54837
+ ownerAccesses: {
54838
+ /** Format: uuid */
54839
+ teamId: string;
54840
+ contactId: string | null;
54841
+ ownerId: string | null;
54842
+ role?: string | null;
54843
+ /** @description Owner contact name */
54844
+ name?: string | null;
54845
+ }[];
54846
+ }[];
54847
+ pagination: {
54848
+ /** @default 100 */
54849
+ limit: number;
54850
+ /** @default 1 */
54851
+ page: number;
54852
+ total: number;
54853
+ totalPage: number;
54854
+ nextPage?: number;
54855
+ };
54839
54856
  };
54840
54857
  };
54841
54858
  };
@@ -55066,26 +55083,39 @@ export interface operations {
55066
55083
  };
55067
55084
  };
55068
55085
  };
55069
- putInternalUsersByIdMembershipsByTenantId: {
55086
+ postInternalUsers: {
55070
55087
  parameters: {
55071
55088
  query?: never;
55072
55089
  header?: never;
55073
- path: {
55074
- id: string;
55075
- tenantId: string;
55076
- };
55090
+ path?: never;
55077
55091
  cookie?: never;
55078
55092
  };
55079
55093
  requestBody?: {
55080
55094
  content: {
55081
55095
  "application/json": {
55082
- lastInvitedAt?: string | null;
55083
- /** @enum {string} */
55084
- managedTeamAccess?: "all" | "assigned";
55085
- /** @enum {string} */
55086
- role?: "admin" | "user" | "owner";
55096
+ /** Format: uuid */
55097
+ id?: string;
55098
+ email: string;
55099
+ firstName?: string | null;
55100
+ lastName?: string | null;
55101
+ name?: string | null;
55087
55102
  /** @enum {string} */
55088
- status?: "active" | "inactive" | "unconfirmed";
55103
+ status?: "active" | "inactive" | "archived" | "unconfirmed";
55104
+ partnerId?: string | null;
55105
+ secondaryEmails?: string[];
55106
+ membership?: {
55107
+ /** Format: uuid */
55108
+ tenantId: string;
55109
+ /** @enum {string} */
55110
+ managedTeamAccess?: "all" | "assigned";
55111
+ /**
55112
+ * @default user
55113
+ * @enum {string}
55114
+ */
55115
+ role?: "admin" | "user" | "owner";
55116
+ /** @enum {string} */
55117
+ status?: "active" | "inactive" | "unconfirmed";
55118
+ };
55089
55119
  };
55090
55120
  };
55091
55121
  };
@@ -55099,11 +55129,15 @@ export interface operations {
55099
55129
  "application/json": {
55100
55130
  /** Format: uuid */
55101
55131
  id: string;
55102
- lastInvitedAt: string | null;
55103
- status: ("active" | "inactive" | "unconfirmed") | null;
55104
- /** Format: uuid */
55105
- tenantId: string;
55106
- role: string | null;
55132
+ isAdmin: boolean;
55133
+ memberships: {
55134
+ /** Format: uuid */
55135
+ id: string;
55136
+ /** Format: uuid */
55137
+ tenantId: string;
55138
+ role: string | null;
55139
+ status: string | null;
55140
+ }[];
55107
55141
  };
55108
55142
  };
55109
55143
  };
@@ -55334,17 +55368,42 @@ export interface operations {
55334
55368
  };
55335
55369
  };
55336
55370
  };
55337
- deleteInternalUsersByIdMembershipsByTenantId: {
55371
+ putInternalUsersById: {
55338
55372
  parameters: {
55339
55373
  query?: never;
55340
55374
  header?: never;
55341
55375
  path: {
55342
55376
  id: string;
55343
- tenantId: string;
55344
55377
  };
55345
55378
  cookie?: never;
55346
55379
  };
55347
- requestBody?: never;
55380
+ requestBody?: {
55381
+ content: {
55382
+ "application/json": {
55383
+ email: string;
55384
+ firstName?: string | null;
55385
+ lastName?: string | null;
55386
+ name?: string | null;
55387
+ /** @enum {string} */
55388
+ status?: "active" | "inactive" | "archived" | "unconfirmed";
55389
+ partnerId?: string | null;
55390
+ secondaryEmails?: string[];
55391
+ membership?: {
55392
+ /** Format: uuid */
55393
+ tenantId: string;
55394
+ /** @enum {string} */
55395
+ managedTeamAccess?: "all" | "assigned";
55396
+ /**
55397
+ * @default user
55398
+ * @enum {string}
55399
+ */
55400
+ role?: "admin" | "user" | "owner";
55401
+ /** @enum {string} */
55402
+ status?: "active" | "inactive" | "unconfirmed";
55403
+ };
55404
+ };
55405
+ };
55406
+ };
55348
55407
  responses: {
55349
55408
  /** @description Successful response */
55350
55409
  200: {
@@ -55353,10 +55412,17 @@ export interface operations {
55353
55412
  };
55354
55413
  content: {
55355
55414
  "application/json": {
55356
- /** @enum {string} */
55357
- status: "deleted";
55358
- /** @description Deprecated: use status */
55359
- deleted: boolean;
55415
+ /** Format: uuid */
55416
+ id: string;
55417
+ isAdmin: boolean;
55418
+ memberships: {
55419
+ /** Format: uuid */
55420
+ id: string;
55421
+ /** Format: uuid */
55422
+ tenantId: string;
55423
+ role: string | null;
55424
+ status: string | null;
55425
+ }[];
55360
55426
  };
55361
55427
  };
55362
55428
  };
@@ -55587,54 +55653,16 @@ export interface operations {
55587
55653
  };
55588
55654
  };
55589
55655
  };
55590
- batchPayments: {
55656
+ deleteInternalUsersById: {
55591
55657
  parameters: {
55592
55658
  query?: never;
55593
55659
  header?: never;
55594
- path?: never;
55595
- cookie?: never;
55596
- };
55597
- requestBody?: {
55598
- content: {
55599
- "application/json": {
55600
- connectionId: string;
55601
- data: {
55602
- id?: string | null;
55603
- uniqueRef?: string | null;
55604
- etaAt?: string | null;
55605
- paidAt?: string | null;
55606
- /** @description Currency in ISO 4217 format, will be converted to lowercase */
55607
- currency: string;
55608
- description?: string | null;
55609
- metadata?: {
55610
- [key: string]: unknown;
55611
- } | null;
55612
- userdata?: {
55613
- [key: string]: unknown;
55614
- } | null;
55615
- sourceId?: string | null;
55616
- lines: {
55617
- id?: string | null;
55618
- uniqueRef?: string | null;
55619
- type: string;
55620
- description?: string | null;
55621
- reservationId?: string | null;
55622
- reservationRef?: string | null;
55623
- /** @description Value in cents (100 = 1€) */
55624
- amount: number;
55625
- accountId?: string | null;
55626
- accountRef?: string | null;
55627
- connectionId?: string | null;
55628
- metadata?: {
55629
- [key: string]: unknown;
55630
- } | null;
55631
- generalLedgerPostingAt?: string | null;
55632
- }[];
55633
- bankAccountRef?: string | null;
55634
- }[];
55635
- };
55660
+ path: {
55661
+ id: string;
55636
55662
  };
55663
+ cookie?: never;
55637
55664
  };
55665
+ requestBody?: never;
55638
55666
  responses: {
55639
55667
  /** @description Successful response */
55640
55668
  200: {
@@ -55643,20 +55671,14 @@ export interface operations {
55643
55671
  };
55644
55672
  content: {
55645
55673
  "application/json": {
55646
- data: {
55647
- /** Format: uuid */
55648
- id: string;
55649
- uniqueRef?: string | null;
55650
- sourceId?: string | null;
55651
- }[];
55652
- issues: {
55653
- ref: string;
55654
- sourceId?: string | null;
55655
- message: string;
55656
- /** @enum {string} */
55657
- code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "CONFLICT" | "AUDIT_EVENT_REVISED" | "RATE_LIMITED" | "SERVICE_UNAVAILABLE" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR" | "CONNECTION_RECONNECT_REQUIRED" | "INVALID_PLAID_CONNECT_MODE" | "PLAID_CONNECTION_NOT_FOUND" | "PLAID_CONNECT_IN_PROGRESS" | "PLAID_CONNECT_CONFIGURATION_CHANGED" | "PLAID_CONNECT_EXPIRED" | "PLAID_CONNECT_REQUIRES_NEW_LINK" | "PLAID_PROVIDER_UNAVAILABLE";
55658
- context?: unknown;
55659
- }[];
55674
+ /** @enum {string} */
55675
+ status: "deleted";
55676
+ /** @description Deprecated: use status */
55677
+ deleted: boolean;
55678
+ files: number;
55679
+ memberships: number;
55680
+ ownerAccess: number;
55681
+ tokens: number;
55660
55682
  };
55661
55683
  };
55662
55684
  };
@@ -55887,22 +55909,29 @@ export interface operations {
55887
55909
  };
55888
55910
  };
55889
55911
  };
55890
- getPaymentsDeprecated: {
55912
+ putInternalUsersByIdMembershipsByTenantId: {
55891
55913
  parameters: {
55892
- query?: {
55893
- pageSize?: number;
55894
- page?: number;
55895
- type?: string;
55896
- date?: string;
55897
- expand?: string;
55898
- description?: string;
55899
- amount?: number;
55900
- };
55914
+ query?: never;
55901
55915
  header?: never;
55902
- path?: never;
55916
+ path: {
55917
+ id: string;
55918
+ tenantId: string;
55919
+ };
55903
55920
  cookie?: never;
55904
55921
  };
55905
- requestBody?: never;
55922
+ requestBody?: {
55923
+ content: {
55924
+ "application/json": {
55925
+ lastInvitedAt?: string | null;
55926
+ /** @enum {string} */
55927
+ managedTeamAccess?: "all" | "assigned";
55928
+ /** @enum {string} */
55929
+ role?: "admin" | "user" | "owner";
55930
+ /** @enum {string} */
55931
+ status?: "active" | "inactive" | "unconfirmed";
55932
+ };
55933
+ };
55934
+ };
55906
55935
  responses: {
55907
55936
  /** @description Successful response */
55908
55937
  200: {
@@ -55911,55 +55940,13 @@ export interface operations {
55911
55940
  };
55912
55941
  content: {
55913
55942
  "application/json": {
55914
- results: number;
55915
- totalResults: number;
55916
- page: number;
55917
- totalPages: number;
55918
- filters?: {
55919
- [key: string]: unknown;
55920
- };
55921
- data: {
55922
- /** Format: uuid */
55923
- id: string;
55924
- amount: number;
55925
- currency?: string | null;
55926
- description?: string | null;
55927
- date?: string | null;
55928
- uniqueRef?: string | null;
55929
- isReconciled?: boolean | null;
55930
- metadata?: {
55931
- [key: string]: unknown;
55932
- };
55933
- status?: string | null;
55934
- type?: string | null;
55935
- lines: {
55936
- /** Format: uuid */
55937
- id: string;
55938
- uniqueRef?: string | null;
55939
- type?: string | null;
55940
- uniqueType?: string | null;
55941
- description?: string | null;
55942
- amount: number;
55943
- originalAmount?: number | null;
55944
- originalCurrency?: string | null;
55945
- reservationId?: string | null;
55946
- paymentId?: string | null;
55947
- metadata?: {
55948
- [key: string]: unknown;
55949
- };
55950
- listingId?: string | null;
55951
- listing?: unknown;
55952
- reservation?: unknown;
55953
- }[];
55954
- connection?: {
55955
- /** Format: uuid */
55956
- id: string;
55957
- name?: string | null;
55958
- type?: string | null;
55959
- appId?: string | null;
55960
- status?: string | null;
55961
- } | null;
55962
- }[];
55943
+ /** Format: uuid */
55944
+ id: string;
55945
+ lastInvitedAt: string | null;
55946
+ status: ("active" | "inactive" | "unconfirmed") | null;
55947
+ /** Format: uuid */
55948
+ tenantId: string;
55949
+ role: string | null;
55963
55950
  };
55964
55951
  };
55965
55952
  };
@@ -56190,12 +56177,13 @@ export interface operations {
56190
56177
  };
56191
56178
  };
56192
56179
  };
56193
- getPaymentDeprecated: {
56180
+ deleteInternalUsersByIdMembershipsByTenantId: {
56194
56181
  parameters: {
56195
56182
  query?: never;
56196
56183
  header?: never;
56197
56184
  path: {
56198
56185
  id: string;
56186
+ tenantId: string;
56199
56187
  };
56200
56188
  cookie?: never;
56201
56189
  };
@@ -56208,46 +56196,10 @@ export interface operations {
56208
56196
  };
56209
56197
  content: {
56210
56198
  "application/json": {
56211
- /** Format: uuid */
56212
- id: string;
56213
- amount: number;
56214
- currency?: string | null;
56215
- description?: string | null;
56216
- date?: string | null;
56217
- uniqueRef?: string | null;
56218
- isReconciled?: boolean | null;
56219
- metadata?: {
56220
- [key: string]: unknown;
56221
- };
56222
- status?: string | null;
56223
- type?: string | null;
56224
- lines: {
56225
- /** Format: uuid */
56226
- id: string;
56227
- uniqueRef?: string | null;
56228
- type?: string | null;
56229
- uniqueType?: string | null;
56230
- description?: string | null;
56231
- amount: number;
56232
- originalAmount?: number | null;
56233
- originalCurrency?: string | null;
56234
- reservationId?: string | null;
56235
- paymentId?: string | null;
56236
- metadata?: {
56237
- [key: string]: unknown;
56238
- };
56239
- listingId?: string | null;
56240
- listing?: unknown;
56241
- reservation?: unknown;
56242
- }[];
56243
- connection?: {
56244
- /** Format: uuid */
56245
- id: string;
56246
- name?: string | null;
56247
- type?: string | null;
56248
- appId?: string | null;
56249
- status?: string | null;
56250
- } | null;
56199
+ /** @enum {string} */
56200
+ status: "deleted";
56201
+ /** @description Deprecated: use status */
56202
+ deleted: boolean;
56251
56203
  };
56252
56204
  };
56253
56205
  };
@@ -56478,40 +56430,54 @@ export interface operations {
56478
56430
  };
56479
56431
  };
56480
56432
  };
56481
- getListings: {
56433
+ batchPayments: {
56482
56434
  parameters: {
56483
- query?: {
56484
- status?: "active" | "inactive";
56485
- connectionId?: string;
56486
- /** @description Filter by parent listing id. Use parent=null to return only parent/root listings. */
56487
- parent?: string | "null";
56488
- /** @description Comma-separated listing ids. */
56489
- ids?: string;
56490
- search?: string;
56491
- contactId?: string;
56492
- /** @description Filter listings by ownership period ID. */
56493
- ownershipPeriodId?: string;
56494
- /** @description Comma-separated listing short refs. */
56495
- shortRefs?: string;
56496
- /** @description Filter listings by whether they currently have an active ownership period. */
56497
- activeOwnership?: boolean;
56498
- /** @description Include child listing links on each listing. */
56499
- includeChildren?: boolean;
56500
- /** @description Filter by active recurring fee coverage. Use `active` or `inactive` for any recurring fee type, prefix a fee type with `!` to exclude it, or pass a recurring fee UUID for one specific fee. */
56501
- activeRecurringFeePeriods?: string;
56502
- /** @description Filter listings that have (true) or lack (false) opening balances */
56503
- openingBalance?: boolean;
56504
- /** @description Filter listings by setup issue code, "all" (all setup issues), or "any" (at least one setup issue) */
56505
- issue?: "all" | "any" | "missingOwnershipOrDeactivation" | "missingFeesAndCommission" | "missingOpeningBalance";
56506
- limit?: number;
56507
- page?: number;
56508
- offset?: number;
56509
- };
56435
+ query?: never;
56510
56436
  header?: never;
56511
56437
  path?: never;
56512
56438
  cookie?: never;
56513
56439
  };
56514
- requestBody?: never;
56440
+ requestBody?: {
56441
+ content: {
56442
+ "application/json": {
56443
+ connectionId: string;
56444
+ data: {
56445
+ id?: string | null;
56446
+ uniqueRef?: string | null;
56447
+ etaAt?: string | null;
56448
+ paidAt?: string | null;
56449
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
56450
+ currency: string;
56451
+ description?: string | null;
56452
+ metadata?: {
56453
+ [key: string]: unknown;
56454
+ } | null;
56455
+ userdata?: {
56456
+ [key: string]: unknown;
56457
+ } | null;
56458
+ sourceId?: string | null;
56459
+ lines: {
56460
+ id?: string | null;
56461
+ uniqueRef?: string | null;
56462
+ type: string;
56463
+ description?: string | null;
56464
+ reservationId?: string | null;
56465
+ reservationRef?: string | null;
56466
+ /** @description Value in cents (100 = 1€) */
56467
+ amount: number;
56468
+ accountId?: string | null;
56469
+ accountRef?: string | null;
56470
+ connectionId?: string | null;
56471
+ metadata?: {
56472
+ [key: string]: unknown;
56473
+ } | null;
56474
+ generalLedgerPostingAt?: string | null;
56475
+ }[];
56476
+ bankAccountRef?: string | null;
56477
+ }[];
56478
+ };
56479
+ };
56480
+ };
56515
56481
  responses: {
56516
56482
  /** @description Successful response */
56517
56483
  200: {
@@ -56521,169 +56487,1046 @@ export interface operations {
56521
56487
  content: {
56522
56488
  "application/json": {
56523
56489
  data: {
56524
- name: string;
56525
- uniqueRef?: string | null;
56526
- connectionId?: string | null;
56527
- defaultCurrency?: string | null;
56528
- address?: {
56529
- full?: string | null;
56530
- line1?: string | null;
56531
- line2?: string | null;
56532
- city?: string | null;
56533
- /** @description Deprecated, use stateCode instead */
56534
- state?: string | null;
56535
- postalCode?: string | null;
56536
- stateCode?: string | null;
56537
- countryCode?: string | null;
56538
- } | null;
56539
56490
  /** Format: uuid */
56540
56491
  id: string;
56541
- shortRef?: string | null;
56542
- title?: string | null;
56543
- pmsName?: string | null;
56492
+ uniqueRef?: string | null;
56493
+ sourceId?: string | null;
56494
+ }[];
56495
+ issues: {
56496
+ ref: string;
56497
+ sourceId?: string | null;
56498
+ message: string;
56544
56499
  /** @enum {string} */
56545
- status: "active" | "inactive";
56546
- activeOwnership?: {
56547
- /** Format: uuid */
56548
- id: string;
56549
- startAt: string;
56550
- endAt?: string | null;
56551
- /** @description Value in cents (100 = 1€) */
56552
- reserve: number;
56553
- members: {
56554
- split?: number | null;
56555
- /** Format: uuid */
56556
- id: string;
56557
- contact?: {
56558
- /** Format: uuid */
56559
- id: string;
56560
- name?: string | null;
56561
- firstName?: string | null;
56562
- uniqueRef?: string | null;
56563
- shortRef?: string | null;
56564
- email?: string | null;
56565
- /** @enum {string} */
56566
- type: "owner" | "vendor";
56567
- } | null;
56568
- }[];
56569
- setListingInactive?: boolean | null;
56570
- /** @enum {string} */
56571
- businessModel: "managed" | "co_host" | "co_host_airbnb";
56572
- lock?: {
56573
- /**
56574
- * @description Aggregate lock state; inspect nested reasons and resource-specific field rules
56575
- * @enum {string}
56576
- */
56577
- status: "locked" | "unlocked";
56578
- /** @description Present when books closing blocks the mutation */
56579
- booksClosed?: {
56580
- /** @description First open accounting date */
56581
- date: string;
56582
- } | null;
56583
- /** @description Present when journal entries are attached to owner statements */
56584
- ownerStatement?: {
56585
- /** @description Owner statements that lock the represented data */
56586
- ids: string[];
56587
- } | null;
56588
- /** @description Present when bank records are linked; transaction fields that do not affect the match may remain editable */
56589
- reconciled?: {
56590
- /** @description Bank records linked through reconciliation */
56591
- bankRecordIds: string[];
56592
- } | null;
56593
- /** @description Listing statement-period conflicts for the represented data */
56594
- statementPeriod?: {
56595
- hits: {
56596
- /** Format: uuid */
56597
- listingId: string;
56598
- /** @description Posting date blocked by the statement period */
56599
- txnAt: string;
56600
- /** @description First open date for this listing period */
56601
- openFrom: string;
56602
- }[];
56603
- } | null;
56604
- } | null;
56605
- } | null;
56606
- activeRecurringFeePeriods?: {
56607
- /** @description Listing period start date; unparseable values are rejected */
56608
- startAt?: string | null;
56609
- /** @description Listing period end date; unparseable values are rejected */
56610
- endAt?: string | null;
56611
- /** @description Optional listing-period override; a value equal to the definition default is stored as inherited */
56612
- rate?: number | null;
56613
- /** Format: uuid */
56614
- id: string;
56615
- recurringFee: {
56616
- id: string;
56617
- name: string;
56618
- /** @enum {string} */
56619
- type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
56620
- rateType?: ("flat" | "percentage") | null;
56621
- defaultRate?: number | null;
56622
- /** @enum {string} */
56623
- status: "active" | "inactive";
56624
- };
56625
- }[] | null;
56626
- source?: {
56627
- /** Format: uuid */
56628
- id: string;
56629
- type: string;
56630
- status?: ("active" | "inactive") | null;
56631
- appId?: string | null;
56632
- appIcon?: string | null;
56633
- } | null;
56634
- parent: {
56635
- /** Format: uuid */
56636
- id: string;
56637
- name: string;
56638
- uniqueRef?: string | null;
56639
- shortRef?: string | null;
56640
- } | null;
56641
- children?: {
56642
- /** Format: uuid */
56643
- id: string;
56644
- name: string;
56645
- uniqueRef?: string | null;
56646
- shortRef?: string | null;
56647
- }[];
56648
- childCount: number;
56649
- upcomingDeactivation: {
56650
- /** @enum {string} */
56651
- status: "active" | "disable-upcoming" | "disabled-ending" | "disabled-forever";
56652
- period: {
56653
- id: string;
56654
- startAt: string;
56655
- endAt: string | null;
56656
- } | null;
56657
- };
56658
- issues: ({
56659
- /** @constant */
56660
- code: "missingOwnershipOrDeactivation";
56661
- /** @constant */
56662
- severity: "warning";
56663
- context: Record<string, never>;
56664
- } | {
56665
- /** @constant */
56666
- code: "missingFeesAndCommission";
56667
- /** @constant */
56668
- severity: "warning";
56669
- context: Record<string, never>;
56670
- } | {
56671
- /** @constant */
56672
- code: "missingOpeningBalance";
56673
- /** @constant */
56674
- severity: "warning";
56675
- context: Record<string, never>;
56676
- })[];
56500
+ code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "CONFLICT" | "AUDIT_EVENT_REVISED" | "RATE_LIMITED" | "SERVICE_UNAVAILABLE" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR" | "CONNECTION_RECONNECT_REQUIRED" | "INVALID_PLAID_CONNECT_MODE" | "PLAID_CONNECTION_NOT_FOUND" | "PLAID_CONNECT_IN_PROGRESS" | "PLAID_CONNECT_CONFIGURATION_CHANGED" | "PLAID_CONNECT_EXPIRED" | "PLAID_CONNECT_REQUIRES_NEW_LINK" | "PLAID_PROVIDER_UNAVAILABLE";
56501
+ context?: unknown;
56677
56502
  }[];
56678
- pagination: {
56679
- /** @default 100 */
56680
- limit: number;
56681
- /** @default 1 */
56682
- page: number;
56683
- total: number;
56684
- totalPage: number;
56685
- nextPage?: number;
56686
- };
56503
+ };
56504
+ };
56505
+ };
56506
+ /** @description Bad request */
56507
+ 400: {
56508
+ headers: {
56509
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
56510
+ "Retry-After"?: number;
56511
+ [name: string]: unknown;
56512
+ };
56513
+ content: {
56514
+ "application/json": {
56515
+ code: string;
56516
+ message: string;
56517
+ links?: {
56518
+ docs: string;
56519
+ schema: string;
56520
+ };
56521
+ issues?: {
56522
+ message: string;
56523
+ path?: (string | number)[];
56524
+ schema?: string;
56525
+ }[];
56526
+ retryable?: boolean;
56527
+ context?: unknown;
56528
+ };
56529
+ };
56530
+ };
56531
+ /** @description Unauthorized */
56532
+ 401: {
56533
+ headers: {
56534
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
56535
+ "Retry-After"?: number;
56536
+ [name: string]: unknown;
56537
+ };
56538
+ content: {
56539
+ "application/json": {
56540
+ code: string;
56541
+ message: string;
56542
+ links?: {
56543
+ docs: string;
56544
+ schema: string;
56545
+ };
56546
+ issues?: {
56547
+ message: string;
56548
+ path?: (string | number)[];
56549
+ schema?: string;
56550
+ }[];
56551
+ retryable?: boolean;
56552
+ context?: unknown;
56553
+ };
56554
+ };
56555
+ };
56556
+ /** @description Forbidden */
56557
+ 403: {
56558
+ headers: {
56559
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
56560
+ "Retry-After"?: number;
56561
+ [name: string]: unknown;
56562
+ };
56563
+ content: {
56564
+ "application/json": {
56565
+ code: string;
56566
+ message: string;
56567
+ links?: {
56568
+ docs: string;
56569
+ schema: string;
56570
+ };
56571
+ issues?: {
56572
+ message: string;
56573
+ path?: (string | number)[];
56574
+ schema?: string;
56575
+ }[];
56576
+ retryable?: boolean;
56577
+ context?: unknown;
56578
+ };
56579
+ };
56580
+ };
56581
+ /** @description Not found */
56582
+ 404: {
56583
+ headers: {
56584
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
56585
+ "Retry-After"?: number;
56586
+ [name: string]: unknown;
56587
+ };
56588
+ content: {
56589
+ "application/json": {
56590
+ code: string;
56591
+ message: string;
56592
+ links?: {
56593
+ docs: string;
56594
+ schema: string;
56595
+ };
56596
+ issues?: {
56597
+ message: string;
56598
+ path?: (string | number)[];
56599
+ schema?: string;
56600
+ }[];
56601
+ retryable?: boolean;
56602
+ context?: unknown;
56603
+ };
56604
+ };
56605
+ };
56606
+ /** @description Conflict */
56607
+ 409: {
56608
+ headers: {
56609
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
56610
+ "Retry-After"?: number;
56611
+ [name: string]: unknown;
56612
+ };
56613
+ content: {
56614
+ "application/json": {
56615
+ code: string;
56616
+ message: string;
56617
+ links?: {
56618
+ docs: string;
56619
+ schema: string;
56620
+ };
56621
+ issues?: {
56622
+ message: string;
56623
+ path?: (string | number)[];
56624
+ schema?: string;
56625
+ }[];
56626
+ retryable?: boolean;
56627
+ context?: unknown;
56628
+ };
56629
+ };
56630
+ };
56631
+ /** @description Gone */
56632
+ 410: {
56633
+ headers: {
56634
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
56635
+ "Retry-After"?: number;
56636
+ [name: string]: unknown;
56637
+ };
56638
+ content: {
56639
+ "application/json": {
56640
+ code: string;
56641
+ message: string;
56642
+ links?: {
56643
+ docs: string;
56644
+ schema: string;
56645
+ };
56646
+ issues?: {
56647
+ message: string;
56648
+ path?: (string | number)[];
56649
+ schema?: string;
56650
+ }[];
56651
+ retryable?: boolean;
56652
+ context?: unknown;
56653
+ };
56654
+ };
56655
+ };
56656
+ /** @description Unprocessable content */
56657
+ 422: {
56658
+ headers: {
56659
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
56660
+ "Retry-After"?: number;
56661
+ [name: string]: unknown;
56662
+ };
56663
+ content: {
56664
+ "application/json": {
56665
+ code: string;
56666
+ message: string;
56667
+ links?: {
56668
+ docs: string;
56669
+ schema: string;
56670
+ };
56671
+ issues?: {
56672
+ message: string;
56673
+ path?: (string | number)[];
56674
+ schema?: string;
56675
+ }[];
56676
+ retryable?: boolean;
56677
+ context?: unknown;
56678
+ };
56679
+ };
56680
+ };
56681
+ /** @description Internal server error */
56682
+ 500: {
56683
+ headers: {
56684
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
56685
+ "Retry-After"?: number;
56686
+ [name: string]: unknown;
56687
+ };
56688
+ content: {
56689
+ "application/json": {
56690
+ code: string;
56691
+ message: string;
56692
+ links?: {
56693
+ docs: string;
56694
+ schema: string;
56695
+ };
56696
+ issues?: {
56697
+ message: string;
56698
+ path?: (string | number)[];
56699
+ schema?: string;
56700
+ }[];
56701
+ retryable?: boolean;
56702
+ context?: unknown;
56703
+ };
56704
+ };
56705
+ };
56706
+ /** @description Service unavailable */
56707
+ 503: {
56708
+ headers: {
56709
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
56710
+ "Retry-After"?: number;
56711
+ [name: string]: unknown;
56712
+ };
56713
+ content: {
56714
+ "application/json": {
56715
+ code: string;
56716
+ message: string;
56717
+ links?: {
56718
+ docs: string;
56719
+ schema: string;
56720
+ };
56721
+ issues?: {
56722
+ message: string;
56723
+ path?: (string | number)[];
56724
+ schema?: string;
56725
+ }[];
56726
+ retryable?: boolean;
56727
+ context?: unknown;
56728
+ };
56729
+ };
56730
+ };
56731
+ };
56732
+ };
56733
+ getPaymentsDeprecated: {
56734
+ parameters: {
56735
+ query?: {
56736
+ pageSize?: number;
56737
+ page?: number;
56738
+ type?: string;
56739
+ date?: string;
56740
+ expand?: string;
56741
+ description?: string;
56742
+ amount?: number;
56743
+ };
56744
+ header?: never;
56745
+ path?: never;
56746
+ cookie?: never;
56747
+ };
56748
+ requestBody?: never;
56749
+ responses: {
56750
+ /** @description Successful response */
56751
+ 200: {
56752
+ headers: {
56753
+ [name: string]: unknown;
56754
+ };
56755
+ content: {
56756
+ "application/json": {
56757
+ results: number;
56758
+ totalResults: number;
56759
+ page: number;
56760
+ totalPages: number;
56761
+ filters?: {
56762
+ [key: string]: unknown;
56763
+ };
56764
+ data: {
56765
+ /** Format: uuid */
56766
+ id: string;
56767
+ amount: number;
56768
+ currency?: string | null;
56769
+ description?: string | null;
56770
+ date?: string | null;
56771
+ uniqueRef?: string | null;
56772
+ isReconciled?: boolean | null;
56773
+ metadata?: {
56774
+ [key: string]: unknown;
56775
+ };
56776
+ status?: string | null;
56777
+ type?: string | null;
56778
+ lines: {
56779
+ /** Format: uuid */
56780
+ id: string;
56781
+ uniqueRef?: string | null;
56782
+ type?: string | null;
56783
+ uniqueType?: string | null;
56784
+ description?: string | null;
56785
+ amount: number;
56786
+ originalAmount?: number | null;
56787
+ originalCurrency?: string | null;
56788
+ reservationId?: string | null;
56789
+ paymentId?: string | null;
56790
+ metadata?: {
56791
+ [key: string]: unknown;
56792
+ };
56793
+ listingId?: string | null;
56794
+ listing?: unknown;
56795
+ reservation?: unknown;
56796
+ }[];
56797
+ connection?: {
56798
+ /** Format: uuid */
56799
+ id: string;
56800
+ name?: string | null;
56801
+ type?: string | null;
56802
+ appId?: string | null;
56803
+ status?: string | null;
56804
+ } | null;
56805
+ }[];
56806
+ };
56807
+ };
56808
+ };
56809
+ /** @description Bad request */
56810
+ 400: {
56811
+ headers: {
56812
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
56813
+ "Retry-After"?: number;
56814
+ [name: string]: unknown;
56815
+ };
56816
+ content: {
56817
+ "application/json": {
56818
+ code: string;
56819
+ message: string;
56820
+ links?: {
56821
+ docs: string;
56822
+ schema: string;
56823
+ };
56824
+ issues?: {
56825
+ message: string;
56826
+ path?: (string | number)[];
56827
+ schema?: string;
56828
+ }[];
56829
+ retryable?: boolean;
56830
+ context?: unknown;
56831
+ };
56832
+ };
56833
+ };
56834
+ /** @description Unauthorized */
56835
+ 401: {
56836
+ headers: {
56837
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
56838
+ "Retry-After"?: number;
56839
+ [name: string]: unknown;
56840
+ };
56841
+ content: {
56842
+ "application/json": {
56843
+ code: string;
56844
+ message: string;
56845
+ links?: {
56846
+ docs: string;
56847
+ schema: string;
56848
+ };
56849
+ issues?: {
56850
+ message: string;
56851
+ path?: (string | number)[];
56852
+ schema?: string;
56853
+ }[];
56854
+ retryable?: boolean;
56855
+ context?: unknown;
56856
+ };
56857
+ };
56858
+ };
56859
+ /** @description Forbidden */
56860
+ 403: {
56861
+ headers: {
56862
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
56863
+ "Retry-After"?: number;
56864
+ [name: string]: unknown;
56865
+ };
56866
+ content: {
56867
+ "application/json": {
56868
+ code: string;
56869
+ message: string;
56870
+ links?: {
56871
+ docs: string;
56872
+ schema: string;
56873
+ };
56874
+ issues?: {
56875
+ message: string;
56876
+ path?: (string | number)[];
56877
+ schema?: string;
56878
+ }[];
56879
+ retryable?: boolean;
56880
+ context?: unknown;
56881
+ };
56882
+ };
56883
+ };
56884
+ /** @description Not found */
56885
+ 404: {
56886
+ headers: {
56887
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
56888
+ "Retry-After"?: number;
56889
+ [name: string]: unknown;
56890
+ };
56891
+ content: {
56892
+ "application/json": {
56893
+ code: string;
56894
+ message: string;
56895
+ links?: {
56896
+ docs: string;
56897
+ schema: string;
56898
+ };
56899
+ issues?: {
56900
+ message: string;
56901
+ path?: (string | number)[];
56902
+ schema?: string;
56903
+ }[];
56904
+ retryable?: boolean;
56905
+ context?: unknown;
56906
+ };
56907
+ };
56908
+ };
56909
+ /** @description Conflict */
56910
+ 409: {
56911
+ headers: {
56912
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
56913
+ "Retry-After"?: number;
56914
+ [name: string]: unknown;
56915
+ };
56916
+ content: {
56917
+ "application/json": {
56918
+ code: string;
56919
+ message: string;
56920
+ links?: {
56921
+ docs: string;
56922
+ schema: string;
56923
+ };
56924
+ issues?: {
56925
+ message: string;
56926
+ path?: (string | number)[];
56927
+ schema?: string;
56928
+ }[];
56929
+ retryable?: boolean;
56930
+ context?: unknown;
56931
+ };
56932
+ };
56933
+ };
56934
+ /** @description Gone */
56935
+ 410: {
56936
+ headers: {
56937
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
56938
+ "Retry-After"?: number;
56939
+ [name: string]: unknown;
56940
+ };
56941
+ content: {
56942
+ "application/json": {
56943
+ code: string;
56944
+ message: string;
56945
+ links?: {
56946
+ docs: string;
56947
+ schema: string;
56948
+ };
56949
+ issues?: {
56950
+ message: string;
56951
+ path?: (string | number)[];
56952
+ schema?: string;
56953
+ }[];
56954
+ retryable?: boolean;
56955
+ context?: unknown;
56956
+ };
56957
+ };
56958
+ };
56959
+ /** @description Unprocessable content */
56960
+ 422: {
56961
+ headers: {
56962
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
56963
+ "Retry-After"?: number;
56964
+ [name: string]: unknown;
56965
+ };
56966
+ content: {
56967
+ "application/json": {
56968
+ code: string;
56969
+ message: string;
56970
+ links?: {
56971
+ docs: string;
56972
+ schema: string;
56973
+ };
56974
+ issues?: {
56975
+ message: string;
56976
+ path?: (string | number)[];
56977
+ schema?: string;
56978
+ }[];
56979
+ retryable?: boolean;
56980
+ context?: unknown;
56981
+ };
56982
+ };
56983
+ };
56984
+ /** @description Internal server error */
56985
+ 500: {
56986
+ headers: {
56987
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
56988
+ "Retry-After"?: number;
56989
+ [name: string]: unknown;
56990
+ };
56991
+ content: {
56992
+ "application/json": {
56993
+ code: string;
56994
+ message: string;
56995
+ links?: {
56996
+ docs: string;
56997
+ schema: string;
56998
+ };
56999
+ issues?: {
57000
+ message: string;
57001
+ path?: (string | number)[];
57002
+ schema?: string;
57003
+ }[];
57004
+ retryable?: boolean;
57005
+ context?: unknown;
57006
+ };
57007
+ };
57008
+ };
57009
+ /** @description Service unavailable */
57010
+ 503: {
57011
+ headers: {
57012
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
57013
+ "Retry-After"?: number;
57014
+ [name: string]: unknown;
57015
+ };
57016
+ content: {
57017
+ "application/json": {
57018
+ code: string;
57019
+ message: string;
57020
+ links?: {
57021
+ docs: string;
57022
+ schema: string;
57023
+ };
57024
+ issues?: {
57025
+ message: string;
57026
+ path?: (string | number)[];
57027
+ schema?: string;
57028
+ }[];
57029
+ retryable?: boolean;
57030
+ context?: unknown;
57031
+ };
57032
+ };
57033
+ };
57034
+ };
57035
+ };
57036
+ getPaymentDeprecated: {
57037
+ parameters: {
57038
+ query?: never;
57039
+ header?: never;
57040
+ path: {
57041
+ id: string;
57042
+ };
57043
+ cookie?: never;
57044
+ };
57045
+ requestBody?: never;
57046
+ responses: {
57047
+ /** @description Successful response */
57048
+ 200: {
57049
+ headers: {
57050
+ [name: string]: unknown;
57051
+ };
57052
+ content: {
57053
+ "application/json": {
57054
+ /** Format: uuid */
57055
+ id: string;
57056
+ amount: number;
57057
+ currency?: string | null;
57058
+ description?: string | null;
57059
+ date?: string | null;
57060
+ uniqueRef?: string | null;
57061
+ isReconciled?: boolean | null;
57062
+ metadata?: {
57063
+ [key: string]: unknown;
57064
+ };
57065
+ status?: string | null;
57066
+ type?: string | null;
57067
+ lines: {
57068
+ /** Format: uuid */
57069
+ id: string;
57070
+ uniqueRef?: string | null;
57071
+ type?: string | null;
57072
+ uniqueType?: string | null;
57073
+ description?: string | null;
57074
+ amount: number;
57075
+ originalAmount?: number | null;
57076
+ originalCurrency?: string | null;
57077
+ reservationId?: string | null;
57078
+ paymentId?: string | null;
57079
+ metadata?: {
57080
+ [key: string]: unknown;
57081
+ };
57082
+ listingId?: string | null;
57083
+ listing?: unknown;
57084
+ reservation?: unknown;
57085
+ }[];
57086
+ connection?: {
57087
+ /** Format: uuid */
57088
+ id: string;
57089
+ name?: string | null;
57090
+ type?: string | null;
57091
+ appId?: string | null;
57092
+ status?: string | null;
57093
+ } | null;
57094
+ };
57095
+ };
57096
+ };
57097
+ /** @description Bad request */
57098
+ 400: {
57099
+ headers: {
57100
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
57101
+ "Retry-After"?: number;
57102
+ [name: string]: unknown;
57103
+ };
57104
+ content: {
57105
+ "application/json": {
57106
+ code: string;
57107
+ message: string;
57108
+ links?: {
57109
+ docs: string;
57110
+ schema: string;
57111
+ };
57112
+ issues?: {
57113
+ message: string;
57114
+ path?: (string | number)[];
57115
+ schema?: string;
57116
+ }[];
57117
+ retryable?: boolean;
57118
+ context?: unknown;
57119
+ };
57120
+ };
57121
+ };
57122
+ /** @description Unauthorized */
57123
+ 401: {
57124
+ headers: {
57125
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
57126
+ "Retry-After"?: number;
57127
+ [name: string]: unknown;
57128
+ };
57129
+ content: {
57130
+ "application/json": {
57131
+ code: string;
57132
+ message: string;
57133
+ links?: {
57134
+ docs: string;
57135
+ schema: string;
57136
+ };
57137
+ issues?: {
57138
+ message: string;
57139
+ path?: (string | number)[];
57140
+ schema?: string;
57141
+ }[];
57142
+ retryable?: boolean;
57143
+ context?: unknown;
57144
+ };
57145
+ };
57146
+ };
57147
+ /** @description Forbidden */
57148
+ 403: {
57149
+ headers: {
57150
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
57151
+ "Retry-After"?: number;
57152
+ [name: string]: unknown;
57153
+ };
57154
+ content: {
57155
+ "application/json": {
57156
+ code: string;
57157
+ message: string;
57158
+ links?: {
57159
+ docs: string;
57160
+ schema: string;
57161
+ };
57162
+ issues?: {
57163
+ message: string;
57164
+ path?: (string | number)[];
57165
+ schema?: string;
57166
+ }[];
57167
+ retryable?: boolean;
57168
+ context?: unknown;
57169
+ };
57170
+ };
57171
+ };
57172
+ /** @description Not found */
57173
+ 404: {
57174
+ headers: {
57175
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
57176
+ "Retry-After"?: number;
57177
+ [name: string]: unknown;
57178
+ };
57179
+ content: {
57180
+ "application/json": {
57181
+ code: string;
57182
+ message: string;
57183
+ links?: {
57184
+ docs: string;
57185
+ schema: string;
57186
+ };
57187
+ issues?: {
57188
+ message: string;
57189
+ path?: (string | number)[];
57190
+ schema?: string;
57191
+ }[];
57192
+ retryable?: boolean;
57193
+ context?: unknown;
57194
+ };
57195
+ };
57196
+ };
57197
+ /** @description Conflict */
57198
+ 409: {
57199
+ headers: {
57200
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
57201
+ "Retry-After"?: number;
57202
+ [name: string]: unknown;
57203
+ };
57204
+ content: {
57205
+ "application/json": {
57206
+ code: string;
57207
+ message: string;
57208
+ links?: {
57209
+ docs: string;
57210
+ schema: string;
57211
+ };
57212
+ issues?: {
57213
+ message: string;
57214
+ path?: (string | number)[];
57215
+ schema?: string;
57216
+ }[];
57217
+ retryable?: boolean;
57218
+ context?: unknown;
57219
+ };
57220
+ };
57221
+ };
57222
+ /** @description Gone */
57223
+ 410: {
57224
+ headers: {
57225
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
57226
+ "Retry-After"?: number;
57227
+ [name: string]: unknown;
57228
+ };
57229
+ content: {
57230
+ "application/json": {
57231
+ code: string;
57232
+ message: string;
57233
+ links?: {
57234
+ docs: string;
57235
+ schema: string;
57236
+ };
57237
+ issues?: {
57238
+ message: string;
57239
+ path?: (string | number)[];
57240
+ schema?: string;
57241
+ }[];
57242
+ retryable?: boolean;
57243
+ context?: unknown;
57244
+ };
57245
+ };
57246
+ };
57247
+ /** @description Unprocessable content */
57248
+ 422: {
57249
+ headers: {
57250
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
57251
+ "Retry-After"?: number;
57252
+ [name: string]: unknown;
57253
+ };
57254
+ content: {
57255
+ "application/json": {
57256
+ code: string;
57257
+ message: string;
57258
+ links?: {
57259
+ docs: string;
57260
+ schema: string;
57261
+ };
57262
+ issues?: {
57263
+ message: string;
57264
+ path?: (string | number)[];
57265
+ schema?: string;
57266
+ }[];
57267
+ retryable?: boolean;
57268
+ context?: unknown;
57269
+ };
57270
+ };
57271
+ };
57272
+ /** @description Internal server error */
57273
+ 500: {
57274
+ headers: {
57275
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
57276
+ "Retry-After"?: number;
57277
+ [name: string]: unknown;
57278
+ };
57279
+ content: {
57280
+ "application/json": {
57281
+ code: string;
57282
+ message: string;
57283
+ links?: {
57284
+ docs: string;
57285
+ schema: string;
57286
+ };
57287
+ issues?: {
57288
+ message: string;
57289
+ path?: (string | number)[];
57290
+ schema?: string;
57291
+ }[];
57292
+ retryable?: boolean;
57293
+ context?: unknown;
57294
+ };
57295
+ };
57296
+ };
57297
+ /** @description Service unavailable */
57298
+ 503: {
57299
+ headers: {
57300
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
57301
+ "Retry-After"?: number;
57302
+ [name: string]: unknown;
57303
+ };
57304
+ content: {
57305
+ "application/json": {
57306
+ code: string;
57307
+ message: string;
57308
+ links?: {
57309
+ docs: string;
57310
+ schema: string;
57311
+ };
57312
+ issues?: {
57313
+ message: string;
57314
+ path?: (string | number)[];
57315
+ schema?: string;
57316
+ }[];
57317
+ retryable?: boolean;
57318
+ context?: unknown;
57319
+ };
57320
+ };
57321
+ };
57322
+ };
57323
+ };
57324
+ getListings: {
57325
+ parameters: {
57326
+ query?: {
57327
+ status?: "active" | "inactive";
57328
+ connectionId?: string;
57329
+ /** @description Filter by parent listing id. Use parent=null to return only parent/root listings. */
57330
+ parent?: string | "null";
57331
+ /** @description Comma-separated listing ids. */
57332
+ ids?: string;
57333
+ search?: string;
57334
+ contactId?: string;
57335
+ /** @description Filter listings by ownership period ID. */
57336
+ ownershipPeriodId?: string;
57337
+ /** @description Comma-separated listing short refs. */
57338
+ shortRefs?: string;
57339
+ /** @description Filter listings by whether they currently have an active ownership period. */
57340
+ activeOwnership?: boolean;
57341
+ /** @description Include child listing links on each listing. */
57342
+ includeChildren?: boolean;
57343
+ /** @description Filter by active recurring fee coverage. Use `active` or `inactive` for any recurring fee type, prefix a fee type with `!` to exclude it, or pass a recurring fee UUID for one specific fee. */
57344
+ activeRecurringFeePeriods?: string;
57345
+ /** @description Filter listings that have (true) or lack (false) opening balances */
57346
+ openingBalance?: boolean;
57347
+ /** @description Filter listings by setup issue code, "all" (all setup issues), or "any" (at least one setup issue) */
57348
+ issue?: "all" | "any" | "missingOwnershipOrDeactivation" | "missingFeesAndCommission" | "missingOpeningBalance";
57349
+ limit?: number;
57350
+ page?: number;
57351
+ offset?: number;
57352
+ };
57353
+ header?: never;
57354
+ path?: never;
57355
+ cookie?: never;
57356
+ };
57357
+ requestBody?: never;
57358
+ responses: {
57359
+ /** @description Successful response */
57360
+ 200: {
57361
+ headers: {
57362
+ [name: string]: unknown;
57363
+ };
57364
+ content: {
57365
+ "application/json": {
57366
+ data: {
57367
+ name: string;
57368
+ uniqueRef?: string | null;
57369
+ connectionId?: string | null;
57370
+ defaultCurrency?: string | null;
57371
+ address?: {
57372
+ full?: string | null;
57373
+ line1?: string | null;
57374
+ line2?: string | null;
57375
+ city?: string | null;
57376
+ /** @description Deprecated, use stateCode instead */
57377
+ state?: string | null;
57378
+ postalCode?: string | null;
57379
+ stateCode?: string | null;
57380
+ countryCode?: string | null;
57381
+ } | null;
57382
+ /** Format: uuid */
57383
+ id: string;
57384
+ shortRef?: string | null;
57385
+ title?: string | null;
57386
+ pmsName?: string | null;
57387
+ /** @enum {string} */
57388
+ status: "active" | "inactive";
57389
+ activeOwnership?: {
57390
+ /** Format: uuid */
57391
+ id: string;
57392
+ startAt: string;
57393
+ endAt?: string | null;
57394
+ /** @description Value in cents (100 = 1€) */
57395
+ reserve: number;
57396
+ members: {
57397
+ split?: number | null;
57398
+ /** Format: uuid */
57399
+ id: string;
57400
+ contact?: {
57401
+ /** Format: uuid */
57402
+ id: string;
57403
+ name?: string | null;
57404
+ firstName?: string | null;
57405
+ uniqueRef?: string | null;
57406
+ shortRef?: string | null;
57407
+ email?: string | null;
57408
+ /** @enum {string} */
57409
+ type: "owner" | "vendor";
57410
+ } | null;
57411
+ }[];
57412
+ setListingInactive?: boolean | null;
57413
+ /** @enum {string} */
57414
+ businessModel: "managed" | "co_host" | "co_host_airbnb";
57415
+ lock?: {
57416
+ /**
57417
+ * @description Aggregate lock state; inspect nested reasons and resource-specific field rules
57418
+ * @enum {string}
57419
+ */
57420
+ status: "locked" | "unlocked";
57421
+ /** @description Present when books closing blocks the mutation */
57422
+ booksClosed?: {
57423
+ /** @description First open accounting date */
57424
+ date: string;
57425
+ } | null;
57426
+ /** @description Present when journal entries are attached to owner statements */
57427
+ ownerStatement?: {
57428
+ /** @description Owner statements that lock the represented data */
57429
+ ids: string[];
57430
+ } | null;
57431
+ /** @description Present when bank records are linked; transaction fields that do not affect the match may remain editable */
57432
+ reconciled?: {
57433
+ /** @description Bank records linked through reconciliation */
57434
+ bankRecordIds: string[];
57435
+ } | null;
57436
+ /** @description Listing statement-period conflicts for the represented data */
57437
+ statementPeriod?: {
57438
+ hits: {
57439
+ /** Format: uuid */
57440
+ listingId: string;
57441
+ /** @description Posting date blocked by the statement period */
57442
+ txnAt: string;
57443
+ /** @description First open date for this listing period */
57444
+ openFrom: string;
57445
+ }[];
57446
+ } | null;
57447
+ } | null;
57448
+ } | null;
57449
+ activeRecurringFeePeriods?: {
57450
+ /** @description Listing period start date; unparseable values are rejected */
57451
+ startAt?: string | null;
57452
+ /** @description Listing period end date; unparseable values are rejected */
57453
+ endAt?: string | null;
57454
+ /** @description Optional listing-period override; a value equal to the definition default is stored as inherited */
57455
+ rate?: number | null;
57456
+ /** Format: uuid */
57457
+ id: string;
57458
+ recurringFee: {
57459
+ id: string;
57460
+ name: string;
57461
+ /** @enum {string} */
57462
+ type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
57463
+ rateType?: ("flat" | "percentage") | null;
57464
+ defaultRate?: number | null;
57465
+ /** @enum {string} */
57466
+ status: "active" | "inactive";
57467
+ };
57468
+ }[] | null;
57469
+ source?: {
57470
+ /** Format: uuid */
57471
+ id: string;
57472
+ type: string;
57473
+ status?: ("active" | "inactive") | null;
57474
+ appId?: string | null;
57475
+ appIcon?: string | null;
57476
+ } | null;
57477
+ parent: {
57478
+ /** Format: uuid */
57479
+ id: string;
57480
+ name: string;
57481
+ uniqueRef?: string | null;
57482
+ shortRef?: string | null;
57483
+ } | null;
57484
+ children?: {
57485
+ /** Format: uuid */
57486
+ id: string;
57487
+ name: string;
57488
+ uniqueRef?: string | null;
57489
+ shortRef?: string | null;
57490
+ }[];
57491
+ childCount: number;
57492
+ upcomingDeactivation: {
57493
+ /** @enum {string} */
57494
+ status: "active" | "disable-upcoming" | "disabled-ending" | "disabled-forever";
57495
+ period: {
57496
+ id: string;
57497
+ startAt: string;
57498
+ endAt: string | null;
57499
+ } | null;
57500
+ };
57501
+ issues: ({
57502
+ /** @constant */
57503
+ code: "missingOwnershipOrDeactivation";
57504
+ /** @constant */
57505
+ severity: "warning";
57506
+ context: Record<string, never>;
57507
+ } | {
57508
+ /** @constant */
57509
+ code: "missingFeesAndCommission";
57510
+ /** @constant */
57511
+ severity: "warning";
57512
+ context: Record<string, never>;
57513
+ } | {
57514
+ /** @constant */
57515
+ code: "missingOpeningBalance";
57516
+ /** @constant */
57517
+ severity: "warning";
57518
+ context: Record<string, never>;
57519
+ })[];
57520
+ }[];
57521
+ pagination: {
57522
+ /** @default 100 */
57523
+ limit: number;
57524
+ /** @default 1 */
57525
+ page: number;
57526
+ total: number;
57527
+ totalPage: number;
57528
+ nextPage?: number;
57529
+ };
56687
57530
  };
56688
57531
  };
56689
57532
  };
@@ -124748,7 +125591,7 @@ export interface operations {
124748
125591
  };
124749
125592
  content: {
124750
125593
  "application/json": {
124751
- deniedPermissions: ("self:read" | "self:write" | "audit:read" | "operations:read" | "partner:read" | "teams:read" | "teams:provision" | "teams:write" | "teams:initialize" | "embedded-sessions:issue" | "team-members:read" | "team-members:manage" | "team-member-roles:manage" | "partner-access-policy:manage" | "api-tokens:manage" | "partner-users:read" | "partner-users:manage" | "partner-memberships:manage" | "team-settings:read" | "team-settings:write" | "integrations:read" | "integrations:write" | "integrations:execute" | "integrations:import" | "integrations:delete" | "sources:read" | "calendar:read" | "calendar:write" | "calendar:delete" | "files:read" | "files:write" | "files:delete" | "general-ledger:read" | "general-ledger:write" | "general-ledger:import" | "team-onboarding:read" | "team-onboarding:write" | "team-issues:read" | "books:close" | "listings:read" | "listings:write" | "listings:delete" | "listings:export" | "contacts:read" | "contacts:write" | "contacts:delete" | "contacts:export" | "ownerships:read" | "ownerships:write" | "ownerships:delete" | "reservations:read" | "reservations:write" | "reservations:delete" | "reservations:export" | "reservations:post-journals" | "transactions:read" | "transactions:write" | "transactions:delete" | "transactions:export" | "transactions:post-journals" | "transactions:mark-paid" | "accounts:read" | "accounts:write" | "accounts:delete" | "accounts:export" | "accounts:recalculate" | "tax-rates:read" | "tax-rates:write" | "tax-rates:delete" | "reservation-mappings:read" | "reservation-mappings:write" | "transaction-mappings:read" | "transaction-mappings:write" | "statements:read" | "statements:write" | "statements:delete" | "statements:publish" | "statements:record-payout" | "statements:export" | "statement-layouts:read" | "statement-layouts:write" | "statement-layouts:delete" | "recurring-fees:read" | "recurring-fees:write" | "recurring-fees:delete" | "reports:read" | "reports:export" | "metrics:read" | "bank-accounts:read" | "bank-accounts:write" | "bank-connections:manage" | "bank-records:read" | "bank-records:write" | "bank-records:delete" | "bank-records:export" | "bank-rules:read" | "bank-rules:write" | "bank-rules:delete" | "bank-rules:execute" | "ach-payment-methods:write" | "ach-payments:execute" | "webhooks:read" | "webhooks:manage" | "webhooks:replay")[];
125594
+ deniedPermissions: ("self:read" | "self:write" | "audit:read" | "operations:read" | "partner:read" | "teams:read" | "teams:provision" | "teams:write" | "teams:initialize" | "embedded-sessions:issue" | "team-members:read" | "team-members:manage" | "team-member-roles:manage" | "partner-access-policy:manage" | "api-tokens:manage" | "partner-users:read" | "partner-users:manage" | "partner-memberships:manage" | "team-settings:read" | "team-settings:write" | "integrations:read" | "integrations:write" | "integrations:execute" | "integrations:import" | "integrations:delete" | "sources:read" | "calendar:read" | "calendar:write" | "calendar:delete" | "files:read" | "files:write" | "files:delete" | "general-ledger:read" | "general-ledger:write" | "general-ledger:import" | "team-onboarding:read" | "team-onboarding:write" | "team-issues:read" | "books:close" | "listings:read" | "listings:write" | "listings:delete" | "listings:export" | "contacts:read" | "contacts:write" | "contacts:delete" | "contacts:export" | "ownerships:read" | "ownerships:write" | "ownerships:delete" | "reservations:read" | "reservations:write" | "reservations:delete" | "reservations:export" | "reservations:post-journals" | "transactions:read" | "transactions:write" | "transactions:delete" | "transactions:export" | "transactions:post-journals" | "transactions:mark-paid" | "accounts:read" | "accounts:write" | "accounts:delete" | "accounts:export" | "accounts:recalculate" | "tax-rates:read" | "tax-rates:write" | "tax-rates:delete" | "reservation-mappings:read" | "reservation-mappings:write" | "statements:read" | "statements:write" | "statements:delete" | "statements:publish" | "statements:record-payout" | "statements:export" | "statement-layouts:read" | "statement-layouts:write" | "statement-layouts:delete" | "recurring-fees:read" | "recurring-fees:write" | "recurring-fees:delete" | "reports:read" | "reports:export" | "metrics:read" | "bank-accounts:read" | "bank-accounts:write" | "bank-connections:manage" | "bank-records:read" | "bank-records:write" | "bank-records:delete" | "bank-records:export" | "bank-rules:read" | "bank-rules:write" | "bank-rules:delete" | "bank-rules:execute" | "ach-payment-methods:write" | "ach-payments:execute" | "webhooks:read" | "webhooks:manage" | "webhooks:replay")[];
124752
125595
  };
124753
125596
  };
124754
125597
  };
@@ -124989,7 +125832,7 @@ export interface operations {
124989
125832
  requestBody?: {
124990
125833
  content: {
124991
125834
  "application/json": {
124992
- deniedPermissions: ("self:read" | "self:write" | "audit:read" | "operations:read" | "partner:read" | "teams:read" | "teams:provision" | "teams:write" | "teams:initialize" | "embedded-sessions:issue" | "team-members:read" | "team-members:manage" | "team-member-roles:manage" | "partner-access-policy:manage" | "api-tokens:manage" | "partner-users:read" | "partner-users:manage" | "partner-memberships:manage" | "team-settings:read" | "team-settings:write" | "integrations:read" | "integrations:write" | "integrations:execute" | "integrations:import" | "integrations:delete" | "sources:read" | "calendar:read" | "calendar:write" | "calendar:delete" | "files:read" | "files:write" | "files:delete" | "general-ledger:read" | "general-ledger:write" | "general-ledger:import" | "team-onboarding:read" | "team-onboarding:write" | "team-issues:read" | "books:close" | "listings:read" | "listings:write" | "listings:delete" | "listings:export" | "contacts:read" | "contacts:write" | "contacts:delete" | "contacts:export" | "ownerships:read" | "ownerships:write" | "ownerships:delete" | "reservations:read" | "reservations:write" | "reservations:delete" | "reservations:export" | "reservations:post-journals" | "transactions:read" | "transactions:write" | "transactions:delete" | "transactions:export" | "transactions:post-journals" | "transactions:mark-paid" | "accounts:read" | "accounts:write" | "accounts:delete" | "accounts:export" | "accounts:recalculate" | "tax-rates:read" | "tax-rates:write" | "tax-rates:delete" | "reservation-mappings:read" | "reservation-mappings:write" | "transaction-mappings:read" | "transaction-mappings:write" | "statements:read" | "statements:write" | "statements:delete" | "statements:publish" | "statements:record-payout" | "statements:export" | "statement-layouts:read" | "statement-layouts:write" | "statement-layouts:delete" | "recurring-fees:read" | "recurring-fees:write" | "recurring-fees:delete" | "reports:read" | "reports:export" | "metrics:read" | "bank-accounts:read" | "bank-accounts:write" | "bank-connections:manage" | "bank-records:read" | "bank-records:write" | "bank-records:delete" | "bank-records:export" | "bank-rules:read" | "bank-rules:write" | "bank-rules:delete" | "bank-rules:execute" | "ach-payment-methods:write" | "ach-payments:execute" | "webhooks:read" | "webhooks:manage" | "webhooks:replay")[];
125835
+ deniedPermissions: ("self:read" | "self:write" | "audit:read" | "operations:read" | "partner:read" | "teams:read" | "teams:provision" | "teams:write" | "teams:initialize" | "embedded-sessions:issue" | "team-members:read" | "team-members:manage" | "team-member-roles:manage" | "partner-access-policy:manage" | "api-tokens:manage" | "partner-users:read" | "partner-users:manage" | "partner-memberships:manage" | "team-settings:read" | "team-settings:write" | "integrations:read" | "integrations:write" | "integrations:execute" | "integrations:import" | "integrations:delete" | "sources:read" | "calendar:read" | "calendar:write" | "calendar:delete" | "files:read" | "files:write" | "files:delete" | "general-ledger:read" | "general-ledger:write" | "general-ledger:import" | "team-onboarding:read" | "team-onboarding:write" | "team-issues:read" | "books:close" | "listings:read" | "listings:write" | "listings:delete" | "listings:export" | "contacts:read" | "contacts:write" | "contacts:delete" | "contacts:export" | "ownerships:read" | "ownerships:write" | "ownerships:delete" | "reservations:read" | "reservations:write" | "reservations:delete" | "reservations:export" | "reservations:post-journals" | "transactions:read" | "transactions:write" | "transactions:delete" | "transactions:export" | "transactions:post-journals" | "transactions:mark-paid" | "accounts:read" | "accounts:write" | "accounts:delete" | "accounts:export" | "accounts:recalculate" | "tax-rates:read" | "tax-rates:write" | "tax-rates:delete" | "reservation-mappings:read" | "reservation-mappings:write" | "statements:read" | "statements:write" | "statements:delete" | "statements:publish" | "statements:record-payout" | "statements:export" | "statement-layouts:read" | "statement-layouts:write" | "statement-layouts:delete" | "recurring-fees:read" | "recurring-fees:write" | "recurring-fees:delete" | "reports:read" | "reports:export" | "metrics:read" | "bank-accounts:read" | "bank-accounts:write" | "bank-connections:manage" | "bank-records:read" | "bank-records:write" | "bank-records:delete" | "bank-records:export" | "bank-rules:read" | "bank-rules:write" | "bank-rules:delete" | "bank-rules:execute" | "ach-payment-methods:write" | "ach-payments:execute" | "webhooks:read" | "webhooks:manage" | "webhooks:replay")[];
124993
125836
  };
124994
125837
  };
124995
125838
  };
@@ -125001,7 +125844,7 @@ export interface operations {
125001
125844
  };
125002
125845
  content: {
125003
125846
  "application/json": {
125004
- deniedPermissions: ("self:read" | "self:write" | "audit:read" | "operations:read" | "partner:read" | "teams:read" | "teams:provision" | "teams:write" | "teams:initialize" | "embedded-sessions:issue" | "team-members:read" | "team-members:manage" | "team-member-roles:manage" | "partner-access-policy:manage" | "api-tokens:manage" | "partner-users:read" | "partner-users:manage" | "partner-memberships:manage" | "team-settings:read" | "team-settings:write" | "integrations:read" | "integrations:write" | "integrations:execute" | "integrations:import" | "integrations:delete" | "sources:read" | "calendar:read" | "calendar:write" | "calendar:delete" | "files:read" | "files:write" | "files:delete" | "general-ledger:read" | "general-ledger:write" | "general-ledger:import" | "team-onboarding:read" | "team-onboarding:write" | "team-issues:read" | "books:close" | "listings:read" | "listings:write" | "listings:delete" | "listings:export" | "contacts:read" | "contacts:write" | "contacts:delete" | "contacts:export" | "ownerships:read" | "ownerships:write" | "ownerships:delete" | "reservations:read" | "reservations:write" | "reservations:delete" | "reservations:export" | "reservations:post-journals" | "transactions:read" | "transactions:write" | "transactions:delete" | "transactions:export" | "transactions:post-journals" | "transactions:mark-paid" | "accounts:read" | "accounts:write" | "accounts:delete" | "accounts:export" | "accounts:recalculate" | "tax-rates:read" | "tax-rates:write" | "tax-rates:delete" | "reservation-mappings:read" | "reservation-mappings:write" | "transaction-mappings:read" | "transaction-mappings:write" | "statements:read" | "statements:write" | "statements:delete" | "statements:publish" | "statements:record-payout" | "statements:export" | "statement-layouts:read" | "statement-layouts:write" | "statement-layouts:delete" | "recurring-fees:read" | "recurring-fees:write" | "recurring-fees:delete" | "reports:read" | "reports:export" | "metrics:read" | "bank-accounts:read" | "bank-accounts:write" | "bank-connections:manage" | "bank-records:read" | "bank-records:write" | "bank-records:delete" | "bank-records:export" | "bank-rules:read" | "bank-rules:write" | "bank-rules:delete" | "bank-rules:execute" | "ach-payment-methods:write" | "ach-payments:execute" | "webhooks:read" | "webhooks:manage" | "webhooks:replay")[];
125847
+ deniedPermissions: ("self:read" | "self:write" | "audit:read" | "operations:read" | "partner:read" | "teams:read" | "teams:provision" | "teams:write" | "teams:initialize" | "embedded-sessions:issue" | "team-members:read" | "team-members:manage" | "team-member-roles:manage" | "partner-access-policy:manage" | "api-tokens:manage" | "partner-users:read" | "partner-users:manage" | "partner-memberships:manage" | "team-settings:read" | "team-settings:write" | "integrations:read" | "integrations:write" | "integrations:execute" | "integrations:import" | "integrations:delete" | "sources:read" | "calendar:read" | "calendar:write" | "calendar:delete" | "files:read" | "files:write" | "files:delete" | "general-ledger:read" | "general-ledger:write" | "general-ledger:import" | "team-onboarding:read" | "team-onboarding:write" | "team-issues:read" | "books:close" | "listings:read" | "listings:write" | "listings:delete" | "listings:export" | "contacts:read" | "contacts:write" | "contacts:delete" | "contacts:export" | "ownerships:read" | "ownerships:write" | "ownerships:delete" | "reservations:read" | "reservations:write" | "reservations:delete" | "reservations:export" | "reservations:post-journals" | "transactions:read" | "transactions:write" | "transactions:delete" | "transactions:export" | "transactions:post-journals" | "transactions:mark-paid" | "accounts:read" | "accounts:write" | "accounts:delete" | "accounts:export" | "accounts:recalculate" | "tax-rates:read" | "tax-rates:write" | "tax-rates:delete" | "reservation-mappings:read" | "reservation-mappings:write" | "statements:read" | "statements:write" | "statements:delete" | "statements:publish" | "statements:record-payout" | "statements:export" | "statement-layouts:read" | "statement-layouts:write" | "statement-layouts:delete" | "recurring-fees:read" | "recurring-fees:write" | "recurring-fees:delete" | "reports:read" | "reports:export" | "metrics:read" | "bank-accounts:read" | "bank-accounts:write" | "bank-connections:manage" | "bank-records:read" | "bank-records:write" | "bank-records:delete" | "bank-records:export" | "bank-rules:read" | "bank-rules:write" | "bank-rules:delete" | "bank-rules:execute" | "ach-payment-methods:write" | "ach-payments:execute" | "webhooks:read" | "webhooks:manage" | "webhooks:replay")[];
125005
125848
  };
125006
125849
  };
125007
125850
  };
@@ -125253,7 +126096,7 @@ export interface operations {
125253
126096
  name: "ui:team-admin:v1" | "ui:partner-admin:v1" | "ui:standard-member:v1" | "ui:operations:v1" | "ui:accounting:v1" | "ui:owner-statements:v1" | "ui:reports-viewer:v1" | "ui:read-only:v1" | "ui:ach-payer:v1";
125254
126097
  title: string;
125255
126098
  description: string;
125256
- permissions: ("self:read" | "self:write" | "audit:read" | "operations:read" | "partner:read" | "teams:read" | "teams:provision" | "teams:write" | "teams:initialize" | "embedded-sessions:issue" | "team-members:read" | "team-members:manage" | "team-member-roles:manage" | "partner-access-policy:manage" | "api-tokens:manage" | "partner-users:read" | "partner-users:manage" | "partner-memberships:manage" | "team-settings:read" | "team-settings:write" | "integrations:read" | "integrations:write" | "integrations:execute" | "integrations:import" | "integrations:delete" | "sources:read" | "calendar:read" | "calendar:write" | "calendar:delete" | "files:read" | "files:write" | "files:delete" | "general-ledger:read" | "general-ledger:write" | "general-ledger:import" | "team-onboarding:read" | "team-onboarding:write" | "team-issues:read" | "books:close" | "listings:read" | "listings:write" | "listings:delete" | "listings:export" | "contacts:read" | "contacts:write" | "contacts:delete" | "contacts:export" | "ownerships:read" | "ownerships:write" | "ownerships:delete" | "reservations:read" | "reservations:write" | "reservations:delete" | "reservations:export" | "reservations:post-journals" | "transactions:read" | "transactions:write" | "transactions:delete" | "transactions:export" | "transactions:post-journals" | "transactions:mark-paid" | "accounts:read" | "accounts:write" | "accounts:delete" | "accounts:export" | "accounts:recalculate" | "tax-rates:read" | "tax-rates:write" | "tax-rates:delete" | "reservation-mappings:read" | "reservation-mappings:write" | "transaction-mappings:read" | "transaction-mappings:write" | "statements:read" | "statements:write" | "statements:delete" | "statements:publish" | "statements:record-payout" | "statements:export" | "statement-layouts:read" | "statement-layouts:write" | "statement-layouts:delete" | "recurring-fees:read" | "recurring-fees:write" | "recurring-fees:delete" | "reports:read" | "reports:export" | "metrics:read" | "bank-accounts:read" | "bank-accounts:write" | "bank-connections:manage" | "bank-records:read" | "bank-records:write" | "bank-records:delete" | "bank-records:export" | "bank-rules:read" | "bank-rules:write" | "bank-rules:delete" | "bank-rules:execute" | "ach-payment-methods:write" | "ach-payments:execute" | "webhooks:read" | "webhooks:manage" | "webhooks:replay")[];
126099
+ permissions: ("self:read" | "self:write" | "audit:read" | "operations:read" | "partner:read" | "teams:read" | "teams:provision" | "teams:write" | "teams:initialize" | "embedded-sessions:issue" | "team-members:read" | "team-members:manage" | "team-member-roles:manage" | "partner-access-policy:manage" | "api-tokens:manage" | "partner-users:read" | "partner-users:manage" | "partner-memberships:manage" | "team-settings:read" | "team-settings:write" | "integrations:read" | "integrations:write" | "integrations:execute" | "integrations:import" | "integrations:delete" | "sources:read" | "calendar:read" | "calendar:write" | "calendar:delete" | "files:read" | "files:write" | "files:delete" | "general-ledger:read" | "general-ledger:write" | "general-ledger:import" | "team-onboarding:read" | "team-onboarding:write" | "team-issues:read" | "books:close" | "listings:read" | "listings:write" | "listings:delete" | "listings:export" | "contacts:read" | "contacts:write" | "contacts:delete" | "contacts:export" | "ownerships:read" | "ownerships:write" | "ownerships:delete" | "reservations:read" | "reservations:write" | "reservations:delete" | "reservations:export" | "reservations:post-journals" | "transactions:read" | "transactions:write" | "transactions:delete" | "transactions:export" | "transactions:post-journals" | "transactions:mark-paid" | "accounts:read" | "accounts:write" | "accounts:delete" | "accounts:export" | "accounts:recalculate" | "tax-rates:read" | "tax-rates:write" | "tax-rates:delete" | "reservation-mappings:read" | "reservation-mappings:write" | "statements:read" | "statements:write" | "statements:delete" | "statements:publish" | "statements:record-payout" | "statements:export" | "statement-layouts:read" | "statement-layouts:write" | "statement-layouts:delete" | "recurring-fees:read" | "recurring-fees:write" | "recurring-fees:delete" | "reports:read" | "reports:export" | "metrics:read" | "bank-accounts:read" | "bank-accounts:write" | "bank-connections:manage" | "bank-records:read" | "bank-records:write" | "bank-records:delete" | "bank-records:export" | "bank-rules:read" | "bank-rules:write" | "bank-rules:delete" | "bank-rules:execute" | "ach-payment-methods:write" | "ach-payments:execute" | "webhooks:read" | "webhooks:manage" | "webhooks:replay")[];
125257
126100
  }[];
125258
126101
  };
125259
126102
  };
@@ -125503,7 +126346,7 @@ export interface operations {
125503
126346
  "application/json": {
125504
126347
  data: {
125505
126348
  /** @enum {string} */
125506
- name: "self:read" | "self:write" | "audit:read" | "operations:read" | "partner:read" | "teams:read" | "teams:provision" | "teams:write" | "teams:initialize" | "embedded-sessions:issue" | "team-members:read" | "team-members:manage" | "team-member-roles:manage" | "partner-access-policy:manage" | "api-tokens:manage" | "partner-users:read" | "partner-users:manage" | "partner-memberships:manage" | "team-settings:read" | "team-settings:write" | "integrations:read" | "integrations:write" | "integrations:execute" | "integrations:import" | "integrations:delete" | "sources:read" | "calendar:read" | "calendar:write" | "calendar:delete" | "files:read" | "files:write" | "files:delete" | "general-ledger:read" | "general-ledger:write" | "general-ledger:import" | "team-onboarding:read" | "team-onboarding:write" | "team-issues:read" | "books:close" | "listings:read" | "listings:write" | "listings:delete" | "listings:export" | "contacts:read" | "contacts:write" | "contacts:delete" | "contacts:export" | "ownerships:read" | "ownerships:write" | "ownerships:delete" | "reservations:read" | "reservations:write" | "reservations:delete" | "reservations:export" | "reservations:post-journals" | "transactions:read" | "transactions:write" | "transactions:delete" | "transactions:export" | "transactions:post-journals" | "transactions:mark-paid" | "accounts:read" | "accounts:write" | "accounts:delete" | "accounts:export" | "accounts:recalculate" | "tax-rates:read" | "tax-rates:write" | "tax-rates:delete" | "reservation-mappings:read" | "reservation-mappings:write" | "transaction-mappings:read" | "transaction-mappings:write" | "statements:read" | "statements:write" | "statements:delete" | "statements:publish" | "statements:record-payout" | "statements:export" | "statement-layouts:read" | "statement-layouts:write" | "statement-layouts:delete" | "recurring-fees:read" | "recurring-fees:write" | "recurring-fees:delete" | "reports:read" | "reports:export" | "metrics:read" | "bank-accounts:read" | "bank-accounts:write" | "bank-connections:manage" | "bank-records:read" | "bank-records:write" | "bank-records:delete" | "bank-records:export" | "bank-rules:read" | "bank-rules:write" | "bank-rules:delete" | "bank-rules:execute" | "ach-payment-methods:write" | "ach-payments:execute" | "webhooks:read" | "webhooks:manage" | "webhooks:replay";
126349
+ name: "self:read" | "self:write" | "audit:read" | "operations:read" | "partner:read" | "teams:read" | "teams:provision" | "teams:write" | "teams:initialize" | "embedded-sessions:issue" | "team-members:read" | "team-members:manage" | "team-member-roles:manage" | "partner-access-policy:manage" | "api-tokens:manage" | "partner-users:read" | "partner-users:manage" | "partner-memberships:manage" | "team-settings:read" | "team-settings:write" | "integrations:read" | "integrations:write" | "integrations:execute" | "integrations:import" | "integrations:delete" | "sources:read" | "calendar:read" | "calendar:write" | "calendar:delete" | "files:read" | "files:write" | "files:delete" | "general-ledger:read" | "general-ledger:write" | "general-ledger:import" | "team-onboarding:read" | "team-onboarding:write" | "team-issues:read" | "books:close" | "listings:read" | "listings:write" | "listings:delete" | "listings:export" | "contacts:read" | "contacts:write" | "contacts:delete" | "contacts:export" | "ownerships:read" | "ownerships:write" | "ownerships:delete" | "reservations:read" | "reservations:write" | "reservations:delete" | "reservations:export" | "reservations:post-journals" | "transactions:read" | "transactions:write" | "transactions:delete" | "transactions:export" | "transactions:post-journals" | "transactions:mark-paid" | "accounts:read" | "accounts:write" | "accounts:delete" | "accounts:export" | "accounts:recalculate" | "tax-rates:read" | "tax-rates:write" | "tax-rates:delete" | "reservation-mappings:read" | "reservation-mappings:write" | "statements:read" | "statements:write" | "statements:delete" | "statements:publish" | "statements:record-payout" | "statements:export" | "statement-layouts:read" | "statement-layouts:write" | "statement-layouts:delete" | "recurring-fees:read" | "recurring-fees:write" | "recurring-fees:delete" | "reports:read" | "reports:export" | "metrics:read" | "bank-accounts:read" | "bank-accounts:write" | "bank-connections:manage" | "bank-records:read" | "bank-records:write" | "bank-records:delete" | "bank-records:export" | "bank-rules:read" | "bank-rules:write" | "bank-rules:delete" | "bank-rules:execute" | "ach-payment-methods:write" | "ach-payments:execute" | "webhooks:read" | "webhooks:manage" | "webhooks:replay";
125507
126350
  }[];
125508
126351
  };
125509
126352
  };
@@ -130607,782 +131450,12 @@ export interface operations {
130607
131450
  };
130608
131451
  };
130609
131452
  };
130610
- putTransactionsAttachmentsUploadsByUploadRef: {
130611
- parameters: {
130612
- query?: never;
130613
- header?: never;
130614
- path: {
130615
- uploadRef: string;
130616
- };
130617
- cookie?: never;
130618
- };
130619
- requestBody?: never;
130620
- responses: {
130621
- /** @description Successful response */
130622
- 200: {
130623
- headers: {
130624
- [name: string]: unknown;
130625
- };
130626
- content: {
130627
- "application/json": {
130628
- /** @constant */
130629
- status: "uploaded";
130630
- };
130631
- };
130632
- };
130633
- /** @description Bad request */
130634
- 400: {
130635
- headers: {
130636
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
130637
- "Retry-After"?: number;
130638
- [name: string]: unknown;
130639
- };
130640
- content: {
130641
- "application/json": {
130642
- code: string;
130643
- message: string;
130644
- links?: {
130645
- docs: string;
130646
- schema: string;
130647
- };
130648
- issues?: {
130649
- message: string;
130650
- path?: (string | number)[];
130651
- schema?: string;
130652
- }[];
130653
- retryable?: boolean;
130654
- context?: unknown;
130655
- };
130656
- };
130657
- };
130658
- /** @description Unauthorized */
130659
- 401: {
130660
- headers: {
130661
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
130662
- "Retry-After"?: number;
130663
- [name: string]: unknown;
130664
- };
130665
- content: {
130666
- "application/json": {
130667
- code: string;
130668
- message: string;
130669
- links?: {
130670
- docs: string;
130671
- schema: string;
130672
- };
130673
- issues?: {
130674
- message: string;
130675
- path?: (string | number)[];
130676
- schema?: string;
130677
- }[];
130678
- retryable?: boolean;
130679
- context?: unknown;
130680
- };
130681
- };
130682
- };
130683
- /** @description Forbidden */
130684
- 403: {
130685
- headers: {
130686
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
130687
- "Retry-After"?: number;
130688
- [name: string]: unknown;
130689
- };
130690
- content: {
130691
- "application/json": {
130692
- code: string;
130693
- message: string;
130694
- links?: {
130695
- docs: string;
130696
- schema: string;
130697
- };
130698
- issues?: {
130699
- message: string;
130700
- path?: (string | number)[];
130701
- schema?: string;
130702
- }[];
130703
- retryable?: boolean;
130704
- context?: unknown;
130705
- };
130706
- };
130707
- };
130708
- /** @description Not found */
130709
- 404: {
130710
- headers: {
130711
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
130712
- "Retry-After"?: number;
130713
- [name: string]: unknown;
130714
- };
130715
- content: {
130716
- "application/json": {
130717
- code: string;
130718
- message: string;
130719
- links?: {
130720
- docs: string;
130721
- schema: string;
130722
- };
130723
- issues?: {
130724
- message: string;
130725
- path?: (string | number)[];
130726
- schema?: string;
130727
- }[];
130728
- retryable?: boolean;
130729
- context?: unknown;
130730
- };
130731
- };
130732
- };
130733
- /** @description Conflict */
130734
- 409: {
130735
- headers: {
130736
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
130737
- "Retry-After"?: number;
130738
- [name: string]: unknown;
130739
- };
130740
- content: {
130741
- "application/json": {
130742
- code: string;
130743
- message: string;
130744
- links?: {
130745
- docs: string;
130746
- schema: string;
130747
- };
130748
- issues?: {
130749
- message: string;
130750
- path?: (string | number)[];
130751
- schema?: string;
130752
- }[];
130753
- retryable?: boolean;
130754
- context?: unknown;
130755
- };
130756
- };
130757
- };
130758
- /** @description Gone */
130759
- 410: {
130760
- headers: {
130761
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
130762
- "Retry-After"?: number;
130763
- [name: string]: unknown;
130764
- };
130765
- content: {
130766
- "application/json": {
130767
- code: string;
130768
- message: string;
130769
- links?: {
130770
- docs: string;
130771
- schema: string;
130772
- };
130773
- issues?: {
130774
- message: string;
130775
- path?: (string | number)[];
130776
- schema?: string;
130777
- }[];
130778
- retryable?: boolean;
130779
- context?: unknown;
130780
- };
130781
- };
130782
- };
130783
- /** @description Unprocessable content */
130784
- 422: {
130785
- headers: {
130786
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
130787
- "Retry-After"?: number;
130788
- [name: string]: unknown;
130789
- };
130790
- content: {
130791
- "application/json": {
130792
- code: string;
130793
- message: string;
130794
- links?: {
130795
- docs: string;
130796
- schema: string;
130797
- };
130798
- issues?: {
130799
- message: string;
130800
- path?: (string | number)[];
130801
- schema?: string;
130802
- }[];
130803
- retryable?: boolean;
130804
- context?: unknown;
130805
- };
130806
- };
130807
- };
130808
- /** @description Internal server error */
130809
- 500: {
130810
- headers: {
130811
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
130812
- "Retry-After"?: number;
130813
- [name: string]: unknown;
130814
- };
130815
- content: {
130816
- "application/json": {
130817
- code: string;
130818
- message: string;
130819
- links?: {
130820
- docs: string;
130821
- schema: string;
130822
- };
130823
- issues?: {
130824
- message: string;
130825
- path?: (string | number)[];
130826
- schema?: string;
130827
- }[];
130828
- retryable?: boolean;
130829
- context?: unknown;
130830
- };
130831
- };
130832
- };
130833
- /** @description Service unavailable */
130834
- 503: {
130835
- headers: {
130836
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
130837
- "Retry-After"?: number;
130838
- [name: string]: unknown;
130839
- };
130840
- content: {
130841
- "application/json": {
130842
- code: string;
130843
- message: string;
130844
- links?: {
130845
- docs: string;
130846
- schema: string;
130847
- };
130848
- issues?: {
130849
- message: string;
130850
- path?: (string | number)[];
130851
- schema?: string;
130852
- }[];
130853
- retryable?: boolean;
130854
- context?: unknown;
130855
- };
130856
- };
130857
- };
130858
- };
130859
- };
130860
- putTransactionsAttachmentsById: {
130861
- parameters: {
130862
- query?: never;
130863
- header?: never;
130864
- path: {
130865
- id: string;
130866
- };
130867
- cookie?: never;
130868
- };
130869
- requestBody?: {
130870
- content: {
130871
- "application/json": {
130872
- isOwnerAccessible: boolean;
130873
- };
130874
- };
130875
- };
130876
- responses: {
130877
- /** @description Successful response */
130878
- 200: {
130879
- headers: {
130880
- [name: string]: unknown;
130881
- };
130882
- content: {
130883
- "application/json": {
130884
- /** Format: uuid */
130885
- id: string;
130886
- transactionId: string | null;
130887
- /**
130888
- * Format: date-time
130889
- * @description Timestamp string with date, time, milliseconds, and timezone.
130890
- * @example 2024-01-15T12:30:00.000+00:00
130891
- */
130892
- createdAt: string;
130893
- filename: string;
130894
- extension?: string | null;
130895
- contentType: string;
130896
- byteSize: number;
130897
- isOwnerAccessible: boolean;
130898
- };
130899
- };
130900
- };
130901
- /** @description Bad request */
130902
- 400: {
130903
- headers: {
130904
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
130905
- "Retry-After"?: number;
130906
- [name: string]: unknown;
130907
- };
130908
- content: {
130909
- "application/json": {
130910
- code: string;
130911
- message: string;
130912
- links?: {
130913
- docs: string;
130914
- schema: string;
130915
- };
130916
- issues?: {
130917
- message: string;
130918
- path?: (string | number)[];
130919
- schema?: string;
130920
- }[];
130921
- retryable?: boolean;
130922
- context?: unknown;
130923
- };
130924
- };
130925
- };
130926
- /** @description Unauthorized */
130927
- 401: {
130928
- headers: {
130929
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
130930
- "Retry-After"?: number;
130931
- [name: string]: unknown;
130932
- };
130933
- content: {
130934
- "application/json": {
130935
- code: string;
130936
- message: string;
130937
- links?: {
130938
- docs: string;
130939
- schema: string;
130940
- };
130941
- issues?: {
130942
- message: string;
130943
- path?: (string | number)[];
130944
- schema?: string;
130945
- }[];
130946
- retryable?: boolean;
130947
- context?: unknown;
130948
- };
130949
- };
130950
- };
130951
- /** @description Forbidden */
130952
- 403: {
130953
- headers: {
130954
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
130955
- "Retry-After"?: number;
130956
- [name: string]: unknown;
130957
- };
130958
- content: {
130959
- "application/json": {
130960
- code: string;
130961
- message: string;
130962
- links?: {
130963
- docs: string;
130964
- schema: string;
130965
- };
130966
- issues?: {
130967
- message: string;
130968
- path?: (string | number)[];
130969
- schema?: string;
130970
- }[];
130971
- retryable?: boolean;
130972
- context?: unknown;
130973
- };
130974
- };
130975
- };
130976
- /** @description Not found */
130977
- 404: {
130978
- headers: {
130979
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
130980
- "Retry-After"?: number;
130981
- [name: string]: unknown;
130982
- };
130983
- content: {
130984
- "application/json": {
130985
- code: string;
130986
- message: string;
130987
- links?: {
130988
- docs: string;
130989
- schema: string;
130990
- };
130991
- issues?: {
130992
- message: string;
130993
- path?: (string | number)[];
130994
- schema?: string;
130995
- }[];
130996
- retryable?: boolean;
130997
- context?: unknown;
130998
- };
130999
- };
131000
- };
131001
- /** @description Conflict */
131002
- 409: {
131003
- headers: {
131004
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
131005
- "Retry-After"?: number;
131006
- [name: string]: unknown;
131007
- };
131008
- content: {
131009
- "application/json": {
131010
- code: string;
131011
- message: string;
131012
- links?: {
131013
- docs: string;
131014
- schema: string;
131015
- };
131016
- issues?: {
131017
- message: string;
131018
- path?: (string | number)[];
131019
- schema?: string;
131020
- }[];
131021
- retryable?: boolean;
131022
- context?: unknown;
131023
- };
131024
- };
131025
- };
131026
- /** @description Gone */
131027
- 410: {
131028
- headers: {
131029
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
131030
- "Retry-After"?: number;
131031
- [name: string]: unknown;
131032
- };
131033
- content: {
131034
- "application/json": {
131035
- code: string;
131036
- message: string;
131037
- links?: {
131038
- docs: string;
131039
- schema: string;
131040
- };
131041
- issues?: {
131042
- message: string;
131043
- path?: (string | number)[];
131044
- schema?: string;
131045
- }[];
131046
- retryable?: boolean;
131047
- context?: unknown;
131048
- };
131049
- };
131050
- };
131051
- /** @description Unprocessable content */
131052
- 422: {
131053
- headers: {
131054
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
131055
- "Retry-After"?: number;
131056
- [name: string]: unknown;
131057
- };
131058
- content: {
131059
- "application/json": {
131060
- code: string;
131061
- message: string;
131062
- links?: {
131063
- docs: string;
131064
- schema: string;
131065
- };
131066
- issues?: {
131067
- message: string;
131068
- path?: (string | number)[];
131069
- schema?: string;
131070
- }[];
131071
- retryable?: boolean;
131072
- context?: unknown;
131073
- };
131074
- };
131075
- };
131076
- /** @description Internal server error */
131077
- 500: {
131078
- headers: {
131079
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
131080
- "Retry-After"?: number;
131081
- [name: string]: unknown;
131082
- };
131083
- content: {
131084
- "application/json": {
131085
- code: string;
131086
- message: string;
131087
- links?: {
131088
- docs: string;
131089
- schema: string;
131090
- };
131091
- issues?: {
131092
- message: string;
131093
- path?: (string | number)[];
131094
- schema?: string;
131095
- }[];
131096
- retryable?: boolean;
131097
- context?: unknown;
131098
- };
131099
- };
131100
- };
131101
- /** @description Service unavailable */
131102
- 503: {
131103
- headers: {
131104
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
131105
- "Retry-After"?: number;
131106
- [name: string]: unknown;
131107
- };
131108
- content: {
131109
- "application/json": {
131110
- code: string;
131111
- message: string;
131112
- links?: {
131113
- docs: string;
131114
- schema: string;
131115
- };
131116
- issues?: {
131117
- message: string;
131118
- path?: (string | number)[];
131119
- schema?: string;
131120
- }[];
131121
- retryable?: boolean;
131122
- context?: unknown;
131123
- };
131124
- };
131125
- };
131126
- };
131127
- };
131128
- deleteTransactionsAttachmentsById: {
131129
- parameters: {
131130
- query?: never;
131131
- header?: never;
131132
- path: {
131133
- id: string;
131134
- };
131135
- cookie?: never;
131136
- };
131137
- requestBody?: never;
131138
- responses: {
131139
- /** @description Successful response */
131140
- 200: {
131141
- headers: {
131142
- [name: string]: unknown;
131143
- };
131144
- content: {
131145
- "application/json": {
131146
- /** @enum {string} */
131147
- status: "deleted";
131148
- /** Format: uuid */
131149
- id: string;
131150
- };
131151
- };
131152
- };
131153
- /** @description Bad request */
131154
- 400: {
131155
- headers: {
131156
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
131157
- "Retry-After"?: number;
131158
- [name: string]: unknown;
131159
- };
131160
- content: {
131161
- "application/json": {
131162
- code: string;
131163
- message: string;
131164
- links?: {
131165
- docs: string;
131166
- schema: string;
131167
- };
131168
- issues?: {
131169
- message: string;
131170
- path?: (string | number)[];
131171
- schema?: string;
131172
- }[];
131173
- retryable?: boolean;
131174
- context?: unknown;
131175
- };
131176
- };
131177
- };
131178
- /** @description Unauthorized */
131179
- 401: {
131180
- headers: {
131181
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
131182
- "Retry-After"?: number;
131183
- [name: string]: unknown;
131184
- };
131185
- content: {
131186
- "application/json": {
131187
- code: string;
131188
- message: string;
131189
- links?: {
131190
- docs: string;
131191
- schema: string;
131192
- };
131193
- issues?: {
131194
- message: string;
131195
- path?: (string | number)[];
131196
- schema?: string;
131197
- }[];
131198
- retryable?: boolean;
131199
- context?: unknown;
131200
- };
131201
- };
131202
- };
131203
- /** @description Forbidden */
131204
- 403: {
131205
- headers: {
131206
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
131207
- "Retry-After"?: number;
131208
- [name: string]: unknown;
131209
- };
131210
- content: {
131211
- "application/json": {
131212
- code: string;
131213
- message: string;
131214
- links?: {
131215
- docs: string;
131216
- schema: string;
131217
- };
131218
- issues?: {
131219
- message: string;
131220
- path?: (string | number)[];
131221
- schema?: string;
131222
- }[];
131223
- retryable?: boolean;
131224
- context?: unknown;
131225
- };
131226
- };
131227
- };
131228
- /** @description Not found */
131229
- 404: {
131230
- headers: {
131231
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
131232
- "Retry-After"?: number;
131233
- [name: string]: unknown;
131234
- };
131235
- content: {
131236
- "application/json": {
131237
- code: string;
131238
- message: string;
131239
- links?: {
131240
- docs: string;
131241
- schema: string;
131242
- };
131243
- issues?: {
131244
- message: string;
131245
- path?: (string | number)[];
131246
- schema?: string;
131247
- }[];
131248
- retryable?: boolean;
131249
- context?: unknown;
131250
- };
131251
- };
131252
- };
131253
- /** @description Conflict */
131254
- 409: {
131255
- headers: {
131256
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
131257
- "Retry-After"?: number;
131258
- [name: string]: unknown;
131259
- };
131260
- content: {
131261
- "application/json": {
131262
- code: string;
131263
- message: string;
131264
- links?: {
131265
- docs: string;
131266
- schema: string;
131267
- };
131268
- issues?: {
131269
- message: string;
131270
- path?: (string | number)[];
131271
- schema?: string;
131272
- }[];
131273
- retryable?: boolean;
131274
- context?: unknown;
131275
- };
131276
- };
131277
- };
131278
- /** @description Gone */
131279
- 410: {
131280
- headers: {
131281
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
131282
- "Retry-After"?: number;
131283
- [name: string]: unknown;
131284
- };
131285
- content: {
131286
- "application/json": {
131287
- code: string;
131288
- message: string;
131289
- links?: {
131290
- docs: string;
131291
- schema: string;
131292
- };
131293
- issues?: {
131294
- message: string;
131295
- path?: (string | number)[];
131296
- schema?: string;
131297
- }[];
131298
- retryable?: boolean;
131299
- context?: unknown;
131300
- };
131301
- };
131302
- };
131303
- /** @description Unprocessable content */
131304
- 422: {
131305
- headers: {
131306
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
131307
- "Retry-After"?: number;
131308
- [name: string]: unknown;
131309
- };
131310
- content: {
131311
- "application/json": {
131312
- code: string;
131313
- message: string;
131314
- links?: {
131315
- docs: string;
131316
- schema: string;
131317
- };
131318
- issues?: {
131319
- message: string;
131320
- path?: (string | number)[];
131321
- schema?: string;
131322
- }[];
131323
- retryable?: boolean;
131324
- context?: unknown;
131325
- };
131326
- };
131327
- };
131328
- /** @description Internal server error */
131329
- 500: {
131330
- headers: {
131331
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
131332
- "Retry-After"?: number;
131333
- [name: string]: unknown;
131334
- };
131335
- content: {
131336
- "application/json": {
131337
- code: string;
131338
- message: string;
131339
- links?: {
131340
- docs: string;
131341
- schema: string;
131342
- };
131343
- issues?: {
131344
- message: string;
131345
- path?: (string | number)[];
131346
- schema?: string;
131347
- }[];
131348
- retryable?: boolean;
131349
- context?: unknown;
131350
- };
131351
- };
131352
- };
131353
- /** @description Service unavailable */
131354
- 503: {
131355
- headers: {
131356
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
131357
- "Retry-After"?: number;
131358
- [name: string]: unknown;
131359
- };
131360
- content: {
131361
- "application/json": {
131362
- code: string;
131363
- message: string;
131364
- links?: {
131365
- docs: string;
131366
- schema: string;
131367
- };
131368
- issues?: {
131369
- message: string;
131370
- path?: (string | number)[];
131371
- schema?: string;
131372
- }[];
131373
- retryable?: boolean;
131374
- context?: unknown;
131375
- };
131376
- };
131377
- };
131378
- };
131379
- };
131380
- getTransactionsAttachmentsByIdDownload: {
131453
+ putTransactionsAttachmentsUploadsByUploadRef: {
131381
131454
  parameters: {
131382
131455
  query?: never;
131383
131456
  header?: never;
131384
131457
  path: {
131385
- id: string;
131458
+ uploadRef: string;
131386
131459
  };
131387
131460
  cookie?: never;
131388
131461
  };
@@ -131395,8 +131468,8 @@ export interface operations {
131395
131468
  };
131396
131469
  content: {
131397
131470
  "application/json": {
131398
- /** Format: uuid */
131399
- id: string;
131471
+ /** @constant */
131472
+ status: "uploaded";
131400
131473
  };
131401
131474
  };
131402
131475
  };
@@ -131627,122 +131700,19 @@ export interface operations {
131627
131700
  };
131628
131701
  };
131629
131702
  };
131630
- postTransactionsBatch: {
131703
+ putTransactionsAttachmentsById: {
131631
131704
  parameters: {
131632
- query?: {
131633
- /** @description Validate this request through the real write path, then roll back all changes. See https://docs.vrplatform.app/api/dry-run-mode. */
131634
- dryRun?: boolean;
131635
- };
131705
+ query?: never;
131636
131706
  header?: never;
131637
- path?: never;
131707
+ path: {
131708
+ id: string;
131709
+ };
131638
131710
  cookie?: never;
131639
131711
  };
131640
131712
  requestBody?: {
131641
131713
  content: {
131642
131714
  "application/json": {
131643
- /** Format: uuid */
131644
- connectionId: string;
131645
- createOnly?: boolean;
131646
- data: {
131647
- description?: string;
131648
- status?: ("active" | "inactive") | null;
131649
- /** @description Root bank account; the source account for transfers */
131650
- accountId?: string | null;
131651
- /** @description Transaction contact; required for non-opening-balance expenses */
131652
- contactId?: string | null;
131653
- uniqueRef?: string | null;
131654
- isOpeningBalance?: boolean;
131655
- /**
131656
- * @description Public transaction type. Transfers are internal bank-to-bank movements; payouts represent owner or manager distributions.
131657
- * @enum {string}
131658
- */
131659
- type: "deposit" | "expense" | "transfer" | "payout";
131660
- date: string;
131661
- currency?: string | null;
131662
- lines: {
131663
- recurringTemplateId?: string | null;
131664
- uniqueRef?: string | null;
131665
- description: string;
131666
- /** @description Explicit posting account for this transaction line */
131667
- accountId?: string | null;
131668
- /** @description System account purpose used to resolve or validate the posting account */
131669
- assignment?: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "deposit_reserve" | "deposit_vat" | "dueToFromTrust" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "openingBalance" | "payout_bankAccount" | "payout_distribution") | null;
131670
- /** @description Value in cents (100 = 1€) */
131671
- amount: number;
131672
- appliedAmount?: {
131673
- taxRateId?: string | null;
131674
- } | null;
131675
- markup?: {
131676
- amount?: number | null;
131677
- taxRateId?: string | null;
131678
- taxBehavior?: ("excluded" | "included") | null;
131679
- } | null;
131680
- /** @description Listing attribution and owner-statement context for this line */
131681
- listingId?: string | null;
131682
- /** @description Reservation attribution; its listing becomes authoritative when resolved */
131683
- reservationId?: string | null;
131684
- /** @description Persisted owner statement linked to a payout line */
131685
- ownerStatementId?: string | null;
131686
- /** @description Optional accounting party. Defaults and allowed values depend on transaction type, listing or reservation context, account assignment, and account category. */
131687
- party?: ("owners" | "manager") | null;
131688
- contactId?: string | null;
131689
- matchReservationConfirmationCode?: string | null;
131690
- matchReservationStripeGuestRef?: string | null;
131691
- matchReservationProcessorBookingRef?: string | null;
131692
- matchLineTypeClassification?: string | null;
131693
- }[];
131694
- /** @description Expense attachment IDs returned as attachmentId by POST /transactions/attachments after PUT to uploadUrl succeeds. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
131695
- attachmentIds?: string[] | null;
131696
- /** @description Expense payment and reconciliation state */
131697
- payment?: {
131698
- /** @description Bank records reconciled to this transaction payment */
131699
- bankRecordIds?: string[];
131700
- /**
131701
- * @description Expense payment status
131702
- * @enum {string}
131703
- */
131704
- status?: "unpaid" | "underpaid" | "overpaid" | "paid";
131705
- /** @description Payment posting date; paid expenses default to the transaction date */
131706
- date?: string | null;
131707
- lock?: {
131708
- /**
131709
- * @description Aggregate lock state; inspect nested reasons and resource-specific field rules
131710
- * @enum {string}
131711
- */
131712
- status: "locked" | "unlocked";
131713
- /** @description Present when books closing blocks the mutation */
131714
- booksClosed?: {
131715
- /** @description First open accounting date */
131716
- date: string;
131717
- } | null;
131718
- /** @description Present when journal entries are attached to owner statements */
131719
- ownerStatement?: {
131720
- /** @description Owner statements that lock the represented data */
131721
- ids: string[];
131722
- } | null;
131723
- /** @description Present when bank records are linked; transaction fields that do not affect the match may remain editable */
131724
- reconciled?: {
131725
- /** @description Bank records linked through reconciliation */
131726
- bankRecordIds: string[];
131727
- } | null;
131728
- /** @description Listing statement-period conflicts for the represented data */
131729
- statementPeriod?: {
131730
- hits: {
131731
- /** Format: uuid */
131732
- listingId: string;
131733
- /** @description Posting date blocked by the statement period */
131734
- txnAt: string;
131735
- /** @description First open date for this listing period */
131736
- openFrom: string;
131737
- }[];
131738
- } | null;
131739
- } | null;
131740
- } | null;
131741
- sourceId?: string | null;
131742
- recurringTemplateId?: string | null;
131743
- matchBankAccountLast4?: string | null;
131744
- id?: string;
131745
- }[];
131715
+ isOwnerAccessible: boolean;
131746
131716
  };
131747
131717
  };
131748
131718
  };
@@ -131754,20 +131724,272 @@ export interface operations {
131754
131724
  };
131755
131725
  content: {
131756
131726
  "application/json": {
131757
- data: {
131758
- /** Format: uuid */
131759
- id: string;
131760
- uniqueRef?: string | null;
131761
- sourceId?: string | null;
131727
+ /** Format: uuid */
131728
+ id: string;
131729
+ transactionId: string | null;
131730
+ /**
131731
+ * Format: date-time
131732
+ * @description Timestamp string with date, time, milliseconds, and timezone.
131733
+ * @example 2024-01-15T12:30:00.000+00:00
131734
+ */
131735
+ createdAt: string;
131736
+ filename: string;
131737
+ extension?: string | null;
131738
+ contentType: string;
131739
+ byteSize: number;
131740
+ isOwnerAccessible: boolean;
131741
+ };
131742
+ };
131743
+ };
131744
+ /** @description Bad request */
131745
+ 400: {
131746
+ headers: {
131747
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
131748
+ "Retry-After"?: number;
131749
+ [name: string]: unknown;
131750
+ };
131751
+ content: {
131752
+ "application/json": {
131753
+ code: string;
131754
+ message: string;
131755
+ links?: {
131756
+ docs: string;
131757
+ schema: string;
131758
+ };
131759
+ issues?: {
131760
+ message: string;
131761
+ path?: (string | number)[];
131762
+ schema?: string;
131762
131763
  }[];
131763
- issues: {
131764
- ref: string;
131765
- sourceId?: string | null;
131764
+ retryable?: boolean;
131765
+ context?: unknown;
131766
+ };
131767
+ };
131768
+ };
131769
+ /** @description Unauthorized */
131770
+ 401: {
131771
+ headers: {
131772
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
131773
+ "Retry-After"?: number;
131774
+ [name: string]: unknown;
131775
+ };
131776
+ content: {
131777
+ "application/json": {
131778
+ code: string;
131779
+ message: string;
131780
+ links?: {
131781
+ docs: string;
131782
+ schema: string;
131783
+ };
131784
+ issues?: {
131766
131785
  message: string;
131767
- /** @enum {string} */
131768
- code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "CONFLICT" | "AUDIT_EVENT_REVISED" | "RATE_LIMITED" | "SERVICE_UNAVAILABLE" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR" | "CONNECTION_RECONNECT_REQUIRED" | "INVALID_PLAID_CONNECT_MODE" | "PLAID_CONNECTION_NOT_FOUND" | "PLAID_CONNECT_IN_PROGRESS" | "PLAID_CONNECT_CONFIGURATION_CHANGED" | "PLAID_CONNECT_EXPIRED" | "PLAID_CONNECT_REQUIRES_NEW_LINK" | "PLAID_PROVIDER_UNAVAILABLE";
131769
- context?: unknown;
131786
+ path?: (string | number)[];
131787
+ schema?: string;
131788
+ }[];
131789
+ retryable?: boolean;
131790
+ context?: unknown;
131791
+ };
131792
+ };
131793
+ };
131794
+ /** @description Forbidden */
131795
+ 403: {
131796
+ headers: {
131797
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
131798
+ "Retry-After"?: number;
131799
+ [name: string]: unknown;
131800
+ };
131801
+ content: {
131802
+ "application/json": {
131803
+ code: string;
131804
+ message: string;
131805
+ links?: {
131806
+ docs: string;
131807
+ schema: string;
131808
+ };
131809
+ issues?: {
131810
+ message: string;
131811
+ path?: (string | number)[];
131812
+ schema?: string;
131813
+ }[];
131814
+ retryable?: boolean;
131815
+ context?: unknown;
131816
+ };
131817
+ };
131818
+ };
131819
+ /** @description Not found */
131820
+ 404: {
131821
+ headers: {
131822
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
131823
+ "Retry-After"?: number;
131824
+ [name: string]: unknown;
131825
+ };
131826
+ content: {
131827
+ "application/json": {
131828
+ code: string;
131829
+ message: string;
131830
+ links?: {
131831
+ docs: string;
131832
+ schema: string;
131833
+ };
131834
+ issues?: {
131835
+ message: string;
131836
+ path?: (string | number)[];
131837
+ schema?: string;
131770
131838
  }[];
131839
+ retryable?: boolean;
131840
+ context?: unknown;
131841
+ };
131842
+ };
131843
+ };
131844
+ /** @description Conflict */
131845
+ 409: {
131846
+ headers: {
131847
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
131848
+ "Retry-After"?: number;
131849
+ [name: string]: unknown;
131850
+ };
131851
+ content: {
131852
+ "application/json": {
131853
+ code: string;
131854
+ message: string;
131855
+ links?: {
131856
+ docs: string;
131857
+ schema: string;
131858
+ };
131859
+ issues?: {
131860
+ message: string;
131861
+ path?: (string | number)[];
131862
+ schema?: string;
131863
+ }[];
131864
+ retryable?: boolean;
131865
+ context?: unknown;
131866
+ };
131867
+ };
131868
+ };
131869
+ /** @description Gone */
131870
+ 410: {
131871
+ headers: {
131872
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
131873
+ "Retry-After"?: number;
131874
+ [name: string]: unknown;
131875
+ };
131876
+ content: {
131877
+ "application/json": {
131878
+ code: string;
131879
+ message: string;
131880
+ links?: {
131881
+ docs: string;
131882
+ schema: string;
131883
+ };
131884
+ issues?: {
131885
+ message: string;
131886
+ path?: (string | number)[];
131887
+ schema?: string;
131888
+ }[];
131889
+ retryable?: boolean;
131890
+ context?: unknown;
131891
+ };
131892
+ };
131893
+ };
131894
+ /** @description Unprocessable content */
131895
+ 422: {
131896
+ headers: {
131897
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
131898
+ "Retry-After"?: number;
131899
+ [name: string]: unknown;
131900
+ };
131901
+ content: {
131902
+ "application/json": {
131903
+ code: string;
131904
+ message: string;
131905
+ links?: {
131906
+ docs: string;
131907
+ schema: string;
131908
+ };
131909
+ issues?: {
131910
+ message: string;
131911
+ path?: (string | number)[];
131912
+ schema?: string;
131913
+ }[];
131914
+ retryable?: boolean;
131915
+ context?: unknown;
131916
+ };
131917
+ };
131918
+ };
131919
+ /** @description Internal server error */
131920
+ 500: {
131921
+ headers: {
131922
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
131923
+ "Retry-After"?: number;
131924
+ [name: string]: unknown;
131925
+ };
131926
+ content: {
131927
+ "application/json": {
131928
+ code: string;
131929
+ message: string;
131930
+ links?: {
131931
+ docs: string;
131932
+ schema: string;
131933
+ };
131934
+ issues?: {
131935
+ message: string;
131936
+ path?: (string | number)[];
131937
+ schema?: string;
131938
+ }[];
131939
+ retryable?: boolean;
131940
+ context?: unknown;
131941
+ };
131942
+ };
131943
+ };
131944
+ /** @description Service unavailable */
131945
+ 503: {
131946
+ headers: {
131947
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
131948
+ "Retry-After"?: number;
131949
+ [name: string]: unknown;
131950
+ };
131951
+ content: {
131952
+ "application/json": {
131953
+ code: string;
131954
+ message: string;
131955
+ links?: {
131956
+ docs: string;
131957
+ schema: string;
131958
+ };
131959
+ issues?: {
131960
+ message: string;
131961
+ path?: (string | number)[];
131962
+ schema?: string;
131963
+ }[];
131964
+ retryable?: boolean;
131965
+ context?: unknown;
131966
+ };
131967
+ };
131968
+ };
131969
+ };
131970
+ };
131971
+ deleteTransactionsAttachmentsById: {
131972
+ parameters: {
131973
+ query?: never;
131974
+ header?: never;
131975
+ path: {
131976
+ id: string;
131977
+ };
131978
+ cookie?: never;
131979
+ };
131980
+ requestBody?: never;
131981
+ responses: {
131982
+ /** @description Successful response */
131983
+ 200: {
131984
+ headers: {
131985
+ [name: string]: unknown;
131986
+ };
131987
+ content: {
131988
+ "application/json": {
131989
+ /** @enum {string} */
131990
+ status: "deleted";
131991
+ /** Format: uuid */
131992
+ id: string;
131771
131993
  };
131772
131994
  };
131773
131995
  };
@@ -131998,17 +132220,13 @@ export interface operations {
131998
132220
  };
131999
132221
  };
132000
132222
  };
132001
- getTransactionsByLast4: {
132223
+ getTransactionsAttachmentsByIdDownload: {
132002
132224
  parameters: {
132003
- query?: {
132004
- /** @description Filter by status. Defaults to both. */
132005
- status?: "active" | "inactive";
132006
- limit?: number;
132007
- page?: number;
132008
- offset?: number;
132009
- };
132225
+ query?: never;
132010
132226
  header?: never;
132011
- path?: never;
132227
+ path: {
132228
+ id: string;
132229
+ };
132012
132230
  cookie?: never;
132013
132231
  };
132014
132232
  requestBody?: never;
@@ -132020,19 +132238,8 @@ export interface operations {
132020
132238
  };
132021
132239
  content: {
132022
132240
  "application/json": {
132023
- data: {
132024
- last4: string;
132025
- totalTransactions: number;
132026
- }[];
132027
- pagination: {
132028
- /** @default 100 */
132029
- limit: number;
132030
- /** @default 1 */
132031
- page: number;
132032
- total: number;
132033
- totalPage: number;
132034
- nextPage?: number;
132035
- };
132241
+ /** Format: uuid */
132242
+ id: string;
132036
132243
  };
132037
132244
  };
132038
132245
  };
@@ -132263,52 +132470,125 @@ export interface operations {
132263
132470
  };
132264
132471
  };
132265
132472
  };
132266
- getTransactionsCsv: {
132473
+ postTransactionsBatch: {
132267
132474
  parameters: {
132268
132475
  query?: {
132269
- /** @description Public transaction type. Transfers are internal bank-to-bank movements; payouts represent owner or manager distributions. */
132270
- type?: "deposit" | "expense" | "transfer" | "payout";
132271
- isOpeningBalance?: boolean;
132272
- status?: "active" | "inactive";
132273
- includeLines?: boolean;
132274
- accountId?: string;
132275
- last4?: string;
132276
- isLocked?: boolean;
132277
- hasActiveJournalEntries?: boolean;
132278
- /** @description connection id or 'null' for manual transactions */
132279
- connectionId?: string;
132280
- /** @description Amount in cents with signed 32-bit magnitude; also accepts ranges like 100...200 */
132281
- amount?: string;
132282
- /** @description Date range string. Accepted syntax: `YYYY`, `YYYY-MM`, `YYYY-MM-DD`, or range `YYYY-MM-DD...YYYY-MM-DD` (legacy comma separator also accepted). Single values expand to the full year, month, or day. */
132283
- paidAtRange?: string;
132284
- /** @description Filter transactions by linked bank record date. */
132285
- matchedBankRecordDateRange?: string;
132286
- /** @description Controls how dateRange and paidAtRange are applied. all applies both filters together, and or matches transaction date OR paid date. */
132287
- dateRangeCondition?: "all" | "or";
132288
- /** @description Date range string. Accepted syntax: `YYYY`, `YYYY-MM`, `YYYY-MM-DD`, or range `YYYY-MM-DD...YYYY-MM-DD` (legacy comma separator also accepted). Single values expand to the full year, month, or day. */
132289
- dateRange?: string;
132290
- /** @description Whether the end date in `dateRange` or `paidAtRange` is treated as inclusive (`true`) or exclusive (`false`). */
132291
- isDateRangeEndInclusive?: boolean;
132292
- /** @description Comma-separated transaction unique refs. */
132293
- uniqueRefs?: string;
132294
- shortRefs?: string;
132295
- ids?: string;
132296
- search?: string;
132297
- recurringTemplateId?: string;
132298
- paidStatus?: "unpaid" | "underpaid" | "overpaid" | "paid";
132299
- matchedByBankRule?: boolean;
132300
- /** @description Filter transactions by reconciled state. True only returns reconciled transactions. Candidate returns unreconciled match candidates for accountId. */
132301
- reconciled?: boolean | "candidate";
132302
- contactId?: string;
132303
- listingIds?: string;
132304
- /** @description Controls listingIds filter expansion. withChildren includes direct child listings when a parent listing is selected; exact only matches the selected listing ids. */
132305
- listingScope?: "exact" | "withChildren";
132476
+ /** @description Validate this request through the real write path, then roll back all changes. See https://docs.vrplatform.app/api/dry-run-mode. */
132477
+ dryRun?: boolean;
132306
132478
  };
132307
132479
  header?: never;
132308
132480
  path?: never;
132309
132481
  cookie?: never;
132310
132482
  };
132311
- requestBody?: never;
132483
+ requestBody?: {
132484
+ content: {
132485
+ "application/json": {
132486
+ /** Format: uuid */
132487
+ connectionId: string;
132488
+ createOnly?: boolean;
132489
+ data: {
132490
+ description?: string;
132491
+ status?: ("active" | "inactive") | null;
132492
+ /** @description Root bank account; the source account for transfers */
132493
+ accountId?: string | null;
132494
+ /** @description Transaction contact; required for non-opening-balance expenses */
132495
+ contactId?: string | null;
132496
+ uniqueRef?: string | null;
132497
+ isOpeningBalance?: boolean;
132498
+ /**
132499
+ * @description Public transaction type. Transfers are internal bank-to-bank movements; payouts represent owner or manager distributions.
132500
+ * @enum {string}
132501
+ */
132502
+ type: "deposit" | "expense" | "transfer" | "payout";
132503
+ date: string;
132504
+ currency?: string | null;
132505
+ lines: {
132506
+ recurringTemplateId?: string | null;
132507
+ uniqueRef?: string | null;
132508
+ description: string;
132509
+ /** @description Explicit posting account for this transaction line */
132510
+ accountId?: string | null;
132511
+ /** @description System account purpose used to resolve or validate the posting account */
132512
+ assignment?: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "deposit_reserve" | "deposit_vat" | "dueToFromTrust" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "openingBalance" | "payout_bankAccount" | "payout_distribution") | null;
132513
+ /** @description Value in cents (100 = 1€) */
132514
+ amount: number;
132515
+ appliedAmount?: {
132516
+ taxRateId?: string | null;
132517
+ } | null;
132518
+ markup?: {
132519
+ amount?: number | null;
132520
+ taxRateId?: string | null;
132521
+ taxBehavior?: ("excluded" | "included") | null;
132522
+ } | null;
132523
+ /** @description Listing attribution and owner-statement context for this line */
132524
+ listingId?: string | null;
132525
+ /** @description Reservation attribution; its listing becomes authoritative when resolved */
132526
+ reservationId?: string | null;
132527
+ /** @description Persisted owner statement linked to a payout line */
132528
+ ownerStatementId?: string | null;
132529
+ /** @description Optional accounting party. Defaults and allowed values depend on transaction type, listing or reservation context, account assignment, and account category. */
132530
+ party?: ("owners" | "manager") | null;
132531
+ contactId?: string | null;
132532
+ matchReservationConfirmationCode?: string | null;
132533
+ matchReservationStripeGuestRef?: string | null;
132534
+ matchReservationProcessorBookingRef?: string | null;
132535
+ matchLineTypeClassification?: string | null;
132536
+ }[];
132537
+ /** @description Expense attachment IDs returned as attachmentId by POST /transactions/attachments after PUT to uploadUrl succeeds. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
132538
+ attachmentIds?: string[] | null;
132539
+ /** @description Expense payment and reconciliation state */
132540
+ payment?: {
132541
+ /** @description Bank records reconciled to this transaction payment */
132542
+ bankRecordIds?: string[];
132543
+ /**
132544
+ * @description Expense payment status
132545
+ * @enum {string}
132546
+ */
132547
+ status?: "unpaid" | "underpaid" | "overpaid" | "paid";
132548
+ /** @description Payment posting date; paid expenses default to the transaction date */
132549
+ date?: string | null;
132550
+ lock?: {
132551
+ /**
132552
+ * @description Aggregate lock state; inspect nested reasons and resource-specific field rules
132553
+ * @enum {string}
132554
+ */
132555
+ status: "locked" | "unlocked";
132556
+ /** @description Present when books closing blocks the mutation */
132557
+ booksClosed?: {
132558
+ /** @description First open accounting date */
132559
+ date: string;
132560
+ } | null;
132561
+ /** @description Present when journal entries are attached to owner statements */
132562
+ ownerStatement?: {
132563
+ /** @description Owner statements that lock the represented data */
132564
+ ids: string[];
132565
+ } | null;
132566
+ /** @description Present when bank records are linked; transaction fields that do not affect the match may remain editable */
132567
+ reconciled?: {
132568
+ /** @description Bank records linked through reconciliation */
132569
+ bankRecordIds: string[];
132570
+ } | null;
132571
+ /** @description Listing statement-period conflicts for the represented data */
132572
+ statementPeriod?: {
132573
+ hits: {
132574
+ /** Format: uuid */
132575
+ listingId: string;
132576
+ /** @description Posting date blocked by the statement period */
132577
+ txnAt: string;
132578
+ /** @description First open date for this listing period */
132579
+ openFrom: string;
132580
+ }[];
132581
+ } | null;
132582
+ } | null;
132583
+ } | null;
132584
+ sourceId?: string | null;
132585
+ recurringTemplateId?: string | null;
132586
+ matchBankAccountLast4?: string | null;
132587
+ id?: string;
132588
+ }[];
132589
+ };
132590
+ };
132591
+ };
132312
132592
  responses: {
132313
132593
  /** @description Successful response */
132314
132594
  200: {
@@ -132317,7 +132597,20 @@ export interface operations {
132317
132597
  };
132318
132598
  content: {
132319
132599
  "application/json": {
132320
- url: string;
132600
+ data: {
132601
+ /** Format: uuid */
132602
+ id: string;
132603
+ uniqueRef?: string | null;
132604
+ sourceId?: string | null;
132605
+ }[];
132606
+ issues: {
132607
+ ref: string;
132608
+ sourceId?: string | null;
132609
+ message: string;
132610
+ /** @enum {string} */
132611
+ code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "CONFLICT" | "AUDIT_EVENT_REVISED" | "RATE_LIMITED" | "SERVICE_UNAVAILABLE" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR" | "CONNECTION_RECONNECT_REQUIRED" | "INVALID_PLAID_CONNECT_MODE" | "PLAID_CONNECTION_NOT_FOUND" | "PLAID_CONNECT_IN_PROGRESS" | "PLAID_CONNECT_CONFIGURATION_CHANGED" | "PLAID_CONNECT_EXPIRED" | "PLAID_CONNECT_REQUIRES_NEW_LINK" | "PLAID_PROVIDER_UNAVAILABLE";
132612
+ context?: unknown;
132613
+ }[];
132321
132614
  };
132322
132615
  };
132323
132616
  };
@@ -132548,22 +132841,20 @@ export interface operations {
132548
132841
  };
132549
132842
  };
132550
132843
  };
132551
- postTransactionsJournalEntries: {
132844
+ getTransactionsByLast4: {
132552
132845
  parameters: {
132553
- query?: never;
132846
+ query?: {
132847
+ /** @description Filter by status. Defaults to both. */
132848
+ status?: "active" | "inactive";
132849
+ limit?: number;
132850
+ page?: number;
132851
+ offset?: number;
132852
+ };
132554
132853
  header?: never;
132555
132854
  path?: never;
132556
132855
  cookie?: never;
132557
132856
  };
132558
- requestBody?: {
132559
- content: {
132560
- "application/json": {
132561
- ids?: string[];
132562
- listingIds?: string[];
132563
- date?: string;
132564
- };
132565
- };
132566
- };
132857
+ requestBody?: never;
132567
132858
  responses: {
132568
132859
  /** @description Successful response */
132569
132860
  200: {
@@ -132572,7 +132863,19 @@ export interface operations {
132572
132863
  };
132573
132864
  content: {
132574
132865
  "application/json": {
132575
- total: number;
132866
+ data: {
132867
+ last4: string;
132868
+ totalTransactions: number;
132869
+ }[];
132870
+ pagination: {
132871
+ /** @default 100 */
132872
+ limit: number;
132873
+ /** @default 1 */
132874
+ page: number;
132875
+ total: number;
132876
+ totalPage: number;
132877
+ nextPage?: number;
132878
+ };
132576
132879
  };
132577
132880
  };
132578
132881
  };
@@ -132803,16 +133106,46 @@ export interface operations {
132803
133106
  };
132804
133107
  };
132805
133108
  };
132806
- getTransactionsLineMappings: {
133109
+ getTransactionsCsv: {
132807
133110
  parameters: {
132808
133111
  query?: {
133112
+ /** @description Public transaction type. Transfers are internal bank-to-bank movements; payouts represent owner or manager distributions. */
133113
+ type?: "deposit" | "expense" | "transfer" | "payout";
133114
+ isOpeningBalance?: boolean;
133115
+ status?: "active" | "inactive";
133116
+ includeLines?: boolean;
133117
+ accountId?: string;
133118
+ last4?: string;
133119
+ isLocked?: boolean;
133120
+ hasActiveJournalEntries?: boolean;
133121
+ /** @description connection id or 'null' for manual transactions */
133122
+ connectionId?: string;
133123
+ /** @description Amount in cents with signed 32-bit magnitude; also accepts ranges like 100...200 */
133124
+ amount?: string;
133125
+ /** @description Date range string. Accepted syntax: `YYYY`, `YYYY-MM`, `YYYY-MM-DD`, or range `YYYY-MM-DD...YYYY-MM-DD` (legacy comma separator also accepted). Single values expand to the full year, month, or day. */
133126
+ paidAtRange?: string;
133127
+ /** @description Filter transactions by linked bank record date. */
133128
+ matchedBankRecordDateRange?: string;
133129
+ /** @description Controls how dateRange and paidAtRange are applied. all applies both filters together, and or matches transaction date OR paid date. */
133130
+ dateRangeCondition?: "all" | "or";
133131
+ /** @description Date range string. Accepted syntax: `YYYY`, `YYYY-MM`, `YYYY-MM-DD`, or range `YYYY-MM-DD...YYYY-MM-DD` (legacy comma separator also accepted). Single values expand to the full year, month, or day. */
133132
+ dateRange?: string;
133133
+ /** @description Whether the end date in `dateRange` or `paidAtRange` is treated as inclusive (`true`) or exclusive (`false`). */
133134
+ isDateRangeEndInclusive?: boolean;
133135
+ /** @description Comma-separated transaction unique refs. */
133136
+ uniqueRefs?: string;
133137
+ shortRefs?: string;
133138
+ ids?: string;
132809
133139
  search?: string;
132810
- appId?: string;
132811
- status?: "mapped" | "unmapped";
132812
- accountAssignmentType?: "accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "deposit_reserve" | "deposit_vat" | "dueToFromTrust" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "openingBalance" | "payout_bankAccount" | "payout_distribution";
132813
- limit?: number;
132814
- page?: number;
132815
- offset?: number;
133140
+ recurringTemplateId?: string;
133141
+ paidStatus?: "unpaid" | "underpaid" | "overpaid" | "paid";
133142
+ matchedByBankRule?: boolean;
133143
+ /** @description Filter transactions by reconciled state. True only returns reconciled transactions. Candidate returns unreconciled match candidates for accountId. */
133144
+ reconciled?: boolean | "candidate";
133145
+ contactId?: string;
133146
+ listingIds?: string;
133147
+ /** @description Controls listingIds filter expansion. withChildren includes direct child listings when a parent listing is selected; exact only matches the selected listing ids. */
133148
+ listingScope?: "exact" | "withChildren";
132816
133149
  };
132817
133150
  header?: never;
132818
133151
  path?: never;
@@ -132827,19 +133160,7 @@ export interface operations {
132827
133160
  };
132828
133161
  content: {
132829
133162
  "application/json": {
132830
- data: {
132831
- type: string;
132832
- accountAssignment?: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "deposit_reserve" | "deposit_vat" | "dueToFromTrust" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "openingBalance" | "payout_bankAccount" | "payout_distribution") | null;
132833
- }[];
132834
- pagination: {
132835
- /** @default 100 */
132836
- limit: number;
132837
- /** @default 1 */
132838
- page: number;
132839
- total: number;
132840
- totalPage: number;
132841
- nextPage?: number;
132842
- };
133163
+ url: string;
132843
133164
  };
132844
133165
  };
132845
133166
  };
@@ -133070,19 +133391,19 @@ export interface operations {
133070
133391
  };
133071
133392
  };
133072
133393
  };
133073
- putTransactionsLineMappingsByType: {
133394
+ postTransactionsJournalEntries: {
133074
133395
  parameters: {
133075
133396
  query?: never;
133076
133397
  header?: never;
133077
- path: {
133078
- type: string;
133079
- };
133398
+ path?: never;
133080
133399
  cookie?: never;
133081
133400
  };
133082
133401
  requestBody?: {
133083
133402
  content: {
133084
133403
  "application/json": {
133085
- accountAssignment?: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "deposit_reserve" | "deposit_vat" | "dueToFromTrust" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "openingBalance" | "payout_bankAccount" | "payout_distribution") | null;
133404
+ ids?: string[];
133405
+ listingIds?: string[];
133406
+ date?: string;
133086
133407
  };
133087
133408
  };
133088
133409
  };
@@ -133094,8 +133415,7 @@ export interface operations {
133094
133415
  };
133095
133416
  content: {
133096
133417
  "application/json": {
133097
- type: string;
133098
- accountAssignment?: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "deposit_reserve" | "deposit_vat" | "dueToFromTrust" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "openingBalance" | "payout_bankAccount" | "payout_distribution") | null;
133418
+ total: number;
133099
133419
  };
133100
133420
  };
133101
133421
  };