@seamapi/types 1.442.0 → 1.443.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 (89) hide show
  1. package/dist/connect.cjs +86 -2
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +1914 -1913
  4. package/dist/devicedb.cjs.map +1 -1
  5. package/dist/devicedb.d.cts +27 -27
  6. package/dist/index.cjs +86 -2
  7. package/dist/index.cjs.map +1 -1
  8. package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +387 -389
  9. package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +173 -186
  10. package/lib/seam/connect/models/acs/acs-access-group.d.ts +18 -18
  11. package/lib/seam/connect/models/acs/acs-credential.d.ts +63 -63
  12. package/lib/seam/connect/models/acs/acs-encoder.d.ts +6 -6
  13. package/lib/seam/connect/models/acs/acs-entrance.d.ts +3 -3
  14. package/lib/seam/connect/models/acs/acs-system.d.ts +56 -56
  15. package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +152 -152
  16. package/lib/seam/connect/models/acs/acs-users/pending-mutations.d.ts +45 -45
  17. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +300 -354
  18. package/lib/seam/connect/models/action-attempts/activate-climate-preset.d.ts +12 -15
  19. package/lib/seam/connect/models/action-attempts/common.d.ts +9 -12
  20. package/lib/seam/connect/models/action-attempts/deprecated.d.ts +84 -105
  21. package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +54 -57
  22. package/lib/seam/connect/models/action-attempts/lock-door.d.ts +12 -15
  23. package/lib/seam/connect/models/action-attempts/push-thermostat-programs.d.ts +12 -15
  24. package/lib/seam/connect/models/action-attempts/reset-sandbox-workspace.d.ts +12 -15
  25. package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +54 -57
  26. package/lib/seam/connect/models/action-attempts/set-fan-mode.d.ts +12 -15
  27. package/lib/seam/connect/models/action-attempts/set-hvac-mode.d.ts +12 -15
  28. package/lib/seam/connect/models/action-attempts/simulate-keypad-code-entry.d.ts +12 -15
  29. package/lib/seam/connect/models/action-attempts/simulate-manual-lock-via-keypad.d.ts +12 -15
  30. package/lib/seam/connect/models/action-attempts/unlock-door.d.ts +12 -15
  31. package/lib/seam/connect/models/batches/batch.d.ts +128 -120
  32. package/lib/seam/connect/models/batches/spaces.d.ts +128 -120
  33. package/lib/seam/connect/models/bridges/bridge-client-session.d.ts +24 -24
  34. package/lib/seam/connect/models/client-sessions/client-session.d.ts +2 -2
  35. package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +78 -78
  36. package/lib/seam/connect/models/customer/access-grant-resources.d.ts +30 -30
  37. package/lib/seam/connect/models/customer/customer-data.d.ts +57 -57
  38. package/lib/seam/connect/models/customer/location-resources.d.ts +54 -54
  39. package/lib/seam/connect/models/customer/user-identity-resources.d.ts +30 -30
  40. package/lib/seam/connect/models/devices/capability-properties/index.d.ts +3 -3
  41. package/lib/seam/connect/models/devices/device-provider.d.ts +4 -4
  42. package/lib/seam/connect/models/devices/device.d.ts +368 -376
  43. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +118 -120
  44. package/lib/seam/connect/models/events/access-codes.d.ts +136 -136
  45. package/lib/seam/connect/models/events/access-grants.d.ts +40 -40
  46. package/lib/seam/connect/models/events/access-methods.d.ts +40 -40
  47. package/lib/seam/connect/models/events/acs/access-groups.d.ts +10 -10
  48. package/lib/seam/connect/models/events/acs/common.d.ts +3 -3
  49. package/lib/seam/connect/models/events/acs/credentials.d.ts +40 -40
  50. package/lib/seam/connect/models/events/acs/encoders.d.ts +20 -20
  51. package/lib/seam/connect/models/events/acs/entrances.d.ts +20 -20
  52. package/lib/seam/connect/models/events/acs/index.d.ts +67 -67
  53. package/lib/seam/connect/models/events/acs/systems.d.ts +24 -24
  54. package/lib/seam/connect/models/events/acs/users.d.ts +20 -20
  55. package/lib/seam/connect/models/events/action-attempts.d.ts +32 -32
  56. package/lib/seam/connect/models/events/client-sessions.d.ts +8 -8
  57. package/lib/seam/connect/models/events/connect-webviews.d.ts +16 -16
  58. package/lib/seam/connect/models/events/connected-accounts.d.ts +56 -56
  59. package/lib/seam/connect/models/events/devices.d.ts +266 -266
  60. package/lib/seam/connect/models/events/enrollment-automations.d.ts +8 -8
  61. package/lib/seam/connect/models/events/phones.d.ts +8 -8
  62. package/lib/seam/connect/models/events/seam-event.d.ts +372 -372
  63. package/lib/seam/connect/models/phones/phone-session.d.ts +50 -50
  64. package/lib/seam/connect/models/spaces/space.d.ts +6 -0
  65. package/lib/seam/connect/models/spaces/space.js +2 -0
  66. package/lib/seam/connect/models/spaces/space.js.map +1 -1
  67. package/lib/seam/connect/models/user-identities/user-identity.d.ts +18 -18
  68. package/lib/seam/connect/openapi.d.ts +35 -0
  69. package/lib/seam/connect/openapi.js +82 -0
  70. package/lib/seam/connect/openapi.js.map +1 -1
  71. package/lib/seam/connect/route-types.d.ts +30 -0
  72. package/lib/seam/devicedb/models/device-model.d.ts +15 -15
  73. package/lib/seam/devicedb/route-specs.d.ts +12 -12
  74. package/package.json +8 -7
  75. package/src/lib/seam/connect/models/spaces/space.ts +2 -0
  76. package/src/lib/seam/connect/openapi.ts +92 -0
  77. package/src/lib/seam/connect/route-types.ts +30 -0
  78. package/lib/seam/connect/internal/enums.d.ts +0 -1
  79. package/lib/seam/connect/internal/enums.js +0 -2
  80. package/lib/seam/connect/internal/enums.js.map +0 -1
  81. package/lib/seam/connect/internal/index.d.ts +0 -4
  82. package/lib/seam/connect/internal/index.js +0 -5
  83. package/lib/seam/connect/internal/index.js.map +0 -1
  84. package/lib/seam/connect/internal/model-types.d.ts +0 -2
  85. package/lib/seam/connect/internal/model-types.js +0 -2
  86. package/lib/seam/connect/internal/model-types.js.map +0 -1
  87. package/lib/seam/connect/internal/schemas.d.ts +0 -2
  88. package/lib/seam/connect/internal/schemas.js +0 -3
  89. package/lib/seam/connect/internal/schemas.js.map +0 -1
