@deadair/sdk 0.39.0 → 0.40.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.
@@ -13,6 +13,7 @@ import { NewsClient } from './news/news.client.js';
13
13
  import { NowplayingClient } from './nowplaying/nowplaying.client.js';
14
14
  import { OauthClient } from './oauth/oauth.client.js';
15
15
  import { OnboardingClient } from './onboarding/onboarding.client.js';
16
+ import { OutputsClient } from './outputs/outputs.client.js';
16
17
  import { PersonasClient } from './personas/personas.client.js';
17
18
  import { PlaylistsClient } from './playlists/playlists.client.js';
18
19
  import { PlayoutClient } from './playout/playout.client.js';
@@ -42,6 +43,7 @@ export declare class DeadairSdk {
42
43
  readonly nowplaying: NowplayingClient;
43
44
  readonly oauth: OauthClient;
44
45
  readonly onboarding: OnboardingClient;
46
+ readonly outputs: OutputsClient;
45
47
  readonly personas: PersonasClient;
46
48
  readonly playlists: PlaylistsClient;
47
49
  readonly playout: PlayoutClient;
@@ -1 +1 @@
1
- {"version":3,"file":"deadair.sdk.d.ts","sourceRoot":"","sources":["../src/deadair.sdk.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEnD,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAClE,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAClE,OA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,cAAc,CAAC;IAClC,QAAQ,CAAC,QAAQ,EAAE,cAAc,CAAC;IAClC,QAAQ,CAAC,QAAQ,EAAE,cAAc,CAAC;IAClC,QAAQ,CAAC,OAAO,EAAE,aAAa,CAAC;IAChC,QAAQ,CAAC,OAAO,EAAE,aAAa,CAAC;IAChC,QAAQ,CAAC,MAAM,EAAE,YAAY,CAAC;IAC9B,QAAQ,CAAC,MAAM,EAAE,YAAY,CAAC;gBAElB,OAAO,EAAE,UAAU;CAgClC"}
package/dist/index.d.ts CHANGED
@@ -30,6 +30,8 @@ export * from './oauth/oauth.client.js';
30
30
  export * from './oauth/types/index.js';
31
31
  export * from './onboarding/onboarding.client.js';
32
32
  export * from './onboarding/types/index.js';
33
+ export * from './outputs/outputs.client.js';
34
+ export * from './outputs/types/index.js';
33
35
  export * from './personas/personas.client.js';
34
36
  export * from './personas/types/index.js';
35
37
  export * from './playlists/playlists.client.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,mDAAmD,CAAC;AAClE,cAAc,2CAA2C,CAAC;AAC1D,cAAc,kDAAkD,CAAC;AACjE,cAAc,oDAAoD,CAAC;AACnE,cAAc,iCAAiC,CAAC;AAChD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,kBAAkB,CAAC;AACjC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AACzC,cAAc,iCAAiC,CAAC;AAChD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,iCAAiC,CAAC;AAChD,cAAc,4BAA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C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kBAAkB,CAAC;AACjC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AACzC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC"}
package/dist/index.js CHANGED
@@ -2033,6 +2033,88 @@ var OnboardingClient = class {
2033
2033
  }
2034
2034
  };
2035
2035
 
2036
+ // src/outputs/types/outputs.types.ts
2037
+ import { DateTime as DateTime9 } from "luxon";
2038
+ var __dt9 = /* @__PURE__ */ __name((v, path) => {
2039
+ if (typeof v !== "string") {
2040
+ throw new TypeError(`ContractKit: expected an ISO 8601 string at '${path}', received ${typeof v}.`);
2041
+ }
2042
+ const d = DateTime9.fromISO(v);
2043
+ if (!d.isValid) throw new TypeError(`ContractKit: '${v}' at '${path}' is not a valid ISO 8601 datetime.`);
2044
+ return d;
2045
+ }, "__dt");
2046
+ function reviveOutputCast(raw) {
2047
+ const __o0 = raw;
2048
+ __o0["startedAt"] = __dt9(__o0["startedAt"], "OutputCast.startedAt");
2049
+ return raw;
2050
+ }
2051
+ __name(reviveOutputCast, "reviveOutputCast");
2052
+ function reviveOutputCastList(raw) {
2053
+ const __o0 = raw;
2054
+ {
2055
+ const __a1 = __o0["casts"];
2056
+ for (let __i2 = 0; __i2 < __a1.length; __i2++) {
2057
+ reviveOutputCast(__a1[__i2]);
2058
+ }
2059
+ }
2060
+ return raw;
2061
+ }
2062
+ __name(reviveOutputCastList, "reviveOutputCastList");
2063
+
2064
+ // src/outputs/outputs.client.ts
2065
+ var OutputsClient = class {
2066
+ static {
2067
+ __name(this, "OutputsClient");
2068
+ }
2069
+ fetch;
2070
+ constructor(fetch2) {
2071
+ this.fetch = fetch2;
2072
+ }
2073
+ /**
2074
+ * @name List output devices
2075
+ * @description Every speaker the station can play on, from every `output` plugin, with the mounts each can take
2076
+ */
2077
+ async listOutputDevices() {
2078
+ const result = await this.fetch(`/outputs/devices`, {
2079
+ method: "GET"
2080
+ });
2081
+ return await parseJson(result);
2082
+ }
2083
+ /**
2084
+ * @name List casts
2085
+ * @description Every speaker the station is meant to be playing on, each asked how it is doing now
2086
+ */
2087
+ async listCasts() {
2088
+ const result = await this.fetch(`/outputs/casts`, {
2089
+ method: "GET"
2090
+ });
2091
+ return reviveOutputCastList(await parseJson(result));
2092
+ }
2093
+ /**
2094
+ * @name Start cast
2095
+ * @description Play the station on a speaker, replacing whatever it was playing. The station keeps it playing, through a dropped stream or a restart, until it is stopped here or somebody plays something else on it
2096
+ */
2097
+ async startCast(body) {
2098
+ const result = await this.fetch(`/outputs/casts`, {
2099
+ method: "POST",
2100
+ headers: {
2101
+ "Content-Type": "application/json"
2102
+ },
2103
+ body: JSON.stringify(body, bigIntReplacer)
2104
+ });
2105
+ return reviveOutputCast(await parseJson(result));
2106
+ }
2107
+ /**
2108
+ * @name Stop cast
2109
+ * @description Stop the station on a speaker. Answers 204 when it was not playing too
2110
+ */
2111
+ async stopCast(pluginId, deviceId) {
2112
+ await this.fetch(`/outputs/casts/${encodeURIComponent(pluginId)}/${encodeURIComponent(deviceId)}`, {
2113
+ method: "DELETE"
2114
+ });
2115
+ }
2116
+ };
2117
+
2036
2118
  // src/personas/personas.client.ts
2037
2119
  var PersonasClient = class {
2038
2120
  static {
@@ -2054,7 +2136,7 @@ var PersonasClient = class {
2054
2136
  }
2055
2137
  /**
2056
2138
  * @name Start persona audition
2057
- * @description Asks the station to put this character through a playlist. It is queued, not written
2139
+ * @description Asks the station to put this character through a playlist or a chart. It is queued, not written
2058
2140
  */
2059
2141
  async startPersonaAudition(id, body) {
2060
2142
  const result = await this.fetch(`/personas/${encodeURIComponent(id)}/auditions`, {
@@ -2504,18 +2586,18 @@ var PersonasClient = class {
2504
2586
  };
2505
2587
 
2506
2588
  // src/playlists/types/playlists.types.ts
2507
- import { DateTime as DateTime9 } from "luxon";
2508
- var __dt9 = /* @__PURE__ */ __name((v, path) => {
2589
+ import { DateTime as DateTime10 } from "luxon";
2590
+ var __dt10 = /* @__PURE__ */ __name((v, path) => {
2509
2591
  if (typeof v !== "string") {
2510
2592
  throw new TypeError(`ContractKit: expected an ISO 8601 string at '${path}', received ${typeof v}.`);
2511
2593
  }
2512
- const d = DateTime9.fromISO(v);
2594
+ const d = DateTime10.fromISO(v);
2513
2595
  if (!d.isValid) throw new TypeError(`ContractKit: '${v}' at '${path}' is not a valid ISO 8601 datetime.`);
2514
2596
  return d;
2515
2597
  }, "__dt");
2516
2598
  function reviveCatalogPlaylistSource(raw) {
2517
2599
  const __o0 = raw;
2518
- __o0["listedAt"] = __dt9(__o0["listedAt"], "CatalogPlaylistSource.listedAt");
2600
+ __o0["listedAt"] = __dt10(__o0["listedAt"], "CatalogPlaylistSource.listedAt");
2519
2601
  return raw;
2520
2602
  }
2521
2603
  __name(reviveCatalogPlaylistSource, "reviveCatalogPlaylistSource");
@@ -2534,19 +2616,19 @@ function reviveCatalogPlaylistPage(raw) {
2534
2616
  __name(reviveCatalogPlaylistPage, "reviveCatalogPlaylistPage");
2535
2617
 
2536
2618
  // src/playlists/types/station.playlists.types.ts
2537
- import { DateTime as DateTime10 } from "luxon";
2538
- var __dt10 = /* @__PURE__ */ __name((v, path) => {
2619
+ import { DateTime as DateTime11 } from "luxon";
2620
+ var __dt11 = /* @__PURE__ */ __name((v, path) => {
2539
2621
  if (typeof v !== "string") {
2540
2622
  throw new TypeError(`ContractKit: expected an ISO 8601 string at '${path}', received ${typeof v}.`);
2541
2623
  }
2542
- const d = DateTime10.fromISO(v);
2624
+ const d = DateTime11.fromISO(v);
2543
2625
  if (!d.isValid) throw new TypeError(`ContractKit: '${v}' at '${path}' is not a valid ISO 8601 datetime.`);
2544
2626
  return d;
2545
2627
  }, "__dt");
2546
2628
  function reviveStationPlaylist(raw) {
2547
2629
  const __o0 = raw;
2548
- __o0["createdAt"] = __dt10(__o0["createdAt"], "StationPlaylist.createdAt");
2549
- __o0["updatedAt"] = __dt10(__o0["updatedAt"], "StationPlaylist.updatedAt");
2630
+ __o0["createdAt"] = __dt11(__o0["createdAt"], "StationPlaylist.createdAt");
2631
+ __o0["updatedAt"] = __dt11(__o0["updatedAt"], "StationPlaylist.updatedAt");
2550
2632
  return raw;
2551
2633
  }
2552
2634
  __name(reviveStationPlaylist, "reviveStationPlaylist");
@@ -2830,22 +2912,22 @@ var PlayoutClient = class {
2830
2912
  };
2831
2913
 
2832
2914
  // src/plugins/types/plugins.types.ts
2833
- import { DateTime as DateTime11 } from "luxon";
2834
- var __dt11 = /* @__PURE__ */ __name((v, path) => {
2915
+ import { DateTime as DateTime12 } from "luxon";
2916
+ var __dt12 = /* @__PURE__ */ __name((v, path) => {
2835
2917
  if (typeof v !== "string") {
2836
2918
  throw new TypeError(`ContractKit: expected an ISO 8601 string at '${path}', received ${typeof v}.`);
2837
2919
  }
2838
- const d = DateTime11.fromISO(v);
2920
+ const d = DateTime12.fromISO(v);
2839
2921
  if (!d.isValid) throw new TypeError(`ContractKit: '${v}' at '${path}' is not a valid ISO 8601 datetime.`);
2840
2922
  return d;
2841
2923
  }, "__dt");
2842
2924
  function revivePluginSummary(raw) {
2843
2925
  const __o0 = raw;
2844
2926
  if (__o0["firstEnabledAt"] != null) {
2845
- __o0["firstEnabledAt"] = __dt11(__o0["firstEnabledAt"], "PluginSummary.firstEnabledAt");
2927
+ __o0["firstEnabledAt"] = __dt12(__o0["firstEnabledAt"], "PluginSummary.firstEnabledAt");
2846
2928
  }
2847
2929
  if (__o0["nextProbeAt"] != null) {
2848
- __o0["nextProbeAt"] = __dt11(__o0["nextProbeAt"], "PluginSummary.nextProbeAt");
2930
+ __o0["nextProbeAt"] = __dt12(__o0["nextProbeAt"], "PluginSummary.nextProbeAt");
2849
2931
  }
2850
2932
  return raw;
2851
2933
  }
@@ -3162,19 +3244,19 @@ var PodcastsClient = class {
3162
3244
  };
3163
3245
 
3164
3246
  // src/productions/types/productions.types.ts
3165
- import { DateTime as DateTime12 } from "luxon";
3166
- var __dt12 = /* @__PURE__ */ __name((v, path) => {
3247
+ import { DateTime as DateTime13 } from "luxon";
3248
+ var __dt13 = /* @__PURE__ */ __name((v, path) => {
3167
3249
  if (typeof v !== "string") {
3168
3250
  throw new TypeError(`ContractKit: expected an ISO 8601 string at '${path}', received ${typeof v}.`);
3169
3251
  }
3170
- const d = DateTime12.fromISO(v);
3252
+ const d = DateTime13.fromISO(v);
3171
3253
  if (!d.isValid) throw new TypeError(`ContractKit: '${v}' at '${path}' is not a valid ISO 8601 datetime.`);
3172
3254
  return d;
3173
3255
  }, "__dt");
3174
3256
  function reviveProductionRequest(raw) {
3175
3257
  const __o0 = raw;
3176
3258
  if (__o0["scheduledFor"] != null) {
3177
- __o0["scheduledFor"] = __dt12(__o0["scheduledFor"], "ProductionRequest.scheduledFor");
3259
+ __o0["scheduledFor"] = __dt13(__o0["scheduledFor"], "ProductionRequest.scheduledFor");
3178
3260
  }
3179
3261
  return raw;
3180
3262
  }
@@ -3182,12 +3264,12 @@ __name(reviveProductionRequest, "reviveProductionRequest");
3182
3264
  function reviveProduction(raw) {
3183
3265
  const __o0 = raw;
3184
3266
  if (__o0["scheduledFor"] != null) {
3185
- __o0["scheduledFor"] = __dt12(__o0["scheduledFor"], "Production.scheduledFor");
3267
+ __o0["scheduledFor"] = __dt13(__o0["scheduledFor"], "Production.scheduledFor");
3186
3268
  }
3187
3269
  if (__o0["cancelledAt"] != null) {
3188
- __o0["cancelledAt"] = __dt12(__o0["cancelledAt"], "Production.cancelledAt");
3270
+ __o0["cancelledAt"] = __dt13(__o0["cancelledAt"], "Production.cancelledAt");
3189
3271
  }
3190
- __o0["createdAt"] = __dt12(__o0["createdAt"], "Production.createdAt");
3272
+ __o0["createdAt"] = __dt13(__o0["createdAt"], "Production.createdAt");
3191
3273
  return raw;
3192
3274
  }
3193
3275
  __name(reviveProduction, "reviveProduction");
@@ -3249,26 +3331,26 @@ var ProductionsClient = class {
3249
3331
  };
3250
3332
 
3251
3333
  // src/render/types/render.types.ts
3252
- import { DateTime as DateTime13 } from "luxon";
3253
- var __dt13 = /* @__PURE__ */ __name((v, path) => {
3334
+ import { DateTime as DateTime14 } from "luxon";
3335
+ var __dt14 = /* @__PURE__ */ __name((v, path) => {
3254
3336
  if (typeof v !== "string") {
3255
3337
  throw new TypeError(`ContractKit: expected an ISO 8601 string at '${path}', received ${typeof v}.`);
3256
3338
  }
3257
- const d = DateTime13.fromISO(v);
3339
+ const d = DateTime14.fromISO(v);
3258
3340
  if (!d.isValid) throw new TypeError(`ContractKit: '${v}' at '${path}' is not a valid ISO 8601 datetime.`);
3259
3341
  return d;
3260
3342
  }, "__dt");
3261
3343
  function revivePad(raw) {
3262
3344
  const __o0 = raw;
3263
3345
  if (__o0["lastUsedAt"] != null) {
3264
- __o0["lastUsedAt"] = __dt13(__o0["lastUsedAt"], "Pad.lastUsedAt");
3346
+ __o0["lastUsedAt"] = __dt14(__o0["lastUsedAt"], "Pad.lastUsedAt");
3265
3347
  }
3266
3348
  return raw;
3267
3349
  }
3268
3350
  __name(revivePad, "revivePad");
3269
3351
  function reviveScriptAttempt(raw) {
3270
3352
  const __o0 = raw;
3271
- __o0["at"] = __dt13(__o0["at"], "ScriptAttempt.at");
3353
+ __o0["at"] = __dt14(__o0["at"], "ScriptAttempt.at");
3272
3354
  return raw;
3273
3355
  }
3274
3356
  __name(reviveScriptAttempt, "reviveScriptAttempt");
@@ -3751,20 +3833,20 @@ var RenderClient = class {
3751
3833
  };
3752
3834
 
3753
3835
  // src/requests/types/requests.types.ts
3754
- import { DateTime as DateTime14 } from "luxon";
3755
- var __dt14 = /* @__PURE__ */ __name((v, path) => {
3836
+ import { DateTime as DateTime15 } from "luxon";
3837
+ var __dt15 = /* @__PURE__ */ __name((v, path) => {
3756
3838
  if (typeof v !== "string") {
3757
3839
  throw new TypeError(`ContractKit: expected an ISO 8601 string at '${path}', received ${typeof v}.`);
3758
3840
  }
3759
- const d = DateTime14.fromISO(v);
3841
+ const d = DateTime15.fromISO(v);
3760
3842
  if (!d.isValid) throw new TypeError(`ContractKit: '${v}' at '${path}' is not a valid ISO 8601 datetime.`);
3761
3843
  return d;
3762
3844
  }, "__dt");
3763
3845
  function reviveListenerRequest(raw) {
3764
3846
  const __o0 = raw;
3765
- __o0["createdAt"] = __dt14(__o0["createdAt"], "ListenerRequest.createdAt");
3847
+ __o0["createdAt"] = __dt15(__o0["createdAt"], "ListenerRequest.createdAt");
3766
3848
  if (__o0["airedAt"] != null) {
3767
- __o0["airedAt"] = __dt14(__o0["airedAt"], "ListenerRequest.airedAt");
3849
+ __o0["airedAt"] = __dt15(__o0["airedAt"], "ListenerRequest.airedAt");
3768
3850
  }
3769
3851
  return raw;
3770
3852
  }
@@ -3988,19 +4070,19 @@ var SettingsClient = class {
3988
4070
  };
3989
4071
 
3990
4072
  // src/station/types/logs.types.ts
3991
- import { DateTime as DateTime15 } from "luxon";
3992
- var __dt15 = /* @__PURE__ */ __name((v, path) => {
4073
+ import { DateTime as DateTime16 } from "luxon";
4074
+ var __dt16 = /* @__PURE__ */ __name((v, path) => {
3993
4075
  if (typeof v !== "string") {
3994
4076
  throw new TypeError(`ContractKit: expected an ISO 8601 string at '${path}', received ${typeof v}.`);
3995
4077
  }
3996
- const d = DateTime15.fromISO(v);
4078
+ const d = DateTime16.fromISO(v);
3997
4079
  if (!d.isValid) throw new TypeError(`ContractKit: '${v}' at '${path}' is not a valid ISO 8601 datetime.`);
3998
4080
  return d;
3999
4081
  }, "__dt");
4000
4082
  function reviveLogSource(raw) {
4001
4083
  const __o0 = raw;
4002
4084
  if (__o0["lastWriteAt"] != null) {
4003
- __o0["lastWriteAt"] = __dt15(__o0["lastWriteAt"], "LogSource.lastWriteAt");
4085
+ __o0["lastWriteAt"] = __dt16(__o0["lastWriteAt"], "LogSource.lastWriteAt");
4004
4086
  }
4005
4087
  return raw;
4006
4088
  }
@@ -4018,12 +4100,12 @@ function reviveLogSourceList(raw) {
4018
4100
  __name(reviveLogSourceList, "reviveLogSourceList");
4019
4101
 
4020
4102
  // src/station/types/station.types.ts
4021
- import { DateTime as DateTime16 } from "luxon";
4022
- var __dt16 = /* @__PURE__ */ __name((v, path) => {
4103
+ import { DateTime as DateTime17 } from "luxon";
4104
+ var __dt17 = /* @__PURE__ */ __name((v, path) => {
4023
4105
  if (typeof v !== "string") {
4024
4106
  throw new TypeError(`ContractKit: expected an ISO 8601 string at '${path}', received ${typeof v}.`);
4025
4107
  }
4026
- const d = DateTime16.fromISO(v);
4108
+ const d = DateTime17.fromISO(v);
4027
4109
  if (!d.isValid) throw new TypeError(`ContractKit: '${v}' at '${path}' is not a valid ISO 8601 datetime.`);
4028
4110
  return d;
4029
4111
  }, "__dt");
@@ -4031,15 +4113,15 @@ var __dtf = /* @__PURE__ */ __name((v, path, fmt) => {
4031
4113
  if (typeof v !== "string") {
4032
4114
  throw new TypeError(`ContractKit: expected a string at '${path}' in format ${fmt}, received ${typeof v}.`);
4033
4115
  }
4034
- const d = DateTime16.fromFormat(v, fmt);
4116
+ const d = DateTime17.fromFormat(v, fmt);
4035
4117
  if (!d.isValid) throw new TypeError(`ContractKit: '${v}' at '${path}' does not match format ${fmt}.`);
4036
4118
  return d;
4037
4119
  }, "__dtf");
4038
4120
  function reviveStationHeartbeat(raw) {
4039
4121
  const __o0 = raw;
4040
- __o0["startedAt"] = __dt16(__o0["startedAt"], "StationHeartbeat.startedAt");
4122
+ __o0["startedAt"] = __dt17(__o0["startedAt"], "StationHeartbeat.startedAt");
4041
4123
  if (__o0["lastBeat"] != null) {
4042
- __o0["lastBeat"] = __dt16(__o0["lastBeat"], "StationHeartbeat.lastBeat");
4124
+ __o0["lastBeat"] = __dt17(__o0["lastBeat"], "StationHeartbeat.lastBeat");
4043
4125
  }
4044
4126
  return raw;
4045
4127
  }
@@ -4054,7 +4136,7 @@ function reviveStationRelease(raw) {
4054
4136
  __name(reviveStationRelease, "reviveStationRelease");
4055
4137
  function reviveStationCheckup(raw) {
4056
4138
  const __o0 = raw;
4057
- __o0["readAt"] = __dt16(__o0["readAt"], "StationCheckup.readAt");
4139
+ __o0["readAt"] = __dt17(__o0["readAt"], "StationCheckup.readAt");
4058
4140
  if (__o0["heartbeats"] != null) {
4059
4141
  {
4060
4142
  const __a1 = __o0["heartbeats"];
@@ -4075,7 +4157,7 @@ function reviveStationReleases(raw) {
4075
4157
  }
4076
4158
  }
4077
4159
  if (__o0["checkedAt"] != null) {
4078
- __o0["checkedAt"] = __dt16(__o0["checkedAt"], "StationReleases.checkedAt");
4160
+ __o0["checkedAt"] = __dt17(__o0["checkedAt"], "StationReleases.checkedAt");
4079
4161
  }
4080
4162
  {
4081
4163
  const __a3 = __o0["available"];
@@ -4088,24 +4170,24 @@ function reviveStationReleases(raw) {
4088
4170
  __name(reviveStationReleases, "reviveStationReleases");
4089
4171
 
4090
4172
  // src/station/types/traces.types.ts
4091
- import { DateTime as DateTime17 } from "luxon";
4092
- var __dt17 = /* @__PURE__ */ __name((v, path) => {
4173
+ import { DateTime as DateTime18 } from "luxon";
4174
+ var __dt18 = /* @__PURE__ */ __name((v, path) => {
4093
4175
  if (typeof v !== "string") {
4094
4176
  throw new TypeError(`ContractKit: expected an ISO 8601 string at '${path}', received ${typeof v}.`);
4095
4177
  }
4096
- const d = DateTime17.fromISO(v);
4178
+ const d = DateTime18.fromISO(v);
4097
4179
  if (!d.isValid) throw new TypeError(`ContractKit: '${v}' at '${path}' is not a valid ISO 8601 datetime.`);
4098
4180
  return d;
4099
4181
  }, "__dt");
4100
4182
  function reviveTraceDecision(raw) {
4101
4183
  const __o0 = raw;
4102
- __o0["at"] = __dt17(__o0["at"], "TraceDecision.at");
4184
+ __o0["at"] = __dt18(__o0["at"], "TraceDecision.at");
4103
4185
  return raw;
4104
4186
  }
4105
4187
  __name(reviveTraceDecision, "reviveTraceDecision");
4106
4188
  function reviveTraceSpan(raw) {
4107
4189
  const __o0 = raw;
4108
- __o0["at"] = __dt17(__o0["at"], "TraceSpan.at");
4190
+ __o0["at"] = __dt18(__o0["at"], "TraceSpan.at");
4109
4191
  return raw;
4110
4192
  }
4111
4193
  __name(reviveTraceSpan, "reviveTraceSpan");
@@ -4252,18 +4334,18 @@ var StationClient = class {
4252
4334
  };
4253
4335
 
4254
4336
  // src/storage/types/storage.types.ts
4255
- import { DateTime as DateTime18 } from "luxon";
4256
- var __dt18 = /* @__PURE__ */ __name((v, path) => {
4337
+ import { DateTime as DateTime19 } from "luxon";
4338
+ var __dt19 = /* @__PURE__ */ __name((v, path) => {
4257
4339
  if (typeof v !== "string") {
4258
4340
  throw new TypeError(`ContractKit: expected an ISO 8601 string at '${path}', received ${typeof v}.`);
4259
4341
  }
4260
- const d = DateTime18.fromISO(v);
4342
+ const d = DateTime19.fromISO(v);
4261
4343
  if (!d.isValid) throw new TypeError(`ContractKit: '${v}' at '${path}' is not a valid ISO 8601 datetime.`);
4262
4344
  return d;
4263
4345
  }, "__dt");
4264
4346
  function reviveStorageReport(raw) {
4265
4347
  const __o0 = raw;
4266
- __o0["readAt"] = __dt18(__o0["readAt"], "StorageReport.readAt");
4348
+ __o0["readAt"] = __dt19(__o0["readAt"], "StorageReport.readAt");
4267
4349
  return raw;
4268
4350
  }
4269
4351
  __name(reviveStorageReport, "reviveStorageReport");
@@ -4459,6 +4541,7 @@ var DeadairSdk = class {
4459
4541
  nowplaying;
4460
4542
  oauth;
4461
4543
  onboarding;
4544
+ outputs;
4462
4545
  personas;
4463
4546
  playlists;
4464
4547
  playout;
@@ -4489,6 +4572,7 @@ var DeadairSdk = class {
4489
4572
  this.nowplaying = new NowplayingClient(sdkFetch);
4490
4573
  this.oauth = new OauthClient(sdkFetch);
4491
4574
  this.onboarding = new OnboardingClient(sdkFetch);
4575
+ this.outputs = new OutputsClient(sdkFetch);
4492
4576
  this.personas = new PersonasClient(sdkFetch);
4493
4577
  this.playlists = new PlaylistsClient(sdkFetch);
4494
4578
  this.playout = new PlayoutClient(sdkFetch);
@@ -4524,6 +4608,7 @@ export {
4524
4608
  NowplayingClient,
4525
4609
  OauthClient,
4526
4610
  OnboardingClient,
4611
+ OutputsClient,
4527
4612
  PersonasClient,
4528
4613
  PlaylistsClient,
4529
4614
  PlayoutClient,
@@ -4604,6 +4689,8 @@ export {
4604
4689
  reviveOAuthGrantList,
4605
4690
  reviveOidcAuthenticationLoginStartResponse,
4606
4691
  reviveOidcFactorRegistrationResponse,
4692
+ reviveOutputCast,
4693
+ reviveOutputCastList,
4607
4694
  revivePad,
4608
4695
  revivePadList,
4609
4696
  revivePhoneFactorRegistrationResponse,