@vrplatform/api 1.3.0-stage.1281 → 1.3.0-stage.1284

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
@@ -6,7 +6,7 @@
6
6
  "typings": "build/main/index.d.ts",
7
7
  "module": "build/module/index.js"
8
8
  },
9
- "version": "1.3.0-stage.1281",
9
+ "version": "1.3.0-stage.1284",
10
10
  "description": "",
11
11
  "main": "build/main/index.js",
12
12
  "module": "build/module/index.js",
@@ -1868,6 +1868,74 @@ export interface paths {
1868
1868
  patch?: never;
1869
1869
  trace?: never;
1870
1870
  };
1871
+ "/reports/owner-statement-summaries-per-layout": {
1872
+ parameters: {
1873
+ query?: never;
1874
+ header?: never;
1875
+ path?: never;
1876
+ cookie?: never;
1877
+ };
1878
+ /** @description Owner statement summaries aggregated by contact (per layout) */
1879
+ get: operations["getOwnerStatementSummariesPerLayoutReport"];
1880
+ put?: never;
1881
+ post?: never;
1882
+ delete?: never;
1883
+ options?: never;
1884
+ head?: never;
1885
+ patch?: never;
1886
+ trace?: never;
1887
+ };
1888
+ "/reports/owner-statement-summaries-per-layout/csv": {
1889
+ parameters: {
1890
+ query?: never;
1891
+ header?: never;
1892
+ path?: never;
1893
+ cookie?: never;
1894
+ };
1895
+ /** @description Owner statement summaries aggregated by contact (per layout, CSV) */
1896
+ get: operations["getOwnerStatementSummariesPerLayoutReportCsv"];
1897
+ put?: never;
1898
+ post?: never;
1899
+ delete?: never;
1900
+ options?: never;
1901
+ head?: never;
1902
+ patch?: never;
1903
+ trace?: never;
1904
+ };
1905
+ "/reports/owner-statement-summaries-per-layout/details/{contactId}": {
1906
+ parameters: {
1907
+ query?: never;
1908
+ header?: never;
1909
+ path?: never;
1910
+ cookie?: never;
1911
+ };
1912
+ /** @description Owner statement summary detail aggregated by listing, month, reservation, or booking channel (per layout) */
1913
+ get: operations["getOwnerStatementSummaryPerLayoutDetailsReport"];
1914
+ put?: never;
1915
+ post?: never;
1916
+ delete?: never;
1917
+ options?: never;
1918
+ head?: never;
1919
+ patch?: never;
1920
+ trace?: never;
1921
+ };
1922
+ "/reports/owner-statement-summaries-per-layout/details/{contactId}/csv": {
1923
+ parameters: {
1924
+ query?: never;
1925
+ header?: never;
1926
+ path?: never;
1927
+ cookie?: never;
1928
+ };
1929
+ /** @description Owner statement summary detail aggregated by listing, month, reservation, or booking channel (per layout, CSV) */
1930
+ get: operations["getOwnerStatementSummaryPerLayoutDetailsReportCsv"];
1931
+ put?: never;
1932
+ post?: never;
1933
+ delete?: never;
1934
+ options?: never;
1935
+ head?: never;
1936
+ patch?: never;
1937
+ trace?: never;
1938
+ };
1871
1939
  "/reports/trial-balance": {
1872
1940
  parameters: {
1873
1941
  query?: never;
@@ -4290,6 +4358,7 @@ export interface operations {
4290
4358
  "application/json": {
4291
4359
  dangerouslyAllowLocked?: boolean;
4292
4360
  ids?: string[];
4361
+ repairManagerFeeBalance?: boolean;
4293
4362
  };
4294
4363
  };
4295
4364
  };
@@ -24028,6 +24097,413 @@ export interface operations {
24028
24097
  };
24029
24098
  };
24030
24099
  };
