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