@seamapi/types 1.730.0 → 1.732.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 +92 -4
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +224 -10
- package/dist/index.cjs +92 -4
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +23 -0
- package/lib/seam/connect/models/acs/acs-entrance.js +4 -1
- package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
- package/lib/seam/connect/models/acs/metadata/brivo.d.ts +15 -0
- package/lib/seam/connect/models/acs/metadata/brivo.js +15 -0
- package/lib/seam/connect/models/acs/metadata/brivo.js.map +1 -0
- package/lib/seam/connect/models/acs/metadata/index.d.ts +1 -0
- package/lib/seam/connect/models/acs/metadata/index.js +1 -0
- package/lib/seam/connect/models/acs/metadata/index.js.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +33 -0
- package/lib/seam/connect/models/phones/phone-session.d.ts +96 -0
- package/lib/seam/connect/openapi.d.ts +74 -10
- package/lib/seam/connect/openapi.js +84 -4
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +94 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-entrance.ts +6 -0
- package/src/lib/seam/connect/models/acs/metadata/brivo.ts +19 -0
- package/src/lib/seam/connect/models/acs/metadata/index.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +95 -4
- package/src/lib/seam/connect/route-types.ts +114 -0
package/dist/connect.d.cts
CHANGED
|
@@ -5281,6 +5281,19 @@ declare const acs_entrance: z.ZodObject<{
|
|
|
5281
5281
|
}, {
|
|
5282
5282
|
access_point_name: string;
|
|
5283
5283
|
}>>;
|
|
5284
|
+
brivo_metadata: z.ZodOptional<z.ZodObject<{
|
|
5285
|
+
access_point_id: z.ZodString;
|
|
5286
|
+
site_id: z.ZodNumber;
|
|
5287
|
+
site_name: z.ZodString;
|
|
5288
|
+
}, "strip", z.ZodTypeAny, {
|
|
5289
|
+
site_id: number;
|
|
5290
|
+
site_name: string;
|
|
5291
|
+
access_point_id: string;
|
|
5292
|
+
}, {
|
|
5293
|
+
site_id: number;
|
|
5294
|
+
site_name: string;
|
|
5295
|
+
access_point_id: string;
|
|
5296
|
+
}>>;
|
|
5284
5297
|
} & {
|
|
5285
5298
|
can_unlock_with_mobile_key: z.ZodOptional<z.ZodBoolean>;
|
|
5286
5299
|
can_unlock_with_card: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -5307,6 +5320,11 @@ declare const acs_entrance: z.ZodObject<{
|
|
|
5307
5320
|
intrusion_alarm?: boolean | undefined;
|
|
5308
5321
|
privacy_mode?: boolean | undefined;
|
|
5309
5322
|
} | undefined;
|
|
5323
|
+
brivo_metadata?: {
|
|
5324
|
+
site_id: number;
|
|
5325
|
+
site_name: string;
|
|
5326
|
+
access_point_id: string;
|
|
5327
|
+
} | undefined;
|
|
5310
5328
|
visionline_metadata?: {
|
|
5311
5329
|
door_name: string;
|
|
5312
5330
|
door_category: "entrance" | "guest" | "elevator reader" | "common" | "common (PMS)";
|
|
@@ -5372,6 +5390,11 @@ declare const acs_entrance: z.ZodObject<{
|
|
|
5372
5390
|
intrusion_alarm?: boolean | undefined;
|
|
5373
5391
|
privacy_mode?: boolean | undefined;
|
|
5374
5392
|
} | undefined;
|
|
5393
|
+
brivo_metadata?: {
|
|
5394
|
+
site_id: number;
|
|
5395
|
+
site_name: string;
|
|
5396
|
+
access_point_id: string;
|
|
5397
|
+
} | undefined;
|
|
5375
5398
|
visionline_metadata?: {
|
|
5376
5399
|
door_name: string;
|
|
5377
5400
|
door_category: "entrance" | "guest" | "elevator reader" | "common" | "common (PMS)";
|
|
@@ -16137,6 +16160,19 @@ declare const batch: z.ZodObject<{
|
|
|
16137
16160
|
}, {
|
|
16138
16161
|
access_point_name: string;
|
|
16139
16162
|
}>>;
|
|
16163
|
+
brivo_metadata: z.ZodOptional<z.ZodObject<{
|
|
16164
|
+
access_point_id: z.ZodString;
|
|
16165
|
+
site_id: z.ZodNumber;
|
|
16166
|
+
site_name: z.ZodString;
|
|
16167
|
+
}, "strip", z.ZodTypeAny, {
|
|
16168
|
+
site_id: number;
|
|
16169
|
+
site_name: string;
|
|
16170
|
+
access_point_id: string;
|
|
16171
|
+
}, {
|
|
16172
|
+
site_id: number;
|
|
16173
|
+
site_name: string;
|
|
16174
|
+
access_point_id: string;
|
|
16175
|
+
}>>;
|
|
16140
16176
|
} & {
|
|
16141
16177
|
can_unlock_with_mobile_key: z.ZodOptional<z.ZodBoolean>;
|
|
16142
16178
|
can_unlock_with_card: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -16163,6 +16199,11 @@ declare const batch: z.ZodObject<{
|
|
|
16163
16199
|
intrusion_alarm?: boolean | undefined;
|
|
16164
16200
|
privacy_mode?: boolean | undefined;
|
|
16165
16201
|
} | undefined;
|
|
16202
|
+
brivo_metadata?: {
|
|
16203
|
+
site_id: number;
|
|
16204
|
+
site_name: string;
|
|
16205
|
+
access_point_id: string;
|
|
16206
|
+
} | undefined;
|
|
16166
16207
|
visionline_metadata?: {
|
|
16167
16208
|
door_name: string;
|
|
16168
16209
|
door_category: "entrance" | "guest" | "elevator reader" | "common" | "common (PMS)";
|
|
@@ -16228,6 +16269,11 @@ declare const batch: z.ZodObject<{
|
|
|
16228
16269
|
intrusion_alarm?: boolean | undefined;
|
|
16229
16270
|
privacy_mode?: boolean | undefined;
|
|
16230
16271
|
} | undefined;
|
|
16272
|
+
brivo_metadata?: {
|
|
16273
|
+
site_id: number;
|
|
16274
|
+
site_name: string;
|
|
16275
|
+
access_point_id: string;
|
|
16276
|
+
} | undefined;
|
|
16231
16277
|
visionline_metadata?: {
|
|
16232
16278
|
door_name: string;
|
|
16233
16279
|
door_category: "entrance" | "guest" | "elevator reader" | "common" | "common (PMS)";
|
|
@@ -35979,6 +36025,11 @@ declare const batch: z.ZodObject<{
|
|
|
35979
36025
|
intrusion_alarm?: boolean | undefined;
|
|
35980
36026
|
privacy_mode?: boolean | undefined;
|
|
35981
36027
|
} | undefined;
|
|
36028
|
+
brivo_metadata?: {
|
|
36029
|
+
site_id: number;
|
|
36030
|
+
site_name: string;
|
|
36031
|
+
access_point_id: string;
|
|
36032
|
+
} | undefined;
|
|
35982
36033
|
visionline_metadata?: {
|
|
35983
36034
|
door_name: string;
|
|
35984
36035
|
door_category: "entrance" | "guest" | "elevator reader" | "common" | "common (PMS)";
|
|
@@ -40605,6 +40656,11 @@ declare const batch: z.ZodObject<{
|
|
|
40605
40656
|
intrusion_alarm?: boolean | undefined;
|
|
40606
40657
|
privacy_mode?: boolean | undefined;
|
|
40607
40658
|
} | undefined;
|
|
40659
|
+
brivo_metadata?: {
|
|
40660
|
+
site_id: number;
|
|
40661
|
+
site_name: string;
|
|
40662
|
+
access_point_id: string;
|
|
40663
|
+
} | undefined;
|
|
40608
40664
|
visionline_metadata?: {
|
|
40609
40665
|
door_name: string;
|
|
40610
40666
|
door_category: "entrance" | "guest" | "elevator reader" | "common" | "common (PMS)";
|
|
@@ -61094,6 +61150,26 @@ declare const _default: {
|
|
|
61094
61150
|
required: string[];
|
|
61095
61151
|
type: string;
|
|
61096
61152
|
};
|
|
61153
|
+
brivo_metadata: {
|
|
61154
|
+
description: string;
|
|
61155
|
+
properties: {
|
|
61156
|
+
access_point_id: {
|
|
61157
|
+
description: string;
|
|
61158
|
+
type: string;
|
|
61159
|
+
};
|
|
61160
|
+
site_id: {
|
|
61161
|
+
description: string;
|
|
61162
|
+
format: string;
|
|
61163
|
+
type: string;
|
|
61164
|
+
};
|
|
61165
|
+
site_name: {
|
|
61166
|
+
description: string;
|
|
61167
|
+
type: string;
|
|
61168
|
+
};
|
|
61169
|
+
};
|
|
61170
|
+
required: string[];
|
|
61171
|
+
type: string;
|
|
61172
|
+
};
|
|
61097
61173
|
can_belong_to_reservation: {
|
|
61098
61174
|
description: string;
|
|
61099
61175
|
type: string;
|
|
@@ -74177,6 +74253,26 @@ declare const _default: {
|
|
|
74177
74253
|
required: string[];
|
|
74178
74254
|
type: string;
|
|
74179
74255
|
};
|
|
74256
|
+
brivo_metadata: {
|
|
74257
|
+
description: string;
|
|
74258
|
+
properties: {
|
|
74259
|
+
access_point_id: {
|
|
74260
|
+
description: string;
|
|
74261
|
+
type: string;
|
|
74262
|
+
};
|
|
74263
|
+
site_id: {
|
|
74264
|
+
description: string;
|
|
74265
|
+
format: string;
|
|
74266
|
+
type: string;
|
|
74267
|
+
};
|
|
74268
|
+
site_name: {
|
|
74269
|
+
description: string;
|
|
74270
|
+
type: string;
|
|
74271
|
+
};
|
|
74272
|
+
};
|
|
74273
|
+
required: string[];
|
|
74274
|
+
type: string;
|
|
74275
|
+
};
|
|
74180
74276
|
can_belong_to_reservation: {
|
|
74181
74277
|
description: string;
|
|
74182
74278
|
type: string;
|
|
@@ -112373,16 +112469,16 @@ declare const _default: {
|
|
|
112373
112469
|
name: string;
|
|
112374
112470
|
schema: {
|
|
112375
112471
|
description: string;
|
|
112376
|
-
format: string;
|
|
112377
112472
|
type: string;
|
|
112473
|
+
format?: never;
|
|
112378
112474
|
};
|
|
112379
112475
|
} | {
|
|
112380
112476
|
in: string;
|
|
112381
112477
|
name: string;
|
|
112382
112478
|
schema: {
|
|
112383
112479
|
description: string;
|
|
112480
|
+
format: string;
|
|
112384
112481
|
type: string;
|
|
112385
|
-
format?: never;
|
|
112386
112482
|
};
|
|
112387
112483
|
})[];
|
|
112388
112484
|
responses: {
|
|
@@ -112537,9 +112633,13 @@ declare const _default: {
|
|
|
112537
112633
|
description: string;
|
|
112538
112634
|
};
|
|
112539
112635
|
};
|
|
112540
|
-
security: {
|
|
112636
|
+
security: ({
|
|
112541
112637
|
client_session_with_customer: never[];
|
|
112542
|
-
|
|
112638
|
+
console_session_with_workspace?: never;
|
|
112639
|
+
} | {
|
|
112640
|
+
console_session_with_workspace: never[];
|
|
112641
|
+
client_session_with_customer?: never;
|
|
112642
|
+
})[];
|
|
112543
112643
|
summary: string;
|
|
112544
112644
|
tags: never[];
|
|
112545
112645
|
'x-fern-sdk-group-name': string[];
|
|
@@ -112557,6 +112657,10 @@ declare const _default: {
|
|
|
112557
112657
|
'application/json': {
|
|
112558
112658
|
schema: {
|
|
112559
112659
|
properties: {
|
|
112660
|
+
customer_key: {
|
|
112661
|
+
description: string;
|
|
112662
|
+
type: string;
|
|
112663
|
+
};
|
|
112560
112664
|
reservation_id: {
|
|
112561
112665
|
description: string;
|
|
112562
112666
|
format: string;
|
|
@@ -112724,9 +112828,13 @@ declare const _default: {
|
|
|
112724
112828
|
description: string;
|
|
112725
112829
|
};
|
|
112726
112830
|
};
|
|
112727
|
-
security: {
|
|
112831
|
+
security: ({
|
|
112728
112832
|
client_session_with_customer: never[];
|
|
112729
|
-
|
|
112833
|
+
console_session_with_workspace?: never;
|
|
112834
|
+
} | {
|
|
112835
|
+
console_session_with_workspace: never[];
|
|
112836
|
+
client_session_with_customer?: never;
|
|
112837
|
+
})[];
|
|
112730
112838
|
summary: string;
|
|
112731
112839
|
tags: never[];
|
|
112732
112840
|
'x-fern-sdk-group-name': string[];
|
|
@@ -112990,9 +113098,13 @@ declare const _default: {
|
|
|
112990
113098
|
description: string;
|
|
112991
113099
|
};
|
|
112992
113100
|
};
|
|
112993
|
-
security: {
|
|
113101
|
+
security: ({
|
|
112994
113102
|
client_session_with_customer: never[];
|
|
112995
|
-
|
|
113103
|
+
console_session_with_workspace?: never;
|
|
113104
|
+
} | {
|
|
113105
|
+
console_session_with_workspace: never[];
|
|
113106
|
+
client_session_with_customer?: never;
|
|
113107
|
+
})[];
|
|
112996
113108
|
summary: string;
|
|
112997
113109
|
tags: never[];
|
|
112998
113110
|
'x-fern-sdk-group-name': string[];
|
|
@@ -113015,6 +113127,10 @@ declare const _default: {
|
|
|
113015
113127
|
format: string;
|
|
113016
113128
|
type: string;
|
|
113017
113129
|
};
|
|
113130
|
+
customer_key: {
|
|
113131
|
+
description: string;
|
|
113132
|
+
type: string;
|
|
113133
|
+
};
|
|
113018
113134
|
limit: {
|
|
113019
113135
|
default: number;
|
|
113020
113136
|
description: string;
|
|
@@ -113230,9 +113346,13 @@ declare const _default: {
|
|
|
113230
113346
|
description: string;
|
|
113231
113347
|
};
|
|
113232
113348
|
};
|
|
113233
|
-
security: {
|
|
113349
|
+
security: ({
|
|
113234
113350
|
client_session_with_customer: never[];
|
|
113235
|
-
|
|
113351
|
+
console_session_with_workspace?: never;
|
|
113352
|
+
} | {
|
|
113353
|
+
console_session_with_workspace: never[];
|
|
113354
|
+
client_session_with_customer?: never;
|
|
113355
|
+
})[];
|
|
113236
113356
|
summary: string;
|
|
113237
113357
|
tags: never[];
|
|
113238
113358
|
'x-fern-sdk-group-name': string[];
|
|
@@ -139465,6 +139585,15 @@ type Routes = {
|
|
|
139465
139585
|
/** Name of the access point in the dormakaba Ambiance access system. */
|
|
139466
139586
|
access_point_name: string;
|
|
139467
139587
|
} | undefined;
|
|
139588
|
+
/** Brivo-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
139589
|
+
brivo_metadata?: {
|
|
139590
|
+
/** ID of the access point in the Brivo access system. */
|
|
139591
|
+
access_point_id: string;
|
|
139592
|
+
/** ID of the site that the access point belongs to. */
|
|
139593
|
+
site_id: number;
|
|
139594
|
+
/** Name of the site that the access point belongs to. */
|
|
139595
|
+
site_name: string;
|
|
139596
|
+
} | undefined;
|
|
139468
139597
|
/** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
|
|
139469
139598
|
can_unlock_with_mobile_key?: boolean | undefined;
|
|
139470
139599
|
/** Indicates whether the ACS entrance can be unlocked with card credentials. */
|
|
@@ -143530,6 +143659,15 @@ type Routes = {
|
|
|
143530
143659
|
/** Name of the access point in the dormakaba Ambiance access system. */
|
|
143531
143660
|
access_point_name: string;
|
|
143532
143661
|
} | undefined;
|
|
143662
|
+
/** Brivo-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
143663
|
+
brivo_metadata?: {
|
|
143664
|
+
/** ID of the access point in the Brivo access system. */
|
|
143665
|
+
access_point_id: string;
|
|
143666
|
+
/** ID of the site that the access point belongs to. */
|
|
143667
|
+
site_id: number;
|
|
143668
|
+
/** Name of the site that the access point belongs to. */
|
|
143669
|
+
site_name: string;
|
|
143670
|
+
} | undefined;
|
|
143533
143671
|
/** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
|
|
143534
143672
|
can_unlock_with_mobile_key?: boolean | undefined;
|
|
143535
143673
|
/** Indicates whether the ACS entrance can be unlocked with card credentials. */
|
|
@@ -144613,6 +144751,15 @@ type Routes = {
|
|
|
144613
144751
|
/** Name of the access point in the dormakaba Ambiance access system. */
|
|
144614
144752
|
access_point_name: string;
|
|
144615
144753
|
} | undefined;
|
|
144754
|
+
/** Brivo-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
144755
|
+
brivo_metadata?: {
|
|
144756
|
+
/** ID of the access point in the Brivo access system. */
|
|
144757
|
+
access_point_id: string;
|
|
144758
|
+
/** ID of the site that the access point belongs to. */
|
|
144759
|
+
site_id: number;
|
|
144760
|
+
/** Name of the site that the access point belongs to. */
|
|
144761
|
+
site_name: string;
|
|
144762
|
+
} | undefined;
|
|
144616
144763
|
/** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
|
|
144617
144764
|
can_unlock_with_mobile_key?: boolean | undefined;
|
|
144618
144765
|
/** Indicates whether the ACS entrance can be unlocked with card credentials. */
|
|
@@ -146039,6 +146186,15 @@ type Routes = {
|
|
|
146039
146186
|
/** Name of the access point in the dormakaba Ambiance access system. */
|
|
146040
146187
|
access_point_name: string;
|
|
146041
146188
|
} | undefined;
|
|
146189
|
+
/** Brivo-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
146190
|
+
brivo_metadata?: {
|
|
146191
|
+
/** ID of the access point in the Brivo access system. */
|
|
146192
|
+
access_point_id: string;
|
|
146193
|
+
/** ID of the site that the access point belongs to. */
|
|
146194
|
+
site_id: number;
|
|
146195
|
+
/** Name of the site that the access point belongs to. */
|
|
146196
|
+
site_name: string;
|
|
146197
|
+
} | undefined;
|
|
146042
146198
|
/** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
|
|
146043
146199
|
can_unlock_with_mobile_key?: boolean | undefined;
|
|
146044
146200
|
/** Indicates whether the ACS entrance can be unlocked with card credentials. */
|
|
@@ -149534,6 +149690,15 @@ type Routes = {
|
|
|
149534
149690
|
/** Name of the access point in the dormakaba Ambiance access system. */
|
|
149535
149691
|
access_point_name: string;
|
|
149536
149692
|
} | undefined;
|
|
149693
|
+
/** Brivo-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
149694
|
+
brivo_metadata?: {
|
|
149695
|
+
/** ID of the access point in the Brivo access system. */
|
|
149696
|
+
access_point_id: string;
|
|
149697
|
+
/** ID of the site that the access point belongs to. */
|
|
149698
|
+
site_id: number;
|
|
149699
|
+
/** Name of the site that the access point belongs to. */
|
|
149700
|
+
site_name: string;
|
|
149701
|
+
} | undefined;
|
|
149537
149702
|
/** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
|
|
149538
149703
|
can_unlock_with_mobile_key?: boolean | undefined;
|
|
149539
149704
|
/** Indicates whether the ACS entrance can be unlocked with card credentials. */
|
|
@@ -149704,6 +149869,15 @@ type Routes = {
|
|
|
149704
149869
|
/** Name of the access point in the dormakaba Ambiance access system. */
|
|
149705
149870
|
access_point_name: string;
|
|
149706
149871
|
} | undefined;
|
|
149872
|
+
/** Brivo-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
149873
|
+
brivo_metadata?: {
|
|
149874
|
+
/** ID of the access point in the Brivo access system. */
|
|
149875
|
+
access_point_id: string;
|
|
149876
|
+
/** ID of the site that the access point belongs to. */
|
|
149877
|
+
site_id: number;
|
|
149878
|
+
/** Name of the site that the access point belongs to. */
|
|
149879
|
+
site_name: string;
|
|
149880
|
+
} | undefined;
|
|
149707
149881
|
/** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
|
|
149708
149882
|
can_unlock_with_mobile_key?: boolean | undefined;
|
|
149709
149883
|
/** Indicates whether the ACS entrance can be unlocked with card credentials. */
|
|
@@ -151242,6 +151416,15 @@ type Routes = {
|
|
|
151242
151416
|
/** Name of the access point in the dormakaba Ambiance access system. */
|
|
151243
151417
|
access_point_name: string;
|
|
151244
151418
|
} | undefined;
|
|
151419
|
+
/** Brivo-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
151420
|
+
brivo_metadata?: {
|
|
151421
|
+
/** ID of the access point in the Brivo access system. */
|
|
151422
|
+
access_point_id: string;
|
|
151423
|
+
/** ID of the site that the access point belongs to. */
|
|
151424
|
+
site_id: number;
|
|
151425
|
+
/** Name of the site that the access point belongs to. */
|
|
151426
|
+
site_name: string;
|
|
151427
|
+
} | undefined;
|
|
151245
151428
|
/** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
|
|
151246
151429
|
can_unlock_with_mobile_key?: boolean | undefined;
|
|
151247
151430
|
/** Indicates whether the ACS entrance can be unlocked with card credentials. */
|
|
@@ -188314,6 +188497,8 @@ type Routes = {
|
|
|
188314
188497
|
queryParams: {};
|
|
188315
188498
|
jsonBody: {};
|
|
188316
188499
|
commonParams: {
|
|
188500
|
+
/** The customer_key identifying the customer. Required when not using client_session_with_customer auth. */
|
|
188501
|
+
customer_key?: string | undefined;
|
|
188317
188502
|
/** ID of the reservation to retrieve. */
|
|
188318
188503
|
reservation_id?: string | undefined;
|
|
188319
188504
|
/** Key of the reservation to retrieve. */
|
|
@@ -188363,6 +188548,8 @@ type Routes = {
|
|
|
188363
188548
|
queryParams: {};
|
|
188364
188549
|
jsonBody: {};
|
|
188365
188550
|
commonParams: {
|
|
188551
|
+
/** The customer_key identifying the customer. Required when not using client_session_with_customer auth. */
|
|
188552
|
+
customer_key?: string | undefined;
|
|
188366
188553
|
/** Filter reservations by space key. */
|
|
188367
188554
|
space_key?: string | undefined;
|
|
188368
188555
|
/** Filter reservations by space ID (UUID). */
|
|
@@ -189419,6 +189606,15 @@ type Routes = {
|
|
|
189419
189606
|
/** Name of the access point in the dormakaba Ambiance access system. */
|
|
189420
189607
|
access_point_name: string;
|
|
189421
189608
|
} | undefined;
|
|
189609
|
+
/** Brivo-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
189610
|
+
brivo_metadata?: {
|
|
189611
|
+
/** ID of the access point in the Brivo access system. */
|
|
189612
|
+
access_point_id: string;
|
|
189613
|
+
/** ID of the site that the access point belongs to. */
|
|
189614
|
+
site_id: number;
|
|
189615
|
+
/** Name of the site that the access point belongs to. */
|
|
189616
|
+
site_name: string;
|
|
189617
|
+
} | undefined;
|
|
189422
189618
|
/** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
|
|
189423
189619
|
can_unlock_with_mobile_key?: boolean | undefined;
|
|
189424
189620
|
/** Indicates whether the ACS entrance can be unlocked with card credentials. */
|
|
@@ -191112,6 +191308,15 @@ type Routes = {
|
|
|
191112
191308
|
/** Name of the access point in the dormakaba Ambiance access system. */
|
|
191113
191309
|
access_point_name: string;
|
|
191114
191310
|
} | undefined;
|
|
191311
|
+
/** Brivo-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
191312
|
+
brivo_metadata?: {
|
|
191313
|
+
/** ID of the access point in the Brivo access system. */
|
|
191314
|
+
access_point_id: string;
|
|
191315
|
+
/** ID of the site that the access point belongs to. */
|
|
191316
|
+
site_id: number;
|
|
191317
|
+
/** Name of the site that the access point belongs to. */
|
|
191318
|
+
site_name: string;
|
|
191319
|
+
} | undefined;
|
|
191115
191320
|
/** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
|
|
191116
191321
|
can_unlock_with_mobile_key?: boolean | undefined;
|
|
191117
191322
|
/** Indicates whether the ACS entrance can be unlocked with card credentials. */
|
|
@@ -213106,6 +213311,15 @@ type Routes = {
|
|
|
213106
213311
|
/** Name of the access point in the dormakaba Ambiance access system. */
|
|
213107
213312
|
access_point_name: string;
|
|
213108
213313
|
} | undefined;
|
|
213314
|
+
/** Brivo-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
213315
|
+
brivo_metadata?: {
|
|
213316
|
+
/** ID of the access point in the Brivo access system. */
|
|
213317
|
+
access_point_id: string;
|
|
213318
|
+
/** ID of the site that the access point belongs to. */
|
|
213319
|
+
site_id: number;
|
|
213320
|
+
/** Name of the site that the access point belongs to. */
|
|
213321
|
+
site_name: string;
|
|
213322
|
+
} | undefined;
|
|
213109
213323
|
/** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
|
|
213110
213324
|
can_unlock_with_mobile_key?: boolean | undefined;
|
|
213111
213325
|
/** Indicates whether the ACS entrance can be unlocked with card credentials. */
|
package/dist/index.cjs
CHANGED
|
@@ -2937,6 +2937,11 @@ var acs_credential_vostio_metadata = zod.z.object({
|
|
|
2937
2937
|
}).describe(
|
|
2938
2938
|
"ASSA ABLOY Vostio-specific metadata associated with the credential."
|
|
2939
2939
|
);
|
|
2940
|
+
var acs_entrance_brivo_metadata = zod.z.object({
|
|
2941
|
+
access_point_id: zod.z.string().describe("ID of the access point in the Brivo access system."),
|
|
2942
|
+
site_id: zod.z.number().describe("ID of the site that the access point belongs to."),
|
|
2943
|
+
site_name: zod.z.string().describe("Name of the site that the access point belongs to.")
|
|
2944
|
+
}).describe("Brivo-specific metadata associated with the entrance.");
|
|
2940
2945
|
var acs_entrance_dormakaba_ambiance_metadata = zod.z.object({
|
|
2941
2946
|
access_point_name: zod.z.string().describe(
|
|
2942
2947
|
"Name of the access point in the dormakaba Ambiance access system."
|
|
@@ -3379,6 +3384,9 @@ var acs_entrance = zod.z.object({
|
|
|
3379
3384
|
),
|
|
3380
3385
|
dormakaba_ambiance_metadata: acs_entrance_dormakaba_ambiance_metadata.optional().describe(
|
|
3381
3386
|
"dormakaba Ambiance-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details)."
|
|
3387
|
+
),
|
|
3388
|
+
brivo_metadata: acs_entrance_brivo_metadata.optional().describe(
|
|
3389
|
+
"Brivo-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details)."
|
|
3382
3390
|
)
|
|
3383
3391
|
}).merge(acs_entrance_capability_flags).describe(`
|
|
3384
3392
|
---
|
|
@@ -9387,6 +9395,26 @@ var openapi_default = {
|
|
|
9387
9395
|
required: ["door_type", "door_name"],
|
|
9388
9396
|
type: "object"
|
|
9389
9397
|
},
|
|
9398
|
+
brivo_metadata: {
|
|
9399
|
+
description: "Brivo-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).",
|
|
9400
|
+
properties: {
|
|
9401
|
+
access_point_id: {
|
|
9402
|
+
description: "ID of the access point in the Brivo access system.",
|
|
9403
|
+
type: "string"
|
|
9404
|
+
},
|
|
9405
|
+
site_id: {
|
|
9406
|
+
description: "ID of the site that the access point belongs to.",
|
|
9407
|
+
format: "float",
|
|
9408
|
+
type: "number"
|
|
9409
|
+
},
|
|
9410
|
+
site_name: {
|
|
9411
|
+
description: "Name of the site that the access point belongs to.",
|
|
9412
|
+
type: "string"
|
|
9413
|
+
}
|
|
9414
|
+
},
|
|
9415
|
+
required: ["access_point_id", "site_id", "site_name"],
|
|
9416
|
+
type: "object"
|
|
9417
|
+
},
|
|
9390
9418
|
can_belong_to_reservation: {
|
|
9391
9419
|
description: "Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key.",
|
|
9392
9420
|
type: "boolean"
|
|
@@ -27407,6 +27435,30 @@ var openapi_default = {
|
|
|
27407
27435
|
required: ["door_type", "door_name"],
|
|
27408
27436
|
type: "object"
|
|
27409
27437
|
},
|
|
27438
|
+
brivo_metadata: {
|
|
27439
|
+
description: "Brivo-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).",
|
|
27440
|
+
properties: {
|
|
27441
|
+
access_point_id: {
|
|
27442
|
+
description: "ID of the access point in the Brivo access system.",
|
|
27443
|
+
type: "string"
|
|
27444
|
+
},
|
|
27445
|
+
site_id: {
|
|
27446
|
+
description: "ID of the site that the access point belongs to.",
|
|
27447
|
+
format: "float",
|
|
27448
|
+
type: "number"
|
|
27449
|
+
},
|
|
27450
|
+
site_name: {
|
|
27451
|
+
description: "Name of the site that the access point belongs to.",
|
|
27452
|
+
type: "string"
|
|
27453
|
+
}
|
|
27454
|
+
},
|
|
27455
|
+
required: [
|
|
27456
|
+
"access_point_id",
|
|
27457
|
+
"site_id",
|
|
27458
|
+
"site_name"
|
|
27459
|
+
],
|
|
27460
|
+
type: "object"
|
|
27461
|
+
},
|
|
27410
27462
|
can_belong_to_reservation: {
|
|
27411
27463
|
description: "Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key.",
|
|
27412
27464
|
type: "boolean"
|
|
@@ -65072,6 +65124,14 @@ var openapi_default = {
|
|
|
65072
65124
|
description: "Returns a single reservation for a specific customer by reservation ID.",
|
|
65073
65125
|
operationId: "seamCustomerV1ReservationsGetGet",
|
|
65074
65126
|
parameters: [
|
|
65127
|
+
{
|
|
65128
|
+
in: "query",
|
|
65129
|
+
name: "customer_key",
|
|
65130
|
+
schema: {
|
|
65131
|
+
description: "The customer_key identifying the customer. Required when not using client_session_with_customer auth.",
|
|
65132
|
+
type: "string"
|
|
65133
|
+
}
|
|
65134
|
+
},
|
|
65075
65135
|
{
|
|
65076
65136
|
in: "query",
|
|
65077
65137
|
name: "reservation_id",
|
|
@@ -65218,7 +65278,10 @@ var openapi_default = {
|
|
|
65218
65278
|
400: { description: "Bad Request" },
|
|
65219
65279
|
401: { description: "Unauthorized" }
|
|
65220
65280
|
},
|
|
65221
|
-
security: [
|
|
65281
|
+
security: [
|
|
65282
|
+
{ client_session_with_customer: [] },
|
|
65283
|
+
{ console_session_with_workspace: [] }
|
|
65284
|
+
],
|
|
65222
65285
|
summary: "/seam/customer/v1/reservations/get",
|
|
65223
65286
|
tags: [],
|
|
65224
65287
|
"x-fern-sdk-group-name": ["seam", "customer", "v1", "reservations"],
|
|
@@ -65236,6 +65299,10 @@ var openapi_default = {
|
|
|
65236
65299
|
"application/json": {
|
|
65237
65300
|
schema: {
|
|
65238
65301
|
properties: {
|
|
65302
|
+
customer_key: {
|
|
65303
|
+
description: "The customer_key identifying the customer. Required when not using client_session_with_customer auth.",
|
|
65304
|
+
type: "string"
|
|
65305
|
+
},
|
|
65239
65306
|
reservation_id: {
|
|
65240
65307
|
description: "ID of the reservation to retrieve.",
|
|
65241
65308
|
format: "uuid",
|
|
@@ -65379,7 +65446,10 @@ var openapi_default = {
|
|
|
65379
65446
|
400: { description: "Bad Request" },
|
|
65380
65447
|
401: { description: "Unauthorized" }
|
|
65381
65448
|
},
|
|
65382
|
-
security: [
|
|
65449
|
+
security: [
|
|
65450
|
+
{ client_session_with_customer: [] },
|
|
65451
|
+
{ console_session_with_workspace: [] }
|
|
65452
|
+
],
|
|
65383
65453
|
summary: "/seam/customer/v1/reservations/get",
|
|
65384
65454
|
tags: [],
|
|
65385
65455
|
"x-fern-sdk-group-name": ["seam", "customer", "v1", "reservations"],
|
|
@@ -65395,6 +65465,14 @@ var openapi_default = {
|
|
|
65395
65465
|
description: "Returns a list of reservations for a specific customer. This endpoint is designed for customer portals and supports filtering by space_key.",
|
|
65396
65466
|
operationId: "seamCustomerV1ReservationsListGet",
|
|
65397
65467
|
parameters: [
|
|
65468
|
+
{
|
|
65469
|
+
in: "query",
|
|
65470
|
+
name: "customer_key",
|
|
65471
|
+
schema: {
|
|
65472
|
+
description: "The customer_key identifying the customer. Required when not using client_session_with_customer auth.",
|
|
65473
|
+
type: "string"
|
|
65474
|
+
}
|
|
65475
|
+
},
|
|
65398
65476
|
{
|
|
65399
65477
|
in: "query",
|
|
65400
65478
|
name: "space_key",
|
|
@@ -65617,7 +65695,10 @@ var openapi_default = {
|
|
|
65617
65695
|
400: { description: "Bad Request" },
|
|
65618
65696
|
401: { description: "Unauthorized" }
|
|
65619
65697
|
},
|
|
65620
|
-
security: [
|
|
65698
|
+
security: [
|
|
65699
|
+
{ client_session_with_customer: [] },
|
|
65700
|
+
{ console_session_with_workspace: [] }
|
|
65701
|
+
],
|
|
65621
65702
|
summary: "/seam/customer/v1/reservations/list",
|
|
65622
65703
|
tags: [],
|
|
65623
65704
|
"x-fern-sdk-group-name": ["seam", "customer", "v1", "reservations"],
|
|
@@ -65640,6 +65721,10 @@ var openapi_default = {
|
|
|
65640
65721
|
format: "date-time",
|
|
65641
65722
|
type: "string"
|
|
65642
65723
|
},
|
|
65724
|
+
customer_key: {
|
|
65725
|
+
description: "The customer_key identifying the customer. Required when not using client_session_with_customer auth.",
|
|
65726
|
+
type: "string"
|
|
65727
|
+
},
|
|
65643
65728
|
limit: {
|
|
65644
65729
|
default: 500,
|
|
65645
65730
|
description: "Maximum number of records to return per page.",
|
|
@@ -65838,7 +65923,10 @@ var openapi_default = {
|
|
|
65838
65923
|
400: { description: "Bad Request" },
|
|
65839
65924
|
401: { description: "Unauthorized" }
|
|
65840
65925
|
},
|
|
65841
|
-
security: [
|
|
65926
|
+
security: [
|
|
65927
|
+
{ client_session_with_customer: [] },
|
|
65928
|
+
{ console_session_with_workspace: [] }
|
|
65929
|
+
],
|
|
65842
65930
|
summary: "/seam/customer/v1/reservations/list",
|
|
65843
65931
|
tags: [],
|
|
65844
65932
|
"x-fern-sdk-group-name": ["seam", "customer", "v1", "reservations"],
|