@seamapi/types 1.130.0 → 1.131.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 +20 -6
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +71 -34
- package/lib/seam/connect/openapi.d.ts +16 -5
- package/lib/seam/connect/openapi.js +20 -6
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +55 -29
- package/lib/seam/connect/unstable/models/devices/managed-device.d.ts +6 -10
- package/lib/seam/connect/unstable/models/devices/managed-device.js +8 -5
- package/lib/seam/connect/unstable/models/devices/managed-device.js.map +1 -1
- package/lib/seam/connect/unstable/models/devices/phone.d.ts +6 -0
- package/lib/seam/connect/unstable/models/devices/unmanaged-device.d.ts +0 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +24 -7
- package/src/lib/seam/connect/route-types.ts +55 -29
- package/src/lib/seam/connect/unstable/models/devices/managed-device.ts +12 -7
package/dist/connect.cjs
CHANGED
|
@@ -642,6 +642,10 @@ var openapi_default = {
|
|
|
642
642
|
{ enum: ["ios_phone", "android_phone"], type: "string" }
|
|
643
643
|
]
|
|
644
644
|
},
|
|
645
|
+
display_name: {
|
|
646
|
+
description: "Display name of the device, defaults to nickname (if it is set) or properties.appearance.name otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices.",
|
|
647
|
+
type: "string"
|
|
648
|
+
},
|
|
645
649
|
errors: {
|
|
646
650
|
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.',
|
|
647
651
|
items: {
|
|
@@ -674,6 +678,10 @@ var openapi_default = {
|
|
|
674
678
|
},
|
|
675
679
|
type: "object"
|
|
676
680
|
},
|
|
681
|
+
nickname: {
|
|
682
|
+
description: "Optional nickname to describe the device, settable through Seam",
|
|
683
|
+
type: "string"
|
|
684
|
+
},
|
|
677
685
|
properties: {
|
|
678
686
|
allOf: [
|
|
679
687
|
{
|
|
@@ -757,11 +765,7 @@ var openapi_default = {
|
|
|
757
765
|
type: "object"
|
|
758
766
|
},
|
|
759
767
|
name: {
|
|
760
|
-
description: "Name of the device.
|
|
761
|
-
type: "string"
|
|
762
|
-
},
|
|
763
|
-
nickname: {
|
|
764
|
-
description: "Optional nickname to describe the device, settable through Seam. Enables administrators and users to identify the device easily, especially when there are numerous devices.",
|
|
768
|
+
description: "Name of the device. Deprecated - use device.display_name instead",
|
|
765
769
|
type: "string"
|
|
766
770
|
},
|
|
767
771
|
offline_access_codes_enabled: {
|
|
@@ -1730,6 +1734,7 @@ var openapi_default = {
|
|
|
1730
1734
|
required: [
|
|
1731
1735
|
"device_id",
|
|
1732
1736
|
"device_type",
|
|
1737
|
+
"display_name",
|
|
1733
1738
|
"capabilities_supported",
|
|
1734
1739
|
"properties",
|
|
1735
1740
|
"location",
|
|
@@ -1905,6 +1910,10 @@ var openapi_default = {
|
|
|
1905
1910
|
type: "string"
|
|
1906
1911
|
},
|
|
1907
1912
|
device_type: { enum: ["android_phone", "ios_phone"], type: "string" },
|
|
1913
|
+
display_name: {
|
|
1914
|
+
description: "Display name of the device, defaults to nickname (if it is set) or properties.appearance.name otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices.",
|
|
1915
|
+
type: "string"
|
|
1916
|
+
},
|
|
1908
1917
|
errors: {
|
|
1909
1918
|
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.',
|
|
1910
1919
|
items: {
|
|
@@ -1937,6 +1946,10 @@ var openapi_default = {
|
|
|
1937
1946
|
},
|
|
1938
1947
|
type: "object"
|
|
1939
1948
|
},
|
|
1949
|
+
nickname: {
|
|
1950
|
+
description: "Optional nickname to describe the device, settable through Seam",
|
|
1951
|
+
type: "string"
|
|
1952
|
+
},
|
|
1940
1953
|
properties: {
|
|
1941
1954
|
properties: {
|
|
1942
1955
|
assa_abloy_credential_service_metadata: {
|
|
@@ -1981,6 +1994,7 @@ var openapi_default = {
|
|
|
1981
1994
|
required: [
|
|
1982
1995
|
"device_id",
|
|
1983
1996
|
"device_type",
|
|
1997
|
+
"display_name",
|
|
1984
1998
|
"capabilities_supported",
|
|
1985
1999
|
"properties",
|
|
1986
2000
|
"location",
|
|
@@ -2224,7 +2238,7 @@ var openapi_default = {
|
|
|
2224
2238
|
type: "object"
|
|
2225
2239
|
},
|
|
2226
2240
|
name: {
|
|
2227
|
-
description: "Name of the device.
|
|
2241
|
+
description: "Name of the device. Deprecated - use device.display_name instead",
|
|
2228
2242
|
type: "string"
|
|
2229
2243
|
},
|
|
2230
2244
|
offline_access_codes_enabled: {
|