@seamapi/types 1.316.0 → 1.318.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 (38) hide show
  1. package/dist/connect.cjs +202 -30
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +1090 -216
  4. package/lib/seam/connect/models/acs/acs-credential.d.ts +66 -0
  5. package/lib/seam/connect/models/acs/acs-credential.js +12 -0
  6. package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
  7. package/lib/seam/connect/models/acs/acs-encoder.d.ts +0 -10
  8. package/lib/seam/connect/models/acs/acs-encoder.js +0 -4
  9. package/lib/seam/connect/models/acs/acs-encoder.js.map +1 -1
  10. package/lib/seam/connect/models/acs/acs-entrance.d.ts +5 -0
  11. package/lib/seam/connect/models/acs/acs-system.d.ts +34 -0
  12. package/lib/seam/connect/models/acs/acs-system.js +4 -0
  13. package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
  14. package/lib/seam/connect/models/acs/acs-user.d.ts +6 -6
  15. package/lib/seam/connect/models/acs/acs-user.js +1 -0
  16. package/lib/seam/connect/models/acs/acs-user.js.map +1 -1
  17. package/lib/seam/connect/models/acs/metadata/dormakaba-community.d.ts +3 -0
  18. package/lib/seam/connect/models/acs/metadata/dormakaba-community.js +1 -0
  19. package/lib/seam/connect/models/acs/metadata/dormakaba-community.js.map +1 -1
  20. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +132 -0
  21. package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +58 -0
  22. package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +74 -0
  23. package/lib/seam/connect/models/devices/device-provider.d.ts +2 -2
  24. package/lib/seam/connect/models/devices/device-provider.js +1 -1
  25. package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
  26. package/lib/seam/connect/openapi.d.ts +37 -7
  27. package/lib/seam/connect/openapi.js +179 -14
  28. package/lib/seam/connect/openapi.js.map +1 -1
  29. package/lib/seam/connect/route-types.d.ts +678 -13
  30. package/package.json +1 -1
  31. package/src/lib/seam/connect/models/acs/acs-credential.ts +15 -0
  32. package/src/lib/seam/connect/models/acs/acs-encoder.ts +0 -6
  33. package/src/lib/seam/connect/models/acs/acs-system.ts +4 -0
  34. package/src/lib/seam/connect/models/acs/acs-user.ts +1 -0
  35. package/src/lib/seam/connect/models/acs/metadata/dormakaba-community.ts +1 -0
  36. package/src/lib/seam/connect/models/devices/device-provider.ts +1 -1
  37. package/src/lib/seam/connect/openapi.ts +207 -15
  38. package/src/lib/seam/connect/route-types.ts +768 -9
@@ -543,6 +543,12 @@ declare const _default: {
543
543
  };
544
544
  type: string;
545
545
  };
546
+ lease_ids: {
547
+ items: {
548
+ type: string;
549
+ };
550
+ type: string;
551
+ };
546
552
  };
547
553
  required: string[];
548
554
  type: string;
