@seamapi/types 1.729.0 → 1.731.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 +90 -4
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +106 -10
- package/dist/index.cjs +90 -4
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.d.ts +94 -10
- package/lib/seam/connect/openapi.js +90 -4
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +12 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +94 -4
- package/src/lib/seam/connect/route-types.ts +12 -0
|
@@ -52893,16 +52893,16 @@ declare const _default: {
|
|
|
52893
52893
|
name: string;
|
|
52894
52894
|
schema: {
|
|
52895
52895
|
description: string;
|
|
52896
|
-
format: string;
|
|
52897
52896
|
type: string;
|
|
52897
|
+
format?: never;
|
|
52898
52898
|
};
|
|
52899
52899
|
} | {
|
|
52900
52900
|
in: string;
|
|
52901
52901
|
name: string;
|
|
52902
52902
|
schema: {
|
|
52903
52903
|
description: string;
|
|
52904
|
+
format: string;
|
|
52904
52905
|
type: string;
|
|
52905
|
-
format?: never;
|
|
52906
52906
|
};
|
|
52907
52907
|
})[];
|
|
52908
52908
|
responses: {
|
|
@@ -52964,6 +52964,36 @@ declare const _default: {
|
|
|
52964
52964
|
nullable: boolean;
|
|
52965
52965
|
type: string;
|
|
52966
52966
|
};
|
|
52967
|
+
guest: {
|
|
52968
|
+
nullable: boolean;
|
|
52969
|
+
properties: {
|
|
52970
|
+
email_address: {
|
|
52971
|
+
nullable: boolean;
|
|
52972
|
+
type: string;
|
|
52973
|
+
};
|
|
52974
|
+
guest_key: {
|
|
52975
|
+
type: string;
|
|
52976
|
+
};
|
|
52977
|
+
is_resource_syncing: {
|
|
52978
|
+
type: string;
|
|
52979
|
+
};
|
|
52980
|
+
name: {
|
|
52981
|
+
nullable: boolean;
|
|
52982
|
+
type: string;
|
|
52983
|
+
};
|
|
52984
|
+
phone_number: {
|
|
52985
|
+
nullable: boolean;
|
|
52986
|
+
type: string;
|
|
52987
|
+
};
|
|
52988
|
+
user_identity_id: {
|
|
52989
|
+
format: string;
|
|
52990
|
+
nullable: boolean;
|
|
52991
|
+
type: string;
|
|
52992
|
+
};
|
|
52993
|
+
};
|
|
52994
|
+
required: string[];
|
|
52995
|
+
type: string;
|
|
52996
|
+
};
|
|
52967
52997
|
guest_name: {
|
|
52968
52998
|
nullable: boolean;
|
|
52969
52999
|
type: string;
|
|
@@ -53027,9 +53057,13 @@ declare const _default: {
|
|
|
53027
53057
|
description: string;
|
|
53028
53058
|
};
|
|
53029
53059
|
};
|
|
53030
|
-
security: {
|
|
53060
|
+
security: ({
|
|
53031
53061
|
client_session_with_customer: never[];
|
|
53032
|
-
|
|
53062
|
+
console_session_with_workspace?: never;
|
|
53063
|
+
} | {
|
|
53064
|
+
console_session_with_workspace: never[];
|
|
53065
|
+
client_session_with_customer?: never;
|
|
53066
|
+
})[];
|
|
53033
53067
|
summary: string;
|
|
53034
53068
|
tags: never[];
|
|
53035
53069
|
'x-fern-sdk-group-name': string[];
|
|
@@ -53047,6 +53081,10 @@ declare const _default: {
|
|
|
53047
53081
|
'application/json': {
|
|
53048
53082
|
schema: {
|
|
53049
53083
|
properties: {
|
|
53084
|
+
customer_key: {
|
|
53085
|
+
description: string;
|
|
53086
|
+
type: string;
|
|
53087
|
+
};
|
|
53050
53088
|
reservation_id: {
|
|
53051
53089
|
description: string;
|
|
53052
53090
|
format: string;
|
|
@@ -53121,6 +53159,36 @@ declare const _default: {
|
|
|
53121
53159
|
nullable: boolean;
|
|
53122
53160
|
type: string;
|
|
53123
53161
|
};
|
|
53162
|
+
guest: {
|
|
53163
|
+
nullable: boolean;
|
|
53164
|
+
properties: {
|
|
53165
|
+
email_address: {
|
|
53166
|
+
nullable: boolean;
|
|
53167
|
+
type: string;
|
|
53168
|
+
};
|
|
53169
|
+
guest_key: {
|
|
53170
|
+
type: string;
|
|
53171
|
+
};
|
|
53172
|
+
is_resource_syncing: {
|
|
53173
|
+
type: string;
|
|
53174
|
+
};
|
|
53175
|
+
name: {
|
|
53176
|
+
nullable: boolean;
|
|
53177
|
+
type: string;
|
|
53178
|
+
};
|
|
53179
|
+
phone_number: {
|
|
53180
|
+
nullable: boolean;
|
|
53181
|
+
type: string;
|
|
53182
|
+
};
|
|
53183
|
+
user_identity_id: {
|
|
53184
|
+
format: string;
|
|
53185
|
+
nullable: boolean;
|
|
53186
|
+
type: string;
|
|
53187
|
+
};
|
|
53188
|
+
};
|
|
53189
|
+
required: string[];
|
|
53190
|
+
type: string;
|
|
53191
|
+
};
|
|
53124
53192
|
guest_name: {
|
|
53125
53193
|
nullable: boolean;
|
|
53126
53194
|
type: string;
|
|
@@ -53184,9 +53252,13 @@ declare const _default: {
|
|
|
53184
53252
|
description: string;
|
|
53185
53253
|
};
|
|
53186
53254
|
};
|
|
53187
|
-
security: {
|
|
53255
|
+
security: ({
|
|
53188
53256
|
client_session_with_customer: never[];
|
|
53189
|
-
|
|
53257
|
+
console_session_with_workspace?: never;
|
|
53258
|
+
} | {
|
|
53259
|
+
console_session_with_workspace: never[];
|
|
53260
|
+
client_session_with_customer?: never;
|
|
53261
|
+
})[];
|
|
53190
53262
|
summary: string;
|
|
53191
53263
|
tags: never[];
|
|
53192
53264
|
'x-fern-sdk-group-name': string[];
|
|
@@ -53450,9 +53522,13 @@ declare const _default: {
|
|
|
53450
53522
|
description: string;
|
|
53451
53523
|
};
|
|
53452
53524
|
};
|
|
53453
|
-
security: {
|
|
53525
|
+
security: ({
|
|
53454
53526
|
client_session_with_customer: never[];
|
|
53455
|
-
|
|
53527
|
+
console_session_with_workspace?: never;
|
|
53528
|
+
} | {
|
|
53529
|
+
console_session_with_workspace: never[];
|
|
53530
|
+
client_session_with_customer?: never;
|
|
53531
|
+
})[];
|
|
53456
53532
|
summary: string;
|
|
53457
53533
|
tags: never[];
|
|
53458
53534
|
'x-fern-sdk-group-name': string[];
|
|
@@ -53475,6 +53551,10 @@ declare const _default: {
|
|
|
53475
53551
|
format: string;
|
|
53476
53552
|
type: string;
|
|
53477
53553
|
};
|
|
53554
|
+
customer_key: {
|
|
53555
|
+
description: string;
|
|
53556
|
+
type: string;
|
|
53557
|
+
};
|
|
53478
53558
|
limit: {
|
|
53479
53559
|
default: number;
|
|
53480
53560
|
description: string;
|
|
@@ -53690,9 +53770,13 @@ declare const _default: {
|
|
|
53690
53770
|
description: string;
|
|
53691
53771
|
};
|
|
53692
53772
|
};
|
|
53693
|
-
security: {
|
|
53773
|
+
security: ({
|
|
53694
53774
|
client_session_with_customer: never[];
|
|
53695
|
-
|
|
53775
|
+
console_session_with_workspace?: never;
|
|
53776
|
+
} | {
|
|
53777
|
+
console_session_with_workspace: never[];
|
|
53778
|
+
client_session_with_customer?: never;
|
|
53779
|
+
})[];
|
|
53696
53780
|
summary: string;
|
|
53697
53781
|
tags: never[];
|
|
53698
53782
|
'x-fern-sdk-group-name': string[];
|
|
@@ -58705,6 +58705,14 @@ export default {
|
|
|
58705
58705
|
description: 'Returns a single reservation for a specific customer by reservation ID.',
|
|
58706
58706
|
operationId: 'seamCustomerV1ReservationsGetGet',
|
|
58707
58707
|
parameters: [
|
|
58708
|
+
{
|
|
58709
|
+
in: 'query',
|
|
58710
|
+
name: 'customer_key',
|
|
58711
|
+
schema: {
|
|
58712
|
+
description: 'The customer_key identifying the customer. Required when not using client_session_with_customer auth.',
|
|
58713
|
+
type: 'string',
|
|
58714
|
+
},
|
|
58715
|
+
},
|
|
58708
58716
|
{
|
|
58709
58717
|
in: 'query',
|
|
58710
58718
|
name: 'reservation_id',
|
|
@@ -58773,6 +58781,30 @@ export default {
|
|
|
58773
58781
|
nullable: true,
|
|
58774
58782
|
type: 'string',
|
|
58775
58783
|
},
|
|
58784
|
+
guest: {
|
|
58785
|
+
nullable: true,
|
|
58786
|
+
properties: {
|
|
58787
|
+
email_address: { nullable: true, type: 'string' },
|
|
58788
|
+
guest_key: { type: 'string' },
|
|
58789
|
+
is_resource_syncing: { type: 'boolean' },
|
|
58790
|
+
name: { nullable: true, type: 'string' },
|
|
58791
|
+
phone_number: { nullable: true, type: 'string' },
|
|
58792
|
+
user_identity_id: {
|
|
58793
|
+
format: 'uuid',
|
|
58794
|
+
nullable: true,
|
|
58795
|
+
type: 'string',
|
|
58796
|
+
},
|
|
58797
|
+
},
|
|
58798
|
+
required: [
|
|
58799
|
+
'guest_key',
|
|
58800
|
+
'name',
|
|
58801
|
+
'email_address',
|
|
58802
|
+
'phone_number',
|
|
58803
|
+
'user_identity_id',
|
|
58804
|
+
'is_resource_syncing',
|
|
58805
|
+
],
|
|
58806
|
+
type: 'object',
|
|
58807
|
+
},
|
|
58776
58808
|
guest_name: { nullable: true, type: 'string' },
|
|
58777
58809
|
is_resource_syncing: { type: 'boolean' },
|
|
58778
58810
|
name: { nullable: true, type: 'string' },
|
|
@@ -58809,6 +58841,7 @@ export default {
|
|
|
58809
58841
|
'created_at',
|
|
58810
58842
|
'is_resource_syncing',
|
|
58811
58843
|
'guest_name',
|
|
58844
|
+
'guest',
|
|
58812
58845
|
'spaces',
|
|
58813
58846
|
'access_grant_id',
|
|
58814
58847
|
'access_methods',
|
|
@@ -58826,7 +58859,10 @@ export default {
|
|
|
58826
58859
|
400: { description: 'Bad Request' },
|
|
58827
58860
|
401: { description: 'Unauthorized' },
|
|
58828
58861
|
},
|
|
58829
|
-
security: [
|
|
58862
|
+
security: [
|
|
58863
|
+
{ client_session_with_customer: [] },
|
|
58864
|
+
{ console_session_with_workspace: [] },
|
|
58865
|
+
],
|
|
58830
58866
|
summary: '/seam/customer/v1/reservations/get',
|
|
58831
58867
|
tags: [],
|
|
58832
58868
|
'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'reservations'],
|
|
@@ -58844,6 +58880,10 @@ export default {
|
|
|
58844
58880
|
'application/json': {
|
|
58845
58881
|
schema: {
|
|
58846
58882
|
properties: {
|
|
58883
|
+
customer_key: {
|
|
58884
|
+
description: 'The customer_key identifying the customer. Required when not using client_session_with_customer auth.',
|
|
58885
|
+
type: 'string',
|
|
58886
|
+
},
|
|
58847
58887
|
reservation_id: {
|
|
58848
58888
|
description: 'ID of the reservation to retrieve.',
|
|
58849
58889
|
format: 'uuid',
|
|
@@ -58909,6 +58949,30 @@ export default {
|
|
|
58909
58949
|
nullable: true,
|
|
58910
58950
|
type: 'string',
|
|
58911
58951
|
},
|
|
58952
|
+
guest: {
|
|
58953
|
+
nullable: true,
|
|
58954
|
+
properties: {
|
|
58955
|
+
email_address: { nullable: true, type: 'string' },
|
|
58956
|
+
guest_key: { type: 'string' },
|
|
58957
|
+
is_resource_syncing: { type: 'boolean' },
|
|
58958
|
+
name: { nullable: true, type: 'string' },
|
|
58959
|
+
phone_number: { nullable: true, type: 'string' },
|
|
58960
|
+
user_identity_id: {
|
|
58961
|
+
format: 'uuid',
|
|
58962
|
+
nullable: true,
|
|
58963
|
+
type: 'string',
|
|
58964
|
+
},
|
|
58965
|
+
},
|
|
58966
|
+
required: [
|
|
58967
|
+
'guest_key',
|
|
58968
|
+
'name',
|
|
58969
|
+
'email_address',
|
|
58970
|
+
'phone_number',
|
|
58971
|
+
'user_identity_id',
|
|
58972
|
+
'is_resource_syncing',
|
|
58973
|
+
],
|
|
58974
|
+
type: 'object',
|
|
58975
|
+
},
|
|
58912
58976
|
guest_name: { nullable: true, type: 'string' },
|
|
58913
58977
|
is_resource_syncing: { type: 'boolean' },
|
|
58914
58978
|
name: { nullable: true, type: 'string' },
|
|
@@ -58945,6 +59009,7 @@ export default {
|
|
|
58945
59009
|
'created_at',
|
|
58946
59010
|
'is_resource_syncing',
|
|
58947
59011
|
'guest_name',
|
|
59012
|
+
'guest',
|
|
58948
59013
|
'spaces',
|
|
58949
59014
|
'access_grant_id',
|
|
58950
59015
|
'access_methods',
|
|
@@ -58962,7 +59027,10 @@ export default {
|
|
|
58962
59027
|
400: { description: 'Bad Request' },
|
|
58963
59028
|
401: { description: 'Unauthorized' },
|
|
58964
59029
|
},
|
|
58965
|
-
security: [
|
|
59030
|
+
security: [
|
|
59031
|
+
{ client_session_with_customer: [] },
|
|
59032
|
+
{ console_session_with_workspace: [] },
|
|
59033
|
+
],
|
|
58966
59034
|
summary: '/seam/customer/v1/reservations/get',
|
|
58967
59035
|
tags: [],
|
|
58968
59036
|
'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'reservations'],
|
|
@@ -58978,6 +59046,14 @@ export default {
|
|
|
58978
59046
|
description: 'Returns a list of reservations for a specific customer. This endpoint is designed for customer portals and supports filtering by space_key.',
|
|
58979
59047
|
operationId: 'seamCustomerV1ReservationsListGet',
|
|
58980
59048
|
parameters: [
|
|
59049
|
+
{
|
|
59050
|
+
in: 'query',
|
|
59051
|
+
name: 'customer_key',
|
|
59052
|
+
schema: {
|
|
59053
|
+
description: 'The customer_key identifying the customer. Required when not using client_session_with_customer auth.',
|
|
59054
|
+
type: 'string',
|
|
59055
|
+
},
|
|
59056
|
+
},
|
|
58981
59057
|
{
|
|
58982
59058
|
in: 'query',
|
|
58983
59059
|
name: 'space_key',
|
|
@@ -59200,7 +59276,10 @@ export default {
|
|
|
59200
59276
|
400: { description: 'Bad Request' },
|
|
59201
59277
|
401: { description: 'Unauthorized' },
|
|
59202
59278
|
},
|
|
59203
|
-
security: [
|
|
59279
|
+
security: [
|
|
59280
|
+
{ client_session_with_customer: [] },
|
|
59281
|
+
{ console_session_with_workspace: [] },
|
|
59282
|
+
],
|
|
59204
59283
|
summary: '/seam/customer/v1/reservations/list',
|
|
59205
59284
|
tags: [],
|
|
59206
59285
|
'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'reservations'],
|
|
@@ -59223,6 +59302,10 @@ export default {
|
|
|
59223
59302
|
format: 'date-time',
|
|
59224
59303
|
type: 'string',
|
|
59225
59304
|
},
|
|
59305
|
+
customer_key: {
|
|
59306
|
+
description: 'The customer_key identifying the customer. Required when not using client_session_with_customer auth.',
|
|
59307
|
+
type: 'string',
|
|
59308
|
+
},
|
|
59226
59309
|
limit: {
|
|
59227
59310
|
default: 500,
|
|
59228
59311
|
description: 'Maximum number of records to return per page.',
|
|
@@ -59421,7 +59504,10 @@ export default {
|
|
|
59421
59504
|
400: { description: 'Bad Request' },
|
|
59422
59505
|
401: { description: 'Unauthorized' },
|
|
59423
59506
|
},
|
|
59424
|
-
security: [
|
|
59507
|
+
security: [
|
|
59508
|
+
{ client_session_with_customer: [] },
|
|
59509
|
+
{ console_session_with_workspace: [] },
|
|
59510
|
+
],
|
|
59425
59511
|
summary: '/seam/customer/v1/reservations/list',
|
|
59426
59512
|
tags: [],
|
|
59427
59513
|
'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'reservations'],
|