@seamapi/types 1.1178.0 → 1.1180.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.1178.0",
3
+ "version": "1.1180.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -1151,6 +1151,36 @@ export const device_metadata = z
1151
1151
  .partial()
1152
1152
  .describe(`Metadata for an Ultraloq device.`),
1153
1153
 
1154
+ yale_connect_metadata: z
1155
+ .object({
1156
+ device_id: z
1157
+ .string()
1158
+ .optional()
1159
+ .describe(`Device ID for a Yale Connect lock.`),
1160
+ device_name: z
1161
+ .string()
1162
+ .optional()
1163
+ .describe(`Device name for a Yale Connect lock.`),
1164
+ model: z
1165
+ .string()
1166
+ .optional()
1167
+ .describe(`Model reported by the Yale Connect lock.`),
1168
+ firmware_version: z
1169
+ .string()
1170
+ .optional()
1171
+ .describe(`Firmware version reported by the Yale Connect lock.`),
1172
+ home_name: z
1173
+ .string()
1174
+ .optional()
1175
+ .describe(`Name of the Yale Connect home that contains the lock.`),
1176
+ time_zone_description: z
1177
+ .string()
1178
+ .optional()
1179
+ .describe(`Time zone of the Yale Connect home, as Yale reports it.`),
1180
+ })
1181
+ .partial()
1182
+ .describe(`Metadata for a Yale Connect lock.`),
1183
+
1154
1184
  yacan_metadata: z
