@seamapi/types 1.530.0 → 1.531.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 +34 -3
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +66 -3
- package/dist/index.cjs +34 -3
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +10 -2
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +3 -1
- package/lib/seam/connect/models/devices/unmanaged-device.js +1 -0
- package/lib/seam/connect/models/devices/unmanaged-device.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +37 -0
- package/lib/seam/connect/openapi.js +32 -2
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +21 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/unmanaged-device.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +35 -2
- package/src/lib/seam/connect/route-types.ts +23 -1
package/dist/connect.cjs
CHANGED
|
@@ -1841,7 +1841,8 @@ var unmanaged_device = device.pick({
|
|
|
1841
1841
|
workspace_id: true,
|
|
1842
1842
|
errors: true,
|
|
1843
1843
|
warnings: true,
|
|
1844
|
-
created_at: true
|
|
1844
|
+
created_at: true,
|
|
1845
|
+
custom_metadata: true
|
|
1845
1846
|
}).extend({
|
|
1846
1847
|
is_managed: zod.z.literal(false),
|
|
1847
1848
|
properties: common_device_properties.pick({
|
|
@@ -26787,6 +26788,13 @@ var openapi_default = {
|
|
|
26787
26788
|
format: "date-time",
|
|
26788
26789
|
type: "string"
|
|
26789
26790
|
},
|
|
26791
|
+
custom_metadata: {
|
|
26792
|
+
additionalProperties: {
|
|
26793
|
+
oneOf: [{ type: "string" }, { type: "boolean" }]
|
|
26794
|
+
},
|
|
26795
|
+
description: "Set of key:value pairs. Adding custom metadata to a resource, such as a [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews/attaching-custom-data-to-the-connect-webview), [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts/adding-custom-metadata-to-a-connected-account), or [device](https://docs.seam.co/latest/core-concepts/devices/adding-custom-metadata-to-a-device), enables you to store custom information, like customer details or internal IDs from your application.",
|
|
26796
|
+
type: "object"
|
|
26797
|
+
},
|
|
26790
26798
|
device_id: {
|
|
26791
26799
|
description: "ID of the device.",
|
|
26792
26800
|
format: "uuid",
|
|
@@ -27942,6 +27950,7 @@ var openapi_default = {
|
|
|
27942
27950
|
"errors",
|
|
27943
27951
|
"warnings",
|
|
27944
27952
|
"created_at",
|
|
27953
|
+
"custom_metadata",
|
|
27945
27954
|
"is_managed",
|
|
27946
27955
|
"properties"
|
|
27947
27956
|
],
|
|
@@ -44432,6 +44441,17 @@ var openapi_default = {
|
|
|
44432
44441
|
"application/json": {
|
|
44433
44442
|
schema: {
|
|
44434
44443
|
properties: {
|
|
44444
|
+
custom_metadata: {
|
|
44445
|
+
additionalProperties: {
|
|
44446
|
+
nullable: true,
|
|
44447
|
+
oneOf: [
|
|
44448
|
+
{ maxLength: 500, type: "string" },
|
|
44449
|
+
{ type: "boolean" }
|
|
44450
|
+
]
|
|
44451
|
+
},
|
|
44452
|
+
description: "Custom metadata that you want to associate with the device. Supports up to 50 JSON key:value pairs.",
|
|
44453
|
+
type: "object"
|
|
44454
|
+
},
|
|
44435
44455
|
device_id: {
|
|
44436
44456
|
description: "ID of the unmanaged device that you want to update.",
|
|
44437
44457
|
format: "uuid",
|
|
@@ -44443,7 +44463,7 @@ var openapi_default = {
|
|
|
44443
44463
|
type: "boolean"
|
|
44444
44464
|
}
|
|
44445
44465
|
},
|
|
44446
|
-
required: ["device_id"
|
|
44466
|
+
required: ["device_id"],
|
|
44447
44467
|
type: "object"
|
|
44448
44468
|
}
|
|
44449
44469
|
}
|
|
@@ -44485,6 +44505,17 @@ var openapi_default = {
|
|
|
44485
44505
|
"application/json": {
|
|
44486
44506
|
schema: {
|
|
44487
44507
|
properties: {
|
|
44508
|
+
custom_metadata: {
|
|
44509
|
+
additionalProperties: {
|
|
44510
|
+
nullable: true,
|
|
44511
|
+
oneOf: [
|
|
44512
|
+
{ maxLength: 500, type: "string" },
|
|
44513
|
+
{ type: "boolean" }
|
|
44514
|
+
]
|
|
44515
|
+
},
|
|
44516
|
+
description: "Custom metadata that you want to associate with the device. Supports up to 50 JSON key:value pairs.",
|
|
44517
|
+
type: "object"
|
|
44518
|
+
},
|
|
44488
44519
|
device_id: {
|
|
44489
44520
|
description: "ID of the unmanaged device that you want to update.",
|
|
44490
44521
|
format: "uuid",
|
|
@@ -44496,7 +44527,7 @@ var openapi_default = {
|
|
|
44496
44527
|
type: "boolean"
|
|
44497
44528
|
}
|
|
44498
44529
|
},
|
|
44499
|
-
required: ["device_id"
|
|
44530
|
+
required: ["device_id"],
|
|
44500
44531
|
type: "object"
|
|
44501
44532
|
}
|
|
44502
44533
|
}
|