@vrplatform/api 1.3.1-stage.37627863106 → 1.3.1-stage.37628933993
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.
|
@@ -7218,6 +7218,27 @@ export interface paths {
|
|
|
7218
7218
|
patch?: never;
|
|
7219
7219
|
trace?: never;
|
|
7220
7220
|
};
|
|
7221
|
+
"/statements/{id}/email-history": {
|
|
7222
|
+
parameters: {
|
|
7223
|
+
query?: never;
|
|
7224
|
+
header?: never;
|
|
7225
|
+
path?: never;
|
|
7226
|
+
cookie?: never;
|
|
7227
|
+
};
|
|
7228
|
+
/**
|
|
7229
|
+
* @description List the owner emails sent for a statement, newest first, with each recipient outcome.
|
|
7230
|
+
*
|
|
7231
|
+
* Required scope: statements:read
|
|
7232
|
+
*/
|
|
7233
|
+
get: operations["getStatementsByIdEmailHistory"];
|
|
7234
|
+
put?: never;
|
|
7235
|
+
post?: never;
|
|
7236
|
+
delete?: never;
|
|
7237
|
+
options?: never;
|
|
7238
|
+
head?: never;
|
|
7239
|
+
patch?: never;
|
|
7240
|
+
trace?: never;
|
|
7241
|
+
};
|
|
7221
7242
|
"/statements/{id}/refresh-layout": {
|
|
7222
7243
|
parameters: {
|
|
7223
7244
|
query?: never;
|
|
@@ -294518,6 +294539,589 @@ export interface operations {
|
|
|
294518
294539
|
};
|
|
294519
294540
|
};
|
|
294520
294541
|
};
|
|
294542
|
+
getStatementsByIdEmailHistory: {
|
|
294543
|
+
parameters: {
|
|
294544
|
+
query?: never;
|
|
294545
|
+
header?: never;
|
|
294546
|
+
path: {
|
|
294547
|
+
id: string;
|
|
294548
|
+
};
|
|
294549
|
+
cookie?: never;
|
|
294550
|
+
};
|
|
294551
|
+
requestBody?: never;
|
|
294552
|
+
responses: {
|
|
294553
|
+
/** @description Successful response */
|
|
294554
|
+
200: {
|
|
294555
|
+
headers: {
|
|
294556
|
+
[name: string]: unknown;
|
|
294557
|
+
};
|
|
294558
|
+
content: {
|
|
294559
|
+
"application/json": {
|
|
294560
|
+
data: {
|
|
294561
|
+
/**
|
|
294562
|
+
* Format: uuid
|
|
294563
|
+
* @description Email send ID.
|
|
294564
|
+
*/
|
|
294565
|
+
id: string;
|
|
294566
|
+
/**
|
|
294567
|
+
* Format: date-time
|
|
294568
|
+
* @description When the send was requested.
|
|
294569
|
+
*/
|
|
294570
|
+
createdAt: string;
|
|
294571
|
+
/** @description publish, resend, or newLink when an owner requested a new statement link. Null for sends recorded before actions were tracked. */
|
|
294572
|
+
action: ("publish" | "resend" | "newLink") | null;
|
|
294573
|
+
/** @description Team member who published or resent. Null for owner requests. */
|
|
294574
|
+
requestedBy: {
|
|
294575
|
+
/** Format: uuid */
|
|
294576
|
+
id: string;
|
|
294577
|
+
name: string;
|
|
294578
|
+
email: string | null;
|
|
294579
|
+
} | null;
|
|
294580
|
+
/**
|
|
294581
|
+
* @description State of the whole send.
|
|
294582
|
+
* @enum {string}
|
|
294583
|
+
*/
|
|
294584
|
+
status: "queued" | "processing" | "completed" | "failed" | "canceled";
|
|
294585
|
+
recipients: {
|
|
294586
|
+
/** @description Owner contact recipient. */
|
|
294587
|
+
contactId: string | null;
|
|
294588
|
+
/** @description Portal user recipient. */
|
|
294589
|
+
userId: string | null;
|
|
294590
|
+
name: string;
|
|
294591
|
+
email: string | null;
|
|
294592
|
+
/**
|
|
294593
|
+
* @description sent means the email provider accepted the email.
|
|
294594
|
+
* @enum {string}
|
|
294595
|
+
*/
|
|
294596
|
+
outcome: "sent" | "skipped" | "failed" | "pending" | "canceled";
|
|
294597
|
+
/** @description Why the email was skipped or failed. */
|
|
294598
|
+
reason: ("missingEmail" | "unsubscribed" | "notificationsDisabled" | "inactiveRecipient" | "providerRejected" | "deliveryFailed") | null;
|
|
294599
|
+
/** @description When the outcome was recorded. */
|
|
294600
|
+
finishedAt: string | null;
|
|
294601
|
+
}[];
|
|
294602
|
+
}[];
|
|
294603
|
+
};
|
|
294604
|
+
};
|
|
294605
|
+
};
|
|
294606
|
+
/** @description Bad request */
|
|
294607
|
+
400: {
|
|
294608
|
+
headers: {
|
|
294609
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
294610
|
+
"Retry-After"?: number;
|
|
294611
|
+
[name: string]: unknown;
|
|
294612
|
+
};
|
|
294613
|
+
content: {
|
|
294614
|
+
"application/json": {
|
|
294615
|
+
/** @enum {string} */
|
|
294616
|
+
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";
|
|
294617
|
+
/**
|
|
294618
|
+
* @description Stable business-rule reason. Absent for access, authentication, and integration errors.
|
|
294619
|
+
* @enum {string}
|
|
294620
|
+
*/
|
|
294621
|
+
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" | "subscriptionRecoveryUnavailable" | "transactionInactive" | "transactionReconciled" | "transactionReconciledElsewhere";
|
|
294622
|
+
message: string;
|
|
294623
|
+
links?: {
|
|
294624
|
+
docs: string;
|
|
294625
|
+
schema: string;
|
|
294626
|
+
};
|
|
294627
|
+
issues: {
|
|
294628
|
+
/** @enum {string} */
|
|
294629
|
+
code?: "duplicateLast4";
|
|
294630
|
+
message: string;
|
|
294631
|
+
path?: (string | number)[];
|
|
294632
|
+
schema?: string;
|
|
294633
|
+
}[];
|
|
294634
|
+
retryable?: boolean;
|
|
294635
|
+
context?: unknown;
|
|
294636
|
+
};
|
|
294637
|
+
};
|
|
294638
|
+
};
|
|
294639
|
+
/** @description Unauthorized */
|
|
294640
|
+
401: {
|
|
294641
|
+
headers: {
|
|
294642
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
294643
|
+
"Retry-After"?: number;
|
|
294644
|
+
[name: string]: unknown;
|
|
294645
|
+
};
|
|
294646
|
+
content: {
|
|
294647
|
+
"application/json": {
|
|
294648
|
+
/** @enum {string} */
|
|
294649
|
+
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";
|
|
294650
|
+
/**
|
|
294651
|
+
* @description Stable business-rule reason. Absent for access, authentication, and integration errors.
|
|
294652
|
+
* @enum {string}
|
|
294653
|
+
*/
|
|
294654
|
+
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" | "subscriptionRecoveryUnavailable" | "transactionInactive" | "transactionReconciled" | "transactionReconciledElsewhere";
|
|
294655
|
+
message: string;
|
|
294656
|
+
links?: {
|
|
294657
|
+
docs: string;
|
|
294658
|
+
schema: string;
|
|
294659
|
+
};
|
|
294660
|
+
issues: {
|
|
294661
|
+
/** @enum {string} */
|
|
294662
|
+
code?: "duplicateLast4";
|
|
294663
|
+
message: string;
|
|
294664
|
+
path?: (string | number)[];
|
|
294665
|
+
schema?: string;
|
|
294666
|
+
}[];
|
|
294667
|
+
retryable?: boolean;
|
|
294668
|
+
context?: unknown;
|
|
294669
|
+
};
|
|
294670
|
+
};
|
|
294671
|
+
};
|
|
294672
|
+
/** @description Forbidden */
|
|
294673
|
+
403: {
|
|
294674
|
+
headers: {
|
|
294675
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
294676
|
+
"Retry-After"?: number;
|
|
294677
|
+
[name: string]: unknown;
|
|
294678
|
+
};
|
|
294679
|
+
content: {
|
|
294680
|
+
"application/json": {
|
|
294681
|
+
/** @enum {string} */
|
|
294682
|
+
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";
|
|
294683
|
+
/**
|
|
294684
|
+
* @description Stable business-rule reason. Absent for access, authentication, and integration errors.
|
|
294685
|
+
* @enum {string}
|
|
294686
|
+
*/
|
|
294687
|
+
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" | "subscriptionRecoveryUnavailable" | "transactionInactive" | "transactionReconciled" | "transactionReconciledElsewhere";
|
|
294688
|
+
message: string;
|
|
294689
|
+
links?: {
|
|
294690
|
+
docs: string;
|
|
294691
|
+
schema: string;
|
|
294692
|
+
};
|
|
294693
|
+
issues: {
|
|
294694
|
+
/** @enum {string} */
|
|
294695
|
+
code?: "duplicateLast4";
|
|
294696
|
+
message: string;
|
|
294697
|
+
path?: (string | number)[];
|
|
294698
|
+
schema?: string;
|
|
294699
|
+
}[];
|
|
294700
|
+
retryable?: boolean;
|
|
294701
|
+
context?: unknown;
|
|
294702
|
+
};
|
|
294703
|
+
};
|
|
294704
|
+
};
|
|
294705
|
+
/** @description Not found */
|
|
294706
|
+
404: {
|
|
294707
|
+
headers: {
|
|
294708
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
294709
|
+
"Retry-After"?: number;
|
|
294710
|
+
[name: string]: unknown;
|
|
294711
|
+
};
|
|
294712
|
+
content: {
|
|
294713
|
+
"application/json": {
|
|
294714
|
+
/** @enum {string} */
|
|
294715
|
+
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";
|
|
294716
|
+
/**
|
|
294717
|
+
* @description Stable business-rule reason. Absent for access, authentication, and integration errors.
|
|
294718
|
+
* @enum {string}
|
|
294719
|
+
*/
|
|
294720
|
+
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" | "subscriptionRecoveryUnavailable" | "transactionInactive" | "transactionReconciled" | "transactionReconciledElsewhere";
|
|
294721
|
+
message: string;
|
|
294722
|
+
links?: {
|
|
294723
|
+
docs: string;
|
|
294724
|
+
schema: string;
|
|
294725
|
+
};
|
|
294726
|
+
issues: {
|
|
294727
|
+
/** @enum {string} */
|
|
294728
|
+
code?: "duplicateLast4";
|
|
294729
|
+
message: string;
|
|
294730
|
+
path?: (string | number)[];
|
|
294731
|
+
schema?: string;
|
|
294732
|
+
}[];
|
|
294733
|
+
retryable?: boolean;
|
|
294734
|
+
context?: unknown;
|
|
294735
|
+
};
|
|
294736
|
+
};
|
|
294737
|
+
};
|
|
294738
|
+
/** @description Conflict */
|
|
294739
|
+
409: {
|
|
294740
|
+
headers: {
|
|
294741
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
294742
|
+
"Retry-After"?: number;
|
|
294743
|
+
[name: string]: unknown;
|
|
294744
|
+
};
|
|
294745
|
+
content: {
|
|
294746
|
+
"application/json": {
|
|
294747
|
+
/** @enum {string} */
|
|
294748
|
+
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";
|
|
294749
|
+
/**
|
|
294750
|
+
* @description Stable business-rule reason. Absent for access, authentication, and integration errors.
|
|
294751
|
+
* @enum {string}
|
|
294752
|
+
*/
|
|
294753
|
+
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" | "subscriptionRecoveryUnavailable" | "transactionInactive" | "transactionReconciled" | "transactionReconciledElsewhere";
|
|
294754
|
+
message: string;
|
|
294755
|
+
links?: {
|
|
294756
|
+
docs: string;
|
|
294757
|
+
schema: string;
|
|
294758
|
+
};
|
|
294759
|
+
issues: {
|
|
294760
|
+
/** @enum {string} */
|
|
294761
|
+
code?: "duplicateLast4";
|
|
294762
|
+
message: string;
|
|
294763
|
+
path?: (string | number)[];
|
|
294764
|
+
schema?: string;
|
|
294765
|
+
}[];
|
|
294766
|
+
retryable?: boolean;
|
|
294767
|
+
context?: unknown;
|
|
294768
|
+
};
|
|
294769
|
+
};
|
|
294770
|
+
};
|
|
294771
|
+
/** @description Gone */
|
|
294772
|
+
410: {
|
|
294773
|
+
headers: {
|
|
294774
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
294775
|
+
"Retry-After"?: number;
|
|
294776
|
+
[name: string]: unknown;
|
|
294777
|
+
};
|
|
294778
|
+
content: {
|
|
294779
|
+
"application/json": {
|
|
294780
|
+
/** @enum {string} */
|
|
294781
|
+
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";
|
|
294782
|
+
/**
|
|
294783
|
+
* @description Stable business-rule reason. Absent for access, authentication, and integration errors.
|
|
294784
|
+
* @enum {string}
|
|
294785
|
+
*/
|
|
294786
|
+
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" | "subscriptionRecoveryUnavailable" | "transactionInactive" | "transactionReconciled" | "transactionReconciledElsewhere";
|
|
294787
|
+
message: string;
|
|
294788
|
+
links?: {
|
|
294789
|
+
docs: string;
|
|
294790
|
+
schema: string;
|
|
294791
|
+
};
|
|
294792
|
+
issues: {
|
|
294793
|
+
/** @enum {string} */
|
|
294794
|
+
code?: "duplicateLast4";
|
|
294795
|
+
message: string;
|
|
294796
|
+
path?: (string | number)[];
|
|
294797
|
+
schema?: string;
|
|
294798
|
+
}[];
|
|
294799
|
+
retryable?: boolean;
|
|
294800
|
+
context?: unknown;
|
|
294801
|
+
} | {
|
|
294802
|
+
/** @constant */
|
|
294803
|
+
code: "TEAM_DELETED";
|
|
294804
|
+
/**
|
|
294805
|
+
* @description Stable business-rule reason. Absent for access, authentication, and integration errors.
|
|
294806
|
+
* @enum {string}
|
|
294807
|
+
*/
|
|
294808
|
+
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" | "subscriptionRecoveryUnavailable" | "transactionInactive" | "transactionReconciled" | "transactionReconciledElsewhere";
|
|
294809
|
+
message: string;
|
|
294810
|
+
links?: {
|
|
294811
|
+
docs: string;
|
|
294812
|
+
schema: string;
|
|
294813
|
+
};
|
|
294814
|
+
issues: {
|
|
294815
|
+
/** @enum {string} */
|
|
294816
|
+
code?: "duplicateLast4";
|
|
294817
|
+
message: string;
|
|
294818
|
+
path?: (string | number)[];
|
|
294819
|
+
schema?: string;
|
|
294820
|
+
}[];
|
|
294821
|
+
retryable?: boolean;
|
|
294822
|
+
context: {
|
|
294823
|
+
/** Format: uuid */
|
|
294824
|
+
teamId: string;
|
|
294825
|
+
/** @constant */
|
|
294826
|
+
reason: "deleted";
|
|
294827
|
+
};
|
|
294828
|
+
};
|
|
294829
|
+
};
|
|
294830
|
+
};
|
|
294831
|
+
/** @description Payload too large */
|
|
294832
|
+
413: {
|
|
294833
|
+
headers: {
|
|
294834
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
294835
|
+
"Retry-After"?: number;
|
|
294836
|
+
[name: string]: unknown;
|
|
294837
|
+
};
|
|
294838
|
+
content: {
|
|
294839
|
+
"application/json": {
|
|
294840
|
+
/** @enum {string} */
|
|
294841
|
+
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";
|
|
294842
|
+
/**
|
|
294843
|
+
* @description Stable business-rule reason. Absent for access, authentication, and integration errors.
|
|
294844
|
+
* @enum {string}
|
|
294845
|
+
*/
|
|
294846
|
+
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" | "subscriptionRecoveryUnavailable" | "transactionInactive" | "transactionReconciled" | "transactionReconciledElsewhere";
|
|
294847
|
+
message: string;
|
|
294848
|
+
links?: {
|
|
294849
|
+
docs: string;
|
|
294850
|
+
schema: string;
|
|
294851
|
+
};
|
|
294852
|
+
issues: {
|
|
294853
|
+
/** @enum {string} */
|
|
294854
|
+
code?: "duplicateLast4";
|
|
294855
|
+
message: string;
|
|
294856
|
+
path?: (string | number)[];
|
|
294857
|
+
schema?: string;
|
|
294858
|
+
}[];
|
|
294859
|
+
retryable?: boolean;
|
|
294860
|
+
context?: unknown;
|
|
294861
|
+
};
|
|
294862
|
+
};
|
|
294863
|
+
};
|
|
294864
|
+
/** @description Misdirected regional request */
|
|
294865
|
+
421: {
|
|
294866
|
+
headers: {
|
|
294867
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
294868
|
+
"Retry-After"?: number;
|
|
294869
|
+
[name: string]: unknown;
|
|
294870
|
+
};
|
|
294871
|
+
content: {
|
|
294872
|
+
"application/json": {
|
|
294873
|
+
/** @constant */
|
|
294874
|
+
code: "MISDIRECTED_REQUEST";
|
|
294875
|
+
/**
|
|
294876
|
+
* @description Stable business-rule reason. Absent for access, authentication, and integration errors.
|
|
294877
|
+
* @enum {string}
|
|
294878
|
+
*/
|
|
294879
|
+
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" | "subscriptionRecoveryUnavailable" | "transactionInactive" | "transactionReconciled" | "transactionReconciledElsewhere";
|
|
294880
|
+
message: string;
|
|
294881
|
+
links?: {
|
|
294882
|
+
docs: string;
|
|
294883
|
+
schema: string;
|
|
294884
|
+
};
|
|
294885
|
+
issues: {
|
|
294886
|
+
/** @enum {string} */
|
|
294887
|
+
code?: "duplicateLast4";
|
|
294888
|
+
message: string;
|
|
294889
|
+
path?: (string | number)[];
|
|
294890
|
+
schema?: string;
|
|
294891
|
+
}[];
|
|
294892
|
+
retryable?: boolean;
|
|
294893
|
+
context: {
|
|
294894
|
+
/** Format: uuid */
|
|
294895
|
+
teamId?: string;
|
|
294896
|
+
/** @enum {string} */
|
|
294897
|
+
dataRegion: "ap" | "crunchy" | "eu" | "hostaway" | "us";
|
|
294898
|
+
/** Format: uri */
|
|
294899
|
+
apiBaseUrl: string;
|
|
294900
|
+
};
|
|
294901
|
+
};
|
|
294902
|
+
};
|
|
294903
|
+
};
|
|
294904
|
+
/** @description Unprocessable content */
|
|
294905
|
+
422: {
|
|
294906
|
+
headers: {
|
|
294907
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
294908
|
+
"Retry-After"?: number;
|
|
294909
|
+
[name: string]: unknown;
|
|
294910
|
+
};
|
|
294911
|
+
content: {
|
|
294912
|
+
"application/json": {
|
|
294913
|
+
/** @enum {string} */
|
|
294914
|
+
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";
|
|
294915
|
+
/**
|
|
294916
|
+
* @description Stable business-rule reason. Absent for access, authentication, and integration errors.
|
|
294917
|
+
* @enum {string}
|
|
294918
|
+
*/
|
|
294919
|
+
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" | "subscriptionRecoveryUnavailable" | "transactionInactive" | "transactionReconciled" | "transactionReconciledElsewhere";
|
|
294920
|
+
message: string;
|
|
294921
|
+
links?: {
|
|
294922
|
+
docs: string;
|
|
294923
|
+
schema: string;
|
|
294924
|
+
};
|
|
294925
|
+
issues: {
|
|
294926
|
+
/** @enum {string} */
|
|
294927
|
+
code?: "duplicateLast4";
|
|
294928
|
+
message: string;
|
|
294929
|
+
path?: (string | number)[];
|
|
294930
|
+
schema?: string;
|
|
294931
|
+
}[];
|
|
294932
|
+
retryable?: boolean;
|
|
294933
|
+
context?: unknown;
|
|
294934
|
+
};
|
|
294935
|
+
};
|
|
294936
|
+
};
|
|
294937
|
+
/** @description Locked */
|
|
294938
|
+
423: {
|
|
294939
|
+
headers: {
|
|
294940
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
294941
|
+
"Retry-After"?: number;
|
|
294942
|
+
[name: string]: unknown;
|
|
294943
|
+
};
|
|
294944
|
+
content: {
|
|
294945
|
+
"application/json": {
|
|
294946
|
+
/** @constant */
|
|
294947
|
+
code: "LOCKED";
|
|
294948
|
+
/**
|
|
294949
|
+
* @description Stable business-rule reason. Absent for access, authentication, and integration errors.
|
|
294950
|
+
* @enum {string}
|
|
294951
|
+
*/
|
|
294952
|
+
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" | "subscriptionRecoveryUnavailable" | "transactionInactive" | "transactionReconciled" | "transactionReconciledElsewhere";
|
|
294953
|
+
message: string;
|
|
294954
|
+
links?: {
|
|
294955
|
+
docs: string;
|
|
294956
|
+
schema: string;
|
|
294957
|
+
};
|
|
294958
|
+
issues: {
|
|
294959
|
+
/** @enum {string} */
|
|
294960
|
+
code?: "duplicateLast4";
|
|
294961
|
+
message: string;
|
|
294962
|
+
path?: (string | number)[];
|
|
294963
|
+
schema?: string;
|
|
294964
|
+
}[];
|
|
294965
|
+
retryable?: boolean;
|
|
294966
|
+
context?: unknown;
|
|
294967
|
+
} | {
|
|
294968
|
+
/** @constant */
|
|
294969
|
+
code: "TEAM_MIGRATION_FROZEN";
|
|
294970
|
+
/**
|
|
294971
|
+
* @description Stable business-rule reason. Absent for access, authentication, and integration errors.
|
|
294972
|
+
* @enum {string}
|
|
294973
|
+
*/
|
|
294974
|
+
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" | "subscriptionRecoveryUnavailable" | "transactionInactive" | "transactionReconciled" | "transactionReconciledElsewhere";
|
|
294975
|
+
message: string;
|
|
294976
|
+
links?: {
|
|
294977
|
+
docs: string;
|
|
294978
|
+
schema: string;
|
|
294979
|
+
};
|
|
294980
|
+
issues: {
|
|
294981
|
+
/** @enum {string} */
|
|
294982
|
+
code?: "duplicateLast4";
|
|
294983
|
+
message: string;
|
|
294984
|
+
path?: (string | number)[];
|
|
294985
|
+
schema?: string;
|
|
294986
|
+
}[];
|
|
294987
|
+
retryable?: boolean;
|
|
294988
|
+
context: {
|
|
294989
|
+
/** Format: uuid */
|
|
294990
|
+
teamId: string;
|
|
294991
|
+
/** @constant */
|
|
294992
|
+
migrationStatus: "frozen";
|
|
294993
|
+
/** @constant */
|
|
294994
|
+
reason: "migration";
|
|
294995
|
+
};
|
|
294996
|
+
} | {
|
|
294997
|
+
/** @constant */
|
|
294998
|
+
code: "TEAM_DELETION_FROZEN";
|
|
294999
|
+
/**
|
|
295000
|
+
* @description Stable business-rule reason. Absent for access, authentication, and integration errors.
|
|
295001
|
+
* @enum {string}
|
|
295002
|
+
*/
|
|
295003
|
+
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" | "subscriptionRecoveryUnavailable" | "transactionInactive" | "transactionReconciled" | "transactionReconciledElsewhere";
|
|
295004
|
+
message: string;
|
|
295005
|
+
links?: {
|
|
295006
|
+
docs: string;
|
|
295007
|
+
schema: string;
|
|
295008
|
+
};
|
|
295009
|
+
issues: {
|
|
295010
|
+
/** @enum {string} */
|
|
295011
|
+
code?: "duplicateLast4";
|
|
295012
|
+
message: string;
|
|
295013
|
+
path?: (string | number)[];
|
|
295014
|
+
schema?: string;
|
|
295015
|
+
}[];
|
|
295016
|
+
retryable?: boolean;
|
|
295017
|
+
context: {
|
|
295018
|
+
/** Format: uuid */
|
|
295019
|
+
teamId: string;
|
|
295020
|
+
/** @constant */
|
|
295021
|
+
migrationStatus: "frozen";
|
|
295022
|
+
/** @constant */
|
|
295023
|
+
reason: "deletion";
|
|
295024
|
+
};
|
|
295025
|
+
} | {
|
|
295026
|
+
/** @constant */
|
|
295027
|
+
code: "TEAM_WRITES_FROZEN";
|
|
295028
|
+
/**
|
|
295029
|
+
* @description Stable business-rule reason. Absent for access, authentication, and integration errors.
|
|
295030
|
+
* @enum {string}
|
|
295031
|
+
*/
|
|
295032
|
+
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" | "subscriptionRecoveryUnavailable" | "transactionInactive" | "transactionReconciled" | "transactionReconciledElsewhere";
|
|
295033
|
+
message: string;
|
|
295034
|
+
links?: {
|
|
295035
|
+
docs: string;
|
|
295036
|
+
schema: string;
|
|
295037
|
+
};
|
|
295038
|
+
issues: {
|
|
295039
|
+
/** @enum {string} */
|
|
295040
|
+
code?: "duplicateLast4";
|
|
295041
|
+
message: string;
|
|
295042
|
+
path?: (string | number)[];
|
|
295043
|
+
schema?: string;
|
|
295044
|
+
}[];
|
|
295045
|
+
retryable?: boolean;
|
|
295046
|
+
context: {
|
|
295047
|
+
/** Format: uuid */
|
|
295048
|
+
teamId: string;
|
|
295049
|
+
/** @constant */
|
|
295050
|
+
migrationStatus: "frozen";
|
|
295051
|
+
/** @constant */
|
|
295052
|
+
reason: "unknown";
|
|
295053
|
+
};
|
|
295054
|
+
};
|
|
295055
|
+
};
|
|
295056
|
+
};
|
|
295057
|
+
/** @description Internal server error */
|
|
295058
|
+
500: {
|
|
295059
|
+
headers: {
|
|
295060
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
295061
|
+
"Retry-After"?: number;
|
|
295062
|
+
[name: string]: unknown;
|
|
295063
|
+
};
|
|
295064
|
+
content: {
|
|
295065
|
+
"application/json": {
|
|
295066
|
+
/** @enum {string} */
|
|
295067
|
+
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";
|
|
295068
|
+
/**
|
|
295069
|
+
* @description Stable business-rule reason. Absent for access, authentication, and integration errors.
|
|
295070
|
+
* @enum {string}
|
|
295071
|
+
*/
|
|
295072
|
+
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" | "subscriptionRecoveryUnavailable" | "transactionInactive" | "transactionReconciled" | "transactionReconciledElsewhere";
|
|
295073
|
+
message: string;
|
|
295074
|
+
links?: {
|
|
295075
|
+
docs: string;
|
|
295076
|
+
schema: string;
|
|
295077
|
+
};
|
|
295078
|
+
issues: {
|
|
295079
|
+
/** @enum {string} */
|
|
295080
|
+
code?: "duplicateLast4";
|
|
295081
|
+
message: string;
|
|
295082
|
+
path?: (string | number)[];
|
|
295083
|
+
schema?: string;
|
|
295084
|
+
}[];
|
|
295085
|
+
retryable?: boolean;
|
|
295086
|
+
context?: unknown;
|
|
295087
|
+
};
|
|
295088
|
+
};
|
|
295089
|
+
};
|
|
295090
|
+
/** @description Service unavailable */
|
|
295091
|
+
503: {
|
|
295092
|
+
headers: {
|
|
295093
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
295094
|
+
"Retry-After"?: number;
|
|
295095
|
+
[name: string]: unknown;
|
|
295096
|
+
};
|
|
295097
|
+
content: {
|
|
295098
|
+
"application/json": {
|
|
295099
|
+
/** @enum {string} */
|
|
295100
|
+
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";
|
|
295101
|
+
/**
|
|
295102
|
+
* @description Stable business-rule reason. Absent for access, authentication, and integration errors.
|
|
295103
|
+
* @enum {string}
|
|
295104
|
+
*/
|
|
295105
|
+
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" | "subscriptionRecoveryUnavailable" | "transactionInactive" | "transactionReconciled" | "transactionReconciledElsewhere";
|
|
295106
|
+
message: string;
|
|
295107
|
+
links?: {
|
|
295108
|
+
docs: string;
|
|
295109
|
+
schema: string;
|
|
295110
|
+
};
|
|
295111
|
+
issues: {
|
|
295112
|
+
/** @enum {string} */
|
|
295113
|
+
code?: "duplicateLast4";
|
|
295114
|
+
message: string;
|
|
295115
|
+
path?: (string | number)[];
|
|
295116
|
+
schema?: string;
|
|
295117
|
+
}[];
|
|
295118
|
+
retryable?: boolean;
|
|
295119
|
+
context?: unknown;
|
|
295120
|
+
};
|
|
295121
|
+
};
|
|
295122
|
+
};
|
|
295123
|
+
};
|
|
295124
|
+
};
|
|
294521
295125
|
postStatementsByIdRefreshLayout: {
|
|
294522
295126
|
parameters: {
|
|
294523
295127
|
query?: never;
|