@seamapi/types 1.319.0 → 1.321.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 (27) hide show
  1. package/dist/connect.cjs +160 -32
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +253 -68
  4. package/lib/seam/connect/models/acs/acs-access-group.d.ts +105 -13
  5. package/lib/seam/connect/models/acs/acs-access-group.js +28 -0
  6. package/lib/seam/connect/models/acs/acs-access-group.js.map +1 -1
  7. package/lib/seam/connect/models/acs/acs-credential.d.ts +14 -0
  8. package/lib/seam/connect/models/acs/acs-credential.js +1 -1
  9. package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
  10. package/lib/seam/connect/models/acs/acs-entrance.d.ts +0 -10
  11. package/lib/seam/connect/models/acs/metadata/dormakaba-community.d.ts +0 -6
  12. package/lib/seam/connect/models/acs/metadata/dormakaba-community.js +0 -2
  13. package/lib/seam/connect/models/acs/metadata/dormakaba-community.js.map +1 -1
  14. package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +45 -8
  15. package/lib/seam/connect/models/connected-accounts/connected-account.js +17 -3
  16. package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
  17. package/lib/seam/connect/openapi.d.ts +103 -20
  18. package/lib/seam/connect/openapi.js +112 -11
  19. package/lib/seam/connect/openapi.js.map +1 -1
  20. package/lib/seam/connect/route-types.d.ts +56 -18
  21. package/package.json +2 -2
  22. package/src/lib/seam/connect/models/acs/acs-access-group.ts +45 -0
  23. package/src/lib/seam/connect/models/acs/acs-credential.ts +1 -1
  24. package/src/lib/seam/connect/models/acs/metadata/dormakaba-community.ts +0 -2
  25. package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +23 -3
  26. package/src/lib/seam/connect/openapi.ts +127 -11
  27. package/src/lib/seam/connect/route-types.ts +77 -22
@@ -221,6 +221,31 @@ declare const _default: {
221
221
  description: string;
222
222
  type: string;
223
223
  };
224
+ warnings: {
225
+ description: string;
226
+ items: {
227
+ description: string;
228
+ properties: {
229
+ created_at: {
230
+ description: string;
231
+ format: string;
232
+ type: string;
233
+ };
234
+ message: {
235
+ description: string;
236
+ type: string;
237
+ };
238
+ warning_code: {
239
+ description: string;
240
+ enum: string[];
241
+ type: string;
242
+ };
243
+ };
244
+ required: string[];
245
+ type: string;
246
+ };
247
+ type: string;
248
+ };
224
249
  workspace_id: {
225
250
  description: string;
226
251
  format: string;
@@ -537,18 +562,6 @@ declare const _default: {
537
562
  format: string;
538
563
  type: string;
539
564
  };
540
- inner_access_points_names: {
541
- items: {
542
- type: string;
543
- };
544
- type: string;
545
- };
546
- lease_ids: {
547
- items: {
548
- type: string;
549
- };
550
- type: string;
551
- };
552
565
  };
553
566
  required: string[];
554
567
  type: string;
@@ -2211,16 +2224,36 @@ declare const _default: {
2211
2224
  };
