@seamapi/types 1.824.0 → 1.826.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 +16 -7
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +16 -16
- package/dist/index.cjs +16 -7
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +3 -3
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.js +2 -2
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.js.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +5 -5
- package/lib/seam/connect/openapi.js +14 -5
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +8 -8
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/unmanaged-access-code.ts +2 -2
- package/src/lib/seam/connect/openapi.ts +14 -5
- package/src/lib/seam/connect/route-types.ts +8 -8
package/dist/connect.d.cts
CHANGED
|
@@ -3305,7 +3305,7 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
3305
3305
|
access_code_id: z.ZodString;
|
|
3306
3306
|
} & {
|
|
3307
3307
|
is_managed: z.ZodLiteral<false>;
|
|
3308
|
-
status: z.ZodEnum<["set"]>;
|
|
3308
|
+
status: z.ZodEnum<["set", "unset"]>;
|
|
3309
3309
|
dormakaba_oracode_metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3310
3310
|
stay_id: z.ZodNumber;
|
|
3311
3311
|
user_level_id: z.ZodOptional<z.ZodString>;
|
|
@@ -3337,7 +3337,7 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
3337
3337
|
}, "strip", z.ZodTypeAny, {
|
|
3338
3338
|
code: string | null;
|
|
3339
3339
|
type: "time_bound" | "ongoing";
|
|
3340
|
-
status: "set";
|
|
3340
|
+
status: "set" | "unset";
|
|
3341
3341
|
name: string | null;
|
|
3342
3342
|
device_id: string;
|
|
3343
3343
|
workspace_id: string;
|
|
@@ -3634,7 +3634,7 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
3634
3634
|
}, {
|
|
3635
3635
|
code: string | null;
|
|
3636
3636
|
type: "time_bound" | "ongoing";
|
|
3637
|
-
status: "set";
|
|
3637
|
+
status: "set" | "unset";
|
|
3638
3638
|
name: string | null;
|
|
3639
3639
|
device_id: string;
|
|
3640
3640
|
workspace_id: string;
|
|
@@ -37546,7 +37546,7 @@ declare const batch: z.ZodObject<{
|
|
|
37546
37546
|
access_code_id: z.ZodString;
|
|
37547
37547
|
} & {
|
|
37548
37548
|
is_managed: z.ZodLiteral<false>;
|
|
37549
|
-
status: z.ZodEnum<["set"]>;
|
|
37549
|
+
status: z.ZodEnum<["set", "unset"]>;
|
|
37550
37550
|
dormakaba_oracode_metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
37551
37551
|
stay_id: z.ZodNumber;
|
|
37552
37552
|
user_level_id: z.ZodOptional<z.ZodString>;
|
|
@@ -37578,7 +37578,7 @@ declare const batch: z.ZodObject<{
|
|
|
37578
37578
|
}, "strip", z.ZodTypeAny, {
|
|
37579
37579
|
code: string | null;
|
|
37580
37580
|
type: "time_bound" | "ongoing";
|
|
37581
|
-
status: "set";
|
|
37581
|
+
status: "set" | "unset";
|
|
37582
37582
|
name: string | null;
|
|
37583
37583
|
device_id: string;
|
|
37584
37584
|
workspace_id: string;
|
|
@@ -37875,7 +37875,7 @@ declare const batch: z.ZodObject<{
|
|
|
37875
37875
|
}, {
|
|
37876
37876
|
code: string | null;
|
|
37877
37877
|
type: "time_bound" | "ongoing";
|
|
37878
|
-
status: "set";
|
|
37878
|
+
status: "set" | "unset";
|
|
37879
37879
|
name: string | null;
|
|
37880
37880
|
device_id: string;
|
|
37881
37881
|
workspace_id: string;
|
|
@@ -42964,7 +42964,7 @@ declare const batch: z.ZodObject<{
|
|
|
42964
42964
|
unmanaged_access_codes?: {
|
|
42965
42965
|
code: string | null;
|
|
42966
42966
|
type: "time_bound" | "ongoing";
|
|
42967
|
-
status: "set";
|
|
42967
|
+
status: "set" | "unset";
|
|
42968
42968
|
name: string | null;
|
|
42969
42969
|
device_id: string;
|
|
42970
42970
|
workspace_id: string;
|
|
@@ -47926,7 +47926,7 @@ declare const batch: z.ZodObject<{
|
|
|
47926
47926
|
unmanaged_access_codes?: {
|
|
47927
47927
|
code: string | null;
|
|
47928
47928
|
type: "time_bound" | "ongoing";
|
|
47929
|
-
status: "set";
|
|
47929
|
+
status: "set" | "unset";
|
|
47930
47930
|
name: string | null;
|
|
47931
47931
|
device_id: string;
|
|
47932
47932
|
workspace_id: string;
|
|
@@ -70801,8 +70801,8 @@ type Routes = {
|
|
|
70801
70801
|
starts_at?: (string | null) | undefined;
|
|
70802
70802
|
/** Date and time after which the time-bound access code becomes inactive. */
|
|
70803
70803
|
ends_at?: (string | null) | undefined;
|
|
70804
|
-
/** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. */
|
|
70805
|
-
status: 'set';
|
|
70804
|
+
/** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. `unset` indicates that the code exists on the provider but is not usable on the device. */
|
|
70805
|
+
status: 'set' | 'unset';
|
|
70806
70806
|
/** Metadata for a dormakaba Oracode unmanaged access code. Only present for unmanaged access codes from dormakaba Oracode devices. */
|
|
70807
70807
|
dormakaba_oracode_metadata?: ({
|
|
70808
70808
|
/** Dormakaba Oracode stay ID associated with this access code. */
|
|
@@ -72693,8 +72693,8 @@ type Routes = {
|
|
|
72693
72693
|
starts_at?: (string | null) | undefined;
|
|
72694
72694
|
/** Date and time after which the time-bound access code becomes inactive. */
|
|
72695
72695
|
ends_at?: (string | null) | undefined;
|
|
72696
|
-
/** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. */
|
|
72697
|
-
status: 'set';
|
|
72696
|
+
/** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. `unset` indicates that the code exists on the provider but is not usable on the device. */
|
|
72697
|
+
status: 'set' | 'unset';
|
|
72698
72698
|
/** Metadata for a dormakaba Oracode unmanaged access code. Only present for unmanaged access codes from dormakaba Oracode devices. */
|
|
72699
72699
|
dormakaba_oracode_metadata?: ({
|
|
72700
72700
|
/** Dormakaba Oracode stay ID associated with this access code. */
|
|
@@ -73215,8 +73215,8 @@ type Routes = {
|
|
|
73215
73215
|
starts_at?: (string | null) | undefined;
|
|
73216
73216
|
/** Date and time after which the time-bound access code becomes inactive. */
|
|
73217
73217
|
ends_at?: (string | null) | undefined;
|
|
73218
|
-
/** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. */
|
|
73219
|
-
status: 'set';
|
|
73218
|
+
/** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. `unset` indicates that the code exists on the provider but is not usable on the device. */
|
|
73219
|
+
status: 'set' | 'unset';
|
|
73220
73220
|
/** Metadata for a dormakaba Oracode unmanaged access code. Only present for unmanaged access codes from dormakaba Oracode devices. */
|
|
73221
73221
|
dormakaba_oracode_metadata?: ({
|
|
73222
73222
|
/** Dormakaba Oracode stay ID associated with this access code. */
|
|
@@ -163995,8 +163995,8 @@ type Routes = {
|
|
|
163995
163995
|
starts_at?: (string | null) | undefined;
|
|
163996
163996
|
/** Date and time after which the time-bound access code becomes inactive. */
|
|
163997
163997
|
ends_at?: (string | null) | undefined;
|
|
163998
|
-
/** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. */
|
|
163999
|
-
status: 'set';
|
|
163998
|
+
/** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. `unset` indicates that the code exists on the provider but is not usable on the device. */
|
|
163999
|
+
status: 'set' | 'unset';
|
|
164000
164000
|
/** Metadata for a dormakaba Oracode unmanaged access code. Only present for unmanaged access codes from dormakaba Oracode devices. */
|
|
164001
164001
|
dormakaba_oracode_metadata?: ({
|
|
164002
164002
|
/** Dormakaba Oracode stay ID associated with this access code. */
|
package/dist/index.cjs
CHANGED
|
@@ -2627,8 +2627,8 @@ var unmanaged_access_code = access_code.pick({
|
|
|
2627
2627
|
ends_at: true
|
|
2628
2628
|
}).extend({
|
|
2629
2629
|
is_managed: zod.z.literal(false).describe("Indicates that Seam does not manage the access code."),
|
|
2630
|
-
status: zod.z.enum(["set"]).describe(
|
|
2631
|
-
"Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational."
|
|
2630
|
+
status: zod.z.enum(["set", "unset"]).describe(
|
|
2631
|
+
"Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. `unset` indicates that the code exists on the provider but is not usable on the device."
|
|
2632
2632
|
),
|
|
2633
2633
|
dormakaba_oracode_metadata: dormakaba_oracode_access_code_metadata.nullable().optional().describe(
|
|
2634
2634
|
"Metadata for a dormakaba Oracode unmanaged access code. Only present for unmanaged access codes from dormakaba Oracode devices."
|
|
@@ -31613,8 +31613,8 @@ var openapi = {
|
|
|
31613
31613
|
type: "string"
|
|
31614
31614
|
},
|
|
31615
31615
|
status: {
|
|
31616
|
-
description: "Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational.",
|
|
31617
|
-
enum: ["set"],
|
|
31616
|
+
description: "Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. `unset` indicates that the code exists on the provider but is not usable on the device.",
|
|
31617
|
+
enum: ["set", "unset"],
|
|
31618
31618
|
type: "string"
|
|
31619
31619
|
},
|
|
31620
31620
|
type: {
|
|
@@ -73039,7 +73039,10 @@ var openapi = {
|
|
|
73039
73039
|
400: { description: "Bad Request" },
|
|
73040
73040
|
401: { description: "Unauthorized" }
|
|
73041
73041
|
},
|
|
73042
|
-
security: [
|
|
73042
|
+
security: [
|
|
73043
|
+
{ client_session_with_customer: [] },
|
|
73044
|
+
{ console_session_with_workspace: [] }
|
|
73045
|
+
],
|
|
73043
73046
|
summary: "/seam/customer/v1/spaces/create",
|
|
73044
73047
|
tags: [],
|
|
73045
73048
|
"x-draft": "Early access.",
|
|
@@ -73107,7 +73110,10 @@ var openapi = {
|
|
|
73107
73110
|
400: { description: "Bad Request" },
|
|
73108
73111
|
401: { description: "Unauthorized" }
|
|
73109
73112
|
},
|
|
73110
|
-
security: [
|
|
73113
|
+
security: [
|
|
73114
|
+
{ client_session_with_customer: [] },
|
|
73115
|
+
{ console_session_with_workspace: [] }
|
|
73116
|
+
],
|
|
73111
73117
|
summary: "/seam/customer/v1/spaces/list",
|
|
73112
73118
|
tags: [],
|
|
73113
73119
|
"x-draft": "Early access.",
|
|
@@ -73170,7 +73176,10 @@ var openapi = {
|
|
|
73170
73176
|
400: { description: "Bad Request" },
|
|
73171
73177
|
401: { description: "Unauthorized" }
|
|
73172
73178
|
},
|
|
73173
|
-
security: [
|
|
73179
|
+
security: [
|
|
73180
|
+
{ client_session_with_customer: [] },
|
|
73181
|
+
{ console_session_with_workspace: [] }
|
|
73182
|
+
],
|
|
73174
73183
|
summary: "/seam/customer/v1/spaces/list",
|
|
73175
73184
|
tags: [],
|
|
73176
73185
|
"x-draft": "Early access.",
|