@vrplatform/api 1.3.1-stage.3742 → 1.3.1-stage.3748
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
package/src/generated/v1.ts
CHANGED
|
@@ -608,6 +608,40 @@ export interface paths {
|
|
|
608
608
|
patch?: never;
|
|
609
609
|
trace?: never;
|
|
610
610
|
};
|
|
611
|
+
"/connections/pms-cutover/apply": {
|
|
612
|
+
parameters: {
|
|
613
|
+
query?: never;
|
|
614
|
+
header?: never;
|
|
615
|
+
path?: never;
|
|
616
|
+
cookie?: never;
|
|
617
|
+
};
|
|
618
|
+
get?: never;
|
|
619
|
+
put?: never;
|
|
620
|
+
/** @description Apply a PMS migration cutover */
|
|
621
|
+
post: operations["applyPmsConnectionCutover"];
|
|
622
|
+
delete?: never;
|
|
623
|
+
options?: never;
|
|
624
|
+
head?: never;
|
|
625
|
+
patch?: never;
|
|
626
|
+
trace?: never;
|
|
627
|
+
};
|
|
628
|
+
"/connections/pms-cutover/preview": {
|
|
629
|
+
parameters: {
|
|
630
|
+
query?: never;
|
|
631
|
+
header?: never;
|
|
632
|
+
path?: never;
|
|
633
|
+
cookie?: never;
|
|
634
|
+
};
|
|
635
|
+
get?: never;
|
|
636
|
+
put?: never;
|
|
637
|
+
/** @description Preview a PMS migration cutover */
|
|
638
|
+
post: operations["previewPmsConnectionCutover"];
|
|
639
|
+
delete?: never;
|
|
640
|
+
options?: never;
|
|
641
|
+
head?: never;
|
|
642
|
+
patch?: never;
|
|
643
|
+
trace?: never;
|
|
644
|
+
};
|
|
611
645
|
"/connections/{id}": {
|
|
612
646
|
parameters: {
|
|
613
647
|
query?: never;
|
|
@@ -10941,6 +10975,8 @@ export interface operations {
|
|
|
10941
10975
|
name: string;
|
|
10942
10976
|
/** @enum {string} */
|
|
10943
10977
|
status: "active" | "inactive";
|
|
10978
|
+
accountingStartAt?: string | null;
|
|
10979
|
+
accountingEndAt?: string | null;
|
|
10944
10980
|
uniqueRef?: string | null;
|
|
10945
10981
|
app: {
|
|
10946
10982
|
id: string;
|
|
@@ -11098,6 +11134,8 @@ export interface operations {
|
|
|
11098
11134
|
credentials?: {
|
|
11099
11135
|
[key: string]: unknown;
|
|
11100
11136
|
};
|
|
11137
|
+
accountingStartAt?: string | null;
|
|
11138
|
+
accountingEndAt?: string | null;
|
|
11101
11139
|
};
|
|
11102
11140
|
};
|
|
11103
11141
|
};
|
|
@@ -11114,6 +11152,8 @@ export interface operations {
|
|
|
11114
11152
|
name: string;
|
|
11115
11153
|
/** @enum {string} */
|
|
11116
11154
|
status: "active" | "inactive";
|
|
11155
|
+
accountingStartAt?: string | null;
|
|
11156
|
+
accountingEndAt?: string | null;
|
|
11117
11157
|
uniqueRef?: string | null;
|
|
11118
11158
|
app: {
|
|
11119
11159
|
id: string;
|
|
@@ -11493,6 +11533,285 @@ export interface operations {
|
|
|
11493
11533
|
};
|
|
11494
11534
|
};
|
|
11495
11535
|
};
|
|
11536
|
+
applyPmsConnectionCutover: {
|
|
11537
|
+
parameters: {
|
|
11538
|
+
query?: never;
|
|
11539
|
+
header?: never;
|
|
11540
|
+
path?: never;
|
|
11541
|
+
cookie?: never;
|
|
11542
|
+
};
|
|
11543
|
+
requestBody?: {
|
|
11544
|
+
content: {
|
|
11545
|
+
"application/json": {
|
|
11546
|
+
/** Format: uuid */
|
|
11547
|
+
sourceConnectionId: string;
|
|
11548
|
+
/** Format: uuid */
|
|
11549
|
+
targetConnectionId: string;
|
|
11550
|
+
cutoverAt: string;
|
|
11551
|
+
};
|
|
11552
|
+
};
|
|
11553
|
+
};
|
|
11554
|
+
responses: {
|
|
11555
|
+
/** @description Successful response */
|
|
11556
|
+
200: {
|
|
11557
|
+
headers: {
|
|
11558
|
+
[name: string]: unknown;
|
|
11559
|
+
};
|
|
11560
|
+
content: {
|
|
11561
|
+
"application/json": {
|
|
11562
|
+
cutoverAt: string;
|
|
11563
|
+
/** @enum {string} */
|
|
11564
|
+
revenueRecognition: "checkIn" | "checkOut" | "bookedAt" | "proRata";
|
|
11565
|
+
sourceConnection: {
|
|
11566
|
+
/** Format: uuid */
|
|
11567
|
+
id: string;
|
|
11568
|
+
name: string;
|
|
11569
|
+
accountingStartAt?: string | null;
|
|
11570
|
+
accountingEndAt?: string | null;
|
|
11571
|
+
};
|
|
11572
|
+
targetConnection: {
|
|
11573
|
+
/** Format: uuid */
|
|
11574
|
+
id: string;
|
|
11575
|
+
name: string;
|
|
11576
|
+
accountingStartAt?: string | null;
|
|
11577
|
+
accountingEndAt?: string | null;
|
|
11578
|
+
};
|
|
11579
|
+
proposed: {
|
|
11580
|
+
sourceAccountingEndAt: string;
|
|
11581
|
+
targetAccountingStartAt: string;
|
|
11582
|
+
};
|
|
11583
|
+
impactedReservations: {
|
|
11584
|
+
sourceCount: number;
|
|
11585
|
+
targetCount: number;
|
|
11586
|
+
refreshCount: number;
|
|
11587
|
+
lockedCount: number;
|
|
11588
|
+
};
|
|
11589
|
+
/** @constant */
|
|
11590
|
+
applied: true;
|
|
11591
|
+
queuedReservationRefreshCount: number;
|
|
11592
|
+
};
|
|
11593
|
+
};
|
|
11594
|
+
};
|
|
11595
|
+
/** @description Bad request */
|
|
11596
|
+
400: {
|
|
11597
|
+
headers: {
|
|
11598
|
+
[name: string]: unknown;
|
|
11599
|
+
};
|
|
11600
|
+
content: {
|
|
11601
|
+
"application/json": {
|
|
11602
|
+
code: string;
|
|
11603
|
+
message: string;
|
|
11604
|
+
issues?: {
|
|
11605
|
+
message: string;
|
|
11606
|
+
}[];
|
|
11607
|
+
context?: unknown;
|
|
11608
|
+
};
|
|
11609
|
+
};
|
|
11610
|
+
};
|
|
11611
|
+
/** @description Unauthorized */
|
|
11612
|
+
401: {
|
|
11613
|
+
headers: {
|
|
11614
|
+
[name: string]: unknown;
|
|
11615
|
+
};
|
|
11616
|
+
content: {
|
|
11617
|
+
"application/json": {
|
|
11618
|
+
code: string;
|
|
11619
|
+
message: string;
|
|
11620
|
+
issues?: {
|
|
11621
|
+
message: string;
|
|
11622
|
+
}[];
|
|
11623
|
+
context?: unknown;
|
|
11624
|
+
};
|
|
11625
|
+
};
|
|
11626
|
+
};
|
|
11627
|
+
/** @description Forbidden */
|
|
11628
|
+
403: {
|
|
11629
|
+
headers: {
|
|
11630
|
+
[name: string]: unknown;
|
|
11631
|
+
};
|
|
11632
|
+
content: {
|
|
11633
|
+
"application/json": {
|
|
11634
|
+
code: string;
|
|
11635
|
+
message: string;
|
|
11636
|
+
issues?: {
|
|
11637
|
+
message: string;
|
|
11638
|
+
}[];
|
|
11639
|
+
context?: unknown;
|
|
11640
|
+
};
|
|
11641
|
+
};
|
|
11642
|
+
};
|
|
11643
|
+
/** @description Not found */
|
|
11644
|
+
404: {
|
|
11645
|
+
headers: {
|
|
11646
|
+
[name: string]: unknown;
|
|
11647
|
+
};
|
|
11648
|
+
content: {
|
|
11649
|
+
"application/json": {
|
|
11650
|
+
code: string;
|
|
11651
|
+
message: string;
|
|
11652
|
+
issues?: {
|
|
11653
|
+
message: string;
|
|
11654
|
+
}[];
|
|
11655
|
+
context?: unknown;
|
|
11656
|
+
};
|
|
11657
|
+
};
|
|
11658
|
+
};
|
|
11659
|
+
/** @description Internal server error */
|
|
11660
|
+
500: {
|
|
11661
|
+
headers: {
|
|
11662
|
+
[name: string]: unknown;
|
|
11663
|
+
};
|
|
11664
|
+
content: {
|
|
11665
|
+
"application/json": {
|
|
11666
|
+
code: string;
|
|
11667
|
+
message: string;
|
|
11668
|
+
issues?: {
|
|
11669
|
+
message: string;
|
|
11670
|
+
}[];
|
|
11671
|
+
context?: unknown;
|
|
11672
|
+
};
|
|
11673
|
+
};
|
|
11674
|
+
};
|
|
11675
|
+
};
|
|
11676
|
+
};
|
|
11677
|
+
previewPmsConnectionCutover: {
|
|
11678
|
+
parameters: {
|
|
11679
|
+
query?: never;
|
|
11680
|
+
header?: never;
|
|
11681
|
+
path?: never;
|
|
11682
|
+
cookie?: never;
|
|
11683
|
+
};
|
|
11684
|
+
requestBody?: {
|
|
11685
|
+
content: {
|
|
11686
|
+
"application/json": {
|
|
11687
|
+
/** Format: uuid */
|
|
11688
|
+
sourceConnectionId: string;
|
|
11689
|
+
/** Format: uuid */
|
|
11690
|
+
targetConnectionId: string;
|
|
11691
|
+
cutoverAt: string;
|
|
11692
|
+
};
|
|
11693
|
+
};
|
|
11694
|
+
};
|
|
11695
|
+
responses: {
|
|
11696
|
+
/** @description Successful response */
|
|
11697
|
+
200: {
|
|
11698
|
+
headers: {
|
|
11699
|
+
[name: string]: unknown;
|
|
11700
|
+
};
|
|
11701
|
+
content: {
|
|
11702
|
+
"application/json": {
|
|
11703
|
+
cutoverAt: string;
|
|
11704
|
+
/** @enum {string} */
|
|
11705
|
+
revenueRecognition: "checkIn" | "checkOut" | "bookedAt" | "proRata";
|
|
11706
|
+
sourceConnection: {
|
|
11707
|
+
/** Format: uuid */
|
|
11708
|
+
id: string;
|
|
11709
|
+
name: string;
|
|
11710
|
+
accountingStartAt?: string | null;
|
|
11711
|
+
accountingEndAt?: string | null;
|
|
11712
|
+
};
|
|
11713
|
+
targetConnection: {
|
|
11714
|
+
/** Format: uuid */
|
|
11715
|
+
id: string;
|
|
11716
|
+
name: string;
|
|
11717
|
+
accountingStartAt?: string | null;
|
|
11718
|
+
accountingEndAt?: string | null;
|
|
11719
|
+
};
|
|
11720
|
+
proposed: {
|
|
11721
|
+
sourceAccountingEndAt: string;
|
|
11722
|
+
targetAccountingStartAt: string;
|
|
11723
|
+
};
|
|
11724
|
+
impactedReservations: {
|
|
11725
|
+
sourceCount: number;
|
|
11726
|
+
targetCount: number;
|
|
11727
|
+
refreshCount: number;
|
|
11728
|
+
lockedCount: number;
|
|
11729
|
+
};
|
|
11730
|
+
};
|
|
11731
|
+
};
|
|
11732
|
+
};
|
|
11733
|
+
/** @description Bad request */
|
|
11734
|
+
400: {
|
|
11735
|
+
headers: {
|
|
11736
|
+
[name: string]: unknown;
|
|
11737
|
+
};
|
|
11738
|
+
content: {
|
|
11739
|
+
"application/json": {
|
|
11740
|
+
code: string;
|
|
11741
|
+
message: string;
|
|
11742
|
+
issues?: {
|
|
11743
|
+
message: string;
|
|
11744
|
+
}[];
|
|
11745
|
+
context?: unknown;
|
|
11746
|
+
};
|
|
11747
|
+
};
|
|
11748
|
+
};
|
|
11749
|
+
/** @description Unauthorized */
|
|
11750
|
+
401: {
|
|
11751
|
+
headers: {
|
|
11752
|
+
[name: string]: unknown;
|
|
11753
|
+
};
|
|
11754
|
+
content: {
|
|
11755
|
+
"application/json": {
|
|
11756
|
+
code: string;
|
|
11757
|
+
message: string;
|
|
11758
|
+
issues?: {
|
|
11759
|
+
message: string;
|
|
11760
|
+
}[];
|
|
11761
|
+
context?: unknown;
|
|
11762
|
+
};
|
|
11763
|
+
};
|
|
11764
|
+
};
|
|
11765
|
+
/** @description Forbidden */
|
|
11766
|
+
403: {
|
|
11767
|
+
headers: {
|
|
11768
|
+
[name: string]: unknown;
|
|
11769
|
+
};
|
|
11770
|
+
content: {
|
|
11771
|
+
"application/json": {
|
|
11772
|
+
code: string;
|
|
11773
|
+
message: string;
|
|
11774
|
+
issues?: {
|
|
11775
|
+
message: string;
|
|
11776
|
+
}[];
|
|
11777
|
+
context?: unknown;
|
|
11778
|
+
};
|
|
11779
|
+
};
|
|
11780
|
+
};
|
|
11781
|
+
/** @description Not found */
|
|
11782
|
+
404: {
|
|
11783
|
+
headers: {
|
|
11784
|
+
[name: string]: unknown;
|
|
11785
|
+
};
|
|
11786
|
+
content: {
|
|
11787
|
+
"application/json": {
|
|
11788
|
+
code: string;
|
|
11789
|
+
message: string;
|
|
11790
|
+
issues?: {
|
|
11791
|
+
message: string;
|
|
11792
|
+
}[];
|
|
11793
|
+
context?: unknown;
|
|
11794
|
+
};
|
|
11795
|
+
};
|
|
11796
|
+
};
|
|
11797
|
+
/** @description Internal server error */
|
|
11798
|
+
500: {
|
|
11799
|
+
headers: {
|
|
11800
|
+
[name: string]: unknown;
|
|
11801
|
+
};
|
|
11802
|
+
content: {
|
|
11803
|
+
"application/json": {
|
|
11804
|
+
code: string;
|
|
11805
|
+
message: string;
|
|
11806
|
+
issues?: {
|
|
11807
|
+
message: string;
|
|
11808
|
+
}[];
|
|
11809
|
+
context?: unknown;
|
|
11810
|
+
};
|
|
11811
|
+
};
|
|
11812
|
+
};
|
|
11813
|
+
};
|
|
11814
|
+
};
|
|
11496
11815
|
getConnection: {
|
|
11497
11816
|
parameters: {
|
|
11498
11817
|
query?: never;
|
|
@@ -11516,6 +11835,8 @@ export interface operations {
|
|
|
11516
11835
|
name: string;
|
|
11517
11836
|
/** @enum {string} */
|
|
11518
11837
|
status: "active" | "inactive";
|
|
11838
|
+
accountingStartAt?: string | null;
|
|
11839
|
+
accountingEndAt?: string | null;
|
|
11519
11840
|
uniqueRef?: string | null;
|
|
11520
11841
|
app: {
|
|
11521
11842
|
id: string;
|