@seamapi/types 1.295.0 → 1.297.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
@@ -1253,6 +1253,41 @@ var acs_credential_access_method_type = zod.z.enum([
1253
1253
  "card",
1254
1254
  "mobile_key"
1255
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
+ });
1256
1291
  var common_acs_credential = zod.z.object({
1257
1292
  acs_credential_id: zod.z.string().uuid().describe("ID of the credential."),
1258
1293
  acs_user_id: zod.z.string().uuid().optional().describe("ID of the ACS user to whom the credential belongs."),
@@ -1288,13 +1323,8 @@ var common_acs_credential = zod.z.object({
1288
1323
  error_code: zod.z.string(),
1289
1324
  message: zod.z.string()
1290
1325
  })
1291
- ),
1292
- warnings: zod.z.array(
1293
- zod.z.object({
1294
- warning_code: zod.z.string(),
1295
- message: zod.z.string()
1296
- })
1297
- ),
1326
+ ).describe("Errors associated with the `acs_credential`."),
1327
+ warnings: zod.z.array(acs_credential_warning).describe("Warnings associated with the `acs_credential`."),
1298
1328
  is_multi_phone_sync_credential: zod.z.boolean().optional().describe(
1299
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)."
1300
1330
  ),
@@ -3098,6 +3128,7 @@ var openapi_default = {
3098
3128
  type: "string"
3099
3129
  },
