@vrplatform/api 1.3.1-stage.1986 → 1.3.1-stage.1988

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.
@@ -833,6 +833,23 @@ export interface paths {
833
833
  patch?: never;
834
834
  trace?: never;
835
835
  };
836
+ "/listings/opening-balance": {
837
+ parameters: {
838
+ query?: never;
839
+ header?: never;
840
+ path?: never;
841
+ cookie?: never;
842
+ };
843
+ /** @description Get opening balances for listings */
844
+ get: operations["getListingsOpeningBalance"];
845
+ put?: never;
846
+ post?: never;
847
+ delete?: never;
848
+ options?: never;
849
+ head?: never;
850
+ patch?: never;
851
+ trace?: never;
852
+ };
836
853
  "/listings/ownership-periods": {
837
854
  parameters: {
838
855
  query?: never;
@@ -12319,6 +12336,145 @@ export interface operations {
12319
12336
  };
12320
12337
  };
12321
12338
  };
12339
+ getListingsOpeningBalance: {
12340
+ parameters: {
12341
+ query?: {
12342
+ status?: "active" | "inactive";
12343
+ connectionId?: string;
12344
+ /** @description comma separated listing ids */
12345
+ ids?: string;
12346
+ search?: string;
12347
+ contactId?: string;
12348
+ /** @description comma separated listing short refs */
12349
+ shortRefs?: string;
12350
+ activeOwnership?: boolean;
12351
+ activeRecurringFeePeriods?: string;
12352
+ /** @description Filter listings that have (true) or lack (false) opening balances */
12353
+ openingBalance?: boolean;
12354
+ /** @description Filter listings by setup issue code, "all" (all setup issues), or "any" (at least one setup issue) */
12355
+ issue?: "all" | "any" | "missingOwnershipOrDeactivation" | "missingFeesAndCommission" | "missingOpeningBalance";
12356
+ };
12357
+ header?: never;
12358
+ path?: never;
12359
+ cookie?: never;
12360
+ };
12361
+ requestBody?: never;
12362
+ responses: {
12363
+ /** @description Successful response */
12364
+ 200: {
12365
+ headers: {
12366
+ [name: string]: unknown;
12367
+ };
12368
+ content: {
12369
+ "application/json": {
12370
+ data: {
12371
+ /** Format: uuid */
12372
+ id: string;
12373
+ name: string;
12374
+ address?: {
12375
+ full?: string | null;
12376
+ line1?: string | null;
12377
+ line2?: string | null;
12378
+ city?: string | null;
12379
+ /** @description Deprecated, use stateCode instead */
12380
+ state?: string | null;
12381
+ postalCode?: string | null;
12382
+ stateCode?: string | null;
12383
+ countryCode?: string | null;
12384
+ } | null;
12385
+ openingBalance: {
12386
+ /** @description Value in cents (100 = 1€) */
12387
+ amount: number;
12388
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
12389
+ currency: string;
12390
+ updatedAt?: string | null;
12391
+ };
12392
+ }[];
12393
+ };
12394
+ };
12395
+ };
12396
+ /** @description Bad request */
12397
+ 400: {
12398
+ headers: {
12399
+ [name: string]: unknown;
12400
+ };
12401
+ content: {
12402
+ "application/json": {
12403
+ code: string;
12404
+ message: string;
12405
+ issues?: {
12406
+ message: string;
12407
+ }[];
12408
+ context?: unknown;
12409
+ };
12410
+ };
12411
+ };
12412
+ /** @description Unauthorized */
12413
+ 401: {
12414
+ headers: {
12415
+ [name: string]: unknown;
12416
+ };
12417
+ content: {
12418
+ "application/json": {
12419
+ code: string;
12420
+ message: string;
12421
+ issues?: {
12422
+ message: string;
12423
+ }[];
12424
+ context?: unknown;
12425
+ };
12426
+ };
12427
+ };
12428
+ /** @description Forbidden */
12429
+ 403: {
12430
+ headers: {
12431
+ [name: string]: unknown;
12432
+ };
12433
+ content: {
12434
+ "application/json": {
12435
+ code: string;
12436
+ message: string;
12437
+ issues?: {
12438
+ message: string;
12439
+ }[];
12440
+ context?: unknown;
12441
+ };
12442
+ };
12443
+ };
12444
+ /** @description Not found */
12445
+ 404: {
12446
+ headers: {
12447
+ [name: string]: unknown;
12448
+ };
12449
+ content: {
12450
+ "application/json": {
12451
+ code: string;
12452
+ message: string;
12453
+ issues?: {
12454
+ message: string;
12455
+ }[];
12456
+ context?: unknown;
12457
+ };
12458
+ };
12459
+ };
12460
+ /** @description Internal server error */
12461
+ 500: {
12462
+ headers: {
12463
+ [name: string]: unknown;
12464
+ };
12465
+ content: {
12466
+ "application/json": {
12467
+ code: string;
12468
+ message: string;
12469
+ issues?: {
12470
+ message: string;
12471
+ }[];
12472
+ context?: unknown;
12473
+ };
12474
+ };
12475
+ };
12476
+ };
12477
+ };
12322
12478
  getListingsOwnershipPeriods: {
12323
12479
  parameters: {
12324
12480
  query?: {