@seamapi/types 1.756.0 → 1.758.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 +28 -6
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +37 -2
- package/dist/index.cjs +28 -6
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.d.ts +29 -0
- package/lib/seam/connect/openapi.js +28 -6
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +8 -2
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +38 -6
- package/src/lib/seam/connect/route-types.ts +16 -2
|
@@ -4251,10 +4251,12 @@ export type Routes = {
|
|
|
4251
4251
|
commonParams: {
|
|
4252
4252
|
/** Customer key for which you want to list access codes. */
|
|
4253
4253
|
customer_key?: string | undefined;
|
|
4254
|
-
/** ID of the device for which you want to list access codes. Specify
|
|
4254
|
+
/** ID of the device for which you want to list access codes. Specify `device_id`, `access_code_ids`, or `access_method_id`. */
|
|
4255
4255
|
device_id?: string | undefined;
|
|
4256
|
-
/** IDs of the access codes that you want to retrieve. Specify
|
|
4256
|
+
/** IDs of the access codes that you want to retrieve. Specify `device_id`, `access_code_ids`, or `access_method_id`. */
|
|
4257
4257
|
access_code_ids?: string[] | undefined;
|
|
4258
|
+
/** ID of the access method for which you want to list access codes. Specify `device_id`, `access_code_ids`, or `access_method_id`. */
|
|
4259
|
+
access_method_id?: string | undefined;
|
|
4258
4260
|
/** Your user ID for the user by which to filter access codes. */
|
|
4259
4261
|
user_identifier_key?: string | undefined;
|
|
4260
4262
|
/** Numerical limit on the number of access codes to return. */
|
|
@@ -59653,6 +59655,7 @@ export type Routes = {
|
|
|
59653
59655
|
code_count_on_reservation_create?: number | undefined;
|
|
59654
59656
|
instant_key_max_use_count?: number | undefined;
|
|
59655
59657
|
prefer_guest_phone_last4_as_code?: boolean | undefined;
|
|
59658
|
+
allow_shared_email_and_phone_across_user_identities?: boolean | undefined;
|
|
59656
59659
|
};
|
|
59657
59660
|
} | undefined;
|
|
59658
59661
|
reservation_time_updated?: {
|
|
@@ -59736,6 +59739,7 @@ export type Routes = {
|
|
|
59736
59739
|
code_count_on_reservation_create?: number | undefined;
|
|
59737
59740
|
instant_key_max_use_count?: number | undefined;
|
|
59738
59741
|
prefer_guest_phone_last4_as_code?: boolean | undefined;
|
|
59742
|
+
allow_shared_email_and_phone_across_user_identities?: boolean | undefined;
|
|
59739
59743
|
};
|
|
59740
59744
|
} | undefined;
|
|
59741
59745
|
reservation_time_updated?: {
|
|
@@ -60032,6 +60036,7 @@ export type Routes = {
|
|
|
60032
60036
|
code_count_on_reservation_create?: number | undefined;
|
|
60033
60037
|
instant_key_max_use_count?: number | undefined;
|
|
60034
60038
|
prefer_guest_phone_last4_as_code?: boolean | undefined;
|
|
60039
|
+
allow_shared_email_and_phone_across_user_identities?: boolean | undefined;
|
|
60035
60040
|
};
|
|
60036
60041
|
} | undefined;
|
|
60037
60042
|
reservation_time_updated?: {
|
|
@@ -60114,6 +60119,7 @@ export type Routes = {
|
|
|
60114
60119
|
code_count_on_reservation_create?: number | undefined;
|
|
60115
60120
|
instant_key_max_use_count?: number | undefined;
|
|
60116
60121
|
prefer_guest_phone_last4_as_code?: boolean | undefined;
|
|
60122
|
+
allow_shared_email_and_phone_across_user_identities?: boolean | undefined;
|
|
60117
60123
|
};
|
|
60118
60124
|
} | undefined;
|
|
60119
60125
|
reservation_time_updated?: {
|
package/package.json
CHANGED
|
@@ -31979,7 +31979,7 @@ export default {
|
|
|
31979
31979
|
'/access_codes/list': {
|
|
31980
31980
|
get: {
|
|
31981
31981
|
description:
|
|
31982
|
-
'Returns a list of all [access codes](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes).\n\nSpecify
|
|
31982
|
+
'Returns a list of all [access codes](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes).\n\nSpecify `device_id`, `access_code_ids`, or `access_method_id`.',
|
|
31983
31983
|
operationId: 'accessCodesListGet',
|
|
31984
31984
|
parameters: [
|
|
31985
31985
|
{
|
|
@@ -31996,7 +31996,7 @@ export default {
|
|
|
31996
31996
|
name: 'device_id',
|
|
31997
31997
|
schema: {
|
|
31998
31998
|
description:
|
|
31999
|
-
'ID of the device for which you want to list access codes. Specify
|
|
31999
|
+
'ID of the device for which you want to list access codes. Specify `device_id`, `access_code_ids`, or `access_method_id`.',
|
|
32000
32000
|
format: 'uuid',
|
|
32001
32001
|
type: 'string',
|
|
32002
32002
|
},
|
|
@@ -32006,11 +32006,21 @@ export default {
|
|
|
32006
32006
|
name: 'access_code_ids',
|
|
32007
32007
|
schema: {
|
|
32008
32008
|
description:
|
|
32009
|
-
'IDs of the access codes that you want to retrieve. Specify
|
|
32009
|
+
'IDs of the access codes that you want to retrieve. Specify `device_id`, `access_code_ids`, or `access_method_id`.',
|
|
32010
32010
|
items: { format: 'uuid', type: 'string' },
|
|
32011
32011
|
type: 'array',
|
|
32012
32012
|
},
|
|
32013
32013
|
},
|
|
32014
|
+
{
|
|
32015
|
+
in: 'query',
|
|
32016
|
+
name: 'access_method_id',
|
|
32017
|
+
schema: {
|
|
32018
|
+
description:
|
|
32019
|
+
'ID of the access method for which you want to list access codes. Specify `device_id`, `access_code_ids`, or `access_method_id`.',
|
|
32020
|
+
format: 'uuid',
|
|
32021
|
+
type: 'string',
|
|
32022
|
+
},
|
|
32023
|
+
},
|
|
32014
32024
|
{
|
|
32015
32025
|
in: 'query',
|
|
32016
32026
|
name: 'user_identifier_key',
|
|
@@ -32092,7 +32102,7 @@ export default {
|
|
|
32092
32102
|
},
|
|
32093
32103
|
post: {
|
|
32094
32104
|
description:
|
|
32095
|
-
'Returns a list of all [access codes](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes).\n\nSpecify
|
|
32105
|
+
'Returns a list of all [access codes](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes).\n\nSpecify `device_id`, `access_code_ids`, or `access_method_id`.',
|
|
32096
32106
|
operationId: 'accessCodesListPost',
|
|
32097
32107
|
requestBody: {
|
|
32098
32108
|
content: {
|
|
@@ -32101,10 +32111,16 @@ export default {
|
|
|
32101
32111
|
properties: {
|
|
32102
32112
|
access_code_ids: {
|
|
32103
32113
|
description:
|
|
32104
|
-
'IDs of the access codes that you want to retrieve. Specify
|
|
32114
|
+
'IDs of the access codes that you want to retrieve. Specify `device_id`, `access_code_ids`, or `access_method_id`.',
|
|
32105
32115
|
items: { format: 'uuid', type: 'string' },
|
|
32106
32116
|
type: 'array',
|
|
32107
32117
|
},
|
|
32118
|
+
access_method_id: {
|
|
32119
|
+
description:
|
|
32120
|
+
'ID of the access method for which you want to list access codes. Specify `device_id`, `access_code_ids`, or `access_method_id`.',
|
|
32121
|
+
format: 'uuid',
|
|
32122
|
+
type: 'string',
|
|
32123
|
+
},
|
|
32108
32124
|
customer_key: {
|
|
32109
32125
|
description:
|
|
32110
32126
|
'Customer key for which you want to list access codes.',
|
|
@@ -32112,7 +32128,7 @@ export default {
|
|
|
32112
32128
|
},
|
|
32113
32129
|
device_id: {
|
|
32114
32130
|
description:
|
|
32115
|
-
'ID of the device for which you want to list access codes. Specify
|
|
32131
|
+
'ID of the device for which you want to list access codes. Specify `device_id`, `access_code_ids`, or `access_method_id`.',
|
|
32116
32132
|
format: 'uuid',
|
|
32117
32133
|
type: 'string',
|
|
32118
32134
|
},
|
|
@@ -61393,6 +61409,8 @@ export default {
|
|
|
61393
61409
|
minItems: 1,
|
|
61394
61410
|
type: 'array',
|
|
61395
61411
|
},
|
|
61412
|
+
allow_shared_email_and_phone_across_user_identities:
|
|
61413
|
+
{ type: 'boolean' },
|
|
61396
61414
|
card_count_on_reservation_create: {
|
|
61397
61415
|
minimum: 0,
|
|
61398
61416
|
type: 'integer',
|
|
@@ -61694,6 +61712,8 @@ export default {
|
|
|
61694
61712
|
minItems: 1,
|
|
61695
61713
|
type: 'array',
|
|
61696
61714
|
},
|
|
61715
|
+
allow_shared_email_and_phone_across_user_identities:
|
|
61716
|
+
{ type: 'boolean' },
|
|
61697
61717
|
card_count_on_reservation_create: {
|
|
61698
61718
|
minimum: 0,
|
|
61699
61719
|
type: 'integer',
|
|
@@ -61981,6 +62001,8 @@ export default {
|
|
|
61981
62001
|
minItems: 1,
|
|
61982
62002
|
type: 'array',
|
|
61983
62003
|
},
|
|
62004
|
+
allow_shared_email_and_phone_across_user_identities:
|
|
62005
|
+
{ type: 'boolean' },
|
|
61984
62006
|
card_count_on_reservation_create: {
|
|
61985
62007
|
minimum: 0,
|
|
61986
62008
|
type: 'integer',
|
|
@@ -62269,6 +62291,8 @@ export default {
|
|
|
62269
62291
|
minItems: 1,
|
|
62270
62292
|
type: 'array',
|
|
62271
62293
|
},
|
|
62294
|
+
allow_shared_email_and_phone_across_user_identities:
|
|
62295
|
+
{ type: 'boolean' },
|
|
62272
62296
|
card_count_on_reservation_create: {
|
|
62273
62297
|
minimum: 0,
|
|
62274
62298
|
type: 'integer',
|
|
@@ -63532,6 +63556,8 @@ export default {
|
|
|
63532
63556
|
minItems: 1,
|
|
63533
63557
|
type: 'array',
|
|
63534
63558
|
},
|
|
63559
|
+
allow_shared_email_and_phone_across_user_identities:
|
|
63560
|
+
{ type: 'boolean' },
|
|
63535
63561
|
card_count_on_reservation_create: {
|
|
63536
63562
|
minimum: 0,
|
|
63537
63563
|
type: 'integer',
|
|
@@ -63832,6 +63858,8 @@ export default {
|
|
|
63832
63858
|
minItems: 1,
|
|
63833
63859
|
type: 'array',
|
|
63834
63860
|
},
|
|
63861
|
+
allow_shared_email_and_phone_across_user_identities:
|
|
63862
|
+
{ type: 'boolean' },
|
|
63835
63863
|
card_count_on_reservation_create: {
|
|
63836
63864
|
minimum: 0,
|
|
63837
63865
|
type: 'integer',
|
|
@@ -64132,6 +64160,8 @@ export default {
|
|
|
64132
64160
|
minItems: 1,
|
|
64133
64161
|
type: 'array',
|
|
64134
64162
|
},
|
|
64163
|
+
allow_shared_email_and_phone_across_user_identities:
|
|
64164
|
+
{ type: 'boolean' },
|
|
64135
64165
|
card_count_on_reservation_create: {
|
|
64136
64166
|
minimum: 0,
|
|
64137
64167
|
type: 'integer',
|
|
@@ -64420,6 +64450,8 @@ export default {
|
|
|
64420
64450
|
minItems: 1,
|
|
64421
64451
|
type: 'array',
|
|
64422
64452
|
},
|
|
64453
|
+
allow_shared_email_and_phone_across_user_identities:
|
|
64454
|
+
{ type: 'boolean' },
|
|
64423
64455
|
card_count_on_reservation_create: {
|
|
64424
64456
|
minimum: 0,
|
|
64425
64457
|
type: 'integer',
|
|
@@ -4863,10 +4863,12 @@ export type Routes = {
|
|
|
4863
4863
|
commonParams: {
|
|
4864
4864
|
/** Customer key for which you want to list access codes. */
|
|
4865
4865
|
customer_key?: string | undefined
|
|
4866
|
-
/** ID of the device for which you want to list access codes. Specify
|
|
4866
|
+
/** ID of the device for which you want to list access codes. Specify `device_id`, `access_code_ids`, or `access_method_id`. */
|
|
4867
4867
|
device_id?: string | undefined
|
|
4868
|
-
/** IDs of the access codes that you want to retrieve. Specify
|
|
4868
|
+
/** IDs of the access codes that you want to retrieve. Specify `device_id`, `access_code_ids`, or `access_method_id`. */
|
|
4869
4869
|
access_code_ids?: string[] | undefined
|
|
4870
|
+
/** ID of the access method for which you want to list access codes. Specify `device_id`, `access_code_ids`, or `access_method_id`. */
|
|
4871
|
+
access_method_id?: string | undefined
|
|
4870
4872
|
/** Your user ID for the user by which to filter access codes. */
|
|
4871
4873
|
user_identifier_key?: string | undefined
|
|
4872
4874
|
/** Numerical limit on the number of access codes to return. */
|
|
@@ -70993,6 +70995,9 @@ export type Routes = {
|
|
|
70993
70995
|
code_count_on_reservation_create?: number | undefined
|
|
70994
70996
|
instant_key_max_use_count?: number | undefined
|
|
70995
70997
|
prefer_guest_phone_last4_as_code?: boolean | undefined
|
|
70998
|
+
allow_shared_email_and_phone_across_user_identities?:
|
|
70999
|
+
| boolean
|
|
71000
|
+
| undefined
|
|
70996
71001
|
}
|
|
70997
71002
|
}
|
|
70998
71003
|
| undefined
|
|
@@ -71105,6 +71110,9 @@ export type Routes = {
|
|
|
71105
71110
|
code_count_on_reservation_create?: number | undefined
|
|
71106
71111
|
instant_key_max_use_count?: number | undefined
|
|
71107
71112
|
prefer_guest_phone_last4_as_code?: boolean | undefined
|
|
71113
|
+
allow_shared_email_and_phone_across_user_identities?:
|
|
71114
|
+
| boolean
|
|
71115
|
+
| undefined
|
|
71108
71116
|
}
|
|
71109
71117
|
}
|
|
71110
71118
|
| undefined
|
|
@@ -71438,6 +71446,9 @@ export type Routes = {
|
|
|
71438
71446
|
code_count_on_reservation_create?: number | undefined
|
|
71439
71447
|
instant_key_max_use_count?: number | undefined
|
|
71440
71448
|
prefer_guest_phone_last4_as_code?: boolean | undefined
|
|
71449
|
+
allow_shared_email_and_phone_across_user_identities?:
|
|
71450
|
+
| boolean
|
|
71451
|
+
| undefined
|
|
71441
71452
|
}
|
|
71442
71453
|
}
|
|
71443
71454
|
| undefined
|
|
@@ -71551,6 +71562,9 @@ export type Routes = {
|
|
|
71551
71562
|
code_count_on_reservation_create?: number | undefined
|
|
71552
71563
|
instant_key_max_use_count?: number | undefined
|
|
71553
71564
|
prefer_guest_phone_last4_as_code?: boolean | undefined
|
|
71565
|
+
allow_shared_email_and_phone_across_user_identities?:
|
|
71566
|
+
| boolean
|
|
71567
|
+
| undefined
|
|
71554
71568
|
}
|
|
71555
71569
|
}
|
|
71556
71570
|
| undefined
|