bandwidth-sdk 3.0.0 → 3.1.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.
Files changed (83) hide show
  1. package/bandwidth.yml +15 -0
  2. package/coverage/clover.xml +47 -47
  3. package/coverage/coverage-final.json +2 -2
  4. package/coverage/lcov-report/index.html +19 -19
  5. package/coverage/lcov-report/node-sdk/api/calls-api.ts.html +1 -1
  6. package/coverage/lcov-report/node-sdk/api/conferences-api.ts.html +1 -1
  7. package/coverage/lcov-report/node-sdk/api/index.html +19 -19
  8. package/coverage/lcov-report/node-sdk/api/media-api.ts.html +1 -1
  9. package/coverage/lcov-report/node-sdk/api/messages-api.ts.html +1 -1
  10. package/coverage/lcov-report/node-sdk/api/mfaapi.ts.html +1 -1
  11. package/coverage/lcov-report/node-sdk/api/phone-number-lookup-api.ts.html +1 -1
  12. package/coverage/lcov-report/node-sdk/api/recordings-api.ts.html +57 -57
  13. package/coverage/lcov-report/node-sdk/api/statistics-api.ts.html +1 -1
  14. package/coverage/lcov-report/node-sdk/api/transcriptions-api.ts.html +1 -1
  15. package/coverage/lcov-report/node-sdk/api.ts.html +1 -1
  16. package/coverage/lcov-report/node-sdk/base.ts.html +1 -1
  17. package/coverage/lcov-report/node-sdk/common.ts.html +18 -18
  18. package/coverage/lcov-report/node-sdk/configuration.ts.html +1 -1
  19. package/coverage/lcov-report/node-sdk/index.html +1 -1
  20. package/coverage/lcov-report/node-sdk/models/bxml/Bxml.ts.html +1 -1
  21. package/coverage/lcov-report/node-sdk/models/bxml/NestableVerb.ts.html +1 -1
  22. package/coverage/lcov-report/node-sdk/models/bxml/Response.ts.html +1 -1
  23. package/coverage/lcov-report/node-sdk/models/bxml/Root.ts.html +1 -1
  24. package/coverage/lcov-report/node-sdk/models/bxml/Verb.ts.html +1 -1
  25. package/coverage/lcov-report/node-sdk/models/bxml/index.html +1 -1
  26. package/coverage/lcov-report/node-sdk/models/bxml/index.ts.html +1 -1
  27. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Bridge.ts.html +1 -1
  28. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Conference.ts.html +1 -1
  29. package/coverage/lcov-report/node-sdk/models/bxml/verbs/CustomParam.ts.html +1 -1
  30. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Forward.ts.html +1 -1
  31. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Gather.ts.html +1 -1
  32. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Hangup.ts.html +1 -1
  33. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Pause.ts.html +1 -1
  34. package/coverage/lcov-report/node-sdk/models/bxml/verbs/PauseRecording.ts.html +1 -1
  35. package/coverage/lcov-report/node-sdk/models/bxml/verbs/PhoneNumber.ts.html +1 -1
  36. package/coverage/lcov-report/node-sdk/models/bxml/verbs/PlayAudio.ts.html +1 -1
  37. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Record.ts.html +1 -1
  38. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Redirect.ts.html +1 -1
  39. package/coverage/lcov-report/node-sdk/models/bxml/verbs/ResumeRecording.ts.html +1 -1
  40. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Ring.ts.html +1 -1
  41. package/coverage/lcov-report/node-sdk/models/bxml/verbs/SendDtmf.ts.html +1 -1
  42. package/coverage/lcov-report/node-sdk/models/bxml/verbs/SipUri.ts.html +1 -1
  43. package/coverage/lcov-report/node-sdk/models/bxml/verbs/SpeakSentence.ts.html +1 -1
  44. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartGather.ts.html +1 -1
  45. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartRecording.ts.html +1 -1
  46. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartStream.ts.html +1 -1
  47. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartTranscription.ts.html +1 -1
  48. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopGather.ts.html +1 -1
  49. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopRecording.ts.html +1 -1
  50. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopStream.ts.html +1 -1
  51. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopTranscription.ts.html +1 -1
  52. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StreamParam.ts.html +1 -1
  53. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Tag.ts.html +1 -1
  54. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Transfer.ts.html +1 -1
  55. package/coverage/lcov-report/node-sdk/models/bxml/verbs/index.html +1 -1
  56. package/coverage/lcov-report/node-sdk/models/bxml/verbs/index.ts.html +1 -1
  57. package/coverage/lcov-report/node-sdk/models/call-direction-enum.ts.html +1 -1
  58. package/coverage/lcov-report/node-sdk/models/call-state-enum.ts.html +1 -1
  59. package/coverage/lcov-report/node-sdk/models/call-transcription-detected-language-enum.ts.html +1 -1
  60. package/coverage/lcov-report/node-sdk/models/call-transcription-track-enum.ts.html +1 -1
  61. package/coverage/lcov-report/node-sdk/models/callback-method-enum.ts.html +1 -1
  62. package/coverage/lcov-report/node-sdk/models/conference-state-enum.ts.html +1 -1
  63. package/coverage/lcov-report/node-sdk/models/file-format-enum.ts.html +1 -1
  64. package/coverage/lcov-report/node-sdk/models/index.html +1 -1
  65. package/coverage/lcov-report/node-sdk/models/index.ts.html +1 -1
  66. package/coverage/lcov-report/node-sdk/models/list-message-direction-enum.ts.html +1 -1
  67. package/coverage/lcov-report/node-sdk/models/lookup-status-enum.ts.html +1 -1
  68. package/coverage/lcov-report/node-sdk/models/machine-detection-mode-enum.ts.html +1 -1
  69. package/coverage/lcov-report/node-sdk/models/message-direction-enum.ts.html +1 -1
  70. package/coverage/lcov-report/node-sdk/models/message-status-enum.ts.html +1 -1
  71. package/coverage/lcov-report/node-sdk/models/message-type-enum.ts.html +1 -1
  72. package/coverage/lcov-report/node-sdk/models/priority-enum.ts.html +1 -1
  73. package/coverage/lcov-report/node-sdk/models/recording-state-enum.ts.html +1 -1
  74. package/coverage/lcov-report/node-sdk/models/redirect-method-enum.ts.html +1 -1
  75. package/coverage/lcov.info +94 -94
  76. package/models/call-recording-metadata.ts +6 -0
  77. package/models/call-transcription-metadata.ts +6 -0
  78. package/models/conference-recording-metadata.ts +6 -0
  79. package/package.json +1 -1
  80. package/tests/smoke/transcriptions-api.test.ts +1 -0
  81. package/tests/unit/api/messages-api.test.ts +1 -1
  82. package/tests/unit/api/recordings-api.test.ts +5 -1
  83. package/tests/unit/api/transcriptions-api.test.ts +1 -0
