@vrplatform/api 1.3.1-stage.3740 → 1.3.1-stage.3743

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