3100
3130
  errors: {
3131
+ description: "Errors associated with the `acs_credential`.",
3101
3132
  items: {
3102
3133
  properties: {
3103
3134
  error_code: { type: "string" },
@@ -3173,13 +3204,95 @@ var openapi_default = {
3173
3204
  type: "object"
3174
3205
  },
3175
3206
  warnings: {
3207
+ description: "Warnings associated with the `acs_credential`.",
3176
3208
  items: {
3177
- properties: {
3178
- message: { type: "string" },
3179
- warning_code: { type: "string" }
3180
- },
3181
- required: ["warning_code", "message"],
3182
- 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
+ ]
3183
3296
  },
3184
3297
  type: "array"
3185
3298
  },
@@ -4248,6 +4361,7 @@ var openapi_default = {
4248
4361
  type: "string"
4249
4362
  },
4250
4363
  errors: {
4364
+ description: "Errors associated with the `acs_credential`.",
4251
4365
  items: {
4252
4366
  properties: {
4253
4367
  error_code: { type: "string" },
@@ -4330,13 +4444,111 @@ var openapi_default = {
4330
4444
  type: "object"
4331
4445
  },
4332
4446
  warnings: {
4447
+ description: "Warnings associated with the `acs_credential`.",
4333
4448
  items: {
4334
- properties: {
4335
- message: { type: "string" },
4336
- warning_code: { type: "string" }
4337
- },
4338
- required: ["warning_code", "message"],
4339
- 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
+ ]
4340
4552
  },
4341
4553
  type: "array"
4342
4554
  },
@@ -4407,6 +4619,7 @@ var openapi_default = {
4407
4619
  type: "string"
4408
4620
  },
4409
4621
  errors: {
4622
+ description: "Errors associated with the `acs_credential`.",
4410
4623
  items: {
4411
4624
  properties: {
4412
4625
  error_code: { type: "string" },
@@ -4489,13 +4702,111 @@ var openapi_default = {
4489
4702
  type: "object"
4490
4703
  },
4491
4704
  warnings: {
4705
+ description: "Warnings associated with the `acs_credential`.",
4492
4706
  items: {
4493
- properties: {
4494
- message: { type: "string" },
4495
- warning_code: { type: "string" }
4496
- },
4497
- required: ["warning_code", "message"],
4498
- 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
+ ]
4499
4810
  },
4500
4811
  type: "array"
4501
4812
  },
@@ -4691,6 +5002,7 @@ var openapi_default = {
4691
5002
  type: "string"
4692
5003
  },
4693
5004
  errors: {
5005
+ description: "Errors associated with the `acs_credential`.",
4694
5006
  items: {
4695
5007
  properties: {
4696
5008
  error_code: { type: "string" },
@@ -4773,13 +5085,111 @@ var openapi_default = {
4773
5085
  type: "object"
4774
5086
  },
4775
5087
  warnings: {
5088
+ description: "Warnings associated with the `acs_credential`.",
4776
5089
  items: {
4777
- properties: {
4778
- message: { type: "string" },
4779
- warning_code: { type: "string" }
4780
- },
4781
- required: ["warning_code", "message"],
4782
- 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
+ ]
4783
5193
  },
4784
5194
  type: "array"
4785
5195
  },
@@ -4850,6 +5260,7 @@ var openapi_default = {
4850
5260
  type: "string"
4851
5261
  },
4852
5262
  errors: {
5263
+ description: "Errors associated with the `acs_credential`.",
4853
5264
  items: {
4854
5265
  properties: {
4855
5266
  error_code: { type: "string" },
@@ -4932,13 +5343,111 @@ var openapi_default = {
4932
5343
  type: "object"
4933
5344
  },
4934
5345
  warnings: {
5346
+ description: "Warnings associated with the `acs_credential`.",
4935
5347
  items: {
4936
- properties: {
4937
- message: { type: "string" },
4938
- warning_code: { type: "string" }
4939
- },
4940
- required: ["warning_code", "message"],
4941
- 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
+ ]
4942
5451
  },
4943
5452
  type: "array"
4944
5453
  },
@@ -11363,6 +11872,7 @@ var openapi_default = {
11363
11872
  type: "string"
11364
11873
  },
11365
11874
  errors: {
11875
+ description: "Errors associated with the `acs_credential`.",
11366
11876
  items: {
11367
11877
  properties: {
11368
11878
  error_code: { type: "string" },
@@ -11445,13 +11955,111 @@ var openapi_default = {
11445
11955
  type: "object"
11446
11956
  },
11447
11957
  warnings: {
11958
+ description: "Warnings associated with the `acs_credential`.",
11448
11959
  items: {
11449
- properties: {
11450
- message: { type: "string" },
11451
- warning_code: { type: "string" }
11452
- },
11453
- required: ["warning_code", "message"],
11454
- 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
+ ]
11455
12063
  },
11456
12064
  type: "array"
11457
12065
  },
@@ -11619,6 +12227,7 @@ var openapi_default = {
11619
12227
  type: "string"
11620
12228
  },
11621
12229
  errors: {
12230
+ description: "Errors associated with the `acs_credential`.",
11622
12231
  items: {
11623
12232
  properties: {
11624
12233
  error_code: { type: "string" },
@@ -11701,13 +12310,111 @@ var openapi_default = {
11701
12310
  type: "object"
11702
12311
  },
11703
12312
  warnings: {
12313
+ description: "Warnings associated with the `acs_credential`.",
11704
12314
  items: {
11705
- properties: {
11706
- message: { type: "string" },
11707
- warning_code: { type: "string" }
11708
- },
11709
- required: ["warning_code", "message"],
11710
- 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
+ ]
11711
12418
  },
11712
12419
  type: "array"
11713
12420
  },
@@ -15240,9 +15947,11 @@ var openapi_default = {
15240
15947
  ],
15241
15948
  summary: "/devices/delete",
15242
15949
  tags: ["/devices"],
15950
+ "x-deprecated": "Deleting a device is no longer supported and will be removed.",
15243
15951
  "x-fern-sdk-group-name": ["devices"],
15244
15952
  "x-fern-sdk-method-name": "delete",
15245
- "x-response-key": null
15953
+ "x-response-key": null,
15954
+ "x-undocumented": "Deleting a device is no longer supported and will be removed."
15246
15955
  }
15247
15956
  },
15248
15957
  "/devices/get": {