@seamapi/types 1.727.0 → 1.729.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 +61 -12
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +235 -48
- package/dist/index.cjs +61 -12
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/acs/acs-access-group.d.ts +36 -0
- package/lib/seam/connect/models/acs/acs-access-group.js +4 -0
- package/lib/seam/connect/models/acs/acs-access-group.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +16 -16
- package/lib/seam/connect/models/batch.d.ts +84 -32
- package/lib/seam/connect/openapi.d.ts +48 -0
- package/lib/seam/connect/openapi.js +44 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +51 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-access-group.ts +7 -0
- package/src/lib/seam/connect/openapi.ts +50 -0
- package/src/lib/seam/connect/route-types.ts +65 -0
package/dist/index.cjs
CHANGED
|
@@ -2812,6 +2812,19 @@ access_method.omit({
|
|
|
2812
2812
|
---
|
|
2813
2813
|
Represents an unmanaged access method. Unmanaged access methods do not have client sessions, instant keys, customization profiles, or keys.
|
|
2814
2814
|
`);
|
|
2815
|
+
var start_end_schedule = zod.z.object({
|
|
2816
|
+
starts_at: zod.z.string().datetime().describe(
|
|
2817
|
+
"Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format."
|
|
2818
|
+
),
|
|
2819
|
+
ends_at: zod.z.string().datetime().describe(
|
|
2820
|
+
"Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format."
|
|
2821
|
+
).nullable()
|
|
2822
|
+
}).describe(
|
|
2823
|
+
"Schedule with starting and ending dates and times, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format."
|
|
2824
|
+
);
|
|
2825
|
+
var schedule = start_end_schedule;
|
|
2826
|
+
|
|
2827
|
+
// src/lib/seam/connect/models/acs/acs-access-group.ts
|
|
2815
2828
|
var acs_access_group_external_type = zod.z.enum([
|
|
2816
2829
|
"pti_unit",
|
|
2817
2830
|
"pti_access_level",
|
|
@@ -2873,7 +2886,10 @@ var common_acs_access_group = zod.z.object({
|
|
|
2873
2886
|
"Display name that corresponds to the brand-specific terminology for the access group type."
|
|
2874
2887
|
),
|
|
2875
2888
|
created_at: zod.z.string().datetime().describe("Date and time at which the access group was created."),
|
|
2876
|
-
warnings: zod.z.array(acs_access_group_warning).describe("Warnings associated with the `acs_access_group`.")
|
|
2889
|
+
warnings: zod.z.array(acs_access_group_warning).describe("Warnings associated with the `acs_access_group`."),
|
|
2890
|
+
access_schedule: schedule.optional().describe(
|
|
2891
|
+
"`starts_at` and `ends_at` timestamps for the access group's access."
|
|
2892
|
+
)
|
|
2877
2893
|
});
|
|
2878
2894
|
var acs_access_group = common_acs_access_group.extend({
|
|
2879
2895
|
is_managed: zod.z.literal(true)
|
|
@@ -3582,17 +3598,6 @@ var phone_number = zod.z.coerce.string().trim().refine(
|
|
|
3582
3598
|
message: "Phone number must be in E.164 format: +14155552671"
|
|
3583
3599
|
}
|
|
3584
3600
|
);
|
|
3585
|
-
var start_end_schedule = zod.z.object({
|
|
3586
|
-
starts_at: zod.z.string().datetime().describe(
|
|
3587
|
-
"Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format."
|
|
3588
|
-
),
|
|
3589
|
-
ends_at: zod.z.string().datetime().describe(
|
|
3590
|
-
"Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format."
|
|
3591
|
-
).nullable()
|
|
3592
|
-
}).describe(
|
|
3593
|
-
"Schedule with starting and ending dates and times, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format."
|
|
3594
|
-
);
|
|
3595
|
-
var schedule = start_end_schedule;
|
|
3596
3601
|
var common_pending_mutation3 = zod.z.object({
|
|
3597
3602
|
created_at: zod.z.string().datetime().describe("Date and time at which the mutation was created."),
|
|
3598
3603
|
message: zod.z.string().describe("Detailed description of the mutation.")
|
|
@@ -8727,6 +8732,24 @@ var openapi_default = {
|
|
|
8727
8732
|
type: "string",
|
|
8728
8733
|
"x-deprecated": "Use `external_type_display_name`."
|
|
8729
8734
|
},
|
|
8735
|
+
access_schedule: {
|
|
8736
|
+
description: "`starts_at` and `ends_at` timestamps for the access group's access.",
|
|
8737
|
+
properties: {
|
|
8738
|
+
ends_at: {
|
|
8739
|
+
description: "Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
|
|
8740
|
+
format: "date-time",
|
|
8741
|
+
nullable: true,
|
|
8742
|
+
type: "string"
|
|
8743
|
+
},
|
|
8744
|
+
starts_at: {
|
|
8745
|
+
description: "Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
|
|
8746
|
+
format: "date-time",
|
|
8747
|
+
type: "string"
|
|
8748
|
+
}
|
|
8749
|
+
},
|
|
8750
|
+
required: ["starts_at", "ends_at"],
|
|
8751
|
+
type: "object"
|
|
8752
|
+
},
|
|
8730
8753
|
acs_access_group_id: {
|
|
8731
8754
|
description: "ID of the access group.",
|
|
8732
8755
|
format: "uuid",
|
|
@@ -30024,6 +30047,24 @@ var openapi_default = {
|
|
|
30024
30047
|
type: "string",
|
|
30025
30048
|
"x-deprecated": "Use `external_type_display_name`."
|
|
30026
30049
|
},
|
|
30050
|
+
access_schedule: {
|
|
30051
|
+
description: "`starts_at` and `ends_at` timestamps for the access group's access.",
|
|
30052
|
+
properties: {
|
|
30053
|
+
ends_at: {
|
|
30054
|
+
description: "Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
|
|
30055
|
+
format: "date-time",
|
|
30056
|
+
nullable: true,
|
|
30057
|
+
type: "string"
|
|
30058
|
+
},
|
|
30059
|
+
starts_at: {
|
|
30060
|
+
description: "Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
|
|
30061
|
+
format: "date-time",
|
|
30062
|
+
type: "string"
|
|
30063
|
+
}
|
|
30064
|
+
},
|
|
30065
|
+
required: ["starts_at", "ends_at"],
|
|
30066
|
+
type: "object"
|
|
30067
|
+
},
|
|
30027
30068
|
acs_access_group_id: {
|
|
30028
30069
|
description: "ID of the access group.",
|
|
30029
30070
|
format: "uuid",
|
|
@@ -65100,6 +65141,7 @@ var openapi_default = {
|
|
|
65100
65141
|
type: "string"
|
|
65101
65142
|
},
|
|
65102
65143
|
guest_name: { nullable: true, type: "string" },
|
|
65144
|
+
is_resource_syncing: { type: "boolean" },
|
|
65103
65145
|
name: { nullable: true, type: "string" },
|
|
65104
65146
|
reservation_id: { format: "uuid", type: "string" },
|
|
65105
65147
|
reservation_key: { type: "string" },
|
|
@@ -65132,6 +65174,7 @@ var openapi_default = {
|
|
|
65132
65174
|
"starts_at",
|
|
65133
65175
|
"ends_at",
|
|
65134
65176
|
"created_at",
|
|
65177
|
+
"is_resource_syncing",
|
|
65135
65178
|
"guest_name",
|
|
65136
65179
|
"spaces",
|
|
65137
65180
|
"access_grant_id",
|
|
@@ -65234,6 +65277,7 @@ var openapi_default = {
|
|
|
65234
65277
|
type: "string"
|
|
65235
65278
|
},
|
|
65236
65279
|
guest_name: { nullable: true, type: "string" },
|
|
65280
|
+
is_resource_syncing: { type: "boolean" },
|
|
65237
65281
|
name: { nullable: true, type: "string" },
|
|
65238
65282
|
reservation_id: { format: "uuid", type: "string" },
|
|
65239
65283
|
reservation_key: { type: "string" },
|
|
@@ -65266,6 +65310,7 @@ var openapi_default = {
|
|
|
65266
65310
|
"starts_at",
|
|
65267
65311
|
"ends_at",
|
|
65268
65312
|
"created_at",
|
|
65313
|
+
"is_resource_syncing",
|
|
65269
65314
|
"guest_name",
|
|
65270
65315
|
"spaces",
|
|
65271
65316
|
"access_grant_id",
|
|
@@ -65433,6 +65478,7 @@ var openapi_default = {
|
|
|
65433
65478
|
type: "string"
|
|
65434
65479
|
},
|
|
65435
65480
|
guest_name: { nullable: true, type: "string" },
|
|
65481
|
+
is_resource_syncing: { type: "boolean" },
|
|
65436
65482
|
name: { nullable: true, type: "string" },
|
|
65437
65483
|
pending_mutations: {
|
|
65438
65484
|
items: {
|
|
@@ -65499,6 +65545,7 @@ var openapi_default = {
|
|
|
65499
65545
|
"starts_at",
|
|
65500
65546
|
"ends_at",
|
|
65501
65547
|
"created_at",
|
|
65548
|
+
"is_resource_syncing",
|
|
65502
65549
|
"guest_name",
|
|
65503
65550
|
"warnings",
|
|
65504
65551
|
"pending_mutations",
|
|
@@ -65652,6 +65699,7 @@ var openapi_default = {
|
|
|
65652
65699
|
type: "string"
|
|
65653
65700
|
},
|
|
65654
65701
|
guest_name: { nullable: true, type: "string" },
|
|
65702
|
+
is_resource_syncing: { type: "boolean" },
|
|
65655
65703
|
name: { nullable: true, type: "string" },
|
|
65656
65704
|
pending_mutations: {
|
|
65657
65705
|
items: {
|
|
@@ -65718,6 +65766,7 @@ var openapi_default = {
|
|
|
65718
65766
|
"starts_at",
|
|
65719
65767
|
"ends_at",
|
|
65720
65768
|
"created_at",
|
|
65769
|
+
"is_resource_syncing",
|
|
65721
65770
|
"guest_name",
|
|
65722
65771
|
"warnings",
|
|
65723
65772
|
"pending_mutations",
|