@seamapi/types 1.616.0 → 1.618.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 (29) hide show
  1. package/dist/connect.cjs +77 -14
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +63 -3
  4. package/dist/index.cjs +77 -14
  5. package/dist/index.cjs.map +1 -1
  6. package/lib/seam/connect/models/customer/access-grant-resources.d.ts +6 -6
  7. package/lib/seam/connect/models/customer/access-grant-resources.js +15 -1
  8. package/lib/seam/connect/models/customer/access-grant-resources.js.map +1 -1
  9. package/lib/seam/connect/models/customer/customer-data.d.ts +22 -22
  10. package/lib/seam/connect/models/customer/customer-data.js +7 -1
  11. package/lib/seam/connect/models/customer/customer-data.js.map +1 -1
  12. package/lib/seam/connect/models/customer/location-resources.d.ts +26 -26
  13. package/lib/seam/connect/models/customer/location-resources.js +76 -8
  14. package/lib/seam/connect/models/customer/location-resources.js.map +1 -1
  15. package/lib/seam/connect/models/customer/user-identity-resources.d.ts +10 -10
  16. package/lib/seam/connect/models/customer/user-identity-resources.js +32 -4
  17. package/lib/seam/connect/models/customer/user-identity-resources.js.map +1 -1
  18. package/lib/seam/connect/openapi.d.ts +62 -2
  19. package/lib/seam/connect/openapi.js +62 -9
  20. package/lib/seam/connect/openapi.js.map +1 -1
  21. package/lib/seam/connect/route-types.d.ts +1 -1
  22. package/lib/seam/devicedb/route-specs.d.ts +2 -2
  23. package/package.json +1 -1
  24. package/src/lib/seam/connect/models/customer/access-grant-resources.ts +15 -1
  25. package/src/lib/seam/connect/models/customer/customer-data.ts +7 -1
  26. package/src/lib/seam/connect/models/customer/location-resources.ts +76 -8
  27. package/src/lib/seam/connect/models/customer/user-identity-resources.ts +32 -4
  28. package/src/lib/seam/connect/openapi.ts +62 -9
  29. package/src/lib/seam/connect/route-types.ts +1 -1
