@seamapi/types 1.845.0 → 1.847.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 +30 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +34 -0
- package/dist/index.cjs +30 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +6 -0
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.js +8 -0
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.js.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +10 -0
- package/lib/seam/connect/openapi.js +24 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +18 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/unmanaged-access-code.ts +12 -0
- package/src/lib/seam/connect/openapi.ts +28 -0
- package/src/lib/seam/connect/route-types.ts +18 -0
package/dist/connect.d.cts
CHANGED
|
@@ -3317,6 +3317,8 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
3317
3317
|
} & {
|
|
3318
3318
|
is_managed: z.ZodLiteral<false>;
|
|
3319
3319
|
status: z.ZodEnum<["set", "unset"]>;
|
|
3320
|
+
cannot_be_managed: z.ZodOptional<z.ZodLiteral<true>>;
|
|
3321
|
+
cannot_delete_unmanaged_access_code: z.ZodOptional<z.ZodLiteral<true>>;
|
|
3320
3322
|
dormakaba_oracode_metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3321
3323
|
stay_id: z.ZodNumber;
|
|
3322
3324
|
user_level_id: z.ZodOptional<z.ZodString>;
|
|
@@ -3643,6 +3645,8 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
3643
3645
|
is_early_checkin_able?: boolean | undefined;
|
|
3644
3646
|
is_overridable?: boolean | undefined;
|
|
3645
3647
|
} | null | undefined;
|
|
3648
|
+
cannot_be_managed?: true | undefined;
|
|
3649
|
+
cannot_delete_unmanaged_access_code?: true | undefined;
|
|
3646
3650
|
}, {
|
|
3647
3651
|
code: string | null;
|
|
3648
3652
|
type: "time_bound" | "ongoing";
|
|
@@ -3941,6 +3945,8 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
3941
3945
|
is_early_checkin_able?: boolean | undefined;
|
|
3942
3946
|
is_overridable?: boolean | undefined;
|
|
3943
3947
|
} | null | undefined;
|
|
3948
|
+
cannot_be_managed?: true | undefined;
|
|
3949
|
+
cannot_delete_unmanaged_access_code?: true | undefined;
|
|
3944
3950
|
}>;
|
|
3945
3951
|
type UnmanagedAccessCode = z.infer<typeof unmanaged_access_code>;
|
|
3946
3952
|
|
|
@@ -37993,6 +37999,8 @@ declare const batch: z.ZodObject<{
|
|
|
37993
37999
|
} & {
|
|
37994
38000
|
is_managed: z.ZodLiteral<false>;
|
|
37995
38001
|
status: z.ZodEnum<["set", "unset"]>;
|
|
38002
|
+
cannot_be_managed: z.ZodOptional<z.ZodLiteral<true>>;
|
|
38003
|
+
cannot_delete_unmanaged_access_code: z.ZodOptional<z.ZodLiteral<true>>;
|
|
37996
38004
|
dormakaba_oracode_metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
37997
38005
|
stay_id: z.ZodNumber;
|
|
37998
38006
|
user_level_id: z.ZodOptional<z.ZodString>;
|
|
@@ -38319,6 +38327,8 @@ declare const batch: z.ZodObject<{
|
|
|
38319
38327
|
is_early_checkin_able?: boolean | undefined;
|
|
38320
38328
|
is_overridable?: boolean | undefined;
|
|
38321
38329
|
} | null | undefined;
|
|
38330
|
+
cannot_be_managed?: true | undefined;
|
|
38331
|
+
cannot_delete_unmanaged_access_code?: true | undefined;
|
|
38322
38332
|
}, {
|
|
38323
38333
|
code: string | null;
|
|
38324
38334
|
type: "time_bound" | "ongoing";
|
|
@@ -38617,6 +38627,8 @@ declare const batch: z.ZodObject<{
|
|
|
38617
38627
|
is_early_checkin_able?: boolean | undefined;
|
|
38618
38628
|
is_overridable?: boolean | undefined;
|
|
38619
38629
|
} | null | undefined;
|
|
38630
|
+
cannot_be_managed?: true | undefined;
|
|
38631
|
+
cannot_delete_unmanaged_access_code?: true | undefined;
|
|
38620
38632
|
}>, "many">>;
|
|
38621
38633
|
thermostat_daily_programs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
38622
38634
|
thermostat_daily_program_id: z.ZodString;
|
|
@@ -43752,6 +43764,8 @@ declare const batch: z.ZodObject<{
|
|
|
43752
43764
|
is_early_checkin_able?: boolean | undefined;
|
|
43753
43765
|
is_overridable?: boolean | undefined;
|
|
43754
43766
|
} | null | undefined;
|
|
43767
|
+
cannot_be_managed?: true | undefined;
|
|
43768
|
+
cannot_delete_unmanaged_access_code?: true | undefined;
|
|
43755
43769
|
}[] | undefined;
|
|
43756
43770
|
thermostat_schedules?: {
|
|
43757
43771
|
climate_preset_key: string;
|
|
@@ -48760,6 +48774,8 @@ declare const batch: z.ZodObject<{
|
|
|
48760
48774
|
is_early_checkin_able?: boolean | undefined;
|
|
48761
48775
|
is_overridable?: boolean | undefined;
|
|
48762
48776
|
} | null | undefined;
|
|
48777
|
+
cannot_be_managed?: true | undefined;
|
|
48778
|
+
cannot_delete_unmanaged_access_code?: true | undefined;
|
|
48763
48779
|
}[] | undefined;
|
|
48764
48780
|
thermostat_schedules?: {
|
|
48765
48781
|
climate_preset_key: string;
|
|
@@ -71418,6 +71434,10 @@ type Routes = {
|
|
|
71418
71434
|
ends_at?: (string | null) | undefined;
|
|
71419
71435
|
/** 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. */
|
|
71420
71436
|
status: 'set' | 'unset';
|
|
71437
|
+
/** Indicates that Seam cannot convert this unmanaged access code to a managed access code. Some providers do not support management of unmanaged access codes through API integrations. */
|
|
71438
|
+
cannot_be_managed?: true | undefined;
|
|
71439
|
+
/** Indicates that Seam cannot delete this unmanaged access code through the provider. If this access code needs to be deleted, it will only be possible from the manufacturer app. */
|
|
71440
|
+
cannot_delete_unmanaged_access_code?: true | undefined;
|
|
71421
71441
|
/** Metadata for a dormakaba Oracode unmanaged access code. Only present for unmanaged access codes from dormakaba Oracode devices. */
|
|
71422
71442
|
dormakaba_oracode_metadata?: ({
|
|
71423
71443
|
/** Dormakaba Oracode stay ID associated with this access code. */
|
|
@@ -73312,6 +73332,10 @@ type Routes = {
|
|
|
73312
73332
|
ends_at?: (string | null) | undefined;
|
|
73313
73333
|
/** 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. */
|
|
73314
73334
|
status: 'set' | 'unset';
|
|
73335
|
+
/** Indicates that Seam cannot convert this unmanaged access code to a managed access code. Some providers do not support management of unmanaged access codes through API integrations. */
|
|
73336
|
+
cannot_be_managed?: true | undefined;
|
|
73337
|
+
/** Indicates that Seam cannot delete this unmanaged access code through the provider. If this access code needs to be deleted, it will only be possible from the manufacturer app. */
|
|
73338
|
+
cannot_delete_unmanaged_access_code?: true | undefined;
|
|
73315
73339
|
/** Metadata for a dormakaba Oracode unmanaged access code. Only present for unmanaged access codes from dormakaba Oracode devices. */
|
|
73316
73340
|
dormakaba_oracode_metadata?: ({
|
|
73317
73341
|
/** Dormakaba Oracode stay ID associated with this access code. */
|
|
@@ -73836,6 +73860,10 @@ type Routes = {
|
|
|
73836
73860
|
ends_at?: (string | null) | undefined;
|
|
73837
73861
|
/** 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. */
|
|
73838
73862
|
status: 'set' | 'unset';
|
|
73863
|
+
/** Indicates that Seam cannot convert this unmanaged access code to a managed access code. Some providers do not support management of unmanaged access codes through API integrations. */
|
|
73864
|
+
cannot_be_managed?: true | undefined;
|
|
73865
|
+
/** Indicates that Seam cannot delete this unmanaged access code through the provider. If this access code needs to be deleted, it will only be possible from the manufacturer app. */
|
|
73866
|
+
cannot_delete_unmanaged_access_code?: true | undefined;
|
|
73839
73867
|
/** Metadata for a dormakaba Oracode unmanaged access code. Only present for unmanaged access codes from dormakaba Oracode devices. */
|
|
73840
73868
|
dormakaba_oracode_metadata?: ({
|
|
73841
73869
|
/** Dormakaba Oracode stay ID associated with this access code. */
|
|
@@ -132086,6 +132114,8 @@ type Routes = {
|
|
|
132086
132114
|
space_key?: string | undefined;
|
|
132087
132115
|
/** Filter reservations by space ID (UUID). */
|
|
132088
132116
|
space_id?: string | undefined;
|
|
132117
|
+
/** Filter reservations by the connected account whose connector discovered them. */
|
|
132118
|
+
connected_account_id?: string | undefined;
|
|
132089
132119
|
/** Maximum number of records to return per page. */
|
|
132090
132120
|
limit?: number;
|
|
132091
132121
|
/** Timestamp by which to limit returned reservations. Returns reservations created before this timestamp. */
|
|
@@ -165235,6 +165265,10 @@ type Routes = {
|
|
|
165235
165265
|
ends_at?: (string | null) | undefined;
|
|
165236
165266
|
/** 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. */
|
|
165237
165267
|
status: 'set' | 'unset';
|
|
165268
|
+
/** Indicates that Seam cannot convert this unmanaged access code to a managed access code. Some providers do not support management of unmanaged access codes through API integrations. */
|
|
165269
|
+
cannot_be_managed?: true | undefined;
|
|
165270
|
+
/** Indicates that Seam cannot delete this unmanaged access code through the provider. If this access code needs to be deleted, it will only be possible from the manufacturer app. */
|
|
165271
|
+
cannot_delete_unmanaged_access_code?: true | undefined;
|
|
165238
165272
|
/** Metadata for a dormakaba Oracode unmanaged access code. Only present for unmanaged access codes from dormakaba Oracode devices. */
|
|
165239
165273
|
dormakaba_oracode_metadata?: ({
|
|
165240
165274
|
/** Dormakaba Oracode stay ID associated with this access code. */
|
package/dist/index.cjs
CHANGED
|
@@ -2656,6 +2656,12 @@ var unmanaged_access_code = access_code.pick({
|
|
|
2656
2656
|
status: zod.z.enum(["set", "unset"]).describe(
|
|
2657
2657
|
"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."
|
|
2658
2658
|
),
|
|
2659
|
+
cannot_be_managed: zod.z.literal(true).optional().describe(
|
|
2660
|
+
"Indicates that Seam cannot convert this unmanaged access code to a managed access code. Some providers do not support management of unmanaged access codes through API integrations."
|
|
2661
|
+
),
|
|
2662
|
+
cannot_delete_unmanaged_access_code: zod.z.literal(true).optional().describe(
|
|
2663
|
+
"Indicates that Seam cannot delete this unmanaged access code through the provider. If this access code needs to be deleted, it will only be possible from the manufacturer app."
|
|
2664
|
+
),
|
|
2659
2665
|
dormakaba_oracode_metadata: dormakaba_oracode_access_code_metadata.nullable().optional().describe(
|
|
2660
2666
|
"Metadata for a dormakaba Oracode unmanaged access code. Only present for unmanaged access codes from dormakaba Oracode devices."
|
|
2661
2667
|
)
|
|
@@ -30828,6 +30834,16 @@ var openapi = {
|
|
|
30828
30834
|
format: "uuid",
|
|
30829
30835
|
type: "string"
|
|
30830
30836
|
},
|
|
30837
|
+
cannot_be_managed: {
|
|
30838
|
+
description: "Indicates that Seam cannot convert this unmanaged access code to a managed access code. Some providers do not support management of unmanaged access codes through API integrations.",
|
|
30839
|
+
enum: [true],
|
|
30840
|
+
type: "boolean"
|
|
30841
|
+
},
|
|
30842
|
+
cannot_delete_unmanaged_access_code: {
|
|
30843
|
+
description: "Indicates that Seam cannot delete this unmanaged access code through the provider. If this access code needs to be deleted, it will only be possible from the manufacturer app.",
|
|
30844
|
+
enum: [true],
|
|
30845
|
+
type: "boolean"
|
|
30846
|
+
},
|
|
30831
30847
|
code: {
|
|
30832
30848
|
description: "Code used for access. Typically, a numeric or alphanumeric string.",
|
|
30833
30849
|
nullable: true,
|
|
@@ -72223,6 +72239,15 @@ var openapi = {
|
|
|
72223
72239
|
type: "string"
|
|
72224
72240
|
}
|
|
72225
72241
|
},
|
|
72242
|
+
{
|
|
72243
|
+
in: "query",
|
|
72244
|
+
name: "connected_account_id",
|
|
72245
|
+
schema: {
|
|
72246
|
+
description: "Filter reservations by the connected account whose connector discovered them.",
|
|
72247
|
+
format: "uuid",
|
|
72248
|
+
type: "string"
|
|
72249
|
+
}
|
|
72250
|
+
},
|
|
72226
72251
|
{
|
|
72227
72252
|
in: "query",
|
|
72228
72253
|
name: "limit",
|
|
@@ -72538,6 +72563,11 @@ var openapi = {
|
|
|
72538
72563
|
minItems: 2,
|
|
72539
72564
|
type: "array"
|
|
72540
72565
|
},
|
|
72566
|
+
connected_account_id: {
|
|
72567
|
+
description: "Filter reservations by the connected account whose connector discovered them.",
|
|
72568
|
+
format: "uuid",
|
|
72569
|
+
type: "string"
|
|
72570
|
+
},
|
|
72541
72571
|
created_after: {
|
|
72542
72572
|
description: "Timestamp by which to limit returned reservations. Returns reservations created after this timestamp.",
|
|
72543
72573
|
format: "date-time",
|