@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.
@@ -17022,6 +17022,10 @@ export type Routes = {
17022
17022
  })[];
17023
17023
  /** Date and time at which the device object was created. */
17024
17024
  created_at: string;
17025
+ /** 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. */
17026
+ custom_metadata: {
17027
+ [x: string]: string | boolean;
17028
+ };
17025
17029
  is_managed: false;
17026
17030
  /** properties of the device. */
17027
17031
  properties: {
@@ -34432,6 +34436,10 @@ export type Routes = {
34432
34436
  })[];
34433
34437
  /** Date and time at which the device object was created. */
34434
34438
  created_at: string;
34439
+ /** 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. */
34440
+ custom_metadata: {
34441
+ [x: string]: string | boolean;
34442
+ };
34435
34443
  is_managed: false;
34436
34444
  /** properties of the device. */
34437
34445
  properties: {
@@ -34871,6 +34879,10 @@ export type Routes = {
34871
34879
  })[];
34872
34880
  /** Date and time at which the device object was created. */
34873
34881
  created_at: string;
34882
+ /** 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. */
34883
+ custom_metadata: {
34884
+ [x: string]: string | boolean;
34885
+ };
34874
34886
  is_managed: false;
34875
34887
  /** properties of the device. */
34876
34888
  properties: {
@@ -34970,7 +34982,11 @@ export type Routes = {
34970
34982
  /** ID of the unmanaged device that you want to update. */
34971
34983
  device_id: string;
34972
34984
  /** Indicates whether the device is managed. Set this parameter to `true` to convert an unmanaged device to managed. */
34973
- is_managed: true;
34985
+ is_managed?: true | undefined;
34986
+ /** Custom metadata that you want to associate with the device. Supports up to 50 JSON key:value pairs. */
34987
+ custom_metadata?: {
34988
+ [x: string]: string | boolean | null;
34989
+ } | undefined;
34974
34990
  };
34975
34991
  formData: {};
34976
34992
  jsonResponse: {};
@@ -82788,6 +82804,10 @@ export type Routes = {
82788
82804
  })[];
82789
82805
  /** Date and time at which the device object was created. */
82790
82806
  created_at: string;
82807
+ /** 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. */
82808
+ custom_metadata: {
82809
+ [x: string]: string | boolean;
82810
+ };
82791
82811
  is_managed: false;
82792
82812
  /** properties of the device. */
82793
82813
  properties: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.530.0",
3
+ "version": "1.531.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -17,6 +17,7 @@ export const unmanaged_device = device
17
17
  errors: true,
18
18
  warnings: true,
19
19
  created_at: true,
20
+ custom_metadata: true,
20
21
  })
