@seamapi/types 1.559.0 → 1.561.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.
- package/dist/connect.cjs +400 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +532 -0
- package/dist/index.cjs +400 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.d.ts +459 -0
- package/lib/seam/connect/openapi.js +400 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +73 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +409 -0
- package/src/lib/seam/connect/route-types.ts +73 -0
|
@@ -40629,6 +40629,465 @@ declare const _default: {
|
|
|
40629
40629
|
'x-undocumented': string;
|
|
40630
40630
|
};
|
|
40631
40631
|
};
|
|
40632
|
+
'/seam/customer/v1/reservations/get': {
|
|
40633
|
+
get: {
|
|
40634
|
+
description: string;
|
|
40635
|
+
operationId: string;
|
|
40636
|
+
parameters: ({
|
|
40637
|
+
in: string;
|
|
40638
|
+
name: string;
|
|
40639
|
+
schema: {
|
|
40640
|
+
description: string;
|
|
40641
|
+
format: string;
|
|
40642
|
+
type: string;
|
|
40643
|
+
};
|
|
40644
|
+
} | {
|
|
40645
|
+
in: string;
|
|
40646
|
+
name: string;
|
|
40647
|
+
schema: {
|
|
40648
|
+
description: string;
|
|
40649
|
+
type: string;
|
|
40650
|
+
format?: never;
|
|
40651
|
+
};
|
|
40652
|
+
})[];
|
|
40653
|
+
responses: {
|
|
40654
|
+
200: {
|
|
40655
|
+
content: {
|
|
40656
|
+
'application/json': {
|
|
40657
|
+
schema: {
|
|
40658
|
+
properties: {
|
|
40659
|
+
ok: {
|
|
40660
|
+
type: string;
|
|
40661
|
+
};
|
|
40662
|
+
reservation: {
|
|
40663
|
+
properties: {
|
|
40664
|
+
access_methods: {
|
|
40665
|
+
items: {
|
|
40666
|
+
$ref: string;
|
|
40667
|
+
};
|
|
40668
|
+
type: string;
|
|
40669
|
+
};
|
|
40670
|
+
created_at: {
|
|
40671
|
+
format: string;
|
|
40672
|
+
type: string;
|
|
40673
|
+
};
|
|
40674
|
+
ends_at: {
|
|
40675
|
+
format: string;
|
|
40676
|
+
nullable: boolean;
|
|
40677
|
+
type: string;
|
|
40678
|
+
};
|
|
40679
|
+
guest_name: {
|
|
40680
|
+
nullable: boolean;
|
|
40681
|
+
type: string;
|
|
40682
|
+
};
|
|
40683
|
+
name: {
|
|
40684
|
+
nullable: boolean;
|
|
40685
|
+
type: string;
|
|
40686
|
+
};
|
|
40687
|
+
reservation_id: {
|
|
40688
|
+
format: string;
|
|
40689
|
+
type: string;
|
|
40690
|
+
};
|
|
40691
|
+
reservation_key: {
|
|
40692
|
+
type: string;
|
|
40693
|
+
};
|
|
40694
|
+
starts_at: {
|
|
40695
|
+
format: string;
|
|
40696
|
+
nullable: boolean;
|
|
40697
|
+
type: string;
|
|
40698
|
+
};
|
|
40699
|
+
};
|
|
40700
|
+
required: string[];
|
|
40701
|
+
type: string;
|
|
40702
|
+
};
|
|
40703
|
+
};
|
|
40704
|
+
required: string[];
|
|
40705
|
+
type: string;
|
|
40706
|
+
};
|
|
40707
|
+
};
|
|
40708
|
+
};
|
|
40709
|
+
description: string;
|
|
40710
|
+
};
|
|
40711
|
+
400: {
|
|
40712
|
+
description: string;
|
|
40713
|
+
};
|
|
40714
|
+
401: {
|
|
40715
|
+
description: string;
|
|
40716
|
+
};
|
|
40717
|
+
};
|
|
40718
|
+
security: {
|
|
40719
|
+
client_session_with_customer: never[];
|
|
40720
|
+
}[];
|
|
40721
|
+
summary: string;
|
|
40722
|
+
tags: never[];
|
|
40723
|
+
'x-fern-sdk-group-name': string[];
|
|
40724
|
+
'x-fern-sdk-method-name': string;
|
|
40725
|
+
'x-fern-sdk-return-value': string;
|
|
40726
|
+
'x-response-key': string;
|
|
40727
|
+
'x-title': string;
|
|
40728
|
+
'x-undocumented': string;
|
|
40729
|
+
};
|
|
40730
|
+
post: {
|
|
40731
|
+
description: string;
|
|
40732
|
+
operationId: string;
|
|
40733
|
+
requestBody: {
|
|
40734
|
+
content: {
|
|
40735
|
+
'application/json': {
|
|
40736
|
+
schema: {
|
|
40737
|
+
properties: {
|
|
40738
|
+
reservation_id: {
|
|
40739
|
+
description: string;
|
|
40740
|
+
format: string;
|
|
40741
|
+
type: string;
|
|
40742
|
+
};
|
|
40743
|
+
reservation_key: {
|
|
40744
|
+
description: string;
|
|
40745
|
+
type: string;
|
|
40746
|
+
};
|
|
40747
|
+
};
|
|
40748
|
+
type: string;
|
|
40749
|
+
};
|
|
40750
|
+
};
|
|
40751
|
+
};
|
|
40752
|
+
};
|
|
40753
|
+
responses: {
|
|
40754
|
+
200: {
|
|
40755
|
+
content: {
|
|
40756
|
+
'application/json': {
|
|
40757
|
+
schema: {
|
|
40758
|
+
properties: {
|
|
40759
|
+
ok: {
|
|
40760
|
+
type: string;
|
|
40761
|
+
};
|
|
40762
|
+
reservation: {
|
|
40763
|
+
properties: {
|
|
40764
|
+
access_methods: {
|
|
40765
|
+
items: {
|
|
40766
|
+
$ref: string;
|
|
40767
|
+
};
|
|
40768
|
+
type: string;
|
|
40769
|
+
};
|
|
40770
|
+
created_at: {
|
|
40771
|
+
format: string;
|
|
40772
|
+
type: string;
|
|
40773
|
+
};
|
|
40774
|
+
ends_at: {
|
|
40775
|
+
format: string;
|
|
40776
|
+
nullable: boolean;
|
|
40777
|
+
type: string;
|
|
40778
|
+
};
|
|
40779
|
+
guest_name: {
|
|
40780
|
+
nullable: boolean;
|
|
40781
|
+
type: string;
|
|
40782
|
+
};
|
|
40783
|
+
name: {
|
|
40784
|
+
nullable: boolean;
|
|
40785
|
+
type: string;
|
|
40786
|
+
};
|
|
40787
|
+
reservation_id: {
|
|
40788
|
+
format: string;
|
|
40789
|
+
type: string;
|
|
40790
|
+
};
|
|
40791
|
+
reservation_key: {
|
|
40792
|
+
type: string;
|
|
40793
|
+
};
|
|
40794
|
+
starts_at: {
|
|
40795
|
+
format: string;
|
|
40796
|
+
nullable: boolean;
|
|
40797
|
+
type: string;
|
|
40798
|
+
};
|
|
40799
|
+
};
|
|
40800
|
+
required: string[];
|
|
40801
|
+
type: string;
|
|
40802
|
+
};
|
|
40803
|
+
};
|
|
40804
|
+
required: string[];
|
|
40805
|
+
type: string;
|
|
40806
|
+
};
|
|
40807
|
+
};
|
|
40808
|
+
};
|
|
40809
|
+
description: string;
|
|
40810
|
+
};
|
|
40811
|
+
400: {
|
|
40812
|
+
description: string;
|
|
40813
|
+
};
|
|
40814
|
+
401: {
|
|
40815
|
+
description: string;
|
|
40816
|
+
};
|
|
40817
|
+
};
|
|
40818
|
+
security: {
|
|
40819
|
+
client_session_with_customer: never[];
|
|
40820
|
+
}[];
|
|
40821
|
+
summary: string;
|
|
40822
|
+
tags: never[];
|
|
40823
|
+
'x-fern-sdk-group-name': string[];
|
|
40824
|
+
'x-fern-sdk-method-name': string;
|
|
40825
|
+
'x-fern-sdk-return-value': string;
|
|
40826
|
+
'x-response-key': string;
|
|
40827
|
+
'x-title': string;
|
|
40828
|
+
'x-undocumented': string;
|
|
40829
|
+
};
|
|
40830
|
+
};
|
|
40831
|
+
'/seam/customer/v1/reservations/list': {
|
|
40832
|
+
get: {
|
|
40833
|
+
description: string;
|
|
40834
|
+
operationId: string;
|
|
40835
|
+
parameters: ({
|
|
40836
|
+
in: string;
|
|
40837
|
+
name: string;
|
|
40838
|
+
schema: {
|
|
40839
|
+
description: string;
|
|
40840
|
+
type: string;
|
|
40841
|
+
format?: never;
|
|
40842
|
+
default?: never;
|
|
40843
|
+
exclusiveMinimum?: never;
|
|
40844
|
+
minimum?: never;
|
|
40845
|
+
nullable?: never;
|
|
40846
|
+
};
|
|
40847
|
+
} | {
|
|
40848
|
+
in: string;
|
|
40849
|
+
name: string;
|
|
40850
|
+
schema: {
|
|
40851
|
+
description: string;
|
|
40852
|
+
format: string;
|
|
40853
|
+
type: string;
|
|
40854
|
+
default?: never;
|
|
40855
|
+
exclusiveMinimum?: never;
|
|
40856
|
+
minimum?: never;
|
|
40857
|
+
nullable?: never;
|
|
40858
|
+
};
|
|
40859
|
+
} | {
|
|
40860
|
+
in: string;
|
|
40861
|
+
name: string;
|
|
40862
|
+
schema: {
|
|
40863
|
+
default: number;
|
|
40864
|
+
description: string;
|
|
40865
|
+
exclusiveMinimum: boolean;
|
|
40866
|
+
minimum: number;
|
|
40867
|
+
type: string;
|
|
40868
|
+
format?: never;
|
|
40869
|
+
nullable?: never;
|
|
40870
|
+
};
|
|
40871
|
+
} | {
|
|
40872
|
+
in: string;
|
|
40873
|
+
name: string;
|
|
40874
|
+
schema: {
|
|
40875
|
+
description: string;
|
|
40876
|
+
nullable: boolean;
|
|
40877
|
+
type: string;
|
|
40878
|
+
format?: never;
|
|
40879
|
+
default?: never;
|
|
40880
|
+
exclusiveMinimum?: never;
|
|
40881
|
+
minimum?: never;
|
|
40882
|
+
};
|
|
40883
|
+
})[];
|
|
40884
|
+
responses: {
|
|
40885
|
+
200: {
|
|
40886
|
+
content: {
|
|
40887
|
+
'application/json': {
|
|
40888
|
+
schema: {
|
|
40889
|
+
properties: {
|
|
40890
|
+
ok: {
|
|
40891
|
+
type: string;
|
|
40892
|
+
};
|
|
40893
|
+
pagination: {
|
|
40894
|
+
$ref: string;
|
|
40895
|
+
};
|
|
40896
|
+
reservations: {
|
|
40897
|
+
items: {
|
|
40898
|
+
properties: {
|
|
40899
|
+
access_methods: {
|
|
40900
|
+
items: {
|
|
40901
|
+
$ref: string;
|
|
40902
|
+
};
|
|
40903
|
+
type: string;
|
|
40904
|
+
};
|
|
40905
|
+
created_at: {
|
|
40906
|
+
format: string;
|
|
40907
|
+
type: string;
|
|
40908
|
+
};
|
|
40909
|
+
ends_at: {
|
|
40910
|
+
format: string;
|
|
40911
|
+
nullable: boolean;
|
|
40912
|
+
type: string;
|
|
40913
|
+
};
|
|
40914
|
+
guest_name: {
|
|
40915
|
+
nullable: boolean;
|
|
40916
|
+
type: string;
|
|
40917
|
+
};
|
|
40918
|
+
name: {
|
|
40919
|
+
nullable: boolean;
|
|
40920
|
+
type: string;
|
|
40921
|
+
};
|
|
40922
|
+
reservation_id: {
|
|
40923
|
+
format: string;
|
|
40924
|
+
type: string;
|
|
40925
|
+
};
|
|
40926
|
+
reservation_key: {
|
|
40927
|
+
type: string;
|
|
40928
|
+
};
|
|
40929
|
+
starts_at: {
|
|
40930
|
+
format: string;
|
|
40931
|
+
nullable: boolean;
|
|
40932
|
+
type: string;
|
|
40933
|
+
};
|
|
40934
|
+
};
|
|
40935
|
+
required: string[];
|
|
40936
|
+
type: string;
|
|
40937
|
+
};
|
|
40938
|
+
type: string;
|
|
40939
|
+
};
|
|
40940
|
+
};
|
|
40941
|
+
required: string[];
|
|
40942
|
+
type: string;
|
|
40943
|
+
};
|
|
40944
|
+
};
|
|
40945
|
+
};
|
|
40946
|
+
description: string;
|
|
40947
|
+
};
|
|
40948
|
+
400: {
|
|
40949
|
+
description: string;
|
|
40950
|
+
};
|
|
40951
|
+
401: {
|
|
40952
|
+
description: string;
|
|
40953
|
+
};
|
|
40954
|
+
};
|
|
40955
|
+
security: {
|
|
40956
|
+
client_session_with_customer: never[];
|
|
40957
|
+
}[];
|
|
40958
|
+
summary: string;
|
|
40959
|
+
tags: never[];
|
|
40960
|
+
'x-fern-sdk-group-name': string[];
|
|
40961
|
+
'x-fern-sdk-method-name': string;
|
|
40962
|
+
'x-fern-sdk-return-value': string;
|
|
40963
|
+
'x-response-key': string;
|
|
40964
|
+
'x-title': string;
|
|
40965
|
+
'x-undocumented': string;
|
|
40966
|
+
};
|
|
40967
|
+
post: {
|
|
40968
|
+
description: string;
|
|
40969
|
+
operationId: string;
|
|
40970
|
+
requestBody: {
|
|
40971
|
+
content: {
|
|
40972
|
+
'application/json': {
|
|
40973
|
+
schema: {
|
|
40974
|
+
properties: {
|
|
40975
|
+
created_before: {
|
|
40976
|
+
description: string;
|
|
40977
|
+
format: string;
|
|
40978
|
+
type: string;
|
|
40979
|
+
};
|
|
40980
|
+
limit: {
|
|
40981
|
+
default: number;
|
|
40982
|
+
description: string;
|
|
40983
|
+
exclusiveMinimum: boolean;
|
|
40984
|
+
minimum: number;
|
|
40985
|
+
type: string;
|
|
40986
|
+
};
|
|
40987
|
+
page_cursor: {
|
|
40988
|
+
description: string;
|
|
40989
|
+
nullable: boolean;
|
|
40990
|
+
type: string;
|
|
40991
|
+
};
|
|
40992
|
+
space_id: {
|
|
40993
|
+
description: string;
|
|
40994
|
+
format: string;
|
|
40995
|
+
type: string;
|
|
40996
|
+
};
|
|
40997
|
+
space_key: {
|
|
40998
|
+
description: string;
|
|
40999
|
+
type: string;
|
|
41000
|
+
};
|
|
41001
|
+
};
|
|
41002
|
+
type: string;
|
|
41003
|
+
};
|
|
41004
|
+
};
|
|
41005
|
+
};
|
|
41006
|
+
};
|
|
41007
|
+
responses: {
|
|
41008
|
+
200: {
|
|
41009
|
+
content: {
|
|
41010
|
+
'application/json': {
|
|
41011
|
+
schema: {
|
|
41012
|
+
properties: {
|
|
41013
|
+
ok: {
|
|
41014
|
+
type: string;
|
|
41015
|
+
};
|
|
41016
|
+
pagination: {
|
|
41017
|
+
$ref: string;
|
|
41018
|
+
};
|
|
41019
|
+
reservations: {
|
|
41020
|
+
items: {
|
|
41021
|
+
properties: {
|
|
41022
|
+
access_methods: {
|
|
41023
|
+
items: {
|
|
41024
|
+
$ref: string;
|
|
41025
|
+
};
|
|
41026
|
+
type: string;
|
|
41027
|
+
};
|
|
41028
|
+
created_at: {
|
|
41029
|
+
format: string;
|
|
41030
|
+
type: string;
|
|
41031
|
+
};
|
|
41032
|
+
ends_at: {
|
|
41033
|
+
format: string;
|
|
41034
|
+
nullable: boolean;
|
|
41035
|
+
type: string;
|
|
41036
|
+
};
|
|
41037
|
+
guest_name: {
|
|
41038
|
+
nullable: boolean;
|
|
41039
|
+
type: string;
|
|
41040
|
+
};
|
|
41041
|
+
name: {
|
|
41042
|
+
nullable: boolean;
|
|
41043
|
+
type: string;
|
|
41044
|
+
};
|
|
41045
|
+
reservation_id: {
|
|
41046
|
+
format: string;
|
|
41047
|
+
type: string;
|
|
41048
|
+
};
|
|
41049
|
+
reservation_key: {
|
|
41050
|
+
type: string;
|
|
41051
|
+
};
|
|
41052
|
+
starts_at: {
|
|
41053
|
+
format: string;
|
|
41054
|
+
nullable: boolean;
|
|
41055
|
+
type: string;
|
|
41056
|
+
};
|
|
41057
|
+
};
|
|
41058
|
+
required: string[];
|
|
41059
|
+
type: string;
|
|
41060
|
+
};
|
|
41061
|
+
type: string;
|
|
41062
|
+
};
|
|
41063
|
+
};
|
|
41064
|
+
required: string[];
|
|
41065
|
+
type: string;
|
|
41066
|
+
};
|
|
41067
|
+
};
|
|
41068
|
+
};
|
|
41069
|
+
description: string;
|
|
41070
|
+
};
|
|
41071
|
+
400: {
|
|
41072
|
+
description: string;
|
|
41073
|
+
};
|
|
41074
|
+
401: {
|
|
41075
|
+
description: string;
|
|
41076
|
+
};
|
|
41077
|
+
};
|
|
41078
|
+
security: {
|
|
41079
|
+
client_session_with_customer: never[];
|
|
41080
|
+
}[];
|
|
41081
|
+
summary: string;
|
|
41082
|
+
tags: never[];
|
|
41083
|
+
'x-fern-sdk-group-name': string[];
|
|
41084
|
+
'x-fern-sdk-method-name': string;
|
|
41085
|
+
'x-fern-sdk-return-value': string;
|
|
41086
|
+
'x-response-key': string;
|
|
41087
|
+
'x-title': string;
|
|
41088
|
+
'x-undocumented': string;
|
|
41089
|
+
};
|
|
41090
|
+
};
|
|
40632
41091
|
'/seam/customer/v1/settings/get': {
|
|
40633
41092
|
get: {
|
|
40634
41093
|
description: string;
|