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

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;
@@ -26200,26 +26217,13 @@ export interface operations {
26200
26217
  /** @description Value in cents (100 = 1€) */
26201
26218
  expenses: number;
26202
26219
  /** @description Value in cents (100 = 1€) */
26220
+ reserve: number;
26221
+ /** @description Value in cents (100 = 1€) */
26203
26222
  netIncome: number;
26204
26223
  /** @description Value in cents (100 = 1€) */
26205
26224
  transfers: number;
26206
26225
  /** @description Value in cents (100 = 1€) */
26207
26226
  balanceEnd: number;
26208
- totals: {
26209
- /** @description Value in cents (100 = 1€) */
26210
- balanceStart: number;
26211
- /** @description Value in cents (100 = 1€) */
26212
- netRevenue: number;
26213
- /** @description Value in cents (100 = 1€) */
26214
- expenses: number;
26215
- /** @description Value in cents (100 = 1€) */
26216
- netIncome: number;
26217
- /** @description Value in cents (100 = 1€) */
26218
- transfers: number;
26219
- /** @description Value in cents (100 = 1€) */
26220
- balanceEnd: number;
26221
- reserve: number;
26222
- };
26223
26227
  };
26224
26228
  uniqueRef: string;
26225
26229
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
@@ -26397,20 +26401,6 @@ export interface operations {
26397
26401
  totalPage: number;
26398
26402
  nextPage?: number;
26399
26403
  };
26400
- aggregations?: {
26401
- /** @description Value in cents (100 = 1€) */
26402
- balanceStart: number;
26403
- /** @description Value in cents (100 = 1€) */
26404
- netRevenue: number;
26405
- /** @description Value in cents (100 = 1€) */
26406
- expenses: number;
26407
- /** @description Value in cents (100 = 1€) */
26408
- netIncome: number;
26409
- /** @description Value in cents (100 = 1€) */
26410
- transfers: number;
26411
- /** @description Value in cents (100 = 1€) */
26412
- balanceEnd: number;
26413
- };
26414
26404
  aggregates?: {
26415
26405
  /** @description Value in cents (100 = 1€) */
26416
26406
  balanceStart: number;
@@ -26419,30 +26409,16 @@ export interface operations {
26419
26409
  /** @description Value in cents (100 = 1€) */
26420
26410
  expenses: number;
26421
26411
  /** @description Value in cents (100 = 1€) */
26412
+ reserve: number;
26413
+ /** @description Value in cents (100 = 1€) */
26422
26414
  netIncome: number;
26423
26415
  /** @description Value in cents (100 = 1€) */
26424
26416
  transfers: number;
26425
26417
  /** @description Value in cents (100 = 1€) */
26426
26418
  balanceEnd: number;
26427
- reserve: number;
26428
26419
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
26429
26420
  currency: string;
26430
26421
  }[];
26431
- totals?: {
26432
- /** @description Value in cents (100 = 1€) */
26433
- balanceStart: number;
26434
- /** @description Value in cents (100 = 1€) */
26435
- netRevenue: number;
26436
- /** @description Value in cents (100 = 1€) */
26437
- expenses: number;
26438
- /** @description Value in cents (100 = 1€) */
26439
- netIncome: number;
26440
- /** @description Value in cents (100 = 1€) */
26441
- transfers: number;
26442
- /** @description Value in cents (100 = 1€) */
26443
- balanceEnd: number;
26444
- reserve: number;
26445
- };
26446
26422
  };
26447
26423
  };
26448
26424
  };
