@seamapi/types 1.845.0 → 1.847.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.
@@ -7063,6 +7063,10 @@ export type Routes = {
7063
7063
  ends_at?: (string | null) | undefined;
7064
7064
  /** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. `unset` indicates that the code exists on the provider but is not usable on the device. */
7065
7065
  status: 'set' | 'unset';
7066
+ /** Indicates that Seam cannot convert this unmanaged access code to a managed access code. Some providers do not support management of unmanaged access codes through API integrations. */
7067
+ cannot_be_managed?: true | undefined;
7068
+ /** Indicates that Seam cannot delete this unmanaged access code through the provider. If this access code needs to be deleted, it will only be possible from the manufacturer app. */
7069
+ cannot_delete_unmanaged_access_code?: true | undefined;
7066
7070
  /** Metadata for a dormakaba Oracode unmanaged access code. Only present for unmanaged access codes from dormakaba Oracode devices. */
7067
7071
  dormakaba_oracode_metadata?: ({
7068
7072
  /** Dormakaba Oracode stay ID associated with this access code. */
@@ -8957,6 +8961,10 @@ export type Routes = {
8957
8961
  ends_at?: (string | null) | undefined;
8958
8962
  /** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. `unset` indicates that the code exists on the provider but is not usable on the device. */
8959
8963
  status: 'set' | 'unset';
8964
+ /** Indicates that Seam cannot convert this unmanaged access code to a managed access code. Some providers do not support management of unmanaged access codes through API integrations. */
8965
+ cannot_be_managed?: true | undefined;
8966
+ /** Indicates that Seam cannot delete this unmanaged access code through the provider. If this access code needs to be deleted, it will only be possible from the manufacturer app. */
8967
+ cannot_delete_unmanaged_access_code?: true | undefined;
8960
8968
  /** Metadata for a dormakaba Oracode unmanaged access code. Only present for unmanaged access codes from dormakaba Oracode devices. */
8961
8969
  dormakaba_oracode_metadata?: ({
8962
8970
  /** Dormakaba Oracode stay ID associated with this access code. */
@@ -9481,6 +9489,10 @@ export type Routes = {
9481
9489
  ends_at?: (string | null) | undefined;
9482
9490
  /** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. `unset` indicates that the code exists on the provider but is not usable on the device. */
9483
9491
  status: 'set' | 'unset';
9492
+ /** Indicates that Seam cannot convert this unmanaged access code to a managed access code. Some providers do not support management of unmanaged access codes through API integrations. */
9493
+ cannot_be_managed?: true | undefined;
9494
+ /** Indicates that Seam cannot delete this unmanaged access code through the provider. If this access code needs to be deleted, it will only be possible from the manufacturer app. */
9495
+ cannot_delete_unmanaged_access_code?: true | undefined;
9484
9496
  /** Metadata for a dormakaba Oracode unmanaged access code. Only present for unmanaged access codes from dormakaba Oracode devices. */
9485
9497
  dormakaba_oracode_metadata?: ({
9486
9498
  /** Dormakaba Oracode stay ID associated with this access code. */
@@ -67731,6 +67743,8 @@ export type Routes = {
67731
67743
  space_key?: string | undefined;
67732
67744
  /** Filter reservations by space ID (UUID). */
67733
67745
  space_id?: string | undefined;
67746
+ /** Filter reservations by the connected account whose connector discovered them. */
67747
+ connected_account_id?: string | undefined;
67734
67748
  /** Maximum number of records to return per page. */
67735
67749
  limit?: number;
67736
67750
  /** Timestamp by which to limit returned reservations. Returns reservations created before this timestamp. */
@@ -100880,6 +100894,10 @@ export type Routes = {
100880
100894
  ends_at?: (string | null) | undefined;
100881
100895
  /** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. `unset` indicates that the code exists on the provider but is not usable on the device. */
100882
100896
  status: 'set' | 'unset';
100897
+ /** Indicates that Seam cannot convert this unmanaged access code to a managed access code. Some providers do not support management of unmanaged access codes through API integrations. */
100898
+ cannot_be_managed?: true | undefined;
100899
+ /** Indicates that Seam cannot delete this unmanaged access code through the provider. If this access code needs to be deleted, it will only be possible from the manufacturer app. */
100900
+ cannot_delete_unmanaged_access_code?: true | undefined;
100883
100901
  /** Metadata for a dormakaba Oracode unmanaged access code. Only present for unmanaged access codes from dormakaba Oracode devices. */
100884
100902
  dormakaba_oracode_metadata?: ({
100885
100903
  /** Dormakaba Oracode stay ID associated with this access code. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.845.0",
3
+ "version": "1.847.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -29,6 +29,18 @@ export const unmanaged_access_code = access_code
29
29
  .describe(
30
30
  'Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. `unset` indicates that the code exists on the provider but is not usable on the device.',
31
31
  ),
32
+ cannot_be_managed: z
33
+ .literal(true)
34
+ .optional()
35
+ .describe(
36
+ 'Indicates that Seam cannot convert this unmanaged access code to a managed access code. Some providers do not support management of unmanaged access codes through API integrations.',
37
+ ),
38
+ cannot_delete_unmanaged_access_code: z
39
+ .literal(true)
40
+ .optional()
41
+ .describe(
42
+ 'Indicates that Seam cannot delete this unmanaged access code through the provider. If this access code needs to be deleted, it will only be possible from the manufacturer app.',
43
+ ),
32
44
  dormakaba_oracode_metadata: dormakaba_oracode_access_code_metadata
33
45
  .nullable()
34
46
  .optional()
@@ -26545,6 +26545,18 @@ const openapi: OpenAPISpec = {
26545
26545
  format: 'uuid',
26546
26546
  type: 'string',
26547
26547
  },
26548
+ cannot_be_managed: {
26549
+ description:
26550
+ 'Indicates that Seam cannot convert this unmanaged access code to a managed access code. Some providers do not support management of unmanaged access codes through API integrations.',
26551
+ enum: [true],
26552
+ type: 'boolean',
26553
+ },
26554
+ cannot_delete_unmanaged_access_code: {
26555
+ description:
26556
+ 'Indicates that Seam cannot delete this unmanaged access code through the provider. If this access code needs to be deleted, it will only be possible from the manufacturer app.',
26557
+ enum: [true],
26558
+ type: 'boolean',
26559
+ },
26548
26560
  code: {
26549
26561
  description:
26550
26562
  'Code used for access. Typically, a numeric or alphanumeric string.',
@@ -70837,6 +70849,16 @@ const openapi: OpenAPISpec = {
70837
70849
  type: 'string',
70838
70850
  },
70839
70851
  },
70852
+ {
70853
+ in: 'query',
70854
+ name: 'connected_account_id',
70855
+ schema: {
70856
+ description:
70857
+ 'Filter reservations by the connected account whose connector discovered them.',
70858
+ format: 'uuid',
70859
+ type: 'string',
70860
+ },
70861
+ },
70840
70862
  {
70841
70863
  in: 'query',
70842
70864
  name: 'limit',
@@ -71159,6 +71181,12 @@ const openapi: OpenAPISpec = {
71159
71181
  minItems: 2,
71160
71182
  type: 'array',
71161
71183
  },
71184
+ connected_account_id: {
71185
+ description:
71186
+ 'Filter reservations by the connected account whose connector discovered them.',
71187
+ format: 'uuid',
71188
+ type: 'string',
71189
+ },
71162
71190
  created_after: {
71163
71191
  description:
71164
71192
  'Timestamp by which to limit returned reservations. Returns reservations created after this timestamp.',
@@ -7975,6 +7975,10 @@ export type Routes = {
7975
7975
  ends_at?: (string | null) | undefined
7976
7976
  /** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. `unset` indicates that the code exists on the provider but is not usable on the device. */
7977
7977
  status: 'set' | 'unset'
7978
+ /** Indicates that Seam cannot convert this unmanaged access code to a managed access code. Some providers do not support management of unmanaged access codes through API integrations. */
7979
+ cannot_be_managed?: true | undefined
7980
+ /** Indicates that Seam cannot delete this unmanaged access code through the provider. If this access code needs to be deleted, it will only be possible from the manufacturer app. */
7981
+ cannot_delete_unmanaged_access_code?: true | undefined
7978
7982
  /** Metadata for a dormakaba Oracode unmanaged access code. Only present for unmanaged access codes from dormakaba Oracode devices. */
7979
7983
  dormakaba_oracode_metadata?:
7980
7984
  | ({
@@ -10142,6 +10146,10 @@ export type Routes = {
10142
10146
  ends_at?: (string | null) | undefined
10143
10147
  /** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. `unset` indicates that the code exists on the provider but is not usable on the device. */
10144
10148
  status: 'set' | 'unset'
10149
+ /** Indicates that Seam cannot convert this unmanaged access code to a managed access code. Some providers do not support management of unmanaged access codes through API integrations. */
10150
+ cannot_be_managed?: true | undefined
10151
+ /** Indicates that Seam cannot delete this unmanaged access code through the provider. If this access code needs to be deleted, it will only be possible from the manufacturer app. */
10152
+ cannot_delete_unmanaged_access_code?: true | undefined
10145
10153
  /** Metadata for a dormakaba Oracode unmanaged access code. Only present for unmanaged access codes from dormakaba Oracode devices. */
10146
10154
  dormakaba_oracode_metadata?:
10147
10155
  | ({
@@ -10723,6 +10731,10 @@ export type Routes = {
10723
10731
  ends_at?: (string | null) | undefined
10724
10732
  /** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. `unset` indicates that the code exists on the provider but is not usable on the device. */
10725
10733
  status: 'set' | 'unset'
10734
+ /** Indicates that Seam cannot convert this unmanaged access code to a managed access code. Some providers do not support management of unmanaged access codes through API integrations. */
10735
+ cannot_be_managed?: true | undefined
10736
+ /** Indicates that Seam cannot delete this unmanaged access code through the provider. If this access code needs to be deleted, it will only be possible from the manufacturer app. */
10737
+ cannot_delete_unmanaged_access_code?: true | undefined
10726
10738
  /** Metadata for a dormakaba Oracode unmanaged access code. Only present for unmanaged access codes from dormakaba Oracode devices. */
10727
10739
  dormakaba_oracode_metadata?:
10728
10740
  | ({
@@ -80978,6 +80990,8 @@ export type Routes = {
80978
80990
  space_key?: string | undefined
80979
80991
  /** Filter reservations by space ID (UUID). */
80980
80992
  space_id?: string | undefined
80993
+ /** Filter reservations by the connected account whose connector discovered them. */
80994
+ connected_account_id?: string | undefined
80981
80995
  /** Maximum number of records to return per page. */
80982
80996
  limit?: number
80983
80997
  /** Timestamp by which to limit returned reservations. Returns reservations created before this timestamp. */
@@ -120142,6 +120156,10 @@ export type Routes = {
120142
120156
  ends_at?: (string | null) | undefined
120143
120157
  /** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. `unset` indicates that the code exists on the provider but is not usable on the device. */
120144
120158
  status: 'set' | 'unset'
120159
+ /** Indicates that Seam cannot convert this unmanaged access code to a managed access code. Some providers do not support management of unmanaged access codes through API integrations. */
120160
+ cannot_be_managed?: true | undefined
120161
+ /** Indicates that Seam cannot delete this unmanaged access code through the provider. If this access code needs to be deleted, it will only be possible from the manufacturer app. */
120162
+ cannot_delete_unmanaged_access_code?: true | undefined
120145
120163
  /** Metadata for a dormakaba Oracode unmanaged access code. Only present for unmanaged access codes from dormakaba Oracode devices. */
120146
120164
  dormakaba_oracode_metadata?:
120147
120165
  | ({