@seamapi/types 1.294.1 → 1.296.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.
package/dist/connect.cjs CHANGED
@@ -939,6 +939,7 @@ var DEVICE_PROVIDERS = {
939
939
  GENIE: "genie",
940
940
  DOORKING: "doorking",
941
941
  SALTO: "salto",
942
+ SALTO_KS: "salto_ks",
942
943
  LOCKLY: "lockly",
943
944
  TTLOCK: "ttlock",
944
945
  LINEAR: "linear",
@@ -1019,7 +1020,7 @@ var PROVIDER_CATEGORY_MAP = {
1019
1020
  "visionline",
1020
1021
  "assa_abloy_credential_service",
1021
1022
  "latch",
1022
- "salto"
1023
+ "salto_ks"
1023
1024
  ],
1024
1025
  internal_beta: ALL_DEVICE_PROVIDERS
1025
1026
  };
@@ -1252,6 +1253,41 @@ var acs_credential_access_method_type = zod.z.enum([
1252
1253
  "card",
1253
1254
  "mobile_key"
1254
1255
  ]);
1256
+ var common_acs_credential_warning = zod.z.object({
1257
+ created_at: zod.z.string().datetime().describe("Date and time at which Seam created the warning."),
1258
+ message: zod.z.string().describe(
1259
+ "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it."
1260
+ )
1261
+ });
1262
+ var warning_code_description = "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.";
1263
+ var waiting_to_be_issued = common_acs_credential_warning.extend({
1264
+ warning_code: zod.z.literal("waiting_to_be_issued").describe(warning_code_description)
1265
+ }).describe("Indicates that the credential is waiting to be issued.");
1266
+ var schedule_externally_modified = common_acs_credential_warning.extend({
1267
+ warning_code: zod.z.literal("schedule_externally_modified").describe(warning_code_description)
1268
+ }).describe(
1269
+ "Indicates that the schedule of one of the credential's children was modified externally."
1270
+ );
1271
+ var schedule_modified = common_acs_credential_warning.extend({
1272
+ warning_code: zod.z.literal("schedule_modified").describe(warning_code_description)
1273
+ }).describe(
1274
+ "Indicates that the schedule of this credential was modified to avoid creating a credential with a start date in the past."
1275
+ );
1276
+ var being_deleted = common_acs_credential_warning.extend({
1277
+ warning_code: zod.z.literal("being_deleted").describe(warning_code_description)
1278
+ }).describe("Indicates that this credential is being deleted.");
1279
+ var acs_credential_warning = zod.z.union([
1280
+ waiting_to_be_issued,
1281
+ schedule_externally_modified,
1282
+ schedule_modified,
1283
+ being_deleted
1284
+ ]).describe("Warning associated with the `acs_credential`.");
1285
+ zod.z.object({
1286
+ waiting_to_be_issued: waiting_to_be_issued.optional().nullable(),
1287
+ schedule_externally_modified: schedule_externally_modified.optional().nullable(),
1288
+ schedule_modified: schedule_modified.optional().nullable(),
1289
+ being_deleted: being_deleted.optional().nullable()
1290
+ });
1255
1291
  var common_acs_credential = zod.z.object({
1256
1292
  acs_credential_id: zod.z.string().uuid().describe("ID of the credential."),
1257
1293
  acs_user_id: zod.z.string().uuid().optional().describe("ID of the ACS user to whom the credential belongs."),
@@ -1287,13 +1323,8 @@ var common_acs_credential = zod.z.object({
1287
1323
  error_code: zod.z.string(),
1288
1324
  message: zod.z.string()
1289
1325
  })
1290
- ),
1291
- warnings: zod.z.array(
1292
- zod.z.object({
1293
- warning_code: zod.z.string(),
1294
- message: zod.z.string()
1295
- })
1296
- ),
1326
+ ).describe("Errors associated with the `acs_credential`."),
1327
+ warnings: zod.z.array(acs_credential_warning).describe("Warnings associated with the `acs_credential`."),
1297
1328
  is_multi_phone_sync_credential: zod.z.boolean().optional().describe(
1298
1329
  "Indicates whether the credential is a [multi-phone sync credential](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system#what-are-multi-phone-sync-credentials)."
1299
1330
  ),
@@ -3097,6 +3128,7 @@ var openapi_default = {
3097
3128
  type: "string"
3098
3129
  },
