@vrplatform/api 1.3.1-stage.1945 → 1.3.1-stage.1948

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
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.3.1-stage.1945",
6
+ "version": "1.3.1-stage.1948",
7
7
  "description": "",
8
8
  "main": "build/main/index.js",
9
9
  "module": "build/module/index.js",
@@ -2239,6 +2239,23 @@ export interface paths {
2239
2239
  patch?: never;
2240
2240
  trace?: never;
2241
2241
  };
2242
+ "/teams/issues": {
2243
+ parameters: {
2244
+ query?: never;
2245
+ header?: never;
2246
+ path?: never;
2247
+ cookie?: never;
2248
+ };
2249
+ /** @description Get issue summary across one or more teams */
2250
+ get: operations["getTeamsIssues"];
2251
+ put?: never;
2252
+ post?: never;
2253
+ delete?: never;
2254
+ options?: never;
2255
+ head?: never;
2256
+ patch?: never;
2257
+ trace?: never;
2258
+ };
2242
2259
  "/teams/opening-balances/advanced-deposits": {
2243
2260
  parameters: {
2244
2261
  query?: never;
@@ -2362,6 +2379,23 @@ export interface paths {
2362
2379
  patch: operations["patchTeamsByIdInit"];
2363
2380
  trace?: never;
2364
2381
  };
2382
+ "/teams/{id}/issues": {
2383
+ parameters: {
2384
+ query?: never;
2385
+ header?: never;
2386
+ path?: never;
2387
+ cookie?: never;
2388
+ };
2389
+ /** @description Get issue summary for a single team */
2390
+ get: operations["getTeamsByIdIssues"];
2391
+ put?: never;
2392
+ post?: never;
2393
+ delete?: never;
2394
+ options?: never;
2395
+ head?: never;
2396
+ patch?: never;
2397
+ trace?: never;
2398
+ };
2365
2399
  "/transaction-attachments": {
2366
2400
  parameters: {
2367
2401
  query?: never;
@@ -31693,6 +31727,140 @@ export interface operations {
31693
31727
  };
31694
31728
  };
31695
31729
  };
31730
+ getTeamsIssues: {
31731
+ parameters: {
31732
+ query?: {
31733
+ /** @description comma separated team ids */
31734
+ tenantIds?: string;
31735
+ /** @description comma separated issue codes */
31736
+ codes?: string;
31737
+ /** @description include teams without any issue rows */
31738
+ includeEmptyTeams?: boolean;
31739
+ };
31740
+ header?: never;
31741
+ path?: never;
31742
+ cookie?: never;
31743
+ };
31744
+ requestBody?: never;
31745
+ responses: {
31746
+ /** @description Successful response */
31747
+ 200: {
31748
+ headers: {
31749
+ [name: string]: unknown;
31750
+ };
31751
+ content: {
31752
+ "application/json": {
31753
+ data: {
31754
+ /** Format: uuid */
31755
+ tenantId: string;
31756
+ tenantName: string;
31757
+ issues: {
31758
+ /** @enum {string} */
31759
+ code: "teamInactive" | "partnerInactive" | "partnerBillingInactive" | "brokenConnections" | "outdatedConnections" | "unbalancedJournalEntries" | "unbalancedTransactionJournalEntries" | "closedPeriodUnattachedJournalEntries" | "missingOwnershipOrDeactivation" | "unpaidReservations" | "cancelledReservationPaidWithoutAdjustment" | "publishedStatementUnpaid" | "listingOwnershipPeriodNotFoundOnActiveJournals" | "reservationGuestTotalsMismatch";
31760
+ /** @enum {string} */
31761
+ severity: "error" | "warning";
31762
+ /** @enum {string} */
31763
+ category: "criticalToUser" | "criticalToSystem";
31764
+ message: string;
31765
+ affected: number;
31766
+ context: {
31767
+ [key: string]: unknown;
31768
+ };
31769
+ }[];
31770
+ summary: {
31771
+ total: number;
31772
+ affectedTotal: number;
31773
+ errors: number;
31774
+ warnings: number;
31775
+ criticalToUser: number;
31776
+ criticalToSystem: number;
31777
+ };
31778
+ }[];
31779
+ };
31780
+ };
31781
+ };
31782
+ /** @description Bad request */
31783
+ 400: {
31784
+ headers: {
31785
+ [name: string]: unknown;
31786
+ };
31787
+ content: {
31788
+ "application/json": {
31789
+ code: string;
31790
+ message: string;
31791
+ issues?: {
31792
+ message: string;
31793
+ }[];
31794
+ context?: unknown;
31795
+ };
31796
+ };
31797
+ };
31798
+ /** @description Unauthorized */
31799
+ 401: {
31800
+ headers: {
31801
+ [name: string]: unknown;
31802
+ };
31803
+ content: {
31804
+ "application/json": {
31805
+ code: string;
31806
+ message: string;
31807
+ issues?: {
31808
+ message: string;
31809
+ }[];
31810
+ context?: unknown;
31811
+ };
31812
+ };
31813
+ };
31814
+ /** @description Forbidden */
31815
+ 403: {
31816
+ headers: {
31817
+ [name: string]: unknown;
31818
+ };
31819
+ content: {
31820
+ "application/json": {
31821
+ code: string;
31822
+ message: string;
31823
+ issues?: {
31824
+ message: string;
31825
+ }[];
31826
+ context?: unknown;
31827
+ };
31828
+ };
31829
+ };
31830
+ /** @description Not found */
31831
+ 404: {
31832
+ headers: {
31833
+ [name: string]: unknown;
31834
+ };
31835
+ content: {
31836
+ "application/json": {
31837
+ code: string;
31838
+ message: string;
31839
+ issues?: {
31840
+ message: string;
31841
+ }[];
31842
+ context?: unknown;
31843
+ };
31844
+ };
31845
+ };
31846
+ /** @description Internal server error */
31847
+ 500: {
31848
+ headers: {
31849
+ [name: string]: unknown;
31850
+ };
31851
+ content: {
31852
+ "application/json": {
31853
+ code: string;
31854
+ message: string;
31855
+ issues?: {
31856
+ message: string;
31857
+ }[];
31858
+ context?: unknown;
31859
+ };
31860
+ };
31861
+ };
31862
+ };
31863
+ };
31696
31864
  getTeamsOpeningBalancesAdvancedDeposits: {
31697
31865
  parameters: {
31698
31866
  query?: never;
@@ -33355,6 +33523,136 @@ export interface operations {
33355
33523
  };
33356
33524
  };
33357
33525
  };
33526
+ getTeamsByIdIssues: {
33527
+ parameters: {
33528
+ query?: {
33529
+ /** @description comma separated issue codes */
33530
+ codes?: string;
33531
+ };
33532
+ header?: never;
33533
+ path: {
33534
+ id: string;
33535
+ };
33536
+ cookie?: never;
33537
+ };
33538
+ requestBody?: never;
33539
+ responses: {
33540
+ /** @description Successful response */
33541
+ 200: {
33542
+ headers: {
33543
+ [name: string]: unknown;
33544
+ };
33545
+ content: {
33546
+ "application/json": {
33547
+ /** Format: uuid */
33548
+ tenantId: string;
33549
+ tenantName: string;
33550
+ issues: {
33551
+ /** @enum {string} */
33552
+ code: "teamInactive" | "partnerInactive" | "partnerBillingInactive" | "brokenConnections" | "outdatedConnections" | "unbalancedJournalEntries" | "unbalancedTransactionJournalEntries" | "closedPeriodUnattachedJournalEntries" | "missingOwnershipOrDeactivation" | "unpaidReservations" | "cancelledReservationPaidWithoutAdjustment" | "publishedStatementUnpaid" | "listingOwnershipPeriodNotFoundOnActiveJournals" | "reservationGuestTotalsMismatch";
33553
+ /** @enum {string} */
33554
+ severity: "error" | "warning";
33555
+ /** @enum {string} */
33556
+ category: "criticalToUser" | "criticalToSystem";
33557
+ message: string;
33558
+ affected: number;
33559
+ context: {
33560
+ [key: string]: unknown;
33561
+ };
33562
+ }[];
33563
+ summary: {
33564
+ total: number;
33565
+ affectedTotal: number;
33566
+ errors: number;
33567
+ warnings: number;
33568
+ criticalToUser: number;
33569
+ criticalToSystem: number;
33570
+ };
33571
+ };
33572
+ };
33573
+ };
33574
+ /** @description Bad request */
33575
+ 400: {
33576
+ headers: {
33577
+ [name: string]: unknown;
33578
+ };
33579
+ content: {
33580
+ "application/json": {
33581
+ code: string;
33582
+ message: string;
33583
+ issues?: {
33584
+ message: string;
33585
+ }[];
33586
+ context?: unknown;
33587
+ };
33588
+ };
33589
+ };
33590
+ /** @description Unauthorized */
33591
+ 401: {
33592
+ headers: {
33593
+ [name: string]: unknown;
33594
+ };
33595
+ content: {
33596
+ "application/json": {
33597
+ code: string;
33598
+ message: string;
33599
+ issues?: {
33600
+ message: string;
33601
+ }[];
33602
+ context?: unknown;
33603
+ };
33604
+ };
33605
+ };
33606
+ /** @description Forbidden */
33607
+ 403: {
33608
+ headers: {
33609
+ [name: string]: unknown;
33610
+ };
33611
+ content: {
33612
+ "application/json": {
33613
+ code: string;
33614
+ message: string;
33615
+ issues?: {
33616
+ message: string;
33617
+ }[];
33618
+ context?: unknown;
33619
+ };
33620
+ };
33621
+ };
33622
+ /** @description Not found */
33623
+ 404: {
33624
+ headers: {
33625
+ [name: string]: unknown;
33626
+ };
33627
+ content: {
33628
+ "application/json": {
33629
+ code: string;
33630
+ message: string;
33631
+ issues?: {
33632
+ message: string;
33633
+ }[];
33634
+ context?: unknown;
33635
+ };
33636
+ };
33637
+ };
33638
+ /** @description Internal server error */
33639
+ 500: {
33640
+ headers: {
33641
+ [name: string]: unknown;
33642
+ };
33643
+ content: {
33644
+ "application/json": {
33645
+ code: string;
33646
+ message: string;
33647
+ issues?: {
33648
+ message: string;
33649
+ }[];
33650
+ context?: unknown;
33651
+ };
33652
+ };
33653
+ };
33654
+ };
33655
+ };
33358
33656
  postTransactionAttachments: {
33359
33657
  parameters: {
33360
33658
  query?: never;