@vrplatform/api 1.2.33-stage.752 → 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.
@@ -1505,6 +1505,23 @@ export interface paths {
1505
1505
  patch?: never;
1506
1506
  trace?: never;
1507
1507
  };
1508
+ "/report/journal-entries": {
1509
+ parameters: {
1510
+ query?: never;
1511
+ header?: never;
1512
+ path?: never;
1513
+ cookie?: never;
1514
+ };
1515
+ /** @description Paginated journal entries with configurable filters */
1516
+ get: operations["getJournalEntriesReport"];
1517
+ put?: never;
1518
+ post?: never;
1519
+ delete?: never;
1520
+ options?: never;
1521
+ head?: never;
1522
+ patch?: never;
1523
+ trace?: never;
1524
+ };
1508
1525
  "/reports/manager-statements": {
1509
1526
  parameters: {
1510
1527
  query?: never;
@@ -23066,6 +23083,122 @@ export interface operations {
23066
23083
  };
23067
23084
  };
23068
23085
  };
23086
+ getJournalEntriesReport: {
23087
+ parameters: {
23088
+ query: {
23089
+ startAt: string;
23090
+ endAt: string;
23091
+ search?: string;
23092
+ date?: string;
23093
+ amount?: string;
23094
+ listingId?: string;
23095
+ accountId?: string;
23096
+ classification?: ("asset" | "liability" | "revenue" | "expense") | ("asset" | "liability" | "revenue" | "expense")[];
23097
+ 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")[];
23098
+ relation?: "reservation" | "deposit" | "expense" | "recurringFee" | "transfer";
23099
+ party?: "owners" | "manager";
23100
+ limit?: number;
23101
+ page?: number;
23102
+ };
23103
+ header?: {
23104
+ "X-Team-Id"?: string;
23105
+ };
23106
+ path?: never;
23107
+ cookie?: never;
23108
+ };
23109
+ requestBody?: never;
23110
+ responses: {
23111
+ /** @description Successful response */
23112
+ 200: {
23113
+ headers: {
23114
+ [name: string]: unknown;
23115
+ };
23116
+ content: {
23117
+ "application/json": {
23118
+ data: {
23119
+ id: string;
23120
+ txnAt: string;
23121
+ description: string;
23122
+ centTotal: number;
23123
+ /** @enum {string} */
23124
+ 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";
23125
+ reservationId?: string;
23126
+ transactionId?: string;
23127
+ ownerStatementId?: string;
23128
+ currency: unknown;
23129
+ entityType?: string;
23130
+ status: string;
23131
+ listingId?: string;
23132
+ uniqueRef: string;
23133
+ party?: string;
23134
+ contactId?: string;
23135
+ listingOwnershipPeriodId?: string;
23136
+ recurringFeeId?: string;
23137
+ recurringFeeListingSubscriptionId?: string;
23138
+ account?: {
23139
+ id: string;
23140
+ name: string;
23141
+ };
23142
+ }[];
23143
+ pagination: {
23144
+ /** @default 100 */
23145
+ limit: number;
23146
+ /** @default 1 */
23147
+ page: number;
23148
+ total: number;
23149
+ totalPage: number;
23150
+ nextPage?: number;
23151
+ };
23152
+ };
23153
+ };
23154
+ };
23155
+ /** @description Invalid input data */
23156
+ 400: {
23157
+ headers: {
23158
+ [name: string]: unknown;
23159
+ };
23160
+ content: {
23161
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
23162
+ };
23163
+ };
23164
+ /** @description Authorization not provided */
23165
+ 401: {
23166
+ headers: {
23167
+ [name: string]: unknown;
23168
+ };
23169
+ content: {
23170
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
23171
+ };
23172
+ };
23173
+ /** @description Insufficient access */
23174
+ 403: {
23175
+ headers: {
23176
+ [name: string]: unknown;
23177
+ };
23178
+ content: {
23179
+ "application/json": components["schemas"]["error.FORBIDDEN"];
23180
+ };
23181
+ };
23182
+ /** @description Not found */
23183
+ 404: {
23184
+ headers: {
23185
+ [name: string]: unknown;
23186
+ };
23187
+ content: {
23188
+ "application/json": components["schemas"]["error.NOT_FOUND"];
23189
+ };
23190
+ };
23191
+ /** @description Internal server error */
23192
+ 500: {
23193
+ headers: {
23194
+ [name: string]: unknown;
23195
+ };
23196
+ content: {
23197
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
23198
+ };
23199
+ };
23200
+ };
23201
+ };
23069
23202
  getManagerStatementsReport: {
23070
23203
  parameters: {
23071
23204
  query: {