@vrplatform/api 1.3.1-stage.1760 → 1.3.1-stage.1762

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.1-stage.1760",
9
+ "version": "1.3.1-stage.1762",
10
10
  "description": "",
11
11
  "main": "build/main/index.js",
12
12
  "module": "build/module/index.js",
@@ -1737,32 +1737,15 @@ export interface paths {
1737
1737
  patch?: never;
1738
1738
  trace?: never;
1739
1739
  };
1740
- "/statements/csv": {
1740
+ "/statements/batch/csv": {
1741
1741
  parameters: {
1742
1742
  query?: never;
1743
1743
  header?: never;
1744
1744
  path?: never;
1745
1745
  cookie?: never;
1746
1746
  };
1747
- /** @description Get Owner Statement CSV export */
1748
- get: operations["getStatementsCsv"];
1749
- put?: never;
1750
- post?: never;
1751
- delete?: never;
1752
- options?: never;
1753
- head?: never;
1754
- patch?: never;
1755
- trace?: never;
1756
- };
1757
- "/statements/csv/batch": {
1758
- parameters: {
1759
- query?: never;
1760
- header?: never;
1761
- path?: never;
1762
- cookie?: never;
1763
- };
1764
- /** @description Get Owner Statement CSV ZIP export */
1765
- get: operations["getStatementsCsvBatch"];
1747
+ /** @description Get Owner Statement CSV export (detailed) */
1748
+ get: operations["getStatementsBatchCsv"];
1766
1749
  put?: never;
1767
1750
  post?: never;
1768
1751
  delete?: never;
@@ -1771,15 +1754,15 @@ export interface paths {
1771
1754
  patch?: never;
1772
1755
  trace?: never;
1773
1756
  };
1774
- "/statements/csv/detailed": {
1757
+ "/statements/csv": {
1775
1758
  parameters: {
1776
1759
  query?: never;
1777
1760
  header?: never;
1778
1761
  path?: never;
1779
1762
  cookie?: never;
1780
1763
  };
1781
- /** @description Get Owner Statement CSV export (detailed) */
1782
- get: operations["getStatementsCsvDetailed"];
1764
+ /** @description Get Owner Statement CSV export */
1765
+ get: operations["getStatementsCsv"];
1783
1766
  put?: never;
1784
1767
  post?: never;
1785
1768
  delete?: never;
@@ -16456,6 +16439,62 @@ export interface operations {
16456
16439
  id: string;
16457
16440
  /** @enum {string} */
16458
16441
  active: "active" | "inactive";
16442
+ issues: ({
16443
+ /** @constant */
16444
+ code: "generalLedgerStartAt";
16445
+ /** @constant */
16446
+ severity: "warning";
16447
+ context: {
16448
+ statementStartAt?: string | null;
16449
+ };
16450
+ } | {
16451
+ /** @constant */
16452
+ code: "listingInactive";
16453
+ /** @constant */
16454
+ severity: "warning";
16455
+ context: {
16456
+ listingOwnershipPeriodId?: string | null;
16457
+ };
16458
+ } | {
16459
+ /** @constant */
16460
+ code: "reservationGeneralLedgerStatusInactive";
16461
+ /** @constant */
16462
+ severity: "warning";
16463
+ context: {
16464
+ reservationId?: string | null;
16465
+ };
16466
+ } | {
16467
+ /** @constant */
16468
+ code: "cancelledReservationLine";
16469
+ /** @constant */
16470
+ severity: "warning";
16471
+ context: {
16472
+ reservationId?: string | null;
16473
+ };
16474
+ } | {
16475
+ /** @constant */
16476
+ code: "inactiveAccount";
16477
+ /** @constant */
16478
+ severity: "warning";
16479
+ context: {
16480
+ accountId?: string | null;
16481
+ };
16482
+ } | {
16483
+ /** @constant */
16484
+ code: "nonPostingAccount";
16485
+ /** @constant */
16486
+ severity: "warning";
16487
+ context: {
16488
+ accountId?: string | null;
16489
+ };
16490
+ } | {
16491
+ /** @constant */
16492
+ code: "unknownInactiveReason";
16493
+ /** @constant */
16494
+ severity: "error";
16495
+ context: Record<string, never>;
16496
+ message: string;
16497
+ })[];
16459
16498
  txnCode: string;
16460
16499
  txnAt: string;
16461
16500
  description: string;
@@ -17060,6 +17099,62 @@ export interface operations {
17060
17099
  id: string;
17061
17100
  /** @enum {string} */
17062
17101
  active: "active" | "inactive";
17102
+ issues: ({
17103
+ /** @constant */
17104
+ code: "generalLedgerStartAt";
17105
+ /** @constant */
17106
+ severity: "warning";
17107
+ context: {
17108
+ statementStartAt?: string | null;
17109
+ };
17110
+ } | {
17111
+ /** @constant */
17112
+ code: "listingInactive";
17113
+ /** @constant */
17114
+ severity: "warning";
17115
+ context: {
17116
+ listingOwnershipPeriodId?: string | null;
17117
+ };
17118
+ } | {
17119
+ /** @constant */
17120
+ code: "reservationGeneralLedgerStatusInactive";
17121
+ /** @constant */
17122
+ severity: "warning";
17123
+ context: {
17124
+ reservationId?: string | null;
17125
+ };
17126
+ } | {
17127
+ /** @constant */
17128
+ code: "cancelledReservationLine";
17129
+ /** @constant */
17130
+ severity: "warning";
17131
+ context: {
17132
+ reservationId?: string | null;
17133
+ };
17134
+ } | {
17135
+ /** @constant */
17136
+ code: "inactiveAccount";
17137
+ /** @constant */
17138
+ severity: "warning";
17139
+ context: {
17140
+ accountId?: string | null;
17141
+ };
17142
+ } | {
17143
+ /** @constant */
17144
+ code: "nonPostingAccount";
17145
+ /** @constant */
17146
+ severity: "warning";
17147
+ context: {
17148
+ accountId?: string | null;
17149
+ };
17150
+ } | {
17151
+ /** @constant */
17152
+ code: "unknownInactiveReason";
17153
+ /** @constant */
17154
+ severity: "error";
17155
+ context: Record<string, never>;
17156
+ message: string;
17157
+ })[];
17063
17158
  txnCode: string;
17064
17159
  txnAt: string;
17065
17160
  description: string;
@@ -24968,139 +25063,11 @@ export interface operations {
24968
25063
  };
24969
25064
  };
24970
25065
  };
24971
- getStatementsCsv: {
24972
- parameters: {
24973
- query?: {
24974
- limit?: number;
24975
- page?: number;
24976
- /** @description comma separated periods */
24977
- periodIds?: string;
24978
- /** @description Year in format YYYY */
24979
- year?: number;
24980
- /** @description comma separated listings */
24981
- listingIds?: string;
24982
- /** @description comma separated statements */
24983
- statementIds?: string;
24984
- /** @description Date in format YYYY-MM */
24985
- month?: string;
24986
- search?: string;
24987
- status?: ("draft" | "inReview" | "published") | "all";
24988
- /** @description comma separated owners */
24989
- ownerIds?: string;
24990
- /** @description comma separated owners */
24991
- listingCollectionIds?: string;
24992
- /** @description comma separated recurring fees */
24993
- recurringFeeIds?: string;
24994
- /** @description Date range in format YYYY-MM-DD...YYYY-MM-DD */
24995
- dateRange?: string;
24996
- /** @description Whether the end date is inclusive or exclusive */
24997
- isDateRangeEndInclusive?: boolean;
24998
- };
24999
- header?: never;
25000
- path?: never;
25001
- cookie?: never;
25002
- };
25003
- requestBody?: never;
25004
- responses: {
25005
- /** @description Successful response */
25006
- 200: {
25007
- headers: {
25008
- [name: string]: unknown;
25009
- };
25010
- content: {
25011
- "application/json": {
25012
- url: string;
25013
- expIn: number;
25014
- };
25015
- };
25016
- };
25017
- /** @description Bad request */
25018
- 400: {
25019
- headers: {
25020
- [name: string]: unknown;
25021
- };
25022
- content: {
25023
- "application/json": {
25024
- code: string;
25025
- message: string;
25026
- issues?: {
25027
- message: string;
25028
- }[];
25029
- context?: unknown;
25030
- };
25031
- };
25032
- };
25033
- /** @description Unauthorized */
25034
- 401: {
25035
- headers: {
25036
- [name: string]: unknown;
25037
- };
25038
- content: {
25039
- "application/json": {
25040
- code: string;
25041
- message: string;
25042
- issues?: {
25043
- message: string;
25044
- }[];
25045
- context?: unknown;
25046
- };
25047
- };
25048
- };
25049
- /** @description Forbidden */
25050
- 403: {
25051
- headers: {
25052
- [name: string]: unknown;
25053
- };
25054
- content: {
25055
- "application/json": {
25056
- code: string;
25057
- message: string;
25058
- issues?: {
25059
- message: string;
25060
- }[];
25061
- context?: unknown;
25062
- };
25063
- };
25064
- };
25065
- /** @description Not found */
25066
- 404: {
25067
- headers: {
25068
- [name: string]: unknown;
25069
- };
25070
- content: {
25071
- "application/json": {
25072
- code: string;
25073
- message: string;
25074
- issues?: {
25075
- message: string;
25076
- }[];
25077
- context?: unknown;
25078
- };
25079
- };
25080
- };
25081
- /** @description Internal server error */
25082
- 500: {
25083
- headers: {
25084
- [name: string]: unknown;
25085
- };
25086
- content: {
25087
- "application/json": {
25088
- code: string;
25089
- message: string;
25090
- issues?: {
25091
- message: string;
25092
- }[];
25093
- context?: unknown;
25094
- };
25095
- };
25096
- };
25097
- };
25098
- };
25099
- getStatementsCsvBatch: {
25066
+ getStatementsBatchCsv: {
25100
25067
  parameters: {
25101
25068
  query: {
25102
- /** @description comma separated ownership periods */
25103
- ownershipPeriodIds: string;
25069
+ viewAs?: "owner" | "manager";
25070
+ ownershipPeriodId: string;
25104
25071
  /** @description Date in format YYYY-MM */
25105
25072
  month: string;
25106
25073
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
@@ -25206,7 +25173,7 @@ export interface operations {
25206
25173
  };
25207
25174
  };
25208
25175
  };
25209
- getStatementsCsvDetailed: {
25176
+ getStatementsCsv: {
25210
25177
  parameters: {
25211
25178
  query?: {
25212
25179
  limit?: number;
@@ -25227,8 +25194,6 @@ export interface operations {
25227
25194
  ownerIds?: string;
25228
25195
  /** @description comma separated owners */
25229
25196
  listingCollectionIds?: string;
25230
- /** @description statement layout id */
25231
- layoutId?: string;
25232
25197
  /** @description comma separated recurring fees */
25233
25198
  recurringFeeIds?: string;
25234
25199
  /** @description Date range in format YYYY-MM-DD...YYYY-MM-DD */