@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.
@@ -2939,7 +2939,7 @@ declare const unmanaged_access_code: z.ZodObject<{
2939
2939
  } & {
2940
2940
  is_managed: z.ZodLiteral<false>;
2941
2941
  status: z.ZodEnum<["set"]>;
2942
- dormakaba_oracode_metadata: z.ZodNullable<z.ZodObject<{
2942
+ dormakaba_oracode_metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2943
2943
  stay_id: z.ZodNumber;
2944
2944
  user_level_id: z.ZodOptional<z.ZodString>;
2945
2945
  user_level_name: z.ZodNullable<z.ZodString>;
@@ -2966,7 +2966,7 @@ declare const unmanaged_access_code: z.ZodObject<{
2966
2966
  is_extendable?: boolean | undefined;
2967
2967
  is_early_checkin_able?: boolean | undefined;
2968
2968
  is_overridable?: boolean | undefined;
2969
- }>>;
2969
+ }>>>;
2970
2970
  }, "strip", z.ZodTypeAny, {
2971
2971
  code: string | null;
2972
2972
  type: "time_bound" | "ongoing";
@@ -3241,7 +3241,11 @@ declare const unmanaged_access_code: z.ZodObject<{
3241
3241
  warning_code: "being_deleted";
3242
3242
  created_at?: string | undefined;
3243
3243
  })[];
3244
- dormakaba_oracode_metadata: {
3244
+ is_managed: false;
3245
+ access_code_id: string;
3246
+ starts_at?: string | null | undefined;
3247
+ ends_at?: string | null | undefined;
3248
+ dormakaba_oracode_metadata?: {
3245
3249
  stay_id: number;
3246
3250
  user_level_name: string | null;
3247
3251
  site_name?: string | undefined;
@@ -3250,11 +3254,7 @@ declare const unmanaged_access_code: z.ZodObject<{
3250
3254
  is_extendable?: boolean | undefined;
3251
3255
  is_early_checkin_able?: boolean | undefined;
3252
3256
  is_overridable?: boolean | undefined;
3253
- } | null;
3254
- is_managed: false;
3255
- access_code_id: string;
3256
- starts_at?: string | null | undefined;
3257
- ends_at?: string | null | undefined;
3257
+ } | null | undefined;
3258
3258
  }, {
3259
3259
  code: string | null;
3260
3260
  type: "time_bound" | "ongoing";
@@ -3529,7 +3529,11 @@ declare const unmanaged_access_code: z.ZodObject<{
3529
3529
  warning_code: "being_deleted";
3530
3530
  created_at?: string | undefined;
3531
3531
  })[];
3532
- dormakaba_oracode_metadata: {
3532
+ is_managed: false;
3533
+ access_code_id: string;
3534
+ starts_at?: string | null | undefined;
3535
+ ends_at?: string | null | undefined;
3536
+ dormakaba_oracode_metadata?: {
3533
3537
  stay_id: number;
3534
3538
  user_level_name: string | null;
3535
3539
  site_name?: string | undefined;
@@ -3538,11 +3542,7 @@ declare const unmanaged_access_code: z.ZodObject<{
3538
3542
  is_extendable?: boolean | undefined;
3539
3543
  is_early_checkin_able?: boolean | undefined;
3540
3544
  is_overridable?: boolean | undefined;
3541
- } | null;
3542
- is_managed: false;
3543
- access_code_id: string;
3544
- starts_at?: string | null | undefined;
3545
- ends_at?: string | null | undefined;
3545
+ } | null | undefined;
3546
3546
  }>;
3547
3547
  type UnmanagedAccessCode = z.infer<typeof unmanaged_access_code>;
3548
3548
 
@@ -36087,7 +36087,7 @@ declare const batch: z.ZodObject<{
36087
36087
  } & {
36088
36088
  is_managed: z.ZodLiteral<false>;
36089
36089
  status: z.ZodEnum<["set"]>;
36090
- dormakaba_oracode_metadata: z.ZodNullable<z.ZodObject<{
36090
+ dormakaba_oracode_metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
36091
36091
  stay_id: z.ZodNumber;
36092
36092
  user_level_id: z.ZodOptional<z.ZodString>;
36093
36093
  user_level_name: z.ZodNullable<z.ZodString>;
@@ -36114,7 +36114,7 @@ declare const batch: z.ZodObject<{
36114
36114
  is_extendable?: boolean | undefined;
36115
36115
  is_early_checkin_able?: boolean | undefined;
36116
36116
  is_overridable?: boolean | undefined;
36117
- }>>;
36117
+ }>>>;
36118
36118
  }, "strip", z.ZodTypeAny, {
36119
36119
  code: string | null;
36120
36120
  type: "time_bound" | "ongoing";
@@ -36389,7 +36389,11 @@ declare const batch: z.ZodObject<{
36389
36389
  warning_code: "being_deleted";
36390
36390
  created_at?: string | undefined;
36391
36391
  })[];
