@crvouga/mockingbird-service-daily 2.0.0 → 2.2.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/CHANGELOG.md +24 -4
- package/README.md +2 -1
- package/SUPPORT.md +4 -3
- package/dist/{chunk-3T23R3WK.js → chunk-XBBOL255.js} +2 -2
- package/dist/chunk-ZJLG2FE7.js +4409 -0
- package/dist/chunk-ZJLG2FE7.js.map +7 -0
- package/dist/cli.js +2 -2
- package/dist/index.d.ts +5 -4
- package/dist/index.js +1 -1
- package/dist/server.d.ts +1 -0
- package/dist/server.js +2 -2
- package/openapi.yaml +44 -0
- package/package.json +2 -2
- package/dist/chunk-OAD7RBMW.js +0 -6515
- package/dist/chunk-OAD7RBMW.js.map +0 -7
- /package/dist/{chunk-3T23R3WK.js.map → chunk-XBBOL255.js.map} +0 -0
package/dist/cli.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -969,10 +969,10 @@ type OpenAPIDocument = {
|
|
|
969
969
|
};
|
|
970
970
|
|
|
971
971
|
declare const document: OpenAPIDocument;
|
|
972
|
-
type OperationId = "CreateRoom" | "GetRoom" | "UpdateRoom" | "DeleteRoom" | "GetRoomPresence" | "EjectParticipants" | "CreateMeetingToken" | "ValidateMeetingToken";
|
|
973
|
-
type SupportedOperationId = "CreateRoom" | "GetRoom" | "UpdateRoom" | "DeleteRoom" | "GetRoomPresence" | "EjectParticipants" | "CreateMeetingToken" | "ValidateMeetingToken";
|
|
974
|
-
declare const operationIds: readonly ["CreateRoom", "GetRoom", "UpdateRoom", "DeleteRoom", "GetRoomPresence", "EjectParticipants", "CreateMeetingToken", "ValidateMeetingToken"];
|
|
975
|
-
declare const supportedOperationIds: readonly ["CreateRoom", "GetRoom", "UpdateRoom", "DeleteRoom", "GetRoomPresence", "EjectParticipants", "CreateMeetingToken", "ValidateMeetingToken"];
|
|
972
|
+
type OperationId = "ListRooms" | "CreateRoom" | "GetRoom" | "UpdateRoom" | "DeleteRoom" | "GetRoomPresence" | "EjectParticipants" | "CreateMeetingToken" | "ValidateMeetingToken";
|
|
973
|
+
type SupportedOperationId = "ListRooms" | "CreateRoom" | "GetRoom" | "UpdateRoom" | "DeleteRoom" | "GetRoomPresence" | "EjectParticipants" | "CreateMeetingToken" | "ValidateMeetingToken";
|
|
974
|
+
declare const operationIds: readonly ["ListRooms", "CreateRoom", "GetRoom", "UpdateRoom", "DeleteRoom", "GetRoomPresence", "EjectParticipants", "CreateMeetingToken", "ValidateMeetingToken"];
|
|
975
|
+
declare const supportedOperationIds: readonly ["ListRooms", "CreateRoom", "GetRoom", "UpdateRoom", "DeleteRoom", "GetRoomPresence", "EjectParticipants", "CreateMeetingToken", "ValidateMeetingToken"];
|
|
976
976
|
|
|
977
977
|
/**
|
|
978
978
|
* Daily meeting tokens are HS256 JWTs signed with the domain's API key, their claims using
|
|
@@ -1135,6 +1135,7 @@ declare class DailyAPI implements FetchAPI$1 {
|
|
|
1135
1135
|
private checkTimes;
|
|
1136
1136
|
private withRoom;
|
|
1137
1137
|
private createRoom;
|
|
1138
|
+
private listRooms;
|
|
1138
1139
|
private updateRoom;
|
|
1139
1140
|
private deleteRoom;
|
|
1140
1141
|
private eject;
|
package/dist/index.js
CHANGED
package/dist/server.d.ts
CHANGED
package/dist/server.js
CHANGED
package/openapi.yaml
CHANGED
|
@@ -17,6 +17,50 @@ security:
|
|
|
17
17
|
- bearerAuth: []
|
|
18
18
|
paths:
|
|
19
19
|
/v1/rooms:
|
|
20
|
+
get:
|
|
21
|
+
operationId: ListRooms
|
|
22
|
+
x-mockingbird:
|
|
23
|
+
supported: true
|
|
24
|
+
parity:
|
|
25
|
+
enabled: true
|
|
26
|
+
safe: true
|
|
27
|
+
parameters:
|
|
28
|
+
- name: limit
|
|
29
|
+
in: query
|
|
30
|
+
schema:
|
|
31
|
+
type: integer
|
|
32
|
+
minimum: 1
|
|
33
|
+
- name: ending_before
|
|
34
|
+
in: query
|
|
35
|
+
schema:
|
|
36
|
+
type: string
|
|
37
|
+
- name: starting_after
|
|
38
|
+
in: query
|
|
39
|
+
schema:
|
|
40
|
+
type: string
|
|
41
|
+
responses:
|
|
42
|
+
"200":
|
|
43
|
+
description: Rooms in reverse creation order, with the account total
|
|
44
|
+
content:
|
|
45
|
+
application/json:
|
|
46
|
+
schema:
|
|
47
|
+
type: object
|
|
48
|
+
required: [total_count, data]
|
|
49
|
+
properties:
|
|
50
|
+
total_count:
|
|
51
|
+
type: integer
|
|
52
|
+
data:
|
|
53
|
+
type: array
|
|
54
|
+
items:
|
|
55
|
+
$ref: "#/components/schemas/Room"
|
|
56
|
+
"400":
|
|
57
|
+
$ref: "#/components/responses/InvalidRequest"
|
|
58
|
+
"401":
|
|
59
|
+
$ref: "#/components/responses/Unauthorized"
|
|
60
|
+
"429":
|
|
61
|
+
$ref: "#/components/responses/RateLimited"
|
|
62
|
+
"500":
|
|
63
|
+
$ref: "#/components/responses/ServerError"
|
|
20
64
|
post:
|
|
21
65
|
operationId: CreateRoom
|
|
22
66
|
x-mockingbird:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crvouga/mockingbird-service-daily",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0",
|
|
4
4
|
"description": "Stateful mock of the Daily.co REST API: rooms, presence, eject, meeting tokens (minted and self-signed HS256, verified and decodable), and transcription/recording webhooks with transcripts written to S3.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
"pack:check": "bun ../../../scripts/pack-check.ts"
|
|
101
101
|
},
|
|
102
102
|
"dependencies": {
|
|
103
|
-
"@crvouga/mockingbird-service-sqlite": "2.
|
|
103
|
+
"@crvouga/mockingbird-service-sqlite": "2.1.0",
|
|
104
104
|
"hono": "4.11.9"
|
|
105
105
|
},
|
|
106
106
|
"devDependencies": {
|