@vrplatform/api 1.3.1-stage.1973 → 1.3.1-stage.1974

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.
@@ -2481,6 +2481,23 @@ export interface paths {
2481
2481
  patch: operations["patchTransactionAttachmentsByAttachmentId"];
2482
2482
  trace?: never;
2483
2483
  };
2484
+ "/transaction-attachments/{attachmentId}/download": {
2485
+ parameters: {
2486
+ query?: never;
2487
+ header?: never;
2488
+ path?: never;
2489
+ cookie?: never;
2490
+ };
2491
+ /** @description Download an expense attachment */
2492
+ get: operations["getTransactionAttachmentsByAttachmentIdDownload"];
2493
+ put?: never;
2494
+ post?: never;
2495
+ delete?: never;
2496
+ options?: never;
2497
+ head?: never;
2498
+ patch?: never;
2499
+ trace?: never;
2500
+ };
2484
2501
  "/transactions": {
2485
2502
  parameters: {
2486
2503
  query?: never;
@@ -34745,6 +34762,111 @@ export interface operations {
34745
34762
  };
34746
34763
  };
34747
34764
  };
34765
+ getTransactionAttachmentsByAttachmentIdDownload: {
34766
+ parameters: {
34767
+ query?: never;
34768
+ header?: never;
34769
+ path: {
34770
+ attachmentId: string;
34771
+ };
34772
+ cookie?: never;
34773
+ };
34774
+ requestBody?: never;
34775
+ responses: {
34776
+ /** @description Successful response */
34777
+ 200: {
34778
+ headers: {
34779
+ [name: string]: unknown;
34780
+ };
34781
+ content: {
34782
+ "application/json": {
34783
+ /** Format: uuid */
34784
+ id: string;
34785
+ };
34786
+ };
34787
+ };
34788
+ /** @description Bad request */
34789
+ 400: {
34790
+ headers: {
34791
+ [name: string]: unknown;
34792
+ };
34793
+ content: {
34794
+ "application/json": {
34795
+ code: string;
34796
+ message: string;
34797
+ issues?: {
34798
+ message: string;
34799
+ }[];
34800
+ context?: unknown;
34801
+ };
34802
+ };
34803
+ };
34804
+ /** @description Unauthorized */
34805
+ 401: {
34806
+ headers: {
34807
+ [name: string]: unknown;
34808
+ };
34809
+ content: {
34810
+ "application/json": {
34811
+ code: string;
34812
+ message: string;
34813
+ issues?: {
34814
+ message: string;
34815
+ }[];
34816
+ context?: unknown;
34817
+ };
34818
+ };
34819
+ };
34820
+ /** @description Forbidden */
34821
+ 403: {
34822
+ headers: {
34823
+ [name: string]: unknown;
34824
+ };
34825
+ content: {
34826
+ "application/json": {
34827
+ code: string;
34828
+ message: string;
34829
+ issues?: {
34830
+ message: string;
34831
+ }[];
34832
+ context?: unknown;
34833
+ };
34834
+ };
34835
+ };
34836
+ /** @description Not found */
34837
+ 404: {
34838
+ headers: {
34839
+ [name: string]: unknown;
34840
+ };
34841
+ content: {
34842
+ "application/json": {
34843
+ code: string;
34844
+ message: string;
34845
+ issues?: {
34846
+ message: string;
34847
+ }[];
34848
+ context?: unknown;
34849
+ };
34850
+ };
34851
+ };
34852
+ /** @description Internal server error */
34853
+ 500: {
34854
+ headers: {
34855
+ [name: string]: unknown;
34856
+ };
34857
+ content: {
34858
+ "application/json": {
34859
+ code: string;
34860
+ message: string;
34861
+ issues?: {
34862
+ message: string;
34863
+ }[];
34864
+ context?: unknown;
34865
+ };
34866
+ };
34867
+ };
34868
+ };
34869
+ };
34748
34870
  getTransactions: {
34749
34871
  parameters: {
34750
34872
  query?: {