@deadair/sdk 0.42.0 → 0.44.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/index.js CHANGED
@@ -1192,6 +1192,40 @@ var CatalogClient = class {
1192
1192
  });
1193
1193
  return await parseJson(result);
1194
1194
  }
1195
+ /**
1196
+ * @name Get vocal markers
1197
+ * @description Where the singing starts and stops on one record, from an operator's correction or its timed lyrics
1198
+ */
1199
+ async getVocalMarkers(id) {
1200
+ const result = await this.fetch(`/catalog/tracks/${encodeURIComponent(id)}/vocal-markers`, {
1201
+ method: "GET"
1202
+ });
1203
+ return await parseJson(result);
1204
+ }
1205
+ /**
1206
+ * @name Set vocal markers
1207
+ * @description Correct where the singing starts and stops, over whatever the lyrics say
1208
+ */
1209
+ async setVocalMarkers(id, body) {
1210
+ const result = await this.fetch(`/catalog/tracks/${encodeURIComponent(id)}/vocal-markers`, {
1211
+ method: "PUT",
1212
+ headers: {
1213
+ "Content-Type": "application/json"
1214
+ },
1215
+ body: JSON.stringify(body, bigIntReplacer)
1216
+ });
1217
+ return await parseJson(result);
1218
+ }
1219
+ /**
1220
+ * @name Clear vocal markers
1221
+ * @description Drop the correction, so the record's timed lyrics decide again
1222
+ */
1223
+ async clearVocalMarkers(id) {
1224
+ const result = await this.fetch(`/catalog/tracks/${encodeURIComponent(id)}/vocal-markers`, {
1225
+ method: "DELETE"
1226
+ });
1227
+ return await parseJson(result);
1228
+ }
1195
1229
  /**
1196
1230
  * @name Retry track audio
1197
1231
  * @description Try this record's copies again now, rather than when the backoff says
@@ -1292,6 +1326,50 @@ var ChartsClient = class {
1292
1326
  }
1293
1327
  };
1294
1328
 
1329
+ // src/director/types/rules.types.ts
1330
+ import { DateTime as DateTime5 } from "luxon";
1331
+ var __dt5 = /* @__PURE__ */ __name((v, path) => {
1332
+ if (typeof v !== "string") {
1333
+ throw new TypeError(`ContractKit: expected an ISO 8601 string at '${path}', received ${typeof v}.`);
1334
+ }
1335
+ const d = DateTime5.fromISO(v);
1336
+ if (!d.isValid) throw new TypeError(`ContractKit: '${v}' at '${path}' is not a valid ISO 8601 datetime.`);
1337
+ return d;
1338
+ }, "__dt");
1339
+ function reviveBlockRule(raw) {
1340
+ const __o0 = raw;
1341
+ if (__o0["endsAt"] != null) {
1342
+ __o0["endsAt"] = __dt5(__o0["endsAt"], "BlockRule.endsAt");
1343
+ }
1344
+ return raw;
1345
+ }
1346
+ __name(reviveBlockRule, "reviveBlockRule");
1347
+ function reviveGenreSteer(raw) {
1348
+ const __o0 = raw;
1349
+ __o0["endsAt"] = __dt5(__o0["endsAt"], "GenreSteer.endsAt");
1350
+ return raw;
1351
+ }
1352
+ __name(reviveGenreSteer, "reviveGenreSteer");
1353
+ function reviveBlockRuleList(raw) {
1354
+ const __o0 = raw;
1355
+ {
1356
+ const __a1 = __o0["rules"];
1357
+ for (let __i2 = 0; __i2 < __a1.length; __i2++) {
1358
+ reviveBlockRule(__a1[__i2]);
1359
+ }
1360
+ }
1361
+ return raw;
1362
+ }
1363
+ __name(reviveBlockRuleList, "reviveBlockRuleList");
1364
+ function reviveGenreSteerReading(raw) {
1365
+ const __o0 = raw;
1366
+ if (__o0["steer"] != null) {
1367
+ reviveGenreSteer(__o0["steer"]);
1368
+ }
1369
+ return raw;
1370
+ }
1371
+ __name(reviveGenreSteerReading, "reviveGenreSteerReading");
1372
+
1295
1373
  // src/director/director.client.ts
1296
1374
  var DirectorClient = class {
1297
1375
  static {
@@ -1533,21 +1611,103 @@ var DirectorClient = class {
1533
1611
  });
1534
1612
  return await parseJson(result);
1535
1613
  }