@@ -25613,6 +25613,7 @@ export default {
25613
25613
  properties: {
25614
25614
  access_grant_key: {
25615
25615
  description: 'Unique key for the access grant within the workspace.',
25616
+ minLength: 1,
25616
25617
  type: 'string',
25617
25618
  },
25618
25619
  acs_entrance_ids: {
@@ -25705,7 +25706,7 @@ export default {
25705
25706
  },
25706
25707
  space_keys: {
25707
25708
  description: 'Set of keys of existing spaces to which access is being granted.',
25708
- items: { type: 'string' },
25709
+ items: { minLength: 1, type: 'string' },
25709
25710
  type: 'array',
25710
25711
  },
25711
25712
  starts_at: {
@@ -35399,6 +35400,7 @@ export default {
35399
35400
  },
35400
35401
  customer_key: {
35401
35402
  description: 'Customer key that you want to associate with the new client session.',
35403
+ minLength: 1,
35402
35404
  type: 'string',
35403
35405
  },
35404
35406
  expires_at: {
@@ -35490,6 +35492,7 @@ export default {
35490
35492
  },
35491
35493
  customer_key: {
35492
35494
  description: 'Customer key that you want to associate with the new client session.',
35495
+ minLength: 1,
35493
35496
  type: 'string',
35494
35497
  },
35495
35498
  expires_at: {
@@ -36323,6 +36326,7 @@ export default {
36323
36326
  },
36324
36327
  customer_key: {
36325
36328
  description: 'Associate the Connect Webview, the connected account, and all resources under the connected account with a customer. If the connected account already exists, it will be associated with the customer. If the connected account already exists, but is already associated with a customer, the Connect Webview will show an error.',
36329
+ minLength: 1,
36326
36330
  type: 'string',
36327
36331
  },
36328
36332
  device_selection_mode: {
@@ -37655,6 +37659,7 @@ export default {
37655
37659
  properties: {
37656
37660
  access_grant_key: {
37657
37661
  description: 'Your unique identifier for the access grant.',
37662
+ minLength: 1,
37658
37663
  type: 'string',
37659
37664
  },
37660
37665
  building_keys: {
@@ -37745,6 +37750,7 @@ export default {
37745
37750
  properties: {
37746
37751
  booking_key: {
37747
37752
  description: 'Your unique identifier for the booking.',
37753
+ minLength: 1,
37748
37754
  type: 'string',
37749
37755
  },
37750
37756
  building_keys: {
@@ -37835,6 +37841,7 @@ export default {
37835
37841
  properties: {
37836
37842
  building_key: {
37837
37843
  description: 'Your unique identifier for the building.',
37844
+ minLength: 1,
37838
37845
  type: 'string',
37839
37846
  },
37840
37847
  name: {
@@ -37853,6 +37860,7 @@ export default {
37853
37860
  properties: {
37854
37861
  common_area_key: {
37855
37862
  description: 'Your unique identifier for the common area.',
37863
+ minLength: 1,
37856
37864
  type: 'string',
37857
37865
  },
37858
37866
  name: {
@@ -37861,6 +37869,7 @@ export default {
37861
37869
  },
37862
37870
  parent_site_key: {
37863
37871
  description: 'Your unique identifier for the site.',
37872
+ minLength: 1,
37864
37873
  type: 'string',
37865
37874
  },
37866
37875
  },
@@ -37871,6 +37880,7 @@ export default {
37871
37880
  },
37872
37881
  customer_key: {
37873
37882
  description: 'Your unique identifier for the customer.',
37883
+ minLength: 1,
37874
37884
  type: 'string',
37875
37885
  },
37876
37886
  facilities: {
@@ -37879,6 +37889,7 @@ export default {
37879
37889
  properties: {
37880
37890
  facility_key: {
37881
37891
  description: 'Your unique identifier for the facility.',
37892
+ minLength: 1,
37882
37893
  type: 'string',
37883
37894
  },
37884
37895
  name: {
@@ -37901,6 +37912,7 @@ export default {
37901
37912
  },
37902
37913
  guest_key: {
37903
37914
  description: 'Your unique identifier for the guest.',
37915
+ minLength: 1,
37904
37916
  type: 'string',
37905
37917
  },
37906
37918
  name: {
@@ -37923,6 +37935,7 @@ export default {
37923
37935
  properties: {
37924
37936
  listing_key: {
37925
37937
  description: 'Your unique identifier for the listing.',
37938
+ minLength: 1,
37926
37939
  type: 'string',
37927
37940
  },
37928
37941
  name: {
@@ -37945,6 +37958,7 @@ export default {
37945
37958
  },
37946
37959
  property_key: {
37947
37960
  description: 'Your unique identifier for the property.',
37961
+ minLength: 1,
37948
37962
  type: 'string',
37949
37963
  },
37950
37964
  },
@@ -37963,6 +37977,7 @@ export default {
37963
37977
  },
37964
37978
  property_listing_key: {
37965
37979
  description: 'Your unique identifier for the property listing.',
37980
+ minLength: 1,
37966
37981
  type: 'string',
37967
37982
  },
37968
37983
  },
@@ -38018,6 +38033,7 @@ export default {
38018
38033
  },
38019
38034
  reservation_key: {
38020
38035
  description: 'Your unique identifier for the reservation.',
38036
+ minLength: 1,
38021
38037
  type: 'string',
38022
38038
  },
38023
38039
  resident_key: {
@@ -38079,6 +38095,7 @@ export default {
38079
38095
  },
38080
38096
  resident_key: {
38081
38097
  description: 'Your unique identifier for the resident.',
38098
+ minLength: 1,
38082
38099
  type: 'string',
38083
38100
  },
38084
38101
  },
@@ -38097,10 +38114,12 @@ export default {
38097
38114
  },
38098
38115
  parent_site_key: {
38099
38116
  description: 'Your unique identifier for the site.',
38117
+ minLength: 1,
38100
38118
  type: 'string',
38101
38119
  },
38102
38120
  room_key: {
38103
38121
  description: 'Your unique identifier for the room.',
38122
+ minLength: 1,
38104
38123
  type: 'string',
38105
38124
  },
38106
38125
  },
@@ -38119,6 +38138,7 @@ export default {
38119
38138
  },
38120
38139
  site_key: {
38121
38140
  description: 'Your unique identifier for the site.',
38141
+ minLength: 1,
38122
38142
  type: 'string',
38123
38143
  },
38124
38144
  },
@@ -38137,6 +38157,7 @@ export default {
38137
38157
  },
38138
38158
  space_key: {
38139
38159
  description: 'Your unique identifier for the space.',
38160
+ minLength: 1,
38140
38161
  type: 'string',
38141
38162
  },
38142
38163
  },
@@ -38200,6 +38221,7 @@ export default {
38200
38221
  },
38201
38222
  tenant_key: {
38202
38223
  description: 'Your unique identifier for the tenant.',
38224
+ minLength: 1,
38203
38225
  type: 'string',
38204
38226
  },
38205
38227
  },
@@ -38218,10 +38240,12 @@ export default {
38218
38240
  },
38219
38241
  parent_site_key: {
38220
38242
  description: 'Your unique identifier for the site.',
38243
+ minLength: 1,
38221
38244
  type: 'string',
38222
38245
  },
38223
38246
  unit_key: {
38224
38247
  description: 'Your unique identifier for the unit.',
38248
+ minLength: 1,
38225
38249
  type: 'string',
38226
38250
  },
38227
38251
  },
@@ -38248,6 +38272,7 @@ export default {
38248
38272
  },
38249
38273
  user_identity_key: {
38250
38274
  description: 'Your unique identifier for the user identity.',
38275
+ minLength: 1,
38251
38276
  type: 'string',
38252
38277
  },
38253
38278
  },
@@ -38274,6 +38299,7 @@ export default {
38274
38299
  },
38275
38300
  user_key: {
38276
38301
  description: 'Your unique identifier for the user.',
38302
+ minLength: 1,
38277
38303
  type: 'string',
38278
38304
  },
38279
38305
  },
@@ -38671,6 +38697,7 @@ export default {
38671
38697
  properties: {
38672
38698
  access_grant_key: {
38673
38699
  description: 'Your unique identifier for the access grant.',
38700
+ minLength: 1,
38674
38701
  type: 'string',
38675
38702
  },
38676
38703
  building_keys: {
@@ -38761,6 +38788,7 @@ export default {
38761
38788
  properties: {
38762
38789
  booking_key: {
38763
38790
  description: 'Your unique identifier for the booking.',
38791
+ minLength: 1,
38764
38792
  type: 'string',
38765
38793
  },
38766
38794
  building_keys: {
@@ -38851,6 +38879,7 @@ export default {
38851
38879
  properties: {
38852
38880
  building_key: {
38853
38881
  description: 'Your unique identifier for the building.',
38882
+ minLength: 1,
38854
38883
  type: 'string',
38855
38884
  },
38856
38885
  name: {
@@ -38869,6 +38898,7 @@ export default {
38869
38898
  properties: {
38870
38899
  common_area_key: {
38871
38900
  description: 'Your unique identifier for the common area.',
38901
+ minLength: 1,
38872
38902
  type: 'string',
38873
38903
  },
38874
38904
  name: {
@@ -38877,6 +38907,7 @@ export default {
38877
38907
  },
38878
38908
  parent_site_key: {
38879
38909
  description: 'Your unique identifier for the site.',
38910
+ minLength: 1,
38880
38911
  type: 'string',
38881
38912
  },
38882
38913
  },
@@ -38887,6 +38918,7 @@ export default {
38887
38918
  },
38888
38919
  customer_key: {
38889
38920
  description: 'Your unique identifier for the customer.',
38921
+ minLength: 1,
38890
38922
  type: 'string',
38891
38923
  },
38892
38924
  facilities: {
@@ -38895,6 +38927,7 @@ export default {
38895
38927
  properties: {
38896
38928
  facility_key: {
38897
38929
  description: 'Your unique identifier for the facility.',
38930
+ minLength: 1,
38898
38931
  type: 'string',
38899
38932
  },
38900
38933
  name: {
@@ -38917,6 +38950,7 @@ export default {
38917
38950
  },
38918
38951
  guest_key: {
38919
38952
  description: 'Your unique identifier for the guest.',
38953
+ minLength: 1,
38920
38954
  type: 'string',
38921
38955
  },
38922
38956
  name: {
@@ -38939,6 +38973,7 @@ export default {
38939
38973
  properties: {
38940
38974
  listing_key: {
38941
38975
  description: 'Your unique identifier for the listing.',
38976
+ minLength: 1,
38942
38977
  type: 'string',
38943
38978
  },
38944
38979
  name: {
@@ -38961,6 +38996,7 @@ export default {
38961
38996
  },
38962
38997
  property_key: {
38963
38998
  description: 'Your unique identifier for the property.',
38999
+ minLength: 1,
38964
39000
  type: 'string',
38965
39001
  },
38966
39002
  },
@@ -38979,6 +39015,7 @@ export default {
38979
39015
  },
38980
39016
  property_listing_key: {
38981
39017
  description: 'Your unique identifier for the property listing.',
39018
+ minLength: 1,
38982
39019
  type: 'string',
38983
39020
  },
38984
39021
  },
@@ -39034,6 +39071,7 @@ export default {
39034
39071
  },
39035
39072
  reservation_key: {
39036
39073
  description: 'Your unique identifier for the reservation.',
39074
+ minLength: 1,
39037
39075
  type: 'string',
39038
39076
  },
39039
39077
  resident_key: {
@@ -39095,6 +39133,7 @@ export default {
39095
39133
  },
39096
39134
  resident_key: {
39097
39135
  description: 'Your unique identifier for the resident.',
39136
+ minLength: 1,
39098
39137
  type: 'string',
39099
39138
  },
39100
39139
  },
@@ -39113,10 +39152,12 @@ export default {
39113
39152
  },
39114
39153
  parent_site_key: {
39115
39154
  description: 'Your unique identifier for the site.',
39155
+ minLength: 1,
39116
39156
  type: 'string',
39117
39157
  },
39118
39158
  room_key: {
39119
39159
  description: 'Your unique identifier for the room.',
39160
+ minLength: 1,
39120
39161
  type: 'string',
39121
39162
  },
39122
39163
  },
@@ -39135,6 +39176,7 @@ export default {
39135
39176
  },
39136
39177
  site_key: {
39137
39178
  description: 'Your unique identifier for the site.',
39179
+ minLength: 1,
39138
39180
  type: 'string',
39139
39181
  },
39140
39182
  },
@@ -39153,6 +39195,7 @@ export default {
39153
39195
  },
39154
39196
  space_key: {
39155
39197
  description: 'Your unique identifier for the space.',
39198
+ minLength: 1,
39156
39199
  type: 'string',
39157
39200
  },
39158
39201
  },
@@ -39212,6 +39255,7 @@ export default {
39212
39255
  },
39213
39256
  tenant_key: {
39214
39257
  description: 'Your unique identifier for the tenant.',
39258
+ minLength: 1,
39215
39259
  type: 'string',
39216
39260
  },
39217
39261
  },
@@ -39230,10 +39274,12 @@ export default {
39230
39274
  },
39231
39275
  parent_site_key: {
39232
39276
  description: 'Your unique identifier for the site.',
39277
+ minLength: 1,
39233
39278
  type: 'string',
39234
39279
  },
39235
39280
  unit_key: {
39236
39281
  description: 'Your unique identifier for the unit.',
39282
+ minLength: 1,
39237
39283
  type: 'string',
39238
39284
  },
39239
39285
  },
@@ -39260,6 +39306,7 @@ export default {
39260
39306
  },
39261
39307
  user_identity_key: {
39262
39308
  description: 'Your unique identifier for the user identity.',
39309
+ minLength: 1,
39263
39310
  type: 'string',
39264
39311
  },
39265
39312
  },
@@ -39286,6 +39333,7 @@ export default {
39286
39333
  },
39287
39334
  user_key: {
39288
39335
  description: 'Your unique identifier for the user.',
39336
+ minLength: 1,
39289
39337
  type: 'string',
39290
39338
  },
39291
39339
  },
@@ -50592,10 +50640,7 @@ export default {
50592
50640
  items: {
50593
50641
  properties: {
50594
50642
  device_id: { format: 'uuid', type: 'string' },
50595
- device_type: {
50596
- enum: ['lock', 'thermostat', 'sensor'],
50597
- type: 'string',
50598
- },
50643
+ device_type: { type: 'string' },
50599
50644
  name: { type: 'string' },
50600
50645
  },
50601
50646
  required: ['device_id', 'device_type', 'name'],
@@ -50692,10 +50737,7 @@ export default {
50692
50737
  items: {
50693
50738
  properties: {
50694
50739
  device_id: { format: 'uuid', type: 'string' },
50695
- device_type: {
50696
- enum: ['lock', 'thermostat', 'sensor'],
50697
- type: 'string',
50698
- },
50740
+ device_type: { type: 'string' },
50699
50741
  name: { type: 'string' },
50700
50742
  },
50701
50743
  required: ['device_id', 'device_type', 'name'],
@@ -50991,6 +51033,7 @@ export default {
50991
51033
  },
50992
51034
  customer_key: {
50993
51035
  description: 'Customer key for which you want to create the space.',
51036
+ minLength: 1,
50994
51037
  type: 'string',
50995
51038
  },
50996
51039
  device_ids: {
@@ -51885,6 +51928,7 @@ export default {
51885
51928
  },
51886
51929
  customer_key: {
51887
51930
  description: 'Customer key for which you want to update the space.',
51931
+ minLength: 1,
51888
51932
  type: 'string',
51889
51933
  },
51890
51934
  device_ids: {
@@ -51957,6 +52001,7 @@ export default {
51957
52001
  },
51958
52002
  customer_key: {
51959
52003
  description: 'Customer key for which you want to update the space.',
52004
+ minLength: 1,
51960
52005
  type: 'string',
51961
52006
  },
51962
52007
  device_ids: {
@@ -55144,6 +55189,7 @@ export default {
55144
55189
  properties: {
55145
55190
  customer_key: {
55146
55191
  description: 'Customer key for which you want to connect accounts.',
55192
+ minLength: 1,
55147
55193
  type: 'string',
55148
55194
  },
55149
55195
  },
@@ -55213,6 +55259,7 @@ export default {
55213
55259
  required: true,
55214
55260
  schema: {
55215
55261
  description: 'Customer key for which you want to create a new building block magic link.',
55262
+ minLength: 1,
55216
55263
  type: 'string',
55217
55264
  },
55218
55265
  },
@@ -55230,6 +55277,7 @@ export default {
55230
55277
  },
55231
55278
  space_key: {
55232
55279
  description: 'Your unique identifier for the space.',
55280
+ minLength: 1,
55233
55281
  type: 'string',
55234
55282
  },
55235
55283
  },
@@ -55293,6 +55341,7 @@ export default {
55293
55341
  },
55294
55342
  customer_key: {
55295
55343
  description: 'Customer key for which you want to create a new building block magic link.',
55344
+ minLength: 1,
55296
55345
  type: 'string',
55297
55346
  },
55298
55347
  spaces: {
@@ -55305,6 +55354,7 @@ export default {
55305
55354
  },
55306
55355
  space_key: {
55307
55356
  description: 'Your unique identifier for the space.',
55357
+ minLength: 1,
55308
55358
  type: 'string',
55309
55359
  },
55310
55360
  },
@@ -55365,6 +55415,7 @@ export default {
55365
55415
  properties: {
55366
55416
  customer_key: {
55367
55417
  description: 'Customer key for which you want to manage devices.',
55418
+ minLength: 1,
55368
55419
  type: 'string',
55369
55420
  },
55370
55421
  },
@@ -55419,6 +55470,7 @@ export default {
55419
55470
  properties: {
55420
55471
  customer_key: {
55421
55472
  description: 'Customer key for which you want to organize spaces.',
55473
+ minLength: 1,
55422
55474
  type: 'string',
55423
55475
  },
55424
55476
  spaces: {
@@ -55431,6 +55483,7 @@ export default {
55431
55483
  },
55432
55484
  space_key: {
55433
55485
  description: 'Your unique identifier for the space.',
55486
+ minLength: 1,
55434
55487
  type: 'string',
55435
55488
  },
55436
55489
  },