@vrplatform/api 1.3.1-stage.6371 → 1.3.1-stage.6380

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.
@@ -819,7 +819,7 @@ export interface paths {
819
819
  get?: never;
820
820
  put?: never;
821
821
  /**
822
- * @description Connect an app and create the connection. OAuth defaults to https://portal.vrplatform.app/callback/ when redirectTo is omitted. Legacy production /callback is normalized to /callback/, and legacy staging /callback to /connections/oauth-callback. Provider integrations must return stable account identity. The built-in API app receives server-generated connection identity. PMS connections queue durable reservation line-mapping initialization. Hostaway webhook reconciliation runs after credentials are stored. Ramp connections activate and run chart-of-accounts synchronization when autoExtract is enabled. Provider tasks may take up to 25 seconds. Tasks that exceed the limit return ERROR_TIMEOUT.
822
+ * @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.
823
823
  *
824
824
  * Required scope: integrations:write
825
825
  */
@@ -861,7 +861,7 @@ export interface paths {
861
861
  get?: never;
862
862
  put?: never;
863
863
  /**
864
- * @description Get a redirect URL to connect an app through OAuth2.0. Defaults to https://portal.vrplatform.app/callback/ when redirectTo is omitted. Normalizes legacy production /callback to /callback/ and legacy staging /callback to /connections/oauth-callback.
864
+ * @description Get a redirect URL to connect an app through OAuth2.0.
865
865
  *
866
866
  * Required scope: integrations:write
867
867
  */
@@ -976,7 +976,7 @@ export interface paths {
976
976
  get?: never;
977
977
  put?: never;
978
978
  /**
979
- * @description Reconnect an existing app connection. OAuth defaults to https://portal.vrplatform.app/callback/ when redirectTo is omitted. Legacy production /callback is normalized to /callback/, and legacy staging /callback to /connections/oauth-callback. The built-in API app preserves its existing server-generated identity. Provider identities owned by another connection are rejected before mutation. PMS reconnections queue durable reservation line-mapping initialization. Hostaway webhook reconciliation runs after credentials are stored. Ramp reconnections run chart-of-accounts synchronization unless that flow is explicitly inactive. Provider tasks may take up to 25 seconds. Tasks that exceed the limit return ERROR_TIMEOUT.
979
+ * @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.
980
980
  *
981
981
  * Required scope: integrations:write
982
982
  */
@@ -2363,7 +2363,7 @@ export interface paths {
2363
2363
  path?: never;
2364
2364
  cookie?: never;
2365
2365
  };
2366
- /** @description Load the immutable General Ledger default snapshot owned by the selected partner team. The VRPlatform team owns the global default. */
2366
+ /** @description Load the immutable accounting bootstrap snapshot owned by the selected partner team, including reservation line defaults. The VRPlatform team owns the global default. */
2367
2367
  get: operations["getInternalGlobalLedgerTemplate"];
2368
2368
  put?: never;
2369
2369
  post?: never;
@@ -2382,7 +2382,7 @@ export interface paths {
2382
2382
  };
2383
2383
  get?: never;
2384
2384
  put?: never;
2385
- /** @description Build and validate a portable General Ledger snapshot from the selected partner team. Returns the digest required by publish and does not write. */
2385
+ /** @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. */
2386
2386
  post: operations["postInternalGlobalLedgerTemplatePreview"];
2387
2387
  delete?: never;
2388
2388
  options?: never;
@@ -2399,7 +2399,7 @@ export interface paths {
2399
2399
  };
2400
2400
  get?: never;
2401
2401
  put?: never;
2402
- /** @description Rebuild the selected partner team settings and publish an immutable General Ledger snapshot when its digest and version still match the preceding preview. */
2402
+ /** @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. */
2403
2403
  post: operations["postInternalGlobalLedgerTemplatePublish"];
2404
2404
  delete?: never;
2405
2405
  options?: never;
@@ -2484,7 +2484,7 @@ export interface paths {
2484
2484
  path?: never;
2485
2485
  cookie?: never;
2486
2486
  };
2487
- /** @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. */
2487
+ /** @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. */
2488
2488
  get: operations["getInternalReservationLineDefaults"];
2489
2489
  put?: never;
2490
2490
  post?: never;
@@ -2494,6 +2494,23 @@ export interface paths {
2494
2494
  patch?: never;
2495
2495
  trace?: never;
2496
2496
  };
2497
+ "/internal/reservation-line-defaults/{classificationId}/booking-channel-options": {
2498
+ parameters: {
2499
+ query?: never;
2500
+ header?: never;
2501
+ path?: never;
2502
+ cookie?: never;
2503
+ };
2504
+ /** @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. */
2505
+ get: operations["getInternalReservationLineDefaultsByClassificationIdBookingChannelOptions"];
2506
+ put?: never;
2507
+ post?: never;
2508
+ delete?: never;
2509
+ options?: never;
2510
+ head?: never;
2511
+ patch?: never;
2512
+ trace?: never;
2513
+ };
2497
2514
  "/internal/reservation-line-defaults/{type}": {
2498
2515
  parameters: {
2499
2516
  query?: never;
@@ -2563,6 +2580,40 @@ export interface paths {
2563
2580
  patch?: never;
2564
2581
  trace?: never;
2565
2582
  };
2583
+ "/internal/transaction-line-mappings": {
2584
+ parameters: {
2585
+ query?: never;
2586
+ header?: never;
2587
+ path?: never;
2588
+ cookie?: never;
2589
+ };
2590
+ /** @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. */
2591
+ get: operations["getInternalTransactionLineMappings"];
2592
+ put?: never;
2593
+ post?: never;
2594
+ delete?: never;
2595
+ options?: never;
2596
+ head?: never;
2597
+ patch?: never;
2598
+ trace?: never;
2599
+ };
2600
+ "/internal/transaction-line-mappings/{type}": {
2601
+ parameters: {
2602
+ query?: never;
2603
+ header?: never;
2604
+ path?: never;
2605
+ cookie?: never;
2606
+ };
2607
+ get?: never;
2608
+ /** @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. */
2609
+ put: operations["putInternalTransactionLineMappingsByType"];
2610
+ post?: never;
2611
+ delete?: never;
2612
+ options?: never;
2613
+ head?: never;
2614
+ patch?: never;
2615
+ trace?: never;
2616
+ };
2566
2617
  "/internal/users": {
2567
2618
  parameters: {
2568
2619
  query?: never;
@@ -4878,7 +4929,7 @@ export interface paths {
4878
4929
  cookie?: never;
4879
4930
  };
4880
4931
  /**
4881
- * @description List mapping settings for the selected team from its compact line-type usage catalog and explicit mappings. Status filters expose mapped, excluded, or unmapped totals without scanning payment-line history.
4932
+ * @description List mapping settings for the selected team from its indexed distinct reservation line types and explicit mappings. Status filters expose mapped, excluded, or unmapped totals without scanning repeated payment-line history.
4882
4933
  *
4883
4934
  * Required scope: reservation-mappings:read
4884
4935
  */
@@ -6305,48 +6356,6 @@ export interface paths {
6305
6356
  patch?: never;
6306
6357
  trace?: never;
6307
6358
  };
6308
- "/transactions/line-mappings": {
6309
- parameters: {
6310
- query?: never;
6311
- header?: never;
6312
- path?: never;
6313
- cookie?: never;
6314
- };
6315
- /**
6316
- * @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.
6317
- *
6318
- * Required scope: transaction-mappings:read
6319
- */
6320
- get: operations["getTransactionsLineMappings"];
6321
- put?: never;
6322
- post?: never;
6323
- delete?: never;
6324
- options?: never;
6325
- head?: never;
6326
- patch?: never;
6327
- trace?: never;
6328
- };
6329
- "/transactions/line-mappings/{type}": {
6330
- parameters: {
6331
- query?: never;
6332
- header?: never;
6333
- path?: never;
6334
- cookie?: never;
6335
- };
6336
- get?: never;
6337
- /**
6338
- * @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.
6339
- *
6340
- * Required scope: transaction-mappings:write
6341
- */
6342
- put: operations["putTransactionsLineMappingsByType"];
6343
- post?: never;
6344
- delete?: never;
6345
- options?: never;
6346
- head?: never;
6347
- patch?: never;
6348
- trace?: never;
6349
- };
6350
6359
  "/transactions/recurring-templates": {
6351
6360
  parameters: {
6352
6361
  query?: never;
@@ -6460,14 +6469,14 @@ export interface paths {
6460
6469
  */
6461
6470
  get: operations["getTransactionsById"];
6462
6471
  /**
6463
- * @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.
6472
+ * @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.
6464
6473
  *
6465
6474
  * Required scope: transactions:write
6466
6475
  */
6467
6476
  put: operations["putTransactionsById"];
6468
6477
  post?: never;
6469
6478
  /**
6470
- * @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.
6479
+ * @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.
6471
6480
  *
6472
6481
  * Required scope: transactions:delete
6473
6482
  */
@@ -6530,7 +6539,7 @@ export interface paths {
6530
6539
  put?: never;
6531
6540
  post?: never;
6532
6541
  /**
6533
- * @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.
6542
+ * @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.
6534
6543
  *
6535
6544
  * Required scope: transactions:mark-paid, ach-payments:execute
6536
6545
  */
@@ -6570,7 +6579,7 @@ export interface paths {
6570
6579
  };
6571
6580
  get?: never;
6572
6581
  /**
6573
- * @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.
6582
+ * @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.
6574
6583
  *
6575
6584
  * Required scope: transactions:write
6576
6585
  */
@@ -12017,7 +12026,7 @@ export interface operations {
12017
12026
  hint: string | null;
12018
12027
  role: string | null;
12019
12028
  scope: string | null;
12020
- 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")[];
12029
+ 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")[];
12021
12030
  }[];
12022
12031
  pagination: {
12023
12032
  /** @default 100 */
@@ -12299,7 +12308,7 @@ export interface operations {
12299
12308
  hint: string | null;
12300
12309
  role: string | null;
12301
12310
  scope: string | null;
12302
- 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")[];
12311
+ 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")[];
12303
12312
  apiToken: string;
12304
12313
  };
12305
12314
  };
@@ -12563,7 +12572,7 @@ export interface operations {
12563
12572
  hint: string | null;
12564
12573
  role: string | null;
12565
12574
  scope: string | null;
12566
- 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")[];
12575
+ 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")[];
12567
12576
  apiToken: string;
12568
12577
  };
12569
12578
  };
@@ -52681,7 +52690,7 @@ export interface operations {
52681
52690
  publishedVersion: number | null;
52682
52691
  published: {
52683
52692
  /** @constant */
52684
- schemaVersion: 2;
52693
+ schemaVersion: 3;
52685
52694
  accounts: {
52686
52695
  /** Format: uuid */
52687
52696
  id: string;
@@ -52937,6 +52946,13 @@ export interface operations {
52937
52946
  } | null;
52938
52947
  activeListings: number;
52939
52948
  }[];
52949
+ reservationLineMappings: {
52950
+ accountKey: string | null;
52951
+ appId: string;
52952
+ bookingChannel: string | null;
52953
+ lineType: string;
52954
+ revenueRecognition: ("checkIn" | "checkOut" | "proRata") | null;
52955
+ }[];
52940
52956
  } | null;
52941
52957
  /** Format: uuid */
52942
52958
  sourceTenantId: string;
@@ -53207,7 +53223,7 @@ export interface operations {
53207
53223
  "application/json": {
53208
53224
  bundle: {
53209
53225
  /** @constant */
53210
- schemaVersion: 2;
53226
+ schemaVersion: 3;
53211
53227
  accounts: {
53212
53228
  /** Format: uuid */
53213
53229
  id: string;
@@ -53463,6 +53479,13 @@ export interface operations {
53463
53479
  } | null;
53464
53480
  activeListings: number;
53465
53481
  }[];
53482
+ reservationLineMappings: {
53483
+ accountKey: string | null;
53484
+ appId: string;
53485
+ bookingChannel: string | null;
53486
+ lineType: string;
53487
+ revenueRecognition: ("checkIn" | "checkOut" | "proRata") | null;
53488
+ }[];
53466
53489
  };
53467
53490
  sourceDigest: string;
53468
53491
  publishedVersion: number | null;
@@ -53727,7 +53750,7 @@ export interface operations {
53727
53750
  publishedVersion: number | null;
53728
53751
  published: {
53729
53752
  /** @constant */
53730
- schemaVersion: 2;
53753
+ schemaVersion: 3;
53731
53754
  accounts: {
53732
53755
  /** Format: uuid */
53733
53756
  id: string;
@@ -53983,6 +54006,13 @@ export interface operations {
53983
54006
  } | null;
53984
54007
  activeListings: number;
53985
54008
  }[];
54009
+ reservationLineMappings: {
54010
+ accountKey: string | null;
54011
+ appId: string;
54012
+ bookingChannel: string | null;
54013
+ lineType: string;
54014
+ revenueRecognition: ("checkIn" | "checkOut" | "proRata") | null;
54015
+ }[];
53986
54016
  } | null;
53987
54017
  /** Format: uuid */
53988
54018
  sourceTenantId: string;
@@ -55814,8 +55844,10 @@ export interface operations {
55814
55844
  getInternalReservationLineDefaults: {
55815
55845
  parameters: {
55816
55846
  query?: {
55847
+ accountKey?: string;
55817
55848
  appId?: string;
55818
55849
  search?: string;
55850
+ status?: "excluded" | "mapped" | "unmapped";
55819
55851
  limit?: number;
55820
55852
  page?: number;
55821
55853
  offset?: number;
@@ -55834,21 +55866,38 @@ export interface operations {
55834
55866
  content: {
55835
55867
  "application/json": {
55836
55868
  data: {
55837
- id: string | null;
55838
55869
  /** Format: uuid */
55839
55870
  classificationId: string;
55840
55871
  type: string;
55841
55872
  appId: string | null;
55842
55873
  appConflict: boolean;
55843
- bookingChannel: string | null;
55844
55874
  partnerTenantId: string | null;
55845
- accountKey: string | null;
55846
- revenueRecognition: ("checkIn" | "checkOut" | "proRata") | null;
55847
- revision: number | null;
55848
- teamsSeen: number;
55849
- mappedTeams: number;
55850
- excludedTeams: number;
55851
- unmappedTeams: number;
55875
+ /** @enum {string} */
55876
+ status: "excluded" | "mapped" | "unmapped";
55877
+ base: {
55878
+ /** Format: uuid */
55879
+ id: string;
55880
+ accountKey: string | null;
55881
+ revenueRecognition: ("checkIn" | "checkOut" | "proRata") | null;
55882
+ revision: number;
55883
+ } | null;
55884
+ overrides: {
55885
+ /** Format: uuid */
55886
+ id: string;
55887
+ bookingChannel: {
55888
+ uniqueRef: string;
55889
+ channelRef: string | null;
55890
+ };
55891
+ accountKey: string | null;
55892
+ revenueRecognition: ("checkIn" | "checkOut" | "proRata") | null;
55893
+ revision: number;
55894
+ }[];
55895
+ usage: {
55896
+ teamsSeen: number;
55897
+ mappedTeams: number;
55898
+ excludedTeams: number;
55899
+ unmappedTeams: number;
55900
+ };
55852
55901
  }[];
55853
55902
  pagination: {
55854
55903
  /** @default 100 */
@@ -56089,24 +56138,21 @@ export interface operations {
56089
56138
  };
56090
56139
  };
56091
56140
  };
56092
- putInternalReservationLineDefaultsByType: {
56141
+ getInternalReservationLineDefaultsByClassificationIdBookingChannelOptions: {
56093
56142
  parameters: {
56094
- query?: never;
56143
+ query?: {
56144
+ search?: string;
56145
+ limit?: number;
56146
+ page?: number;
56147
+ offset?: number;
56148
+ };
56095
56149
  header?: never;
56096
56150
  path: {
56097
- type: string;
56151
+ classificationId: string;
56098
56152
  };
56099
56153
  cookie?: never;
56100
56154
  };
56101
- requestBody?: {
56102
- content: {
56103
- "application/json": {
56104
- bookingChannel?: string | null;
56105
- accountKey: string | null;
56106
- revenueRecognition?: ("checkIn" | "checkOut" | "proRata") | null;
56107
- };
56108
- };
56109
- };
56155
+ requestBody?: never;
56110
56156
  responses: {
56111
56157
  /** @description Successful response */
56112
56158
  200: {
@@ -56115,16 +56161,19 @@ export interface operations {
56115
56161
  };
56116
56162
  content: {
56117
56163
  "application/json": {
56118
- /** Format: uuid */
56119
- id: string;
56120
- /** Format: uuid */
56121
- classificationId: string;
56122
- type: string;
56123
- bookingChannel: string | null;
56124
- partnerTenantId: string | null;
56125
- accountKey: string | null;
56126
- revenueRecognition: ("checkIn" | "checkOut" | "proRata") | null;
56127
- revision: number;
56164
+ data: {
56165
+ uniqueRef: string;
56166
+ channelRef: string | null;
56167
+ }[];
56168
+ pagination: {
56169
+ /** @default 100 */
56170
+ limit: number;
56171
+ /** @default 1 */
56172
+ page: number;
56173
+ total: number;
56174
+ totalPage: number;
56175
+ nextPage?: number;
56176
+ };
56128
56177
  };
56129
56178
  };
56130
56179
  };
@@ -56355,18 +56404,24 @@ export interface operations {
56355
56404
  };
56356
56405
  };
56357
56406
  };
56358
- deleteInternalReservationLineDefaultsByType: {
56407
+ putInternalReservationLineDefaultsByType: {
56359
56408
  parameters: {
56360
- query?: {
56361
- bookingChannel?: string;
56362
- };
56409
+ query?: never;
56363
56410
  header?: never;
56364
56411
  path: {
56365
56412
  type: string;
56366
56413
  };
56367
56414
  cookie?: never;
56368
56415
  };
56369
- requestBody?: never;
56416
+ requestBody?: {
56417
+ content: {
56418
+ "application/json": {
56419
+ bookingChannel?: string | null;
56420
+ accountKey: string | null;
56421
+ revenueRecognition?: ("checkIn" | "checkOut" | "proRata") | null;
56422
+ };
56423
+ };
56424
+ };
56370
56425
  responses: {
56371
56426
  /** @description Successful response */
56372
56427
  200: {
@@ -56375,8 +56430,16 @@ export interface operations {
56375
56430
  };
56376
56431
  content: {
56377
56432
  "application/json": {
56378
- /** @constant */
56379
- status: "deleted";
56433
+ /** Format: uuid */
56434
+ id: string;
56435
+ /** Format: uuid */
56436
+ classificationId: string;
56437
+ type: string;
56438
+ bookingChannel: string | null;
56439
+ partnerTenantId: string | null;
56440
+ accountKey: string | null;
56441
+ revenueRecognition: ("checkIn" | "checkOut" | "proRata") | null;
56442
+ revision: number;
56380
56443
  };
56381
56444
  };
56382
56445
  };
@@ -56607,35 +56670,15 @@ export interface operations {
56607
56670
  };
56608
56671
  };
56609
56672
  };
56610
- getInternalTeamsBilling: {
56673
+ deleteInternalReservationLineDefaultsByType: {
56611
56674
  parameters: {
56612
- query: {
56613
- /** @description Select exactly one VRP Billing tab. */
56614
- type: "propertyManager" | "partner";
56615
- /** @description Filter by team name; property-manager searches also include company name. */
56616
- search?: string;
56617
- status?: "active" | "inactive" | "onboarding";
56618
- billingSubscriptionStatus?: ("active" | "pending" | "paused" | "cancelled" | "pendingCancellation" | "draft" | "voided" | "errored" | "missing" | "viaPartner") | ("testTeam" | "demoTeam");
56619
- billingPlan?: string;
56620
- product?: "vrtrust" | "vrintegrations";
56621
- paymentMethod?: "card" | "direct_debit" | "direct_debit_ach" | "external" | "missing";
56622
- /** @description Require an active PMS connection on the property manager or on a partner billing client. */
56623
- appId?: string;
56624
- partnerId?: string;
56625
- billingPartnerId?: string;
56626
- /** @description Sort field; prefix with - for descending order */
56627
- sort?: "name" | "-name" | "created" | "-created";
56628
- /** @description Comma-separated enabled feature IDs. */
56629
- featureIds?: string;
56630
- limit?: number;
56631
- page?: number;
56632
- offset?: number;
56675
+ query?: {
56676
+ bookingChannel?: string;
56633
56677
  };
56634
- header?: {
56635
- /** @description Selects the regional data partition for this regional collection read. It does not change the authenticated team context. */
56636
- "x-data-region"?: "ap" | "crunchy" | "eu" | "hostaway" | "us";
56678
+ header?: never;
56679
+ path: {
56680
+ type: string;
56637
56681
  };
56638
- path?: never;
56639
56682
  cookie?: never;
56640
56683
  };
56641
56684
  requestBody?: never;
@@ -56647,60 +56690,8 @@ export interface operations {
56647
56690
  };
56648
56691
  content: {
56649
56692
  "application/json": {
56650
- data: {
56651
- /** Format: uuid */
56652
- id: string;
56653
- name: string;
56654
- /** @enum {string} */
56655
- dataRegion: "ap" | "crunchy" | "eu" | "hostaway" | "us";
56656
- logo: string | null;
56657
- /** @enum {string} */
56658
- status: "active" | "inactive";
56659
- capabilities: {
56660
- activate: {
56661
- enabled: boolean;
56662
- disabledReasons: ("teamBillingSubscriptionInactive" | "billingPartnerInactive")[];
56663
- };
56664
- };
56665
- isOnboarding: boolean;
56666
- isBillable: boolean | null;
56667
- isGeneralLedger: boolean | null;
56668
- partner: {
56669
- /** Format: uuid */
56670
- id: string;
56671
- name: string;
56672
- } | null;
56673
- billingPartner: {
56674
- /** Format: uuid */
56675
- id: string;
56676
- name: string;
56677
- } | null;
56678
- billingCustomerId: string | null;
56679
- billingSubscriptionStatus: string | null;
56680
- intercomId: string | null;
56681
- billingPlan: string | null;
56682
- billingPaymentMethodType: string | null;
56683
- defaultCurrency: string | null;
56684
- migratedFromTenantId: string | null;
56685
- createdAt: string | null;
56686
- cancelledAt: string | null;
56687
- activeListings: number;
56688
- /** @enum {string} */
56689
- type: "propertyManager" | "partner";
56690
- /** @description Distinct active PMS names; property-manager rows only. */
56691
- pmsNames?: string[];
56692
- /** @description Active property-manager billing clients; partner rows only. */
56693
- teamCount?: number;
56694
- }[];
56695
- pagination: {
56696
- /** @default 100 */
56697
- limit: number;
56698
- /** @default 1 */
56699
- page: number;
56700
- total: number;
56701
- totalPage: number;
56702
- nextPage?: number;
56703
- };
56693
+ /** @constant */
56694
+ status: "deleted";
56704
56695
  };
56705
56696
  };
56706
56697
  };
@@ -56931,20 +56922,35 @@ export interface operations {
56931
56922
  };
56932
56923
  };
56933
56924
  };
56934
- deleteInternalTeam: {
56925
+ getInternalTeamsBilling: {
56935
56926
  parameters: {
56936
56927
  query: {
56937
- /** @description Must be true to delete the selected team. */
56938
- confirm: boolean;
56939
- force?: boolean;
56928
+ /** @description Select exactly one VRP Billing tab. */
56929
+ type: "propertyManager" | "partner";
56930
+ /** @description Filter by team name; property-manager searches also include company name. */
56931
+ search?: string;
56932
+ status?: "active" | "inactive" | "onboarding";
56933
+ billingSubscriptionStatus?: ("active" | "pending" | "paused" | "cancelled" | "pendingCancellation" | "draft" | "voided" | "errored" | "missing" | "viaPartner") | ("testTeam" | "demoTeam");
56934
+ billingPlan?: string;
56935
+ product?: "vrtrust" | "vrintegrations";
56936
+ paymentMethod?: "card" | "direct_debit" | "direct_debit_ach" | "external" | "missing";
56937
+ /** @description Require an active PMS connection on the property manager or on a partner billing client. */
56938
+ appId?: string;
56939
+ partnerId?: string;
56940
+ billingPartnerId?: string;
56941
+ /** @description Sort field; prefix with - for descending order */
56942
+ sort?: "name" | "-name" | "created" | "-created";
56943
+ /** @description Comma-separated enabled feature IDs. */
56944
+ featureIds?: string;
56945
+ limit?: number;
56946
+ page?: number;
56947
+ offset?: number;
56940
56948
  };
56941
56949
  header?: {
56942
56950
  /** @description Selects the regional data partition for this regional collection read. It does not change the authenticated team context. */
56943
56951
  "x-data-region"?: "ap" | "crunchy" | "eu" | "hostaway" | "us";
56944
56952
  };
56945
- path: {
56946
- teamId: string;
56947
- };
56953
+ path?: never;
56948
56954
  cookie?: never;
56949
56955
  };
56950
56956
  requestBody?: never;
@@ -56956,11 +56962,60 @@ export interface operations {
56956
56962
  };
56957
56963
  content: {
56958
56964
  "application/json": {
56959
- /** @constant */
56960
- status: "deleted";
56961
- /** Format: uuid */
56962
- teamId: string;
56963
- runId: string;
56965
+ data: {
56966
+ /** Format: uuid */
56967
+ id: string;
56968
+ name: string;
56969
+ /** @enum {string} */
56970
+ dataRegion: "ap" | "crunchy" | "eu" | "hostaway" | "us";
56971
+ logo: string | null;
56972
+ /** @enum {string} */
56973
+ status: "active" | "inactive";
56974
+ capabilities: {
56975
+ activate: {
56976
+ enabled: boolean;
56977
+ disabledReasons: ("teamBillingSubscriptionInactive" | "billingPartnerInactive")[];
56978
+ };
56979
+ };
56980
+ isOnboarding: boolean;
56981
+ isBillable: boolean | null;
56982
+ isGeneralLedger: boolean | null;
56983
+ partner: {
56984
+ /** Format: uuid */
56985
+ id: string;
56986
+ name: string;
56987
+ } | null;
56988
+ billingPartner: {
56989
+ /** Format: uuid */
56990
+ id: string;
56991
+ name: string;
56992
+ } | null;
56993
+ billingCustomerId: string | null;
56994
+ billingSubscriptionStatus: string | null;
56995
+ intercomId: string | null;
56996
+ billingPlan: string | null;
56997
+ billingPaymentMethodType: string | null;
56998
+ defaultCurrency: string | null;
56999
+ migratedFromTenantId: string | null;
57000
+ createdAt: string | null;
57001
+ cancelledAt: string | null;
57002
+ activeListings: number;
57003
+ /** @enum {string} */
57004
+ type: "propertyManager" | "partner";
57005
+ /** @description Distinct active PMS names; property-manager rows only. */
57006
+ pmsNames?: string[];
57007
+ /** @description Active property-manager billing clients; partner rows only. */
57008
+ teamCount?: number;
57009
+ }[];
57010
+ pagination: {
57011
+ /** @default 100 */
57012
+ limit: number;
57013
+ /** @default 1 */
57014
+ page: number;
57015
+ total: number;
57016
+ totalPage: number;
57017
+ nextPage?: number;
57018
+ };
56964
57019
  };
56965
57020
  };
56966
57021
  };
@@ -57191,28 +57246,23 @@ export interface operations {
57191
57246
  };
57192
57247
  };
57193
57248
  };
57194
- putInternalTeamsByTeamIdBilling: {
57249
+ deleteInternalTeam: {
57195
57250
  parameters: {
57196
- query?: never;
57197
- header?: never;
57251
+ query: {
57252
+ /** @description Must be true to delete the selected team. */
57253
+ confirm: boolean;
57254
+ force?: boolean;
57255
+ };
57256
+ header?: {
57257
+ /** @description Selects the regional data partition for this regional collection read. It does not change the authenticated team context. */
57258
+ "x-data-region"?: "ap" | "crunchy" | "eu" | "hostaway" | "us";
57259
+ };
57198
57260
  path: {
57199
57261
  teamId: string;
57200
57262
  };
57201
57263
  cookie?: never;
57202
57264
  };
57203
- requestBody?: {
57204
- content: {
57205
- "application/json": {
57206
- billingCustomerId?: string | null;
57207
- billingPlan?: string | null;
57208
- billingPaymentMethodType?: ("card" | "apple_pay" | "google_pay" | "direct_debit" | "direct_debit_ach" | "direct_debit_bacs" | "stripe_link" | "transfer" | "transfer_automated" | "external") | null;
57209
- billingSubscriptionStatus?: ("active" | "cancelled" | "draft" | "errored" | "paused" | "pending" | "voided") | null;
57210
- cancelledAt?: string | null;
57211
- /** @enum {string} */
57212
- status?: "active" | "inactive";
57213
- };
57214
- };
57215
- };
57265
+ requestBody?: never;
57216
57266
  responses: {
57217
57267
  /** @description Successful response */
57218
57268
  200: {
@@ -57221,8 +57271,11 @@ export interface operations {
57221
57271
  };
57222
57272
  content: {
57223
57273
  "application/json": {
57274
+ /** @constant */
57275
+ status: "deleted";
57224
57276
  /** Format: uuid */
57225
- id: string;
57277
+ teamId: string;
57278
+ runId: string;
57226
57279
  };
57227
57280
  };
57228
57281
  };
@@ -57453,25 +57506,28 @@ export interface operations {
57453
57506
  };
57454
57507
  };
57455
57508
  };
57456
- getInternalUsers: {
57509
+ putInternalTeamsByTeamIdBilling: {
57457
57510
  parameters: {
57458
- query?: {
57459
- /** @description Filter by email, secondary email, first name, last name, or full name. Cannot be combined with userId. */
57460
- search?: string;
57461
- /** @description Filter by an exact user ID. Cannot be combined with search. */
57462
- userId?: string;
57463
- limit?: number;
57464
- page?: number;
57465
- offset?: number;
57466
- };
57467
- header?: {
57468
- /** @description Selects the regional data partition for this regional collection read. It does not change the authenticated team context. */
57469
- "x-data-region"?: "ap" | "crunchy" | "eu" | "hostaway" | "us";
57511
+ query?: never;
57512
+ header?: never;
57513
+ path: {
57514
+ teamId: string;
57470
57515
  };
57471
- path?: never;
57472
57516
  cookie?: never;
57473
57517
  };
57474
- requestBody?: never;
57518
+ requestBody?: {
57519
+ content: {
57520
+ "application/json": {
57521
+ billingCustomerId?: string | null;
57522
+ billingPlan?: string | null;
57523
+ billingPaymentMethodType?: ("card" | "apple_pay" | "google_pay" | "direct_debit" | "direct_debit_ach" | "direct_debit_bacs" | "stripe_link" | "transfer" | "transfer_automated" | "external") | null;
57524
+ billingSubscriptionStatus?: ("active" | "cancelled" | "draft" | "errored" | "paused" | "pending" | "voided") | null;
57525
+ cancelledAt?: string | null;
57526
+ /** @enum {string} */
57527
+ status?: "active" | "inactive";
57528
+ };
57529
+ };
57530
+ };
57475
57531
  responses: {
57476
57532
  /** @description Successful response */
57477
57533
  200: {
@@ -57480,49 +57536,8 @@ export interface operations {
57480
57536
  };
57481
57537
  content: {
57482
57538
  "application/json": {
57483
- data: {
57484
- /** Format: uuid */
57485
- id: string;
57486
- firstName: string | null;
57487
- lastName: string | null;
57488
- /** Format: email */
57489
- email: string;
57490
- secondaryEmails: string[];
57491
- /** @description User kind (e.g. user, owner) */
57492
- type?: string | null;
57493
- lastSeen: string | null;
57494
- createdAt: string | null;
57495
- memberships: {
57496
- /** @enum {string} */
57497
- accessSource?: "direct" | "partnerManaged";
57498
- /** Format: uuid */
57499
- teamId: string;
57500
- teamName: string;
57501
- role?: string | null;
57502
- status?: string | null;
57503
- /** Format: uuid */
57504
- id: string;
57505
- lastInvitedAt: string | null;
57506
- }[];
57507
- ownerAccesses: {
57508
- /** Format: uuid */
57509
- teamId: string;
57510
- contactId: string | null;
57511
- ownerId: string | null;
57512
- role?: string | null;
57513
- /** @description Owner contact name */
57514
- name?: string | null;
57515
- }[];
57516
- }[];
57517
- pagination: {
57518
- /** @default 100 */
57519
- limit: number;
57520
- /** @default 1 */
57521
- page: number;
57522
- total: number;
57523
- totalPage: number;
57524
- nextPage?: number;
57525
- };
57539
+ /** Format: uuid */
57540
+ id: string;
57526
57541
  };
57527
57542
  };
57528
57543
  };
@@ -57753,42 +57768,22 @@ export interface operations {
57753
57768
  };
57754
57769
  };
57755
57770
  };
57756
- postInternalUsers: {
57771
+ getInternalTransactionLineMappings: {
57757
57772
  parameters: {
57758
- query?: never;
57773
+ query?: {
57774
+ search?: string;
57775
+ appId?: string;
57776
+ status?: "mapped" | "unmapped";
57777
+ 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";
57778
+ limit?: number;
57779
+ page?: number;
57780
+ offset?: number;
57781
+ };
57759
57782
  header?: never;
57760
57783
  path?: never;
57761
57784
  cookie?: never;
57762
57785
  };
57763
- requestBody?: {
57764
- content: {
57765
- "application/json": {
57766
- /** Format: uuid */
57767
- id?: string;
57768
- email: string;
57769
- firstName?: string | null;
57770
- lastName?: string | null;
57771
- name?: string | null;
57772
- /** @enum {string} */
57773
- status?: "active" | "inactive" | "archived" | "unconfirmed";
57774
- partnerId?: string | null;
57775
- secondaryEmails?: string[];
57776
- membership?: {
57777
- /** Format: uuid */
57778
- tenantId: string;
57779
- /** @enum {string} */
57780
- managedTeamAccess?: "all" | "assigned";
57781
- /**
57782
- * @default user
57783
- * @enum {string}
57784
- */
57785
- role?: "admin" | "user" | "owner";
57786
- /** @enum {string} */
57787
- status?: "active" | "inactive" | "unconfirmed";
57788
- };
57789
- };
57790
- };
57791
- };
57786
+ requestBody?: never;
57792
57787
  responses: {
57793
57788
  /** @description Successful response */
57794
57789
  200: {
@@ -57797,17 +57792,19 @@ export interface operations {
57797
57792
  };
57798
57793
  content: {
57799
57794
  "application/json": {
57800
- /** Format: uuid */
57801
- id: string;
57802
- isAdmin: boolean;
57803
- memberships: {
57804
- /** Format: uuid */
57805
- id: string;
57806
- /** Format: uuid */
57807
- tenantId: string;
57808
- role: string | null;
57809
- status: string | null;
57795
+ data: {
57796
+ type: string;
57797
+ 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;
57810
57798
  }[];
57799
+ pagination: {
57800
+ /** @default 100 */
57801
+ limit: number;
57802
+ /** @default 1 */
57803
+ page: number;
57804
+ total: number;
57805
+ totalPage: number;
57806
+ nextPage?: number;
57807
+ };
57811
57808
  };
57812
57809
  };
57813
57810
  };
@@ -58038,39 +58035,19 @@ export interface operations {
58038
58035
  };
58039
58036
  };
58040
58037
  };
58041
- putInternalUsersById: {
58038
+ putInternalTransactionLineMappingsByType: {
58042
58039
  parameters: {
58043
58040
  query?: never;
58044
58041
  header?: never;
58045
58042
  path: {
58046
- id: string;
58043
+ type: string;
58047
58044
  };
58048
58045
  cookie?: never;
58049
58046
  };
58050
58047
  requestBody?: {
58051
58048
  content: {
58052
58049
  "application/json": {
58053
- email: string;
58054
- firstName?: string | null;
58055
- lastName?: string | null;
58056
- name?: string | null;
58057
- /** @enum {string} */
58058
- status?: "active" | "inactive" | "archived" | "unconfirmed";
58059
- partnerId?: string | null;
58060
- secondaryEmails?: string[];
58061
- membership?: {
58062
- /** Format: uuid */
58063
- tenantId: string;
58064
- /** @enum {string} */
58065
- managedTeamAccess?: "all" | "assigned";
58066
- /**
58067
- * @default user
58068
- * @enum {string}
58069
- */
58070
- role?: "admin" | "user" | "owner";
58071
- /** @enum {string} */
58072
- status?: "active" | "inactive" | "unconfirmed";
58073
- };
58050
+ 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;
58074
58051
  };
58075
58052
  };
58076
58053
  };
@@ -58082,17 +58059,8 @@ export interface operations {
58082
58059
  };
58083
58060
  content: {
58084
58061
  "application/json": {
58085
- /** Format: uuid */
58086
- id: string;
58087
- isAdmin: boolean;
58088
- memberships: {
58089
- /** Format: uuid */
58090
- id: string;
58091
- /** Format: uuid */
58092
- tenantId: string;
58093
- role: string | null;
58094
- status: string | null;
58095
- }[];
58062
+ type: string;
58063
+ 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;
58096
58064
  };
58097
58065
  };
58098
58066
  };
@@ -58323,13 +58291,22 @@ export interface operations {
58323
58291
  };
58324
58292
  };
58325
58293
  };
58326
- deleteInternalUsersById: {
58294
+ getInternalUsers: {
58327
58295
  parameters: {
58328
- query?: never;
58329
- header?: never;
58330
- path: {
58331
- id: string;
58296
+ query?: {
58297
+ /** @description Filter by email, secondary email, first name, last name, or full name. Cannot be combined with userId. */
58298
+ search?: string;
58299
+ /** @description Filter by an exact user ID. Cannot be combined with search. */
58300
+ userId?: string;
58301
+ limit?: number;
58302
+ page?: number;
58303
+ offset?: number;
58332
58304
  };
58305
+ header?: {
58306
+ /** @description Selects the regional data partition for this regional collection read. It does not change the authenticated team context. */
58307
+ "x-data-region"?: "ap" | "crunchy" | "eu" | "hostaway" | "us";
58308
+ };
58309
+ path?: never;
58333
58310
  cookie?: never;
58334
58311
  };
58335
58312
  requestBody?: never;
@@ -58341,14 +58318,49 @@ export interface operations {
58341
58318
  };
58342
58319
  content: {
58343
58320
  "application/json": {
58344
- /** @enum {string} */
58345
- status: "deleted";
58346
- /** @description Deprecated: use status */
58347
- deleted: boolean;
58348
- files: number;
58349
- memberships: number;
58350
- ownerAccess: number;
58351
- tokens: number;
58321
+ data: {
58322
+ /** Format: uuid */
58323
+ id: string;
58324
+ firstName: string | null;
58325
+ lastName: string | null;
58326
+ /** Format: email */
58327
+ email: string;
58328
+ secondaryEmails: string[];
58329
+ /** @description User kind (e.g. user, owner) */
58330
+ type?: string | null;
58331
+ lastSeen: string | null;
58332
+ createdAt: string | null;
58333
+ memberships: {
58334
+ /** @enum {string} */
58335
+ accessSource?: "direct" | "partnerManaged";
58336
+ /** Format: uuid */
58337
+ teamId: string;
58338
+ teamName: string;
58339
+ role?: string | null;
58340
+ status?: string | null;
58341
+ /** Format: uuid */
58342
+ id: string;
58343
+ lastInvitedAt: string | null;
58344
+ }[];
58345
+ ownerAccesses: {
58346
+ /** Format: uuid */
58347
+ teamId: string;
58348
+ contactId: string | null;
58349
+ ownerId: string | null;
58350
+ role?: string | null;
58351
+ /** @description Owner contact name */
58352
+ name?: string | null;
58353
+ }[];
58354
+ }[];
58355
+ pagination: {
58356
+ /** @default 100 */
58357
+ limit: number;
58358
+ /** @default 1 */
58359
+ page: number;
58360
+ total: number;
58361
+ totalPage: number;
58362
+ nextPage?: number;
58363
+ };
58352
58364
  };
58353
58365
  };
58354
58366
  };
@@ -58579,26 +58591,39 @@ export interface operations {
58579
58591
  };
58580
58592
  };
58581
58593
  };
58582
- putInternalUsersByIdMembershipsByTenantId: {
58594
+ postInternalUsers: {
58583
58595
  parameters: {
58584
58596
  query?: never;
58585
58597
  header?: never;
58586
- path: {
58587
- id: string;
58588
- tenantId: string;
58589
- };
58598
+ path?: never;
58590
58599
  cookie?: never;
58591
58600
  };
58592
58601
  requestBody?: {
58593
58602
  content: {
58594
58603
  "application/json": {
58595
- lastInvitedAt?: string | null;
58596
- /** @enum {string} */
58597
- managedTeamAccess?: "all" | "assigned";
58598
- /** @enum {string} */
58599
- role?: "admin" | "user" | "owner";
58604
+ /** Format: uuid */
58605
+ id?: string;
58606
+ email: string;
58607
+ firstName?: string | null;
58608
+ lastName?: string | null;
58609
+ name?: string | null;
58600
58610
  /** @enum {string} */
58601
- status?: "active" | "inactive" | "unconfirmed";
58611
+ status?: "active" | "inactive" | "archived" | "unconfirmed";
58612
+ partnerId?: string | null;
58613
+ secondaryEmails?: string[];
58614
+ membership?: {
58615
+ /** Format: uuid */
58616
+ tenantId: string;
58617
+ /** @enum {string} */
58618
+ managedTeamAccess?: "all" | "assigned";
58619
+ /**
58620
+ * @default user
58621
+ * @enum {string}
58622
+ */
58623
+ role?: "admin" | "user" | "owner";
58624
+ /** @enum {string} */
58625
+ status?: "active" | "inactive" | "unconfirmed";
58626
+ };
58602
58627
  };
58603
58628
  };
58604
58629
  };
@@ -58612,11 +58637,15 @@ export interface operations {
58612
58637
  "application/json": {
58613
58638
  /** Format: uuid */
58614
58639
  id: string;
58615
- lastInvitedAt: string | null;
58616
- status: ("active" | "inactive" | "unconfirmed") | null;
58617
- /** Format: uuid */
58618
- tenantId: string;
58619
- role: string | null;
58640
+ isAdmin: boolean;
58641
+ memberships: {
58642
+ /** Format: uuid */
58643
+ id: string;
58644
+ /** Format: uuid */
58645
+ tenantId: string;
58646
+ role: string | null;
58647
+ status: string | null;
58648
+ }[];
58620
58649
  };
58621
58650
  };
58622
58651
  };
@@ -58847,17 +58876,42 @@ export interface operations {
58847
58876
  };
58848
58877
  };
58849
58878
  };
58850
- deleteInternalUsersByIdMembershipsByTenantId: {
58879
+ putInternalUsersById: {
58851
58880
  parameters: {
58852
58881
  query?: never;
58853
58882
  header?: never;
58854
58883
  path: {
58855
58884
  id: string;
58856
- tenantId: string;
58857
58885
  };
58858
58886
  cookie?: never;
58859
58887
  };
58860
- requestBody?: never;
58888
+ requestBody?: {
58889
+ content: {
58890
+ "application/json": {
58891
+ email: string;
58892
+ firstName?: string | null;
58893
+ lastName?: string | null;
58894
+ name?: string | null;
58895
+ /** @enum {string} */
58896
+ status?: "active" | "inactive" | "archived" | "unconfirmed";
58897
+ partnerId?: string | null;
58898
+ secondaryEmails?: string[];
58899
+ membership?: {
58900
+ /** Format: uuid */
58901
+ tenantId: string;
58902
+ /** @enum {string} */
58903
+ managedTeamAccess?: "all" | "assigned";
58904
+ /**
58905
+ * @default user
58906
+ * @enum {string}
58907
+ */
58908
+ role?: "admin" | "user" | "owner";
58909
+ /** @enum {string} */
58910
+ status?: "active" | "inactive" | "unconfirmed";
58911
+ };
58912
+ };
58913
+ };
58914
+ };
58861
58915
  responses: {
58862
58916
  /** @description Successful response */
58863
58917
  200: {
@@ -58866,10 +58920,17 @@ export interface operations {
58866
58920
  };
58867
58921
  content: {
58868
58922
  "application/json": {
58869
- /** @enum {string} */
58870
- status: "deleted";
58871
- /** @description Deprecated: use status */
58872
- deleted: boolean;
58923
+ /** Format: uuid */
58924
+ id: string;
58925
+ isAdmin: boolean;
58926
+ memberships: {
58927
+ /** Format: uuid */
58928
+ id: string;
58929
+ /** Format: uuid */
58930
+ tenantId: string;
58931
+ role: string | null;
58932
+ status: string | null;
58933
+ }[];
58873
58934
  };
58874
58935
  };
58875
58936
  };
@@ -59100,54 +59161,16 @@ export interface operations {
59100
59161
  };
59101
59162
  };
59102
59163
  };
59103
- batchPayments: {
59164
+ deleteInternalUsersById: {
59104
59165
  parameters: {
59105
59166
  query?: never;
59106
59167
  header?: never;
59107
- path?: never;
59108
- cookie?: never;
59109
- };
59110
- requestBody?: {
59111
- content: {
59112
- "application/json": {
59113
- connectionId: string;
59114
- data: {
59115
- id?: string | null;
59116
- uniqueRef?: string | null;
59117
- etaAt?: string | null;
59118
- paidAt?: string | null;
59119
- /** @description Currency in ISO 4217 format, will be converted to lowercase */
59120
- currency: string;
59121
- description?: string | null;
59122
- metadata?: {
59123
- [key: string]: unknown;
59124
- } | null;
59125
- userdata?: {
59126
- [key: string]: unknown;
59127
- } | null;
59128
- sourceId?: string | null;
59129
- lines: {
59130
- id?: string | null;
59131
- uniqueRef?: string | null;
59132
- type: string;
59133
- description?: string | null;
59134
- reservationId?: string | null;
59135
- reservationRef?: string | null;
59136
- /** @description Value in cents (100 = 1€) */
59137
- amount: number;
59138
- accountId?: string | null;
59139
- accountRef?: string | null;
59140
- connectionId?: string | null;
59141
- metadata?: {
59142
- [key: string]: unknown;
59143
- } | null;
59144
- generalLedgerPostingAt?: string | null;
59145
- }[];
59146
- bankAccountRef?: string | null;
59147
- }[];
59148
- };
59168
+ path: {
59169
+ id: string;
59149
59170
  };
59171
+ cookie?: never;
59150
59172
  };
59173
+ requestBody?: never;
59151
59174
  responses: {
59152
59175
  /** @description Successful response */
59153
59176
  200: {
@@ -59156,20 +59179,14 @@ export interface operations {
59156
59179
  };
59157
59180
  content: {
59158
59181
  "application/json": {
59159
- data: {
59160
- /** Format: uuid */
59161
- id: string;
59162
- uniqueRef?: string | null;
59163
- sourceId?: string | null;
59164
- }[];
59165
- issues: {
59166
- ref: string;
59167
- sourceId?: string | null;
59168
- message: string;
59169
- /** @enum {string} */
59170
- 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";
59171
- context?: unknown;
59172
- }[];
59182
+ /** @enum {string} */
59183
+ status: "deleted";
59184
+ /** @description Deprecated: use status */
59185
+ deleted: boolean;
59186
+ files: number;
59187
+ memberships: number;
59188
+ ownerAccess: number;
59189
+ tokens: number;
59173
59190
  };
59174
59191
  };
59175
59192
  };
@@ -59400,22 +59417,29 @@ export interface operations {
59400
59417
  };
59401
59418
  };
59402
59419
  };
59403
- getPaymentsDeprecated: {
59420
+ putInternalUsersByIdMembershipsByTenantId: {
59404
59421
  parameters: {
59405
- query?: {
59406
- pageSize?: number;
59407
- page?: number;
59408
- type?: string;
59409
- date?: string;
59410
- expand?: string;
59411
- description?: string;
59412
- amount?: number;
59413
- };
59422
+ query?: never;
59414
59423
  header?: never;
59415
- path?: never;
59424
+ path: {
59425
+ id: string;
59426
+ tenantId: string;
59427
+ };
59416
59428
  cookie?: never;
59417
59429
  };
59418
- requestBody?: never;
59430
+ requestBody?: {
59431
+ content: {
59432
+ "application/json": {
59433
+ lastInvitedAt?: string | null;
59434
+ /** @enum {string} */
59435
+ managedTeamAccess?: "all" | "assigned";
59436
+ /** @enum {string} */
59437
+ role?: "admin" | "user" | "owner";
59438
+ /** @enum {string} */
59439
+ status?: "active" | "inactive" | "unconfirmed";
59440
+ };
59441
+ };
59442
+ };
59419
59443
  responses: {
59420
59444
  /** @description Successful response */
59421
59445
  200: {
@@ -59424,55 +59448,13 @@ export interface operations {
59424
59448
  };
59425
59449
  content: {
59426
59450
  "application/json": {
59427
- results: number;
59428
- totalResults: number;
59429
- page: number;
59430
- totalPages: number;
59431
- filters?: {
59432
- [key: string]: unknown;
59433
- };
59434
- data: {
59435
- /** Format: uuid */
59436
- id: string;
59437
- amount: number;
59438
- currency?: string | null;
59439
- description?: string | null;
59440
- date?: string | null;
59441
- uniqueRef?: string | null;
59442
- isReconciled?: boolean | null;
59443
- metadata?: {
59444
- [key: string]: unknown;
59445
- };
59446
- status?: string | null;
59447
- type?: string | null;
59448
- lines: {
59449
- /** Format: uuid */
59450
- id: string;
59451
- uniqueRef?: string | null;
59452
- type?: string | null;
59453
- uniqueType?: string | null;
59454
- description?: string | null;
59455
- amount: number;
59456
- originalAmount?: number | null;
59457
- originalCurrency?: string | null;
59458
- reservationId?: string | null;
59459
- paymentId?: string | null;
59460
- metadata?: {
59461
- [key: string]: unknown;
59462
- };
59463
- listingId?: string | null;
59464
- listing?: unknown;
59465
- reservation?: unknown;
59466
- }[];
59467
- connection?: {
59468
- /** Format: uuid */
59469
- id: string;
59470
- name?: string | null;
59471
- type?: string | null;
59472
- appId?: string | null;
59473
- status?: string | null;
59474
- } | null;
59475
- }[];
59451
+ /** Format: uuid */
59452
+ id: string;
59453
+ lastInvitedAt: string | null;
59454
+ status: ("active" | "inactive" | "unconfirmed") | null;
59455
+ /** Format: uuid */
59456
+ tenantId: string;
59457
+ role: string | null;
59476
59458
  };
59477
59459
  };
59478
59460
  };
@@ -59703,12 +59685,13 @@ export interface operations {
59703
59685
  };
59704
59686
  };
59705
59687
  };
59706
- getPaymentDeprecated: {
59688
+ deleteInternalUsersByIdMembershipsByTenantId: {
59707
59689
  parameters: {
59708
59690
  query?: never;
59709
59691
  header?: never;
59710
59692
  path: {
59711
59693
  id: string;
59694
+ tenantId: string;
59712
59695
  };
59713
59696
  cookie?: never;
59714
59697
  };
@@ -59721,46 +59704,10 @@ export interface operations {
59721
59704
  };
59722
59705
  content: {
59723
59706
  "application/json": {
59724
- /** Format: uuid */
59725
- id: string;
59726
- amount: number;
59727
- currency?: string | null;
59728
- description?: string | null;
59729
- date?: string | null;
59730
- uniqueRef?: string | null;
59731
- isReconciled?: boolean | null;
59732
- metadata?: {
59733
- [key: string]: unknown;
59734
- };
59735
- status?: string | null;
59736
- type?: string | null;
59737
- lines: {
59738
- /** Format: uuid */
59739
- id: string;
59740
- uniqueRef?: string | null;
59741
- type?: string | null;
59742
- uniqueType?: string | null;
59743
- description?: string | null;
59744
- amount: number;
59745
- originalAmount?: number | null;
59746
- originalCurrency?: string | null;
59747
- reservationId?: string | null;
59748
- paymentId?: string | null;
59749
- metadata?: {
59750
- [key: string]: unknown;
59751
- };
59752
- listingId?: string | null;
59753
- listing?: unknown;
59754
- reservation?: unknown;
59755
- }[];
59756
- connection?: {
59757
- /** Format: uuid */
59758
- id: string;
59759
- name?: string | null;
59760
- type?: string | null;
59761
- appId?: string | null;
59762
- status?: string | null;
59763
- } | null;
59707
+ /** @enum {string} */
59708
+ status: "deleted";
59709
+ /** @description Deprecated: use status */
59710
+ deleted: boolean;
59764
59711
  };
59765
59712
  };
59766
59713
  };
@@ -59991,40 +59938,54 @@ export interface operations {
59991
59938
  };
59992
59939
  };
59993
59940
  };
59994
- getListings: {
59941
+ batchPayments: {
59995
59942
  parameters: {
59996
- query?: {
59997
- status?: "active" | "inactive";
59998
- connectionId?: string;
59999
- /** @description Filter by parent listing id. Use parent=null to return only parent/root listings. */
60000
- parent?: string | "null";
60001
- /** @description Comma-separated listing ids. */
60002
- ids?: string;
60003
- search?: string;
60004
- contactId?: string;
60005
- /** @description Filter listings by ownership period ID. */
60006
- ownershipPeriodId?: string;
60007
- /** @description Comma-separated listing short refs. */
60008
- shortRefs?: string;
60009
- /** @description Filter listings by whether they currently have an active ownership period. */
60010
- activeOwnership?: boolean;
60011
- /** @description Include child listing links on each listing. */
60012
- includeChildren?: boolean;
60013
- /** @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. */
60014
- activeRecurringFeePeriods?: string;
60015
- /** @description Filter listings that have (true) or lack (false) opening balances */
60016
- openingBalance?: boolean;
60017
- /** @description Filter listings by setup issue code, "all" (all setup issues), or "any" (at least one setup issue) */
60018
- issue?: "all" | "any" | "missingOwnershipOrDeactivation" | "missingFeesAndCommission" | "missingOpeningBalance";
60019
- limit?: number;
60020
- page?: number;
60021
- offset?: number;
60022
- };
59943
+ query?: never;
60023
59944
  header?: never;
60024
59945
  path?: never;
60025
59946
  cookie?: never;
60026
59947
  };
60027
- requestBody?: never;
59948
+ requestBody?: {
59949
+ content: {
59950
+ "application/json": {
59951
+ connectionId: string;
59952
+ data: {
59953
+ id?: string | null;
59954
+ uniqueRef?: string | null;
59955
+ etaAt?: string | null;
59956
+ paidAt?: string | null;
59957
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
59958
+ currency: string;
59959
+ description?: string | null;
59960
+ metadata?: {
59961
+ [key: string]: unknown;
59962
+ } | null;
59963
+ userdata?: {
59964
+ [key: string]: unknown;
59965
+ } | null;
59966
+ sourceId?: string | null;
59967
+ lines: {
59968
+ id?: string | null;
59969
+ uniqueRef?: string | null;
59970
+ type: string;
59971
+ description?: string | null;
59972
+ reservationId?: string | null;
59973
+ reservationRef?: string | null;
59974
+ /** @description Value in cents (100 = 1€) */
59975
+ amount: number;
59976
+ accountId?: string | null;
59977
+ accountRef?: string | null;
59978
+ connectionId?: string | null;
59979
+ metadata?: {
59980
+ [key: string]: unknown;
59981
+ } | null;
59982
+ generalLedgerPostingAt?: string | null;
59983
+ }[];
59984
+ bankAccountRef?: string | null;
59985
+ }[];
59986
+ };
59987
+ };
59988
+ };
60028
59989
  responses: {
60029
59990
  /** @description Successful response */
60030
59991
  200: {
@@ -60034,169 +59995,1046 @@ export interface operations {
60034
59995
  content: {
60035
59996
  "application/json": {
60036
59997
  data: {
60037
- name: string;
60038
- uniqueRef?: string | null;
60039
- connectionId?: string | null;
60040
- defaultCurrency?: string | null;
60041
- address?: {
60042
- full?: string | null;
60043
- line1?: string | null;
60044
- line2?: string | null;
60045
- city?: string | null;
60046
- /** @description Deprecated, use stateCode instead */
60047
- state?: string | null;
60048
- postalCode?: string | null;
60049
- stateCode?: string | null;
60050
- countryCode?: string | null;
60051
- } | null;
60052
59998
  /** Format: uuid */
60053
59999
  id: string;
60054
- shortRef?: string | null;
60055
- title?: string | null;
60056
- pmsName?: string | null;
60000
+ uniqueRef?: string | null;
60001
+ sourceId?: string | null;
60002
+ }[];
60003
+ issues: {
60004
+ ref: string;
60005
+ sourceId?: string | null;
60006
+ message: string;
60057
60007
  /** @enum {string} */
60058
- status: "active" | "inactive";
60059
- activeOwnership?: {
60060
- /** Format: uuid */
60061
- id: string;
60062
- startAt: string;
60063
- endAt?: string | null;
60064
- /** @description Value in cents (100 = 1€) */
60065
- reserve: number;
60066
- members: {
60067
- split?: number | null;
60068
- /** Format: uuid */
60069
- id: string;
60070
- contact?: {
60071
- /** Format: uuid */
60072
- id: string;
60073
- name?: string | null;
60074
- firstName?: string | null;
60075
- uniqueRef?: string | null;
60076
- shortRef?: string | null;
60077
- email?: string | null;
60078
- /** @enum {string} */
60079
- type: "owner" | "vendor";
60080
- } | null;
60081
- }[];
60082
- setListingInactive?: boolean | null;
60083
- /** @enum {string} */
60084
- businessModel: "managed" | "co_host" | "co_host_airbnb";
60085
- lock?: {
60086
- /**
60087
- * @description Aggregate lock state; inspect nested reasons and resource-specific field rules
60088
- * @enum {string}
60089
- */
60090
- status: "locked" | "unlocked";
60091
- /** @description Present when books closing blocks the mutation */
60092
- booksClosed?: {
60093
- /** @description First open accounting date */
60094
- date: string;
60095
- } | null;
60096
- /** @description Present when journal entries are attached to owner statements */
60097
- ownerStatement?: {
60098
- /** @description Owner statements that lock the represented data */
60099
- ids: string[];
60100
- } | null;
60101
- /** @description Present when bank records are linked; transaction fields that do not affect the match may remain editable */
60102
- reconciled?: {
60103
- /** @description Bank records linked through reconciliation */
60104
- bankRecordIds: string[];
60105
- } | null;
60106
- /** @description Listing statement-period conflicts for the represented data */
60107
- statementPeriod?: {
60108
- hits: {
60109
- /** Format: uuid */
60110
- listingId: string;
60111
- /** @description Posting date blocked by the statement period */
60112
- txnAt: string;
60113
- /** @description First open date for this listing period */
60114
- openFrom: string;
60115
- }[];
60116
- } | null;
60117
- } | null;
60118
- } | null;
60119
- activeRecurringFeePeriods?: {
60120
- /** @description Listing period start date; unparseable values are rejected */
60121
- startAt?: string | null;
60122
- /** @description Listing period end date; unparseable values are rejected */
60123
- endAt?: string | null;
60124
- /** @description Optional listing-period override; a value equal to the definition default is stored as inherited */
60125
- rate?: number | null;
60126
- /** Format: uuid */
60127
- id: string;
60128
- recurringFee: {
60129
- id: string;
60130
- name: string;
60131
- /** @enum {string} */
60132
- type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
60133
- rateType?: ("flat" | "percentage") | null;
60134
- defaultRate?: number | null;
60135
- /** @enum {string} */
60136
- status: "active" | "inactive";
60137
- };
60138
- }[] | null;
60139
- source?: {
60140
- /** Format: uuid */
60141
- id: string;
60142
- type: string;
60143
- status?: ("active" | "inactive") | null;
60144
- appId?: string | null;
60145
- appIcon?: string | null;
60146
- } | null;
60147
- parent: {
60148
- /** Format: uuid */
60149
- id: string;
60150
- name: string;
60151
- uniqueRef?: string | null;
60152
- shortRef?: string | null;
60153
- } | null;
60154
- children?: {
60155
- /** Format: uuid */
60156
- id: string;
60157
- name: string;
60158
- uniqueRef?: string | null;
60159
- shortRef?: string | null;
60160
- }[];
60161
- childCount: number;
60162
- upcomingDeactivation: {
60163
- /** @enum {string} */
60164
- status: "active" | "disable-upcoming" | "disabled-ending" | "disabled-forever";
60165
- period: {
60166
- id: string;
60167
- startAt: string;
60168
- endAt: string | null;
60169
- } | null;
60170
- };
60171
- issues: ({
60172
- /** @constant */
60173
- code: "missingOwnershipOrDeactivation";
60174
- /** @constant */
60175
- severity: "warning";
60176
- context: Record<string, never>;
60177
- } | {
60178
- /** @constant */
60179
- code: "missingFeesAndCommission";
60180
- /** @constant */
60181
- severity: "warning";
60182
- context: Record<string, never>;
60183
- } | {
60184
- /** @constant */
60185
- code: "missingOpeningBalance";
60186
- /** @constant */
60187
- severity: "warning";
60188
- context: Record<string, never>;
60189
- })[];
60008
+ 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";
60009
+ context?: unknown;
60190
60010
  }[];
60191
- pagination: {
60192
- /** @default 100 */
60193
- limit: number;
60194
- /** @default 1 */
60195
- page: number;
60196
- total: number;
60197
- totalPage: number;
60198
- nextPage?: number;
60199
- };
60011
+ };
60012
+ };
60013
+ };
60014
+ /** @description Bad request */
60015
+ 400: {
60016
+ headers: {
60017
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
60018
+ "Retry-After"?: number;
60019
+ [name: string]: unknown;
60020
+ };
60021
+ content: {
60022
+ "application/json": {
60023
+ code: string;
60024
+ message: string;
60025
+ links?: {
60026
+ docs: string;
60027
+ schema: string;
60028
+ };
60029
+ issues?: {
60030
+ message: string;
60031
+ path?: (string | number)[];
60032
+ schema?: string;
60033
+ }[];
60034
+ retryable?: boolean;
60035
+ context?: unknown;
60036
+ };
60037
+ };
60038
+ };
60039
+ /** @description Unauthorized */
60040
+ 401: {
60041
+ headers: {
60042
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
60043
+ "Retry-After"?: number;
60044
+ [name: string]: unknown;
60045
+ };
60046
+ content: {
60047
+ "application/json": {
60048
+ code: string;
60049
+ message: string;
60050
+ links?: {
60051
+ docs: string;
60052
+ schema: string;
60053
+ };
60054
+ issues?: {
60055
+ message: string;
60056
+ path?: (string | number)[];
60057
+ schema?: string;
60058
+ }[];
60059
+ retryable?: boolean;
60060
+ context?: unknown;
60061
+ };
60062
+ };
60063
+ };
60064
+ /** @description Forbidden */
60065
+ 403: {
60066
+ headers: {
60067
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
60068
+ "Retry-After"?: number;
60069
+ [name: string]: unknown;
60070
+ };
60071
+ content: {
60072
+ "application/json": {
60073
+ code: string;
60074
+ message: string;
60075
+ links?: {
60076
+ docs: string;
60077
+ schema: string;
60078
+ };
60079
+ issues?: {
60080
+ message: string;
60081
+ path?: (string | number)[];
60082
+ schema?: string;
60083
+ }[];
60084
+ retryable?: boolean;
60085
+ context?: unknown;
60086
+ };
60087
+ };
60088
+ };
60089
+ /** @description Not found */
60090
+ 404: {
60091
+ headers: {
60092
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
60093
+ "Retry-After"?: number;
60094
+ [name: string]: unknown;
60095
+ };
60096
+ content: {
60097
+ "application/json": {
60098
+ code: string;
60099
+ message: string;
60100
+ links?: {
60101
+ docs: string;
60102
+ schema: string;
60103
+ };
60104
+ issues?: {
60105
+ message: string;
60106
+ path?: (string | number)[];
60107
+ schema?: string;
60108
+ }[];
60109
+ retryable?: boolean;
60110
+ context?: unknown;
60111
+ };
60112
+ };
60113
+ };
60114
+ /** @description Conflict */
60115
+ 409: {
60116
+ headers: {
60117
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
60118
+ "Retry-After"?: number;
60119
+ [name: string]: unknown;
60120
+ };
60121
+ content: {
60122
+ "application/json": {
60123
+ code: string;
60124
+ message: string;
60125
+ links?: {
60126
+ docs: string;
60127
+ schema: string;
60128
+ };
60129
+ issues?: {
60130
+ message: string;
60131
+ path?: (string | number)[];
60132
+ schema?: string;
60133
+ }[];
60134
+ retryable?: boolean;
60135
+ context?: unknown;
60136
+ };
60137
+ };
60138
+ };
60139
+ /** @description Gone */
60140
+ 410: {
60141
+ headers: {
60142
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
60143
+ "Retry-After"?: number;
60144
+ [name: string]: unknown;
60145
+ };
60146
+ content: {
60147
+ "application/json": {
60148
+ code: string;
60149
+ message: string;
60150
+ links?: {
60151
+ docs: string;
60152
+ schema: string;
60153
+ };
60154
+ issues?: {
60155
+ message: string;
60156
+ path?: (string | number)[];
60157
+ schema?: string;
60158
+ }[];
60159
+ retryable?: boolean;
60160
+ context?: unknown;
60161
+ };
60162
+ };
60163
+ };
60164
+ /** @description Unprocessable content */
60165
+ 422: {
60166
+ headers: {
60167
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
60168
+ "Retry-After"?: number;
60169
+ [name: string]: unknown;
60170
+ };
60171
+ content: {
60172
+ "application/json": {
60173
+ code: string;
60174
+ message: string;
60175
+ links?: {
60176
+ docs: string;
60177
+ schema: string;
60178
+ };
60179
+ issues?: {
60180
+ message: string;
60181
+ path?: (string | number)[];
60182
+ schema?: string;
60183
+ }[];
60184
+ retryable?: boolean;
60185
+ context?: unknown;
60186
+ };
60187
+ };
60188
+ };
60189
+ /** @description Internal server error */
60190
+ 500: {
60191
+ headers: {
60192
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
60193
+ "Retry-After"?: number;
60194
+ [name: string]: unknown;
60195
+ };
60196
+ content: {
60197
+ "application/json": {
60198
+ code: string;
60199
+ message: string;
60200
+ links?: {
60201
+ docs: string;
60202
+ schema: string;
60203
+ };
60204
+ issues?: {
60205
+ message: string;
60206
+ path?: (string | number)[];
60207
+ schema?: string;
60208
+ }[];
60209
+ retryable?: boolean;
60210
+ context?: unknown;
60211
+ };
60212
+ };
60213
+ };
60214
+ /** @description Service unavailable */
60215
+ 503: {
60216
+ headers: {
60217
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
60218
+ "Retry-After"?: number;
60219
+ [name: string]: unknown;
60220
+ };
60221
+ content: {
60222
+ "application/json": {
60223
+ code: string;
60224
+ message: string;
60225
+ links?: {
60226
+ docs: string;
60227
+ schema: string;
60228
+ };
60229
+ issues?: {
60230
+ message: string;
60231
+ path?: (string | number)[];
60232
+ schema?: string;
60233
+ }[];
60234
+ retryable?: boolean;
60235
+ context?: unknown;
60236
+ };
60237
+ };
60238
+ };
60239
+ };
60240
+ };
60241
+ getPaymentsDeprecated: {
60242
+ parameters: {
60243
+ query?: {
60244
+ pageSize?: number;
60245
+ page?: number;
60246
+ type?: string;
60247
+ date?: string;
60248
+ expand?: string;
60249
+ description?: string;
60250
+ amount?: number;
60251
+ };
60252
+ header?: never;
60253
+ path?: never;
60254
+ cookie?: never;
60255
+ };
60256
+ requestBody?: never;
60257
+ responses: {
60258
+ /** @description Successful response */
60259
+ 200: {
60260
+ headers: {
60261
+ [name: string]: unknown;
60262
+ };
60263
+ content: {
60264
+ "application/json": {
60265
+ results: number;
60266
+ totalResults: number;
60267
+ page: number;
60268
+ totalPages: number;
60269
+ filters?: {
60270
+ [key: string]: unknown;
60271
+ };
60272
+ data: {
60273
+ /** Format: uuid */
60274
+ id: string;
60275
+ amount: number;
60276
+ currency?: string | null;
60277
+ description?: string | null;
60278
+ date?: string | null;
60279
+ uniqueRef?: string | null;
60280
+ isReconciled?: boolean | null;
60281
+ metadata?: {
60282
+ [key: string]: unknown;
60283
+ };
60284
+ status?: string | null;
60285
+ type?: string | null;
60286
+ lines: {
60287
+ /** Format: uuid */
60288
+ id: string;
60289
+ uniqueRef?: string | null;
60290
+ type?: string | null;
60291
+ uniqueType?: string | null;
60292
+ description?: string | null;
60293
+ amount: number;
60294
+ originalAmount?: number | null;
60295
+ originalCurrency?: string | null;
60296
+ reservationId?: string | null;
60297
+ paymentId?: string | null;
60298
+ metadata?: {
60299
+ [key: string]: unknown;
60300
+ };
60301
+ listingId?: string | null;
60302
+ listing?: unknown;
60303
+ reservation?: unknown;
60304
+ }[];
60305
+ connection?: {
60306
+ /** Format: uuid */
60307
+ id: string;
60308
+ name?: string | null;
60309
+ type?: string | null;
60310
+ appId?: string | null;
60311
+ status?: string | null;
60312
+ } | null;
60313
+ }[];
60314
+ };
60315
+ };
60316
+ };
60317
+ /** @description Bad request */
60318
+ 400: {
60319
+ headers: {
60320
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
60321
+ "Retry-After"?: number;
60322
+ [name: string]: unknown;
60323
+ };
60324
+ content: {
60325
+ "application/json": {
60326
+ code: string;
60327
+ message: string;
60328
+ links?: {
60329
+ docs: string;
60330
+ schema: string;
60331
+ };
60332
+ issues?: {
60333
+ message: string;
60334
+ path?: (string | number)[];
60335
+ schema?: string;
60336
+ }[];
60337
+ retryable?: boolean;
60338
+ context?: unknown;
60339
+ };
60340
+ };
60341
+ };
60342
+ /** @description Unauthorized */
60343
+ 401: {
60344
+ headers: {
60345
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
60346
+ "Retry-After"?: number;
60347
+ [name: string]: unknown;
60348
+ };
60349
+ content: {
60350
+ "application/json": {
60351
+ code: string;
60352
+ message: string;
60353
+ links?: {
60354
+ docs: string;
60355
+ schema: string;
60356
+ };
60357
+ issues?: {
60358
+ message: string;
60359
+ path?: (string | number)[];
60360
+ schema?: string;
60361
+ }[];
60362
+ retryable?: boolean;
60363
+ context?: unknown;
60364
+ };
60365
+ };
60366
+ };
60367
+ /** @description Forbidden */
60368
+ 403: {
60369
+ headers: {
60370
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
60371
+ "Retry-After"?: number;
60372
+ [name: string]: unknown;
60373
+ };
60374
+ content: {
60375
+ "application/json": {
60376
+ code: string;
60377
+ message: string;
60378
+ links?: {
60379
+ docs: string;
60380
+ schema: string;
60381
+ };
60382
+ issues?: {
60383
+ message: string;
60384
+ path?: (string | number)[];
60385
+ schema?: string;
60386
+ }[];
60387
+ retryable?: boolean;
60388
+ context?: unknown;
60389
+ };
60390
+ };
60391
+ };
60392
+ /** @description Not found */
60393
+ 404: {
60394
+ headers: {
60395
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
60396
+ "Retry-After"?: number;
60397
+ [name: string]: unknown;
60398
+ };
60399
+ content: {
60400
+ "application/json": {
60401
+ code: string;
60402
+ message: string;
60403
+ links?: {
60404
+ docs: string;
60405
+ schema: string;
60406
+ };
60407
+ issues?: {
60408
+ message: string;
60409
+ path?: (string | number)[];
60410
+ schema?: string;
60411
+ }[];
60412
+ retryable?: boolean;
60413
+ context?: unknown;
60414
+ };
60415
+ };
60416
+ };
60417
+ /** @description Conflict */
60418
+ 409: {
60419
+ headers: {
60420
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
60421
+ "Retry-After"?: number;
60422
+ [name: string]: unknown;
60423
+ };
60424
+ content: {
60425
+ "application/json": {
60426
+ code: string;
60427
+ message: string;
60428
+ links?: {
60429
+ docs: string;
60430
+ schema: string;
60431
+ };
60432
+ issues?: {
60433
+ message: string;
60434
+ path?: (string | number)[];
60435
+ schema?: string;
60436
+ }[];
60437
+ retryable?: boolean;
60438
+ context?: unknown;
60439
+ };
60440
+ };
60441
+ };
60442
+ /** @description Gone */
60443
+ 410: {
60444
+ headers: {
60445
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
60446
+ "Retry-After"?: number;
60447
+ [name: string]: unknown;
60448
+ };
60449
+ content: {
60450
+ "application/json": {
60451
+ code: string;
60452
+ message: string;
60453
+ links?: {
60454
+ docs: string;
60455
+ schema: string;
60456
+ };
60457
+ issues?: {
60458
+ message: string;
60459
+ path?: (string | number)[];
60460
+ schema?: string;
60461
+ }[];
60462
+ retryable?: boolean;
60463
+ context?: unknown;
60464
+ };
60465
+ };
60466
+ };
60467
+ /** @description Unprocessable content */
60468
+ 422: {
60469
+ headers: {
60470
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
60471
+ "Retry-After"?: number;
60472
+ [name: string]: unknown;
60473
+ };
60474
+ content: {
60475
+ "application/json": {
60476
+ code: string;
60477
+ message: string;
60478
+ links?: {
60479
+ docs: string;
60480
+ schema: string;
60481
+ };
60482
+ issues?: {
60483
+ message: string;
60484
+ path?: (string | number)[];
60485
+ schema?: string;
60486
+ }[];
60487
+ retryable?: boolean;
60488
+ context?: unknown;
60489
+ };
60490
+ };
60491
+ };
60492
+ /** @description Internal server error */
60493
+ 500: {
60494
+ headers: {
60495
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
60496
+ "Retry-After"?: number;
60497
+ [name: string]: unknown;
60498
+ };
60499
+ content: {
60500
+ "application/json": {
60501
+ code: string;
60502
+ message: string;
60503
+ links?: {
60504
+ docs: string;
60505
+ schema: string;
60506
+ };
60507
+ issues?: {
60508
+ message: string;
60509
+ path?: (string | number)[];
60510
+ schema?: string;
60511
+ }[];
60512
+ retryable?: boolean;
60513
+ context?: unknown;
60514
+ };
60515
+ };
60516
+ };
60517
+ /** @description Service unavailable */
60518
+ 503: {
60519
+ headers: {
60520
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
60521
+ "Retry-After"?: number;
60522
+ [name: string]: unknown;
60523
+ };
60524
+ content: {
60525
+ "application/json": {
60526
+ code: string;
60527
+ message: string;
60528
+ links?: {
60529
+ docs: string;
60530
+ schema: string;
60531
+ };
60532
+ issues?: {
60533
+ message: string;
60534
+ path?: (string | number)[];
60535
+ schema?: string;
60536
+ }[];
60537
+ retryable?: boolean;
60538
+ context?: unknown;
60539
+ };
60540
+ };
60541
+ };
60542
+ };
60543
+ };
60544
+ getPaymentDeprecated: {
60545
+ parameters: {
60546
+ query?: never;
60547
+ header?: never;
60548
+ path: {
60549
+ id: string;
60550
+ };
60551
+ cookie?: never;
60552
+ };
60553
+ requestBody?: never;
60554
+ responses: {
60555
+ /** @description Successful response */
60556
+ 200: {
60557
+ headers: {
60558
+ [name: string]: unknown;
60559
+ };
60560
+ content: {
60561
+ "application/json": {
60562
+ /** Format: uuid */
60563
+ id: string;
60564
+ amount: number;
60565
+ currency?: string | null;
60566
+ description?: string | null;
60567
+ date?: string | null;
60568
+ uniqueRef?: string | null;
60569
+ isReconciled?: boolean | null;
60570
+ metadata?: {
60571
+ [key: string]: unknown;
60572
+ };
60573
+ status?: string | null;
60574
+ type?: string | null;
60575
+ lines: {
60576
+ /** Format: uuid */
60577
+ id: string;
60578
+ uniqueRef?: string | null;
60579
+ type?: string | null;
60580
+ uniqueType?: string | null;
60581
+ description?: string | null;
60582
+ amount: number;
60583
+ originalAmount?: number | null;
60584
+ originalCurrency?: string | null;
60585
+ reservationId?: string | null;
60586
+ paymentId?: string | null;
60587
+ metadata?: {
60588
+ [key: string]: unknown;
60589
+ };
60590
+ listingId?: string | null;
60591
+ listing?: unknown;
60592
+ reservation?: unknown;
60593
+ }[];
60594
+ connection?: {
60595
+ /** Format: uuid */
60596
+ id: string;
60597
+ name?: string | null;
60598
+ type?: string | null;
60599
+ appId?: string | null;
60600
+ status?: string | null;
60601
+ } | null;
60602
+ };
60603
+ };
60604
+ };
60605
+ /** @description Bad request */
60606
+ 400: {
60607
+ headers: {
60608
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
60609
+ "Retry-After"?: number;
60610
+ [name: string]: unknown;
60611
+ };
60612
+ content: {
60613
+ "application/json": {
60614
+ code: string;
60615
+ message: string;
60616
+ links?: {
60617
+ docs: string;
60618
+ schema: string;
60619
+ };
60620
+ issues?: {
60621
+ message: string;
60622
+ path?: (string | number)[];
60623
+ schema?: string;
60624
+ }[];
60625
+ retryable?: boolean;
60626
+ context?: unknown;
60627
+ };
60628
+ };
60629
+ };
60630
+ /** @description Unauthorized */
60631
+ 401: {
60632
+ headers: {
60633
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
60634
+ "Retry-After"?: number;
60635
+ [name: string]: unknown;
60636
+ };
60637
+ content: {
60638
+ "application/json": {
60639
+ code: string;
60640
+ message: string;
60641
+ links?: {
60642
+ docs: string;
60643
+ schema: string;
60644
+ };
60645
+ issues?: {
60646
+ message: string;
60647
+ path?: (string | number)[];
60648
+ schema?: string;
60649
+ }[];
60650
+ retryable?: boolean;
60651
+ context?: unknown;
60652
+ };
60653
+ };
60654
+ };
60655
+ /** @description Forbidden */
60656
+ 403: {
60657
+ headers: {
60658
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
60659
+ "Retry-After"?: number;
60660
+ [name: string]: unknown;
60661
+ };
60662
+ content: {
60663
+ "application/json": {
60664
+ code: string;
60665
+ message: string;
60666
+ links?: {
60667
+ docs: string;
60668
+ schema: string;
60669
+ };
60670
+ issues?: {
60671
+ message: string;
60672
+ path?: (string | number)[];
60673
+ schema?: string;
60674
+ }[];
60675
+ retryable?: boolean;
60676
+ context?: unknown;
60677
+ };
60678
+ };
60679
+ };
60680
+ /** @description Not found */
60681
+ 404: {
60682
+ headers: {
60683
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
60684
+ "Retry-After"?: number;
60685
+ [name: string]: unknown;
60686
+ };
60687
+ content: {
60688
+ "application/json": {
60689
+ code: string;
60690
+ message: string;
60691
+ links?: {
60692
+ docs: string;
60693
+ schema: string;
60694
+ };
60695
+ issues?: {
60696
+ message: string;
60697
+ path?: (string | number)[];
60698
+ schema?: string;
60699
+ }[];
60700
+ retryable?: boolean;
60701
+ context?: unknown;
60702
+ };
60703
+ };
60704
+ };
60705
+ /** @description Conflict */
60706
+ 409: {
60707
+ headers: {
60708
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
60709
+ "Retry-After"?: number;
60710
+ [name: string]: unknown;
60711
+ };
60712
+ content: {
60713
+ "application/json": {
60714
+ code: string;
60715
+ message: string;
60716
+ links?: {
60717
+ docs: string;
60718
+ schema: string;
60719
+ };
60720
+ issues?: {
60721
+ message: string;
60722
+ path?: (string | number)[];
60723
+ schema?: string;
60724
+ }[];
60725
+ retryable?: boolean;
60726
+ context?: unknown;
60727
+ };
60728
+ };
60729
+ };
60730
+ /** @description Gone */
60731
+ 410: {
60732
+ headers: {
60733
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
60734
+ "Retry-After"?: number;
60735
+ [name: string]: unknown;
60736
+ };
60737
+ content: {
60738
+ "application/json": {
60739
+ code: string;
60740
+ message: string;
60741
+ links?: {
60742
+ docs: string;
60743
+ schema: string;
60744
+ };
60745
+ issues?: {
60746
+ message: string;
60747
+ path?: (string | number)[];
60748
+ schema?: string;
60749
+ }[];
60750
+ retryable?: boolean;
60751
+ context?: unknown;
60752
+ };
60753
+ };
60754
+ };
60755
+ /** @description Unprocessable content */
60756
+ 422: {
60757
+ headers: {
60758
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
60759
+ "Retry-After"?: number;
60760
+ [name: string]: unknown;
60761
+ };
60762
+ content: {
60763
+ "application/json": {
60764
+ code: string;
60765
+ message: string;
60766
+ links?: {
60767
+ docs: string;
60768
+ schema: string;
60769
+ };
60770
+ issues?: {
60771
+ message: string;
60772
+ path?: (string | number)[];
60773
+ schema?: string;
60774
+ }[];
60775
+ retryable?: boolean;
60776
+ context?: unknown;
60777
+ };
60778
+ };
60779
+ };
60780
+ /** @description Internal server error */
60781
+ 500: {
60782
+ headers: {
60783
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
60784
+ "Retry-After"?: number;
60785
+ [name: string]: unknown;
60786
+ };
60787
+ content: {
60788
+ "application/json": {
60789
+ code: string;
60790
+ message: string;
60791
+ links?: {
60792
+ docs: string;
60793
+ schema: string;
60794
+ };
60795
+ issues?: {
60796
+ message: string;
60797
+ path?: (string | number)[];
60798
+ schema?: string;
60799
+ }[];
60800
+ retryable?: boolean;
60801
+ context?: unknown;
60802
+ };
60803
+ };
60804
+ };
60805
+ /** @description Service unavailable */
60806
+ 503: {
60807
+ headers: {
60808
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
60809
+ "Retry-After"?: number;
60810
+ [name: string]: unknown;
60811
+ };
60812
+ content: {
60813
+ "application/json": {
60814
+ code: string;
60815
+ message: string;
60816
+ links?: {
60817
+ docs: string;
60818
+ schema: string;
60819
+ };
60820
+ issues?: {
60821
+ message: string;
60822
+ path?: (string | number)[];
60823
+ schema?: string;
60824
+ }[];
60825
+ retryable?: boolean;
60826
+ context?: unknown;
60827
+ };
60828
+ };
60829
+ };
60830
+ };
60831
+ };
60832
+ getListings: {
60833
+ parameters: {
60834
+ query?: {
60835
+ status?: "active" | "inactive";
60836
+ connectionId?: string;
60837
+ /** @description Filter by parent listing id. Use parent=null to return only parent/root listings. */
60838
+ parent?: string | "null";
60839
+ /** @description Comma-separated listing ids. */
60840
+ ids?: string;
60841
+ search?: string;
60842
+ contactId?: string;
60843
+ /** @description Filter listings by ownership period ID. */
60844
+ ownershipPeriodId?: string;
60845
+ /** @description Comma-separated listing short refs. */
60846
+ shortRefs?: string;
60847
+ /** @description Filter listings by whether they currently have an active ownership period. */
60848
+ activeOwnership?: boolean;
60849
+ /** @description Include child listing links on each listing. */
60850
+ includeChildren?: boolean;
60851
+ /** @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. */
60852
+ activeRecurringFeePeriods?: string;
60853
+ /** @description Filter listings that have (true) or lack (false) opening balances */
60854
+ openingBalance?: boolean;
60855
+ /** @description Filter listings by setup issue code, "all" (all setup issues), or "any" (at least one setup issue) */
60856
+ issue?: "all" | "any" | "missingOwnershipOrDeactivation" | "missingFeesAndCommission" | "missingOpeningBalance";
60857
+ limit?: number;
60858
+ page?: number;
60859
+ offset?: number;
60860
+ };
60861
+ header?: never;
60862
+ path?: never;
60863
+ cookie?: never;
60864
+ };
60865
+ requestBody?: never;
60866
+ responses: {
60867
+ /** @description Successful response */
60868
+ 200: {
60869
+ headers: {
60870
+ [name: string]: unknown;
60871
+ };
60872
+ content: {
60873
+ "application/json": {
60874
+ data: {
60875
+ name: string;
60876
+ uniqueRef?: string | null;
60877
+ connectionId?: string | null;
60878
+ defaultCurrency?: string | null;
60879
+ address?: {
60880
+ full?: string | null;
60881
+ line1?: string | null;
60882
+ line2?: string | null;
60883
+ city?: string | null;
60884
+ /** @description Deprecated, use stateCode instead */
60885
+ state?: string | null;
60886
+ postalCode?: string | null;
60887
+ stateCode?: string | null;
60888
+ countryCode?: string | null;
60889
+ } | null;
60890
+ /** Format: uuid */
60891
+ id: string;
60892
+ shortRef?: string | null;
60893
+ title?: string | null;
60894
+ pmsName?: string | null;
60895
+ /** @enum {string} */
60896
+ status: "active" | "inactive";
60897
+ activeOwnership?: {
60898
+ /** Format: uuid */
60899
+ id: string;
60900
+ startAt: string;
60901
+ endAt?: string | null;
60902
+ /** @description Value in cents (100 = 1€) */
60903
+ reserve: number;
60904
+ members: {
60905
+ split?: number | null;
60906
+ /** Format: uuid */
60907
+ id: string;
60908
+ contact?: {
60909
+ /** Format: uuid */
60910
+ id: string;
60911
+ name?: string | null;
60912
+ firstName?: string | null;
60913
+ uniqueRef?: string | null;
60914
+ shortRef?: string | null;
60915
+ email?: string | null;
60916
+ /** @enum {string} */
60917
+ type: "owner" | "vendor";
60918
+ } | null;
60919
+ }[];
60920
+ setListingInactive?: boolean | null;
60921
+ /** @enum {string} */
60922
+ businessModel: "managed" | "co_host" | "co_host_airbnb";
60923
+ lock?: {
60924
+ /**
60925
+ * @description Aggregate lock state; inspect nested reasons and resource-specific field rules
60926
+ * @enum {string}
60927
+ */
60928
+ status: "locked" | "unlocked";
60929
+ /** @description Present when books closing blocks the mutation */
60930
+ booksClosed?: {
60931
+ /** @description First open accounting date */
60932
+ date: string;
60933
+ } | null;
60934
+ /** @description Present when journal entries are attached to owner statements */
60935
+ ownerStatement?: {
60936
+ /** @description Owner statements that lock the represented data */
60937
+ ids: string[];
60938
+ } | null;
60939
+ /** @description Present when bank records are linked; transaction fields that do not affect the match may remain editable */
60940
+ reconciled?: {
60941
+ /** @description Bank records linked through reconciliation */
60942
+ bankRecordIds: string[];
60943
+ } | null;
60944
+ /** @description Listing statement-period conflicts for the represented data */
60945
+ statementPeriod?: {
60946
+ hits: {
60947
+ /** Format: uuid */
60948
+ listingId: string;
60949
+ /** @description Posting date blocked by the statement period */
60950
+ txnAt: string;
60951
+ /** @description First open date for this listing period */
60952
+ openFrom: string;
60953
+ }[];
60954
+ } | null;
60955
+ } | null;
60956
+ } | null;
60957
+ activeRecurringFeePeriods?: {
60958
+ /** @description Listing period start date; unparseable values are rejected */
60959
+ startAt?: string | null;
60960
+ /** @description Listing period end date; unparseable values are rejected */
60961
+ endAt?: string | null;
60962
+ /** @description Optional listing-period override; a value equal to the definition default is stored as inherited */
60963
+ rate?: number | null;
60964
+ /** Format: uuid */
60965
+ id: string;
60966
+ recurringFee: {
60967
+ id: string;
60968
+ name: string;
60969
+ /** @enum {string} */
60970
+ type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
60971
+ rateType?: ("flat" | "percentage") | null;
60972
+ defaultRate?: number | null;
60973
+ /** @enum {string} */
60974
+ status: "active" | "inactive";
60975
+ };
60976
+ }[] | null;
60977
+ source?: {
60978
+ /** Format: uuid */
60979
+ id: string;
60980
+ type: string;
60981
+ status?: ("active" | "inactive") | null;
60982
+ appId?: string | null;
60983
+ appIcon?: string | null;
60984
+ } | null;
60985
+ parent: {
60986
+ /** Format: uuid */
60987
+ id: string;
60988
+ name: string;
60989
+ uniqueRef?: string | null;
60990
+ shortRef?: string | null;
60991
+ } | null;
60992
+ children?: {
60993
+ /** Format: uuid */
60994
+ id: string;
60995
+ name: string;
60996
+ uniqueRef?: string | null;
60997
+ shortRef?: string | null;
60998
+ }[];
60999
+ childCount: number;
61000
+ upcomingDeactivation: {
61001
+ /** @enum {string} */
61002
+ status: "active" | "disable-upcoming" | "disabled-ending" | "disabled-forever";
61003
+ period: {
61004
+ id: string;
61005
+ startAt: string;
61006
+ endAt: string | null;
61007
+ } | null;
61008
+ };
61009
+ issues: ({
61010
+ /** @constant */
61011
+ code: "missingOwnershipOrDeactivation";
61012
+ /** @constant */
61013
+ severity: "warning";
61014
+ context: Record<string, never>;
61015
+ } | {
61016
+ /** @constant */
61017
+ code: "missingFeesAndCommission";
61018
+ /** @constant */
61019
+ severity: "warning";
61020
+ context: Record<string, never>;
61021
+ } | {
61022
+ /** @constant */
61023
+ code: "missingOpeningBalance";
61024
+ /** @constant */
61025
+ severity: "warning";
61026
+ context: Record<string, never>;
61027
+ })[];
61028
+ }[];
61029
+ pagination: {
61030
+ /** @default 100 */
61031
+ limit: number;
61032
+ /** @default 1 */
61033
+ page: number;
61034
+ total: number;
61035
+ totalPage: number;
61036
+ nextPage?: number;
61037
+ };
60200
61038
  };
60201
61039
  };
60202
61040
  };
@@ -128261,7 +129099,7 @@ export interface operations {
128261
129099
  };
128262
129100
  content: {
128263
129101
  "application/json": {
128264
- 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")[];
129102
+ 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")[];
128265
129103
  };
128266
129104
  };
128267
129105
  };
@@ -128502,7 +129340,7 @@ export interface operations {
128502
129340
  requestBody?: {
128503
129341
  content: {
128504
129342
  "application/json": {
128505
- 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")[];
129343
+ 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")[];
128506
129344
  };
128507
129345
  };
128508
129346
  };
@@ -128514,7 +129352,7 @@ export interface operations {
128514
129352
  };
128515
129353
  content: {
128516
129354
  "application/json": {
128517
- 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")[];
129355
+ 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")[];
128518
129356
  };
128519
129357
  };
128520
129358
  };
@@ -128766,7 +129604,7 @@ export interface operations {
128766
129604
  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";
128767
129605
  title: string;
128768
129606
  description: string;
128769
- 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")[];
129607
+ 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")[];
128770
129608
  }[];
128771
129609
  };
128772
129610
  };
@@ -129016,7 +129854,7 @@ export interface operations {
129016
129854
  "application/json": {
129017
129855
  data: {
129018
129856
  /** @enum {string} */
129019
- 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";
129857
+ 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";
129020
129858
  }[];
129021
129859
  };
129022
129860
  };
@@ -134120,782 +134958,12 @@ export interface operations {
134120
134958
  };
134121
134959
  };
134122
134960
  };
134123
- putTransactionsAttachmentsUploadsByUploadRef: {
134124
- parameters: {
134125
- query?: never;
134126
- header?: never;
134127
- path: {
134128
- uploadRef: string;
134129
- };
134130
- cookie?: never;
134131
- };
134132
- requestBody?: never;
134133
- responses: {
134134
- /** @description Successful response */
134135
- 200: {
134136
- headers: {
134137
- [name: string]: unknown;
134138
- };
134139
- content: {
134140
- "application/json": {
134141
- /** @constant */
134142
- status: "uploaded";
134143
- };
134144
- };
134145
- };
134146
- /** @description Bad request */
134147
- 400: {
134148
- headers: {
134149
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
134150
- "Retry-After"?: number;
134151
- [name: string]: unknown;
134152
- };
134153
- content: {
134154
- "application/json": {
134155
- code: string;
134156
- message: string;
134157
- links?: {
134158
- docs: string;
134159
- schema: string;
134160
- };
134161
- issues?: {
134162
- message: string;
134163
- path?: (string | number)[];
134164
- schema?: string;
134165
- }[];
134166
- retryable?: boolean;
134167
- context?: unknown;
134168
- };
134169
- };
134170
- };
134171
- /** @description Unauthorized */
134172
- 401: {
134173
- headers: {
134174
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
134175
- "Retry-After"?: number;
134176
- [name: string]: unknown;
134177
- };
134178
- content: {
134179
- "application/json": {
134180
- code: string;
134181
- message: string;
134182
- links?: {
134183
- docs: string;
134184
- schema: string;
134185
- };
134186
- issues?: {
134187
- message: string;
134188
- path?: (string | number)[];
134189
- schema?: string;
134190
- }[];
134191
- retryable?: boolean;
134192
- context?: unknown;
134193
- };
134194
- };
134195
- };
134196
- /** @description Forbidden */
134197
- 403: {
134198
- headers: {
134199
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
134200
- "Retry-After"?: number;
134201
- [name: string]: unknown;
134202
- };
134203
- content: {
134204
- "application/json": {
134205
- code: string;
134206
- message: string;
134207
- links?: {
134208
- docs: string;
134209
- schema: string;
134210
- };
134211
- issues?: {
134212
- message: string;
134213
- path?: (string | number)[];
134214
- schema?: string;
134215
- }[];
134216
- retryable?: boolean;
134217
- context?: unknown;
134218
- };
134219
- };
134220
- };
134221
- /** @description Not found */
134222
- 404: {
134223
- headers: {
134224
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
134225
- "Retry-After"?: number;
134226
- [name: string]: unknown;
134227
- };
134228
- content: {
134229
- "application/json": {
134230
- code: string;
134231
- message: string;
134232
- links?: {
134233
- docs: string;
134234
- schema: string;
134235
- };
134236
- issues?: {
134237
- message: string;
134238
- path?: (string | number)[];
134239
- schema?: string;
134240
- }[];
134241
- retryable?: boolean;
134242
- context?: unknown;
134243
- };
134244
- };
134245
- };
134246
- /** @description Conflict */
134247
- 409: {
134248
- headers: {
134249
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
134250
- "Retry-After"?: number;
134251
- [name: string]: unknown;
134252
- };
134253
- content: {
134254
- "application/json": {
134255
- code: string;
134256
- message: string;
134257
- links?: {
134258
- docs: string;
134259
- schema: string;
134260
- };
134261
- issues?: {
134262
- message: string;
134263
- path?: (string | number)[];
134264
- schema?: string;
134265
- }[];
134266
- retryable?: boolean;
134267
- context?: unknown;
134268
- };
134269
- };
134270
- };
134271
- /** @description Gone */
134272
- 410: {
134273
- headers: {
134274
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
134275
- "Retry-After"?: number;
134276
- [name: string]: unknown;
134277
- };
134278
- content: {
134279
- "application/json": {
134280
- code: string;
134281
- message: string;
134282
- links?: {
134283
- docs: string;
134284
- schema: string;
134285
- };
134286
- issues?: {
134287
- message: string;
134288
- path?: (string | number)[];
134289
- schema?: string;
134290
- }[];
134291
- retryable?: boolean;
134292
- context?: unknown;
134293
- };
134294
- };
134295
- };
134296
- /** @description Unprocessable content */
134297
- 422: {
134298
- headers: {
134299
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
134300
- "Retry-After"?: number;
134301
- [name: string]: unknown;
134302
- };
134303
- content: {
134304
- "application/json": {
134305
- code: string;
134306
- message: string;
134307
- links?: {
134308
- docs: string;
134309
- schema: string;
134310
- };
134311
- issues?: {
134312
- message: string;
134313
- path?: (string | number)[];
134314
- schema?: string;
134315
- }[];
134316
- retryable?: boolean;
134317
- context?: unknown;
134318
- };
134319
- };
134320
- };
134321
- /** @description Internal server error */
134322
- 500: {
134323
- headers: {
134324
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
134325
- "Retry-After"?: number;
134326
- [name: string]: unknown;
134327
- };
134328
- content: {
134329
- "application/json": {
134330
- code: string;
134331
- message: string;
134332
- links?: {
134333
- docs: string;
134334
- schema: string;
134335
- };
134336
- issues?: {
134337
- message: string;
134338
- path?: (string | number)[];
134339
- schema?: string;
134340
- }[];
134341
- retryable?: boolean;
134342
- context?: unknown;
134343
- };
134344
- };
134345
- };
134346
- /** @description Service unavailable */
134347
- 503: {
134348
- headers: {
134349
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
134350
- "Retry-After"?: number;
134351
- [name: string]: unknown;
134352
- };
134353
- content: {
134354
- "application/json": {
134355
- code: string;
134356
- message: string;
134357
- links?: {
134358
- docs: string;
134359
- schema: string;
134360
- };
134361
- issues?: {
134362
- message: string;
134363
- path?: (string | number)[];
134364
- schema?: string;
134365
- }[];
134366
- retryable?: boolean;
134367
- context?: unknown;
134368
- };
134369
- };
134370
- };
134371
- };
134372
- };
134373
- putTransactionsAttachmentsById: {
134374
- parameters: {
134375
- query?: never;
134376
- header?: never;
134377
- path: {
134378
- id: string;
134379
- };
134380
- cookie?: never;
134381
- };
134382
- requestBody?: {
134383
- content: {
134384
- "application/json": {
134385
- isOwnerAccessible: boolean;
134386
- };
134387
- };
134388
- };
134389
- responses: {
134390
- /** @description Successful response */
134391
- 200: {
134392
- headers: {
134393
- [name: string]: unknown;
134394
- };
134395
- content: {
134396
- "application/json": {
134397
- /** Format: uuid */
134398
- id: string;
134399
- transactionId: string | null;
134400
- /**
134401
- * Format: date-time
134402
- * @description Timestamp string with date, time, milliseconds, and timezone.
134403
- * @example 2024-01-15T12:30:00.000+00:00
134404
- */
134405
- createdAt: string;
134406
- filename: string;
134407
- extension?: string | null;
134408
- contentType: string;
134409
- byteSize: number;
134410
- isOwnerAccessible: boolean;
134411
- };
134412
- };
134413
- };
134414
- /** @description Bad request */
134415
- 400: {
134416
- headers: {
134417
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
134418
- "Retry-After"?: number;
134419
- [name: string]: unknown;
134420
- };
134421
- content: {
134422
- "application/json": {
134423
- code: string;
134424
- message: string;
134425
- links?: {
134426
- docs: string;
134427
- schema: string;
134428
- };
134429
- issues?: {
134430
- message: string;
134431
- path?: (string | number)[];
134432
- schema?: string;
134433
- }[];
134434
- retryable?: boolean;
134435
- context?: unknown;
134436
- };
134437
- };
134438
- };
134439
- /** @description Unauthorized */
134440
- 401: {
134441
- headers: {
134442
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
134443
- "Retry-After"?: number;
134444
- [name: string]: unknown;
134445
- };
134446
- content: {
134447
- "application/json": {
134448
- code: string;
134449
- message: string;
134450
- links?: {
134451
- docs: string;
134452
- schema: string;
134453
- };
134454
- issues?: {
134455
- message: string;
134456
- path?: (string | number)[];
134457
- schema?: string;
134458
- }[];
134459
- retryable?: boolean;
134460
- context?: unknown;
134461
- };
134462
- };
134463
- };
134464
- /** @description Forbidden */
134465
- 403: {
134466
- headers: {
134467
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
134468
- "Retry-After"?: number;
134469
- [name: string]: unknown;
134470
- };
134471
- content: {
134472
- "application/json": {
134473
- code: string;
134474
- message: string;
134475
- links?: {
134476
- docs: string;
134477
- schema: string;
134478
- };
134479
- issues?: {
134480
- message: string;
134481
- path?: (string | number)[];
134482
- schema?: string;
134483
- }[];
134484
- retryable?: boolean;
134485
- context?: unknown;
134486
- };
134487
- };
134488
- };
134489
- /** @description Not found */
134490
- 404: {
134491
- headers: {
134492
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
134493
- "Retry-After"?: number;
134494
- [name: string]: unknown;
134495
- };
134496
- content: {
134497
- "application/json": {
134498
- code: string;
134499
- message: string;
134500
- links?: {
134501
- docs: string;
134502
- schema: string;
134503
- };
134504
- issues?: {
134505
- message: string;
134506
- path?: (string | number)[];
134507
- schema?: string;
134508
- }[];
134509
- retryable?: boolean;
134510
- context?: unknown;
134511
- };
134512
- };
134513
- };
134514
- /** @description Conflict */
134515
- 409: {
134516
- headers: {
134517
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
134518
- "Retry-After"?: number;
134519
- [name: string]: unknown;
134520
- };
134521
- content: {
134522
- "application/json": {
134523
- code: string;
134524
- message: string;
134525
- links?: {
134526
- docs: string;
134527
- schema: string;
134528
- };
134529
- issues?: {
134530
- message: string;
134531
- path?: (string | number)[];
134532
- schema?: string;
134533
- }[];
134534
- retryable?: boolean;
134535
- context?: unknown;
134536
- };
134537
- };
134538
- };
134539
- /** @description Gone */
134540
- 410: {
134541
- headers: {
134542
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
134543
- "Retry-After"?: number;
134544
- [name: string]: unknown;
134545
- };
134546
- content: {
134547
- "application/json": {
134548
- code: string;
134549
- message: string;
134550
- links?: {
134551
- docs: string;
134552
- schema: string;
134553
- };
134554
- issues?: {
134555
- message: string;
134556
- path?: (string | number)[];
134557
- schema?: string;
134558
- }[];
134559
- retryable?: boolean;
134560
- context?: unknown;
134561
- };
134562
- };
134563
- };
134564
- /** @description Unprocessable content */
134565
- 422: {
134566
- headers: {
134567
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
134568
- "Retry-After"?: number;
134569
- [name: string]: unknown;
134570
- };
134571
- content: {
134572
- "application/json": {
134573
- code: string;
134574
- message: string;
134575
- links?: {
134576
- docs: string;
134577
- schema: string;
134578
- };
134579
- issues?: {
134580
- message: string;
134581
- path?: (string | number)[];
134582
- schema?: string;
134583
- }[];
134584
- retryable?: boolean;
134585
- context?: unknown;
134586
- };
134587
- };
134588
- };
134589
- /** @description Internal server error */
134590
- 500: {
134591
- headers: {
134592
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
134593
- "Retry-After"?: number;
134594
- [name: string]: unknown;
134595
- };
134596
- content: {
134597
- "application/json": {
134598
- code: string;
134599
- message: string;
134600
- links?: {
134601
- docs: string;
134602
- schema: string;
134603
- };
134604
- issues?: {
134605
- message: string;
134606
- path?: (string | number)[];
134607
- schema?: string;
134608
- }[];
134609
- retryable?: boolean;
134610
- context?: unknown;
134611
- };
134612
- };
134613
- };
134614
- /** @description Service unavailable */
134615
- 503: {
134616
- headers: {
134617
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
134618
- "Retry-After"?: number;
134619
- [name: string]: unknown;
134620
- };
134621
- content: {
134622
- "application/json": {
134623
- code: string;
134624
- message: string;
134625
- links?: {
134626
- docs: string;
134627
- schema: string;
134628
- };
134629
- issues?: {
134630
- message: string;
134631
- path?: (string | number)[];
134632
- schema?: string;
134633
- }[];
134634
- retryable?: boolean;
134635
- context?: unknown;
134636
- };
134637
- };
134638
- };
134639
- };
134640
- };
134641
- deleteTransactionsAttachmentsById: {
134642
- parameters: {
134643
- query?: never;
134644
- header?: never;
134645
- path: {
134646
- id: string;
134647
- };
134648
- cookie?: never;
134649
- };
134650
- requestBody?: never;
134651
- responses: {
134652
- /** @description Successful response */
134653
- 200: {
134654
- headers: {
134655
- [name: string]: unknown;
134656
- };
134657
- content: {
134658
- "application/json": {
134659
- /** @enum {string} */
134660
- status: "deleted";
134661
- /** Format: uuid */
134662
- id: string;
134663
- };
134664
- };
134665
- };
134666
- /** @description Bad request */
134667
- 400: {
134668
- headers: {
134669
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
134670
- "Retry-After"?: number;
134671
- [name: string]: unknown;
134672
- };
134673
- content: {
134674
- "application/json": {
134675
- code: string;
134676
- message: string;
134677
- links?: {
134678
- docs: string;
134679
- schema: string;
134680
- };
134681
- issues?: {
134682
- message: string;
134683
- path?: (string | number)[];
134684
- schema?: string;
134685
- }[];
134686
- retryable?: boolean;
134687
- context?: unknown;
134688
- };
134689
- };
134690
- };
134691
- /** @description Unauthorized */
134692
- 401: {
134693
- headers: {
134694
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
134695
- "Retry-After"?: number;
134696
- [name: string]: unknown;
134697
- };
134698
- content: {
134699
- "application/json": {
134700
- code: string;
134701
- message: string;
134702
- links?: {
134703
- docs: string;
134704
- schema: string;
134705
- };
134706
- issues?: {
134707
- message: string;
134708
- path?: (string | number)[];
134709
- schema?: string;
134710
- }[];
134711
- retryable?: boolean;
134712
- context?: unknown;
134713
- };
134714
- };
134715
- };
134716
- /** @description Forbidden */
134717
- 403: {
134718
- headers: {
134719
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
134720
- "Retry-After"?: number;
134721
- [name: string]: unknown;
134722
- };
134723
- content: {
134724
- "application/json": {
134725
- code: string;
134726
- message: string;
134727
- links?: {
134728
- docs: string;
134729
- schema: string;
134730
- };
134731
- issues?: {
134732
- message: string;
134733
- path?: (string | number)[];
134734
- schema?: string;
134735
- }[];
134736
- retryable?: boolean;
134737
- context?: unknown;
134738
- };
134739
- };
134740
- };
134741
- /** @description Not found */
134742
- 404: {
134743
- headers: {
134744
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
134745
- "Retry-After"?: number;
134746
- [name: string]: unknown;
134747
- };
134748
- content: {
134749
- "application/json": {
134750
- code: string;
134751
- message: string;
134752
- links?: {
134753
- docs: string;
134754
- schema: string;
134755
- };
134756
- issues?: {
134757
- message: string;
134758
- path?: (string | number)[];
134759
- schema?: string;
134760
- }[];
134761
- retryable?: boolean;
134762
- context?: unknown;
134763
- };
134764
- };
134765
- };
134766
- /** @description Conflict */
134767
- 409: {
134768
- headers: {
134769
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
134770
- "Retry-After"?: number;
134771
- [name: string]: unknown;
134772
- };
134773
- content: {
134774
- "application/json": {
134775
- code: string;
134776
- message: string;
134777
- links?: {
134778
- docs: string;
134779
- schema: string;
134780
- };
134781
- issues?: {
134782
- message: string;
134783
- path?: (string | number)[];
134784
- schema?: string;
134785
- }[];
134786
- retryable?: boolean;
134787
- context?: unknown;
134788
- };
134789
- };
134790
- };
134791
- /** @description Gone */
134792
- 410: {
134793
- headers: {
134794
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
134795
- "Retry-After"?: number;
134796
- [name: string]: unknown;
134797
- };
134798
- content: {
134799
- "application/json": {
134800
- code: string;
134801
- message: string;
134802
- links?: {
134803
- docs: string;
134804
- schema: string;
134805
- };
134806
- issues?: {
134807
- message: string;
134808
- path?: (string | number)[];
134809
- schema?: string;
134810
- }[];
134811
- retryable?: boolean;
134812
- context?: unknown;
134813
- };
134814
- };
134815
- };
134816
- /** @description Unprocessable content */
134817
- 422: {
134818
- headers: {
134819
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
134820
- "Retry-After"?: number;
134821
- [name: string]: unknown;
134822
- };
134823
- content: {
134824
- "application/json": {
134825
- code: string;
134826
- message: string;
134827
- links?: {
134828
- docs: string;
134829
- schema: string;
134830
- };
134831
- issues?: {
134832
- message: string;
134833
- path?: (string | number)[];
134834
- schema?: string;
134835
- }[];
134836
- retryable?: boolean;
134837
- context?: unknown;
134838
- };
134839
- };
134840
- };
134841
- /** @description Internal server error */
134842
- 500: {
134843
- headers: {
134844
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
134845
- "Retry-After"?: number;
134846
- [name: string]: unknown;
134847
- };
134848
- content: {
134849
- "application/json": {
134850
- code: string;
134851
- message: string;
134852
- links?: {
134853
- docs: string;
134854
- schema: string;
134855
- };
134856
- issues?: {
134857
- message: string;
134858
- path?: (string | number)[];
134859
- schema?: string;
134860
- }[];
134861
- retryable?: boolean;
134862
- context?: unknown;
134863
- };
134864
- };
134865
- };
134866
- /** @description Service unavailable */
134867
- 503: {
134868
- headers: {
134869
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
134870
- "Retry-After"?: number;
134871
- [name: string]: unknown;
134872
- };
134873
- content: {
134874
- "application/json": {
134875
- code: string;
134876
- message: string;
134877
- links?: {
134878
- docs: string;
134879
- schema: string;
134880
- };
134881
- issues?: {
134882
- message: string;
134883
- path?: (string | number)[];
134884
- schema?: string;
134885
- }[];
134886
- retryable?: boolean;
134887
- context?: unknown;
134888
- };
134889
- };
134890
- };
134891
- };
134892
- };
134893
- getTransactionsAttachmentsByIdDownload: {
134961
+ putTransactionsAttachmentsUploadsByUploadRef: {
134894
134962
  parameters: {
134895
134963
  query?: never;
134896
134964
  header?: never;
134897
134965
  path: {
134898
- id: string;
134966
+ uploadRef: string;
134899
134967
  };
134900
134968
  cookie?: never;
134901
134969
  };
@@ -134908,8 +134976,8 @@ export interface operations {
134908
134976
  };
134909
134977
  content: {
134910
134978
  "application/json": {
134911
- /** Format: uuid */
134912
- id: string;
134979
+ /** @constant */
134980
+ status: "uploaded";
134913
134981
  };
134914
134982
  };
134915
134983
  };
@@ -135140,122 +135208,19 @@ export interface operations {
135140
135208
  };
135141
135209
  };
135142
135210
  };
135143
- postTransactionsBatch: {
135211
+ putTransactionsAttachmentsById: {
135144
135212
  parameters: {
135145
- query?: {
135146
- /** @description Validate this request through the real write path, then roll back all changes. See https://docs.vrplatform.app/api/dry-run-mode. */
135147
- dryRun?: boolean;
135148
- };
135213
+ query?: never;
135149
135214
  header?: never;
135150
- path?: never;
135215
+ path: {
135216
+ id: string;
135217
+ };
135151
135218
  cookie?: never;
135152
135219
  };
135153
135220
  requestBody?: {
135154
135221
  content: {
135155
135222
  "application/json": {
135156
- /** Format: uuid */
135157
- connectionId: string;
135158
- createOnly?: boolean;
135159
- data: {
135160
- description?: string;
135161
- status?: ("active" | "inactive") | null;
135162
- /** @description Root bank account; the source account for transfers */
135163
- accountId?: string | null;
135164
- /** @description Transaction contact; required for non-opening-balance expenses */
135165
- contactId?: string | null;
135166
- uniqueRef?: string | null;
135167
- isOpeningBalance?: boolean;
135168
- /**
135169
- * @description Public transaction type. Transfers are internal bank-to-bank movements; payouts represent owner or manager distributions.
135170
- * @enum {string}
135171
- */
135172
- type: "deposit" | "expense" | "transfer" | "payout";
135173
- date: string;
135174
- currency?: string | null;
135175
- lines: {
135176
- recurringTemplateId?: string | null;
135177
- uniqueRef?: string | null;
135178
- description: string;
135179
- /** @description Explicit posting account for this transaction line */
135180
- accountId?: string | null;
135181
- /** @description System account purpose used to resolve or validate the posting account */
135182
- 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;
135183
- /** @description Value in cents (100 = 1€) */
135184
- amount: number;
135185
- appliedAmount?: {
135186
- taxRateId?: string | null;
135187
- } | null;
135188
- markup?: {
135189
- amount?: number | null;
135190
- taxRateId?: string | null;
135191
- taxBehavior?: ("excluded" | "included") | null;
135192
- } | null;
135193
- /** @description Listing attribution and owner-statement context for this line */
135194
- listingId?: string | null;
135195
- /** @description Reservation attribution; its listing becomes authoritative when resolved */
135196
- reservationId?: string | null;
135197
- /** @description Persisted owner statement linked to a payout line */
135198
- ownerStatementId?: string | null;
135199
- /** @description Optional accounting party. Defaults and allowed values depend on transaction type, listing or reservation context, account assignment, and account category. */
135200
- party?: ("owners" | "manager") | null;
135201
- contactId?: string | null;
135202
- matchReservationConfirmationCode?: string | null;
135203
- matchReservationStripeGuestRef?: string | null;
135204
- matchReservationProcessorBookingRef?: string | null;
135205
- matchLineTypeClassification?: string | null;
135206
- }[];
135207
- /** @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. */
135208
- attachmentIds?: string[] | null;
135209
- /** @description Expense payment and reconciliation state */
135210
- payment?: {
135211
- /** @description Bank records reconciled to this transaction payment */
135212
- bankRecordIds?: string[];
135213
- /**
135214
- * @description Expense payment status
135215
- * @enum {string}
135216
- */
135217
- status?: "unpaid" | "underpaid" | "overpaid" | "paid";
135218
- /** @description Payment posting date; paid expenses default to the transaction date */
135219
- date?: string | null;
135220
- lock?: {
135221
- /**
135222
- * @description Aggregate lock state; inspect nested reasons and resource-specific field rules
135223
- * @enum {string}
135224
- */
135225
- status: "locked" | "unlocked";
135226
- /** @description Present when books closing blocks the mutation */
135227
- booksClosed?: {
135228
- /** @description First open accounting date */
135229
- date: string;
135230
- } | null;
135231
- /** @description Present when journal entries are attached to owner statements */
135232
- ownerStatement?: {
135233
- /** @description Owner statements that lock the represented data */
135234
- ids: string[];
135235
- } | null;
135236
- /** @description Present when bank records are linked; transaction fields that do not affect the match may remain editable */
135237
- reconciled?: {
135238
- /** @description Bank records linked through reconciliation */
135239
- bankRecordIds: string[];
135240
- } | null;
135241
- /** @description Listing statement-period conflicts for the represented data */
135242
- statementPeriod?: {
135243
- hits: {
135244
- /** Format: uuid */
135245
- listingId: string;
135246
- /** @description Posting date blocked by the statement period */
135247
- txnAt: string;
135248
- /** @description First open date for this listing period */
135249
- openFrom: string;
135250
- }[];
135251
- } | null;
135252
- } | null;
135253
- } | null;
135254
- sourceId?: string | null;
135255
- recurringTemplateId?: string | null;
135256
- matchBankAccountLast4?: string | null;
135257
- id?: string;
135258
- }[];
135223
+ isOwnerAccessible: boolean;
135259
135224
  };
135260
135225
  };
135261
135226
  };
@@ -135267,20 +135232,272 @@ export interface operations {
135267
135232
  };
135268
135233
  content: {
135269
135234
  "application/json": {
135270
- data: {
135271
- /** Format: uuid */
135272
- id: string;
135273
- uniqueRef?: string | null;
135274
- sourceId?: string | null;
135235
+ /** Format: uuid */
135236
+ id: string;
135237
+ transactionId: string | null;
135238
+ /**
135239
+ * Format: date-time
135240
+ * @description Timestamp string with date, time, milliseconds, and timezone.
135241
+ * @example 2024-01-15T12:30:00.000+00:00
135242
+ */
135243
+ createdAt: string;
135244
+ filename: string;
135245
+ extension?: string | null;
135246
+ contentType: string;
135247
+ byteSize: number;
135248
+ isOwnerAccessible: boolean;
135249
+ };
135250
+ };
135251
+ };
135252
+ /** @description Bad request */
135253
+ 400: {
135254
+ headers: {
135255
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
135256
+ "Retry-After"?: number;
135257
+ [name: string]: unknown;
135258
+ };
135259
+ content: {
135260
+ "application/json": {
135261
+ code: string;
135262
+ message: string;
135263
+ links?: {
135264
+ docs: string;
135265
+ schema: string;
135266
+ };
135267
+ issues?: {
135268
+ message: string;
135269
+ path?: (string | number)[];
135270
+ schema?: string;
135275
135271
  }[];
135276
- issues: {
135277
- ref: string;
135278
- sourceId?: string | null;
135272
+ retryable?: boolean;
135273
+ context?: unknown;
135274
+ };
135275
+ };
135276
+ };
135277
+ /** @description Unauthorized */
135278
+ 401: {
135279
+ headers: {
135280
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
135281
+ "Retry-After"?: number;
135282
+ [name: string]: unknown;
135283
+ };
135284
+ content: {
135285
+ "application/json": {
135286
+ code: string;
135287
+ message: string;
135288
+ links?: {
135289
+ docs: string;
135290
+ schema: string;
135291
+ };
135292
+ issues?: {
135279
135293
  message: string;
135280
- /** @enum {string} */
135281
- 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";
135282
- context?: unknown;
135294
+ path?: (string | number)[];
135295
+ schema?: string;
135296
+ }[];
135297
+ retryable?: boolean;
135298
+ context?: unknown;
135299
+ };
135300
+ };
135301
+ };
135302
+ /** @description Forbidden */
135303
+ 403: {
135304
+ headers: {
135305
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
135306
+ "Retry-After"?: number;
135307
+ [name: string]: unknown;
135308
+ };
135309
+ content: {
135310
+ "application/json": {
135311
+ code: string;
135312
+ message: string;
135313
+ links?: {
135314
+ docs: string;
135315
+ schema: string;
135316
+ };
135317
+ issues?: {
135318
+ message: string;
135319
+ path?: (string | number)[];
135320
+ schema?: string;
135321
+ }[];
135322
+ retryable?: boolean;
135323
+ context?: unknown;
135324
+ };
135325
+ };
135326
+ };
135327
+ /** @description Not found */
135328
+ 404: {
135329
+ headers: {
135330
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
135331
+ "Retry-After"?: number;
135332
+ [name: string]: unknown;
135333
+ };
135334
+ content: {
135335
+ "application/json": {
135336
+ code: string;
135337
+ message: string;
135338
+ links?: {
135339
+ docs: string;
135340
+ schema: string;
135341
+ };
135342
+ issues?: {
135343
+ message: string;
135344
+ path?: (string | number)[];
135345
+ schema?: string;
135283
135346
  }[];
135347
+ retryable?: boolean;
135348
+ context?: unknown;
135349
+ };
135350
+ };
135351
+ };
135352
+ /** @description Conflict */
135353
+ 409: {
135354
+ headers: {
135355
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
135356
+ "Retry-After"?: number;
135357
+ [name: string]: unknown;
135358
+ };
135359
+ content: {
135360
+ "application/json": {
135361
+ code: string;
135362
+ message: string;
135363
+ links?: {
135364
+ docs: string;
135365
+ schema: string;
135366
+ };
135367
+ issues?: {
135368
+ message: string;
135369
+ path?: (string | number)[];
135370
+ schema?: string;
135371
+ }[];
135372
+ retryable?: boolean;
135373
+ context?: unknown;
135374
+ };
135375
+ };
135376
+ };
135377
+ /** @description Gone */
135378
+ 410: {
135379
+ headers: {
135380
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
135381
+ "Retry-After"?: number;
135382
+ [name: string]: unknown;
135383
+ };
135384
+ content: {
135385
+ "application/json": {
135386
+ code: string;
135387
+ message: string;
135388
+ links?: {
135389
+ docs: string;
135390
+ schema: string;
135391
+ };
135392
+ issues?: {
135393
+ message: string;
135394
+ path?: (string | number)[];
135395
+ schema?: string;
135396
+ }[];
135397
+ retryable?: boolean;
135398
+ context?: unknown;
135399
+ };
135400
+ };
135401
+ };
135402
+ /** @description Unprocessable content */
135403
+ 422: {
135404
+ headers: {
135405
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
135406
+ "Retry-After"?: number;
135407
+ [name: string]: unknown;
135408
+ };
135409
+ content: {
135410
+ "application/json": {
135411
+ code: string;
135412
+ message: string;
135413
+ links?: {
135414
+ docs: string;
135415
+ schema: string;
135416
+ };
135417
+ issues?: {
135418
+ message: string;
135419
+ path?: (string | number)[];
135420
+ schema?: string;
135421
+ }[];
135422
+ retryable?: boolean;
135423
+ context?: unknown;
135424
+ };
135425
+ };
135426
+ };
135427
+ /** @description Internal server error */
135428
+ 500: {
135429
+ headers: {
135430
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
135431
+ "Retry-After"?: number;
135432
+ [name: string]: unknown;
135433
+ };
135434
+ content: {
135435
+ "application/json": {
135436
+ code: string;
135437
+ message: string;
135438
+ links?: {
135439
+ docs: string;
135440
+ schema: string;
135441
+ };
135442
+ issues?: {
135443
+ message: string;
135444
+ path?: (string | number)[];
135445
+ schema?: string;
135446
+ }[];
135447
+ retryable?: boolean;
135448
+ context?: unknown;
135449
+ };
135450
+ };
135451
+ };
135452
+ /** @description Service unavailable */
135453
+ 503: {
135454
+ headers: {
135455
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
135456
+ "Retry-After"?: number;
135457
+ [name: string]: unknown;
135458
+ };
135459
+ content: {
135460
+ "application/json": {
135461
+ code: string;
135462
+ message: string;
135463
+ links?: {
135464
+ docs: string;
135465
+ schema: string;
135466
+ };
135467
+ issues?: {
135468
+ message: string;
135469
+ path?: (string | number)[];
135470
+ schema?: string;
135471
+ }[];
135472
+ retryable?: boolean;
135473
+ context?: unknown;
135474
+ };
135475
+ };
135476
+ };
135477
+ };
135478
+ };
135479
+ deleteTransactionsAttachmentsById: {
135480
+ parameters: {
135481
+ query?: never;
135482
+ header?: never;
135483
+ path: {
135484
+ id: string;
135485
+ };
135486
+ cookie?: never;
135487
+ };
135488
+ requestBody?: never;
135489
+ responses: {
135490
+ /** @description Successful response */
135491
+ 200: {
135492
+ headers: {
135493
+ [name: string]: unknown;
135494
+ };
135495
+ content: {
135496
+ "application/json": {
135497
+ /** @enum {string} */
135498
+ status: "deleted";
135499
+ /** Format: uuid */
135500
+ id: string;
135284
135501
  };
135285
135502
  };
135286
135503
  };
@@ -135511,17 +135728,13 @@ export interface operations {
135511
135728
  };
135512
135729
  };
135513
135730
  };
135514
- getTransactionsByLast4: {
135731
+ getTransactionsAttachmentsByIdDownload: {
135515
135732
  parameters: {
135516
- query?: {
135517
- /** @description Filter by status. Defaults to both. */
135518
- status?: "active" | "inactive";
135519
- limit?: number;
135520
- page?: number;
135521
- offset?: number;
135522
- };
135733
+ query?: never;
135523
135734
  header?: never;
135524
- path?: never;
135735
+ path: {
135736
+ id: string;
135737
+ };
135525
135738
  cookie?: never;
135526
135739
  };
135527
135740
  requestBody?: never;
@@ -135533,19 +135746,8 @@ export interface operations {
135533
135746
  };
135534
135747
  content: {
135535
135748
  "application/json": {
135536
- data: {
135537
- last4: string;
135538
- totalTransactions: number;
135539
- }[];
135540
- pagination: {
135541
- /** @default 100 */
135542
- limit: number;
135543
- /** @default 1 */
135544
- page: number;
135545
- total: number;
135546
- totalPage: number;
135547
- nextPage?: number;
135548
- };
135749
+ /** Format: uuid */
135750
+ id: string;
135549
135751
  };
135550
135752
  };
135551
135753
  };
@@ -135776,52 +135978,125 @@ export interface operations {
135776
135978
  };
135777
135979
  };
135778
135980
  };
135779
- getTransactionsCsv: {
135981
+ postTransactionsBatch: {
135780
135982
  parameters: {
135781
135983
  query?: {
135782
- /** @description Public transaction type. Transfers are internal bank-to-bank movements; payouts represent owner or manager distributions. */
135783
- type?: "deposit" | "expense" | "transfer" | "payout";
135784
- isOpeningBalance?: boolean;
135785
- status?: "active" | "inactive";
135786
- includeLines?: boolean;
135787
- accountId?: string;
135788
- last4?: string;
135789
- isLocked?: boolean;
135790
- hasActiveJournalEntries?: boolean;
135791
- /** @description connection id or 'null' for manual transactions */
135792
- connectionId?: string;
135793
- /** @description Amount in cents with signed 32-bit magnitude; also accepts ranges like 100...200 */
135794
- amount?: string;
135795
- /** @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. */
135796
- paidAtRange?: string;
135797
- /** @description Filter transactions by linked bank record date. */
135798
- matchedBankRecordDateRange?: string;
135799
- /** @description Controls how dateRange and paidAtRange are applied. all applies both filters together, and or matches transaction date OR paid date. */
135800
- dateRangeCondition?: "all" | "or";
135801
- /** @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. */
135802
- dateRange?: string;
135803
- /** @description Whether the end date in `dateRange` or `paidAtRange` is treated as inclusive (`true`) or exclusive (`false`). */
135804
- isDateRangeEndInclusive?: boolean;
135805
- /** @description Comma-separated transaction unique refs. */
135806
- uniqueRefs?: string;
135807
- shortRefs?: string;
135808
- ids?: string;
135809
- search?: string;
135810
- recurringTemplateId?: string;
135811
- paidStatus?: "unpaid" | "underpaid" | "overpaid" | "paid";
135812
- matchedByBankRule?: boolean;
135813
- /** @description Filter transactions by reconciled state. True only returns reconciled transactions. Candidate returns unreconciled match candidates for accountId. */
135814
- reconciled?: boolean | "candidate";
135815
- contactId?: string;
135816
- listingIds?: string;
135817
- /** @description Controls listingIds filter expansion. withChildren includes direct child listings when a parent listing is selected; exact only matches the selected listing ids. */
135818
- listingScope?: "exact" | "withChildren";
135984
+ /** @description Validate this request through the real write path, then roll back all changes. See https://docs.vrplatform.app/api/dry-run-mode. */
135985
+ dryRun?: boolean;
135819
135986
  };
135820
135987
  header?: never;
135821
135988
  path?: never;
135822
135989
  cookie?: never;
135823
135990
  };
135824
- requestBody?: never;
135991
+ requestBody?: {
135992
+ content: {
135993
+ "application/json": {
135994
+ /** Format: uuid */
135995
+ connectionId: string;
135996
+ createOnly?: boolean;
135997
+ data: {
135998
+ description?: string;
135999
+ status?: ("active" | "inactive") | null;
136000
+ /** @description Root bank account; the source account for transfers */
136001
+ accountId?: string | null;
136002
+ /** @description Transaction contact; required for non-opening-balance expenses */
136003
+ contactId?: string | null;
136004
+ uniqueRef?: string | null;
136005
+ isOpeningBalance?: boolean;
136006
+ /**
136007
+ * @description Public transaction type. Transfers are internal bank-to-bank movements; payouts represent owner or manager distributions.
136008
+ * @enum {string}
136009
+ */
136010
+ type: "deposit" | "expense" | "transfer" | "payout";
136011
+ date: string;
136012
+ currency?: string | null;
136013
+ lines: {
136014
+ recurringTemplateId?: string | null;
136015
+ uniqueRef?: string | null;
136016
+ description: string;
136017
+ /** @description Explicit posting account for this transaction line */
136018
+ accountId?: string | null;
136019
+ /** @description System account purpose used to resolve or validate the posting account */
136020
+ 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;
136021
+ /** @description Value in cents (100 = 1€) */
136022
+ amount: number;
136023
+ appliedAmount?: {
136024
+ taxRateId?: string | null;
136025
+ } | null;
136026
+ markup?: {
136027
+ amount?: number | null;
136028
+ taxRateId?: string | null;
136029
+ taxBehavior?: ("excluded" | "included") | null;
136030
+ } | null;
136031
+ /** @description Listing attribution and owner-statement context for this line */
136032
+ listingId?: string | null;
136033
+ /** @description Reservation attribution; its listing becomes authoritative when resolved */
136034
+ reservationId?: string | null;
136035
+ /** @description Persisted owner statement linked to a payout line */
136036
+ ownerStatementId?: string | null;
136037
+ /** @description Optional accounting party. Defaults and allowed values depend on transaction type, listing or reservation context, account assignment, and account category. */
136038
+ party?: ("owners" | "manager") | null;
136039
+ contactId?: string | null;
136040
+ matchReservationConfirmationCode?: string | null;
136041
+ matchReservationStripeGuestRef?: string | null;
136042
+ matchReservationProcessorBookingRef?: string | null;
136043
+ matchLineTypeClassification?: string | null;
136044
+ }[];
136045
+ /** @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. */
136046
+ attachmentIds?: string[] | null;
136047
+ /** @description Expense payment and reconciliation state */
136048
+ payment?: {
136049
+ /** @description Bank records reconciled to this transaction payment */
136050
+ bankRecordIds?: string[];
136051
+ /**
136052
+ * @description Expense payment status
136053
+ * @enum {string}
136054
+ */
136055
+ status?: "unpaid" | "underpaid" | "overpaid" | "paid";
136056
+ /** @description Payment posting date; paid expenses default to the transaction date */
136057
+ date?: string | null;
136058
+ lock?: {
136059
+ /**
136060
+ * @description Aggregate lock state; inspect nested reasons and resource-specific field rules
136061
+ * @enum {string}
136062
+ */
136063
+ status: "locked" | "unlocked";
136064
+ /** @description Present when books closing blocks the mutation */
136065
+ booksClosed?: {
136066
+ /** @description First open accounting date */
136067
+ date: string;
136068
+ } | null;
136069
+ /** @description Present when journal entries are attached to owner statements */
136070
+ ownerStatement?: {
136071
+ /** @description Owner statements that lock the represented data */
136072
+ ids: string[];
136073
+ } | null;
136074
+ /** @description Present when bank records are linked; transaction fields that do not affect the match may remain editable */
136075
+ reconciled?: {
136076
+ /** @description Bank records linked through reconciliation */
136077
+ bankRecordIds: string[];
136078
+ } | null;
136079
+ /** @description Listing statement-period conflicts for the represented data */
136080
+ statementPeriod?: {
136081
+ hits: {
136082
+ /** Format: uuid */
136083
+ listingId: string;
136084
+ /** @description Posting date blocked by the statement period */
136085
+ txnAt: string;
136086
+ /** @description First open date for this listing period */
136087
+ openFrom: string;
136088
+ }[];
136089
+ } | null;
136090
+ } | null;
136091
+ } | null;
136092
+ sourceId?: string | null;
136093
+ recurringTemplateId?: string | null;
136094
+ matchBankAccountLast4?: string | null;
136095
+ id?: string;
136096
+ }[];
136097
+ };
136098
+ };
136099
+ };
135825
136100
  responses: {
135826
136101
  /** @description Successful response */
135827
136102
  200: {
@@ -135830,7 +136105,20 @@ export interface operations {
135830
136105
  };
135831
136106
  content: {
135832
136107
  "application/json": {
135833
- url: string;
136108
+ data: {
136109
+ /** Format: uuid */
136110
+ id: string;
136111
+ uniqueRef?: string | null;
136112
+ sourceId?: string | null;
136113
+ }[];
136114
+ issues: {
136115
+ ref: string;
136116
+ sourceId?: string | null;
136117
+ message: string;
136118
+ /** @enum {string} */
136119
+ 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";
136120
+ context?: unknown;
136121
+ }[];
135834
136122
  };
135835
136123
  };
135836
136124
  };
@@ -136061,22 +136349,20 @@ export interface operations {
136061
136349
  };
136062
136350
  };
136063
136351
  };
136064
- postTransactionsJournalEntries: {
136352
+ getTransactionsByLast4: {
136065
136353
  parameters: {
136066
- query?: never;
136354
+ query?: {
136355
+ /** @description Filter by status. Defaults to both. */
136356
+ status?: "active" | "inactive";
136357
+ limit?: number;
136358
+ page?: number;
136359
+ offset?: number;
136360
+ };
136067
136361
  header?: never;
136068
136362
  path?: never;
136069
136363
  cookie?: never;
136070
136364
  };
136071
- requestBody?: {
136072
- content: {
136073
- "application/json": {
136074
- ids?: string[];
136075
- listingIds?: string[];
136076
- date?: string;
136077
- };
136078
- };
136079
- };
136365
+ requestBody?: never;
136080
136366
  responses: {
136081
136367
  /** @description Successful response */
136082
136368
  200: {
@@ -136085,7 +136371,19 @@ export interface operations {
136085
136371
  };
136086
136372
  content: {
136087
136373
  "application/json": {
136088
- total: number;
136374
+ data: {
136375
+ last4: string;
136376
+ totalTransactions: number;
136377
+ }[];
136378
+ pagination: {
136379
+ /** @default 100 */
136380
+ limit: number;
136381
+ /** @default 1 */
136382
+ page: number;
136383
+ total: number;
136384
+ totalPage: number;
136385
+ nextPage?: number;
136386
+ };
136089
136387
  };
136090
136388
  };
136091
136389
  };
@@ -136316,16 +136614,46 @@ export interface operations {
136316
136614
  };
136317
136615
  };
136318
136616
  };
136319
- getTransactionsLineMappings: {
136617
+ getTransactionsCsv: {
136320
136618
  parameters: {
136321
136619
  query?: {
136620
+ /** @description Public transaction type. Transfers are internal bank-to-bank movements; payouts represent owner or manager distributions. */
136621
+ type?: "deposit" | "expense" | "transfer" | "payout";
136622
+ isOpeningBalance?: boolean;
136623
+ status?: "active" | "inactive";
136624
+ includeLines?: boolean;
136625
+ accountId?: string;
136626
+ last4?: string;
136627
+ isLocked?: boolean;
136628
+ hasActiveJournalEntries?: boolean;
136629
+ /** @description connection id or 'null' for manual transactions */
136630
+ connectionId?: string;
136631
+ /** @description Amount in cents with signed 32-bit magnitude; also accepts ranges like 100...200 */
136632
+ amount?: string;
136633
+ /** @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. */
136634
+ paidAtRange?: string;
136635
+ /** @description Filter transactions by linked bank record date. */
136636
+ matchedBankRecordDateRange?: string;
136637
+ /** @description Controls how dateRange and paidAtRange are applied. all applies both filters together, and or matches transaction date OR paid date. */
136638
+ dateRangeCondition?: "all" | "or";
136639
+ /** @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. */
136640
+ dateRange?: string;
136641
+ /** @description Whether the end date in `dateRange` or `paidAtRange` is treated as inclusive (`true`) or exclusive (`false`). */
136642
+ isDateRangeEndInclusive?: boolean;
136643
+ /** @description Comma-separated transaction unique refs. */
136644
+ uniqueRefs?: string;
136645
+ shortRefs?: string;
136646
+ ids?: string;
136322
136647
  search?: string;
136323
- appId?: string;
136324
- status?: "mapped" | "unmapped";
136325
- 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";
136326
- limit?: number;
136327
- page?: number;
136328
- offset?: number;
136648
+ recurringTemplateId?: string;
136649
+ paidStatus?: "unpaid" | "underpaid" | "overpaid" | "paid";
136650
+ matchedByBankRule?: boolean;
136651
+ /** @description Filter transactions by reconciled state. True only returns reconciled transactions. Candidate returns unreconciled match candidates for accountId. */
136652
+ reconciled?: boolean | "candidate";
136653
+ contactId?: string;
136654
+ listingIds?: string;
136655
+ /** @description Controls listingIds filter expansion. withChildren includes direct child listings when a parent listing is selected; exact only matches the selected listing ids. */
136656
+ listingScope?: "exact" | "withChildren";
136329
136657
  };
136330
136658
  header?: never;
136331
136659
  path?: never;
@@ -136340,19 +136668,7 @@ export interface operations {
136340
136668
  };
136341
136669
  content: {
136342
136670
  "application/json": {
136343
- data: {
136344
- type: string;
136345
- 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;
136346
- }[];
136347
- pagination: {
136348
- /** @default 100 */
136349
- limit: number;
136350
- /** @default 1 */
136351
- page: number;
136352
- total: number;
136353
- totalPage: number;
136354
- nextPage?: number;
136355
- };
136671
+ url: string;
136356
136672
  };
136357
136673
  };
136358
136674
  };
@@ -136583,19 +136899,19 @@ export interface operations {
136583
136899
  };
136584
136900
  };
136585
136901
  };
136586
- putTransactionsLineMappingsByType: {
136902
+ postTransactionsJournalEntries: {
136587
136903
  parameters: {
136588
136904
  query?: never;
136589
136905
  header?: never;
136590
- path: {
136591
- type: string;
136592
- };
136906
+ path?: never;
136593
136907
  cookie?: never;
136594
136908
  };
136595
136909
  requestBody?: {
136596
136910
  content: {
136597
136911
  "application/json": {
136598
- 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;
136912
+ ids?: string[];
136913
+ listingIds?: string[];
136914
+ date?: string;
136599
136915
  };
136600
136916
  };
136601
136917
  };
@@ -136607,8 +136923,7 @@ export interface operations {
136607
136923
  };
136608
136924
  content: {
136609
136925
  "application/json": {
136610
- type: string;
136611
- 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;
136926
+ total: number;
136612
136927
  };
136613
136928
  };
136614
136929
  };