@seamapi/types 1.287.0 → 1.287.2

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.
@@ -175,10 +175,14 @@ const common_acs_user = z
175
175
  .describe('Errors associated with the `acs_user`.'),
176
176
  })
177
177
  .merge(user_fields);
178
- export const acs_user = common_acs_user.merge(z.object({
178
+ export const acs_user = common_acs_user.merge(z
179
+ .object({
179
180
  is_managed: z.literal(true),
180
- }));
181
- export const unmanaged_acs_user = common_acs_user.merge(z.object({
181
+ })
182
+ .describe('Represents a [user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) in an [access control system](https://docs.seam.co/latest/capability-guides/access-systems).'));
183
+ export const unmanaged_acs_user = common_acs_user.merge(z
184
+ .object({
182
185
  is_managed: z.literal(false),
183
- }));
186
+ })
187
+ .describe('Represents an unmanaged [user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) in an [access control system](https://docs.seam.co/latest/capability-guides/access-systems).'));
184
188
  //# sourceMappingURL=acs-user.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"acs-user.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/acs/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;IACjB,YAAY;IACZ,0BAA0B;CAC3B,CAAC,CAAA;AAIF,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,gDAAgD,CAAC;IAC7D,OAAO,EAAE,CAAC;SACP,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,CAAC;CACtD,CAAC;KACD,KAAK,CAAC,WAAW,CAAC,CAAA;AAErB,MAAM,CAAC,MAAM,QAAQ,GAAG,eAAe,CAAC,KAAK,CAC3C,CAAC;KACE,MAAM,CAAC;IACN,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;CAC5B,CAAC;KACD,QAAQ,CACP,gMAAgM,CACjM,CACJ,CAAA;AAED,MAAM,CAAC,MAAM,kBAAkB,GAAG,eAAe,CAAC,KAAK,CACrD,CAAC;KACE,MAAM,CAAC;IACN,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC;CAC7B,CAAC;KACD,QAAQ,CACP,2MAA2M,CAC5M,CACJ,CAAA"}
@@ -1,7 +1,13 @@
1
1
  import { z } from 'zod';
2
2
  export const start_end_schedule = z.object({
3
- starts_at: z.string().datetime(),
4
- ends_at: z.string().datetime(),
3
+ starts_at: z
4
+ .string()
5
+ .datetime()
6
+ .describe("Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format."),
7
+ ends_at: z
8
+ .string()
9
+ .datetime()
10
+ .describe("Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format."),
5
11
  });
6
12
  // export const schedule = z.union([
7
13
  // start_end_schedule,
@@ -1 +1 @@
1
- {"version":3,"file":"schedule.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/models/schedule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,CAAC;IACzC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC/B,CAAC,CAAA;AAEF,oCAAoC;AACpC,wBAAwB;AACxB,oBAAoB;AACpB,oBAAoB;AACpB,KAAK;AACL,MAAM,CAAC,MAAM,QAAQ,GAAG,kBAAkB,CAAA"}
1
+ {"version":3,"file":"schedule.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/models/schedule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,CAAC;IACzC,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,gIAAgI,CACjI;IACH,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,8HAA8H,CAC/H;CACJ,CAAC,CAAA;AAEF,oCAAoC;AACpC,wBAAwB;AACxB,oBAAoB;AACpB,oBAAoB;AACpB,KAAK;AACL,MAAM,CAAC,MAAM,QAAQ,GAAG,kBAAkB,CAAA"}
@@ -466,6 +466,7 @@ declare const _default: {
466
466
  type: string;
467
467
  };
