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