@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
package/dist/connect.d.cts
CHANGED
|
@@ -82306,6 +82306,11 @@ declare const _default: {
|
|
|
82306
82306
|
};
|
|
82307
82307
|
type: string;
|
|
82308
82308
|
};
|
|
82309
|
+
access_method_id: {
|
|
82310
|
+
description: string;
|
|
82311
|
+
format: string;
|
|
82312
|
+
type: string;
|
|
82313
|
+
};
|
|
82309
82314
|
customer_key: {
|
|
82310
82315
|
description: string;
|
|
82311
82316
|
type: string;
|
|
@@ -112131,6 +112136,9 @@ declare const _default: {
|
|
|
112131
112136
|
minItems: number;
|
|
112132
112137
|
type: string;
|
|
112133
112138
|
};
|
|
112139
|
+
allow_shared_email_and_phone_across_user_identities: {
|
|
112140
|
+
type: string;
|
|
112141
|
+
};
|
|
112134
112142
|
card_count_on_reservation_create: {
|
|
112135
112143
|
minimum: number;
|
|
112136
112144
|
type: string;
|
|
@@ -112433,6 +112441,9 @@ declare const _default: {
|
|
|
112433
112441
|
minItems: number;
|
|
112434
112442
|
type: string;
|
|
112435
112443
|
};
|
|
112444
|
+
allow_shared_email_and_phone_across_user_identities: {
|
|
112445
|
+
type: string;
|
|
112446
|
+
};
|
|
112436
112447
|
card_count_on_reservation_create: {
|
|
112437
112448
|
minimum: number;
|
|
112438
112449
|
type: string;
|
|
@@ -112722,6 +112733,9 @@ declare const _default: {
|
|
|
112722
112733
|
minItems: number;
|
|
112723
112734
|
type: string;
|
|
112724
112735
|
};
|
|
112736
|
+
allow_shared_email_and_phone_across_user_identities: {
|
|
112737
|
+
type: string;
|
|
112738
|
+
};
|
|
112725
112739
|
card_count_on_reservation_create: {
|
|
112726
112740
|
minimum: number;
|
|
112727
112741
|
type: string;
|
|
@@ -113034,6 +113048,9 @@ declare const _default: {
|
|
|
113034
113048
|
minItems: number;
|
|
113035
113049
|
type: string;
|
|
113036
113050
|
};
|
|
113051
|
+
allow_shared_email_and_phone_across_user_identities: {
|
|
113052
|
+
type: string;
|
|
113053
|
+
};
|
|
113037
113054
|
card_count_on_reservation_create: {
|
|
113038
113055
|
minimum: number;
|
|
113039
113056
|
type: string;
|
|
@@ -114475,6 +114492,9 @@ declare const _default: {
|
|
|
114475
114492
|
minItems: number;
|
|
114476
114493
|
type: string;
|
|
114477
114494
|
};
|
|
114495
|
+
allow_shared_email_and_phone_across_user_identities: {
|
|
114496
|
+
type: string;
|
|
114497
|
+
};
|
|
114478
114498
|
card_count_on_reservation_create: {
|
|
114479
114499
|
minimum: number;
|
|
114480
114500
|
type: string;
|
|
@@ -114763,6 +114783,9 @@ declare const _default: {
|
|
|
114763
114783
|
minItems: number;
|
|
114764
114784
|
type: string;
|
|
114765
114785
|
};
|
|
114786
|
+
allow_shared_email_and_phone_across_user_identities: {
|
|
114787
|
+
type: string;
|
|
114788
|
+
};
|
|
114766
114789
|
card_count_on_reservation_create: {
|
|
114767
114790
|
minimum: number;
|
|
114768
114791
|
type: string;
|
|
@@ -115051,6 +115074,9 @@ declare const _default: {
|
|
|
115051
115074
|
minItems: number;
|
|
115052
115075
|
type: string;
|
|
115053
115076
|
};
|
|
115077
|
+
allow_shared_email_and_phone_across_user_identities: {
|
|
115078
|
+
type: string;
|
|
115079
|
+
};
|
|
115054
115080
|
card_count_on_reservation_create: {
|
|
115055
115081
|
minimum: number;
|
|
115056
115082
|
type: string;
|
|
@@ -115354,6 +115380,9 @@ declare const _default: {
|
|
|
115354
115380
|
minItems: number;
|
|
115355
115381
|
type: string;
|
|
115356
115382
|
};
|
|
115383
|
+
allow_shared_email_and_phone_across_user_identities: {
|
|
115384
|
+
type: string;
|
|
115385
|
+
};
|
|
115357
115386
|
card_count_on_reservation_create: {
|
|
115358
115387
|
minimum: number;
|
|
115359
115388
|
type: string;
|
|
@@ -137084,10 +137113,12 @@ type Routes = {
|
|
|
137084
137113
|
commonParams: {
|
|
137085
137114
|
/** Customer key for which you want to list access codes. */
|
|
137086
137115
|
customer_key?: string | undefined;
|
|
137087
|
-
/** ID of the device for which you want to list access codes. Specify
|
|
137116
|
+
/** ID of the device for which you want to list access codes. Specify `device_id`, `access_code_ids`, or `access_method_id`. */
|
|
137088
137117
|
device_id?: string | undefined;
|
|
137089
|
-
/** IDs of the access codes that you want to retrieve. Specify
|
|
137118
|
+
/** IDs of the access codes that you want to retrieve. Specify `device_id`, `access_code_ids`, or `access_method_id`. */
|
|
137090
137119
|
access_code_ids?: string[] | undefined;
|
|
137120
|
+
/** ID of the access method for which you want to list access codes. Specify `device_id`, `access_code_ids`, or `access_method_id`. */
|
|
137121
|
+
access_method_id?: string | undefined;
|
|
137091
137122
|
/** Your user ID for the user by which to filter access codes. */
|
|
137092
137123
|
user_identifier_key?: string | undefined;
|
|
137093
137124
|
/** Numerical limit on the number of access codes to return. */
|
|
@@ -192486,6 +192517,7 @@ type Routes = {
|
|
|
192486
192517
|
code_count_on_reservation_create?: number | undefined;
|
|
192487
192518
|
instant_key_max_use_count?: number | undefined;
|
|
192488
192519
|
prefer_guest_phone_last4_as_code?: boolean | undefined;
|
|
192520
|
+
allow_shared_email_and_phone_across_user_identities?: boolean | undefined;
|
|
192489
192521
|
};
|
|
192490
192522
|
} | undefined;
|
|
192491
192523
|
reservation_time_updated?: {
|
|
@@ -192569,6 +192601,7 @@ type Routes = {
|
|
|
192569
192601
|
code_count_on_reservation_create?: number | undefined;
|
|
192570
192602
|
instant_key_max_use_count?: number | undefined;
|
|
192571
192603
|
prefer_guest_phone_last4_as_code?: boolean | undefined;
|
|
192604
|
+
allow_shared_email_and_phone_across_user_identities?: boolean | undefined;
|
|
192572
192605
|
};
|
|
192573
192606
|
} | undefined;
|
|
192574
192607
|
reservation_time_updated?: {
|
|
@@ -192865,6 +192898,7 @@ type Routes = {
|
|
|
192865
192898
|
code_count_on_reservation_create?: number | undefined;
|
|
192866
192899
|
instant_key_max_use_count?: number | undefined;
|
|
192867
192900
|
prefer_guest_phone_last4_as_code?: boolean | undefined;
|
|
192901
|
+
allow_shared_email_and_phone_across_user_identities?: boolean | undefined;
|
|
192868
192902
|
};
|
|
192869
192903
|
} | undefined;
|
|
192870
192904
|
reservation_time_updated?: {
|
|
@@ -192947,6 +192981,7 @@ type Routes = {
|
|
|
192947
192981
|
code_count_on_reservation_create?: number | undefined;
|
|
192948
192982
|
instant_key_max_use_count?: number | undefined;
|
|
192949
192983
|
prefer_guest_phone_last4_as_code?: boolean | undefined;
|
|
192984
|
+
allow_shared_email_and_phone_across_user_identities?: boolean | undefined;
|
|
192950
192985
|
};
|
|
192951
192986
|
} | undefined;
|
|
192952
192987
|
reservation_time_updated?: {
|
package/dist/index.cjs
CHANGED
|
@@ -35236,7 +35236,7 @@ var openapi_default = {
|
|
|
35236
35236
|
},
|
|
35237
35237
|
"/access_codes/list": {
|
|
35238
35238
|
get: {
|
|
35239
|
-
description: "Returns a list of all [access codes](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes).\n\nSpecify
|
|
35239
|
+
description: "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`.",
|
|
35240
35240
|
operationId: "accessCodesListGet",
|
|
35241
35241
|
parameters: [
|
|
35242
35242
|
{
|
|
@@ -35251,7 +35251,7 @@ var openapi_default = {
|
|
|
35251
35251
|
in: "query",
|
|
35252
35252
|
name: "device_id",
|
|
35253
35253
|
schema: {
|
|
35254
|
-
description: "ID of the device for which you want to list access codes. Specify
|
|
35254
|
+
description: "ID of the device for which you want to list access codes. Specify `device_id`, `access_code_ids`, or `access_method_id`.",
|
|
35255
35255
|
format: "uuid",
|
|
35256
35256
|
type: "string"
|
|
35257
35257
|
}
|
|
@@ -35260,11 +35260,20 @@ var openapi_default = {
|
|
|
35260
35260
|
in: "query",
|
|
35261
35261
|
name: "access_code_ids",
|
|
35262
35262
|
schema: {
|
|
35263
|
-
description: "IDs of the access codes that you want to retrieve. Specify
|
|
35263
|
+
description: "IDs of the access codes that you want to retrieve. Specify `device_id`, `access_code_ids`, or `access_method_id`.",
|
|
35264
35264
|
items: { format: "uuid", type: "string" },
|
|
35265
35265
|
type: "array"
|
|
35266
35266
|
}
|
|
35267
35267
|
},
|
|
35268
|
+
{
|
|
35269
|
+
in: "query",
|
|
35270
|
+
name: "access_method_id",
|
|
35271
|
+
schema: {
|
|
35272
|
+
description: "ID of the access method for which you want to list access codes. Specify `device_id`, `access_code_ids`, or `access_method_id`.",
|
|
35273
|
+
format: "uuid",
|
|
35274
|
+
type: "string"
|
|
35275
|
+
}
|
|
35276
|
+
},
|
|
35268
35277
|
{
|
|
35269
35278
|
in: "query",
|
|
35270
35279
|
name: "user_identifier_key",
|
|
@@ -35341,7 +35350,7 @@ var openapi_default = {
|
|
|
35341
35350
|
"x-title": "List Access Codes"
|
|
35342
35351
|
},
|
|
35343
35352
|
post: {
|
|
35344
|
-
description: "Returns a list of all [access codes](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes).\n\nSpecify
|
|
35353
|
+
description: "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`.",
|
|
35345
35354
|
operationId: "accessCodesListPost",
|
|
35346
35355
|
requestBody: {
|
|
35347
35356
|
content: {
|
|
@@ -35349,16 +35358,21 @@ var openapi_default = {
|
|
|
35349
35358
|
schema: {
|
|
35350
35359
|
properties: {
|
|
35351
35360
|
access_code_ids: {
|
|
35352
|
-
description: "IDs of the access codes that you want to retrieve. Specify
|
|
35361
|
+
description: "IDs of the access codes that you want to retrieve. Specify `device_id`, `access_code_ids`, or `access_method_id`.",
|
|
35353
35362
|
items: { format: "uuid", type: "string" },
|
|
35354
35363
|
type: "array"
|
|
35355
35364
|
},
|
|
35365
|
+
access_method_id: {
|
|
35366
|
+
description: "ID of the access method for which you want to list access codes. Specify `device_id`, `access_code_ids`, or `access_method_id`.",
|
|
35367
|
+
format: "uuid",
|
|
35368
|
+
type: "string"
|
|
35369
|
+
},
|
|
35356
35370
|
customer_key: {
|
|
35357
35371
|
description: "Customer key for which you want to list access codes.",
|
|
35358
35372
|
type: "string"
|
|
35359
35373
|
},
|
|
35360
35374
|
device_id: {
|
|
35361
|
-
description: "ID of the device for which you want to list access codes. Specify
|
|
35375
|
+
description: "ID of the device for which you want to list access codes. Specify `device_id`, `access_code_ids`, or `access_method_id`.",
|
|
35362
35376
|
format: "uuid",
|
|
35363
35377
|
type: "string"
|
|
35364
35378
|
},
|
|
@@ -62808,6 +62822,7 @@ var openapi_default = {
|
|
|
62808
62822
|
minItems: 1,
|
|
62809
62823
|
type: "array"
|
|
62810
62824
|
},
|
|
62825
|
+
allow_shared_email_and_phone_across_user_identities: { type: "boolean" },
|
|
62811
62826
|
card_count_on_reservation_create: {
|
|
62812
62827
|
minimum: 0,
|
|
62813
62828
|
type: "integer"
|
|
@@ -63107,6 +63122,7 @@ var openapi_default = {
|
|
|
63107
63122
|
minItems: 1,
|
|
63108
63123
|
type: "array"
|
|
63109
63124
|
},
|
|
63125
|
+
allow_shared_email_and_phone_across_user_identities: { type: "boolean" },
|
|
63110
63126
|
card_count_on_reservation_create: {
|
|
63111
63127
|
minimum: 0,
|
|
63112
63128
|
type: "integer"
|
|
@@ -63393,6 +63409,7 @@ var openapi_default = {
|
|
|
63393
63409
|
minItems: 1,
|
|
63394
63410
|
type: "array"
|
|
63395
63411
|
},
|
|
63412
|
+
allow_shared_email_and_phone_across_user_identities: { type: "boolean" },
|
|
63396
63413
|
card_count_on_reservation_create: {
|
|
63397
63414
|
minimum: 0,
|
|
63398
63415
|
type: "integer"
|
|
@@ -63679,6 +63696,7 @@ var openapi_default = {
|
|
|
63679
63696
|
minItems: 1,
|
|
63680
63697
|
type: "array"
|
|
63681
63698
|
},
|
|
63699
|
+
allow_shared_email_and_phone_across_user_identities: { type: "boolean" },
|
|
63682
63700
|
card_count_on_reservation_create: {
|
|
63683
63701
|
minimum: 0,
|
|
63684
63702
|
type: "integer"
|
|
@@ -64924,6 +64942,7 @@ var openapi_default = {
|
|
|
64924
64942
|
minItems: 1,
|
|
64925
64943
|
type: "array"
|
|
64926
64944
|
},
|
|
64945
|
+
allow_shared_email_and_phone_across_user_identities: { type: "boolean" },
|
|
64927
64946
|
card_count_on_reservation_create: {
|
|
64928
64947
|
minimum: 0,
|
|
64929
64948
|
type: "integer"
|
|
@@ -65223,6 +65242,7 @@ var openapi_default = {
|
|
|
65223
65242
|
minItems: 1,
|
|
65224
65243
|
type: "array"
|
|
65225
65244
|
},
|
|
65245
|
+
allow_shared_email_and_phone_across_user_identities: { type: "boolean" },
|
|
65226
65246
|
card_count_on_reservation_create: {
|
|
65227
65247
|
minimum: 0,
|
|
65228
65248
|
type: "integer"
|
|
@@ -65522,6 +65542,7 @@ var openapi_default = {
|
|
|
65522
65542
|
minItems: 1,
|
|
65523
65543
|
type: "array"
|
|
65524
65544
|
},
|
|
65545
|
+
allow_shared_email_and_phone_across_user_identities: { type: "boolean" },
|
|
65525
65546
|
card_count_on_reservation_create: {
|
|
65526
65547
|
minimum: 0,
|
|
65527
65548
|
type: "integer"
|
|
@@ -65809,6 +65830,7 @@ var openapi_default = {
|
|
|
65809
65830
|
minItems: 1,
|
|
65810
65831
|
type: "array"
|
|
65811
65832
|
},
|
|
65833
|
+
allow_shared_email_and_phone_across_user_identities: { type: "boolean" },
|
|
65812
65834
|
card_count_on_reservation_create: {
|
|
65813
65835
|
minimum: 0,
|
|
65814
65836
|
type: "integer"
|