468
468
  acs_entrance: {
469
+ description: string;
469
470
  properties: {
470
471
  acs_entrance_id: {
471
472
  description: string;
@@ -800,10 +801,12 @@ declare const _default: {
800
801
  description: string;
801
802
  properties: {
802
803
  ends_at: {
804
+ description: string;
803
805
  format: string;
804
806
  type: string;
805
807
  };
806
808
  starts_at: {
809
+ description: string;
807
810
  format: string;
808
811
  type: string;
809
812
  };
@@ -6500,30 +6503,15 @@ declare const _default: {
6500
6503
  'application/json': {
6501
6504
  schema: {
6502
6505
  properties: {
6503
- allow_external_modification: {
6504
- type: string;
6505
- };
6506
- code: {
6507
- maxLength: number;
6508
- minLength: number;
6509
- pattern: string;
6510
- type: string;
6511
- };
6512
6506
  common_code_key: {
6513
6507
  type: string;
6514
6508
  };
6515
6509
  ends_at: {
6516
6510
  type: string;
6517
6511
  };
6518
- is_external_modification_allowed: {
6519
- type: string;
6520
- };
6521
6512
  name: {
6522
6513
  type: string;
6523
6514
  };
6524
- prefer_native_scheduling: {
6525
- type: string;
6526
- };
6527
6515
  starts_at: {
6528
6516
  type: string;
6529
6517
  };
@@ -6590,30 +6578,15 @@ declare const _default: {
6590
6578
  'application/json': {
6591
6579
  schema: {
6592
6580
  properties: {
6593
- allow_external_modification: {
6594
- type: string;
6595
- };
6596
- code: {
6597
- maxLength: number;
6598
- minLength: number;
6599
- pattern: string;
6600
- type: string;
6601
- };
6602
6581
  common_code_key: {
6603
6582
  type: string;
6604
6583
  };
6605
6584
  ends_at: {
6606
6585
  type: string;
6607
6586
  };
6608
- is_external_modification_allowed: {
6609
- type: string;
6610
- };
6611
6587
  name: {
6612
6588
  type: string;
6613
6589
  };
6614
- prefer_native_scheduling: {
6615
- type: string;
6616
- };
6617
6590
  starts_at: {
6618
6591
  type: string;
6619
6592
  };
@@ -10692,10 +10665,12 @@ declare const _default: {
10692
10665
  description: string;
10693
10666
  properties: {
10694
10667
  ends_at: {
10668
+ description: string;
10695
10669
  format: string;
10696
10670
  type: string;
10697
10671
  };
10698
10672
  starts_at: {
10673
+ description: string;
10699
10674
  format: string;
10700
10675
  type: string;
10701
10676
  };
@@ -10937,10 +10912,12 @@ declare const _default: {
10937
10912
  description: string;
10938
10913
  properties: {
10939
10914
  ends_at: {
10915
+ description: string;
10940
10916
  format: string;
10941
10917
  type: string;
10942
10918
  };
10943
10919
  starts_at: {
10920
+ description: string;
10944
10921
  format: string;
10945
10922
  type: string;
10946
10923
  };
@@ -169,7 +169,7 @@ export default {
169
169
  type: 'object',
170
170
  },
171
171
  acs_access_group: {
172
- description: '\n Group that defines the entrances to which a set of users has access and, in some cases, the access schedule for these entrances and users.\n \n The `acs_access_group` object represents an [access group](https://docs.seam.co/latest/capability-guides/access-systems/assigning-users-to-access-groups) within an [access control system](https://docs.seam.co/latest/capability-guides/access-systems).\n ',
172
+ description: 'Group that defines the entrances to which a set of users has access and, in some cases, the access schedule for these entrances and users.\nThe `acs_access_group` object represents an [access group](https://docs.seam.co/latest/capability-guides/access-systems/assigning-users-to-access-groups) within an [access control system](https://docs.seam.co/latest/capability-guides/access-systems).',
173
173
  properties: {
174
174
  access_group_type: {
175
175
  deprecated: true,
@@ -180,12 +180,12 @@ export default {
180
180
  'brivo_group',
181
181
  ],
182
182
  type: 'string',
183
- 'x-deprecated': 'use external_type',
183
+ 'x-deprecated': 'Use `external_type`.',
184
184
  },
185
185
  access_group_type_display_name: {
186
186
  deprecated: true,
187
187
  type: 'string',
188
- 'x-deprecated': 'use external_type_display_name',
188
+ 'x-deprecated': 'Use `external_type_display_name`.',
189
189
  },
190
190
  acs_access_group_id: {
191
191
  description: 'ID of the access group.',
@@ -241,7 +241,7 @@ export default {
241
241
  type: 'object',
242
242
  },
243
243
  acs_credential: {
244
- description: 'Means by which a user gains access at an entrance.\n\n The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code.',
244
+ description: 'Means by which a user gains access at an entrance.\nThe `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code.',
245
245
  properties: {
246
246
  access_method: {
247
247
  description: 'Access method for the credential. Supported values: `code`, `card`, `mobile_key`.',
@@ -431,6 +431,7 @@ export default {
431
431
  type: 'object',
432
432
  },
433
433
  acs_entrance: {
434
+ description: 'Represents an [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) within an [access control system](https://docs.seam.co/latest/capability-guides/access-systems).',
434
435
  properties: {
435
436
  acs_entrance_id: {
436
437
  description: 'ID of the entrance.',
@@ -842,8 +843,16 @@ export default {
842
843
  access_schedule: {
843
844
  description: "`starts_at` and `ends_at` timestamps for the `acs_user`'s access.",
844
845
  properties: {
845
- ends_at: { format: 'date-time', type: 'string' },
846
- starts_at: { format: 'date-time', type: 'string' },
846
+ ends_at: {
847
+ description: "Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
848
+ format: 'date-time',
849
+ type: 'string',
850
+ },
851
+ starts_at: {
852
+ description: "Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
853
+ format: 'date-time',
854
+ type: 'string',
855
+ },
847
856
  },
848
857
  required: ['starts_at', 'ends_at'],
849
858
  type: 'object',
@@ -1368,7 +1377,7 @@ export default {
1368
1377
  nullable: true,
1369
1378
  oneOf: [
1370
1379
  {
1371
- description: 'Means by which a user gains access at an entrance.\n\n The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code.',
1380
+ description: 'Means by which a user gains access at an entrance.\nThe `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code.',
1372
1381
  properties: {
1373
1382
  access_method: {
1374
1383
  description: 'Access method for the credential. Supported values: `code`, `card`, `mobile_key`.',
@@ -1527,7 +1536,7 @@ export default {
1527
1536
  type: 'object',
1528
1537
  },
1529
1538
  {
1530
- description: 'Means by which a user gains access at an entrance.\n\n The `unmanaged_acs_credential` object, which is not managed by Seam, represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code.',
1539
+ description: 'Means by which a user gains access at an entrance.\nThe `unmanaged_acs_credential` object, which is not managed by Seam, represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code.',
1531
1540
  properties: {
1532
1541
  access_method: {
1533
1542
  description: 'Access method for the credential. Supported values: `code`, `card`, `mobile_key`.',
@@ -1808,10 +1817,10 @@ export default {
1808
1817
  action_type: { enum: ['ENCODE_CREDENTIAL'], type: 'string' },
1809
1818
  error: { nullable: true },
1810
1819
  result: {
1811
- description: 'Means by which a user gains access at an entrance.\n\n The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code.',
1820
+ description: 'Means by which a user gains access at an entrance.\nThe `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code.',
1812
1821
  oneOf: [
1813
1822
  {
1814
- description: 'Means by which a user gains access at an entrance.\n\n The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code.',
1823
+ description: 'Means by which a user gains access at an entrance.\nThe `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code.',
1815
1824
  properties: {
1816
1825
  access_method: {
1817
1826
  description: 'Access method for the credential. Supported values: `code`, `card`, `mobile_key`.',
@@ -1970,7 +1979,7 @@ export default {
1970
1979
  type: 'object',
1971
1980
  },
1972
1981
  {
1973
- description: 'Means by which a user gains access at an entrance.\n\n The `unmanaged_acs_credential` object, which is not managed by Seam, represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code.',
1982
+ description: 'Means by which a user gains access at an entrance.\nThe `unmanaged_acs_credential` object, which is not managed by Seam, represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code.',
1974
1983
  properties: {
1975
1984
  access_method: {
1976
1985
  description: 'Access method for the credential. Supported values: `code`, `card`, `mobile_key`.',
@@ -6753,18 +6762,9 @@ export default {
6753
6762
  'application/json': {
6754
6763
  schema: {
6755
6764
  properties: {
6756
- allow_external_modification: { type: 'boolean' },
6757
- code: {
6758
- maxLength: 9,
6759
- minLength: 4,
6760
- pattern: '^\\d+$',
6761
- type: 'string',
6762
- },
6763
6765
  common_code_key: { type: 'string' },
6764
6766
  ends_at: { type: 'string' },
6765
- is_external_modification_allowed: { type: 'boolean' },
6766
6767
  name: { type: 'string' },
6767
- prefer_native_scheduling: { type: 'boolean' },
6768
6768
  starts_at: { type: 'string' },
6769
6769
  },
6770
6770
  required: ['common_code_key'],
@@ -6806,18 +6806,9 @@ export default {
6806
6806
  'application/json': {
6807
6807
  schema: {
6808
6808
  properties: {
6809
- allow_external_modification: { type: 'boolean' },
6810
- code: {
6811
- maxLength: 9,
6812
- minLength: 4,
6813
- pattern: '^\\d+$',
6814
- type: 'string',
6815
- },
6816
6809
  common_code_key: { type: 'string' },
6817
6810
  ends_at: { type: 'string' },
6818
- is_external_modification_allowed: { type: 'boolean' },
6819
6811
  name: { type: 'string' },
6820
- prefer_native_scheduling: { type: 'boolean' },
6821
6812
  starts_at: { type: 'string' },
6822
6813
  },
6823
6814
  required: ['common_code_key'],
@@ -7285,12 +7276,12 @@ export default {
7285
7276
  'brivo_group',
7286
7277
  ],
7287
7278
  type: 'string',
7288
- 'x-deprecated': 'use external_type',
7279
+ 'x-deprecated': 'Use `external_type`.',
7289
7280
  },
7290
7281
  access_group_type_display_name: {
7291
7282
  deprecated: true,
7292
7283
  type: 'string',
7293
- 'x-deprecated': 'use external_type_display_name',
7284
+ 'x-deprecated': 'Use `external_type_display_name`.',
7294
7285
  },
7295
7286
  acs_access_group_id: {
7296
7287
  description: 'ID of the access group.',
@@ -7417,12 +7408,12 @@ export default {
7417
7408
  'brivo_group',
7418
7409
  ],
7419
7410
  type: 'string',
7420
- 'x-deprecated': 'use external_type',
7411
+ 'x-deprecated': 'Use `external_type`.',
7421
7412
  },
7422
7413
  access_group_type_display_name: {
7423
7414
  deprecated: true,
7424
7415
  type: 'string',
7425
- 'x-deprecated': 'use external_type_display_name',
7416
+ 'x-deprecated': 'Use `external_type_display_name`.',
7426
7417
  },
7427
7418
  acs_access_group_id: {
7428
7419
  description: 'ID of the access group.',
@@ -8300,7 +8291,7 @@ export default {
8300
8291
  schema: {
8301
8292
  properties: {
8302
8293
  acs_credential: {
8303
- description: 'Means by which a user gains access at an entrance.\n\n The `unmanaged_acs_credential` object, which is not managed by Seam, represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code.',
8294
+ description: 'Means by which a user gains access at an entrance.\nThe `unmanaged_acs_credential` object, which is not managed by Seam, represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code.',
8304
8295
  properties: {
8305
8296
  access_method: {
8306
8297
  description: 'Access method for the credential. Supported values: `code`, `card`, `mobile_key`.',
@@ -8556,7 +8547,7 @@ export default {
8556
8547
  properties: {
8557
8548
  acs_credentials: {
8558
8549
  items: {
8559
- description: 'Means by which a user gains access at an entrance.\n\n The `unmanaged_acs_credential` object, which is not managed by Seam, represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code.',
8550
+ description: 'Means by which a user gains access at an entrance.\nThe `unmanaged_acs_credential` object, which is not managed by Seam, represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code.',
8560
8551
  properties: {
8561
8552
  access_method: {
8562
8553
  description: 'Access method for the credential. Supported values: `code`, `card`, `mobile_key`.',
@@ -10068,8 +10059,16 @@ export default {
10068
10059
  access_schedule: {
10069
10060
  description: "`starts_at` and `ends_at` timestamps for the `acs_user`'s access.",
10070
10061
  properties: {
10071
- ends_at: { format: 'date-time', type: 'string' },
10072
- starts_at: { format: 'date-time', type: 'string' },
10062
+ ends_at: {
10063
+ description: "Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
10064
+ format: 'date-time',
10065
+ type: 'string',
10066
+ },
10067
+ starts_at: {
10068
+ description: "Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
10069
+ format: 'date-time',
10070
+ type: 'string',
10071
+ },
10073
10072
  },
10074
10073
  required: ['starts_at', 'ends_at'],
10075
10074
  type: 'object',
@@ -10418,8 +10417,13 @@ export default {
10418
10417
  access_schedule: {
10419
10418
  description: "`starts_at` and `ends_at` timestamps for the `acs_user`'s access.",
10420
10419
  properties: {
10421
- ends_at: { format: 'date-time', type: 'string' },
10420
+ ends_at: {
10421
+ description: "Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
10422
+ format: 'date-time',
10423
+ type: 'string',
10424
+ },
10422
10425
  starts_at: {
10426
+ description: "Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
10423
10427
  format: 'date-time',
10424
10428
  type: 'string',
10425
10429
  },