@@ -75,24 +75,24 @@ FN:145,(anonymous_33)
75
75
  FN:146,(anonymous_34)
76
76
  FNF:14
77
77
  FNH:11
78
- FNDA:107,(anonymous_15)
78
+ FNDA:104,(anonymous_15)
79
79
  FNDA:0,(anonymous_16)
80
- FNDA:47,(anonymous_19)
80
+ FNDA:46,(anonymous_19)
81
81
  FNDA:0,(anonymous_20)
82
82
  FNDA:0,(anonymous_23)
83
- FNDA:95,setFlattenedQueryParams
84
- FNDA:47,(anonymous_27)
83
+ FNDA:93,setFlattenedQueryParams
84
+ FNDA:46,(anonymous_27)
85
85
  FNDA:1,(anonymous_28)
86
- FNDA:47,(anonymous_29)
86
+ FNDA:46,(anonymous_29)
87
87
  FNDA:18,(anonymous_30)
88
88
  FNDA:74,(anonymous_31)
89
- FNDA:47,(anonymous_32)
90
- FNDA:47,(anonymous_33)
91
- FNDA:47,(anonymous_34)
89
+ FNDA:46,(anonymous_32)
90
+ FNDA:46,(anonymous_33)
91
+ FNDA:46,(anonymous_34)
92
92
  DA:19,9
93
93
  DA:25,9
94
94
  DA:32,9
95
- DA:33,107
95
+ DA:33,104
96
96
  DA:34,0
97
97
  DA:42,9
98
98
  DA:43,0
@@ -101,8 +101,8 @@ DA:45,0
101
101
  DA:46,0
102
102
  DA:47,0
103
103
  DA:55,9
104
- DA:56,47
105
- DA:57,43
104
+ DA:56,46
105
+ DA:57,42
106
106
  DA:65,9
107
107
  DA:66,0
108
108
  DA:67,0
