@deadair/sdk 0.57.0 → 0.58.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 +183 -73
- package/dist/index.js.map +1 -1
- package/dist/podcasts/podcasts.client.d.ts +32 -1
- package/dist/podcasts/podcasts.client.d.ts.map +1 -1
- package/dist/podcasts/types/podcasts.types.d.ts +78 -0
- package/dist/podcasts/types/podcasts.types.d.ts.map +1 -1
- package/dist/productions/types/productions.types.d.ts +46 -16
- package/dist/productions/types/productions.types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3519,6 +3519,84 @@ var PluginsClient = class {
|
|
|
3519
3519
|
}
|
|
3520
3520
|
};
|
|
3521
3521
|
|
|
3522
|
+
// src/productions/types/productions.types.ts
|
|
3523
|
+
import { DateTime as DateTime14 } from "luxon";
|
|
3524
|
+
var __dt14 = /* @__PURE__ */ __name((v, path) => {
|
|
3525
|
+
if (typeof v !== "string") {
|
|
3526
|
+
throw new TypeError(`ContractKit: expected an ISO 8601 string at '${path}', received ${typeof v}.`);
|
|
3527
|
+
}
|
|
3528
|
+
const d = DateTime14.fromISO(v);
|
|
3529
|
+
if (!d.isValid) throw new TypeError(`ContractKit: '${v}' at '${path}' is not a valid ISO 8601 datetime.`);
|
|
3530
|
+
return d;
|
|
3531
|
+
}, "__dt");
|
|
3532
|
+
function reviveProduction(raw) {
|
|
3533
|
+
const __o0 = raw;
|
|
3534
|
+
if (__o0["scheduledFor"] != null) {
|
|
3535
|
+
__o0["scheduledFor"] = __dt14(__o0["scheduledFor"], "Production.scheduledFor");
|
|
3536
|
+
}
|
|
3537
|
+
if (__o0["cancelledAt"] != null) {
|
|
3538
|
+
__o0["cancelledAt"] = __dt14(__o0["cancelledAt"], "Production.cancelledAt");
|
|
3539
|
+
}
|
|
3540
|
+
__o0["createdAt"] = __dt14(__o0["createdAt"], "Production.createdAt");
|
|
3541
|
+
return raw;
|
|
3542
|
+
}
|
|
3543
|
+
__name(reviveProduction, "reviveProduction");
|
|
3544
|
+
function reviveProductionRequest(raw) {
|
|
3545
|
+
const __o0 = raw;
|
|
3546
|
+
if (__o0["scheduledFor"] != null) {
|
|
3547
|
+
__o0["scheduledFor"] = __dt14(__o0["scheduledFor"], "ProductionRequest.scheduledFor");
|
|
3548
|
+
}
|
|
3549
|
+
return raw;
|
|
3550
|
+
}
|
|
3551
|
+
__name(reviveProductionRequest, "reviveProductionRequest");
|
|
3552
|
+
function reviveProductionList(raw) {
|
|
3553
|
+
const __o0 = raw;
|
|
3554
|
+
{
|
|
3555
|
+
const __a1 = __o0["productions"];
|
|
3556
|
+
for (let __i2 = 0; __i2 < __a1.length; __i2++) {
|
|
3557
|
+
reviveProduction(__a1[__i2]);
|
|
3558
|
+
}
|
|
3559
|
+
}
|
|
3560
|
+
return raw;
|
|
3561
|
+
}
|
|
3562
|
+
__name(reviveProductionList, "reviveProductionList");
|
|
3563
|
+
|
|
3564
|
+
// src/podcasts/types/podcasts.types.ts
|
|
3565
|
+
import { DateTime as DateTime15 } from "luxon";
|
|
3566
|
+
var __dt15 = /* @__PURE__ */ __name((v, path) => {
|
|
3567
|
+
if (typeof v !== "string") {
|
|
3568
|
+
throw new TypeError(`ContractKit: expected an ISO 8601 string at '${path}', received ${typeof v}.`);
|
|
3569
|
+
}
|
|
3570
|
+
const d = DateTime15.fromISO(v);
|
|
3571
|
+
if (!d.isValid) throw new TypeError(`ContractKit: '${v}' at '${path}' is not a valid ISO 8601 datetime.`);
|
|
3572
|
+
return d;
|
|
3573
|
+
}, "__dt");
|
|
3574
|
+
function reviveOwnShow(raw) {
|
|
3575
|
+
const __o0 = raw;
|
|
3576
|
+
__o0["createdAt"] = __dt15(__o0["createdAt"], "OwnShow.createdAt");
|
|
3577
|
+
return raw;
|
|
3578
|
+
}
|
|
3579
|
+
__name(reviveOwnShow, "reviveOwnShow");
|
|
3580
|
+
function reviveOwnEpisodeRequest(raw) {
|
|
3581
|
+
const __o0 = raw;
|
|
3582
|
+
if (__o0["airAt"] != null) {
|
|
3583
|
+
__o0["airAt"] = __dt15(__o0["airAt"], "OwnEpisodeRequest.airAt");
|
|
3584
|
+
}
|
|
3585
|
+
return raw;
|
|
3586
|
+
}
|
|
3587
|
+
__name(reviveOwnEpisodeRequest, "reviveOwnEpisodeRequest");
|
|
3588
|
+
function reviveOwnShowList(raw) {
|
|
3589
|
+
const __o0 = raw;
|
|
3590
|
+
{
|
|
3591
|
+
const __a1 = __o0["shows"];
|
|
3592
|
+
for (let __i2 = 0; __i2 < __a1.length; __i2++) {
|
|
3593
|
+
reviveOwnShow(__a1[__i2]);
|
|
3594
|
+
}
|
|
3595
|
+
}
|
|
3596
|
+
return raw;
|
|
3597
|
+
}
|
|
3598
|
+
__name(reviveOwnShowList, "reviveOwnShowList");
|
|
3599
|
+
|
|
3522
3600
|
// src/podcasts/podcasts.client.ts
|
|
3523
3601
|
var PodcastsClient = class {
|
|
3524
3602
|
static {
|
|
@@ -3579,49 +3657,78 @@ var PodcastsClient = class {
|
|
|
3579
3657
|
method: "POST"
|
|
3580
3658
|
});
|
|
3581
3659
|
}
|
|
3582
|
-
|
|
3583
|
-
|
|
3584
|
-
|
|
3585
|
-
|
|
3586
|
-
|
|
3587
|
-
|
|
3588
|
-
|
|
3660
|
+
/**
|
|
3661
|
+
* @name List own shows
|
|
3662
|
+
* @description The shows the station makes for itself
|
|
3663
|
+
*/
|
|
3664
|
+
async listOwnShows() {
|
|
3665
|
+
const result = await this.fetch(`/podcasts/own`, {
|
|
3666
|
+
method: "GET"
|
|
3667
|
+
});
|
|
3668
|
+
return reviveOwnShowList(await parseJson(result));
|
|
3589
3669
|
}
|
|
3590
|
-
|
|
3591
|
-
|
|
3592
|
-
|
|
3593
|
-
|
|
3594
|
-
|
|
3595
|
-
|
|
3596
|
-
|
|
3597
|
-
|
|
3670
|
+
/**
|
|
3671
|
+
* @name Create own show
|
|
3672
|
+
* @description Makes a new show. Nothing is made until an episode is asked for
|
|
3673
|
+
*/
|
|
3674
|
+
async createOwnShow(body) {
|
|
3675
|
+
const result = await this.fetch(`/podcasts/own`, {
|
|
3676
|
+
method: "POST",
|
|
3677
|
+
headers: {
|
|
3678
|
+
"Content-Type": "application/json"
|
|
3679
|
+
},
|
|
3680
|
+
body: JSON.stringify(body, bigIntReplacer)
|
|
3681
|
+
});
|
|
3682
|
+
return reviveOwnShow(await parseJson(result));
|
|
3598
3683
|
}
|
|
3599
|
-
|
|
3600
|
-
|
|
3601
|
-
|
|
3602
|
-
|
|
3603
|
-
|
|
3604
|
-
|
|
3605
|
-
|
|
3684
|
+
/**
|
|
3685
|
+
* @name Update own show
|
|
3686
|
+
* @description Rewrites a show. Episodes already asked for keep what they were asked with
|
|
3687
|
+
*/
|
|
3688
|
+
async updateOwnShow(id, body) {
|
|
3689
|
+
const result = await this.fetch(`/podcasts/own/${encodeURIComponent(id)}`, {
|
|
3690
|
+
method: "PUT",
|
|
3691
|
+
headers: {
|
|
3692
|
+
"Content-Type": "application/json"
|
|
3693
|
+
},
|
|
3694
|
+
body: JSON.stringify(body, bigIntReplacer)
|
|
3695
|
+
});
|
|
3696
|
+
return reviveOwnShow(await parseJson(result));
|
|
3606
3697
|
}
|
|
3607
|
-
|
|
3608
|
-
|
|
3698
|
+
/**
|
|
3699
|
+
* @name Delete own show
|
|
3700
|
+
* @description Removes a show. Its episodes stay on the Productions page, no longer filed under it
|
|
3701
|
+
*/
|
|
3702
|
+
async deleteOwnShow(id) {
|
|
3703
|
+
await this.fetch(`/podcasts/own/${encodeURIComponent(id)}`, {
|
|
3704
|
+
method: "DELETE"
|
|
3705
|
+
});
|
|
3609
3706
|
}
|
|
3610
|
-
|
|
3611
|
-
|
|
3612
|
-
|
|
3613
|
-
|
|
3614
|
-
|
|
3615
|
-
|
|
3616
|
-
|
|
3617
|
-
|
|
3618
|
-
|
|
3619
|
-
reviveProduction(__a1[__i2]);
|
|
3620
|
-
}
|
|
3707
|
+
/**
|
|
3708
|
+
* @name List own show episodes
|
|
3709
|
+
* @description A show's episodes, newest first, with how far along each is
|
|
3710
|
+
*/
|
|
3711
|
+
async listOwnShowEpisodes(id) {
|
|
3712
|
+
const result = await this.fetch(`/podcasts/own/${encodeURIComponent(id)}/episodes`, {
|
|
3713
|
+
method: "GET"
|
|
3714
|
+
});
|
|
3715
|
+
return reviveProductionList(await parseJson(result));
|
|
3621
3716
|
}
|
|
3622
|
-
|
|
3623
|
-
|
|
3624
|
-
|
|
3717
|
+
/**
|
|
3718
|
+
* @name Request own show episode
|
|
3719
|
+
* @description Asks the show for an episode. It is queued, not started, and airs when it is made or at the time given
|
|
3720
|
+
*/
|
|
3721
|
+
async requestOwnShowEpisode(id, body) {
|
|
3722
|
+
const result = await this.fetch(`/podcasts/own/${encodeURIComponent(id)}/episodes`, {
|
|
3723
|
+
method: "POST",
|
|
3724
|
+
headers: {
|
|
3725
|
+
"Content-Type": "application/json"
|
|
3726
|
+
},
|
|
3727
|
+
body: JSON.stringify(body, bigIntReplacer)
|
|
3728
|
+
});
|
|
3729
|
+
return reviveProduction(await parseJson(result));
|
|
3730
|
+
}
|
|
3731
|
+
};
|
|
3625
3732
|
|
|
3626
3733
|
// src/productions/productions.client.ts
|
|
3627
3734
|
var ProductionsClient = class {
|
|
@@ -3669,25 +3776,25 @@ var ProductionsClient = class {
|
|
|
3669
3776
|
};
|
|
3670
3777
|
|
|
3671
3778
|
// src/render/types/render.types.ts
|
|
3672
|
-
import { DateTime as
|
|
3673
|
-
var
|
|
3779
|
+
import { DateTime as DateTime16 } from "luxon";
|
|
3780
|
+
var __dt16 = /* @__PURE__ */ __name((v, path) => {
|
|
3674
3781
|
if (typeof v !== "string") {
|
|
3675
3782
|
throw new TypeError(`ContractKit: expected an ISO 8601 string at '${path}', received ${typeof v}.`);
|
|
3676
3783
|
}
|
|
3677
|
-
const d =
|
|
3784
|
+
const d = DateTime16.fromISO(v);
|
|
3678
3785
|
if (!d.isValid) throw new TypeError(`ContractKit: '${v}' at '${path}' is not a valid ISO 8601 datetime.`);
|
|
3679
3786
|
return d;
|
|
3680
3787
|
}, "__dt");
|
|
3681
3788
|
function reviveScriptAttempt(raw) {
|
|
3682
3789
|
const __o0 = raw;
|
|
3683
|
-
__o0["at"] =
|
|
3790
|
+
__o0["at"] = __dt16(__o0["at"], "ScriptAttempt.at");
|
|
3684
3791
|
return raw;
|
|
3685
3792
|
}
|
|
3686
3793
|
__name(reviveScriptAttempt, "reviveScriptAttempt");
|
|
3687
3794
|
function revivePad(raw) {
|
|
3688
3795
|
const __o0 = raw;
|
|
3689
3796
|
if (__o0["lastUsedAt"] != null) {
|
|
3690
|
-
__o0["lastUsedAt"] =
|
|
3797
|
+
__o0["lastUsedAt"] = __dt16(__o0["lastUsedAt"], "Pad.lastUsedAt");
|
|
3691
3798
|
}
|
|
3692
3799
|
return raw;
|
|
3693
3800
|
}
|
|
@@ -4185,33 +4292,33 @@ var RenderClient = class {
|
|
|
4185
4292
|
};
|
|
4186
4293
|
|
|
4187
4294
|
// src/requests/types/requests.types.ts
|
|
4188
|
-
import { DateTime as
|
|
4189
|
-
var
|
|
4295
|
+
import { DateTime as DateTime17 } from "luxon";
|
|
4296
|
+
var __dt17 = /* @__PURE__ */ __name((v, path) => {
|
|
4190
4297
|
if (typeof v !== "string") {
|
|
4191
4298
|
throw new TypeError(`ContractKit: expected an ISO 8601 string at '${path}', received ${typeof v}.`);
|
|
4192
4299
|
}
|
|
4193
|
-
const d =
|
|
4300
|
+
const d = DateTime17.fromISO(v);
|
|
4194
4301
|
if (!d.isValid) throw new TypeError(`ContractKit: '${v}' at '${path}' is not a valid ISO 8601 datetime.`);
|
|
4195
4302
|
return d;
|
|
4196
4303
|
}, "__dt");
|
|
4197
4304
|
function revivePartyPass(raw) {
|
|
4198
4305
|
const __o0 = raw;
|
|
4199
|
-
__o0["createdAt"] =
|
|
4200
|
-
__o0["expiresAt"] =
|
|
4306
|
+
__o0["createdAt"] = __dt17(__o0["createdAt"], "PartyPass.createdAt");
|
|
4307
|
+
__o0["expiresAt"] = __dt17(__o0["expiresAt"], "PartyPass.expiresAt");
|
|
4201
4308
|
return raw;
|
|
4202
4309
|
}
|
|
4203
4310
|
__name(revivePartyPass, "revivePartyPass");
|
|
4204
4311
|
function revivePartyGuestSession(raw) {
|
|
4205
4312
|
const __o0 = raw;
|
|
4206
|
-
__o0["expiresAt"] =
|
|
4313
|
+
__o0["expiresAt"] = __dt17(__o0["expiresAt"], "PartyGuestSession.expiresAt");
|
|
4207
4314
|
return raw;
|
|
4208
4315
|
}
|
|
4209
4316
|
__name(revivePartyGuestSession, "revivePartyGuestSession");
|
|
4210
4317
|
function reviveListenerRequest(raw) {
|
|
4211
4318
|
const __o0 = raw;
|
|
4212
|
-
__o0["createdAt"] =
|
|
4319
|
+
__o0["createdAt"] = __dt17(__o0["createdAt"], "ListenerRequest.createdAt");
|
|
4213
4320
|
if (__o0["airedAt"] != null) {
|
|
4214
|
-
__o0["airedAt"] =
|
|
4321
|
+
__o0["airedAt"] = __dt17(__o0["airedAt"], "ListenerRequest.airedAt");
|
|
4215
4322
|
}
|
|
4216
4323
|
return raw;
|
|
4217
4324
|
}
|
|
@@ -4503,19 +4610,19 @@ var SettingsClient = class {
|
|
|
4503
4610
|
};
|
|
4504
4611
|
|
|
4505
4612
|
// src/station/types/logs.types.ts
|
|
4506
|
-
import { DateTime as
|
|
4507
|
-
var
|
|
4613
|
+
import { DateTime as DateTime18 } from "luxon";
|
|
4614
|
+
var __dt18 = /* @__PURE__ */ __name((v, path) => {
|
|
4508
4615
|
if (typeof v !== "string") {
|
|
4509
4616
|
throw new TypeError(`ContractKit: expected an ISO 8601 string at '${path}', received ${typeof v}.`);
|
|
4510
4617
|
}
|
|
4511
|
-
const d =
|
|
4618
|
+
const d = DateTime18.fromISO(v);
|
|
4512
4619
|
if (!d.isValid) throw new TypeError(`ContractKit: '${v}' at '${path}' is not a valid ISO 8601 datetime.`);
|
|
4513
4620
|
return d;
|
|
4514
4621
|
}, "__dt");
|
|
4515
4622
|
function reviveLogSource(raw) {
|
|
4516
4623
|
const __o0 = raw;
|
|
4517
4624
|
if (__o0["lastWriteAt"] != null) {
|
|
4518
|
-
__o0["lastWriteAt"] =
|
|
4625
|
+
__o0["lastWriteAt"] = __dt18(__o0["lastWriteAt"], "LogSource.lastWriteAt");
|
|
4519
4626
|
}
|
|
4520
4627
|
return raw;
|
|
4521
4628
|
}
|
|
@@ -4533,12 +4640,12 @@ function reviveLogSourceList(raw) {
|
|
|
4533
4640
|
__name(reviveLogSourceList, "reviveLogSourceList");
|
|
4534
4641
|
|
|
4535
4642
|
// src/station/types/station.types.ts
|
|
4536
|
-
import { DateTime as
|
|
4537
|
-
var
|
|
4643
|
+
import { DateTime as DateTime19 } from "luxon";
|
|
4644
|
+
var __dt19 = /* @__PURE__ */ __name((v, path) => {
|
|
4538
4645
|
if (typeof v !== "string") {
|
|
4539
4646
|
throw new TypeError(`ContractKit: expected an ISO 8601 string at '${path}', received ${typeof v}.`);
|
|
4540
4647
|
}
|
|
4541
|
-
const d =
|
|
4648
|
+
const d = DateTime19.fromISO(v);
|
|
4542
4649
|
if (!d.isValid) throw new TypeError(`ContractKit: '${v}' at '${path}' is not a valid ISO 8601 datetime.`);
|
|
4543
4650
|
return d;
|
|
4544
4651
|
}, "__dt");
|
|
@@ -4546,22 +4653,22 @@ var __dtf = /* @__PURE__ */ __name((v, path, fmt) => {
|
|
|
4546
4653
|
if (typeof v !== "string") {
|
|
4547
4654
|
throw new TypeError(`ContractKit: expected a string at '${path}' in format ${fmt}, received ${typeof v}.`);
|
|
4548
4655
|
}
|
|
4549
|
-
const d =
|
|
4656
|
+
const d = DateTime19.fromFormat(v, fmt);
|
|
4550
4657
|
if (!d.isValid) throw new TypeError(`ContractKit: '${v}' at '${path}' does not match format ${fmt}.`);
|
|
4551
4658
|
return d;
|
|
4552
4659
|
}, "__dtf");
|
|
4553
4660
|
function reviveStationHeartbeat(raw) {
|
|
4554
4661
|
const __o0 = raw;
|
|
4555
|
-
__o0["startedAt"] =
|
|
4662
|
+
__o0["startedAt"] = __dt19(__o0["startedAt"], "StationHeartbeat.startedAt");
|
|
4556
4663
|
if (__o0["lastBeat"] != null) {
|
|
4557
|
-
__o0["lastBeat"] =
|
|
4664
|
+
__o0["lastBeat"] = __dt19(__o0["lastBeat"], "StationHeartbeat.lastBeat");
|
|
4558
4665
|
}
|
|
4559
4666
|
return raw;
|
|
4560
4667
|
}
|
|
4561
4668
|
__name(reviveStationHeartbeat, "reviveStationHeartbeat");
|
|
4562
4669
|
function reviveStationModelHolder(raw) {
|
|
4563
4670
|
const __o0 = raw;
|
|
4564
|
-
__o0["heldSince"] =
|
|
4671
|
+
__o0["heldSince"] = __dt19(__o0["heldSince"], "StationModelHolder.heldSince");
|
|
4565
4672
|
return raw;
|
|
4566
4673
|
}
|
|
4567
4674
|
__name(reviveStationModelHolder, "reviveStationModelHolder");
|
|
@@ -4590,7 +4697,7 @@ function reviveStationReleases(raw) {
|
|
|
4590
4697
|
}
|
|
4591
4698
|
}
|
|
4592
4699
|
if (__o0["checkedAt"] != null) {
|
|
4593
|
-
__o0["checkedAt"] =
|
|
4700
|
+
__o0["checkedAt"] = __dt19(__o0["checkedAt"], "StationReleases.checkedAt");
|
|
4594
4701
|
}
|
|
4595
4702
|
{
|
|
4596
4703
|
const __a3 = __o0["available"];
|
|
@@ -4603,7 +4710,7 @@ function reviveStationReleases(raw) {
|
|
|
4603
4710
|
__name(reviveStationReleases, "reviveStationReleases");
|
|
4604
4711
|
function reviveStationCheckup(raw) {
|
|
4605
4712
|
const __o0 = raw;
|
|
4606
|
-
__o0["readAt"] =
|
|
4713
|
+
__o0["readAt"] = __dt19(__o0["readAt"], "StationCheckup.readAt");
|
|
4607
4714
|
if (__o0["heartbeats"] != null) {
|
|
4608
4715
|
{
|
|
4609
4716
|
const __a1 = __o0["heartbeats"];
|
|
@@ -4620,24 +4727,24 @@ function reviveStationCheckup(raw) {
|
|
|
4620
4727
|
__name(reviveStationCheckup, "reviveStationCheckup");
|
|
4621
4728
|
|
|
4622
4729
|
// src/station/types/traces.types.ts
|
|
4623
|
-
import { DateTime as
|
|
4624
|
-
var
|
|
4730
|
+
import { DateTime as DateTime20 } from "luxon";
|
|
4731
|
+
var __dt20 = /* @__PURE__ */ __name((v, path) => {
|
|
4625
4732
|
if (typeof v !== "string") {
|
|
4626
4733
|
throw new TypeError(`ContractKit: expected an ISO 8601 string at '${path}', received ${typeof v}.`);
|
|
4627
4734
|
}
|
|
4628
|
-
const d =
|
|
4735
|
+
const d = DateTime20.fromISO(v);
|
|
4629
4736
|
if (!d.isValid) throw new TypeError(`ContractKit: '${v}' at '${path}' is not a valid ISO 8601 datetime.`);
|
|
4630
4737
|
return d;
|
|
4631
4738
|
}, "__dt");
|
|
4632
4739
|
function reviveTraceDecision(raw) {
|
|
4633
4740
|
const __o0 = raw;
|
|
4634
|
-
__o0["at"] =
|
|
4741
|
+
__o0["at"] = __dt20(__o0["at"], "TraceDecision.at");
|
|
4635
4742
|
return raw;
|
|
4636
4743
|
}
|
|
4637
4744
|
__name(reviveTraceDecision, "reviveTraceDecision");
|
|
4638
4745
|
function reviveTraceSpan(raw) {
|
|
4639
4746
|
const __o0 = raw;
|
|
4640
|
-
__o0["at"] =
|
|
4747
|
+
__o0["at"] = __dt20(__o0["at"], "TraceSpan.at");
|
|
4641
4748
|
return raw;
|
|
4642
4749
|
}
|
|
4643
4750
|
__name(reviveTraceSpan, "reviveTraceSpan");
|
|
@@ -4793,18 +4900,18 @@ var StationClient = class {
|
|
|
4793
4900
|
};
|
|
4794
4901
|
|
|
4795
4902
|
// src/storage/types/storage.types.ts
|
|
4796
|
-
import { DateTime as
|
|
4797
|
-
var
|
|
4903
|
+
import { DateTime as DateTime21 } from "luxon";
|
|
4904
|
+
var __dt21 = /* @__PURE__ */ __name((v, path) => {
|
|
4798
4905
|
if (typeof v !== "string") {
|
|
4799
4906
|
throw new TypeError(`ContractKit: expected an ISO 8601 string at '${path}', received ${typeof v}.`);
|
|
4800
4907
|
}
|
|
4801
|
-
const d =
|
|
4908
|
+
const d = DateTime21.fromISO(v);
|
|
4802
4909
|
if (!d.isValid) throw new TypeError(`ContractKit: '${v}' at '${path}' is not a valid ISO 8601 datetime.`);
|
|
4803
4910
|
return d;
|
|
4804
4911
|
}, "__dt");
|
|
4805
4912
|
function reviveStorageReport(raw) {
|
|
4806
4913
|
const __o0 = raw;
|
|
4807
|
-
__o0["readAt"] =
|
|
4914
|
+
__o0["readAt"] = __dt21(__o0["readAt"], "StorageReport.readAt");
|
|
4808
4915
|
return raw;
|
|
4809
4916
|
}
|
|
4810
4917
|
__name(reviveStorageReport, "reviveStorageReport");
|
|
@@ -5155,6 +5262,9 @@ export {
|
|
|
5155
5262
|
reviveOidcFactorRegistrationResponse,
|
|
5156
5263
|
reviveOutputCast,
|
|
5157
5264
|
reviveOutputCastList,
|
|
5265
|
+
reviveOwnEpisodeRequest,
|
|
5266
|
+
reviveOwnShow,
|
|
5267
|
+
reviveOwnShowList,
|
|
5158
5268
|
revivePad,
|
|
5159
5269
|
revivePadList,
|
|
5160
5270
|
revivePartyGuestSession,
|