@seamapi/types 1.753.0 → 1.755.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;
@@ -50411,6 +50411,9 @@ declare const _default: {
50411
50411
  enum: string[];
50412
50412
  type: string;
50413
50413
  };
50414
+ prefer_guest_phone_last4_as_code: {
50415
+ type: string;
50416
+ };
50414
50417
  };
50415
50418
  required: string[];
50416
50419
  type: string;
@@ -50710,6 +50713,9 @@ declare const _default: {
50710
50713
  enum: string[];
50711
50714
  type: string;
50712
50715
  };
50716
+ prefer_guest_phone_last4_as_code: {
50717
+ type: string;
50718
+ };
50713
50719
  };
50714
50720
  required: string[];
50715
50721
  type: string;
@@ -50996,6 +51002,9 @@ declare const _default: {
50996
51002
  enum: string[];
50997
51003
  type: string;
50998
51004
  };
51005
+ prefer_guest_phone_last4_as_code: {
51006
+ type: string;
51007
+ };
50999
51008
  };
51000
51009
  required: string[];
51001
51010
  type: string;
@@ -51305,6 +51314,9 @@ declare const _default: {
51305
51314
  enum: string[];
51306
51315
  type: string;
51307
51316
  };
51317
+ prefer_guest_phone_last4_as_code: {
51318
+ type: string;
51319
+ };
51308
51320
  };
51309
51321
  required: string[];
51310
51322
  type: string;
@@ -52743,6 +52755,9 @@ declare const _default: {
52743
52755
  enum: string[];
52744
52756
  type: string;
52745
52757
  };
52758
+ prefer_guest_phone_last4_as_code: {
52759
+ type: string;
52760
+ };
52746
52761
  };
52747
52762
  required: string[];
52748
52763
  type: string;
@@ -53028,6 +53043,9 @@ declare const _default: {
53028
53043
  enum: string[];
53029
53044
  type: string;
53030
53045
  };
53046
+ prefer_guest_phone_last4_as_code: {
53047
+ type: string;
53048
+ };
53031
53049
  };
53032
53050
  required: string[];
53033
53051
  type: string;
@@ -53313,6 +53331,9 @@ declare const _default: {
53313
53331
  enum: string[];
53314
53332
  type: string;
53315
53333
  };
53334
+ prefer_guest_phone_last4_as_code: {
53335
+ type: string;
53336
+ };
53316
53337
  };
53317
53338
  required: string[];
53318
53339
  type: string;
@@ -53613,6 +53634,9 @@ declare const _default: {
53613
53634
  enum: string[];
53614
53635
  type: string;
53615
53636
  };
53637
+ prefer_guest_phone_last4_as_code: {
53638
+ type: string;
53639
+ };
53616
53640
  };
53617
53641
  required: string[];
53618
53642
  type: 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',
@@ -56259,6 +56258,9 @@ export default {
56259
56258
  ],
56260
56259
  type: 'string',
56261
56260
  },
56261
+ prefer_guest_phone_last4_as_code: {
56262
+ type: 'boolean',
56263
+ },
56262
56264
  },
56263
56265
  required: [
56264
56266
  'access_methods',
@@ -56555,6 +56557,9 @@ export default {
56555
56557
  ],
56556
56558
  type: 'string',
56557
56559
  },
56560
+ prefer_guest_phone_last4_as_code: {
56561
+ type: 'boolean',
56562
+ },
56558
56563
  },
56559
56564
  required: [
56560
56565
  'access_methods',
@@ -56838,6 +56843,9 @@ export default {
56838
56843
  ],
56839
56844
  type: 'string',
56840
56845
  },
56846
+ prefer_guest_phone_last4_as_code: {
56847
+ type: 'boolean',
56848
+ },
56841
56849
  },
56842
56850
  required: [
56843
56851
  'access_methods',
@@ -57121,6 +57129,9 @@ export default {
57121
57129
  ],
57122
57130
  type: 'string',
57123
57131
  },
57132
+ prefer_guest_phone_last4_as_code: {
57133
+ type: 'boolean',
57134
+ },
57124
57135
  },
57125
57136
  required: [
57126
57137
  'access_methods',
@@ -58363,6 +58374,9 @@ export default {
58363
58374
  ],
58364
58375
  type: 'string',
58365
58376
  },
58377
+ prefer_guest_phone_last4_as_code: {
58378
+ type: 'boolean',
58379
+ },
58366
58380
  },
58367
58381
  required: [
58368
58382
  'access_methods',
@@ -58659,6 +58673,9 @@ export default {
58659
58673
  ],
58660
58674
  type: 'string',
58661
58675
  },
58676
+ prefer_guest_phone_last4_as_code: {
58677
+ type: 'boolean',
58678
+ },
58662
58679
  },
58663
58680
  required: [
58664
58681
  'access_methods',
@@ -58955,6 +58972,9 @@ export default {
58955
58972
  ],
58956
58973
  type: 'string',
58957
58974
  },
58975
+ prefer_guest_phone_last4_as_code: {
58976
+ type: 'boolean',
58977
+ },
58958
58978
  },
58959
58979
  required: [
58960
58980
  'access_methods',
@@ -59239,6 +59259,9 @@ export default {
59239
59259
  ],
59240
59260
  type: 'string',
59241
59261
  },
59262
+ prefer_guest_phone_last4_as_code: {
59263
+ type: 'boolean',
59264
+ },
59242
59265
  },
59243
59266
  required: [
59244
59267
  'access_methods',