@seamapi/types 1.753.0 → 1.754.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.
@@ -883,7 +883,7 @@ export declare const unmanaged_access_code: z.ZodObject<{
883
883
  } & {
884
884
  is_managed: z.ZodLiteral<false>;
885
885
  status: z.ZodEnum<["set"]>;
886
- dormakaba_oracode_metadata: z.ZodNullable<z.ZodObject<{
886
+ dormakaba_oracode_metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
887
887
  stay_id: z.ZodNumber;
888
888
  user_level_id: z.ZodOptional<z.ZodString>;
889
889
  user_level_name: z.ZodNullable<z.ZodString>;
@@ -910,7 +910,7 @@ export declare const unmanaged_access_code: z.ZodObject<{
910
910
  is_extendable?: boolean | undefined;
911
911
  is_early_checkin_able?: boolean | undefined;
912
912
  is_overridable?: boolean | undefined;
913
- }>>;
913
+ }>>>;
914
914
  }, "strip", z.ZodTypeAny, {
915
915
  code: string | null;
916
916
  type: "time_bound" | "ongoing";
@@ -1185,7 +1185,11 @@ export declare const unmanaged_access_code: z.ZodObject<{
1185
1185
  warning_code: "being_deleted";
1186
1186
  created_at?: string | undefined;
1187
1187
  })[];
1188
- dormakaba_oracode_metadata: {
1188
+ is_managed: false;
1189
+ access_code_id: string;
1190
+ starts_at?: string | null | undefined;
1191
+ ends_at?: string | null | undefined;
1192
+ dormakaba_oracode_metadata?: {
1189
1193
  stay_id: number;
1190
1194
  user_level_name: string | null;
1191
1195
  site_name?: string | undefined;
@@ -1194,11 +1198,7 @@ export declare const unmanaged_access_code: z.ZodObject<{
1194
1198
  is_extendable?: boolean | undefined;
1195
1199
  is_early_checkin_able?: boolean | undefined;
1196
1200
  is_overridable?: boolean | undefined;
1197
- } | null;
1198
- is_managed: false;
1199
- access_code_id: string;
1200
- starts_at?: string | null | undefined;
1201
- ends_at?: string | null | undefined;
1201
+ } | null | undefined;
1202
1202
  }, {
1203
1203
  code: string | null;
1204
1204
  type: "time_bound" | "ongoing";
@@ -1473,7 +1473,11 @@ export declare const unmanaged_access_code: z.ZodObject<{
1473
1473
  warning_code: "being_deleted";
1474
1474
  created_at?: string | undefined;
1475
1475
  })[];
1476
- dormakaba_oracode_metadata: {
1476
+ is_managed: false;
1477
+ access_code_id: string;
1478
+ starts_at?: string | null | undefined;
1479
+ ends_at?: string | null | undefined;
1480
+ dormakaba_oracode_metadata?: {
1477
1481
  stay_id: number;
1478
1482
  user_level_name: string | null;
1479
1483
  site_name?: string | undefined;
@@ -1482,10 +1486,6 @@ export declare const unmanaged_access_code: z.ZodObject<{
1482
1486
  is_extendable?: boolean | undefined;
1483
1487
  is_early_checkin_able?: boolean | undefined;
1484
1488
  is_overridable?: boolean | undefined;
1485
- } | null;
1486
- is_managed: false;
1487
- access_code_id: string;
1488
- starts_at?: string | null | undefined;
1489
- ends_at?: string | null | undefined;
1489
+ } | null | undefined;
1490
1490
  }>;
1491
1491
  export type UnmanagedAccessCode = z.infer<typeof unmanaged_access_code>;
@@ -24,6 +24,7 @@ export const unmanaged_access_code = access_code
24
24
  .describe('Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational.'),
25
25
  dormakaba_oracode_metadata: dormakaba_oracode_access_code_metadata
26
26
  .nullable()
27
+ .optional()
27
28
  .describe('Metadata for a dormakaba Oracode unmanaged access code. Only present for unmanaged access codes from dormakaba Oracode devices.'),
