@seamapi/types 1.345.1 → 1.346.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.
Files changed (42) hide show
  1. package/dist/connect.cjs +327 -687
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +269 -484
  4. package/lib/seam/connect/internal/schemas.d.ts +1 -1
  5. package/lib/seam/connect/internal/schemas.js +1 -1
  6. package/lib/seam/connect/internal/schemas.js.map +1 -1
  7. package/lib/seam/connect/model-types.d.ts +1 -1
  8. package/lib/seam/connect/models/bridges/bridge.d.ts +15 -0
  9. package/lib/seam/connect/models/bridges/bridge.js +12 -0
  10. package/lib/seam/connect/models/bridges/bridge.js.map +1 -0
  11. package/lib/seam/connect/models/bridges/index.d.ts +1 -0
  12. package/lib/seam/connect/models/bridges/index.js +2 -0
  13. package/lib/seam/connect/models/bridges/index.js.map +1 -0
  14. package/lib/seam/connect/models/devices/device-type.js +3 -1
  15. package/lib/seam/connect/models/devices/device-type.js.map +1 -1
  16. package/lib/seam/connect/models/devices/phone-properties.js +7 -3
  17. package/lib/seam/connect/models/devices/phone-properties.js.map +1 -1
  18. package/lib/seam/connect/models/devices/phone.d.ts +29 -2450
  19. package/lib/seam/connect/models/devices/phone.js +36 -15
  20. package/lib/seam/connect/models/devices/phone.js.map +1 -1
  21. package/lib/seam/connect/models/index.d.ts +1 -0
  22. package/lib/seam/connect/models/index.js +1 -0
  23. package/lib/seam/connect/models/index.js.map +1 -1
  24. package/lib/seam/connect/openapi.d.ts +188 -141
  25. package/lib/seam/connect/openapi.js +273 -642
  26. package/lib/seam/connect/openapi.js.map +1 -1
  27. package/lib/seam/connect/route-types.d.ts +63 -341
  28. package/lib/seam/connect/schemas.d.ts +1 -1
  29. package/lib/seam/connect/schemas.js +1 -1
  30. package/lib/seam/connect/schemas.js.map +1 -1
  31. package/package.json +2 -2
  32. package/src/lib/seam/connect/internal/schemas.ts +1 -0
  33. package/src/lib/seam/connect/model-types.ts +1 -0
  34. package/src/lib/seam/connect/models/bridges/bridge.ts +13 -0
  35. package/src/lib/seam/connect/models/bridges/index.ts +1 -0
  36. package/src/lib/seam/connect/models/devices/device-type.ts +3 -3
  37. package/src/lib/seam/connect/models/devices/phone-properties.ts +36 -32
  38. package/src/lib/seam/connect/models/devices/phone.ts +53 -15
  39. package/src/lib/seam/connect/models/index.ts +1 -0
  40. package/src/lib/seam/connect/openapi.ts +269 -676
  41. package/src/lib/seam/connect/route-types.ts +63 -419
  42. package/src/lib/seam/connect/schemas.ts +1 -0
@@ -1,20 +1,41 @@
1
1
  import { z } from 'zod';
2
2
  import { device } from './device.js';
3
+ import { phone_device_type } from './device-type.js';
3
4
  import { phone_specific_properties } from './phone-properties.js';
4
5
  export { phone_specific_properties } from './phone-properties.js';
