@vrplatform/api 1.3.1-4508 → 1.3.1-4520

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.
@@ -4194,6 +4194,23 @@ export interface paths {
4194
4194
  patch?: never;
4195
4195
  trace?: never;
4196
4196
  };
4197
+ "/transactions/{id}/pay": {
4198
+ parameters: {
4199
+ query?: never;
4200
+ header?: never;
4201
+ path?: never;
4202
+ cookie?: never;
4203
+ };
4204
+ get?: never;
4205
+ put?: never;
4206
+ /** @description Pay a vendor bill */
4207
+ post: operations["postTransactionsByIdPay"];
4208
+ delete?: never;
4209
+ options?: never;
4210
+ head?: never;
4211
+ patch?: never;
4212
+ trace?: never;
4213
+ };
4197
4214
  "/transactions/{transactionId}/lines/{id}": {
4198
4215
  parameters: {
4199
4216
  query?: never;
@@ -85795,6 +85812,179 @@ export interface operations {
85795
85812
  };
85796
85813
  };
85797
85814
  };
85815
+ postTransactionsByIdPay: {
85816
+ parameters: {
85817
+ query?: {
85818
+ /** @description Validate this request through the real write path, then roll back all changes. See https://docs.vrplatform.app/api/dry-run-mode. */
85819
+ dryRun?: boolean;
85820
+ };
85821
+ header?: never;
85822
+ path: {
85823
+ id: string;
85824
+ };
85825
+ cookie?: never;
85826
+ };
85827
+ requestBody?: {
85828
+ content: {
85829
+ "application/json": {
85830
+ ramp: boolean;
85831
+ date?: string | null;
85832
+ vendor?: {
85833
+ legalName?: string;
85834
+ accountNumber?: string;
85835
+ routingNumber?: string;
85836
+ };
85837
+ };
85838
+ };
85839
+ };
85840
+ responses: {
85841
+ /** @description Successful response */
85842
+ 200: {
85843
+ headers: {
85844
+ [name: string]: unknown;
85845
+ };
85846
+ content: {
85847
+ "application/json": {
85848
+ /** Format: uuid */
85849
+ id: string;
85850
+ paidStatus?: string | null;
85851
+ };
85852
+ };
85853
+ };
85854
+ /** @description Bad request */
85855
+ 400: {
85856
+ headers: {
85857
+ [name: string]: unknown;
85858
+ };
85859
+ content: {
85860
+ "application/json": {
85861
+ code: string;
85862
+ message: string;
85863
+ links?: {
85864
+ docs: string;
85865
+ schema: string;
85866
+ };
85867
+ issues?: {
85868
+ message: string;
85869
+ path?: (string | number)[];
85870
+ schema?: string;
85871
+ }[];
85872
+ context?: unknown;
85873
+ };
85874
+ };
85875
+ };
85876
+ /** @description Unauthorized */
85877
+ 401: {
85878
+ headers: {
85879
+ [name: string]: unknown;
85880
+ };
85881
+ content: {
85882
+ "application/json": {
85883
+ code: string;
85884
+ message: string;
85885
+ links?: {
85886
+ docs: string;
85887
+ schema: string;
85888
+ };
85889
+ issues?: {
85890
+ message: string;
85891
+ path?: (string | number)[];
85892
+ schema?: string;
85893
+ }[];
85894
+ context?: unknown;
85895
+ };
85896
+ };
85897
+ };
85898
+ /** @description Forbidden */
85899
+ 403: {
85900
+ headers: {
85901
+ [name: string]: unknown;
85902
+ };
85903
+ content: {
85904
+ "application/json": {
85905
+ code: string;
85906
+ message: string;
85907
+ links?: {
85908
+ docs: string;
85909
+ schema: string;
85910
+ };
85911
+ issues?: {
85912
+ message: string;
85913
+ path?: (string | number)[];
85914
+ schema?: string;
85915
+ }[];
85916
+ context?: unknown;
85917
+ };
85918
+ };
85919
+ };
85920
+ /** @description Not found */
85921
+ 404: {
85922
+ headers: {
85923
+ [name: string]: unknown;
85924
+ };
85925
+ content: {
85926
+ "application/json": {
85927
+ code: string;
85928
+ message: string;
85929
+ links?: {
85930
+ docs: string;
85931
+ schema: string;
85932
+ };
85933
+ issues?: {
85934
+ message: string;
85935
+ path?: (string | number)[];
85936
+ schema?: string;
85937
+ }[];
85938
+ context?: unknown;
85939
+ };
85940
+ };
85941
+ };
85942
+ /** @description Internal server error */
85943
+ 500: {
85944
+ headers: {
85945
+ [name: string]: unknown;
85946
+ };
85947
+ content: {
85948
+ "application/json": {
85949
+ code: string;
85950
+ message: string;
85951
+ links?: {
85952
+ docs: string;
85953
+ schema: string;
85954
+ };
85955
+ issues?: {
85956
+ message: string;
85957
+ path?: (string | number)[];
85958
+ schema?: string;
85959
+ }[];
85960
+ context?: unknown;
85961
+ };
85962
+ };
85963
+ };
85964
+ /** @description Service unavailable */
85965
+ 503: {
85966
+ headers: {
85967
+ [name: string]: unknown;
85968
+ };
85969
+ content: {
85970
+ "application/json": {
85971
+ code: string;
85972
+ message: string;
85973
+ links?: {
85974
+ docs: string;
85975
+ schema: string;
85976
+ };
85977
+ issues?: {
85978
+ message: string;
85979
+ path?: (string | number)[];
85980
+ schema?: string;
85981
+ }[];
85982
+ context?: unknown;
85983
+ };
85984
+ };
85985
+ };
85986
+ };
85987
+ };
85798
85988
  putTransactionsByTransactionIdLinesById: {
85799
85989
  parameters: {
85800
85990
  query?: {