36392
- dormakaba_oracode_metadata: {
36392
+ is_managed: false;
36393
+ access_code_id: string;
36394
+ starts_at?: string | null | undefined;
36395
+ ends_at?: string | null | undefined;
36396
+ dormakaba_oracode_metadata?: {
36393
36397
  stay_id: number;
36394
36398
  user_level_name: string | null;
36395
36399
  site_name?: string | undefined;
@@ -36398,11 +36402,7 @@ declare const batch: z.ZodObject<{
36398
36402
  is_extendable?: boolean | undefined;
36399
36403
  is_early_checkin_able?: boolean | undefined;
36400
36404
  is_overridable?: boolean | undefined;
36401
- } | null;
36402
- is_managed: false;
36403
- access_code_id: string;
36404
- starts_at?: string | null | undefined;
36405
- ends_at?: string | null | undefined;
36405
+ } | null | undefined;
36406
36406
  }, {
36407
36407
  code: string | null;
36408
36408
  type: "time_bound" | "ongoing";
@@ -36677,7 +36677,11 @@ declare const batch: z.ZodObject<{
36677
36677
  warning_code: "being_deleted";
36678
36678
  created_at?: string | undefined;
36679
36679
  })[];
36680
- dormakaba_oracode_metadata: {
36680
+ is_managed: false;
36681
+ access_code_id: string;
36682
+ starts_at?: string | null | undefined;
36683
+ ends_at?: string | null | undefined;
36684
+ dormakaba_oracode_metadata?: {
36681
36685
  stay_id: number;
36682
36686
  user_level_name: string | null;
36683
36687
  site_name?: string | undefined;
@@ -36686,11 +36690,7 @@ declare const batch: z.ZodObject<{
36686
36690
  is_extendable?: boolean | undefined;
36687
36691
  is_early_checkin_able?: boolean | undefined;
36688
36692
  is_overridable?: boolean | undefined;
36689
- } | null;
36690
- is_managed: false;
36691
- access_code_id: string;
36692
- starts_at?: string | null | undefined;
36693
- ends_at?: string | null | undefined;
36693
+ } | null | undefined;
36694
36694
  }>, "many">>;
36695
36695
  thermostat_daily_programs: z.ZodOptional<z.ZodArray<z.ZodObject<{
36696
36696
  thermostat_daily_program_id: z.ZodString;
@@ -41608,7 +41608,11 @@ declare const batch: z.ZodObject<{
41608
41608
  warning_code: "being_deleted";
41609
41609
  created_at?: string | undefined;
41610
41610
  })[];
41611
- dormakaba_oracode_metadata: {
41611
+ is_managed: false;
41612
+ access_code_id: string;
41613
+ starts_at?: string | null | undefined;
41614
+ ends_at?: string | null | undefined;
41615
+ dormakaba_oracode_metadata?: {
41612
41616
  stay_id: number;
41613
41617
  user_level_name: string | null;
41614
41618
  site_name?: string | undefined;
@@ -41617,11 +41621,7 @@ declare const batch: z.ZodObject<{
41617
41621
  is_extendable?: boolean | undefined;
41618
41622
  is_early_checkin_able?: boolean | undefined;
41619
41623
  is_overridable?: boolean | undefined;
41620
- } | null;
41621
- is_managed: false;
41622
- access_code_id: string;
41623
- starts_at?: string | null | undefined;
41624
- ends_at?: string | null | undefined;
41624
+ } | null | undefined;
41625
41625
  }[] | undefined;
41626
41626
  thermostat_schedules?: {
41627
41627
  climate_preset_key: string;
@@ -46412,7 +46412,11 @@ declare const batch: z.ZodObject<{
46412
46412
  warning_code: "being_deleted";
46413
46413
  created_at?: string | undefined;
46414
46414
  })[];
