@vrplatform/api 1.3.1-6381 → 1.3.1-6385

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