@vrplatform/api 1.3.1-stage.37590036173 → 1.3.1-stage.37592263231

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.
@@ -3553,23 +3553,6 @@ export interface paths {
3553
3553
  patch?: never;
3554
3554
  trace?: never;
3555
3555
  };
3556
- "/internal/teams/{teamId}/billing/migrate-subscription": {
3557
- parameters: {
3558
- query?: never;
3559
- header?: never;
3560
- path?: never;
3561
- cookie?: never;
3562
- };
3563
- get?: never;
3564
- put?: never;
3565
- /** @description Apply migration of one team to its assigned current Hyperline subscription template. */
3566
- post: operations["postInternalTeamsByTeamIdBillingMigrateSubscription"];
3567
- delete?: never;
3568
- options?: never;
3569
- head?: never;
3570
- patch?: never;
3571
- trace?: never;
3572
- };
3573
3556
  "/internal/teams/{teamId}/vri-vrt-preview": {
3574
3557
  parameters: {
3575
3558
  query?: never;
@@ -7830,7 +7813,7 @@ export interface paths {
7830
7813
  get: operations["getTeams"];
7831
7814
  put?: never;
7832
7815
  /**
7833
- * @description Create team. Partner teams billed directly by VRPlatform and property-manager teams billed directly by VRPlatform or managed by Ximplifi have their subscription created with the team, even while onboarding. The forwarding gateway requires an explicit ap, eu, hostaway, or us dataRegion for General Ledger creation. A strict regional worker may omit dataRegion to use its own cell; an explicit region must match that cell. Crunchy placement is rejected. Hostaway property-manager teams must use the hostaway region. Non-General Ledger teams default to crunchy when dataRegion is omitted; other explicit regions are rejected. A regional worker returns 421 when the resolved region does not match its cell. Partner provisioning requires a uniqueRef. An exact repeat of a completed provision fails with 409 and context.existingTeamId identifies the existing team; changed retry payloads fail without it. Fetch that team with GET /me/teams or GET /partner/teams instead of creating it again. Retrying a provisioning request that failed before completing is safe. migratedFromTenantId atomically links a new GL team to a non-GL VRI source managed by the same partner in any data region; it is rejected for non-GL targets, GL sources, and sources managed by another partner. Generated and explicit slugs are checked against the global tenant registry and target region before either identity is published. Incomplete provisions are omitted from partner discovery. defaultCurrency must exist in the target region currency catalog; unsupported values return 400 before creation. An explicit General Ledger copyFromTeamId must use the target data region; a mismatch returns 400 before either tenant registry is written. useCentralDefaults explicitly opts into the published Control Plane bootstrap and cannot be combined with either copy source.
7816
+ * @description Create team. Partner and property-manager teams have their own subscription created with the team, even while onboarding. The forwarding gateway requires an explicit ap, eu, hostaway, or us dataRegion for General Ledger creation. A strict regional worker may omit dataRegion to use its own cell; an explicit region must match that cell. Crunchy placement is rejected. Hostaway property-manager teams must use the hostaway region. Non-General Ledger teams default to crunchy when dataRegion is omitted; other explicit regions are rejected. A regional worker returns 421 when the resolved region does not match its cell. Partner provisioning requires a uniqueRef. An exact repeat of a completed provision fails with 409 and context.existingTeamId identifies the existing team; changed retry payloads fail without it. Fetch that team with GET /me/teams or GET /partner/teams instead of creating it again. Retrying a provisioning request that failed before completing is safe. migratedFromTenantId atomically links a new GL team to a non-GL VRI source managed by the same partner in any data region; it is rejected for non-GL targets, GL sources, and sources managed by another partner. Generated and explicit slugs are checked against the global tenant registry and target region before either identity is published. Incomplete provisions are omitted from partner discovery. defaultCurrency must exist in the target region currency catalog; unsupported values return 400 before creation. An explicit General Ledger copyFromTeamId must use the target data region; a mismatch returns 400 before either tenant registry is written. useCentralDefaults explicitly opts into the published Control Plane bootstrap and cannot be combined with either copy source.
7834
7817
  *
7835
7818
  * Required scope: teams:provision
7836
7819
  */
@@ -139202,576 +139185,24 @@ export interface operations {
139202
139185
  };
139203
139186
  };
139204
139187
  };
139205
- putInternalReservationLineDefaultsByType: {
139206
- parameters: {
139207
- query?: never;
139208
- header?: never;
139209
- path: {
139210
- type: string;
139211
- };
139212
- cookie?: never;
139213
- };
139214
- requestBody?: {
139215
- content: {
139216
- "application/json": {
139217
- bookingChannel?: string | null;
139218
- accountKey: string | null;
139219
- revenueRecognition?: ("checkIn" | "checkOut" | "proRata") | null;
139220
- };
139221
- };
139222
- };
139223
- responses: {
139224
- /** @description Successful response */
139225
- 200: {
139226
- headers: {
139227
- [name: string]: unknown;
139228
- };
139229
- content: {
139230
- "application/json": {
139231
- /** Format: uuid */
139232
- id: string;
139233
- /** Format: uuid */
139234
- classificationId: string;
139235
- type: string;
139236
- bookingChannel: string | null;
139237
- partnerTenantId: string | null;
139238
- accountKey: string | null;
139239
- revenueRecognition: ("checkIn" | "checkOut" | "proRata") | null;
139240
- revision: number;
139241
- };
139242
- };
139243
- };
139244
- /** @description Bad request */
139245
- 400: {
139246
- headers: {
139247
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
139248
- "Retry-After"?: number;
139249
- [name: string]: unknown;
139250
- };
139251
- content: {
139252
- "application/json": {
139253
- /** @enum {string} */
139254
- code: "AUDIT_CURSOR_EXPIRED" | "AUDIT_EVENT_REVISED" | "BAD_GATEWAY" | "BAD_REQUEST" | "CONFLICT" | "CONNECTION_RECONNECT_REQUIRED" | "EXPORT_REQUIRES_POST" | "FORBIDDEN" | "GATEWAY_TIMEOUT" | "GONE" | "INTERNAL_SERVER_ERROR" | "INVALID_PLAID_CONNECT_MODE" | "JOURNAL_RECALCULATION_PENDING" | "LOCKED" | "METHOD_NOT_SUPPORTED" | "MISDIRECTED_REQUEST" | "NOT_FOUND" | "NOT_IMPLEMENTED" | "OWNER_STATEMENT_LINK_EXPIRED" | "OWNER_STATEMENT_LINK_INVALID" | "PAYLOAD_TOO_LARGE" | "PLAID_CONNECTION_NOT_FOUND" | "PLAID_CONNECT_CONFIGURATION_CHANGED" | "PLAID_CONNECT_EXPIRED" | "PLAID_CONNECT_IN_PROGRESS" | "PLAID_CONNECT_REQUIRES_NEW_LINK" | "PLAID_PROVIDER_UNAVAILABLE" | "RAMP_VENDOR_OWNER_REQUIRED" | "RATE_LIMITED" | "SERVICE_UNAVAILABLE" | "TEAM_DELETED" | "TEAM_DELETION_FROZEN" | "TEAM_MIGRATION_FROZEN" | "TEAM_WRITES_FROZEN" | "UNAUTHORIZED" | "UNPROCESSABLE_CONTENT";
139255
- /**
139256
- * @description Stable business-rule reason. Absent for access, authentication, and integration errors.
139257
- * @enum {string}
139258
- */
139259
- reason?: "accountClassificationLocked" | "accountConnectionAttached" | "accountInUse" | "alreadyPaid" | "amountExceedsReturnable" | "archiveRequired" | "bankAccountTooManyRecords" | "bankRecordInactive" | "bankRecordNotCsvSource" | "bankRecordPlaidSource" | "bankRecordReconciled" | "bankRecordRuleMatched" | "bankRecordUnassigned" | "bankRuleRunIncomplete" | "beforeStatementStartDate" | "booksClosed" | "dailyGlSummaryDisabled" | "duplicateLast4" | "duplicateName" | "duplicateUniqueRef" | "generalLedgerDisabled" | "generalLedgerStartDateMissing" | "historicalImportExists" | "historicalImportPending" | "inUse" | "lastAccessManager" | "listingInGroup" | "listingInGroupAlready" | "listingInactive" | "listingMappingAmbiguous" | "listingMappingRequired" | "mergeDryRunRequired" | "mergePlanChanged" | "notBankAccount" | "openingBalanceUpdateInProgress" | "openingTrialBalanceLocked" | "operationsAccountingDisabled" | "paymentAccountRequiresMarkPaid" | "paymentAttempted" | "plaidReplacementUnavailable" | "pmsAccountingStartMissing" | "previousStatementsOpen" | "rampConnectionInactive" | "reconciliationAmountMismatch" | "reconciliationTransferMismatch" | "requiredAccountMissing" | "reservationLocked" | "reservationUnmatched" | "selfModification" | "statementAttachment" | "statementExists" | "statementFutureExists" | "statementHasBlockingIssues" | "statementHasPayouts" | "statementInReview" | "statementNotReadyForPayment" | "statementPeriod" | "statementPublished" | "transactionInactive" | "transactionReconciled" | "transactionReconciledElsewhere";
139260
- message: string;
139261
- links?: {
139262
- docs: string;
139263
- schema: string;
139264
- };
139265
- issues: {
139266
- /** @enum {string} */
139267
- code?: "duplicateLast4";
139268
- message: string;
139269
- path?: (string | number)[];
139270
- schema?: string;
139271
- }[];
139272
- retryable?: boolean;
139273
- context?: unknown;
139274
- };
139275
- };
139276
- };
139277
- /** @description Unauthorized */
139278
- 401: {
139279
- headers: {
139280
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
139281
- "Retry-After"?: number;
139282
- [name: string]: unknown;
139283
- };
139284
- content: {
139285
- "application/json": {
139286
- /** @enum {string} */
139287
- code: "AUDIT_CURSOR_EXPIRED" | "AUDIT_EVENT_REVISED" | "BAD_GATEWAY" | "BAD_REQUEST" | "CONFLICT" | "CONNECTION_RECONNECT_REQUIRED" | "EXPORT_REQUIRES_POST" | "FORBIDDEN" | "GATEWAY_TIMEOUT" | "GONE" | "INTERNAL_SERVER_ERROR" | "INVALID_PLAID_CONNECT_MODE" | "JOURNAL_RECALCULATION_PENDING" | "LOCKED" | "METHOD_NOT_SUPPORTED" | "MISDIRECTED_REQUEST" | "NOT_FOUND" | "NOT_IMPLEMENTED" | "OWNER_STATEMENT_LINK_EXPIRED" | "OWNER_STATEMENT_LINK_INVALID" | "PAYLOAD_TOO_LARGE" | "PLAID_CONNECTION_NOT_FOUND" | "PLAID_CONNECT_CONFIGURATION_CHANGED" | "PLAID_CONNECT_EXPIRED" | "PLAID_CONNECT_IN_PROGRESS" | "PLAID_CONNECT_REQUIRES_NEW_LINK" | "PLAID_PROVIDER_UNAVAILABLE" | "RAMP_VENDOR_OWNER_REQUIRED" | "RATE_LIMITED" | "SERVICE_UNAVAILABLE" | "TEAM_DELETED" | "TEAM_DELETION_FROZEN" | "TEAM_MIGRATION_FROZEN" | "TEAM_WRITES_FROZEN" | "UNAUTHORIZED" | "UNPROCESSABLE_CONTENT";
139288
- /**
139289
- * @description Stable business-rule reason. Absent for access, authentication, and integration errors.
139290
- * @enum {string}
139291
- */
139292
- reason?: "accountClassificationLocked" | "accountConnectionAttached" | "accountInUse" | "alreadyPaid" | "amountExceedsReturnable" | "archiveRequired" | "bankAccountTooManyRecords" | "bankRecordInactive" | "bankRecordNotCsvSource" | "bankRecordPlaidSource" | "bankRecordReconciled" | "bankRecordRuleMatched" | "bankRecordUnassigned" | "bankRuleRunIncomplete" | "beforeStatementStartDate" | "booksClosed" | "dailyGlSummaryDisabled" | "duplicateLast4" | "duplicateName" | "duplicateUniqueRef" | "generalLedgerDisabled" | "generalLedgerStartDateMissing" | "historicalImportExists" | "historicalImportPending" | "inUse" | "lastAccessManager" | "listingInGroup" | "listingInGroupAlready" | "listingInactive" | "listingMappingAmbiguous" | "listingMappingRequired" | "mergeDryRunRequired" | "mergePlanChanged" | "notBankAccount" | "openingBalanceUpdateInProgress" | "openingTrialBalanceLocked" | "operationsAccountingDisabled" | "paymentAccountRequiresMarkPaid" | "paymentAttempted" | "plaidReplacementUnavailable" | "pmsAccountingStartMissing" | "previousStatementsOpen" | "rampConnectionInactive" | "reconciliationAmountMismatch" | "reconciliationTransferMismatch" | "requiredAccountMissing" | "reservationLocked" | "reservationUnmatched" | "selfModification" | "statementAttachment" | "statementExists" | "statementFutureExists" | "statementHasBlockingIssues" | "statementHasPayouts" | "statementInReview" | "statementNotReadyForPayment" | "statementPeriod" | "statementPublished" | "transactionInactive" | "transactionReconciled" | "transactionReconciledElsewhere";
139293
- message: string;
139294
- links?: {
139295
- docs: string;
139296
- schema: string;
139297
- };
139298
- issues: {
139299
- /** @enum {string} */
139300
- code?: "duplicateLast4";
139301
- message: string;
139302
- path?: (string | number)[];
139303
- schema?: string;
139304
- }[];
139305
- retryable?: boolean;
139306
- context?: unknown;
139307
- };
139308
- };
139309
- };
139310
- /** @description Forbidden */
139311
- 403: {
139312
- headers: {
139313
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
139314
- "Retry-After"?: number;
139315
- [name: string]: unknown;
139316
- };
139317
- content: {
139318
- "application/json": {
139319
- /** @enum {string} */
139320
- code: "AUDIT_CURSOR_EXPIRED" | "AUDIT_EVENT_REVISED" | "BAD_GATEWAY" | "BAD_REQUEST" | "CONFLICT" | "CONNECTION_RECONNECT_REQUIRED" | "EXPORT_REQUIRES_POST" | "FORBIDDEN" | "GATEWAY_TIMEOUT" | "GONE" | "INTERNAL_SERVER_ERROR" | "INVALID_PLAID_CONNECT_MODE" | "JOURNAL_RECALCULATION_PENDING" | "LOCKED" | "METHOD_NOT_SUPPORTED" | "MISDIRECTED_REQUEST" | "NOT_FOUND" | "NOT_IMPLEMENTED" | "OWNER_STATEMENT_LINK_EXPIRED" | "OWNER_STATEMENT_LINK_INVALID" | "PAYLOAD_TOO_LARGE" | "PLAID_CONNECTION_NOT_FOUND" | "PLAID_CONNECT_CONFIGURATION_CHANGED" | "PLAID_CONNECT_EXPIRED" | "PLAID_CONNECT_IN_PROGRESS" | "PLAID_CONNECT_REQUIRES_NEW_LINK" | "PLAID_PROVIDER_UNAVAILABLE" | "RAMP_VENDOR_OWNER_REQUIRED" | "RATE_LIMITED" | "SERVICE_UNAVAILABLE" | "TEAM_DELETED" | "TEAM_DELETION_FROZEN" | "TEAM_MIGRATION_FROZEN" | "TEAM_WRITES_FROZEN" | "UNAUTHORIZED" | "UNPROCESSABLE_CONTENT";
139321
- /**
139322
- * @description Stable business-rule reason. Absent for access, authentication, and integration errors.
139323
- * @enum {string}
139324
- */
139325
- reason?: "accountClassificationLocked" | "accountConnectionAttached" | "accountInUse" | "alreadyPaid" | "amountExceedsReturnable" | "archiveRequired" | "bankAccountTooManyRecords" | "bankRecordInactive" | "bankRecordNotCsvSource" | "bankRecordPlaidSource" | "bankRecordReconciled" | "bankRecordRuleMatched" | "bankRecordUnassigned" | "bankRuleRunIncomplete" | "beforeStatementStartDate" | "booksClosed" | "dailyGlSummaryDisabled" | "duplicateLast4" | "duplicateName" | "duplicateUniqueRef" | "generalLedgerDisabled" | "generalLedgerStartDateMissing" | "historicalImportExists" | "historicalImportPending" | "inUse" | "lastAccessManager" | "listingInGroup" | "listingInGroupAlready" | "listingInactive" | "listingMappingAmbiguous" | "listingMappingRequired" | "mergeDryRunRequired" | "mergePlanChanged" | "notBankAccount" | "openingBalanceUpdateInProgress" | "openingTrialBalanceLocked" | "operationsAccountingDisabled" | "paymentAccountRequiresMarkPaid" | "paymentAttempted" | "plaidReplacementUnavailable" | "pmsAccountingStartMissing" | "previousStatementsOpen" | "rampConnectionInactive" | "reconciliationAmountMismatch" | "reconciliationTransferMismatch" | "requiredAccountMissing" | "reservationLocked" | "reservationUnmatched" | "selfModification" | "statementAttachment" | "statementExists" | "statementFutureExists" | "statementHasBlockingIssues" | "statementHasPayouts" | "statementInReview" | "statementNotReadyForPayment" | "statementPeriod" | "statementPublished" | "transactionInactive" | "transactionReconciled" | "transactionReconciledElsewhere";
139326
- message: string;
139327
- links?: {
139328
- docs: string;
139329
- schema: string;
139330
- };
139331
- issues: {
139332
- /** @enum {string} */
139333
- code?: "duplicateLast4";
139334
- message: string;
139335
- path?: (string | number)[];
139336
- schema?: string;
139337
- }[];
139338
- retryable?: boolean;
139339
- context?: unknown;
139340
- };
139341
- };
139342
- };
139343
- /** @description Not found */
139344
- 404: {
139345
- headers: {
139346
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
139347
- "Retry-After"?: number;
139348
- [name: string]: unknown;
139349
- };
139350
- content: {
139351
- "application/json": {
139352
- /** @enum {string} */
139353
- code: "AUDIT_CURSOR_EXPIRED" | "AUDIT_EVENT_REVISED" | "BAD_GATEWAY" | "BAD_REQUEST" | "CONFLICT" | "CONNECTION_RECONNECT_REQUIRED" | "EXPORT_REQUIRES_POST" | "FORBIDDEN" | "GATEWAY_TIMEOUT" | "GONE" | "INTERNAL_SERVER_ERROR" | "INVALID_PLAID_CONNECT_MODE" | "JOURNAL_RECALCULATION_PENDING" | "LOCKED" | "METHOD_NOT_SUPPORTED" | "MISDIRECTED_REQUEST" | "NOT_FOUND" | "NOT_IMPLEMENTED" | "OWNER_STATEMENT_LINK_EXPIRED" | "OWNER_STATEMENT_LINK_INVALID" | "PAYLOAD_TOO_LARGE" | "PLAID_CONNECTION_NOT_FOUND" | "PLAID_CONNECT_CONFIGURATION_CHANGED" | "PLAID_CONNECT_EXPIRED" | "PLAID_CONNECT_IN_PROGRESS" | "PLAID_CONNECT_REQUIRES_NEW_LINK" | "PLAID_PROVIDER_UNAVAILABLE" | "RAMP_VENDOR_OWNER_REQUIRED" | "RATE_LIMITED" | "SERVICE_UNAVAILABLE" | "TEAM_DELETED" | "TEAM_DELETION_FROZEN" | "TEAM_MIGRATION_FROZEN" | "TEAM_WRITES_FROZEN" | "UNAUTHORIZED" | "UNPROCESSABLE_CONTENT";
139354
- /**
139355
- * @description Stable business-rule reason. Absent for access, authentication, and integration errors.
139356
- * @enum {string}
139357
- */
139358
- reason?: "accountClassificationLocked" | "accountConnectionAttached" | "accountInUse" | "alreadyPaid" | "amountExceedsReturnable" | "archiveRequired" | "bankAccountTooManyRecords" | "bankRecordInactive" | "bankRecordNotCsvSource" | "bankRecordPlaidSource" | "bankRecordReconciled" | "bankRecordRuleMatched" | "bankRecordUnassigned" | "bankRuleRunIncomplete" | "beforeStatementStartDate" | "booksClosed" | "dailyGlSummaryDisabled" | "duplicateLast4" | "duplicateName" | "duplicateUniqueRef" | "generalLedgerDisabled" | "generalLedgerStartDateMissing" | "historicalImportExists" | "historicalImportPending" | "inUse" | "lastAccessManager" | "listingInGroup" | "listingInGroupAlready" | "listingInactive" | "listingMappingAmbiguous" | "listingMappingRequired" | "mergeDryRunRequired" | "mergePlanChanged" | "notBankAccount" | "openingBalanceUpdateInProgress" | "openingTrialBalanceLocked" | "operationsAccountingDisabled" | "paymentAccountRequiresMarkPaid" | "paymentAttempted" | "plaidReplacementUnavailable" | "pmsAccountingStartMissing" | "previousStatementsOpen" | "rampConnectionInactive" | "reconciliationAmountMismatch" | "reconciliationTransferMismatch" | "requiredAccountMissing" | "reservationLocked" | "reservationUnmatched" | "selfModification" | "statementAttachment" | "statementExists" | "statementFutureExists" | "statementHasBlockingIssues" | "statementHasPayouts" | "statementInReview" | "statementNotReadyForPayment" | "statementPeriod" | "statementPublished" | "transactionInactive" | "transactionReconciled" | "transactionReconciledElsewhere";
139359
- message: string;
139360
- links?: {
139361
- docs: string;
139362
- schema: string;
139363
- };
139364
- issues: {
139365
- /** @enum {string} */
139366
- code?: "duplicateLast4";
139367
- message: string;
139368
- path?: (string | number)[];
139369
- schema?: string;
139370
- }[];
139371
- retryable?: boolean;
139372
- context?: unknown;
139373
- };
139374
- };
139375
- };
139376
- /** @description Conflict */
139377
- 409: {
139378
- headers: {
139379
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
139380
- "Retry-After"?: number;
139381
- [name: string]: unknown;
139382
- };
139383
- content: {
139384
- "application/json": {
139385
- /** @enum {string} */
139386
- code: "AUDIT_CURSOR_EXPIRED" | "AUDIT_EVENT_REVISED" | "BAD_GATEWAY" | "BAD_REQUEST" | "CONFLICT" | "CONNECTION_RECONNECT_REQUIRED" | "EXPORT_REQUIRES_POST" | "FORBIDDEN" | "GATEWAY_TIMEOUT" | "GONE" | "INTERNAL_SERVER_ERROR" | "INVALID_PLAID_CONNECT_MODE" | "JOURNAL_RECALCULATION_PENDING" | "LOCKED" | "METHOD_NOT_SUPPORTED" | "MISDIRECTED_REQUEST" | "NOT_FOUND" | "NOT_IMPLEMENTED" | "OWNER_STATEMENT_LINK_EXPIRED" | "OWNER_STATEMENT_LINK_INVALID" | "PAYLOAD_TOO_LARGE" | "PLAID_CONNECTION_NOT_FOUND" | "PLAID_CONNECT_CONFIGURATION_CHANGED" | "PLAID_CONNECT_EXPIRED" | "PLAID_CONNECT_IN_PROGRESS" | "PLAID_CONNECT_REQUIRES_NEW_LINK" | "PLAID_PROVIDER_UNAVAILABLE" | "RAMP_VENDOR_OWNER_REQUIRED" | "RATE_LIMITED" | "SERVICE_UNAVAILABLE" | "TEAM_DELETED" | "TEAM_DELETION_FROZEN" | "TEAM_MIGRATION_FROZEN" | "TEAM_WRITES_FROZEN" | "UNAUTHORIZED" | "UNPROCESSABLE_CONTENT";
139387
- /**
139388
- * @description Stable business-rule reason. Absent for access, authentication, and integration errors.
139389
- * @enum {string}
139390
- */
139391
- reason?: "accountClassificationLocked" | "accountConnectionAttached" | "accountInUse" | "alreadyPaid" | "amountExceedsReturnable" | "archiveRequired" | "bankAccountTooManyRecords" | "bankRecordInactive" | "bankRecordNotCsvSource" | "bankRecordPlaidSource" | "bankRecordReconciled" | "bankRecordRuleMatched" | "bankRecordUnassigned" | "bankRuleRunIncomplete" | "beforeStatementStartDate" | "booksClosed" | "dailyGlSummaryDisabled" | "duplicateLast4" | "duplicateName" | "duplicateUniqueRef" | "generalLedgerDisabled" | "generalLedgerStartDateMissing" | "historicalImportExists" | "historicalImportPending" | "inUse" | "lastAccessManager" | "listingInGroup" | "listingInGroupAlready" | "listingInactive" | "listingMappingAmbiguous" | "listingMappingRequired" | "mergeDryRunRequired" | "mergePlanChanged" | "notBankAccount" | "openingBalanceUpdateInProgress" | "openingTrialBalanceLocked" | "operationsAccountingDisabled" | "paymentAccountRequiresMarkPaid" | "paymentAttempted" | "plaidReplacementUnavailable" | "pmsAccountingStartMissing" | "previousStatementsOpen" | "rampConnectionInactive" | "reconciliationAmountMismatch" | "reconciliationTransferMismatch" | "requiredAccountMissing" | "reservationLocked" | "reservationUnmatched" | "selfModification" | "statementAttachment" | "statementExists" | "statementFutureExists" | "statementHasBlockingIssues" | "statementHasPayouts" | "statementInReview" | "statementNotReadyForPayment" | "statementPeriod" | "statementPublished" | "transactionInactive" | "transactionReconciled" | "transactionReconciledElsewhere";
139392
- message: string;
139393
- links?: {
139394
- docs: string;
139395
- schema: string;
139396
- };
139397
- issues: {
139398
- /** @enum {string} */
139399
- code?: "duplicateLast4";
139400
- message: string;
139401
- path?: (string | number)[];
139402
- schema?: string;
139403
- }[];
139404
- retryable?: boolean;
139405
- context?: unknown;
139406
- };
139407
- };
139408
- };
139409
- /** @description Gone */
139410
- 410: {
139411
- headers: {
139412
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
139413
- "Retry-After"?: number;
139414
- [name: string]: unknown;
139415
- };
139416
- content: {
139417
- "application/json": {
139418
- /** @enum {string} */
139419
- code: "AUDIT_CURSOR_EXPIRED" | "AUDIT_EVENT_REVISED" | "BAD_GATEWAY" | "BAD_REQUEST" | "CONFLICT" | "CONNECTION_RECONNECT_REQUIRED" | "EXPORT_REQUIRES_POST" | "FORBIDDEN" | "GATEWAY_TIMEOUT" | "GONE" | "INTERNAL_SERVER_ERROR" | "INVALID_PLAID_CONNECT_MODE" | "JOURNAL_RECALCULATION_PENDING" | "LOCKED" | "METHOD_NOT_SUPPORTED" | "MISDIRECTED_REQUEST" | "NOT_FOUND" | "NOT_IMPLEMENTED" | "OWNER_STATEMENT_LINK_EXPIRED" | "OWNER_STATEMENT_LINK_INVALID" | "PAYLOAD_TOO_LARGE" | "PLAID_CONNECTION_NOT_FOUND" | "PLAID_CONNECT_CONFIGURATION_CHANGED" | "PLAID_CONNECT_EXPIRED" | "PLAID_CONNECT_IN_PROGRESS" | "PLAID_CONNECT_REQUIRES_NEW_LINK" | "PLAID_PROVIDER_UNAVAILABLE" | "RAMP_VENDOR_OWNER_REQUIRED" | "RATE_LIMITED" | "SERVICE_UNAVAILABLE" | "TEAM_DELETION_FROZEN" | "TEAM_MIGRATION_FROZEN" | "TEAM_WRITES_FROZEN" | "UNAUTHORIZED" | "UNPROCESSABLE_CONTENT";
139420
- /**
139421
- * @description Stable business-rule reason. Absent for access, authentication, and integration errors.
139422
- * @enum {string}
139423
- */
139424
- reason?: "accountClassificationLocked" | "accountConnectionAttached" | "accountInUse" | "alreadyPaid" | "amountExceedsReturnable" | "archiveRequired" | "bankAccountTooManyRecords" | "bankRecordInactive" | "bankRecordNotCsvSource" | "bankRecordPlaidSource" | "bankRecordReconciled" | "bankRecordRuleMatched" | "bankRecordUnassigned" | "bankRuleRunIncomplete" | "beforeStatementStartDate" | "booksClosed" | "dailyGlSummaryDisabled" | "duplicateLast4" | "duplicateName" | "duplicateUniqueRef" | "generalLedgerDisabled" | "generalLedgerStartDateMissing" | "historicalImportExists" | "historicalImportPending" | "inUse" | "lastAccessManager" | "listingInGroup" | "listingInGroupAlready" | "listingInactive" | "listingMappingAmbiguous" | "listingMappingRequired" | "mergeDryRunRequired" | "mergePlanChanged" | "notBankAccount" | "openingBalanceUpdateInProgress" | "openingTrialBalanceLocked" | "operationsAccountingDisabled" | "paymentAccountRequiresMarkPaid" | "paymentAttempted" | "plaidReplacementUnavailable" | "pmsAccountingStartMissing" | "previousStatementsOpen" | "rampConnectionInactive" | "reconciliationAmountMismatch" | "reconciliationTransferMismatch" | "requiredAccountMissing" | "reservationLocked" | "reservationUnmatched" | "selfModification" | "statementAttachment" | "statementExists" | "statementFutureExists" | "statementHasBlockingIssues" | "statementHasPayouts" | "statementInReview" | "statementNotReadyForPayment" | "statementPeriod" | "statementPublished" | "transactionInactive" | "transactionReconciled" | "transactionReconciledElsewhere";
139425
- message: string;
139426
- links?: {
139427
- docs: string;
139428
- schema: string;
139429
- };
139430
- issues: {
139431
- /** @enum {string} */
139432
- code?: "duplicateLast4";
139433
- message: string;
139434
- path?: (string | number)[];
139435
- schema?: string;
139436
- }[];
139437
- retryable?: boolean;
139438
- context?: unknown;
139439
- } | {
139440
- /** @constant */
139441
- code: "TEAM_DELETED";
139442
- /**
139443
- * @description Stable business-rule reason. Absent for access, authentication, and integration errors.
139444
- * @enum {string}
139445
- */
139446
- reason?: "accountClassificationLocked" | "accountConnectionAttached" | "accountInUse" | "alreadyPaid" | "amountExceedsReturnable" | "archiveRequired" | "bankAccountTooManyRecords" | "bankRecordInactive" | "bankRecordNotCsvSource" | "bankRecordPlaidSource" | "bankRecordReconciled" | "bankRecordRuleMatched" | "bankRecordUnassigned" | "bankRuleRunIncomplete" | "beforeStatementStartDate" | "booksClosed" | "dailyGlSummaryDisabled" | "duplicateLast4" | "duplicateName" | "duplicateUniqueRef" | "generalLedgerDisabled" | "generalLedgerStartDateMissing" | "historicalImportExists" | "historicalImportPending" | "inUse" | "lastAccessManager" | "listingInGroup" | "listingInGroupAlready" | "listingInactive" | "listingMappingAmbiguous" | "listingMappingRequired" | "mergeDryRunRequired" | "mergePlanChanged" | "notBankAccount" | "openingBalanceUpdateInProgress" | "openingTrialBalanceLocked" | "operationsAccountingDisabled" | "paymentAccountRequiresMarkPaid" | "paymentAttempted" | "plaidReplacementUnavailable" | "pmsAccountingStartMissing" | "previousStatementsOpen" | "rampConnectionInactive" | "reconciliationAmountMismatch" | "reconciliationTransferMismatch" | "requiredAccountMissing" | "reservationLocked" | "reservationUnmatched" | "selfModification" | "statementAttachment" | "statementExists" | "statementFutureExists" | "statementHasBlockingIssues" | "statementHasPayouts" | "statementInReview" | "statementNotReadyForPayment" | "statementPeriod" | "statementPublished" | "transactionInactive" | "transactionReconciled" | "transactionReconciledElsewhere";
139447
- message: string;
139448
- links?: {
139449
- docs: string;
139450
- schema: string;
139451
- };
139452
- issues: {
139453
- /** @enum {string} */
139454
- code?: "duplicateLast4";
139455
- message: string;
139456
- path?: (string | number)[];
139457
- schema?: string;
139458
- }[];
139459
- retryable?: boolean;
139460
- context: {
139461
- /** Format: uuid */
139462
- teamId: string;
139463
- /** @constant */
139464
- reason: "deleted";
139465
- };
139466
- };
139467
- };
139468
- };
139469
- /** @description Payload too large */
139470
- 413: {
139471
- headers: {
139472
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
139473
- "Retry-After"?: number;
139474
- [name: string]: unknown;
139475
- };
139476
- content: {
139477
- "application/json": {
139478
- /** @enum {string} */
139479
- code: "AUDIT_CURSOR_EXPIRED" | "AUDIT_EVENT_REVISED" | "BAD_GATEWAY" | "BAD_REQUEST" | "CONFLICT" | "CONNECTION_RECONNECT_REQUIRED" | "EXPORT_REQUIRES_POST" | "FORBIDDEN" | "GATEWAY_TIMEOUT" | "GONE" | "INTERNAL_SERVER_ERROR" | "INVALID_PLAID_CONNECT_MODE" | "JOURNAL_RECALCULATION_PENDING" | "LOCKED" | "METHOD_NOT_SUPPORTED" | "MISDIRECTED_REQUEST" | "NOT_FOUND" | "NOT_IMPLEMENTED" | "OWNER_STATEMENT_LINK_EXPIRED" | "OWNER_STATEMENT_LINK_INVALID" | "PAYLOAD_TOO_LARGE" | "PLAID_CONNECTION_NOT_FOUND" | "PLAID_CONNECT_CONFIGURATION_CHANGED" | "PLAID_CONNECT_EXPIRED" | "PLAID_CONNECT_IN_PROGRESS" | "PLAID_CONNECT_REQUIRES_NEW_LINK" | "PLAID_PROVIDER_UNAVAILABLE" | "RAMP_VENDOR_OWNER_REQUIRED" | "RATE_LIMITED" | "SERVICE_UNAVAILABLE" | "TEAM_DELETED" | "TEAM_DELETION_FROZEN" | "TEAM_MIGRATION_FROZEN" | "TEAM_WRITES_FROZEN" | "UNAUTHORIZED" | "UNPROCESSABLE_CONTENT";
139480
- /**
139481
- * @description Stable business-rule reason. Absent for access, authentication, and integration errors.
139482
- * @enum {string}
139483
- */
139484
- reason?: "accountClassificationLocked" | "accountConnectionAttached" | "accountInUse" | "alreadyPaid" | "amountExceedsReturnable" | "archiveRequired" | "bankAccountTooManyRecords" | "bankRecordInactive" | "bankRecordNotCsvSource" | "bankRecordPlaidSource" | "bankRecordReconciled" | "bankRecordRuleMatched" | "bankRecordUnassigned" | "bankRuleRunIncomplete" | "beforeStatementStartDate" | "booksClosed" | "dailyGlSummaryDisabled" | "duplicateLast4" | "duplicateName" | "duplicateUniqueRef" | "generalLedgerDisabled" | "generalLedgerStartDateMissing" | "historicalImportExists" | "historicalImportPending" | "inUse" | "lastAccessManager" | "listingInGroup" | "listingInGroupAlready" | "listingInactive" | "listingMappingAmbiguous" | "listingMappingRequired" | "mergeDryRunRequired" | "mergePlanChanged" | "notBankAccount" | "openingBalanceUpdateInProgress" | "openingTrialBalanceLocked" | "operationsAccountingDisabled" | "paymentAccountRequiresMarkPaid" | "paymentAttempted" | "plaidReplacementUnavailable" | "pmsAccountingStartMissing" | "previousStatementsOpen" | "rampConnectionInactive" | "reconciliationAmountMismatch" | "reconciliationTransferMismatch" | "requiredAccountMissing" | "reservationLocked" | "reservationUnmatched" | "selfModification" | "statementAttachment" | "statementExists" | "statementFutureExists" | "statementHasBlockingIssues" | "statementHasPayouts" | "statementInReview" | "statementNotReadyForPayment" | "statementPeriod" | "statementPublished" | "transactionInactive" | "transactionReconciled" | "transactionReconciledElsewhere";
139485
- message: string;
139486
- links?: {
139487
- docs: string;
139488
- schema: string;
139489
- };
139490
- issues: {
139491
- /** @enum {string} */
139492
- code?: "duplicateLast4";
139493
- message: string;
139494
- path?: (string | number)[];
139495
- schema?: string;
139496
- }[];
139497
- retryable?: boolean;
139498
- context?: unknown;
139499
- };
139500
- };
139501
- };
139502
- /** @description Misdirected regional request */
139503
- 421: {
139504
- headers: {
139505
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
139506
- "Retry-After"?: number;
139507
- [name: string]: unknown;
139508
- };
139509
- content: {
139510
- "application/json": {
139511
- /** @constant */
139512
- code: "MISDIRECTED_REQUEST";
139513
- /**
139514
- * @description Stable business-rule reason. Absent for access, authentication, and integration errors.
139515
- * @enum {string}
139516
- */
139517
- reason?: "accountClassificationLocked" | "accountConnectionAttached" | "accountInUse" | "alreadyPaid" | "amountExceedsReturnable" | "archiveRequired" | "bankAccountTooManyRecords" | "bankRecordInactive" | "bankRecordNotCsvSource" | "bankRecordPlaidSource" | "bankRecordReconciled" | "bankRecordRuleMatched" | "bankRecordUnassigned" | "bankRuleRunIncomplete" | "beforeStatementStartDate" | "booksClosed" | "dailyGlSummaryDisabled" | "duplicateLast4" | "duplicateName" | "duplicateUniqueRef" | "generalLedgerDisabled" | "generalLedgerStartDateMissing" | "historicalImportExists" | "historicalImportPending" | "inUse" | "lastAccessManager" | "listingInGroup" | "listingInGroupAlready" | "listingInactive" | "listingMappingAmbiguous" | "listingMappingRequired" | "mergeDryRunRequired" | "mergePlanChanged" | "notBankAccount" | "openingBalanceUpdateInProgress" | "openingTrialBalanceLocked" | "operationsAccountingDisabled" | "paymentAccountRequiresMarkPaid" | "paymentAttempted" | "plaidReplacementUnavailable" | "pmsAccountingStartMissing" | "previousStatementsOpen" | "rampConnectionInactive" | "reconciliationAmountMismatch" | "reconciliationTransferMismatch" | "requiredAccountMissing" | "reservationLocked" | "reservationUnmatched" | "selfModification" | "statementAttachment" | "statementExists" | "statementFutureExists" | "statementHasBlockingIssues" | "statementHasPayouts" | "statementInReview" | "statementNotReadyForPayment" | "statementPeriod" | "statementPublished" | "transactionInactive" | "transactionReconciled" | "transactionReconciledElsewhere";
139518
- message: string;
139519
- links?: {
139520
- docs: string;
139521
- schema: string;
139522
- };
139523
- issues: {
139524
- /** @enum {string} */
139525
- code?: "duplicateLast4";
139526
- message: string;
139527
- path?: (string | number)[];
139528
- schema?: string;
139529
- }[];
139530
- retryable?: boolean;
139531
- context: {
139532
- /** Format: uuid */
139533
- teamId?: string;
139534
- /** @enum {string} */
139535
- dataRegion: "ap" | "crunchy" | "eu" | "hostaway" | "us";
139536
- /** Format: uri */
139537
- apiBaseUrl: string;
139538
- };
139539
- };
139540
- };
139541
- };
139542
- /** @description Unprocessable content */
139543
- 422: {
139544
- headers: {
139545
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
139546
- "Retry-After"?: number;
139547
- [name: string]: unknown;
139548
- };
139549
- content: {
139550
- "application/json": {
139551
- /** @enum {string} */
139552
- code: "AUDIT_CURSOR_EXPIRED" | "AUDIT_EVENT_REVISED" | "BAD_GATEWAY" | "BAD_REQUEST" | "CONFLICT" | "CONNECTION_RECONNECT_REQUIRED" | "EXPORT_REQUIRES_POST" | "FORBIDDEN" | "GATEWAY_TIMEOUT" | "GONE" | "INTERNAL_SERVER_ERROR" | "INVALID_PLAID_CONNECT_MODE" | "JOURNAL_RECALCULATION_PENDING" | "LOCKED" | "METHOD_NOT_SUPPORTED" | "MISDIRECTED_REQUEST" | "NOT_FOUND" | "NOT_IMPLEMENTED" | "OWNER_STATEMENT_LINK_EXPIRED" | "OWNER_STATEMENT_LINK_INVALID" | "PAYLOAD_TOO_LARGE" | "PLAID_CONNECTION_NOT_FOUND" | "PLAID_CONNECT_CONFIGURATION_CHANGED" | "PLAID_CONNECT_EXPIRED" | "PLAID_CONNECT_IN_PROGRESS" | "PLAID_CONNECT_REQUIRES_NEW_LINK" | "PLAID_PROVIDER_UNAVAILABLE" | "RAMP_VENDOR_OWNER_REQUIRED" | "RATE_LIMITED" | "SERVICE_UNAVAILABLE" | "TEAM_DELETED" | "TEAM_DELETION_FROZEN" | "TEAM_MIGRATION_FROZEN" | "TEAM_WRITES_FROZEN" | "UNAUTHORIZED" | "UNPROCESSABLE_CONTENT";
139553
- /**
139554
- * @description Stable business-rule reason. Absent for access, authentication, and integration errors.
139555
- * @enum {string}
139556
- */
139557
- reason?: "accountClassificationLocked" | "accountConnectionAttached" | "accountInUse" | "alreadyPaid" | "amountExceedsReturnable" | "archiveRequired" | "bankAccountTooManyRecords" | "bankRecordInactive" | "bankRecordNotCsvSource" | "bankRecordPlaidSource" | "bankRecordReconciled" | "bankRecordRuleMatched" | "bankRecordUnassigned" | "bankRuleRunIncomplete" | "beforeStatementStartDate" | "booksClosed" | "dailyGlSummaryDisabled" | "duplicateLast4" | "duplicateName" | "duplicateUniqueRef" | "generalLedgerDisabled" | "generalLedgerStartDateMissing" | "historicalImportExists" | "historicalImportPending" | "inUse" | "lastAccessManager" | "listingInGroup" | "listingInGroupAlready" | "listingInactive" | "listingMappingAmbiguous" | "listingMappingRequired" | "mergeDryRunRequired" | "mergePlanChanged" | "notBankAccount" | "openingBalanceUpdateInProgress" | "openingTrialBalanceLocked" | "operationsAccountingDisabled" | "paymentAccountRequiresMarkPaid" | "paymentAttempted" | "plaidReplacementUnavailable" | "pmsAccountingStartMissing" | "previousStatementsOpen" | "rampConnectionInactive" | "reconciliationAmountMismatch" | "reconciliationTransferMismatch" | "requiredAccountMissing" | "reservationLocked" | "reservationUnmatched" | "selfModification" | "statementAttachment" | "statementExists" | "statementFutureExists" | "statementHasBlockingIssues" | "statementHasPayouts" | "statementInReview" | "statementNotReadyForPayment" | "statementPeriod" | "statementPublished" | "transactionInactive" | "transactionReconciled" | "transactionReconciledElsewhere";
139558
- message: string;
139559
- links?: {
139560
- docs: string;
139561
- schema: string;
139562
- };
139563
- issues: {
139564
- /** @enum {string} */
139565
- code?: "duplicateLast4";
139566
- message: string;
139567
- path?: (string | number)[];
139568
- schema?: string;
139569
- }[];
139570
- retryable?: boolean;
139571
- context?: unknown;
139572
- };
139573
- };
139574
- };
139575
- /** @description Locked */
139576
- 423: {
139577
- headers: {
139578
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
139579
- "Retry-After"?: number;
139580
- [name: string]: unknown;
139581
- };
139582
- content: {
139583
- "application/json": {
139584
- /** @constant */
139585
- code: "LOCKED";
139586
- /**
139587
- * @description Stable business-rule reason. Absent for access, authentication, and integration errors.
139588
- * @enum {string}
139589
- */
139590
- reason?: "accountClassificationLocked" | "accountConnectionAttached" | "accountInUse" | "alreadyPaid" | "amountExceedsReturnable" | "archiveRequired" | "bankAccountTooManyRecords" | "bankRecordInactive" | "bankRecordNotCsvSource" | "bankRecordPlaidSource" | "bankRecordReconciled" | "bankRecordRuleMatched" | "bankRecordUnassigned" | "bankRuleRunIncomplete" | "beforeStatementStartDate" | "booksClosed" | "dailyGlSummaryDisabled" | "duplicateLast4" | "duplicateName" | "duplicateUniqueRef" | "generalLedgerDisabled" | "generalLedgerStartDateMissing" | "historicalImportExists" | "historicalImportPending" | "inUse" | "lastAccessManager" | "listingInGroup" | "listingInGroupAlready" | "listingInactive" | "listingMappingAmbiguous" | "listingMappingRequired" | "mergeDryRunRequired" | "mergePlanChanged" | "notBankAccount" | "openingBalanceUpdateInProgress" | "openingTrialBalanceLocked" | "operationsAccountingDisabled" | "paymentAccountRequiresMarkPaid" | "paymentAttempted" | "plaidReplacementUnavailable" | "pmsAccountingStartMissing" | "previousStatementsOpen" | "rampConnectionInactive" | "reconciliationAmountMismatch" | "reconciliationTransferMismatch" | "requiredAccountMissing" | "reservationLocked" | "reservationUnmatched" | "selfModification" | "statementAttachment" | "statementExists" | "statementFutureExists" | "statementHasBlockingIssues" | "statementHasPayouts" | "statementInReview" | "statementNotReadyForPayment" | "statementPeriod" | "statementPublished" | "transactionInactive" | "transactionReconciled" | "transactionReconciledElsewhere";
139591
- message: string;
139592
- links?: {
139593
- docs: string;
139594
- schema: string;
139595
- };
139596
- issues: {
139597
- /** @enum {string} */
139598
- code?: "duplicateLast4";
139599
- message: string;
139600
- path?: (string | number)[];
139601
- schema?: string;
139602
- }[];
139603
- retryable?: boolean;
139604
- context?: unknown;
139605
- } | {
139606
- /** @constant */
139607
- code: "TEAM_MIGRATION_FROZEN";
139608
- /**
139609
- * @description Stable business-rule reason. Absent for access, authentication, and integration errors.
139610
- * @enum {string}
139611
- */
139612
- reason?: "accountClassificationLocked" | "accountConnectionAttached" | "accountInUse" | "alreadyPaid" | "amountExceedsReturnable" | "archiveRequired" | "bankAccountTooManyRecords" | "bankRecordInactive" | "bankRecordNotCsvSource" | "bankRecordPlaidSource" | "bankRecordReconciled" | "bankRecordRuleMatched" | "bankRecordUnassigned" | "bankRuleRunIncomplete" | "beforeStatementStartDate" | "booksClosed" | "dailyGlSummaryDisabled" | "duplicateLast4" | "duplicateName" | "duplicateUniqueRef" | "generalLedgerDisabled" | "generalLedgerStartDateMissing" | "historicalImportExists" | "historicalImportPending" | "inUse" | "lastAccessManager" | "listingInGroup" | "listingInGroupAlready" | "listingInactive" | "listingMappingAmbiguous" | "listingMappingRequired" | "mergeDryRunRequired" | "mergePlanChanged" | "notBankAccount" | "openingBalanceUpdateInProgress" | "openingTrialBalanceLocked" | "operationsAccountingDisabled" | "paymentAccountRequiresMarkPaid" | "paymentAttempted" | "plaidReplacementUnavailable" | "pmsAccountingStartMissing" | "previousStatementsOpen" | "rampConnectionInactive" | "reconciliationAmountMismatch" | "reconciliationTransferMismatch" | "requiredAccountMissing" | "reservationLocked" | "reservationUnmatched" | "selfModification" | "statementAttachment" | "statementExists" | "statementFutureExists" | "statementHasBlockingIssues" | "statementHasPayouts" | "statementInReview" | "statementNotReadyForPayment" | "statementPeriod" | "statementPublished" | "transactionInactive" | "transactionReconciled" | "transactionReconciledElsewhere";
139613
- message: string;
139614
- links?: {
139615
- docs: string;
139616
- schema: string;
139617
- };
139618
- issues: {
139619
- /** @enum {string} */
139620
- code?: "duplicateLast4";
139621
- message: string;
139622
- path?: (string | number)[];
139623
- schema?: string;
139624
- }[];
139625
- retryable?: boolean;
139626
- context: {
139627
- /** Format: uuid */
139628
- teamId: string;
139629
- /** @constant */
139630
- migrationStatus: "frozen";
139631
- /** @constant */
139632
- reason: "migration";
139633
- };
139634
- } | {
139635
- /** @constant */
139636
- code: "TEAM_DELETION_FROZEN";
139637
- /**
139638
- * @description Stable business-rule reason. Absent for access, authentication, and integration errors.
139639
- * @enum {string}
139640
- */
139641
- reason?: "accountClassificationLocked" | "accountConnectionAttached" | "accountInUse" | "alreadyPaid" | "amountExceedsReturnable" | "archiveRequired" | "bankAccountTooManyRecords" | "bankRecordInactive" | "bankRecordNotCsvSource" | "bankRecordPlaidSource" | "bankRecordReconciled" | "bankRecordRuleMatched" | "bankRecordUnassigned" | "bankRuleRunIncomplete" | "beforeStatementStartDate" | "booksClosed" | "dailyGlSummaryDisabled" | "duplicateLast4" | "duplicateName" | "duplicateUniqueRef" | "generalLedgerDisabled" | "generalLedgerStartDateMissing" | "historicalImportExists" | "historicalImportPending" | "inUse" | "lastAccessManager" | "listingInGroup" | "listingInGroupAlready" | "listingInactive" | "listingMappingAmbiguous" | "listingMappingRequired" | "mergeDryRunRequired" | "mergePlanChanged" | "notBankAccount" | "openingBalanceUpdateInProgress" | "openingTrialBalanceLocked" | "operationsAccountingDisabled" | "paymentAccountRequiresMarkPaid" | "paymentAttempted" | "plaidReplacementUnavailable" | "pmsAccountingStartMissing" | "previousStatementsOpen" | "rampConnectionInactive" | "reconciliationAmountMismatch" | "reconciliationTransferMismatch" | "requiredAccountMissing" | "reservationLocked" | "reservationUnmatched" | "selfModification" | "statementAttachment" | "statementExists" | "statementFutureExists" | "statementHasBlockingIssues" | "statementHasPayouts" | "statementInReview" | "statementNotReadyForPayment" | "statementPeriod" | "statementPublished" | "transactionInactive" | "transactionReconciled" | "transactionReconciledElsewhere";
139642
- message: string;
139643
- links?: {
139644
- docs: string;
139645
- schema: string;
139646
- };
139647
- issues: {
139648
- /** @enum {string} */
139649
- code?: "duplicateLast4";
139650
- message: string;
139651
- path?: (string | number)[];
139652
- schema?: string;
139653
- }[];
139654
- retryable?: boolean;
139655
- context: {
139656
- /** Format: uuid */
139657
- teamId: string;
139658
- /** @constant */
139659
- migrationStatus: "frozen";
139660
- /** @constant */
139661
- reason: "deletion";
139662
- };
139663
- } | {
139664
- /** @constant */
139665
- code: "TEAM_WRITES_FROZEN";
139666
- /**
139667
- * @description Stable business-rule reason. Absent for access, authentication, and integration errors.
139668
- * @enum {string}
139669
- */
139670
- reason?: "accountClassificationLocked" | "accountConnectionAttached" | "accountInUse" | "alreadyPaid" | "amountExceedsReturnable" | "archiveRequired" | "bankAccountTooManyRecords" | "bankRecordInactive" | "bankRecordNotCsvSource" | "bankRecordPlaidSource" | "bankRecordReconciled" | "bankRecordRuleMatched" | "bankRecordUnassigned" | "bankRuleRunIncomplete" | "beforeStatementStartDate" | "booksClosed" | "dailyGlSummaryDisabled" | "duplicateLast4" | "duplicateName" | "duplicateUniqueRef" | "generalLedgerDisabled" | "generalLedgerStartDateMissing" | "historicalImportExists" | "historicalImportPending" | "inUse" | "lastAccessManager" | "listingInGroup" | "listingInGroupAlready" | "listingInactive" | "listingMappingAmbiguous" | "listingMappingRequired" | "mergeDryRunRequired" | "mergePlanChanged" | "notBankAccount" | "openingBalanceUpdateInProgress" | "openingTrialBalanceLocked" | "operationsAccountingDisabled" | "paymentAccountRequiresMarkPaid" | "paymentAttempted" | "plaidReplacementUnavailable" | "pmsAccountingStartMissing" | "previousStatementsOpen" | "rampConnectionInactive" | "reconciliationAmountMismatch" | "reconciliationTransferMismatch" | "requiredAccountMissing" | "reservationLocked" | "reservationUnmatched" | "selfModification" | "statementAttachment" | "statementExists" | "statementFutureExists" | "statementHasBlockingIssues" | "statementHasPayouts" | "statementInReview" | "statementNotReadyForPayment" | "statementPeriod" | "statementPublished" | "transactionInactive" | "transactionReconciled" | "transactionReconciledElsewhere";
139671
- message: string;
139672
- links?: {
139673
- docs: string;
139674
- schema: string;
139675
- };
139676
- issues: {
139677
- /** @enum {string} */
139678
- code?: "duplicateLast4";
139679
- message: string;
139680
- path?: (string | number)[];
139681
- schema?: string;
139682
- }[];
139683
- retryable?: boolean;
139684
- context: {
139685
- /** Format: uuid */
139686
- teamId: string;
139687
- /** @constant */
139688
- migrationStatus: "frozen";
139689
- /** @constant */
139690
- reason: "unknown";
139691
- };
139692
- };
139693
- };
139694
- };
139695
- /** @description Internal server error */
139696
- 500: {
139697
- headers: {
139698
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
139699
- "Retry-After"?: number;
139700
- [name: string]: unknown;
139701
- };
139702
- content: {
139703
- "application/json": {
139704
- /** @enum {string} */
139705
- code: "AUDIT_CURSOR_EXPIRED" | "AUDIT_EVENT_REVISED" | "BAD_GATEWAY" | "BAD_REQUEST" | "CONFLICT" | "CONNECTION_RECONNECT_REQUIRED" | "EXPORT_REQUIRES_POST" | "FORBIDDEN" | "GATEWAY_TIMEOUT" | "GONE" | "INTERNAL_SERVER_ERROR" | "INVALID_PLAID_CONNECT_MODE" | "JOURNAL_RECALCULATION_PENDING" | "LOCKED" | "METHOD_NOT_SUPPORTED" | "MISDIRECTED_REQUEST" | "NOT_FOUND" | "NOT_IMPLEMENTED" | "OWNER_STATEMENT_LINK_EXPIRED" | "OWNER_STATEMENT_LINK_INVALID" | "PAYLOAD_TOO_LARGE" | "PLAID_CONNECTION_NOT_FOUND" | "PLAID_CONNECT_CONFIGURATION_CHANGED" | "PLAID_CONNECT_EXPIRED" | "PLAID_CONNECT_IN_PROGRESS" | "PLAID_CONNECT_REQUIRES_NEW_LINK" | "PLAID_PROVIDER_UNAVAILABLE" | "RAMP_VENDOR_OWNER_REQUIRED" | "RATE_LIMITED" | "SERVICE_UNAVAILABLE" | "TEAM_DELETED" | "TEAM_DELETION_FROZEN" | "TEAM_MIGRATION_FROZEN" | "TEAM_WRITES_FROZEN" | "UNAUTHORIZED" | "UNPROCESSABLE_CONTENT";
139706
- /**
139707
- * @description Stable business-rule reason. Absent for access, authentication, and integration errors.
139708
- * @enum {string}
139709
- */
139710
- reason?: "accountClassificationLocked" | "accountConnectionAttached" | "accountInUse" | "alreadyPaid" | "amountExceedsReturnable" | "archiveRequired" | "bankAccountTooManyRecords" | "bankRecordInactive" | "bankRecordNotCsvSource" | "bankRecordPlaidSource" | "bankRecordReconciled" | "bankRecordRuleMatched" | "bankRecordUnassigned" | "bankRuleRunIncomplete" | "beforeStatementStartDate" | "booksClosed" | "dailyGlSummaryDisabled" | "duplicateLast4" | "duplicateName" | "duplicateUniqueRef" | "generalLedgerDisabled" | "generalLedgerStartDateMissing" | "historicalImportExists" | "historicalImportPending" | "inUse" | "lastAccessManager" | "listingInGroup" | "listingInGroupAlready" | "listingInactive" | "listingMappingAmbiguous" | "listingMappingRequired" | "mergeDryRunRequired" | "mergePlanChanged" | "notBankAccount" | "openingBalanceUpdateInProgress" | "openingTrialBalanceLocked" | "operationsAccountingDisabled" | "paymentAccountRequiresMarkPaid" | "paymentAttempted" | "plaidReplacementUnavailable" | "pmsAccountingStartMissing" | "previousStatementsOpen" | "rampConnectionInactive" | "reconciliationAmountMismatch" | "reconciliationTransferMismatch" | "requiredAccountMissing" | "reservationLocked" | "reservationUnmatched" | "selfModification" | "statementAttachment" | "statementExists" | "statementFutureExists" | "statementHasBlockingIssues" | "statementHasPayouts" | "statementInReview" | "statementNotReadyForPayment" | "statementPeriod" | "statementPublished" | "transactionInactive" | "transactionReconciled" | "transactionReconciledElsewhere";
139711
- message: string;
139712
- links?: {
139713
- docs: string;
139714
- schema: string;
139715
- };
139716
- issues: {
139717
- /** @enum {string} */
139718
- code?: "duplicateLast4";
139719
- message: string;
139720
- path?: (string | number)[];
139721
- schema?: string;
139722
- }[];
139723
- retryable?: boolean;
139724
- context?: unknown;
139725
- };
139726
- };
139727
- };
139728
- /** @description Service unavailable */
139729
- 503: {
139730
- headers: {
139731
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
139732
- "Retry-After"?: number;
139733
- [name: string]: unknown;
139734
- };
139735
- content: {
139736
- "application/json": {
139737
- /** @enum {string} */
139738
- code: "AUDIT_CURSOR_EXPIRED" | "AUDIT_EVENT_REVISED" | "BAD_GATEWAY" | "BAD_REQUEST" | "CONFLICT" | "CONNECTION_RECONNECT_REQUIRED" | "EXPORT_REQUIRES_POST" | "FORBIDDEN" | "GATEWAY_TIMEOUT" | "GONE" | "INTERNAL_SERVER_ERROR" | "INVALID_PLAID_CONNECT_MODE" | "JOURNAL_RECALCULATION_PENDING" | "LOCKED" | "METHOD_NOT_SUPPORTED" | "MISDIRECTED_REQUEST" | "NOT_FOUND" | "NOT_IMPLEMENTED" | "OWNER_STATEMENT_LINK_EXPIRED" | "OWNER_STATEMENT_LINK_INVALID" | "PAYLOAD_TOO_LARGE" | "PLAID_CONNECTION_NOT_FOUND" | "PLAID_CONNECT_CONFIGURATION_CHANGED" | "PLAID_CONNECT_EXPIRED" | "PLAID_CONNECT_IN_PROGRESS" | "PLAID_CONNECT_REQUIRES_NEW_LINK" | "PLAID_PROVIDER_UNAVAILABLE" | "RAMP_VENDOR_OWNER_REQUIRED" | "RATE_LIMITED" | "SERVICE_UNAVAILABLE" | "TEAM_DELETED" | "TEAM_DELETION_FROZEN" | "TEAM_MIGRATION_FROZEN" | "TEAM_WRITES_FROZEN" | "UNAUTHORIZED" | "UNPROCESSABLE_CONTENT";
139739
- /**
139740
- * @description Stable business-rule reason. Absent for access, authentication, and integration errors.
139741
- * @enum {string}
139742
- */
139743
- reason?: "accountClassificationLocked" | "accountConnectionAttached" | "accountInUse" | "alreadyPaid" | "amountExceedsReturnable" | "archiveRequired" | "bankAccountTooManyRecords" | "bankRecordInactive" | "bankRecordNotCsvSource" | "bankRecordPlaidSource" | "bankRecordReconciled" | "bankRecordRuleMatched" | "bankRecordUnassigned" | "bankRuleRunIncomplete" | "beforeStatementStartDate" | "booksClosed" | "dailyGlSummaryDisabled" | "duplicateLast4" | "duplicateName" | "duplicateUniqueRef" | "generalLedgerDisabled" | "generalLedgerStartDateMissing" | "historicalImportExists" | "historicalImportPending" | "inUse" | "lastAccessManager" | "listingInGroup" | "listingInGroupAlready" | "listingInactive" | "listingMappingAmbiguous" | "listingMappingRequired" | "mergeDryRunRequired" | "mergePlanChanged" | "notBankAccount" | "openingBalanceUpdateInProgress" | "openingTrialBalanceLocked" | "operationsAccountingDisabled" | "paymentAccountRequiresMarkPaid" | "paymentAttempted" | "plaidReplacementUnavailable" | "pmsAccountingStartMissing" | "previousStatementsOpen" | "rampConnectionInactive" | "reconciliationAmountMismatch" | "reconciliationTransferMismatch" | "requiredAccountMissing" | "reservationLocked" | "reservationUnmatched" | "selfModification" | "statementAttachment" | "statementExists" | "statementFutureExists" | "statementHasBlockingIssues" | "statementHasPayouts" | "statementInReview" | "statementNotReadyForPayment" | "statementPeriod" | "statementPublished" | "transactionInactive" | "transactionReconciled" | "transactionReconciledElsewhere";
139744
- message: string;
139745
- links?: {
139746
- docs: string;
139747
- schema: string;
139748
- };
139749
- issues: {
139750
- /** @enum {string} */
139751
- code?: "duplicateLast4";
139752
- message: string;
139753
- path?: (string | number)[];
139754
- schema?: string;
139755
- }[];
139756
- retryable?: boolean;
139757
- context?: unknown;
139758
- };
139759
- };
139760
- };
139761
- };
139762
- };
139763
- deleteInternalReservationLineDefaultsByType: {
139188
+ putInternalReservationLineDefaultsByType: {
139764
139189
  parameters: {
139765
- query?: {
139766
- bookingChannel?: string;
139767
- };
139190
+ query?: never;
139768
139191
  header?: never;
139769
139192
  path: {
139770
139193
  type: string;
139771
139194
  };
139772
139195
  cookie?: never;
139773
139196
  };
139774
- requestBody?: never;
139197
+ requestBody?: {
139198
+ content: {
139199
+ "application/json": {
139200
+ bookingChannel?: string | null;
139201
+ accountKey: string | null;
139202
+ revenueRecognition?: ("checkIn" | "checkOut" | "proRata") | null;
139203
+ };
139204
+ };
139205
+ };
139775
139206
  responses: {
139776
139207
  /** @description Successful response */
139777
139208
  200: {
@@ -139780,8 +139211,16 @@ export interface operations {
139780
139211
  };
139781
139212
  content: {
139782
139213
  "application/json": {
139783
- /** @constant */
139784
- status: "deleted";
139214
+ /** Format: uuid */
139215
+ id: string;
139216
+ /** Format: uuid */
139217
+ classificationId: string;
139218
+ type: string;
139219
+ bookingChannel: string | null;
139220
+ partnerTenantId: string | null;
139221
+ accountKey: string | null;
139222
+ revenueRecognition: ("checkIn" | "checkOut" | "proRata") | null;
139223
+ revision: number;
139785
139224
  };
139786
139225
  };
139787
139226
  };
@@ -140304,37 +139743,15 @@ export interface operations {
140304
139743
  };
140305
139744
  };
140306
139745
  };
140307
- getInternalTeamsBilling: {
139746
+ deleteInternalReservationLineDefaultsByType: {
140308
139747
  parameters: {
140309
- query: {
140310
- /** @description Exclude teams marked for testing and teams assigned to the demo accounting or billing partner. Test teams are included by default. */
140311
- excludeTestTeams?: boolean;
140312
- /** @description Select exactly one VRP Billing tab. */
140313
- type: "propertyManager" | "partner";
140314
- /** @description Filter by team name; property-manager searches also include company name. */
140315
- search?: string;
140316
- status?: "active" | "inactive" | "onboarding";
140317
- billingSubscriptionStatus?: ("active" | "pending" | "paused" | "cancelled" | "pendingCancellation" | "draft" | "voided" | "errored" | "missing" | "viaPartner") | ("testTeam" | "demoTeam");
140318
- billingPlan?: string;
140319
- product?: "vrtrust" | "vrintegrations";
140320
- paymentMethod?: "card" | "direct_debit" | "direct_debit_ach" | "external" | "missing";
140321
- /** @description Require an active PMS connection on the property manager or on a partner billing client. */
140322
- appId?: string;
140323
- partnerId?: string;
140324
- billingPartnerId?: string;
140325
- /** @description Sort field; prefix with - for descending order */
140326
- sort?: "name" | "-name" | "created" | "-created";
140327
- /** @description Comma-separated enabled feature IDs. */
140328
- featureIds?: string;
140329
- limit?: number;
140330
- page?: number;
140331
- offset?: number;
139748
+ query?: {
139749
+ bookingChannel?: string;
140332
139750
  };
140333
- header?: {
140334
- /** @description Selects the regional data partition for this regional collection read. It does not change the authenticated team context. */
140335
- "x-data-region"?: "ap" | "crunchy" | "eu" | "hostaway" | "us";
139751
+ header?: never;
139752
+ path: {
139753
+ type: string;
140336
139754
  };
140337
- path?: never;
140338
139755
  cookie?: never;
140339
139756
  };
140340
139757
  requestBody?: never;
@@ -140346,64 +139763,8 @@ export interface operations {
140346
139763
  };
140347
139764
  content: {
140348
139765
  "application/json": {
140349
- data: {
140350
- /** Format: uuid */
140351
- id: string;
140352
- /** @description Whether the team, its accounting partner or its billing partner is a designated system/test team or directly references Demo and Test Console. Parent teams are evaluated without recursive inheritance. */
140353
- readonly isTest: boolean;
140354
- name: string;
140355
- /** @enum {string} */
140356
- dataRegion: "ap" | "crunchy" | "eu" | "hostaway" | "us";
140357
- logo: string | null;
140358
- /** @enum {string} */
140359
- status: "active" | "inactive";
140360
- capabilities: {
140361
- activate: {
140362
- enabled: boolean;
140363
- disabledReasons: ("teamBillingSubscriptionInactive" | "billingPartnerInactive")[];
140364
- };
140365
- };
140366
- isOnboarding: boolean;
140367
- isBillable: boolean | null;
140368
- isGeneralLedger: boolean | null;
140369
- partner: {
140370
- /** Format: uuid */
140371
- id: string;
140372
- name: string;
140373
- } | null;
140374
- billingPartner: {
140375
- /** Format: uuid */
140376
- id: string;
140377
- name: string;
140378
- } | null;
140379
- billingCustomerId: string | null;
140380
- billingSubscriptionId: string | null;
140381
- billingSubscriptionStatus: string | null;
140382
- directPricingEnabled: boolean;
140383
- intercomId: string | null;
140384
- billingPlan: string | null;
140385
- billingPaymentMethodType: string | null;
140386
- defaultCurrency: string | null;
140387
- migratedFromTenantId: string | null;
140388
- createdAt: string | null;
140389
- cancelledAt: string | null;
140390
- activeListings: number;
140391
- /** @enum {string} */
140392
- type: "propertyManager" | "partner";
140393
- /** @description Distinct active PMS names; property-manager rows only. */
140394
- pmsNames?: string[];
140395
- /** @description Active property-manager billing clients; partner rows only. */
140396
- teamCount?: number;
140397
- }[];
140398
- pagination: {
140399
- /** @default 100 */
140400
- limit: number;
140401
- /** @default 1 */
140402
- page: number;
140403
- total: number;
140404
- totalPage: number;
140405
- nextPage?: number;
140406
- };
139766
+ /** @constant */
139767
+ status: "deleted";
140407
139768
  };
140408
139769
  };
140409
139770
  };
@@ -140926,20 +140287,38 @@ export interface operations {
140926
140287
  };
140927
140288
  };
140928
140289
  };
140929
- deleteInternalTeam: {
140290
+ getInternalTeamsBilling: {
140930
140291
  parameters: {
140931
140292
  query: {
140932
- /** @description Must be true to delete the selected team. */
140933
- confirm: boolean;
140934
- force?: boolean;
140293
+ /** @description Exclude teams marked for testing and teams assigned to the demo accounting or billing partner. Test teams are included by default. */
140294
+ excludeTestTeams?: boolean;
140295
+ /** @description Select exactly one VRP Billing tab. */
140296
+ type: "propertyManager" | "partner";
140297
+ /** @description Filter by team name; property-manager searches also include company name. */
140298
+ search?: string;
140299
+ status?: "active" | "inactive" | "onboarding";
140300
+ billingSubscriptionStatus?: ("active" | "pending" | "paused" | "cancelled" | "pendingCancellation" | "draft" | "voided" | "errored" | "missing") | ("testTeam" | "demoTeam");
140301
+ /** @description Billing plan name, or "none" for teams without an assigned plan. */
140302
+ billingPlan?: string;
140303
+ product?: "vrtrust" | "vrintegrations";
140304
+ paymentMethod?: "card" | "direct_debit" | "direct_debit_ach" | "external" | "missing";
140305
+ /** @description Require an active PMS connection on the property manager or on a partner billing client. */
140306
+ appId?: string;
140307
+ partnerId?: string;
140308
+ billingPartnerId?: string;
140309
+ /** @description Sort field; prefix with - for descending order */
140310
+ sort?: "name" | "-name" | "created" | "-created";
140311
+ /** @description Comma-separated enabled feature IDs. */
140312
+ featureIds?: string;
140313
+ limit?: number;
140314
+ page?: number;
140315
+ offset?: number;
140935
140316
  };
140936
140317
  header?: {
140937
140318
  /** @description Selects the regional data partition for this regional collection read. It does not change the authenticated team context. */
140938
140319
  "x-data-region"?: "ap" | "crunchy" | "eu" | "hostaway" | "us";
140939
140320
  };
140940
- path: {
140941
- teamId: string;
140942
- };
140321
+ path?: never;
140943
140322
  cookie?: never;
140944
140323
  };
140945
140324
  requestBody?: never;
@@ -140951,19 +140330,61 @@ export interface operations {
140951
140330
  };
140952
140331
  content: {
140953
140332
  "application/json": {
140954
- /** Format: uuid */
140955
- operationId: string;
140956
- /** @constant */
140957
- status: "queued";
140958
- /** @constant */
140959
- type: "team-delete";
140960
- resource: {
140961
- /** @constant */
140962
- type: "team";
140333
+ data: {
140963
140334
  /** Format: uuid */
140964
140335
  id: string;
140965
- /** @constant */
140966
- role: "target";
140336
+ /** @description Whether the team, its accounting partner or its billing partner is a designated system/test team or directly references Demo and Test Console. Parent teams are evaluated without recursive inheritance. */
140337
+ readonly isTest: boolean;
140338
+ name: string;
140339
+ /** @enum {string} */
140340
+ dataRegion: "ap" | "crunchy" | "eu" | "hostaway" | "us";
140341
+ logo: string | null;
140342
+ /** @enum {string} */
140343
+ status: "active" | "inactive";
140344
+ capabilities: {
140345
+ activate: {
140346
+ enabled: boolean;
140347
+ disabledReasons: ("teamBillingSubscriptionInactive" | "billingPartnerInactive")[];
140348
+ };
140349
+ };
140350
+ isOnboarding: boolean;
140351
+ isGeneralLedger: boolean | null;
140352
+ partner: {
140353
+ /** Format: uuid */
140354
+ id: string;
140355
+ name: string;
140356
+ } | null;
140357
+ billingPartner: {
140358
+ /** Format: uuid */
140359
+ id: string;
140360
+ name: string;
140361
+ } | null;
140362
+ billingCustomerId: string | null;
140363
+ billingSubscriptionId: string | null;
140364
+ billingSubscriptionStatus: string | null;
140365
+ intercomId: string | null;
140366
+ billingPlan: string | null;
140367
+ billingPaymentMethodType: string | null;
140368
+ defaultCurrency: string | null;
140369
+ migratedFromTenantId: string | null;
140370
+ createdAt: string | null;
140371
+ cancelledAt: string | null;
140372
+ activeListings: number;
140373
+ /** @enum {string} */
140374
+ type: "propertyManager" | "partner";
140375
+ /** @description Distinct active PMS names; property-manager rows only. */
140376
+ pmsNames?: string[];
140377
+ /** @description Active property-manager billing clients; partner rows only. */
140378
+ teamCount?: number;
140379
+ }[];
140380
+ pagination: {
140381
+ /** @default 100 */
140382
+ limit: number;
140383
+ /** @default 1 */
140384
+ page: number;
140385
+ total: number;
140386
+ totalPage: number;
140387
+ nextPage?: number;
140967
140388
  };
140968
140389
  };
140969
140390
  };
@@ -141487,29 +140908,23 @@ export interface operations {
141487
140908
  };
141488
140909
  };
141489
140910
  };
141490
- putInternalTeamsByTeamIdBilling: {
140911
+ deleteInternalTeam: {
141491
140912
  parameters: {
141492
- query?: never;
141493
- header?: never;
140913
+ query: {
140914
+ /** @description Must be true to delete the selected team. */
140915
+ confirm: boolean;
140916
+ force?: boolean;
140917
+ };
140918
+ header?: {
140919
+ /** @description Selects the regional data partition for this regional collection read. It does not change the authenticated team context. */
140920
+ "x-data-region"?: "ap" | "crunchy" | "eu" | "hostaway" | "us";
140921
+ };
141494
140922
  path: {
141495
140923
  teamId: string;
141496
140924
  };
141497
140925
  cookie?: never;
141498
140926
  };
141499
- requestBody?: {
141500
- content: {
141501
- "application/json": {
141502
- billingCustomerId?: string | null;
141503
- billingSubscriptionId?: string | null;
141504
- billingPlan?: string | null;
141505
- billingPaymentMethodType?: ("card" | "apple_pay" | "google_pay" | "direct_debit" | "direct_debit_ach" | "direct_debit_bacs" | "stripe_link" | "transfer" | "transfer_automated" | "external") | null;
141506
- billingSubscriptionStatus?: ("active" | "cancelled" | "draft" | "errored" | "paused" | "pending" | "voided") | null;
141507
- cancelledAt?: string | null;
141508
- /** @enum {string} */
141509
- status?: "active" | "inactive";
141510
- };
141511
- };
141512
- };
140927
+ requestBody?: never;
141513
140928
  responses: {
141514
140929
  /** @description Successful response */
141515
140930
  200: {
@@ -141519,7 +140934,19 @@ export interface operations {
141519
140934
  content: {
141520
140935
  "application/json": {
141521
140936
  /** Format: uuid */
141522
- id: string;
140937
+ operationId: string;
140938
+ /** @constant */
140939
+ status: "queued";
140940
+ /** @constant */
140941
+ type: "team-delete";
140942
+ resource: {
140943
+ /** @constant */
140944
+ type: "team";
140945
+ /** Format: uuid */
140946
+ id: string;
140947
+ /** @constant */
140948
+ role: "target";
140949
+ };
141523
140950
  };
141524
140951
  };
141525
140952
  };
@@ -142042,7 +141469,7 @@ export interface operations {
142042
141469
  };
142043
141470
  };
142044
141471
  };
142045
- postInternalTeamsByTeamIdBillingMigrateSubscription: {
141472
+ putInternalTeamsByTeamIdBilling: {
142046
141473
  parameters: {
142047
141474
  query?: never;
142048
141475
  header?: never;
@@ -142053,7 +141480,16 @@ export interface operations {
142053
141480
  };
142054
141481
  requestBody?: {
142055
141482
  content: {
142056
- "application/json": Record<string, never>;
141483
+ "application/json": {
141484
+ billingCustomerId?: string | null;
141485
+ billingSubscriptionId?: string | null;
141486
+ billingPlan?: string | null;
141487
+ billingPaymentMethodType?: ("card" | "apple_pay" | "google_pay" | "direct_debit" | "direct_debit_ach" | "direct_debit_bacs" | "stripe_link" | "transfer" | "transfer_automated" | "external") | null;
141488
+ billingSubscriptionStatus?: ("active" | "cancelled" | "draft" | "errored" | "paused" | "pending" | "voided") | null;
141489
+ cancelledAt?: string | null;
141490
+ /** @enum {string} */
141491
+ status?: "active" | "inactive";
141492
+ };
142057
141493
  };
142058
141494
  };
142059
141495
  responses: {
@@ -142064,38 +141500,8 @@ export interface operations {
142064
141500
  };
142065
141501
  content: {
142066
141502
  "application/json": {
142067
- /** @enum {string} */
142068
- mode: "dry-run" | "apply";
142069
- requestedTeamIds: string[];
142070
- summary: {
142071
- planned: number;
142072
- skipped: number;
142073
- blocked: number;
142074
- completed: number;
142075
- };
142076
- results: {
142077
- teamId: string;
142078
- teamName: string;
142079
- /** @enum {string} */
142080
- environment: "development" | "production";
142081
- customerId: string | null;
142082
- storedSubscriptionId: string | null;
142083
- sourceSubscriptionId: string | null;
142084
- targetTemplate: ("Direct" | "Partner Client" | "Partner" | "Hostaway" | "BobW") | null;
142085
- targetTemplateId: string | null;
142086
- targetConfigurationId: string | null;
142087
- /** @enum {string} */
142088
- status: "planned" | "skipped" | "blocked" | "completed";
142089
- reason: string | null;
142090
- transitionId: string | null;
142091
- targetSubscriptionId: string | null;
142092
- preview: {
142093
- transitionInvoice: boolean;
142094
- transitionCreditNote: boolean;
142095
- nextInvoiceAt: string | null;
142096
- nextServicePeriodStartsAt: string | null;
142097
- } | null;
142098
- }[];
141503
+ /** Format: uuid */
141504
+ id: string;
142099
141505
  };
142100
141506
  };
142101
141507
  };
@@ -142822,7 +142228,6 @@ export interface operations {
142822
142228
  /** @enum {string} */
142823
142229
  status: "all" | "disabled" | "partially";
142824
142230
  }[];
142825
- isBillable: boolean;
142826
142231
  operations: {
142827
142232
  counts: {
142828
142233
  total: number;
@@ -143601,7 +143006,6 @@ export interface operations {
143601
143006
  /** @enum {string} */
143602
143007
  status: "all" | "disabled" | "partially";
143603
143008
  }[];
143604
- isBillable: boolean;
143605
143009
  operations: {
143606
143010
  counts: {
143607
143011
  total: number;
@@ -185517,7 +184921,6 @@ export interface operations {
185517
184921
  /** @constant */
185518
184922
  type: "propertyManager";
185519
184923
  isOnboarding: boolean;
185520
- isBillable: boolean | null;
185521
184924
  isGeneralLedger: boolean | null;
185522
184925
  partner: {
185523
184926
  /** Format: uuid */
@@ -188425,7 +187828,8 @@ export interface operations {
188425
187828
  search?: string;
188426
187829
  partnerId?: string;
188427
187830
  billingPartnerId?: string;
188428
- billingSubscriptionStatus?: "active" | "pending" | "paused" | "cancelled" | "pendingCancellation" | "draft" | "voided" | "errored" | "missing" | "viaPartner";
187831
+ billingSubscriptionStatus?: "active" | "pending" | "paused" | "cancelled" | "pendingCancellation" | "draft" | "voided" | "errored" | "missing";
187832
+ /** @description Billing plan name, or "none" for teams without an assigned plan. */
188429
187833
  billingPlan?: string;
188430
187834
  product?: "vrtrust" | "vrintegrations";
188431
187835
  /** @description Comma-separated team IDs. */
@@ -302998,7 +302402,6 @@ export interface operations {
302998
302402
  /** @enum {string} */
302999
302403
  status: "all" | "disabled" | "partially";
303000
302404
  }[];
303001
- isBillable: boolean;
303002
302405
  operations: {
303003
302406
  counts: {
303004
302407
  total: number;
@@ -303852,7 +303255,6 @@ export interface operations {
303852
303255
  /** @enum {string} */
303853
303256
  status: "all" | "disabled" | "partially";
303854
303257
  }[];
303855
- isBillable: boolean;
303856
303258
  operations: {
303857
303259
  counts: {
303858
303260
  total: number;
@@ -308639,7 +308041,6 @@ export interface operations {
308639
308041
  /** @enum {string} */
308640
308042
  status: "all" | "disabled" | "partially";
308641
308043
  }[];
308642
- isBillable: boolean;
308643
308044
  operations: {
308644
308045
  counts: {
308645
308046
  total: number;
@@ -315869,7 +315270,8 @@ export interface operations {
315869
315270
  billingPartnerId?: string;
315870
315271
  /** @description Filter by exact billing customer ID. */
315871
315272
  billingCustomerId?: string;
315872
- billingSubscriptionStatus?: "active" | "pending" | "paused" | "cancelled" | "pendingCancellation" | "draft" | "voided" | "errored" | "missing" | "viaPartner";
315273
+ billingSubscriptionStatus?: "active" | "pending" | "paused" | "cancelled" | "pendingCancellation" | "draft" | "voided" | "errored" | "missing";
315274
+ /** @description Billing plan name, or "none" for teams without an assigned plan. */
315873
315275
  billingPlan?: string;
315874
315276
  product?: "vrtrust" | "vrintegrations";
315875
315277
  /** @description Comma-separated enabled feature IDs. */
@@ -316071,7 +315473,6 @@ export interface operations {
316071
315473
  /** @enum {string} */
316072
315474
  status: "all" | "disabled" | "partially";
316073
315475
  }[];
316074
- isBillable: boolean;
316075
315476
  operations: {
316076
315477
  counts: {
316077
315478
  total: number;
@@ -316929,7 +316330,6 @@ export interface operations {
316929
316330
  /** @enum {string} */
316930
316331
  status: "all" | "disabled" | "partially";
316931
316332
  }[];
316932
- isBillable: boolean;
316933
316333
  operations: {
316934
316334
  counts: {
316935
316335
  total: number;
@@ -319182,7 +318582,6 @@ export interface operations {
319182
318582
  /** @enum {string} */
319183
318583
  status: "all" | "disabled" | "partially";
319184
318584
  }[];
319185
- isBillable: boolean;
319186
318585
  operations: {
319187
318586
  counts: {
319188
318587
  total: number;
@@ -320031,7 +319430,6 @@ export interface operations {
320031
319430
  /** @enum {string} */
320032
319431
  status: "all" | "disabled" | "partially";
320033
319432
  }[];
320034
- isBillable: boolean;
320035
319433
  operations: {
320036
319434
  counts: {
320037
319435
  total: number;