46415
- dormakaba_oracode_metadata: {
46415
+ is_managed: false;
46416
+ access_code_id: string;
46417
+ starts_at?: string | null | undefined;
46418
+ ends_at?: string | null | undefined;
46419
+ dormakaba_oracode_metadata?: {
46416
46420
  stay_id: number;
46417
46421
  user_level_name: string | null;
46418
46422
  site_name?: string | undefined;
@@ -46421,11 +46425,7 @@ declare const batch: z.ZodObject<{
46421
46425
  is_extendable?: boolean | undefined;
46422
46426
  is_early_checkin_able?: boolean | undefined;
46423
46427
  is_overridable?: boolean | undefined;
46424
- } | null;
46425
- is_managed: false;
46426
- access_code_id: string;
46427
- starts_at?: string | null | undefined;
46428
- ends_at?: string | null | undefined;
46428
+ } | null | undefined;
46429
46429
  }[] | undefined;
46430
46430
  thermostat_schedules?: {
46431
46431
  climate_preset_key: string;
@@ -112134,6 +112134,9 @@ declare const _default: {
112134
112134
  enum: string[];
112135
112135
  type: string;
112136
112136
  };
112137
+ prefer_guest_phone_last4_as_code: {
112138
+ type: string;
112139
+ };
112137
112140
  };
112138
112141
  required: string[];
112139
112142
  type: string;
@@ -112433,6 +112436,9 @@ declare const _default: {
112433
112436
  enum: string[];
112434
112437
  type: string;
112435
112438
  };
112439
+ prefer_guest_phone_last4_as_code: {
112440
+ type: string;
112441
+ };
112436
112442
  };
112437
112443
  required: string[];
112438
112444
  type: string;
@@ -112719,6 +112725,9 @@ declare const _default: {
112719
112725
  enum: string[];
112720
112726
  type: string;
112721
112727
  };
112728
+ prefer_guest_phone_last4_as_code: {
112729
+ type: string;
112730
+ };
112722
112731
  };
112723
112732
  required: string[];
112724
112733
  type: string;
@@ -113028,6 +113037,9 @@ declare const _default: {
113028
113037
  enum: string[];
113029
113038
  type: string;
113030
113039
  };
113040
+ prefer_guest_phone_last4_as_code: {
113041
+ type: string;
113042
+ };
113031
113043
  };
113032
113044
  required: string[];
113033
113045
  type: string;
@@ -114466,6 +114478,9 @@ declare const _default: {
114466
114478
  enum: string[];
114467
114479
  type: string;
114468
114480
  };
114481
+ prefer_guest_phone_last4_as_code: {
114482
+ type: string;
114483
+ };
114469
114484
  };
114470
114485
  required: string[];
114471
114486
  type: string;
@@ -114751,6 +114766,9 @@ declare const _default: {
114751
114766
  enum: string[];
114752
114767
  type: string;
114753
114768
  };
114769
+ prefer_guest_phone_last4_as_code: {
114770
+ type: string;
114771
+ };
114754
114772
  };
114755
114773
  required: string[];
114756
114774
  type: string;
@@ -115036,6 +115054,9 @@ declare const _default: {
115036
115054
  enum: string[];
115037
115055
  type: string;
115038
115056
  };
115057
+ prefer_guest_phone_last4_as_code: {
115058
+ type: string;
115059
+ };
115039
115060
  };
115040
115061
  required: string[];
115041
115062
  type: string;
@@ -115336,6 +115357,9 @@ declare const _default: {
115336
115357
  enum: string[];
115337
115358
  type: string;
115338
115359
  };
115360
+ prefer_guest_phone_last4_as_code: {
115361
+ type: string;
115362
+ };
115339
115363
  };
115340
115364
  required: string[];
115341
115365
  type: string;
@@ -139118,7 +139142,7 @@ type Routes = {
139118
139142
  /** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. */
139119
139143
  status: 'set';
139120
139144
  /** Metadata for a dormakaba Oracode unmanaged access code. Only present for unmanaged access codes from dormakaba Oracode devices. */
139121
- dormakaba_oracode_metadata: {
139145
+ dormakaba_oracode_metadata?: ({
139122
139146
  /** Dormakaba Oracode stay ID associated with this access code. */
139123
139147
  stay_id: number;
139124
139148
  /** Dormakaba Oracode user level ID associated with this access code. */
@@ -139135,7 +139159,7 @@ type Routes = {
139135
139159
  is_early_checkin_able?: boolean | undefined;
139136
139160
  /** Indicates whether the access code can be overridden. When false, the maximum number of overrides has been reached. */
139137
139161
  is_overridable?: boolean | undefined;
139138
- } | null;
139162
+ } | null) | undefined;
139139
139163
  };
139140
139164
  };