@@ -16,7 +16,7 @@ declare const phone_provider_session: z.ZodObject<{
16
16
  is_being_activated: boolean;
17
17
  provider_state?: any;
18
18
  }>;
19
- acs_credentials: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<Omit<z.objectUtil.extendShape<{
19
+ acs_credentials: z.ZodArray<z.ZodObject<Omit<{
20
20
  acs_credential_id: z.ZodString;
21
21
  acs_user_id: z.ZodOptional<z.ZodString>;
22
22
  user_identity_id: z.ZodOptional<z.ZodString>;
@@ -47,12 +47,12 @@ declare const phone_provider_session: z.ZodObject<{
47
47
  message: string;
48
48
  error_code: string;
49
49
  }>, "many">;
50
- warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
50
+ warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
51
51
  created_at: z.ZodString;
52
52
  message: z.ZodString;
53
- }, {
53
+ } & {
54
54
  warning_code: z.ZodLiteral<"waiting_to_be_issued">;
55
- }>, "strip", z.ZodTypeAny, {
55
+ }, "strip", z.ZodTypeAny, {
56
56
  message: string;
57
57
  created_at: string;
58
58
  warning_code: "waiting_to_be_issued";
@@ -60,12 +60,12 @@ declare const phone_provider_session: z.ZodObject<{
60
60
  message: string;
61
61
  created_at: string;
62
62
  warning_code: "waiting_to_be_issued";
63
- }>, z.ZodObject<z.objectUtil.extendShape<{
63
+ }>, z.ZodObject<{
64
64
  created_at: z.ZodString;
65
65
  message: z.ZodString;
66
- }, {
66
+ } & {
67
67
  warning_code: z.ZodLiteral<"schedule_externally_modified">;
68
- }>, "strip", z.ZodTypeAny, {
68
+ }, "strip", z.ZodTypeAny, {
69
69
  message: string;
70
70
  created_at: string;
71
71
  warning_code: "schedule_externally_modified";
@@ -73,12 +73,12 @@ declare const phone_provider_session: z.ZodObject<{
73
73
  message: string;
74
74
  created_at: string;
75
75
  warning_code: "schedule_externally_modified";
76
- }>, z.ZodObject<z.objectUtil.extendShape<{
76
+ }>, z.ZodObject<{
77
77
  created_at: z.ZodString;
78
78
  message: z.ZodString;
79
- }, {
79
+ } & {
80
80
  warning_code: z.ZodLiteral<"schedule_modified">;
81
- }>, "strip", z.ZodTypeAny, {
81
+ }, "strip", z.ZodTypeAny, {
82
82
  message: string;
83
83
  created_at: string;
84
84
  warning_code: "schedule_modified";
@@ -86,12 +86,12 @@ declare const phone_provider_session: z.ZodObject<{
86
86
  message: string;
87
87
  created_at: string;
88
88
  warning_code: "schedule_modified";
89
- }>, z.ZodObject<z.objectUtil.extendShape<{
89
+ }>, z.ZodObject<{
90
90
  created_at: z.ZodString;
91
91
  message: z.ZodString;
92
- }, {
92
+ } & {
93
93
  warning_code: z.ZodLiteral<"being_deleted">;
94
- }>, "strip", z.ZodTypeAny, {
94
+ }, "strip", z.ZodTypeAny, {
95
95
  message: string;
96
96
  created_at: string;
97
97
  warning_code: "being_deleted";
@@ -99,12 +99,12 @@ declare const phone_provider_session: z.ZodObject<{
99
99
  message: string;
100
100
  created_at: string;
101
101
  warning_code: "being_deleted";
102
- }>, z.ZodObject<z.objectUtil.extendShape<{
102
+ }>, z.ZodObject<{
103
103
  created_at: z.ZodString;
104
104
  message: z.ZodString;
105
- }, {
105
+ } & {
106
106
  warning_code: z.ZodLiteral<"unknown_issue_with_acs_credential">;
107
- }>, "strip", z.ZodTypeAny, {
107
+ }, "strip", z.ZodTypeAny, {
108
108
  message: string;
109
109
  created_at: string;
110
110
  warning_code: "unknown_issue_with_acs_credential";
@@ -112,12 +112,12 @@ declare const phone_provider_session: z.ZodObject<{
112
112
  message: string;
113
113
  created_at: string;
114
114
  warning_code: "unknown_issue_with_acs_credential";
115
- }>, z.ZodObject<z.objectUtil.extendShape<{
115
+ }>, z.ZodObject<{
116
116
  created_at: z.ZodString;
117
117
  message: z.ZodString;
118
- }, {
118
+ } & {
119
119
  warning_code: z.ZodLiteral<"needs_to_be_reissued">;
120
- }>, "strip", z.ZodTypeAny, {
120
+ }, "strip", z.ZodTypeAny, {
121
121
  message: string;
122
122
  created_at: string;
123
123
  warning_code: "needs_to_be_reissued";
@@ -179,11 +179,11 @@ declare const phone_provider_session: z.ZodObject<{
179
179
  key_issuing_request_id?: string | undefined;
180
180
  door_names?: string[] | undefined;
181
181
  }>>;
182
- }, {
182
+ } & {
183
183
  is_managed: z.ZodLiteral<true>;
184
- }>, "acs_credential_id">, {
184
+ }, "acs_credential_id"> & {
185
185
  acs_credential_id: z.ZodNullable<z.ZodString>;
186
- acs_entrances: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
186
+ acs_entrances: z.ZodArray<z.ZodObject<{
187
187
  acs_system_id: z.ZodString;
188
188
  acs_entrance_id: z.ZodString;
189
189
  created_at: z.ZodString;
@@ -310,11 +310,11 @@ declare const phone_provider_session: z.ZodObject<{
310
310
  ext_door_id: string;
311
311
  door_description?: string | undefined;
312
312
  }>>;
313
- }, {
313
+ } & {
314
314
  can_unlock_with_mobile_key: z.ZodOptional<z.ZodBoolean>;
315
315
  can_unlock_with_card: z.ZodOptional<z.ZodBoolean>;
316
316
  can_unlock_with_code: z.ZodOptional<z.ZodBoolean>;
317
- }>, "strip", z.ZodTypeAny, {
317
+ }, "strip", z.ZodTypeAny, {
318
318
  display_name: string;
319
319
  created_at: string;
320
320
  errors: {
@@ -419,7 +419,7 @@ declare const phone_provider_session: z.ZodObject<{
419
419
  door_description?: string | undefined;
420
420
  } | undefined;
421
421
  }>, "many">;
422
- }>, "strip", z.ZodTypeAny, {
422
+ }, "strip", z.ZodTypeAny, {
423
423
  display_name: string;
424
424
  workspace_id: string;
425
425
  created_at: string;
@@ -955,7 +955,7 @@ export declare const phone_session: z.ZodObject<{
955
955
  is_being_activated: boolean;
956
956
  provider_state?: any;
957
957
  }>;
958
- acs_credentials: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<Omit<z.objectUtil.extendShape<{
958
+ acs_credentials: z.ZodArray<z.ZodObject<Omit<{
959
959
  acs_credential_id: z.ZodString;
960
960
  acs_user_id: z.ZodOptional<z.ZodString>;
961
961
  user_identity_id: z.ZodOptional<z.ZodString>;
@@ -986,12 +986,12 @@ export declare const phone_session: z.ZodObject<{
986
986
  message: string;
987
987
  error_code: string;
988
988
  }>, "many">;
989
- warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
989
+ warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
990
990
  created_at: z.ZodString;
991
991
  message: z.ZodString;
992
- }, {
992
+ } & {
993
993
  warning_code: z.ZodLiteral<"waiting_to_be_issued">;
994
- }>, "strip", z.ZodTypeAny, {
994
+ }, "strip", z.ZodTypeAny, {
995
995
  message: string;
996
996
  created_at: string;
997
997
  warning_code: "waiting_to_be_issued";
@@ -999,12 +999,12 @@ export declare const phone_session: z.ZodObject<{
999
999
  message: string;
1000
1000
  created_at: string;
1001
1001
  warning_code: "waiting_to_be_issued";
1002
- }>, z.ZodObject<z.objectUtil.extendShape<{
1002
+ }>, z.ZodObject<{
1003
1003
  created_at: z.ZodString;
1004
1004
  message: z.ZodString;
1005
- }, {
1005
+ } & {
1006
1006
  warning_code: z.ZodLiteral<"schedule_externally_modified">;
1007
- }>, "strip", z.ZodTypeAny, {
1007
+ }, "strip", z.ZodTypeAny, {
1008
1008
  message: string;
1009
1009
  created_at: string;
1010
1010
  warning_code: "schedule_externally_modified";
@@ -1012,12 +1012,12 @@ export declare const phone_session: z.ZodObject<{
1012
1012
  message: string;
1013
1013
  created_at: string;
1014
1014
  warning_code: "schedule_externally_modified";
1015
- }>, z.ZodObject<z.objectUtil.extendShape<{
1015
+ }>, z.ZodObject<{
1016
1016
  created_at: z.ZodString;
1017
1017
  message: z.ZodString;
1018
- }, {
1018
+ } & {
1019
1019
  warning_code: z.ZodLiteral<"schedule_modified">;
1020
- }>, "strip", z.ZodTypeAny, {
1020
+ }, "strip", z.ZodTypeAny, {
1021
1021
  message: string;
1022
1022
  created_at: string;
1023
1023
  warning_code: "schedule_modified";
@@ -1025,12 +1025,12 @@ export declare const phone_session: z.ZodObject<{
1025
1025
  message: string;
1026
1026
  created_at: string;
1027
1027
  warning_code: "schedule_modified";
1028
- }>, z.ZodObject<z.objectUtil.extendShape<{
1028
+ }>, z.ZodObject<{
1029
1029
  created_at: z.ZodString;
1030
1030
  message: z.ZodString;
1031
- }, {
1031
+ } & {
1032
1032
  warning_code: z.ZodLiteral<"being_deleted">;
1033
- }>, "strip", z.ZodTypeAny, {
1033
+ }, "strip", z.ZodTypeAny, {
1034
1034
  message: string;
1035
1035
  created_at: string;
1036
1036
  warning_code: "being_deleted";
@@ -1038,12 +1038,12 @@ export declare const phone_session: z.ZodObject<{
1038
1038
  message: string;
1039
1039
  created_at: string;
1040
1040
  warning_code: "being_deleted";
1041
- }>, z.ZodObject<z.objectUtil.extendShape<{
1041
+ }>, z.ZodObject<{
1042
1042
  created_at: z.ZodString;
1043
1043
  message: z.ZodString;
1044
- }, {
1044
+ } & {
1045
1045
  warning_code: z.ZodLiteral<"unknown_issue_with_acs_credential">;
1046
- }>, "strip", z.ZodTypeAny, {
1046
+ }, "strip", z.ZodTypeAny, {
1047
1047
  message: string;
1048
1048
  created_at: string;
1049
1049
  warning_code: "unknown_issue_with_acs_credential";
@@ -1051,12 +1051,12 @@ export declare const phone_session: z.ZodObject<{
1051
1051
  message: string;
1052
1052
  created_at: string;
1053
1053
  warning_code: "unknown_issue_with_acs_credential";
1054
- }>, z.ZodObject<z.objectUtil.extendShape<{
1054
+ }>, z.ZodObject<{
1055
1055
  created_at: z.ZodString;
1056
1056
  message: z.ZodString;
1057
- }, {
1057
+ } & {
1058
1058
  warning_code: z.ZodLiteral<"needs_to_be_reissued">;
1059
- }>, "strip", z.ZodTypeAny, {
1059
+ }, "strip", z.ZodTypeAny, {
1060
1060
  message: string;
1061
1061
  created_at: string;
1062
1062
  warning_code: "needs_to_be_reissued";
@@ -1118,11 +1118,11 @@ export declare const phone_session: z.ZodObject<{
1118
1118
  key_issuing_request_id?: string | undefined;
1119
1119
  door_names?: string[] | undefined;
1120
1120
  }>>;
1121
- }, {
1121
+ } & {
1122
1122
  is_managed: z.ZodLiteral<true>;
1123
- }>, "acs_credential_id">, {
1123
+ }, "acs_credential_id"> & {
1124
1124
  acs_credential_id: z.ZodNullable<z.ZodString>;
1125
- acs_entrances: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1125
+ acs_entrances: z.ZodArray<z.ZodObject<{
1126
1126
  acs_system_id: z.ZodString;
1127
1127
  acs_entrance_id: z.ZodString;
1128
1128
  created_at: z.ZodString;
@@ -1249,11 +1249,11 @@ export declare const phone_session: z.ZodObject<{
1249
1249
  ext_door_id: string;
1250
1250
  door_description?: string | undefined;
1251
1251
  }>>;
1252
- }, {
1252
+ } & {
1253
1253
  can_unlock_with_mobile_key: z.ZodOptional<z.ZodBoolean>;
1254
1254
  can_unlock_with_card: z.ZodOptional<z.ZodBoolean>;
1255
1255
  can_unlock_with_code: z.ZodOptional<z.ZodBoolean>;
1256
- }>, "strip", z.ZodTypeAny, {
1256
+ }, "strip", z.ZodTypeAny, {
1257
1257
  display_name: string;
1258
1258
  created_at: string;
1259
1259
  errors: {
@@ -1358,7 +1358,7 @@ export declare const phone_session: z.ZodObject<{
1358
1358
  door_description?: string | undefined;
1359
1359
  } | undefined;
1360
1360
  }>, "many">;
1361
- }>, "strip", z.ZodTypeAny, {
1361
+ }, "strip", z.ZodTypeAny, {
1362
1362
  display_name: string;
1363
1363
  workspace_id: string;
1364
1364
  created_at: string;
@@ -5,17 +5,23 @@ export declare const space: z.ZodObject<{
5
5
  name: z.ZodString;
6
6
  display_name: z.ZodString;
7
7
  created_at: z.ZodString;
8
+ device_count: z.ZodNumber;
9
+ acs_entrance_count: z.ZodNumber;
8
10
  }, "strip", z.ZodTypeAny, {
9
11
  name: string;
10
12
  display_name: string;
11
13
  workspace_id: string;
12
14
  created_at: string;
13
15
  space_id: string;
16
+ device_count: number;
17
+ acs_entrance_count: number;
14
18
  }, {
15
19
  name: string;
16
20
  display_name: string;
17
21
  workspace_id: string;
18
22
  created_at: string;
19
23
  space_id: string;
24
+ device_count: number;
25
+ acs_entrance_count: number;
20
26
  }>;
21
27
  export type Space = z.infer<typeof space>;
@@ -11,6 +11,8 @@ export const space = z.object({
11
11
  .string()
12
12
  .datetime()
13
13
  .describe('Date and time at which the space was created.'),
14
+ device_count: z.number().describe('Number of devices in the space.'),
15
+ acs_entrance_count: z.number().describe('Number of entrances in the space.'),
14
16
  }).describe(`
15
17
  ---
16
18
  draft: Early access.
@@ -1 +1 @@
1
- {"version":3,"file":"space.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/spaces/space.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5B,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,kBAAkB,CAAC;IACxD,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CACP,wGAAwG,CACzG;IACH,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,oBAAoB,CAAC;IAC/C,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,6BAA6B,CAAC;IAChE,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,+CAA+C,CAAC;CAC7D,CAAC,CAAC,QAAQ,CAAC;;;;;;GAMT,CAAC,CAAA"}
1
+ {"version":3,"file":"space.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/spaces/space.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5B,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,kBAAkB,CAAC;IACxD,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CACP,wGAAwG,CACzG;IACH,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,oBAAoB,CAAC;IAC/C,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,6BAA6B,CAAC;IAChE,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,+CAA+C,CAAC;IAC5D,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,iCAAiC,CAAC;IACpE,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,mCAAmC,CAAC;CAC7E,CAAC,CAAC,QAAQ,CAAC;;;;;;GAMT,CAAC,CAAA"}
@@ -1,13 +1,13 @@
1
1
  import { z } from 'zod';
2
2
  export declare const user_identity_error_map: z.ZodObject<{
3
- issue_with_acs_user: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<z.objectUtil.extendShape<{
3
+ issue_with_acs_user: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
4
4
  created_at: z.ZodString;
5
5
  message: z.ZodString;
6
- }, {
6
+ } & {
7
7
  error_code: z.ZodLiteral<"issue_with_acs_user">;
8
8
  acs_user_id: z.ZodString;
9
9
  acs_system_id: z.ZodString;
10
- }>, "strip", z.ZodTypeAny, {
10
+ }, "strip", z.ZodTypeAny, {
11
11
  message: string;
12
12
  created_at: string;
13
13
  error_code: "issue_with_acs_user";
@@ -39,12 +39,12 @@ export declare const user_identity_error_map: z.ZodObject<{
39
39
  }>;
40
40
  export type UserIdentityErrorMap = z.infer<typeof user_identity_error_map>;
41
41
  export declare const user_identity_warning_map: z.ZodObject<{
42
- user_identity_being_deleted: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
42
+ user_identity_being_deleted: z.ZodNullable<z.ZodOptional<z.ZodObject<{
43
43
  created_at: z.ZodString;
44
44
  message: z.ZodString;
45
- }, {
45
+ } & {
46
46
  warning_code: z.ZodLiteral<"being_deleted">;
47
- }>, "strip", z.ZodTypeAny, {
47
+ }, "strip", z.ZodTypeAny, {
48
48
  message: string;
49
49
  created_at: string;
50
50
  warning_code: "being_deleted";
@@ -53,12 +53,12 @@ export declare const user_identity_warning_map: z.ZodObject<{
53
53
  created_at: string;
54
54
  warning_code: "being_deleted";
55
55
  }>>>;
56
- acs_user_profile_does_not_match_user_identity: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
56
+ acs_user_profile_does_not_match_user_identity: z.ZodNullable<z.ZodOptional<z.ZodObject<{
57
57
  created_at: z.ZodString;
58
58
  message: z.ZodString;
59
- }, {
59
+ } & {
60
60
  warning_code: z.ZodLiteral<"acs_user_profile_does_not_match_user_identity">;
61
- }>, "strip", z.ZodTypeAny, {
61
+ }, "strip", z.ZodTypeAny, {
62
62
  message: string;
63
63
  created_at: string;
64
64
  warning_code: "acs_user_profile_does_not_match_user_identity";
@@ -100,14 +100,14 @@ export declare const user_identity: z.ZodObject<{
100
100
  full_name: z.ZodNullable<z.ZodString>;
101
101
  created_at: z.ZodString;
102
102
  workspace_id: z.ZodString;
103
- errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<z.objectUtil.extendShape<{
103
+ errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<{
104
104
  created_at: z.ZodString;
105
105
  message: z.ZodString;
106
- }, {
106
+ } & {
107
107
  error_code: z.ZodLiteral<"issue_with_acs_user">;
108
108
  acs_user_id: z.ZodString;
109
109
  acs_system_id: z.ZodString;
110
- }>, "strip", z.ZodTypeAny, {
110
+ }, "strip", z.ZodTypeAny, {
111
111
  message: string;
112
112
  created_at: string;
113
113
  error_code: "issue_with_acs_user";
@@ -120,12 +120,12 @@ export declare const user_identity: z.ZodObject<{
120
120
  acs_system_id: string;
121
121
  acs_user_id: string;
122
122
  }>]>, "many">;
123
- warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
123
+ warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
124
124
  created_at: z.ZodString;
125
125
  message: z.ZodString;
126
- }, {
126
+ } & {
127
127
  warning_code: z.ZodLiteral<"being_deleted">;
128
- }>, "strip", z.ZodTypeAny, {
128
+ }, "strip", z.ZodTypeAny, {
129
129
  message: string;
130
130
  created_at: string;
131
131
  warning_code: "being_deleted";
@@ -133,12 +133,12 @@ export declare const user_identity: z.ZodObject<{
133
133
  message: string;
134
134
  created_at: string;
135
135
  warning_code: "being_deleted";
136
- }>, z.ZodObject<z.objectUtil.extendShape<{
136
+ }>, z.ZodObject<{
137
137
  created_at: z.ZodString;
138
138
  message: z.ZodString;
139
- }, {
139
+ } & {
140
140
  warning_code: z.ZodLiteral<"acs_user_profile_does_not_match_user_identity">;
141
- }>, "strip", z.ZodTypeAny, {
141
+ }, "strip", z.ZodTypeAny, {
142
142
  message: string;
143
143
  created_at: string;
144
144
  warning_code: "acs_user_profile_does_not_match_user_identity";
@@ -11045,11 +11045,21 @@ declare const _default: {
11045
11045
  space: {
11046
11046
  description: string;
11047
11047
  properties: {
11048
+ acs_entrance_count: {
11049
+ description: string;
11050
+ format: string;
11051
+ type: string;
11052
+ };
11048
11053
  created_at: {
11049
11054
  description: string;
11050
11055
  format: string;
11051
11056
  type: string;
11052
11057
  };
11058
+ device_count: {
11059
+ description: string;
11060
+ format: string;
11061
+ type: string;
11062
+ };
11053
11063
  display_name: {
11054
11064
  description: string;
11055
11065
  type: string;
@@ -29479,6 +29489,11 @@ declare const _default: {
29479
29489
  'application/json': {
29480
29490
  schema: {
29481
29491
  properties: {
29492
+ access_method_id: {
29493
+ description: string;
29494
+ format: string;
29495
+ type: string;
29496
+ };
29482
29497
  connect_webview_id: {
29483
29498
  description: string;
29484
29499
  format: string;
@@ -30685,6 +30700,11 @@ declare const _default: {
30685
30700
  'application/json': {
30686
30701
  schema: {
30687
30702
  properties: {
30703
+ access_method_id: {
30704
+ description: string;
30705
+ format: string;
30706
+ type: string;
30707
+ };
30688
30708
  connect_webview_id: {
30689
30709
  description: string;
30690
30710
  format: string;
@@ -32273,6 +32293,11 @@ declare const _default: {
32273
32293
  'application/json': {
32274
32294
  schema: {
32275
32295
  properties: {
32296
+ access_method_id: {
32297
+ description: string;
32298
+ format: string;
32299
+ type: string;
32300
+ };
32276
32301
  connect_webview_id: {
32277
32302
  description: string;
32278
32303
  format: string;
@@ -33425,6 +33450,11 @@ declare const _default: {
33425
33450
  'application/json': {
33426
33451
  schema: {
33427
33452
  properties: {
33453
+ access_method_id: {
33454
+ description: string;
33455
+ format: string;
33456
+ type: string;
33457
+ };
33428
33458
  connect_webview_id: {
33429
33459
  description: string;
33430
33460
  format: string;
@@ -40203,6 +40233,11 @@ declare const _default: {
40203
40233
  'application/json': {
40204
40234
  schema: {
40205
40235
  properties: {
40236
+ access_method_id: {
40237
+ description: string;
40238
+ format: string;
40239
+ type: string;
40240
+ };
40206
40241
  connect_webview_id: {
40207
40242
  description: string;
40208
40243
  format: string;
@@ -18013,11 +18013,21 @@ export default {
18013
18013
  space: {
18014
18014
  description: 'Represents a space that is a logical grouping of devices and entrances. You can assign access to an entire space, thereby making granting access more efficient.',
18015
18015
  properties: {
18016
+ acs_entrance_count: {
18017
+ description: 'Number of entrances in the space.',
18018
+ format: 'float',
18019
+ type: 'number',
18020
+ },
18016
18021
  created_at: {
18017
18022
  description: 'Date and time at which the space was created.',
18018
18023
  format: 'date-time',
18019
18024
  type: 'string',
18020
18025
  },
18026
+ device_count: {
18027
+ description: 'Number of devices in the space.',
18028
+ format: 'float',
18029
+ type: 'number',
18030
+ },
18021
18031
  display_name: {
18022
18032
  description: 'Display name for the space.',
18023
18033
  type: 'string',
@@ -18040,6 +18050,8 @@ export default {
18040
18050
  'name',
18041
18051
  'display_name',
18042
18052
  'created_at',
18053
+ 'device_count',
18054
+ 'acs_entrance_count',
18043
18055
  ],
18044
18056
  type: 'object',
18045
18057
  'x-draft': 'Early access.',
@@ -35489,6 +35501,15 @@ export default {
35489
35501
  type: 'string',
35490
35502
  },
35491
35503
  },
35504
+ {
35505
+ in: 'query',
35506
+ name: 'access_method_id',
35507
+ schema: {
35508
+ description: 'ID of the access method for which you want to retrieve all devices.',
35509
+ format: 'uuid',
35510
+ type: 'string',
35511
+ },
35512
+ },
35492
35513
  ],
35493
35514
  responses: {
35494
35515
  200: {
@@ -35536,6 +35557,11 @@ export default {
35536
35557
  'application/json': {
35537
35558
  schema: {
35538
35559
  properties: {
35560
+ access_method_id: {
35561
+ description: 'ID of the access method for which you want to retrieve all devices.',
35562
+ format: 'uuid',
35563
+ type: 'string',
35564
+ },
35539
35565
  connect_webview_id: {
35540
35566
  description: 'ID of the Connect Webview for which you want to list devices.',
35541
35567
  format: 'uuid',
@@ -36701,6 +36727,15 @@ export default {
36701
36727
  type: 'string',
36702
36728
  },
36703
36729
  },
36730
+ {
36731
+ in: 'query',
36732
+ name: 'access_method_id',
36733
+ schema: {
36734
+ description: 'ID of the access method for which you want to retrieve all devices.',
36735
+ format: 'uuid',
36736
+ type: 'string',
36737
+ },
36738
+ },
36704
36739
  ],
36705
36740
  responses: {
36706
36741
  200: {
@@ -36745,6 +36780,11 @@ export default {
36745
36780
  'application/json': {
36746
36781
  schema: {
36747
36782
  properties: {
36783
+ access_method_id: {
36784
+ description: 'ID of the access method for which you want to retrieve all devices.',
36785
+ format: 'uuid',
36786
+ type: 'string',
36787
+ },
36748
36788
  connect_webview_id: {
36749
36789
  description: 'ID of the Connect Webview for which you want to list devices.',
36750
36790
  format: 'uuid',
@@ -38579,6 +38619,15 @@ export default {
38579
38619
  type: 'string',
38580
38620
  },
38581
38621
  },
38622
+ {
38623
+ in: 'query',
38624
+ name: 'access_method_id',
38625
+ schema: {
38626
+ description: 'ID of the access method for which you want to retrieve all devices.',
38627
+ format: 'uuid',
38628
+ type: 'string',
38629
+ },
38630
+ },
38582
38631
  ],
38583
38632
  responses: {
38584
38633
  200: {
@@ -38628,6 +38677,11 @@ export default {
38628
38677
  'application/json': {
38629
38678
  schema: {
38630
38679
  properties: {
38680
+ access_method_id: {
38681
+ description: 'ID of the access method for which you want to retrieve all devices.',
38682
+ format: 'uuid',
38683
+ type: 'string',
38684
+ },
38631
38685
  connect_webview_id: {
38632
38686
  description: 'ID of the Connect Webview for which you want to list devices.',
38633
38687
  format: 'uuid',
@@ -39576,6 +39630,15 @@ export default {
39576
39630
  type: 'string',
39577
39631
  },
39578
39632
  },
39633
+ {
39634
+ in: 'query',
39635
+ name: 'access_method_id',
39636
+ schema: {
39637
+ description: 'ID of the access method for which you want to retrieve all devices.',
39638
+ format: 'uuid',
39639
+ type: 'string',
39640
+ },
39641
+ },
39579
39642
  ],
39580
39643
  responses: {
39581
39644
  200: {
@@ -39625,6 +39688,11 @@ export default {
39625
39688
  'application/json': {
39626
39689
  schema: {
39627
39690
  properties: {
39691
+ access_method_id: {
39692
+ description: 'ID of the access method for which you want to retrieve all devices.',
39693
+ format: 'uuid',
39694
+ type: 'string',
39695
+ },
39628
39696
  connect_webview_id: {
39629
39697
  description: 'ID of the Connect Webview for which you want to list devices.',
39630
39698
  format: 'uuid',
@@ -45158,6 +45226,15 @@ export default {
45158
45226
  type: 'string',
45159
45227
  },
45160
45228
  },
45229
+ {
45230
+ in: 'query',
45231
+ name: 'access_method_id',
45232
+ schema: {
45233
+ description: 'ID of the access method for which you want to retrieve all devices.',
45234
+ format: 'uuid',
45235
+ type: 'string',
45236
+ },
45237
+ },
45161
45238
  ],
45162
45239
  responses: {
45163
45240
  200: {
@@ -45207,6 +45284,11 @@ export default {
45207
45284
  'application/json': {
45208
45285
  schema: {
45209
45286
  properties: {
45287
+ access_method_id: {
45288
+ description: 'ID of the access method for which you want to retrieve all devices.',
45289
+ format: 'uuid',
45290
+ type: 'string',
45291
+ },
45210
45292
  connect_webview_id: {
45211
45293
  description: 'ID of the Connect Webview for which you want to list devices.',
45212
45294
  format: 'uuid',