@vrplatform/api 1.3.1-6399 → 1.3.1-6410

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.
@@ -2816,7 +2816,7 @@ export interface paths {
2816
2816
  */
2817
2817
  get: operations["getListingsByIdOpeningBalance"];
2818
2818
  /**
2819
- * @description Update opening balance for listing
2819
+ * @description Update a listing opening balance. Setting an existing balance to zero can cross a statement-period boundary; books closing and direct owner-statement attachments still apply.
2820
2820
  *
2821
2821
  * Required scope: general-ledger:write
2822
2822
  */
@@ -3869,7 +3869,7 @@ export interface paths {
3869
3869
  cookie?: never;
3870
3870
  };
3871
3871
  /**
3872
- * @description Check Plaid health using an existing connection
3872
+ * @description Check the current Plaid Item and institution health for an existing connection. Typed errors distinguish reconnect, replacement, retry, and support actions.
3873
3873
  *
3874
3874
  * Required scope: bank-connections:manage
3875
3875
  */
@@ -77879,16 +77879,15 @@ export interface operations {
77879
77879
  };
77880
77880
  };
77881
77881
  };
77882
- /** @description Conflict */
77882
+ /** @description The connection must be re-authenticated */
77883
77883
  409: {
77884
77884
  headers: {
77885
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
77886
- "Retry-After"?: number;
77887
77885
  [name: string]: unknown;
77888
77886
  };
77889
77887
  content: {
77890
77888
  "application/json": {
77891
- code: string;
77889
+ /** @constant */
77890
+ code: "CONNECTION_RECONNECT_REQUIRED";
77892
77891
  message: string;
77893
77892
  links?: {
77894
77893
  docs: string;
@@ -77900,7 +77899,27 @@ export interface operations {
77900
77899
  schema?: string;
77901
77900
  }[];
77902
77901
  retryable?: boolean;
77903
- context?: unknown;
77902
+ context: {
77903
+ endpoint?: string;
77904
+ method?: string;
77905
+ plaidDisplayMessage?: string;
77906
+ plaidDocumentationUrl?: string;
77907
+ plaidErrorCode?: string;
77908
+ plaidErrorCodeReason?: string;
77909
+ plaidErrorMessage?: string;
77910
+ plaidErrorType?: string;
77911
+ plaidRequestId?: string;
77912
+ plaidSuggestedAction?: string;
77913
+ retryAfterSeconds?: number;
77914
+ status?: number;
77915
+ statusText?: string;
77916
+ /** @constant */
77917
+ action: "reconnect";
77918
+ /** Format: uuid */
77919
+ connectionId: string;
77920
+ connectionName: string | null;
77921
+ operation?: string;
77922
+ };
77904
77923
  };
77905
77924
  };
77906
77925
  };
@@ -77929,16 +77948,15 @@ export interface operations {
77929
77948
  };
77930
77949
  };
77931
77950
  };
