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