@@ -824,7 +830,7 @@ declare const _default: {
824
830
  description: string;
825
831
  items: {
826
832
  description: string;
827
- oneOf: {
833
+ oneOf: ({
828
834
  properties: {
829
835
  created_at: {
830
836
  description: string;
@@ -840,10 +846,37 @@ declare const _default: {
840
846
  enum: string[];
841
847
  type: string;
842
848
  };
849
+ misconfigured_acs_entrance_ids?: never;
843
850
  };
844
851
  required: string[];
845
852
  type: string;
846
- }[];
853
+ } | {
854
+ properties: {
855
+ created_at: {
856
+ description: string;
857
+ format: string;
858
+ type: string;
859
+ };
860
+ message: {
861
+ description: string;
862
+ type: string;
863
+ };
864
+ misconfigured_acs_entrance_ids: {
865
+ items: {
866
+ format: string;
867
+ type: string;
868
+ };
869
+ type: string;
870
+ };
871
+ warning_code: {
872
+ description: string;
873
+ enum: string[];
874
+ type: string;
875
+ };
876
+ };
877
+ required: string[];
878
+ type: string;
879
+ })[];
847
880
  };
848
881
  type: string;
849
882
  };
@@ -11806,11 +11839,6 @@ declare const _default: {
11806
11839
  items: {
11807
11840
  description: string;
11808
11841
  properties: {
11809
- _event_id: {
11810
- description: string;
11811
- format: string;
11812
- type: string;
11813
- };
11814
11842
  created_at: {
11815
11843
  description: string;
11816
11844
  format: string;
@@ -22437,6 +22465,7 @@ declare const _default: {
22437
22465
  tags: string[];
22438
22466
  'x-fern-ignore': boolean;
22439
22467
  'x-response-key': null;
22468
+ 'x-title': string;
22440
22469
  };
22441
22470
  post: {
22442
22471
  operationId: string;
@@ -22521,6 +22550,7 @@ declare const _default: {
22521
22550
  'x-fern-sdk-group-name': string[];
22522
22551
  'x-fern-sdk-method-name': string;
22523
22552
  'x-response-key': null;
22553
+ 'x-title': string;
22524
22554
  };
22525
22555
  };
22526
22556
  '/webhooks/create': {
@@ -455,6 +455,27 @@ export default {
455
455
  required: ['created_at', 'message', 'warning_code'],
456
456
  type: 'object',
457
457
  },
458
+ {
459
+ description: 'An unknown issue occurred while syncing the state of this credential with the provider. This issue may affect the proper functioning of this credential.',
460
+ properties: {
461
+ created_at: {
462
+ description: 'Date and time at which Seam created the warning.',
463
+ format: 'date-time',
464
+ type: 'string',
465
+ },
466
+ message: {
467
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
468
+ type: 'string',
469
+ },
470
+ warning_code: {
471
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
472
+ enum: ['unknown_issue_with_credential'],
473
+ type: 'string',
474
+ },
475
+ },
476
+ required: ['created_at', 'message', 'warning_code'],
477
+ type: 'object',
478
+ },
458
479
  ],
459
480
  },
460
481
  type: 'array',
@@ -563,6 +584,7 @@ export default {
563
584
  items: { type: 'string' },
564
585
  type: 'array',
565
586
  },
587
+ lease_ids: { items: { type: 'string' }, type: 'array' },
566
588
  },
567
589
  required: ['access_point_name'],
568
590
  type: 'object',
@@ -971,6 +993,10 @@ export default {
971
993
  description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
972
994
  type: 'string',
973
995
  },
996
+ misconfigured_acs_entrance_ids: {
997
+ items: { format: 'uuid', type: 'string' },
998
+ type: 'array',
999
+ },
974
1000
  warning_code: {
975
1001
  description: 'Indicates the ACS system time zone could not be determined because the reported physical location does not match the time zone configured on the physical ACS entrances.',
976
1002
  enum: ['time_zone_does_not_match_location'],
@@ -1268,7 +1294,6 @@ export default {
1268
1294
  'workspace_id',
1269
1295
  'created_at',
1270
1296
  'display_name',
1271
- 'is_suspended',
1272
1297
  'warnings',
1273
1298
  'errors',
1274
1299
  'is_managed',
@@ -1786,6 +1811,31 @@ export default {
1786
1811
  ],
1787
1812
  type: 'object',
1788
1813
  },
1814
+ {
1815
+ description: 'An unknown issue occurred while syncing the state of this credential with the provider. This issue may affect the proper functioning of this credential.',
1816
+ properties: {
1817
+ created_at: {
1818
+ description: 'Date and time at which Seam created the warning.',
1819
+ format: 'date-time',
1820
+ type: 'string',
1821
+ },
1822
+ message: {
1823
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
1824
+ type: 'string',
1825
+ },
1826
+ warning_code: {
1827
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
1828
+ enum: ['unknown_issue_with_credential'],
1829
+ type: 'string',
1830
+ },
1831
+ },
1832
+ required: [
1833
+ 'created_at',
1834
+ 'message',
1835
+ 'warning_code',
1836
+ ],
1837
+ type: 'object',
1838
+ },
1789
1839
  ],
1790
1840
  },
1791
1841
  type: 'array',
@@ -2048,6 +2098,31 @@ export default {
2048
2098
  ],
2049
2099
  type: 'object',
2050
2100
  },
2101
+ {
2102
+ description: 'An unknown issue occurred while syncing the state of this credential with the provider. This issue may affect the proper functioning of this credential.',
2103
+ properties: {
2104
+ created_at: {
2105
+ description: 'Date and time at which Seam created the warning.',
2106
+ format: 'date-time',
2107
+ type: 'string',
2108
+ },
2109
+ message: {
2110
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
2111
+ type: 'string',
2112
+ },
2113
+ warning_code: {
2114
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
2115
+ enum: ['unknown_issue_with_credential'],
2116
+ type: 'string',
2117
+ },
2118
+ },
2119
+ required: [
2120
+ 'created_at',
2121
+ 'message',
2122
+ 'warning_code',
2123
+ ],
2124
+ type: 'object',
2125
+ },
2051
2126
  ],
