bandwidth-sdk 8.3.1 → 9.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 (249) hide show
  1. package/.github/workflows/deploy.yml +0 -19
  2. package/.github/workflows/test-pr.yml +0 -20
  3. package/.github/workflows/test-smoke.yml +0 -4
  4. package/.openapi-generator/FILES +2 -0
  5. package/README.md +1 -5
  6. package/api/calls-api.ts +0 -20
  7. package/api/conferences-api.ts +0 -36
  8. package/api/endpoints-api.ts +0 -20
  9. package/api/media-api.ts +0 -16
  10. package/api/messages-api.ts +0 -8
  11. package/api/mfaapi.ts +0 -12
  12. package/api/multi-channel-api.ts +0 -4
  13. package/api/phone-number-lookup-api.ts +0 -12
  14. package/api/recordings-api.ts +0 -40
  15. package/api/statistics-api.ts +0 -4
  16. package/api/toll-free-verification-api.ts +0 -36
  17. package/api/transcriptions-api.ts +0 -12
  18. package/bandwidth.yml +285 -109
  19. package/common.ts +2 -5
  20. package/configuration.ts +4 -13
  21. package/coverage/clover.xml +1301 -1342
  22. package/coverage/coverage-final.json +25 -24
  23. package/coverage/lcov-report/index.html +44 -29
  24. package/coverage/lcov-report/node-sdk/api/calls-api.ts.html +6 -66
  25. package/coverage/lcov-report/node-sdk/api/conferences-api.ts.html +6 -114
  26. package/coverage/lcov-report/node-sdk/api/endpoints-api.ts.html +6 -66
  27. package/coverage/lcov-report/node-sdk/api/index.html +69 -69
  28. package/coverage/lcov-report/node-sdk/api/media-api.ts.html +6 -54
  29. package/coverage/lcov-report/node-sdk/api/messages-api.ts.html +6 -30
  30. package/coverage/lcov-report/node-sdk/api/mfaapi.ts.html +6 -42
  31. package/coverage/lcov-report/node-sdk/api/multi-channel-api.ts.html +6 -18
  32. package/coverage/lcov-report/node-sdk/api/phone-number-lookup-api.ts.html +6 -42
  33. package/coverage/lcov-report/node-sdk/api/recordings-api.ts.html +6 -126
  34. package/coverage/lcov-report/node-sdk/api/statistics-api.ts.html +6 -18
  35. package/coverage/lcov-report/node-sdk/api/toll-free-verification-api.ts.html +6 -114
  36. package/coverage/lcov-report/node-sdk/api/transcriptions-api.ts.html +6 -42
  37. package/coverage/lcov-report/node-sdk/api.ts.html +1 -1
  38. package/coverage/lcov-report/node-sdk/base.ts.html +1 -1
  39. package/coverage/lcov-report/node-sdk/common.ts.html +13 -22
  40. package/coverage/lcov-report/node-sdk/configuration.ts.html +11 -38
  41. package/coverage/lcov-report/node-sdk/index.html +20 -20
  42. package/coverage/lcov-report/node-sdk/models/business-entity-type-enum.ts.html +1 -1
  43. package/coverage/lcov-report/node-sdk/models/business-registration-type-enum.ts.html +1 -1
  44. package/coverage/lcov-report/node-sdk/models/bxml/Bxml.ts.html +1 -1
  45. package/coverage/lcov-report/node-sdk/models/bxml/NestableVerb.ts.html +8 -8
  46. package/coverage/lcov-report/node-sdk/models/bxml/Response.ts.html +2 -2
  47. package/coverage/lcov-report/node-sdk/models/bxml/Root.ts.html +38 -14
  48. package/coverage/lcov-report/node-sdk/models/bxml/Verb.ts.html +7 -7
  49. package/coverage/lcov-report/node-sdk/models/bxml/index.html +7 -7
  50. package/coverage/lcov-report/node-sdk/models/bxml/index.ts.html +1 -1
  51. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Bridge.ts.html +1 -1
  52. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Conference.ts.html +1 -1
  53. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Connect.ts.html +1 -1
  54. package/coverage/lcov-report/node-sdk/models/bxml/verbs/CustomParam.ts.html +1 -1
  55. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Endpoint.ts.html +1 -1
  56. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Forward.ts.html +1 -1
  57. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Gather.ts.html +5 -5
  58. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Hangup.ts.html +1 -1
  59. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Pause.ts.html +1 -1
  60. package/coverage/lcov-report/node-sdk/models/bxml/verbs/PauseRecording.ts.html +1 -1
  61. package/coverage/lcov-report/node-sdk/models/bxml/verbs/PhoneNumber.ts.html +1 -1
  62. package/coverage/lcov-report/node-sdk/models/bxml/verbs/PlayAudio.ts.html +1 -1
  63. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Record.ts.html +1 -1
  64. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Redirect.ts.html +5 -5
  65. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Refer.ts.html +1 -1
  66. package/coverage/lcov-report/node-sdk/models/bxml/verbs/ResumeRecording.ts.html +1 -1
  67. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Ring.ts.html +1 -1
  68. package/coverage/lcov-report/node-sdk/models/bxml/verbs/SendDtmf.ts.html +1 -1
  69. package/coverage/lcov-report/node-sdk/models/bxml/verbs/SipUri.ts.html +1 -1
  70. package/coverage/lcov-report/node-sdk/models/bxml/verbs/SpeakSentence.ts.html +9 -9
  71. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartGather.ts.html +1 -1
  72. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartRecording.ts.html +1 -1
  73. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartStream.ts.html +1 -1
  74. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartTranscription.ts.html +1 -1
  75. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopGather.ts.html +1 -1
  76. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopRecording.ts.html +1 -1
  77. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopStream.ts.html +1 -1
  78. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopTranscription.ts.html +1 -1
  79. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StreamParam.ts.html +1 -1
  80. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Tag.ts.html +1 -1
  81. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Transfer.ts.html +8 -2
  82. package/coverage/lcov-report/node-sdk/models/bxml/verbs/index.html +1 -1
  83. package/coverage/lcov-report/node-sdk/models/bxml/verbs/index.ts.html +1 -1
  84. package/coverage/lcov-report/node-sdk/models/call-direction-enum.ts.html +1 -1
  85. package/coverage/lcov-report/node-sdk/models/call-state-enum.ts.html +1 -1
  86. package/coverage/lcov-report/node-sdk/models/call-transcription-detected-language-enum.ts.html +1 -1
  87. package/coverage/lcov-report/node-sdk/models/call-transcription-track-enum.ts.html +1 -1
  88. package/coverage/lcov-report/node-sdk/models/callback-method-enum.ts.html +1 -1
  89. package/coverage/lcov-report/node-sdk/models/card-width-enum.ts.html +1 -1
  90. package/coverage/lcov-report/node-sdk/models/completed-lookup-status-enum.ts.html +1 -1
  91. package/coverage/lcov-report/node-sdk/models/conference-state-enum.ts.html +1 -1
  92. package/coverage/lcov-report/node-sdk/models/deactivation-event-enum.ts.html +1 -1
  93. package/coverage/lcov-report/node-sdk/models/device-status-enum.ts.html +1 -1
  94. package/coverage/lcov-report/node-sdk/models/endpoint-direction-enum.ts.html +1 -1
  95. package/coverage/lcov-report/node-sdk/models/endpoint-event-type-enum.ts.html +1 -1
  96. package/coverage/lcov-report/node-sdk/models/endpoint-status-enum.ts.html +1 -1
  97. package/coverage/lcov-report/node-sdk/models/endpoint-type-enum.ts.html +1 -1
  98. package/coverage/lcov-report/node-sdk/models/file-format-enum.ts.html +1 -1
  99. package/coverage/lcov-report/node-sdk/models/in-progress-lookup-status-enum.ts.html +1 -1
  100. package/coverage/lcov-report/node-sdk/models/inbound-callback-type-enum.ts.html +1 -1
  101. package/coverage/lcov-report/node-sdk/models/index.html +5 -5
  102. package/coverage/lcov-report/node-sdk/models/index.ts.html +7 -4
  103. package/coverage/lcov-report/node-sdk/models/latest-message-delivery-status-enum.ts.html +1 -1
  104. package/coverage/lcov-report/node-sdk/models/line-type-enum.ts.html +1 -1
  105. package/coverage/lcov-report/node-sdk/models/list-message-direction-enum.ts.html +1 -1
  106. package/coverage/lcov-report/node-sdk/models/machine-detection-mode-enum.ts.html +1 -1
  107. package/coverage/lcov-report/node-sdk/models/message-direction-enum.ts.html +1 -1
  108. package/coverage/lcov-report/node-sdk/models/message-status-enum.ts.html +1 -1
  109. package/coverage/lcov-report/node-sdk/models/message-type-enum.ts.html +1 -1
  110. package/coverage/lcov-report/node-sdk/models/multi-channel-message-channel-enum.ts.html +1 -1
  111. package/coverage/lcov-report/node-sdk/models/priority-enum.ts.html +1 -1
  112. package/coverage/lcov-report/node-sdk/models/product-type-enum.ts.html +1 -1
  113. package/coverage/lcov-report/node-sdk/models/rbm-action-type-enum.ts.html +1 -1
  114. package/coverage/lcov-report/node-sdk/models/rbm-media-height-enum.ts.html +1 -1
  115. package/coverage/lcov-report/node-sdk/models/rbm-open-url-enum.ts.html +1 -1
  116. package/coverage/lcov-report/node-sdk/models/rbm-web-view-enum.ts.html +1 -1
  117. package/coverage/lcov-report/node-sdk/models/recording-state-enum.ts.html +1 -1
  118. package/coverage/lcov-report/node-sdk/models/redirect-method-enum.ts.html +1 -1
  119. package/coverage/lcov-report/node-sdk/models/refer-call-status-enum.ts.html +1 -1
  120. package/coverage/lcov-report/node-sdk/models/standalone-card-orientation-enum.ts.html +1 -1
  121. package/coverage/lcov-report/node-sdk/models/status-callback-type-enum.ts.html +6 -3
  122. package/coverage/lcov-report/node-sdk/models/tfv-callback-status-enum.ts.html +1 -1
  123. package/coverage/lcov-report/node-sdk/models/tfv-status-enum.ts.html +1 -1
  124. package/coverage/lcov-report/node-sdk/models/thumbnail-alignment-enum.ts.html +1 -1
  125. package/coverage/lcov-report/node-sdk/models/webhook-subscription-type-enum.ts.html +1 -1
  126. package/coverage/lcov-report/node-sdk/tests/unit/constants.ts.html +103 -0
  127. package/coverage/lcov-report/node-sdk/tests/unit/index.html +116 -0
  128. package/coverage/lcov.info +3182 -3217
  129. package/custom_templates/common.mustache +2 -5
  130. package/custom_templates/configuration.mustache +3 -12
  131. package/dist/api/calls-api.js +0 -15
  132. package/dist/api/conferences-api.js +0 -27
  133. package/dist/api/endpoints-api.js +0 -15
  134. package/dist/api/media-api.js +0 -12
  135. package/dist/api/messages-api.js +0 -6
  136. package/dist/api/mfaapi.js +0 -9
  137. package/dist/api/multi-channel-api.js +0 -3
  138. package/dist/api/phone-number-lookup-api.js +0 -9
  139. package/dist/api/recordings-api.js +0 -30
  140. package/dist/api/statistics-api.js +0 -3
  141. package/dist/api/toll-free-verification-api.js +0 -27
  142. package/dist/api/transcriptions-api.js +0 -9
  143. package/dist/common.js +2 -5
  144. package/dist/configuration.d.ts +0 -10
  145. package/dist/configuration.js +4 -3
  146. package/dist/models/bxml/Root.d.ts +5 -0
  147. package/dist/models/bxml/Root.js +11 -2
  148. package/dist/models/bxml/verbs/Gather.js +1 -1
  149. package/dist/models/bxml/verbs/SpeakSentence.js +1 -1
  150. package/dist/models/bxml/verbs/Transfer.d.ts +2 -0
  151. package/dist/models/callback.d.ts +2 -0
  152. package/dist/models/disconnect-callback.d.ts +11 -1
  153. package/dist/models/inbound-callback-message.d.ts +2 -0
  154. package/dist/models/index.d.ts +1 -0
  155. package/dist/models/index.js +1 -0
  156. package/dist/models/initiate-callback.d.ts +1 -1
  157. package/dist/models/list-message-item.d.ts +1 -1
  158. package/dist/models/multi-channel-action-calendar-event.d.ts +1 -1
  159. package/dist/models/multi-channel-action.d.ts +1 -1
  160. package/dist/models/rbm-action-base.d.ts +1 -1
  161. package/dist/models/rbm-action-dial.d.ts +1 -1
  162. package/dist/models/rbm-action-open-url.d.ts +1 -1
  163. package/dist/models/rbm-action-view-location.d.ts +1 -1
  164. package/dist/models/rbm-session.d.ts +36 -0
  165. package/dist/models/rbm-session.js +15 -0
  166. package/dist/models/rbm-suggestion-response.d.ts +2 -2
  167. package/dist/models/status-callback-message.d.ts +2 -0
  168. package/dist/models/status-callback-type-enum.d.ts +2 -1
  169. package/dist/models/status-callback-type-enum.js +2 -1
  170. package/dist/models/transfer-disconnect-callback.d.ts +14 -0
  171. package/docs/CallsApi.md +5 -5
  172. package/docs/ConferencesApi.md +9 -9
  173. package/docs/DisconnectCallback.md +5 -1
  174. package/docs/EndpointsApi.md +5 -5
  175. package/docs/InboundCallbackMessage.md +2 -0
  176. package/docs/InitiateCallback.md +1 -1
  177. package/docs/MFAApi.md +3 -3
  178. package/docs/MediaApi.md +4 -4
  179. package/docs/MessagesApi.md +2 -2
  180. package/docs/MultiChannelAction.md +1 -1
  181. package/docs/MultiChannelActionCalendarEvent.md +1 -1
  182. package/docs/MultiChannelApi.md +1 -1
  183. package/docs/PhoneNumberLookupApi.md +3 -3
  184. package/docs/RbmActionBase.md +1 -1
  185. package/docs/RbmActionDial.md +1 -1
  186. package/docs/RbmActionOpenUrl.md +1 -1
  187. package/docs/RbmActionViewLocation.md +1 -1
  188. package/docs/RbmSession.md +29 -0
  189. package/docs/RbmSuggestionResponse.md +2 -2
  190. package/docs/RecordingsApi.md +10 -10
  191. package/docs/StatisticsApi.md +1 -1
  192. package/docs/StatusCallbackMessage.md +2 -0
  193. package/docs/StatusCallbackTypeEnum.md +3 -1
  194. package/docs/TollFreeVerificationApi.md +9 -9
  195. package/docs/TranscriptionsApi.md +3 -3
  196. package/docs/TransferDisconnectCallback.md +6 -0
  197. package/jest.config.js +0 -6
  198. package/models/bxml/Root.ts +9 -1
  199. package/models/bxml/verbs/Gather.ts +2 -2
  200. package/models/bxml/verbs/SpeakSentence.ts +2 -2
  201. package/models/bxml/verbs/Transfer.ts +2 -0
  202. package/models/callback.ts +1 -1
  203. package/models/disconnect-callback.ts +9 -1
  204. package/models/inbound-callback-message.ts +4 -0
  205. package/models/index.ts +1 -0
  206. package/models/initiate-callback.ts +1 -1
  207. package/models/list-message-item.ts +1 -1
  208. package/models/multi-channel-action-calendar-event.ts +1 -1
  209. package/models/multi-channel-action.ts +1 -1
  210. package/models/rbm-action-base.ts +1 -1
  211. package/models/rbm-action-dial.ts +1 -1
  212. package/models/rbm-action-open-url.ts +1 -1
  213. package/models/rbm-action-view-location.ts +1 -1
  214. package/models/rbm-session.ts +42 -0
  215. package/models/rbm-suggestion-response.ts +2 -2
  216. package/models/status-callback-message.ts +4 -0
  217. package/models/status-callback-type-enum.ts +2 -1
  218. package/models/transfer-disconnect-callback.ts +12 -0
  219. package/package.json +1 -1
  220. package/tests/globals.d.ts +0 -6
  221. package/tests/smoke/calls-api.test.ts +1 -23
  222. package/tests/smoke/conferences-api.test.ts +2 -2
  223. package/tests/smoke/media-api.test.ts +4 -1
  224. package/tests/smoke/messages-api.test.ts +4 -19
  225. package/tests/smoke/mfaapi.test.ts +4 -20
  226. package/tests/smoke/multi-channel-api.test.ts +2 -2
  227. package/tests/smoke/statistics-api.test.ts +0 -24
  228. package/tests/unit/api/calls-api.test.ts +2 -1
  229. package/tests/unit/api/conferences-api.test.ts +3 -2
  230. package/tests/unit/api/media-api.test.ts +1 -0
  231. package/tests/unit/api/messages-api.test.ts +1 -0
  232. package/tests/unit/api/mfaapi.test.ts +1 -0
  233. package/tests/unit/api/multi-channel-api.test.ts +1 -0
  234. package/tests/unit/api/phone-number-lookup-api.test.ts +1 -0
  235. package/tests/unit/api/recordings-api.test.ts +2 -1
  236. package/tests/unit/api/statistics-api.test.ts +1 -0
  237. package/tests/unit/api/toll-free-verification-api.test.ts +1 -0
  238. package/tests/unit/api/transcriptions-api.test.ts +1 -0
  239. package/tests/unit/configuration.test.ts +19 -0
  240. package/tests/unit/constants.ts +6 -0
  241. package/tests/unit/models/bxml/Response.test.ts +20 -0
  242. package/tests/unit/models/bxml/verbs/Gather.test.ts +7 -0
  243. package/tests/unit/models/bxml/verbs/Transfer.test.ts +8 -6
  244. package/tests/unit/models/disconnect-callback.test.ts +4 -0
  245. package/tests/unit/models/inbound-callback-message.test.ts +3 -0
  246. package/tests/unit/models/rbm-session.test.ts +19 -0
  247. package/tests/unit/models/status-callback-message.test.ts +3 -0
  248. package/tests/unit/models/status-callback-type-enum.test.ts +3 -1
  249. package/tests/unit/models/transfer-disconnect-callback.test.ts +6 -0
