Skip to content

Commit 28a1419

Browse files
authored
Merge branch 'main' into meyerisabela/14372/remove-handler-for-sip-endpoint-subscribers
2 parents f8a6d0f + 29d3ded commit 28a1419

File tree

50 files changed

+2755
-2469
lines changed

Some content is hidden

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

50 files changed

+2755
-2469
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
FROM node:20 AS builder
22
WORKDIR /app
33
COPY . /app
4+
ENV NODE_OPTIONS="--max-old-space-size=4096"
45
RUN npm run install-ci && npm run build
56

67

api/compatibility-api/_spec_.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7035,6 +7035,15 @@ paths:
70357035
URLs per message. There is a limit of 5MB for the total
70367036
combined media size per message. See the MIME Types section
70377037
for a full list of content types supported by SignalWire.
7038+
SendAsMms:
7039+
type: boolean
7040+
description: >
7041+
When set to true, forces the message to be sent as an MMS,
7042+
even if the message body contains only text. This is useful
7043+
for avoiding SMS segmentation when sending long messages.
7044+
Instead of being split into multiple SMS segments, the message
7045+
is delivered as a single MMS payload.
7046+
example: false
70387047
ApplicationSid:
70397048
type: string
70407049
description: >
@@ -9738,4 +9747,4 @@ paths:
97389747
format: uuid
97399748
responses:
97409749
'204':
9741-
description: No Content
9750+
description: No Content

api/signalwire-rest/calling-api/main.tsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import "./calls";
77
using TypeSpec.Http;
88
using Types.StatusCodes;
99

10-
@service({
10+
@service(#{
1111
title: "Calling API",
1212
})
1313
@server("https://{space_name}.signalwire.com/api/calling", "Endpoint", {

api/signalwire-rest/chat-api/main.tsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import "./tokens";
88
using TypeSpec.Http;
99
using Types.StatusCodes;
1010

11-
@service({
11+
@service(#{
1212
title: "Chat API",
1313
})
1414
@server("https://{space_name}.signalwire.com/api/chat", "Endpoint", {

api/signalwire-rest/datasphere-api/document/main.tsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ namespace DatasphereAPI.Documents {
2929

3030
@doc("Updates a Datasphere Document by ID")
3131
@summary("Update a Document")
32-
@patch update(...PathID, ...DocumentUpdateRequest): {
32+
@patch(#{ implicitOptionality: true }) update(...PathID, ...DocumentUpdateRequest): {
3333
@statusCode statusCode: 200; @body document: Document;
3434
} |
3535
StatusCode401 |

api/signalwire-rest/datasphere-api/main.tsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import "./document";
55
using TypeSpec.Http;
66
using Types.StatusCodes;
77

8-
@service({
8+
@service(#{
99
title: "Datasphere API",
1010
})
1111
@server("https://{space_name}.signalwire.com/api/datasphere", "Endpoint", {

api/signalwire-rest/datasphere-api/tsp-output/@typespec/openapi3/openapi.yaml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ paths:
2323
'401':
2424
description: Access is unauthorized.
2525
content:
26-
application/json:
26+
text/plain:
2727
schema:
2828
type: string
2929
enum:
3030
- Unauthorized
3131
'404':
3232
description: The server cannot find the requested resource.
3333
content:
34-
application/json:
34+
text/plain:
3535
schema:
3636
type: string
3737
enum:
@@ -53,15 +53,15 @@ paths:
5353
'401':
5454
description: Access is unauthorized.
5555
content:
56-
application/json:
56+
text/plain:
5757
schema:
5858
type: string
5959
enum:
6060
- Unauthorized
6161
'404':
6262
description: The server cannot find the requested resource.
6363
content:
64-
application/json:
64+
text/plain:
6565
schema:
6666
type: string
6767
enum:
@@ -98,15 +98,15 @@ paths:
9898
'401':
9999
description: Access is unauthorized.
100100
content:
101-
application/json:
101+
text/plain:
102102
schema:
103103
type: string
104104
enum:
105105
- Unauthorized
106106
'404':
107107
description: The server cannot find the requested resource.
108108
content:
109-
application/json:
109+
text/plain:
110110
schema:
111111
type: string
112112
enum:
@@ -142,15 +142,15 @@ paths:
142142
'401':
143143
description: Access is unauthorized.
144144
content:
145-
application/json:
145+
text/plain:
146146
schema:
147147
type: string
148148
enum:
149149
- Unauthorized
150150
'404':
151151
description: The server cannot find the requested resource.
152152
content:
153-
application/json:
153+
text/plain:
154154
schema:
155155
type: string
156156
enum:
@@ -175,15 +175,15 @@ paths:
175175
'401':
176176
description: Access is unauthorized.
177177
content:
178-
application/json:
178+
text/plain:
179179
schema:
180180
type: string
181181
enum:
182182
- Unauthorized
183183
'404':
184184
description: The server cannot find the requested resource.
185185
content:
186-
application/json:
186+
text/plain:
187187
schema:
188188
type: string
189189
enum:
@@ -203,15 +203,15 @@ paths:
203203
'401':
204204
description: Access is unauthorized.
205205
content:
206-
application/json:
206+
text/plain:
207207
schema:
208208
type: string
209209
enum:
210210
- Unauthorized
211211
'404':
212212
description: The server cannot find the requested resource.
213213
content:
214-
application/json:
214+
text/plain:
215215
schema:
216216
type: string
217217
enum:
@@ -235,15 +235,15 @@ paths:
235235
'401':
236236
description: Access is unauthorized.
237237
content:
238-
application/json:
238+
text/plain:
239239
schema:
240240
type: string
241241
enum:
242242
- Unauthorized
243243
'404':
244244
description: The server cannot find the requested resource.
245245
content:
246-
application/json:
246+
text/plain:
247247
schema:
248248
type: string
249249
enum:
@@ -274,15 +274,15 @@ paths:
274274
'401':
275275
description: Access is unauthorized.
276276
content:
277-
application/json:
277+
text/plain:
278278
schema:
279279
type: string
280280
enum:
281281
- Unauthorized
282282
'404':
283283
description: The server cannot find the requested resource.
284284
content:
285-
application/json:
285+
text/plain:
286286
schema:
287287
type: string
288288
enum:
@@ -782,7 +782,7 @@ components:
782782
securitySchemes:
783783
BasicAuth:
784784
type: http
785-
scheme: basic
785+
scheme: Basic
786786
servers:
787787
- url: https://{space_name}.signalwire.com/api/datasphere
788788
description: Endpoint

0 commit comments

Comments
 (0)