77932
- /** @description Unprocessable content */
77951
+ /** @description The Plaid Item must be replaced through Link */
77933
77952
  422: {
77934
77953
  headers: {
77935
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
77936
- "Retry-After"?: number;
77937
77954
  [name: string]: unknown;
77938
77955
  };
77939
77956
  content: {
77940
77957
  "application/json": {
77941
- code: string;
77958
+ /** @constant */
77959
+ code: "PLAID_CONNECT_REQUIRES_NEW_LINK";
77942
77960
  message: string;
77943
77961
  links?: {
77944
77962
  docs: string;
@@ -77950,20 +77968,41 @@ export interface operations {
77950
77968
  schema?: string;
77951
77969
  }[];
77952
77970
  retryable?: boolean;
77953
- context?: unknown;
77971
+ context: {
77972
+ endpoint?: string;
77973
+ method?: string;
77974
+ plaidDisplayMessage?: string;
77975
+ plaidDocumentationUrl?: string;
77976
+ plaidErrorCode?: string;
77977
+ plaidErrorCodeReason?: string;
77978
+ plaidErrorMessage?: string;
77979
+ plaidErrorType?: string;
77980
+ plaidRequestId?: string;
77981
+ plaidSuggestedAction?: string;
77982
+ retryAfterSeconds?: number;
77983
+ status?: number;
77984
+ statusText?: string;
77985
+ /** @constant */
77986
+ action: "replace";
77987
+ /** Format: uuid */
77988
+ connectionId: string;
77989
+ connectionName: string | null;
77990
+ operation?: string;
77991
+ /** @constant */
77992
+ restartMode: "replace";
77993
+ };
77954
77994
  };
77955
77995
  };
77956
77996
  };
77957
- /** @description Internal server error */
77997
+ /** @description The health request could not be completed */
77958
77998
  500: {
77959
77999
  headers: {
77960
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
77961
- "Retry-After"?: number;
77962
78000
  [name: string]: unknown;
77963
78001
  };
77964
78002
  content: {
77965
78003
  "application/json": {
77966
- code: string;
78004
+ /** @constant */
78005
+ code: "INTERNAL_SERVER_ERROR";
77967
78006
  message: string;
77968
78007
  links?: {
77969
78008
  docs: string;
@@ -77975,20 +78014,39 @@ export interface operations {
77975
78014
  schema?: string;
77976
78015
  }[];
77977
78016
  retryable?: boolean;
77978
- context?: unknown;
78017
+ context: {
78018
+ endpoint?: string;
78019
+ method?: string;
78020
+ plaidDisplayMessage?: string;
78021
+ plaidDocumentationUrl?: string;
78022
+ plaidErrorCode?: string;
78023
+ plaidErrorCodeReason?: string;
78024
+ plaidErrorMessage?: string;
78025
+ plaidErrorType?: string;
78026
+ plaidRequestId?: string;
78027
+ plaidSuggestedAction?: string;
78028
+ retryAfterSeconds?: number;
78029
+ status?: number;
78030
+ statusText?: string;
78031
+ /** @constant */
78032
+ action: "contactSupport";
78033
+ /** Format: uuid */
78034
+ connectionId: string;
78035
+ connectionName: string | null;
78036
+ operation?: string;
78037
+ };
77979
78038
  };
77980
78039
  };
77981
78040
  };
77982
- /** @description Service unavailable */
78041
+ /** @description Plaid is temporarily unavailable */
77983
78042
  503: {
77984
78043
  headers: {
77985
- /** @description Seconds to wait when retryable=true and the server supplies a delay. */
77986
- "Retry-After"?: number;
77987
78044
  [name: string]: unknown;
77988
78045
  };
77989
78046
  content: {
77990
78047
  "application/json": {
77991
- code: string;
78048
+ /** @constant */
78049
+ code: "PLAID_PROVIDER_UNAVAILABLE";
77992
78050
  message: string;
77993
78051
  links?: {
77994
78052
  docs: string;
@@ -77999,8 +78057,29 @@ export interface operations {
77999
78057
  path?: (string | number)[];
78000
78058
  schema?: string;
78001
78059
  }[];
78002
- retryable?: boolean;
78003
- context?: unknown;
78060
+ /** @constant */
78061
+ retryable: true;
78062
+ context: {
78063
+ endpoint?: string;
78064
+ method?: string;
78065
+ plaidDisplayMessage?: string;
78066
+ plaidDocumentationUrl?: string;
78067
+ plaidErrorCode?: string;
78068
+ plaidErrorCodeReason?: string;
78069
+ plaidErrorMessage?: string;
78070
+ plaidErrorType?: string;
78071
+ plaidRequestId?: string;
78072
+ plaidSuggestedAction?: string;
78073
+ retryAfterSeconds?: number;
78074
+ status?: number;
78075
+ statusText?: string;
78076
+ /** @constant */
78077
+ action: "retry";
78078
+ /** Format: uuid */
78079
+ connectionId: string;
78080
+ connectionName: string | null;
78081
+ operation?: string;
78082
+ };
78004
78083
  };
78005
78084
  };
78006
78085
  };