@seamapi/types 1.535.0 → 1.536.0

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.
@@ -90510,6 +90510,352 @@ declare const _default: {
90510
90510
  'x-undocumented': string;
90511
90511
  };
90512
90512
  };
90513
+ '/seam/instant_key/v1/preview/get': {
90514
+ get: {
90515
+ operationId: string;
90516
+ requestBody: {
90517
+ content: {
90518
+ 'application/json': {
90519
+ schema: {
90520
+ properties: {
90521
+ instant_key_url: {
90522
+ description: string;
90523
+ type: string;
90524
+ };
90525
+ };
90526
+ required: string[];
90527
+ type: string;
90528
+ };
90529
+ };
90530
+ };
90531
+ };
90532
+ responses: {
90533
+ 200: {
90534
+ content: {
90535
+ 'application/json': {
90536
+ schema: {
90537
+ properties: {
90538
+ instant_key_preview: {
90539
+ description: string;
90540
+ properties: {
90541
+ access: {
90542
+ items: {
90543
+ properties: {
90544
+ available: {
90545
+ type: string;
90546
+ };
90547
+ hours: {
90548
+ type: string;
90549
+ };
90550
+ icon: {
90551
+ type: string;
90552
+ };
90553
+ location: {
90554
+ type: string;
90555
+ };
90556
+ name: {
90557
+ type: string;
90558
+ };
90559
+ };
90560
+ required: string[];
90561
+ type: string;
90562
+ };
90563
+ type: string;
90564
+ };
90565
+ created_at: {
90566
+ type: string;
90567
+ };
90568
+ expires_at: {
90569
+ type: string;
90570
+ };
90571
+ guest: {
90572
+ properties: {
90573
+ check_in_date: {
90574
+ type: string;
90575
+ };
90576
+ check_out_date: {
90577
+ type: string;
90578
+ };
90579
+ email: {
90580
+ type: string;
90581
+ };
90582
+ first_name: {
90583
+ type: string;
90584
+ };
90585
+ full_name: {
90586
+ type: string;
90587
+ };
90588
+ last_name: {
90589
+ type: string;
90590
+ };
90591
+ };
90592
+ required: string[];
90593
+ type: string;
90594
+ };
90595
+ hotel: {
90596
+ properties: {
90597
+ accent_color: {
90598
+ type: string;
90599
+ };
90600
+ hotel_name: {
90601
+ type: string;
90602
+ };
90603
+ logo_url: {
90604
+ type: string;
90605
+ };
90606
+ primary_color: {
90607
+ type: string;
90608
+ };
90609
+ secondary_color: {
90610
+ type: string;
90611
+ };
90612
+ verified: {
90613
+ type: string;
90614
+ };
90615
+ };
90616
+ required: string[];
90617
+ type: string;
90618
+ };
90619
+ key_status: {
90620
+ enum: string[];
90621
+ type: string;
90622
+ };
90623
+ room: {
90624
+ properties: {
90625
+ floor: {
90626
+ format: string;
90627
+ type: string;
90628
+ };
90629
+ room_number: {
90630
+ type: string;
90631
+ };
90632
+ room_type: {
90633
+ type: string;
90634
+ };
90635
+ };
90636
+ required: string[];
90637
+ type: string;
90638
+ };
90639
+ shortcode: {
90640
+ type: string;
90641
+ };
90642
+ support_email: {
90643
+ type: string;
90644
+ };
90645
+ support_phone: {
90646
+ type: string;
90647
+ };
90648
+ updated_at: {
90649
+ type: string;
90650
+ };
90651
+ };
90652
+ required: string[];
90653
+ type: string;
90654
+ 'x-route-path': string;
90655
+ };
90656
+ ok: {
90657
+ type: string;
90658
+ };
90659
+ };
90660
+ required: string[];
90661
+ type: string;
90662
+ };
90663
+ };
90664
+ };
90665
+ description: string;
90666
+ };
90667
+ 400: {
90668
+ description: string;
90669
+ };
90670
+ 401: {
90671
+ description: string;
90672
+ };
90673
+ };
90674
+ security: {
90675
+ certified_client: never[];
90676
+ }[];
90677
+ summary: string;
90678
+ tags: never[];
90679
+ 'x-fern-sdk-group-name': string[];
90680
+ 'x-fern-sdk-method-name': string;
90681
+ 'x-fern-sdk-return-value': string;
90682
+ 'x-response-key': string;
90683
+ 'x-title': string;
90684
+ 'x-undocumented': string;
90685
+ };
90686
+ post: {
90687
+ operationId: string;
90688
+ requestBody: {
90689
+ content: {
90690
+ 'application/json': {
90691
+ schema: {
90692
+ properties: {
90693
+ instant_key_url: {
90694
+ description: string;
90695
+ type: string;
90696
+ };
90697
+ };
90698
+ required: string[];
90699
+ type: string;
90700
+ };
90701
+ };
90702
+ };
90703
+ };
90704
+ responses: {
90705
+ 200: {
90706
+ content: {
90707
+ 'application/json': {
90708
+ schema: {
90709
+ properties: {
90710
+ instant_key_preview: {
90711
+ description: string;
90712
+ properties: {
90713
+ access: {
90714
+ items: {
90715
+ properties: {
90716
+ available: {
90717
+ type: string;
90718
+ };
90719
+ hours: {
90720
+ type: string;
90721
+ };
90722
+ icon: {
90723
+ type: string;
90724
+ };
90725
+ location: {
90726
+ type: string;
90727
+ };
90728
+ name: {
90729
+ type: string;
90730
+ };
90731
+ };
90732
+ required: string[];
90733
+ type: string;
90734
+ };
90735
+ type: string;
90736
+ };
90737
+ created_at: {
90738
+ type: string;
90739
+ };
90740
+ expires_at: {
90741
+ type: string;
90742
+ };
90743
+ guest: {
90744
+ properties: {
90745
+ check_in_date: {
90746
+ type: string;
90747
+ };
90748
+ check_out_date: {
90749
+ type: string;
90750
+ };
90751
+ email: {
90752
+ type: string;
90753
+ };
90754
+ first_name: {
90755
+ type: string;
90756
+ };
90757
+ full_name: {
90758
+ type: string;
90759
+ };
90760
+ last_name: {
90761
+ type: string;
90762
+ };
90763
+ };
90764
+ required: string[];
90765
+ type: string;
90766
+ };
90767
+ hotel: {
90768
+ properties: {
90769
+ accent_color: {
90770
+ type: string;
90771
+ };
90772
+ hotel_name: {
90773
+ type: string;
90774
+ };
90775
+ logo_url: {
90776
+ type: string;
90777
+ };
90778
+ primary_color: {
90779
+ type: string;
90780
+ };
90781
+ secondary_color: {
90782
+ type: string;
90783
+ };
90784
+ verified: {
90785
+ type: string;
90786
+ };
90787
+ };
90788
+ required: string[];
90789
+ type: string;
90790
+ };
90791
+ key_status: {
90792
+ enum: string[];
90793
+ type: string;
90794
+ };
90795
+ room: {
90796
+ properties: {
90797
+ floor: {
90798
+ format: string;
90799
+ type: string;
90800
+ };
90801
+ room_number: {
90802
+ type: string;
90803
+ };
90804
+ room_type: {
90805
+ type: string;
90806
+ };
90807
+ };
90808
+ required: string[];
90809
+ type: string;
90810
+ };
90811
+ shortcode: {
90812
+ type: string;
90813
+ };
90814
+ support_email: {
90815
+ type: string;
90816
+ };
90817
+ support_phone: {
90818
+ type: string;
90819
+ };
90820
+ updated_at: {
90821
+ type: string;
90822
+ };
90823
+ };
90824
+ required: string[];
90825
+ type: string;
90826
+ 'x-route-path': string;
90827
+ };
90828
+ ok: {
90829
+ type: string;
90830
+ };
90831
+ };
90832
+ required: string[];
90833
+ type: string;
90834
+ };
90835
+ };
90836
+ };
90837
+ description: string;
90838
+ };
90839
+ 400: {
90840
+ description: string;
90841
+ };
90842
+ 401: {
90843
+ description: string;
90844
+ };
90845
+ };
90846
+ security: {
90847
+ certified_client: never[];
90848
+ }[];
90849
+ summary: string;
90850
+ tags: never[];
90851
+ 'x-fern-sdk-group-name': string[];
90852
+ 'x-fern-sdk-method-name': string;
90853
+ 'x-fern-sdk-return-value': string;
90854
+ 'x-response-key': string;
90855
+ 'x-title': string;
90856
+ 'x-undocumented': string;
90857
+ };
90858
+ };
90513
90859
  '/seam/mobile_sdk/v1/acs/credentials/list': {
90514
90860
  get: {
90515
90861
  description: string;
@@ -159142,6 +159488,57 @@ type Routes = {
159142
159488
  };
159143
159489
  };
159144
159490
  };
