@seamapi/types 1.81.0 → 1.83.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 (35) hide show
  1. package/dist/connect.cjs +84 -23
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +183 -37
  4. package/lib/seam/connect/openapi.d.ts +133 -26
  5. package/lib/seam/connect/openapi.js +82 -18
  6. package/lib/seam/connect/openapi.js.map +1 -1
  7. package/lib/seam/connect/route-types.d.ts +46 -7
  8. package/lib/seam/connect/stable/models/connect-webview.d.ts +3 -3
  9. package/lib/seam/connect/stable/models/custom-metadata.d.ts +1 -1
  10. package/lib/seam/connect/stable/models/custom-metadata.js +1 -1
  11. package/lib/seam/connect/stable/models/custom-metadata.js.map +1 -1
  12. package/lib/seam/connect/unstable/models/acs/user.d.ts +9 -0
  13. package/lib/seam/connect/unstable/models/acs/user.js +4 -9
  14. package/lib/seam/connect/unstable/models/acs/user.js.map +1 -1
  15. package/lib/seam/connect/unstable/models/index.d.ts +1 -0
  16. package/lib/seam/connect/unstable/models/index.js +1 -0
  17. package/lib/seam/connect/unstable/models/index.js.map +1 -1
  18. package/lib/seam/connect/unstable/models/phone-number.d.ts +2 -0
  19. package/lib/seam/connect/unstable/models/phone-number.js +11 -0
  20. package/lib/seam/connect/unstable/models/phone-number.js.map +1 -0
  21. package/lib/seam/connect/unstable/models/user-identity.d.ts +3 -0
  22. package/lib/seam/connect/unstable/models/user-identity.js +2 -0
  23. package/lib/seam/connect/unstable/models/user-identity.js.map +1 -1
  24. package/lib/seam/connect/unstable/schemas.d.ts +1 -1
  25. package/lib/seam/connect/unstable/schemas.js +1 -1
  26. package/lib/seam/connect/unstable/schemas.js.map +1 -1
  27. package/package.json +1 -1
  28. package/src/lib/seam/connect/openapi.ts +82 -18
  29. package/src/lib/seam/connect/route-types.ts +46 -15
  30. package/src/lib/seam/connect/stable/models/custom-metadata.ts +1 -4
  31. package/src/lib/seam/connect/unstable/models/acs/user.ts +4 -13
  32. package/src/lib/seam/connect/unstable/models/index.ts +1 -0
  33. package/src/lib/seam/connect/unstable/models/phone-number.ts +14 -0
  34. package/src/lib/seam/connect/unstable/models/user-identity.ts +3 -0
  35. package/src/lib/seam/connect/unstable/schemas.ts +1 -0
@@ -712,6 +712,9 @@ export interface Routes {
712
712
  starts_at: string;
713
713
  ends_at: string;
714
714
  } | undefined;
715
+ user_identity_id?: string | undefined;
716
+ user_identity_email_address?: string | undefined;
717
+ user_identity_phone_number?: string | undefined;
715
718
  full_name?: string | undefined;
716
719
  /** Deprecated: use email_address. */
717
720
  email?: string | undefined;
@@ -1114,6 +1117,9 @@ export interface Routes {
1114
1117
  starts_at: string;
1115
1118
  ends_at: string;
1116
1119
  } | undefined;
1120
+ user_identity_id?: string | undefined;
1121
+ user_identity_email_address?: string | undefined;
1122
+ user_identity_phone_number?: string | undefined;
1117
1123
  full_name?: string | undefined;
1118
1124
  /** Deprecated: use email_address. */
1119
1125
  email?: string | undefined;
@@ -1157,6 +1163,9 @@ export interface Routes {
1157
1163
  starts_at: string;
1158
1164
  ends_at: string;
1159
1165
  } | undefined;
1166
+ user_identity_id?: string | undefined;
1167
+ user_identity_email_address?: string | undefined;
1168
+ user_identity_phone_number?: string | undefined;
1160
1169
  full_name?: string | undefined;
1161
1170
  /** Deprecated: use email_address. */
1162
1171
  email?: string | undefined;
@@ -1172,6 +1181,8 @@ export interface Routes {
1172
1181
  jsonBody: {};
1173
1182
  commonParams: {
1174
1183
  user_identity_id?: string | undefined;
1184
+ user_identity_phone_number?: string | undefined;
1185
+ user_identity_email_address?: string | undefined;
1175
1186
  acs_system_id?: string | undefined;
1176
1187
  };
1177
1188
  formData: {};
@@ -1190,6 +1201,9 @@ export interface Routes {
1190
1201
  starts_at: string;
1191
1202
  ends_at: string;
1192
1203
  } | undefined;
1204
+ user_identity_id?: string | undefined;
1205
+ user_identity_email_address?: string | undefined;
1206
+ user_identity_phone_number?: string | undefined;
1193
1207
  full_name?: string | undefined;
1194
1208
  /** Deprecated: use email_address. */
1195
1209
  email?: string | undefined;
@@ -1198,6 +1212,24 @@ export interface Routes {
1198
1212
  }>;
1199
1213
  };