@@ -115,44 +115,44 @@ DA:80,0
115
115
  DA:81,0
116
116
  DA:82,0
117
117
  DA:83,0
118
- DA:87,142
119
- DA:88,95
120
- DA:89,95
121
- DA:90,94
122
- DA:91,47
123
- DA:94,47
118
+ DA:87,139
119
+ DA:88,93
120
+ DA:89,93
121
+ DA:90,92
122
+ DA:91,46
123
+ DA:94,46
124
124
  DA:95,1
125
125
  DA:100,1
126
126
  DA:101,0
127
127
  DA:104,1
128
- DA:113,141
129
- DA:114,47
130
- DA:115,47
131
- DA:116,47
128
+ DA:113,138
129
+ DA:114,46
130
+ DA:115,46
131
+ DA:116,46
132
132
  DA:123,9
133
133
  DA:124,18
134
134
  DA:125,18
135
135
  DA:128,18
136
136
  DA:129,74
137
137
  DA:137,9
138
- DA:138,47
138
+ DA:138,46
139
139
  DA:145,9
140
- DA:146,47
141
- DA:147,47
142
- DA:148,47
140
+ DA:146,46
141
+ DA:147,46
142
+ DA:148,46
143
143
  LF:51
144
144
  LH:34
145
145
  BRDA:33,0,0,0
146
- BRDA:33,1,0,107
147
- BRDA:33,1,1,107
146
+ BRDA:33,1,0,104
147
+ BRDA:33,1,1,104
148
148
  BRDA:46,2,0,0
149
149
  BRDA:43,3,0,0
150
150
  BRDA:43,4,0,0
151
151
  BRDA:43,4,1,0
152
152
  BRDA:44,5,0,0
153
- BRDA:56,6,0,43
154
- BRDA:56,7,0,47
155
- BRDA:56,7,1,47
153
+ BRDA:56,6,0,42
154
+ BRDA:56,7,0,46
155
+ BRDA:56,7,1,46
156
156
  BRDA:56,7,2,4
157
157
  BRDA:69,8,0,0
158
158
  BRDA:66,9,0,0
@@ -164,12 +164,12 @@ BRDA:79,13,0,0
164
164
  BRDA:79,14,0,0
165
165
  BRDA:79,14,1,0
166
166
  BRDA:80,15,0,0
167
- BRDA:87,16,0,47
167
+ BRDA:87,16,0,46
168
168
  BRDA:88,17,0,0
169
- BRDA:89,18,0,94
169
+ BRDA:89,18,0,92
170
170
  BRDA:89,18,1,1
171
- BRDA:90,19,0,47
172
- BRDA:90,19,1,47
171
+ BRDA:90,19,0,46
172
+ BRDA:90,19,1,46
173
173
  BRDA:95,20,0,0
174
174
  BRDA:95,20,1,1
175
175
  BRDA:100,21,0,0
@@ -190,15 +190,15 @@ BRDA:130,27,1,0
190
190
  BRDA:146,28,0,0
191
191
  BRDA:146,29,0,0
192
192
  BRDA:147,30,0,0
193
- BRDA:147,30,1,47
194
- BRDA:147,31,0,47
193
+ BRDA:147,30,1,46
194
+ BRDA:147,31,0,46
195
195
  BRDA:147,31,1,0
196
- BRDA:147,32,0,47
197
- BRDA:147,32,1,47
196
+ BRDA:147,32,0,46
197
+ BRDA:147,32,1,46
198
198
  BRDA:147,33,0,0
199
- BRDA:147,33,1,47
200
- BRDA:147,34,0,47
201
- BRDA:147,34,1,47
199
+ BRDA:147,33,1,46
200
+ BRDA:147,34,0,46
201
+ BRDA:147,34,1,46
202
202
  BRF:57
203
203
  BRH:31
204
204
  end_of_record
@@ -2137,19 +2137,19 @@ FN:945,(anonymous_134)
2137
2137
  FN:958,(anonymous_135)
2138
2138
  FN:959,(anonymous_136)
2139
2139
  FNF:74
2140
- FNH:53
2141
- FNDA:10,(anonymous_22)
2140
+ FNH:48
2141
+ FNDA:9,(anonymous_22)
2142
2142
  FNDA:1,(anonymous_23)
2143
2143
  FNDA:1,(anonymous_26)
2144
2144
  FNDA:1,(anonymous_29)
