@vrplatform/api 1.3.1-1697 → 1.3.1-1706

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,15 +6,15 @@
6
6
  "typings": "build/main/index.d.ts",
7
7
  "module": "build/module/index.js"
8
8
  },
9
- "version": "1.3.1-1697",
9
+ "version": "1.3.1-1706",
10
10
  "description": "",
11
11
  "main": "build/main/index.js",
12
12
  "module": "build/module/index.js",
13
13
  "scripts": {
14
14
  "pub": "bun pm version patch --no-git-tag-version && bun run npmpub",
15
15
  "npmpub": "bun run build && bunx vrp-deploy --prefix npmpub",
16
- "npmpub:main": "vrp-publish --tag staging",
17
- "npmpub:release": "vrp-publish",
16
+ "npmpub:staging": "vrp-publish --tag staging",
17
+ "npmpub:production": "vrp-publish",
18
18
  "build": "bun run generate-client && bun build:main && bun build:module",
19
19
  "build:main": "tsc -b tsconfig.main.json",
20
20
  "build:module": "tsc -b tsconfig.esm.json",
@@ -1719,6 +1719,40 @@ export interface paths {
1719
1719
  patch?: never;
1720
1720
  trace?: never;
1721
1721
  };
1722
+ "/statements/csv": {
1723
+ parameters: {
1724
+ query?: never;
1725
+ header?: never;
1726
+ path?: never;
1727
+ cookie?: never;
1728
+ };
1729
+ /** @description Get Owner Statement CSV by month */
1730
+ get: operations["getStatementsCsv"];
1731
+ put?: never;
1732
+ post?: never;
1733
+ delete?: never;
1734
+ options?: never;
1735
+ head?: never;
1736
+ patch?: never;
1737
+ trace?: never;
1738
+ };
1739
+ "/statements/csv/batch": {
1740
+ parameters: {
1741
+ query?: never;
1742
+ header?: never;
1743
+ path?: never;
1744
+ cookie?: never;
1745
+ };
1746
+ /** @description Get Owner Statement CSV ZIP for a month */
1747
+ get: operations["getStatementsCsvBatch"];
1748
+ put?: never;
1749
+ post?: never;
1750
+ delete?: never;
1751
+ options?: never;
1752
+ head?: never;
1753
+ patch?: never;
1754
+ trace?: never;
1755
+ };
1722
1756
  "/statements/layouts": {
1723
1757
  parameters: {
1724
1758
  query?: never;
@@ -6490,8 +6524,7 @@ export interface operations {
6490
6524
  companyType?: ("c_corporation" | "limited_liability_company" | "partnership" | "s_corporation" | "trust_estate") | null;
6491
6525
  taxIdentifier?: string | null;
6492
6526
  uniqueRef?: string | null;
6493
- /** @enum {string} */
6494
- status: "active" | "inactive";
6527
+ status: ("active" | "inactive") | "pending";
6495
6528
  payoutAccountId?: string | null;
6496
6529
  /** Format: uuid */
6497
6530
  id: string;
@@ -6676,8 +6709,7 @@ export interface operations {
6676
6709
  companyType?: ("c_corporation" | "limited_liability_company" | "partnership" | "s_corporation" | "trust_estate") | null;
6677
6710
  taxIdentifier?: string | null;
6678
6711
  uniqueRef?: string | null;
6679
- /** @enum {string} */
6680
- status: "active" | "inactive";
6712
+ status: ("active" | "inactive") | "pending";
6681
6713
  payoutAccountId?: string | null;
6682
6714
  /** Format: uuid */
6683
6715
  id: string;
@@ -7083,8 +7115,7 @@ export interface operations {
7083
7115
  companyType?: ("c_corporation" | "limited_liability_company" | "partnership" | "s_corporation" | "trust_estate") | null;
7084
7116
  taxIdentifier?: string | null;
7085
7117
  uniqueRef?: string | null;
7086
- /** @enum {string} */
7087
- status: "active" | "inactive";
7118
+ status: ("active" | "inactive") | "pending";
7088
7119
  payoutAccountId?: string | null;
7089
7120
  /** Format: uuid */
7090
7121
  id: string;
@@ -7260,8 +7291,7 @@ export interface operations {
7260
7291
  companyType?: ("c_corporation" | "limited_liability_company" | "partnership" | "s_corporation" | "trust_estate") | null;
7261
7292
  taxIdentifier?: string | null;
7262
7293
  uniqueRef?: string | null;
7263
- /** @enum {string} */
7264
- status: "active" | "inactive";
7294
+ status: ("active" | "inactive") | "pending";
7265
7295
  payoutAccountId?: string | null;
7266
7296
  /** Format: uuid */
7267
7297
  id: string;
@@ -24352,6 +24382,230 @@ export interface operations {
24352
24382
  };
24353
24383
  };
24354
24384
  };
24385
+ getStatementsCsv: {
24386
+ parameters: {
24387
+ query: {
24388
+ viewAs?: "owner" | "manager";
24389
+ listingId: string;
24390
+ /** @description Date in format YYYY-MM */
24391
+ month: string;
24392
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
24393
+ currency?: string;
24394
+ contactId?: string;
24395
+ };
24396
+ header?: never;
24397
+ path?: never;
24398
+ cookie?: never;
24399
+ };
24400
+ requestBody?: never;
24401
+ responses: {
24402
+ /** @description Successful response */
24403
+ 200: {
24404
+ headers: {
24405
+ [name: string]: unknown;
24406
+ };
24407
+ content: {
24408
+ "application/json": {
24409
+ data: {
24410
+ url: string;
24411
+ contactId: string;
24412
+ expIn: number;
24413
+ }[];
24414
+ };
24415
+ };
24416
+ };
24417
+ /** @description Bad request */
24418
+ 400: {
24419
+ headers: {
24420
+ [name: string]: unknown;
24421
+ };
24422
+ content: {
24423
+ "application/json": {
24424
+ code: string;
24425
+ message: string;
24426
+ issues?: {
24427
+ message: string;
24428
+ }[];
24429
+ context?: unknown;
24430
+ };
24431
+ };
24432
+ };
24433
+ /** @description Unauthorized */
24434
+ 401: {
24435
+ headers: {
24436
+ [name: string]: unknown;
24437
+ };
24438
+ content: {
24439
+ "application/json": {
24440
+ code: string;
24441
+ message: string;
24442
+ issues?: {
24443
+ message: string;
24444
+ }[];
24445
+ context?: unknown;
24446
+ };
24447
+ };
24448
+ };
24449
+ /** @description Forbidden */
24450
+ 403: {
24451
+ headers: {
24452
+ [name: string]: unknown;
24453
+ };
24454
+ content: {
24455
+ "application/json": {
24456
+ code: string;
24457
+ message: string;
24458
+ issues?: {
24459
+ message: string;
24460
+ }[];
24461
+ context?: unknown;
24462
+ };
24463
+ };
24464
+ };
24465
+ /** @description Not found */
24466
+ 404: {
24467
+ headers: {
24468
+ [name: string]: unknown;
24469
+ };
24470
+ content: {
24471
+ "application/json": {
24472
+ code: string;
24473
+ message: string;
24474
+ issues?: {
24475
+ message: string;
24476
+ }[];
24477
+ context?: unknown;
24478
+ };
24479
+ };
24480
+ };
24481
+ /** @description Internal server error */
24482
+ 500: {
24483
+ headers: {
24484
+ [name: string]: unknown;
24485
+ };
24486
+ content: {
24487
+ "application/json": {
24488
+ code: string;
24489
+ message: string;
24490
+ issues?: {
24491
+ message: string;
24492
+ }[];
24493
+ context?: unknown;
24494
+ };
24495
+ };
24496
+ };
24497
+ };
24498
+ };
24499
+ getStatementsCsvBatch: {
24500
+ parameters: {
24501
+ query: {
24502
+ /** @description comma separated listing ids */
24503
+ listingIds: string;
24504
+ /** @description Date in format YYYY-MM */
24505
+ month: string;
24506
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
24507
+ currency?: string;
24508
+ };
24509
+ header?: never;
24510
+ path?: never;
24511
+ cookie?: never;
24512
+ };
24513
+ requestBody?: never;
24514
+ responses: {
24515
+ /** @description Successful response */
24516
+ 200: {
24517
+ headers: {
24518
+ [name: string]: unknown;
24519
+ };
24520
+ content: {
24521
+ "application/json": {
24522
+ url: string;
24523
+ expIn: number;
24524
+ };
24525
+ };
24526
+ };
24527
+ /** @description Bad request */
24528
+ 400: {
24529
+ headers: {
24530
+ [name: string]: unknown;
24531
+ };
24532
+ content: {
24533
+ "application/json": {
24534
+ code: string;
24535
+ message: string;
24536
+ issues?: {
24537
+ message: string;
24538
+ }[];
24539
+ context?: unknown;
24540
+ };
24541
+ };
24542
+ };
24543
+ /** @description Unauthorized */
24544
+ 401: {
24545
+ headers: {
24546
+ [name: string]: unknown;
24547
+ };
24548
+ content: {
24549
+ "application/json": {
24550
+ code: string;
24551
+ message: string;
24552
+ issues?: {
24553
+ message: string;
24554
+ }[];
24555
+ context?: unknown;
24556
+ };
24557
+ };
24558
+ };
24559
+ /** @description Forbidden */
24560
+ 403: {
24561
+ headers: {
24562
+ [name: string]: unknown;
24563
+ };
24564
+ content: {
24565
+ "application/json": {
24566
+ code: string;
24567
+ message: string;
24568
+ issues?: {
24569
+ message: string;
24570
+ }[];
24571
+ context?: unknown;
24572
+ };
24573
+ };
24574
+ };
24575
+ /** @description Not found */
24576
+ 404: {
24577
+ headers: {
24578
+ [name: string]: unknown;
24579
+ };
24580
+ content: {
24581
+ "application/json": {
24582
+ code: string;
24583
+ message: string;
24584
+ issues?: {
24585
+ message: string;
24586
+ }[];
24587
+ context?: unknown;
24588
+ };
24589
+ };
24590
+ };
24591
+ /** @description Internal server error */
24592
+ 500: {
24593
+ headers: {
24594
+ [name: string]: unknown;
24595
+ };
24596
+ content: {
24597
+ "application/json": {
24598
+ code: string;
24599
+ message: string;
24600
+ issues?: {
24601
+ message: string;
24602
+ }[];
24603
+ context?: unknown;
24604
+ };
24605
+ };
24606
+ };
24607
+ };
24608
+ };
24355
24609
  getStatementsLayouts: {
24356
24610
  parameters: {
24357
24611
  query?: {