@vrplatform/api 1.2.33-stage.751 → 1.2.33-stage.753

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.
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.2.33-stage.751",
6
+ "version": "1.2.33-stage.753",
7
7
  "description": "",
8
8
  "main": "build/main/index.js",
9
9
  "module": "build/module/index.js",
@@ -1506,6 +1506,23 @@ export interface paths {
1506
1506
  patch?: never;
1507
1507
  trace?: never;
1508
1508
  };
1509
+ "/report/journal-entries": {
1510
+ parameters: {
1511
+ query?: never;
1512
+ header?: never;
1513
+ path?: never;
1514
+ cookie?: never;
1515
+ };
1516
+ /** @description Paginated journal entries with configurable filters */
1517
+ get: operations["getJournalEntriesReport"];
1518
+ put?: never;
1519
+ post?: never;
1520
+ delete?: never;
1521
+ options?: never;
1522
+ head?: never;
1523
+ patch?: never;
1524
+ trace?: never;
1525
+ };
1509
1526
  "/reports/manager-statements": {
1510
1527
  parameters: {
1511
1528
  query?: never;
@@ -4926,6 +4943,42 @@ export interface operations {
4926
4943
  /** @enum {string|null} */
4927
4944
  party?: "owners" | "manager" | null;
4928
4945
  }[] | null;
4946
+ /** @description Lines to be added (can not be combined with "lines" in the same request) */
4947
+ lines_create?: {
4948
+ /** Format: uuid */
4949
+ id?: string | null;
4950
+ uniqueRef?: string | null;
4951
+ type: string;
4952
+ description?: string | null;
4953
+ reservationRef?: string | null;
4954
+ /** @description Value in cents (100 = 1€) */
4955
+ amount: number;
4956
+ accountId?: string | null;
4957
+ accountRef?: string | null;
4958
+ connectionId?: string | null;
4959
+ metadata?: {
4960
+ [key: string]: unknown;
4961
+ } | null;
4962
+ }[] | null;
4963
+ /** @description Lines to be updated (can not be combined with "lines" in the same request) */
4964
+ lines_update?: {
4965
+ /** Format: uuid */
4966
+ id: string;
4967
+ uniqueRef?: string | null;
4968
+ type?: string;
4969
+ description?: string | null;
4970
+ reservationRef?: string | null;
4971
+ /** @description Value in cents (100 = 1€) */
4972
+ amount?: number;
4973
+ accountId?: string | null;
4974
+ accountRef?: string | null;
4975
+ connectionId?: string | null;
4976
+ metadata?: {
4977
+ [key: string]: unknown;
4978
+ } | null;
4979
+ }[] | null;
4980
+ /** @description Lines to be deleted (can not be combined with "lines" in the same request) */
4981
+ lines_delete?: string[] | null;
4929
4982
  /** @description Lines to be added (can not be combined with "adjustments" in the same request) */
4930
4983
  adjustments_create?: {
4931
4984
  /** Format: uuid */
@@ -23031,6 +23084,122 @@ export interface operations {
23031
23084
  };
23032
23085
  };
23033
23086
  };
23087
+ getJournalEntriesReport: {
23088
+ parameters: {
23089
+ query: {
23090
+ startAt: string;
23091
+ endAt: string;
23092
+ search?: string;
23093
+ date?: string;
23094
+ amount?: string;
23095
+ listingId?: string;
23096
+ accountId?: string;
23097
+ classification?: ("asset" | "liability" | "revenue" | "expense") | ("asset" | "liability" | "revenue" | "expense")[];
23098
+ type?: ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment") | ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment")[];
23099
+ relation?: "reservation" | "deposit" | "expense" | "recurringFee" | "transfer";
23100
+ party?: "owners" | "manager";
23101
+ limit?: number;
23102
+ page?: number;
23103
+ };
23104
+ header?: {
23105
+ "X-Team-Id"?: string;
23106
+ };
23107
+ path?: never;
23108
+ cookie?: never;
23109
+ };
23110
+ requestBody?: never;
23111
+ responses: {
23112
+ /** @description Successful response */
23113
+ 200: {
23114
+ headers: {
23115
+ [name: string]: unknown;
23116
+ };
23117
+ content: {
23118
+ "application/json": {
23119
+ data: {
23120
+ id: string;
23121
+ txnAt: string;
23122
+ description: string;
23123
+ centTotal: number;
23124
+ /** @enum {string} */
23125
+ type?: "reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment";
23126
+ reservationId?: string;
23127
+ transactionId?: string;
23128
+ ownerStatementId?: string;
23129
+ currency: unknown;
23130
+ entityType?: string;
23131
+ status: string;
23132
+ listingId?: string;
23133
+ uniqueRef: string;
23134
+ party?: string;
23135
+ contactId?: string;
23136
+ listingOwnershipPeriodId?: string;
23137
+ recurringFeeId?: string;
23138
+ recurringFeeListingSubscriptionId?: string;
23139
+ account?: {
23140
+ id: string;
23141
+ name: string;
23142
+ };
23143
+ }[];
23144
+ pagination: {
23145
+ /** @default 100 */
23146
+ limit: number;
23147
+ /** @default 1 */
23148
+ page: number;
23149
+ total: number;
23150
+ totalPage: number;
23151
+ nextPage?: number;
23152
+ };
23153
+ };
23154
+ };
23155
+ };
23156
+ /** @description Invalid input data */
23157
+ 400: {
23158
+ headers: {
23159
+ [name: string]: unknown;
23160
+ };
23161
+ content: {
23162
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
23163
+ };
23164
+ };
23165
+ /** @description Authorization not provided */
23166
+ 401: {
23167
+ headers: {
23168
+ [name: string]: unknown;
23169
+ };
23170
+ content: {
23171
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
23172
+ };
23173
+ };
23174
+ /** @description Insufficient access */
23175
+ 403: {
23176
+ headers: {
23177
+ [name: string]: unknown;
23178
+ };
23179
+ content: {
23180
+ "application/json": components["schemas"]["error.FORBIDDEN"];
23181
+ };
23182
+ };
23183
+ /** @description Not found */
23184
+ 404: {
23185
+ headers: {
23186
+ [name: string]: unknown;
23187
+ };
23188
+ content: {
23189
+ "application/json": components["schemas"]["error.NOT_FOUND"];
23190
+ };
23191
+ };
23192
+ /** @description Internal server error */
23193
+ 500: {
23194
+ headers: {
23195
+ [name: string]: unknown;
23196
+ };
23197
+ content: {
23198
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
23199
+ };
23200
+ };
23201
+ };
23202
+ };
23034
23203
  getManagerStatementsReport: {
23035
23204
  parameters: {
23036
23205
  query: {