@@ -34,11 +34,8 @@ export const setApiKeyToObject = async function (object: any, keyParamName: stri
34
34
  }
35
35
  }
36
36
 
37
- export const setBasicAuthToObject = function (object: any, configuration?: Configuration) {
38
- if (configuration && (configuration.username || configuration.password)) {
39
- object["auth"] = { username: configuration.username, password: configuration.password };
40
- }
41
- }
37
+ // No-op: kept because the generated API files import it unconditionally.
38
+ export const setBasicAuthToObject = function (object: any, configuration?: Configuration) {}
42
39
 
43
40
  export const setBearerAuthToObject = async function (object: any, configuration?: Configuration) {
44
41
  if (configuration && configuration.accessToken) {
@@ -17,8 +17,6 @@ interface AWSv4Configuration {
17
17
 
18
18
  export interface ConfigurationParameters {
19
19
  apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
20
- username?: string;
21
- password?: string;
22
20
  clientId?: string;
23
21
  clientSecret?: string;
24
22
  accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
@@ -36,14 +34,6 @@ export class Configuration {
36
34
  * @param name security name
37
35
  */
38
36
  apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
39
- /**
40
- * parameter for basic security
41
- */
42
- username?: string;
43
- /**
44
- * parameter for basic security
45
- */
46
- password?: string;
47
37
  /**
48
38
  * parameter for client ID
49
39
  */
@@ -103,9 +93,10 @@ export class Configuration {
103
93
  formDataCtor?: new () => any;
104
94
 
105
95
  constructor(param: ConfigurationParameters = {}) {
96
+ if ('username' in param || 'password' in param) {
97
+ throw new Error('Basic authentication is no longer supported. Use `clientId` and `clientSecret` instead.');
98
+ }
106
99
  this.apiKey = param.apiKey;
107
- this.username = param.username;
108
- this.password = param.password;
109
100
  this.clientId = param.clientId;
110
101
  this.clientSecret = param.clientSecret;
111
102
  this.tempAccessToken;
@@ -129,9 +129,6 @@ var CallsApiAxiosParamCreator = function (configuration) {
129
129
  localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
130
130
  localVarHeaderParameter = {};
131
131
  localVarQueryParameter = {};
132
- // authentication Basic required
133
- // http basic authentication required
134
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
135
132
  // authentication OAuth2 required
136
133
  // oauth required
137
134
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -186,9 +183,6 @@ var CallsApiAxiosParamCreator = function (configuration) {
186
183
  localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
187
184
  localVarHeaderParameter = {};
188
185
  localVarQueryParameter = {};
189
- // authentication Basic required
190
- // http basic authentication required
191
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
192
186
  // authentication OAuth2 required
193
187
  // oauth required
194
188
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -244,9 +238,6 @@ var CallsApiAxiosParamCreator = function (configuration) {
244
238
  localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
245
239
  localVarHeaderParameter = {};
246
240
  localVarQueryParameter = {};
247
- // authentication Basic required
248
- // http basic authentication required
249
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
250
241
  // authentication OAuth2 required
251
242
  // oauth required
252
243
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -323,9 +314,6 @@ var CallsApiAxiosParamCreator = function (configuration) {
323
314
  localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
324
315
  localVarHeaderParameter = {};
325
316
  localVarQueryParameter = {};
326
- // authentication Basic required
327
- // http basic authentication required
328
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
329
317
  // authentication OAuth2 required
330
318
  // oauth required
331
319
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -383,9 +371,6 @@ var CallsApiAxiosParamCreator = function (configuration) {
383
371
  localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
384
372
  localVarHeaderParameter = {};
385
373
  localVarQueryParameter = {};
386
- // authentication Basic required
387
- // http basic authentication required
388
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
389
374
  // authentication OAuth2 required
390
375
  // oauth required
391
376
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -134,9 +134,6 @@ var ConferencesApiAxiosParamCreator = function (configuration) {
134
134
  localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
135
135
  localVarHeaderParameter = {};
136
136
  localVarQueryParameter = {};
137
- // authentication Basic required
138
- // http basic authentication required
139
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
140
137
  // authentication OAuth2 required
141
138
  // oauth required
142
139
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -189,9 +186,6 @@ var ConferencesApiAxiosParamCreator = function (configuration) {
189
186
  localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
190
187
  localVarHeaderParameter = {};
191
188
  localVarQueryParameter = {};
192
- // authentication Basic required
193
- // http basic authentication required
194
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
195
189
  // authentication OAuth2 required
196
190
  // oauth required
197
191
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -248,9 +242,6 @@ var ConferencesApiAxiosParamCreator = function (configuration) {
248
242
  localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
249
243
  localVarHeaderParameter = {};
250
244
  localVarQueryParameter = {};
251
- // authentication Basic required
252
- // http basic authentication required
253
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
254
245
  // authentication OAuth2 required
255
246
  // oauth required
256
247
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -307,9 +298,6 @@ var ConferencesApiAxiosParamCreator = function (configuration) {
307
298
  localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
308
299
  localVarHeaderParameter = {};
309
300
  localVarQueryParameter = {};
310
- // authentication Basic required
311
- // http basic authentication required
312
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
313
301
  // authentication OAuth2 required
314
302
  // oauth required
315
303
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -362,9 +350,6 @@ var ConferencesApiAxiosParamCreator = function (configuration) {
362
350
  localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
363
351
  localVarHeaderParameter = {};
364
352
  localVarQueryParameter = {};
365
- // authentication Basic required
366
- // http basic authentication required
367
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
368
353
  // authentication OAuth2 required
369
354
  // oauth required
370
355
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -418,9 +403,6 @@ var ConferencesApiAxiosParamCreator = function (configuration) {
418
403
  localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
419
404
  localVarHeaderParameter = {};
420
405
  localVarQueryParameter = {};
421
- // authentication Basic required
422
- // http basic authentication required
423
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
424
406
  // authentication OAuth2 required
425
407
  // oauth required
426
408
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -491,9 +473,6 @@ var ConferencesApiAxiosParamCreator = function (configuration) {
491
473
  localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
492
474
  localVarHeaderParameter = {};
493
475
  localVarQueryParameter = {};
494
- // authentication Basic required
495
- // http basic authentication required
496
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
497
476
  // authentication OAuth2 required
498
477
  // oauth required
499
478
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -551,9 +530,6 @@ var ConferencesApiAxiosParamCreator = function (configuration) {
551
530
  localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
552
531
  localVarHeaderParameter = {};
553
532
  localVarQueryParameter = {};
554
- // authentication Basic required
555
- // http basic authentication required
556
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
557
533
  // authentication OAuth2 required
558
534
  // oauth required
559
535
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -615,9 +591,6 @@ var ConferencesApiAxiosParamCreator = function (configuration) {
615
591
  localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
616
592
  localVarHeaderParameter = {};
617
593
  localVarQueryParameter = {};
618
- // authentication Basic required
619
- // http basic authentication required
620
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
621
594
  // authentication OAuth2 required
622
595
  // oauth required
623
596
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -129,9 +129,6 @@ var EndpointsApiAxiosParamCreator = function (configuration) {
129
129
  localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
130
130
  localVarHeaderParameter = {};
131
131
  localVarQueryParameter = {};
132
- // authentication Basic required
133
- // http basic authentication required
134
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
135
132
  // authentication OAuth2 required
136
133
  // oauth required
137
134
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -186,9 +183,6 @@ var EndpointsApiAxiosParamCreator = function (configuration) {
186
183
  localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
187
184
  localVarHeaderParameter = {};
188
185
  localVarQueryParameter = {};
189
- // authentication Basic required
190
- // http basic authentication required
191
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
192
186
  // authentication OAuth2 required
193
187
  // oauth required
194
188
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -241,9 +235,6 @@ var EndpointsApiAxiosParamCreator = function (configuration) {
241
235
  localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
242
236
  localVarHeaderParameter = {};
243
237
  localVarQueryParameter = {};
244
- // authentication Basic required
245
- // http basic authentication required
246
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
247
238
  // authentication OAuth2 required
248
239
  // oauth required
249
240
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -296,9 +287,6 @@ var EndpointsApiAxiosParamCreator = function (configuration) {
296
287
  localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
297
288
  localVarHeaderParameter = {};
298
289
  localVarQueryParameter = {};
299
- // authentication Basic required
300
- // http basic authentication required
301
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
302
290
  // authentication OAuth2 required
303
291
  // oauth required
304
292
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -366,9 +354,6 @@ var EndpointsApiAxiosParamCreator = function (configuration) {
366
354
  localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
367
355
  localVarHeaderParameter = {};
368
356
  localVarQueryParameter = {};
369
- // authentication Basic required
370
- // http basic authentication required
371
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
372
357
  // authentication OAuth2 required
373
358
  // oauth required
374
359
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -130,9 +130,6 @@ var MediaApiAxiosParamCreator = function (configuration) {
130
130
  localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
131
131
  localVarHeaderParameter = {};
132
132
  localVarQueryParameter = {};
133
- // authentication Basic required
134
- // http basic authentication required
135
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
136
133
  // authentication OAuth2 required
137
134
  // oauth required
138
135
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -185,9 +182,6 @@ var MediaApiAxiosParamCreator = function (configuration) {
185
182
  localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
186
183
  localVarHeaderParameter = {};
187
184
  localVarQueryParameter = {};
188
- // authentication Basic required
189
- // http basic authentication required
190
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
191
185
  // authentication OAuth2 required
192
186
  // oauth required
193
187
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -237,9 +231,6 @@ var MediaApiAxiosParamCreator = function (configuration) {
237
231
  localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
238
232
  localVarHeaderParameter = {};
239
233
  localVarQueryParameter = {};
240
- // authentication Basic required
241
- // http basic authentication required
242
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
243
234
  // authentication OAuth2 required
244
235
  // oauth required
245
236
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -300,9 +291,6 @@ var MediaApiAxiosParamCreator = function (configuration) {
300
291
  localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
301
292
  localVarHeaderParameter = {};
302
293
  localVarQueryParameter = {};
303
- // authentication Basic required
304
- // http basic authentication required
305
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
306
294
  // authentication OAuth2 required
307
295
  // oauth required
308
296
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -129,9 +129,6 @@ var MessagesApiAxiosParamCreator = function (configuration) {
129
129
  localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
130
130
  localVarHeaderParameter = {};
131
131
  localVarQueryParameter = {};
132
- // authentication Basic required
133
- // http basic authentication required
134
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
135
132
  // authentication OAuth2 required
136
133
  // oauth required
137
134
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -209,9 +206,6 @@ var MessagesApiAxiosParamCreator = function (configuration) {
209
206
  localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
210
207
  localVarHeaderParameter = {};
211
208
  localVarQueryParameter = {};
212
- // authentication Basic required
213
- // http basic authentication required
214
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
215
209
  // authentication OAuth2 required
216
210
  // oauth required
217
211
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -129,9 +129,6 @@ var MFAApiAxiosParamCreator = function (configuration) {
129
129
  localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
130
130
  localVarHeaderParameter = {};
131
131
  localVarQueryParameter = {};
132
- // authentication Basic required
133
- // http basic authentication required
134
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
135
132
  // authentication OAuth2 required
136
133
  // oauth required
137
134
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -185,9 +182,6 @@ var MFAApiAxiosParamCreator = function (configuration) {
185
182
  localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
186
183
  localVarHeaderParameter = {};
187
184
  localVarQueryParameter = {};
188
- // authentication Basic required
189
- // http basic authentication required
190
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
191
185
  // authentication OAuth2 required
192
186
  // oauth required
193
187
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -241,9 +235,6 @@ var MFAApiAxiosParamCreator = function (configuration) {
241
235
  localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
242
236
  localVarHeaderParameter = {};
243
237
  localVarQueryParameter = {};
244
- // authentication Basic required
245
- // http basic authentication required
246
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
247
238
  // authentication OAuth2 required
248
239
  // oauth required
249
240
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -129,9 +129,6 @@ var MultiChannelApiAxiosParamCreator = function (configuration) {
129
129
  localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
130
130
  localVarHeaderParameter = {};
131
131
  localVarQueryParameter = {};
132
- // authentication Basic required
133
- // http basic authentication required
134
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
135
132
  // authentication OAuth2 required
136
133
  // oauth required
137
134
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -129,9 +129,6 @@ var PhoneNumberLookupApiAxiosParamCreator = function (configuration) {
129
129
  localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
130
130
  localVarHeaderParameter = {};
131
131
  localVarQueryParameter = {};
132
- // authentication Basic required
133
- // http basic authentication required
134
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
135
132
  // authentication OAuth2 required
136
133
  // oauth required
137
134
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -185,9 +182,6 @@ var PhoneNumberLookupApiAxiosParamCreator = function (configuration) {
185
182
  localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
186
183
  localVarHeaderParameter = {};
187
184
  localVarQueryParameter = {};
188
- // authentication Basic required
189
- // http basic authentication required
190
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
191
185
  // authentication OAuth2 required
192
186
  // oauth required
193
187
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -242,9 +236,6 @@ var PhoneNumberLookupApiAxiosParamCreator = function (configuration) {
242
236
  localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
243
237
  localVarHeaderParameter = {};
244
238
  localVarQueryParameter = {};
245
- // authentication Basic required
246
- // http basic authentication required
247
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
248
239
  // authentication OAuth2 required
249
240
  // oauth required
250
241
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -134,9 +134,6 @@ var RecordingsApiAxiosParamCreator = function (configuration) {
134
134
  localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
135
135
  localVarHeaderParameter = {};
136
136
  localVarQueryParameter = {};
137
- // authentication Basic required
138
- // http basic authentication required
139
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
140
137
  // authentication OAuth2 required
141
138
  // oauth required
142
139
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -193,9 +190,6 @@ var RecordingsApiAxiosParamCreator = function (configuration) {
193
190
  localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
194
191
  localVarHeaderParameter = {};
195
192
  localVarQueryParameter = {};
196
- // authentication Basic required
197
- // http basic authentication required
198
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
199
193
  // authentication OAuth2 required
200
194
  // oauth required
201
195
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -252,9 +246,6 @@ var RecordingsApiAxiosParamCreator = function (configuration) {
252
246
  localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
253
247
  localVarHeaderParameter = {};
254
248
  localVarQueryParameter = {};
255
- // authentication Basic required
256
- // http basic authentication required
257
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
258
249
  // authentication OAuth2 required
259
250
  // oauth required
260
251
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -311,9 +302,6 @@ var RecordingsApiAxiosParamCreator = function (configuration) {
311
302
  localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
312
303
  localVarHeaderParameter = {};
313
304
  localVarQueryParameter = {};
314
- // authentication Basic required
315
- // http basic authentication required
316
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
317
305
  // authentication OAuth2 required
318
306
  // oauth required
319
307
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -370,9 +358,6 @@ var RecordingsApiAxiosParamCreator = function (configuration) {
370
358
  localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
371
359
  localVarHeaderParameter = {};
372
360
  localVarQueryParameter = {};
373
- // authentication Basic required
374
- // http basic authentication required
375
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
376
361
  // authentication OAuth2 required
377
362
  // oauth required
378
363
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -429,9 +414,6 @@ var RecordingsApiAxiosParamCreator = function (configuration) {
429
414
  localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
430
415
  localVarHeaderParameter = {};
431
416
  localVarQueryParameter = {};
432
- // authentication Basic required
433
- // http basic authentication required
434
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
435
417
  // authentication OAuth2 required
436
418
  // oauth required
437
419
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -484,9 +466,6 @@ var RecordingsApiAxiosParamCreator = function (configuration) {
484
466
  localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
485
467
  localVarHeaderParameter = {};
486
468
  localVarQueryParameter = {};
487
- // authentication Basic required
488
- // http basic authentication required
489
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
490
469
  // authentication OAuth2 required
491
470
  // oauth required
492
471
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -551,9 +530,6 @@ var RecordingsApiAxiosParamCreator = function (configuration) {
551
530
  localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
552
531
  localVarHeaderParameter = {};
553
532
  localVarQueryParameter = {};
554
- // authentication Basic required
555
- // http basic authentication required
556
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
557
533
  // authentication OAuth2 required
558
534
  // oauth required
559
535
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -613,9 +589,6 @@ var RecordingsApiAxiosParamCreator = function (configuration) {
613
589
  localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
614
590
  localVarHeaderParameter = {};
615
591
  localVarQueryParameter = {};
616
- // authentication Basic required
617
- // http basic authentication required
618
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
619
592
  // authentication OAuth2 required
620
593
  // oauth required
621
594
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -673,9 +646,6 @@ var RecordingsApiAxiosParamCreator = function (configuration) {
673
646
  localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
674
647
  localVarHeaderParameter = {};
675
648
  localVarQueryParameter = {};
676
- // authentication Basic required
677
- // http basic authentication required
678
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
679
649
  // authentication OAuth2 required
680
650
  // oauth required
681
651
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -126,9 +126,6 @@ var StatisticsApiAxiosParamCreator = function (configuration) {
126
126
  localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
127
127
  localVarHeaderParameter = {};
128
128
  localVarQueryParameter = {};
129
- // authentication Basic required
130
- // http basic authentication required
131
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
132
129
  // authentication OAuth2 required
133
130
  // oauth required
134
131
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -129,9 +129,6 @@ var TollFreeVerificationApiAxiosParamCreator = function (configuration) {
129
129
  localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
130
130
  localVarHeaderParameter = {};
131
131
  localVarQueryParameter = {};
132
- // authentication Basic required
133
- // http basic authentication required
134
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
135
132
  // authentication OAuth2 required
136
133
  // oauth required
137
134
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -186,9 +183,6 @@ var TollFreeVerificationApiAxiosParamCreator = function (configuration) {
186
183
  localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
187
184
  localVarHeaderParameter = {};
188
185
  localVarQueryParameter = {};
189
- // authentication Basic required
190
- // http basic authentication required
191
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
192
186
  // authentication OAuth2 required
193
187
  // oauth required
194
188
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -241,9 +235,6 @@ var TollFreeVerificationApiAxiosParamCreator = function (configuration) {
241
235
  localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
242
236
  localVarHeaderParameter = {};
243
237
  localVarQueryParameter = {};
244
- // authentication Basic required
245
- // http basic authentication required
246
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
247
238
  // authentication OAuth2 required
248
239
  // oauth required
249
240
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -296,9 +287,6 @@ var TollFreeVerificationApiAxiosParamCreator = function (configuration) {
296
287
  localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
297
288
  localVarHeaderParameter = {};
298
289
  localVarQueryParameter = {};
299
- // authentication Basic required
300
- // http basic authentication required
301
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
302
290
  // authentication OAuth2 required
303
291
  // oauth required
304
292
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -343,9 +331,6 @@ var TollFreeVerificationApiAxiosParamCreator = function (configuration) {
343
331
  localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
344
332
  localVarHeaderParameter = {};
345
333
  localVarQueryParameter = {};
346
- // authentication Basic required
347
- // http basic authentication required
348
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
349
334
  // authentication OAuth2 required
350
335
  // oauth required
351
336
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -394,9 +379,6 @@ var TollFreeVerificationApiAxiosParamCreator = function (configuration) {
394
379
  localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
395
380
  localVarHeaderParameter = {};
396
381
  localVarQueryParameter = {};
397
- // authentication Basic required
398
- // http basic authentication required
399
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
400
382
  // authentication OAuth2 required
401
383
  // oauth required
402
384
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -448,9 +430,6 @@ var TollFreeVerificationApiAxiosParamCreator = function (configuration) {
448
430
  localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
449
431
  localVarHeaderParameter = {};
450
432
  localVarQueryParameter = {};
451
- // authentication Basic required
452
- // http basic authentication required
453
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
454
433
  // authentication OAuth2 required
455
434
  // oauth required
456
435
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -508,9 +487,6 @@ var TollFreeVerificationApiAxiosParamCreator = function (configuration) {
508
487
  localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
509
488
  localVarHeaderParameter = {};
510
489
  localVarQueryParameter = {};
511
- // authentication Basic required
512
- // http basic authentication required
513
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
514
490
  // authentication OAuth2 required
515
491
  // oauth required
516
492
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -568,9 +544,6 @@ var TollFreeVerificationApiAxiosParamCreator = function (configuration) {
568
544
  localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
569
545
  localVarHeaderParameter = {};
570
546
  localVarQueryParameter = {};
571
- // authentication Basic required
572
- // http basic authentication required
573
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
574
547
  // authentication OAuth2 required
575
548
  // oauth required
576
549
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -134,9 +134,6 @@ var TranscriptionsApiAxiosParamCreator = function (configuration) {
134
134
  localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
135
135
  localVarHeaderParameter = {};
136
136
  localVarQueryParameter = {};
137
- // authentication Basic required
138
- // http basic authentication required
139
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
140
137
  // authentication OAuth2 required
141
138
  // oauth required
142
139
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -193,9 +190,6 @@ var TranscriptionsApiAxiosParamCreator = function (configuration) {
193
190
  localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
194
191
  localVarHeaderParameter = {};
195
192
  localVarQueryParameter = {};
196
- // authentication Basic required
197
- // http basic authentication required
198
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
199
193
  // authentication OAuth2 required
200
194
  // oauth required
201
195
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -248,9 +242,6 @@ var TranscriptionsApiAxiosParamCreator = function (configuration) {
248
242
  localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
249
243
  localVarHeaderParameter = {};
250
244
  localVarQueryParameter = {};
251
- // authentication Basic required
252
- // http basic authentication required
253
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
254
245
  // authentication OAuth2 required
255
246
  // oauth required
256
247
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
package/dist/common.js CHANGED
@@ -99,11 +99,8 @@ var setApiKeyToObject = function (object, keyParamName, configuration) {
99
99
  });
100
100
  };
101
101
  exports.setApiKeyToObject = setApiKeyToObject;
102
- var setBasicAuthToObject = function (object, configuration) {
103
- if (configuration && (configuration.username || configuration.password)) {
104
- object["auth"] = { username: configuration.username, password: configuration.password };
105
- }
106
- };
102
+ // No-op: kept because the generated API files import it unconditionally.
103
+ var setBasicAuthToObject = function (object, configuration) { };
107
104
  exports.setBasicAuthToObject = setBasicAuthToObject;
108
105
  var setBearerAuthToObject = function (object, configuration) {
109
106
  return __awaiter(this, void 0, void 0, function () {