@seamapi/types 1.846.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.
@@ -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. */
@@ -165237,6 +165265,10 @@ type Routes = {
165237
165265
  ends_at?: (string | null) | undefined;
165238
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. */
165239
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;
165240
165272
  /** Metadata for a dormakaba Oracode unmanaged access code. Only present for unmanaged access codes from dormakaba Oracode devices. */
165241
165273
  dormakaba_oracode_metadata?: ({
165242
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,