2145
2145
  FNDA:1,(anonymous_32)
2146
- FNDA:1,(anonymous_35)
2146
+ FNDA:0,(anonymous_35)
2147
2147
  FNDA:1,(anonymous_38)
2148
2148
  FNDA:1,(anonymous_41)
2149
2149
  FNDA:1,(anonymous_44)
2150
2150
  FNDA:1,(anonymous_47)
2151
2151
  FNDA:1,(anonymous_50)
2152
- FNDA:10,(anonymous_53)
2152
+ FNDA:9,(anonymous_53)
2153
2153
  FNDA:1,(anonymous_54)
2154
2154
  FNDA:1,(anonymous_57)
2155
2155
  FNDA:1,(anonymous_58)
@@ -2158,8 +2158,8 @@ FNDA:1,(anonymous_62)
2158
2158
  FNDA:1,(anonymous_65)
2159
2159
  FNDA:1,(anonymous_66)
2160
2160
  FNDA:1,(anonymous_69)
2161
- FNDA:1,(anonymous_70)
2162
- FNDA:1,(anonymous_73)
2161
+ FNDA:0,(anonymous_70)
2162
+ FNDA:0,(anonymous_73)
2163
2163
  FNDA:1,(anonymous_74)
2164
2164
  FNDA:1,(anonymous_77)
2165
2165
  FNDA:1,(anonymous_78)
@@ -2200,8 +2200,8 @@ FNDA:1,(anonymous_121)
2200
2200
  FNDA:1,(anonymous_122)
2201
2201
  FNDA:1,(anonymous_123)
2202
2202
  FNDA:1,(anonymous_124)
2203
- FNDA:1,(anonymous_125)
2204
- FNDA:1,(anonymous_126)
2203
+ FNDA:0,(anonymous_125)
2204
+ FNDA:0,(anonymous_126)
2205
2205
  FNDA:1,(anonymous_127)
2206
2206
  FNDA:1,(anonymous_128)
2207
2207
  FNDA:1,(anonymous_129)
@@ -2215,8 +2215,8 @@ FNDA:1,(anonymous_136)
2215
2215
  DA:18,9
2216
2216
  DA:21,9
2217
2217
  DA:23,9
2218
- DA:38,10
2219
- DA:39,10
2218
+ DA:38,9
2219
+ DA:39,9
2220
2220
  DA:49,2
2221
2221
  DA:51,1
2222
2222
  DA:53,1
@@ -2281,22 +2281,22 @@ DA:215,1
2281
2281
  DA:216,1
2282
2282
  DA:217,1
2283
2283
  DA:219,1
2284
- DA:233,2
2285
- DA:235,1
2286
- DA:237,1
2287
- DA:239,1
2288
- DA:240,1
2289
- DA:245,1
2290
- DA:247,1
2291
- DA:248,1
2292
- DA:251,1
2293
- DA:252,1
2294
- DA:253,1
2295
- DA:257,1
2296
- DA:261,1
2297
- DA:262,1
2298
- DA:263,1
2299
- DA:265,1
2284
+ DA:233,0
2285
+ DA:235,0
2286
+ DA:237,0
2287
+ DA:239,0
2288
+ DA:240,0
2289
+ DA:245,0
2290
+ DA:247,0
2291
+ DA:248,0
2292
+ DA:251,0
2293
+ DA:252,0
2294
+ DA:253,0
2295
+ DA:257,0
2296
+ DA:261,0
2297
+ DA:262,0
2298
+ DA:263,0
2299
+ DA:265,0
2300
2300
  DA:279,2
2301
2301
  DA:281,1
2302
2302
  DA:283,1
@@ -2388,8 +2388,8 @@ DA:508,1
2388
2388
  DA:509,1
2389
2389
  DA:511,1
2390
2390
  DA:523,9
2391
- DA:524,10
2392
- DA:525,10
2391
+ DA:524,9
2392
+ DA:525,9
2393
2393
  DA:536,1
2394
2394
  DA:537,1
2395
2395
  DA:538,1
@@ -2406,10 +2406,10 @@ DA:581,1
2406
2406
  DA:582,1
2407
2407
  DA:583,1
2408
2408
  DA:584,1
2409
- DA:596,1
2410
- DA:597,1
2411
- DA:598,1
2412
- DA:599,1
2409
+ DA:596,0
2410
+ DA:597,0
2411
+ DA:598,0
2412
+ DA:599,0
2413
2413
  DA:611,1