2212
2225
  warnings: {
2213
2226
  items: {
2214
- properties: {
2215
- message: {
2216
- type: string;
2227
+ description: string;
2228
+ oneOf: ({
2229
+ properties: {
2230
+ message: {
2231
+ type: string;
2232
+ };
2233
+ warning_code: {
2234
+ type: string;
2235
+ description?: never;
2236
+ enum?: never;
2237
+ };
2217
2238
  };
2218
- warning_code: {
2219
- type: string;
2239
+ required: string[];
2240
+ type: string;
2241
+ description?: never;
2242
+ } | {
2243
+ description: string;
2244
+ properties: {
2245
+ message: {
2246
+ type: string;
2247
+ };
2248
+ warning_code: {
2249
+ description: string;
2250
+ enum: string[];
2251
+ type: string;
2252
+ };
2220
2253
  };
2221
- };
2222
- required: string[];
2223
- type: string;
2254
+ required: string[];
2255
+ type: string;
2256
+ })[];
2224
2257
  };
2225
2258
  type: string;
2226
2259
  };
@@ -9705,6 +9738,31 @@ declare const _default: {
9705
9738
  description: string;
9706
9739
  type: string;
9707
9740
  };
9741
+ warnings: {
9742
+ description: string;
9743
+ items: {
9744
+ description: string;
9745
+ properties: {
9746
+ created_at: {
9747
+ description: string;
9748
+ format: string;
9749
+ type: string;
9750
+ };
9751
+ message: {
9752
+ description: string;
9753
+ type: string;
9754
+ };
9755
+ warning_code: {
9756
+ description: string;
9757
+ enum: string[];
9758
+ type: string;
9759
+ };
9760
+ };
9761
+ required: string[];
9762
+ type: string;
9763
+ };
9764
+ type: string;
9765
+ };
9708
9766
  workspace_id: {
9709
9767
  description: string;
9710
9768
  format: string;
@@ -9834,6 +9892,31 @@ declare const _default: {
9834
9892
  description: string;
9835
9893
  type: string;
9836
9894
  };
9895
+ warnings: {
9896
+ description: string;
9897
+ items: {
9898
+ description: string;
9899
+ properties: {
9900
+ created_at: {
9901
+ description: string;
9902
+ format: string;
9903
+ type: string;
9904
+ };
9905
+ message: {
9906
+ description: string;
9907
+ type: string;
9908
+ };
9909
+ warning_code: {
9910
+ description: string;
9911
+ enum: string[];
9912
+ type: string;
9913
+ };
9914
+ };
9915
+ required: string[];
9916
+ type: string;
9917
+ };
9918
+ type: string;
9919
+ };
9837
9920
  workspace_id: {
9838
9921
  description: string;
9839
9922
  format: string;
@@ -179,6 +179,7 @@ export default {
179
179
  'salto_ks_access_group',
180
180
  'brivo_group',
181
181
  'salto_space_group',
182
+ 'dormakaba_community_access_group',
182
183
  ],
183
184
  type: 'string',
184
185
  'x-deprecated': 'Use `external_type`.',
@@ -212,6 +213,7 @@ export default {
212
213
  'salto_ks_access_group',
213
214
  'brivo_group',
214
215
  'salto_space_group',
216
+ 'dormakaba_community_access_group',
215
217
  ],
216
218
  type: 'string',
217
219
  },
@@ -221,6 +223,31 @@ export default {
221
223
  },
222
224
  is_managed: { enum: [true], type: 'boolean' },
223
225
  name: { description: 'Name of the access group.', type: 'string' },
226
+ warnings: {
227
+ description: 'Warnings associated with the `acs_access_group`.',
228
+ items: {
229
+ description: 'Warning associated with the `acs_access_group`.',
230
+ properties: {
231
+ created_at: {
232
+ description: 'Date and time at which Seam created the warning.',
233
+ format: 'date-time',
234
+ type: 'string',
235
+ },
236
+ message: {
237
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
238
+ type: 'string',
239
+ },
240
+ warning_code: {
241
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
242
+ enum: ['unknown_issue_with_acs_access_group'],
243
+ type: 'string',
244
+ },
245
+ },
246
+ required: ['created_at', 'message', 'warning_code'],
247
+ type: 'object',
248
+ },
249
+ type: 'array',
250
+ },
224
251
  workspace_id: {
225
252
  description: 'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the access group.',
226
253
  format: 'uuid',
@@ -238,6 +265,7 @@ export default {
238
265
  'external_type',
239
266
  'external_type_display_name',
240
267
  'created_at',
268
+ 'warnings',
241
269
  'is_managed',
242
270
  ],
243
271
  type: 'object',
@@ -580,11 +608,6 @@ export default {
580
608
  properties: {
581
609
  access_point_name: { type: 'string' },
582
610
  common_area_number: { format: 'float', type: 'number' },
583
- inner_access_points_names: {
584
- items: { type: 'string' },
585
- type: 'array',
586
- },
587
- lease_ids: { items: { type: 'string' }, type: 'array' },
588
611
  },
589
612
  required: ['access_point_name'],
590
613
  type: 'object',
@@ -3919,12 +3942,30 @@ export default {
3919
3942
  },
3920
3943
  warnings: {
3921
3944
  items: {
3922
- properties: {
3923
- message: { type: 'string' },
3924
- warning_code: { type: 'string' },
3925
- },
3926
- required: ['message', 'warning_code'],
3927
- type: 'object',
3945
+ description: 'Warning associated with the `connected_account`.',
3946
+ oneOf: [
3947
+ {
3948
+ properties: {
3949
+ message: { type: 'string' },
3950
+ warning_code: { type: 'string' },
3951
+ },
3952
+ required: ['message', 'warning_code'],
3953
+ type: 'object',
3954
+ },
3955
+ {
3956
+ description: 'An unknown issue occurred while syncing the state of this connected account with the provider. This issue may affect the proper functioning of one or more resources in this account.',
3957
+ properties: {
3958
+ message: { type: 'string' },
3959
+ warning_code: {
3960
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
3961
+ enum: ['unknown_issue_with_connected_account'],
3962
+ type: 'string',
3963
+ },
3964
+ },
3965
+ required: ['message', 'warning_code'],
3966
+ type: 'object',
3967
+ },
3968
+ ],
3928
3969
  },
3929
3970
  type: 'array',
3930
3971
  },
@@ -11797,6 +11838,7 @@ export default {
11797
11838
  'salto_ks_access_group',
11798
11839
  'brivo_group',
11799
11840
  'salto_space_group',
11841
+ 'dormakaba_community_access_group',
11800
11842
  ],
11801
11843
  type: 'string',
11802
11844
  'x-deprecated': 'Use `external_type`.',
@@ -11830,6 +11872,7 @@ export default {
11830
11872
  'salto_ks_access_group',
11831
11873
  'brivo_group',
11832
11874
  'salto_space_group',
11875
+ 'dormakaba_community_access_group',
11833
11876
  ],
11834
11877
  type: 'string',
11835
11878
  },
@@ -11842,6 +11885,31 @@ export default {
11842
11885
  description: 'Name of the access group.',
11843
11886
  type: 'string',
11844
11887
  },
11888
+ warnings: {
11889
+ description: 'Warnings associated with the `acs_access_group`.',
11890
+ items: {
11891
+ description: 'Warning associated with the `acs_access_group`.',
11892
+ properties: {
11893
+ created_at: {
11894
+ description: 'Date and time at which Seam created the warning.',
11895
+ format: 'date-time',
11896
+ type: 'string',
11897
+ },
11898
+ message: {
11899
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
11900
+ type: 'string',
11901
+ },
11902
+ warning_code: {
11903
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
11904
+ enum: ['unknown_issue_with_acs_access_group'],
11905
+ type: 'string',
11906
+ },
11907
+ },
11908
+ required: ['created_at', 'message', 'warning_code'],
11909
+ type: 'object',
11910
+ },
11911
+ type: 'array',
11912
+ },
11845
11913
  workspace_id: {
11846
11914
  description: 'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the access group.',
11847
11915
  format: 'uuid',
@@ -11859,6 +11927,7 @@ export default {
11859
11927
  'external_type',
11860
11928
  'external_type_display_name',
11861
11929
  'created_at',
11930
+ 'warnings',
11862
11931
  'is_managed',
11863
11932
  ],
11864
11933
  type: 'object',
@@ -11931,6 +12000,7 @@ export default {
11931
12000
  'salto_ks_access_group',
11932
12001
  'brivo_group',
11933
12002
  'salto_space_group',
12003
+ 'dormakaba_community_access_group',
11934
12004
  ],
11935
12005
  type: 'string',
11936
12006
  'x-deprecated': 'Use `external_type`.',
@@ -11964,6 +12034,7 @@ export default {
11964
12034
  'salto_ks_access_group',
11965
12035
  'brivo_group',
11966
12036
  'salto_space_group',
12037
+ 'dormakaba_community_access_group',
11967
12038
  ],
11968
12039
  type: 'string',
11969
12040
  },
@@ -11976,6 +12047,35 @@ export default {
11976
12047
  description: 'Name of the access group.',
11977
12048
  type: 'string',
11978
12049
  },
12050
+ warnings: {
12051
+ description: 'Warnings associated with the `acs_access_group`.',
12052
+ items: {
12053
+ description: 'Warning associated with the `acs_access_group`.',
12054
+ properties: {
12055
+ created_at: {
12056
+ description: 'Date and time at which Seam created the warning.',
12057
+ format: 'date-time',
12058
+ type: 'string',
12059
+ },
12060
+ message: {
12061
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
12062
+ type: 'string',
12063
+ },
12064
+ warning_code: {
12065
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
12066
+ enum: ['unknown_issue_with_acs_access_group'],
12067
+ type: 'string',
12068
+ },
12069
+ },
12070
+ required: [
12071
+ 'created_at',
12072
+ 'message',
12073
+ 'warning_code',
12074
+ ],
12075
+ type: 'object',
12076
+ },
12077
+ type: 'array',
12078
+ },
11979
12079
  workspace_id: {
11980
12080
  description: 'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the access group.',
11981
12081
  format: 'uuid',
@@ -11993,6 +12093,7 @@ export default {
11993
12093
  'external_type',
11994
12094
  'external_type_display_name',
11995
12095
  'created_at',
12096
+ 'warnings',
11996
12097
  'is_managed',
11997
12098
  ],
11998
12099
  type: 'object',