21
22
  .extend({
22
23
  is_managed: z.literal(false),
@@ -23704,6 +23704,14 @@ export default {
23704
23704
  format: 'date-time',
23705
23705
  type: 'string',
23706
23706
  },
23707
+ custom_metadata: {
23708
+ additionalProperties: {
23709
+ oneOf: [{ type: 'string' }, { type: 'boolean' }],
23710
+ },
23711
+ description:
23712
+ '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.',
23713
+ type: 'object',
23714
+ },
23707
23715
  device_id: {
23708
23716
  description: 'ID of the device.',
23709
23717
  format: 'uuid',
@@ -25022,6 +25030,7 @@ export default {
25022
25030
  'errors',
25023
25031
  'warnings',
25024
25032
  'created_at',
25033
+ 'custom_metadata',
25025
25034
  'is_managed',
25026
25035
  'properties',
25027
25036
  ],
@@ -42545,6 +42554,18 @@ export default {
42545
42554
  'application/json': {
42546
42555
  schema: {
42547
42556
  properties: {
42557
+ custom_metadata: {
42558
+ additionalProperties: {
42559
+ nullable: true,
42560
+ oneOf: [
42561
+ { maxLength: 500, type: 'string' },
42562
+ { type: 'boolean' },
42563
+ ],
42564
+ },
42565
+ description:
42566
+ 'Custom metadata that you want to associate with the device. Supports up to 50 JSON key:value pairs.',
42567
+ type: 'object',
42568
+ },
42548
42569
  device_id: {
42549
42570
  description:
42550
42571
  'ID of the unmanaged device that you want to update.',
@@ -42558,7 +42579,7 @@ export default {
42558
42579
  type: 'boolean',
42559
42580
  },
42560
42581
  },
42561
- required: ['device_id', 'is_managed'],
42582
+ required: ['device_id'],
42562
42583
  type: 'object',
42563
42584
  },
42564
42585
  },
@@ -42601,6 +42622,18 @@ export default {
42601
42622
  'application/json': {
42602
42623
  schema: {
42603
42624
  properties: {
42625
+ custom_metadata: {
42626
+ additionalProperties: {
42627
+ nullable: true,
42628
+ oneOf: [
42629
+ { maxLength: 500, type: 'string' },
42630
+ { type: 'boolean' },
42631
+ ],
42632
+ },
42633
+ description:
42634
+ 'Custom metadata that you want to associate with the device. Supports up to 50 JSON key:value pairs.',
42635
+ type: 'object',
42636
+ },
42604
42637
  device_id: {
42605
42638
  description:
42606
42639
  'ID of the unmanaged device that you want to update.',
@@ -42614,7 +42647,7 @@ export default {
42614
42647
  type: 'boolean',
42615
42648
  },
42616
42649
  },
42617
- required: ['device_id', 'is_managed'],
42650
+ required: ['device_id'],
42618
42651
  type: 'object',
42619
42652
  },
42620
42653
  },
@@ -19785,6 +19785,10 @@ export type Routes = {
19785
19785
  )[]
19786
19786
  /** Date and time at which the device object was created. */
19787
19787
  created_at: string
19788
+ /** 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. */
19789
+ custom_metadata: {
19790
+ [x: string]: string | boolean
19791
+ }
19788
19792
  is_managed: false
19789
19793
  /** properties of the device. */
19790
19794
  properties: {
@@ -40373,6 +40377,10 @@ export type Routes = {
40373
40377
  )[]
40374
40378
  /** Date and time at which the device object was created. */
40375
40379
  created_at: string
40380
+ /** 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. */
40381
+ custom_metadata: {
40382
+ [x: string]: string | boolean
40383
+ }
40376
40384
  is_managed: false
40377
40385
  /** properties of the device. */
40378
40386
  properties: {
@@ -41066,6 +41074,10 @@ export type Routes = {
41066
41074
  )[]
41067
41075
  /** Date and time at which the device object was created. */
41068
41076
  created_at: string
41077
+ /** 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. */
41078
+ custom_metadata: {
41079
+ [x: string]: string | boolean
41080
+ }
41069
41081
  is_managed: false
41070
41082
  /** properties of the device. */
41071
41083
  properties: {
@@ -41171,7 +41183,13 @@ export type Routes = {
41171
41183
  /** ID of the unmanaged device that you want to update. */
41172
41184
  device_id: string
41173
41185
  /** Indicates whether the device is managed. Set this parameter to `true` to convert an unmanaged device to managed. */
41174
- is_managed: true
41186
+ is_managed?: true | undefined
41187
+ /** Custom metadata that you want to associate with the device. Supports up to 50 JSON key:value pairs. */
41188
+ custom_metadata?:
41189
+ | {
41190
+ [x: string]: string | boolean | null
41191
+ }
41192
+ | undefined
41175
41193
  }
41176
41194
  formData: {}
41177
41195
  jsonResponse: {}
@@ -98528,6 +98546,10 @@ export type Routes = {
98528
98546
  )[]
98529
98547
  /** Date and time at which the device object was created. */
98530
98548
  created_at: string
98549
+ /** 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. */
98550
+ custom_metadata: {
98551
+ [x: string]: string | boolean
98552
+ }
98531
98553
  is_managed: false
98532
98554
  /** properties of the device. */
98533
98555
  properties: {