@vrplatform/api 1.3.1-stage.37478928158 → 1.3.1-stage.37481453747

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.
@@ -5133,6 +5133,27 @@ export interface paths {
5133
5133
  patch?: never;
5134
5134
  trace?: never;
5135
5135
  };
5136
+ "/partner/vri-to-vrt/cutover": {
5137
+ parameters: {
5138
+ query?: never;
5139
+ header?: never;
5140
+ path?: never;
5141
+ cookie?: never;
5142
+ };
5143
+ get?: never;
5144
+ put?: never;
5145
+ /**
5146
+ * @description Pause selected Hostaway connections or transfer credentials to an existing historical target during an operator maintenance window. Transfer requires recorded readiness, provider pause and observed execution settlement; the first fetch requires manual review.
5147
+ *
5148
+ * Required scope: teams:provision, integrations:write, integrations:execute
5149
+ */
5150
+ post: operations["cutoverPartnerVriToVrt"];
5151
+ delete?: never;
5152
+ options?: never;
5153
+ head?: never;
5154
+ patch?: never;
5155
+ trace?: never;
5156
+ };
5136
5157
  "/partner/vri-to-vrt/reservation-line-mappings": {
5137
5158
  parameters: {
5138
5159
  query?: never;
@@ -191505,28 +191526,612 @@ export interface operations {
191505
191526
  };
191506
191527
  };
191507
191528
  };
