@vrplatform/api 1.3.1-stage.37740508117 → 1.3.1-stage.37748627379

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.
@@ -3587,6 +3587,23 @@ export interface paths {
3587
3587
  patch?: never;
3588
3588
  trace?: never;
3589
3589
  };
3590
+ "/internal/teams/{teamId}/journal-freshness-guard": {
3591
+ parameters: {
3592
+ query?: never;
3593
+ header?: never;
3594
+ path?: never;
3595
+ cookie?: never;
3596
+ };
3597
+ get?: never;
3598
+ /** @description Enable or clear the statement and payment guard that requires current journals for one team. x-team-id must match teamId. Clearing the guard rolls back enforcement and changes no accounting data. */
3599
+ put: operations["putInternalTeamsByTeamIdJournalFreshnessGuard"];
3600
+ post?: never;
3601
+ delete?: never;
3602
+ options?: never;
3603
+ head?: never;
3604
+ patch?: never;
3605
+ trace?: never;
3606
+ };
3590
3607
  "/internal/teams/{teamId}/vri-vrt-preview": {
3591
3608
  parameters: {
3592
3609
  query?: never;
@@ -140453,24 +140470,576 @@ export interface operations {
140453
140470
  };
140454
140471
  };
140455
140472
  };
140456
- putInternalReservationLineDefaultsByType: {
140473
+ putInternalReservationLineDefaultsByType: {
140474
+ parameters: {
140475
+ query?: never;
140476
+ header?: never;
140477
+ path: {
140478
+ type: string;
140479
+ };
140480
+ cookie?: never;
140481
+ };
140482
+ requestBody?: {
140483
+ content: {
140484
+ "application/json": {
140485
+ bookingChannel?: string | null;
140486
+ accountKey: string | null;
140487
+ revenueRecognition?: ("checkIn" | "checkOut" | "proRata") | null;
140488
+ };
140489
+ };
140490
+ };
140491
+ responses: {
140492
+ /** @description Successful response */
140493
+ 200: {
140494
+ headers: {
140495
+ [name: string]: unknown;
140496
+ };
140497
+ content: {
140498
+ "application/json": {
140499
+ /** Format: uuid */
140500
+ id: string;
140501
+ /** Format: uuid */
140502
+ classificationId: string;
140503
+ type: string;
140504
+ bookingChannel: string | null;
140505
+ partnerTenantId: string | null;
140506
+ accountKey: string | null;
140507
+ revenueRecognition: ("checkIn" | "checkOut" | "proRata") | null;
140508
+ revision: number;
140509
+ };
140510
+ };
140511
+ };
140512
+ /** @description Bad request */
140513
+ 400: {
140514
+ headers: {
140515
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
140516
+ "Retry-After"?: number;
140517
+ [name: string]: unknown;
140518
+ };
140519
+ content: {
140520
+ "application/json": {
140521
+ /** @enum {string} */
140522
+ 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";
140523
+ /**
140524
+ * @description Stable business-rule reason. Absent for access, authentication, and integration errors.
140525
+ * @enum {string}
140526
+ */
140527
+ 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" | "managedTeamRequired" | "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" | "subscriptionRecoveryUnavailable" | "transactionInactive" | "transactionReconciled" | "transactionReconciledElsewhere";
140528
+ message: string;
140529
+ links?: {
140530
+ docs: string;
140531
+ schema: string;
140532
+ };
140533
+ issues: {
140534
+ /** @enum {string} */
140535
+ code?: "duplicateLast4";
140536
+ message: string;
140537
+ path?: (string | number)[];
140538
+ schema?: string;
140539
+ }[];
140540
+ retryable?: boolean;
140541
+ context?: unknown;
140542
+ };
140543
+ };
140544
+ };
140545
+ /** @description Unauthorized */
140546
+ 401: {
140547
+ headers: {
140548
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
140549
+ "Retry-After"?: number;
140550
+ [name: string]: unknown;
140551
+ };
140552
+ content: {
140553
+ "application/json": {
140554
+ /** @enum {string} */
140555
+ 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";
140556
+ /**
140557
+ * @description Stable business-rule reason. Absent for access, authentication, and integration errors.
140558
+ * @enum {string}
140559
+ */
140560
+ 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" | "managedTeamRequired" | "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" | "subscriptionRecoveryUnavailable" | "transactionInactive" | "transactionReconciled" | "transactionReconciledElsewhere";
140561
+ message: string;
140562
+ links?: {
140563
+ docs: string;
140564
+ schema: string;
140565
+ };
140566
+ issues: {
140567
+ /** @enum {string} */
140568
+ code?: "duplicateLast4";
140569
+ message: string;
140570
+ path?: (string | number)[];
140571
+ schema?: string;
140572
+ }[];
140573
+ retryable?: boolean;
140574
+ context?: unknown;
140575
+ };
140576
+ };
140577
+ };
140578
+ /** @description Forbidden */
140579
+ 403: {
140580
+ headers: {
140581
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
140582
+ "Retry-After"?: number;
140583
+ [name: string]: unknown;
140584
+ };
140585
+ content: {
140586
+ "application/json": {
140587
+ /** @enum {string} */
140588
+ 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";
140589
+ /**
140590
+ * @description Stable business-rule reason. Absent for access, authentication, and integration errors.
140591
+ * @enum {string}
140592
+ */
140593
+ 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" | "managedTeamRequired" | "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" | "subscriptionRecoveryUnavailable" | "transactionInactive" | "transactionReconciled" | "transactionReconciledElsewhere";
140594
+ message: string;
140595
+ links?: {
140596
+ docs: string;
140597
+ schema: string;
140598
+ };
140599
+ issues: {
140600
+ /** @enum {string} */
140601
+ code?: "duplicateLast4";
140602
+ message: string;
140603
+ path?: (string | number)[];
140604
+ schema?: string;
140605
+ }[];
140606
+ retryable?: boolean;
140607
+ context?: unknown;
140608
+ };
140609
+ };
140610
+ };
140611
+ /** @description Not found */
140612
+ 404: {
140613
+ headers: {
140614
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
140615
+ "Retry-After"?: number;
140616
+ [name: string]: unknown;
140617
+ };
140618
+ content: {
140619
+ "application/json": {
140620
+ /** @enum {string} */
140621
+ 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";
140622
+ /**
140623
+ * @description Stable business-rule reason. Absent for access, authentication, and integration errors.
140624
+ * @enum {string}
140625
+ */
140626
+ 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" | "managedTeamRequired" | "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" | "subscriptionRecoveryUnavailable" | "transactionInactive" | "transactionReconciled" | "transactionReconciledElsewhere";
140627
+ message: string;
140628
+ links?: {
140629
+ docs: string;
140630
+ schema: string;
140631
+ };
140632
+ issues: {
140633
+ /** @enum {string} */
140634
+ code?: "duplicateLast4";
140635
+ message: string;
140636
+ path?: (string | number)[];
140637
+ schema?: string;
140638
+ }[];
140639
+ retryable?: boolean;
140640
+ context?: unknown;
140641
+ };
140642
+ };
140643
+ };
140644
+ /** @description Conflict */
140645
+ 409: {
140646
+ headers: {
140647
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
140648
+ "Retry-After"?: number;
140649
+ [name: string]: unknown;
140650
+ };
140651
+ content: {
140652
+ "application/json": {
140653
+ /** @enum {string} */
140654
+ 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";
140655
+ /**
140656
+ * @description Stable business-rule reason. Absent for access, authentication, and integration errors.
140657
+ * @enum {string}
140658
+ */
140659
+ 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" | "managedTeamRequired" | "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" | "subscriptionRecoveryUnavailable" | "transactionInactive" | "transactionReconciled" | "transactionReconciledElsewhere";
140660
+ message: string;
140661
+ links?: {
140662
+ docs: string;
140663
+ schema: string;
140664
+ };
140665
+ issues: {
140666
+ /** @enum {string} */
140667
+ code?: "duplicateLast4";
140668
+ message: string;
140669
+ path?: (string | number)[];
140670
+ schema?: string;
140671
+ }[];
140672
+ retryable?: boolean;
140673
+ context?: unknown;
140674
+ };
140675
+ };
140676
+ };
140677
+ /** @description Gone */
140678
+ 410: {
140679
+ headers: {
140680
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
140681
+ "Retry-After"?: number;
140682
+ [name: string]: unknown;
140683
+ };
140684
+ content: {
140685
+ "application/json": {
140686
+ /** @enum {string} */
140687
+ 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";
140688
+ /**
140689
+ * @description Stable business-rule reason. Absent for access, authentication, and integration errors.
140690
+ * @enum {string}
140691
+ */
140692
+ 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" | "managedTeamRequired" | "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" | "subscriptionRecoveryUnavailable" | "transactionInactive" | "transactionReconciled" | "transactionReconciledElsewhere";
140693
+ message: string;
140694
+ links?: {
140695
+ docs: string;
140696
+ schema: string;
140697
+ };
140698
+ issues: {
140699
+ /** @enum {string} */
140700
+ code?: "duplicateLast4";
140701
+ message: string;
140702
+ path?: (string | number)[];
140703
+ schema?: string;
140704
+ }[];
140705
+ retryable?: boolean;
140706
+ context?: unknown;
140707
+ } | {
140708
+ /** @constant */
140709
+ code: "TEAM_DELETED";
140710
+ /**
140711
+ * @description Stable business-rule reason. Absent for access, authentication, and integration errors.
140712
+ * @enum {string}
140713
+ */
140714
+ 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" | "managedTeamRequired" | "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" | "subscriptionRecoveryUnavailable" | "transactionInactive" | "transactionReconciled" | "transactionReconciledElsewhere";
140715
+ message: string;
140716
+ links?: {
140717
+ docs: string;
140718
+ schema: string;
140719
+ };
140720
+ issues: {
140721
+ /** @enum {string} */
140722
+ code?: "duplicateLast4";
140723
+ message: string;
140724
+ path?: (string | number)[];
140725
+ schema?: string;
140726
+ }[];
140727
+ retryable?: boolean;
140728
+ context: {
140729
+ /** Format: uuid */
140730
+ teamId: string;
140731
+ /** @constant */
140732
+ reason: "deleted";
140733
+ };
140734
+ };
140735
+ };
140736
+ };
140737
+ /** @description Payload too large */
140738
+ 413: {
140739
+ headers: {
140740
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
140741
+ "Retry-After"?: number;
140742
+ [name: string]: unknown;
140743
+ };
140744
+ content: {
140745
+ "application/json": {
140746
+ /** @enum {string} */
140747
+ 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";
140748
+ /**
140749
+ * @description Stable business-rule reason. Absent for access, authentication, and integration errors.
140750
+ * @enum {string}
140751
+ */
140752
+ 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" | "managedTeamRequired" | "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" | "subscriptionRecoveryUnavailable" | "transactionInactive" | "transactionReconciled" | "transactionReconciledElsewhere";
140753
+ message: string;
140754
+ links?: {
140755
+ docs: string;
140756
+ schema: string;
140757
+ };
140758
+ issues: {
140759
+ /** @enum {string} */
140760
+ code?: "duplicateLast4";
140761
+ message: string;
140762
+ path?: (string | number)[];
140763
+ schema?: string;
140764
+ }[];
140765
+ retryable?: boolean;
140766
+ context?: unknown;
140767
+ };
140768
+ };
140769
+ };
140770
+ /** @description Misdirected regional request */
140771
+ 421: {
140772
+ headers: {
140773
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
140774
+ "Retry-After"?: number;
140775
+ [name: string]: unknown;
140776
+ };
140777
+ content: {
140778
+ "application/json": {
140779
+ /** @constant */
140780
+ code: "MISDIRECTED_REQUEST";
140781
+ /**
140782
+ * @description Stable business-rule reason. Absent for access, authentication, and integration errors.
140783
+ * @enum {string}
140784
+ */
140785
+ 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" | "managedTeamRequired" | "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" | "subscriptionRecoveryUnavailable" | "transactionInactive" | "transactionReconciled" | "transactionReconciledElsewhere";
140786
+ message: string;
140787
+ links?: {
140788
+ docs: string;
140789
+ schema: string;
140790
+ };
140791
+ issues: {
140792
+ /** @enum {string} */
140793
+ code?: "duplicateLast4";
140794
+ message: string;
140795
+ path?: (string | number)[];
140796
+ schema?: string;
140797
+ }[];
140798
+ retryable?: boolean;
140799
+ context: {
140800
+ /** Format: uuid */
140801
+ teamId?: string;
140802
+ /** @enum {string} */
140803
+ dataRegion: "ap" | "crunchy" | "eu" | "hostaway" | "us";
140804
+ /** Format: uri */
140805
+ apiBaseUrl: string;
140806
+ };
140807
+ };
140808
+ };
140809
+ };
140810
+ /** @description Unprocessable content */
140811
+ 422: {
140812
+ headers: {
140813
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
140814
+ "Retry-After"?: number;
140815
+ [name: string]: unknown;
140816
+ };
140817
+ content: {
140818
+ "application/json": {
140819
+ /** @enum {string} */
140820
+ 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";
140821
+ /**
140822
+ * @description Stable business-rule reason. Absent for access, authentication, and integration errors.
140823
+ * @enum {string}
140824
+ */
140825
+ 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" | "managedTeamRequired" | "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" | "subscriptionRecoveryUnavailable" | "transactionInactive" | "transactionReconciled" | "transactionReconciledElsewhere";
140826
+ message: string;
140827
+ links?: {
140828
+ docs: string;
140829
+ schema: string;
140830
+ };
140831
+ issues: {
140832
+ /** @enum {string} */
140833
+ code?: "duplicateLast4";
140834
+ message: string;
140835
+ path?: (string | number)[];
140836
+ schema?: string;
140837
+ }[];
140838
+ retryable?: boolean;
140839
+ context?: unknown;
140840
+ };
140841
+ };
140842
+ };
140843
+ /** @description Locked */
140844
+ 423: {
140845
+ headers: {
140846
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
140847
+ "Retry-After"?: number;
140848
+ [name: string]: unknown;
140849
+ };
140850
+ content: {
140851
+ "application/json": {
140852
+ /** @constant */
140853
+ code: "LOCKED";
140854
+ /**
140855
+ * @description Stable business-rule reason. Absent for access, authentication, and integration errors.
140856
+ * @enum {string}
140857
+ */
140858
+ 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" | "managedTeamRequired" | "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" | "subscriptionRecoveryUnavailable" | "transactionInactive" | "transactionReconciled" | "transactionReconciledElsewhere";
140859
+ message: string;
140860
+ links?: {
140861
+ docs: string;
140862
+ schema: string;
140863
+ };
140864
+ issues: {
140865
+ /** @enum {string} */
140866
+ code?: "duplicateLast4";
140867
+ message: string;
140868
+ path?: (string | number)[];
140869
+ schema?: string;
140870
+ }[];
140871
+ retryable?: boolean;
140872
+ context?: unknown;
140873
+ } | {
140874
+ /** @constant */
140875
+ code: "TEAM_MIGRATION_FROZEN";
140876
+ /**
140877
+ * @description Stable business-rule reason. Absent for access, authentication, and integration errors.
140878
+ * @enum {string}
140879
+ */
140880
+ 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" | "managedTeamRequired" | "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" | "subscriptionRecoveryUnavailable" | "transactionInactive" | "transactionReconciled" | "transactionReconciledElsewhere";
140881
+ message: string;
140882
+ links?: {
140883
+ docs: string;
140884
+ schema: string;
140885
+ };
140886
+ issues: {
140887
+ /** @enum {string} */
140888
+ code?: "duplicateLast4";
140889
+ message: string;
140890
+ path?: (string | number)[];
140891
+ schema?: string;
140892
+ }[];
140893
+ retryable?: boolean;
140894
+ context: {
140895
+ /** Format: uuid */
140896
+ teamId: string;
140897
+ /** @constant */
140898
+ migrationStatus: "frozen";
140899
+ /** @constant */
140900
+ reason: "migration";
140901
+ };
140902
+ } | {
140903
+ /** @constant */
140904
+ code: "TEAM_DELETION_FROZEN";
140905
+ /**
140906
+ * @description Stable business-rule reason. Absent for access, authentication, and integration errors.
140907
+ * @enum {string}
140908
+ */
140909
+ 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" | "managedTeamRequired" | "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" | "subscriptionRecoveryUnavailable" | "transactionInactive" | "transactionReconciled" | "transactionReconciledElsewhere";
140910
+ message: string;
140911
+ links?: {
140912
+ docs: string;
140913
+ schema: string;
140914
+ };
140915
+ issues: {
140916
+ /** @enum {string} */
140917
+ code?: "duplicateLast4";
140918
+ message: string;
140919
+ path?: (string | number)[];
140920
+ schema?: string;
140921
+ }[];
140922
+ retryable?: boolean;
140923
+ context: {
140924
+ /** Format: uuid */
140925
+ teamId: string;
140926
+ /** @constant */
140927
+ migrationStatus: "frozen";
140928
+ /** @constant */
140929
+ reason: "deletion";
140930
+ };
140931
+ } | {
140932
+ /** @constant */
140933
+ code: "TEAM_WRITES_FROZEN";
140934
+ /**
140935
+ * @description Stable business-rule reason. Absent for access, authentication, and integration errors.
140936
+ * @enum {string}
140937
+ */
140938
+ 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" | "managedTeamRequired" | "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" | "subscriptionRecoveryUnavailable" | "transactionInactive" | "transactionReconciled" | "transactionReconciledElsewhere";
140939
+ message: string;
140940
+ links?: {
140941
+ docs: string;
140942
+ schema: string;
140943
+ };
140944
+ issues: {
140945
+ /** @enum {string} */
140946
+ code?: "duplicateLast4";
140947
+ message: string;
140948
+ path?: (string | number)[];
140949
+ schema?: string;
140950
+ }[];
140951
+ retryable?: boolean;
140952
+ context: {
140953
+ /** Format: uuid */
140954
+ teamId: string;
140955
+ /** @constant */
140956
+ migrationStatus: "frozen";
140957
+ /** @constant */
140958
+ reason: "unknown";
140959
+ };
140960
+ };
140961
+ };
140962
+ };
140963
+ /** @description Internal server error */
140964
+ 500: {
140965
+ headers: {
140966
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
140967
+ "Retry-After"?: number;
140968
+ [name: string]: unknown;
140969
+ };
140970
+ content: {
140971
+ "application/json": {
140972
+ /** @enum {string} */
140973
+ 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";
140974
+ /**
140975
+ * @description Stable business-rule reason. Absent for access, authentication, and integration errors.
140976
+ * @enum {string}
140977
+ */
140978
+ 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" | "managedTeamRequired" | "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" | "subscriptionRecoveryUnavailable" | "transactionInactive" | "transactionReconciled" | "transactionReconciledElsewhere";
140979
+ message: string;
140980
+ links?: {
140981
+ docs: string;
140982
+ schema: string;
140983
+ };
140984
+ issues: {
140985
+ /** @enum {string} */
140986
+ code?: "duplicateLast4";
140987
+ message: string;
140988
+ path?: (string | number)[];
140989
+ schema?: string;
140990
+ }[];
140991
+ retryable?: boolean;
140992
+ context?: unknown;
140993
+ };
140994
+ };
140995
+ };
140996
+ /** @description Service unavailable */
140997
+ 503: {
140998
+ headers: {
140999
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
141000
+ "Retry-After"?: number;
141001
+ [name: string]: unknown;
141002
+ };
141003
+ content: {
141004
+ "application/json": {
141005
+ /** @enum {string} */
141006
+ 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";
141007
+ /**
141008
+ * @description Stable business-rule reason. Absent for access, authentication, and integration errors.
141009
+ * @enum {string}
141010
+ */
141011
+ 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" | "managedTeamRequired" | "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" | "subscriptionRecoveryUnavailable" | "transactionInactive" | "transactionReconciled" | "transactionReconciledElsewhere";
141012
+ message: string;
141013
+ links?: {
141014
+ docs: string;
141015
+ schema: string;
141016
+ };
141017
+ issues: {
141018
+ /** @enum {string} */
141019
+ code?: "duplicateLast4";
141020
+ message: string;
141021
+ path?: (string | number)[];
141022
+ schema?: string;
141023
+ }[];
141024
+ retryable?: boolean;
141025
+ context?: unknown;
141026
+ };
141027
+ };
141028
+ };
141029
+ };
141030
+ };
141031
+ deleteInternalReservationLineDefaultsByType: {
140457
141032
  parameters: {
140458
- query?: never;
141033
+ query?: {
141034
+ bookingChannel?: string;
141035
+ };
140459
141036
  header?: never;
140460
141037
  path: {
140461
141038
  type: string;
140462
141039
  };
140463
141040
  cookie?: never;
140464
141041
  };
140465
- requestBody?: {
140466
- content: {
140467
- "application/json": {
140468
- bookingChannel?: string | null;
140469
- accountKey: string | null;
140470
- revenueRecognition?: ("checkIn" | "checkOut" | "proRata") | null;
140471
- };
140472
- };
140473
- };
141042
+ requestBody?: never;
140474
141043
  responses: {
140475
141044
  /** @description Successful response */
140476
141045
  200: {
@@ -140479,16 +141048,8 @@ export interface operations {
140479
141048
  };
140480
141049
  content: {
140481
141050
  "application/json": {
140482
- /** Format: uuid */
140483
- id: string;
140484
- /** Format: uuid */
140485
- classificationId: string;
140486
- type: string;
140487
- bookingChannel: string | null;
140488
- partnerTenantId: string | null;
140489
- accountKey: string | null;
140490
- revenueRecognition: ("checkIn" | "checkOut" | "proRata") | null;
140491
- revision: number;
141051
+ /** @constant */
141052
+ status: "deleted";
140492
141053
  };
140493
141054
  };
140494
141055
  };
@@ -141011,15 +141572,38 @@ export interface operations {
141011
141572
  };
141012
141573
  };
141013
141574
  };
141014
- deleteInternalReservationLineDefaultsByType: {
141575
+ getInternalTeamsBilling: {
141015
141576
  parameters: {
141016
- query?: {
141017
- bookingChannel?: string;
141577
+ query: {
141578
+ /** @description Exclude teams marked for testing and teams assigned to the demo accounting or billing partner. Test teams are included by default. */
141579
+ excludeTestTeams?: boolean;
141580
+ /** @description Select exactly one VRP Billing tab. */
141581
+ type: "propertyManager" | "partner";
141582
+ /** @description Filter by team name; property-manager searches also include company name. */
141583
+ search?: string;
141584
+ status?: "active" | "inactive" | "onboarding";
141585
+ billingSubscriptionStatus?: ("active" | "pending" | "paused" | "cancelled" | "pendingCancellation" | "draft" | "voided" | "errored" | "missing") | ("testTeam" | "demoTeam");
141586
+ /** @description Billing plan name, or "none" for teams without an assigned plan. */
141587
+ billingPlan?: string;
141588
+ product?: "vrtrust" | "vrintegrations";
141589
+ paymentMethod?: "card" | "direct_debit" | "direct_debit_ach" | "external" | "missing";
141590
+ /** @description Require an active PMS connection on the property manager or on a partner billing client. */
141591
+ appId?: string;
141592
+ partnerId?: string;
141593
+ billingPartnerId?: string;
141594
+ /** @description Sort field; prefix with - for descending order */
141595
+ sort?: "name" | "-name" | "created" | "-created";
141596
+ /** @description Comma-separated enabled feature IDs. */
141597
+ featureIds?: string;
141598
+ limit?: number;
141599
+ page?: number;
141600
+ offset?: number;
141018
141601
  };
141019
- header?: never;
141020
- path: {
141021
- type: string;
141602
+ header?: {
141603
+ /** @description Selects the regional data partition for this regional collection read. It does not change the authenticated team context. */
141604
+ "x-data-region"?: "ap" | "crunchy" | "eu" | "hostaway" | "us";
141022
141605
  };
141606
+ path?: never;
141023
141607
  cookie?: never;
141024
141608
  };
141025
141609
  requestBody?: never;
@@ -141031,8 +141615,62 @@ export interface operations {
141031
141615
  };
141032
141616
  content: {
141033
141617
  "application/json": {
141034
- /** @constant */
141035
- status: "deleted";
141618
+ data: {
141619
+ /** Format: uuid */
141620
+ id: string;
141621
+ /** @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. */
141622
+ readonly isTest: boolean;
141623
+ name: string;
141624
+ /** @enum {string} */
141625
+ dataRegion: "ap" | "crunchy" | "eu" | "hostaway" | "us";
141626
+ logo: string | null;
141627
+ /** @enum {string} */
141628
+ status: "active" | "inactive";
141629
+ capabilities: {
141630
+ activate: {
141631
+ enabled: boolean;
141632
+ disabledReasons: ("teamBillingSubscriptionInactive" | "billingPartnerInactive")[];
141633
+ };
141634
+ };
141635
+ isOnboarding: boolean;
141636
+ isGeneralLedger: boolean | null;
141637
+ partner: {
141638
+ /** Format: uuid */
141639
+ id: string;
141640
+ name: string;
141641
+ } | null;
141642
+ billingPartner: {
141643
+ /** Format: uuid */
141644
+ id: string;
141645
+ name: string;
141646
+ } | null;
141647
+ billingCustomerId: string | null;
141648
+ billingSubscriptionId: string | null;
141649
+ billingSubscriptionStatus: string | null;
141650
+ intercomId: string | null;
141651
+ billingPlan: string | null;
141652
+ billingPaymentMethodType: string | null;
141653
+ defaultCurrency: string | null;
141654
+ migratedFromTenantId: string | null;
141655
+ createdAt: string | null;
141656
+ cancelledAt: string | null;
141657
+ activeListings: number;
141658
+ /** @enum {string} */
141659
+ type: "propertyManager" | "partner";
141660
+ /** @description Distinct active PMS names; property-manager rows only. */
141661
+ pmsNames?: string[];
141662
+ /** @description Active property-manager billing clients; partner rows only. */
141663
+ teamCount?: number;
141664
+ }[];
141665
+ pagination: {
141666
+ /** @default 100 */
141667
+ limit: number;
141668
+ /** @default 1 */
141669
+ page: number;
141670
+ total: number;
141671
+ totalPage: number;
141672
+ nextPage?: number;
141673
+ };
141036
141674
  };
141037
141675
  };
141038
141676
  };
@@ -141555,38 +142193,20 @@ export interface operations {
141555
142193
  };
141556
142194
  };
141557
142195
  };
141558
- getInternalTeamsBilling: {
142196
+ deleteInternalTeam: {
141559
142197
  parameters: {
141560
142198
  query: {
141561
- /** @description Exclude teams marked for testing and teams assigned to the demo accounting or billing partner. Test teams are included by default. */
141562
- excludeTestTeams?: boolean;
141563
- /** @description Select exactly one VRP Billing tab. */
141564
- type: "propertyManager" | "partner";
141565
- /** @description Filter by team name; property-manager searches also include company name. */
141566
- search?: string;
141567
- status?: "active" | "inactive" | "onboarding";
141568
- billingSubscriptionStatus?: ("active" | "pending" | "paused" | "cancelled" | "pendingCancellation" | "draft" | "voided" | "errored" | "missing") | ("testTeam" | "demoTeam");
141569
- /** @description Billing plan name, or "none" for teams without an assigned plan. */
141570
- billingPlan?: string;
141571
- product?: "vrtrust" | "vrintegrations";
141572
- paymentMethod?: "card" | "direct_debit" | "direct_debit_ach" | "external" | "missing";
141573
- /** @description Require an active PMS connection on the property manager or on a partner billing client. */
141574
- appId?: string;
141575
- partnerId?: string;
141576
- billingPartnerId?: string;
141577
- /** @description Sort field; prefix with - for descending order */
141578
- sort?: "name" | "-name" | "created" | "-created";
141579
- /** @description Comma-separated enabled feature IDs. */
141580
- featureIds?: string;
141581
- limit?: number;
141582
- page?: number;
141583
- offset?: number;
142199
+ /** @description Must be true to delete the selected team. */
142200
+ confirm: boolean;
142201
+ force?: boolean;
141584
142202
  };
141585
142203
  header?: {
141586
142204
  /** @description Selects the regional data partition for this regional collection read. It does not change the authenticated team context. */
141587
142205
  "x-data-region"?: "ap" | "crunchy" | "eu" | "hostaway" | "us";
141588
142206
  };
141589
- path?: never;
142207
+ path: {
142208
+ teamId: string;
142209
+ };
141590
142210
  cookie?: never;
141591
142211
  };
141592
142212
  requestBody?: never;
@@ -141598,61 +142218,19 @@ export interface operations {
141598
142218
  };
141599
142219
  content: {
141600
142220
  "application/json": {
141601
- data: {
142221
+ /** Format: uuid */
142222
+ operationId: string;
142223
+ /** @constant */
142224
+ status: "queued";
142225
+ /** @constant */
142226
+ type: "team-delete";
142227
+ resource: {
142228
+ /** @constant */
142229
+ type: "team";
141602
142230
  /** Format: uuid */
141603
142231
  id: string;
141604
- /** @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. */
141605
- readonly isTest: boolean;
141606
- name: string;
141607
- /** @enum {string} */
141608
- dataRegion: "ap" | "crunchy" | "eu" | "hostaway" | "us";
141609
- logo: string | null;
141610
- /** @enum {string} */
141611
- status: "active" | "inactive";
141612
- capabilities: {
141613
- activate: {
141614
- enabled: boolean;
141615
- disabledReasons: ("teamBillingSubscriptionInactive" | "billingPartnerInactive")[];
141616
- };
141617
- };
141618
- isOnboarding: boolean;
141619
- isGeneralLedger: boolean | null;
141620
- partner: {
141621
- /** Format: uuid */
141622
- id: string;
141623
- name: string;
141624
- } | null;
141625
- billingPartner: {
141626
- /** Format: uuid */
141627
- id: string;
141628
- name: string;
141629
- } | null;
141630
- billingCustomerId: string | null;
141631
- billingSubscriptionId: string | null;
141632
- billingSubscriptionStatus: string | null;
141633
- intercomId: string | null;
141634
- billingPlan: string | null;
141635
- billingPaymentMethodType: string | null;
141636
- defaultCurrency: string | null;
141637
- migratedFromTenantId: string | null;
141638
- createdAt: string | null;
141639
- cancelledAt: string | null;
141640
- activeListings: number;
141641
- /** @enum {string} */
141642
- type: "propertyManager" | "partner";
141643
- /** @description Distinct active PMS names; property-manager rows only. */
141644
- pmsNames?: string[];
141645
- /** @description Active property-manager billing clients; partner rows only. */
141646
- teamCount?: number;
141647
- }[];
141648
- pagination: {
141649
- /** @default 100 */
141650
- limit: number;
141651
- /** @default 1 */
141652
- page: number;
141653
- total: number;
141654
- totalPage: number;
141655
- nextPage?: number;
142232
+ /** @constant */
142233
+ role: "target";
141656
142234
  };
141657
142235
  };
141658
142236
  };
@@ -142176,23 +142754,29 @@ export interface operations {
142176
142754
  };
142177
142755
  };
142178
142756
  };
142179
- deleteInternalTeam: {
142757
+ putInternalTeamsByTeamIdBilling: {
142180
142758
  parameters: {
142181
- query: {
142182
- /** @description Must be true to delete the selected team. */
142183
- confirm: boolean;
142184
- force?: boolean;
142185
- };
142186
- header?: {
142187
- /** @description Selects the regional data partition for this regional collection read. It does not change the authenticated team context. */
142188
- "x-data-region"?: "ap" | "crunchy" | "eu" | "hostaway" | "us";
142189
- };
142759
+ query?: never;
142760
+ header?: never;
142190
142761
  path: {
142191
142762
  teamId: string;
142192
142763
  };
142193
142764
  cookie?: never;
142194
142765
  };
142195
- requestBody?: never;
142766
+ requestBody?: {
142767
+ content: {
142768
+ "application/json": {
142769
+ billingCustomerId?: string | null;
142770
+ billingSubscriptionId?: string | null;
142771
+ billingPlan?: string | null;
142772
+ billingPaymentMethodType?: ("card" | "apple_pay" | "google_pay" | "direct_debit" | "direct_debit_ach" | "direct_debit_bacs" | "stripe_link" | "transfer" | "transfer_automated" | "external") | null;
142773
+ billingSubscriptionStatus?: ("active" | "cancelled" | "draft" | "errored" | "paused" | "pending" | "voided") | null;
142774
+ cancelledAt?: string | null;
142775
+ /** @enum {string} */
142776
+ status?: "active" | "inactive";
142777
+ };
142778
+ };
142779
+ };
142196
142780
  responses: {
142197
142781
  /** @description Successful response */
142198
142782
  200: {
@@ -142202,19 +142786,7 @@ export interface operations {
142202
142786
  content: {
142203
142787
  "application/json": {
142204
142788
  /** Format: uuid */
142205
- operationId: string;
142206
- /** @constant */
142207
- status: "queued";
142208
- /** @constant */
142209
- type: "team-delete";
142210
- resource: {
142211
- /** @constant */
142212
- type: "team";
142213
- /** Format: uuid */
142214
- id: string;
142215
- /** @constant */
142216
- role: "target";
142217
- };
142789
+ id: string;
142218
142790
  };
142219
142791
  };
142220
142792
  };
@@ -142737,9 +143309,12 @@ export interface operations {
142737
143309
  };
142738
143310
  };
142739
143311
  };
142740
- putInternalTeamsByTeamIdBilling: {
143312
+ putInternalTeamsByTeamIdJournalFreshnessGuard: {
142741
143313
  parameters: {
142742
- query?: never;
143314
+ query?: {
143315
+ /** @description Validate this request through the real write path, then roll back all changes. See https://docs.vrplatform.app/api/dry-run-mode. */
143316
+ dryRun?: boolean;
143317
+ };
142743
143318
  header?: never;
142744
143319
  path: {
142745
143320
  teamId: string;
@@ -142749,14 +143324,8 @@ export interface operations {
142749
143324
  requestBody?: {
142750
143325
  content: {
142751
143326
  "application/json": {
142752
- billingCustomerId?: string | null;
142753
- billingSubscriptionId?: string | null;
142754
- billingPlan?: string | null;
142755
- billingPaymentMethodType?: ("card" | "apple_pay" | "google_pay" | "direct_debit" | "direct_debit_ach" | "direct_debit_bacs" | "stripe_link" | "transfer" | "transfer_automated" | "external") | null;
142756
- billingSubscriptionStatus?: ("active" | "cancelled" | "draft" | "errored" | "paused" | "pending" | "voided") | null;
142757
- cancelledAt?: string | null;
142758
- /** @enum {string} */
142759
- status?: "active" | "inactive";
143327
+ /** @description true requires current journals for statement finalization and payment; false clears the switch */
143328
+ enabled: boolean;
142760
143329
  };
142761
143330
  };
142762
143331
  };
@@ -142770,6 +143339,7 @@ export interface operations {
142770
143339
  "application/json": {
142771
143340
  /** Format: uuid */
142772
143341
  id: string;
143342
+ guardsEnabledAt: string | null;
142773
143343
  };
142774
143344
  };
142775
143345
  };