@seamapi/types 1.57.0 → 1.58.1
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 +82 -57
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +135 -89
- package/lib/seam/connect/openapi.d.ts +113 -27
- package/lib/seam/connect/openapi.js +81 -56
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +22 -62
- package/lib/seam/connect/unstable/models/acs/credential.d.ts +3 -3
- package/lib/seam/connect/unstable/models/acs/credential.js +1 -1
- package/lib/seam/connect/unstable/models/acs/credential.js.map +1 -1
- package/lib/seam/connect/unstable/models/devices/managed-device.d.ts +1 -8
- package/lib/seam/connect/unstable/models/devices/managed-device.js +0 -7
- package/lib/seam/connect/unstable/models/devices/managed-device.js.map +1 -1
- package/lib/seam/connect/unstable/models/devices/unmanaged-device.d.ts +0 -3
- package/lib/seam/connect/unstable/models/devices/unmanaged-device.js +0 -1
- package/lib/seam/connect/unstable/models/devices/unmanaged-device.js.map +1 -1
- package/package.json +25 -10
- package/src/lib/seam/connect/openapi.ts +83 -59
- package/src/lib/seam/connect/route-types.ts +22 -102
- package/src/lib/seam/connect/unstable/models/acs/credential.ts +1 -1
- package/src/lib/seam/connect/unstable/models/devices/managed-device.ts +0 -9
- package/src/lib/seam/connect/unstable/models/devices/unmanaged-device.ts +0 -1
package/dist/connect.cjs
CHANGED
|
@@ -527,7 +527,7 @@ var openapi_default = {
|
|
|
527
527
|
device: {
|
|
528
528
|
properties: {
|
|
529
529
|
capabilities_supported: {
|
|
530
|
-
description:
|
|
530
|
+
description: 'Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health.',
|
|
531
531
|
items: {
|
|
532
532
|
enum: [
|
|
533
533
|
"access_code",
|
|
@@ -598,20 +598,6 @@ var openapi_default = {
|
|
|
598
598
|
}
|
|
599
599
|
]
|
|
600
600
|
},
|
|
601
|
-
enabled_capabilities: {
|
|
602
|
-
description: 'Collection of capabilities that the device has enabled, reflecting its present configuration. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health.',
|
|
603
|
-
items: {
|
|
604
|
-
enum: [
|
|
605
|
-
"access_code",
|
|
606
|
-
"lock",
|
|
607
|
-
"noise_detection",
|
|
608
|
-
"thermostat",
|
|
609
|
-
"battery"
|
|
610
|
-
],
|
|
611
|
-
type: "string"
|
|
612
|
-
},
|
|
613
|
-
type: "array"
|
|
614
|
-
},
|
|
615
601
|
errors: {
|
|
616
602
|
description: 'Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it.',
|
|
617
603
|
items: {
|
|
@@ -1551,20 +1537,6 @@ var openapi_default = {
|
|
|
1551
1537
|
],
|
|
1552
1538
|
description: "Properties of the device."
|
|
1553
1539
|
},
|
|
1554
|
-
supported_capabilities: {
|
|
1555
|
-
description: 'Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health.',
|
|
1556
|
-
items: {
|
|
1557
|
-
enum: [
|
|
1558
|
-
"access_code",
|
|
1559
|
-
"lock",
|
|
1560
|
-
"noise_detection",
|
|
1561
|
-
"thermostat",
|
|
1562
|
-
"battery"
|
|
1563
|
-
],
|
|
1564
|
-
type: "string"
|
|
1565
|
-
},
|
|
1566
|
-
type: "array"
|
|
1567
|
-
},
|
|
1568
1540
|
warnings: {
|
|
1569
1541
|
description: 'Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it.',
|
|
1570
1542
|
items: {
|
|
@@ -1587,8 +1559,6 @@ var openapi_default = {
|
|
|
1587
1559
|
"device_id",
|
|
1588
1560
|
"device_type",
|
|
1589
1561
|
"capabilities_supported",
|
|
1590
|
-
"enabled_capabilities",
|
|
1591
|
-
"supported_capabilities",
|
|
1592
1562
|
"properties",
|
|
1593
1563
|
"location",
|
|
1594
1564
|
"connected_account_id",
|
|
@@ -1735,7 +1705,7 @@ var openapi_default = {
|
|
|
1735
1705
|
unmanaged_device: {
|
|
1736
1706
|
properties: {
|
|
1737
1707
|
capabilities_supported: {
|
|
1738
|
-
description:
|
|
1708
|
+
description: 'Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health.',
|
|
1739
1709
|
items: {
|
|
1740
1710
|
enum: [
|
|
1741
1711
|
"access_code",
|
|
@@ -1806,20 +1776,6 @@ var openapi_default = {
|
|
|
1806
1776
|
}
|
|
1807
1777
|
]
|
|
1808
1778
|
},
|
|
1809
|
-
enabled_capabilities: {
|
|
1810
|
-
description: 'Collection of capabilities that the device has enabled, reflecting its present configuration. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health.',
|
|
1811
|
-
items: {
|
|
1812
|
-
enum: [
|
|
1813
|
-
"access_code",
|
|
1814
|
-
"lock",
|
|
1815
|
-
"noise_detection",
|
|
1816
|
-
"thermostat",
|
|
1817
|
-
"battery"
|
|
1818
|
-
],
|
|
1819
|
-
type: "string"
|
|
1820
|
-
},
|
|
1821
|
-
type: "array"
|
|
1822
|
-
},
|
|
1823
1779
|
errors: {
|
|
1824
1780
|
description: 'Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it.',
|
|
1825
1781
|
items: {
|
|
@@ -1885,7 +1841,6 @@ var openapi_default = {
|
|
|
1885
1841
|
"device_type",
|
|
1886
1842
|
"connected_account_id",
|
|
1887
1843
|
"capabilities_supported",
|
|
1888
|
-
"enabled_capabilities",
|
|
1889
1844
|
"workspace_id",
|
|
1890
1845
|
"errors",
|
|
1891
1846
|
"warnings",
|
|
@@ -3550,7 +3505,6 @@ var openapi_default = {
|
|
|
3550
3505
|
"acs_credential_id",
|
|
3551
3506
|
"acs_system_id",
|
|
3552
3507
|
"display_name",
|
|
3553
|
-
"code",
|
|
3554
3508
|
"external_type",
|
|
3555
3509
|
"external_type_display_name",
|
|
3556
3510
|
"created_at",
|
|
@@ -3628,7 +3582,6 @@ var openapi_default = {
|
|
|
3628
3582
|
"acs_credential_id",
|
|
3629
3583
|
"acs_system_id",
|
|
3630
3584
|
"display_name",
|
|
3631
|
-
"code",
|
|
3632
3585
|
"external_type",
|
|
3633
3586
|
"external_type_display_name",
|
|
3634
3587
|
"created_at",
|
|
@@ -3709,7 +3662,6 @@ var openapi_default = {
|
|
|
3709
3662
|
"acs_credential_id",
|
|
3710
3663
|
"acs_system_id",
|
|
3711
3664
|
"display_name",
|
|
3712
|
-
"code",
|
|
3713
3665
|
"external_type",
|
|
3714
3666
|
"external_type_display_name",
|
|
3715
3667
|
"created_at",
|
|
@@ -3832,7 +3784,6 @@ var openapi_default = {
|
|
|
3832
3784
|
"acs_credential_id",
|
|
3833
3785
|
"acs_system_id",
|
|
3834
3786
|
"display_name",
|
|
3835
|
-
"code",
|
|
3836
3787
|
"external_type",
|
|
3837
3788
|
"external_type_display_name",
|
|
3838
3789
|
"created_at",
|
|
@@ -3932,7 +3883,6 @@ var openapi_default = {
|
|
|
3932
3883
|
"acs_credential_id",
|
|
3933
3884
|
"acs_system_id",
|
|
3934
3885
|
"display_name",
|
|
3935
|
-
"code",
|
|
3936
3886
|
"external_type",
|
|
3937
3887
|
"external_type_display_name",
|
|
3938
3888
|
"created_at",
|
|
@@ -4016,7 +3966,6 @@ var openapi_default = {
|
|
|
4016
3966
|
"acs_credential_id",
|
|
4017
3967
|
"acs_system_id",
|
|
4018
3968
|
"display_name",
|
|
4019
|
-
"code",
|
|
4020
3969
|
"external_type",
|
|
4021
3970
|
"external_type_display_name",
|
|
4022
3971
|
"created_at",
|
|
@@ -4094,7 +4043,6 @@ var openapi_default = {
|
|
|
4094
4043
|
"acs_credential_id",
|
|
4095
4044
|
"acs_system_id",
|
|
4096
4045
|
"display_name",
|
|
4097
|
-
"code",
|
|
4098
4046
|
"external_type",
|
|
4099
4047
|
"external_type_display_name",
|
|
4100
4048
|
"created_at",
|
|
@@ -4126,6 +4074,83 @@ var openapi_default = {
|
|
|
4126
4074
|
}
|
|
4127
4075
|
},
|
|
4128
4076
|
"/acs/credentials/update": {
|
|
4077
|
+
patch: {
|
|
4078
|
+
operationId: "acsCredentialsUpdatePatch",
|
|
4079
|
+
requestBody: {
|
|
4080
|
+
content: {
|
|
4081
|
+
"application/json": {
|
|
4082
|
+
schema: {
|
|
4083
|
+
properties: {
|
|
4084
|
+
acs_credential_id: { type: "string" },
|
|
4085
|
+
code: { pattern: "^\\d+$", type: "string" }
|
|
4086
|
+
},
|
|
4087
|
+
required: ["acs_credential_id", "code"],
|
|
4088
|
+
type: "object"
|
|
4089
|
+
}
|
|
4090
|
+
}
|
|
4091
|
+
}
|
|
4092
|
+
},
|
|
4093
|
+
responses: {
|
|
4094
|
+
200: {
|
|
4095
|
+
content: {
|
|
4096
|
+
"application/json": {
|
|
4097
|
+
schema: {
|
|
4098
|
+
properties: {
|
|
4099
|
+
acs_credential: {
|
|
4100
|
+
properties: {
|
|
4101
|
+
acs_credential_id: { format: "uuid", type: "string" },
|
|
4102
|
+
acs_credential_pool_id: {
|
|
4103
|
+
format: "uuid",
|
|
4104
|
+
type: "string"
|
|
4105
|
+
},
|
|
4106
|
+
acs_system_id: { format: "uuid", type: "string" },
|
|
4107
|
+
acs_user_id: { format: "uuid", type: "string" },
|
|
4108
|
+
code: { nullable: true, type: "string" },
|
|
4109
|
+
created_at: { format: "date-time", type: "string" },
|
|
4110
|
+
display_name: { minLength: 1, type: "string" },
|
|
4111
|
+
external_type: {
|
|
4112
|
+
enum: [
|
|
4113
|
+
"pti_card",
|
|
4114
|
+
"brivo_credential",
|
|
4115
|
+
"hid_credential"
|
|
4116
|
+
],
|
|
4117
|
+
type: "string"
|
|
4118
|
+
},
|
|
4119
|
+
external_type_display_name: { type: "string" },
|
|
4120
|
+
workspace_id: { format: "uuid", type: "string" }
|
|
4121
|
+
},
|
|
4122
|
+
required: [
|
|
4123
|
+
"acs_credential_id",
|
|
4124
|
+
"acs_system_id",
|
|
4125
|
+
"display_name",
|
|
4126
|
+
"external_type",
|
|
4127
|
+
"external_type_display_name",
|
|
4128
|
+
"created_at",
|
|
4129
|
+
"workspace_id"
|
|
4130
|
+
],
|
|
4131
|
+
type: "object"
|
|
4132
|
+
},
|
|
4133
|
+
ok: { type: "boolean" }
|
|
4134
|
+
},
|
|
4135
|
+
required: ["acs_credential", "ok"],
|
|
4136
|
+
type: "object"
|
|
4137
|
+
}
|
|
4138
|
+
}
|
|
4139
|
+
},
|
|
4140
|
+
description: "OK"
|
|
4141
|
+
},
|
|
4142
|
+
400: { description: "Bad Request" },
|
|
4143
|
+
401: { description: "Unauthorized" }
|
|
4144
|
+
},
|
|
4145
|
+
security: [
|
|
4146
|
+
{ access_token: [], seam_workspace: [] },
|
|
4147
|
+
{ seam_client_session_token: [] },
|
|
4148
|
+
{ client_session_token: [] }
|
|
4149
|
+
],
|
|
4150
|
+
summary: "/acs/credentials/update",
|
|
4151
|
+
tags: [],
|
|
4152
|
+
"x-fern-ignore": true
|
|
4153
|
+
},
|
|
4129
4154
|
post: {
|
|
4130
4155
|
operationId: "acsCredentialsUpdatePost",
|
|
4131
4156
|
requestBody: {
|
|
@@ -4133,9 +4158,10 @@ var openapi_default = {
|
|
|
4133
4158
|
"application/json": {
|
|
4134
4159
|
schema: {
|
|
4135
4160
|
properties: {
|
|
4136
|
-
|
|
4137
|
-
|
|
4161
|
+
acs_credential_id: { type: "string" },
|
|
4162
|
+
code: { pattern: "^\\d+$", type: "string" }
|
|
4138
4163
|
},
|
|
4164
|
+
required: ["acs_credential_id", "code"],
|
|
4139
4165
|
type: "object"
|
|
4140
4166
|
}
|
|
4141
4167
|
}
|
|
@@ -4174,7 +4200,6 @@ var openapi_default = {
|
|
|
4174
4200
|
"acs_credential_id",
|
|
4175
4201
|
"acs_system_id",
|
|
4176
4202
|
"display_name",
|
|
4177
|
-
"code",
|
|
4178
4203
|
"external_type",
|
|
4179
4204
|
"external_type_display_name",
|
|
4180
4205
|
"created_at",
|