@vrplatform/api 1.3.1-stage.6033 → 1.3.1-stage.6047

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.
@@ -283,10 +283,18 @@ export interface paths {
283
283
  path?: never;
284
284
  cookie?: never;
285
285
  };
286
- /** @description List API token metadata for the current team without revealing token secrets. Requires an authenticated team admin or global VRP admin. */
286
+ /**
287
+ * @description List API token metadata for the current team without revealing token secrets. Requires an authenticated team admin or global VRP admin.
288
+ *
289
+ * Required scope: api-tokens:manage
290
+ */
287
291
  get: operations["getApiTokens"];
288
292
  put?: never;
289
- /** @description Generate an API token for the current team and return its secret. Partner teams may provide capability bundles to restrict the token; omission grants unrestricted partner API access. An optional IP allowlist is enforced on every API-key request, and an optional exact parent-origin allowlist restricts embedded-session creation and renewal. Requires an authenticated team admin or global VRP admin. The token secret is never written to audit records. */
293
+ /**
294
+ * @description Generate an API token for the current team and return its secret. Partner teams may provide capability bundles to restrict the token; omission grants unrestricted partner API access. An optional IP allowlist is enforced on every API-key request, and an optional exact parent-origin allowlist restricts embedded-session creation and renewal. Requires an authenticated team admin or global VRP admin. The token secret is never written to audit records.
295
+ *
296
+ * Required scope: api-tokens:manage
297
+ */
290
298
  post: operations["postApiTokens"];
291
299
  delete?: never;
292
300
  options?: never;
@@ -301,11 +309,19 @@ export interface paths {
301
309
  path?: never;
302
310
  cookie?: never;
303
311
  };
304
- /** @description Reveal one API token for the current team. Requires an authenticated team admin or global VRP admin. */
312
+ /**
313
+ * @description Reveal one API token for the current team. Requires an authenticated team admin or global VRP admin.
314
+ *
315
+ * Required scope: api-tokens:manage
316
+ */
305
317
  get: operations["getApiTokensById"];
306
318
  put?: never;
307
319
  post?: never;
308
- /** @description Revoke an API token for the current team immediately. Requires an authenticated team admin or global VRP admin. */
320
+ /**
321
+ * @description Revoke an API token for the current team immediately. Requires an authenticated team admin or global VRP admin.
322
+ *
323
+ * Required scope: api-tokens:manage
324
+ */
309
325
  delete: operations["deleteApiTokensById"];
310
326
  options?: never;
311
327
  head?: never;