159491
+ '/seam/instant_key/v1/preview/get': {
159492
+ route: '/seam/instant_key/v1/preview/get';
159493
+ method: 'GET' | 'POST';
159494
+ queryParams: {};
159495
+ jsonBody: {
159496
+ /** The short code of the instant key to preview. */
159497
+ instant_key_url: string;
159498
+ };
159499
+ commonParams: {};
159500
+ formData: {};
159501
+ jsonResponse: {
159502
+ /** Represents a preview of an Instant Key with hotel, guest, and access information. */
159503
+ instant_key_preview: {
159504
+ shortcode: string;
159505
+ hotel: {
159506
+ hotel_name: string;
159507
+ primary_color: string;
159508
+ accent_color: string;
159509
+ secondary_color: string;
159510
+ logo_url?: string | undefined;
159511
+ verified: boolean;
159512
+ };
159513
+ guest: {
159514
+ first_name: string;
159515
+ last_name: string;
159516
+ full_name: string;
159517
+ email: string;
159518
+ check_in_date: string;
159519
+ check_out_date: string;
159520
+ };
159521
+ room: {
159522
+ room_number: string;
159523
+ room_type: string;
159524
+ floor: number;
159525
+ };
159526
+ access: {
159527
+ name: string;
159528
+ icon: string;
159529
+ hours?: string | undefined;
159530
+ location?: string | undefined;
159531
+ available: boolean;
159532
+ }[];
159533
+ key_status: 'ready' | 'expired' | 'used';
159534
+ support_phone: string;
159535
+ support_email: string;
159536
+ created_at: string;
159537
+ updated_at: string;
159538
+ expires_at: string;
159539
+ };
159540
+ };
159541
+ };
159145
159542
  '/seam/mobile_sdk/v1/acs/credentials/list': {
159146
159543
  route: '/seam/mobile_sdk/v1/acs/credentials/list';
159147
159544
  method: 'GET' | 'POST';