5
- export const phone = device
6
- .omit({
7
- connected_account_id: true,
8
- })
9
- .extend({
10
- device_type: z
11
- .enum(['android_phone', 'ios_phone'])
12
- .describe('Type of phone.'),
13
- })
14
- .merge(z.object({ properties: phone_specific_properties })).describe(`
15
- ---
16
- route_path: /phones
17
- ---
18
- Properties of the phone.
19
- `);
6
+ const basePhoneDeviceSchema = device.pick({
7
+ device_id: true,
8
+ nickname: true,
9
+ display_name: true,
10
+ workspace_id: true,
11
+ created_at: true,
12
+ custom_metadata: true,
13
+ });
14
+ export const phone = z.object({
15
+ device_id: basePhoneDeviceSchema.shape.device_id.describe('ID of the `phone`.'),
16
+ nickname: basePhoneDeviceSchema.shape.nickname.describe('Optional nickname to describe the phone, settable through Seam.'),
17
+ display_name: basePhoneDeviceSchema.shape.display_name.describe('Display name of the phone. Defaults to `nickname` (if it is set) or `properties.appearance.name` otherwise. Enables administrators and users to identify the phone easily, especially when there are numerous phones.'),
18
+ workspace_id: basePhoneDeviceSchema.shape.workspace_id.describe('ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the `phone`.'),
19
+ created_at: basePhoneDeviceSchema.shape.created_at.describe('Date and time at which the `phone` was created.'),
20
+ custom_metadata: basePhoneDeviceSchema.shape.custom_metadata.describe('Optional [custom metadata](https://docs.seam.co/latest/core-concepts/devices/adding-custom-metadata-to-a-device) for the phone.'),
21
+ errors: z
22
+ .array(z.object({
23
+ error_code: z.string(),
24
+ message: z.string(),
25
+ }))
26
+ .describe('Errors associated with the `phone`.'),
27
+ warnings: z
28
+ .array(z.object({
29
+ warning_code: z.string(),
30
+ message: z.string(),
31
+ }))
32
+ .describe('Warnings associated with the `phone`.'),
33
+ device_type: phone_device_type,
34
+ properties: phone_specific_properties,
35
+ }).describe(`
36
+ ---
37
+ route_path: /phones
38
+ ---
39
+ Represents an app user's mobile phone.
40
+ `);
20
41
  //# sourceMappingURL=phone.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"phone.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/devices/phone.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACpC,OAAO,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAA;AAEjE,OAAO,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAA;AAEjE,MAAM,CAAC,MAAM,KAAK,GAAG,MAAM;KACxB,IAAI,CAAC;IACJ,oBAAoB,EAAE,IAAI;CAC3B,CAAC;KACD,MAAM,CAAC;IACN,WAAW,EAAE,CAAC;SACX,IAAI,CAAC,CAAC,eAAe,EAAE,WAAW,CAAC,CAAC;SACpC,QAAQ,CAAC,gBAAgB,CAAC;CAC9B,CAAC;KACD,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,UAAU,EAAE,yBAAyB,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC;;;;;GAKpE,CAAC,CAAA"}
1
+ {"version":3,"file":"phone.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/devices/phone.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACpC,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAA;AACpD,OAAO,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAA;AAEjE,OAAO,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAA;AAEjE,MAAM,qBAAqB,GAAG,MAAM,CAAC,IAAI,CAAC;IACxC,SAAS,EAAE,IAAI;IACf,QAAQ,EAAE,IAAI;IACd,YAAY,EAAE,IAAI;IAClB,YAAY,EAAE,IAAI;IAClB,UAAU,EAAE,IAAI;IAChB,eAAe,EAAE,IAAI;CACtB,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5B,SAAS,EACP,qBAAqB,CAAC,KAAK,CAAC,SAAS,CAAC,QAAQ,CAAC,oBAAoB,CAAC;IACtE,QAAQ,EAAE,qBAAqB,CAAC,KAAK,CAAC,QAAQ,CAAC,QAAQ,CACrD,iEAAiE,CAClE;IACD,YAAY,EAAE,qBAAqB,CAAC,KAAK,CAAC,YAAY,CAAC,QAAQ,CAC7D,uNAAuN,CACxN;IACD,YAAY,EAAE,qBAAqB,CAAC,KAAK,CAAC,YAAY,CAAC,QAAQ,CAC7D,wGAAwG,CACzG;IACD,UAAU,EAAE,qBAAqB,CAAC,KAAK,CAAC,UAAU,CAAC,QAAQ,CACzD,iDAAiD,CAClD;IACD,eAAe,EAAE,qBAAqB,CAAC,KAAK,CAAC,eAAe,CAAC,QAAQ,CACnE,iIAAiI,CAClI;IAED,MAAM,EAAE,CAAC;SACN,KAAK,CACJ,CAAC,CAAC,MAAM,CAAC;QACP,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;QACtB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;KACpB,CAAC,CACH;SACA,QAAQ,CAAC,qCAAqC,CAAC;IAClD,QAAQ,EAAE,CAAC;SACR,KAAK,CACJ,CAAC,CAAC,MAAM,CAAC;QACP,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;QACxB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;KACpB,CAAC,CACH;SACA,QAAQ,CAAC,uCAAuC,CAAC;IACpD,WAAW,EAAE,iBAAiB;IAC9B,UAAU,EAAE,yBAAyB;CACtC,CAAC,CAAC,QAAQ,CAAC;;;;;CAKX,CAAC,CAAA"}
@@ -1,6 +1,7 @@
1
1
  export * from './access-codes/index.js';
