@seamapi/types 1.598.0 → 1.599.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.
@@ -31453,24 +31453,20 @@ export type Routes = {
31453
31453
  /** List of provider keys to exclude from the connect feature. These providers will not be shown when the customer tries to connect an account. */
31454
31454
  excluded_providers?: string[] | undefined;
31455
31455
  };
31456
- /** Configuration for the manage reservations feature. */
31457
- manage_reservations?: {
31456
+ /** Configuration for the manage feature. */
31457
+ manage?: {
31458
31458
  /** Whether to exclude this feature from the portal. */
31459
31459
  exclude?: boolean;
31460
- /** Configuration for the reservations feature. */
31461
- reservations?: {
31462
- /** Indicates whether the customer can view reservations for their properties. */
31463
- exclude?: boolean;
31464
- };
31460
+ /** Indicates whether the customer can manage reservations for their properties. */
31461
+ exclude_reservation_management?: boolean;
31465
31462
  };
31466
- /** Configuration for the manage devices feature. */
31463
+ /** Configuration for the manage devices feature.
31464
+ ---
31465
+ deprecated: Use `manage` instead.
31466
+ --- */
31467
31467
  manage_devices?: {
31468
31468
  /** Whether to exclude this feature from the portal. */
31469
31469
  exclude?: boolean;
31470
- /** List of provider keys to allow for the connect feature. These providers will be shown when the customer tries to connect an account. */
31471
- accepted_providers?: string[] | undefined;
31472
- /** List of provider keys to exclude from the connect feature. These providers will not be shown when the customer tries to connect an account. */
31473
- excluded_providers?: string[] | undefined;
31474
31470
  };
31475
31471
  /** Configuration for the organize feature. */
31476
31472
  organize?: {
@@ -58605,24 +58601,20 @@ export type Routes = {
58605
58601
  /** List of provider keys to exclude from the connect feature. These providers will not be shown when the customer tries to connect an account. */
58606
58602
  excluded_providers?: string[] | undefined;
58607
58603
  };
58608
- /** Configuration for the manage reservations feature. */
58609
- manage_reservations?: {
58604
+ /** Configuration for the manage feature. */
58605
+ manage?: {
58610
58606
  /** Whether to exclude this feature from the portal. */
58611
58607
  exclude?: boolean;
58612
- /** Configuration for the reservations feature. */
58613
- reservations?: {
58614
- /** Indicates whether the customer can view reservations for their properties. */
58615
- exclude?: boolean;
58616
- };
58608
+ /** Indicates whether the customer can manage reservations for their properties. */
58609
+ exclude_reservation_management?: boolean;
58617
58610
  };
58618
- /** Configuration for the manage devices feature. */
58611
+ /** Configuration for the manage devices feature.
58612
+ ---
58613
+ deprecated: Use `manage` instead.
58614
+ --- */
58619
58615
  manage_devices?: {
58620
58616
  /** Whether to exclude this feature from the portal. */
58621
58617
  exclude?: boolean;
58622
- /** List of provider keys to allow for the connect feature. These providers will be shown when the customer tries to connect an account. */
58623
- accepted_providers?: string[] | undefined;
58624
- /** List of provider keys to exclude from the connect feature. These providers will not be shown when the customer tries to connect an account. */
58625
- excluded_providers?: string[] | undefined;
58626
58618
  };
58627
58619
  /** Configuration for the organize feature. */
58628
58620
  organize?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.598.0",
3
+ "version": "1.599.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -24,19 +24,17 @@ const base_connect_feature = base_feature.extend({
24
24
  'List of provider keys to exclude from the connect feature. These providers will not be shown when the customer tries to connect an account.',
25
25
  ),
26
26
  })