28
29
  }).describe(`
29
30
  ---
@@ -1 +1 @@
1
- {"version":3,"file":"unmanaged-access-code.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/access-codes/unmanaged-access-code.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,WAAW,EACX,sCAAsC,GACvC,MAAM,0BAA0B,CAAA;AAEjC,MAAM,CAAC,MAAM,qBAAqB,GAAG,WAAW;KAC7C,IAAI,CAAC;IACJ,YAAY,EAAE,IAAI;IAClB,IAAI,EAAE,IAAI;IACV,cAAc,EAAE,IAAI;IACpB,SAAS,EAAE,IAAI;IACf,IAAI,EAAE,IAAI;IACV,IAAI,EAAE,IAAI;IACV,UAAU,EAAE,IAAI;IAChB,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,UAAU,EAAE,IAAI;IAChB,SAAS,EAAE,IAAI;IACf,OAAO,EAAE,IAAI;CACd,CAAC;KACD,MAAM,CAAC;IACN,UAAU,EAAE,CAAC;SACV,OAAO,CAAC,KAAK,CAAC;SACd,QAAQ,CAAC,sDAAsD,CAAC;IACnE,MAAM,EAAE,CAAC;SACN,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC;SACb,QAAQ,CACP,8HAA8H,CAC/H;IACH,0BAA0B,EAAE,sCAAsC;SAC/D,QAAQ,EAAE;SACV,QAAQ,CACP,iIAAiI,CAClI;CACJ,CAAC,CAAC,QAAQ,CAAC;;;;;;;;;;;;;;;GAeX,CAAC,CAAA"}
1
+ {"version":3,"file":"unmanaged-access-code.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/access-codes/unmanaged-access-code.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,WAAW,EACX,sCAAsC,GACvC,MAAM,0BAA0B,CAAA;AAEjC,MAAM,CAAC,MAAM,qBAAqB,GAAG,WAAW;KAC7C,IAAI,CAAC;IACJ,YAAY,EAAE,IAAI;IAClB,IAAI,EAAE,IAAI;IACV,cAAc,EAAE,IAAI;IACpB,SAAS,EAAE,IAAI;IACf,IAAI,EAAE,IAAI;IACV,IAAI,EAAE,IAAI;IACV,UAAU,EAAE,IAAI;IAChB,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,UAAU,EAAE,IAAI;IAChB,SAAS,EAAE,IAAI;IACf,OAAO,EAAE,IAAI;CACd,CAAC;KACD,MAAM,CAAC;IACN,UAAU,EAAE,CAAC;SACV,OAAO,CAAC,KAAK,CAAC;SACd,QAAQ,CAAC,sDAAsD,CAAC;IACnE,MAAM,EAAE,CAAC;SACN,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC;SACb,QAAQ,CACP,8HAA8H,CAC/H;IACH,0BAA0B,EAAE,sCAAsC;SAC/D,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,CACP,iIAAiI,CAClI;CACJ,CAAC,CAAC,QAAQ,CAAC;;;;;;;;;;;;;;;GAeX,CAAC,CAAA"}
@@ -24339,7 +24339,7 @@ export declare const batch: z.ZodObject<{
24339
24339
  } & {
24340
24340
  is_managed: z.ZodLiteral<false>;
24341
24341
  status: z.ZodEnum<["set"]>;
24342
- dormakaba_oracode_metadata: z.ZodNullable<z.ZodObject<{
24342
+ dormakaba_oracode_metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
24343
24343
  stay_id: z.ZodNumber;
24344
24344
  user_level_id: z.ZodOptional<z.ZodString>;
24345
24345
  user_level_name: z.ZodNullable<z.ZodString>;
@@ -24366,7 +24366,7 @@ export declare const batch: z.ZodObject<{
24366
24366
  is_extendable?: boolean | undefined;
24367
24367
  is_early_checkin_able?: boolean | undefined;
24368
24368
  is_overridable?: boolean | undefined;
24369
- }>>;
24369
+ }>>>;
24370
24370
  }, "strip", z.ZodTypeAny, {
24371
24371
  code: string | null;
24372
24372
  type: "time_bound" | "ongoing";
@@ -24641,7 +24641,11 @@ export declare const batch: z.ZodObject<{
24641
24641
  warning_code: "being_deleted";
24642
24642
  created_at?: string | undefined;
24643
24643
  })[];
24644
- dormakaba_oracode_metadata: {
24644
+ is_managed: false;
24645
+ access_code_id: string;
24646
+ starts_at?: string | null | undefined;
24647
+ ends_at?: string | null | undefined;
24648
+ dormakaba_oracode_metadata?: {
24645
24649
  stay_id: number;
24646
24650
  user_level_name: string | null;
24647
24651
  site_name?: string | undefined;
@@ -24650,11 +24654,7 @@ export declare const batch: z.ZodObject<{
24650
24654
  is_extendable?: boolean | undefined;
24651
24655
  is_early_checkin_able?: boolean | undefined;
24652
24656
  is_overridable?: boolean | undefined;
24653
- } | null;
24654
- is_managed: false;
24655
- access_code_id: string;
24656
- starts_at?: string | null | undefined;
24657
- ends_at?: string | null | undefined;
24657
+ } | null | undefined;
24658
24658
  }, {
24659
24659
  code: string | null;
24660
24660
  type: "time_bound" | "ongoing";
@@ -24929,7 +24929,11 @@ export declare const batch: z.ZodObject<{
24929
24929
  warning_code: "being_deleted";
24930
24930
  created_at?: string | undefined;
24931
24931
  })[];
24932
- dormakaba_oracode_metadata: {
24932
+ is_managed: false;
24933
+ access_code_id: string;
24934
+ starts_at?: string | null | undefined;
24935
+ ends_at?: string | null | undefined;
24936
+ dormakaba_oracode_metadata?: {
24933
24937
  stay_id: number;
24934
24938
  user_level_name: string | null;
24935
24939
  site_name?: string | undefined;
@@ -24938,11 +24942,7 @@ export declare const batch: z.ZodObject<{
24938
24942
  is_extendable?: boolean | undefined;
24939
24943
  is_early_checkin_able?: boolean | undefined;
24940
24944
  is_overridable?: boolean | undefined;
24941
- } | null;
24942
- is_managed: false;
24943
- access_code_id: string;
24944
- starts_at?: string | null | undefined;
24945
- ends_at?: string | null | undefined;
24945
+ } | null | undefined;
24946
24946
  }>, "many">>;
24947
24947
  thermostat_daily_programs: z.ZodOptional<z.ZodArray<z.ZodObject<{
24948
24948
  thermostat_daily_program_id: z.ZodString;
@@ -29860,7 +29860,11 @@ export declare const batch: z.ZodObject<{
29860
29860
  warning_code: "being_deleted";
29861
29861
  created_at?: string | undefined;
29862
29862
  })[];
29863
- dormakaba_oracode_metadata: {
29863
+ is_managed: false;
29864
+ access_code_id: string;
29865
+ starts_at?: string | null | undefined;
29866
+ ends_at?: string | null | undefined;
29867
+ dormakaba_oracode_metadata?: {
29864
29868
  stay_id: number;
29865
29869
  user_level_name: string | null;
29866
29870
  site_name?: string | undefined;
@@ -29869,11 +29873,7 @@ export declare const batch: z.ZodObject<{
29869
29873
  is_extendable?: boolean | undefined;
29870
29874
  is_early_checkin_able?: boolean | undefined;
29871
29875
  is_overridable?: boolean | undefined;
29872
- } | null;
29873
- is_managed: false;
29874
- access_code_id: string;
29875
- starts_at?: string | null | undefined;
29876
- ends_at?: string | null | undefined;
29876
+ } | null | undefined;
29877
29877
  }[] | undefined;
29878
29878
  thermostat_schedules?: {
29879
29879
  climate_preset_key: string;
@@ -34664,7 +34664,11 @@ export declare const batch: z.ZodObject<{
34664
34664
  warning_code: "being_deleted";
34665
34665
  created_at?: string | undefined;
34666
34666
  })[];
34667
- dormakaba_oracode_metadata: {
34667
+ is_managed: false;
34668
+ access_code_id: string;
34669
+ starts_at?: string | null | undefined;
34670
+ ends_at?: string | null | undefined;
34671
+ dormakaba_oracode_metadata?: {
34668
34672
  stay_id: number;
34669
34673
  user_level_name: string | null;
34670
34674
  site_name?: string | undefined;
@@ -34673,11 +34677,7 @@ export declare const batch: z.ZodObject<{
34673
34677
  is_extendable?: boolean | undefined;
34674
34678
  is_early_checkin_able?: boolean | undefined;
34675
34679
  is_overridable?: boolean | undefined;
34676
- } | null;
34677
- is_managed: false;
34678
- access_code_id: string;
34679
- starts_at?: string | null | undefined;
34680
- ends_at?: string | null | undefined;
34680
+ } | null | undefined;
34681
34681
  }[] | undefined;
34682
34682
  thermostat_schedules?: {
34683
34683
  climate_preset_key: string;
@@ -24304,7 +24304,6 @@ export default {
24304
24304
  'warnings',
24305
24305
  'is_managed',
24306
24306
  'status',
24307
- 'dormakaba_oracode_metadata',
24308
24307
  ],
24309
24308
  type: 'object',
24310
24309
  'x-route-path': '/access_codes/unmanaged',