2
2
  export * from './acs/index.js';
3
3
  export * from './action-attempts/index.js';
4
+ export * from './bridges/index.js';
4
5
  export * from './client-sessions/index.js';
5
6
  export * from './connect-webviews/index.js';
6
7
  export * from './connected-accounts/index.js';
@@ -1,6 +1,7 @@
1
1
  export * from './access-codes/index.js';
2
2
  export * from './acs/index.js';
3
3
  export * from './action-attempts/index.js';
4
+ export * from './bridges/index.js';
4
5
  export * from './client-sessions/index.js';
5
6
  export * from './connect-webviews/index.js';
6
7
  export * from './connected-accounts/index.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA;AACvC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,4BAA4B,CAAA;AAC1C,cAAc,4BAA4B,CAAA;AAC1C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,+BAA+B,CAAA;AAC7C,cAAc,sBAAsB,CAAA;AACpC,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AACjC,cAAc,0BAA0B,CAAA;AACxC,cAAc,mBAAmB,CAAA;AACjC,cAAc,wBAAwB,CAAA;AACtC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,qBAAqB,CAAA;AACnC,cAAc,uBAAuB,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA;AACvC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,4BAA4B,CAAA;AAC1C,cAAc,oBAAoB,CAAA;AAClC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,+BAA+B,CAAA;AAC7C,cAAc,sBAAsB,CAAA;AACpC,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AACjC,cAAc,0BAA0B,CAAA;AACxC,cAAc,mBAAmB,CAAA;AACjC,cAAc,wBAAwB,CAAA;AACtC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,qBAAqB,CAAA;AACnC,cAAc,uBAAuB,CAAA"}
@@ -2534,10 +2534,15 @@ declare const _default: {
2534
2534
  };
2535
2535
  device_type: {
2536
2536
  description: string;
2537
- oneOf: {
2537
+ oneOf: ({
2538
2538
  enum: string[];
2539
2539
  type: string;
2540
- }[];
2540
+ description?: never;
2541
+ } | {
2542
+ description: string;
2543
+ enum: string[];
2544
+ type: string;
2545
+ })[];
2541
2546
  };
