@seamapi/types 1.649.0 → 1.651.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.
@@ -26354,8 +26354,6 @@ export type Routes = {
26354
26354
  exclude?: boolean;
26355
26355
  /** The ID of the customization profile to use for the portal. */
26356
26356
  customization_profile_id?: string | undefined;
26357
- /** Indicates whether the customer can automatically manage new devices for their properties. */
26358
- allow_automatic_management_of_new_devices?: boolean;
26359
26357
  /** Indicates whether the customer can customize the access automation rules for their properties. */
26360
26358
  allow_access_automation_rule_customization?: boolean;
26361
26359
  /** Indicates whether the customer can customize the Instant Key profile for their properties. */
@@ -51953,12 +51951,13 @@ export type Routes = {
51953
51951
  connector_type: string;
51954
51952
  display_name: string;
51955
51953
  description?: string | undefined;
51956
- instance_config_schema?: any;
51957
- static_config: {
51958
- base_api_url: string;
51959
- polling_enabled: boolean;
51960
- polling_frequency_minutes: number;
51961
- };
51954
+ editable_fields: {
51955
+ name: string;
51956
+ display_name: string;
51957
+ description: string;
51958
+ type: 'string' | 'string[]' | 'number' | 'boolean';
51959
+ required: boolean;
51960
+ }[];
51962
51961
  }[];
51963
51962
  };
51964
51963
  };
@@ -52072,6 +52071,7 @@ export type Routes = {
52072
52071
  client_password: string;
52073
52072
  /** Optional property ID for single-property connectors */
52074
52073
  property_id?: (string | number) | undefined;
52074
+ auth_token?: string | undefined;
52075
52075
  };
52076
52076
  };
52077
52077
  commonParams: {};