191508
- getPartnerUsers: {
191529
+ getPartnerUsers: {
191530
+ parameters: {
191531
+ query?: {
191532
+ /** @description Filter by user name or email */
191533
+ search?: string;
191534
+ /** @description Filter by the exact user type */
191535
+ type?: "owner" | "user";
191536
+ /** @description Comma separated team ids; only return users with a membership on one of these teams */
191537
+ teamIds?: string;
191538
+ /** @description users: non-owner users with a portfolio membership; owners: owner users linked via membership or owner access; missing: users without any portfolio membership (delete candidates). Omitted returns every linked user. */
191539
+ view?: "users" | "owners" | "missing";
191540
+ /** @description Sort field; prefix with - for descending order */
191541
+ sort?: "name" | "-name" | "email" | "-email" | "lastSeen" | "-lastSeen" | "created" | "-created";
191542
+ limit?: number;
191543
+ page?: number;
191544
+ offset?: number;
191545
+ };
191546
+ header?: {
191547
+ /** @description Selects the regional data partition for this regional collection read. It does not change the authenticated team context. */
191548
+ "x-data-region"?: "ap" | "crunchy" | "eu" | "hostaway" | "us";
191549
+ };
191550
+ path?: never;
191551
+ cookie?: never;
191552
+ };
191553
+ requestBody?: never;
191554
+ responses: {
191555
+ /** @description Successful response */
191556
+ 200: {
191557
+ headers: {
191558
+ [name: string]: unknown;
191559
+ };
191560
+ content: {
191561
+ "application/json": {
191562
+ data: {
191563
+ /** Format: uuid */
191564
+ id: string;
191565
+ firstName: string | null;
191566
+ lastName: string | null;
191567
+ /** Format: email */
191568
+ email: string;
191569
+ secondaryEmails: string[];
191570
+ /** @description User kind (e.g. user, owner) */
191571
+ type?: string | null;
191572
+ lastSeen: string | null;
191573
+ createdAt: string | null;
191574
+ memberships: {
191575
+ /** @enum {string} */
191576
+ accessSource?: "direct" | "partnerManaged";
191577
+ /** Format: uuid */
191578
+ teamId: string;
191579
+ teamName: string;
191580
+ role?: string | null;
191581
+ status?: string | null;
191582
+ lastInvitedAt: string | null;
191583
+ }[];
191584
+ ownerAccesses: {
191585
+ /** Format: uuid */
191586
+ teamId: string;
191587
+ contactId: string | null;
191588
+ ownerId: string | null;
191589
+ role?: string | null;
191590
+ /** @description Owner contact name */
191591
+ name?: string | null;
191592
+ }[];
191593
+ }[];
191594
+ pagination: {
191595
+ /** @default 100 */
191596
+ limit: number;
191597
+ /** @default 1 */
191598
+ page: number;
191599
+ total: number;
191600
+ totalPage: number;
191601
+ nextPage?: number;
191602
+ };
191603
+ };
191604
+ };
191605
+ };
191606
+ /** @description Bad request */
191607
+ 400: {
191608
+ headers: {
191609
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
191610
+ "Retry-After"?: number;
191611
+ [name: string]: unknown;
191612
+ };
191613
+ content: {
191614
+ "application/json": {
191615
+ /** @enum {string} */
191616
+ 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";
191617
+ /**
191618
+ * @description Stable business-rule reason. Absent for access, authentication, and integration errors.
191619
+ * @enum {string}
191620
+ */
191621
+ 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";
191622
+ message: string;
191623
+ links?: {
191624
+ docs: string;
191625
+ schema: string;
191626
+ };
191627
+ issues: {
191628
+ /** @enum {string} */
191629
+ code?: "duplicateLast4";
191630
+ message: string;
191631
+ path?: (string | number)[];
191632
+ schema?: string;
191633
+ }[];
191634
+ retryable?: boolean;
191635
+ context?: unknown;
191636
+ };
191637
+ };
191638
+ };
191639
+ /** @description Unauthorized */
191640
+ 401: {
191641
+ headers: {
191642
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
191643
+ "Retry-After"?: number;
191644
+ [name: string]: unknown;
191645
+ };
191646
+ content: {
191647
+ "application/json": {
191648
+ /** @enum {string} */
191649
+ 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";
191650
+ /**
191651
+ * @description Stable business-rule reason. Absent for access, authentication, and integration errors.
191652
+ * @enum {string}
191653
+ */
191654
+ 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";
191655
+ message: string;
191656
+ links?: {
191657
+ docs: string;
191658
+ schema: string;
191659
+ };
191660
+ issues: {
191661
+ /** @enum {string} */
191662
+ code?: "duplicateLast4";
191663
+ message: string;
191664
+ path?: (string | number)[];
191665
+ schema?: string;
191666
+ }[];
191667
+ retryable?: boolean;
191668
+ context?: unknown;
191669
+ };
191670
+ };
191671
+ };
191672
+ /** @description Forbidden */
191673
+ 403: {
191674
+ headers: {
191675
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
191676
+ "Retry-After"?: number;
191677
+ [name: string]: unknown;
191678
+ };
191679
+ content: {
191680
+ "application/json": {
191681
+ /** @enum {string} */
191682
+ 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";
191683
+ /**
191684
+ * @description Stable business-rule reason. Absent for access, authentication, and integration errors.
191685
+ * @enum {string}
191686
+ */
191687
+ 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";
191688
+ message: string;
191689
+ links?: {
191690
+ docs: string;
191691
+ schema: string;
191692
+ };
191693
+ issues: {
191694
+ /** @enum {string} */
191695
+ code?: "duplicateLast4";
191696
+ message: string;
191697
+ path?: (string | number)[];
191698
+ schema?: string;
191699
+ }[];
191700
+ retryable?: boolean;
191701
+ context?: unknown;
191702
+ };
191703
+ };
191704
+ };
191705
+ /** @description Not found */
191706
+ 404: {
191707
+ headers: {
191708
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
191709
+ "Retry-After"?: number;
191710
+ [name: string]: unknown;
191711
+ };
191712
+ content: {
191713
+ "application/json": {
191714
+ /** @enum {string} */
191715
+ 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";
191716
+ /**
191717
+ * @description Stable business-rule reason. Absent for access, authentication, and integration errors.
191718
+ * @enum {string}
191719
+ */
191720
+ 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";
191721
+ message: string;
191722
+ links?: {
191723
+ docs: string;
191724
+ schema: string;
191725
+ };
191726
+ issues: {
191727
+ /** @enum {string} */
191728
+ code?: "duplicateLast4";
191729
+ message: string;
191730
+ path?: (string | number)[];
191731
+ schema?: string;
191732
+ }[];
191733
+ retryable?: boolean;
191734
+ context?: unknown;
191735
+ };
191736
+ };
191737
+ };
191738
+ /** @description Conflict */
191739
+ 409: {
191740
+ headers: {
191741
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
191742
+ "Retry-After"?: number;
191743
+ [name: string]: unknown;
191744
+ };
191745
+ content: {
191746
+ "application/json": {
191747
+ /** @enum {string} */
191748
+ 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";
191749
+ /**
191750
+ * @description Stable business-rule reason. Absent for access, authentication, and integration errors.
191751
+ * @enum {string}
191752
+ */
191753
+ 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";
191754
+ message: string;
191755
+ links?: {
191756
+ docs: string;
191757
+ schema: string;
191758
+ };
191759
+ issues: {
191760
+ /** @enum {string} */
191761
+ code?: "duplicateLast4";
191762
+ message: string;
191763
+ path?: (string | number)[];
191764
+ schema?: string;
191765
+ }[];
191766
+ retryable?: boolean;
191767
+ context?: unknown;
191768
+ };
191769
+ };
191770
+ };
191771
+ /** @description Gone */
191772
+ 410: {
191773
+ headers: {
191774
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
191775
+ "Retry-After"?: number;
191776
+ [name: string]: unknown;
191777
+ };
191778
+ content: {
191779
+ "application/json": {
191780
+ /** @enum {string} */
191781
+ 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";
191782
+ /**
191783
+ * @description Stable business-rule reason. Absent for access, authentication, and integration errors.
191784
+ * @enum {string}
191785
+ */
191786
+ 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";
191787
+ message: string;
191788
+ links?: {
191789
+ docs: string;
191790
+ schema: string;
191791
+ };
191792
+ issues: {
191793
+ /** @enum {string} */
191794
+ code?: "duplicateLast4";
191795
+ message: string;
191796
+ path?: (string | number)[];
191797
+ schema?: string;
191798
+ }[];
191799
+ retryable?: boolean;
191800
+ context?: unknown;
191801
+ } | {
191802
+ /** @constant */
191803
+ code: "TEAM_DELETED";
191804
+ /**
191805
+ * @description Stable business-rule reason. Absent for access, authentication, and integration errors.
191806
+ * @enum {string}
191807
+ */
191808
+ 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";
191809
+ message: string;
191810
+ links?: {
191811
+ docs: string;
191812
+ schema: string;
191813
+ };
191814
+ issues: {
191815
+ /** @enum {string} */
191816
+ code?: "duplicateLast4";
191817
+ message: string;
191818
+ path?: (string | number)[];
191819
+ schema?: string;
191820
+ }[];
191821
+ retryable?: boolean;
191822
+ context: {
191823
+ /** Format: uuid */
191824
+ teamId: string;
191825
+ /** @constant */
191826
+ reason: "deleted";
191827
+ };
191828
+ };
191829
+ };
191830
+ };
191831
+ /** @description Payload too large */
191832
+ 413: {
191833
+ headers: {
191834
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
191835
+ "Retry-After"?: number;
191836
+ [name: string]: unknown;
191837
+ };
191838
+ content: {
191839
+ "application/json": {
191840
+ /** @enum {string} */
191841
+ 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";
191842
+ /**
191843
+ * @description Stable business-rule reason. Absent for access, authentication, and integration errors.
191844
+ * @enum {string}
191845
+ */
191846
+ 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";
191847
+ message: string;
191848
+ links?: {
191849
+ docs: string;
191850
+ schema: string;
191851
+ };
191852
+ issues: {
191853
+ /** @enum {string} */
191854
+ code?: "duplicateLast4";
191855
+ message: string;
191856
+ path?: (string | number)[];
191857
+ schema?: string;
191858
+ }[];
191859
+ retryable?: boolean;
191860
+ context?: unknown;
191861
+ };
191862
+ };
191863
+ };
191864
+ /** @description Misdirected regional request */
191865
+ 421: {
191866
+ headers: {
191867
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
191868
+ "Retry-After"?: number;
191869
+ [name: string]: unknown;
191870
+ };
191871
+ content: {
191872
+ "application/json": {
191873
+ /** @constant */
191874
+ code: "MISDIRECTED_REQUEST";
191875
+ /**
191876
+ * @description Stable business-rule reason. Absent for access, authentication, and integration errors.
191877
+ * @enum {string}
191878
+ */
191879
+ 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";
191880
+ message: string;
191881
+ links?: {
191882
+ docs: string;
191883
+ schema: string;
191884
+ };
191885
+ issues: {
191886
+ /** @enum {string} */
191887
+ code?: "duplicateLast4";
191888
+ message: string;
191889
+ path?: (string | number)[];
191890
+ schema?: string;
191891
+ }[];
191892
+ retryable?: boolean;
191893
+ context: {
191894
+ /** Format: uuid */
191895
+ teamId?: string;
191896
+ /** @enum {string} */
191897
+ dataRegion: "ap" | "crunchy" | "eu" | "hostaway" | "us";
191898
+ /** Format: uri */
191899
+ apiBaseUrl: string;
191900
+ };
191901
+ };
191902
+ };
191903
+ };
191904
+ /** @description Unprocessable content */
191905
+ 422: {
191906
+ headers: {
191907
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
191908
+ "Retry-After"?: number;
191909
+ [name: string]: unknown;
191910
+ };
191911
+ content: {
191912
+ "application/json": {
191913
+ /** @enum {string} */
191914
+ 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";
191915
+ /**
191916
+ * @description Stable business-rule reason. Absent for access, authentication, and integration errors.
191917
+ * @enum {string}
191918
+ */
191919
+ 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";
191920
+ message: string;
191921
+ links?: {
191922
+ docs: string;
191923
+ schema: string;
191924
+ };
191925
+ issues: {
191926
+ /** @enum {string} */
191927
+ code?: "duplicateLast4";
191928
+ message: string;
191929
+ path?: (string | number)[];
191930
+ schema?: string;
191931
+ }[];
191932
+ retryable?: boolean;
191933
+ context?: unknown;
191934
+ };
191935
+ };
191936
+ };
191937
+ /** @description Locked */
191938
+ 423: {
191939
+ headers: {
191940
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
191941
+ "Retry-After"?: number;
191942
+ [name: string]: unknown;
191943
+ };
191944
+ content: {
191945
+ "application/json": {
191946
+ /** @constant */
191947
+ code: "LOCKED";
191948
+ /**
191949
+ * @description Stable business-rule reason. Absent for access, authentication, and integration errors.
191950
+ * @enum {string}
191951
+ */
191952
+ 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";
191953
+ message: string;
191954
+ links?: {
191955
+ docs: string;
191956
+ schema: string;
191957
+ };
191958
+ issues: {
191959
+ /** @enum {string} */
191960
+ code?: "duplicateLast4";
191961
+ message: string;
191962
+ path?: (string | number)[];
191963
+ schema?: string;
191964
+ }[];
191965
+ retryable?: boolean;
191966
+ context?: unknown;
191967
+ } | {
191968
+ /** @constant */
191969
+ code: "TEAM_MIGRATION_FROZEN";
191970
+ /**
191971
+ * @description Stable business-rule reason. Absent for access, authentication, and integration errors.
191972
+ * @enum {string}
191973
+ */
191974
+ 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";
191975
+ message: string;
191976
+ links?: {
191977
+ docs: string;
191978
+ schema: string;
191979
+ };
191980
+ issues: {
191981
+ /** @enum {string} */
191982
+ code?: "duplicateLast4";
191983
+ message: string;
191984
+ path?: (string | number)[];
191985
+ schema?: string;
191986
+ }[];
191987
+ retryable?: boolean;
191988
+ context: {
191989
+ /** Format: uuid */
191990
+ teamId: string;
191991
+ /** @constant */
191992
+ migrationStatus: "frozen";
191993
+ /** @constant */
191994
+ reason: "migration";
191995
+ };
191996
+ } | {
191997
+ /** @constant */
191998
+ code: "TEAM_DELETION_FROZEN";
191999
+ /**
192000
+ * @description Stable business-rule reason. Absent for access, authentication, and integration errors.
192001
+ * @enum {string}
192002
+ */
192003
+ 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";
192004
+ message: string;
192005
+ links?: {
192006
+ docs: string;
192007
+ schema: string;
192008
+ };
192009
+ issues: {
192010
+ /** @enum {string} */
192011
+ code?: "duplicateLast4";
192012
+ message: string;
192013
+ path?: (string | number)[];
192014
+ schema?: string;
192015
+ }[];
192016
+ retryable?: boolean;
192017
+ context: {
192018
+ /** Format: uuid */
192019
+ teamId: string;
192020
+ /** @constant */
192021
+ migrationStatus: "frozen";
192022
+ /** @constant */
192023
+ reason: "deletion";
192024
+ };
192025
+ } | {
192026
+ /** @constant */
192027
+ code: "TEAM_WRITES_FROZEN";
192028
+ /**
192029
+ * @description Stable business-rule reason. Absent for access, authentication, and integration errors.
192030
+ * @enum {string}
192031
+ */
192032
+ 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";
192033
+ message: string;
192034
+ links?: {
192035
+ docs: string;
192036
+ schema: string;
192037
+ };
192038
+ issues: {
192039
+ /** @enum {string} */
192040
+ code?: "duplicateLast4";
192041
+ message: string;
192042
+ path?: (string | number)[];
192043
+ schema?: string;
192044
+ }[];
192045
+ retryable?: boolean;
192046
+ context: {
192047
+ /** Format: uuid */
192048
+ teamId: string;
192049
+ /** @constant */
192050
+ migrationStatus: "frozen";
192051
+ /** @constant */
192052
+ reason: "unknown";
192053
+ };
192054
+ };
192055
+ };
192056
+ };
192057
+ /** @description Internal server error */
192058
+ 500: {
192059
+ headers: {
192060
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
192061
+ "Retry-After"?: number;
192062
+ [name: string]: unknown;
192063
+ };
192064
+ content: {
192065
+ "application/json": {
192066
+ /** @enum {string} */
192067
+ 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";
192068
+ /**
192069
+ * @description Stable business-rule reason. Absent for access, authentication, and integration errors.
192070
+ * @enum {string}
192071
+ */
192072
+ 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";
192073
+ message: string;
192074
+ links?: {
192075
+ docs: string;
192076
+ schema: string;
192077
+ };
192078
+ issues: {
192079
+ /** @enum {string} */
192080
+ code?: "duplicateLast4";
192081
+ message: string;
192082
+ path?: (string | number)[];
192083
+ schema?: string;
192084
+ }[];
192085
+ retryable?: boolean;
192086
+ context?: unknown;
192087
+ };
192088
+ };
192089
+ };
192090
+ /** @description Service unavailable */
192091
+ 503: {
192092
+ headers: {
192093
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
192094
+ "Retry-After"?: number;
192095
+ [name: string]: unknown;
192096
+ };
192097
+ content: {
192098
+ "application/json": {
192099
+ /** @enum {string} */
192100
+ 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";
192101
+ /**
192102
+ * @description Stable business-rule reason. Absent for access, authentication, and integration errors.
192103
+ * @enum {string}
192104
+ */
192105
+ 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";
192106
+ message: string;
192107
+ links?: {
192108
+ docs: string;
192109
+ schema: string;
192110
+ };
192111
+ issues: {
192112
+ /** @enum {string} */
192113
+ code?: "duplicateLast4";
192114
+ message: string;
192115
+ path?: (string | number)[];
192116
+ schema?: string;
192117
+ }[];
192118
+ retryable?: boolean;
192119
+ context?: unknown;
192120
+ };
192121
+ };
192122
+ };
192123
+ };
192124
+ };
192125
+ getPartnerUser: {
191509
192126
  parameters: {
191510
- query?: {
191511
- /** @description Filter by user name or email */
191512
- search?: string;
191513
- /** @description Filter by the exact user type */
191514
- type?: "owner" | "user";
191515
- /** @description Comma separated team ids; only return users with a membership on one of these teams */
191516
- teamIds?: string;
191517
- /** @description users: non-owner users with a portfolio membership; owners: owner users linked via membership or owner access; missing: users without any portfolio membership (delete candidates). Omitted returns every linked user. */
191518
- view?: "users" | "owners" | "missing";
191519
- /** @description Sort field; prefix with - for descending order */
191520
- sort?: "name" | "-name" | "email" | "-email" | "lastSeen" | "-lastSeen" | "created" | "-created";
191521
- limit?: number;
191522
- page?: number;
191523
- offset?: number;
191524
- };
192127
+ query?: never;
191525
192128
  header?: {
191526
192129
  /** @description Selects the regional data partition for this regional collection read. It does not change the authenticated team context. */
191527
192130
  "x-data-region"?: "ap" | "crunchy" | "eu" | "hostaway" | "us";
191528
192131
  };
191529
- path?: never;
192132
+ path: {
192133
+ id: string;
192134
+ };
191530
192135
  cookie?: never;
191531
192136
  };
191532
192137
  requestBody?: never;
@@ -191538,47 +192143,36 @@ export interface operations {
191538
192143
  };
191539
192144
  content: {
191540
192145
  "application/json": {
191541
- data: {
192146
+ /** Format: uuid */
192147
+ id: string;
192148
+ firstName: string | null;
192149
+ lastName: string | null;
192150
+ /** Format: email */
192151
+ email: string;
192152
+ secondaryEmails: string[];
192153
+ /** @description User kind (e.g. user, owner) */
192154
+ type?: string | null;
192155
+ lastSeen: string | null;
192156
+ createdAt: string | null;
192157
+ memberships: {
192158
+ /** @enum {string} */
192159
+ accessSource?: "direct" | "partnerManaged";
191542
192160
  /** Format: uuid */
191543
- id: string;
191544
- firstName: string | null;
191545
- lastName: string | null;
191546
- /** Format: email */
191547
- email: string;
191548
- secondaryEmails: string[];
191549
- /** @description User kind (e.g. user, owner) */
191550
- type?: string | null;
191551
- lastSeen: string | null;
191552
- createdAt: string | null;
191553
- memberships: {
191554
- /** @enum {string} */
191555
- accessSource?: "direct" | "partnerManaged";
191556
- /** Format: uuid */
191557
- teamId: string;
191558
- teamName: string;
191559
- role?: string | null;
191560
- status?: string | null;
191561
- lastInvitedAt: string | null;
191562
- }[];
191563
- ownerAccesses: {
191564
- /** Format: uuid */
191565
- teamId: string;
191566
- contactId: string | null;
191567
- ownerId: string | null;
191568
- role?: string | null;
191569
- /** @description Owner contact name */
191570
- name?: string | null;
191571
- }[];
192161
+ teamId: string;
192162
+ teamName: string;
192163
+ role?: string | null;
192164
+ status?: string | null;
192165
+ lastInvitedAt: string | null;
192166
+ }[];
192167
+ ownerAccesses: {
192168
+ /** Format: uuid */
192169
+ teamId: string;
192170
+ contactId: string | null;
192171
+ ownerId: string | null;
192172
+ role?: string | null;
192173
+ /** @description Owner contact name */
192174
+ name?: string | null;
191572
192175
  }[];
191573
- pagination: {
191574
- /** @default 100 */
191575
- limit: number;
191576
- /** @default 1 */
191577
- page: number;
191578
- total: number;
191579
- totalPage: number;
191580
- nextPage?: number;
191581
- };
191582
192176
  };
191583
192177
  };
191584
192178
  };
@@ -192101,13 +192695,10 @@ export interface operations {
192101
192695
  };
192102
192696
  };
192103
192697
  };
