Skip to content

Commit 8c11a7f

Browse files
authored
Merge branch 'main' into august-0725-new-ai-homepage
2 parents f328d4c + db5c00d commit 8c11a7f

File tree

443 files changed

+34860
-6148
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

443 files changed

+34860
-6148
lines changed

.github/CODEOWNERS

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
* @Devon-White @briankwest @niravcodes @hey-august
1+
* @Devon-White @briankwest @niravcodes @hey-august @Manny-r31
2+

.gitmodules

Lines changed: 0 additions & 3 deletions
This file was deleted.

Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ ENV NODE_OPTIONS="--max-old-space-size=4096"
77
# Copy root package files first for better caching
88
COPY package*.json ./
99
COPY .yarnrc* ./
10+
COPY tsconfig.json ./
1011

1112
# Copy workspace package.json files for dependency resolution
1213
COPY website/package*.json ./website/
@@ -21,6 +22,9 @@ COPY tools ./tools
2122
# Install dependencies and run postinstall (builds specs and website)
2223
RUN yarn install --frozen-lockfile
2324

25+
# Build the website
26+
RUN yarn build:website
27+
2428
# Switch to website directory for final output
2529
WORKDIR /app/website
2630

docs/swml/agents-sdk/_source

Lines changed: 0 additions & 1 deletion
This file was deleted.

netlify.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
base = ""
44
command = "yarn install && yarn build"
55
publish = "website/build/"
6-
environment = { NODE_VERSION = "20", NODE_OPTIONS = "--max_old_space_size=4096", WEBPACK_URL_LOADER_LIMIT = "512" }
6+
environment = { NODE_VERSION = "22", NODE_OPTIONS = "--max_old_space_size=4096", WEBPACK_URL_LOADER_LIMIT = "512", DOCUSAURUS_SSG_WORKER_THREAD_COUNT = "4", DOCUSAURUS_SSG_WORKER_THREAD_TASK_SIZE = "50" }
77

88
# All deploys from the main branch
99
# will inherit these settings.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@
2424
"typescript": "^5.5.4"
2525
},
2626
"resolutions": {
27-
"@signalwire/webrtc": "3.14.0-dev.202506111650.ad2f5be.0"
27+
"@signalwire/js": "3.29.1"
2828
}
2929
}

specs/compatibility-api/_spec_.yaml

