@seamapi/types 1.606.0 → 1.607.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 +11 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +36 -0
- package/dist/index.cjs +11 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +6 -0
- package/lib/seam/connect/models/acs/acs-entrance.js +4 -0
- package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +25 -0
- package/lib/seam/connect/models/phones/phone-session.d.ts +16 -0
- package/lib/seam/connect/openapi.d.ts +8 -0
- package/lib/seam/connect/openapi.js +8 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +20 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-entrance.ts +6 -0
- package/src/lib/seam/connect/openapi.ts +10 -0
- package/src/lib/seam/connect/route-types.ts +20 -0
package/dist/connect.d.cts
CHANGED
|
@@ -4684,6 +4684,7 @@ declare const acs_entrance: z.ZodObject<{
|
|
|
4684
4684
|
can_unlock_with_mobile_key: z.ZodOptional<z.ZodBoolean>;
|
|
4685
4685
|
can_unlock_with_card: z.ZodOptional<z.ZodBoolean>;
|
|
4686
4686
|
can_unlock_with_code: z.ZodOptional<z.ZodBoolean>;
|
|
4687
|
+
can_belong_to_reservation: z.ZodOptional<z.ZodBoolean>;
|
|
4687
4688
|
}, "strip", z.ZodTypeAny, {
|
|
4688
4689
|
display_name: string;
|
|
4689
4690
|
created_at: string;
|
|
@@ -4723,6 +4724,7 @@ declare const acs_entrance: z.ZodObject<{
|
|
|
4723
4724
|
can_unlock_with_code?: boolean | undefined;
|
|
4724
4725
|
can_unlock_with_mobile_key?: boolean | undefined;
|
|
4725
4726
|
can_unlock_with_card?: boolean | undefined;
|
|
4727
|
+
can_belong_to_reservation?: boolean | undefined;
|
|
4726
4728
|
latch_metadata?: {
|
|
4727
4729
|
door_name: string;
|
|
4728
4730
|
is_connected: boolean;
|
|
@@ -4787,6 +4789,7 @@ declare const acs_entrance: z.ZodObject<{
|
|
|
4787
4789
|
can_unlock_with_code?: boolean | undefined;
|
|
4788
4790
|
can_unlock_with_mobile_key?: boolean | undefined;
|
|
4789
4791
|
can_unlock_with_card?: boolean | undefined;
|
|
4792
|
+
can_belong_to_reservation?: boolean | undefined;
|
|
4790
4793
|
latch_metadata?: {
|
|
4791
4794
|
door_name: string;
|
|
4792
4795
|
is_connected: boolean;
|
|
@@ -14774,6 +14777,7 @@ declare const batch: z.ZodObject<{
|
|
|
14774
14777
|
can_unlock_with_mobile_key: z.ZodOptional<z.ZodBoolean>;
|
|
14775
14778
|
can_unlock_with_card: z.ZodOptional<z.ZodBoolean>;
|
|
14776
14779
|
can_unlock_with_code: z.ZodOptional<z.ZodBoolean>;
|
|
14780
|
+
can_belong_to_reservation: z.ZodOptional<z.ZodBoolean>;
|
|
14777
14781
|
}, "strip", z.ZodTypeAny, {
|
|
14778
14782
|
display_name: string;
|
|
14779
14783
|
created_at: string;
|
|
@@ -14813,6 +14817,7 @@ declare const batch: z.ZodObject<{
|
|
|
14813
14817
|
can_unlock_with_code?: boolean | undefined;
|
|
14814
14818
|
can_unlock_with_mobile_key?: boolean | undefined;
|
|
14815
14819
|
can_unlock_with_card?: boolean | undefined;
|
|
14820
|
+
can_belong_to_reservation?: boolean | undefined;
|
|
14816
14821
|
latch_metadata?: {
|
|
14817
14822
|
door_name: string;
|
|
14818
14823
|
is_connected: boolean;
|
|
@@ -14877,6 +14882,7 @@ declare const batch: z.ZodObject<{
|
|
|
14877
14882
|
can_unlock_with_code?: boolean | undefined;
|
|
14878
14883
|
can_unlock_with_mobile_key?: boolean | undefined;
|
|
14879
14884
|
can_unlock_with_card?: boolean | undefined;
|
|
14885
|
+
can_belong_to_reservation?: boolean | undefined;
|
|
14880
14886
|
latch_metadata?: {
|
|
14881
14887
|
door_name: string;
|
|
14882
14888
|
is_connected: boolean;
|
|
@@ -31711,6 +31717,7 @@ declare const batch: z.ZodObject<{
|
|
|
31711
31717
|
can_unlock_with_code?: boolean | undefined;
|
|
31712
31718
|
can_unlock_with_mobile_key?: boolean | undefined;
|
|
31713
31719
|
can_unlock_with_card?: boolean | undefined;
|
|
31720
|
+
can_belong_to_reservation?: boolean | undefined;
|
|
31714
31721
|
latch_metadata?: {
|
|
31715
31722
|
door_name: string;
|
|
31716
31723
|
is_connected: boolean;
|
|
@@ -35621,6 +35628,7 @@ declare const batch: z.ZodObject<{
|
|
|
35621
35628
|
can_unlock_with_code?: boolean | undefined;
|
|
35622
35629
|
can_unlock_with_mobile_key?: boolean | undefined;
|
|
35623
35630
|
can_unlock_with_card?: boolean | undefined;
|
|
35631
|
+
can_belong_to_reservation?: boolean | undefined;
|
|
35624
35632
|
latch_metadata?: {
|
|
35625
35633
|
door_name: string;
|
|
35626
35634
|
is_connected: boolean;
|
|
@@ -52675,6 +52683,10 @@ declare const _default: {
|
|
|
52675
52683
|
required: string[];
|
|
52676
52684
|
type: string;
|
|
52677
52685
|
};
|
|
52686
|
+
can_belong_to_reservation: {
|
|
52687
|
+
description: string;
|
|
52688
|
+
type: string;
|
|
52689
|
+
};
|
|
52678
52690
|
can_unlock_with_card: {
|
|
52679
52691
|
description: string;
|
|
52680
52692
|
type: string;
|
|
@@ -63035,6 +63047,10 @@ declare const _default: {
|
|
|
63035
63047
|
required: string[];
|
|
63036
63048
|
type: string;
|
|
63037
63049
|
};
|
|
63050
|
+
can_belong_to_reservation: {
|
|
63051
|
+
description: string;
|
|
63052
|
+
type: string;
|
|
63053
|
+
};
|
|
63038
63054
|
can_unlock_with_card: {
|
|
63039
63055
|
description: string;
|
|
63040
63056
|
type: string;
|
|
@@ -120263,6 +120279,8 @@ type Routes = {
|
|
|
120263
120279
|
can_unlock_with_card?: boolean | undefined;
|
|
120264
120280
|
/** Indicates whether the ACS entrance can be unlocked with pin codes. */
|
|
120265
120281
|
can_unlock_with_code?: boolean | undefined;
|
|
120282
|
+
/** Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key. */
|
|
120283
|
+
can_belong_to_reservation?: boolean | undefined;
|
|
120266
120284
|
}[] | undefined;
|
|
120267
120285
|
user_identities?: {
|
|
120268
120286
|
/** ID of the user identity. */
|
|
@@ -123695,6 +123713,8 @@ type Routes = {
|
|
|
123695
123713
|
can_unlock_with_card?: boolean | undefined;
|
|
123696
123714
|
/** Indicates whether the ACS entrance can be unlocked with pin codes. */
|
|
123697
123715
|
can_unlock_with_code?: boolean | undefined;
|
|
123716
|
+
/** Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key. */
|
|
123717
|
+
can_belong_to_reservation?: boolean | undefined;
|
|
123698
123718
|
}[] | undefined;
|
|
123699
123719
|
acs_systems?: {
|
|
123700
123720
|
/** ID of the default credential manager `acs_system` for this [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
|
|
@@ -129752,6 +129772,8 @@ type Routes = {
|
|
|
129752
129772
|
can_unlock_with_card?: boolean | undefined;
|
|
129753
129773
|
/** Indicates whether the ACS entrance can be unlocked with pin codes. */
|
|
129754
129774
|
can_unlock_with_code?: boolean | undefined;
|
|
129775
|
+
/** Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key. */
|
|
129776
|
+
can_belong_to_reservation?: boolean | undefined;
|
|
129755
129777
|
}[];
|
|
129756
129778
|
};
|
|
129757
129779
|
};
|
|
@@ -131118,6 +131140,8 @@ type Routes = {
|
|
|
131118
131140
|
can_unlock_with_card?: boolean | undefined;
|
|
131119
131141
|
/** Indicates whether the ACS entrance can be unlocked with pin codes. */
|
|
131120
131142
|
can_unlock_with_code?: boolean | undefined;
|
|
131143
|
+
/** Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key. */
|
|
131144
|
+
can_belong_to_reservation?: boolean | undefined;
|
|
131121
131145
|
}[];
|
|
131122
131146
|
};
|
|
131123
131147
|
};
|
|
@@ -134584,6 +134608,8 @@ type Routes = {
|
|
|
134584
134608
|
can_unlock_with_card?: boolean | undefined;
|
|
134585
134609
|
/** Indicates whether the ACS entrance can be unlocked with pin codes. */
|
|
134586
134610
|
can_unlock_with_code?: boolean | undefined;
|
|
134611
|
+
/** Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key. */
|
|
134612
|
+
can_belong_to_reservation?: boolean | undefined;
|
|
134587
134613
|
};
|
|
134588
134614
|
};
|
|
134589
134615
|
};
|
|
@@ -134751,6 +134777,8 @@ type Routes = {
|
|
|
134751
134777
|
can_unlock_with_card?: boolean | undefined;
|
|
134752
134778
|
/** Indicates whether the ACS entrance can be unlocked with pin codes. */
|
|
134753
134779
|
can_unlock_with_code?: boolean | undefined;
|
|
134780
|
+
/** Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key. */
|
|
134781
|
+
can_belong_to_reservation?: boolean | undefined;
|
|
134754
134782
|
}[];
|
|
134755
134783
|
/** Information about the current page of results. */
|
|
134756
134784
|
pagination: {
|
|
@@ -136226,6 +136254,8 @@ type Routes = {
|
|
|
136226
136254
|
can_unlock_with_card?: boolean | undefined;
|
|
136227
136255
|
/** Indicates whether the ACS entrance can be unlocked with pin codes. */
|
|
136228
136256
|
can_unlock_with_code?: boolean | undefined;
|
|
136257
|
+
/** Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key. */
|
|
136258
|
+
can_belong_to_reservation?: boolean | undefined;
|
|
136229
136259
|
}[];
|
|
136230
136260
|
};
|
|
136231
136261
|
};
|
|
@@ -168556,6 +168586,8 @@ type Routes = {
|
|
|
168556
168586
|
can_unlock_with_card?: boolean | undefined;
|
|
168557
168587
|
/** Indicates whether the ACS entrance can be unlocked with pin codes. */
|
|
168558
168588
|
can_unlock_with_code?: boolean | undefined;
|
|
168589
|
+
/** Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key. */
|
|
168590
|
+
can_belong_to_reservation?: boolean | undefined;
|
|
168559
168591
|
}[];
|
|
168560
168592
|
}[];
|
|
168561
168593
|
}[];
|
|
@@ -170135,6 +170167,8 @@ type Routes = {
|
|
|
170135
170167
|
can_unlock_with_card?: boolean | undefined;
|
|
170136
170168
|
/** Indicates whether the ACS entrance can be unlocked with pin codes. */
|
|
170137
170169
|
can_unlock_with_code?: boolean | undefined;
|
|
170170
|
+
/** Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key. */
|
|
170171
|
+
can_belong_to_reservation?: boolean | undefined;
|
|
170138
170172
|
}[] | undefined;
|
|
170139
170173
|
connected_accounts?: {
|
|
170140
170174
|
/** ID of the connected account. */
|
|
@@ -191369,6 +191403,8 @@ type Routes = {
|
|
|
191369
191403
|
can_unlock_with_card?: boolean | undefined;
|
|
191370
191404
|
/** Indicates whether the ACS entrance can be unlocked with pin codes. */
|
|
191371
191405
|
can_unlock_with_code?: boolean | undefined;
|
|
191406
|
+
/** Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key. */
|
|
191407
|
+
can_belong_to_reservation?: boolean | undefined;
|
|
191372
191408
|
}[] | undefined;
|
|
191373
191409
|
acs_systems?: {
|
|
191374
191410
|
/** ID of the default credential manager `acs_system` for this [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
|
package/dist/index.cjs
CHANGED
|
@@ -2945,6 +2945,9 @@ var acs_entrance_capability_flags = zod.z.object({
|
|
|
2945
2945
|
),
|
|
2946
2946
|
can_unlock_with_code: zod.z.boolean().optional().describe(
|
|
2947
2947
|
"Indicates whether the ACS entrance can be unlocked with pin codes."
|
|
2948
|
+
),
|
|
2949
|
+
can_belong_to_reservation: zod.z.boolean().optional().describe(
|
|
2950
|
+
"Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key."
|
|
2948
2951
|
)
|
|
2949
2952
|
});
|
|
2950
2953
|
var acs_entrance = zod.z.object({
|
|
@@ -8262,6 +8265,10 @@ var openapi_default = {
|
|
|
8262
8265
|
required: ["door_type", "door_name"],
|
|
8263
8266
|
type: "object"
|
|
8264
8267
|
},
|
|
8268
|
+
can_belong_to_reservation: {
|
|
8269
|
+
description: "Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key.",
|
|
8270
|
+
type: "boolean"
|
|
8271
|
+
},
|
|
8265
8272
|
can_unlock_with_card: {
|
|
8266
8273
|
description: "Indicates whether the ACS entrance can be unlocked with card credentials.",
|
|
8267
8274
|
type: "boolean"
|
|
@@ -23689,6 +23696,10 @@ var openapi_default = {
|
|
|
23689
23696
|
required: ["door_type", "door_name"],
|
|
23690
23697
|
type: "object"
|
|
23691
23698
|
},
|
|
23699
|
+
can_belong_to_reservation: {
|
|
23700
|
+
description: "Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key.",
|
|
23701
|
+
type: "boolean"
|
|
23702
|
+
},
|
|
23692
23703
|
can_unlock_with_card: {
|
|
23693
23704
|
description: "Indicates whether the ACS entrance can be unlocked with card credentials.",
|
|
23694
23705
|
type: "boolean"
|