@vrplatform/api 1.3.1-stage.1695 → 1.3.1-stage.1700

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.
@@ -1718,6 +1718,40 @@ export interface paths {
1718
1718
  patch?: never;
1719
1719
  trace?: never;
1720
1720
  };
1721
+ "/statements/csv": {
1722
+ parameters: {
1723
+ query?: never;
1724
+ header?: never;
1725
+ path?: never;
1726
+ cookie?: never;
1727
+ };
1728
+ /** @description Get Owner Statement CSV by month */
1729
+ get: operations["getStatementsCsv"];
1730
+ put?: never;
1731
+ post?: never;
1732
+ delete?: never;
1733
+ options?: never;
1734
+ head?: never;
1735
+ patch?: never;
1736
+ trace?: never;
1737
+ };
1738
+ "/statements/csv/batch": {
1739
+ parameters: {
1740
+ query?: never;
1741
+ header?: never;
1742
+ path?: never;
1743
+ cookie?: never;
1744
+ };
1745
+ /** @description Get Owner Statement CSV ZIP for a month */
1746
+ get: operations["getStatementsCsvBatch"];
1747
+ put?: never;
1748
+ post?: never;
1749
+ delete?: never;
1750
+ options?: never;
1751
+ head?: never;
1752
+ patch?: never;
1753
+ trace?: never;
1754
+ };
1721
1755
  "/statements/layouts": {
1722
1756
  parameters: {
1723
1757
  query?: never;
@@ -24351,6 +24385,230 @@ export interface operations {
24351
24385
  };
24352
24386
  };
24353
24387
  };
24388
+ getStatementsCsv: {
24389
+ parameters: {
24390
+ query: {
24391
+ viewAs?: "owner" | "manager";
24392
+ listingId: string;
24393
+ /** @description Date in format YYYY-MM */
24394
+ month: string;
24395
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
24396
+ currency?: string;
24397
+ contactId?: string;
24398
+ };
24399
+ header?: never;
24400
+ path?: never;
24401
+ cookie?: never;
24402
+ };
24403
+ requestBody?: never;
24404
+ responses: {
24405
+ /** @description Successful response */
24406
+ 200: {
24407
+ headers: {
24408
+ [name: string]: unknown;
24409
+ };
24410
+ content: {
24411
+ "application/json": {
24412
+ data: {
24413
+ url: string;
24414
+ contactId: string;
24415
+ expIn: number;
24416
+ }[];
24417
+ };
24418
+ };
24419
+ };
24420
+ /** @description Bad request */
24421
+ 400: {
24422
+ headers: {
24423
+ [name: string]: unknown;
24424
+ };
24425
+ content: {
24426
+ "application/json": {
24427
+ code: string;
24428
+ message: string;
24429
+ issues?: {
24430
+ message: string;
24431
+ }[];
24432
+ context?: unknown;
24433
+ };
24434
+ };
24435
+ };
24436
+ /** @description Unauthorized */
24437
+ 401: {
24438
+ headers: {
24439
+ [name: string]: unknown;
24440
+ };
24441
+ content: {
24442
+ "application/json": {
24443
+ code: string;
24444
+ message: string;
24445
+ issues?: {
24446
+ message: string;
24447
+ }[];
24448
+ context?: unknown;
24449
+ };
24450
+ };
24451
+ };
24452
+ /** @description Forbidden */
24453
+ 403: {
24454
+ headers: {
24455
+ [name: string]: unknown;
24456
+ };
24457
+ content: {
24458
+ "application/json": {
24459
+ code: string;
24460
+ message: string;
24461
+ issues?: {
24462
+ message: string;
24463
+ }[];
24464
+ context?: unknown;
24465
+ };
24466
+ };
24467
+ };
24468
+ /** @description Not found */
24469
+ 404: {
24470
+ headers: {
24471
+ [name: string]: unknown;
24472
+ };
24473
+ content: {
24474
+ "application/json": {
24475
+ code: string;
24476
+ message: string;
24477
+ issues?: {
24478
+ message: string;
24479
+ }[];
24480
+ context?: unknown;
24481
+ };
24482
+ };
24483
+ };
24484
+ /** @description Internal server error */
24485
+ 500: {
24486
+ headers: {
24487
+ [name: string]: unknown;
24488
+ };
24489
+ content: {
24490
+ "application/json": {
24491
+ code: string;
24492
+ message: string;
24493
+ issues?: {
24494
+ message: string;
24495
+ }[];
24496
+ context?: unknown;
24497
+ };
24498
+ };
24499
+ };
24500
+ };
24501
+ };
24502
+ getStatementsCsvBatch: {
24503
+ parameters: {
24504
+ query: {
24505
+ /** @description comma separated listing ids */
24506
+ listingIds: string;
24507
+ /** @description Date in format YYYY-MM */
24508
+ month: string;
24509
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
24510
+ currency?: string;
24511
+ };
24512
+ header?: never;
24513
+ path?: never;
24514
+ cookie?: never;
24515
+ };
24516
+ requestBody?: never;
24517
+ responses: {
24518
+ /** @description Successful response */
24519
+ 200: {
24520
+ headers: {
24521
+ [name: string]: unknown;
24522
+ };
24523
+ content: {
24524
+ "application/json": {
24525
+ url: string;
24526
+ expIn: number;
24527
+ };
24528
+ };
24529
+ };
24530
+ /** @description Bad request */
24531
+ 400: {
24532
+ headers: {
24533
+ [name: string]: unknown;
24534
+ };
24535
+ content: {
24536
+ "application/json": {
24537
+ code: string;
24538
+ message: string;
24539
+ issues?: {
24540
+ message: string;
24541
+ }[];
24542
+ context?: unknown;
24543
+ };
24544
+ };
24545
+ };
24546
+ /** @description Unauthorized */
24547
+ 401: {
24548
+ headers: {
24549
+ [name: string]: unknown;
24550
+ };
24551
+ content: {
24552
+ "application/json": {
24553
+ code: string;
24554
+ message: string;
24555
+ issues?: {
24556
+ message: string;
24557
+ }[];
24558
+ context?: unknown;
24559
+ };
24560
+ };
24561
+ };
24562
+ /** @description Forbidden */
24563
+ 403: {
24564
+ headers: {
24565
+ [name: string]: unknown;
24566
+ };
24567
+ content: {
24568
+ "application/json": {
24569
+ code: string;
24570
+ message: string;
24571
+ issues?: {
24572
+ message: string;
24573
+ }[];
24574
+ context?: unknown;
24575
+ };
24576
+ };
24577
+ };
24578
+ /** @description Not found */
24579
+ 404: {
24580
+ headers: {
24581
+ [name: string]: unknown;
24582
+ };
24583
+ content: {
24584
+ "application/json": {
24585
+ code: string;
24586
+ message: string;
24587
+ issues?: {
24588
+ message: string;
24589
+ }[];
24590
+ context?: unknown;
24591
+ };
24592
+ };
24593
+ };
24594
+ /** @description Internal server error */
24595
+ 500: {
24596
+ headers: {
24597
+ [name: string]: unknown;
24598
+ };
24599
+ content: {
24600
+ "application/json": {
24601
+ code: string;
24602
+ message: string;
24603
+ issues?: {
24604
+ message: string;
24605
+ }[];
24606
+ context?: unknown;
24607
+ };
24608
+ };
24609
+ };
24610
+ };
24611
+ };
24354
24612
  getStatementsLayouts: {
24355
24613
  parameters: {
24356
24614
  query?: {