@seamapi/types 1.734.0 → 1.736.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.
@@ -4919,7 +4919,7 @@ export declare const batch: z.ZodObject<{
4919
4919
  custom_metadata: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
4920
4920
  automatically_manage_new_devices: z.ZodBoolean;
4921
4921
  customer_key: z.ZodOptional<z.ZodString>;
4922
- accepted_capabilities: z.ZodArray<z.ZodEnum<["lock", "thermostat", "noise_sensor", "access_control"]>, "many">;
4922
+ accepted_capabilities: z.ZodArray<z.ZodEnum<["lock", "thermostat", "noise_sensor", "access_control", "camera"]>, "many">;
4923
4923
  }, "strip", z.ZodTypeAny, {
4924
4924
  display_name: string;
4925
4925
  errors: ({
@@ -4982,7 +4982,7 @@ export declare const batch: z.ZodObject<{
4982
4982
  })[];
4983
4983
  custom_metadata: Record<string, string | boolean>;
4984
4984
  automatically_manage_new_devices: boolean;
4985
- accepted_capabilities: ("lock" | "thermostat" | "noise_sensor" | "access_control")[];
4985
+ accepted_capabilities: ("lock" | "thermostat" | "noise_sensor" | "access_control" | "camera")[];
4986
4986
  created_at?: string | undefined;
4987
4987
  user_identifier?: {
4988
4988
  phone?: string | undefined;
@@ -5056,7 +5056,7 @@ export declare const batch: z.ZodObject<{
5056
5056
  })[];
5057
5057
  custom_metadata: Record<string, string | boolean>;
5058
5058
  automatically_manage_new_devices: boolean;
5059
- accepted_capabilities: ("lock" | "thermostat" | "noise_sensor" | "access_control")[];
5059
+ accepted_capabilities: ("lock" | "thermostat" | "noise_sensor" | "access_control" | "camera")[];
5060
5060
  created_at?: string | undefined;
5061
5061
  user_identifier?: {
5062
5062
  phone?: string | undefined;
@@ -15469,7 +15469,7 @@ export declare const batch: z.ZodObject<{
15469
15469
  url: z.ZodString;
15470
15470
  device_selection_mode: z.ZodEnum<["none", "single", "multiple"]>;
15471
15471
  accepted_providers: z.ZodArray<z.ZodString, "many">;
15472
- accepted_capabilities: z.ZodArray<z.ZodEnum<["lock", "thermostat", "noise_sensor", "access_control"]>, "many">;
15472
+ accepted_capabilities: z.ZodArray<z.ZodEnum<["lock", "thermostat", "noise_sensor", "access_control", "camera"]>, "many">;
15473
15473
  accepted_devices: z.ZodArray<z.ZodString, "many">;
15474
15474
  any_device_allowed: z.ZodBoolean;
15475
15475
  any_provider_allowed: z.ZodBoolean;
@@ -15490,7 +15490,7 @@ export declare const batch: z.ZodObject<{
15490
15490
  connected_account_id: string | null;
15491
15491
  custom_metadata: Record<string, string | boolean>;
15492
15492
  automatically_manage_new_devices: boolean;
15493
- accepted_capabilities: ("lock" | "thermostat" | "noise_sensor" | "access_control")[];
15493
+ accepted_capabilities: ("lock" | "thermostat" | "noise_sensor" | "access_control" | "camera")[];
15494
15494
  connect_webview_id: string;
15495
15495
  url: string;
15496
15496
  device_selection_mode: "none" | "single" | "multiple";
@@ -15512,7 +15512,7 @@ export declare const batch: z.ZodObject<{
15512
15512
  connected_account_id: string | null;
15513
15513
  custom_metadata: Record<string, string | boolean>;
15514
15514
  automatically_manage_new_devices: boolean;
15515
- accepted_capabilities: ("lock" | "thermostat" | "noise_sensor" | "access_control")[];
15515
+ accepted_capabilities: ("lock" | "thermostat" | "noise_sensor" | "access_control" | "camera")[];
15516
15516
  connect_webview_id: string;
15517
15517
  url: string;
15518
15518
  device_selection_mode: "none" | "single" | "multiple";
@@ -25079,7 +25079,7 @@ export declare const batch: z.ZodObject<{
25079
25079
  })[];
25080
25080
  custom_metadata: Record<string, string | boolean>;
25081
25081
  automatically_manage_new_devices: boolean;
25082
- accepted_capabilities: ("lock" | "thermostat" | "noise_sensor" | "access_control")[];
25082
+ accepted_capabilities: ("lock" | "thermostat" | "noise_sensor" | "access_control" | "camera")[];
25083
25083
  created_at?: string | undefined;
25084
25084
  user_identifier?: {
25085
25085
  phone?: string | undefined;
@@ -26709,7 +26709,7 @@ export declare const batch: z.ZodObject<{
26709
26709
  connected_account_id: string | null;
26710
26710
  custom_metadata: Record<string, string | boolean>;
26711
26711
  automatically_manage_new_devices: boolean;
26712
- accepted_capabilities: ("lock" | "thermostat" | "noise_sensor" | "access_control")[];
26712
+ accepted_capabilities: ("lock" | "thermostat" | "noise_sensor" | "access_control" | "camera")[];
26713
26713
  connect_webview_id: string;
26714
26714
  url: string;
26715
26715
  device_selection_mode: "none" | "single" | "multiple";
@@ -29714,7 +29714,7 @@ export declare const batch: z.ZodObject<{
29714
29714
  })[];
29715
29715
  custom_metadata: Record<string, string | boolean>;
29716
29716
  automatically_manage_new_devices: boolean;
29717
- accepted_capabilities: ("lock" | "thermostat" | "noise_sensor" | "access_control")[];
29717
+ accepted_capabilities: ("lock" | "thermostat" | "noise_sensor" | "access_control" | "camera")[];
29718
29718
  created_at?: string | undefined;
29719
29719
  user_identifier?: {
29720
29720
  phone?: string | undefined;
@@ -31344,7 +31344,7 @@ export declare const batch: z.ZodObject<{
31344
31344
  connected_account_id: string | null;
31345
31345
  custom_metadata: Record<string, string | boolean>;
31346
31346
  automatically_manage_new_devices: boolean;
31347
- accepted_capabilities: ("lock" | "thermostat" | "noise_sensor" | "access_control")[];
31347
+ accepted_capabilities: ("lock" | "thermostat" | "noise_sensor" | "access_control" | "camera")[];
31348
31348
  connect_webview_id: string;
31349
31349
  url: string;
31350
31350
  device_selection_mode: "none" | "single" | "multiple";
@@ -8,7 +8,7 @@ export declare const connect_webview: z.ZodObject<{
8
8
  url: z.ZodString;
9
9
  device_selection_mode: z.ZodEnum<["none", "single", "multiple"]>;
10
10
  accepted_providers: z.ZodArray<z.ZodString, "many">;
11
- accepted_capabilities: z.ZodArray<z.ZodEnum<["lock", "thermostat", "noise_sensor", "access_control"]>, "many">;
11
+ accepted_capabilities: z.ZodArray<z.ZodEnum<["lock", "thermostat", "noise_sensor", "access_control", "camera"]>, "many">;
12
12
  accepted_devices: z.ZodArray<z.ZodString, "many">;
13
13
  any_device_allowed: z.ZodBoolean;
14
14
  any_provider_allowed: z.ZodBoolean;
@@ -29,7 +29,7 @@ export declare const connect_webview: z.ZodObject<{
29
29
  connected_account_id: string | null;
30
30
  custom_metadata: Record<string, string | boolean>;
31
31
  automatically_manage_new_devices: boolean;
32
- accepted_capabilities: ("lock" | "thermostat" | "noise_sensor" | "access_control")[];
32
+ accepted_capabilities: ("lock" | "thermostat" | "noise_sensor" | "access_control" | "camera")[];
33
33
  connect_webview_id: string;
34
34
  url: string;
35
35
  device_selection_mode: "none" | "single" | "multiple";
@@ -51,7 +51,7 @@ export declare const connect_webview: z.ZodObject<{
51
51
  connected_account_id: string | null;
52
52
  custom_metadata: Record<string, string | boolean>;
53
53
  automatically_manage_new_devices: boolean;
54
- accepted_capabilities: ("lock" | "thermostat" | "noise_sensor" | "access_control")[];
54
+ accepted_capabilities: ("lock" | "thermostat" | "noise_sensor" | "access_control" | "camera")[];
55
55
  connect_webview_id: string;
56
56
  url: string;
57
57
  device_selection_mode: "none" | "single" | "multiple";
@@ -952,7 +952,7 @@ export declare const connected_account: z.ZodObject<{
952
952
  custom_metadata: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
953
953
  automatically_manage_new_devices: z.ZodBoolean;
954
954
  customer_key: z.ZodOptional<z.ZodString>;
955
- accepted_capabilities: z.ZodArray<z.ZodEnum<["lock", "thermostat", "noise_sensor", "access_control"]>, "many">;
955
+ accepted_capabilities: z.ZodArray<z.ZodEnum<["lock", "thermostat", "noise_sensor", "access_control", "camera"]>, "many">;
956
956
  }, "strip", z.ZodTypeAny, {
957
957
  display_name: string;
958
958
  errors: ({
@@ -1015,7 +1015,7 @@ export declare const connected_account: z.ZodObject<{
1015
1015
  })[];
1016
1016
  custom_metadata: Record<string, string | boolean>;
1017
1017
  automatically_manage_new_devices: boolean;
1018
- accepted_capabilities: ("lock" | "thermostat" | "noise_sensor" | "access_control")[];
1018
+ accepted_capabilities: ("lock" | "thermostat" | "noise_sensor" | "access_control" | "camera")[];
1019
1019
  created_at?: string | undefined;
1020
1020
  user_identifier?: {
1021
1021
  phone?: string | undefined;
@@ -1089,7 +1089,7 @@ export declare const connected_account: z.ZodObject<{
1089
1089
  })[];
1090
1090
  custom_metadata: Record<string, string | boolean>;
1091
1091
  automatically_manage_new_devices: boolean;
1092
- accepted_capabilities: ("lock" | "thermostat" | "noise_sensor" | "access_control")[];
1092
+ accepted_capabilities: ("lock" | "thermostat" | "noise_sensor" | "access_control" | "camera")[];
1093
1093
  created_at?: string | undefined;
1094
1094
  user_identifier?: {
1095
1095
  phone?: string | undefined;
@@ -49,6 +49,7 @@ export declare const DEVICE_PROVIDERS: {
49
49
  readonly KORELOCK: "korelock";
50
50
  readonly DORMAKABA_AMBIANCE: "dormakaba_ambiance";
51
51
  readonly ULTRALOQ: "ultraloq";
52
+ readonly RING: "ring";
52
53
  };
53
54
  export type DeviceProviderName = (typeof DEVICE_PROVIDERS)[keyof typeof DEVICE_PROVIDERS];
54
55
  export declare const ALL_DEVICE_PROVIDERS: [
@@ -63,6 +64,7 @@ export declare const PROVIDER_CATEGORY_MAP: {
63
64
  readonly thermostats: readonly ["ecobee", "nest", "sensi", "honeywell_resideo"];
64
65
  readonly noise_sensors: readonly ["minut", "noiseaware"];
65
66
  readonly access_control_systems: readonly ["visionline", "assa_abloy_credential_service", "latch", "salto_ks", "assa_abloy_vostio", "salto_space", "dormakaba_ambiance", "dormakaba_community", "legic_connect", "hotek"];
67
+ readonly cameras: readonly ["ring"];
66
68
  readonly internal_beta: [DeviceProviderName, ...DeviceProviderName[]];
67
69
  };
68
70
  export declare const PROVIDER_CATEGORIES: [ProviderCategory, ...ProviderCategory[]];
@@ -71,7 +73,7 @@ export declare const device_provider: z.ZodObject<{
71
73
  device_provider_name: z.ZodEnum<[DeviceProviderName, ...DeviceProviderName[]]>;
72
74
  display_name: z.ZodString;
73
75
  image_url: z.ZodString;
74
- provider_categories: z.ZodArray<z.ZodEnum<["stable" | "consumer_smartlocks" | "beta" | "thermostats" | "noise_sensors" | "access_control_systems" | "internal_beta", ...("stable" | "consumer_smartlocks" | "beta" | "thermostats" | "noise_sensors" | "access_control_systems" | "internal_beta")[]]>, "many">;
76
+ provider_categories: z.ZodArray<z.ZodEnum<["stable" | "consumer_smartlocks" | "beta" | "thermostats" | "noise_sensors" | "access_control_systems" | "cameras" | "internal_beta", ...("stable" | "consumer_smartlocks" | "beta" | "thermostats" | "noise_sensors" | "access_control_systems" | "cameras" | "internal_beta")[]]>, "many">;
75
77
  } & {
76
78
  can_remotely_unlock: z.ZodOptional<z.ZodBoolean>;
77
79
  can_remotely_lock: z.ZodOptional<z.ZodBoolean>;
@@ -96,7 +98,7 @@ export declare const device_provider: z.ZodObject<{
96
98
  display_name: string;
97
99
  image_url: string;
98
100
  device_provider_name: DeviceProviderName;
99
- provider_categories: ("stable" | "consumer_smartlocks" | "beta" | "thermostats" | "noise_sensors" | "access_control_systems" | "internal_beta")[];
101
+ provider_categories: ("stable" | "consumer_smartlocks" | "beta" | "thermostats" | "noise_sensors" | "access_control_systems" | "cameras" | "internal_beta")[];
100
102
  can_remotely_unlock?: boolean | undefined;
101
103
  can_remotely_lock?: boolean | undefined;
102
104
  can_program_offline_access_codes?: boolean | undefined;
@@ -120,7 +122,7 @@ export declare const device_provider: z.ZodObject<{
120
122
  display_name: string;
121
123
  image_url: string;
122
124
  device_provider_name: DeviceProviderName;
123
- provider_categories: ("stable" | "consumer_smartlocks" | "beta" | "thermostats" | "noise_sensors" | "access_control_systems" | "internal_beta")[];
125
+ provider_categories: ("stable" | "consumer_smartlocks" | "beta" | "thermostats" | "noise_sensors" | "access_control_systems" | "cameras" | "internal_beta")[];
124
126
  can_remotely_unlock?: boolean | undefined;
125
127
  can_remotely_lock?: boolean | undefined;
126
128
  can_program_offline_access_codes?: boolean | undefined;
@@ -49,6 +49,7 @@ export const DEVICE_PROVIDERS = {
49
49
  KORELOCK: 'korelock',
50
50
  DORMAKABA_AMBIANCE: 'dormakaba_ambiance',
51
51
  ULTRALOQ: 'ultraloq',
52
+ RING: 'ring',
52
53
  };
53
54
  export const ALL_DEVICE_PROVIDERS = Object.values(DEVICE_PROVIDERS);
54
55
  export const PROVIDER_CATEGORY_MAP = {
@@ -115,6 +116,7 @@ export const PROVIDER_CATEGORY_MAP = {
115
116
  'legic_connect',
116
117
  'hotek',
117
118
  ],
119
+ cameras: ['ring'],
118
120
  internal_beta: ALL_DEVICE_PROVIDERS,
119
121
  };
120
122
  export const PROVIDER_CATEGORIES = Object.keys(PROVIDER_CATEGORY_MAP);
@@ -138,6 +140,13 @@ export const PROVIDER_CATEGORY_CAPABILITY_MAP = {
138
140
  thermostats: ['thermostat'],
139
141
  noise_sensors: ['noise_sensor'],
140
142
  access_control_systems: ['access_control'],
141
- internal_beta: ['lock', 'thermostat', 'noise_sensor', 'access_control'],
143
+ cameras: ['camera'],
144
+ internal_beta: [
145
+ 'lock',
146
+ 'thermostat',
147
+ 'noise_sensor',
148
+ 'access_control',
149
+ 'camera',
150
+ ],
142
151
  };
143
152
  //# sourceMappingURL=device-provider.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"device-provider.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/devices/device-provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAA;AAErD,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,KAAK,EAAE,OAAO;IACd,mBAAmB,EAAE,qBAAqB;IAC1C,aAAa,EAAE,eAAe;IAC9B,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,aAAa,EAAE,eAAe;IAC9B,KAAK,EAAE,OAAO;IACd,WAAW,EAAE,aAAa;IAC1B,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,aAAa;IAC1B,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;IACd,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Ac,EAAE,gBAAgB,CAAC;IAChE,mBAAmB,EAAE,CAAC,MAAM,CAAC;IAC7B,IAAI,EAAE,CAAC,MAAM,EAAE,YAAY,EAAE,cAAc,EAAE,gBAAgB,CAAC;IAC9D,WAAW,EAAE,CAAC,YAAY,CAAC;IAC3B,aAAa,EAAE,CAAC,cAAc,CAAC;IAC/B,sBAAsB,EAAE,CAAC,gBAAgB,CAAC;IAC1C,OAAO,EAAE,CAAC,QAAQ,CAAC;IACnB,aAAa,EAAE;QACb,MAAM;QACN,YAAY;QACZ,cAAc;QACd,gBAAgB;QAChB,QAAQ;KACT;CACF,CAAA"}
@@ -1,3 +1,3 @@
1
1
  import { z } from 'zod';
2
- export declare const provider_capability: z.ZodEnum<["lock", "thermostat", "noise_sensor", "access_control"]>;
2
+ export declare const provider_capability: z.ZodEnum<["lock", "thermostat", "noise_sensor", "access_control", "camera"]>;
3
3
  export type ProviderCapability = z.infer<typeof provider_capability>;
@@ -4,6 +4,7 @@ export const provider_capability = z.enum([
4
4
  'thermostat',
5
5
  'noise_sensor',
6
6
  'access_control',
7
+ 'camera',
7
8
  ]).describe(`
8
9
  High-level device capabilities that can be restricted in connect webviews.
9
10
  These represent the main device categories that customers can opt into.
@@ -1 +1 @@
1
- {"version":3,"file":"provider-capability.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/models/provider-capability.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,IAAI,CAAC;IACxC,MAAM;IACN,YAAY;IACZ,cAAc;IACd,gBAAgB;CACjB,CAAC,CAAC,QAAQ,CAAC;;;CAGX,CAAC,CAAA"}
1
+ {"version":3,"file":"provider-capability.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/models/provider-capability.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,IAAI,CAAC;IACxC,MAAM;IACN,YAAY;IACZ,cAAc;IACd,gBAAgB;IAChB,QAAQ;CACT,CAAC,CAAC,QAAQ,CAAC;;;CAGX,CAAC,CAAA"}
@@ -24956,16 +24956,6 @@ declare const _default: {
24956
24956
  delete: {
24957
24957
  description: string;
24958
24958
  operationId: string;
24959
- parameters: {
24960
- in: string;
24961
- name: string;
24962
- required: boolean;
24963
- schema: {
24964
- description: string;
24965
- format: string;
24966
- type: string;
24967
- };
24968
- }[];
24969
24959
  responses: {
24970
24960
  200: {
24971
24961
  content: {
@@ -25026,15 +25016,42 @@ declare const _default: {
25026
25016
  content: {
25027
25017
  'application/json': {
25028
25018
  schema: {
25029
- properties: {
25030
- access_method_id: {
25031
- description: string;
25032
- format: string;
25033
- type: string;
25019
+ oneOf: ({
25020
+ properties: {
25021
+ access_method_id: {
25022
+ description: string;
25023
+ format: string;
25024
+ type: string;
25025
+ };
25026
+ access_grant_id?: never;
25027
+ reservation_key?: never;
25034
25028
  };
25035
- };
25036
- required: string[];
25037
- type: string;
25029
+ required: string[];
25030
+ type: string;
25031
+ } | {
25032
+ properties: {
25033
+ access_grant_id: {
25034
+ description: string;
25035
+ format: string;
25036
+ type: string;
25037
+ };
25038
+ access_method_id?: never;
25039
+ reservation_key?: never;
25040
+ };
25041
+ required: string[];
25042
+ type: string;
25043
+ } | {
25044
+ properties: {
25045
+ reservation_key: {
25046
+ description: string;
25047
+ type: string;
25048
+ };
25049
+ access_method_id?: never;
25050
+ access_grant_id?: never;
25051
+ };
25052
+ required: string[];
25053
+ type: string;
25054
+ })[];
25038
25055
  };
25039
25056
  };
25040
25057
  };
@@ -8502,7 +8502,13 @@ export default {
8502
8502
  description: 'High-level device capabilities that the Connect Webview can accept. When creating a Connect Webview, you can specify the types of devices that it can connect to Seam. If you do not set custom `accepted_capabilities`, Seam uses a default set of `accepted_capabilities` for each provider. For example, if you create a Connect Webview that accepts SmartThing devices, without specifying `accepted_capabilities`, Seam accepts only SmartThings locks. To connect SmartThings thermostats and locks to Seam, create a Connect Webview and include both `thermostat` and `lock` in the `accepted_capabilities`.',
8503
8503
  items: {
8504
8504
  description: '\n High-level device capabilities that can be restricted in connect webviews.\n These represent the main device categories that customers can opt into.\n',
8505
- enum: ['lock', 'thermostat', 'noise_sensor', 'access_control'],
8505
+ enum: [
8506
+ 'lock',
8507
+ 'thermostat',
8508
+ 'noise_sensor',
8509
+ 'access_control',
8510
+ 'camera',
8511
+ ],
8506
8512
  type: 'string',
8507
8513
  },
8508
8514
  type: 'array',
@@ -8643,7 +8649,13 @@ export default {
8643
8649
  description: 'List of capabilities that were accepted during the account connection process.',
8644
8650
  items: {
8645
8651
  description: '\n High-level device capabilities that can be restricted in connect webviews.\n These represent the main device categories that customers can opt into.\n',
8646
- enum: ['lock', 'thermostat', 'noise_sensor', 'access_control'],
8652
+ enum: [
8653
+ 'lock',
8654
+ 'thermostat',
8655
+ 'noise_sensor',
8656
+ 'access_control',
8657
+ 'camera',
8658
+ ],
8647
8659
  type: 'string',
8648
8660
  },
8649
8661
  type: 'array',
@@ -12773,6 +12785,7 @@ export default {
12773
12785
  'korelock',
12774
12786
  'dormakaba_ambiance',
12775
12787
  'ultraloq',
12788
+ 'ring',
12776
12789
  ],
12777
12790
  type: 'string',
12778
12791
  },
@@ -12787,6 +12800,7 @@ export default {
12787
12800
  'thermostats',
12788
12801
  'noise_sensors',
12789
12802
  'access_control_systems',
12803
+ 'cameras',
12790
12804
  ],
12791
12805
  type: 'string',
12792
12806
  },
@@ -32876,18 +32890,6 @@ export default {
32876
32890
  delete: {
32877
32891
  description: 'Deletes an access method.',
32878
32892
  operationId: 'accessMethodsDeleteDelete',
32879
- parameters: [
32880
- {
32881
- in: 'query',
32882
- name: 'access_method_id',
32883
- required: true,
32884
- schema: {
32885
- description: 'ID of access method to get.',
32886
- format: 'uuid',
32887
- type: 'string',
32888
- },
32889
- },
32890
- ],
32891
32893
  responses: {
32892
32894
  200: {
32893
32895
  content: {
@@ -32925,15 +32927,40 @@ export default {
32925
32927
  content: {
32926
32928
  'application/json': {
32927
32929
  schema: {
32928
- properties: {
32929
- access_method_id: {
32930
- description: 'ID of access method to get.',
32931
- format: 'uuid',
32932
- type: 'string',
32930
+ oneOf: [
32931
+ {
32932
+ properties: {
32933
+ access_method_id: {
32934
+ description: 'ID of access method to delete.',
32935
+ format: 'uuid',
32936
+ type: 'string',
32937
+ },
32938
+ },
32939
+ required: ['access_method_id'],
32940
+ type: 'object',
32933
32941
  },
32934
- },
32935
- required: ['access_method_id'],
32936
- type: 'object',
32942
+ {
32943
+ properties: {
32944
+ access_grant_id: {
32945
+ description: 'ID of access grant whose access methods should be deleted.',
32946
+ format: 'uuid',
32947
+ type: 'string',
32948
+ },
32949
+ },
32950
+ required: ['access_grant_id'],
32951
+ type: 'object',
32952
+ },
32953
+ {
32954
+ properties: {
32955
+ reservation_key: {
32956
+ description: 'Reservation key of the access grant whose access methods should be deleted.',
32957
+ type: 'string',
32958
+ },
32959
+ },
32960
+ required: ['reservation_key'],
32961
+ type: 'object',
32962
+ },
32963
+ ],
32937
32964
  },
32938
32965
  },
32939
32966
  },
@@ -42355,6 +42382,7 @@ export default {
42355
42382
  'thermostat',
42356
42383
  'noise_sensor',
42357
42384
  'access_control',
42385
+ 'camera',
42358
42386
  ],
42359
42387
  type: 'string',
42360
42388
  },
@@ -42412,6 +42440,7 @@ export default {
42412
42440
  'korelock',
42413
42441
  'dormakaba_ambiance',
42414
42442
  'ultraloq',
42443
+ 'ring',
42415
42444
  'yale_access',
42416
42445
  'hid_cm',
42417
42446
  'google_nest',
@@ -42467,6 +42496,7 @@ export default {
42467
42496
  'thermostats',
42468
42497
  'noise_sensors',
42469
42498
  'access_control_systems',
42499
+ 'cameras',
42470
42500
  'internal_beta',
42471
42501
  ],
42472
42502
  type: 'string',
@@ -43433,6 +43463,7 @@ export default {
43433
43463
  'thermostat',
43434
43464
  'noise_sensor',
43435
43465
  'access_control',
43466
+ 'camera',
43436
43467
  ],
43437
43468
  type: 'string',
43438
43469
  },
@@ -43520,6 +43551,7 @@ export default {
43520
43551
  'thermostat',
43521
43552
  'noise_sensor',
43522
43553
  'access_control',
43554
+ 'camera',
43523
43555
  ],
43524
43556
  type: 'string',
43525
43557
  },
@@ -46332,6 +46364,7 @@ export default {
46332
46364
  'smartthings',
46333
46365
  'tado',
46334
46366
  'ultraloq',
46367
+ 'ring',
46335
46368
  ],
46336
46369
  type: 'string',
46337
46370
  },
@@ -46817,6 +46850,7 @@ export default {
46817
46850
  'smartthings',
46818
46851
  'tado',
46819
46852
  'ultraloq',
46853
+ 'ring',
46820
46854
  ],
46821
46855
  type: 'string',
46822
46856
  },
@@ -46908,6 +46942,7 @@ export default {
46908
46942
  'thermostats',
46909
46943
  'noise_sensors',
46910
46944
  'access_control_systems',
46945
+ 'cameras',
46911
46946
  ],
46912
46947
  type: 'string',
46913
46948
  },
@@ -46966,6 +47001,7 @@ export default {
46966
47001
  'thermostats',
46967
47002
  'noise_sensors',
46968
47003
  'access_control_systems',
47004
+ 'cameras',
46969
47005
  ],
46970
47006
  type: 'string',
46971
47007
  },
@@ -48169,6 +48205,7 @@ export default {
48169
48205
  'smartthings',
48170
48206
  'tado',
48171
48207
  'ultraloq',
48208
+ 'ring',
48172
48209
  ],
48173
48210
  type: 'string',
48174
48211
  },
@@ -48653,6 +48690,7 @@ export default {
48653
48690
  'smartthings',
48654
48691
  'tado',
48655
48692
  'ultraloq',
48693
+ 'ring',
48656
48694
  ],
48657
48695
  type: 'string',
48658
48696
  },