@seamapi/types 1.634.0 → 1.636.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/dist/connect.cjs +160 -21
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +162 -16
- package/dist/index.cjs +160 -21
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-grants/access-grant.d.ts +5 -3
- package/lib/seam/connect/models/access-grants/access-grant.js +6 -1
- package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +136 -8
- package/lib/seam/connect/openapi.js +152 -16
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +26 -8
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-grants/access-grant.ts +11 -6
- package/src/lib/seam/connect/openapi.ts +152 -16
- package/src/lib/seam/connect/route-types.ts +30 -8
package/dist/connect.cjs
CHANGED
|
@@ -2409,7 +2409,10 @@ access_grant.omit({
|
|
|
2409
2409
|
client_session_token: true,
|
|
2410
2410
|
instant_key_url: true,
|
|
2411
2411
|
customization_profile_id: true,
|
|
2412
|
-
access_grant_key: true
|
|
2412
|
+
access_grant_key: true,
|
|
2413
|
+
user_identity_id: true
|
|
2414
|
+
}).extend({
|
|
2415
|
+
user_identity_id: access_grant.shape.user_identity_id.optional()
|
|
2413
2416
|
}).describe(`
|
|
2414
2417
|
---
|
|
2415
2418
|
draft: Early access.
|
|
@@ -32696,7 +32699,6 @@ var openapi_default = {
|
|
|
32696
32699
|
required: [
|
|
32697
32700
|
"workspace_id",
|
|
32698
32701
|
"access_grant_id",
|
|
32699
|
-
"user_identity_id",
|
|
32700
32702
|
"location_ids",
|
|
32701
32703
|
"space_ids",
|
|
32702
32704
|
"requested_access_methods",
|
|
@@ -32908,7 +32910,6 @@ var openapi_default = {
|
|
|
32908
32910
|
required: [
|
|
32909
32911
|
"workspace_id",
|
|
32910
32912
|
"access_grant_id",
|
|
32911
|
-
"user_identity_id",
|
|
32912
32913
|
"location_ids",
|
|
32913
32914
|
"space_ids",
|
|
32914
32915
|
"requested_access_methods",
|
|
@@ -33143,7 +33144,6 @@ var openapi_default = {
|
|
|
33143
33144
|
required: [
|
|
33144
33145
|
"workspace_id",
|
|
33145
33146
|
"access_grant_id",
|
|
33146
|
-
"user_identity_id",
|
|
33147
33147
|
"location_ids",
|
|
33148
33148
|
"space_ids",
|
|
33149
33149
|
"requested_access_methods",
|
|
@@ -33371,7 +33371,6 @@ var openapi_default = {
|
|
|
33371
33371
|
required: [
|
|
33372
33372
|
"workspace_id",
|
|
33373
33373
|
"access_grant_id",
|
|
33374
|
-
"user_identity_id",
|
|
33375
33374
|
"location_ids",
|
|
33376
33375
|
"space_ids",
|
|
33377
33376
|
"requested_access_methods",
|
|
@@ -53569,21 +53568,55 @@ var openapi_default = {
|
|
|
53569
53568
|
properties: {
|
|
53570
53569
|
reservation_created: {
|
|
53571
53570
|
properties: {
|
|
53572
|
-
|
|
53571
|
+
automated_occupied_preset: {
|
|
53573
53572
|
properties: {
|
|
53574
53573
|
fan_mode: {
|
|
53575
53574
|
enum: ["on", "auto", "circulate"],
|
|
53576
53575
|
type: "string"
|
|
53577
53576
|
},
|
|
53578
53577
|
is_override_allowed: { type: "boolean" },
|
|
53578
|
+
max_override_period_minutes: {
|
|
53579
|
+
format: "float",
|
|
53580
|
+
type: "number"
|
|
53581
|
+
},
|
|
53579
53582
|
mode: {
|
|
53580
53583
|
enum: ["heat", "cool", "auto"],
|
|
53581
53584
|
type: "string"
|
|
53582
53585
|
},
|
|
53583
|
-
|
|
53586
|
+
temperature: {
|
|
53584
53587
|
format: "float",
|
|
53585
53588
|
type: "number"
|
|
53586
53589
|
},
|
|
53590
|
+
temperature_unit: {
|
|
53591
|
+
enum: ["celsius", "fahrenheit"],
|
|
53592
|
+
type: "string"
|
|
53593
|
+
}
|
|
53594
|
+
},
|
|
53595
|
+
required: [
|
|
53596
|
+
"mode",
|
|
53597
|
+
"temperature",
|
|
53598
|
+
"temperature_unit",
|
|
53599
|
+
"fan_mode",
|
|
53600
|
+
"is_override_allowed",
|
|
53601
|
+
"max_override_period_minutes"
|
|
53602
|
+
],
|
|
53603
|
+
type: "object"
|
|
53604
|
+
},
|
|
53605
|
+
automated_unoccupied_preset: {
|
|
53606
|
+
properties: {
|
|
53607
|
+
fan_mode: {
|
|
53608
|
+
enum: ["on", "auto", "circulate"],
|
|
53609
|
+
type: "string"
|
|
53610
|
+
},
|
|
53611
|
+
is_override_allowed: { type: "boolean" },
|
|
53612
|
+
max_override_period_minutes: {
|
|
53613
|
+
format: "float",
|
|
53614
|
+
type: "number"
|
|
53615
|
+
},
|
|
53616
|
+
mode: {
|
|
53617
|
+
enum: ["heat", "cool", "auto"],
|
|
53618
|
+
type: "string"
|
|
53619
|
+
},
|
|
53587
53620
|
temperature: {
|
|
53588
53621
|
format: "float",
|
|
53589
53622
|
type: "number"
|
|
@@ -53599,11 +53632,12 @@ var openapi_default = {
|
|
|
53599
53632
|
"temperature_unit",
|
|
53600
53633
|
"fan_mode",
|
|
53601
53634
|
"is_override_allowed",
|
|
53602
|
-
"
|
|
53635
|
+
"max_override_period_minutes"
|
|
53603
53636
|
],
|
|
53604
53637
|
type: "object"
|
|
53605
53638
|
},
|
|
53606
|
-
occupied_preset_key: { type: "string" }
|
|
53639
|
+
occupied_preset_key: { type: "string" },
|
|
53640
|
+
unoccupied_preset_key: { type: "string" }
|
|
53607
53641
|
},
|
|
53608
53642
|
type: "object"
|
|
53609
53643
|
},
|
|
@@ -53778,21 +53812,55 @@ var openapi_default = {
|
|
|
53778
53812
|
properties: {
|
|
53779
53813
|
reservation_created: {
|
|
53780
53814
|
properties: {
|
|
53781
|
-
|
|
53815
|
+
automated_occupied_preset: {
|
|
53782
53816
|
properties: {
|
|
53783
53817
|
fan_mode: {
|
|
53784
53818
|
enum: ["on", "auto", "circulate"],
|
|
53785
53819
|
type: "string"
|
|
53786
53820
|
},
|
|
53787
53821
|
is_override_allowed: { type: "boolean" },
|
|
53822
|
+
max_override_period_minutes: {
|
|
53823
|
+
format: "float",
|
|
53824
|
+
type: "number"
|
|
53825
|
+
},
|
|
53788
53826
|
mode: {
|
|
53789
53827
|
enum: ["heat", "cool", "auto"],
|
|
53790
53828
|
type: "string"
|
|
53791
53829
|
},
|
|
53792
|
-
|
|
53830
|
+
temperature: {
|
|
53831
|
+
format: "float",
|
|
53832
|
+
type: "number"
|
|
53833
|
+
},
|
|
53834
|
+
temperature_unit: {
|
|
53835
|
+
enum: ["celsius", "fahrenheit"],
|
|
53836
|
+
type: "string"
|
|
53837
|
+
}
|
|
53838
|
+
},
|
|
53839
|
+
required: [
|
|
53840
|
+
"mode",
|
|
53841
|
+
"temperature",
|
|
53842
|
+
"temperature_unit",
|
|
53843
|
+
"fan_mode",
|
|
53844
|
+
"is_override_allowed",
|
|
53845
|
+
"max_override_period_minutes"
|
|
53846
|
+
],
|
|
53847
|
+
type: "object"
|
|
53848
|
+
},
|
|
53849
|
+
automated_unoccupied_preset: {
|
|
53850
|
+
properties: {
|
|
53851
|
+
fan_mode: {
|
|
53852
|
+
enum: ["on", "auto", "circulate"],
|
|
53853
|
+
type: "string"
|
|
53854
|
+
},
|
|
53855
|
+
is_override_allowed: { type: "boolean" },
|
|
53856
|
+
max_override_period_minutes: {
|
|
53793
53857
|
format: "float",
|
|
53794
53858
|
type: "number"
|
|
53795
53859
|
},
|
|
53860
|
+
mode: {
|
|
53861
|
+
enum: ["heat", "cool", "auto"],
|
|
53862
|
+
type: "string"
|
|
53863
|
+
},
|
|
53796
53864
|
temperature: {
|
|
53797
53865
|
format: "float",
|
|
53798
53866
|
type: "number"
|
|
@@ -53808,11 +53876,12 @@ var openapi_default = {
|
|
|
53808
53876
|
"temperature_unit",
|
|
53809
53877
|
"fan_mode",
|
|
53810
53878
|
"is_override_allowed",
|
|
53811
|
-
"
|
|
53879
|
+
"max_override_period_minutes"
|
|
53812
53880
|
],
|
|
53813
53881
|
type: "object"
|
|
53814
53882
|
},
|
|
53815
|
-
occupied_preset_key: { type: "string" }
|
|
53883
|
+
occupied_preset_key: { type: "string" },
|
|
53884
|
+
unoccupied_preset_key: { type: "string" }
|
|
53816
53885
|
},
|
|
53817
53886
|
type: "object"
|
|
53818
53887
|
},
|
|
@@ -53978,21 +54047,55 @@ var openapi_default = {
|
|
|
53978
54047
|
properties: {
|
|
53979
54048
|
reservation_created: {
|
|
53980
54049
|
properties: {
|
|
53981
|
-
|
|
54050
|
+
automated_occupied_preset: {
|
|
53982
54051
|
properties: {
|
|
53983
54052
|
fan_mode: {
|
|
53984
54053
|
enum: ["on", "auto", "circulate"],
|
|
53985
54054
|
type: "string"
|
|
53986
54055
|
},
|
|
53987
54056
|
is_override_allowed: { type: "boolean" },
|
|
54057
|
+
max_override_period_minutes: {
|
|
54058
|
+
format: "float",
|
|
54059
|
+
type: "number"
|
|
54060
|
+
},
|
|
53988
54061
|
mode: {
|
|
53989
54062
|
enum: ["heat", "cool", "auto"],
|
|
53990
54063
|
type: "string"
|
|
53991
54064
|
},
|
|
53992
|
-
|
|
54065
|
+
temperature: {
|
|
54066
|
+
format: "float",
|
|
54067
|
+
type: "number"
|
|
54068
|
+
},
|
|
54069
|
+
temperature_unit: {
|
|
54070
|
+
enum: ["celsius", "fahrenheit"],
|
|
54071
|
+
type: "string"
|
|
54072
|
+
}
|
|
54073
|
+
},
|
|
54074
|
+
required: [
|
|
54075
|
+
"mode",
|
|
54076
|
+
"temperature",
|
|
54077
|
+
"temperature_unit",
|
|
54078
|
+
"fan_mode",
|
|
54079
|
+
"is_override_allowed",
|
|
54080
|
+
"max_override_period_minutes"
|
|
54081
|
+
],
|
|
54082
|
+
type: "object"
|
|
54083
|
+
},
|
|
54084
|
+
automated_unoccupied_preset: {
|
|
54085
|
+
properties: {
|
|
54086
|
+
fan_mode: {
|
|
54087
|
+
enum: ["on", "auto", "circulate"],
|
|
54088
|
+
type: "string"
|
|
54089
|
+
},
|
|
54090
|
+
is_override_allowed: { type: "boolean" },
|
|
54091
|
+
max_override_period_minutes: {
|
|
53993
54092
|
format: "float",
|
|
53994
54093
|
type: "number"
|
|
53995
54094
|
},
|
|
54095
|
+
mode: {
|
|
54096
|
+
enum: ["heat", "cool", "auto"],
|
|
54097
|
+
type: "string"
|
|
54098
|
+
},
|
|
53996
54099
|
temperature: {
|
|
53997
54100
|
format: "float",
|
|
53998
54101
|
type: "number"
|
|
@@ -54008,11 +54111,12 @@ var openapi_default = {
|
|
|
54008
54111
|
"temperature_unit",
|
|
54009
54112
|
"fan_mode",
|
|
54010
54113
|
"is_override_allowed",
|
|
54011
|
-
"
|
|
54114
|
+
"max_override_period_minutes"
|
|
54012
54115
|
],
|
|
54013
54116
|
type: "object"
|
|
54014
54117
|
},
|
|
54015
|
-
occupied_preset_key: { type: "string" }
|
|
54118
|
+
occupied_preset_key: { type: "string" },
|
|
54119
|
+
unoccupied_preset_key: { type: "string" }
|
|
54016
54120
|
},
|
|
54017
54121
|
type: "object"
|
|
54018
54122
|
},
|
|
@@ -54187,21 +54291,55 @@ var openapi_default = {
|
|
|
54187
54291
|
properties: {
|
|
54188
54292
|
reservation_created: {
|
|
54189
54293
|
properties: {
|
|
54190
|
-
|
|
54294
|
+
automated_occupied_preset: {
|
|
54191
54295
|
properties: {
|
|
54192
54296
|
fan_mode: {
|
|
54193
54297
|
enum: ["on", "auto", "circulate"],
|
|
54194
54298
|
type: "string"
|
|
54195
54299
|
},
|
|
54196
54300
|
is_override_allowed: { type: "boolean" },
|
|
54301
|
+
max_override_period_minutes: {
|
|
54302
|
+
format: "float",
|
|
54303
|
+
type: "number"
|
|
54304
|
+
},
|
|
54197
54305
|
mode: {
|
|
54198
54306
|
enum: ["heat", "cool", "auto"],
|
|
54199
54307
|
type: "string"
|
|
54200
54308
|
},
|
|
54201
|
-
|
|
54309
|
+
temperature: {
|
|
54310
|
+
format: "float",
|
|
54311
|
+
type: "number"
|
|
54312
|
+
},
|
|
54313
|
+
temperature_unit: {
|
|
54314
|
+
enum: ["celsius", "fahrenheit"],
|
|
54315
|
+
type: "string"
|
|
54316
|
+
}
|
|
54317
|
+
},
|
|
54318
|
+
required: [
|
|
54319
|
+
"mode",
|
|
54320
|
+
"temperature",
|
|
54321
|
+
"temperature_unit",
|
|
54322
|
+
"fan_mode",
|
|
54323
|
+
"is_override_allowed",
|
|
54324
|
+
"max_override_period_minutes"
|
|
54325
|
+
],
|
|
54326
|
+
type: "object"
|
|
54327
|
+
},
|
|
54328
|
+
automated_unoccupied_preset: {
|
|
54329
|
+
properties: {
|
|
54330
|
+
fan_mode: {
|
|
54331
|
+
enum: ["on", "auto", "circulate"],
|
|
54332
|
+
type: "string"
|
|
54333
|
+
},
|
|
54334
|
+
is_override_allowed: { type: "boolean" },
|
|
54335
|
+
max_override_period_minutes: {
|
|
54202
54336
|
format: "float",
|
|
54203
54337
|
type: "number"
|
|
54204
54338
|
},
|
|
54339
|
+
mode: {
|
|
54340
|
+
enum: ["heat", "cool", "auto"],
|
|
54341
|
+
type: "string"
|
|
54342
|
+
},
|
|
54205
54343
|
temperature: {
|
|
54206
54344
|
format: "float",
|
|
54207
54345
|
type: "number"
|
|
@@ -54217,11 +54355,12 @@ var openapi_default = {
|
|
|
54217
54355
|
"temperature_unit",
|
|
54218
54356
|
"fan_mode",
|
|
54219
54357
|
"is_override_allowed",
|
|
54220
|
-
"
|
|
54358
|
+
"max_override_period_minutes"
|
|
54221
54359
|
],
|
|
54222
54360
|
type: "object"
|
|
54223
54361
|
},
|
|
54224
|
-
occupied_preset_key: { type: "string" }
|
|
54362
|
+
occupied_preset_key: { type: "string" },
|
|
54363
|
+
unoccupied_preset_key: { type: "string" }
|
|
54225
54364
|
},
|
|
54226
54365
|
type: "object"
|
|
54227
54366
|
},
|