Lines changed: 280 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ tags:
186186
- name: Available Phone Numbers
187187
- name: Calls
188188
- name: Conference Participants
189+
- name: Conference Streams
189190
- name: Conferences
190191
- name: Faxes
191192
- name: Fax Media
@@ -4153,6 +4154,285 @@ paths:
41534154
description: Links to the recordings
41544155
example: >-
41554156
/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/Conferences/b3877c40-da60-4998-90ad-b792e98472ca/Recordings.json
4157+
/Accounts/{AccountSid}/Conferences/{ConferenceSid}/Streams:
4158+
post:
4159+
parameters:
4160+
- name: AccountSid
4161+
in: path
4162+
description: >-
4163+
The unique identifier for the account that is associated with this
4164+
stream.
4165+
required: true
4166+
schema:
4167+
type: string
4168+
format: uuid
4169+
- name: ConferenceSid
4170+
in: path
4171+
description: >-
4172+
The unique identifier for the conference that is associated with this
4173+
stream.
4174+
required: true
4175+
schema:
4176+
type: string
4177+
format: uuid
4178+
operationId: create_conference_stream
4179+
summary: Create a Conference Stream.
4180+
description: |
4181+
Create a stream for an existing conference.
4182+
4183+
#### Permissions
4184+
The API token must include the following scopes: _Voice_.
4185+
tags:
4186+
- Conference Streams
4187+
requestBody:
4188+
required: true
4189+
content:
4190+
application/x-www-form-urlencoded:
4191+
schema:
4192+
type: object
4193+
properties:
4194+
Name:
4195+
type: string
4196+
description: >-
4197+
Unique name for the Stream, per Conference. It is used to stop a
4198+
Stream by name.
4199+
example: my_conference_stream
4200+
Track:
4201+
type: string
4202+
description: >-
4203+
This attribute can be one of inbound_track, outbound_track,
4204+
both_tracks. Default is `both_tracks`.
4205+
enum:
4206+
- inbound_track
4207+
- outbound_track
4208+
- both_tracks
4209+
example: both_tracks
4210+
StatusCallbackMethod:
4211+
type: string
4212+
description: >-
4213+
Whether the request to `StatusCallback` URL is a `GET` or a
4214+
`POST`. Default is `POST`.
4215+
enum:
4216+
- GET
4217+
- POST
4218+
example: GET
4219+
StatusCallback:
4220+
type: string
4221+
description: The URL to request to when stream is available.
4222+
example: 'null'
4223+
Url:
4224+
type: string
4225+
description: >-
4226+
Absolute or relative URL. A WebSocket connection to the url
4227+
will be established and audio will start flowing towards the
4228+
Websocket server. The only supported protocol is wss. For
4229+
security reasons ws is NOT supported.
4230+
example: wss://your-application.com/audiostream
4231+
StreamCodec:
4232+
type: string
4233+
description: The audio codec to use for the stream.
4234+
enum:
4235+
- PCMU
4236+
- PCMA
4237+
- L16
4238+
- L16@16000h
4239+
- L16@24000h
4240+
example: PCMU
4241+
StreamRealTime:
4242+
type: boolean
4243+
description: Enable real-time streaming for the conference stream.
4244+
example: true
4245+
responses:
4246+
'200':
4247+
description: OK
4248+
content:
4249+
application/json:
4250+
schema:
4251+
type: object
4252+
required:
4253+
- account_sid
4254+
- conference_sid
4255+
- sid
4256+
- name
4257+
- status
4258+
- date_updated
4259+
- uri
4260+
properties:
4261+
account_sid:
4262+
type: string
4263+
format: uuid
4264+
description: >-
4265+
The unique identifier for the account that is associated
4266+
with this stream.
4267+
example: abc123-def456-ghi789
4268+
conference_sid:
4269+
type: string
4270+
description: >-
4271+
The unique identifier for the conference that is associated with
4272+
this stream.
4273+
example: conf_abc123
4274+
sid:
4275+
type: string
4276+
description: The unique identifier for the stream.
4277+
example: stream_xyz789
4278+
name:
4279+
type: string
4280+
description: >-
4281+
Unique name for the Stream, per Conference. It is used to stop a
4282+
Stream by name.
4283+
example: my_conference_stream
4284+
status:
4285+
type: string
4286+
description: The status of the stream.
4287+
enum:
4288+
- in-progress
4289+
- stopped
4290+
example: in-progress
4291+
date_updated:
4292+
type: string
4293+
description: The date, in RFC 2822 format, this stream was updated.
4294+
example: Mon, 30 Oct 2023 15:35:13 +0000
4295+
uri:
4296+
type: string
4297+
description: The URI of the stream.
4298+
example: >-
4299+
/api/laml/2010-04-01/Accounts/abc123-def456-ghi789/Conferences/conf_abc123/Streams/stream_xyz789.json
4300+
'422':
4301+
description: Unprocessable Entity
4302+
content:
4303+
application/json:
4304+
schema:
4305+
type: object
4306+
required:
4307+
- errors
4308+
properties:
4309+
errors:
4310+
type: array
4311+
items:
4312+
type: string
4313+
description: List of validation error messages.
4314+
example: ["Validation error message"]
4315+
/Accounts/{AccountSid}/Conferences/{ConferenceSid}/Streams/{Sid}:
4316+
post:
4317+
parameters:
4318+
- name: AccountSid
4319+
in: path
4320+
description: >-
4321+
The unique identifier for the account that is associated with this
4322+
stream.
4323+
required: true
4324+
schema:
4325+
type: string
4326+
format: uuid
4327+
- name: ConferenceSid
4328+
in: path
4329+
description: >-
4330+
The unique identifier for the conference that is associated with this
4331+
stream.
4332+
required: true
4333+
schema:
4334+
type: string
4335+
format: uuid
4336+
- name: Sid
4337+
in: path
4338+
description: The unique identifier for the stream.
4339+
required: true
4340+
schema:
4341+
type: string
4342+
format: uuid
4343+
operationId: update_conference_stream
4344+
summary: Update Conference Stream
4345+
description: |
4346+
Update an existing conference stream. Commonly used to stop/start streams or modify stream properties.
4347+
#### Permissions
4348+
The API token must include the following scopes: _Voice_.
4349+
tags:
4350+
- Conference Streams
4351+
requestBody:
4352+
content:
4353+
application/x-www-form-urlencoded:
4354+
schema:
4355+
type: object
4356+
required:
4357+
- Status
4358+
properties:
4359+
Status:
4360+
type: string
4361+
description: The status of the stream.
4362+
enum:
4363+
- in-progress
4364+
- stopped
4365+
example: stopped
4366+
responses:
4367+
'200':
4368+
description: OK
4369+
content:
4370+
application/json:
4371+
schema:
4372+
type: object
4373+
required:
4374+
- account_sid
4375+
- conference_sid
4376+
- sid
4377+
- name
4378+
- status
4379+
- date_updated
4380+
- uri
4381+
properties:
4382+
account_sid:
4383+
type: string
4384+
format: uuid
4385+
description: >-
4386+
The unique identifier for the account that is associated
4387+
with this stream.
4388+
example: abc123-def456-ghi789
4389+
conference_sid:
4390+
type: string
4391+
description: >-
4392+
The unique identifier for the conference that is associated with
4393+
this stream.
4394+
example: conf_abc123
4395+
sid:
4396+
type: string
4397+
description: The unique identifier for the stream.
4398+
example: stream_xyz789
4399+
name:
4400+
type: string
4401+
description: >-
4402+
Unique name for the Stream, per Conference. It is used to stop a
4403+
Stream by name.
4404+
example: my_conference_stream
4405+
status:
4406+
type: string
4407+
description: The status of the stream.
4408+
enum:
4409+
- in-progress
4410+
- stopped
4411+
example: stopped
4412+
date_updated:
4413+
type: string
4414+
description: The date, in RFC 2822 format, this stream was updated.
4415+
example: Mon, 30 Oct 2023 16:45:22 +0000
4416+
uri:
4417+
type: string
4418+
description: The URI of the stream.
4419+
example: >-
4420+
/api/laml/2010-04-01/Accounts/abc123-def456-ghi789/Conferences/conf_abc123/Streams/stream_xyz789.json
4421+
'422':
4422+
description: Unprocessable Entity
4423+
content:
4424+
application/json:
4425+
schema:
4426+
type: object
4427+
required:
4428+
- errors
4429+
properties:
4430+
errors:
4431+
type: array
4432+
items:
4433+
type: string
4434+
description: List of validation error messages.
4435+
example: ["Validation error message"]
41564436
/Accounts/{AccountSid}/Faxes:
41574437
get:
41584438
parameters:
@@ -7008,7 +7288,6 @@ paths:
70087288
- To
70097289
- From
70107290
- Body
7011-
- MediaUrl
70127291
properties:
70137292
To:
70147293
type: string