2542
2547
  display_name: {
2543
2548
  description: string;
@@ -2779,7 +2784,9 @@ declare const _default: {
2779
2784
  };
2780
2785
  required: string[];
2781
2786
  type: string;
2787
+ description?: never;
2782
2788
  } | {
2789
+ description: string;
2783
2790
  properties: {
2784
2791
  assa_abloy_credential_service_metadata: {
2785
2792
  description: string;
@@ -6785,47 +6792,6 @@ declare const _default: {
6785
6792
  phone: {
6786
6793
  description: string;
6787
6794
  properties: {
6788
- can_hvac_cool: {
6789
- type: string;
6790
- };
6791
- can_hvac_heat: {
6792
- type: string;
6793
- };
6794
- can_hvac_heat_cool: {
6795
- type: string;
6796
- };
6797
- can_program_offline_access_codes: {
6798
- type: string;
6799
- };
6800
- can_program_online_access_codes: {
6801
- type: string;
6802
- };
6803
- can_remotely_lock: {
6804
- type: string;
6805
- };
6806
- can_remotely_unlock: {
6807
- type: string;
6808
- };
6809
- can_simulate_connection: {
6810
- type: string;
6811
- };
6812
- can_simulate_disconnection: {
6813
- type: string;
6814
- };
6815
- can_simulate_removal: {
6816
- type: string;
6817
- };
6818
- can_turn_off_hvac: {
6819
- type: string;
6820
- };
6821
- capabilities_supported: {
6822
- description: string;
6823
- items: {
6824
- enum: string[];
6825
- type: string;
6826
- };
6827
- type: string;
6828
- };
6829
6795
  created_at: {
6830
6796
  description: string;
6831
6797
  format: string;
@@ -6837,6 +6803,7 @@ declare const _default: {
6837
6803
  type: string;
6838
6804
  }[];
6839
6805
  };
6806
+ description: string;
6840
6807
  type: string;
6841
6808
  };
6842
6809
  device_id: {
@@ -6856,68 +6823,16 @@ declare const _default: {
6856
6823
  errors: {
6857
6824
  description: string;
6858
6825
  items: {
6859
- discriminator: {
6860
- propertyName: string;
6861
- };
6862
- oneOf: ({
6863
- description: string;
6864
- properties: {
6865
- error_code: {
6866
- description: string;
6867
- enum: string[];
6868
- type: string;
6869
- };
6870
- is_device_error: {
6871
- enum: boolean[];
6872
- type: string;
6873
- };
6874
- message: {
6875
- type: string;
6876
- };
6877
- is_connected_account_error?: never;
6826
+ properties: {
6827
+ error_code: {
6828
+ type: string;
6878
6829
  };
6879
- required: string[];
6880
- type: string;
6881
- } | {
6882
- description: string;
6883
- properties: {
6884
- error_code: {
6885
- description: string;
6886
- enum: string[];
6887
- type: string;
6888
- };
6889
- is_connected_account_error: {
6890
- enum: boolean[];
6891
- type: string;
6892
- };
6893
- message: {
6894
- type: string;
6895
- };
6896
- is_device_error?: never;
6830
+ message: {
6831
+ type: string;
6897
6832
  };
6898
- required: string[];
6899
- type: string;
6900
- })[];
6901
- };
6902
- type: string;
6903
- };
6904
- is_managed: {
6905
- description: string;
6906
- enum: boolean[];
6907
- type: string;
6908
- };
6909
- location: {
6910
- description: string;
6911
- nullable: boolean;
6912
- properties: {
6913
- location_name: {
6914
- description: string;
6915
- type: string;
6916
- };
6917
- timezone: {
6918
- description: string;
6919
- type: string;
6920
6833
  };
6834
+ required: string[];
6835
+ type: string;
6921
6836
  };
6922
6837
  type: string;
6923
6838
  };
@@ -6926,6 +6841,7 @@ declare const _default: {
6926
6841
  type: string;
6927
6842
  };
6928
6843
  properties: {
6844
+ description: string;
6929
6845
  properties: {
6930
6846
  assa_abloy_credential_service_metadata: {
6931
6847
  description: string;
@@ -6973,24 +6889,16 @@ declare const _default: {
6973
6889
  warnings: {
6974
6890
  description: string;
6975
6891
  items: {
6976
- discriminator: {
6977
- propertyName: string;
6978
- };
6979
- oneOf: {
6980
- description: string;
6981
- properties: {
6982
- message: {
6983
- type: string;
6984
- };
6985
- warning_code: {
6986
- description: string;
6987
- enum: string[];
6988
- type: string;
6989
- };
6892
+ properties: {
6893
+ message: {
6894
+ type: string;
6990
6895
  };
6991
- required: string[];
6992
- type: string;
6993
- }[];
6896
+ warning_code: {
6897
+ type: string;
6898
+ };
6899
+ };
6900
+ required: string[];
6901
+ type: string;
6994
6902
  };
6995
6903
  type: string;
6996
6904
  };
@@ -7770,10 +7678,15 @@ declare const _default: {
7770
7678
  };
7771
7679
  device_type: {
7772
7680
  description: string;
7773
- oneOf: {
7681
+ oneOf: ({
7774
7682
  enum: string[];
7775
7683
  type: string;
7776
- }[];
7684
+ description?: never;
7685
+ } | {
7686
+ description: string;
7687
+ enum: string[];
7688
+ type: string;
7689
+ })[];
7777
7690
  };
7778
7691
  errors: {
7779
7692
  description: string;
@@ -14780,6 +14693,90 @@ declare const _default: {
14780
14693
  'x-response-key': string;
14781
14694
  };
14782
14695
  };
14696
+ '/bridges/get': {
14697
+ post: {
14698
+ operationId: string;
14699
+ requestBody: {
14700
+ content: {
14701
+ 'application/json': {
14702
+ schema: {
14703
+ properties: {
14704
+ bridge_id: {
14705
+ format: string;
14706
+ type: string;
14707
+ };
14708
+ };
14709
+ required: string[];
14710
+ type: string;
14711
+ };
14712
+ };
14713
+ };
14714
+ };
14715
+ responses: {
14716
+ 200: {
14717
+ content: {
14718
+ 'application/json': {
14719
+ schema: {
14720
+ properties: {
14721
+ bridge: {
14722
+ properties: {
14723
+ bridge_id: {
14724
+ format: string;
14725
+ type: string;
14726
+ };
14727
+ created_at: {
14728
+ format: string;
14729
+ type: string;
14730
+ };
14731
+ workspace_id: {
14732
+ format: string;
14733
+ type: string;
14734
+ };
14735
+ };
14736
+ required: string[];
14737
+ type: string;
14738
+ 'x-route-path': string;
14739
+ 'x-undocumented': string;
14740
+ };
14741
+ ok: {
14742
+ type: string;
14743
+ };
14744
+ };
14745
+ required: string[];
14746
+ type: string;
14747
+ };
14748
+ };
14749
+ };
14750
+ description: string;
14751
+ };
14752
+ 400: {
14753
+ description: string;
14754
+ };
14755
+ 401: {
14756
+ description: string;
14757
+ };
14758
+ };
14759
+ security: ({
14760
+ pat_with_workspace: never[];
14761
+ console_session_with_workspace?: never;
14762
+ api_key?: never;
14763
+ } | {
14764
+ console_session_with_workspace: never[];
14765
+ pat_with_workspace?: never;
14766
+ api_key?: never;
14767
+ } | {
14768
+ api_key: never[];
14769
+ pat_with_workspace?: never;
14770
+ console_session_with_workspace?: never;
14771
+ })[];
14772
+ summary: string;
14773
+ tags: never[];
14774
+ 'x-fern-sdk-group-name': string[];
14775
+ 'x-fern-sdk-method-name': string;
14776
+ 'x-fern-sdk-return-value': string;
14777
+ 'x-response-key': string;
14778
+ };
14779
+ };
14783
14780
  '/client_sessions/create': {
14784
14781
  post: {
14785
14782
  operationId: string;
@@ -16362,18 +16359,28 @@ declare const _default: {
16362
16359
  };
16363
16360
  device_type: {
16364
16361
  description: string;
16365
- oneOf: {
16362
+ oneOf: ({
16363
+ enum: string[];
16364
+ type: string;
16365
+ description?: never;
16366
+ } | {
16367
+ description: string;
16366
16368
  enum: string[];
16367
16369
  type: string;
16368
- }[];
16370
+ })[];
16369
16371
  };
16370
16372
  device_types: {
16371
16373
  description: string;
16372
16374
  items: {
16373
- oneOf: {
16375
+ oneOf: ({
16374
16376
  enum: string[];
16375
16377
  type: string;
16376
- }[];
16378
+ description?: never;
16379
+ } | {
16380
+ description: string;
16381
+ enum: string[];
16382
+ type: string;
16383
+ })[];
16377
16384
  };
16378
16385
  type: string;
16379
16386
  };
@@ -16867,18 +16874,28 @@ declare const _default: {
16867
16874
  };
16868
16875
  device_type: {
16869
16876
  description: string;
16870
- oneOf: {
16877
+ oneOf: ({
16871
16878
  enum: string[];
16872
16879
  type: string;
16873
- }[];
16880
+ description?: never;
16881
+ } | {
16882
+ description: string;
16883
+ enum: string[];
16884
+ type: string;
16885
+ })[];
16874
16886
  };
16875
16887
  device_types: {
16876
16888
  description: string;
16877
16889
  items: {
16878
- oneOf: {
16890
+ oneOf: ({
16879
16891
  enum: string[];
16880
16892
  type: string;
16881
- }[];
16893
+ description?: never;
16894
+ } | {
16895
+ description: string;
16896
+ enum: string[];
16897
+ type: string;
16898
+ })[];
16882
16899
  };
16883
16900
  type: string;
16884
16901
  };
@@ -17666,18 +17683,28 @@ declare const _default: {
17666
17683
  };
17667
17684
  device_type: {
17668
17685
  description: string;
17669
- oneOf: {
17686
+ oneOf: ({
17687
+ enum: string[];
17688
+ type: string;
17689
+ description?: never;
17690
+ } | {
17691
+ description: string;
17670
17692
  enum: string[];
17671
17693
  type: string;
17672
- }[];
17694
+ })[];
17673
17695
  };
17674
17696
  device_types: {
17675
17697
  description: string;
17676
17698
  items: {
17677
- oneOf: {
17699
+ oneOf: ({
17678
17700
  enum: string[];
17679
17701
  type: string;
17680
- }[];
17702
+ description?: never;
17703
+ } | {
17704
+ description: string;
17705
+ enum: string[];
17706
+ type: string;
17707
+ })[];
17681
17708
  };
17682
17709
  type: string;
17683
17710
  };
@@ -18124,18 +18151,28 @@ declare const _default: {
18124
18151
  };
18125
18152
  device_type: {
18126
18153
  description: string;
18127
- oneOf: {
18154
+ oneOf: ({
18128
18155
  enum: string[];
18129
18156
  type: string;
18130
- }[];
18157
+ description?: never;
18158
+ } | {
18159
+ description: string;
18160
+ enum: string[];
18161
+ type: string;
18162
+ })[];
18131
18163
  };
18132
18164
  device_types: {
18133
18165
  description: string;
18134
18166
  items: {
18135
- oneOf: {
18167
+ oneOf: ({
18136
18168
  enum: string[];
18137
18169
  type: string;
18138
- }[];
18170
+ description?: never;
18171
+ } | {
18172
+ description: string;
18173
+ enum: string[];
18174
+ type: string;
18175
+ })[];
18139
18176
  };
18140
18177
  type: string;
18141
18178
  };
@@ -19863,18 +19900,28 @@ declare const _default: {
19863
19900
  };
19864
19901
  device_type: {
19865
19902
  description: string;
19866
- oneOf: {
19903
+ oneOf: ({
19904
+ enum: string[];
19905
+ type: string;
19906
+ description?: never;
19907
+ } | {
19908
+ description: string;
19867
19909
  enum: string[];
19868
19910
  type: string;
19869
- }[];
19911
+ })[];
19870
19912
  };
19871
19913
  device_types: {
19872
19914
  description: string;
19873
19915
  items: {
19874
- oneOf: {
19916
+ oneOf: ({
19875
19917
  enum: string[];
19876
19918
  type: string;
19877
- }[];
19919
+ description?: never;
19920
+ } | {
19921
+ description: string;
19922
+ enum: string[];
19923
+ type: string;
19924
+ })[];
19878
19925
  };
19879
19926
  type: string;
19880
19927
  };