@vrplatform/api 1.3.1-stage.983 → 1.3.1-stage.985
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.
|
@@ -1310,6 +1310,27 @@ export interface paths {
|
|
|
1310
1310
|
patch?: never;
|
|
1311
1311
|
trace?: never;
|
|
1312
1312
|
};
|
|
1313
|
+
"/contacts/{id}/preview": {
|
|
1314
|
+
parameters: {
|
|
1315
|
+
query?: never;
|
|
1316
|
+
header?: never;
|
|
1317
|
+
path?: never;
|
|
1318
|
+
cookie?: never;
|
|
1319
|
+
};
|
|
1320
|
+
get?: never;
|
|
1321
|
+
put?: never;
|
|
1322
|
+
/**
|
|
1323
|
+
* @description Issue a short-lived, read-only bearer token that shows the owner portal as this owner contact sees it. Successful responses use Cache-Control: no-store.
|
|
1324
|
+
*
|
|
1325
|
+
* Required scope: contacts:read
|
|
1326
|
+
*/
|
|
1327
|
+
post: operations["postContactsByIdPreview"];
|
|
1328
|
+
delete?: never;
|
|
1329
|
+
options?: never;
|
|
1330
|
+
head?: never;
|
|
1331
|
+
patch?: never;
|
|
1332
|
+
trace?: never;
|
|
1333
|
+
};
|
|
1313
1334
|
"/contacts/{id}/revoke-access": {
|
|
1314
1335
|
parameters: {
|
|
1315
1336
|
query?: never;
|
|
@@ -58364,6 +58385,569 @@ export interface operations {
|
|
|
58364
58385
|
};
|
|
58365
58386
|
};
|
|
58366
58387
|
};
|
|
58388
|
+
postContactsByIdPreview: {
|
|
58389
|
+
parameters: {
|
|
58390
|
+
query?: never;
|
|
58391
|
+
header?: never;
|
|
58392
|
+
path: {
|
|
58393
|
+
id: string;
|
|
58394
|
+
};
|
|
58395
|
+
cookie?: never;
|
|
58396
|
+
};
|
|
58397
|
+
requestBody?: {
|
|
58398
|
+
content: {
|
|
58399
|
+
"application/json": Record<string, never>;
|
|
58400
|
+
};
|
|
58401
|
+
};
|
|
58402
|
+
responses: {
|
|
58403
|
+
/** @description Successful response */
|
|
58404
|
+
200: {
|
|
58405
|
+
headers: {
|
|
58406
|
+
/** @description Prevents storage of the preview bearer token. */
|
|
58407
|
+
"Cache-Control"?: "no-store";
|
|
58408
|
+
[name: string]: unknown;
|
|
58409
|
+
};
|
|
58410
|
+
content: {
|
|
58411
|
+
"application/json": {
|
|
58412
|
+
/** @description Read-only bearer token scoped to this owner contact. */
|
|
58413
|
+
accessToken: string;
|
|
58414
|
+
/**
|
|
58415
|
+
* Format: uuid
|
|
58416
|
+
* @description Owner contact the preview shows.
|
|
58417
|
+
*/
|
|
58418
|
+
contactId: string;
|
|
58419
|
+
/**
|
|
58420
|
+
* Format: date-time
|
|
58421
|
+
* @description Bearer-token expiration timestamp.
|
|
58422
|
+
*/
|
|
58423
|
+
expiresAt: string;
|
|
58424
|
+
/**
|
|
58425
|
+
* Format: uuid
|
|
58426
|
+
* @description Team bound to the preview.
|
|
58427
|
+
*/
|
|
58428
|
+
teamId: string;
|
|
58429
|
+
};
|
|
58430
|
+
};
|
|
58431
|
+
};
|
|
58432
|
+
/** @description Bad request */
|
|
58433
|
+
400: {
|
|
58434
|
+
headers: {
|
|
58435
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
58436
|
+
"Retry-After"?: number;
|
|
58437
|
+
[name: string]: unknown;
|
|
58438
|
+
};
|
|
58439
|
+
content: {
|
|
58440
|
+
"application/json": {
|
|
58441
|
+
/** @enum {string} */
|
|
58442
|
+
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" | "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";
|
|
58443
|
+
/**
|
|
58444
|
+
* @description Stable business-rule reason. Absent for access, authentication, and integration errors.
|
|
58445
|
+
* @enum {string}
|
|
58446
|
+
*/
|
|
58447
|
+
reason?: "accountClassificationLocked" | "accountConnectionAttached" | "accountInUse" | "alreadyPaid" | "amountExceedsReturnable" | "archiveRequired" | "bankAccountTooManyRecords" | "bankRecordInactive" | "bankRecordNotCsvSource" | "bankRecordPlaidSource" | "bankRecordReconciled" | "bankRecordRuleMatched" | "bankRecordUnassigned" | "bankRuleRunIncomplete" | "beforeStatementStartDate" | "booksClosed" | "dailyGlSummaryDisabled" | "duplicateLast4" | "duplicateName" | "duplicateUniqueRef" | "generalLedgerDisabled" | "generalLedgerStartDateMissing" | "historicalImportPending" | "inUse" | "lastAccessManager" | "listingInGroup" | "listingInGroupAlready" | "listingInactive" | "listingMappingAmbiguous" | "mergeDryRunRequired" | "mergePlanChanged" | "notBankAccount" | "openingBalanceUpdateInProgress" | "openingTrialBalanceLocked" | "operationsAccountingDisabled" | "paymentAttempted" | "paymentReturnInvolved" | "paymentReturnNotEligible" | "plaidReplacementUnavailable" | "pmsAccountingStartMissing" | "previousStatementsOpen" | "providerPaymentRecoveryInProgress" | "providerPaymentRecoveryUnavailable" | "rampAccountNotReady" | "rampConnectionInactive" | "rampPaymentNotSupported" | "rampRecipientNotReady" | "reconciliationAmountMismatch" | "reconciliationTransferMismatch" | "requiredAccountMissing" | "reservationLocked" | "reservationUnmatched" | "selfModification" | "statementAttachment" | "statementExists" | "statementFutureExists" | "statementHasBlockingIssues" | "statementHasPayouts" | "statementInReview" | "statementNotReadyForPayment" | "statementPeriod" | "statementPublished" | "transactionInactive" | "transactionReconciled" | "transactionReconciledElsewhere";
|
|
58448
|
+
message: string;
|
|
58449
|
+
links?: {
|
|
58450
|
+
docs: string;
|
|
58451
|
+
schema: string;
|
|
58452
|
+
};
|
|
58453
|
+
issues: {
|
|
58454
|
+
/** @enum {string} */
|
|
58455
|
+
code?: "duplicateLast4";
|
|
58456
|
+
message: string;
|
|
58457
|
+
path?: (string | number)[];
|
|
58458
|
+
schema?: string;
|
|
58459
|
+
}[];
|
|
58460
|
+
retryable?: boolean;
|
|
58461
|
+
context?: unknown;
|
|
58462
|
+
};
|
|
58463
|
+
};
|
|
58464
|
+
};
|
|
58465
|
+
/** @description Unauthorized */
|
|
58466
|
+
401: {
|
|
58467
|
+
headers: {
|
|
58468
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
58469
|
+
"Retry-After"?: number;
|
|
58470
|
+
[name: string]: unknown;
|
|
58471
|
+
};
|
|
58472
|
+
content: {
|
|
58473
|
+
"application/json": {
|
|
58474
|
+
/** @enum {string} */
|
|
58475
|
+
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" | "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";
|
|
58476
|
+
/**
|
|
58477
|
+
* @description Stable business-rule reason. Absent for access, authentication, and integration errors.
|
|
58478
|
+
* @enum {string}
|
|
58479
|
+
*/
|
|
58480
|
+
reason?: "accountClassificationLocked" | "accountConnectionAttached" | "accountInUse" | "alreadyPaid" | "amountExceedsReturnable" | "archiveRequired" | "bankAccountTooManyRecords" | "bankRecordInactive" | "bankRecordNotCsvSource" | "bankRecordPlaidSource" | "bankRecordReconciled" | "bankRecordRuleMatched" | "bankRecordUnassigned" | "bankRuleRunIncomplete" | "beforeStatementStartDate" | "booksClosed" | "dailyGlSummaryDisabled" | "duplicateLast4" | "duplicateName" | "duplicateUniqueRef" | "generalLedgerDisabled" | "generalLedgerStartDateMissing" | "historicalImportPending" | "inUse" | "lastAccessManager" | "listingInGroup" | "listingInGroupAlready" | "listingInactive" | "listingMappingAmbiguous" | "mergeDryRunRequired" | "mergePlanChanged" | "notBankAccount" | "openingBalanceUpdateInProgress" | "openingTrialBalanceLocked" | "operationsAccountingDisabled" | "paymentAttempted" | "paymentReturnInvolved" | "paymentReturnNotEligible" | "plaidReplacementUnavailable" | "pmsAccountingStartMissing" | "previousStatementsOpen" | "providerPaymentRecoveryInProgress" | "providerPaymentRecoveryUnavailable" | "rampAccountNotReady" | "rampConnectionInactive" | "rampPaymentNotSupported" | "rampRecipientNotReady" | "reconciliationAmountMismatch" | "reconciliationTransferMismatch" | "requiredAccountMissing" | "reservationLocked" | "reservationUnmatched" | "selfModification" | "statementAttachment" | "statementExists" | "statementFutureExists" | "statementHasBlockingIssues" | "statementHasPayouts" | "statementInReview" | "statementNotReadyForPayment" | "statementPeriod" | "statementPublished" | "transactionInactive" | "transactionReconciled" | "transactionReconciledElsewhere";
|
|
58481
|
+
message: string;
|
|
58482
|
+
links?: {
|
|
58483
|
+
docs: string;
|
|
58484
|
+
schema: string;
|
|
58485
|
+
};
|
|
58486
|
+
issues: {
|
|
58487
|
+
/** @enum {string} */
|
|
58488
|
+
code?: "duplicateLast4";
|
|
58489
|
+
message: string;
|
|
58490
|
+
path?: (string | number)[];
|
|
58491
|
+
schema?: string;
|
|
58492
|
+
}[];
|
|
58493
|
+
retryable?: boolean;
|
|
58494
|
+
context?: unknown;
|
|
58495
|
+
};
|
|
58496
|
+
};
|
|
58497
|
+
};
|
|
58498
|
+
/** @description Forbidden */
|
|
58499
|
+
403: {
|
|
58500
|
+
headers: {
|
|
58501
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
58502
|
+
"Retry-After"?: number;
|
|
58503
|
+
[name: string]: unknown;
|
|
58504
|
+
};
|
|
58505
|
+
content: {
|
|
58506
|
+
"application/json": {
|
|
58507
|
+
/** @enum {string} */
|
|
58508
|
+
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" | "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";
|
|
58509
|
+
/**
|
|
58510
|
+
* @description Stable business-rule reason. Absent for access, authentication, and integration errors.
|
|
58511
|
+
* @enum {string}
|
|
58512
|
+
*/
|
|
58513
|
+
reason?: "accountClassificationLocked" | "accountConnectionAttached" | "accountInUse" | "alreadyPaid" | "amountExceedsReturnable" | "archiveRequired" | "bankAccountTooManyRecords" | "bankRecordInactive" | "bankRecordNotCsvSource" | "bankRecordPlaidSource" | "bankRecordReconciled" | "bankRecordRuleMatched" | "bankRecordUnassigned" | "bankRuleRunIncomplete" | "beforeStatementStartDate" | "booksClosed" | "dailyGlSummaryDisabled" | "duplicateLast4" | "duplicateName" | "duplicateUniqueRef" | "generalLedgerDisabled" | "generalLedgerStartDateMissing" | "historicalImportPending" | "inUse" | "lastAccessManager" | "listingInGroup" | "listingInGroupAlready" | "listingInactive" | "listingMappingAmbiguous" | "mergeDryRunRequired" | "mergePlanChanged" | "notBankAccount" | "openingBalanceUpdateInProgress" | "openingTrialBalanceLocked" | "operationsAccountingDisabled" | "paymentAttempted" | "paymentReturnInvolved" | "paymentReturnNotEligible" | "plaidReplacementUnavailable" | "pmsAccountingStartMissing" | "previousStatementsOpen" | "providerPaymentRecoveryInProgress" | "providerPaymentRecoveryUnavailable" | "rampAccountNotReady" | "rampConnectionInactive" | "rampPaymentNotSupported" | "rampRecipientNotReady" | "reconciliationAmountMismatch" | "reconciliationTransferMismatch" | "requiredAccountMissing" | "reservationLocked" | "reservationUnmatched" | "selfModification" | "statementAttachment" | "statementExists" | "statementFutureExists" | "statementHasBlockingIssues" | "statementHasPayouts" | "statementInReview" | "statementNotReadyForPayment" | "statementPeriod" | "statementPublished" | "transactionInactive" | "transactionReconciled" | "transactionReconciledElsewhere";
|
|
58514
|
+
message: string;
|
|
58515
|
+
links?: {
|
|
58516
|
+
docs: string;
|
|
58517
|
+
schema: string;
|
|
58518
|
+
};
|
|
58519
|
+
issues: {
|
|
58520
|
+
/** @enum {string} */
|
|
58521
|
+
code?: "duplicateLast4";
|
|
58522
|
+
message: string;
|
|
58523
|
+
path?: (string | number)[];
|
|
58524
|
+
schema?: string;
|
|
58525
|
+
}[];
|
|
58526
|
+
retryable?: boolean;
|
|
58527
|
+
context?: unknown;
|
|
58528
|
+
};
|
|
58529
|
+
};
|
|
58530
|
+
};
|
|
58531
|
+
/** @description Not found */
|
|
58532
|
+
404: {
|
|
58533
|
+
headers: {
|
|
58534
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
58535
|
+
"Retry-After"?: number;
|
|
58536
|
+
[name: string]: unknown;
|
|
58537
|
+
};
|
|
58538
|
+
content: {
|
|
58539
|
+
"application/json": {
|
|
58540
|
+
/** @enum {string} */
|
|
58541
|
+
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" | "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";
|
|
58542
|
+
/**
|
|
58543
|
+
* @description Stable business-rule reason. Absent for access, authentication, and integration errors.
|
|
58544
|
+
* @enum {string}
|
|
58545
|
+
*/
|
|
58546
|
+
reason?: "accountClassificationLocked" | "accountConnectionAttached" | "accountInUse" | "alreadyPaid" | "amountExceedsReturnable" | "archiveRequired" | "bankAccountTooManyRecords" | "bankRecordInactive" | "bankRecordNotCsvSource" | "bankRecordPlaidSource" | "bankRecordReconciled" | "bankRecordRuleMatched" | "bankRecordUnassigned" | "bankRuleRunIncomplete" | "beforeStatementStartDate" | "booksClosed" | "dailyGlSummaryDisabled" | "duplicateLast4" | "duplicateName" | "duplicateUniqueRef" | "generalLedgerDisabled" | "generalLedgerStartDateMissing" | "historicalImportPending" | "inUse" | "lastAccessManager" | "listingInGroup" | "listingInGroupAlready" | "listingInactive" | "listingMappingAmbiguous" | "mergeDryRunRequired" | "mergePlanChanged" | "notBankAccount" | "openingBalanceUpdateInProgress" | "openingTrialBalanceLocked" | "operationsAccountingDisabled" | "paymentAttempted" | "paymentReturnInvolved" | "paymentReturnNotEligible" | "plaidReplacementUnavailable" | "pmsAccountingStartMissing" | "previousStatementsOpen" | "providerPaymentRecoveryInProgress" | "providerPaymentRecoveryUnavailable" | "rampAccountNotReady" | "rampConnectionInactive" | "rampPaymentNotSupported" | "rampRecipientNotReady" | "reconciliationAmountMismatch" | "reconciliationTransferMismatch" | "requiredAccountMissing" | "reservationLocked" | "reservationUnmatched" | "selfModification" | "statementAttachment" | "statementExists" | "statementFutureExists" | "statementHasBlockingIssues" | "statementHasPayouts" | "statementInReview" | "statementNotReadyForPayment" | "statementPeriod" | "statementPublished" | "transactionInactive" | "transactionReconciled" | "transactionReconciledElsewhere";
|
|
58547
|
+
message: string;
|
|
58548
|
+
links?: {
|
|
58549
|
+
docs: string;
|
|
58550
|
+
schema: string;
|
|
58551
|
+
};
|
|
58552
|
+
issues: {
|
|
58553
|
+
/** @enum {string} */
|
|
58554
|
+
code?: "duplicateLast4";
|
|
58555
|
+
message: string;
|
|
58556
|
+
path?: (string | number)[];
|
|
58557
|
+
schema?: string;
|
|
58558
|
+
}[];
|
|
58559
|
+
retryable?: boolean;
|
|
58560
|
+
context?: unknown;
|
|
58561
|
+
};
|
|
58562
|
+
};
|
|
58563
|
+
};
|
|
58564
|
+
/** @description Conflict */
|
|
58565
|
+
409: {
|
|
58566
|
+
headers: {
|
|
58567
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
58568
|
+
"Retry-After"?: number;
|
|
58569
|
+
[name: string]: unknown;
|
|
58570
|
+
};
|
|
58571
|
+
content: {
|
|
58572
|
+
"application/json": {
|
|
58573
|
+
/** @enum {string} */
|
|
58574
|
+
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" | "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";
|
|
58575
|
+
/**
|
|
58576
|
+
* @description Stable business-rule reason. Absent for access, authentication, and integration errors.
|
|
58577
|
+
* @enum {string}
|
|
58578
|
+
*/
|
|
58579
|
+
reason?: "accountClassificationLocked" | "accountConnectionAttached" | "accountInUse" | "alreadyPaid" | "amountExceedsReturnable" | "archiveRequired" | "bankAccountTooManyRecords" | "bankRecordInactive" | "bankRecordNotCsvSource" | "bankRecordPlaidSource" | "bankRecordReconciled" | "bankRecordRuleMatched" | "bankRecordUnassigned" | "bankRuleRunIncomplete" | "beforeStatementStartDate" | "booksClosed" | "dailyGlSummaryDisabled" | "duplicateLast4" | "duplicateName" | "duplicateUniqueRef" | "generalLedgerDisabled" | "generalLedgerStartDateMissing" | "historicalImportPending" | "inUse" | "lastAccessManager" | "listingInGroup" | "listingInGroupAlready" | "listingInactive" | "listingMappingAmbiguous" | "mergeDryRunRequired" | "mergePlanChanged" | "notBankAccount" | "openingBalanceUpdateInProgress" | "openingTrialBalanceLocked" | "operationsAccountingDisabled" | "paymentAttempted" | "paymentReturnInvolved" | "paymentReturnNotEligible" | "plaidReplacementUnavailable" | "pmsAccountingStartMissing" | "previousStatementsOpen" | "providerPaymentRecoveryInProgress" | "providerPaymentRecoveryUnavailable" | "rampAccountNotReady" | "rampConnectionInactive" | "rampPaymentNotSupported" | "rampRecipientNotReady" | "reconciliationAmountMismatch" | "reconciliationTransferMismatch" | "requiredAccountMissing" | "reservationLocked" | "reservationUnmatched" | "selfModification" | "statementAttachment" | "statementExists" | "statementFutureExists" | "statementHasBlockingIssues" | "statementHasPayouts" | "statementInReview" | "statementNotReadyForPayment" | "statementPeriod" | "statementPublished" | "transactionInactive" | "transactionReconciled" | "transactionReconciledElsewhere";
|
|
58580
|
+
message: string;
|
|
58581
|
+
links?: {
|
|
58582
|
+
docs: string;
|
|
58583
|
+
schema: string;
|
|
58584
|
+
};
|
|
58585
|
+
issues: {
|
|
58586
|
+
/** @enum {string} */
|
|
58587
|
+
code?: "duplicateLast4";
|
|
58588
|
+
message: string;
|
|
58589
|
+
path?: (string | number)[];
|
|
58590
|
+
schema?: string;
|
|
58591
|
+
}[];
|
|
58592
|
+
retryable?: boolean;
|
|
58593
|
+
context?: unknown;
|
|
58594
|
+
};
|
|
58595
|
+
};
|
|
58596
|
+
};
|
|
58597
|
+
/** @description Gone */
|
|
58598
|
+
410: {
|
|
58599
|
+
headers: {
|
|
58600
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
58601
|
+
"Retry-After"?: number;
|
|
58602
|
+
[name: string]: unknown;
|
|
58603
|
+
};
|
|
58604
|
+
content: {
|
|
58605
|
+
"application/json": {
|
|
58606
|
+
/** @enum {string} */
|
|
58607
|
+
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" | "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";
|
|
58608
|
+
/**
|
|
58609
|
+
* @description Stable business-rule reason. Absent for access, authentication, and integration errors.
|
|
58610
|
+
* @enum {string}
|
|
58611
|
+
*/
|
|
58612
|
+
reason?: "accountClassificationLocked" | "accountConnectionAttached" | "accountInUse" | "alreadyPaid" | "amountExceedsReturnable" | "archiveRequired" | "bankAccountTooManyRecords" | "bankRecordInactive" | "bankRecordNotCsvSource" | "bankRecordPlaidSource" | "bankRecordReconciled" | "bankRecordRuleMatched" | "bankRecordUnassigned" | "bankRuleRunIncomplete" | "beforeStatementStartDate" | "booksClosed" | "dailyGlSummaryDisabled" | "duplicateLast4" | "duplicateName" | "duplicateUniqueRef" | "generalLedgerDisabled" | "generalLedgerStartDateMissing" | "historicalImportPending" | "inUse" | "lastAccessManager" | "listingInGroup" | "listingInGroupAlready" | "listingInactive" | "listingMappingAmbiguous" | "mergeDryRunRequired" | "mergePlanChanged" | "notBankAccount" | "openingBalanceUpdateInProgress" | "openingTrialBalanceLocked" | "operationsAccountingDisabled" | "paymentAttempted" | "paymentReturnInvolved" | "paymentReturnNotEligible" | "plaidReplacementUnavailable" | "pmsAccountingStartMissing" | "previousStatementsOpen" | "providerPaymentRecoveryInProgress" | "providerPaymentRecoveryUnavailable" | "rampAccountNotReady" | "rampConnectionInactive" | "rampPaymentNotSupported" | "rampRecipientNotReady" | "reconciliationAmountMismatch" | "reconciliationTransferMismatch" | "requiredAccountMissing" | "reservationLocked" | "reservationUnmatched" | "selfModification" | "statementAttachment" | "statementExists" | "statementFutureExists" | "statementHasBlockingIssues" | "statementHasPayouts" | "statementInReview" | "statementNotReadyForPayment" | "statementPeriod" | "statementPublished" | "transactionInactive" | "transactionReconciled" | "transactionReconciledElsewhere";
|
|
58613
|
+
message: string;
|
|
58614
|
+
links?: {
|
|
58615
|
+
docs: string;
|
|
58616
|
+
schema: string;
|
|
58617
|
+
};
|
|
58618
|
+
issues: {
|
|
58619
|
+
/** @enum {string} */
|
|
58620
|
+
code?: "duplicateLast4";
|
|
58621
|
+
message: string;
|
|
58622
|
+
path?: (string | number)[];
|
|
58623
|
+
schema?: string;
|
|
58624
|
+
}[];
|
|
58625
|
+
retryable?: boolean;
|
|
58626
|
+
context?: unknown;
|
|
58627
|
+
} | {
|
|
58628
|
+
/** @constant */
|
|
58629
|
+
code: "TEAM_DELETED";
|
|
58630
|
+
/**
|
|
58631
|
+
* @description Stable business-rule reason. Absent for access, authentication, and integration errors.
|
|
58632
|
+
* @enum {string}
|
|
58633
|
+
*/
|
|
58634
|
+
reason?: "accountClassificationLocked" | "accountConnectionAttached" | "accountInUse" | "alreadyPaid" | "amountExceedsReturnable" | "archiveRequired" | "bankAccountTooManyRecords" | "bankRecordInactive" | "bankRecordNotCsvSource" | "bankRecordPlaidSource" | "bankRecordReconciled" | "bankRecordRuleMatched" | "bankRecordUnassigned" | "bankRuleRunIncomplete" | "beforeStatementStartDate" | "booksClosed" | "dailyGlSummaryDisabled" | "duplicateLast4" | "duplicateName" | "duplicateUniqueRef" | "generalLedgerDisabled" | "generalLedgerStartDateMissing" | "historicalImportPending" | "inUse" | "lastAccessManager" | "listingInGroup" | "listingInGroupAlready" | "listingInactive" | "listingMappingAmbiguous" | "mergeDryRunRequired" | "mergePlanChanged" | "notBankAccount" | "openingBalanceUpdateInProgress" | "openingTrialBalanceLocked" | "operationsAccountingDisabled" | "paymentAttempted" | "paymentReturnInvolved" | "paymentReturnNotEligible" | "plaidReplacementUnavailable" | "pmsAccountingStartMissing" | "previousStatementsOpen" | "providerPaymentRecoveryInProgress" | "providerPaymentRecoveryUnavailable" | "rampAccountNotReady" | "rampConnectionInactive" | "rampPaymentNotSupported" | "rampRecipientNotReady" | "reconciliationAmountMismatch" | "reconciliationTransferMismatch" | "requiredAccountMissing" | "reservationLocked" | "reservationUnmatched" | "selfModification" | "statementAttachment" | "statementExists" | "statementFutureExists" | "statementHasBlockingIssues" | "statementHasPayouts" | "statementInReview" | "statementNotReadyForPayment" | "statementPeriod" | "statementPublished" | "transactionInactive" | "transactionReconciled" | "transactionReconciledElsewhere";
|
|
58635
|
+
message: string;
|
|
58636
|
+
links?: {
|
|
58637
|
+
docs: string;
|
|
58638
|
+
schema: string;
|
|
58639
|
+
};
|
|
58640
|
+
issues: {
|
|
58641
|
+
/** @enum {string} */
|
|
58642
|
+
code?: "duplicateLast4";
|
|
58643
|
+
message: string;
|
|
58644
|
+
path?: (string | number)[];
|
|
58645
|
+
schema?: string;
|
|
58646
|
+
}[];
|
|
58647
|
+
retryable?: boolean;
|
|
58648
|
+
context: {
|
|
58649
|
+
/** Format: uuid */
|
|
58650
|
+
teamId: string;
|
|
58651
|
+
/** @constant */
|
|
58652
|
+
reason: "deleted";
|
|
58653
|
+
};
|
|
58654
|
+
};
|
|
58655
|
+
};
|
|
58656
|
+
};
|
|
58657
|
+
/** @description Payload too large */
|
|
58658
|
+
413: {
|
|
58659
|
+
headers: {
|
|
58660
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
58661
|
+
"Retry-After"?: number;
|
|
58662
|
+
[name: string]: unknown;
|
|
58663
|
+
};
|
|
58664
|
+
content: {
|
|
58665
|
+
"application/json": {
|
|
58666
|
+
/** @enum {string} */
|
|
58667
|
+
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" | "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";
|
|
58668
|
+
/**
|
|
58669
|
+
* @description Stable business-rule reason. Absent for access, authentication, and integration errors.
|
|
58670
|
+
* @enum {string}
|
|
58671
|
+
*/
|
|
58672
|
+
reason?: "accountClassificationLocked" | "accountConnectionAttached" | "accountInUse" | "alreadyPaid" | "amountExceedsReturnable" | "archiveRequired" | "bankAccountTooManyRecords" | "bankRecordInactive" | "bankRecordNotCsvSource" | "bankRecordPlaidSource" | "bankRecordReconciled" | "bankRecordRuleMatched" | "bankRecordUnassigned" | "bankRuleRunIncomplete" | "beforeStatementStartDate" | "booksClosed" | "dailyGlSummaryDisabled" | "duplicateLast4" | "duplicateName" | "duplicateUniqueRef" | "generalLedgerDisabled" | "generalLedgerStartDateMissing" | "historicalImportPending" | "inUse" | "lastAccessManager" | "listingInGroup" | "listingInGroupAlready" | "listingInactive" | "listingMappingAmbiguous" | "mergeDryRunRequired" | "mergePlanChanged" | "notBankAccount" | "openingBalanceUpdateInProgress" | "openingTrialBalanceLocked" | "operationsAccountingDisabled" | "paymentAttempted" | "paymentReturnInvolved" | "paymentReturnNotEligible" | "plaidReplacementUnavailable" | "pmsAccountingStartMissing" | "previousStatementsOpen" | "providerPaymentRecoveryInProgress" | "providerPaymentRecoveryUnavailable" | "rampAccountNotReady" | "rampConnectionInactive" | "rampPaymentNotSupported" | "rampRecipientNotReady" | "reconciliationAmountMismatch" | "reconciliationTransferMismatch" | "requiredAccountMissing" | "reservationLocked" | "reservationUnmatched" | "selfModification" | "statementAttachment" | "statementExists" | "statementFutureExists" | "statementHasBlockingIssues" | "statementHasPayouts" | "statementInReview" | "statementNotReadyForPayment" | "statementPeriod" | "statementPublished" | "transactionInactive" | "transactionReconciled" | "transactionReconciledElsewhere";
|
|
58673
|
+
message: string;
|
|
58674
|
+
links?: {
|
|
58675
|
+
docs: string;
|
|
58676
|
+
schema: string;
|
|
58677
|
+
};
|
|
58678
|
+
issues: {
|
|
58679
|
+
/** @enum {string} */
|
|
58680
|
+
code?: "duplicateLast4";
|
|
58681
|
+
message: string;
|
|
58682
|
+
path?: (string | number)[];
|
|
58683
|
+
schema?: string;
|
|
58684
|
+
}[];
|
|
58685
|
+
retryable?: boolean;
|
|
58686
|
+
context?: unknown;
|
|
58687
|
+
};
|
|
58688
|
+
};
|
|
58689
|
+
};
|
|
58690
|
+
/** @description Misdirected regional request */
|
|
58691
|
+
421: {
|
|
58692
|
+
headers: {
|
|
58693
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
58694
|
+
"Retry-After"?: number;
|
|
58695
|
+
[name: string]: unknown;
|
|
58696
|
+
};
|
|
58697
|
+
content: {
|
|
58698
|
+
"application/json": {
|
|
58699
|
+
/** @constant */
|
|
58700
|
+
code: "MISDIRECTED_REQUEST";
|
|
58701
|
+
/**
|
|
58702
|
+
* @description Stable business-rule reason. Absent for access, authentication, and integration errors.
|
|
58703
|
+
* @enum {string}
|
|
58704
|
+
*/
|
|
58705
|
+
reason?: "accountClassificationLocked" | "accountConnectionAttached" | "accountInUse" | "alreadyPaid" | "amountExceedsReturnable" | "archiveRequired" | "bankAccountTooManyRecords" | "bankRecordInactive" | "bankRecordNotCsvSource" | "bankRecordPlaidSource" | "bankRecordReconciled" | "bankRecordRuleMatched" | "bankRecordUnassigned" | "bankRuleRunIncomplete" | "beforeStatementStartDate" | "booksClosed" | "dailyGlSummaryDisabled" | "duplicateLast4" | "duplicateName" | "duplicateUniqueRef" | "generalLedgerDisabled" | "generalLedgerStartDateMissing" | "historicalImportPending" | "inUse" | "lastAccessManager" | "listingInGroup" | "listingInGroupAlready" | "listingInactive" | "listingMappingAmbiguous" | "mergeDryRunRequired" | "mergePlanChanged" | "notBankAccount" | "openingBalanceUpdateInProgress" | "openingTrialBalanceLocked" | "operationsAccountingDisabled" | "paymentAttempted" | "paymentReturnInvolved" | "paymentReturnNotEligible" | "plaidReplacementUnavailable" | "pmsAccountingStartMissing" | "previousStatementsOpen" | "providerPaymentRecoveryInProgress" | "providerPaymentRecoveryUnavailable" | "rampAccountNotReady" | "rampConnectionInactive" | "rampPaymentNotSupported" | "rampRecipientNotReady" | "reconciliationAmountMismatch" | "reconciliationTransferMismatch" | "requiredAccountMissing" | "reservationLocked" | "reservationUnmatched" | "selfModification" | "statementAttachment" | "statementExists" | "statementFutureExists" | "statementHasBlockingIssues" | "statementHasPayouts" | "statementInReview" | "statementNotReadyForPayment" | "statementPeriod" | "statementPublished" | "transactionInactive" | "transactionReconciled" | "transactionReconciledElsewhere";
|
|
58706
|
+
message: string;
|
|
58707
|
+
links?: {
|
|
58708
|
+
docs: string;
|
|
58709
|
+
schema: string;
|
|
58710
|
+
};
|
|
58711
|
+
issues: {
|
|
58712
|
+
/** @enum {string} */
|
|
58713
|
+
code?: "duplicateLast4";
|
|
58714
|
+
message: string;
|
|
58715
|
+
path?: (string | number)[];
|
|
58716
|
+
schema?: string;
|
|
58717
|
+
}[];
|
|
58718
|
+
retryable?: boolean;
|
|
58719
|
+
context: {
|
|
58720
|
+
/** Format: uuid */
|
|
58721
|
+
teamId?: string;
|
|
58722
|
+
/** @enum {string} */
|
|
58723
|
+
dataRegion: "ap" | "crunchy" | "eu" | "hostaway" | "us";
|
|
58724
|
+
/** Format: uri */
|
|
58725
|
+
apiBaseUrl: string;
|
|
58726
|
+
};
|
|
58727
|
+
};
|
|
58728
|
+
};
|
|
58729
|
+
};
|
|
58730
|
+
/** @description Unprocessable content */
|
|
58731
|
+
422: {
|
|
58732
|
+
headers: {
|
|
58733
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
58734
|
+
"Retry-After"?: number;
|
|
58735
|
+
[name: string]: unknown;
|
|
58736
|
+
};
|
|
58737
|
+
content: {
|
|
58738
|
+
"application/json": {
|
|
58739
|
+
/** @enum {string} */
|
|
58740
|
+
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" | "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";
|
|
58741
|
+
/**
|
|
58742
|
+
* @description Stable business-rule reason. Absent for access, authentication, and integration errors.
|
|
58743
|
+
* @enum {string}
|
|
58744
|
+
*/
|
|
58745
|
+
reason?: "accountClassificationLocked" | "accountConnectionAttached" | "accountInUse" | "alreadyPaid" | "amountExceedsReturnable" | "archiveRequired" | "bankAccountTooManyRecords" | "bankRecordInactive" | "bankRecordNotCsvSource" | "bankRecordPlaidSource" | "bankRecordReconciled" | "bankRecordRuleMatched" | "bankRecordUnassigned" | "bankRuleRunIncomplete" | "beforeStatementStartDate" | "booksClosed" | "dailyGlSummaryDisabled" | "duplicateLast4" | "duplicateName" | "duplicateUniqueRef" | "generalLedgerDisabled" | "generalLedgerStartDateMissing" | "historicalImportPending" | "inUse" | "lastAccessManager" | "listingInGroup" | "listingInGroupAlready" | "listingInactive" | "listingMappingAmbiguous" | "mergeDryRunRequired" | "mergePlanChanged" | "notBankAccount" | "openingBalanceUpdateInProgress" | "openingTrialBalanceLocked" | "operationsAccountingDisabled" | "paymentAttempted" | "paymentReturnInvolved" | "paymentReturnNotEligible" | "plaidReplacementUnavailable" | "pmsAccountingStartMissing" | "previousStatementsOpen" | "providerPaymentRecoveryInProgress" | "providerPaymentRecoveryUnavailable" | "rampAccountNotReady" | "rampConnectionInactive" | "rampPaymentNotSupported" | "rampRecipientNotReady" | "reconciliationAmountMismatch" | "reconciliationTransferMismatch" | "requiredAccountMissing" | "reservationLocked" | "reservationUnmatched" | "selfModification" | "statementAttachment" | "statementExists" | "statementFutureExists" | "statementHasBlockingIssues" | "statementHasPayouts" | "statementInReview" | "statementNotReadyForPayment" | "statementPeriod" | "statementPublished" | "transactionInactive" | "transactionReconciled" | "transactionReconciledElsewhere";
|
|
58746
|
+
message: string;
|
|
58747
|
+
links?: {
|
|
58748
|
+
docs: string;
|
|
58749
|
+
schema: string;
|
|
58750
|
+
};
|
|
58751
|
+
issues: {
|
|
58752
|
+
/** @enum {string} */
|
|
58753
|
+
code?: "duplicateLast4";
|
|
58754
|
+
message: string;
|
|
58755
|
+
path?: (string | number)[];
|
|
58756
|
+
schema?: string;
|
|
58757
|
+
}[];
|
|
58758
|
+
retryable?: boolean;
|
|
58759
|
+
context?: unknown;
|
|
58760
|
+
};
|
|
58761
|
+
};
|
|
58762
|
+
};
|
|
58763
|
+
/** @description Locked */
|
|
58764
|
+
423: {
|
|
58765
|
+
headers: {
|
|
58766
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
58767
|
+
"Retry-After"?: number;
|
|
58768
|
+
[name: string]: unknown;
|
|
58769
|
+
};
|
|
58770
|
+
content: {
|
|
58771
|
+
"application/json": {
|
|
58772
|
+
/** @constant */
|
|
58773
|
+
code: "LOCKED";
|
|
58774
|
+
/**
|
|
58775
|
+
* @description Stable business-rule reason. Absent for access, authentication, and integration errors.
|
|
58776
|
+
* @enum {string}
|
|
58777
|
+
*/
|
|
58778
|
+
reason?: "accountClassificationLocked" | "accountConnectionAttached" | "accountInUse" | "alreadyPaid" | "amountExceedsReturnable" | "archiveRequired" | "bankAccountTooManyRecords" | "bankRecordInactive" | "bankRecordNotCsvSource" | "bankRecordPlaidSource" | "bankRecordReconciled" | "bankRecordRuleMatched" | "bankRecordUnassigned" | "bankRuleRunIncomplete" | "beforeStatementStartDate" | "booksClosed" | "dailyGlSummaryDisabled" | "duplicateLast4" | "duplicateName" | "duplicateUniqueRef" | "generalLedgerDisabled" | "generalLedgerStartDateMissing" | "historicalImportPending" | "inUse" | "lastAccessManager" | "listingInGroup" | "listingInGroupAlready" | "listingInactive" | "listingMappingAmbiguous" | "mergeDryRunRequired" | "mergePlanChanged" | "notBankAccount" | "openingBalanceUpdateInProgress" | "openingTrialBalanceLocked" | "operationsAccountingDisabled" | "paymentAttempted" | "paymentReturnInvolved" | "paymentReturnNotEligible" | "plaidReplacementUnavailable" | "pmsAccountingStartMissing" | "previousStatementsOpen" | "providerPaymentRecoveryInProgress" | "providerPaymentRecoveryUnavailable" | "rampAccountNotReady" | "rampConnectionInactive" | "rampPaymentNotSupported" | "rampRecipientNotReady" | "reconciliationAmountMismatch" | "reconciliationTransferMismatch" | "requiredAccountMissing" | "reservationLocked" | "reservationUnmatched" | "selfModification" | "statementAttachment" | "statementExists" | "statementFutureExists" | "statementHasBlockingIssues" | "statementHasPayouts" | "statementInReview" | "statementNotReadyForPayment" | "statementPeriod" | "statementPublished" | "transactionInactive" | "transactionReconciled" | "transactionReconciledElsewhere";
|
|
58779
|
+
message: string;
|
|
58780
|
+
links?: {
|
|
58781
|
+
docs: string;
|
|
58782
|
+
schema: string;
|
|
58783
|
+
};
|
|
58784
|
+
issues: {
|
|
58785
|
+
/** @enum {string} */
|
|
58786
|
+
code?: "duplicateLast4";
|
|
58787
|
+
message: string;
|
|
58788
|
+
path?: (string | number)[];
|
|
58789
|
+
schema?: string;
|
|
58790
|
+
}[];
|
|
58791
|
+
retryable?: boolean;
|
|
58792
|
+
context?: unknown;
|
|
58793
|
+
} | {
|
|
58794
|
+
/** @constant */
|
|
58795
|
+
code: "TEAM_MIGRATION_FROZEN";
|
|
58796
|
+
/**
|
|
58797
|
+
* @description Stable business-rule reason. Absent for access, authentication, and integration errors.
|
|
58798
|
+
* @enum {string}
|
|
58799
|
+
*/
|
|
58800
|
+
reason?: "accountClassificationLocked" | "accountConnectionAttached" | "accountInUse" | "alreadyPaid" | "amountExceedsReturnable" | "archiveRequired" | "bankAccountTooManyRecords" | "bankRecordInactive" | "bankRecordNotCsvSource" | "bankRecordPlaidSource" | "bankRecordReconciled" | "bankRecordRuleMatched" | "bankRecordUnassigned" | "bankRuleRunIncomplete" | "beforeStatementStartDate" | "booksClosed" | "dailyGlSummaryDisabled" | "duplicateLast4" | "duplicateName" | "duplicateUniqueRef" | "generalLedgerDisabled" | "generalLedgerStartDateMissing" | "historicalImportPending" | "inUse" | "lastAccessManager" | "listingInGroup" | "listingInGroupAlready" | "listingInactive" | "listingMappingAmbiguous" | "mergeDryRunRequired" | "mergePlanChanged" | "notBankAccount" | "openingBalanceUpdateInProgress" | "openingTrialBalanceLocked" | "operationsAccountingDisabled" | "paymentAttempted" | "paymentReturnInvolved" | "paymentReturnNotEligible" | "plaidReplacementUnavailable" | "pmsAccountingStartMissing" | "previousStatementsOpen" | "providerPaymentRecoveryInProgress" | "providerPaymentRecoveryUnavailable" | "rampAccountNotReady" | "rampConnectionInactive" | "rampPaymentNotSupported" | "rampRecipientNotReady" | "reconciliationAmountMismatch" | "reconciliationTransferMismatch" | "requiredAccountMissing" | "reservationLocked" | "reservationUnmatched" | "selfModification" | "statementAttachment" | "statementExists" | "statementFutureExists" | "statementHasBlockingIssues" | "statementHasPayouts" | "statementInReview" | "statementNotReadyForPayment" | "statementPeriod" | "statementPublished" | "transactionInactive" | "transactionReconciled" | "transactionReconciledElsewhere";
|
|
58801
|
+
message: string;
|
|
58802
|
+
links?: {
|
|
58803
|
+
docs: string;
|
|
58804
|
+
schema: string;
|
|
58805
|
+
};
|
|
58806
|
+
issues: {
|
|
58807
|
+
/** @enum {string} */
|
|
58808
|
+
code?: "duplicateLast4";
|
|
58809
|
+
message: string;
|
|
58810
|
+
path?: (string | number)[];
|
|
58811
|
+
schema?: string;
|
|
58812
|
+
}[];
|
|
58813
|
+
retryable?: boolean;
|
|
58814
|
+
context: {
|
|
58815
|
+
/** Format: uuid */
|
|
58816
|
+
teamId: string;
|
|
58817
|
+
/** @constant */
|
|
58818
|
+
migrationStatus: "frozen";
|
|
58819
|
+
/** @constant */
|
|
58820
|
+
reason: "migration";
|
|
58821
|
+
};
|
|
58822
|
+
} | {
|
|
58823
|
+
/** @constant */
|
|
58824
|
+
code: "TEAM_DELETION_FROZEN";
|
|
58825
|
+
/**
|
|
58826
|
+
* @description Stable business-rule reason. Absent for access, authentication, and integration errors.
|
|
58827
|
+
* @enum {string}
|
|
58828
|
+
*/
|
|
58829
|
+
reason?: "accountClassificationLocked" | "accountConnectionAttached" | "accountInUse" | "alreadyPaid" | "amountExceedsReturnable" | "archiveRequired" | "bankAccountTooManyRecords" | "bankRecordInactive" | "bankRecordNotCsvSource" | "bankRecordPlaidSource" | "bankRecordReconciled" | "bankRecordRuleMatched" | "bankRecordUnassigned" | "bankRuleRunIncomplete" | "beforeStatementStartDate" | "booksClosed" | "dailyGlSummaryDisabled" | "duplicateLast4" | "duplicateName" | "duplicateUniqueRef" | "generalLedgerDisabled" | "generalLedgerStartDateMissing" | "historicalImportPending" | "inUse" | "lastAccessManager" | "listingInGroup" | "listingInGroupAlready" | "listingInactive" | "listingMappingAmbiguous" | "mergeDryRunRequired" | "mergePlanChanged" | "notBankAccount" | "openingBalanceUpdateInProgress" | "openingTrialBalanceLocked" | "operationsAccountingDisabled" | "paymentAttempted" | "paymentReturnInvolved" | "paymentReturnNotEligible" | "plaidReplacementUnavailable" | "pmsAccountingStartMissing" | "previousStatementsOpen" | "providerPaymentRecoveryInProgress" | "providerPaymentRecoveryUnavailable" | "rampAccountNotReady" | "rampConnectionInactive" | "rampPaymentNotSupported" | "rampRecipientNotReady" | "reconciliationAmountMismatch" | "reconciliationTransferMismatch" | "requiredAccountMissing" | "reservationLocked" | "reservationUnmatched" | "selfModification" | "statementAttachment" | "statementExists" | "statementFutureExists" | "statementHasBlockingIssues" | "statementHasPayouts" | "statementInReview" | "statementNotReadyForPayment" | "statementPeriod" | "statementPublished" | "transactionInactive" | "transactionReconciled" | "transactionReconciledElsewhere";
|
|
58830
|
+
message: string;
|
|
58831
|
+
links?: {
|
|
58832
|
+
docs: string;
|
|
58833
|
+
schema: string;
|
|
58834
|
+
};
|
|
58835
|
+
issues: {
|
|
58836
|
+
/** @enum {string} */
|
|
58837
|
+
code?: "duplicateLast4";
|
|
58838
|
+
message: string;
|
|
58839
|
+
path?: (string | number)[];
|
|
58840
|
+
schema?: string;
|
|
58841
|
+
}[];
|
|
58842
|
+
retryable?: boolean;
|
|
58843
|
+
context: {
|
|
58844
|
+
/** Format: uuid */
|
|
58845
|
+
teamId: string;
|
|
58846
|
+
/** @constant */
|
|
58847
|
+
migrationStatus: "frozen";
|
|
58848
|
+
/** @constant */
|
|
58849
|
+
reason: "deletion";
|
|
58850
|
+
};
|
|
58851
|
+
} | {
|
|
58852
|
+
/** @constant */
|
|
58853
|
+
code: "TEAM_WRITES_FROZEN";
|
|
58854
|
+
/**
|
|
58855
|
+
* @description Stable business-rule reason. Absent for access, authentication, and integration errors.
|
|
58856
|
+
* @enum {string}
|
|
58857
|
+
*/
|
|
58858
|
+
reason?: "accountClassificationLocked" | "accountConnectionAttached" | "accountInUse" | "alreadyPaid" | "amountExceedsReturnable" | "archiveRequired" | "bankAccountTooManyRecords" | "bankRecordInactive" | "bankRecordNotCsvSource" | "bankRecordPlaidSource" | "bankRecordReconciled" | "bankRecordRuleMatched" | "bankRecordUnassigned" | "bankRuleRunIncomplete" | "beforeStatementStartDate" | "booksClosed" | "dailyGlSummaryDisabled" | "duplicateLast4" | "duplicateName" | "duplicateUniqueRef" | "generalLedgerDisabled" | "generalLedgerStartDateMissing" | "historicalImportPending" | "inUse" | "lastAccessManager" | "listingInGroup" | "listingInGroupAlready" | "listingInactive" | "listingMappingAmbiguous" | "mergeDryRunRequired" | "mergePlanChanged" | "notBankAccount" | "openingBalanceUpdateInProgress" | "openingTrialBalanceLocked" | "operationsAccountingDisabled" | "paymentAttempted" | "paymentReturnInvolved" | "paymentReturnNotEligible" | "plaidReplacementUnavailable" | "pmsAccountingStartMissing" | "previousStatementsOpen" | "providerPaymentRecoveryInProgress" | "providerPaymentRecoveryUnavailable" | "rampAccountNotReady" | "rampConnectionInactive" | "rampPaymentNotSupported" | "rampRecipientNotReady" | "reconciliationAmountMismatch" | "reconciliationTransferMismatch" | "requiredAccountMissing" | "reservationLocked" | "reservationUnmatched" | "selfModification" | "statementAttachment" | "statementExists" | "statementFutureExists" | "statementHasBlockingIssues" | "statementHasPayouts" | "statementInReview" | "statementNotReadyForPayment" | "statementPeriod" | "statementPublished" | "transactionInactive" | "transactionReconciled" | "transactionReconciledElsewhere";
|
|
58859
|
+
message: string;
|
|
58860
|
+
links?: {
|
|
58861
|
+
docs: string;
|
|
58862
|
+
schema: string;
|
|
58863
|
+
};
|
|
58864
|
+
issues: {
|
|
58865
|
+
/** @enum {string} */
|
|
58866
|
+
code?: "duplicateLast4";
|
|
58867
|
+
message: string;
|
|
58868
|
+
path?: (string | number)[];
|
|
58869
|
+
schema?: string;
|
|
58870
|
+
}[];
|
|
58871
|
+
retryable?: boolean;
|
|
58872
|
+
context: {
|
|
58873
|
+
/** Format: uuid */
|
|
58874
|
+
teamId: string;
|
|
58875
|
+
/** @constant */
|
|
58876
|
+
migrationStatus: "frozen";
|
|
58877
|
+
/** @constant */
|
|
58878
|
+
reason: "unknown";
|
|
58879
|
+
};
|
|
58880
|
+
};
|
|
58881
|
+
};
|
|
58882
|
+
};
|
|
58883
|
+
/** @description Internal server error */
|
|
58884
|
+
500: {
|
|
58885
|
+
headers: {
|
|
58886
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
58887
|
+
"Retry-After"?: number;
|
|
58888
|
+
[name: string]: unknown;
|
|
58889
|
+
};
|
|
58890
|
+
content: {
|
|
58891
|
+
"application/json": {
|
|
58892
|
+
/** @enum {string} */
|
|
58893
|
+
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" | "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";
|
|
58894
|
+
/**
|
|
58895
|
+
* @description Stable business-rule reason. Absent for access, authentication, and integration errors.
|
|
58896
|
+
* @enum {string}
|
|
58897
|
+
*/
|
|
58898
|
+
reason?: "accountClassificationLocked" | "accountConnectionAttached" | "accountInUse" | "alreadyPaid" | "amountExceedsReturnable" | "archiveRequired" | "bankAccountTooManyRecords" | "bankRecordInactive" | "bankRecordNotCsvSource" | "bankRecordPlaidSource" | "bankRecordReconciled" | "bankRecordRuleMatched" | "bankRecordUnassigned" | "bankRuleRunIncomplete" | "beforeStatementStartDate" | "booksClosed" | "dailyGlSummaryDisabled" | "duplicateLast4" | "duplicateName" | "duplicateUniqueRef" | "generalLedgerDisabled" | "generalLedgerStartDateMissing" | "historicalImportPending" | "inUse" | "lastAccessManager" | "listingInGroup" | "listingInGroupAlready" | "listingInactive" | "listingMappingAmbiguous" | "mergeDryRunRequired" | "mergePlanChanged" | "notBankAccount" | "openingBalanceUpdateInProgress" | "openingTrialBalanceLocked" | "operationsAccountingDisabled" | "paymentAttempted" | "paymentReturnInvolved" | "paymentReturnNotEligible" | "plaidReplacementUnavailable" | "pmsAccountingStartMissing" | "previousStatementsOpen" | "providerPaymentRecoveryInProgress" | "providerPaymentRecoveryUnavailable" | "rampAccountNotReady" | "rampConnectionInactive" | "rampPaymentNotSupported" | "rampRecipientNotReady" | "reconciliationAmountMismatch" | "reconciliationTransferMismatch" | "requiredAccountMissing" | "reservationLocked" | "reservationUnmatched" | "selfModification" | "statementAttachment" | "statementExists" | "statementFutureExists" | "statementHasBlockingIssues" | "statementHasPayouts" | "statementInReview" | "statementNotReadyForPayment" | "statementPeriod" | "statementPublished" | "transactionInactive" | "transactionReconciled" | "transactionReconciledElsewhere";
|
|
58899
|
+
message: string;
|
|
58900
|
+
links?: {
|
|
58901
|
+
docs: string;
|
|
58902
|
+
schema: string;
|
|
58903
|
+
};
|
|
58904
|
+
issues: {
|
|
58905
|
+
/** @enum {string} */
|
|
58906
|
+
code?: "duplicateLast4";
|
|
58907
|
+
message: string;
|
|
58908
|
+
path?: (string | number)[];
|
|
58909
|
+
schema?: string;
|
|
58910
|
+
}[];
|
|
58911
|
+
retryable?: boolean;
|
|
58912
|
+
context?: unknown;
|
|
58913
|
+
};
|
|
58914
|
+
};
|
|
58915
|
+
};
|
|
58916
|
+
/** @description Service unavailable */
|
|
58917
|
+
503: {
|
|
58918
|
+
headers: {
|
|
58919
|
+
/** @description Seconds to wait when retryable=true and the server supplies a delay. */
|
|
58920
|
+
"Retry-After"?: number;
|
|
58921
|
+
[name: string]: unknown;
|
|
58922
|
+
};
|
|
58923
|
+
content: {
|
|
58924
|
+
"application/json": {
|
|
58925
|
+
/** @enum {string} */
|
|
58926
|
+
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" | "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";
|
|
58927
|
+
/**
|
|
58928
|
+
* @description Stable business-rule reason. Absent for access, authentication, and integration errors.
|
|
58929
|
+
* @enum {string}
|
|
58930
|
+
*/
|
|
58931
|
+
reason?: "accountClassificationLocked" | "accountConnectionAttached" | "accountInUse" | "alreadyPaid" | "amountExceedsReturnable" | "archiveRequired" | "bankAccountTooManyRecords" | "bankRecordInactive" | "bankRecordNotCsvSource" | "bankRecordPlaidSource" | "bankRecordReconciled" | "bankRecordRuleMatched" | "bankRecordUnassigned" | "bankRuleRunIncomplete" | "beforeStatementStartDate" | "booksClosed" | "dailyGlSummaryDisabled" | "duplicateLast4" | "duplicateName" | "duplicateUniqueRef" | "generalLedgerDisabled" | "generalLedgerStartDateMissing" | "historicalImportPending" | "inUse" | "lastAccessManager" | "listingInGroup" | "listingInGroupAlready" | "listingInactive" | "listingMappingAmbiguous" | "mergeDryRunRequired" | "mergePlanChanged" | "notBankAccount" | "openingBalanceUpdateInProgress" | "openingTrialBalanceLocked" | "operationsAccountingDisabled" | "paymentAttempted" | "paymentReturnInvolved" | "paymentReturnNotEligible" | "plaidReplacementUnavailable" | "pmsAccountingStartMissing" | "previousStatementsOpen" | "providerPaymentRecoveryInProgress" | "providerPaymentRecoveryUnavailable" | "rampAccountNotReady" | "rampConnectionInactive" | "rampPaymentNotSupported" | "rampRecipientNotReady" | "reconciliationAmountMismatch" | "reconciliationTransferMismatch" | "requiredAccountMissing" | "reservationLocked" | "reservationUnmatched" | "selfModification" | "statementAttachment" | "statementExists" | "statementFutureExists" | "statementHasBlockingIssues" | "statementHasPayouts" | "statementInReview" | "statementNotReadyForPayment" | "statementPeriod" | "statementPublished" | "transactionInactive" | "transactionReconciled" | "transactionReconciledElsewhere";
|
|
58932
|
+
message: string;
|
|
58933
|
+
links?: {
|
|
58934
|
+
docs: string;
|
|
58935
|
+
schema: string;
|
|
58936
|
+
};
|
|
58937
|
+
issues: {
|
|
58938
|
+
/** @enum {string} */
|
|
58939
|
+
code?: "duplicateLast4";
|
|
58940
|
+
message: string;
|
|
58941
|
+
path?: (string | number)[];
|
|
58942
|
+
schema?: string;
|
|
58943
|
+
}[];
|
|
58944
|
+
retryable?: boolean;
|
|
58945
|
+
context?: unknown;
|
|
58946
|
+
};
|
|
58947
|
+
};
|
|
58948
|
+
};
|
|
58949
|
+
};
|
|
58950
|
+
};
|
|
58367
58951
|
postContactsByIdRevokeAccess: {
|
|
58368
58952
|
parameters: {
|
|
58369
58953
|
query?: never;
|