@seamapi/types 1.295.0 → 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.
@@ -285,6 +285,7 @@ export default {
285
285
  type: 'string',
286
286
  },
287
287
  errors: {
288
+ description: 'Errors associated with the `acs_credential`.',
288
289
  items: {
289
290
  properties: {
290
291
  error_code: { type: 'string' },
@@ -360,13 +361,95 @@ export default {
360
361
  type: 'object',
361
362
  },
362
363
  warnings: {
364
+ description: 'Warnings associated with the `acs_credential`.',
363
365
  items: {
364
- properties: {
365
- message: { type: 'string' },
366
- warning_code: { type: 'string' },
367
- },
368
- required: ['warning_code', 'message'],
369
- type: 'object',
366
+ description: 'Warning associated with the `acs_credential`.',
367
+ oneOf: [
368
+ {
369
+ description: 'Indicates that the credential is waiting to be issued.',
370
+ properties: {
371
+ created_at: {
372
+ description: 'Date and time at which Seam created the warning.',
373
+ format: 'date-time',
374
+ type: 'string',
375
+ },
376
+ message: {
377
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
378
+ type: 'string',
379
+ },
380
+ warning_code: {
381
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
382
+ enum: ['waiting_to_be_issued'],
383
+ type: 'string',
384
+ },
385
+ },
386
+ required: ['created_at', 'message', 'warning_code'],
387
+ type: 'object',
388
+ },
389
+ {
390
+ description: "Indicates that the schedule of one of the credential's children was modified externally.",
391
+ properties: {
392
+ created_at: {
393
+ description: 'Date and time at which Seam created the warning.',
394
+ format: 'date-time',
395
+ type: 'string',
396
+ },
397
+ message: {
398
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
399
+ type: 'string',
400
+ },
401
+ warning_code: {
402
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
403
+ enum: ['schedule_externally_modified'],
404
+ type: 'string',
405
+ },
406
+ },
407
+ required: ['created_at', 'message', 'warning_code'],
408
+ type: 'object',
409
+ },
410
+ {
411
+ description: 'Indicates that the schedule of this credential was modified to avoid creating a credential with a start date in the past.',
412
+ properties: {
413
+ created_at: {
414
+ description: 'Date and time at which Seam created the warning.',
415
+ format: 'date-time',
416
+ type: 'string',
417
+ },
418
+ message: {
419
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
420
+ type: 'string',
421
+ },
422
+ warning_code: {
423
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
424
+ enum: ['schedule_modified'],
425
+ type: 'string',
426
+ },
427
+ },
428
+ required: ['created_at', 'message', 'warning_code'],
429
+ type: 'object',
430
+ },
431
+ {
432
+ description: 'Indicates that this credential is being deleted.',
433
+ properties: {
434
+ created_at: {
435
+ description: 'Date and time at which Seam created the warning.',
436
+ format: 'date-time',
437
+ type: 'string',
438
+ },
439
+ message: {
440
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
441
+ type: 'string',
442
+ },
443
+ warning_code: {
444
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
445
+ enum: ['being_deleted'],
446
+ type: 'string',
447
+ },
448
+ },
449
+ required: ['created_at', 'message', 'warning_code'],
450
+ type: 'object',
451
+ },
452
+ ],
370
453
  },
371
454
  type: 'array',
372
455
  },
@@ -1435,6 +1518,7 @@ export default {
1435
1518
  type: 'string',
1436
1519
  },
1437
1520
  errors: {
1521
+ description: 'Errors associated with the `acs_credential`.',
1438
1522
  items: {
1439
1523
  properties: {
1440
1524
  error_code: { type: 'string' },
@@ -1517,13 +1601,111 @@ export default {
1517
1601
  type: 'object',
1518
1602
  },
1519
1603
  warnings: {
1604
+ description: 'Warnings associated with the `acs_credential`.',
1520
1605
  items: {
1521
- properties: {
1522
- message: { type: 'string' },
1523
- warning_code: { type: 'string' },
1524
- },
1525
- required: ['warning_code', 'message'],
1526
- type: 'object',
1606
+ description: 'Warning associated with the `acs_credential`.',
1607
+ oneOf: [
1608
+ {
1609
+ description: 'Indicates that the credential is waiting to be issued.',
1610
+ properties: {
1611
+ created_at: {
1612
+ description: 'Date and time at which Seam created the warning.',
1613
+ format: 'date-time',
1614
+ type: 'string',
1615
+ },
1616
+ message: {
1617
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
1618
+ type: 'string',
1619
+ },
1620
+ warning_code: {
1621
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
1622
+ enum: ['waiting_to_be_issued'],
1623
+ type: 'string',
1624
+ },
1625
+ },
1626
+ required: [
1627
+ 'created_at',
1628
+ 'message',
1629
+ 'warning_code',
1630
+ ],
1631
+ type: 'object',
1632
+ },
1633
+ {
1634
+ description: "Indicates that the schedule of one of the credential's children was modified externally.",
1635
+ properties: {
1636
+ created_at: {
1637
+ description: 'Date and time at which Seam created the warning.',
1638
+ format: 'date-time',
1639
+ type: 'string',
1640
+ },
1641
+ message: {
1642
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
1643
+ type: 'string',
1644
+ },
1645
+ warning_code: {
1646
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
1647
+ enum: ['schedule_externally_modified'],
1648
+ type: 'string',
1649
+ },
1650
+ },
1651
+ required: [
1652
+ 'created_at',
1653
+ 'message',
1654
+ 'warning_code',
1655
+ ],
1656
+ type: 'object',
1657
+ },
1658
+ {
1659
+ description: 'Indicates that the schedule of this credential was modified to avoid creating a credential with a start date in the past.',
1660
+ properties: {
1661
+ created_at: {
1662
+ description: 'Date and time at which Seam created the warning.',
1663
+ format: 'date-time',
1664
+ type: 'string',
1665
+ },
1666
+ message: {
1667
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
1668
+ type: 'string',
1669
+ },
1670
+ warning_code: {
1671
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
1672
+ enum: ['schedule_modified'],
1673
+ type: 'string',
1674
+ },
1675
+ },
1676
+ required: [
1677
+ 'created_at',
1678
+ 'message',
1679
+ 'warning_code',
1680
+ ],
1681
+ type: 'object',
1682
+ },
1683
+ {
1684
+ description: 'Indicates that this credential is being deleted.',
1685
+ properties: {
1686
+ created_at: {
1687
+ description: 'Date and time at which Seam created the warning.',
1688
+ format: 'date-time',
1689
+ type: 'string',
1690
+ },
1691
+ message: {
1692
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
1693
+ type: 'string',
1694
+ },
1695
+ warning_code: {
1696
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
1697
+ enum: ['being_deleted'],
1698
+ type: 'string',
1699
+ },
1700
+ },
1701
+ required: [
1702
+ 'created_at',
1703
+ 'message',
1704
+ 'warning_code',
1705
+ ],
1706
+ type: 'object',
1707
+ },
1708
+ ],
1527
1709
  },
1528
1710
  type: 'array',
1529
1711
  },
@@ -1594,6 +1776,7 @@ export default {
1594
1776
  type: 'string',
1595
1777
  },
1596
1778
  errors: {
1779
+ description: 'Errors associated with the `acs_credential`.',
1597
1780
  items: {
1598
1781
  properties: {
1599
1782
  error_code: { type: 'string' },
@@ -1676,13 +1859,111 @@ export default {
1676
1859
  type: 'object',
1677
1860
  },
1678
1861
  warnings: {
1862
+ description: 'Warnings associated with the `acs_credential`.',
1679
1863
  items: {
1680
- properties: {
1681
- message: { type: 'string' },
1682
- warning_code: { type: 'string' },
1683
- },
1684
- required: ['warning_code', 'message'],
1685
- type: 'object',
1864
+ description: 'Warning associated with the `acs_credential`.',
1865
+ oneOf: [
1866
+ {
1867
+ description: 'Indicates that the credential is waiting to be issued.',
1868
+ properties: {
1869
+ created_at: {
1870
+ description: 'Date and time at which Seam created the warning.',
1871
+ format: 'date-time',
1872
+ type: 'string',
1873
+ },
1874
+ message: {
1875
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
1876
+ type: 'string',
1877
+ },
1878
+ warning_code: {
1879
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
1880
+ enum: ['waiting_to_be_issued'],
1881
+ type: 'string',
1882
+ },
1883
+ },
1884
+ required: [
1885
+ 'created_at',
1886
+ 'message',
1887
+ 'warning_code',
1888
+ ],
1889
+ type: 'object',
1890
+ },
1891
+ {
1892
+ description: "Indicates that the schedule of one of the credential's children was modified externally.",
1893
+ properties: {
1894
+ created_at: {
1895
+ description: 'Date and time at which Seam created the warning.',
1896
+ format: 'date-time',
1897
+ type: 'string',
1898
+ },
1899
+ message: {
1900
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
1901
+ type: 'string',
1902
+ },
1903
+ warning_code: {
1904
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
1905
+ enum: ['schedule_externally_modified'],
1906
+ type: 'string',
1907
+ },
1908
+ },
1909
+ required: [
1910
+ 'created_at',
1911
+ 'message',
1912
+ 'warning_code',
1913
+ ],
1914
+ type: 'object',
1915
+ },
1916
+ {
1917
+ description: 'Indicates that the schedule of this credential was modified to avoid creating a credential with a start date in the past.',
1918
+ properties: {
1919
+ created_at: {
1920
+ description: 'Date and time at which Seam created the warning.',
1921
+ format: 'date-time',
1922
+ type: 'string',
1923
+ },
1924
+ message: {
1925
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
1926
+ type: 'string',
1927
+ },
1928
+ warning_code: {
1929
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
1930
+ enum: ['schedule_modified'],
1931
+ type: 'string',
1932
+ },
1933
+ },
1934
+ required: [
1935
+ 'created_at',
1936
+ 'message',
1937
+ 'warning_code',
1938
+ ],
1939
+ type: 'object',
1940
+ },
1941
+ {
1942
+ description: 'Indicates that this credential is being deleted.',
1943
+ properties: {
1944
+ created_at: {
1945
+ description: 'Date and time at which Seam created the warning.',
1946
+ format: 'date-time',
1947
+ type: 'string',
1948
+ },
1949
+ message: {
1950
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
1951
+ type: 'string',
1952
+ },
1953
+ warning_code: {
1954
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
1955
+ enum: ['being_deleted'],
1956
+ type: 'string',
1957
+ },
1958
+ },
1959
+ required: [
1960
+ 'created_at',
1961
+ 'message',
1962
+ 'warning_code',
1963
+ ],
1964
+ type: 'object',
1965
+ },
1966
+ ],
1686
1967
  },
1687
1968
  type: 'array',
1688
1969
  },
@@ -1878,6 +2159,7 @@ export default {
1878
2159
  type: 'string',
1879
2160
  },
1880
2161
  errors: {
2162
+ description: 'Errors associated with the `acs_credential`.',
1881
2163
  items: {
1882
2164
  properties: {
1883
2165
  error_code: { type: 'string' },
@@ -1960,13 +2242,111 @@ export default {
1960
2242
  type: 'object',
1961
2243
  },
1962
2244
  warnings: {
2245
+ description: 'Warnings associated with the `acs_credential`.',
1963
2246
  items: {
1964
- properties: {
1965
- message: { type: 'string' },
1966
- warning_code: { type: 'string' },
1967
- },
1968
- required: ['warning_code', 'message'],
1969
- type: 'object',
2247
+ description: 'Warning associated with the `acs_credential`.',
2248
+ oneOf: [
2249
+ {
2250
+ description: 'Indicates that the credential is waiting to be issued.',
2251
+ properties: {
2252
+ created_at: {
2253
+ description: 'Date and time at which Seam created the warning.',
2254
+ format: 'date-time',
2255
+ type: 'string',
2256
+ },
2257
+ message: {
2258
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
2259
+ type: 'string',
2260
+ },
2261
+ warning_code: {
2262
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
2263
+ enum: ['waiting_to_be_issued'],
2264
+ type: 'string',
2265
+ },
2266
+ },
2267
+ required: [
2268
+ 'created_at',
2269
+ 'message',
2270
+ 'warning_code',
2271
+ ],
2272
+ type: 'object',
2273
+ },
2274
+ {
2275
+ description: "Indicates that the schedule of one of the credential's children was modified externally.",
2276
+ properties: {
2277
+ created_at: {
2278
+ description: 'Date and time at which Seam created the warning.',
2279
+ format: 'date-time',
2280
+ type: 'string',
2281
+ },
2282
+ message: {
2283
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
2284
+ type: 'string',
2285
+ },
2286
+ warning_code: {
2287
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
2288
+ enum: ['schedule_externally_modified'],
2289
+ type: 'string',
2290
+ },
2291
+ },
2292
+ required: [
2293
+ 'created_at',
2294
+ 'message',
2295
+ 'warning_code',
2296
+ ],
2297
+ type: 'object',
2298
+ },
2299
+ {
2300
+ description: 'Indicates that the schedule of this credential was modified to avoid creating a credential with a start date in the past.',
2301
+ properties: {
2302
+ created_at: {
2303
+ description: 'Date and time at which Seam created the warning.',
2304
+ format: 'date-time',
2305
+ type: 'string',
2306
+ },
2307
+ message: {
2308
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
2309
+ type: 'string',
2310
+ },
2311
+ warning_code: {
2312
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
2313
+ enum: ['schedule_modified'],
2314
+ type: 'string',
2315
+ },
2316
+ },
2317
+ required: [
2318
+ 'created_at',
2319
+ 'message',
2320
+ 'warning_code',
2321
+ ],
2322
+ type: 'object',
2323
+ },
2324
+ {
2325
+ description: 'Indicates that this credential is being deleted.',
2326
+ properties: {
2327
+ created_at: {
2328
+ description: 'Date and time at which Seam created the warning.',
2329
+ format: 'date-time',
2330
+ type: 'string',
2331
+ },
2332
+ message: {
2333
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
2334
+ type: 'string',
2335
+ },
2336
+ warning_code: {
2337
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
2338
+ enum: ['being_deleted'],
2339
+ type: 'string',
2340
+ },
2341
+ },
2342
+ required: [
2343
+ 'created_at',
2344
+ 'message',
2345
+ 'warning_code',
2346
+ ],
2347
+ type: 'object',
2348
+ },
2349
+ ],
1970
2350
  },
1971
2351
  type: 'array',
1972
2352
  },
@@ -2037,6 +2417,7 @@ export default {
2037
2417
  type: 'string',
2038
2418
  },
2039
2419
  errors: {
2420
+ description: 'Errors associated with the `acs_credential`.',
2040
2421
  items: {
2041
2422
  properties: {
2042
2423
  error_code: { type: 'string' },
@@ -2119,13 +2500,111 @@ export default {
2119
2500
  type: 'object',
2120
2501
  },
2121
2502
  warnings: {
2503
+ description: 'Warnings associated with the `acs_credential`.',
2122
2504
  items: {
2123
- properties: {
2124
- message: { type: 'string' },
2125
- warning_code: { type: 'string' },
2126
- },
2127
- required: ['warning_code', 'message'],
2128
- type: 'object',
2505
+ description: 'Warning associated with the `acs_credential`.',
2506
+ oneOf: [
2507
+ {
2508
+ description: 'Indicates that the credential is waiting to be issued.',
2509
+ properties: {
2510
+ created_at: {
2511
+ description: 'Date and time at which Seam created the warning.',
2512
+ format: 'date-time',
2513
+ type: 'string',
2514
+ },
2515
+ message: {
2516
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
2517
+ type: 'string',
2518
+ },
2519
+ warning_code: {
2520
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
2521
+ enum: ['waiting_to_be_issued'],
2522
+ type: 'string',
2523
+ },
2524
+ },
2525
+ required: [
2526
+ 'created_at',
2527
+ 'message',
2528
+ 'warning_code',
2529
+ ],
2530
+ type: 'object',
2531
+ },
2532
+ {
2533
+ description: "Indicates that the schedule of one of the credential's children was modified externally.",
2534
+ properties: {
2535
+ created_at: {
2536
+ description: 'Date and time at which Seam created the warning.',
2537
+ format: 'date-time',
2538
+ type: 'string',
2539
+ },
2540
+ message: {
2541
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
2542
+ type: 'string',
2543
+ },
2544
+ warning_code: {
2545
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
2546
+ enum: ['schedule_externally_modified'],
2547
+ type: 'string',
2548
+ },
2549
+ },
2550
+ required: [
2551
+ 'created_at',
2552
+ 'message',
2553
+ 'warning_code',
2554
+ ],
2555
+ type: 'object',
2556
+ },
2557
+ {
2558
+ description: 'Indicates that the schedule of this credential was modified to avoid creating a credential with a start date in the past.',
2559
+ properties: {
2560
+ created_at: {
2561
+ description: 'Date and time at which Seam created the warning.',
2562
+ format: 'date-time',
2563
+ type: 'string',
2564
+ },
2565
+ message: {
2566
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
2567
+ type: 'string',
2568
+ },
2569
+ warning_code: {
2570
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
2571
+ enum: ['schedule_modified'],
2572
+ type: 'string',
2573
+ },
2574
+ },
2575
+ required: [
2576
+ 'created_at',
2577
+ 'message',
2578
+ 'warning_code',
2579
+ ],
2580
+ type: 'object',
2581
+ },
2582
+ {
2583
+ description: 'Indicates that this credential is being deleted.',
2584
+ properties: {
2585
+ created_at: {
2586
+ description: 'Date and time at which Seam created the warning.',
2587
+ format: 'date-time',
2588
+ type: 'string',
2589
+ },
2590
+ message: {
2591
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
2592
+ type: 'string',
2593
+ },
2594
+ warning_code: {
2595
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
2596
+ enum: ['being_deleted'],
2597
+ type: 'string',
2598
+ },
2599
+ },
2600
+ required: [
2601
+ 'created_at',
2602
+ 'message',
2603
+ 'warning_code',
2604
+ ],
2605
+ type: 'object',
2606
+ },
2607
+ ],
2129
2608
  },
2130
2609
  type: 'array',
2131
2610
  },
@@ -8550,6 +9029,7 @@ export default {
8550
9029
  type: 'string',
8551
9030
  },
8552
9031
  errors: {
9032
+ description: 'Errors associated with the `acs_credential`.',
8553
9033
  items: {
8554
9034
  properties: {
8555
9035
  error_code: { type: 'string' },
@@ -8632,13 +9112,111 @@ export default {
8632
9112
  type: 'object',
8633
9113
  },
8634
9114
  warnings: {
9115
+ description: 'Warnings associated with the `acs_credential`.',
8635
9116
  items: {
8636
- properties: {
8637
- message: { type: 'string' },
8638
- warning_code: { type: 'string' },
8639
- },
8640
- required: ['warning_code', 'message'],
8641
- type: 'object',
9117
+ description: 'Warning associated with the `acs_credential`.',
9118
+ oneOf: [
9119
+ {
9120
+ description: 'Indicates that the credential is waiting to be issued.',
9121
+ properties: {
9122
+ created_at: {
9123
+ description: 'Date and time at which Seam created the warning.',
9124
+ format: 'date-time',
9125
+ type: 'string',
9126
+ },
9127
+ message: {
9128
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
9129
+ type: 'string',
9130
+ },
9131
+ warning_code: {
9132
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
9133
+ enum: ['waiting_to_be_issued'],
9134
+ type: 'string',
9135
+ },
9136
+ },
9137
+ required: [
9138
+ 'created_at',
9139
+ 'message',
9140
+ 'warning_code',
9141
+ ],
9142
+ type: 'object',
9143
+ },
9144
+ {
9145
+ description: "Indicates that the schedule of one of the credential's children was modified externally.",
9146
+ properties: {
9147
+ created_at: {
9148
+ description: 'Date and time at which Seam created the warning.',
9149
+ format: 'date-time',
9150
+ type: 'string',
9151
+ },
9152
+ message: {
9153
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
9154
+ type: 'string',
9155
+ },
9156
+ warning_code: {
9157
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
9158
+ enum: ['schedule_externally_modified'],
9159
+ type: 'string',
9160
+ },
9161
+ },
9162
+ required: [
9163
+ 'created_at',
9164
+ 'message',
9165
+ 'warning_code',
9166
+ ],
9167
+ type: 'object',
9168
+ },
9169
+ {
9170
+ description: 'Indicates that the schedule of this credential was modified to avoid creating a credential with a start date in the past.',
9171
+ properties: {
9172
+ created_at: {
9173
+ description: 'Date and time at which Seam created the warning.',
9174
+ format: 'date-time',
9175
+ type: 'string',
9176
+ },
9177
+ message: {
9178
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
9179
+ type: 'string',
9180
+ },
9181
+ warning_code: {
9182
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
9183
+ enum: ['schedule_modified'],
9184
+ type: 'string',
9185
+ },
9186
+ },
9187
+ required: [
9188
+ 'created_at',
9189
+ 'message',
9190
+ 'warning_code',
9191
+ ],
9192
+ type: 'object',
9193
+ },
9194
+ {
9195
+ description: 'Indicates that this credential is being deleted.',
9196
+ properties: {
9197
+ created_at: {
9198
+ description: 'Date and time at which Seam created the warning.',
9199
+ format: 'date-time',
9200
+ type: 'string',
9201
+ },
9202
+ message: {
9203
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
9204
+ type: 'string',
9205
+ },
9206
+ warning_code: {
9207
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
9208
+ enum: ['being_deleted'],
9209
+ type: 'string',
9210
+ },
9211
+ },
9212
+ required: [
9213
+ 'created_at',
9214
+ 'message',
9215
+ 'warning_code',
9216
+ ],
9217
+ type: 'object',
9218
+ },
9219
+ ],
8642
9220
  },
8643
9221
  type: 'array',
8644
9222
  },
@@ -8806,6 +9384,7 @@ export default {
8806
9384
  type: 'string',
8807
9385
  },
8808
9386
  errors: {
9387
+ description: 'Errors associated with the `acs_credential`.',
8809
9388
  items: {
8810
9389
  properties: {
8811
9390
  error_code: { type: 'string' },
@@ -8888,13 +9467,111 @@ export default {
8888
9467
  type: 'object',
8889
9468
  },
8890
9469
  warnings: {
9470
+ description: 'Warnings associated with the `acs_credential`.',
8891
9471
  items: {
8892
- properties: {
8893
- message: { type: 'string' },
8894
- warning_code: { type: 'string' },
8895
- },
8896
- required: ['warning_code', 'message'],
8897
- type: 'object',
9472
+ description: 'Warning associated with the `acs_credential`.',
9473
+ oneOf: [
9474
+ {
9475
+ description: 'Indicates that the credential is waiting to be issued.',
9476
+ properties: {
9477
+ created_at: {
9478
+ description: 'Date and time at which Seam created the warning.',
9479
+ format: 'date-time',
9480
+ type: 'string',
9481
+ },
9482
+ message: {
9483
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
9484
+ type: 'string',
9485
+ },
9486
+ warning_code: {
9487
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
9488
+ enum: ['waiting_to_be_issued'],
9489
+ type: 'string',
9490
+ },
9491
+ },
9492
+ required: [
9493
+ 'created_at',
9494
+ 'message',
9495
+ 'warning_code',
9496
+ ],
9497
+ type: 'object',
9498
+ },
9499
+ {
9500
+ description: "Indicates that the schedule of one of the credential's children was modified externally.",
9501
+ properties: {
9502
+ created_at: {
9503
+ description: 'Date and time at which Seam created the warning.',
9504
+ format: 'date-time',
9505
+ type: 'string',
9506
+ },
9507
+ message: {
9508
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
9509
+ type: 'string',
9510
+ },
9511
+ warning_code: {
9512
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
9513
+ enum: ['schedule_externally_modified'],
9514
+ type: 'string',
9515
+ },
9516
+ },
9517
+ required: [
9518
+ 'created_at',
9519
+ 'message',
9520
+ 'warning_code',
9521
+ ],
9522
+ type: 'object',
9523
+ },
9524
+ {
9525
+ description: 'Indicates that the schedule of this credential was modified to avoid creating a credential with a start date in the past.',
9526
+ properties: {
9527
+ created_at: {
9528
+ description: 'Date and time at which Seam created the warning.',
9529
+ format: 'date-time',
9530
+ type: 'string',
9531
+ },
9532
+ message: {
9533
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
9534
+ type: 'string',
9535
+ },
9536
+ warning_code: {
9537
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
9538
+ enum: ['schedule_modified'],
9539
+ type: 'string',
9540
+ },
9541
+ },
9542
+ required: [
9543
+ 'created_at',
9544
+ 'message',
9545
+ 'warning_code',
9546
+ ],
9547
+ type: 'object',
9548
+ },
9549
+ {
9550
+ description: 'Indicates that this credential is being deleted.',
9551
+ properties: {
9552
+ created_at: {
9553
+ description: 'Date and time at which Seam created the warning.',
9554
+ format: 'date-time',
9555
+ type: 'string',
9556
+ },
9557
+ message: {
9558
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
9559
+ type: 'string',
9560
+ },
9561
+ warning_code: {
9562
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
9563
+ enum: ['being_deleted'],
9564
+ type: 'string',
9565
+ },
9566
+ },
9567
+ required: [
9568
+ 'created_at',
9569
+ 'message',
9570
+ 'warning_code',
9571
+ ],
9572
+ type: 'object',
9573
+ },
9574
+ ],
8898
9575
  },
8899
9576
  type: 'array',
8900
9577
  },