2052
2127
  },
2053
2128
  type: 'array',
@@ -2441,6 +2516,31 @@ export default {
2441
2516
  ],
2442
2517
  type: 'object',
2443
2518
  },
2519
+ {
2520
+ description: 'An unknown issue occurred while syncing the state of this credential with the provider. This issue may affect the proper functioning of this credential.',
2521
+ properties: {
2522
+ created_at: {
2523
+ description: 'Date and time at which Seam created the warning.',
2524
+ format: 'date-time',
2525
+ type: 'string',
2526
+ },
2527
+ message: {
2528
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
2529
+ type: 'string',
2530
+ },
2531
+ warning_code: {
2532
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
2533
+ enum: ['unknown_issue_with_credential'],
2534
+ type: 'string',
2535
+ },
2536
+ },
2537
+ required: [
2538
+ 'created_at',
2539
+ 'message',
2540
+ 'warning_code',
2541
+ ],
2542
+ type: 'object',
2543
+ },
2444
2544
  ],
2445
2545
  },
2446
2546
  type: 'array',
@@ -2703,6 +2803,31 @@ export default {
2703
2803
  ],
2704
2804
  type: 'object',
2705
2805
  },
2806
+ {
2807
+ description: 'An unknown issue occurred while syncing the state of this credential with the provider. This issue may affect the proper functioning of this credential.',
2808
+ properties: {
2809
+ created_at: {
2810
+ description: 'Date and time at which Seam created the warning.',
2811
+ format: 'date-time',
2812
+ type: 'string',
2813
+ },
2814
+ message: {
2815
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
2816
+ type: 'string',
2817
+ },
2818
+ warning_code: {
2819
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
2820
+ enum: ['unknown_issue_with_credential'],
2821
+ type: 'string',
2822
+ },
2823
+ },
2824
+ required: [
2825
+ 'created_at',
2826
+ 'message',
2827
+ 'warning_code',
2828
+ ],
2829
+ type: 'object',
2830
+ },
2706
2831
  ],
2707
2832
  },
2708
2833
  type: 'array',
@@ -13015,6 +13140,31 @@ export default {
13015
13140
  ],
13016
13141
  type: 'object',
13017
13142
  },