@@ -1248,9 +1264,9 @@ export interface paths {
1248
1264
  get?: never;
1249
1265
  put?: never;
1250
1266
  /**
1251
- * @description Send owner ACH details to the single eligible Ramp push-vendor flow for verification. The server resolves the connection; clients do not select one. First use activates a flow that has never been configured, while an explicitly inactive flow remains unavailable. Raw routing and account numbers are write-only and are never stored by VRPlatform. The contact becomes ready only after Ramp confirms the account.
1267
+ * @description Send owner ACH details to the single eligible Ramp push-vendor flow for verification. This action requires ach-payment-methods:write rather than general contact write access. The server resolves the connection; clients do not select one. First use activates a flow that has never been configured, while an explicitly inactive flow remains unavailable. Raw routing and account numbers are write-only and are never stored by VRPlatform. The contact becomes ready only after Ramp confirms the account.
1252
1268
  *
1253
- * Required scope: contacts:write
1269
+ * Required scope: ach-payment-methods:write
1254
1270
  */
1255
1271
  post: operations["postContactsByIdPaymentMethodsAch"];
1256
1272
  delete?: never;
@@ -2107,7 +2123,7 @@ export interface paths {
2107
2123
  /** @description List global control-plane feature flags with team and user assignments. Omitted status returns testing and ready flags. Sorting defaults to createdAt desc. VRP-admin only. */
2108
2124
  get: operations["getInternalFeatureFlags"];
2109
2125
  put?: never;
2110
- /** @description Create a global control-plane feature flag. Team enablement and testers are managed via the teams and users sub-resources. VRP-admin only. */
2126
+ /** @description Create a global control-plane feature flag, optionally with a stable caller-supplied UUID. Team enablement and testers are managed via the teams and users sub-resources. VRP-admin only. */
2111
2127
  post: operations["postInternalFeatureFlags"];
2112
2128
  delete?: never;
2113
2129
  options?: never;
@@ -2336,7 +2352,11 @@ export interface paths {
2336
2352
  };
2337
2353
  get?: never;
2338
2354
  put?: never;
2339
- /** @description Batch post payments */
2355
+ /**
2356
+ * @description Batch post payments
2357
+ *
2358
+ * Required scope: transactions:write
2359
+ */
2340
2360
  post: operations["batchPayments"];
2341
2361
  delete?: never;
2342
2362
  options?: never;
@@ -2351,7 +2371,11 @@ export interface paths {
2351
2371
  path?: never;
2352
2372
  cookie?: never;
2353
2373
  };
2354
- /** @description List legacy payouts with full expansion. */
2374
+ /**
2375
+ * @description List legacy payouts with full expansion.
2376
+ *
2377
+ * Required scope: transactions:read
2378
+ */
2355
2379
  get: operations["getPaymentsDeprecated"];
2356
2380
  put?: never;
2357
2381
  post?: never;
@@ -2368,7 +2392,11 @@ export interface paths {
2368
2392
  path?: never;
2369
2393
  cookie?: never;
2370
2394
  };
2371
- /** @description Get legacy payout by ID. */
2395
+ /**
2396
+ * @description Get legacy payout by ID.
2397
+ *
2398
+ * Required scope: transactions:read
2399
+ */
2372
2400
  get: operations["getPaymentDeprecated"];
2373
2401
  put?: never;
2374
2402
  post?: never;
@@ -2667,7 +2695,11 @@ export interface paths {
2667
2695
  cookie?: never;
2668
2696
  };
2669
2697
  get?: never;
2670
- /** @description Update notifications for the authenticated user for the selected team */
2698
+ /**
2699
+ * @description Update notifications for the authenticated user for the selected team
2700
+ *
2701
+ * Required scope: self:write
2702
+ */
2671
2703
  put: operations["updateMeNotifications"];
2672
2704
  post?: never;
2673
2705
  delete?: never;
@@ -2833,6 +2865,8 @@ export interface paths {
2833
2865
  /**
2834
2866
  * @deprecated
2835
2867
  * @description Legacy active listing created metric
2868
+ *
2869
+ * Required scope: metrics:read
2836
2870
  */
2837
2871
  get: operations["getMetricLegacyActiveListingCreated"];
2838
2872
  put?: never;
@@ -2853,6 +2887,8 @@ export interface paths {
2853
2887
  /**
2854
2888
  * @deprecated
2855
2889
  * @description Legacy currencies metric
2890
+ *
2891
+ * Required scope: metrics:read
2856
2892
  */
2857
2893
  get: operations["getMetricLegacyCurrencies"];
2858
2894
  put?: never;
@@ -2873,6 +2909,8 @@ export interface paths {
2873
2909
  /**
2874
2910
  * @deprecated
2875
2911
  * @description Legacy payment volume metric
2912
+ *
2913
+ * Required scope: metrics:read
2876
2914
  */
2877
2915
  get: operations["getMetricLegacyPaymentVolume"];
2878
2916
  put?: never;
@@ -2893,6 +2931,8 @@ export interface paths {
2893
2931
  /**
2894
2932
  * @deprecated
2895
2933
  * @description Legacy reservation daily rate metric
2934
+ *
2935
+ * Required scope: metrics:read
2896
2936
  */
2897
2937
  get: operations["getMetricLegacyReservationDailyRate"];
2898
2938
  put?: never;
@@ -2913,6 +2953,8 @@ export interface paths {
2913
2953
  /**
2914
2954
  * @deprecated
2915
2955
  * @description Legacy reservation volume metric (superseded by /metrics/reservation-volume)
2956
+ *
2957
+ * Required scope: metrics:read
2916
2958
  */
2917
2959
  get: operations["getMetricLegacyReservationVolume"];
2918
2960
  put?: never;
@@ -4055,7 +4097,7 @@ export interface paths {
4055
4097
  /**
4056
4098
  * @description Owner statement summaries aggregated by contact and layout. Listing payouts linked to a non-owner contact are allocated by ownership split.
4057
4099
  *
4058
- * Required scope: reports:read
4100
+ * Required scope: statements:read
4059
4101
  */
4060
4102
  get: operations["getOwnerStatementSummariesPerLayoutReport"];
4061
4103
  put?: never;
@@ -4076,7 +4118,7 @@ export interface paths {
4076
4118
  /**
4077
4119
  * @description Owner statement summary CSV
4078
4120
  *
4079
- * Required scope: reports:read, reports:export
4121
+ * Required scope: statements:read, statements:export
4080
4122
  */
4081
4123
  get: operations["getOwnerStatementSummariesPerLayoutReportCsv"];
4082
4124
  put?: never;
@@ -4097,7 +4139,7 @@ export interface paths {
4097
4139
  /**
4098
4140
  * @description Owner statement summary detailed CSV (aggregated by listing/month)
4099
4141
  *
4100
- * Required scope: reports:read, reports:export
4142
+ * Required scope: statements:read, statements:export
4101
4143
  */
4102
4144
  get: operations["getOwnerStatementSummariesPerLayoutReportCsvDetailed"];
4103
4145
  put?: never;
@@ -4118,7 +4160,7 @@ export interface paths {
4118
4160
  /**
4119
4161
  * @description Owner statement summary detail aggregated by listing, month, reservation, or booking channel. Listing payouts linked to a non-owner contact are allocated by ownership split.
4120
4162
  *
4121
- * Required scope: reports:read
4163
+ * Required scope: statements:read
4122
4164
  */
4123
4165
  get: operations["getOwnerStatementSummaryPerLayoutDetailsReport"];
4124
4166
  put?: never;
@@ -4139,7 +4181,7 @@ export interface paths {
4139
4181
  /**
4140
4182
  * @description Owner statement summary detail CSV (per statement layout, combined rows)
4141
4183
  *
4142
- * Required scope: reports:read, reports:export
4184
+ * Required scope: statements:read, statements:export
4143
4185
  */
4144
4186
  get: operations["getOwnerStatementSummaryPerLayoutDetailsReportCsv"];
4145
4187
  put?: never;
@@ -4160,7 +4202,7 @@ export interface paths {
4160
4202
  /**
4161
4203
  * @description Owner statement summary detail PDF
4162
4204
  *
4163
- * Required scope: reports:read, reports:export
4205
+ * Required scope: statements:read, statements:export
4164
4206
  */
4165
4207
  get: operations["getOwnerStatementSummaryPerLayoutDetailsReportPdf"];
4166
4208
  put?: never;
@@ -4181,7 +4223,7 @@ export interface paths {
4181
4223
  /**
4182
4224
  * @description Owner statement summary PDF ZIP export
4183
4225
  *
4184
- * Required scope: reports:read, reports:export
4226
+ * Required scope: statements:read, statements:export
4185
4227
  */
4186
4228
  get: operations["getOwnerStatementSummariesPerLayoutReportPdfBatch"];
4187
4229
  put?: never;
@@ -4940,9 +4982,9 @@ export interface paths {
4940
4982
  get?: never;
4941
4983
  put?: never;
4942
4984
  /**
4943
- * @description Pay the property manager out. Creates a payout transaction with a single manager-party line against either a bank account (bankAccountId) or an explicit ledger account (lineAccountId) - exactly one of the two must be provided - and posts the resulting journal entries on the payout date. Creation respects books-closed and statement locks and supports dryRun. See https://docs.vrplatform.app/guides/build/statements.
4985
+ * @description Pay the property manager out. This requires statements:record-payout and never dispatches ACH. Creates a payout transaction with a single manager-party line against either a bank account (bankAccountId) or an explicit ledger account (lineAccountId) - exactly one of the two must be provided - and posts the resulting journal entries on the payout date. Creation respects books-closed and statement locks and supports dryRun. See https://docs.vrplatform.app/guides/build/statements.
4944
4986
  *
4945
- * Required scope: statements:pay
4987
+ * Required scope: statements:record-payout
4946
4988
  */
4947
4989
  post: operations["postStatementsManagerPay"];
4948
4990
  delete?: never;
@@ -4961,9 +5003,9 @@ export interface paths {
4961
5003
  get?: never;
4962
5004
  put?: never;
4963
5005
  /**
4964
- * @description Execute owner statement payouts with one explicit selection per ownership member. Every selection books a payout transaction against its bank account. A statement-period-locked payout date skips the statement before accounting creation; preview the same request to retrieve the first available date. `provider: "ramp"` additionally dispatches an ACH payment through the exact Ramp entity and source bank account imported for that bank account; missing or ambiguous routing, or a `payout_distribution` Category account without a completed current Ramp chart-of-accounts push, is rejected before payout creation. The first otherwise-valid Ramp payout activates a transfer flow whose status has never been configured; an explicitly inactive flow remains unavailable. `provider: null` never dispatches, even when the bank account is Ramp-backed. Each statement validates and executes atomically and independently, so one blocked statement never rolls back earlier results. Raw bank details are never accepted here; owner ACH methods are managed through `POST /contacts/{id}/payment-methods/ach`.
5006
+ * @description Execute owner statement payouts with one explicit selection per ownership member. Recording payouts requires statements:record-payout. Every selection books a payout transaction against its bank account. A statement-period-locked payout date skips the statement before accounting creation; preview the same request to retrieve the first available date. `provider: "ramp"` additionally requires ach-payments:execute and dispatches an ACH payment through the exact Ramp entity and source bank account imported for that bank account; missing or ambiguous routing, or a `payout_distribution` Category account without a completed current Ramp chart-of-accounts push, is rejected before payout creation. The first otherwise-valid Ramp payout activates a transfer flow whose status has never been configured; an explicitly inactive flow remains unavailable. `provider: null` never dispatches, even when the bank account is Ramp-backed. Each statement validates and executes atomically and independently, so one blocked statement never rolls back earlier results. Raw bank details are never accepted here; owner ACH methods are managed through `POST /contacts/{id}/payment-methods/ach`.
4965
5007
  *
4966
- * Required scope: statements:pay
5008
+ * Required scope: statements:record-payout
4967
5009
  */
4968
5010
  post: operations["postStatementsPay"];
4969
5011
  delete?: never;
@@ -5506,14 +5548,14 @@ export interface paths {
5506
5548
  };
5507
5549
  get?: never;
5508
5550
  /**
5509
- * @description Update a property-manager member role for the current team
5551
+ * @description Update a property-manager member legacy role and synchronized permission bundles for the current team. UI Permission Roles prevents demoting the last direct access manager.
5510
5552
  *
5511
- * Required scope: team-members:manage
5553
+ * Required scope: team-member-roles:manage
5512
5554
  */
5513
5555
  put: operations["putTeamMembersByUserId"];
5514
5556
  post?: never;
5515
5557
  /**
5516
- * @description Remove a member from the current team
5558
+ * @description Remove a member from the current team. UI Permission Roles prevents removing the last direct access manager; legacy mode retains the earlier removal behavior.
5517
5559
  *
5518
5560
  * Required scope: team-members:manage
5519
5561
  */
@@ -5523,6 +5565,95 @@ export interface paths {
5523
5565
  patch?: never;
5524
5566
  trace?: never;
5525
5567
  };
5568
+ "/team/members/{userId}/permission-bundles": {
5569
+ parameters: {
5570
+ query?: never;
5571
+ header?: never;
5572
+ path?: never;
5573
+ cookie?: never;
5574
+ };
5575
+ get?: never;
5576
+ /**
5577
+ * @description Replace the UI permission bundles assigned to a team member. Requires UI Permission Roles and the team-member-roles:manage permission, rejects self-updates, and keeps the legacy role field synchronized during migration.
5578
+ *
5579
+ * Required scope: team-member-roles:manage
5580
+ */
5581
+ put: operations["putTeamMembersByUserIdPermissionBundles"];
5582
+ post?: never;
5583
+ delete?: never;
5584
+ options?: never;
5585
+ head?: never;
5586
+ patch?: never;
5587
+ trace?: never;
5588
+ };
5589
+ "/team/partner-permission-policy": {
5590
+ parameters: {
5591
+ query?: never;
5592
+ header?: never;
5593
+ path?: never;
5594
+ cookie?: never;
5595
+ };
5596
+ /**
5597
+ * @description Get the selected team permissions denied to principals acting through its partner. Denials apply to enabled partner UI users and apply to embedded sessions and partner API keys only after full-team rollout.
5598
+ *
5599
+ * Required scope: partner-access-policy:manage
5600
+ */
5601
+ get: operations["getTeamPartnerPermissionPolicy"];
5602
+ /**
5603
+ * @description Replace the selected team permissions denied to partner-derived principals. Requires UI Permission Roles. Deny wins over enabled partner UI roles and, after full-team rollout, API-token and embedded-session bundles. Only a directly authorized first-party user may update this policy.
5604
+ *
5605
+ * Required scope: partner-access-policy:manage
5606
+ */
5607
+ put: operations["putTeamPartnerPermissionPolicy"];
5608
+ post?: never;
5609
+ delete?: never;
5610
+ options?: never;
5611
+ head?: never;
5612
+ patch?: never;
5613
+ trace?: never;
5614
+ };
5615
+ "/team/permission-bundles": {
5616
+ parameters: {
5617
+ query?: never;
5618
+ header?: never;
5619
+ path?: never;
5620
+ cookie?: never;
5621
+ };
5622
+ /**
5623
+ * @description List assignable UI permission bundles. The name is a stable versioned string; title and description are display values.
5624
+ *
5625
+ * Required scope: team-members:read
5626
+ */
5627
+ get: operations["getTeamPermissionBundles"];
5628
+ put?: never;
5629
+ post?: never;
5630
+ delete?: never;
5631
+ options?: never;
5632
+ head?: never;
5633
+ patch?: never;
5634
+ trace?: never;
5635
+ };
5636
+ "/team/permissions": {
5637
+ parameters: {
5638
+ query?: never;
5639
+ header?: never;
5640
+ path?: never;
5641
+ cookie?: never;
5642
+ };
5643
+ /**
5644
+ * @description List the primitive permissions used by assignable UI roles and partner access policy. Permission names are stable machine-readable strings, not UUIDs.
5645
+ *
5646
+ * Required scope: team-members:read
5647
+ */
5648
+ get: operations["getTeamPermissions"];
5649
+ put?: never;
5650
+ post?: never;
5651
+ delete?: never;
5652
+ options?: never;
5653
+ head?: never;
5654
+ patch?: never;
5655
+ trace?: never;
5656
+ };
5526
5657
  "/team/settings": {
5527
5658
  parameters: {
5528
5659
  query?: never;
@@ -5998,9 +6129,9 @@ export interface paths {
5998
6129
  get?: never;
5999
6130
  put?: never;
6000
6131
  /**
6001
- * @description Record an expense as paid manually, or request a Ramp ACH payment for an expense or payout. Ramp requests require a fundingAccountId whose imported source provides the exact Ramp entity and bank account. Every outbound bill Category account must also have a completed current Ramp chart-of-accounts push. A terminal provider failure can be retried against the existing transaction.
6132
+ * @description Record an expense as paid manually, or request a Ramp ACH payment for an expense or payout. Manual recording requires transactions:mark-paid. Ramp requests additionally require ach-payments:execute and a fundingAccountId whose imported source provides the exact Ramp entity and bank account. Every outbound bill Category account must also have a completed current Ramp chart-of-accounts push. A terminal provider failure can be retried against the existing transaction.
6002
6133
  *
6003
- * Required scope: transactions:pay
6134
+ * Required scope: transactions:mark-paid
6004
6135
  */
6005
6136
  post: operations["postTransactionsByIdPay"];
6006
6137
  delete?: never;
@@ -6041,9 +6172,9 @@ export interface paths {
6041
6172
  put?: never;
6042
6173
  post?: never;
6043
6174
  /**
6044
- * @description Unlink a never-submitted or terminal Ramp payment attempt from a transaction. Processing and paid payments cannot be unlinked.
6175
+ * @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.
6045
6176
  *
6046
- * Required scope: transactions:pay
6177
+ * Required scope: transactions:mark-paid, ach-payments:execute
6047
6178
  */
6048
6179
  delete: operations["deleteTransactionsByIdProviderPaymentsByProviderPaymentId"];
6049
6180
  options?: never;
@@ -11504,7 +11635,7 @@ export interface operations {
11504
11635
  data: {
11505
11636
  allowedEmbedParentOrigins: string[];
11506
11637
  allowedIpCidrs: string[];
11507
- bundles: ("embed:exports:v1" | "embed:reports:v1" | "embed:statements:v1" | "partner:accounting-data:v1" | "partner:audit:v1" | "partner:banking:v1" | "partner:calendar:v1" | "partner:files:v1" | "partner:general-ledger:v1" | "partner:integrations:v1" | "partner:onboarding:v1" | "partner:provisioning:v1" | "partner:recurring-fees:v1" | "partner:reports:v1" | "partner:statement-layouts:v1" | "partner:statements:v1" | "partner:team-members:v1" | "partner:webhooks:v1")[];
11638
+ bundles: ("embed:exports:v1" | "embed:reports:v1" | "embed:statements:v1" | "partner:accounting-data:v1" | "partner:ach-payments:v1" | "partner:audit:v1" | "partner:banking:v1" | "partner:calendar:v1" | "partner:files:v1" | "partner:general-ledger:v1" | "partner:integrations:v1" | "partner:onboarding:v1" | "partner:payments:v1" | "partner:provisioning:v1" | "partner:recurring-fees:v1" | "partner:reports:v1" | "partner:statement-layouts:v1" | "partner:statements:v1" | "partner:team-members:v1" | "partner:webhooks:v1")[];
11508
11639
  /** Format: uuid */
11509
11640
  id: string;
11510
11641
  /**
@@ -11516,7 +11647,7 @@ export interface operations {
11516
11647
  hint: string | null;
11517
11648
  role: string | null;
11518
11649
  scope: string | null;
11519
- scopes: ("self:read" | "self:write" | "audit:read" | "partner:read" | "teams:read" | "teams:provision" | "teams:write" | "teams:initialize" | "embedded-sessions:issue" | "team-members:read" | "team-members: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:pay" | "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:pay" | "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" | "webhooks:read" | "webhooks:manage" | "webhooks:replay")[];
11650
+ scopes: ("self:read" | "self:write" | "audit: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")[];
11520
11651
  }[];
11521
11652
  pagination: {
11522
11653
  /** @default 100 */
@@ -11772,7 +11903,7 @@ export interface operations {
11772
11903
  /** @description Optional IPv4 or IPv6 addresses and CIDRs allowed to use this token. Individual addresses are normalized to /32 or /128. Omit or send an empty array for no IP restriction. */
11773
11904
  allowedIpCidrs?: string[];
11774
11905
  /** @description Optional capability restrictions for a partner-owned API token. Omit for unrestricted partner API access. Rejected for ordinary teams. */
11775
- bundles?: ("embed:exports:v1" | "embed:reports:v1" | "embed:statements:v1" | "partner:accounting-data:v1" | "partner:audit:v1" | "partner:banking:v1" | "partner:calendar:v1" | "partner:files:v1" | "partner:general-ledger:v1" | "partner:integrations:v1" | "partner:onboarding:v1" | "partner:provisioning:v1" | "partner:recurring-fees:v1" | "partner:reports:v1" | "partner:statement-layouts:v1" | "partner:statements:v1" | "partner:team-members:v1" | "partner:webhooks:v1")[];
11906
+ bundles?: ("embed:exports:v1" | "embed:reports:v1" | "embed:statements:v1" | "partner:accounting-data:v1" | "partner:ach-payments:v1" | "partner:audit:v1" | "partner:banking:v1" | "partner:calendar:v1" | "partner:files:v1" | "partner:general-ledger:v1" | "partner:integrations:v1" | "partner:onboarding:v1" | "partner:payments:v1" | "partner:provisioning:v1" | "partner:recurring-fees:v1" | "partner:reports:v1" | "partner:statement-layouts:v1" | "partner:statements:v1" | "partner:team-members:v1" | "partner:webhooks:v1")[];
11776
11907
  };
11777
11908
  };
11778
11909
  };
@@ -11786,7 +11917,7 @@ export interface operations {
11786
11917
  "application/json": {
11787
11918
  allowedEmbedParentOrigins: string[];
11788
11919
  allowedIpCidrs: string[];
11789
- bundles: ("embed:exports:v1" | "embed:reports:v1" | "embed:statements:v1" | "partner:accounting-data:v1" | "partner:audit:v1" | "partner:banking:v1" | "partner:calendar:v1" | "partner:files:v1" | "partner:general-ledger:v1" | "partner:integrations:v1" | "partner:onboarding:v1" | "partner:provisioning:v1" | "partner:recurring-fees:v1" | "partner:reports:v1" | "partner:statement-layouts:v1" | "partner:statements:v1" | "partner:team-members:v1" | "partner:webhooks:v1")[];
11920
+ bundles: ("embed:exports:v1" | "embed:reports:v1" | "embed:statements:v1" | "partner:accounting-data:v1" | "partner:ach-payments:v1" | "partner:audit:v1" | "partner:banking:v1" | "partner:calendar:v1" | "partner:files:v1" | "partner:general-ledger:v1" | "partner:integrations:v1" | "partner:onboarding:v1" | "partner:payments:v1" | "partner:provisioning:v1" | "partner:recurring-fees:v1" | "partner:reports:v1" | "partner:statement-layouts:v1" | "partner:statements:v1" | "partner:team-members:v1" | "partner:webhooks:v1")[];
11790
11921
  /** Format: uuid */
11791
11922
  id: string;
11792
11923
  /**
@@ -11798,7 +11929,7 @@ export interface operations {
11798
11929
  hint: string | null;
11799
11930
  role: string | null;
11800
11931
  scope: string | null;
11801
- scopes: ("self:read" | "self:write" | "audit:read" | "partner:read" | "teams:read" | "teams:provision" | "teams:write" | "teams:initialize" | "embedded-sessions:issue" | "team-members:read" | "team-members: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:pay" | "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:pay" | "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" | "webhooks:read" | "webhooks:manage" | "webhooks:replay")[];
11932
+ scopes: ("self:read" | "self:write" | "audit: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")[];
11802
11933
  apiToken: string;
11803
11934
  };
11804
11935
  };
@@ -12050,7 +12181,7 @@ export interface operations {
12050
12181
  "application/json": {
12051
12182
  allowedEmbedParentOrigins: string[];
12052
12183
  allowedIpCidrs: string[];
12053
- bundles: ("embed:exports:v1" | "embed:reports:v1" | "embed:statements:v1" | "partner:accounting-data:v1" | "partner:audit:v1" | "partner:banking:v1" | "partner:calendar:v1" | "partner:files:v1" | "partner:general-ledger:v1" | "partner:integrations:v1" | "partner:onboarding:v1" | "partner:provisioning:v1" | "partner:recurring-fees:v1" | "partner:reports:v1" | "partner:statement-layouts:v1" | "partner:statements:v1" | "partner:team-members:v1" | "partner:webhooks:v1")[];
12184
+ bundles: ("embed:exports:v1" | "embed:reports:v1" | "embed:statements:v1" | "partner:accounting-data:v1" | "partner:ach-payments:v1" | "partner:audit:v1" | "partner:banking:v1" | "partner:calendar:v1" | "partner:files:v1" | "partner:general-ledger:v1" | "partner:integrations:v1" | "partner:onboarding:v1" | "partner:payments:v1" | "partner:provisioning:v1" | "partner:recurring-fees:v1" | "partner:reports:v1" | "partner:statement-layouts:v1" | "partner:statements:v1" | "partner:team-members:v1" | "partner:webhooks:v1")[];
12054
12185
  /** Format: uuid */
12055
12186
  id: string;
12056
12187
  /**
@@ -12062,7 +12193,7 @@ export interface operations {
12062
12193
  hint: string | null;
12063
12194
  role: string | null;
12064
12195
  scope: string | null;
12065
- scopes: ("self:read" | "self:write" | "audit:read" | "partner:read" | "teams:read" | "teams:provision" | "teams:write" | "teams:initialize" | "embedded-sessions:issue" | "team-members:read" | "team-members: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:pay" | "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:pay" | "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" | "webhooks:read" | "webhooks:manage" | "webhooks:replay")[];
12196
+ scopes: ("self:read" | "self:write" | "audit: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")[];
12066
12197
  apiToken: string;
12067
12198
  };
12068
12199
  };
@@ -45350,6 +45481,8 @@ export interface operations {
45350
45481
  issueUrl?: string | null;
45351
45482
  status?: ("testing" | "ready" | "deployed") | null;
45352
45483
  requiredApprovals?: string[];
45484
+ /** Format: uuid */
45485
+ id?: string;
45353
45486
  };
45354
45487
  };
45355
45488
  };
@@ -57913,6 +58046,8 @@ export interface operations {
57913
58046
  membership: {
57914
58047
  /** @enum {string} */
57915
58048
  role: "admin" | "user" | "owner" | "partner";
58049
+ permissionBundles: string[];
58050
+ permissions: string[];
57916
58051
  notifications: {
57917
58052
  ownerStatementInReview: boolean;
57918
58053
  ownerStatementPublished: boolean;
@@ -116592,23 +116727,1623 @@ export interface operations {
116592
116727
  };
116593
116728
  };
116594
116729
  };
116595
- postTeamDuplicate: {
116730
+ postTeamDuplicate: {
116731
+ parameters: {
116732
+ query?: never;
116733
+ header?: never;
116734
+ path?: never;
116735
+ cookie?: never;
116736
+ };
116737
+ requestBody?: {
116738
+ content: {
116739
+ "application/json": {
116740
+ name: string;
116741
+ uniqueRef: string;
116742
+ /** @default false */
116743
+ anonymize?: boolean;
116744
+ };
116745
+ };
116746
+ };
116747
+ responses: {
116748
+ /** @description Successful response */
116749
+ 200: {
116750
+ headers: {
116751
+ [name: string]: unknown;
116752
+ };
116753
+ content: {
116754
+ "application/json": {
116755
+ /** Format: uuid */
116756
+ actionId: string;
116757
+ anonymized: boolean;
116758
+ name: string;
116759
+ /** Format: uuid */
116760
+ sourceTeamId: string;
116761
+ /** @constant */
116762
+ status: "queued";
116763
+ /** Format: uuid */
116764
+ targetTeamId: string;
116765
+ uniqueRef: string;
116766
+ };
116767
+ };
116768
+ };
116769
+ /** @description Bad request */
116770
+ 400: {
116771
+ headers: {
116772
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
116773
+ "Retry-After"?: number;
116774
+ [name: string]: unknown;
116775
+ };
116776
+ content: {
116777
+ "application/json": {
116778
+ code: string;
116779
+ message: string;
116780
+ links?: {
116781
+ docs: string;
116782
+ schema: string;
116783
+ };
116784
+ issues?: {
116785
+ message: string;
116786
+ path?: (string | number)[];
116787
+ schema?: string;
116788
+ }[];
116789
+ retryable?: boolean;
116790
+ context?: unknown;
116791
+ };
116792
+ };
116793
+ };
116794
+ /** @description Unauthorized */
116795
+ 401: {
116796
+ headers: {
116797
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
116798
+ "Retry-After"?: number;
116799
+ [name: string]: unknown;
116800
+ };
116801
+ content: {
116802
+ "application/json": {
116803
+ code: string;
116804
+ message: string;
116805
+ links?: {
116806
+ docs: string;
116807
+ schema: string;
116808
+ };
116809
+ issues?: {
116810
+ message: string;
116811
+ path?: (string | number)[];
116812
+ schema?: string;
116813
+ }[];
116814
+ retryable?: boolean;
116815
+ context?: unknown;
116816
+ };
116817
+ };
116818
+ };
116819
+ /** @description Forbidden */
116820
+ 403: {
116821
+ headers: {
116822
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
116823
+ "Retry-After"?: number;
116824
+ [name: string]: unknown;
116825
+ };
116826
+ content: {
116827
+ "application/json": {
116828
+ code: string;
116829
+ message: string;
116830
+ links?: {
116831
+ docs: string;
116832
+ schema: string;
116833
+ };
116834
+ issues?: {
116835
+ message: string;
116836
+ path?: (string | number)[];
116837
+ schema?: string;
116838
+ }[];
116839
+ retryable?: boolean;
116840
+ context?: unknown;
116841
+ };
116842
+ };
116843
+ };
116844
+ /** @description Not found */
116845
+ 404: {
116846
+ headers: {
116847
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
116848
+ "Retry-After"?: number;
116849
+ [name: string]: unknown;
116850
+ };
116851
+ content: {
116852
+ "application/json": {
116853
+ code: string;
116854
+ message: string;
116855
+ links?: {
116856
+ docs: string;
116857
+ schema: string;
116858
+ };
116859
+ issues?: {
116860
+ message: string;
116861
+ path?: (string | number)[];
116862
+ schema?: string;
116863
+ }[];
116864
+ retryable?: boolean;
116865
+ context?: unknown;
116866
+ };
116867
+ };
116868
+ };
116869
+ /** @description Conflict */
116870
+ 409: {
116871
+ headers: {
116872
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
116873
+ "Retry-After"?: number;
116874
+ [name: string]: unknown;
116875
+ };
116876
+ content: {
116877
+ "application/json": {
116878
+ code: string;
116879
+ message: string;
116880
+ links?: {
116881
+ docs: string;
116882
+ schema: string;
116883
+ };
116884
+ issues?: {
116885
+ message: string;
116886
+ path?: (string | number)[];
116887
+ schema?: string;
116888
+ }[];
116889
+ retryable?: boolean;
116890
+ context?: unknown;
116891
+ };
116892
+ };
116893
+ };
116894
+ /** @description Gone */
116895
+ 410: {
116896
+ headers: {
116897
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
116898
+ "Retry-After"?: number;
116899
+ [name: string]: unknown;
116900
+ };
116901
+ content: {
116902
+ "application/json": {
116903
+ code: string;
116904
+ message: string;
116905
+ links?: {
116906
+ docs: string;
116907
+ schema: string;
116908
+ };
116909
+ issues?: {
116910
+ message: string;
116911
+ path?: (string | number)[];
116912
+ schema?: string;
116913
+ }[];
116914
+ retryable?: boolean;
116915
+ context?: unknown;
116916
+ };
116917
+ };
116918
+ };
116919
+ /** @description Unprocessable content */
116920
+ 422: {
116921
+ headers: {
116922
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
116923
+ "Retry-After"?: number;
116924
+ [name: string]: unknown;
116925
+ };
116926
+ content: {
116927
+ "application/json": {
116928
+ code: string;
116929
+ message: string;
116930
+ links?: {
116931
+ docs: string;
116932
+ schema: string;
116933
+ };
116934
+ issues?: {
116935
+ message: string;
116936
+ path?: (string | number)[];
116937
+ schema?: string;
116938
+ }[];
116939
+ retryable?: boolean;
116940
+ context?: unknown;
116941
+ };
116942
+ };
116943
+ };
116944
+ /** @description Internal server error */
116945
+ 500: {
116946
+ headers: {
116947
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
116948
+ "Retry-After"?: number;
116949
+ [name: string]: unknown;
116950
+ };
116951
+ content: {
116952
+ "application/json": {
116953
+ code: string;
116954
+ message: string;
116955
+ links?: {
116956
+ docs: string;
116957
+ schema: string;
116958
+ };
116959
+ issues?: {
116960
+ message: string;
116961
+ path?: (string | number)[];
116962
+ schema?: string;
116963
+ }[];
116964
+ retryable?: boolean;
116965
+ context?: unknown;
116966
+ };
116967
+ };
116968
+ };
116969
+ /** @description Service unavailable */
116970
+ 503: {
116971
+ headers: {
116972
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
116973
+ "Retry-After"?: number;
116974
+ [name: string]: unknown;
116975
+ };
116976
+ content: {
116977
+ "application/json": {
116978
+ code: string;
116979
+ message: string;
116980
+ links?: {
116981
+ docs: string;
116982
+ schema: string;
116983
+ };
116984
+ issues?: {
116985
+ message: string;
116986
+ path?: (string | number)[];
116987
+ schema?: string;
116988
+ }[];
116989
+ retryable?: boolean;
116990
+ context?: unknown;
116991
+ };
116992
+ };
116993
+ };
116994
+ };
116995
+ };
116996
+ postTeamGenerateDemoData: {
116997
+ parameters: {
116998
+ query?: never;
116999
+ header?: never;
117000
+ path?: never;
117001
+ cookie?: never;
117002
+ };
117003
+ requestBody?: {
117004
+ content: {
117005
+ "application/json": Record<string, never>;
117006
+ };
117007
+ };
117008
+ responses: {
117009
+ /** @description Successful response */
117010
+ 200: {
117011
+ headers: {
117012
+ [name: string]: unknown;
117013
+ };
117014
+ content: {
117015
+ "application/json": {
117016
+ ok: boolean;
117017
+ };
117018
+ };
117019
+ };
117020
+ /** @description Bad request */
117021
+ 400: {
117022
+ headers: {
117023
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
117024
+ "Retry-After"?: number;
117025
+ [name: string]: unknown;
117026
+ };
117027
+ content: {
117028
+ "application/json": {
117029
+ code: string;
117030
+ message: string;
117031
+ links?: {
117032
+ docs: string;
117033
+ schema: string;
117034
+ };
117035
+ issues?: {
117036
+ message: string;
117037
+ path?: (string | number)[];
117038
+ schema?: string;
117039
+ }[];
117040
+ retryable?: boolean;
117041
+ context?: unknown;
117042
+ };
117043
+ };
117044
+ };
117045
+ /** @description Unauthorized */
117046
+ 401: {
117047
+ headers: {
117048
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
117049
+ "Retry-After"?: number;
117050
+ [name: string]: unknown;
117051
+ };
117052
+ content: {
117053
+ "application/json": {
117054
+ code: string;
117055
+ message: string;
117056
+ links?: {
117057
+ docs: string;
117058
+ schema: string;
117059
+ };
117060
+ issues?: {
117061
+ message: string;
117062
+ path?: (string | number)[];
117063
+ schema?: string;
117064
+ }[];
117065
+ retryable?: boolean;
117066
+ context?: unknown;
117067
+ };
117068
+ };
117069
+ };
117070
+ /** @description Forbidden */
117071
+ 403: {
117072
+ headers: {
117073
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
117074
+ "Retry-After"?: number;
117075
+ [name: string]: unknown;
117076
+ };
117077
+ content: {
117078
+ "application/json": {
117079
+ code: string;
117080
+ message: string;
117081
+ links?: {
117082
+ docs: string;
117083
+ schema: string;
117084
+ };
117085
+ issues?: {
117086
+ message: string;
117087
+ path?: (string | number)[];
117088
+ schema?: string;
117089
+ }[];
117090
+ retryable?: boolean;
117091
+ context?: unknown;
117092
+ };
117093
+ };
117094
+ };
117095
+ /** @description Not found */
117096
+ 404: {
117097
+ headers: {
117098
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
117099
+ "Retry-After"?: number;
117100
+ [name: string]: unknown;
117101
+ };
117102
+ content: {
117103
+ "application/json": {
117104
+ code: string;
117105
+ message: string;
117106
+ links?: {
117107
+ docs: string;
117108
+ schema: string;
117109
+ };
117110
+ issues?: {
117111
+ message: string;
117112
+ path?: (string | number)[];
117113
+ schema?: string;
117114
+ }[];
117115
+ retryable?: boolean;
117116
+ context?: unknown;
117117
+ };
117118
+ };
117119
+ };
117120
+ /** @description Conflict */
117121
+ 409: {
117122
+ headers: {
117123
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
117124
+ "Retry-After"?: number;
117125
+ [name: string]: unknown;
117126
+ };
117127
+ content: {
117128
+ "application/json": {
117129
+ code: string;
117130
+ message: string;
117131
+ links?: {
117132
+ docs: string;
117133
+ schema: string;
117134
+ };
117135
+ issues?: {
117136
+ message: string;
117137
+ path?: (string | number)[];
117138
+ schema?: string;
117139
+ }[];
117140
+ retryable?: boolean;
117141
+ context?: unknown;
117142
+ };
117143
+ };
117144
+ };
117145
+ /** @description Gone */
117146
+ 410: {
117147
+ headers: {
117148
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
117149
+ "Retry-After"?: number;
117150
+ [name: string]: unknown;
117151
+ };
117152
+ content: {
117153
+ "application/json": {
117154
+ code: string;
117155
+ message: string;
117156
+ links?: {
117157
+ docs: string;
117158
+ schema: string;
117159
+ };
117160
+ issues?: {
117161
+ message: string;
117162
+ path?: (string | number)[];
117163
+ schema?: string;
117164
+ }[];
117165
+ retryable?: boolean;
117166
+ context?: unknown;
117167
+ };
117168
+ };
117169
+ };
117170
+ /** @description Unprocessable content */
117171
+ 422: {
117172
+ headers: {
117173
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
117174
+ "Retry-After"?: number;
117175
+ [name: string]: unknown;
117176
+ };
117177
+ content: {
117178
+ "application/json": {
117179
+ code: string;
117180
+ message: string;
117181
+ links?: {
117182
+ docs: string;
117183
+ schema: string;
117184
+ };
117185
+ issues?: {
117186
+ message: string;
117187
+ path?: (string | number)[];
117188
+ schema?: string;
117189
+ }[];
117190
+ retryable?: boolean;
117191
+ context?: unknown;
117192
+ };
117193
+ };
117194
+ };
117195
+ /** @description Internal server error */
117196
+ 500: {
117197
+ headers: {
117198
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
117199
+ "Retry-After"?: number;
117200
+ [name: string]: unknown;
117201
+ };
117202
+ content: {
117203
+ "application/json": {
117204
+ code: string;
117205
+ message: string;
117206
+ links?: {
117207
+ docs: string;
117208
+ schema: string;
117209
+ };
117210
+ issues?: {
117211
+ message: string;
117212
+ path?: (string | number)[];
117213
+ schema?: string;
117214
+ }[];
117215
+ retryable?: boolean;
117216
+ context?: unknown;
117217
+ };
117218
+ };
117219
+ };
117220
+ /** @description Service unavailable */
117221
+ 503: {
117222
+ headers: {
117223
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
117224
+ "Retry-After"?: number;
117225
+ [name: string]: unknown;
117226
+ };
117227
+ content: {
117228
+ "application/json": {
117229
+ code: string;
117230
+ message: string;
117231
+ links?: {
117232
+ docs: string;
117233
+ schema: string;
117234
+ };
117235
+ issues?: {
117236
+ message: string;
117237
+ path?: (string | number)[];
117238
+ schema?: string;
117239
+ }[];
117240
+ retryable?: boolean;
117241
+ context?: unknown;
117242
+ };
117243
+ };
117244
+ };
117245
+ };
117246
+ };
117247
+ getTeamGuidesOnboarding: {
117248
+ parameters: {
117249
+ query?: never;
117250
+ header?: never;
117251
+ path?: never;
117252
+ cookie?: never;
117253
+ };
117254
+ requestBody?: never;
117255
+ responses: {
117256
+ /** @description Successful response */
117257
+ 200: {
117258
+ headers: {
117259
+ [name: string]: unknown;
117260
+ };
117261
+ content: {
117262
+ "application/json": {
117263
+ status: ("skipped" | "completed") | null;
117264
+ welcome: {
117265
+ status: ("skipped" | "completed") | null;
117266
+ updatedAt: string | null;
117267
+ };
117268
+ connectPms: {
117269
+ status: ("skipped" | "completed") | null;
117270
+ updatedAt: string | null;
117271
+ };
117272
+ connectAiAgents: {
117273
+ status: ("skipped" | "completed") | null;
117274
+ updatedAt: string | null;
117275
+ };
117276
+ connectBankAccounts: {
117277
+ status: ("skipped" | "completed") | null;
117278
+ updatedAt: string | null;
117279
+ };
117280
+ connectRamp: {
117281
+ status: ("skipped" | "completed") | null;
117282
+ updatedAt: string | null;
117283
+ };
117284
+ connectPaymentProcessors: {
117285
+ status: ("skipped" | "completed") | null;
117286
+ updatedAt: string | null;
117287
+ };
117288
+ connectAirbnb: {
117289
+ status: ("skipped" | "completed") | null;
117290
+ updatedAt: string | null;
117291
+ };
117292
+ addOwners: {
117293
+ status: ("skipped" | "completed") | null;
117294
+ updatedAt: string | null;
117295
+ };
117296
+ listingsSetup: {
117297
+ status: ("skipped" | "completed") | null;
117298
+ updatedAt: string | null;
117299
+ };
117300
+ reportingPreferences: {
117301
+ status: ("skipped" | "completed") | null;
117302
+ updatedAt: string | null;
117303
+ };
117304
+ feesAndCommissions: {
117305
+ status: ("skipped" | "completed") | null;
117306
+ updatedAt: string | null;
117307
+ };
117308
+ ownerStatementTemplate: {
117309
+ status: ("skipped" | "completed") | null;
117310
+ updatedAt: string | null;
117311
+ };
117312
+ openingBalances: {
117313
+ status: ("skipped" | "completed") | null;
117314
+ updatedAt: string | null;
117315
+ };
117316
+ historicalDataBalances: {
117317
+ status: ("skipped" | "completed") | null;
117318
+ updatedAt: string | null;
117319
+ };
117320
+ historicalOwnerStatements: {
117321
+ status: ("skipped" | "completed") | null;
117322
+ updatedAt: string | null;
117323
+ };
117324
+ addWorkflows: {
117325
+ status: ("skipped" | "completed") | null;
117326
+ updatedAt: string | null;
117327
+ };
117328
+ validateAndGoLive: {
117329
+ status: ("skipped" | "completed") | null;
117330
+ updatedAt: string | null;
117331
+ };
117332
+ };
117333
+ };
117334
+ };
117335
+ /** @description Bad request */
117336
+ 400: {
117337
+ headers: {
117338
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
117339
+ "Retry-After"?: number;
117340
+ [name: string]: unknown;
117341
+ };
117342
+ content: {
117343
+ "application/json": {
117344
+ code: string;
117345
+ message: string;
117346
+ links?: {
117347
+ docs: string;
117348
+ schema: string;
117349
+ };
117350
+ issues?: {
117351
+ message: string;
117352
+ path?: (string | number)[];
117353
+ schema?: string;
117354
+ }[];
117355
+ retryable?: boolean;
117356
+ context?: unknown;
117357
+ };
117358
+ };
117359
+ };
117360
+ /** @description Unauthorized */
117361
+ 401: {
117362
+ headers: {
117363
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
117364
+ "Retry-After"?: number;
117365
+ [name: string]: unknown;
117366
+ };
117367
+ content: {
117368
+ "application/json": {
117369
+ code: string;
117370
+ message: string;
117371
+ links?: {
117372
+ docs: string;
117373
+ schema: string;
117374
+ };
117375
+ issues?: {
117376
+ message: string;
117377
+ path?: (string | number)[];
117378
+ schema?: string;
117379
+ }[];
117380
+ retryable?: boolean;
117381
+ context?: unknown;
117382
+ };
117383
+ };
117384
+ };
117385
+ /** @description Forbidden */
117386
+ 403: {
117387
+ headers: {
117388
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
117389
+ "Retry-After"?: number;
117390
+ [name: string]: unknown;
117391
+ };
117392
+ content: {
117393
+ "application/json": {
117394
+ code: string;
117395
+ message: string;
117396
+ links?: {
117397
+ docs: string;
117398
+ schema: string;
117399
+ };
117400
+ issues?: {
117401
+ message: string;
117402
+ path?: (string | number)[];
117403
+ schema?: string;
117404
+ }[];
117405
+ retryable?: boolean;
117406
+ context?: unknown;
117407
+ };
117408
+ };
117409
+ };
117410
+ /** @description Not found */
117411
+ 404: {
117412
+ headers: {
117413
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
117414
+ "Retry-After"?: number;
117415
+ [name: string]: unknown;
117416
+ };
117417
+ content: {
117418
+ "application/json": {
117419
+ code: string;
117420
+ message: string;
117421
+ links?: {
117422
+ docs: string;
117423
+ schema: string;
117424
+ };
117425
+ issues?: {
117426
+ message: string;
117427
+ path?: (string | number)[];
117428
+ schema?: string;
117429
+ }[];
117430
+ retryable?: boolean;
117431
+ context?: unknown;
117432
+ };
117433
+ };
117434
+ };
117435
+ /** @description Conflict */
117436
+ 409: {
117437
+ headers: {
117438
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
117439
+ "Retry-After"?: number;
117440
+ [name: string]: unknown;
117441
+ };
117442
+ content: {
117443
+ "application/json": {
117444
+ code: string;
117445
+ message: string;
117446
+ links?: {
117447
+ docs: string;
117448
+ schema: string;
117449
+ };
117450
+ issues?: {
117451
+ message: string;
117452
+ path?: (string | number)[];
117453
+ schema?: string;
117454
+ }[];
117455
+ retryable?: boolean;
117456
+ context?: unknown;
117457
+ };
117458
+ };
117459
+ };
117460
+ /** @description Gone */
117461
+ 410: {
117462
+ headers: {
117463
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
117464
+ "Retry-After"?: number;
117465
+ [name: string]: unknown;
117466
+ };
117467
+ content: {
117468
+ "application/json": {
117469
+ code: string;
117470
+ message: string;
117471
+ links?: {
117472
+ docs: string;
117473
+ schema: string;
117474
+ };
117475
+ issues?: {
117476
+ message: string;
117477
+ path?: (string | number)[];
117478
+ schema?: string;
117479
+ }[];
117480
+ retryable?: boolean;
117481
+ context?: unknown;
117482
+ };
117483
+ };
117484
+ };
117485
+ /** @description Unprocessable content */
117486
+ 422: {
117487
+ headers: {
117488
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
117489
+ "Retry-After"?: number;
117490
+ [name: string]: unknown;
117491
+ };
117492
+ content: {
117493
+ "application/json": {
117494
+ code: string;
117495
+ message: string;
117496
+ links?: {
117497
+ docs: string;
117498
+ schema: string;
117499
+ };
117500
+ issues?: {
117501
+ message: string;
117502
+ path?: (string | number)[];
117503
+ schema?: string;
117504
+ }[];
117505
+ retryable?: boolean;
117506
+ context?: unknown;
117507
+ };
117508
+ };
117509
+ };
117510
+ /** @description Internal server error */
117511
+ 500: {
117512
+ headers: {
117513
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
117514
+ "Retry-After"?: number;
117515
+ [name: string]: unknown;
117516
+ };
117517
+ content: {
117518
+ "application/json": {
117519
+ code: string;
117520
+ message: string;
117521
+ links?: {
117522
+ docs: string;
117523
+ schema: string;
117524
+ };
117525
+ issues?: {
117526
+ message: string;
117527
+ path?: (string | number)[];
117528
+ schema?: string;
117529
+ }[];
117530
+ retryable?: boolean;
117531
+ context?: unknown;
117532
+ };
117533
+ };
117534
+ };
117535
+ /** @description Service unavailable */
117536
+ 503: {
117537
+ headers: {
117538
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
117539
+ "Retry-After"?: number;
117540
+ [name: string]: unknown;
117541
+ };
117542
+ content: {
117543
+ "application/json": {
117544
+ code: string;
117545
+ message: string;
117546
+ links?: {
117547
+ docs: string;
117548
+ schema: string;
117549
+ };
117550
+ issues?: {
117551
+ message: string;
117552
+ path?: (string | number)[];
117553
+ schema?: string;
117554
+ }[];
117555
+ retryable?: boolean;
117556
+ context?: unknown;
117557
+ };
117558
+ };
117559
+ };
117560
+ };
117561
+ };
117562
+ putTeamGuidesOnboarding: {
117563
+ parameters: {
117564
+ query?: never;
117565
+ header?: never;
117566
+ path?: never;
117567
+ cookie?: never;
117568
+ };
117569
+ requestBody?: {
117570
+ content: {
117571
+ "application/json": {
117572
+ status?: ("skipped" | "completed") | null;
117573
+ addOwners?: ("skipped" | "completed") | null;
117574
+ addWorkflows?: ("skipped" | "completed") | null;
117575
+ connectAiAgents?: ("skipped" | "completed") | null;
117576
+ connectAirbnb?: ("skipped" | "completed") | null;
117577
+ connectBankAccounts?: ("skipped" | "completed") | null;
117578
+ connectPaymentProcessors?: ("skipped" | "completed") | null;
117579
+ connectPms?: ("skipped" | "completed") | null;
117580
+ connectRamp?: ("skipped" | "completed") | null;
117581
+ feesAndCommissions?: ("skipped" | "completed") | null;
117582
+ historicalDataBalances?: ("skipped" | "completed") | null;
117583
+ historicalOwnerStatements?: ("skipped" | "completed") | null;
117584
+ listingsSetup?: ("skipped" | "completed") | null;
117585
+ openingBalances?: ("skipped" | "completed") | null;
117586
+ ownerStatementTemplate?: ("skipped" | "completed") | null;
117587
+ reportingPreferences?: ("skipped" | "completed") | null;
117588
+ validateAndGoLive?: ("skipped" | "completed") | null;
117589
+ welcome?: ("skipped" | "completed") | null;
117590
+ };
117591
+ };
117592
+ };
117593
+ responses: {
117594
+ /** @description Successful response */
117595
+ 200: {
117596
+ headers: {
117597
+ [name: string]: unknown;
117598
+ };
117599
+ content: {
117600
+ "application/json": {
117601
+ status: ("skipped" | "completed") | null;
117602
+ welcome: {
117603
+ status: ("skipped" | "completed") | null;
117604
+ updatedAt: string | null;
117605
+ };
117606
+ connectPms: {
117607
+ status: ("skipped" | "completed") | null;
117608
+ updatedAt: string | null;
117609
+ };
117610
+ connectAiAgents: {
117611
+ status: ("skipped" | "completed") | null;
117612
+ updatedAt: string | null;
117613
+ };
117614
+ connectBankAccounts: {
117615
+ status: ("skipped" | "completed") | null;
117616
+ updatedAt: string | null;
117617
+ };
117618
+ connectRamp: {
117619
+ status: ("skipped" | "completed") | null;
117620
+ updatedAt: string | null;
117621
+ };
117622
+ connectPaymentProcessors: {
117623
+ status: ("skipped" | "completed") | null;
117624
+ updatedAt: string | null;
117625
+ };
117626
+ connectAirbnb: {
117627
+ status: ("skipped" | "completed") | null;
117628
+ updatedAt: string | null;
117629
+ };
117630
+ addOwners: {
117631
+ status: ("skipped" | "completed") | null;
117632
+ updatedAt: string | null;
117633
+ };
117634
+ listingsSetup: {
117635
+ status: ("skipped" | "completed") | null;
117636
+ updatedAt: string | null;
117637
+ };
117638
+ reportingPreferences: {
117639
+ status: ("skipped" | "completed") | null;
117640
+ updatedAt: string | null;
117641
+ };
117642
+ feesAndCommissions: {
117643
+ status: ("skipped" | "completed") | null;
117644
+ updatedAt: string | null;
117645
+ };
117646
+ ownerStatementTemplate: {
117647
+ status: ("skipped" | "completed") | null;
117648
+ updatedAt: string | null;
117649
+ };
117650
+ openingBalances: {
117651
+ status: ("skipped" | "completed") | null;
117652
+ updatedAt: string | null;
117653
+ };
117654
+ historicalDataBalances: {
117655
+ status: ("skipped" | "completed") | null;
117656
+ updatedAt: string | null;
117657
+ };
117658
+ historicalOwnerStatements: {
117659
+ status: ("skipped" | "completed") | null;
117660
+ updatedAt: string | null;
117661
+ };
117662
+ addWorkflows: {
117663
+ status: ("skipped" | "completed") | null;
117664
+ updatedAt: string | null;
117665
+ };
117666
+ validateAndGoLive: {
117667
+ status: ("skipped" | "completed") | null;
117668
+ updatedAt: string | null;
117669
+ };
117670
+ };
117671
+ };
117672
+ };
117673
+ /** @description Bad request */
117674
+ 400: {
117675
+ headers: {
117676
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
117677
+ "Retry-After"?: number;
117678
+ [name: string]: unknown;
117679
+ };
117680
+ content: {
117681
+ "application/json": {
117682
+ code: string;
117683
+ message: string;
117684
+ links?: {
117685
+ docs: string;
117686
+ schema: string;
117687
+ };
117688
+ issues?: {
117689
+ message: string;
117690
+ path?: (string | number)[];
117691
+ schema?: string;
117692
+ }[];
117693
+ retryable?: boolean;
117694
+ context?: unknown;
117695
+ };
117696
+ };
117697
+ };
117698
+ /** @description Unauthorized */
117699
+ 401: {
117700
+ headers: {
117701
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
117702
+ "Retry-After"?: number;
117703
+ [name: string]: unknown;
117704
+ };
117705
+ content: {
117706
+ "application/json": {
117707
+ code: string;
117708
+ message: string;
117709
+ links?: {
117710
+ docs: string;
117711
+ schema: string;
117712
+ };
117713
+ issues?: {
117714
+ message: string;
117715
+ path?: (string | number)[];
117716
+ schema?: string;
117717
+ }[];
117718
+ retryable?: boolean;
117719
+ context?: unknown;
117720
+ };
117721
+ };
117722
+ };
117723
+ /** @description Forbidden */
117724
+ 403: {
117725
+ headers: {
117726
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
117727
+ "Retry-After"?: number;
117728
+ [name: string]: unknown;
117729
+ };
117730
+ content: {
117731
+ "application/json": {
117732
+ code: string;
117733
+ message: string;
117734
+ links?: {
117735
+ docs: string;
117736
+ schema: string;
117737
+ };
117738
+ issues?: {
117739
+ message: string;
117740
+ path?: (string | number)[];
117741
+ schema?: string;
117742
+ }[];
117743
+ retryable?: boolean;
117744
+ context?: unknown;
117745
+ };
117746
+ };
117747
+ };
117748
+ /** @description Not found */
117749
+ 404: {
117750
+ headers: {
117751
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
117752
+ "Retry-After"?: number;
117753
+ [name: string]: unknown;
117754
+ };
117755
+ content: {
117756
+ "application/json": {
117757
+ code: string;
117758
+ message: string;
117759
+ links?: {
117760
+ docs: string;
117761
+ schema: string;
117762
+ };
117763
+ issues?: {
117764
+ message: string;
117765
+ path?: (string | number)[];
117766
+ schema?: string;
117767
+ }[];
117768
+ retryable?: boolean;
117769
+ context?: unknown;
117770
+ };
117771
+ };
117772
+ };
117773
+ /** @description Conflict */
117774
+ 409: {
117775
+ headers: {
117776
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
117777
+ "Retry-After"?: number;
117778
+ [name: string]: unknown;
117779
+ };
117780
+ content: {
117781
+ "application/json": {
117782
+ code: string;
117783
+ message: string;
117784
+ links?: {
117785
+ docs: string;
117786
+ schema: string;
117787
+ };
117788
+ issues?: {
117789
+ message: string;
117790
+ path?: (string | number)[];
117791
+ schema?: string;
117792
+ }[];
117793
+ retryable?: boolean;
117794
+ context?: unknown;
117795
+ };
117796
+ };
117797
+ };
117798
+ /** @description Gone */
117799
+ 410: {
117800
+ headers: {
117801
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
117802
+ "Retry-After"?: number;
117803
+ [name: string]: unknown;
117804
+ };
117805
+ content: {
117806
+ "application/json": {
117807
+ code: string;
117808
+ message: string;
117809
+ links?: {
117810
+ docs: string;
117811
+ schema: string;
117812
+ };
117813
+ issues?: {
117814
+ message: string;
117815
+ path?: (string | number)[];
117816
+ schema?: string;
117817
+ }[];
117818
+ retryable?: boolean;
117819
+ context?: unknown;
117820
+ };
117821
+ };
117822
+ };
117823
+ /** @description Unprocessable content */
117824
+ 422: {
117825
+ headers: {
117826
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
117827
+ "Retry-After"?: number;
117828
+ [name: string]: unknown;
117829
+ };
117830
+ content: {
117831
+ "application/json": {
117832
+ code: string;
117833
+ message: string;
117834
+ links?: {
117835
+ docs: string;
117836
+ schema: string;
117837
+ };
117838
+ issues?: {
117839
+ message: string;
117840
+ path?: (string | number)[];
117841
+ schema?: string;
117842
+ }[];
117843
+ retryable?: boolean;
117844
+ context?: unknown;
117845
+ };
117846
+ };
117847
+ };
117848
+ /** @description Internal server error */
117849
+ 500: {
117850
+ headers: {
117851
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
117852
+ "Retry-After"?: number;
117853
+ [name: string]: unknown;
117854
+ };
117855
+ content: {
117856
+ "application/json": {
117857
+ code: string;
117858
+ message: string;
117859
+ links?: {
117860
+ docs: string;
117861
+ schema: string;
117862
+ };
117863
+ issues?: {
117864
+ message: string;
117865
+ path?: (string | number)[];
117866
+ schema?: string;
117867
+ }[];
117868
+ retryable?: boolean;
117869
+ context?: unknown;
117870
+ };
117871
+ };
117872
+ };
117873
+ /** @description Service unavailable */
117874
+ 503: {
117875
+ headers: {
117876
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
117877
+ "Retry-After"?: number;
117878
+ [name: string]: unknown;
117879
+ };
117880
+ content: {
117881
+ "application/json": {
117882
+ code: string;
117883
+ message: string;
117884
+ links?: {
117885
+ docs: string;
117886
+ schema: string;
117887
+ };
117888
+ issues?: {
117889
+ message: string;
117890
+ path?: (string | number)[];
117891
+ schema?: string;
117892
+ }[];
117893
+ retryable?: boolean;
117894
+ context?: unknown;
117895
+ };
117896
+ };
117897
+ };
117898
+ };
117899
+ };
117900
+ postTeamInit: {
117901
+ parameters: {
117902
+ query?: {
117903
+ /** @description Validate this request through the real write path, then roll back all changes. See https://docs.vrplatform.app/api/dry-run-mode. */
117904
+ dryRun?: boolean;
117905
+ };
117906
+ header?: never;
117907
+ path?: never;
117908
+ cookie?: never;
117909
+ };
117910
+ requestBody?: {
117911
+ content: {
117912
+ "application/json": {
117913
+ taxRateCountryOverwrite?: string | null;
117914
+ copyFromTeamId?: string;
117915
+ copyLineMappingsFromPartnerId?: string | null;
117916
+ include?: ("statementLayouts" | "recurringFees" | "accounts" | "taxRates" | "lineMappings")[];
117917
+ };
117918
+ };
117919
+ };
117920
+ responses: {
117921
+ /** @description Successful response */
117922
+ 200: {
117923
+ headers: {
117924
+ [name: string]: unknown;
117925
+ };
117926
+ content: {
117927
+ "application/json": {
117928
+ /** Format: uuid */
117929
+ id: string;
117930
+ uniqueRef: string | null;
117931
+ /** @enum {string} */
117932
+ dataRegion: "ap" | "crunchy" | "eu" | "hostaway" | "us";
117933
+ /** @enum {string} */
117934
+ storageRealm: "vrintegration" | "vrtrust";
117935
+ defaultCurrency?: string | null;
117936
+ longTermStayNights?: number | null;
117937
+ defaultRevenueRecognition?: ("checkIn" | "checkOut" | "bookedAt" | "proRata") | null;
117938
+ migratedFromTenantId?: string | null;
117939
+ historicalStatementsImportedAt?: string | null;
117940
+ name: string;
117941
+ slug: string;
117942
+ statementAddress?: {
117943
+ full?: string | null;
117944
+ line1?: string | null;
117945
+ line2?: string | null;
117946
+ city?: string | null;
117947
+ /** @description Deprecated, use stateCode instead */
117948
+ state?: string | null;
117949
+ postalCode?: string | null;
117950
+ stateCode?: string | null;
117951
+ countryCode?: string | null;
117952
+ } | null;
117953
+ billingAddress?: {
117954
+ full?: string | null;
117955
+ line1?: string | null;
117956
+ line2?: string | null;
117957
+ city?: string | null;
117958
+ /** @description Deprecated, use stateCode instead */
117959
+ state?: string | null;
117960
+ postalCode?: string | null;
117961
+ stateCode?: string | null;
117962
+ countryCode?: string | null;
117963
+ } | null;
117964
+ phone?: string | null;
117965
+ email?: string | null;
117966
+ supportEmail?: string | null;
117967
+ taxId?: string | null;
117968
+ partner?: {
117969
+ /** Format: uuid */
117970
+ id: string;
117971
+ name: string;
117972
+ } | null;
117973
+ billingPartner: {
117974
+ /** Format: uuid */
117975
+ id: string;
117976
+ name: string;
117977
+ };
117978
+ /**
117979
+ * Format: uuid
117980
+ * @description Effective billing partner ID
117981
+ */
117982
+ billingPartnerId: string;
117983
+ companyName?: string | null;
117984
+ /** @enum {string} */
117985
+ type: "partner" | "admin" | "propertyManager";
117986
+ /**
117987
+ * @description Lifecycle status derived from the team and billing-partner subscription states
117988
+ * @enum {string}
117989
+ */
117990
+ status: "active" | "inactive";
117991
+ capabilities: {
117992
+ activate: {
117993
+ enabled: boolean;
117994
+ disabledReasons: ("teamBillingSubscriptionInactive" | "billingPartnerInactive")[];
117995
+ };
117996
+ };
117997
+ billingSubscriptionStatus?: string | null;
117998
+ billingPlan?: string | null;
117999
+ billingPaymentMethodType?: string | null;
118000
+ billingCustomerId: string | null;
118001
+ colorPrimary?: string | null;
118002
+ createdAt?: string | null;
118003
+ updatedAt?: string | null;
118004
+ cancelledAt?: string | null;
118005
+ isOnboarding?: boolean | null;
118006
+ issues: ({
118007
+ /** @constant */
118008
+ code: "unassignedAccount";
118009
+ /** @constant */
118010
+ severity: "error";
118011
+ context: {
118012
+ accountIds: string[];
118013
+ };
118014
+ } | {
118015
+ /** @constant */
118016
+ code: "brokenConnections";
118017
+ /** @constant */
118018
+ severity: "error";
118019
+ context: {
118020
+ connections: {
118021
+ /** Format: uuid */
118022
+ id: string;
118023
+ name: string;
118024
+ appId: string;
118025
+ }[];
118026
+ };
118027
+ } | {
118028
+ /** @constant */
118029
+ code: "outdatedConnections";
118030
+ /** @constant */
118031
+ severity: "error";
118032
+ context: {
118033
+ connections: {
118034
+ /** Format: uuid */
118035
+ id: string;
118036
+ name: string;
118037
+ appId: string;
118038
+ }[];
118039
+ };
118040
+ } | {
118041
+ /** @constant */
118042
+ code: "pmsMissingAccountingStart";
118043
+ /** @constant */
118044
+ severity: "error";
118045
+ context: {
118046
+ connections: {
118047
+ /** Format: uuid */
118048
+ id: string;
118049
+ name: string;
118050
+ appId: string;
118051
+ }[];
118052
+ };
118053
+ })[];
118054
+ isGeneralLedger?: boolean | null;
118055
+ isOpex?: boolean;
118056
+ booksClosedAt?: string | null;
118057
+ logo?: string | null;
118058
+ statementStartAt?: string | null;
118059
+ effectiveStatementStartAt?: string | null;
118060
+ settings: {
118061
+ showVRPilotGuide: boolean;
118062
+ showReservations: boolean;
118063
+ showCancelledReservations: boolean;
118064
+ showReservationTotal: boolean;
118065
+ showOwnerCalendarBlocking: boolean;
118066
+ showTaxStatements: boolean;
118067
+ showTwoFactorAuth: boolean;
118068
+ };
118069
+ ownerPortalShowDraftStatements?: boolean;
118070
+ members?: {
118071
+ userId: string;
118072
+ email?: string | null;
118073
+ role: string;
118074
+ name?: string | null;
118075
+ firstName?: string | null;
118076
+ lastName?: string | null;
118077
+ }[] | null;
118078
+ extractableConnections?: {
118079
+ [key: string]: {
118080
+ connections: {
118081
+ /** Format: uuid */
118082
+ id: string;
118083
+ name: string;
118084
+ appId: string;
118085
+ urlExample?: string | null;
118086
+ allowConfirmationCode?: boolean | null;
118087
+ }[];
118088
+ };
118089
+ } | null;
118090
+ enabledFeatures?: {
118091
+ /** Format: uuid */
118092
+ featureId: string;
118093
+ /** @enum {string} */
118094
+ status: "all" | "disabled" | "partially";
118095
+ }[];
118096
+ isBillable: boolean;
118097
+ aggregates: {
118098
+ activeListings: number;
118099
+ members: number;
118100
+ activeConnections: number;
118101
+ connectionIssues: number;
118102
+ childTeams: number;
118103
+ };
118104
+ };
118105
+ };
118106
+ };
118107
+ /** @description Bad request */
118108
+ 400: {
118109
+ headers: {
118110
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
118111
+ "Retry-After"?: number;
118112
+ [name: string]: unknown;
118113
+ };
118114
+ content: {
118115
+ "application/json": {
118116
+ code: string;
118117
+ message: string;
118118
+ links?: {
118119
+ docs: string;
118120
+ schema: string;
118121
+ };
118122
+ issues?: {
118123
+ message: string;
118124
+ path?: (string | number)[];
118125
+ schema?: string;
118126
+ }[];
118127
+ retryable?: boolean;
118128
+ context?: unknown;
118129
+ };
118130
+ };
118131
+ };
118132
+ /** @description Unauthorized */
118133
+ 401: {
118134
+ headers: {
118135
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
118136
+ "Retry-After"?: number;
118137
+ [name: string]: unknown;
118138
+ };
118139
+ content: {
118140
+ "application/json": {
118141
+ code: string;
118142
+ message: string;
118143
+ links?: {
118144
+ docs: string;
118145
+ schema: string;
118146
+ };
118147
+ issues?: {
118148
+ message: string;
118149
+ path?: (string | number)[];
118150
+ schema?: string;
118151
+ }[];
118152
+ retryable?: boolean;
118153
+ context?: unknown;
118154
+ };
118155
+ };
118156
+ };
118157
+ /** @description Forbidden */
118158
+ 403: {
118159
+ headers: {
118160
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
118161
+ "Retry-After"?: number;
118162
+ [name: string]: unknown;
118163
+ };
118164
+ content: {
118165
+ "application/json": {
118166
+ code: string;
118167
+ message: string;
118168
+ links?: {
118169
+ docs: string;
118170
+ schema: string;
118171
+ };
118172
+ issues?: {
118173
+ message: string;
118174
+ path?: (string | number)[];
118175
+ schema?: string;
118176
+ }[];
118177
+ retryable?: boolean;
118178
+ context?: unknown;
118179
+ };
118180
+ };
118181
+ };
118182
+ /** @description Not found */
118183
+ 404: {
118184
+ headers: {
118185
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
118186
+ "Retry-After"?: number;
118187
+ [name: string]: unknown;
118188
+ };
118189
+ content: {
118190
+ "application/json": {
118191
+ code: string;
118192
+ message: string;
118193
+ links?: {
118194
+ docs: string;
118195
+ schema: string;
118196
+ };
118197
+ issues?: {
118198
+ message: string;
118199
+ path?: (string | number)[];
118200
+ schema?: string;
118201
+ }[];
118202
+ retryable?: boolean;
118203
+ context?: unknown;
118204
+ };
118205
+ };
118206
+ };
118207
+ /** @description Conflict */
118208
+ 409: {
118209
+ headers: {
118210
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
118211
+ "Retry-After"?: number;
118212
+ [name: string]: unknown;
118213
+ };
118214
+ content: {
118215
+ "application/json": {
118216
+ code: string;
118217
+ message: string;
118218
+ links?: {
118219
+ docs: string;
118220
+ schema: string;
118221
+ };
118222
+ issues?: {
118223
+ message: string;
118224
+ path?: (string | number)[];
118225
+ schema?: string;
118226
+ }[];
118227
+ retryable?: boolean;
118228
+ context?: unknown;
118229
+ };
118230
+ };
118231
+ };
118232
+ /** @description Gone */
118233
+ 410: {
118234
+ headers: {
118235
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
118236
+ "Retry-After"?: number;
118237
+ [name: string]: unknown;
118238
+ };
118239
+ content: {
118240
+ "application/json": {
118241
+ code: string;
118242
+ message: string;
118243
+ links?: {
118244
+ docs: string;
118245
+ schema: string;
118246
+ };
118247
+ issues?: {
118248
+ message: string;
118249
+ path?: (string | number)[];
118250
+ schema?: string;
118251
+ }[];
118252
+ retryable?: boolean;
118253
+ context?: unknown;
118254
+ };
118255
+ };
118256
+ };
118257
+ /** @description Unprocessable content */
118258
+ 422: {
118259
+ headers: {
118260
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
118261
+ "Retry-After"?: number;
118262
+ [name: string]: unknown;
118263
+ };
118264
+ content: {
118265
+ "application/json": {
118266
+ code: string;
118267
+ message: string;
118268
+ links?: {
118269
+ docs: string;
118270
+ schema: string;
118271
+ };
118272
+ issues?: {
118273
+ message: string;
118274
+ path?: (string | number)[];
118275
+ schema?: string;
118276
+ }[];
118277
+ retryable?: boolean;
118278
+ context?: unknown;
118279
+ };
118280
+ };
118281
+ };
118282
+ /** @description Internal server error */
118283
+ 500: {
118284
+ headers: {
118285
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
118286
+ "Retry-After"?: number;
118287
+ [name: string]: unknown;
118288
+ };
118289
+ content: {
118290
+ "application/json": {
118291
+ code: string;
118292
+ message: string;
118293
+ links?: {
118294
+ docs: string;
118295
+ schema: string;
118296
+ };
118297
+ issues?: {
118298
+ message: string;
118299
+ path?: (string | number)[];
118300
+ schema?: string;
118301
+ }[];
118302
+ retryable?: boolean;
118303
+ context?: unknown;
118304
+ };
118305
+ };
118306
+ };
118307
+ /** @description Service unavailable */
118308
+ 503: {
118309
+ headers: {
118310
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
118311
+ "Retry-After"?: number;
118312
+ [name: string]: unknown;
118313
+ };
118314
+ content: {
118315
+ "application/json": {
118316
+ code: string;
118317
+ message: string;
118318
+ links?: {
118319
+ docs: string;
118320
+ schema: string;
118321
+ };
118322
+ issues?: {
118323
+ message: string;
118324
+ path?: (string | number)[];
118325
+ schema?: string;
118326
+ }[];
118327
+ retryable?: boolean;
118328
+ context?: unknown;
118329
+ };
118330
+ };
118331
+ };
118332
+ };
118333
+ };
118334
+ getTeamMembers: {
116596
118335
  parameters: {
116597
- query?: never;
118336
+ query?: {
118337
+ search?: string;
118338
+ limit?: number;
118339
+ page?: number;
118340
+ offset?: number;
118341
+ };
116598
118342
  header?: never;
116599
118343
  path?: never;
116600
118344
  cookie?: never;
116601
118345
  };
116602
- requestBody?: {
116603
- content: {
116604
- "application/json": {
116605
- name: string;
116606
- uniqueRef: string;
116607
- /** @default false */
116608
- anonymize?: boolean;
116609
- };
116610
- };
116611
- };
118346
+ requestBody?: never;
116612
118347
  responses: {
116613
118348
  /** @description Successful response */
116614
118349
  200: {
@@ -116617,17 +118352,35 @@ export interface operations {
116617
118352
  };
116618
118353
  content: {
116619
118354
  "application/json": {
116620
- /** Format: uuid */
116621
- actionId: string;
116622
- anonymized: boolean;
116623
- name: string;
116624
- /** Format: uuid */
116625
- sourceTeamId: string;
116626
- /** @constant */
116627
- status: "queued";
116628
- /** Format: uuid */
116629
- targetTeamId: string;
116630
- uniqueRef: string;
118355
+ data: {
118356
+ /** Format: uuid */
118357
+ id: string;
118358
+ /** Format: uuid */
118359
+ userId: string;
118360
+ /** Format: uuid */
118361
+ tenantId: string;
118362
+ /** Format: email */
118363
+ email: string;
118364
+ secondaryEmails: string[];
118365
+ permissionBundles: string[];
118366
+ /** @enum {string} */
118367
+ role: "admin" | "user";
118368
+ status: ("active" | "inactive" | "unconfirmed") | null;
118369
+ lastInvitedAt: string | null;
118370
+ partnerId: string | null;
118371
+ name: string | null;
118372
+ firstName: string | null;
118373
+ lastName: string | null;
118374
+ }[];
118375
+ pagination: {
118376
+ /** @default 100 */
118377
+ limit: number;
118378
+ /** @default 1 */
118379
+ page: number;
118380
+ total: number;
118381
+ totalPage: number;
118382
+ nextPage?: number;
118383
+ };
116631
118384
  };
116632
118385
  };
116633
118386
  };
@@ -116858,7 +118611,7 @@ export interface operations {
116858
118611
  };
116859
118612
  };
116860
118613
  };
116861
- postTeamGenerateDemoData: {
118614
+ postTeamMembersInvite: {
116862
118615
  parameters: {
116863
118616
  query?: never;
116864
118617
  header?: never;
@@ -116867,7 +118620,16 @@ export interface operations {
116867
118620
  };
116868
118621
  requestBody?: {
116869
118622
  content: {
116870
- "application/json": Record<string, never>;
118623
+ "application/json": {
118624
+ email: string;
118625
+ /**
118626
+ * @default user
118627
+ * @enum {string}
118628
+ */
118629
+ role?: "admin" | "user";
118630
+ /** @default true */
118631
+ sendEmail?: boolean;
118632
+ };
116871
118633
  };
116872
118634
  };
116873
118635
  responses: {
@@ -116878,7 +118640,7 @@ export interface operations {
116878
118640
  };
116879
118641
  content: {
116880
118642
  "application/json": {
116881
- ok: boolean;
118643
+ url: string;
116882
118644
  };
116883
118645
  };
116884
118646
  };
@@ -117109,14 +118871,23 @@ export interface operations {
117109
118871
  };
117110
118872
  };
117111
118873
  };
117112
- getTeamGuidesOnboarding: {
118874
+ putTeamMembersByUserId: {
117113
118875
  parameters: {
117114
118876
  query?: never;
117115
118877
  header?: never;
117116
- path?: never;
118878
+ path: {
118879
+ userId: string;
118880
+ };
117117
118881
  cookie?: never;
117118
118882
  };
117119
- requestBody?: never;
118883
+ requestBody?: {
118884
+ content: {
118885
+ "application/json": {
118886
+ /** @enum {string} */
118887
+ role: "admin" | "user";
118888
+ };
118889
+ };
118890
+ };
117120
118891
  responses: {
117121
118892
  /** @description Successful response */
117122
118893
  200: {
@@ -117125,75 +118896,24 @@ export interface operations {
117125
118896
  };
117126
118897
  content: {
117127
118898
  "application/json": {
117128
- status: ("skipped" | "completed") | null;
117129
- welcome: {
117130
- status: ("skipped" | "completed") | null;
117131
- updatedAt: string | null;
117132
- };
117133
- connectPms: {
117134
- status: ("skipped" | "completed") | null;
117135
- updatedAt: string | null;
117136
- };
117137
- connectAiAgents: {
117138
- status: ("skipped" | "completed") | null;
117139
- updatedAt: string | null;
117140
- };
117141
- connectBankAccounts: {
117142
- status: ("skipped" | "completed") | null;
117143
- updatedAt: string | null;
117144
- };
117145
- connectRamp: {
117146
- status: ("skipped" | "completed") | null;
117147
- updatedAt: string | null;
117148
- };
117149
- connectPaymentProcessors: {
117150
- status: ("skipped" | "completed") | null;
117151
- updatedAt: string | null;
117152
- };
117153
- connectAirbnb: {
117154
- status: ("skipped" | "completed") | null;
117155
- updatedAt: string | null;
117156
- };
117157
- addOwners: {
117158
- status: ("skipped" | "completed") | null;
117159
- updatedAt: string | null;
117160
- };
117161
- listingsSetup: {
117162
- status: ("skipped" | "completed") | null;
117163
- updatedAt: string | null;
117164
- };
117165
- reportingPreferences: {
117166
- status: ("skipped" | "completed") | null;
117167
- updatedAt: string | null;
117168
- };
117169
- feesAndCommissions: {
117170
- status: ("skipped" | "completed") | null;
117171
- updatedAt: string | null;
117172
- };
117173
- ownerStatementTemplate: {
117174
- status: ("skipped" | "completed") | null;
117175
- updatedAt: string | null;
117176
- };
117177
- openingBalances: {
117178
- status: ("skipped" | "completed") | null;
117179
- updatedAt: string | null;
117180
- };
117181
- historicalDataBalances: {
117182
- status: ("skipped" | "completed") | null;
117183
- updatedAt: string | null;
117184
- };
117185
- historicalOwnerStatements: {
117186
- status: ("skipped" | "completed") | null;
117187
- updatedAt: string | null;
117188
- };
117189
- addWorkflows: {
117190
- status: ("skipped" | "completed") | null;
117191
- updatedAt: string | null;
117192
- };
117193
- validateAndGoLive: {
117194
- status: ("skipped" | "completed") | null;
117195
- updatedAt: string | null;
117196
- };
118899
+ /** Format: uuid */
118900
+ id: string;
118901
+ /** Format: uuid */
118902
+ userId: string;
118903
+ /** Format: uuid */
118904
+ tenantId: string;
118905
+ /** Format: email */
118906
+ email: string;
118907
+ secondaryEmails: string[];
118908
+ permissionBundles: string[];
118909
+ /** @enum {string} */
118910
+ role: "admin" | "user";
118911
+ status: ("active" | "inactive" | "unconfirmed") | null;
118912
+ lastInvitedAt: string | null;
118913
+ partnerId: string | null;
118914
+ name: string | null;
118915
+ firstName: string | null;
118916
+ lastName: string | null;
117197
118917
  };
117198
118918
  };
117199
118919
  };
@@ -117424,37 +119144,16 @@ export interface operations {
117424
119144
  };
117425
119145
  };
117426
119146
  };
117427
- putTeamGuidesOnboarding: {
119147
+ deleteTeamMembersByUserId: {
117428
119148
  parameters: {
117429
119149
  query?: never;
117430
119150
  header?: never;
117431
- path?: never;
117432
- cookie?: never;
117433
- };
117434
- requestBody?: {
117435
- content: {
117436
- "application/json": {
117437
- status?: ("skipped" | "completed") | null;
117438
- addOwners?: ("skipped" | "completed") | null;
117439
- addWorkflows?: ("skipped" | "completed") | null;
117440
- connectAiAgents?: ("skipped" | "completed") | null;
117441
- connectAirbnb?: ("skipped" | "completed") | null;
117442
- connectBankAccounts?: ("skipped" | "completed") | null;
117443
- connectPaymentProcessors?: ("skipped" | "completed") | null;
117444
- connectPms?: ("skipped" | "completed") | null;
117445
- connectRamp?: ("skipped" | "completed") | null;
117446
- feesAndCommissions?: ("skipped" | "completed") | null;
117447
- historicalDataBalances?: ("skipped" | "completed") | null;
117448
- historicalOwnerStatements?: ("skipped" | "completed") | null;
117449
- listingsSetup?: ("skipped" | "completed") | null;
117450
- openingBalances?: ("skipped" | "completed") | null;
117451
- ownerStatementTemplate?: ("skipped" | "completed") | null;
117452
- reportingPreferences?: ("skipped" | "completed") | null;
117453
- validateAndGoLive?: ("skipped" | "completed") | null;
117454
- welcome?: ("skipped" | "completed") | null;
117455
- };
119151
+ path: {
119152
+ userId: string;
117456
119153
  };
119154
+ cookie?: never;
117457
119155
  };
119156
+ requestBody?: never;
117458
119157
  responses: {
117459
119158
  /** @description Successful response */
117460
119159
  200: {
@@ -117463,75 +119162,10 @@ export interface operations {
117463
119162
  };
117464
119163
  content: {
117465
119164
  "application/json": {
117466
- status: ("skipped" | "completed") | null;
117467
- welcome: {
117468
- status: ("skipped" | "completed") | null;
117469
- updatedAt: string | null;
117470
- };
117471
- connectPms: {
117472
- status: ("skipped" | "completed") | null;
117473
- updatedAt: string | null;
117474
- };
117475
- connectAiAgents: {
117476
- status: ("skipped" | "completed") | null;
117477
- updatedAt: string | null;
117478
- };
117479
- connectBankAccounts: {
117480
- status: ("skipped" | "completed") | null;
117481
- updatedAt: string | null;
117482
- };
117483
- connectRamp: {
117484
- status: ("skipped" | "completed") | null;
117485
- updatedAt: string | null;
117486
- };
117487
- connectPaymentProcessors: {
117488
- status: ("skipped" | "completed") | null;
117489
- updatedAt: string | null;
117490
- };
117491
- connectAirbnb: {
117492
- status: ("skipped" | "completed") | null;
117493
- updatedAt: string | null;
117494
- };
117495
- addOwners: {
117496
- status: ("skipped" | "completed") | null;
117497
- updatedAt: string | null;
117498
- };
117499
- listingsSetup: {
117500
- status: ("skipped" | "completed") | null;
117501
- updatedAt: string | null;
117502
- };
117503
- reportingPreferences: {
117504
- status: ("skipped" | "completed") | null;
117505
- updatedAt: string | null;
117506
- };
117507
- feesAndCommissions: {
117508
- status: ("skipped" | "completed") | null;
117509
- updatedAt: string | null;
117510
- };
117511
- ownerStatementTemplate: {
117512
- status: ("skipped" | "completed") | null;
117513
- updatedAt: string | null;
117514
- };
117515
- openingBalances: {
117516
- status: ("skipped" | "completed") | null;
117517
- updatedAt: string | null;
117518
- };
117519
- historicalDataBalances: {
117520
- status: ("skipped" | "completed") | null;
117521
- updatedAt: string | null;
117522
- };
117523
- historicalOwnerStatements: {
117524
- status: ("skipped" | "completed") | null;
117525
- updatedAt: string | null;
117526
- };
117527
- addWorkflows: {
117528
- status: ("skipped" | "completed") | null;
117529
- updatedAt: string | null;
117530
- };
117531
- validateAndGoLive: {
117532
- status: ("skipped" | "completed") | null;
117533
- updatedAt: string | null;
117534
- };
119165
+ /** @enum {string} */
119166
+ status: "deleted";
119167
+ /** @description Deprecated: use status */
119168
+ deleted: boolean;
117535
119169
  };
117536
119170
  };
117537
119171
  };
@@ -117762,23 +119396,19 @@ export interface operations {
117762
119396
  };
117763
119397
  };
117764
119398
  };
117765
- postTeamInit: {
119399
+ putTeamMembersByUserIdPermissionBundles: {
117766
119400
  parameters: {
117767
- query?: {
117768
- /** @description Validate this request through the real write path, then roll back all changes. See https://docs.vrplatform.app/api/dry-run-mode. */
117769
- dryRun?: boolean;
117770
- };
119401
+ query?: never;
117771
119402
  header?: never;
117772
- path?: never;
119403
+ path: {
119404
+ userId: string;
119405
+ };
117773
119406
  cookie?: never;
117774
119407
  };
117775
119408
  requestBody?: {
117776
119409
  content: {
117777
119410
  "application/json": {
117778
- taxRateCountryOverwrite?: string | null;
117779
- copyFromTeamId?: string;
117780
- copyLineMappingsFromPartnerId?: string | null;
117781
- include?: ("statementLayouts" | "recurringFees" | "accounts" | "taxRates" | "lineMappings")[];
119411
+ permissionBundles: ("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")[];
117782
119412
  };
117783
119413
  };
117784
119414
  };
@@ -117791,181 +119421,8 @@ export interface operations {
117791
119421
  content: {
117792
119422
  "application/json": {
117793
119423
  /** Format: uuid */
117794
- id: string;
117795
- uniqueRef: string | null;
117796
- /** @enum {string} */
117797
- dataRegion: "ap" | "crunchy" | "eu" | "hostaway" | "us";
117798
- /** @enum {string} */
117799
- storageRealm: "vrintegration" | "vrtrust";
117800
- defaultCurrency?: string | null;
117801
- longTermStayNights?: number | null;
117802
- defaultRevenueRecognition?: ("checkIn" | "checkOut" | "bookedAt" | "proRata") | null;
117803
- migratedFromTenantId?: string | null;
117804
- historicalStatementsImportedAt?: string | null;
117805
- name: string;
117806
- slug: string;
117807
- statementAddress?: {
117808
- full?: string | null;
117809
- line1?: string | null;
117810
- line2?: string | null;
117811
- city?: string | null;
117812
- /** @description Deprecated, use stateCode instead */
117813
- state?: string | null;
117814
- postalCode?: string | null;
117815
- stateCode?: string | null;
117816
- countryCode?: string | null;
117817
- } | null;
117818
- billingAddress?: {
117819
- full?: string | null;
117820
- line1?: string | null;
117821
- line2?: string | null;
117822
- city?: string | null;
117823
- /** @description Deprecated, use stateCode instead */
117824
- state?: string | null;
117825
- postalCode?: string | null;
117826
- stateCode?: string | null;
117827
- countryCode?: string | null;
117828
- } | null;
117829
- phone?: string | null;
117830
- email?: string | null;
117831
- supportEmail?: string | null;
117832
- taxId?: string | null;
117833
- partner?: {
117834
- /** Format: uuid */
117835
- id: string;
117836
- name: string;
117837
- } | null;
117838
- billingPartner: {
117839
- /** Format: uuid */
117840
- id: string;
117841
- name: string;
117842
- };
117843
- /**
117844
- * Format: uuid
117845
- * @description Effective billing partner ID
117846
- */
117847
- billingPartnerId: string;
117848
- companyName?: string | null;
117849
- /** @enum {string} */
117850
- type: "partner" | "admin" | "propertyManager";
117851
- /**
117852
- * @description Lifecycle status derived from the team and billing-partner subscription states
117853
- * @enum {string}
117854
- */
117855
- status: "active" | "inactive";
117856
- capabilities: {
117857
- activate: {
117858
- enabled: boolean;
117859
- disabledReasons: ("teamBillingSubscriptionInactive" | "billingPartnerInactive")[];
117860
- };
117861
- };
117862
- billingSubscriptionStatus?: string | null;
117863
- billingPlan?: string | null;
117864
- billingPaymentMethodType?: string | null;
117865
- billingCustomerId: string | null;
117866
- colorPrimary?: string | null;
117867
- createdAt?: string | null;
117868
- updatedAt?: string | null;
117869
- cancelledAt?: string | null;
117870
- isOnboarding?: boolean | null;
117871
- issues: ({
117872
- /** @constant */
117873
- code: "unassignedAccount";
117874
- /** @constant */
117875
- severity: "error";
117876
- context: {
117877
- accountIds: string[];
117878
- };
117879
- } | {
117880
- /** @constant */
117881
- code: "brokenConnections";
117882
- /** @constant */
117883
- severity: "error";
117884
- context: {
117885
- connections: {
117886
- /** Format: uuid */
117887
- id: string;
117888
- name: string;
117889
- appId: string;
117890
- }[];
117891
- };
117892
- } | {
117893
- /** @constant */
117894
- code: "outdatedConnections";
117895
- /** @constant */
117896
- severity: "error";
117897
- context: {
117898
- connections: {
117899
- /** Format: uuid */
117900
- id: string;
117901
- name: string;
117902
- appId: string;
117903
- }[];
117904
- };
117905
- } | {
117906
- /** @constant */
117907
- code: "pmsMissingAccountingStart";
117908
- /** @constant */
117909
- severity: "error";
117910
- context: {
117911
- connections: {
117912
- /** Format: uuid */
117913
- id: string;
117914
- name: string;
117915
- appId: string;
117916
- }[];
117917
- };
117918
- })[];
117919
- isGeneralLedger?: boolean | null;
117920
- isOpex?: boolean;
117921
- booksClosedAt?: string | null;
117922
- logo?: string | null;
117923
- statementStartAt?: string | null;
117924
- effectiveStatementStartAt?: string | null;
117925
- settings: {
117926
- showVRPilotGuide: boolean;
117927
- showReservations: boolean;
117928
- showCancelledReservations: boolean;
117929
- showReservationTotal: boolean;
117930
- showOwnerCalendarBlocking: boolean;
117931
- showTaxStatements: boolean;
117932
- showTwoFactorAuth: boolean;
117933
- };
117934
- ownerPortalShowDraftStatements?: boolean;
117935
- members?: {
117936
- userId: string;
117937
- email?: string | null;
117938
- role: string;
117939
- name?: string | null;
117940
- firstName?: string | null;
117941
- lastName?: string | null;
117942
- }[] | null;
117943
- extractableConnections?: {
117944
- [key: string]: {
117945
- connections: {
117946
- /** Format: uuid */
117947
- id: string;
117948
- name: string;
117949
- appId: string;
117950
- urlExample?: string | null;
117951
- allowConfirmationCode?: boolean | null;
117952
- }[];
117953
- };
117954
- } | null;
117955
- enabledFeatures?: {
117956
- /** Format: uuid */
117957
- featureId: string;
117958
- /** @enum {string} */
117959
- status: "all" | "disabled" | "partially";
117960
- }[];
117961
- isBillable: boolean;
117962
- aggregates: {
117963
- activeListings: number;
117964
- members: number;
117965
- activeConnections: number;
117966
- connectionIssues: number;
117967
- childTeams: number;
117968
- };
119424
+ userId: string;
119425
+ permissionBundles: ("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")[];
117969
119426
  };
117970
119427
  };
117971
119428
  };
@@ -118196,14 +119653,9 @@ export interface operations {
118196
119653
  };
118197
119654
  };
118198
119655
  };
118199
- getTeamMembers: {
119656
+ getTeamPartnerPermissionPolicy: {
118200
119657
  parameters: {
118201
- query?: {
118202
- search?: string;
118203
- limit?: number;
118204
- page?: number;
118205
- offset?: number;
118206
- };
119658
+ query?: never;
118207
119659
  header?: never;
118208
119660
  path?: never;
118209
119661
  cookie?: never;
@@ -118217,34 +119669,7 @@ export interface operations {
118217
119669
  };
118218
119670
  content: {
118219
119671
  "application/json": {
118220
- data: {
118221
- /** Format: uuid */
118222
- id: string;
118223
- /** Format: uuid */
118224
- userId: string;
118225
- /** Format: uuid */
118226
- tenantId: string;
118227
- /** Format: email */
118228
- email: string;
118229
- secondaryEmails: string[];
118230
- /** @enum {string} */
118231
- role: "admin" | "user";
118232
- status: ("active" | "inactive" | "unconfirmed") | null;
118233
- lastInvitedAt: string | null;
118234
- partnerId: string | null;
118235
- name: string | null;
118236
- firstName: string | null;
118237
- lastName: string | null;
118238
- }[];
118239
- pagination: {
118240
- /** @default 100 */
118241
- limit: number;
118242
- /** @default 1 */
118243
- page: number;
118244
- total: number;
118245
- totalPage: number;
118246
- nextPage?: number;
118247
- };
119672
+ deniedPermissions: ("self:read" | "self:write" | "audit: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")[];
118248
119673
  };
118249
119674
  };
118250
119675
  };
@@ -118475,7 +119900,7 @@ export interface operations {
118475
119900
  };
118476
119901
  };
118477
119902
  };
118478
- postTeamMembersInvite: {
119903
+ putTeamPartnerPermissionPolicy: {
118479
119904
  parameters: {
118480
119905
  query?: never;
118481
119906
  header?: never;
@@ -118485,14 +119910,7 @@ export interface operations {
118485
119910
  requestBody?: {
118486
119911
  content: {
118487
119912
  "application/json": {
118488
- email: string;
118489
- /**
118490
- * @default user
118491
- * @enum {string}
118492
- */
118493
- role?: "admin" | "user";
118494
- /** @default true */
118495
- sendEmail?: boolean;
119913
+ deniedPermissions: ("self:read" | "self:write" | "audit: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")[];
118496
119914
  };
118497
119915
  };
118498
119916
  };
@@ -118504,7 +119922,7 @@ export interface operations {
118504
119922
  };
118505
119923
  content: {
118506
119924
  "application/json": {
118507
- url: string;
119925
+ deniedPermissions: ("self:read" | "self:write" | "audit: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")[];
118508
119926
  };
118509
119927
  };
118510
119928
  };
@@ -118735,23 +120153,14 @@ export interface operations {
118735
120153
  };
118736
120154
  };
118737
120155
  };
118738
- putTeamMembersByUserId: {
120156
+ getTeamPermissionBundles: {
118739
120157
  parameters: {
118740
120158
  query?: never;
118741
120159
  header?: never;
118742
- path: {
118743
- userId: string;
118744
- };
120160
+ path?: never;
118745
120161
  cookie?: never;
118746
120162
  };
118747
- requestBody?: {
118748
- content: {
118749
- "application/json": {
118750
- /** @enum {string} */
118751
- role: "admin" | "user";
118752
- };
118753
- };
118754
- };
120163
+ requestBody?: never;
118755
120164
  responses: {
118756
120165
  /** @description Successful response */
118757
120166
  200: {
@@ -118760,23 +120169,13 @@ export interface operations {
118760
120169
  };
118761
120170
  content: {
118762
120171
  "application/json": {
118763
- /** Format: uuid */
118764
- id: string;
118765
- /** Format: uuid */
118766
- userId: string;
118767
- /** Format: uuid */
118768
- tenantId: string;
118769
- /** Format: email */
118770
- email: string;
118771
- secondaryEmails: string[];
118772
- /** @enum {string} */
118773
- role: "admin" | "user";
118774
- status: ("active" | "inactive" | "unconfirmed") | null;
118775
- lastInvitedAt: string | null;
118776
- partnerId: string | null;
118777
- name: string | null;
118778
- firstName: string | null;
118779
- lastName: string | null;
120172
+ data: {
120173
+ /** @enum {string} */
120174
+ 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";
120175
+ title: string;
120176
+ description: string;
120177
+ permissions: ("self:read" | "self:write" | "audit: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")[];
120178
+ }[];
118780
120179
  };
118781
120180
  };
118782
120181
  };
@@ -119007,13 +120406,11 @@ export interface operations {
119007
120406
  };
119008
120407
  };
119009
120408
  };
119010
- deleteTeamMembersByUserId: {
120409
+ getTeamPermissions: {
119011
120410
  parameters: {
119012
120411
  query?: never;
119013
120412
  header?: never;
119014
- path: {
119015
- userId: string;
119016
- };
120413
+ path?: never;
119017
120414
  cookie?: never;
119018
120415
  };
119019
120416
  requestBody?: never;
@@ -119025,10 +120422,10 @@ export interface operations {
119025
120422
  };
119026
120423
  content: {
119027
120424
  "application/json": {
119028
- /** @enum {string} */
119029
- status: "deleted";
119030
- /** @description Deprecated: use status */
119031
- deleted: boolean;
120425
+ data: {
120426
+ /** @enum {string} */
120427
+ name: "self:read" | "self:write" | "audit: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";
120428
+ }[];
119032
120429
  };
119033
120430
  };
119034
120431
  };