@@ -54079,8 +54079,6 @@ export type Routes = {
54079
54079
  exclude?: boolean;
54080
54080
  /** The ID of the customization profile to use for the portal. */
54081
54081
  customization_profile_id?: string | undefined;
54082
- /** Indicates whether the customer can automatically manage new devices for their properties. */
54083
- allow_automatic_management_of_new_devices?: boolean;
54084
54082
  /** Indicates whether the customer can customize the access automation rules for their properties. */
54085
54083
  allow_access_automation_rule_customization?: boolean;
54086
54084
  /** Indicates whether the customer can customize the Instant Key profile for their properties. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.649.0",
3
+ "version": "1.651.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -49,12 +49,6 @@ const base_configure_feature = base_feature.extend({
49
49
  .uuid()
50
50
  .optional()
51
51
  .describe('The ID of the customization profile to use for the portal.'),
52
- allow_automatic_management_of_new_devices: z
53
- .boolean()
54
- .default(false)
55
- .describe(
56
- 'Indicates whether the customer can automatically manage new devices for their properties.',
57
- ),
58
52
  allow_access_automation_rule_customization: z
59
53
  .boolean()
60
54
  .default(false)
@@ -123,7 +117,6 @@ export const portal_configuration = portal_configuration_base
123
117
  exclude: false,
124
118
  allow_instant_key_customization: false, // default
125
119
  allow_access_automation_rule_customization: false, // default
126
- allow_automatic_management_of_new_devices: false, // default
127
120
  },
128
121
  },
129
122
  is_embedded: false,
@@ -41062,7 +41062,6 @@ export default {
41062
41062
  features: {
41063
41063
  configure: {
41064
41064
  allow_access_automation_rule_customization: false,
41065
- allow_automatic_management_of_new_devices: false,
41066
41065
  allow_instant_key_customization: false,
41067
41066
  exclude: false,
41068
41067
  },
@@ -41093,12 +41092,6 @@ export default {
41093
41092
  'Indicates whether the customer can customize the access automation rules for their properties.',
41094
41093
  type: 'boolean',
41095
41094
  },
41096
- allow_automatic_management_of_new_devices: {
41097
- default: false,
41098
- description:
41099
- 'Indicates whether the customer can automatically manage new devices for their properties.',
41100
- type: 'boolean',
41101
- },
41102
41095
  allow_instant_key_customization: {
41103
41096
  default: false,
41104
41097
  description:
@@ -52656,7 +52649,7 @@ export default {
52656
52649
  '/seam/customer/v1/connectors/connector_types': {
52657
52650
  get: {
52658
52651
  description:
52659
- 'Lists all available connector types and their required instance configuration schemas.',
52652
+ 'Lists all available connector types and their editable fields for UI input.',
52660
52653
  operationId: 'seamCustomerV1ConnectorsConnectorTypesGet',
52661
52654
  responses: {
52662
52655
  200: {
@@ -52670,30 +52663,39 @@ export default {
52670
52663
  connector_type: { type: 'string' },
52671
52664
  description: { type: 'string' },
52672
52665
  display_name: { type: 'string' },
52673
- instance_config_schema: {
52674
- $ref: '#/components/schemas/access_code',
52675
- },
52676
- static_config: {
52677
- properties: {
52678
- base_api_url: { type: 'string' },
52679
- polling_enabled: { type: 'boolean' },
52680
- polling_frequency_minutes: {
52681
- format: 'float',
52682
- type: 'number',
52666
+ editable_fields: {
52667
+ items: {
52668
+ properties: {
52669
+ description: { type: 'string' },
52670
+ display_name: { type: 'string' },
52671
+ name: { type: 'string' },
52672
+ required: { type: 'boolean' },
52673
+ type: {
52674
+ enum: [
52675
+ 'string',
52676
+ 'string[]',
52677
+ 'number',
52678
+ 'boolean',
52679
+ ],
52680
+ type: 'string',
52681
+ },
52683
52682
  },
52683
+ required: [
52684
+ 'name',
52685
+ 'display_name',
52686
+ 'description',
52687
+ 'type',
52688
+ 'required',
52689
+ ],
52690
+ type: 'object',
52684
52691
  },
52685
- required: [
52686
- 'base_api_url',
52687
- 'polling_enabled',
52688
- 'polling_frequency_minutes',
52689
- ],
52690
- type: 'object',
52692
+ type: 'array',
52691
52693
  },
52692
52694
  },
52693
52695
  required: [
52694
52696
  'connector_type',
52695
52697
  'display_name',
52696
- 'static_config',
52698
+ 'editable_fields',
52697
52699
  ],
52698
52700
  type: 'object',
52699
52701
  },
@@ -52727,7 +52729,7 @@ export default {
52727
52729
  },
52728
52730
  post: {
52729
52731
  description:
52730
- 'Lists all available connector types and their required instance configuration schemas.',
52732
+ 'Lists all available connector types and their editable fields for UI input.',
52731
52733
  operationId: 'seamCustomerV1ConnectorsConnectorTypesPost',
52732
52734
  responses: {
52733
52735
  200: {
@@ -52741,30 +52743,39 @@ export default {
52741
52743
  connector_type: { type: 'string' },
52742
52744
  description: { type: 'string' },
52743
52745
  display_name: { type: 'string' },
52744
- instance_config_schema: {
52745
- $ref: '#/components/schemas/access_code',
52746
- },
52747
- static_config: {
52748
- properties: {
52749
- base_api_url: { type: 'string' },
52750
- polling_enabled: { type: 'boolean' },
52751
- polling_frequency_minutes: {
52752
- format: 'float',
52753
- type: 'number',
52746
+ editable_fields: {
52747
+ items: {
52748
+ properties: {
52749
+ description: { type: 'string' },
52750
+ display_name: { type: 'string' },
52751
+ name: { type: 'string' },
52752
+ required: { type: 'boolean' },
52753
+ type: {
52754
+ enum: [
52755
+ 'string',
52756
+ 'string[]',
52757
+ 'number',
52758
+ 'boolean',
52759
+ ],
52760
+ type: 'string',
52761
+ },
52754
52762
  },
52763
+ required: [
52764
+ 'name',
52765
+ 'display_name',
52766
+ 'description',
52767
+ 'type',
52768
+ 'required',
52769
+ ],
52770
+ type: 'object',
52755
52771
  },
52756
- required: [
52757
- 'base_api_url',
52758
- 'polling_enabled',
52759
- 'polling_frequency_minutes',
52760
- ],
52761
- type: 'object',
52772
+ type: 'array',
52762
52773
  },
52763
52774
  },
52764
52775
  required: [
52765
52776
  'connector_type',
52766
52777
  'display_name',
52767
- 'static_config',
52778
+ 'editable_fields',
52768
52779
  ],
52769
52780
  type: 'object',
52770
52781
  },
@@ -53189,6 +53200,7 @@ export default {
53189
53200
  },
53190
53201
  {
53191
53202
  properties: {
53203
+ auth_token: { type: 'string' },
53192
53204
  client_id: {
53193
53205
  description: 'RMS client ID for authentication',
53194
53206
  minLength: 1,
@@ -53931,12 +53943,6 @@ export default {
53931
53943
  'Indicates whether the customer can customize the access automation rules for their properties.',
53932
53944
  type: 'boolean',
53933
53945
  },
53934
- allow_automatic_management_of_new_devices: {
53935
- default: false,
53936
- description:
53937
- 'Indicates whether the customer can automatically manage new devices for their properties.',
53938
- type: 'boolean',
53939
- },
53940
53946
  allow_instant_key_customization: {
53941
53947
  default: false,
53942
53948
  description:
@@ -54249,12 +54255,6 @@ export default {
54249
54255
  'Indicates whether the customer can customize the access automation rules for their properties.',
54250
54256
  type: 'boolean',
54251
54257
  },
54252
- allow_automatic_management_of_new_devices: {
54253
- default: false,
54254
- description:
54255
- 'Indicates whether the customer can automatically manage new devices for their properties.',
54256
- type: 'boolean',
54257
- },
54258
54258
  allow_instant_key_customization: {
54259
54259
  default: false,
54260
54260
  description:
@@ -30497,8 +30497,6 @@ export type Routes = {
30497
30497
  exclude?: boolean
30498
30498
  /** The ID of the customization profile to use for the portal. */
30499
30499
  customization_profile_id?: string | undefined
30500
- /** Indicates whether the customer can automatically manage new devices for their properties. */
30501
- allow_automatic_management_of_new_devices?: boolean
30502
30500
  /** Indicates whether the customer can customize the access automation rules for their properties. */
30503
30501
  allow_access_automation_rule_customization?: boolean
30504
30502
  /** Indicates whether the customer can customize the Instant Key profile for their properties. */
@@ -61787,12 +61785,13 @@ export type Routes = {
61787
61785
  connector_type: string
61788
61786
  display_name: string
61789
61787
  description?: string | undefined
61790
- instance_config_schema?: any
61791
- static_config: {
61792
- base_api_url: string
61793
- polling_enabled: boolean
61794
- polling_frequency_minutes: number
61795
- }
61788
+ editable_fields: {
61789
+ name: string
61790
+ display_name: string
61791
+ description: string
61792
+ type: 'string' | 'string[]' | 'number' | 'boolean'
61793
+ required: boolean
61794
+ }[]
61796
61795
  }[]
61797
61796
  }
61798
61797
  }
@@ -61911,6 +61910,7 @@ export type Routes = {
61911
61910
  client_password: string
61912
61911
  /** Optional property ID for single-property connectors */
61913
61912
  property_id?: (string | number) | undefined
61913
+ auth_token?: string | undefined
61914
61914
  }
61915
61915
  }
61916
61916
  commonParams: {}
@@ -64440,8 +64440,6 @@ export type Routes = {
64440
64440
  exclude?: boolean
64441
64441
  /** The ID of the customization profile to use for the portal. */
64442
64442
  customization_profile_id?: string | undefined
64443
- /** Indicates whether the customer can automatically manage new devices for their properties. */
64444
- allow_automatic_management_of_new_devices?: boolean
64445
64443
  /** Indicates whether the customer can customize the access automation rules for their properties. */
64446
64444
  allow_access_automation_rule_customization?: boolean
64447
64445
  /** Indicates whether the customer can customize the Instant Key profile for their properties. */