2414
2414
  DA:612,1
2415
2415
  DA:613,1
@@ -2453,7 +2453,7 @@ DA:859,1
2453
2453
  DA:872,9
2454
2454
  DA:873,1
2455
2455
  DA:886,9
2456
- DA:887,1
2456
+ DA:887,0
2457
2457
  DA:900,9
2458
2458
  DA:901,1
2459
2459
  DA:916,9
@@ -2466,7 +2466,7 @@ DA:958,9
2466
2466
  DA:959,1
2467
2467
  DA:961,9
2468
2468
  LF:253
2469
- LH:237
2469
+ LH:216
2470
2470
  BRDA:49,0,0,1
2471
2471
  BRDA:63,1,0,1
2472
2472
  BRDA:78,2,0,0
@@ -2491,11 +2491,11 @@ BRDA:216,14,0,0
2491
2491
  BRDA:216,14,1,1
2492
2492
  BRDA:216,15,0,1
2493
2493
  BRDA:216,15,1,0
2494
- BRDA:233,16,0,1
2495
- BRDA:247,17,0,1
2494
+ BRDA:233,16,0,0
2495
+ BRDA:247,17,0,0
2496
2496
  BRDA:262,18,0,0
2497
- BRDA:262,18,1,1
2498
- BRDA:262,19,0,1
2497
+ BRDA:262,18,1,0
2498
+ BRDA:262,19,0,0
2499
2499
  BRDA:262,19,1,0
2500
2500
  BRDA:279,20,0,1
2501
2501
  BRDA:293,21,0,1
@@ -2607,24 +2607,24 @@ BRDA:583,82,0,1
2607
2607
  BRDA:583,82,1,1
2608
2608
  BRDA:584,83,0,1
2609
2609
  BRDA:584,83,1,0
2610
- BRDA:596,84,0,1
2610
+ BRDA:596,84,0,0
2611
2611
  BRDA:597,85,0,0
2612
- BRDA:597,85,1,1
2613
- BRDA:597,86,0,1
2614
- BRDA:597,86,1,1
2612
+ BRDA:597,85,1,0
2613
+ BRDA:597,86,0,0
2614
+ BRDA:597,86,1,0
2615
2615
  BRDA:597,87,0,0
2616
- BRDA:597,87,1,1
2617
- BRDA:597,88,0,1
2618
- BRDA:597,88,1,1
2616
+ BRDA:597,87,1,0
2617
+ BRDA:597,88,0,0
2618
+ BRDA:597,88,1,0
2619
2619
  BRDA:598,89,0,0
2620
- BRDA:598,89,1,1
2621
- BRDA:598,90,0,1
2622
- BRDA:598,90,1,1
2620
+ BRDA:598,89,1,0
2621
+ BRDA:598,90,0,0
2622
+ BRDA:598,90,1,0
2623
2623
  BRDA:598,91,0,0
2624
- BRDA:598,91,1,1
2625
- BRDA:598,92,0,1
2626
- BRDA:598,92,1,1
2627
- BRDA:599,93,0,1
2624
+ BRDA:598,91,1,0
2625
+ BRDA:598,92,0,0
2626
+ BRDA:598,92,1,0
2627
+ BRDA:599,93,0,0
2628
2628
  BRDA:599,93,1,0
2629
2629
  BRDA:611,94,0,1
2630
2630
  BRDA:612,95,0,0
@@ -2722,7 +2722,7 @@ BRDA:675,142,1,1
2722
2722
  BRDA:676,143,0,1
2723
2723
  BRDA:676,143,1,0
2724
2724
  BRF:254
2725
- BRH:180
2725
+ BRH:162
2726
2726
  end_of_record
2727
2727
  TN:
2728
2728
  SF:api/statistics-api.ts
@@ -137,6 +137,12 @@ export interface CallRecordingMetadata {
137
137
  * @memberof CallRecordingMetadata
138
138
  */
139
139
  'transcription'?: RecordingTranscriptionMetadata | null;
140
+ /**
141
+ * A name to identify this recording.
142
+ * @type {string}
143
+ * @memberof CallRecordingMetadata
144
+ */
145
+ 'recordingName'?: string;
140
146
  }
141
147
 
142
148
 