1614
+ /**
1615
+ * @name List never-play rules
1616
+ * @description Every never-play rule on this station, newest first, each saying whether it holds right now
1617
+ */
1618
+ async listNeverPlayRules() {
1619
+ const result = await this.fetch(`/rules`, {
1620
+ method: "GET"
1621
+ });
1622
+ return reviveBlockRuleList(await parseJson(result));
1623
+ }
1624
+ /**
1625
+ * @name Add a never-play rule
1626
+ * @description Adds a rule. It holds from the next record the station chooses
1627
+ */
1628
+ async addANeverPlayRule(body) {
1629
+ const result = await this.fetch(`/rules`, {
1630
+ method: "POST",
1631
+ headers: {
1632
+ "Content-Type": "application/json"
1633
+ },
1634
+ body: JSON.stringify(body, bigIntReplacer)
1635
+ });
1636
+ return reviveBlockRuleList(await parseJson(result));
1637
+ }
1638
+ /**
1639
+ * @name Read the genre steer
1640
+ * @description The lean in force, if any
1641
+ */
1642
+ async readTheGenreSteer() {
1643
+ const result = await this.fetch(`/rules/steer`, {
1644
+ method: "GET"
1645
+ });
1646
+ return reviveGenreSteerReading(await parseJson(result));
1647
+ }
1648
+ /**
1649
+ * @name Steer toward genres
1650
+ * @description Leans the station toward some genres for a number of hours, replacing any lean already in force
1651
+ */
1652
+ async steerTowardGenres(body) {
1653
+ const result = await this.fetch(`/rules/steer`, {
1654
+ method: "PUT",
1655
+ headers: {
1656
+ "Content-Type": "application/json"
1657
+ },
1658
+ body: JSON.stringify(body, bigIntReplacer)
1659
+ });
1660
+ return reviveGenreSteerReading(await parseJson(result));
1661
+ }
1662
+ /**
1663
+ * @name Stop steering
1664
+ * @description Ends the lean now
1665
+ */
1666
+ async stopSteering() {
1667
+ const result = await this.fetch(`/rules/steer`, {
1668
+ method: "DELETE"
1669
+ });
1670
+ return reviveGenreSteerReading(await parseJson(result));
1671
+ }
1672
+ /**
1673
+ * @name Change a never-play rule
1674
+ * @description Replaces a rule
1675
+ */
1676
+ async changeANeverPlayRule(id, body) {
1677
+ const result = await this.fetch(`/rules/${encodeURIComponent(id)}`, {
1678
+ method: "PUT",
1679
+ headers: {
1680
+ "Content-Type": "application/json"
1681
+ },
1682
+ body: JSON.stringify(body, bigIntReplacer)
1683
+ });
1684
+ return reviveBlockRuleList(await parseJson(result));
1685
+ }
1686
+ /**
1687
+ * @name Remove a never-play rule
1688
+ * @description Removes a rule
1689
+ */
1690
+ async removeANeverPlayRule(id) {
1691
+ const result = await this.fetch(`/rules/${encodeURIComponent(id)}`, {
1692
+ method: "DELETE"
1693
+ });
1694
+ return reviveBlockRuleList(await parseJson(result));
1695
+ }
1536
1696
  };
1537
1697
 
1538
1698
  // src/history/types/history.types.ts
