@seamapi/types 1.928.0 → 1.929.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.
Files changed (28) hide show
  1. package/dist/connect.cjs +185 -0
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +1453 -209
  4. package/dist/index.cjs +185 -0
  5. package/dist/index.cjs.map +1 -1
  6. package/lib/seam/connect/models/access-grants/access-grant.d.ts +4 -4
  7. package/lib/seam/connect/models/acs/acs-access-group.d.ts +4 -4
  8. package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +2 -2
  9. package/lib/seam/connect/models/customer/customer-data.d.ts +12 -12
  10. package/lib/seam/connect/models/customer/location-resources.d.ts +8 -8
  11. package/lib/seam/connect/models/devices/capability-properties/access-code.d.ts +201 -0
  12. package/lib/seam/connect/models/devices/capability-properties/access-code.js +58 -0
  13. package/lib/seam/connect/models/devices/capability-properties/access-code.js.map +1 -1
  14. package/lib/seam/connect/models/devices/capability-properties/index.d.ts +165 -13
  15. package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +12 -12
  16. package/lib/seam/connect/models/devices/device-metadata.d.ts +20 -20
  17. package/lib/seam/connect/models/devices/device.d.ts +248 -40
  18. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +180 -28
  19. package/lib/seam/connect/models/spaces/space.d.ts +4 -4
  20. package/lib/seam/connect/models/thermostats/climate-preset.d.ts +4 -4
  21. package/lib/seam/connect/openapi.js +136 -0
  22. package/lib/seam/connect/openapi.js.map +1 -1
  23. package/lib/seam/connect/route-types.d.ts +884 -0
  24. package/package.json +1 -1
  25. package/src/lib/seam/connect/models/devices/capability-properties/access-code.ts +86 -0
  26. package/src/lib/seam/connect/models/devices/capability-properties/index.ts +1 -1
  27. package/src/lib/seam/connect/openapi.ts +164 -0
  28. package/src/lib/seam/connect/route-types.ts +1122 -0
@@ -13779,6 +13779,142 @@ const openapi = {
13779
13779
  type: 'number',
13780
13780
  'x-property-group-key': 'access_codes',
13781
13781
  },
13782
+ offline_time_frame_options: {
13783
+ description: "Time frames that may be requested when creating an offline access code, expressed as a list of options. The caller picks one option (by matching the requested duration when the options' duration ranges do not overlap, or by `display_name` when they do) and satisfies that one option's rules. When `undefined`, any time frame works.",
13784
+ items: {
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
+ properties: {
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`).',
13789
+ type: 'string',
13790
+ },
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.',
13793
+ type: 'string',
13794
+ },
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`.',
13797
+ enum: [true],
13798
+ type: 'boolean',
13799
+ },
13800
+ max_duration: {
13801
+ description: 'Maximum duration this option covers, as an ISO 8601 duration (for example, `PT672H` or `P367D`). Omitted when there is no maximum.',
13802
+ type: 'string',
13803
+ },
13804
+ min_duration: {
13805
+ description: 'Minimum duration this option covers, as an ISO 8601 duration (for example, `PT1H` or `P29D`). Omitted when there is no minimum.',
13806
+ type: 'string',
13807
+ },
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.',
13810
+ type: 'string',
13811
+ },
13812
+ time_pairs: {
13813
+ description: 'Fixed check-in/check-out time pairings the caller chooses from. Mutually exclusive with `matching_start_end_time`.',
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.',
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`.",
13819
+ type: 'string',
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.",
13823
+ type: 'string',
13824
+ },
13825
+ display_name: {
13826
+ description: 'Label for the check-in/check-out time pairing.',
13827
+ type: 'string',
13828
+ },
13829
+ },
13830
+ required: [
13831
+ 'display_name',
13832
+ 'check_in_time',
13833
+ 'check_out_time',
13834
+ ],
13835
+ type: 'object',
13836
+ },
13837
+ type: 'array',
13838
+ },
13839
+ time_zone: {
13840
+ description: 'IANA time zone for interpreting `time_pairs` and the date recurrence rules. Present only when the option fixes times or dates.',
13841
+ type: 'string',
13842
+ },
13843
+ },
13844
+ required: ['display_name'],
13845
+ type: 'object',
13846
+ },
13847
+ type: 'array',
13848
+ 'x-property-group-key': 'access_codes',
13849
+ },
13850
+ online_time_frame_options: {
13851
+ description: "Time frames that may be requested when creating an online access code, expressed as a list of options. The caller picks one option (by matching the requested duration when the options' duration ranges do not overlap, or by `display_name` when they do) and satisfies that one option's rules. When `undefined`, any time frame works.",
13852
+ items: {
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
+ properties: {
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`).',
13857
+ type: 'string',
13858
+ },
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.',
13861
+ type: 'string',
13862
+ },
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`.',
13865
+ enum: [true],
13866
+ type: 'boolean',
13867
+ },
13868
+ max_duration: {
13869
+ description: 'Maximum duration this option covers, as an ISO 8601 duration (for example, `PT672H` or `P367D`). Omitted when there is no maximum.',
13870
+ type: 'string',
13871
+ },
13872
+ min_duration: {
13873
+ description: 'Minimum duration this option covers, as an ISO 8601 duration (for example, `PT1H` or `P29D`). Omitted when there is no minimum.',
13874
+ type: 'string',
13875
+ },
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.',
13878
+ type: 'string',
13879
+ },
13880
+ time_pairs: {
13881
+ description: 'Fixed check-in/check-out time pairings the caller chooses from. Mutually exclusive with `matching_start_end_time`.',
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.',
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`.",
13887
+ type: 'string',
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.",
13891
+ type: 'string',
13892
+ },
13893
+ display_name: {
13894
+ description: 'Label for the check-in/check-out time pairing.',
13895
+ type: 'string',
13896
+ },
13897
+ },
13898
+ required: [
13899
+ 'display_name',
13900
+ 'check_in_time',
13901
+ 'check_out_time',
13902
+ ],
13903
+ type: 'object',
13904
+ },
13905
+ type: 'array',
13906
+ },
13907
+ time_zone: {
13908
+ description: 'IANA time zone for interpreting `time_pairs` and the date recurrence rules. Present only when the option fixes times or dates.',
13909
+ type: 'string',
13910
+ },
13911
+ },
13912
+ required: ['display_name'],
13913
+ type: 'object',
13914
+ },
13915
+ type: 'array',
13916
+ 'x-property-group-key': 'access_codes',
13917
+ },
13782
13918
  supported_code_lengths: {
13783
13919
  description: 'Supported code lengths for access codes.',
13784
13920
  items: { format: 'float', type: 'number' },