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