1155
1185
  .object({
1156
1186
  device_id: z
@@ -67,6 +67,7 @@ export const DEVICE_PROVIDERS = {
67
67
  ARLO: 'arlo',
68
68
  REOLINK: 'reolink',
69
69
  UNIFI_PROTECT: 'unifi_protect',
70
+ YALE_CONNECT: 'yale_connect',
70
71
  ICAL: 'ical',
71
72
  LODGIFY: 'lodgify',
72
73
  HOSTAWAY: 'hostaway',
@@ -168,6 +169,7 @@ export const PROVIDER_CATEGORY_MAP = {
168
169
  'sifely',
169
170
  'reolink',
170
171
  'unifi_protect',
172
+ 'yale_connect',
171
173
  ],
172
174
 
173
175
  thermostats: ['ecobee', 'nest', 'sensi', 'honeywell_resideo', 'first_alert'],
@@ -22,6 +22,7 @@ export const LOCK_DEVICE_TYPE = {
22
22
  YALE_LOCK: 'yale_lock',
23
23
  YALE_ACCESS_LOCK: 'yale_access_lock',
24
24
  YALE_HOME_LOCK: 'yale_home_lock',
25
+ YALE_CONNECT_LOCK: 'yale_connect_lock',
25
26
  TWO_N_INTERCOM: 'two_n_intercom',
26
27
  CONTROLBYWEB_DEVICE: 'controlbyweb_device',
27
28
  TTLOCK_LOCK: 'ttlock_lock',
@@ -15979,6 +15979,7 @@ const openapi: OpenAPISpec = {
15979
15979
  'yale_lock',
15980
15980
  'yale_access_lock',
15981
15981
  'yale_home_lock',
15982
+ 'yale_connect_lock',
15982
15983
  'two_n_intercom',
15983
15984
  'controlbyweb_device',
15984
15985
  'ttlock_lock',
@@ -18480,6 +18481,40 @@ const openapi: OpenAPISpec = {
18480
18481
  },
18481
18482
  type: 'object',
18482
18483
  },
18484
+ yale_connect_metadata: {
18485
+ description: 'Metadata for a Yale Connect lock.',
18486
+ properties: {
18487
+ device_id: {
18488
+ description: 'Device ID for a Yale Connect lock.',
18489
+ type: 'string',
18490
+ },
18491
+ device_name: {
18492
+ description: 'Device name for a Yale Connect lock.',
18493
+ type: 'string',
18494
+ },
18495
+ firmware_version: {
18496
+ description:
18497
+ 'Firmware version reported by the Yale Connect lock.',
18498
+ type: 'string',
18499
+ },
18500
+ home_name: {
18501
+ description:
18502
+ 'Name of the Yale Connect home that contains the lock.',
18503
+ type: 'string',
18504
+ },
18505
+ model: {
18506
+ description:
18507
+ 'Model reported by the Yale Connect lock.',
18508
+ type: 'string',
18509
+ },
18510
+ time_zone_description: {
18511
+ description:
18512
+ 'Time zone of the Yale Connect home, as Yale reports it.',
18513
+ type: 'string',
18514
+ },
18515
+ },
18516
+ type: 'object',
18517
+ },
18483
18518
  },
18484
18519
  type: 'object',
18485
18520
  'x-property-group-key': 'provider_metadata',
@@ -20838,6 +20873,7 @@ const openapi: OpenAPISpec = {
20838
20873
  'arlo',
20839
20874
  'reolink',
20840
20875
  'unifi_protect',
20876
+ 'yale_connect',
20841
20877
  'ical',
20842
20878
  'lodgify',
20843
20879
  'hostaway',
@@ -41026,6 +41062,7 @@ const openapi: OpenAPISpec = {
41026
41062
  'yale_lock',
41027
41063
  'yale_access_lock',
41028
41064
  'yale_home_lock',
41065
+ 'yale_connect_lock',
41029
41066
  'two_n_intercom',
41030
41067
  'controlbyweb_device',
41031
41068
  'ttlock_lock',
@@ -52007,6 +52044,7 @@ const openapi: OpenAPISpec = {
52007
52044
  'arlo',
52008
52045
  'reolink',
52009
52046
  'unifi_protect',
52047
+ 'yale_connect',
52010
52048
  'ical',
52011
52049
  'lodgify',
52012
52050
  'hostaway',
@@ -55931,6 +55969,7 @@ const openapi: OpenAPISpec = {
55931
55969
  'yale_lock',
55932
55970
  'yale_access_lock',
55933
55971
  'yale_home_lock',
55972
+ 'yale_connect_lock',
55934
55973
  'two_n_intercom',
55935
55974
  'controlbyweb_device',
55936
55975
  'ttlock_lock',
@@ -56025,6 +56064,7 @@ const openapi: OpenAPISpec = {
56025
56064
  'yale_lock',
56026
56065
  'yale_access_lock',
56027
56066
  'yale_home_lock',
56067
+ 'yale_connect_lock',
56028
56068
  'two_n_intercom',
56029
56069
  'controlbyweb_device',
56030
56070
  'ttlock_lock',
@@ -56147,6 +56187,7 @@ const openapi: OpenAPISpec = {
56147
56187
  'arlo',
56148
56188
  'reolink',
56149
56189
  'unifi_protect',
56190
+ 'yale_connect',
56150
56191
  'ical',
56151
56192
  'lodgify',
56152
56193
  'hostaway',
@@ -58286,6 +58327,7 @@ const openapi: OpenAPISpec = {
58286
58327
  'yale_lock',
58287
58328
  'yale_access_lock',
58288
58329
  'yale_home_lock',
58330
+ 'yale_connect_lock',
58289
58331
  'two_n_intercom',
58290
58332
  'controlbyweb_device',
58291
58333
  'ttlock_lock',
@@ -58380,6 +58422,7 @@ const openapi: OpenAPISpec = {
58380
58422
  'yale_lock',
58381
58423
  'yale_access_lock',
58382
58424
  'yale_home_lock',
58425
+ 'yale_connect_lock',
58383
58426
  'two_n_intercom',
58384
58427
  'controlbyweb_device',
58385
58428
  'ttlock_lock',
@@ -58502,6 +58545,7 @@ const openapi: OpenAPISpec = {
58502
58545
  'arlo',
58503
58546
  'reolink',
58504
58547
  'unifi_protect',
58548
+ 'yale_connect',
58505
58549
  'ical',
58506
58550
  'lodgify',
58507
58551
  'hostaway',
@@ -59846,6 +59890,7 @@ const openapi: OpenAPISpec = {
59846
59890
  'yale_lock',
59847
59891
  'yale_access_lock',
59848
59892
  'yale_home_lock',
59893
+ 'yale_connect_lock',
59849
59894
  'two_n_intercom',
59850
59895
  'controlbyweb_device',
59851
59896
  'ttlock_lock',
@@ -59892,6 +59937,7 @@ const openapi: OpenAPISpec = {
59892
59937
  'yale_lock',
59893
59938
  'yale_access_lock',
59894
59939
  'yale_home_lock',
59940
+ 'yale_connect_lock',
59895
59941
  'two_n_intercom',
59896
59942
  'controlbyweb_device',
59897
59943
  'ttlock_lock',
@@ -59951,6 +59997,7 @@ const openapi: OpenAPISpec = {
59951
59997
  'lockly',
59952
59998
  'smartthings',
59953
59999
  'ultraloq',
60000
+ 'yale_connect',
59954
60001
  'omnitec',
59955
60002
  'kisi',
59956
60003
  'yacan',
@@ -61747,7 +61794,7 @@ const openapi: OpenAPISpec = {
61747
61794
  '/seam/console/v1/credits/checkout/start': {
61748
61795
  post: {
61749
61796
  description:
61750
- "Starts the Stripe Checkout for the first purchase of a monthly token package, or replaces the organization's unfinished one.",
61797
+ "Starts the Stripe Checkout for the first purchase of a monthly credit package, or replaces the organization's unfinished one.",
61751
61798
  operationId: 'seamConsoleV1CreditsCheckoutStartPost',
61752
61799
  requestBody: {
61753
61800
  content: {
@@ -61813,7 +61860,7 @@ const openapi: OpenAPISpec = {
61813
61860
  '/seam/console/v1/credits/get': {
61814
61861
  post: {
61815
61862
  description:
61816
- "Returns the organization's credit subscription and its token usage for the subscription's current period.",
61863
+ "Returns the organization's credit subscription and its credit usage for the subscription's current period.",
61817
61864
  operationId: 'seamConsoleV1CreditsGetPost',
61818
61865
  requestBody: {
61819
61866
  content: {
@@ -62139,7 +62186,7 @@ const openapi: OpenAPISpec = {
62139
62186
  '/seam/console/v1/credits/invoices/list': {
62140
62187
  post: {
62141
62188
  description:
62142
- "Lists the organization's most recent token package invoices, newest first.",
62189
+ "Lists the organization's most recent credit package invoices, newest first.",
62143
62190
  operationId: 'seamConsoleV1CreditsInvoicesListPost',
62144
62191
  requestBody: {
62145
62192
  content: {
@@ -62236,7 +62283,7 @@ const openapi: OpenAPISpec = {
62236
62283
  '/seam/console/v1/credits/packages/list': {
62237
62284
  post: {
62238
62285
  description:
62239
- "Lists the self-serve monthly token packages and the package recommended for the organization's trailing 30 days of usage.",
62286
+ "Lists the purchasable monthly credit packages and the package recommended for the organization's trailing 30 days of usage.",
62240
62287
  operationId: 'seamConsoleV1CreditsPackagesListPost',
62241
62288
  requestBody: {
62242
62289
  content: {
@@ -62284,7 +62331,6 @@ const openapi: OpenAPISpec = {
62284
62331
  },
62285
62332
  recommendation_basis: {
62286
62333
  properties: {
62287
- exceeds_self_serve: { type: 'boolean' },
62288
62334
  is_projected_from_trial: { type: 'boolean' },
62289
62335
  trailing_30_day_tokens: {
62290
62336
  format: 'float',
@@ -62295,7 +62341,6 @@ const openapi: OpenAPISpec = {
62295
62341
  required: [
62296
62342
  'trailing_30_day_tokens',
62297
62343
  'is_projected_from_trial',
62298
- 'exceeds_self_serve',
62299
62344
  ],
62300
62345
  type: 'object',
62301
62346
  },