1539
- import { DateTime as DateTime5 } from "luxon";
1540
- var __dt5 = /* @__PURE__ */ __name((v, path) => {
1699
+ import { DateTime as DateTime6 } from "luxon";
1700
+ var __dt6 = /* @__PURE__ */ __name((v, path) => {
1541
1701
  if (typeof v !== "string") {
1542
1702
  throw new TypeError(`ContractKit: expected an ISO 8601 string at '${path}', received ${typeof v}.`);
1543
1703
  }
1544
- const d = DateTime5.fromISO(v);
1704
+ const d = DateTime6.fromISO(v);
1545
1705
  if (!d.isValid) throw new TypeError(`ContractKit: '${v}' at '${path}' is not a valid ISO 8601 datetime.`);
1546
1706
  return d;
1547
1707
  }, "__dt");
1548
1708
  function reviveHistoryEntry(raw) {
1549
1709
  const __o0 = raw;
1550
- __o0["airedAt"] = __dt5(__o0["airedAt"], "HistoryEntry.airedAt");
1710
+ __o0["airedAt"] = __dt6(__o0["airedAt"], "HistoryEntry.airedAt");
1551
1711
  return raw;
1552
1712
  }
1553
1713
  __name(reviveHistoryEntry, "reviveHistoryEntry");
@@ -1586,18 +1746,18 @@ var HistoryClient = class {
1586
1746
  };
1587
1747
 
1588
1748
  // src/languages/types/languages.types.ts
1589
- import { DateTime as DateTime6 } from "luxon";
1590
- var __dt6 = /* @__PURE__ */ __name((v, path) => {
1749
+ import { DateTime as DateTime7 } from "luxon";
1750
+ var __dt7 = /* @__PURE__ */ __name((v, path) => {
1591
1751
  if (typeof v !== "string") {
1592
1752
  throw new TypeError(`ContractKit: expected an ISO 8601 string at '${path}', received ${typeof v}.`);
1593
1753
  }
1594
- const d = DateTime6.fromISO(v);
1754
+ const d = DateTime7.fromISO(v);
1595
1755
  if (!d.isValid) throw new TypeError(`ContractKit: '${v}' at '${path}' is not a valid ISO 8601 datetime.`);
1596
1756
  return d;
1597
1757
  }, "__dt");
1598
1758
  function reviveConsoleLanguage(raw) {
1599
1759
  const __o0 = raw;
1600
- __o0["importedAt"] = __dt6(__o0["importedAt"], "ConsoleLanguage.importedAt");
1760
+ __o0["importedAt"] = __dt7(__o0["importedAt"], "ConsoleLanguage.importedAt");
1601
1761
  return raw;
1602
1762
  }
1603
1763
  __name(reviveConsoleLanguage, "reviveConsoleLanguage");
@@ -1693,24 +1853,24 @@ var LanguagesClient = class {
1693
1853
  };
1694
1854
 
1695
1855
  // src/messaging/types/messaging.types.ts
1696
- import { DateTime as DateTime7 } from "luxon";
1697
- var __dt7 = /* @__PURE__ */ __name((v, path) => {
1856
+ import { DateTime as DateTime8 } from "luxon";
1857
+ var __dt8 = /* @__PURE__ */ __name((v, path) => {
1698
1858
  if (typeof v !== "string") {
1699
1859
  throw new TypeError(`ContractKit: expected an ISO 8601 string at '${path}', received ${typeof v}.`);
1700
1860
  }
1701
- const d = DateTime7.fromISO(v);
1861
+ const d = DateTime8.fromISO(v);
1702
1862
  if (!d.isValid) throw new TypeError(`ContractKit: '${v}' at '${path}' is not a valid ISO 8601 datetime.`);
1703
1863
  return d;
1704
1864
  }, "__dt");
1705
1865
  function reviveMessagingLinkCode(raw) {
1706
1866
  const __o0 = raw;
1707
- __o0["expiresAt"] = __dt7(__o0["expiresAt"], "MessagingLinkCode.expiresAt");
1867
+ __o0["expiresAt"] = __dt8(__o0["expiresAt"], "MessagingLinkCode.expiresAt");
1708
1868
  return raw;
1709
1869
  }
1710
1870
  __name(reviveMessagingLinkCode, "reviveMessagingLinkCode");
1711
1871
  function reviveMessagingLink(raw) {
1712
1872
  const __o0 = raw;
1713
- __o0["createdAt"] = __dt7(__o0["createdAt"], "MessagingLink.createdAt");
1873
+ __o0["createdAt"] = __dt8(__o0["createdAt"], "MessagingLink.createdAt");
1714
1874
  return raw;
1715
1875
  }
1716
1876
  __name(reviveMessagingLink, "reviveMessagingLink");
@@ -1871,32 +2031,32 @@ var NowplayingClient = class {
1871
2031
  };
1872
2032
 
1873
2033
  // src/oauth/types/oauth.types.ts
1874
- import { DateTime as DateTime8 } from "luxon";
1875
- var __dt8 = /* @__PURE__ */ __name((v, path) => {
2034
+ import { DateTime as DateTime9 } from "luxon";
2035
+ var __dt9 = /* @__PURE__ */ __name((v, path) => {
1876
2036
  if (typeof v !== "string") {
1877
2037
  throw new TypeError(`ContractKit: expected an ISO 8601 string at '${path}', received ${typeof v}.`);
1878
2038
  }
1879
- const d = DateTime8.fromISO(v);
2039
+ const d = DateTime9.fromISO(v);
1880
2040
  if (!d.isValid) throw new TypeError(`ContractKit: '${v}' at '${path}' is not a valid ISO 8601 datetime.`);
1881
2041
  return d;
1882
2042
  }, "__dt");
1883
2043
  function reviveOAuthGrant(raw) {
1884
2044
  const __o0 = raw;
1885
- __o0["createdAt"] = __dt8(__o0["createdAt"], "OAuthGrant.createdAt");
2045
+ __o0["createdAt"] = __dt9(__o0["createdAt"], "OAuthGrant.createdAt");
1886
2046
  if (__o0["lastUsedAt"] != null) {
1887
- __o0["lastUsedAt"] = __dt8(__o0["lastUsedAt"], "OAuthGrant.lastUsedAt");
2047
+ __o0["lastUsedAt"] = __dt9(__o0["lastUsedAt"], "OAuthGrant.lastUsedAt");
1888
2048
  }
1889
2049
  return raw;
1890
2050
  }
1891
2051
  __name(reviveOAuthGrant, "reviveOAuthGrant");
1892
2052
  function reviveOAuthClientSummary(raw) {
1893
2053
  const __o0 = raw;
1894
- __o0["createdAt"] = __dt8(__o0["createdAt"], "OAuthClientSummary.createdAt");
2054
+ __o0["createdAt"] = __dt9(__o0["createdAt"], "OAuthClientSummary.createdAt");
1895
2055
  if (__o0["lastUsedAt"] != null) {
1896
- __o0["lastUsedAt"] = __dt8(__o0["lastUsedAt"], "OAuthClientSummary.lastUsedAt");
2056
+ __o0["lastUsedAt"] = __dt9(__o0["lastUsedAt"], "OAuthClientSummary.lastUsedAt");
1897
2057
  }
1898
2058
  if (__o0["expiresAt"] != null) {
1899
- __o0["expiresAt"] = __dt8(__o0["expiresAt"], "OAuthClientSummary.expiresAt");
2059
+ __o0["expiresAt"] = __dt9(__o0["expiresAt"], "OAuthClientSummary.expiresAt");
1900
2060
  }
1901
2061
  return raw;
1902
2062
  }
@@ -2065,18 +2225,18 @@ var OnboardingClient = class {
2065
2225
  };
2066
2226
 
2067
2227
  // src/outputs/types/outputs.types.ts
2068
- import { DateTime as DateTime9 } from "luxon";
2069
- var __dt9 = /* @__PURE__ */ __name((v, path) => {
2228
+ import { DateTime as DateTime10 } from "luxon";
2229
+ var __dt10 = /* @__PURE__ */ __name((v, path) => {
2070
2230
  if (typeof v !== "string") {
2071
2231
  throw new TypeError(`ContractKit: expected an ISO 8601 string at '${path}', received ${typeof v}.`);
2072
2232
  }
2073
- const d = DateTime9.fromISO(v);
2233
+ const d = DateTime10.fromISO(v);
2074
2234
  if (!d.isValid) throw new TypeError(`ContractKit: '${v}' at '${path}' is not a valid ISO 8601 datetime.`);
2075
2235
  return d;
2076
2236
  }, "__dt");
2077
2237
  function reviveOutputCast(raw) {
2078
2238
  const __o0 = raw;
2079
- __o0["startedAt"] = __dt9(__o0["startedAt"], "OutputCast.startedAt");
2239
+ __o0["startedAt"] = __dt10(__o0["startedAt"], "OutputCast.startedAt");
2080
2240
  return raw;
2081
2241
  }
2082
2242
  __name(reviveOutputCast, "reviveOutputCast");
@@ -2617,18 +2777,18 @@ var PersonasClient = class {
2617
2777
  };
2618
2778
 
2619
2779
  // src/playlists/types/playlists.types.ts
2620
- import { DateTime as DateTime10 } from "luxon";
2621
- var __dt10 = /* @__PURE__ */ __name((v, path) => {
2780
+ import { DateTime as DateTime11 } from "luxon";
2781
+ var __dt11 = /* @__PURE__ */ __name((v, path) => {
2622
2782
  if (typeof v !== "string") {
2623
2783
  throw new TypeError(`ContractKit: expected an ISO 8601 string at '${path}', received ${typeof v}.`);
2624
2784
  }
2625
- const d = DateTime10.fromISO(v);
2785
+ const d = DateTime11.fromISO(v);
2626
2786
  if (!d.isValid) throw new TypeError(`ContractKit: '${v}' at '${path}' is not a valid ISO 8601 datetime.`);
2627
2787
  return d;
2628
2788
  }, "__dt");
2629
2789
  function reviveCatalogPlaylistSource(raw) {
2630
2790
  const __o0 = raw;
2631
- __o0["listedAt"] = __dt10(__o0["listedAt"], "CatalogPlaylistSource.listedAt");
2791
+ __o0["listedAt"] = __dt11(__o0["listedAt"], "CatalogPlaylistSource.listedAt");
2632
2792
  return raw;
2633
2793
  }
2634
2794
  __name(reviveCatalogPlaylistSource, "reviveCatalogPlaylistSource");
@@ -2647,19 +2807,19 @@ function reviveCatalogPlaylistPage(raw) {
2647
2807
  __name(reviveCatalogPlaylistPage, "reviveCatalogPlaylistPage");
2648
2808
 
2649
2809
  // src/playlists/types/station.playlists.types.ts
2650
- import { DateTime as DateTime11 } from "luxon";
2651
- var __dt11 = /* @__PURE__ */ __name((v, path) => {
2810
+ import { DateTime as DateTime12 } from "luxon";
2811
+ var __dt12 = /* @__PURE__ */ __name((v, path) => {
2652
2812
  if (typeof v !== "string") {
2653
2813
  throw new TypeError(`ContractKit: expected an ISO 8601 string at '${path}', received ${typeof v}.`);
2654
2814
  }
2655
- const d = DateTime11.fromISO(v);
2815
+ const d = DateTime12.fromISO(v);
2656
2816
  if (!d.isValid) throw new TypeError(`ContractKit: '${v}' at '${path}' is not a valid ISO 8601 datetime.`);
2657
2817
  return d;
2658
2818
  }, "__dt");
2659
2819
  function reviveStationPlaylist(raw) {
2660
2820
  const __o0 = raw;
2661
- __o0["createdAt"] = __dt11(__o0["createdAt"], "StationPlaylist.createdAt");
2662
- __o0["updatedAt"] = __dt11(__o0["updatedAt"], "StationPlaylist.updatedAt");
2821
+ __o0["createdAt"] = __dt12(__o0["createdAt"], "StationPlaylist.createdAt");
2822
+ __o0["updatedAt"] = __dt12(__o0["updatedAt"], "StationPlaylist.updatedAt");
2663
2823
  return raw;
2664
2824
  }
2665
2825
  __name(reviveStationPlaylist, "reviveStationPlaylist");
@@ -2896,6 +3056,20 @@ var PlayoutClient = class {
2896
3056
  });
2897
3057
  return await parseJson(result);
2898
3058
  }
3059
+ /**
3060
+ * @name Play an album
3061
+ * @description Plays an album the library holds, whole and in the order it was made: by disc, then by track. A feature, so no breaks and no blends between its records, and what is on air finishes rather than being cut off. It stops at the end of the album, or when the schedule's next block starts
3062
+ */
3063
+ async playAnAlbum(body) {
3064
+ const result = await this.fetch(`/playout/album`, {
3065
+ method: "POST",
3066
+ headers: {
3067
+ "Content-Type": "application/json"
3068
+ },
3069
+ body: JSON.stringify(body, bigIntReplacer)
3070
+ });
3071
+ return await parseJson(result);
3072
+ }
2899
3073
  /**
2900
3074
  * @name Play a chart
2901
3075
  * @description Builds the running order from a published chart and starts handing it to the player. The same replacement a playlist makes, from a document somebody else ranked
@@ -2943,22 +3117,22 @@ var PlayoutClient = class {
2943
3117
  };
2944
3118
 
2945
3119
  // src/plugins/types/plugins.types.ts
2946
- import { DateTime as DateTime12 } from "luxon";
2947
- var __dt12 = /* @__PURE__ */ __name((v, path) => {
3120
+ import { DateTime as DateTime13 } from "luxon";
3121
+ var __dt13 = /* @__PURE__ */ __name((v, path) => {
2948
3122
  if (typeof v !== "string") {
2949
3123
  throw new TypeError(`ContractKit: expected an ISO 8601 string at '${path}', received ${typeof v}.`);
2950
3124
  }
2951
- const d = DateTime12.fromISO(v);
3125
+ const d = DateTime13.fromISO(v);
2952
3126
  if (!d.isValid) throw new TypeError(`ContractKit: '${v}' at '${path}' is not a valid ISO 8601 datetime.`);
2953
3127
  return d;
2954
3128
  }, "__dt");
2955
3129
  function revivePluginSummary(raw) {
2956
3130
  const __o0 = raw;
2957
3131
  if (__o0["firstEnabledAt"] != null) {
2958
- __o0["firstEnabledAt"] = __dt12(__o0["firstEnabledAt"], "PluginSummary.firstEnabledAt");
3132
+ __o0["firstEnabledAt"] = __dt13(__o0["firstEnabledAt"], "PluginSummary.firstEnabledAt");
2959
3133
  }
2960
3134
  if (__o0["nextProbeAt"] != null) {
2961
- __o0["nextProbeAt"] = __dt12(__o0["nextProbeAt"], "PluginSummary.nextProbeAt");
3135
+ __o0["nextProbeAt"] = __dt13(__o0["nextProbeAt"], "PluginSummary.nextProbeAt");
2962
3136
  }
2963
3137
  return raw;
2964
3138
  }
@@ -3275,19 +3449,19 @@ var PodcastsClient = class {
3275
3449
  };
3276
3450
 
3277
3451
  // src/productions/types/productions.types.ts
3278
- import { DateTime as DateTime13 } from "luxon";
3279
- var __dt13 = /* @__PURE__ */ __name((v, path) => {
3452
+ import { DateTime as DateTime14 } from "luxon";
3453
+ var __dt14 = /* @__PURE__ */ __name((v, path) => {
3280
3454
  if (typeof v !== "string") {
3281
3455
  throw new TypeError(`ContractKit: expected an ISO 8601 string at '${path}', received ${typeof v}.`);
3282
3456
  }
3283
- const d = DateTime13.fromISO(v);
3457
+ const d = DateTime14.fromISO(v);
3284
3458
  if (!d.isValid) throw new TypeError(`ContractKit: '${v}' at '${path}' is not a valid ISO 8601 datetime.`);
3285
3459
  return d;
3286
3460
  }, "__dt");
3287
3461
  function reviveProductionRequest(raw) {
3288
3462
  const __o0 = raw;
3289
3463
  if (__o0["scheduledFor"] != null) {
3290
- __o0["scheduledFor"] = __dt13(__o0["scheduledFor"], "ProductionRequest.scheduledFor");
3464
+ __o0["scheduledFor"] = __dt14(__o0["scheduledFor"], "ProductionRequest.scheduledFor");
3291
3465
  }
3292
3466
  return raw;
3293
3467
  }
@@ -3295,12 +3469,12 @@ __name(reviveProductionRequest, "reviveProductionRequest");
3295
3469
  function reviveProduction(raw) {
3296
3470
  const __o0 = raw;
3297
3471
  if (__o0["scheduledFor"] != null) {
3298
- __o0["scheduledFor"] = __dt13(__o0["scheduledFor"], "Production.scheduledFor");
3472
+ __o0["scheduledFor"] = __dt14(__o0["scheduledFor"], "Production.scheduledFor");
3299
3473
  }
3300
3474
  if (__o0["cancelledAt"] != null) {
3301
- __o0["cancelledAt"] = __dt13(__o0["cancelledAt"], "Production.cancelledAt");
3475
+ __o0["cancelledAt"] = __dt14(__o0["cancelledAt"], "Production.cancelledAt");
3302
3476
  }
3303
- __o0["createdAt"] = __dt13(__o0["createdAt"], "Production.createdAt");
3477
+ __o0["createdAt"] = __dt14(__o0["createdAt"], "Production.createdAt");
3304
3478
  return raw;
3305
3479
  }
3306
3480
  __name(reviveProduction, "reviveProduction");
@@ -3362,26 +3536,26 @@ var ProductionsClient = class {
3362
3536
  };
3363
3537
 
3364
3538
  // src/render/types/render.types.ts
3365
- import { DateTime as DateTime14 } from "luxon";
3366
- var __dt14 = /* @__PURE__ */ __name((v, path) => {
3539
+ import { DateTime as DateTime15 } from "luxon";
3540
+ var __dt15 = /* @__PURE__ */ __name((v, path) => {
3367
3541
  if (typeof v !== "string") {
3368
3542
  throw new TypeError(`ContractKit: expected an ISO 8601 string at '${path}', received ${typeof v}.`);
3369
3543
  }
3370
- const d = DateTime14.fromISO(v);
3544
+ const d = DateTime15.fromISO(v);
3371
3545
  if (!d.isValid) throw new TypeError(`ContractKit: '${v}' at '${path}' is not a valid ISO 8601 datetime.`);
3372
3546
  return d;
3373
3547
  }, "__dt");
3374
3548
  function revivePad(raw) {
3375
3549
  const __o0 = raw;
3376
3550
  if (__o0["lastUsedAt"] != null) {
3377
- __o0["lastUsedAt"] = __dt14(__o0["lastUsedAt"], "Pad.lastUsedAt");
3551
+ __o0["lastUsedAt"] = __dt15(__o0["lastUsedAt"], "Pad.lastUsedAt");
3378
3552
  }
3379
3553
  return raw;
3380
3554
  }
3381
3555
  __name(revivePad, "revivePad");
3382
3556
  function reviveScriptAttempt(raw) {
3383
3557
  const __o0 = raw;
3384
- __o0["at"] = __dt14(__o0["at"], "ScriptAttempt.at");
3558
+ __o0["at"] = __dt15(__o0["at"], "ScriptAttempt.at");
3385
3559
  return raw;
3386
3560
  }
3387
3561
  __name(reviveScriptAttempt, "reviveScriptAttempt");
@@ -3864,20 +4038,20 @@ var RenderClient = class {
3864
4038
  };
3865
4039
 
3866
4040
  // src/requests/types/requests.types.ts
3867
- import { DateTime as DateTime15 } from "luxon";
3868
- var __dt15 = /* @__PURE__ */ __name((v, path) => {
4041
+ import { DateTime as DateTime16 } from "luxon";
4042
+ var __dt16 = /* @__PURE__ */ __name((v, path) => {
3869
4043
  if (typeof v !== "string") {
3870
4044
  throw new TypeError(`ContractKit: expected an ISO 8601 string at '${path}', received ${typeof v}.`);
3871
4045
  }
3872
- const d = DateTime15.fromISO(v);
4046
+ const d = DateTime16.fromISO(v);
3873
4047
  if (!d.isValid) throw new TypeError(`ContractKit: '${v}' at '${path}' is not a valid ISO 8601 datetime.`);
3874
4048
  return d;
3875
4049
  }, "__dt");
3876
4050
  function reviveListenerRequest(raw) {
3877
4051
  const __o0 = raw;
3878
- __o0["createdAt"] = __dt15(__o0["createdAt"], "ListenerRequest.createdAt");
4052
+ __o0["createdAt"] = __dt16(__o0["createdAt"], "ListenerRequest.createdAt");
3879
4053
  if (__o0["airedAt"] != null) {
3880
- __o0["airedAt"] = __dt15(__o0["airedAt"], "ListenerRequest.airedAt");
4054
+ __o0["airedAt"] = __dt16(__o0["airedAt"], "ListenerRequest.airedAt");
3881
4055
  }
3882
4056
  return raw;
3883
4057
  }
@@ -4101,19 +4275,19 @@ var SettingsClient = class {
4101
4275
  };
4102
4276
 
4103
4277
  // src/station/types/logs.types.ts
4104
- import { DateTime as DateTime16 } from "luxon";
4105
- var __dt16 = /* @__PURE__ */ __name((v, path) => {
4278
+ import { DateTime as DateTime17 } from "luxon";
4279
+ var __dt17 = /* @__PURE__ */ __name((v, path) => {
4106
4280
  if (typeof v !== "string") {
4107
4281
  throw new TypeError(`ContractKit: expected an ISO 8601 string at '${path}', received ${typeof v}.`);
4108
4282
  }
4109
- const d = DateTime16.fromISO(v);
4283
+ const d = DateTime17.fromISO(v);
4110
4284
  if (!d.isValid) throw new TypeError(`ContractKit: '${v}' at '${path}' is not a valid ISO 8601 datetime.`);
4111
4285
  return d;
4112
4286
  }, "__dt");
4113
4287
  function reviveLogSource(raw) {
4114
4288
  const __o0 = raw;
4115
4289
  if (__o0["lastWriteAt"] != null) {
4116
- __o0["lastWriteAt"] = __dt16(__o0["lastWriteAt"], "LogSource.lastWriteAt");
4290
+ __o0["lastWriteAt"] = __dt17(__o0["lastWriteAt"], "LogSource.lastWriteAt");
4117
4291
  }
4118
4292
  return raw;
4119
4293
  }
@@ -4131,12 +4305,12 @@ function reviveLogSourceList(raw) {
4131
4305
  __name(reviveLogSourceList, "reviveLogSourceList");
4132
4306
 
4133
4307
  // src/station/types/station.types.ts
4134
- import { DateTime as DateTime17 } from "luxon";
4135
- var __dt17 = /* @__PURE__ */ __name((v, path) => {
4308
+ import { DateTime as DateTime18 } from "luxon";
4309
+ var __dt18 = /* @__PURE__ */ __name((v, path) => {
4136
4310
  if (typeof v !== "string") {
4137
4311
  throw new TypeError(`ContractKit: expected an ISO 8601 string at '${path}', received ${typeof v}.`);
4138
4312
  }
4139
- const d = DateTime17.fromISO(v);
4313
+ const d = DateTime18.fromISO(v);
4140
4314
  if (!d.isValid) throw new TypeError(`ContractKit: '${v}' at '${path}' is not a valid ISO 8601 datetime.`);
4141
4315
  return d;
4142
4316
  }, "__dt");
@@ -4144,22 +4318,22 @@ var __dtf = /* @__PURE__ */ __name((v, path, fmt) => {
4144
4318
  if (typeof v !== "string") {
4145
4319
  throw new TypeError(`ContractKit: expected a string at '${path}' in format ${fmt}, received ${typeof v}.`);
4146
4320
  }
4147
- const d = DateTime17.fromFormat(v, fmt);
4321
+ const d = DateTime18.fromFormat(v, fmt);
4148
4322
  if (!d.isValid) throw new TypeError(`ContractKit: '${v}' at '${path}' does not match format ${fmt}.`);
4149
4323
  return d;
4150
4324
  }, "__dtf");
4151
4325
  function reviveStationHeartbeat(raw) {
4152
4326
  const __o0 = raw;
4153
- __o0["startedAt"] = __dt17(__o0["startedAt"], "StationHeartbeat.startedAt");
4327
+ __o0["startedAt"] = __dt18(__o0["startedAt"], "StationHeartbeat.startedAt");
4154
4328
  if (__o0["lastBeat"] != null) {
4155
- __o0["lastBeat"] = __dt17(__o0["lastBeat"], "StationHeartbeat.lastBeat");
4329
+ __o0["lastBeat"] = __dt18(__o0["lastBeat"], "StationHeartbeat.lastBeat");
4156
4330
  }
4157
4331
  return raw;
4158
4332
  }
4159
4333
  __name(reviveStationHeartbeat, "reviveStationHeartbeat");
4160
4334
  function reviveStationModelHolder(raw) {
4161
4335
  const __o0 = raw;
4162
- __o0["heldSince"] = __dt17(__o0["heldSince"], "StationModelHolder.heldSince");
4336
+ __o0["heldSince"] = __dt18(__o0["heldSince"], "StationModelHolder.heldSince");
4163
4337
  return raw;
4164
4338
  }
4165
4339
  __name(reviveStationModelHolder, "reviveStationModelHolder");
@@ -4188,7 +4362,7 @@ function reviveStationReleases(raw) {
4188
4362
  }
4189
4363
  }
4190
4364
  if (__o0["checkedAt"] != null) {
4191
- __o0["checkedAt"] = __dt17(__o0["checkedAt"], "StationReleases.checkedAt");
4365
+ __o0["checkedAt"] = __dt18(__o0["checkedAt"], "StationReleases.checkedAt");
4192
4366
  }
4193
4367
  {
4194
4368
  const __a3 = __o0["available"];
@@ -4201,7 +4375,7 @@ function reviveStationReleases(raw) {
4201
4375
  __name(reviveStationReleases, "reviveStationReleases");
4202
4376
  function reviveStationCheckup(raw) {
4203
4377
  const __o0 = raw;
4204
- __o0["readAt"] = __dt17(__o0["readAt"], "StationCheckup.readAt");
4378
+ __o0["readAt"] = __dt18(__o0["readAt"], "StationCheckup.readAt");
4205
4379
  if (__o0["heartbeats"] != null) {
4206
4380
  {
4207
4381
  const __a1 = __o0["heartbeats"];
@@ -4218,24 +4392,24 @@ function reviveStationCheckup(raw) {
4218
4392
  __name(reviveStationCheckup, "reviveStationCheckup");
4219
4393
 
4220
4394
  // src/station/types/traces.types.ts
4221
- import { DateTime as DateTime18 } from "luxon";
4222
- var __dt18 = /* @__PURE__ */ __name((v, path) => {
4395
+ import { DateTime as DateTime19 } from "luxon";
4396
+ var __dt19 = /* @__PURE__ */ __name((v, path) => {
4223
4397
  if (typeof v !== "string") {
4224
4398
  throw new TypeError(`ContractKit: expected an ISO 8601 string at '${path}', received ${typeof v}.`);
4225
4399
  }
4226
- const d = DateTime18.fromISO(v);
4400
+ const d = DateTime19.fromISO(v);
4227
4401
  if (!d.isValid) throw new TypeError(`ContractKit: '${v}' at '${path}' is not a valid ISO 8601 datetime.`);
4228
4402
  return d;
4229
4403
  }, "__dt");
4230
4404
  function reviveTraceDecision(raw) {
4231
4405
  const __o0 = raw;
4232
- __o0["at"] = __dt18(__o0["at"], "TraceDecision.at");
4406
+ __o0["at"] = __dt19(__o0["at"], "TraceDecision.at");
4233
4407
  return raw;
4234
4408
  }
4235
4409
  __name(reviveTraceDecision, "reviveTraceDecision");
4236
4410
  function reviveTraceSpan(raw) {
4237
4411
  const __o0 = raw;
4238
- __o0["at"] = __dt18(__o0["at"], "TraceSpan.at");
4412
+ __o0["at"] = __dt19(__o0["at"], "TraceSpan.at");
4239
4413
  return raw;
4240
4414
  }
4241
4415
  __name(reviveTraceSpan, "reviveTraceSpan");
@@ -4382,18 +4556,18 @@ var StationClient = class {
4382
4556
  };
4383
4557
 
4384
4558
  // src/storage/types/storage.types.ts
4385
- import { DateTime as DateTime19 } from "luxon";
4386
- var __dt19 = /* @__PURE__ */ __name((v, path) => {
4559
+ import { DateTime as DateTime20 } from "luxon";
4560
+ var __dt20 = /* @__PURE__ */ __name((v, path) => {
4387
4561
  if (typeof v !== "string") {
4388
4562
  throw new TypeError(`ContractKit: expected an ISO 8601 string at '${path}', received ${typeof v}.`);
4389
4563
  }
4390
- const d = DateTime19.fromISO(v);
4564
+ const d = DateTime20.fromISO(v);
4391
4565
  if (!d.isValid) throw new TypeError(`ContractKit: '${v}' at '${path}' is not a valid ISO 8601 datetime.`);
4392
4566
  return d;
4393
4567
  }, "__dt");
4394
4568
  function reviveStorageReport(raw) {
4395
4569
  const __o0 = raw;
4396
- __o0["readAt"] = __dt19(__o0["readAt"], "StorageReport.readAt");
4570
+ __o0["readAt"] = __dt20(__o0["readAt"], "StorageReport.readAt");
4397
4571
  return raw;
4398
4572
  }
4399
4573
  __name(reviveStorageReport, "reviveStorageReport");
@@ -4698,6 +4872,8 @@ export {
4698
4872
  reviveAuthenticationTokenResponseOutput,
4699
4873
  reviveAuthenticatorFactorRegistrationResponse,
4700
4874
  reviveBaseAuthenticationLoginStartResponse,
4875
+ reviveBlockRule,
4876
+ reviveBlockRuleList,
4701
4877
  reviveCatalogPlaylistPage,
4702
4878
  reviveCatalogPlaylistSource,
4703
4879
  reviveCodeAuthenticationLoginStartResponse,
@@ -4715,6 +4891,8 @@ export {
4715
4891
  reviveFactorChallengeStartResponseOutput,
4716
4892
  reviveFidoAuthenticationLoginStartResponse,
4717
4893
  reviveFidoFactorRegistrationResponse,
4894
+ reviveGenreSteer,
4895
+ reviveGenreSteerReading,
4718
4896
  reviveHistoryEntry,
4719
4897
  reviveHistoryPage,
4720
4898
  reviveLinkAuthenticationLoginStartResponse,