@deadair/sdk 0.62.1 → 0.63.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/activity/types/activity.types.d.ts +1 -1
- package/dist/activity/types/activity.types.d.ts.map +1 -1
- package/dist/deadair.sdk.d.ts +2 -0
- package/dist/deadair.sdk.d.ts.map +1 -1
- package/dist/director/types/director.types.d.ts +2 -0
- package/dist/director/types/director.types.d.ts.map +1 -1
- package/dist/events/events.client.d.ts +47 -0
- package/dist/events/events.client.d.ts.map +1 -0
- package/dist/events/types/events.types.d.ts +280 -0
- package/dist/events/types/events.types.d.ts.map +1 -0
- package/dist/events/types/index.d.ts +2 -0
- package/dist/events/types/index.d.ts.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +322 -99
- package/dist/index.js.map +1 -1
- package/dist/schedule/types/schedule.types.d.ts +4 -0
- package/dist/schedule/types/schedule.types.d.ts.map +1 -1
- package/dist/sdk-options.d.ts +23 -0
- package/dist/sdk-options.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ import { DateTime } from 'luxon';
|
|
|
3
3
|
* Which part of the station an entry came from, and the console's one filter axis
|
|
4
4
|
* generated from [ActivityModule](../../../../../apps/api/data/contracts/activity/activity.types.ck)
|
|
5
5
|
*/
|
|
6
|
-
export type ActivityModule = 'playout' | 'director' | 'render' | 'catalog' | 'plugins' | 'storage';
|
|
6
|
+
export type ActivityModule = 'playout' | 'director' | 'render' | 'catalog' | 'plugins' | 'storage' | 'events';
|
|
7
7
|
/**
|
|
8
8
|
* How an entry reads, not how bad it is. There is deliberately no `waiting`: a station idling for
|
|
9
9
|
* want of a listener says so in its own words and stays `info`, for the same reason the transport
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"activity.types.d.ts","sourceRoot":"","sources":["../../../src/activity/types/activity.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAA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AW,CAAC,EAAE,gBAAgB,CAAC;CAClC;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IACzB,OAAO,EAAE,aAAa,EAAE,CAAC;IACzB,4FAA4F;IAC5F,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,+GAA+G;AAC/G,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,YAAY,GAAG,YAAY,CASlE"}
|
package/dist/deadair.sdk.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import { AuthenticationClient } from './authentication/authentication.client.js'
|
|
|
5
5
|
import { CatalogClient } from './catalog/catalog.client.js';
|
|
6
6
|
import { ChartsClient } from './charts/charts.client.js';
|
|
7
7
|
import { DirectorClient } from './director/director.client.js';
|
|
8
|
+
import { EventsClient } from './events/events.client.js';
|
|
8
9
|
import { HistoryClient } from './history/history.client.js';
|
|
9
10
|
import { LanguagesClient } from './languages/languages.client.js';
|
|
10
11
|
import { MessagingClient } from './messaging/messaging.client.js';
|
|
@@ -36,6 +37,7 @@ export declare class DeadairSdk {
|
|
|
36
37
|
readonly catalog: CatalogClient;
|
|
37
38
|
readonly charts: ChartsClient;
|
|
38
39
|
readonly director: DirectorClient;
|
|
40
|
+
readonly events: EventsClient;
|
|
39
41
|
readonly history: HistoryClient;
|
|
40
42
|
readonly languages: LanguagesClient;
|
|
41
43
|
readonly messaging: MessagingClient;
|
|
@@ -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,EAA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AE,gBAAgB,CAAC;IACtC,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;IAC1B,QAAQ,CAAC,UAAU,EAAE,gBAAgB,CAAC;IACtC,QAAQ,CAAC,KAAK,EAAE,WAAW,CAAC;IAC5B,QAAQ,CAAC,UAAU,EAAE,gBAAgB,CAAC;IACtC,QAAQ,CAAC,OAAO,EAAE,aAAa,CAAC;IAChC,QAAQ,CAAC,QAAQ,EAAE,cAAc,CAAC;IAClC,QAAQ,CAAC,SAAS,EAAE,eAAe,CAAC;IACpC,QAAQ,CAAC,OAAO,EAAE,aAAa,CAAC;IAChC,QAAQ,CAAC,OAAO,EAAE,aAAa,CAAC;IAChC,QAAQ,CAAC,QAAQ,EAAE,cAAc,CAAC;IAClC,QAAQ,CAAC,WAAW,EAAE,iBAAiB,CAAC;IACxC,QAAQ,CAAC,MAAM,EAAE,YAAY,CAAC;IAC9B,QAAQ,CAAC,QAAQ,EAAE,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;IAC9B,QAAQ,CAAC,KAAK,EAAE,WAAW,CAAC;gBAEhB,OAAO,EAAE,UAAU;CAkClC"}
|
|
@@ -203,6 +203,8 @@ export interface PutOnAirInput {
|
|
|
203
203
|
eraTo?: number;
|
|
204
204
|
/** The moods this broadcast leans into, as stages in order across the schedule slot it fills. Off the schedule, only the first is used. Records a model has judged to be in the mood are a little more likely to be picked; nothing is ever kept off the air for it. Absent or empty is no lean */
|
|
205
205
|
moods?: ('love' | 'happiness' | 'comfort' | 'sadness' | 'loneliness' | 'anger' | 'fear')[];
|
|
206
|
+
/** The moods this broadcast steers away from, for the whole of it. Records a model has judged to be in one are less likely to be picked, half as likely; nothing is ever kept off the air for it. Absent or empty avoids nothing */
|
|
207
|
+
avoidMoods?: ('love' | 'happiness' | 'comfort' | 'sadness' | 'loneliness' | 'anger' | 'fear')[];
|
|
206
208
|
/** Whether the host talks between the records. Absent is the mode's own answer: a `rotation` talks and a `setlist` does not. Set it true on a `setlist` for a countdown with a host, which talks as often as the station does while the records play exactly as the setlist has them. A `feature` stays silent whatever this says */
|
|
207
209
|
breaks?: boolean;
|
|
208
210
|
/** Whether somebody phones in during this broadcast. A call is a short programme rather than a break: a few turns in a few voices, entering the running order as one block, spaced by `rotation.callinEveryMinutes`. Absent is no calls: there is no station-wide default behind it */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"director.types.d.ts","sourceRoot":"","sources":["../../../src/director/types/director.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sCAAsC,CAAC;AAEnE;;;GAGG;AACH,MAAM,MAAM,WAAW,GAAG,UAAU,GAAG,SAAS,GAAG,SAAS,CAAC;AAE7D;;;GAGG;AACH,MAAM,MAAM,OAAO,GAAG,UAAU,GAAG,QAAQ,CAAC;AAE5C;;;GAGG;AACH,MAAM,MAAM,SAAS,GAAG,KAAK,GAAG,UAAU,GAAG,YAAY,GAAG,UAAU,CAAC;AAEvE;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAC7B,2OAA2O;IAC3O,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;GAGG;AACH,MAAM,MAAM,YAAY,GAAG,QAAQ,GAAG,QAAQ,GAAG,MAAM,CAAC;AAExD;;;GAGG;AACH,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,aAAa,GAAG,SAAS,CAAC;AAElH;;;GAGG;AACH,MAAM,WAAW,mBAAmB;IAChC,+JAA+J;IAC/J,SAAS,CAAC,EAAE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7H,KAAK,EAAE,OAAO,CAAC;IACf,qEAAqE;IACrE,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,2DAA2D;IAC3D,OAAO,EAAE,MAAM,CAAC;IAChB,0DAA0D;IAC1D,OAAO,EAAE,MAAM,CAAC;CACnB;AAED;;;GAGG;AACH,MAAM,WAAW,YAAY;IACzB,4GAA4G;IAC5G,IAAI,EAAE,MAAM,CAAC;IACb,oMAAoM;IACpM,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,mHAAmH;IACnH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,0HAA0H;IAC1H,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,kIAAkI;IAClI,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC5B,IAAI,EAAE,WAAW,CAAC;IAClB,KAAK,EAAE,YAAY,CAAC;IACpB,oDAAoD;IACpD,MAAM,EAAE,MAAM,CAAC;IACf,uEAAuE;IACvE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,4FAA4F;IAC5F,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,+MAA+M;IAC/M,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,gIAAgI;IAChI,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,kFAAkF;IAClF,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,KAAK,EAAE,gBAAgB,EAAE,CAAC;CAC7B"}
|
|
1
|
+
{"version":3,"file":"director.types.d.ts","sourceRoot":"","sources":["../../../src/director/types/director.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sCAAsC,CAAC;AAEnE;;;GAGG;AACH,MAAM,MAAM,WAAW,GAAG,UAAU,GAAG,SAAS,GAAG,SAAS,CAAC;AAE7D;;;GAGG;AACH,MAAM,MAAM,OAAO,GAAG,UAAU,GAAG,QAAQ,CAAC;AAE5C;;;GAGG;AACH,MAAM,MAAM,SAAS,GAAG,KAAK,GAAG,UAAU,G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AAC;IAC1B,+MAA+M;IAC/M,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,gIAAgI;IAChI,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,kFAAkF;IAClF,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,KAAK,EAAE,gBAAgB,EAAE,CAAC;CAC7B"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import type { SdkFetch } from '../sdk-options.js';
|
|
2
|
+
import type { EventDeliveryList, EventDestination, EventDestinationCreate, EventDestinationCreated, EventDestinationList, EventDestinationSecret, EventDestinationUpdate, EventTestResult, EventTypeList } from './types/events.types.js';
|
|
3
|
+
export declare class EventsClient {
|
|
4
|
+
private fetch;
|
|
5
|
+
constructor(fetch: SdkFetch);
|
|
6
|
+
/**
|
|
7
|
+
* @name List event types
|
|
8
|
+
* @description Every kind of event the station sends, each with an example of what a destination receives
|
|
9
|
+
*/
|
|
10
|
+
listEventTypes(): Promise<EventTypeList>;
|
|
11
|
+
/**
|
|
12
|
+
* @name List event destinations
|
|
13
|
+
* @description Every event destination, oldest first
|
|
14
|
+
*/
|
|
15
|
+
listEventDestinations(): Promise<EventDestinationList>;
|
|
16
|
+
/**
|
|
17
|
+
* @name Create event destination
|
|
18
|
+
* @description Add an event destination. The answer carries its signing secret, which is not shown again
|
|
19
|
+
*/
|
|
20
|
+
createEventDestination(body: EventDestinationCreate): Promise<EventDestinationCreated>;
|
|
21
|
+
/**
|
|
22
|
+
* @name Update event destination
|
|
23
|
+
* @description Change an event destination's name, address, or whether it is on
|
|
24
|
+
*/
|
|
25
|
+
updateEventDestination(id: string, body: EventDestinationUpdate): Promise<EventDestination>;
|
|
26
|
+
/**
|
|
27
|
+
* @name Delete event destination
|
|
28
|
+
* @description Remove an event destination and its delivery log
|
|
29
|
+
*/
|
|
30
|
+
deleteEventDestination(id: string): Promise<void>;
|
|
31
|
+
/**
|
|
32
|
+
* @name Rotate event destination secret
|
|
33
|
+
* @description Make a new signing secret for a destination. The old one stops working at once
|
|
34
|
+
*/
|
|
35
|
+
rotateEventDestinationSecret(id: string): Promise<EventDestinationSecret>;
|
|
36
|
+
/**
|
|
37
|
+
* @name Test event destination
|
|
38
|
+
* @description Send a destination a test event now, and say what it answered. Sent even when the destination is off
|
|
39
|
+
*/
|
|
40
|
+
testEventDestination(id: string): Promise<EventTestResult>;
|
|
41
|
+
/**
|
|
42
|
+
* @name List event deliveries
|
|
43
|
+
* @description A destination's latest delivery attempts, newest first
|
|
44
|
+
*/
|
|
45
|
+
listEventDeliveries(id: string): Promise<EventDeliveryList>;
|
|
46
|
+
}
|
|
47
|
+
//# sourceMappingURL=events.client.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"events.client.d.ts","sourceRoot":"","sources":["../../src/events/events.client.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAElD,OAAO,KAAK,EACR,iBAAiB,EACjB,gBAAgB,EAChB,sBAAsB,EACtB,uBAAuB,EACvB,oBAAoB,EACpB,sBAAsB,EACtB,sBAAsB,EACtB,eAAe,EACf,aAAa,EAChB,MAAM,yBAAyB,CAAC;AAGjC,qBAAa,YAAY;IACT,OAAO,CAAC,KAAK;gBAAL,KAAK,EAAE,QAAQ;IAEnC;;;OAGG;IACG,cAAc,IAAI,OAAO,CAAC,aAAa,CAAC;IAK9C;;;OAGG;IACG,qBAAqB,IAAI,OAAO,CAAC,oBAAoB,CAAC;IAK5D;;;OAGG;IACG,sBAAsB,CAAC,IAAI,EAAE,sBAAsB,GAAG,OAAO,CAAC,uBAAuB,CAAC;IAS5F;;;OAGG;IACG,sBAAsB,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,sBAAsB,GAAG,OAAO,CAAC,gBAAgB,CAAC;IASjG;;;OAGG;IACG,sBAAsB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAIvD;;;OAGG;IACG,4BAA4B,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,sBAAsB,CAAC;IAK/E;;;OAGG;IACG,oBAAoB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,eAAe,CAAC;IAKhE;;;OAGG;IACG,mBAAmB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,iBAAiB,CAAC;CAIpE"}
|
|
@@ -0,0 +1,280 @@
|
|
|
1
|
+
import { DateTime } from 'luxon';
|
|
2
|
+
/**
|
|
3
|
+
* Somewhere the station sends what happens on it: an operator's own server, sent a signed POST per event
|
|
4
|
+
* generated from [EventDestination](../../../../../apps/api/data/contracts/events/events.types.ck)
|
|
5
|
+
*/
|
|
6
|
+
export interface EventDestination {
|
|
7
|
+
id: string;
|
|
8
|
+
/** What the operator calls it */
|
|
9
|
+
name: string;
|
|
10
|
+
/** Where events are POSTed. http or https, and allowed to be on the station's own network. A redirect is never followed */
|
|
11
|
+
url: string;
|
|
12
|
+
/** Off sends nothing */
|
|
13
|
+
enabled: boolean;
|
|
14
|
+
/** The event types it is sent, from `/events/types`. Empty means every type, including any added later */
|
|
15
|
+
events: string[];
|
|
16
|
+
/** Deliveries in a row that did not arrive. Any delivery that arrives sets it back to nothing; at twenty the station turns the destination off */
|
|
17
|
+
consecutiveFailures: number;
|
|
18
|
+
/** Set when the station turned it off itself, because it kept failing. Turning it back on clears this and the count */
|
|
19
|
+
disabledReason?: 'failing';
|
|
20
|
+
lastDeliveredAt?: DateTime;
|
|
21
|
+
lastFailedAt?: DateTime;
|
|
22
|
+
/** What went wrong last time, in the station's words */
|
|
23
|
+
lastFailure?: string;
|
|
24
|
+
createdAt: DateTime;
|
|
25
|
+
updatedAt: DateTime;
|
|
26
|
+
}
|
|
27
|
+
export interface EventDestinationInput {
|
|
28
|
+
/** What the operator calls it */
|
|
29
|
+
name: string;
|
|
30
|
+
/** Where events are POSTed. http or https, and allowed to be on the station's own network. A redirect is never followed */
|
|
31
|
+
url: string;
|
|
32
|
+
/** Off sends nothing */
|
|
33
|
+
enabled: boolean;
|
|
34
|
+
/** The event types it is sent, from `/events/types`. Empty means every type, including any added later */
|
|
35
|
+
events: string[];
|
|
36
|
+
}
|
|
37
|
+
/** Rehydrates every wire-encoded scalar in a EventDestination into its runtime type. Mutates and returns `raw`. */
|
|
38
|
+
export declare function reviveEventDestination(raw: EventDestination): EventDestination;
|
|
39
|
+
/**
|
|
40
|
+
* A new event destination
|
|
41
|
+
* generated from [EventDestinationCreate](../../../../../apps/api/data/contracts/events/events.types.ck)
|
|
42
|
+
*/
|
|
43
|
+
export interface EventDestinationCreate {
|
|
44
|
+
name: string;
|
|
45
|
+
url: string;
|
|
46
|
+
/** Defaults to on */
|
|
47
|
+
enabled?: boolean;
|
|
48
|
+
/** The event types to send it. Absent or empty means every type */
|
|
49
|
+
events?: string[];
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Changes to an event destination. Only what is sent changes
|
|
53
|
+
* generated from [EventDestinationUpdate](../../../../../apps/api/data/contracts/events/events.types.ck)
|
|
54
|
+
*/
|
|
55
|
+
export interface EventDestinationUpdate {
|
|
56
|
+
name?: string;
|
|
57
|
+
url?: string;
|
|
58
|
+
/** Turning a destination back on also clears why the station turned it off, and its count of failures */
|
|
59
|
+
enabled?: boolean;
|
|
60
|
+
/** Empty means every type */
|
|
61
|
+
events?: string[];
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* The secret deliveries to a destination are signed with. Shown only when it is made, so keep it
|
|
65
|
+
* generated from [EventDestinationSecret](../../../../../apps/api/data/contracts/events/events.types.ck)
|
|
66
|
+
*/
|
|
67
|
+
export interface EventDestinationSecret {
|
|
68
|
+
/** Put this in the receiver. Each delivery carries `Deadair-Webhook-Signature: v1=<hex HMAC-SHA256 of "<Deadair-Webhook-Timestamp>.<body>">` */
|
|
69
|
+
secret: string;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* One attempt at sending an event to a destination
|
|
73
|
+
* generated from [EventDelivery](../../../../../apps/api/data/contracts/events/events.types.ck)
|
|
74
|
+
*/
|
|
75
|
+
export interface EventDelivery {
|
|
76
|
+
id: string;
|
|
77
|
+
/** The event's own id, which every attempt at it shares */
|
|
78
|
+
eventId: string;
|
|
79
|
+
eventType: string;
|
|
80
|
+
attempt: number;
|
|
81
|
+
/** `dropped` is an event no longer worth sending, such as a record that finished playing while its destination was down */
|
|
82
|
+
outcome: 'delivered' | 'failed' | 'dropped';
|
|
83
|
+
/** What the destination answered, when it answered at all */
|
|
84
|
+
httpStatus?: number;
|
|
85
|
+
durationMs: number;
|
|
86
|
+
/** What went wrong, in the station's words. Never the destination's response body */
|
|
87
|
+
error?: string;
|
|
88
|
+
createdAt: DateTime;
|
|
89
|
+
}
|
|
90
|
+
/** Rehydrates every wire-encoded scalar in a EventDelivery into its runtime type. Mutates and returns `raw`. */
|
|
91
|
+
export declare function reviveEventDelivery(raw: EventDelivery): EventDelivery;
|
|
92
|
+
/**
|
|
93
|
+
* What a test delivery came to
|
|
94
|
+
* generated from [EventTestResult](../../../../../apps/api/data/contracts/events/events.types.ck)
|
|
95
|
+
*/
|
|
96
|
+
export interface EventTestResult {
|
|
97
|
+
delivered: boolean;
|
|
98
|
+
/** What the destination answered, when it answered at all */
|
|
99
|
+
httpStatus?: number;
|
|
100
|
+
durationMs: number;
|
|
101
|
+
/** Why it was not delivered, in the station's words */
|
|
102
|
+
error?: string;
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Which station sent an event
|
|
106
|
+
* generated from [EventStation](../../../../../apps/api/data/contracts/events/events.types.ck)
|
|
107
|
+
*/
|
|
108
|
+
export interface EventStation {
|
|
109
|
+
key: string;
|
|
110
|
+
name: string;
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* `data` of `track.started`: a record began playing, as listeners heard it
|
|
114
|
+
* generated from [TrackStartedData](../../../../../apps/api/data/contracts/events/events.types.ck)
|
|
115
|
+
*/
|
|
116
|
+
export interface TrackStartedData {
|
|
117
|
+
/** The running order's id for this play */
|
|
118
|
+
itemId: string;
|
|
119
|
+
title: string;
|
|
120
|
+
/** The credit as the release writes it */
|
|
121
|
+
artists: string[];
|
|
122
|
+
/** The credit as one line, for showing */
|
|
123
|
+
artist: string;
|
|
124
|
+
album?: string;
|
|
125
|
+
year?: number;
|
|
126
|
+
/** The station's catalog id, where the record is in the catalog */
|
|
127
|
+
trackId?: string;
|
|
128
|
+
durationMs?: number;
|
|
129
|
+
/** When it should finish, as an ISO-8601 instant in UTC */
|
|
130
|
+
endsAt?: string;
|
|
131
|
+
/** The cover as the station serves it publicly, or the station's logo. Absent when the station has no public address */
|
|
132
|
+
artworkUrl?: string;
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* `data` of `talk.started`: the station began speaking, in a break or a bulletin
|
|
136
|
+
* generated from [TalkStartedData](../../../../../apps/api/data/contracts/events/events.types.ck)
|
|
137
|
+
*/
|
|
138
|
+
export interface TalkStartedData {
|
|
139
|
+
itemId: string;
|
|
140
|
+
segmentId: string;
|
|
141
|
+
/** What sort of break: `talkbreak`, `news`, `weather`, `welcome` and so on */
|
|
142
|
+
kind: string;
|
|
143
|
+
/** What a listener may be told it is, where the writer said */
|
|
144
|
+
label?: string;
|
|
145
|
+
durationMs?: number;
|
|
146
|
+
/** When it should finish, as an ISO-8601 instant in UTC */
|
|
147
|
+
endsAt?: string;
|
|
148
|
+
}
|
|
149
|
+
/**
|
|
150
|
+
* `data` of `production.started`: a produced piece, such as a phone-in or a guest, began. Sent once per production
|
|
151
|
+
* generated from [ProductionStartedData](../../../../../apps/api/data/contracts/events/events.types.ck)
|
|
152
|
+
*/
|
|
153
|
+
export interface ProductionStartedData {
|
|
154
|
+
itemId: string;
|
|
155
|
+
productionId: string;
|
|
156
|
+
/** What sort of production: `callin`, `visit`, `banter` and so on */
|
|
157
|
+
kind: string;
|
|
158
|
+
title: string;
|
|
159
|
+
durationMs?: number;
|
|
160
|
+
/** When it should finish, as an ISO-8601 instant in UTC */
|
|
161
|
+
endsAt?: string;
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* `data` of `programme.started`: a programme the station carries began, a podcast episode or a reading
|
|
165
|
+
* generated from [ProgrammeStartedData](../../../../../apps/api/data/contracts/events/events.types.ck)
|
|
166
|
+
*/
|
|
167
|
+
export interface ProgrammeStartedData {
|
|
168
|
+
itemId: string;
|
|
169
|
+
segmentId: string;
|
|
170
|
+
/** A podcast episode as published, or something the station reads out itself */
|
|
171
|
+
source: 'podcast' | 'narration';
|
|
172
|
+
show?: string;
|
|
173
|
+
episode: string;
|
|
174
|
+
durationMs?: number;
|
|
175
|
+
/** When it should finish, as an ISO-8601 instant in UTC */
|
|
176
|
+
endsAt?: string;
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
* `data` of `station.onAir` and `station.offAir`: the station went on air, or came off it
|
|
180
|
+
* generated from [StationAirData](../../../../../apps/api/data/contracts/events/events.types.ck)
|
|
181
|
+
*/
|
|
182
|
+
export interface StationAirData {
|
|
183
|
+
/** A new running order, the stopped one started again, somebody stopping it, or the running order running out */
|
|
184
|
+
reason: 'programme' | 'resumed' | 'stopped' | 'ranOut';
|
|
185
|
+
/** The running order's name, when going on air with a new one that has one */
|
|
186
|
+
programme?: string;
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* Who a request is dedicated to, and what the listener wanted said. The listener's own words
|
|
190
|
+
* generated from [RequestDedication](../../../../../apps/api/data/contracts/events/events.types.ck)
|
|
191
|
+
*/
|
|
192
|
+
export interface RequestDedication {
|
|
193
|
+
to?: string;
|
|
194
|
+
message?: string;
|
|
195
|
+
}
|
|
196
|
+
/**
|
|
197
|
+
* Every event destination, oldest first
|
|
198
|
+
* generated from [EventDestinationList](../../../../../apps/api/data/contracts/events/events.types.ck)
|
|
199
|
+
*/
|
|
200
|
+
export interface EventDestinationList {
|
|
201
|
+
destinations: EventDestination[];
|
|
202
|
+
}
|
|
203
|
+
export interface EventDestinationListInput {
|
|
204
|
+
destinations: EventDestinationInput[];
|
|
205
|
+
}
|
|
206
|
+
/** Rehydrates every wire-encoded scalar in a EventDestinationList into its runtime type. Mutates and returns `raw`. */
|
|
207
|
+
export declare function reviveEventDestinationList(raw: EventDestinationList): EventDestinationList;
|
|
208
|
+
/**
|
|
209
|
+
* A destination just made, with its secret
|
|
210
|
+
* generated from [EventDestinationCreated](../../../../../apps/api/data/contracts/events/events.types.ck)
|
|
211
|
+
*/
|
|
212
|
+
export type EventDestinationCreated = EventDestination & EventDestinationSecret;
|
|
213
|
+
export type EventDestinationCreatedInput = EventDestinationInput & EventDestinationSecret;
|
|
214
|
+
/** Rehydrates every wire-encoded scalar in a EventDestinationCreated into its runtime type. Mutates and returns `raw`. */
|
|
215
|
+
export declare function reviveEventDestinationCreated(raw: EventDestinationCreated): EventDestinationCreated;
|
|
216
|
+
/**
|
|
217
|
+
* A destination's latest delivery attempts, newest first. The station keeps the latest fifty
|
|
218
|
+
* generated from [EventDeliveryList](../../../../../apps/api/data/contracts/events/events.types.ck)
|
|
219
|
+
*/
|
|
220
|
+
export interface EventDeliveryList {
|
|
221
|
+
deliveries: EventDelivery[];
|
|
222
|
+
}
|
|
223
|
+
/** Rehydrates every wire-encoded scalar in a EventDeliveryList into its runtime type. Mutates and returns `raw`. */
|
|
224
|
+
export declare function reviveEventDeliveryList(raw: EventDeliveryList): EventDeliveryList;
|
|
225
|
+
/**
|
|
226
|
+
* One event, as a destination receives it. The same shape for every type: read `type`, then `data`
|
|
227
|
+
* generated from [EventEnvelope](../../../../../apps/api/data/contracts/events/events.types.ck)
|
|
228
|
+
*/
|
|
229
|
+
export interface EventEnvelope {
|
|
230
|
+
/** The event's own id. A redelivery of the same event carries the same one */
|
|
231
|
+
id: string;
|
|
232
|
+
/** What happened, such as `track.started` */
|
|
233
|
+
type: string;
|
|
234
|
+
/** When, as an ISO-8601 instant in UTC */
|
|
235
|
+
occurredAt: string;
|
|
236
|
+
station: EventStation;
|
|
237
|
+
/** What the type says it holds. `/events/types` gives an example of each */
|
|
238
|
+
data: Record<string, unknown>;
|
|
239
|
+
}
|
|
240
|
+
/**
|
|
241
|
+
* `data` of `request.received`: a listener asked for a record, from an app, the console, a party pass or a chat
|
|
242
|
+
* generated from [RequestReceivedData](../../../../../apps/api/data/contracts/events/events.types.ck)
|
|
243
|
+
*/
|
|
244
|
+
export interface RequestReceivedData {
|
|
245
|
+
requestId: string;
|
|
246
|
+
trackId: string;
|
|
247
|
+
title: string;
|
|
248
|
+
artist: string;
|
|
249
|
+
/** What the listener is called, as the station names them */
|
|
250
|
+
requesterName: string;
|
|
251
|
+
/** Where they asked from. `app` covers the console, the listener apps and a party pass */
|
|
252
|
+
via: 'app' | 'chat';
|
|
253
|
+
/** How it stands now: waiting on an operator, waiting on its audio, in the running order, or declined */
|
|
254
|
+
status: 'waiting' | 'pending' | 'queued' | 'aired' | 'declined' | 'expired';
|
|
255
|
+
/** Why it was declined, as the listener is told */
|
|
256
|
+
reason?: string;
|
|
257
|
+
/** The listener asked for it again after the station turned it down for its own taste */
|
|
258
|
+
insisted?: boolean;
|
|
259
|
+
dedication?: RequestDedication;
|
|
260
|
+
}
|
|
261
|
+
/**
|
|
262
|
+
* One kind of event the station sends
|
|
263
|
+
* generated from [EventType](../../../../../apps/api/data/contracts/events/events.types.ck)
|
|
264
|
+
*/
|
|
265
|
+
export interface EventType {
|
|
266
|
+
type: string;
|
|
267
|
+
/** When it is sent, and what its `data` holds */
|
|
268
|
+
description: string;
|
|
269
|
+
/** False for the test event, which only a test delivery sends */
|
|
270
|
+
subscribable: boolean;
|
|
271
|
+
example: EventEnvelope;
|
|
272
|
+
}
|
|
273
|
+
/**
|
|
274
|
+
* Every kind of event the station sends
|
|
275
|
+
* generated from [EventTypeList](../../../../../apps/api/data/contracts/events/events.types.ck)
|
|
276
|
+
*/
|
|
277
|
+
export interface EventTypeList {
|
|
278
|
+
types: EventType[];
|
|
279
|
+
}
|
|
280
|
+
//# sourceMappingURL=events.types.d.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AS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,6DAA6D;IAC7D,aAAa,EAAE,MAAM,CAAC;IACtB,0FAA0F;IAC1F,GAAG,EAAE,KAAK,GAAG,MAAM,CAAC;IACpB,yGAAyG;IACzG,MAAM,EAAE,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,OAAO,GAAG,UAAU,GAAG,SAAS,CAAC;IAC5E,mDAAmD;IACnD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,yFAAyF;IACzF,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,iBAAiB,CAAC;CAClC;AAED;;;GAGG;AACH,MAAM,WAAW,SAAS;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,iDAAiD;IACjD,WAAW,EAAE,MAAM,CAAC;IACpB,iEAAiE;IACjE,YAAY,EAAE,OAAO,CAAC;IACtB,OAAO,EAAE,aAAa,CAAC;CAC1B;AAED;;;GAGG;AACH,MAAM,WAAW,aAAa;IAC1B,KAAK,EAAE,SAAS,EAAE,CAAC;CACtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/events/types/index.ts"],"names":[],"mappings":"AACA,cAAc,mBAAmB,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -14,6 +14,8 @@ export * from './charts/types/index.js';
|
|
|
14
14
|
export * from './deadair.sdk.js';
|
|
15
15
|
export * from './director/director.client.js';
|
|
16
16
|
export * from './director/types/index.js';
|
|
17
|
+
export * from './events/events.client.js';
|
|
18
|
+
export * from './events/types/index.js';
|
|
17
19
|
export * from './history/history.client.js';
|
|
18
20
|
export * from './history/types/index.js';
|
|
19
21
|
export * from './languages/languages.client.js';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"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