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