1200
1214
  };
1215
+ '/acs/users/list_accessible_entrances': {
1216
+ route: '/acs/users/list_accessible_entrances';
1217
+ method: 'GET' | 'POST';
1218
+ queryParams: {};
1219
+ jsonBody: {};
1220
+ commonParams: {
1221
+ acs_user_id: string;
1222
+ };
1223
+ formData: {};
1224
+ jsonResponse: {
1225
+ acs_entrances: Array<{
1226
+ acs_entrance_id: string;
1227
+ display_name: string;
1228
+ acs_system_id: string;
1229
+ created_at: string;
1230
+ }>;
1231
+ };
1232
+ };
1201
1233
  '/acs/users/remove_from_access_group': {
1202
1234
  route: '/acs/users/remove_from_access_group';
1203
1235
  method: 'DELETE' | 'POST';
@@ -1475,7 +1507,7 @@ export interface Routes {
1475
1507
  custom_redirect_failure_url?: string | undefined;
1476
1508
  accepted_providers?: Array<'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'seam_relay_admin' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'seam_passport' | 'visionline' | 'assa_abloy_credential_service' | 'seam_bridge' | 'yale_access' | 'hid_cm'> | undefined;
1477
1509
  provider_category?: ('stable' | 'consumer_smartlocks' | 'internal_beta') | undefined;
1478
- custom_metadata?: Record<string, string | number | null | boolean> | undefined;
1510
+ custom_metadata?: Record<string, string | boolean> | undefined;
1479
1511
  automatically_manage_new_devices?: boolean | undefined;
1480
1512
  wait_for_device_creation?: boolean | undefined;
1481
1513
  };
@@ -1497,7 +1529,7 @@ export interface Routes {
1497
1529
  status: 'pending' | 'failed' | 'authorized';
1498
1530
  custom_redirect_url: string | null;
1499
1531
  custom_redirect_failure_url: string | null;
1500
- custom_metadata: Record<string, string | number | null | boolean>;
1532
+ custom_metadata: Record<string, string | boolean>;
1501
1533
  automatically_manage_new_devices: boolean;
1502
1534
  wait_for_device_creation: boolean;
1503
1535
  authorized_at: string | null;
@@ -1541,7 +1573,7 @@ export interface Routes {
1541
1573
  status: 'pending' | 'failed' | 'authorized';
1542
1574
  custom_redirect_url: string | null;
1543
1575
  custom_redirect_failure_url: string | null;
1544
- custom_metadata: Record<string, string | number | null | boolean>;
1576
+ custom_metadata: Record<string, string | boolean>;
1545
1577
  automatically_manage_new_devices: boolean;
1546
1578
  wait_for_device_creation: boolean;
1547
1579
  authorized_at: string | null;
@@ -1574,7 +1606,7 @@ export interface Routes {
1574
1606
  status: 'pending' | 'failed' | 'authorized';
1575
1607
  custom_redirect_url: string | null;
1576
1608
  custom_redirect_failure_url: string | null;
1577
- custom_metadata: Record<string, string | number | null | boolean>;
1609
+ custom_metadata: Record<string, string | boolean>;
1578
1610
  automatically_manage_new_devices: boolean;
1579
1611
  wait_for_device_creation: boolean;
1580
1612
  authorized_at: string | null;
@@ -1632,7 +1664,7 @@ export interface Routes {
1632
1664
  account_type_display_name: string;
1633
1665
  errors?: any;
1634
1666
  warnings?: any;
1635
- custom_metadata?: Record<string, string | number | boolean | null> | undefined;
1667
+ custom_metadata?: Record<string, string | boolean> | undefined;
1636
1668
  automatically_manage_new_devices: boolean;
1637
1669
  };
1638
1670
  };
@@ -1659,7 +1691,7 @@ export interface Routes {
1659
1691
  account_type_display_name: string;
1660
1692
  errors?: any;
1661
1693
  warnings?: any;
1662
- custom_metadata?: Record<string, string | number | boolean | null> | undefined;
1694
+ custom_metadata?: Record<string, string | boolean> | undefined;
1663
1695
  automatically_manage_new_devices: boolean;
1664
1696
  }>;
1665
1697
  };
@@ -1689,7 +1721,7 @@ export interface Routes {
1689
1721
  account_type_display_name: string;
1690
1722
  errors?: any;
1691
1723
  warnings?: any;
1692
- custom_metadata?: Record<string, string | number | boolean | null> | undefined;
1724
+ custom_metadata?: Record<string, string | boolean> | undefined;
1693
1725
  automatically_manage_new_devices: boolean;
1694
1726
  };
1695
1727
  };
@@ -7251,6 +7283,7 @@ export interface Routes {
7251
7283
  commonParams: {
7252
7284
  user_identity_key?: (string | null) | undefined;
7253
7285
  email_address?: (string | null) | undefined;
7286
+ phone_number?: (string | null) | undefined;
7254
7287
  full_name?: (string | null) | undefined;
7255
7288
  };
7256
7289
  formData: {};
@@ -7259,6 +7292,7 @@ export interface Routes {
7259
7292
  user_identity_id: string;
7260
7293
  user_identity_key: string | null;
7261
7294
  email_address: string | null;
7295
+ phone_number: string | null;
7262
7296
  display_name: string;
7263
7297
  full_name: string | null;
7264
7298
  created_at: string;
@@ -7344,6 +7378,7 @@ export interface Routes {
7344
7378
  user_identity_id: string;
7345
7379
  user_identity_key: string | null;
7346
7380
  email_address: string | null;
7381
+ phone_number: string | null;
7347
7382
  display_name: string;
7348
7383
  full_name: string | null;
7349
7384
  created_at: string;
@@ -7375,6 +7410,7 @@ export interface Routes {
7375
7410
  user_identity_id: string;
7376
7411
  user_identity_key: string | null;
7377
7412
  email_address: string | null;
7413
+ phone_number: string | null;
7378
7414
  display_name: string;
7379
7415
  full_name: string | null;
7380
7416
  created_at: string;
@@ -7894,6 +7930,9 @@ export interface Routes {
7894
7930
  starts_at: string;
7895
7931
  ends_at: string;
7896
7932
  } | undefined;
7933
+ user_identity_id?: string | undefined;
7934
+ user_identity_email_address?: string | undefined;
7935
+ user_identity_phone_number?: string | undefined;
7897
7936
  full_name?: string | undefined;
7898
7937
  /** Deprecated: use email_address. */
7899
7938
  email?: string | undefined;
@@ -14,7 +14,7 @@ export declare const connect_webview: z.ZodObject<{
14
14
  status: z.ZodEnum<["pending", "failed", "authorized"]>;
15
15
  custom_redirect_url: z.ZodNullable<z.ZodString>;
16
16
  custom_redirect_failure_url: z.ZodNullable<z.ZodString>;
17
- custom_metadata: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNull, z.ZodBoolean]>>, Record<string, string | number | boolean | null>, Record<string, string | number | boolean | null>>;
17
+ custom_metadata: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>, Record<string, string | boolean>, Record<string, string | boolean>>;
18
18
  automatically_manage_new_devices: z.ZodBoolean;
19
19
  wait_for_device_creation: z.ZodBoolean;
20
20
  authorized_at: z.ZodNullable<z.ZodString>;
@@ -33,7 +33,7 @@ export declare const connect_webview: z.ZodObject<{
33
33
  login_successful: boolean;
34
34
  custom_redirect_url: string | null;
35
35
  custom_redirect_failure_url: string | null;
36
- custom_metadata: Record<string, string | number | boolean | null>;
36
+ custom_metadata: Record<string, string | boolean>;
37
37
  automatically_manage_new_devices: boolean;
38
38
  wait_for_device_creation: boolean;
39
39
  authorized_at: string | null;
@@ -53,7 +53,7 @@ export declare const connect_webview: z.ZodObject<{
53
53
  login_successful: boolean;
54
54
  custom_redirect_url: string | null;
55
55
  custom_redirect_failure_url: string | null;
56
- custom_metadata: Record<string, string | number | boolean | null>;
56
+ custom_metadata: Record<string, string | boolean>;
57
57
  automatically_manage_new_devices: boolean;
58
58
  wait_for_device_creation: boolean;
59
59
  authorized_at: string | null;
@@ -1,3 +1,3 @@
1
1
  import { z } from 'zod';
2
- export declare const custom_metadata: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNull, z.ZodBoolean]>>, Record<string, string | number | boolean | null>, Record<string, string | number | boolean | null>>;
2
+ export declare const custom_metadata: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>, Record<string, string | boolean>, Record<string, string | boolean>>;
3
3
  export type CustomMetadata = z.infer<typeof custom_metadata>;
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  export const custom_metadata = z
3
- .record(z.string().max(40), z.union([z.string().max(500), z.number(), z.null(), z.boolean()]))
3
+ .record(z.string().max(40), z.union([z.string().max(500), z.boolean()]))
4
4
  .refine((val) => Object.keys(val).length <= 50, {
5
5
  message: 'Custom metadata is limited to a maximum of 50 keys',
6
6
  });
@@ -1 +1 @@
1
- {"version":3,"file":"custom-metadata.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/stable/models/custom-metadata.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC;KAC7B,MAAM,CACL,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,EAClB,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,CAClE;KACA,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,MAAM,IAAI,EAAE,EAAE;IAC9C,OAAO,EAAE,oDAAoD;CAC9D,CAAC,CAAA"}
1
+ {"version":3,"file":"custom-metadata.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/stable/models/custom-metadata.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC;KAC7B,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC;KACvE,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,MAAM,IAAI,EAAE,EAAE;IAC9C,OAAO,EAAE,oDAAoD;CAC9D,CAAC,CAAA"}
@@ -10,6 +10,7 @@ export declare const acs_user: z.ZodObject<{
10
10
  acs_user_id: z.ZodString;
11
11
  display_name: z.ZodString;
12
12
  is_suspended: z.ZodBoolean;
13
+ user_identity_id: z.ZodOptional<z.ZodString>;
13
14
  hid_acs_system_id: z.ZodOptional<z.ZodString>;
14
15
  access_schedule: z.ZodOptional<z.ZodObject<{
15
16
  starts_at: z.ZodString;
@@ -21,6 +22,8 @@ export declare const acs_user: z.ZodObject<{
21
22
  starts_at: string;
22
23
  ends_at: string;
23
24
  }>>;
25
+ user_identity_email_address: z.ZodOptional<z.ZodString>;
26
+ user_identity_phone_number: z.ZodOptional<z.ZodString>;
24
27
  full_name: z.ZodOptional<z.ZodString>;
25
28
  email: z.ZodOptional<z.ZodString>;
26
29
  email_address: z.ZodOptional<z.ZodString>;
@@ -34,11 +37,14 @@ export declare const acs_user: z.ZodObject<{
34
37
  is_suspended: boolean;
35
38
  external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | undefined;
36
39
  external_type_display_name?: string | undefined;
40
+ user_identity_id?: string | undefined;
37
41
  hid_acs_system_id?: string | undefined;
38
42
  access_schedule?: {
39
43
  starts_at: string;
40
44
  ends_at: string;
41
45
  } | undefined;
46
+ user_identity_email_address?: string | undefined;
47
+ user_identity_phone_number?: string | undefined;
42
48
  full_name?: string | undefined;
43
49
  email?: string | undefined;
44
50
  email_address?: string | undefined;
@@ -52,11 +58,14 @@ export declare const acs_user: z.ZodObject<{
52
58
  is_suspended: boolean;
53
59
  external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | undefined;
54
60
  external_type_display_name?: string | undefined;
61
+ user_identity_id?: string | undefined;
55
62
  hid_acs_system_id?: string | undefined;
56
63
  access_schedule?: {
57
64
  starts_at: string;
58
65
  ends_at: string;
59
66
  } | undefined;
67
+ user_identity_email_address?: string | undefined;
68
+ user_identity_phone_number?: string | undefined;
60
69
  full_name?: string | undefined;
61
70
  email?: string | undefined;
62
71
  email_address?: string | undefined;
@@ -1,4 +1,5 @@
1
1
  import { z } from 'zod';
2
+ import { phone_number } from '../phone-number.js';
2
3
  import { schedule } from '../schedule.js';
3
4
  export const acs_user_external_type = z.enum([
4
5
  'pti_user',
@@ -6,15 +7,6 @@ export const acs_user_external_type = z.enum([
6
7
  'hid_credential_manager_user',
7
8
  'salto_site_user',
8
9
  ]);
9
- const phone_number = z.coerce
10
- .string()
11
- .trim()
12
- .refine((val) => {
13
- // https://www.twilio.com/docs/glossary/what-e164
14
- return /^\+[1-9]\d{1,14}$/.test(val);
15
- }, {
16
- message: 'Phone number must be in E.164 format: +14155552671',
17
- });
18
10
  const user_fields = z.object({
19
11
  full_name: z.string().optional(),
20
12
  email: z
@@ -37,6 +29,9 @@ export const acs_user = z
37
29
  external_type_display_name: z.string().optional(),
38
30
  is_suspended: z.boolean(),
39
31
  access_schedule: schedule.optional(),
32
+ user_identity_id: z.string().optional(),
33
+ user_identity_email_address: z.string().optional(),
34
+ user_identity_phone_number: z.string().optional(),
40
35
  })
41
36
  .merge(user_fields);
42
37
  //# sourceMappingURL=user.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"user.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAEzC,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC3C,UAAU;IACV,YAAY;IACZ,6BAA6B;IAC7B,iBAAiB;CAClB,CAAC,CAAA;AAIF,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM;KAC1B,MAAM,EAAE;KACR,IAAI,EAAE;KACN,MAAM,CACL,CAAC,GAAG,EAAE,EAAE;IACN,iDAAiD;IACjD,OAAO,mBAAmB,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;AACtC,CAAC,EACD;IACE,OAAO,EAAE,oDAAoD;CAC9D,CACF,CAAA;AAEH,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3B,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,KAAK,EAAE,CAAC;SACL,MAAM,EAAE;SACR,KAAK,EAAE;SACP,QAAQ,EAAE;SACV,QAAQ,CAAC,gCAAgC,CAAC;IAC7C,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;IAC5C,YAAY,EAAE,YAAY,CAAC,QAAQ,EAAE;CACtC,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC;KACtB,MAAM,CAAC;IACN,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC9B,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAChC,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IAC/C,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC/B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,aAAa,EAAE,sBAAsB,CAAC,QAAQ,EAAE;IAChD,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjD,YAAY,EAAE,CAAC,CAAC,OAAO,EAAE;IACzB,eAAe,EAAE,QAAQ,CAAC,QAAQ,EAAE;CACrC,CAAC;KACD,KAAK,CAAC,WAAW,CAAC,CAAA"}
1
+ {"version":3,"file":"user.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAEzC,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC3C,UAAU;IACV,YAAY;IACZ,6BAA6B;IAC7B,iBAAiB;CAClB,CAAC,CAAA;AAIF,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3B,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,KAAK,EAAE,CAAC;SACL,MAAM,EAAE;SACR,KAAK,EAAE;SACP,QAAQ,EAAE;SACV,QAAQ,CAAC,gCAAgC,CAAC;IAC7C,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;IAC5C,YAAY,EAAE,YAAY,CAAC,QAAQ,EAAE;CACtC,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC;KACtB,MAAM,CAAC;IACN,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC9B,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAChC,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IAC/C,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC/B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,aAAa,EAAE,sBAAsB,CAAC,QAAQ,EAAE;IAChD,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjD,YAAY,EAAE,CAAC,CAAC,OAAO,EAAE;IACzB,eAAe,EAAE,QAAQ,CAAC,QAAQ,EAAE;IACpC,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACvC,2BAA2B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClD,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAClD,CAAC;KACD,KAAK,CAAC,WAAW,CAAC,CAAA"}
@@ -3,4 +3,5 @@ export * from './acs/index.js';
3
3
  export * from './capability-properties/index.js';
4
4
  export * from './devices/index.js';
5
5
  export * from './network.js';
6
+ export * from './phone-number.js';
6
7
  export * from './user-identity.js';
@@ -3,5 +3,6 @@ export * from './acs/index.js';
3
3
  export * from './capability-properties/index.js';
4
4
  export * from './devices/index.js';
5
5
  export * from './network.js';
6
+ export * from './phone-number.js';
6
7
  export * from './user-identity.js';
7
8
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/unstable/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA;AACvC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,kCAAkC,CAAA;AAChD,cAAc,oBAAoB,CAAA;AAClC,cAAc,cAAc,CAAA;AAC5B,cAAc,oBAAoB,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/unstable/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA;AACvC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,kCAAkC,CAAA;AAChD,cAAc,oBAAoB,CAAA;AAClC,cAAc,cAAc,CAAA;AAC5B,cAAc,mBAAmB,CAAA;AACjC,cAAc,oBAAoB,CAAA"}
@@ -0,0 +1,2 @@
1
+ import { z } from 'zod';
2
+ export declare const phone_number: z.ZodEffects<z.ZodString, string, string>;
@@ -0,0 +1,11 @@
1
+ import { z } from 'zod';
2
+ export const phone_number = z.coerce
3
+ .string()
4
+ .trim()
5
+ .refine((val) => {
6
+ // https://www.twilio.com/docs/glossary/what-e164
7
+ return /^\+[1-9]\d{1,14}$/.test(val);
8
+ }, {
9
+ message: 'Phone number must be in E.164 format: +14155552671',
10
+ });
11
+ //# sourceMappingURL=phone-number.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"phone-number.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/unstable/models/phone-number.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM;KACjC,MAAM,EAAE;KACR,IAAI,EAAE;KACN,MAAM,CACL,CAAC,GAAG,EAAE,EAAE;IACN,iDAAiD;IACjD,OAAO,mBAAmB,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;AACtC,CAAC,EACD;IACE,OAAO,EAAE,oDAAoD;CAC9D,CACF,CAAA"}
@@ -3,6 +3,7 @@ export declare const user_identity: z.ZodObject<{
3
3
  user_identity_id: z.ZodString;
4
4
  user_identity_key: z.ZodNullable<z.ZodString>;
5
5
  email_address: z.ZodNullable<z.ZodString>;
6
+ phone_number: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
6
7
  display_name: z.ZodString;
7
8
  full_name: z.ZodNullable<z.ZodString>;
8
9
  created_at: z.ZodString;
@@ -14,6 +15,7 @@ export declare const user_identity: z.ZodObject<{
14
15
  user_identity_id: string;
15
16
  user_identity_key: string | null;
16
17
  email_address: string | null;
18
+ phone_number: string | null;
17
19
  full_name: string | null;
18
20
  }, {
19
21
  workspace_id: string;
@@ -22,6 +24,7 @@ export declare const user_identity: z.ZodObject<{
22
24
  user_identity_id: string;
23
25
  user_identity_key: string | null;
24
26
  email_address: string | null;
27
+ phone_number: string | null;
25
28
  full_name: string | null;
26
29
  }>;
27
30
  export type UserIdentity = z.output<typeof user_identity>;
@@ -1,8 +1,10 @@
1
1
  import { z } from 'zod';
2
+ import { phone_number } from './phone-number.js';
2
3
  export const user_identity = z.object({
3
4
  user_identity_id: z.string().uuid(),
4
5
  user_identity_key: z.string().nonempty().nullable(),
5
6
  email_address: z.string().email().nullable(),
7
+ phone_number: phone_number.nullable(),
6
8
  display_name: z.string().nonempty(),
7
9
  full_name: z.string().nonempty().nullable(),
8
10
  created_at: z.string().datetime(),
@@ -1 +1 @@
1
- {"version":3,"file":"user-identity.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/unstable/models/user-identity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC;IACpC,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACnC,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IACnD,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;IAC5C,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC3C,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;CAChC,CAAC,CAAA"}
1
+ {"version":3,"file":"user-identity.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/unstable/models/user-identity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAEhD,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC;IACpC,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACnC,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IACnD,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;IAC5C,YAAY,EAAE,YAAY,CAAC,QAAQ,EAAE;IACrC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC3C,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;CAChC,CAAC,CAAA"}
@@ -1 +1 @@
1
- export { access_code_code_constraint, acs_access_group, acs_access_group_external_type, acs_credential, acs_credential_external_type, acs_credential_pool, acs_credential_pool_external_type, acs_credential_provisioning_automation, acs_entrance, acs_system, acs_system_external_type, acs_user, acs_user_external_type, any_device_type, battery_status, capabilities, climate_setting, climate_setting_schedule, common_device_properties, enrollment_automation, fan_mode_setting, lock_device_type, managed_access_code, managed_device, network, noise_sensor_device_type, phone, thermostat_capability_properties, thermostat_device_type, unmanaged_access_code, unmanaged_device, user_identity, } from './models/index.js';
1
+ export { access_code_code_constraint, acs_access_group, acs_access_group_external_type, acs_credential, acs_credential_external_type, acs_credential_pool, acs_credential_pool_external_type, acs_credential_provisioning_automation, acs_entrance, acs_system, acs_system_external_type, acs_user, acs_user_external_type, any_device_type, battery_status, capabilities, climate_setting, climate_setting_schedule, common_device_properties, enrollment_automation, fan_mode_setting, lock_device_type, managed_access_code, managed_device, network, noise_sensor_device_type, phone, phone_number, thermostat_capability_properties, thermostat_device_type, unmanaged_access_code, unmanaged_device, user_identity, } from './models/index.js';
@@ -1,2 +1,2 @@
1
- export { access_code_code_constraint, acs_access_group, acs_access_group_external_type, acs_credential, acs_credential_external_type, acs_credential_pool, acs_credential_pool_external_type, acs_credential_provisioning_automation, acs_entrance, acs_system, acs_system_external_type, acs_user, acs_user_external_type, any_device_type, battery_status, capabilities, climate_setting, climate_setting_schedule, common_device_properties, enrollment_automation, fan_mode_setting, lock_device_type, managed_access_code, managed_device, network, noise_sensor_device_type, phone, thermostat_capability_properties, thermostat_device_type, unmanaged_access_code, unmanaged_device, user_identity, } from './models/index.js';
1
+ export { access_code_code_constraint, acs_access_group, acs_access_group_external_type, acs_credential, acs_credential_external_type, acs_credential_pool, acs_credential_pool_external_type, acs_credential_provisioning_automation, acs_entrance, acs_system, acs_system_external_type, acs_user, acs_user_external_type, any_device_type, battery_status, capabilities, climate_setting, climate_setting_schedule, common_device_properties, enrollment_automation, fan_mode_setting, lock_device_type, managed_access_code, managed_device, network, noise_sensor_device_type, phone, phone_number, thermostat_capability_properties, thermostat_device_type, unmanaged_access_code, unmanaged_device, user_identity, } from './models/index.js';
2
2
  //# sourceMappingURL=schemas.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/unstable/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,gBAAgB,EAChB,8BAA8B,EAC9B,cAAc,EACd,4BAA4B,EAC5B,mBAAmB,EACnB,iCAAiC,EACjC,sCAAsC,EACtC,YAAY,EACZ,UAAU,EACV,wBAAwB,EACxB,QAAQ,EACR,sBAAsB,EACtB,eAAe,EACf,cAAc,EACd,YAAY,EACZ,eAAe,EACf,wBAAwB,EACxB,wBAAwB,EACxB,qBAAqB,EACrB,gBAAgB,EAChB,gBAAgB,EAChB,mBAAmB,EACnB,cAAc,EACd,OAAO,EACP,wBAAwB,EACxB,KAAK,EACL,gCAAgC,EAChC,sBAAsB,EACtB,qBAAqB,EACrB,gBAAgB,EAChB,aAAa,GACd,MAAM,mBAAmB,CAAA"}
1
+ {"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/unstable/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,gBAAgB,EAChB,8BAA8B,EAC9B,cAAc,EACd,4BAA4B,EAC5B,mBAAmB,EACnB,iCAAiC,EACjC,sCAAsC,EACtC,YAAY,EACZ,UAAU,EACV,wBAAwB,EACxB,QAAQ,EACR,sBAAsB,EACtB,eAAe,EACf,cAAc,EACd,YAAY,EACZ,eAAe,EACf,wBAAwB,EACxB,wBAAwB,EACxB,qBAAqB,EACrB,gBAAgB,EAChB,gBAAgB,EAChB,mBAAmB,EACnB,cAAc,EACd,OAAO,EACP,wBAAwB,EACxB,KAAK,EACL,YAAY,EACZ,gCAAgC,EAChC,sBAAsB,EACtB,qBAAqB,EACrB,gBAAgB,EAChB,aAAa,GACd,MAAM,mBAAmB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.81.0",
3
+ "version": "1.83.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -267,6 +267,9 @@ export default {
267
267
  hid_acs_system_id: { format: 'uuid', type: 'string' },
268
268
  is_suspended: { type: 'boolean' },
269
269
  phone_number: { nullable: true, type: 'string' },
270
+ user_identity_email_address: { type: 'string' },
271
+ user_identity_id: { type: 'string' },
272
+ user_identity_phone_number: { type: 'string' },
270
273
  workspace_id: { format: 'uuid', type: 'string' },
271
274
  },
272
275
  required: [
@@ -423,13 +426,7 @@ export default {
423
426
  created_at: { format: 'date-time', type: 'string' },
424
427
  custom_metadata: {
425
428
  additionalProperties: {
426
- nullable: true,
427
- oneOf: [
428
- { maxLength: 500, type: 'string' },
429
- { type: 'number' },
430
- { format: 'null', nullable: true, type: 'string' },
431
- { type: 'boolean' },
432
- ],
429
+ oneOf: [{ maxLength: 500, type: 'string' }, { type: 'boolean' }],
433
430
  },
434
431
  type: 'object',
435
432
  },
@@ -485,13 +482,7 @@ export default {
485
482
  created_at: { format: 'date-time', type: 'string' },
486
483
  custom_metadata: {
487
484
  additionalProperties: {
488
- nullable: true,
489
- oneOf: [
490
- { type: 'string' },
491
- { type: 'number' },
492
- { type: 'boolean' },
493
- { format: 'null', nullable: true, type: 'string' },
494
- ],
485
+ oneOf: [{ maxLength: 500, type: 'string' }, { type: 'boolean' }],
495
486
  },
496
487
  type: 'object',
497
488
  },
@@ -6342,7 +6333,12 @@ export default {
6342
6333
  schema: {
6343
6334
  properties: {
6344
6335
  acs_system_id: { format: 'uuid', type: 'string' },
6336
+ user_identity_email_address: { type: 'string' },
6345
6337
  user_identity_id: { format: 'uuid', type: 'string' },
6338
+ user_identity_phone_number: {
6339
+ nullable: true,
6340
+ type: 'string',
6341
+ },
6346
6342
  },
6347
6343
  type: 'object',
6348
6344
  },
@@ -6383,6 +6379,68 @@ export default {
6383
6379
  'x-fern-sdk-method-name': 'list',
6384
6380
  },
6385
6381
  },
6382
+ '/acs/users/list_accessible_entrances': {
6383
+ post: {
6384
+ operationId: 'acsUsersListAccessibleEntrancesPost',
6385
+ requestBody: {
6386
+ content: {
6387
+ 'application/json': {
6388
+ schema: {
6389
+ properties: { acs_user_id: { format: 'uuid', type: 'string' } },
6390
+ required: ['acs_user_id'],
6391
+ type: 'object',
6392
+ },
6393
+ },
6394
+ },
6395
+ },
6396
+ responses: {
6397
+ 200: {
6398
+ content: {
6399
+ 'application/json': {
6400
+ schema: {
6401
+ properties: {
6402
+ acs_entrances: {
6403
+ items: {
6404
+ properties: {
6405
+ acs_entrance_id: { format: 'uuid', type: 'string' },
6406
+ acs_system_id: { format: 'uuid', type: 'string' },
6407
+ created_at: { format: 'date-time', type: 'string' },
6408
+ display_name: { type: 'string' },
6409
+ },
6410
+ required: [
6411
+ 'acs_entrance_id',
6412
+ 'display_name',
6413
+ 'acs_system_id',
6414
+ 'created_at',
6415
+ ],
6416
+ type: 'object',
6417
+ },
6418
+ type: 'array',
6419
+ },
6420
+ ok: { type: 'boolean' },
6421
+ },
6422
+ required: ['acs_entrances', 'ok'],
6423
+ type: 'object',
6424
+ },
6425
+ },
6426
+ },
6427
+ description: 'OK',
6428
+ },
6429
+ 400: { description: 'Bad Request' },
6430
+ 401: { description: 'Unauthorized' },
6431
+ },
6432
+ security: [
6433
+ { client_session: [] },
6434
+ { pat_with_workspace: [] },
6435
+ { console_session: [] },
6436
+ { api_key: [] },
6437
+ ],
6438
+ summary: '/acs/users/list_accessible_entrances',
6439
+ tags: ['/acs'],
6440
+ 'x-fern-sdk-group-name': ['acs', 'users'],
6441
+ 'x-fern-sdk-method-name': 'list_accessible_entrances',
6442
+ },
6443
+ },
6386
6444
  '/acs/users/remove_from_access_group': {
6387
6445
  post: {
6388
6446
  operationId: 'acsUsersRemoveFromAccessGroupPost',
@@ -7309,11 +7367,8 @@ export default {
7309
7367
  automatically_manage_new_devices: { type: 'boolean' },
7310
7368
  custom_metadata: {
7311
7369
  additionalProperties: {
7312
- nullable: true,
7313
7370
  oneOf: [
7314
7371
  { maxLength: 500, type: 'string' },
7315
- { type: 'number' },
7316
- { format: 'null', nullable: true, type: 'string' },
7317
7372
  { type: 'boolean' },
7318
7373
  ],
7319
7374
  },
@@ -11079,6 +11134,7 @@ export default {
11079
11134
  type: 'string',
11080
11135
  },
11081
11136
  full_name: { minLength: 1, nullable: true, type: 'string' },
11137
+ phone_number: { nullable: true, type: 'string' },
11082
11138
  user_identity_key: {
11083
11139
  minLength: 1,
11084
11140
  nullable: true,
@@ -11111,6 +11167,7 @@ export default {
11111
11167
  nullable: true,
11112
11168
  type: 'string',
11113
11169
  },
11170
+ phone_number: { nullable: true, type: 'string' },
11114
11171
  user_identity_id: { format: 'uuid', type: 'string' },
11115
11172
  user_identity_key: {
11116
11173
  minLength: 1,
@@ -11123,6 +11180,7 @@ export default {
11123
11180
  'user_identity_id',
11124
11181
  'user_identity_key',
11125
11182
  'email_address',
11183
+ 'phone_number',
11126
11184
  'display_name',
11127
11185
  'full_name',
11128
11186
  'created_at',
@@ -11385,6 +11443,7 @@ export default {
11385
11443
  nullable: true,
11386
11444
  type: 'string',
11387
11445
  },
11446
+ phone_number: { nullable: true, type: 'string' },
11388
11447
  user_identity_id: { format: 'uuid', type: 'string' },
11389
11448
  user_identity_key: {
11390
11449
  minLength: 1,
@@ -11397,6 +11456,7 @@ export default {
11397
11456
  'user_identity_id',
11398
11457
  'user_identity_key',
11399
11458
  'email_address',
11459
+ 'phone_number',
11400
11460
  'display_name',
11401
11461
  'full_name',
11402
11462
  'created_at',
@@ -11536,6 +11596,7 @@ export default {
11536
11596
  nullable: true,
11537
11597
  type: 'string',
11538
11598
  },
11599
+ phone_number: { nullable: true, type: 'string' },
11539
11600
  user_identity_id: { format: 'uuid', type: 'string' },
11540
11601
  user_identity_key: {
11541
11602
  minLength: 1,
@@ -11548,6 +11609,7 @@ export default {
11548
11609
  'user_identity_id',
11549
11610
  'user_identity_key',
11550
11611
  'email_address',
11612
+ 'phone_number',
11551
11613
  'display_name',
11552
11614
  'full_name',
11553
11615
  'created_at',
@@ -11602,6 +11664,7 @@ export default {
11602
11664
  nullable: true,
11603
11665
  type: 'string',
11604
11666
  },
11667
+ phone_number: { nullable: true, type: 'string' },
11605
11668
  user_identity_id: { format: 'uuid', type: 'string' },
11606
11669
  user_identity_key: {
11607
11670
  minLength: 1,
@@ -11614,6 +11677,7 @@ export default {
11614
11677
  'user_identity_id',
11615
11678
  'user_identity_key',
11616
11679
  'email_address',
11680
+ 'phone_number',
11617
11681
  'display_name',
11618
11682
  'full_name',
11619
11683
  'created_at',
@@ -11741,7 +11805,7 @@ export default {
11741
11805
  { api_key: [] },
11742
11806
  ],
11743
11807
  summary: '/user_identities/list_acs_systems',
11744
- tags: [],
11808
+ tags: ['/user_identities'],
11745
11809
  'x-fern-sdk-group-name': ['user_identities'],
11746
11810
  'x-fern-sdk-method-name': 'list_acs_systems',
11747
11811
  },