@@ -26,6 +26,12 @@ export interface CallTranscriptionMetadata {
26
26
  * @memberof CallTranscriptionMetadata
27
27
  */
28
28
  'transcriptionId'?: string;
29
+ /**
30
+ * The programmable voice API transcription name. This name could be provided by the user when creating the transcription.
31
+ * @type {string}
32
+ * @memberof CallTranscriptionMetadata
33
+ */
34
+ 'transcriptionName'?: string;
29
35
  /**
30
36
  * A URL that may be used to retrieve the transcription itself. This points to the [Get Call Transcription](/apis/voice/#operation/getCallTranscription) endpoint.
31
37
  * @type {string}
@@ -89,6 +89,12 @@ export interface ConferenceRecordingMetadata {
89
89
  * @memberof ConferenceRecordingMetadata
90
90
  */
91
91
  'mediaUrl'?: string | null;
92
+ /**
93
+ * A name to identify this recording.
94
+ * @type {string}
95
+ * @memberof ConferenceRecordingMetadata
96
+ */
97
+ 'recordingName'?: string;
92
98
  }
93
99
 
94
100
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bandwidth-sdk",
3
- "version": "3.0.0",
3
+ "version": "3.1.0",
4
4
  "description": "OpenAPI client for bandwidth-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
@@ -57,6 +57,7 @@ describe('TranscriptionsApi', () => {
57
57
  expect(data).toBeInstanceOf(Array);
58
58
  expect(data[0].transcriptionId).toBeString();
59
59
  expect(data[0].transcriptionUrl).toBeString();
60
+ expect(data[0].transcriptionName).toBeString();
60
61
  transcriptionId = data[0].transcriptionId!;
61
62
  });
62
63
  });
@@ -84,7 +84,7 @@ describe('MessagesApi', () => {
84
84
  MessageStatusEnum.Accepted,
85
85
  MessageStatusEnum.Undelivered,
86
86
  ]);
87
- expect(data.messages![0].messageDirection).toBeOneOf([ListMessageDirectionEnum.Inbound, MessageDirectionEnum.Outbound]);
87
+ expect(data.messages![0].messageDirection).toBeOneOf([ListMessageDirectionEnum.Inbound, ListMessageDirectionEnum.Outbound]);
88
88
  expect(data.messages![0].messageType).toBeOneOf([MessageTypeEnum.Sms, MessageTypeEnum.Mms]);
89
89
  expect(data.messages![0].segmentCount).toBeInteger();
90
90
  expect(data.messages![0].errorCode).toBePositive();
@@ -52,6 +52,7 @@ describe('RecordingsApi', () => {
52
52
  expect(data[0].transcription!.status).toBeString();
53
53
  expect(data[0].transcription!.completedTime).toBeDateString();
54
54
  expect(data[0].transcription!.url).toStartWith('http');
55
+ expect(data[0].recordingName).toBeString();
55
56
  });
56
57
  });
57
58
 
@@ -83,11 +84,12 @@ describe('RecordingsApi', () => {
83
84
  expect(data[0].transcription!.status).toBeString();
84
85
  expect(data[0].transcription!.completedTime).toBeDateString();
85
86
  expect(data[0].transcription!.url).toStartWith('http');
87
+ expect(data[0].recordingName).toBeString();
86
88
  });
87
89
  });
88
90
 
89
91
  describe('getCallRecording', () => {
90
- test('should get call recording', async () => {
92
+ test.skip('should get call recording', async () => {
91
93
  const { status, data } = await recordingsApi.getCallRecording(BW_ACCOUNT_ID, callId, recordingId);
92
94
 
93
95
  expect(status).toEqual(200);
@@ -113,6 +115,7 @@ describe('RecordingsApi', () => {
113
115
  expect(data.transcription!.status).toBeString();
114
116
  expect(data.transcription!.completedTime).toBeDateString();
115
117
  expect(data.transcription!.url).toStartWith('http');
118
+ expect(data.recordingName).toBeString();
116
119
  });
117
120
  });
118
121
 
@@ -172,4 +175,5 @@ describe('RecordingsApi', () => {
172
175
  expect(status).toEqual(204);
173
176
  });
174
177
  });
178
+
175
179
  });
@@ -23,6 +23,7 @@ describe('TranscriptionsApi', () => {
23
23
  expect(data).toBeInstanceOf(Array);
24
24
  expect(data[0].transcriptionId).toBeString();
25
25
  expect(data[0].transcriptionUrl).toBeString();
26
+ expect(data[0].transcriptionName).toBeString();
26
27
  });
27
28
  });
28
29