192104
- getPartnerUser: {
192698
+ deletePartnerUser: {
192105
192699
  parameters: {
192106
192700
  query?: never;
192107
- header?: {
192108
- /** @description Selects the regional data partition for this regional collection read. It does not change the authenticated team context. */
192109
- "x-data-region"?: "ap" | "crunchy" | "eu" | "hostaway" | "us";
192110
- };
192701
+ header?: never;
192111
192702
  path: {
192112
192703
  id: string;
192113
192704
  };
@@ -192122,36 +192713,14 @@ export interface operations {
192122
192713
  };
192123
192714
  content: {
192124
192715
  "application/json": {
192125
- /** Format: uuid */
192126
- id: string;
192127
- firstName: string | null;
192128
- lastName: string | null;
192129
- /** Format: email */
192130
- email: string;
192131
- secondaryEmails: string[];
192132
- /** @description User kind (e.g. user, owner) */
192133
- type?: string | null;
192134
- lastSeen: string | null;
192135
- createdAt: string | null;
192136
- memberships: {
192137
- /** @enum {string} */
192138
- accessSource?: "direct" | "partnerManaged";
192139
- /** Format: uuid */
192140
- teamId: string;
192141
- teamName: string;
192142
- role?: string | null;
192143
- status?: string | null;
192144
- lastInvitedAt: string | null;
192145
- }[];
192146
- ownerAccesses: {
192147
- /** Format: uuid */
192148
- teamId: string;
192149
- contactId: string | null;
192150
- ownerId: string | null;
192151
- role?: string | null;
192152
- /** @description Owner contact name */
192153
- name?: string | null;
192154
- }[];
192716
+ /** @enum {string} */
192717
+ status: "deleted";
192718
+ /** @description Deprecated: use status */
192719
+ deleted: boolean;
192720
+ files: number;
192721
+ memberships: number;
192722
+ ownerAccess: number;
192723
+ tokens: number;
192155
192724
  };
192156
192725
  };
192157
192726
  };
@@ -192674,7 +193243,7 @@ export interface operations {
192674
193243
  };
192675
193244
  };
192676
193245
  };
