@roarkanalytics/sdk 7.1.0 → 7.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.
@@ -14,7 +14,6 @@ export class AgentEndpoint extends APIResource {
14
14
  * const agentEndpoint = await client.agentEndpoint.create({
15
15
  * agentId: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
16
16
  * direction: 'INCOMING',
17
- * value: 'value',
18
17
  * });
19
18
  * ```
20
19
  */
@@ -135,9 +134,10 @@ export namespace AgentEndpointCreateResponse {
135
134
  updatedAt: string;
136
135
 
137
136
  /**
138
- * Agent endpoint value (phone number, URL, etc.)
137
+ * Agent endpoint value (phone number, URL, etc.). Null for an outbound phone
138
+ * endpoint with no fixed calling number.
139
139
  */
140
- value: string;
140
+ value: string | null;
141
141
  }
142
142
  }
143
143
 
@@ -207,9 +207,10 @@ export namespace AgentEndpointUpdateResponse {
207
207
  updatedAt: string;
208
208
 
209
209
  /**
210
- * Agent endpoint value (phone number, URL, etc.)
210
+ * Agent endpoint value (phone number, URL, etc.). Null for an outbound phone
211
+ * endpoint with no fixed calling number.
211
212
  */
212
- value: string;
213
+ value: string | null;
213
214
  }
214
215
  }
215
216
 
@@ -278,9 +279,10 @@ export namespace AgentEndpointListResponse {
278
279
  updatedAt: string;
279
280
 
280
281
  /**
281
- * Agent endpoint value (phone number, URL, etc.)
282
+ * Agent endpoint value (phone number, URL, etc.). Null for an outbound phone
283
+ * endpoint with no fixed calling number.
282
284
  */
283
- value: string;
285
+ value: string | null;
284
286
  }
285
287
 
286
288
  export interface Pagination {
@@ -367,9 +369,10 @@ export namespace AgentEndpointGetByIDResponse {
367
369
  updatedAt: string;
368
370
 
369
371
  /**
370
- * Agent endpoint value (phone number, URL, etc.)
372
+ * Agent endpoint value (phone number, URL, etc.). Null for an outbound phone
373
+ * endpoint with no fixed calling number.
371
374
  */
372
- value: string;
375
+ value: string | null;
373
376
  }
374
377
  }
375
378
 
@@ -384,11 +387,6 @@ export interface AgentEndpointCreateParams {
384
387
  */
385
388
  direction: 'INCOMING' | 'OUTGOING' | 'INCOMING_AND_OUTGOING';
386
389
 
387
- /**
388
- * Phone number in E.164 format (e.g., +12345678900)
389
- */
390
- value: string;
391
-
392
390
  /**
393
391
  * Environment name (default: production)
394
392
  */
@@ -404,6 +402,12 @@ export interface AgentEndpointCreateParams {
404
402
  * Outbound dial type: NONE or HTTP_REQUEST (default: NONE)
405
403
  */
406
404
  outboundDialType?: 'NONE' | 'HTTP_REQUEST';
405
+
406
+ /**
407
+ * Phone number in E.164 format (e.g., +12345678900). Optional when direction is
408
+ * OUTGOING, for an agent that calls from numbers you do not know up front.
409
+ */
410
+ value?: string | null;
407
411
  }
408
412
 
409
413
  export interface AgentEndpointUpdateParams {
@@ -85,8 +85,6 @@ export namespace Bundle {
85
85
 
86
86
  export namespace AgentConfig {
87
87
  export interface Endpoint {
88
- value: string;
89
-
90
88
  direction?: 'INCOMING' | 'OUTGOING' | 'INCOMING_AND_OUTGOING';
91
89
 
92
90
  environment?: string;
@@ -96,6 +94,8 @@ export namespace Bundle {
96
94
  outboundDialType?: 'NONE' | 'HTTP_REQUEST';
97
95
 
98
96
  type?: 'PHONE' | 'WEBSOCKET';
97
+
98
+ value?: string;
99
99
  }
100
100
  }
101
101
 
@@ -577,6 +577,8 @@ export namespace Bundle {
577
577
 
578
578
  direction?: 'INCOMING' | 'OUTGOING' | 'INCOMING_AND_OUTGOING';
579
579
 
580
+ environment?: string;
581
+
580
582
  value?: string;
581
583
  }
582
584
 
@@ -761,6 +763,8 @@ export namespace Bundle {
761
763
 
762
764
  direction?: 'INCOMING' | 'OUTGOING' | 'INCOMING_AND_OUTGOING';
763
765
 
766
+ environment?: string;
767
+
764
768
  value?: string;
765
769
  }
766
770
 
@@ -1581,8 +1585,6 @@ export namespace Bundle {
1581
1585
 
1582
1586
  export namespace AgentConfig {
1583
1587
  export interface Endpoint {
1584
- value: string;
1585
-
1586
1588
  direction?: 'INCOMING' | 'OUTGOING' | 'INCOMING_AND_OUTGOING';
1587
1589
 
1588
1590
  environment?: string;
@@ -1592,6 +1594,8 @@ export namespace Bundle {
1592
1594
  outboundDialType?: 'NONE' | 'HTTP_REQUEST';
1593
1595
 
1594
1596
  type?: 'PHONE' | 'WEBSOCKET';
1597
+
1598
+ value?: string;
1595
1599
  }
1596
1600
  }
1597
1601
 
@@ -2073,6 +2077,8 @@ export namespace Bundle {
2073
2077
 
2074
2078
  direction?: 'INCOMING' | 'OUTGOING' | 'INCOMING_AND_OUTGOING';
2075
2079
 
2080
+ environment?: string;
2081
+
2076
2082
  value?: string;
2077
2083
  }
2078
2084
 
@@ -2257,6 +2263,8 @@ export namespace Bundle {
2257
2263
 
2258
2264
  direction?: 'INCOMING' | 'OUTGOING' | 'INCOMING_AND_OUTGOING';
2259
2265
 
2266
+ environment?: string;
2267
+
2260
2268
  value?: string;
2261
2269
  }
2262
2270
 
@@ -3246,8 +3254,6 @@ export namespace ConfigApplyParams {
3246
3254
 
3247
3255
  export namespace AgentConfig {
3248
3256
  export interface Endpoint {
3249
- value: string;
3250
-
3251
3257
  direction?: 'INCOMING' | 'OUTGOING' | 'INCOMING_AND_OUTGOING';
3252
3258
 
3253
3259
  environment?: string;
@@ -3257,6 +3263,8 @@ export namespace ConfigApplyParams {
3257
3263
  outboundDialType?: 'NONE' | 'HTTP_REQUEST';
3258
3264
 
3259
3265
  type?: 'PHONE' | 'WEBSOCKET';
3266
+
3267
+ value?: string;
3260
3268
  }
3261
3269
  }
3262
3270
 
@@ -3738,6 +3746,8 @@ export namespace ConfigApplyParams {
3738
3746
 
3739
3747
  direction?: 'INCOMING' | 'OUTGOING' | 'INCOMING_AND_OUTGOING';
3740
3748
 
3749
+ environment?: string;
3750
+
3741
3751
  value?: string;
3742
3752
  }
3743
3753
 
@@ -3922,6 +3932,8 @@ export namespace ConfigApplyParams {
3922
3932
 
3923
3933
  direction?: 'INCOMING' | 'OUTGOING' | 'INCOMING_AND_OUTGOING';
3924
3934
 
3935
+ environment?: string;
3936
+
3925
3937
  value?: string;
3926
3938
  }
3927
3939
 
@@ -4742,8 +4754,6 @@ export namespace ConfigApplyParams {
4742
4754
 
4743
4755
  export namespace AgentConfig {
4744
4756
  export interface Endpoint {
4745
- value: string;
4746
-
4747
4757
  direction?: 'INCOMING' | 'OUTGOING' | 'INCOMING_AND_OUTGOING';
4748
4758
 
4749
4759
  environment?: string;
@@ -4753,6 +4763,8 @@ export namespace ConfigApplyParams {
4753
4763
  outboundDialType?: 'NONE' | 'HTTP_REQUEST';
4754
4764
 
4755
4765
  type?: 'PHONE' | 'WEBSOCKET';
4766
+
4767
+ value?: string;
4756
4768
  }
4757
4769
  }
4758
4770
 
@@ -5234,6 +5246,8 @@ export namespace ConfigApplyParams {
5234
5246
 
5235
5247
  direction?: 'INCOMING' | 'OUTGOING' | 'INCOMING_AND_OUTGOING';
5236
5248
 
5249
+ environment?: string;
5250
+
5237
5251
  value?: string;
5238
5252
  }
5239
5253
 
@@ -5418,6 +5432,8 @@ export namespace ConfigApplyParams {
5418
5432
 
5419
5433
  direction?: 'INCOMING' | 'OUTGOING' | 'INCOMING_AND_OUTGOING';
5420
5434
 
5435
+ environment?: string;
5436
+
5421
5437
  value?: string;
5422
5438
  }
5423
5439
 
@@ -6220,8 +6236,6 @@ export namespace ConfigDiffParams {
6220
6236
 
6221
6237
  export namespace AgentConfig {
6222
6238
  export interface Endpoint {
6223
- value: string;
6224
-
6225
6239
  direction?: 'INCOMING' | 'OUTGOING' | 'INCOMING_AND_OUTGOING';
6226
6240
 
6227
6241
  environment?: string;
@@ -6231,6 +6245,8 @@ export namespace ConfigDiffParams {
6231
6245
  outboundDialType?: 'NONE' | 'HTTP_REQUEST';
6232
6246
 
6233
6247
  type?: 'PHONE' | 'WEBSOCKET';
6248
+
6249
+ value?: string;
6234
6250
  }
6235
6251
  }
6236
6252
 
@@ -6712,6 +6728,8 @@ export namespace ConfigDiffParams {
6712
6728
 
6713
6729
  direction?: 'INCOMING' | 'OUTGOING' | 'INCOMING_AND_OUTGOING';
6714
6730
 
6731
+ environment?: string;
6732
+
6715
6733
  value?: string;
6716
6734
  }
6717
6735
 
@@ -6896,6 +6914,8 @@ export namespace ConfigDiffParams {
6896
6914
 
6897
6915
  direction?: 'INCOMING' | 'OUTGOING' | 'INCOMING_AND_OUTGOING';
6898
6916
 
6917
+ environment?: string;
6918
+
6899
6919
  value?: string;
6900
6920
  }
6901
6921
 
@@ -7716,8 +7736,6 @@ export namespace ConfigDiffParams {
7716
7736
 
7717
7737
  export namespace AgentConfig {
7718
7738
  export interface Endpoint {
7719
- value: string;
7720
-
7721
7739
  direction?: 'INCOMING' | 'OUTGOING' | 'INCOMING_AND_OUTGOING';
7722
7740
 
7723
7741
  environment?: string;
@@ -7727,6 +7745,8 @@ export namespace ConfigDiffParams {
7727
7745
  outboundDialType?: 'NONE' | 'HTTP_REQUEST';
7728
7746
 
7729
7747
  type?: 'PHONE' | 'WEBSOCKET';
7748
+
7749
+ value?: string;
7730
7750
  }
7731
7751
  }
7732
7752
 
@@ -8208,6 +8228,8 @@ export namespace ConfigDiffParams {
8208
8228
 
8209
8229
  direction?: 'INCOMING' | 'OUTGOING' | 'INCOMING_AND_OUTGOING';
8210
8230
 
8231
+ environment?: string;
8232
+
8211
8233
  value?: string;
8212
8234
  }
8213
8235
 
@@ -8392,6 +8414,8 @@ export namespace ConfigDiffParams {
8392
8414
 
8393
8415
  direction?: 'INCOMING' | 'OUTGOING' | 'INCOMING_AND_OUTGOING';
8394
8416
 
8417
+ environment?: string;
8418
+
8395
8419
  value?: string;
8396
8420
  }
8397
8421
 
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '7.1.0'; // x-release-please-version
1
+ export const VERSION = '7.2.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "7.1.0";
1
+ export declare const VERSION = "7.2.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "7.1.0";
1
+ export declare const VERSION = "7.2.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '7.1.0'; // x-release-please-version
4
+ exports.VERSION = '7.2.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '7.1.0'; // x-release-please-version
1
+ export const VERSION = '7.2.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map