27
- const base_manage_devices_feature = base_feature.extend({
28
- reservations: z
29
- .object({
30
- exclude: z
31
- .boolean()
32
- .default(false)
33
- .describe(
34
- 'Indicates whether the customer can view reservations for their properties.',
35
- ),
36
- })
37
- .default({ exclude: false })
38
- .describe('Configuration for the reservations feature.'),
27
+ const base_manage_devices_feature = base_feature
28
+
29
+ const base_manage_feature = base_feature.extend({
30
+ exclude_reservation_management: z
31
+ .boolean()
32
+ .default(false)
33
+ .describe(
34
+ 'Indicates whether the customer can manage reservations for their properties.',
35
+ ),
39
36
  })
37
+
40
38
  const base_organize_feature = base_feature
41
39
 
42
40
  const base_configure_feature = base_feature.extend({
@@ -58,12 +56,15 @@ const base_features = z.object({
58
56
  connect: base_connect_feature
59
57
  .default({})
60
58
  .describe('Configuration for the connect accounts feature.'),
61
- manage_reservations: base_manage_devices_feature
62
- .default({})
63
- .describe('Configuration for the manage reservations feature.'),
64
- manage_devices: base_connect_feature
59
+ manage: base_manage_feature
65
60
  .default({})
66
- .describe('Configuration for the manage devices feature.'),
61
+ .describe('Configuration for the manage feature.'),
62
+ manage_devices: base_manage_devices_feature.default({}).describe(`
63
+ Configuration for the manage devices feature.
64
+ ---
65
+ deprecated: Use \`manage\` instead.
66
+ ---
67
+ `),
67
68
  organize: base_organize_feature
68
69
  .default({})
69
70
  .describe('Configuration for the organize feature.'),
@@ -93,7 +94,7 @@ export const portal_configuration = portal_configuration_base
93
94
  features: {
94
95
  connect: { exclude: false },
95
96
  organize: { exclude: false },
96
- manage_reservations: { exclude: false },
97
+ manage: { exclude: false, exclude_reservation_management: false },
97
98
  manage_devices: {
98
99
  exclude: false,
99
100
  },
@@ -40662,8 +40662,11 @@ export default {
40662
40662
  exclude: false,
40663
40663
  },
40664
40664
  connect: { exclude: false },
40665
+ manage: {
40666
+ exclude: false,
40667
+ exclude_reservation_management: false,
40668
+ },
40665
40669
  manage_devices: { exclude: false },
40666
- manage_reservations: { exclude: false },
40667
40670
  organize: { exclude: false },
40668
40671
  },
40669
40672
  is_embedded: false,
@@ -40725,36 +40728,30 @@ export default {
40725
40728
  },
40726
40729
  type: 'object',
40727
40730
  },
40728
- manage_devices: {
40731
+ manage: {
40729
40732
  default: {},
40730
40733
  description:
40731
- 'Configuration for the manage devices feature.',
40734
+ 'Configuration for the manage feature.',
40732
40735
  properties: {
40733
- accepted_providers: {
40734
- description:
40735
- 'List of provider keys to allow for the connect feature. These providers will be shown when the customer tries to connect an account.',
40736
- items: { type: 'string' },
40737
- type: 'array',
40738
- },
40739
40736
  exclude: {
40740
40737
  default: false,
40741
40738
  description:
40742
40739
  'Whether to exclude this feature from the portal.',
40743
40740
  type: 'boolean',
40744
40741
  },
40745
- excluded_providers: {
40742
+ exclude_reservation_management: {
40743
+ default: false,
40746
40744
  description:
40747
- 'List of provider keys to exclude from the connect feature. These providers will not be shown when the customer tries to connect an account.',
40748
- items: { type: 'string' },
40749
- type: 'array',
40745
+ 'Indicates whether the customer can manage reservations for their properties.',
40746
+ type: 'boolean',
40750
40747
  },
40751
40748
  },
40752
40749
  type: 'object',
40753
40750
  },
40754
- manage_reservations: {
40751
+ manage_devices: {
40755
40752
  default: {},
40756
40753
  description:
40757
- 'Configuration for the manage reservations feature.',
40754
+ 'Configuration for the manage devices feature.\n---\ndeprecated: Use `manage` instead.\n---',
40758
40755
  properties: {
40759
40756
  exclude: {
40760
40757
  default: false,
@@ -40762,20 +40759,6 @@ export default {
40762
40759
  'Whether to exclude this feature from the portal.',
40763
40760
  type: 'boolean',
40764
40761
  },
40765
- reservations: {
40766
- default: { exclude: false },
40767
- description:
40768
- 'Configuration for the reservations feature.',
40769
- properties: {
40770
- exclude: {
40771
- default: false,
40772
- description:
40773
- 'Indicates whether the customer can view reservations for their properties.',
40774
- type: 'boolean',
40775
- },
40776
- },
40777
- type: 'object',
40778
- },
40779
40762
  },
40780
40763
  type: 'object',
40781
40764
  },
@@ -52051,40 +52034,34 @@ export default {
52051
52034
  },
52052
52035
  type: 'object',
52053
52036
  },
52054
- manage_devices: {
52037
+ manage: {
52055
52038
  default: {
52056
52039
  $ref: '#/components/schemas/access_code',
52057
52040
  },
52058
52041
  description:
52059
- 'Configuration for the manage devices feature.',
52042
+ 'Configuration for the manage feature.',
52060
52043
  properties: {
52061
- accepted_providers: {
52062
- description:
52063
- 'List of provider keys to allow for the connect feature. These providers will be shown when the customer tries to connect an account.',
52064
- items: { type: 'string' },
52065
- type: 'array',
52066
- },
52067
52044
  exclude: {
52068
52045
  default: false,
52069
52046
  description:
52070
52047
  'Whether to exclude this feature from the portal.',
52071
52048
  type: 'boolean',
52072
52049
  },
52073
- excluded_providers: {
52050
+ exclude_reservation_management: {
52051
+ default: false,
52074
52052
  description:
52075
- 'List of provider keys to exclude from the connect feature. These providers will not be shown when the customer tries to connect an account.',
52076
- items: { type: 'string' },
52077
- type: 'array',
52053
+ 'Indicates whether the customer can manage reservations for their properties.',
52054
+ type: 'boolean',
52078
52055
  },
52079
52056
  },
52080
52057
  type: 'object',
52081
52058
  },
52082
- manage_reservations: {
52059
+ manage_devices: {
52083
52060
  default: {
52084
52061
  $ref: '#/components/schemas/access_code',
52085
52062
  },
52086
52063
  description:
52087
- 'Configuration for the manage reservations feature.',
52064
+ 'Configuration for the manage devices feature.\n---\ndeprecated: Use `manage` instead.\n---',
52088
52065
  properties: {
52089
52066
  exclude: {
52090
52067
  default: false,
@@ -52092,20 +52069,6 @@ export default {
52092
52069
  'Whether to exclude this feature from the portal.',
52093
52070
  type: 'boolean',
52094
52071
  },
52095
- reservations: {
52096
- default: { exclude: false },
52097
- description:
52098
- 'Configuration for the reservations feature.',
52099
- properties: {
52100
- exclude: {
52101
- default: false,
52102
- description:
52103
- 'Indicates whether the customer can view reservations for their properties.',
52104
- type: 'boolean',
52105
- },
52106
- },
52107
- type: 'object',
52108
- },
52109
52072
  },
52110
52073
  type: 'object',
52111
52074
  },
@@ -52371,40 +52334,34 @@ export default {
52371
52334
  },
52372
52335
  type: 'object',
52373
52336
  },
52374
- manage_devices: {
52337
+ manage: {
52375
52338
  default: {
52376
52339
  $ref: '#/components/schemas/access_code',
52377
52340
  },
52378
52341
  description:
52379
- 'Configuration for the manage devices feature.',
52342
+ 'Configuration for the manage feature.',
52380
52343
  properties: {
52381
- accepted_providers: {
52382
- description:
52383
- 'List of provider keys to allow for the connect feature. These providers will be shown when the customer tries to connect an account.',
52384
- items: { type: 'string' },
52385
- type: 'array',
52386
- },
52387
52344
  exclude: {
52388
52345
  default: false,
52389
52346
  description:
52390
52347
  'Whether to exclude this feature from the portal.',
52391
52348
  type: 'boolean',
52392
52349
  },
52393
- excluded_providers: {
52350
+ exclude_reservation_management: {
52351
+ default: false,
52394
52352
  description:
52395
- 'List of provider keys to exclude from the connect feature. These providers will not be shown when the customer tries to connect an account.',
52396
- items: { type: 'string' },
52397
- type: 'array',
52353
+ 'Indicates whether the customer can manage reservations for their properties.',
52354
+ type: 'boolean',
52398
52355
  },
52399
52356
  },
52400
52357
  type: 'object',
52401
52358
  },
52402
- manage_reservations: {
52359
+ manage_devices: {
52403
52360
  default: {
52404
52361
  $ref: '#/components/schemas/access_code',
52405
52362
  },
52406
52363
  description:
52407
- 'Configuration for the manage reservations feature.',
52364
+ 'Configuration for the manage devices feature.\n---\ndeprecated: Use `manage` instead.\n---',
52408
52365
  properties: {
52409
52366
  exclude: {
52410
52367
  default: false,
@@ -52412,20 +52369,6 @@ export default {
52412
52369
  'Whether to exclude this feature from the portal.',
52413
52370
  type: 'boolean',
52414
52371
  },
52415
- reservations: {
52416
- default: { exclude: false },
52417
- description:
52418
- 'Configuration for the reservations feature.',
52419
- properties: {
52420
- exclude: {
52421
- default: false,
52422
- description:
52423
- 'Indicates whether the customer can view reservations for their properties.',
52424
- type: 'boolean',
52425
- },
52426
- },
52427
- type: 'object',
52428
- },
52429
52372
  },
52430
52373
  type: 'object',
52431
52374
  },
@@ -36535,24 +36535,20 @@ export type Routes = {
36535
36535
  /** List of provider keys to exclude from the connect feature. These providers will not be shown when the customer tries to connect an account. */
36536
36536
  excluded_providers?: string[] | undefined
36537
36537
  }
36538
- /** Configuration for the manage reservations feature. */
36539
- manage_reservations?: {
36538
+ /** Configuration for the manage feature. */
36539
+ manage?: {
36540
36540
  /** Whether to exclude this feature from the portal. */
36541
36541
  exclude?: boolean
36542
- /** Configuration for the reservations feature. */
36543
- reservations?: {
36544
- /** Indicates whether the customer can view reservations for their properties. */
36545
- exclude?: boolean
36546
- }
36542
+ /** Indicates whether the customer can manage reservations for their properties. */
36543
+ exclude_reservation_management?: boolean
36547
36544
  }
36548
- /** Configuration for the manage devices feature. */
36545
+ /** Configuration for the manage devices feature.
36546
+ ---
36547
+ deprecated: Use `manage` instead.
36548
+ --- */
36549
36549
  manage_devices?: {
36550
36550
  /** Whether to exclude this feature from the portal. */
36551
36551
  exclude?: boolean
36552
- /** List of provider keys to allow for the connect feature. These providers will be shown when the customer tries to connect an account. */
36553
- accepted_providers?: string[] | undefined
36554
- /** List of provider keys to exclude from the connect feature. These providers will not be shown when the customer tries to connect an account. */
36555
- excluded_providers?: string[] | undefined
36556
36552
  }
36557
36553
  /** Configuration for the organize feature. */
36558
36554
  organize?: {
@@ -69821,24 +69817,20 @@ export type Routes = {
69821
69817
  /** List of provider keys to exclude from the connect feature. These providers will not be shown when the customer tries to connect an account. */
69822
69818
  excluded_providers?: string[] | undefined
69823
69819
  }
69824
- /** Configuration for the manage reservations feature. */
69825
- manage_reservations?: {
69820
+ /** Configuration for the manage feature. */
69821
+ manage?: {
69826
69822
  /** Whether to exclude this feature from the portal. */
69827
69823
  exclude?: boolean
69828
- /** Configuration for the reservations feature. */
69829
- reservations?: {
69830
- /** Indicates whether the customer can view reservations for their properties. */
69831
- exclude?: boolean
69832
- }
69824
+ /** Indicates whether the customer can manage reservations for their properties. */
69825
+ exclude_reservation_management?: boolean
69833
69826
  }
69834
- /** Configuration for the manage devices feature. */
69827
+ /** Configuration for the manage devices feature.
69828
+ ---
69829
+ deprecated: Use `manage` instead.
69830
+ --- */
69835
69831
  manage_devices?: {
69836
69832
  /** Whether to exclude this feature from the portal. */
69837
69833
  exclude?: boolean
69838
- /** List of provider keys to allow for the connect feature. These providers will be shown when the customer tries to connect an account. */
69839
- accepted_providers?: string[] | undefined
69840
- /** List of provider keys to exclude from the connect feature. These providers will not be shown when the customer tries to connect an account. */
69841
- excluded_providers?: string[] | undefined
69842
69834
  }
69843
69835
  /** Configuration for the organize feature. */
69844
69836
  organize?: {