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

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