telnyx 6.65.0 → 6.66.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 -0
- package/client.d.mts +11 -10
- package/client.d.mts.map +1 -1
- package/client.d.ts +11 -10
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/ai/ai.d.mts +114 -116
- package/resources/ai/ai.d.mts.map +1 -1
- package/resources/ai/ai.d.ts +114 -116
- package/resources/ai/ai.d.ts.map +1 -1
- package/resources/ai/ai.js.map +1 -1
- package/resources/ai/ai.mjs.map +1 -1
- package/resources/ai/assistants/assistants.d.mts +139 -334
- package/resources/ai/assistants/assistants.d.mts.map +1 -1
- package/resources/ai/assistants/assistants.d.ts +139 -334
- package/resources/ai/assistants/assistants.d.ts.map +1 -1
- package/resources/ai/assistants/assistants.js.map +1 -1
- package/resources/ai/assistants/assistants.mjs.map +1 -1
- package/resources/ai/assistants/canary-deploys.d.mts +70 -241
- package/resources/ai/assistants/canary-deploys.d.mts.map +1 -1
- package/resources/ai/assistants/canary-deploys.d.ts +70 -241
- package/resources/ai/assistants/canary-deploys.d.ts.map +1 -1
- package/resources/ai/assistants/index.d.mts +2 -2
- package/resources/ai/assistants/index.d.mts.map +1 -1
- package/resources/ai/assistants/index.d.ts +2 -2
- package/resources/ai/assistants/index.d.ts.map +1 -1
- package/resources/ai/assistants/index.js.map +1 -1
- package/resources/ai/assistants/index.mjs.map +1 -1
- package/resources/ai/assistants/versions.d.mts +6 -220
- package/resources/ai/assistants/versions.d.mts.map +1 -1
- package/resources/ai/assistants/versions.d.ts +6 -220
- package/resources/ai/assistants/versions.d.ts.map +1 -1
- package/resources/ai/index.d.mts +2 -2
- package/resources/ai/index.d.mts.map +1 -1
- package/resources/ai/index.d.ts +2 -2
- package/resources/ai/index.d.ts.map +1 -1
- package/resources/ai/index.js.map +1 -1
- package/resources/ai/index.mjs.map +1 -1
- package/resources/ai/openai/openai.d.mts +2 -113
- package/resources/ai/openai/openai.d.mts.map +1 -1
- package/resources/ai/openai/openai.d.ts +2 -113
- package/resources/ai/openai/openai.d.ts.map +1 -1
- package/resources/ai/openai/openai.js.map +1 -1
- package/resources/ai/openai/openai.mjs.map +1 -1
- package/resources/calls/actions.d.mts +177 -120
- package/resources/calls/actions.d.mts.map +1 -1
- package/resources/calls/actions.d.ts +177 -120
- package/resources/calls/actions.d.ts.map +1 -1
- package/resources/calls/actions.js +3 -5
- package/resources/calls/actions.js.map +1 -1
- package/resources/calls/actions.mjs +3 -5
- package/resources/calls/actions.mjs.map +1 -1
- package/resources/calls/calls.d.mts +2 -2
- package/resources/calls/calls.d.mts.map +1 -1
- package/resources/calls/calls.d.ts +2 -2
- package/resources/calls/calls.d.ts.map +1 -1
- package/resources/calls/calls.js.map +1 -1
- package/resources/calls/calls.mjs.map +1 -1
- package/resources/calls/index.d.mts +1 -1
- package/resources/calls/index.d.mts.map +1 -1
- package/resources/calls/index.d.ts +1 -1
- package/resources/calls/index.d.ts.map +1 -1
- package/resources/calls/index.js.map +1 -1
- package/resources/calls/index.mjs.map +1 -1
- package/resources/conferences/actions.d.mts +1 -11
- package/resources/conferences/actions.d.mts.map +1 -1
- package/resources/conferences/actions.d.ts +1 -11
- package/resources/conferences/actions.d.ts.map +1 -1
- package/resources/faxes/faxes.d.mts +24 -8
- package/resources/faxes/faxes.d.mts.map +1 -1
- package/resources/faxes/faxes.d.ts +24 -8
- package/resources/faxes/faxes.d.ts.map +1 -1
- package/resources/faxes/faxes.js +12 -0
- package/resources/faxes/faxes.js.map +1 -1
- package/resources/faxes/faxes.mjs +12 -0
- package/resources/faxes/faxes.mjs.map +1 -1
- package/resources/index.d.mts +5 -5
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +5 -5
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/networks/networks.d.mts +25 -2
- package/resources/networks/networks.d.mts.map +1 -1
- package/resources/networks/networks.d.ts +25 -2
- package/resources/networks/networks.d.ts.map +1 -1
- package/resources/networks/networks.js.map +1 -1
- package/resources/networks/networks.mjs.map +1 -1
- package/resources/public-internet-gateways.d.mts +40 -50
- package/resources/public-internet-gateways.d.mts.map +1 -1
- package/resources/public-internet-gateways.d.ts +40 -50
- package/resources/public-internet-gateways.d.ts.map +1 -1
- package/resources/public-internet-gateways.js +1 -1
- package/resources/public-internet-gateways.js.map +1 -1
- package/resources/public-internet-gateways.mjs +1 -1
- package/resources/public-internet-gateways.mjs.map +1 -1
- package/resources/shared.d.mts +10 -0
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +10 -0
- package/resources/shared.d.ts.map +1 -1
- package/resources/texml/accounts/calls/calls.d.mts +27 -6
- package/resources/texml/accounts/calls/calls.d.mts.map +1 -1
- package/resources/texml/accounts/calls/calls.d.ts +27 -6
- package/resources/texml/accounts/calls/calls.d.ts.map +1 -1
- package/resources/texml/accounts/calls/calls.js.map +1 -1
- package/resources/texml/accounts/calls/calls.mjs.map +1 -1
- package/resources/texml/texml.d.mts +9 -2
- package/resources/texml/texml.d.mts.map +1 -1
- package/resources/texml/texml.d.ts +9 -2
- package/resources/texml/texml.d.ts.map +1 -1
- package/resources/texml/texml.js.map +1 -1
- package/resources/texml/texml.mjs.map +1 -1
- package/resources/uac-connections/index.d.mts +1 -1
- package/resources/uac-connections/index.d.mts.map +1 -1
- package/resources/uac-connections/index.d.ts +1 -1
- package/resources/uac-connections/index.d.ts.map +1 -1
- package/resources/uac-connections/index.js.map +1 -1
- package/resources/uac-connections/index.mjs.map +1 -1
- package/resources/uac-connections/uac-connections.d.mts +211 -1861
- package/resources/uac-connections/uac-connections.d.mts.map +1 -1
- package/resources/uac-connections/uac-connections.d.ts +211 -1861
- package/resources/uac-connections/uac-connections.d.ts.map +1 -1
- package/resources/uac-connections/uac-connections.js +1 -1
- package/resources/uac-connections/uac-connections.js.map +1 -1
- package/resources/uac-connections/uac-connections.mjs +1 -1
- package/resources/uac-connections/uac-connections.mjs.map +1 -1
- package/resources/virtual-cross-connects.d.mts +48 -504
- package/resources/virtual-cross-connects.d.mts.map +1 -1
- package/resources/virtual-cross-connects.d.ts +48 -504
- package/resources/virtual-cross-connects.d.ts.map +1 -1
- package/resources/virtual-cross-connects.js +1 -1
- package/resources/virtual-cross-connects.js.map +1 -1
- package/resources/virtual-cross-connects.mjs +1 -1
- package/resources/virtual-cross-connects.mjs.map +1 -1
- package/resources/webhooks.d.mts +20 -10
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +20 -10
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/wireguard-interfaces.d.mts +43 -127
- package/resources/wireguard-interfaces.d.mts.map +1 -1
- package/resources/wireguard-interfaces.d.ts +43 -127
- package/resources/wireguard-interfaces.d.ts.map +1 -1
- package/resources/wireguard-interfaces.js +5 -2
- package/resources/wireguard-interfaces.js.map +1 -1
- package/resources/wireguard-interfaces.mjs +5 -2
- package/resources/wireguard-interfaces.mjs.map +1 -1
- package/src/client.ts +27 -16
- package/src/resources/ai/ai.ts +139 -130
- package/src/resources/ai/assistants/assistants.ts +164 -363
- package/src/resources/ai/assistants/canary-deploys.ts +75 -266
- package/src/resources/ai/assistants/index.ts +10 -0
- package/src/resources/ai/assistants/versions.ts +6 -244
- package/src/resources/ai/index.ts +6 -0
- package/src/resources/ai/openai/openai.ts +2 -131
- package/src/resources/calls/actions.ts +284 -184
- package/src/resources/calls/calls.ts +4 -0
- package/src/resources/calls/index.ts +2 -0
- package/src/resources/conferences/actions.ts +1 -13
- package/src/resources/faxes/faxes.ts +24 -8
- package/src/resources/index.ts +13 -8
- package/src/resources/networks/networks.ts +31 -4
- package/src/resources/public-internet-gateways.ts +46 -55
- package/src/resources/shared.ts +12 -0
- package/src/resources/texml/accounts/calls/calls.ts +30 -6
- package/src/resources/texml/texml.ts +10 -2
- package/src/resources/uac-connections/index.ts +6 -2
- package/src/resources/uac-connections/uac-connections.ts +397 -2396
- package/src/resources/virtual-cross-connects.ts +54 -595
- package/src/resources/webhooks.ts +21 -10
- package/src/resources/wireguard-interfaces.ts +53 -158
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -99,77 +99,7 @@ export class CanaryDeploys extends APIResource {
|
|
|
99
99
|
* - `rules` — canonical ordered list of routing rules
|
|
100
100
|
*/
|
|
101
101
|
export interface CanaryDeploy {
|
|
102
|
-
rules?: Array<
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
export namespace CanaryDeploy {
|
|
106
|
-
/**
|
|
107
|
-
* A targeting rule: `match` clauses (AND) gate `serve`.
|
|
108
|
-
*
|
|
109
|
-
* An empty `match` is a catch-all (always fires).
|
|
110
|
-
*/
|
|
111
|
-
export interface Rule {
|
|
112
|
-
/**
|
|
113
|
-
* What a rule serves when matched.
|
|
114
|
-
*
|
|
115
|
-
* Exactly one of:
|
|
116
|
-
*
|
|
117
|
-
* - `version_id` — serve a specific version
|
|
118
|
-
* - `rollout` — weighted random across versions; weights must sum to less than
|
|
119
|
-
* 100, with the leftover routing to the main version
|
|
120
|
-
*/
|
|
121
|
-
serve: Rule.Serve;
|
|
122
|
-
|
|
123
|
-
match?: Array<Rule.Match>;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
export namespace Rule {
|
|
127
|
-
/**
|
|
128
|
-
* What a rule serves when matched.
|
|
129
|
-
*
|
|
130
|
-
* Exactly one of:
|
|
131
|
-
*
|
|
132
|
-
* - `version_id` — serve a specific version
|
|
133
|
-
* - `rollout` — weighted random across versions; weights must sum to less than
|
|
134
|
-
* 100, with the leftover routing to the main version
|
|
135
|
-
*/
|
|
136
|
-
export interface Serve {
|
|
137
|
-
rollout?: Array<Serve.Rollout>;
|
|
138
|
-
|
|
139
|
-
version_id?: string;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
export namespace Serve {
|
|
143
|
-
/**
|
|
144
|
-
* One slot in a percentage rollout.
|
|
145
|
-
*/
|
|
146
|
-
export interface Rollout {
|
|
147
|
-
version_id: string;
|
|
148
|
-
|
|
149
|
-
weight: number;
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
/**
|
|
154
|
-
* A single attribute/operator/values check.
|
|
155
|
-
*
|
|
156
|
-
* A clause matches when the routing context's value for `attribute` satisfies
|
|
157
|
-
* `operator` against any of `values`.
|
|
158
|
-
*/
|
|
159
|
-
export interface Match {
|
|
160
|
-
/**
|
|
161
|
-
* Attribute name from the routing context
|
|
162
|
-
*/
|
|
163
|
-
attribute: string;
|
|
164
|
-
|
|
165
|
-
/**
|
|
166
|
-
* Match operator
|
|
167
|
-
*/
|
|
168
|
-
operator: 'in' | 'not_in' | 'starts_with';
|
|
169
|
-
|
|
170
|
-
values: Array<string>;
|
|
171
|
-
}
|
|
172
|
-
}
|
|
102
|
+
rules?: Array<RuleInput>;
|
|
173
103
|
}
|
|
174
104
|
|
|
175
105
|
/**
|
|
@@ -182,233 +112,112 @@ export interface CanaryDeployResponse {
|
|
|
182
112
|
|
|
183
113
|
created_at: string;
|
|
184
114
|
|
|
185
|
-
rules: Array<
|
|
115
|
+
rules: Array<RuleOutput>;
|
|
186
116
|
|
|
187
117
|
updated_at: string;
|
|
188
118
|
}
|
|
189
119
|
|
|
190
|
-
|
|
120
|
+
/**
|
|
121
|
+
* A single attribute/operator/values check.
|
|
122
|
+
*
|
|
123
|
+
* A clause matches when the routing context's value for `attribute` satisfies
|
|
124
|
+
* `operator` against any of `values`.
|
|
125
|
+
*/
|
|
126
|
+
export interface Clause {
|
|
191
127
|
/**
|
|
192
|
-
*
|
|
193
|
-
*
|
|
194
|
-
* An empty `match` is a catch-all (always fires).
|
|
128
|
+
* Attribute name from the routing context
|
|
195
129
|
*/
|
|
196
|
-
|
|
197
|
-
/**
|
|
198
|
-
* What a rule serves when matched.
|
|
199
|
-
*
|
|
200
|
-
* Exactly one of:
|
|
201
|
-
*
|
|
202
|
-
* - `version_id` — serve a specific version
|
|
203
|
-
* - `rollout` — weighted random across versions; weights must sum to less than
|
|
204
|
-
* 100, with the leftover routing to the main version
|
|
205
|
-
*/
|
|
206
|
-
serve: Rule.Serve;
|
|
207
|
-
|
|
208
|
-
match?: Array<Rule.Match>;
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
export namespace Rule {
|
|
212
|
-
/**
|
|
213
|
-
* What a rule serves when matched.
|
|
214
|
-
*
|
|
215
|
-
* Exactly one of:
|
|
216
|
-
*
|
|
217
|
-
* - `version_id` — serve a specific version
|
|
218
|
-
* - `rollout` — weighted random across versions; weights must sum to less than
|
|
219
|
-
* 100, with the leftover routing to the main version
|
|
220
|
-
*/
|
|
221
|
-
export interface Serve {
|
|
222
|
-
rollout?: Array<Serve.Rollout>;
|
|
223
|
-
|
|
224
|
-
version_id?: string;
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
export namespace Serve {
|
|
228
|
-
/**
|
|
229
|
-
* One slot in a percentage rollout.
|
|
230
|
-
*/
|
|
231
|
-
export interface Rollout {
|
|
232
|
-
version_id: string;
|
|
233
|
-
|
|
234
|
-
weight: number;
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
/**
|
|
239
|
-
* A single attribute/operator/values check.
|
|
240
|
-
*
|
|
241
|
-
* A clause matches when the routing context's value for `attribute` satisfies
|
|
242
|
-
* `operator` against any of `values`.
|
|
243
|
-
*/
|
|
244
|
-
export interface Match {
|
|
245
|
-
/**
|
|
246
|
-
* Attribute name from the routing context
|
|
247
|
-
*/
|
|
248
|
-
attribute: string;
|
|
130
|
+
attribute: string;
|
|
249
131
|
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
132
|
+
/**
|
|
133
|
+
* Match operator
|
|
134
|
+
*/
|
|
135
|
+
operator: 'in' | 'not_in' | 'starts_with';
|
|
254
136
|
|
|
255
|
-
|
|
256
|
-
}
|
|
257
|
-
}
|
|
137
|
+
values: Array<string>;
|
|
258
138
|
}
|
|
259
139
|
|
|
260
|
-
|
|
261
|
-
|
|
140
|
+
/**
|
|
141
|
+
* One slot in a percentage rollout.
|
|
142
|
+
*/
|
|
143
|
+
export interface RolloutSlot {
|
|
144
|
+
version_id: string;
|
|
145
|
+
|
|
146
|
+
weight: number;
|
|
262
147
|
}
|
|
263
148
|
|
|
264
|
-
|
|
149
|
+
/**
|
|
150
|
+
* A targeting rule: `match` clauses (AND) gate `serve`.
|
|
151
|
+
*
|
|
152
|
+
* An empty `match` is a catch-all (always fires).
|
|
153
|
+
*/
|
|
154
|
+
export interface RuleInput {
|
|
265
155
|
/**
|
|
266
|
-
*
|
|
156
|
+
* What a rule serves when matched.
|
|
157
|
+
*
|
|
158
|
+
* Exactly one of:
|
|
267
159
|
*
|
|
268
|
-
*
|
|
160
|
+
* - `version_id` — serve a specific version
|
|
161
|
+
* - `rollout` — weighted random across versions; weights must sum to less than
|
|
162
|
+
* 100, with the leftover routing to the main version
|
|
269
163
|
*/
|
|
270
|
-
|
|
271
|
-
/**
|
|
272
|
-
* What a rule serves when matched.
|
|
273
|
-
*
|
|
274
|
-
* Exactly one of:
|
|
275
|
-
*
|
|
276
|
-
* - `version_id` — serve a specific version
|
|
277
|
-
* - `rollout` — weighted random across versions; weights must sum to less than
|
|
278
|
-
* 100, with the leftover routing to the main version
|
|
279
|
-
*/
|
|
280
|
-
serve: Rule.Serve;
|
|
281
|
-
|
|
282
|
-
match?: Array<Rule.Match>;
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
export namespace Rule {
|
|
286
|
-
/**
|
|
287
|
-
* What a rule serves when matched.
|
|
288
|
-
*
|
|
289
|
-
* Exactly one of:
|
|
290
|
-
*
|
|
291
|
-
* - `version_id` — serve a specific version
|
|
292
|
-
* - `rollout` — weighted random across versions; weights must sum to less than
|
|
293
|
-
* 100, with the leftover routing to the main version
|
|
294
|
-
*/
|
|
295
|
-
export interface Serve {
|
|
296
|
-
rollout?: Array<Serve.Rollout>;
|
|
297
|
-
|
|
298
|
-
version_id?: string;
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
export namespace Serve {
|
|
302
|
-
/**
|
|
303
|
-
* One slot in a percentage rollout.
|
|
304
|
-
*/
|
|
305
|
-
export interface Rollout {
|
|
306
|
-
version_id: string;
|
|
307
|
-
|
|
308
|
-
weight: number;
|
|
309
|
-
}
|
|
310
|
-
}
|
|
164
|
+
serve: Serve;
|
|
311
165
|
|
|
312
|
-
|
|
313
|
-
* A single attribute/operator/values check.
|
|
314
|
-
*
|
|
315
|
-
* A clause matches when the routing context's value for `attribute` satisfies
|
|
316
|
-
* `operator` against any of `values`.
|
|
317
|
-
*/
|
|
318
|
-
export interface Match {
|
|
319
|
-
/**
|
|
320
|
-
* Attribute name from the routing context
|
|
321
|
-
*/
|
|
322
|
-
attribute: string;
|
|
323
|
-
|
|
324
|
-
/**
|
|
325
|
-
* Match operator
|
|
326
|
-
*/
|
|
327
|
-
operator: 'in' | 'not_in' | 'starts_with';
|
|
328
|
-
|
|
329
|
-
values: Array<string>;
|
|
330
|
-
}
|
|
331
|
-
}
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
export interface CanaryDeployUpdateParams {
|
|
335
|
-
rules?: Array<CanaryDeployUpdateParams.Rule>;
|
|
166
|
+
match?: Array<Clause>;
|
|
336
167
|
}
|
|
337
168
|
|
|
338
|
-
|
|
169
|
+
/**
|
|
170
|
+
* A targeting rule: `match` clauses (AND) gate `serve`.
|
|
171
|
+
*
|
|
172
|
+
* An empty `match` is a catch-all (always fires).
|
|
173
|
+
*/
|
|
174
|
+
export interface RuleOutput {
|
|
339
175
|
/**
|
|
340
|
-
*
|
|
176
|
+
* What a rule serves when matched.
|
|
177
|
+
*
|
|
178
|
+
* Exactly one of:
|
|
341
179
|
*
|
|
342
|
-
*
|
|
180
|
+
* - `version_id` — serve a specific version
|
|
181
|
+
* - `rollout` — weighted random across versions; weights must sum to less than
|
|
182
|
+
* 100, with the leftover routing to the main version
|
|
343
183
|
*/
|
|
344
|
-
|
|
345
|
-
/**
|
|
346
|
-
* What a rule serves when matched.
|
|
347
|
-
*
|
|
348
|
-
* Exactly one of:
|
|
349
|
-
*
|
|
350
|
-
* - `version_id` — serve a specific version
|
|
351
|
-
* - `rollout` — weighted random across versions; weights must sum to less than
|
|
352
|
-
* 100, with the leftover routing to the main version
|
|
353
|
-
*/
|
|
354
|
-
serve: Rule.Serve;
|
|
355
|
-
|
|
356
|
-
match?: Array<Rule.Match>;
|
|
357
|
-
}
|
|
184
|
+
serve: Serve;
|
|
358
185
|
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
* What a rule serves when matched.
|
|
362
|
-
*
|
|
363
|
-
* Exactly one of:
|
|
364
|
-
*
|
|
365
|
-
* - `version_id` — serve a specific version
|
|
366
|
-
* - `rollout` — weighted random across versions; weights must sum to less than
|
|
367
|
-
* 100, with the leftover routing to the main version
|
|
368
|
-
*/
|
|
369
|
-
export interface Serve {
|
|
370
|
-
rollout?: Array<Serve.Rollout>;
|
|
371
|
-
|
|
372
|
-
version_id?: string;
|
|
373
|
-
}
|
|
374
|
-
|
|
375
|
-
export namespace Serve {
|
|
376
|
-
/**
|
|
377
|
-
* One slot in a percentage rollout.
|
|
378
|
-
*/
|
|
379
|
-
export interface Rollout {
|
|
380
|
-
version_id: string;
|
|
186
|
+
match?: Array<Clause>;
|
|
187
|
+
}
|
|
381
188
|
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
189
|
+
/**
|
|
190
|
+
* What a rule serves when matched.
|
|
191
|
+
*
|
|
192
|
+
* Exactly one of:
|
|
193
|
+
*
|
|
194
|
+
* - `version_id` — serve a specific version
|
|
195
|
+
* - `rollout` — weighted random across versions; weights must sum to less than
|
|
196
|
+
* 100, with the leftover routing to the main version
|
|
197
|
+
*/
|
|
198
|
+
export interface Serve {
|
|
199
|
+
rollout?: Array<RolloutSlot>;
|
|
385
200
|
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
*
|
|
389
|
-
* A clause matches when the routing context's value for `attribute` satisfies
|
|
390
|
-
* `operator` against any of `values`.
|
|
391
|
-
*/
|
|
392
|
-
export interface Match {
|
|
393
|
-
/**
|
|
394
|
-
* Attribute name from the routing context
|
|
395
|
-
*/
|
|
396
|
-
attribute: string;
|
|
201
|
+
version_id?: string;
|
|
202
|
+
}
|
|
397
203
|
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
operator: 'in' | 'not_in' | 'starts_with';
|
|
204
|
+
export interface CanaryDeployCreateParams {
|
|
205
|
+
rules?: Array<RuleInput>;
|
|
206
|
+
}
|
|
402
207
|
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
}
|
|
208
|
+
export interface CanaryDeployUpdateParams {
|
|
209
|
+
rules?: Array<RuleInput>;
|
|
406
210
|
}
|
|
407
211
|
|
|
408
212
|
export declare namespace CanaryDeploys {
|
|
409
213
|
export {
|
|
410
214
|
type CanaryDeploy as CanaryDeploy,
|
|
411
215
|
type CanaryDeployResponse as CanaryDeployResponse,
|
|
216
|
+
type Clause as Clause,
|
|
217
|
+
type RolloutSlot as RolloutSlot,
|
|
218
|
+
type RuleInput as RuleInput,
|
|
219
|
+
type RuleOutput as RuleOutput,
|
|
220
|
+
type Serve as Serve,
|
|
412
221
|
type CanaryDeployCreateParams as CanaryDeployCreateParams,
|
|
413
222
|
type CanaryDeployUpdateParams as CanaryDeployUpdateParams,
|
|
414
223
|
};
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
export {
|
|
4
4
|
Assistants,
|
|
5
5
|
type Assistant,
|
|
6
|
+
type AssistantIntegration,
|
|
7
|
+
type AssistantMcpServer,
|
|
6
8
|
type AssistantTool,
|
|
7
9
|
type AssistantsList,
|
|
8
10
|
type AudioVisualizerConfig,
|
|
@@ -15,6 +17,7 @@ export {
|
|
|
15
17
|
type HangupToolParams,
|
|
16
18
|
type ImportMetadata,
|
|
17
19
|
type InferenceEmbedding,
|
|
20
|
+
type InferenceEmbeddingInterruptionSettings,
|
|
18
21
|
type InferenceEmbeddingWebhookToolParams,
|
|
19
22
|
type InsightSettings,
|
|
20
23
|
type MessagingSettings,
|
|
@@ -24,7 +27,9 @@ export {
|
|
|
24
27
|
type PostConversationSettingsReq,
|
|
25
28
|
type PrivacySettings,
|
|
26
29
|
type RetrievalTool,
|
|
30
|
+
type StartSpeakingPlan,
|
|
27
31
|
type TelephonySettings,
|
|
32
|
+
type TranscriptionEndpointingPlan,
|
|
28
33
|
type TranscriptionSettings,
|
|
29
34
|
type TranscriptionSettingsConfig,
|
|
30
35
|
type TransferTool,
|
|
@@ -46,6 +51,11 @@ export {
|
|
|
46
51
|
CanaryDeploys,
|
|
47
52
|
type CanaryDeploy,
|
|
48
53
|
type CanaryDeployResponse,
|
|
54
|
+
type Clause,
|
|
55
|
+
type RolloutSlot,
|
|
56
|
+
type RuleInput,
|
|
57
|
+
type RuleOutput,
|
|
58
|
+
type Serve,
|
|
49
59
|
type CanaryDeployCreateParams,
|
|
50
60
|
type CanaryDeployUpdateParams,
|
|
51
61
|
} from './canary-deploys';
|