@seamapi/types 1.964.0 → 1.966.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 +102 -19
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +518 -2
- package/dist/index.cjs +102 -19
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/acs/acs-credential.d.ts +10 -0
- package/lib/seam/connect/models/acs/acs-credential.js +4 -0
- package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +5 -0
- package/lib/seam/connect/models/acs/acs-entrance.js +4 -0
- package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +39 -0
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +14 -0
- package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +18 -0
- package/lib/seam/connect/models/action-attempts/scan-to-assign-credential.d.ts +7 -0
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +7 -0
- package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +7 -0
- package/lib/seam/connect/models/devices/device.d.ts +9 -0
- package/lib/seam/connect/models/devices/phone.d.ts +10 -0
- package/lib/seam/connect/models/devices/phone.js +8 -0
- package/lib/seam/connect/models/devices/phone.js.map +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +7 -0
- package/lib/seam/connect/models/phones/phone-session.d.ts +36 -0
- package/lib/seam/connect/models/thermostats/thermostat-schedule.d.ts +5 -0
- package/lib/seam/connect/models/thermostats/thermostat-schedule.js +4 -0
- package/lib/seam/connect/models/thermostats/thermostat-schedule.js.map +1 -1
- package/lib/seam/connect/openapi.js +96 -16
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +443 -2
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-credential.ts +4 -0
- package/src/lib/seam/connect/models/acs/acs-entrance.ts +4 -0
- package/src/lib/seam/connect/models/devices/phone.ts +8 -0
- package/src/lib/seam/connect/models/thermostats/thermostat-schedule.ts +4 -0
- package/src/lib/seam/connect/openapi.ts +105 -16
- package/src/lib/seam/connect/route-types.ts +638 -193
package/dist/connect.cjs
CHANGED
|
@@ -365,7 +365,8 @@ var thermostat_schedule = zod.z.object({
|
|
|
365
365
|
),
|
|
366
366
|
message: zod.z.string().describe(
|
|
367
367
|
"Detailed description of the error. Provides insights into the issue and potentially how to rectify it."
|
|
368
|
-
)
|
|
368
|
+
),
|
|
369
|
+
created_at: zod.z.string().datetime().describe("Date and time at which Seam created the error.")
|
|
369
370
|
})
|
|
370
371
|
).describe(
|
|
371
372
|
"Errors associated with the [thermostat schedule](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-thermostat-schedules)."
|
|
@@ -3798,7 +3799,8 @@ var common_acs_credential = zod.z.object({
|
|
|
3798
3799
|
errors: zod.z.array(
|
|
3799
3800
|
zod.z.object({
|
|
3800
3801
|
error_code: zod.z.string(),
|
|
3801
|
-
message: zod.z.string()
|
|
3802
|
+
message: zod.z.string(),
|
|
3803
|
+
created_at: zod.z.string().datetime().describe("Date and time at which Seam created the error.")
|
|
3802
3804
|
})
|
|
3803
3805
|
).describe(
|
|
3804
3806
|
"Errors associated with the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials)."
|
|
@@ -4071,7 +4073,8 @@ var acs_entrance = zod.z.object({
|
|
|
4071
4073
|
),
|
|
4072
4074
|
message: zod.z.string().describe(
|
|
4073
4075
|
"Detailed description of the error. Provides insights into the issue and potentially how to rectify it."
|
|
4074
|
-
)
|
|
4076
|
+
),
|
|
4077
|
+
created_at: zod.z.string().datetime().describe("Date and time at which Seam created the error.")
|
|
4075
4078
|
})
|
|
4076
4079
|
).describe(
|
|
4077
4080
|
"Errors associated with the [entrance](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details)."
|
|
@@ -10581,10 +10584,15 @@ var openapi = {
|
|
|
10581
10584
|
description: "Errors associated with the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).",
|
|
10582
10585
|
items: {
|
|
10583
10586
|
properties: {
|
|
10587
|
+
created_at: {
|
|
10588
|
+
description: "Date and time at which Seam created the error.",
|
|
10589
|
+
format: "date-time",
|
|
10590
|
+
type: "string"
|
|
10591
|
+
},
|
|
10584
10592
|
error_code: { type: "string" },
|
|
10585
10593
|
message: { type: "string" }
|
|
10586
10594
|
},
|
|
10587
|
-
required: ["error_code", "message"],
|
|
10595
|
+
required: ["error_code", "message", "created_at"],
|
|
10588
10596
|
type: "object"
|
|
10589
10597
|
},
|
|
10590
10598
|
type: "array"
|
|
@@ -11134,6 +11142,11 @@ var openapi = {
|
|
|
11134
11142
|
description: "Errors associated with the [entrance](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details).",
|
|
11135
11143
|
items: {
|
|
11136
11144
|
properties: {
|
|
11145
|
+
created_at: {
|
|
11146
|
+
description: "Date and time at which Seam created the error.",
|
|
11147
|
+
format: "date-time",
|
|
11148
|
+
type: "string"
|
|
11149
|
+
},
|
|
11137
11150
|
error_code: {
|
|
11138
11151
|
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
11139
11152
|
type: "string"
|
|
@@ -11143,7 +11156,7 @@ var openapi = {
|
|
|
11143
11156
|
type: "string"
|
|
11144
11157
|
}
|
|
11145
11158
|
},
|
|
11146
|
-
required: ["error_code", "message"],
|
|
11159
|
+
required: ["error_code", "message", "created_at"],
|
|
11147
11160
|
type: "object"
|
|
11148
11161
|
},
|
|
11149
11162
|
type: "array"
|
|
@@ -13115,10 +13128,15 @@ var openapi = {
|
|
|
13115
13128
|
description: "Errors associated with the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).",
|
|
13116
13129
|
items: {
|
|
13117
13130
|
properties: {
|
|
13131
|
+
created_at: {
|
|
13132
|
+
description: "Date and time at which Seam created the error.",
|
|
13133
|
+
format: "date-time",
|
|
13134
|
+
type: "string"
|
|
13135
|
+
},
|
|
13118
13136
|
error_code: { type: "string" },
|
|
13119
13137
|
message: { type: "string" }
|
|
13120
13138
|
},
|
|
13121
|
-
required: ["error_code", "message"],
|
|
13139
|
+
required: ["error_code", "message", "created_at"],
|
|
13122
13140
|
type: "object"
|
|
13123
13141
|
},
|
|
13124
13142
|
type: "array"
|
|
@@ -13512,10 +13530,15 @@ var openapi = {
|
|
|
13512
13530
|
description: "Errors associated with the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).",
|
|
13513
13531
|
items: {
|
|
13514
13532
|
properties: {
|
|
13533
|
+
created_at: {
|
|
13534
|
+
description: "Date and time at which Seam created the error.",
|
|
13535
|
+
format: "date-time",
|
|
13536
|
+
type: "string"
|
|
13537
|
+
},
|
|
13515
13538
|
error_code: { type: "string" },
|
|
13516
13539
|
message: { type: "string" }
|
|
13517
13540
|
},
|
|
13518
|
-
required: ["error_code", "message"],
|
|
13541
|
+
required: ["error_code", "message", "created_at"],
|
|
13519
13542
|
type: "object"
|
|
13520
13543
|
},
|
|
13521
13544
|
type: "array"
|
|
@@ -14131,10 +14154,15 @@ var openapi = {
|
|
|
14131
14154
|
description: "Errors associated with the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).",
|
|
14132
14155
|
items: {
|
|
14133
14156
|
properties: {
|
|
14157
|
+
created_at: {
|
|
14158
|
+
description: "Date and time at which Seam created the error.",
|
|
14159
|
+
format: "date-time",
|
|
14160
|
+
type: "string"
|
|
14161
|
+
},
|
|
14134
14162
|
error_code: { type: "string" },
|
|
14135
14163
|
message: { type: "string" }
|
|
14136
14164
|
},
|
|
14137
|
-
required: ["error_code", "message"],
|
|
14165
|
+
required: ["error_code", "message", "created_at"],
|
|
14138
14166
|
type: "object"
|
|
14139
14167
|
},
|
|
14140
14168
|
type: "array"
|
|
@@ -14526,10 +14554,15 @@ var openapi = {
|
|
|
14526
14554
|
description: "Errors associated with the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).",
|
|
14527
14555
|
items: {
|
|
14528
14556
|
properties: {
|
|
14557
|
+
created_at: {
|
|
14558
|
+
description: "Date and time at which Seam created the error.",
|
|
14559
|
+
format: "date-time",
|
|
14560
|
+
type: "string"
|
|
14561
|
+
},
|
|
14529
14562
|
error_code: { type: "string" },
|
|
14530
14563
|
message: { type: "string" }
|
|
14531
14564
|
},
|
|
14532
|
-
required: ["error_code", "message"],
|
|
14565
|
+
required: ["error_code", "message", "created_at"],
|
|
14533
14566
|
type: "object"
|
|
14534
14567
|
},
|
|
14535
14568
|
type: "array"
|
|
@@ -15172,10 +15205,15 @@ var openapi = {
|
|
|
15172
15205
|
description: "Errors associated with the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).",
|
|
15173
15206
|
items: {
|
|
15174
15207
|
properties: {
|
|
15208
|
+
created_at: {
|
|
15209
|
+
description: "Date and time at which Seam created the error.",
|
|
15210
|
+
format: "date-time",
|
|
15211
|
+
type: "string"
|
|
15212
|
+
},
|
|
15175
15213
|
error_code: { type: "string" },
|
|
15176
15214
|
message: { type: "string" }
|
|
15177
15215
|
},
|
|
15178
|
-
required: ["error_code", "message"],
|
|
15216
|
+
required: ["error_code", "message", "created_at"],
|
|
15179
15217
|
type: "object"
|
|
15180
15218
|
},
|
|
15181
15219
|
type: "array"
|
|
@@ -21249,6 +21287,11 @@ var openapi = {
|
|
|
21249
21287
|
description: "Errors associated with the [thermostat schedule](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-thermostat-schedules).",
|
|
21250
21288
|
items: {
|
|
21251
21289
|
properties: {
|
|
21290
|
+
created_at: {
|
|
21291
|
+
description: "Date and time at which Seam created the error.",
|
|
21292
|
+
format: "date-time",
|
|
21293
|
+
type: "string"
|
|
21294
|
+
},
|
|
21252
21295
|
error_code: {
|
|
21253
21296
|
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
21254
21297
|
type: "string"
|
|
@@ -21258,7 +21301,7 @@ var openapi = {
|
|
|
21258
21301
|
type: "string"
|
|
21259
21302
|
}
|
|
21260
21303
|
},
|
|
21261
|
-
required: ["error_code", "message"],
|
|
21304
|
+
required: ["error_code", "message", "created_at"],
|
|
21262
21305
|
type: "object"
|
|
21263
21306
|
},
|
|
21264
21307
|
type: "array"
|
|
@@ -32247,6 +32290,11 @@ var openapi = {
|
|
|
32247
32290
|
description: "Errors associated with the phone.",
|
|
32248
32291
|
items: {
|
|
32249
32292
|
properties: {
|
|
32293
|
+
created_at: {
|
|
32294
|
+
description: "Date and time at which Seam created the error.",
|
|
32295
|
+
format: "date-time",
|
|
32296
|
+
type: "string"
|
|
32297
|
+
},
|
|
32250
32298
|
error_code: {
|
|
32251
32299
|
description: "Unique identifier of the type of error.",
|
|
32252
32300
|
type: "string"
|
|
@@ -32256,7 +32304,7 @@ var openapi = {
|
|
|
32256
32304
|
type: "string"
|
|
32257
32305
|
}
|
|
32258
32306
|
},
|
|
32259
|
-
required: ["error_code", "message"],
|
|
32307
|
+
required: ["error_code", "message", "created_at"],
|
|
32260
32308
|
type: "object"
|
|
32261
32309
|
},
|
|
32262
32310
|
type: "array"
|
|
@@ -32312,6 +32360,11 @@ var openapi = {
|
|
|
32312
32360
|
description: "Warnings associated with the phone.",
|
|
32313
32361
|
items: {
|
|
32314
32362
|
properties: {
|
|
32363
|
+
created_at: {
|
|
32364
|
+
description: "Date and time at which Seam created the warning.",
|
|
32365
|
+
format: "date-time",
|
|
32366
|
+
type: "string"
|
|
32367
|
+
},
|
|
32315
32368
|
message: {
|
|
32316
32369
|
description: "Detailed description of the warning.",
|
|
32317
32370
|
type: "string"
|
|
@@ -32321,7 +32374,7 @@ var openapi = {
|
|
|
32321
32374
|
type: "string"
|
|
32322
32375
|
}
|
|
32323
32376
|
},
|
|
32324
|
-
required: ["warning_code", "message"],
|
|
32377
|
+
required: ["warning_code", "message", "created_at"],
|
|
32325
32378
|
type: "object"
|
|
32326
32379
|
},
|
|
32327
32380
|
type: "array"
|
|
@@ -32563,6 +32616,11 @@ var openapi = {
|
|
|
32563
32616
|
description: "Errors associated with the [entrance](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details).",
|
|
32564
32617
|
items: {
|
|
32565
32618
|
properties: {
|
|
32619
|
+
created_at: {
|
|
32620
|
+
description: "Date and time at which Seam created the error.",
|
|
32621
|
+
format: "date-time",
|
|
32622
|
+
type: "string"
|
|
32623
|
+
},
|
|
32566
32624
|
error_code: {
|
|
32567
32625
|
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
32568
32626
|
type: "string"
|
|
@@ -32572,7 +32630,11 @@ var openapi = {
|
|
|
32572
32630
|
type: "string"
|
|
32573
32631
|
}
|
|
32574
32632
|
},
|
|
32575
|
-
required: [
|
|
32633
|
+
required: [
|
|
32634
|
+
"error_code",
|
|
32635
|
+
"message",
|
|
32636
|
+
"created_at"
|
|
32637
|
+
],
|
|
32576
32638
|
type: "object"
|
|
32577
32639
|
},
|
|
32578
32640
|
type: "array"
|
|
@@ -32961,10 +33023,15 @@ var openapi = {
|
|
|
32961
33023
|
description: "Errors associated with the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).",
|
|
32962
33024
|
items: {
|
|
32963
33025
|
properties: {
|
|
33026
|
+
created_at: {
|
|
33027
|
+
description: "Date and time at which Seam created the error.",
|
|
33028
|
+
format: "date-time",
|
|
33029
|
+
type: "string"
|
|
33030
|
+
},
|
|
32964
33031
|
error_code: { type: "string" },
|
|
32965
33032
|
message: { type: "string" }
|
|
32966
33033
|
},
|
|
32967
|
-
required: ["error_code", "message"],
|
|
33034
|
+
required: ["error_code", "message", "created_at"],
|
|
32968
33035
|
type: "object"
|
|
32969
33036
|
},
|
|
32970
33037
|
type: "array"
|
|
@@ -33754,6 +33821,11 @@ var openapi = {
|
|
|
33754
33821
|
description: "Errors associated with the [thermostat schedule](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-thermostat-schedules).",
|
|
33755
33822
|
items: {
|
|
33756
33823
|
properties: {
|
|
33824
|
+
created_at: {
|
|
33825
|
+
description: "Date and time at which Seam created the error.",
|
|
33826
|
+
format: "date-time",
|
|
33827
|
+
type: "string"
|
|
33828
|
+
},
|
|
33757
33829
|
error_code: {
|
|
33758
33830
|
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
33759
33831
|
type: "string"
|
|
@@ -33763,7 +33835,7 @@ var openapi = {
|
|
|
33763
33835
|
type: "string"
|
|
33764
33836
|
}
|
|
33765
33837
|
},
|
|
33766
|
-
required: ["error_code", "message"],
|
|
33838
|
+
required: ["error_code", "message", "created_at"],
|
|
33767
33839
|
type: "object"
|
|
33768
33840
|
},
|
|
33769
33841
|
type: "array"
|
|
@@ -35551,10 +35623,15 @@ var openapi = {
|
|
|
35551
35623
|
description: "Errors associated with the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).",
|
|
35552
35624
|
items: {
|
|
35553
35625
|
properties: {
|
|
35626
|
+
created_at: {
|
|
35627
|
+
description: "Date and time at which Seam created the error.",
|
|
35628
|
+
format: "date-time",
|
|
35629
|
+
type: "string"
|
|
35630
|
+
},
|
|
35554
35631
|
error_code: { type: "string" },
|
|
35555
35632
|
message: { type: "string" }
|
|
35556
35633
|
},
|
|
35557
|
-
required: ["error_code", "message"],
|
|
35634
|
+
required: ["error_code", "message", "created_at"],
|
|
35558
35635
|
type: "object"
|
|
35559
35636
|
},
|
|
35560
35637
|
type: "array"
|
|
@@ -81325,7 +81402,7 @@ var openapi = {
|
|
|
81325
81402
|
"x-undocumented": "Internal resource for customer portals."
|
|
81326
81403
|
}
|
|
81327
81404
|
},
|
|
81328
|
-
required: ["
|
|
81405
|
+
required: ["spaces", "staff_member", "ok"],
|
|
81329
81406
|
type: "object"
|
|
81330
81407
|
}
|
|
81331
81408
|
}
|
|
@@ -81418,7 +81495,7 @@ var openapi = {
|
|
|
81418
81495
|
"x-undocumented": "Internal resource for customer portals."
|
|
81419
81496
|
}
|
|
81420
81497
|
},
|
|
81421
|
-
required: ["
|
|
81498
|
+
required: ["spaces", "staff_member", "ok"],
|
|
81422
81499
|
type: "object"
|
|
81423
81500
|
}
|
|
81424
81501
|
}
|
|
@@ -81503,6 +81580,9 @@ var openapi = {
|
|
|
81503
81580
|
items: {
|
|
81504
81581
|
description: "Represents a staff member for a specific customer.",
|
|
81505
81582
|
properties: {
|
|
81583
|
+
access_grant: {
|
|
81584
|
+
$ref: "#/components/schemas/access_grant"
|
|
81585
|
+
},
|
|
81506
81586
|
email_address: {
|
|
81507
81587
|
description: "Email address associated with the user identity.",
|
|
81508
81588
|
type: "string"
|
|
@@ -81606,6 +81686,9 @@ var openapi = {
|
|
|
81606
81686
|
items: {
|
|
81607
81687
|
description: "Represents a staff member for a specific customer.",
|
|
81608
81688
|
properties: {
|
|
81689
|
+
access_grant: {
|
|
81690
|
+
$ref: "#/components/schemas/access_grant"
|
|
81691
|
+
},
|
|
81609
81692
|
email_address: {
|
|
81610
81693
|
description: "Email address associated with the user identity.",
|
|
81611
81694
|
type: "string"
|