24100
+ getOwnerStatementSummariesPerLayoutReport: {
24101
+ parameters: {
24102
+ query: {
24103
+ startAt: string;
24104
+ endAt: string;
24105
+ /** @description comma separated listings */
24106
+ listingIds?: string;
24107
+ };
24108
+ header?: {
24109
+ "X-Team-Id"?: string;
24110
+ };
24111
+ path?: never;
24112
+ cookie?: never;
24113
+ };
24114
+ requestBody?: never;
24115
+ responses: {
24116
+ /** @description Successful response */
24117
+ 200: {
24118
+ headers: {
24119
+ [name: string]: unknown;
24120
+ };
24121
+ content: {
24122
+ "application/json": {
24123
+ data: {
24124
+ contact: {
24125
+ contactId: string;
24126
+ name?: string;
24127
+ firstName?: string;
24128
+ /** Format: email */
24129
+ email?: string;
24130
+ phone?: string;
24131
+ };
24132
+ currency: string;
24133
+ financials: {
24134
+ balanceStart: number;
24135
+ netRevenue: number;
24136
+ expenses: number;
24137
+ transfers: number;
24138
+ netIncome: number;
24139
+ currentBalance: number;
24140
+ balanceEnd: number;
24141
+ };
24142
+ }[];
24143
+ };
24144
+ };
24145
+ };
24146
+ /** @description Invalid input data */
24147
+ 400: {
24148
+ headers: {
24149
+ [name: string]: unknown;
24150
+ };
24151
+ content: {
24152
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
24153
+ };
24154
+ };
24155
+ /** @description Authorization not provided */
24156
+ 401: {
24157
+ headers: {
24158
+ [name: string]: unknown;
24159
+ };
24160
+ content: {
24161
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
24162
+ };
24163
+ };
24164
+ /** @description Insufficient access */
24165
+ 403: {
24166
+ headers: {
24167
+ [name: string]: unknown;
24168
+ };
24169
+ content: {
24170
+ "application/json": components["schemas"]["error.FORBIDDEN"];
24171
+ };
24172
+ };
24173
+ /** @description Not found */
24174
+ 404: {
24175
+ headers: {
24176
+ [name: string]: unknown;
24177
+ };
24178
+ content: {
24179
+ "application/json": components["schemas"]["error.NOT_FOUND"];
24180
+ };
24181
+ };
24182
+ /** @description Internal server error */
24183
+ 500: {
24184
+ headers: {
24185
+ [name: string]: unknown;
24186
+ };
24187
+ content: {
24188
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
24189
+ };
24190
+ };
24191
+ };
24192
+ };
24193
+ getOwnerStatementSummariesPerLayoutReportCsv: {
24194
+ parameters: {
24195
+ query: {
24196
+ startAt: string;
24197
+ endAt: string;
24198
+ /** @description comma separated listings */
24199
+ listingIds?: string;
24200
+ };
24201
+ header?: {
24202
+ "X-Team-Id"?: string;
24203
+ };
24204
+ path?: never;
24205
+ cookie?: never;
24206
+ };
24207
+ requestBody?: never;
24208
+ responses: {
24209
+ /** @description Successful response */
24210
+ 200: {
24211
+ headers: {
24212
+ [name: string]: unknown;
24213
+ };
24214
+ content: {
24215
+ "application/json": {
24216
+ url: string;
24217
+ };
24218
+ };
24219
+ };
24220
+ /** @description Invalid input data */
24221
+ 400: {
24222
+ headers: {
24223
+ [name: string]: unknown;
24224
+ };
24225
+ content: {
24226
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
24227
+ };
24228
+ };
24229
+ /** @description Authorization not provided */
24230
+ 401: {
24231
+ headers: {
24232
+ [name: string]: unknown;
24233
+ };
24234
+ content: {
24235
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
24236
+ };
24237
+ };
24238
+ /** @description Insufficient access */
24239
+ 403: {
24240
+ headers: {
24241
+ [name: string]: unknown;
24242
+ };
24243
+ content: {
24244
+ "application/json": components["schemas"]["error.FORBIDDEN"];
24245
+ };
24246
+ };
24247
+ /** @description Not found */
24248
+ 404: {
24249
+ headers: {
24250
+ [name: string]: unknown;
24251
+ };
24252
+ content: {
24253
+ "application/json": components["schemas"]["error.NOT_FOUND"];
24254
+ };
24255
+ };
24256
+ /** @description Internal server error */
24257
+ 500: {
24258
+ headers: {
24259
+ [name: string]: unknown;
24260
+ };
24261
+ content: {
24262
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
24263
+ };
24264
+ };
24265
+ };
24266
+ };
24267
+ getOwnerStatementSummaryPerLayoutDetailsReport: {
24268
+ parameters: {
24269
+ query: {
24270
+ view: "listing" | "month" | "reservation" | "bookingChannel";
24271
+ startAt: string;
24272
+ endAt: string;
24273
+ /** @description comma separated listings */
24274
+ listingIds?: string;
24275
+ currency?: string;
24276
+ viewAs?: "owner" | "manager";
24277
+ };
24278
+ header?: {
24279
+ "X-Team-Id"?: string;
24280
+ };
24281
+ path: {
24282
+ contactId: string;
24283
+ };
24284
+ cookie?: never;
24285
+ };
24286
+ requestBody?: never;
24287
+ responses: {
24288
+ /** @description Successful response */
24289
+ 200: {
24290
+ headers: {
24291
+ [name: string]: unknown;
24292
+ };
24293
+ content: {
24294
+ "application/json": {
24295
+ currency: string;
24296
+ contact: {
24297
+ contactId: string;
24298
+ name?: string;
24299
+ firstName?: string;
24300
+ /** Format: email */
24301
+ email?: string;
24302
+ phone?: string;
24303
+ };
24304
+ financials: {
24305
+ balanceStart: number;
24306
+ netRevenue: number;
24307
+ expenses: number;
24308
+ transfers: number;
24309
+ netIncome: number;
24310
+ currentBalance: number;
24311
+ balanceEnd: number;
24312
+ };
24313
+ layouts: {
24314
+ layoutId: string;
24315
+ layoutName: string;
24316
+ statementIds: string[];
24317
+ netRevenueSection: {
24318
+ title: string;
24319
+ rows: {
24320
+ title: string;
24321
+ statementIds?: string[];
24322
+ columns: {
24323
+ title: string;
24324
+ value: number | string;
24325
+ formatted: string;
24326
+ }[];
24327
+ }[];
24328
+ subtotal?: {
24329
+ title: string;
24330
+ columns: {
24331
+ title: string;
24332
+ value: number | string;
24333
+ formatted: string;
24334
+ }[];
24335
+ };
24336
+ };
24337
+ otherSections: {
24338
+ title: string;
24339
+ rows: {
24340
+ title: string;
24341
+ statementIds?: string[];
24342
+ columns: {
24343
+ title: string;
24344
+ value: number | string;
24345
+ formatted: string;
24346
+ }[];
24347
+ }[];
24348
+ subtotal?: {
24349
+ title: string;
24350
+ columns: {
24351
+ title: string;
24352
+ value: number | string;
24353
+ formatted: string;
24354
+ }[];
24355
+ };
24356
+ }[];
24357
+ transfersSection?: {
24358
+ title: string;
24359
+ rows: {
24360
+ title: string;
24361
+ statementIds?: string[];
24362
+ columns: {
24363
+ title: string;
24364
+ value: number | string;
24365
+ formatted: string;
24366
+ }[];
24367
+ }[];
24368
+ subtotal?: {
24369
+ title: string;
24370
+ columns: {
24371
+ title: string;
24372
+ value: number | string;
24373
+ formatted: string;
24374
+ }[];
24375
+ };
24376
+ };
24377
+ }[];
24378
+ };
24379
+ };
24380
+ };
24381
+ /** @description Invalid input data */
24382
+ 400: {
24383
+ headers: {
24384
+ [name: string]: unknown;
24385
+ };
24386
+ content: {
24387
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
24388
+ };
24389
+ };
24390
+ /** @description Authorization not provided */
24391
+ 401: {
24392
+ headers: {
24393
+ [name: string]: unknown;
24394
+ };
24395
+ content: {
24396
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
24397
+ };
24398
+ };
24399
+ /** @description Insufficient access */
24400
+ 403: {
24401
+ headers: {
24402
+ [name: string]: unknown;
24403
+ };
24404
+ content: {
24405
+ "application/json": components["schemas"]["error.FORBIDDEN"];
24406
+ };
24407
+ };
24408
+ /** @description Not found */
24409
+ 404: {
24410
+ headers: {
24411
+ [name: string]: unknown;
24412
+ };
24413
+ content: {
24414
+ "application/json": components["schemas"]["error.NOT_FOUND"];
24415
+ };
24416
+ };
24417
+ /** @description Internal server error */
24418
+ 500: {
24419
+ headers: {
24420
+ [name: string]: unknown;
24421
+ };
24422
+ content: {
24423
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
24424
+ };
24425
+ };
24426
+ };
24427
+ };
24428
+ getOwnerStatementSummaryPerLayoutDetailsReportCsv: {
24429
+ parameters: {
24430
+ query: {
24431
+ view: "listing" | "month" | "reservation" | "bookingChannel";
24432
+ startAt: string;
24433
+ endAt: string;
24434
+ /** @description comma separated listings */
24435
+ listingIds?: string;
24436
+ currency?: string;
24437
+ viewAs?: "owner" | "manager";
24438
+ };
24439
+ header?: {
24440
+ "X-Team-Id"?: string;
24441
+ };
24442
+ path: {
24443
+ contactId: string;
24444
+ };
24445
+ cookie?: never;
24446
+ };
24447
+ requestBody?: never;
24448
+ responses: {
24449
+ /** @description Successful response */
24450
+ 200: {
24451
+ headers: {
24452
+ [name: string]: unknown;
24453
+ };
24454
+ content: {
24455
+ "application/json": {
24456
+ url: string;
24457
+ };
24458
+ };
24459
+ };
24460
+ /** @description Invalid input data */
24461
+ 400: {
24462
+ headers: {
24463
+ [name: string]: unknown;
24464
+ };
24465
+ content: {
24466
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
24467
+ };
24468
+ };
24469
+ /** @description Authorization not provided */
24470
+ 401: {
24471
+ headers: {
24472
+ [name: string]: unknown;
24473
+ };
24474
+ content: {
24475
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
24476
+ };
24477
+ };
24478
+ /** @description Insufficient access */
24479
+ 403: {
24480
+ headers: {
24481
+ [name: string]: unknown;
24482
+ };
24483
+ content: {
24484
+ "application/json": components["schemas"]["error.FORBIDDEN"];
24485
+ };
24486
+ };
24487
+ /** @description Not found */
24488
+ 404: {
24489
+ headers: {
24490
+ [name: string]: unknown;
24491
+ };
24492
+ content: {
24493
+ "application/json": components["schemas"]["error.NOT_FOUND"];
24494
+ };
24495
+ };
24496
+ /** @description Internal server error */
24497
+ 500: {
24498
+ headers: {
24499
+ [name: string]: unknown;
24500
+ };
24501
+ content: {
24502
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
24503
+ };
24504
+ };
24505
+ };
24506
+ };
24031
24507
  getTrialBalanceReport: {
24032
24508
  parameters: {
24033
24509
  query: {