13143
+ {
13144
+ description: 'An unknown issue occurred while syncing the state of this credential with the provider. This issue may affect the proper functioning of this credential.',
13145
+ properties: {
13146
+ created_at: {
13147
+ description: 'Date and time at which Seam created the warning.',
13148
+ format: 'date-time',
13149
+ type: 'string',
13150
+ },
13151
+ message: {
13152
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
13153
+ type: 'string',
13154
+ },
13155
+ warning_code: {
13156
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
13157
+ enum: ['unknown_issue_with_credential'],
13158
+ type: 'string',
13159
+ },
13160
+ },
13161
+ required: [
13162
+ 'created_at',
13163
+ 'message',
13164
+ 'warning_code',
13165
+ ],
13166
+ type: 'object',
13167
+ },
13018
13168
  ],
13019
13169
  },
13020
13170
  type: 'array',
@@ -13374,6 +13524,31 @@ export default {
13374
13524
  ],
13375
13525
  type: 'object',
13376
13526
  },
13527
+ {
13528
+ description: 'An unknown issue occurred while syncing the state of this credential with the provider. This issue may affect the proper functioning of this credential.',
13529
+ properties: {
13530
+ created_at: {
13531
+ description: 'Date and time at which Seam created the warning.',
13532
+ format: 'date-time',
13533
+ type: 'string',
13534
+ },
13535
+ message: {
13536
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
13537
+ type: 'string',
13538
+ },
13539
+ warning_code: {
13540
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
13541
+ enum: ['unknown_issue_with_credential'],
13542
+ type: 'string',
13543
+ },
13544
+ },
13545
+ required: [
13546
+ 'created_at',
13547
+ 'message',
13548
+ 'warning_code',
13549
+ ],
13550
+ type: 'object',
13551
+ },
13377
13552
  ],
13378
13553
  },
13379
13554
  type: 'array',
@@ -13687,11 +13862,6 @@ export default {
13687
13862
  items: {
13688
13863
  description: 'Error associated with the `acs_encoder`.',
13689
13864
  properties: {
13690
- _event_id: {
13691
- description: 'ID of the event that was created when the `acs_encoder` was removed.',
13692
- format: 'uuid',
13693
- type: 'string',
13694
- },
13695
13865
  created_at: {
13696
13866
  description: 'Date and time at which Seam created the error.',
13697
13867
  format: 'date-time',
@@ -13707,12 +13877,7 @@ export default {
13707
13877
  type: 'string',
13708
13878
  },
13709
13879
  },
13710
- required: [
13711
- 'created_at',
13712
- 'message',
13713
- 'error_code',
13714
- '_event_id',
13715
- ],
13880
+ required: ['created_at', 'message', 'error_code'],
13716
13881
  type: 'object',
13717
13882
  },
13718
13883
  type: 'array',
@@ -15385,7 +15550,6 @@ export default {
15385
15550
  'workspace_id',
15386
15551
  'created_at',
15387
15552
  'display_name',
15388
- 'is_suspended',
15389
15553
  'warnings',
15390
15554
  'errors',
15391
15555
  'is_managed',
@@ -15745,7 +15909,6 @@ export default {
15745
15909
  'workspace_id',
15746
15910
  'created_at',
15747
15911
  'display_name',
15748
- 'is_suspended',
15749
15912
  'warnings',
15750
15913
  'errors',
15751
15914
  'is_managed',
@@ -22889,6 +23052,7 @@ export default {
22889
23052
  tags: ['/user_identities'],
22890
23053
  'x-fern-ignore': true,
22891
23054
  'x-response-key': null,
23055
+ 'x-title': 'Update a User Identity',
22892
23056
  },
22893
23057
  post: {
22894
23058
  operationId: 'userIdentitiesUpdatePost',
@@ -22953,6 +23117,7 @@ export default {
22953
23117
  'x-fern-sdk-group-name': ['user_identities'],
22954
23118
  'x-fern-sdk-method-name': 'update',
22955
23119
  'x-response-key': null,
23120
+ 'x-title': 'Update a User Identity',
22956
23121
  },
22957
23122
  },
22958
23123
  '/webhooks/create': {