@seamapi/types 1.931.0 → 1.933.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.
@@ -4453,6 +4453,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
4453
4453
  } & {
4454
4454
  event_type: z.ZodLiteral<"lock.locked">;
4455
4455
  access_code_id: z.ZodOptional<z.ZodString>;
4456
+ code: z.ZodOptional<z.ZodString>;
4456
4457
  access_code_is_managed: z.ZodOptional<z.ZodBoolean>;
4457
4458
  action_attempt_id: z.ZodOptional<z.ZodString>;
4458
4459
  method: z.ZodEnum<["keycode", "manual", "automatic", "unknown", "remote"]>;
@@ -4467,6 +4468,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
4467
4468
  occurred_at: string;
4468
4469
  event_type: "lock.locked";
4469
4470
  method: "unknown" | "keycode" | "manual" | "automatic" | "remote";
4471
+ code?: string | undefined;
4470
4472
  customer_key?: string | undefined;
4471
4473
  access_code_id?: string | undefined;
4472
4474
  action_attempt_id?: string | undefined;
@@ -4484,6 +4486,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
4484
4486
  occurred_at: string;
4485
4487
  event_type: "lock.locked";
4486
4488
  method: "unknown" | "keycode" | "manual" | "automatic" | "remote";
4489
+ code?: string | undefined;
4487
4490
  customer_key?: string | undefined;
4488
4491
  access_code_id?: string | undefined;
4489
4492
  action_attempt_id?: string | undefined;
@@ -4504,6 +4507,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
4504
4507
  } & {
4505
4508
  event_type: z.ZodLiteral<"lock.unlocked">;
4506
4509
  access_code_id: z.ZodOptional<z.ZodString>;
4510
+ code: z.ZodOptional<z.ZodString>;
4507
4511
  access_code_is_managed: z.ZodOptional<z.ZodBoolean>;
4508
4512
  action_attempt_id: z.ZodOptional<z.ZodString>;
4509
4513
  method: z.ZodEnum<["keycode", "manual", "automatic", "unknown", "remote"]>;
@@ -4522,6 +4526,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
4522
4526
  occurred_at: string;
4523
4527
  event_type: "lock.unlocked";
4524
4528
  method: "unknown" | "keycode" | "manual" | "automatic" | "remote";
4529
+ code?: string | undefined;
4525
4530
  device_id?: string | undefined;
4526
4531
  customer_key?: string | undefined;
4527
4532
  access_code_id?: string | undefined;
@@ -4543,6 +4548,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
4543
4548
  occurred_at: string;
4544
4549
  event_type: "lock.unlocked";
4545
4550
  method: "unknown" | "keycode" | "manual" | "automatic" | "remote";
4551
+ code?: string | undefined;
4546
4552
  device_id?: string | undefined;
4547
4553
  customer_key?: string | undefined;
4548
4554
  access_code_id?: string | undefined;
@@ -13785,15 +13785,15 @@ const openapi = {
13785
13785
  description: 'One way to make a code: a duration band plus the time-of-day and date rules that apply within it. Absence of a rule means unrestricted on that axis.',
13786
13786
  properties: {
13787
13787
  display_name: {
13788
- description: 'Label for this option. For a single-option device, the product name (for example, `algoPIN` or `SmartPIN`); for a multi-option device, a label that distinguishes it (for example, `Hourly` or `Fixed check-in times`).',
13788
+ description: 'Label for this option. For a single-option device, the product name (for example, `algoPIN` or `SmartPIN`); for a multi-option device, a label that distinguishes it (for example, `Hourly` or `Fixed start times`).',
13789
13789
  type: 'string',
13790
13790
  },
13791
13791
  end_date_recurrence_rule: {
13792
- description: 'iCalendar recurrence rule (RRULE) that the check-out date must fall on. Constrains which calendar dates are selectable, independent of the time-of-day rules.',
13792
+ description: 'iCalendar recurrence rule (RRULE) that the end date must fall on. Constrains which calendar dates are selectable, independent of the time-of-day rules.',
13793
13793
  type: 'string',
13794
13794
  },
13795
13795
  matching_start_end_time: {
13796
- description: 'When `true`, the check-in and check-out must fall at the same time of day (the caller picks which). Mutually exclusive with `time_pairs`.',
13796
+ description: 'When `true`, the start and end must fall at the same time of day (the caller picks which). Mutually exclusive with `time_pairs`.',
13797
13797
  enum: [true],
13798
13798
  type: 'boolean',
13799
13799
  },
@@ -13806,31 +13806,31 @@ const openapi = {
13806
13806
  type: 'string',
13807
13807
  },
13808
13808
  start_date_recurrence_rule: {
13809
- description: 'iCalendar recurrence rule (RRULE) that the check-in date must fall on (for example, `FREQ=MONTHLY;BYDAY=1MO,3MO`). Constrains which calendar dates are selectable, independent of the time-of-day rules.',
13809
+ description: 'iCalendar recurrence rule (RRULE) that the start date must fall on (for example, `FREQ=MONTHLY;BYDAY=1MO,3MO`). Constrains which calendar dates are selectable, independent of the time-of-day rules.',
13810
13810
  type: 'string',
13811
13811
  },
13812
13812
  time_pairs: {
13813
- description: 'Fixed check-in/check-out time pairings the caller chooses from. Mutually exclusive with `matching_start_end_time`.',
13813
+ description: 'Fixed start/end time pairings the caller chooses from. Mutually exclusive with `matching_start_end_time`.',
13814
13814
  items: {
13815
- description: 'Fixed check-in/check-out time pairing. The caller picks one whole pairing; the two times cannot be mixed across pairs.',
13815
+ description: 'Fixed start/end time pairing. The caller picks one whole pairing; the two times cannot be mixed across pairs.',
13816
13816
  properties: {
13817
- check_in_time: {
13818
- description: "Check-in time of day as a 24-hour `HH:MM` value, interpreted in the option's `time_zone`.",
13817
+ display_name: {
13818
+ description: 'Label for the start/end time pairing.',
13819
13819
  type: 'string',
13820
13820
  },
13821
- check_out_time: {
13822
- description: "Check-out time of day as a 24-hour `HH:MM` value, interpreted in the option's `time_zone`. A `check_out_time` earlier on the clock than `check_in_time` means check-out falls on a later date.",
13821
+ end_time: {
13822
+ description: "End time of day as a 24-hour `HH:MM` value, interpreted in the option's `time_zone`. An `end_time` earlier on the clock than `start_time` means the end falls on a later date.",
13823
13823
  type: 'string',
13824
13824
  },
13825
- display_name: {
13826
- description: 'Label for the check-in/check-out time pairing.',
13825
+ start_time: {
13826
+ description: "Start time of day as a 24-hour `HH:MM` value, interpreted in the option's `time_zone`.",
13827
13827
  type: 'string',
13828
13828
  },
13829
13829
  },
13830
13830
  required: [
13831
13831
  'display_name',
13832
- 'check_in_time',
13833
- 'check_out_time',
13832
+ 'start_time',
13833
+ 'end_time',
13834
13834
  ],
13835
13835
  type: 'object',
13836
13836
  },
@@ -13853,15 +13853,15 @@ const openapi = {
13853
13853
  description: 'One way to make a code: a duration band plus the time-of-day and date rules that apply within it. Absence of a rule means unrestricted on that axis.',
13854
13854
  properties: {
13855
13855
  display_name: {
13856
- description: 'Label for this option. For a single-option device, the product name (for example, `algoPIN` or `SmartPIN`); for a multi-option device, a label that distinguishes it (for example, `Hourly` or `Fixed check-in times`).',
13856
+ description: 'Label for this option. For a single-option device, the product name (for example, `algoPIN` or `SmartPIN`); for a multi-option device, a label that distinguishes it (for example, `Hourly` or `Fixed start times`).',
13857
13857
  type: 'string',
13858
13858
  },
13859
13859
  end_date_recurrence_rule: {
13860
- description: 'iCalendar recurrence rule (RRULE) that the check-out date must fall on. Constrains which calendar dates are selectable, independent of the time-of-day rules.',
13860
+ description: 'iCalendar recurrence rule (RRULE) that the end date must fall on. Constrains which calendar dates are selectable, independent of the time-of-day rules.',
13861
13861
  type: 'string',
13862
13862
  },
13863
13863
  matching_start_end_time: {
13864
- description: 'When `true`, the check-in and check-out must fall at the same time of day (the caller picks which). Mutually exclusive with `time_pairs`.',
13864
+ description: 'When `true`, the start and end must fall at the same time of day (the caller picks which). Mutually exclusive with `time_pairs`.',
13865
13865
  enum: [true],
13866
13866
  type: 'boolean',
13867
13867
  },
@@ -13874,31 +13874,31 @@ const openapi = {
13874
13874
  type: 'string',
13875
13875
  },
13876
13876
  start_date_recurrence_rule: {
13877
- description: 'iCalendar recurrence rule (RRULE) that the check-in date must fall on (for example, `FREQ=MONTHLY;BYDAY=1MO,3MO`). Constrains which calendar dates are selectable, independent of the time-of-day rules.',
13877
+ description: 'iCalendar recurrence rule (RRULE) that the start date must fall on (for example, `FREQ=MONTHLY;BYDAY=1MO,3MO`). Constrains which calendar dates are selectable, independent of the time-of-day rules.',
13878
13878
  type: 'string',
13879
13879
  },
13880
13880
  time_pairs: {
13881
- description: 'Fixed check-in/check-out time pairings the caller chooses from. Mutually exclusive with `matching_start_end_time`.',
13881
+ description: 'Fixed start/end time pairings the caller chooses from. Mutually exclusive with `matching_start_end_time`.',
13882
13882
  items: {
13883
- description: 'Fixed check-in/check-out time pairing. The caller picks one whole pairing; the two times cannot be mixed across pairs.',
13883
+ description: 'Fixed start/end time pairing. The caller picks one whole pairing; the two times cannot be mixed across pairs.',
13884
13884
  properties: {
13885
- check_in_time: {
13886
- description: "Check-in time of day as a 24-hour `HH:MM` value, interpreted in the option's `time_zone`.",
13885
+ display_name: {
13886
+ description: 'Label for the start/end time pairing.',
13887
13887
  type: 'string',
13888
13888
  },
13889
- check_out_time: {
13890
- description: "Check-out time of day as a 24-hour `HH:MM` value, interpreted in the option's `time_zone`. A `check_out_time` earlier on the clock than `check_in_time` means check-out falls on a later date.",
13889
+ end_time: {
13890
+ description: "End time of day as a 24-hour `HH:MM` value, interpreted in the option's `time_zone`. An `end_time` earlier on the clock than `start_time` means the end falls on a later date.",
13891
13891
  type: 'string',
13892
13892
  },
13893
- display_name: {
13894
- description: 'Label for the check-in/check-out time pairing.',
13893
+ start_time: {
13894
+ description: "Start time of day as a 24-hour `HH:MM` value, interpreted in the option's `time_zone`.",
13895
13895
  type: 'string',
13896
13896
  },
13897
13897
  },
13898
13898
  required: [
13899
13899
  'display_name',
13900
- 'check_in_time',
13901
- 'check_out_time',
13900
+ 'start_time',
13901
+ 'end_time',
13902
13902
  ],
13903
13903
  type: 'object',
13904
13904
  },
@@ -22767,6 +22767,10 @@ const openapi = {
22767
22767
  format: 'uuid',
22768
22768
  type: 'string',
22769
22769
  },
22770
+ code: {
22771
+ description: '\n Code (PIN) that was used to lock the device, if known. Taken from the matched managed or unmanaged access code, or from the code reported by the provider when no access code matched.\n ',
22772
+ type: 'string',
22773
+ },
22770
22774
  connected_account_custom_metadata: {
22771
22775
  additionalProperties: {
22772
22776
  oneOf: [{ type: 'string' }, { type: 'boolean' }],
@@ -22875,6 +22879,10 @@ const openapi = {
22875
22879
  format: 'uuid',
22876
22880
  type: 'string',
22877
22881
  },
22882
+ code: {
22883
+ description: '\n Code (PIN) that was used to unlock the affected device, if known. Taken from the matched managed or unmanaged access code, or from the code reported by the provider when no access code matched.\n ',
22884
+ type: 'string',
22885
+ },
22878
22886
  connected_account_custom_metadata: {
22879
22887
  additionalProperties: {
22880
22888
  oneOf: [{ type: 'string' }, { type: 'boolean' }],