139141
139165
  maxDuration: undefined;
@@ -140929,7 +140953,7 @@ type Routes = {
140929
140953
  /** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. */
140930
140954
  status: 'set';
140931
140955
  /** Metadata for a dormakaba Oracode unmanaged access code. Only present for unmanaged access codes from dormakaba Oracode devices. */
140932
- dormakaba_oracode_metadata: {
140956
+ dormakaba_oracode_metadata?: ({
140933
140957
  /** Dormakaba Oracode stay ID associated with this access code. */
140934
140958
  stay_id: number;
140935
140959
  /** Dormakaba Oracode user level ID associated with this access code. */
@@ -140946,7 +140970,7 @@ type Routes = {
140946
140970
  is_early_checkin_able?: boolean | undefined;
140947
140971
  /** Indicates whether the access code can be overridden. When false, the maximum number of overrides has been reached. */
140948
140972
  is_overridable?: boolean | undefined;
140949
- } | null;
140973
+ } | null) | undefined;
140950
140974
  };
140951
140975
  };
140952
140976
  maxDuration: undefined;
@@ -141435,7 +141459,7 @@ type Routes = {
141435
141459
  /** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. */
141436
141460
  status: 'set';
141437
141461
  /** Metadata for a dormakaba Oracode unmanaged access code. Only present for unmanaged access codes from dormakaba Oracode devices. */
141438
- dormakaba_oracode_metadata: {
141462
+ dormakaba_oracode_metadata?: ({
141439
141463
  /** Dormakaba Oracode stay ID associated with this access code. */
141440
141464
  stay_id: number;
141441
141465
  /** Dormakaba Oracode user level ID associated with this access code. */
@@ -141452,7 +141476,7 @@ type Routes = {
141452
141476
  is_early_checkin_able?: boolean | undefined;
141453
141477
  /** Indicates whether the access code can be overridden. When false, the maximum number of overrides has been reached. */
141454
141478
  is_overridable?: boolean | undefined;
141455
- } | null;
141479
+ } | null) | undefined;
141456
141480
  }[];
141457
141481
  /** Information about the current page of results. */
141458
141482
  pagination: {
@@ -192446,6 +192470,7 @@ type Routes = {
192446
192470
  card_count_on_reservation_create?: number | undefined;
192447
192471
  code_count_on_reservation_create?: number | undefined;
192448
192472
  instant_key_max_use_count?: number | undefined;
192473
+ prefer_guest_phone_last4_as_code?: boolean | undefined;
192449
192474
  };
192450
192475
  } | undefined;
192451
192476
  reservation_time_updated?: {
@@ -192528,6 +192553,7 @@ type Routes = {
192528
192553
  card_count_on_reservation_create?: number | undefined;
192529
192554
  code_count_on_reservation_create?: number | undefined;
192530
192555
  instant_key_max_use_count?: number | undefined;
192556
+ prefer_guest_phone_last4_as_code?: boolean | undefined;
192531
192557
  };
192532
192558
  } | undefined;
192533
192559
  reservation_time_updated?: {
@@ -192823,6 +192849,7 @@ type Routes = {
192823
192849
  card_count_on_reservation_create?: number | undefined;
192824
192850
  code_count_on_reservation_create?: number | undefined;
192825
192851
  instant_key_max_use_count?: number | undefined;
192852
+ prefer_guest_phone_last4_as_code?: boolean | undefined;
192826
192853
  };
192827
192854
  } | undefined;
192828
192855
  reservation_time_updated?: {
@@ -192904,6 +192931,7 @@ type Routes = {
192904
192931
  card_count_on_reservation_create?: number | undefined;
192905
192932
  code_count_on_reservation_create?: number | undefined;
192906
192933
  instant_key_max_use_count?: number | undefined;
192934
+ prefer_guest_phone_last4_as_code?: boolean | undefined;
192907
192935
  };
192908
192936
  } | undefined;
192909
192937
  reservation_time_updated?: {
@@ -227551,7 +227579,7 @@ type Routes = {
227551
227579
  /** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. */
227552
227580
  status: 'set';
227553
227581
  /** Metadata for a dormakaba Oracode unmanaged access code. Only present for unmanaged access codes from dormakaba Oracode devices. */
227554
- dormakaba_oracode_metadata: {
227582
+ dormakaba_oracode_metadata?: ({
227555
227583
  /** Dormakaba Oracode stay ID associated with this access code. */
227556
227584
  stay_id: number;
227557
227585
  /** Dormakaba Oracode user level ID associated with this access code. */
@@ -227568,7 +227596,7 @@ type Routes = {
227568
227596
  is_early_checkin_able?: boolean | undefined;
227569
227597
  /** Indicates whether the access code can be overridden. When false, the maximum number of overrides has been reached. */
227570
227598
  is_overridable?: boolean | undefined;
227571
- } | null;
227599
+ } | null) | undefined;
227572
227600
  }[] | undefined;
227573
227601
  access_codes?: {
227574
227602
  /** Unique identifier for the Seam workspace associated with the access code. */
package/dist/index.cjs CHANGED
@@ -2469,7 +2469,7 @@ var unmanaged_access_code = access_code.pick({
2469
2469
  status: zod.z.enum(["set"]).describe(
2470
2470
  "Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational."
2471
2471
  ),
2472
- dormakaba_oracode_metadata: dormakaba_oracode_access_code_metadata.nullable().describe(
2472
+ dormakaba_oracode_metadata: dormakaba_oracode_access_code_metadata.nullable().optional().describe(
2473
2473
  "Metadata for a dormakaba Oracode unmanaged access code. Only present for unmanaged access codes from dormakaba Oracode devices."
2474
2474
  )
2475
2475
  }).describe(`
@@ -30864,8 +30864,7 @@ var openapi_default = {
30864
30864
  "errors",
30865
30865
  "warnings",
30866
30866
  "is_managed",
30867
- "status",
30868
- "dormakaba_oracode_metadata"
30867
+ "status"
30869
30868
  ],
30870
30869
  type: "object",
30871
30870
  "x-route-path": "/access_codes/unmanaged"
@@ -62819,6 +62818,9 @@ var openapi_default = {
62819
62818
  "all_available"
62820
62819
  ],
62821
62820
  type: "string"
62821
+ },
62822
+ prefer_guest_phone_last4_as_code: {
62823
+ type: "boolean"
62822
62824
  }
62823
62825
  },
62824
62826
  required: [
@@ -63115,6 +63117,9 @@ var openapi_default = {
63115
63117
  "all_available"
63116
63118
  ],
63117
63119
  type: "string"
63120
+ },
63121
+ prefer_guest_phone_last4_as_code: {
63122
+ type: "boolean"
63118
63123
  }
63119
63124
  },
63120
63125
  required: [
@@ -63398,6 +63403,9 @@ var openapi_default = {
63398
63403
  "all_available"
63399
63404
  ],
63400
63405
  type: "string"
63406
+ },
63407
+ prefer_guest_phone_last4_as_code: {
63408
+ type: "boolean"
63401
63409
  }
63402
63410
  },
63403
63411
  required: [
@@ -63681,6 +63689,9 @@ var openapi_default = {
63681
63689
  "all_available"
63682
63690
  ],
63683
63691
  type: "string"
63692
+ },
63693
+ prefer_guest_phone_last4_as_code: {
63694
+ type: "boolean"
63684
63695
  }
63685
63696
  },
63686
63697
  required: [
@@ -64923,6 +64934,9 @@ var openapi_default = {
64923
64934
  "all_available"
64924
64935
  ],
64925
64936
  type: "string"
64937
+ },
64938
+ prefer_guest_phone_last4_as_code: {
64939
+ type: "boolean"
64926
64940
  }
64927
64941
  },
64928
64942
  required: [
@@ -65219,6 +65233,9 @@ var openapi_default = {
65219
65233
  "all_available"
65220
65234
  ],
65221
65235
  type: "string"
65236
+ },
65237
+ prefer_guest_phone_last4_as_code: {
65238
+ type: "boolean"
65222
65239
  }
65223
65240
  },
65224
65241
  required: [
@@ -65515,6 +65532,9 @@ var openapi_default = {
65515
65532
  "all_available"
65516
65533
  ],
65517
65534
  type: "string"
65535
+ },
65536
+ prefer_guest_phone_last4_as_code: {
65537
+ type: "boolean"
65518
65538
  }
65519
65539
  },
65520
65540
  required: [
@@ -65799,6 +65819,9 @@ var openapi_default = {
65799
65819
  "all_available"
65800
65820
  ],
65801
65821
  type: "string"
65822
+ },
65823
+ prefer_guest_phone_last4_as_code: {
65824
+ type: "boolean"
65802
65825
  }
65803
65826
  },
65804
65827
  required: [