@@ -26576,6 +26552,8 @@ export interface operations {
26576
26552
  /** @description Value in cents (100 = 1€) */
26577
26553
  expenses: number;
26578
26554
  /** @description Value in cents (100 = 1€) */
26555
+ reserve: number;
26556
+ /** @description Value in cents (100 = 1€) */
26579
26557
  netIncome: number;
26580
26558
  /** @description Value in cents (100 = 1€) */
26581
26559
  transfers: number;
@@ -27138,6 +27116,8 @@ export interface operations {
27138
27116
  /** @description Value in cents (100 = 1€) */
27139
27117
  expenses: number;
27140
27118
  /** @description Value in cents (100 = 1€) */
27119
+ reserve: number;
27120
+ /** @description Value in cents (100 = 1€) */
27141
27121
  netIncome: number;
27142
27122
  /** @description Value in cents (100 = 1€) */
27143
27123
  transfers: number;
@@ -29505,6 +29485,8 @@ export interface operations {
29505
29485
  /** @description Value in cents (100 = 1€) */
29506
29486
  expenses: number;
29507
29487
  /** @description Value in cents (100 = 1€) */
29488
+ reserve: number;
29489
+ /** @description Value in cents (100 = 1€) */
29508
29490
  netIncome: number;
29509
29491
  /** @description Value in cents (100 = 1€) */
29510
29492
  transfers: number;
@@ -29632,6 +29614,8 @@ export interface operations {
29632
29614
  /** @description Value in cents (100 = 1€) */
29633
29615
  expenses: number;
29634
29616
  /** @description Value in cents (100 = 1€) */
29617
+ reserve: number;
29618
+ /** @description Value in cents (100 = 1€) */
29635
29619
  netIncome: number;
29636
29620
  /** @description Value in cents (100 = 1€) */
29637
29621
  transfers: number;
@@ -30199,6 +30183,8 @@ export interface operations {
30199
30183
  /** @description Value in cents (100 = 1€) */
30200
30184
  expenses: number;
30201
30185
  /** @description Value in cents (100 = 1€) */
30186
+ reserve: number;
30187
+ /** @description Value in cents (100 = 1€) */
30202
30188
  netIncome: number;
30203
30189
  /** @description Value in cents (100 = 1€) */
30204
30190
  transfers: number;
@@ -34745,6 +34731,111 @@ export interface operations {
34745
34731
  };
34746
34732
  };
34747
34733
  };
34734
+ getTransactionAttachmentsByAttachmentIdDownload: {
34735
+ parameters: {
34736
+ query?: never;
34737
+ header?: never;
34738
+ path: {
34739
+ attachmentId: string;
34740
+ };
34741
+ cookie?: never;
34742
+ };
34743
+ requestBody?: never;
34744
+ responses: {
34745
+ /** @description Successful response */
34746
+ 200: {
34747
+ headers: {
34748
+ [name: string]: unknown;
34749
+ };
34750
+ content: {
34751
+ "application/json": {
34752
+ /** Format: uuid */
34753
+ id: string;
34754
+ };
34755
+ };
34756
+ };
34757
+ /** @description Bad request */
34758
+ 400: {
34759
+ headers: {
34760
+ [name: string]: unknown;
34761
+ };
34762
+ content: {
34763
+ "application/json": {
34764
+ code: string;
34765
+ message: string;
34766
+ issues?: {
34767
+ message: string;
34768
+ }[];
34769
+ context?: unknown;
34770
+ };
34771
+ };
34772
+ };
34773
+ /** @description Unauthorized */
34774
+ 401: {
34775
+ headers: {
34776
+ [name: string]: unknown;
34777
+ };
34778
+ content: {
34779
+ "application/json": {
34780
+ code: string;
34781
+ message: string;
34782
+ issues?: {
34783
+ message: string;
34784
+ }[];
34785
+ context?: unknown;
34786
+ };
34787
+ };
34788
+ };
34789
+ /** @description Forbidden */
34790
+ 403: {
34791
+ headers: {
34792
+ [name: string]: unknown;
34793
+ };
34794
+ content: {
34795
+ "application/json": {
34796
+ code: string;
34797
+ message: string;
34798
+ issues?: {
34799
+ message: string;
34800
+ }[];
34801
+ context?: unknown;
34802
+ };
34803
+ };
34804
+ };
34805
+ /** @description Not found */
34806
+ 404: {
34807
+ headers: {
34808
+ [name: string]: unknown;
34809
+ };
34810
+ content: {
34811
+ "application/json": {
34812
+ code: string;
34813
+ message: string;
34814
+ issues?: {
34815
+ message: string;
34816
+ }[];
34817
+ context?: unknown;
34818
+ };
34819
+ };
34820
+ };
34821
+ /** @description Internal server error */
34822
+ 500: {
34823
+ headers: {
34824
+ [name: string]: unknown;
34825
+ };
34826
+ content: {
34827
+ "application/json": {
34828
+ code: string;
34829
+ message: string;
34830
+ issues?: {
34831
+ message: string;
34832
+ }[];
34833
+ context?: unknown;
34834
+ };
34835
+ };
34836
+ };
34837
+ };
34838
+ };
34748
34839
  getTransactions: {
34749
34840
  parameters: {
34750
34841
  query?: {