192677
- deletePartnerUser: {
193246
+ updatePartnerUserMemberships: {
192678
193247
  parameters: {
192679
193248
  query?: never;
192680
193249
  header?: never;
@@ -192683,7 +193252,24 @@ export interface operations {
192683
193252
  };
192684
193253
  cookie?: never;
192685
193254
  };
192686
- requestBody?: never;
193255
+ requestBody?: {
193256
+ content: {
193257
+ "application/json": {
193258
+ /**
193259
+ * @description Partner-level child-team access mode. Omit to preserve the member's current mode.
193260
+ * @enum {string}
193261
+ */
193262
+ managedTeamAccess?: "all" | "assigned";
193263
+ /** @description Replace semantics across the partner CHILD teams: listed teams are upserted with the given role, unlisted child-team memberships are removed. The partner-tenant membership itself and owner-role memberships are never touched. */
193264
+ memberships: {
193265
+ /** Format: uuid */
193266
+ teamId: string;
193267
+ /** @enum {string} */
193268
+ role: "admin" | "user";
193269
+ }[];
193270
+ };
193271
+ };
193272
+ };
192687
193273
  responses: {
192688
193274
  /** @description Successful response */
192689
193275
  200: {
@@ -192692,14 +193278,15 @@ export interface operations {
192692
193278
  };
192693
193279
  content: {
192694
193280
  "application/json": {
192695
- /** @enum {string} */
192696
- status: "deleted";
192697
- /** @description Deprecated: use status */
192698
- deleted: boolean;
192699
- files: number;
192700
- memberships: number;
192701
- ownerAccess: number;
192702
- tokens: number;
193281
+ data: {
193282
+ /** @enum {string} */
193283
+ accessSource?: "direct" | "partnerManaged";
193284
+ /** Format: uuid */
193285
+ teamId: string;
193286
+ teamName: string;
193287
+ role?: string | null;
193288
+ status?: string | null;
193289
+ }[];
192703
193290
  };
192704
193291
  };
192705
193292
  };
@@ -193222,30 +193809,25 @@ export interface operations {
193222
193809
  };
193223
193810
  };
193224
193811
  };
193225
- updatePartnerUserMemberships: {
193812
+ migratePartnerVriToVrt: {
193226
193813
  parameters: {
193227
193814
  query?: never;
193228
- header?: never;
193229
- path: {
193230
- id: string;
193815
+ header?: {
193816
+ /** @description Selects the regional data partition for this regional collection read. It does not change the authenticated team context. */
193817
+ "x-data-region"?: "ap" | "crunchy" | "eu" | "hostaway" | "us";
193231
193818
  };
193819
+ path?: never;
193232
193820
  cookie?: never;
193233
193821
  };
193234
193822
  requestBody?: {
193235
193823
  content: {
193236
193824
  "application/json": {
193237
- /**
193238
- * @description Partner-level child-team access mode. Omit to preserve the member's current mode.
193239
- * @enum {string}
193240
- */
193241
- managedTeamAccess?: "all" | "assigned";
193242
- /** @description Replace semantics across the partner CHILD teams: listed teams are upserted with the given role, unlisted child-team memberships are removed. The partner-tenant membership itself and owner-role memberships are never touched. */
193243
- memberships: {
193244
- /** Format: uuid */
193245
- teamId: string;
193246
- /** @enum {string} */
193247
- role: "admin" | "user";
193248
- }[];
193825
+ targetPartnerId?: string | null;
193826
+ targetName?: string | null;
193827
+ glStartAt: string;
193828
+ moveConnectionCredentials?: boolean;
193829
+ /** Format: uuid */
193830
+ sourceTeamId: string;
193249
193831
  };
193250
193832
  };
193251
193833
  };
@@ -193257,15 +193839,19 @@ export interface operations {
193257
193839
  };
193258
193840
  content: {
193259
193841
  "application/json": {
193260
- data: {
193842
+ operationId: string;
193843
+ /** @enum {string} */
193844
+ type: "ach-verification" | "bank-rule-run" | "calendar-block" | "calendar-unblock" | "connection-archive" | "connection-connect" | "connection-extract" | "connection-sync" | "csv-import" | "csv-import-preview" | "export" | "flow-run" | "historical-gl-import" | "historical-statement-import" | "listing-journal-refresh" | "plaid-initial-sync" | "pms-cutover" | "pms-cutover-preview" | "provider-payment" | "provider-payment-recovery" | "recurring-transaction-run" | "reservation-journal-refresh" | "statement-payout" | "statement-payout-preview" | "team-delete" | "team-demo-data" | "team-duplicate" | "team-initialize" | "transaction-journal-refresh" | "vri-statement-import" | "vri-team-migration" | "webhook-test";
193845
+ /** @constant */
193846
+ status: "queued";
193847
+ resource: {
193261
193848
  /** @enum {string} */
193262
- accessSource?: "direct" | "partnerManaged";
193849
+ type: "bank-rule" | "connection" | "contact" | "file" | "flow" | "listing" | "recurring-fee" | "recurring-transaction-template" | "reservation" | "statement" | "team" | "transaction" | "webhook";
193263
193850
  /** Format: uuid */
193264
- teamId: string;
193265
- teamName: string;
193266
- role?: string | null;
193267
- status?: string | null;
193268
- }[];
193851
+ id: string;
193852
+ /** @enum {string} */
193853
+ role: "source" | "target" | "result";
193854
+ } | null;
193269
193855
  };
193270
193856
  };
193271
193857
  };
@@ -193788,7 +194374,7 @@ export interface operations {
193788
194374
  };
193789
194375
  };
193790
194376
  };
193791
- migratePartnerVriToVrt: {
194377
+ backfillPartnerVriToVrtBookingChannels: {
193792
194378
  parameters: {
193793
194379
  query?: never;
193794
194380
  header?: {
@@ -193801,10 +194387,6 @@ export interface operations {
193801
194387
  requestBody?: {
193802
194388
  content: {
193803
194389
  "application/json": {
193804
- targetPartnerId?: string | null;
193805
- targetName?: string | null;
193806
- glStartAt: string;
193807
- moveConnectionCredentials?: boolean;
193808
194390
  /** Format: uuid */
193809
194391
  sourceTeamId: string;
193810
194392
  };
@@ -193818,19 +194400,7 @@ export interface operations {
193818
194400
  };
193819
194401
  content: {
193820
194402
  "application/json": {
193821
- operationId: string;
193822
- /** @enum {string} */
193823
- type: "ach-verification" | "bank-rule-run" | "calendar-block" | "calendar-unblock" | "connection-archive" | "connection-connect" | "connection-extract" | "connection-sync" | "csv-import" | "csv-import-preview" | "export" | "flow-run" | "historical-gl-import" | "historical-statement-import" | "listing-journal-refresh" | "plaid-initial-sync" | "pms-cutover" | "pms-cutover-preview" | "provider-payment" | "provider-payment-recovery" | "recurring-transaction-run" | "reservation-journal-refresh" | "statement-payout" | "statement-payout-preview" | "team-delete" | "team-demo-data" | "team-duplicate" | "team-initialize" | "transaction-journal-refresh" | "vri-statement-import" | "vri-team-migration" | "webhook-test";
193824
- /** @constant */
193825
- status: "queued";
193826
- resource: {
193827
- /** @enum {string} */
193828
- type: "bank-rule" | "connection" | "contact" | "file" | "flow" | "listing" | "recurring-fee" | "recurring-transaction-template" | "reservation" | "statement" | "team" | "transaction" | "webhook";
193829
- /** Format: uuid */
193830
- id: string;
193831
- /** @enum {string} */
193832
- role: "source" | "target" | "result";
193833
- } | null;
194403
+ bookingChannelCount: number;
193834
194404
  };
193835
194405
  };
193836
194406
  };
@@ -194353,7 +194923,7 @@ export interface operations {
194353
194923
  };
194354
194924
  };
194355
194925
  };
194356
- backfillPartnerVriToVrtBookingChannels: {
194926
+ cutoverPartnerVriToVrt: {
194357
194927
  parameters: {
194358
194928
  query?: never;
194359
194929
  header?: {
@@ -194366,8 +194936,77 @@ export interface operations {
194366
194936
  requestBody?: {
194367
194937
  content: {
194368
194938
  "application/json": {
194939
+ /**
194940
+ * Format: uuid
194941
+ * @description Stable reference reused for this linked team handover.
194942
+ */
194943
+ handoverRef: string;
194369
194944
  /** Format: uuid */
194370
194945
  sourceTeamId: string;
194946
+ /** Format: uuid */
194947
+ targetTeamId: string;
194948
+ /**
194949
+ * Format: uuid
194950
+ * @description Selected source Hostaway connection.
194951
+ */
194952
+ sourceConnectionId: string;
194953
+ /**
194954
+ * Format: uuid
194955
+ * @description Existing target Hostaway connection shell.
194956
+ */
194957
+ targetConnectionId: string;
194958
+ /**
194959
+ * Format: date
194960
+ * @description Customer-approved handover date.
194961
+ */
194962
+ handoverDate: string;
194963
+ /**
194964
+ * Format: date
194965
+ * @description Existing configured target ledger boundary; never adjusted.
194966
+ */
194967
+ glStartAt: string;
194968
+ /** @constant */
194969
+ confirmed: true;
194970
+ /**
194971
+ * @description Concurrent administrator changes are excluded during this handover.
194972
+ * @constant
194973
+ */
194974
+ maintenanceWindowConfirmed: true;
194975
+ readiness: {
194976
+ /**
194977
+ * Format: uuid
194978
+ * @description Operator record of customer readiness for this pair and date.
194979
+ */
194980
+ evidenceRef: string;
194981
+ /** @constant */
194982
+ mappings: true;
194983
+ /** @constant */
194984
+ ownership: true;
194985
+ /** @constant */
194986
+ balances: true;
194987
+ /** @constant */
194988
+ fees: true;
194989
+ /** @constant */
194990
+ billing: true;
194991
+ };
194992
+ /** @enum {string} */
194993
+ action: "pause" | "transfer";
194994
+ drain?: {
194995
+ /**
194996
+ * Format: uuid
194997
+ * @description Operator record of selected Trigger roots, children, refresh, flows, pending dispatch and ingest settlement.
194998
+ */
194999
+ evidenceRef: string;
195000
+ /** @constant */
195001
+ sourceWebhooksPaused: true;
195002
+ /**
195003
+ * @description Actual executions and writes have settled; flags, timers and canceled sync rows alone are insufficient.
195004
+ * @constant
195005
+ */
195006
+ executionsSettled: true;
195007
+ /** @constant */
195008
+ noUnknownWork: true;
195009
+ };
194371
195010
  };
194372
195011
  };
194373
195012
  };
@@ -194379,7 +195018,13 @@ export interface operations {
194379
195018
  };
194380
195019
  content: {
194381
195020
  "application/json": {
194382
- bookingChannelCount: number;
195021
+ /** Format: uuid */
195022
+ handoverRef: string;
195023
+ /** @enum {string} */
195024
+ stage: "paused" | "transferred";
195025
+ firstFetchOperationId: string | null;
195026
+ /** @constant */
195027
+ manualVerificationRequired: true;
194383
195028
  };
194384
195029
  };
194385
195030
  };