specs/package.json

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@
33
"version": "0.0.0",
44
"private": true,
55
"scripts": {
6-
"build": "yarn build:calling-api && yarn build:chat-api && yarn build:datasphere-api && yarn build:fabric-api && yarn build:logs-api && yarn build:fax-api && yarn build:message-api && yarn build:voice-api",
6+
"build": "yarn build:api",
7+
"build:all": "yarn build:api && yarn build:schema",
8+
"build:api": "yarn build:calling-api && yarn build:chat-api && yarn build:datasphere-api && yarn build:fabric-api && yarn build:logs-api && yarn build:fax-api && yarn build:message-api && yarn build:voice-api && yarn build:pubsub-api",
9+
"build:schema": "yarn build:swml",
10+
"build:swml": "cd ./swml && tsp compile . && cd ../",
711
"build:calling-api": "cd ./signalwire-rest/calling-api && tsp compile . && cd ../../",
812
"build:chat-api": "cd ./signalwire-rest/chat-api && tsp compile . && cd ../../",
913
"build:datasphere-api": "cd ./signalwire-rest/datasphere-api && tsp compile . && cd ../../",
@@ -12,17 +16,19 @@
1216
"build:fax-api": "cd ./signalwire-rest/fax-api && tsp compile . && cd ../../",
1317
"build:message-api": "cd ./signalwire-rest/message-api && tsp compile . && cd ../../",
1418
"build:voice-api": "cd ./signalwire-rest/voice-api && tsp compile . && cd ../../",
19+
"build:pubsub-api": "cd ./signalwire-rest/pubsub-api && tsp compile . && cd ../../",
1520
"clean": "echo 'Skipping clean step'",
1621
"prebuild": "yarn clean",
1722
"format": "tsp format **/*.tsp",
1823
"format:check": "tsp format --check **/*.tsp"
1924
},
2025
"dependencies": {
21-
"@typespec/compiler": "1.2.1",
22-
"@typespec/http": "1.2.1",
23-
"@typespec/openapi": "1.2.1",
24-
"@typespec/openapi3": "1.2.1",
25-
"@typespec/rest": "0.72.1"
26+
"@typespec/compiler": "1.3.0",
27+
"@typespec/http": "1.3.0",
28+
"@typespec/json-schema": "1.3.0",
29+
"@typespec/openapi": "1.3.0",
30+
"@typespec/openapi3": "1.3.0",
31+
"@typespec/rest": "0.73.0"
2632
},
2733
"devDependencies": {
2834
"typescript": "^5.5.4"

0 commit comments

Comments
 (0)