3099
3130
  errors: {
3131
+ description: "Errors associated with the `acs_credential`.",
3100
3132
  items: {
3101
3133
  properties: {
3102
3134
  error_code: { type: "string" },
@@ -3172,13 +3204,95 @@ var openapi_default = {
3172
3204
  type: "object"
3173
3205
  },
3174
3206
  warnings: {
3207
+ description: "Warnings associated with the `acs_credential`.",
3175
3208
  items: {
3176
- properties: {
3177
- message: { type: "string" },
3178
- warning_code: { type: "string" }
3179
- },
3180
- required: ["warning_code", "message"],
3181
- type: "object"
3209
+ description: "Warning associated with the `acs_credential`.",
3210
+ oneOf: [
3211
+ {
3212
+ description: "Indicates that the credential is waiting to be issued.",
3213
+ properties: {
3214
+ created_at: {
3215
+ description: "Date and time at which Seam created the warning.",
3216
+ format: "date-time",
3217
+ type: "string"
3218
+ },
3219
+ message: {
3220
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
3221
+ type: "string"
3222
+ },
3223
+ warning_code: {
3224
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
3225
+ enum: ["waiting_to_be_issued"],
3226
+ type: "string"
3227
+ }
3228
+ },
3229
+ required: ["created_at", "message", "warning_code"],
3230
+ type: "object"
3231
+ },
3232
+ {
3233
+ description: "Indicates that the schedule of one of the credential's children was modified externally.",
3234
+ properties: {
3235
+ created_at: {
3236
+ description: "Date and time at which Seam created the warning.",
3237
+ format: "date-time",
3238
+ type: "string"
3239
+ },
3240
+ message: {
3241
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
3242
+ type: "string"
3243
+ },
3244
+ warning_code: {
3245
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
3246
+ enum: ["schedule_externally_modified"],
3247
+ type: "string"
3248
+ }
3249
+ },
3250
+ required: ["created_at", "message", "warning_code"],
3251
+ type: "object"
3252
+ },
3253
+ {
3254
+ description: "Indicates that the schedule of this credential was modified to avoid creating a credential with a start date in the past.",
3255
+ properties: {
3256
+ created_at: {
3257
+ description: "Date and time at which Seam created the warning.",
3258
+ format: "date-time",
3259
+ type: "string"
3260
+ },
3261
+ message: {
3262
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
3263
+ type: "string"
3264
+ },
3265
+ warning_code: {
3266
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
3267
+ enum: ["schedule_modified"],
3268
+ type: "string"
3269
+ }
3270
+ },
3271
+ required: ["created_at", "message", "warning_code"],
3272
+ type: "object"
3273
+ },
3274
+ {
3275
+ description: "Indicates that this credential is being deleted.",
3276
+ properties: {
3277
+ created_at: {
3278
+ description: "Date and time at which Seam created the warning.",
3279
+ format: "date-time",
3280
+ type: "string"
3281
+ },
3282
+ message: {
3283
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
3284
+ type: "string"
3285
+ },
3286
+ warning_code: {
3287
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
3288
+ enum: ["being_deleted"],
3289
+ type: "string"
3290
+ }
3291
+ },
3292
+ required: ["created_at", "message", "warning_code"],
3293
+ type: "object"
3294
+ }
3295
+ ]
3182
3296
  },
3183
3297
  type: "array"
3184
3298
  },
@@ -4247,6 +4361,7 @@ var openapi_default = {
4247
4361
  type: "string"
4248
4362
  },
4249
4363
  errors: {
4364
+ description: "Errors associated with the `acs_credential`.",
4250
4365
  items: {
4251
4366
  properties: {
4252
4367
  error_code: { type: "string" },
@@ -4329,13 +4444,111 @@ var openapi_default = {
4329
4444
  type: "object"
4330
4445
  },
4331
4446
  warnings: {
4447
+ description: "Warnings associated with the `acs_credential`.",
4332
4448
  items: {
4333
- properties: {
4334
- message: { type: "string" },
4335
- warning_code: { type: "string" }
4336
- },
4337
- required: ["warning_code", "message"],
4338
- type: "object"
4449
+ description: "Warning associated with the `acs_credential`.",
4450
+ oneOf: [
4451
+ {
4452
+ description: "Indicates that the credential is waiting to be issued.",
4453
+ properties: {
4454
+ created_at: {
4455
+ description: "Date and time at which Seam created the warning.",
4456
+ format: "date-time",
4457
+ type: "string"
4458
+ },
4459
+ message: {
4460
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
4461
+ type: "string"
4462
+ },
4463
+ warning_code: {
4464
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
4465
+ enum: ["waiting_to_be_issued"],
4466
+ type: "string"
4467
+ }
4468
+ },
4469
+ required: [
4470
+ "created_at",
4471
+ "message",
4472
+ "warning_code"
4473
+ ],
4474
+ type: "object"
4475
+ },
4476
+ {
4477
+ description: "Indicates that the schedule of one of the credential's children was modified externally.",
4478
+ properties: {
4479
+ created_at: {
4480
+ description: "Date and time at which Seam created the warning.",
4481
+ format: "date-time",
4482
+ type: "string"
4483
+ },
4484
+ message: {
4485
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
4486
+ type: "string"
4487
+ },
4488
+ warning_code: {
4489
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
4490
+ enum: ["schedule_externally_modified"],
4491
+ type: "string"
4492
+ }
4493
+ },
4494
+ required: [
4495
+ "created_at",
4496
+ "message",
4497
+ "warning_code"
4498
+ ],
4499
+ type: "object"
4500
+ },
4501
+ {
4502
+ description: "Indicates that the schedule of this credential was modified to avoid creating a credential with a start date in the past.",
4503
+ properties: {
4504
+ created_at: {
4505
+ description: "Date and time at which Seam created the warning.",
4506
+ format: "date-time",
4507
+ type: "string"
4508
+ },
4509
+ message: {
4510
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
4511
+ type: "string"
4512
+ },
4513
+ warning_code: {
4514
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
4515
+ enum: ["schedule_modified"],
4516
+ type: "string"
4517
+ }
4518
+ },
4519
+ required: [
4520
+ "created_at",
4521
+ "message",
4522
+ "warning_code"
4523
+ ],
4524
+ type: "object"
4525
+ },
4526
+ {
4527
+ description: "Indicates that this credential is being deleted.",
4528
+ properties: {
4529
+ created_at: {
4530
+ description: "Date and time at which Seam created the warning.",
4531
+ format: "date-time",
4532
+ type: "string"
4533
+ },
4534
+ message: {
4535
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
4536
+ type: "string"
4537
+ },
4538
+ warning_code: {
4539
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
4540
+ enum: ["being_deleted"],
4541
+ type: "string"
4542
+ }
4543
+ },
4544
+ required: [
4545
+ "created_at",
4546
+ "message",
4547
+ "warning_code"
4548
+ ],
4549
+ type: "object"
4550
+ }
4551
+ ]
4339
4552
  },
4340
4553
  type: "array"
4341
4554
  },
@@ -4406,6 +4619,7 @@ var openapi_default = {
4406
4619
  type: "string"
4407
4620
  },
4408
4621
  errors: {
4622
+ description: "Errors associated with the `acs_credential`.",
4409
4623
  items: {
4410
4624
  properties: {
4411
4625
  error_code: { type: "string" },
@@ -4488,13 +4702,111 @@ var openapi_default = {
4488
4702
  type: "object"
4489
4703
  },
4490
4704
  warnings: {
4705
+ description: "Warnings associated with the `acs_credential`.",
4491
4706
  items: {
4492
- properties: {
4493
- message: { type: "string" },
4494
- warning_code: { type: "string" }
4495
- },
4496
- required: ["warning_code", "message"],
4497
- type: "object"
4707
+ description: "Warning associated with the `acs_credential`.",
4708
+ oneOf: [
4709
+ {
4710
+ description: "Indicates that the credential is waiting to be issued.",
4711
+ properties: {
4712
+ created_at: {
4713
+ description: "Date and time at which Seam created the warning.",
4714
+ format: "date-time",
4715
+ type: "string"
4716
+ },
4717
+ message: {
4718
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
4719
+ type: "string"
4720
+ },
4721
+ warning_code: {
4722
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
4723
+ enum: ["waiting_to_be_issued"],
4724
+ type: "string"
4725
+ }
4726
+ },
4727
+ required: [
4728
+ "created_at",
4729
+ "message",
4730
+ "warning_code"
4731
+ ],
4732
+ type: "object"
4733
+ },
4734
+ {
4735
+ description: "Indicates that the schedule of one of the credential's children was modified externally.",
4736
+ properties: {
4737
+ created_at: {
4738
+ description: "Date and time at which Seam created the warning.",
4739
+ format: "date-time",
4740
+ type: "string"
4741
+ },
4742
+ message: {
4743
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
4744
+ type: "string"
4745
+ },
4746
+ warning_code: {
4747
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
4748
+ enum: ["schedule_externally_modified"],
4749
+ type: "string"
4750
+ }
4751
+ },
4752
+ required: [
4753
+ "created_at",
4754
+ "message",
4755
+ "warning_code"
4756
+ ],
4757
+ type: "object"
4758
+ },
4759
+ {
4760
+ description: "Indicates that the schedule of this credential was modified to avoid creating a credential with a start date in the past.",
4761
+ properties: {
4762
+ created_at: {
4763
+ description: "Date and time at which Seam created the warning.",
4764
+ format: "date-time",
4765
+ type: "string"
4766
+ },
4767
+ message: {
4768
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
4769
+ type: "string"
4770
+ },
4771
+ warning_code: {
4772
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
4773
+ enum: ["schedule_modified"],
4774
+ type: "string"
4775
+ }
4776
+ },
4777
+ required: [
4778
+ "created_at",
4779
+ "message",
4780
+ "warning_code"
4781
+ ],
4782
+ type: "object"
4783
+ },
4784
+ {
4785
+ description: "Indicates that this credential is being deleted.",
4786
+ properties: {
4787
+ created_at: {
4788
+ description: "Date and time at which Seam created the warning.",
4789
+ format: "date-time",
4790
+ type: "string"
4791
+ },
4792
+ message: {
4793
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
4794
+ type: "string"
4795
+ },
4796
+ warning_code: {
4797
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
4798
+ enum: ["being_deleted"],
4799
+ type: "string"
4800
+ }
4801
+ },
4802
+ required: [
4803
+ "created_at",
4804
+ "message",
4805
+ "warning_code"
4806
+ ],
4807
+ type: "object"
4808
+ }
4809
+ ]
4498
4810
  },
4499
4811
  type: "array"
4500
4812
  },
@@ -4690,6 +5002,7 @@ var openapi_default = {
4690
5002
  type: "string"
4691
5003
  },
4692
5004
  errors: {
5005
+ description: "Errors associated with the `acs_credential`.",
4693
5006
  items: {
4694
5007
  properties: {
4695
5008
  error_code: { type: "string" },
@@ -4772,13 +5085,111 @@ var openapi_default = {
4772
5085
  type: "object"
4773
5086
  },
4774
5087
  warnings: {
5088
+ description: "Warnings associated with the `acs_credential`.",
4775
5089
  items: {
4776
- properties: {
4777
- message: { type: "string" },
4778
- warning_code: { type: "string" }
4779
- },
4780
- required: ["warning_code", "message"],
4781
- type: "object"
5090
+ description: "Warning associated with the `acs_credential`.",
5091
+ oneOf: [
5092
+ {
5093
+ description: "Indicates that the credential is waiting to be issued.",
5094
+ properties: {
5095
+ created_at: {
5096
+ description: "Date and time at which Seam created the warning.",
5097
+ format: "date-time",
5098
+ type: "string"
5099
+ },
5100
+ message: {
5101
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
5102
+ type: "string"
5103
+ },
5104
+ warning_code: {
5105
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
5106
+ enum: ["waiting_to_be_issued"],
5107
+ type: "string"
5108
+ }
5109
+ },
5110
+ required: [
5111
+ "created_at",
5112
+ "message",
5113
+ "warning_code"
5114
+ ],
5115
+ type: "object"
5116
+ },
5117
+ {
5118
+ description: "Indicates that the schedule of one of the credential's children was modified externally.",
5119
+ properties: {
5120
+ created_at: {
5121
+ description: "Date and time at which Seam created the warning.",
5122
+ format: "date-time",
5123
+ type: "string"
5124
+ },
5125
+ message: {
5126
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
5127
+ type: "string"
5128
+ },
5129
+ warning_code: {
5130
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
5131
+ enum: ["schedule_externally_modified"],
5132
+ type: "string"
5133
+ }
5134
+ },
5135
+ required: [
5136
+ "created_at",
5137
+ "message",
5138
+ "warning_code"
5139
+ ],
5140
+ type: "object"
5141
+ },
5142
+ {
5143
+ description: "Indicates that the schedule of this credential was modified to avoid creating a credential with a start date in the past.",
5144
+ properties: {
5145
+ created_at: {
5146
+ description: "Date and time at which Seam created the warning.",
5147
+ format: "date-time",
5148
+ type: "string"
5149
+ },
5150
+ message: {
5151
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
5152
+ type: "string"
5153
+ },
5154
+ warning_code: {
5155
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
5156
+ enum: ["schedule_modified"],
5157
+ type: "string"
5158
+ }
5159
+ },
5160
+ required: [
5161
+ "created_at",
5162
+ "message",
5163
+ "warning_code"
5164
+ ],
5165
+ type: "object"
5166
+ },
5167
+ {
5168
+ description: "Indicates that this credential is being deleted.",
5169
+ properties: {
5170
+ created_at: {
5171
+ description: "Date and time at which Seam created the warning.",
5172
+ format: "date-time",
5173
+ type: "string"
5174
+ },
5175
+ message: {
5176
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
5177
+ type: "string"
5178
+ },
5179
+ warning_code: {
5180
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
5181
+ enum: ["being_deleted"],
5182
+ type: "string"
5183
+ }
5184
+ },
5185
+ required: [
5186
+ "created_at",
5187
+ "message",
5188
+ "warning_code"
5189
+ ],
5190
+ type: "object"
5191
+ }
5192
+ ]
4782
5193
  },
4783
5194
  type: "array"
4784
5195
  },
@@ -4849,6 +5260,7 @@ var openapi_default = {
4849
5260
  type: "string"
4850
5261
  },
4851
5262
  errors: {
5263
+ description: "Errors associated with the `acs_credential`.",
4852
5264
  items: {
4853
5265
  properties: {
4854
5266
  error_code: { type: "string" },
@@ -4931,13 +5343,111 @@ var openapi_default = {
4931
5343
  type: "object"
4932
5344
  },
4933
5345
  warnings: {
5346
+ description: "Warnings associated with the `acs_credential`.",
4934
5347
  items: {
4935
- properties: {
4936
- message: { type: "string" },
4937
- warning_code: { type: "string" }
4938
- },
4939
- required: ["warning_code", "message"],
4940
- type: "object"
5348
+ description: "Warning associated with the `acs_credential`.",
5349
+ oneOf: [
5350
+ {
5351
+ description: "Indicates that the credential is waiting to be issued.",
5352
+ properties: {
5353
+ created_at: {
5354
+ description: "Date and time at which Seam created the warning.",
5355
+ format: "date-time",
5356
+ type: "string"
5357
+ },
5358
+ message: {
5359
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
5360
+ type: "string"
5361
+ },
5362
+ warning_code: {
5363
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
5364
+ enum: ["waiting_to_be_issued"],
5365
+ type: "string"
5366
+ }
5367
+ },
5368
+ required: [
5369
+ "created_at",
5370
+ "message",
5371
+ "warning_code"
5372
+ ],
5373
+ type: "object"
5374
+ },
5375
+ {
5376
+ description: "Indicates that the schedule of one of the credential's children was modified externally.",
5377
+ properties: {
5378
+ created_at: {
5379
+ description: "Date and time at which Seam created the warning.",
5380
+ format: "date-time",
5381
+ type: "string"
5382
+ },
5383
+ message: {
5384
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
5385
+ type: "string"
5386
+ },
5387
+ warning_code: {
5388
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
5389
+ enum: ["schedule_externally_modified"],
5390
+ type: "string"
5391
+ }
5392
+ },
5393
+ required: [
5394
+ "created_at",
5395
+ "message",
5396
+ "warning_code"
5397
+ ],
5398
+ type: "object"
5399
+ },
5400
+ {
5401
+ description: "Indicates that the schedule of this credential was modified to avoid creating a credential with a start date in the past.",
5402
+ properties: {
5403
+ created_at: {
5404
+ description: "Date and time at which Seam created the warning.",
5405
+ format: "date-time",
5406
+ type: "string"
5407
+ },
5408
+ message: {
5409
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
5410
+ type: "string"
5411
+ },
5412
+ warning_code: {
5413
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
5414
+ enum: ["schedule_modified"],
5415
+ type: "string"
5416
+ }
5417
+ },
5418
+ required: [
5419
+ "created_at",
5420
+ "message",
5421
+ "warning_code"
5422
+ ],
5423
+ type: "object"
5424
+ },
5425
+ {
5426
+ description: "Indicates that this credential is being deleted.",
5427
+ properties: {
5428
+ created_at: {
5429
+ description: "Date and time at which Seam created the warning.",
5430
+ format: "date-time",
5431
+ type: "string"
5432
+ },
5433
+ message: {
5434
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
5435
+ type: "string"
5436
+ },
5437
+ warning_code: {
5438
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
5439
+ enum: ["being_deleted"],
5440
+ type: "string"
5441
+ }
5442
+ },
5443
+ required: [
5444
+ "created_at",
5445
+ "message",
5446
+ "warning_code"
5447
+ ],
5448
+ type: "object"
5449
+ }
5450
+ ]
4941
5451
  },
4942
5452
  type: "array"
4943
5453
  },
@@ -7670,6 +8180,7 @@ var openapi_default = {
7670
8180
  "genie",
7671
8181
  "doorking",
7672
8182
  "salto",
8183
+ "salto_ks",
7673
8184
  "lockly",
7674
8185
  "ttlock",
7675
8186
  "linear",
@@ -11361,6 +11872,7 @@ var openapi_default = {
11361
11872
  type: "string"
11362
11873
  },
11363
11874
  errors: {
11875
+ description: "Errors associated with the `acs_credential`.",
11364
11876
  items: {
11365
11877
  properties: {
11366
11878
  error_code: { type: "string" },
@@ -11443,13 +11955,111 @@ var openapi_default = {
11443
11955
  type: "object"
11444
11956
  },
11445
11957
  warnings: {
11958
+ description: "Warnings associated with the `acs_credential`.",
11446
11959
  items: {
11447
- properties: {
11448
- message: { type: "string" },
11449
- warning_code: { type: "string" }
11450
- },
11451
- required: ["warning_code", "message"],
11452
- type: "object"
11960
+ description: "Warning associated with the `acs_credential`.",
11961
+ oneOf: [
11962
+ {
11963
+ description: "Indicates that the credential is waiting to be issued.",
11964
+ properties: {
11965
+ created_at: {
11966
+ description: "Date and time at which Seam created the warning.",
11967
+ format: "date-time",
11968
+ type: "string"
11969
+ },
11970
+ message: {
11971
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
11972
+ type: "string"
11973
+ },
11974
+ warning_code: {
11975
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
11976
+ enum: ["waiting_to_be_issued"],
11977
+ type: "string"
11978
+ }
11979
+ },
11980
+ required: [
11981
+ "created_at",
11982
+ "message",
11983
+ "warning_code"
11984
+ ],
11985
+ type: "object"
11986
+ },
11987
+ {
11988
+ description: "Indicates that the schedule of one of the credential's children was modified externally.",
11989
+ properties: {
11990
+ created_at: {
11991
+ description: "Date and time at which Seam created the warning.",
11992
+ format: "date-time",
11993
+ type: "string"
11994
+ },
11995
+ message: {
11996
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
11997
+ type: "string"
11998
+ },
11999
+ warning_code: {
12000
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
12001
+ enum: ["schedule_externally_modified"],
12002
+ type: "string"
12003
+ }
12004
+ },
12005
+ required: [
12006
+ "created_at",
12007
+ "message",
12008
+ "warning_code"
12009
+ ],
12010
+ type: "object"
12011
+ },
12012
+ {
12013
+ description: "Indicates that the schedule of this credential was modified to avoid creating a credential with a start date in the past.",
12014
+ properties: {
12015
+ created_at: {
12016
+ description: "Date and time at which Seam created the warning.",
12017
+ format: "date-time",
12018
+ type: "string"
12019
+ },
12020
+ message: {
12021
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
12022
+ type: "string"
12023
+ },
12024
+ warning_code: {
12025
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
12026
+ enum: ["schedule_modified"],
12027
+ type: "string"
12028
+ }
12029
+ },
12030
+ required: [
12031
+ "created_at",
12032
+ "message",
12033
+ "warning_code"
12034
+ ],
12035
+ type: "object"
12036
+ },
12037
+ {
12038
+ description: "Indicates that this credential is being deleted.",
12039
+ properties: {
12040
+ created_at: {
12041
+ description: "Date and time at which Seam created the warning.",
12042
+ format: "date-time",
12043
+ type: "string"
12044
+ },
12045
+ message: {
12046
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
12047
+ type: "string"
12048
+ },
12049
+ warning_code: {
12050
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
12051
+ enum: ["being_deleted"],
12052
+ type: "string"
12053
+ }
12054
+ },
12055
+ required: [
12056
+ "created_at",
12057
+ "message",
12058
+ "warning_code"
12059
+ ],
12060
+ type: "object"
12061
+ }
12062
+ ]
11453
12063
  },
11454
12064
  type: "array"
11455
12065
  },
@@ -11617,6 +12227,7 @@ var openapi_default = {
11617
12227
  type: "string"
11618
12228
  },
11619
12229
  errors: {
12230
+ description: "Errors associated with the `acs_credential`.",
11620
12231
  items: {
11621
12232
  properties: {
11622
12233
  error_code: { type: "string" },
@@ -11699,13 +12310,111 @@ var openapi_default = {
11699
12310
  type: "object"
11700
12311
  },
11701
12312
  warnings: {
12313
+ description: "Warnings associated with the `acs_credential`.",
11702
12314
  items: {
11703
- properties: {
11704
- message: { type: "string" },
11705
- warning_code: { type: "string" }
11706
- },
11707
- required: ["warning_code", "message"],
11708
- type: "object"
12315
+ description: "Warning associated with the `acs_credential`.",
12316
+ oneOf: [
12317
+ {
12318
+ description: "Indicates that the credential is waiting to be issued.",
12319
+ properties: {
12320
+ created_at: {
12321
+ description: "Date and time at which Seam created the warning.",
12322
+ format: "date-time",
12323
+ type: "string"
12324
+ },
12325
+ message: {
12326
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
12327
+ type: "string"
12328
+ },
12329
+ warning_code: {
12330
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
12331
+ enum: ["waiting_to_be_issued"],
12332
+ type: "string"
12333
+ }
12334
+ },
12335
+ required: [
12336
+ "created_at",
12337
+ "message",
12338
+ "warning_code"
12339
+ ],
12340
+ type: "object"
12341
+ },
12342
+ {
12343
+ description: "Indicates that the schedule of one of the credential's children was modified externally.",
12344
+ properties: {
12345
+ created_at: {
12346
+ description: "Date and time at which Seam created the warning.",
12347
+ format: "date-time",
12348
+ type: "string"
12349
+ },
12350
+ message: {
12351
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
12352
+ type: "string"
12353
+ },
12354
+ warning_code: {
12355
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
12356
+ enum: ["schedule_externally_modified"],
12357
+ type: "string"
12358
+ }
12359
+ },
12360
+ required: [
12361
+ "created_at",
12362
+ "message",
12363
+ "warning_code"
12364
+ ],
12365
+ type: "object"
12366
+ },
12367
+ {
12368
+ description: "Indicates that the schedule of this credential was modified to avoid creating a credential with a start date in the past.",
12369
+ properties: {
12370
+ created_at: {
12371
+ description: "Date and time at which Seam created the warning.",
12372
+ format: "date-time",
12373
+ type: "string"
12374
+ },
12375
+ message: {
12376
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
12377
+ type: "string"
12378
+ },
12379
+ warning_code: {
12380
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
12381
+ enum: ["schedule_modified"],
12382
+ type: "string"
12383
+ }
12384
+ },
12385
+ required: [
12386
+ "created_at",
12387
+ "message",
12388
+ "warning_code"
12389
+ ],
12390
+ type: "object"
12391
+ },
12392
+ {
12393
+ description: "Indicates that this credential is being deleted.",
12394
+ properties: {
12395
+ created_at: {
12396
+ description: "Date and time at which Seam created the warning.",
12397
+ format: "date-time",
12398
+ type: "string"
12399
+ },
12400
+ message: {
12401
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
12402
+ type: "string"
12403
+ },
12404
+ warning_code: {
12405
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
12406
+ enum: ["being_deleted"],
12407
+ type: "string"
12408
+ }
12409
+ },
12410
+ required: [
12411
+ "created_at",
12412
+ "message",
12413
+ "warning_code"
12414
+ ],
12415
+ type: "object"
12416
+ }
12417
+ ]
11709
12418
  },
11710
12419
  type: "array"
11711
12420
  },
@@ -14708,6 +15417,7 @@ var openapi_default = {
14708
15417
  "genie",
14709
15418
  "doorking",
14710
15419
  "salto",
15420
+ "salto_ks",
14711
15421
  "lockly",
14712
15422
  "ttlock",
14713
15423
  "linear",