bandwidth-sdk 7.0.0 → 7.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.
- package/.github/workflows/deploy.yml +3 -1
- package/.github/workflows/test-pr.yml +3 -1
- package/.github/workflows/test-smoke.yml +4 -2
- package/.openapi-generator/FILES +22 -6
- package/README.md +21 -5
- package/api/calls-api.ts +20 -0
- package/api/conferences-api.ts +36 -0
- package/api/media-api.ts +16 -0
- package/api/messages-api.ts +8 -0
- package/api/mfaapi.ts +12 -0
- package/api/multi-channel-api.ts +4 -0
- package/api/phone-number-lookup-api.ts +12 -0
- package/api/recordings-api.ts +40 -0
- package/api/statistics-api.ts +4 -0
- package/api/toll-free-verification-api.ts +36 -0
- package/api/transcriptions-api.ts +12 -0
- package/bandwidth.yml +85 -22
- package/common.ts +3 -1
- package/configuration.ts +44 -2
- package/coverage/clover.xml +1139 -1065
- package/coverage/coverage-final.json +14 -14
- package/coverage/lcov-report/index.html +32 -32
- package/coverage/lcov-report/node-sdk/api/calls-api.ts.html +66 -6
- package/coverage/lcov-report/node-sdk/api/conferences-api.ts.html +114 -6
- package/coverage/lcov-report/node-sdk/api/index.html +70 -70
- package/coverage/lcov-report/node-sdk/api/media-api.ts.html +54 -6
- package/coverage/lcov-report/node-sdk/api/messages-api.ts.html +30 -6
- package/coverage/lcov-report/node-sdk/api/mfaapi.ts.html +42 -6
- package/coverage/lcov-report/node-sdk/api/multi-channel-api.ts.html +77 -65
- package/coverage/lcov-report/node-sdk/api/phone-number-lookup-api.ts.html +42 -6
- package/coverage/lcov-report/node-sdk/api/recordings-api.ts.html +126 -6
- package/coverage/lcov-report/node-sdk/api/statistics-api.ts.html +18 -6
- package/coverage/lcov-report/node-sdk/api/toll-free-verification-api.ts.html +114 -6
- package/coverage/lcov-report/node-sdk/api/transcriptions-api.ts.html +42 -6
- package/coverage/lcov-report/node-sdk/api.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/base.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/common.ts.html +45 -39
- package/coverage/lcov-report/node-sdk/configuration.ts.html +140 -14
- package/coverage/lcov-report/node-sdk/index.html +30 -30
- package/coverage/lcov-report/node-sdk/models/business-entity-type-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/business-registration-type-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/Bxml.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/NestableVerb.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/Response.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/Root.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/Verb.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/index.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/index.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Bridge.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Conference.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/CustomParam.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Forward.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Gather.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Hangup.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Pause.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/PauseRecording.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/PhoneNumber.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/PlayAudio.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Record.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Redirect.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/ResumeRecording.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Ring.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/SendDtmf.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/SipUri.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/SpeakSentence.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartGather.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartRecording.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartStream.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartTranscription.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopGather.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopRecording.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopStream.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopTranscription.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StreamParam.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Tag.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Transfer.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/index.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/index.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/call-direction-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/call-state-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/call-transcription-detected-language-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/call-transcription-track-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/callback-method-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/card-width-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/completed-lookup-status-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/conference-state-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/deactivation-event-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/file-format-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/in-progress-lookup-status-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/inbound-callback-type-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/index.html +5 -5
- package/coverage/lcov-report/node-sdk/models/index.ts.html +31 -7
- package/coverage/lcov-report/node-sdk/models/latest-message-delivery-status-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/line-type-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/list-message-direction-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/machine-detection-mode-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/message-direction-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/message-status-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/message-type-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/multi-channel-message-channel-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/priority-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/product-type-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/rbm-action-type-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/rbm-media-height-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/recording-state-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/redirect-method-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/standalone-card-orientation-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/status-callback-type-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/tfv-callback-status-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/tfv-status-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/thumbnail-alignment-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/webhook-subscription-type-enum.ts.html +1 -1
- package/coverage/lcov.info +2834 -2739
- package/custom_templates/README.mustache +2 -2
- package/custom_templates/common.mustache +3 -1
- package/custom_templates/configuration.mustache +43 -1
- package/custom_templates/package.mustache +5 -2
- package/dist/api/calls-api.js +192 -142
- package/dist/api/conferences-api.js +333 -243
- package/dist/api/media-api.js +142 -102
- package/dist/api/messages-api.js +145 -125
- package/dist/api/mfaapi.js +102 -72
- package/dist/api/multi-channel-api.js +34 -24
- package/dist/api/phone-number-lookup-api.js +101 -71
- package/dist/api/recordings-api.js +368 -268
- package/dist/api/statistics-api.js +30 -20
- package/dist/api/toll-free-verification-api.js +298 -208
- package/dist/api/transcriptions-api.js +105 -75
- package/dist/common.js +3 -1
- package/dist/configuration.d.ts +18 -0
- package/dist/configuration.js +71 -3
- package/dist/models/index.d.ts +11 -3
- package/dist/models/index.js +11 -3
- package/dist/models/multi-channel-action.d.ts +48 -21
- package/dist/models/{multi-channel-message-response-data-channel-list-inner.d.ts → multi-channel-channel-list-mmsobject.d.ts} +3 -3
- package/dist/models/multi-channel-channel-list-mmsresponse-object.d.ts +17 -0
- package/dist/models/{multi-channel-channel-list-object.d.ts → multi-channel-channel-list-object-base.d.ts} +1 -3
- package/dist/models/multi-channel-channel-list-owner-object.d.ts +17 -0
- package/dist/models/multi-channel-channel-list-owner-object.js +15 -0
- package/dist/models/{multi-channel-channel-list-object-content.d.ts → multi-channel-channel-list-rbmobject-all-of-content.d.ts} +2 -4
- package/dist/models/multi-channel-channel-list-rbmobject-all-of-content.js +15 -0
- package/dist/models/multi-channel-channel-list-rbmobject.d.ts +16 -0
- package/dist/models/multi-channel-channel-list-rbmobject.js +15 -0
- package/dist/models/multi-channel-channel-list-rbmresponse-object.d.ts +17 -0
- package/dist/models/multi-channel-channel-list-rbmresponse-object.js +15 -0
- package/dist/models/multi-channel-channel-list-request-object.d.ts +25 -0
- package/dist/models/multi-channel-channel-list-request-object.js +15 -0
- package/dist/models/multi-channel-channel-list-response-object.d.ts +29 -0
- package/dist/models/multi-channel-channel-list-response-object.js +15 -0
- package/dist/models/multi-channel-channel-list-smsobject.d.ts +16 -0
- package/dist/models/multi-channel-channel-list-smsobject.js +15 -0
- package/dist/models/multi-channel-channel-list-smsresponse-object.d.ts +17 -0
- package/dist/models/multi-channel-channel-list-smsresponse-object.js +15 -0
- package/dist/models/multi-channel-message-request.d.ts +2 -2
- package/dist/models/multi-channel-message-response-data.d.ts +2 -2
- package/docs/CallsApi.md +5 -5
- package/docs/ConferencesApi.md +9 -9
- package/docs/MFAApi.md +3 -3
- package/docs/MediaApi.md +4 -4
- package/docs/MessagesApi.md +2 -2
- package/docs/MultiChannelApi.md +1 -1
- package/docs/{MultiChannelChannelListObject.md → MultiChannelChannelListMMSObject.md} +4 -4
- package/docs/{MultiChannelMessageResponseDataChannelListInner.md → MultiChannelChannelListMMSResponseObject.md} +4 -4
- package/docs/MultiChannelChannelListObjectBase.md +24 -0
- package/docs/MultiChannelChannelListOwnerObject.md +20 -0
- package/docs/MultiChannelChannelListRBMObject.md +26 -0
- package/docs/{MultiChannelChannelListObjectContent.md → MultiChannelChannelListRBMObjectAllOfContent.md} +5 -5
- package/docs/MultiChannelChannelListRBMResponseObject.md +28 -0
- package/docs/MultiChannelChannelListRequestObject.md +26 -0
- package/docs/MultiChannelChannelListResponseObject.md +28 -0
- package/docs/MultiChannelChannelListSMSObject.md +26 -0
- package/docs/MultiChannelChannelListSMSResponseObject.md +28 -0
- package/docs/MultiChannelMessageRequest.md +1 -1
- package/docs/MultiChannelMessageResponseData.md +1 -1
- package/docs/PhoneNumberLookupApi.md +3 -3
- package/docs/RecordingsApi.md +10 -10
- package/docs/StatisticsApi.md +1 -1
- package/docs/TollFreeVerificationApi.md +9 -9
- package/docs/TranscriptionsApi.md +3 -3
- package/jest.config.js +2 -0
- package/models/index.ts +11 -3
- package/models/multi-channel-action.ts +48 -4
- package/models/{multi-channel-message-response-data-channel-list-inner.ts → multi-channel-channel-list-mmsobject.ts} +4 -4
- package/models/multi-channel-channel-list-mmsresponse-object.ts +34 -0
- package/models/{multi-channel-channel-list-object.ts → multi-channel-channel-list-object-base.ts} +1 -5
- package/models/multi-channel-channel-list-owner-object.ts +23 -0
- package/models/{multi-channel-channel-list-object-content.ts → multi-channel-channel-list-rbmobject-all-of-content.ts} +5 -11
- package/models/multi-channel-channel-list-rbmobject.ts +31 -0
- package/models/multi-channel-channel-list-rbmresponse-object.ts +34 -0
- package/models/multi-channel-channel-list-request-object.ts +46 -0
- package/models/multi-channel-channel-list-response-object.ts +50 -0
- package/models/multi-channel-channel-list-smsobject.ts +31 -0
- package/models/multi-channel-channel-list-smsresponse-object.ts +34 -0
- package/models/multi-channel-message-request.ts +2 -2
- package/models/multi-channel-message-response-data.ts +2 -2
- package/package.json +6 -3
- package/tests/smoke/bxml.test.ts +4 -1
- package/tests/smoke/calls-api.test.ts +4 -1
- package/tests/smoke/conferences-api.test.ts +4 -1
- package/tests/smoke/multi-channel-api.test.ts +117 -10
- package/tests/smoke/phone-number-lookup-api.test.ts +4 -4
- package/tests/smoke/recordings-api.test.ts +4 -1
- package/tests/smoke/statistics-api.test.ts +4 -1
- package/tests/smoke/toll-free-verification-api.test.ts +4 -1
- package/tests/smoke/transcriptions-api.test.ts +4 -1
- package/tests/unit/api/multi-channel-api.test.ts +27 -10
- /package/dist/models/{multi-channel-channel-list-object-content.js → multi-channel-channel-list-mmsobject.js} +0 -0
- /package/dist/models/{multi-channel-channel-list-object.js → multi-channel-channel-list-mmsresponse-object.js} +0 -0
- /package/dist/models/{multi-channel-message-response-data-channel-list-inner.js → multi-channel-channel-list-object-base.js} +0 -0
|
@@ -115,33 +115,43 @@ var ConferencesApiAxiosParamCreator = function (configuration) {
|
|
|
115
115
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
116
116
|
if (options === void 0) { options = {}; }
|
|
117
117
|
return __generator(this, function (_a) {
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
118
|
+
switch (_a.label) {
|
|
119
|
+
case 0:
|
|
120
|
+
// verify required parameter 'accountId' is not null or undefined
|
|
121
|
+
(0, common_1.assertParamExists)('downloadConferenceRecording', 'accountId', accountId);
|
|
122
|
+
// verify required parameter 'conferenceId' is not null or undefined
|
|
123
|
+
(0, common_1.assertParamExists)('downloadConferenceRecording', 'conferenceId', conferenceId);
|
|
124
|
+
// verify required parameter 'recordingId' is not null or undefined
|
|
125
|
+
(0, common_1.assertParamExists)('downloadConferenceRecording', 'recordingId', recordingId);
|
|
126
|
+
localVarPath = "/accounts/{accountId}/conferences/{conferenceId}/recordings/{recordingId}/media"
|
|
127
|
+
.replace("{".concat("accountId", "}"), encodeURIComponent(String(accountId)))
|
|
128
|
+
.replace("{".concat("conferenceId", "}"), encodeURIComponent(String(conferenceId)))
|
|
129
|
+
.replace("{".concat("recordingId", "}"), encodeURIComponent(String(recordingId)));
|
|
130
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
131
|
+
if (configuration) {
|
|
132
|
+
baseOptions = configuration.baseOptions;
|
|
133
|
+
}
|
|
134
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
135
|
+
localVarHeaderParameter = {};
|
|
136
|
+
localVarQueryParameter = {};
|
|
137
|
+
// authentication Basic required
|
|
138
|
+
// http basic authentication required
|
|
139
|
+
(0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
|
|
140
|
+
// authentication OAuth2 required
|
|
141
|
+
// oauth required
|
|
142
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
|
|
143
|
+
case 1:
|
|
144
|
+
// authentication OAuth2 required
|
|
145
|
+
// oauth required
|
|
146
|
+
_a.sent();
|
|
147
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
148
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
149
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
150
|
+
return [2 /*return*/, {
|
|
151
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
152
|
+
options: localVarRequestOptions,
|
|
153
|
+
}];
|
|
131
154
|
}
|
|
132
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
133
|
-
localVarHeaderParameter = {};
|
|
134
|
-
localVarQueryParameter = {};
|
|
135
|
-
// authentication Basic required
|
|
136
|
-
// http basic authentication required
|
|
137
|
-
(0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
|
|
138
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
139
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
140
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
141
|
-
return [2 /*return*/, {
|
|
142
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
143
|
-
options: localVarRequestOptions,
|
|
144
|
-
}];
|
|
145
155
|
});
|
|
146
156
|
});
|
|
147
157
|
},
|
|
@@ -162,30 +172,40 @@ var ConferencesApiAxiosParamCreator = function (configuration) {
|
|
|
162
172
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
163
173
|
if (options === void 0) { options = {}; }
|
|
164
174
|
return __generator(this, function (_a) {
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
+
switch (_a.label) {
|
|
176
|
+
case 0:
|
|
177
|
+
// verify required parameter 'accountId' is not null or undefined
|
|
178
|
+
(0, common_1.assertParamExists)('getConference', 'accountId', accountId);
|
|
179
|
+
// verify required parameter 'conferenceId' is not null or undefined
|
|
180
|
+
(0, common_1.assertParamExists)('getConference', 'conferenceId', conferenceId);
|
|
181
|
+
localVarPath = "/accounts/{accountId}/conferences/{conferenceId}"
|
|
182
|
+
.replace("{".concat("accountId", "}"), encodeURIComponent(String(accountId)))
|
|
183
|
+
.replace("{".concat("conferenceId", "}"), encodeURIComponent(String(conferenceId)));
|
|
184
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
185
|
+
if (configuration) {
|
|
186
|
+
baseOptions = configuration.baseOptions;
|
|
187
|
+
}
|
|
188
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
189
|
+
localVarHeaderParameter = {};
|
|
190
|
+
localVarQueryParameter = {};
|
|
191
|
+
// authentication Basic required
|
|
192
|
+
// http basic authentication required
|
|
193
|
+
(0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
|
|
194
|
+
// authentication OAuth2 required
|
|
195
|
+
// oauth required
|
|
196
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
|
|
197
|
+
case 1:
|
|
198
|
+
// authentication OAuth2 required
|
|
199
|
+
// oauth required
|
|
200
|
+
_a.sent();
|
|
201
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
202
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
203
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
204
|
+
return [2 /*return*/, {
|
|
205
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
206
|
+
options: localVarRequestOptions,
|
|
207
|
+
}];
|
|
175
208
|
}
|
|
176
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
177
|
-
localVarHeaderParameter = {};
|
|
178
|
-
localVarQueryParameter = {};
|
|
179
|
-
// authentication Basic required
|
|
180
|
-
// http basic authentication required
|
|
181
|
-
(0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
|
|
182
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
183
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
184
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
185
|
-
return [2 /*return*/, {
|
|
186
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
187
|
-
options: localVarRequestOptions,
|
|
188
|
-
}];
|
|
189
209
|
});
|
|
190
210
|
});
|
|
191
211
|
},
|
|
@@ -207,33 +227,43 @@ var ConferencesApiAxiosParamCreator = function (configuration) {
|
|
|
207
227
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
208
228
|
if (options === void 0) { options = {}; }
|
|
209
229
|
return __generator(this, function (_a) {
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
230
|
+
switch (_a.label) {
|
|
231
|
+
case 0:
|
|
232
|
+
// verify required parameter 'accountId' is not null or undefined
|
|
233
|
+
(0, common_1.assertParamExists)('getConferenceMember', 'accountId', accountId);
|
|
234
|
+
// verify required parameter 'conferenceId' is not null or undefined
|
|
235
|
+
(0, common_1.assertParamExists)('getConferenceMember', 'conferenceId', conferenceId);
|
|
236
|
+
// verify required parameter 'memberId' is not null or undefined
|
|
237
|
+
(0, common_1.assertParamExists)('getConferenceMember', 'memberId', memberId);
|
|
238
|
+
localVarPath = "/accounts/{accountId}/conferences/{conferenceId}/members/{memberId}"
|
|
239
|
+
.replace("{".concat("accountId", "}"), encodeURIComponent(String(accountId)))
|
|
240
|
+
.replace("{".concat("conferenceId", "}"), encodeURIComponent(String(conferenceId)))
|
|
241
|
+
.replace("{".concat("memberId", "}"), encodeURIComponent(String(memberId)));
|
|
242
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
243
|
+
if (configuration) {
|
|
244
|
+
baseOptions = configuration.baseOptions;
|
|
245
|
+
}
|
|
246
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
247
|
+
localVarHeaderParameter = {};
|
|
248
|
+
localVarQueryParameter = {};
|
|
249
|
+
// authentication Basic required
|
|
250
|
+
// http basic authentication required
|
|
251
|
+
(0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
|
|
252
|
+
// authentication OAuth2 required
|
|
253
|
+
// oauth required
|
|
254
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
|
|
255
|
+
case 1:
|
|
256
|
+
// authentication OAuth2 required
|
|
257
|
+
// oauth required
|
|
258
|
+
_a.sent();
|
|
259
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
260
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
261
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
262
|
+
return [2 /*return*/, {
|
|
263
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
264
|
+
options: localVarRequestOptions,
|
|
265
|
+
}];
|
|
223
266
|
}
|
|
224
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
225
|
-
localVarHeaderParameter = {};
|
|
226
|
-
localVarQueryParameter = {};
|
|
227
|
-
// authentication Basic required
|
|
228
|
-
// http basic authentication required
|
|
229
|
-
(0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
|
|
230
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
231
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
232
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
233
|
-
return [2 /*return*/, {
|
|
234
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
235
|
-
options: localVarRequestOptions,
|
|
236
|
-
}];
|
|
237
267
|
});
|
|
238
268
|
});
|
|
239
269
|
},
|
|
@@ -255,33 +285,43 @@ var ConferencesApiAxiosParamCreator = function (configuration) {
|
|
|
255
285
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
256
286
|
if (options === void 0) { options = {}; }
|
|
257
287
|
return __generator(this, function (_a) {
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
288
|
+
switch (_a.label) {
|
|
289
|
+
case 0:
|
|
290
|
+
// verify required parameter 'accountId' is not null or undefined
|
|
291
|
+
(0, common_1.assertParamExists)('getConferenceRecording', 'accountId', accountId);
|
|
292
|
+
// verify required parameter 'conferenceId' is not null or undefined
|
|
293
|
+
(0, common_1.assertParamExists)('getConferenceRecording', 'conferenceId', conferenceId);
|
|
294
|
+
// verify required parameter 'recordingId' is not null or undefined
|
|
295
|
+
(0, common_1.assertParamExists)('getConferenceRecording', 'recordingId', recordingId);
|
|
296
|
+
localVarPath = "/accounts/{accountId}/conferences/{conferenceId}/recordings/{recordingId}"
|
|
297
|
+
.replace("{".concat("accountId", "}"), encodeURIComponent(String(accountId)))
|
|
298
|
+
.replace("{".concat("conferenceId", "}"), encodeURIComponent(String(conferenceId)))
|
|
299
|
+
.replace("{".concat("recordingId", "}"), encodeURIComponent(String(recordingId)));
|
|
300
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
301
|
+
if (configuration) {
|
|
302
|
+
baseOptions = configuration.baseOptions;
|
|
303
|
+
}
|
|
304
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
305
|
+
localVarHeaderParameter = {};
|
|
306
|
+
localVarQueryParameter = {};
|
|
307
|
+
// authentication Basic required
|
|
308
|
+
// http basic authentication required
|
|
309
|
+
(0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
|
|
310
|
+
// authentication OAuth2 required
|
|
311
|
+
// oauth required
|
|
312
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
|
|
313
|
+
case 1:
|
|
314
|
+
// authentication OAuth2 required
|
|
315
|
+
// oauth required
|
|
316
|
+
_a.sent();
|
|
317
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
318
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
319
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
320
|
+
return [2 /*return*/, {
|
|
321
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
322
|
+
options: localVarRequestOptions,
|
|
323
|
+
}];
|
|
271
324
|
}
|
|
272
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
273
|
-
localVarHeaderParameter = {};
|
|
274
|
-
localVarQueryParameter = {};
|
|
275
|
-
// authentication Basic required
|
|
276
|
-
// http basic authentication required
|
|
277
|
-
(0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
|
|
278
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
279
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
280
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
281
|
-
return [2 /*return*/, {
|
|
282
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
283
|
-
options: localVarRequestOptions,
|
|
284
|
-
}];
|
|
285
325
|
});
|
|
286
326
|
});
|
|
287
327
|
},
|
|
@@ -302,30 +342,40 @@ var ConferencesApiAxiosParamCreator = function (configuration) {
|
|
|
302
342
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
303
343
|
if (options === void 0) { options = {}; }
|
|
304
344
|
return __generator(this, function (_a) {
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
345
|
+
switch (_a.label) {
|
|
346
|
+
case 0:
|
|
347
|
+
// verify required parameter 'accountId' is not null or undefined
|
|
348
|
+
(0, common_1.assertParamExists)('listConferenceRecordings', 'accountId', accountId);
|
|
349
|
+
// verify required parameter 'conferenceId' is not null or undefined
|
|
350
|
+
(0, common_1.assertParamExists)('listConferenceRecordings', 'conferenceId', conferenceId);
|
|
351
|
+
localVarPath = "/accounts/{accountId}/conferences/{conferenceId}/recordings"
|
|
352
|
+
.replace("{".concat("accountId", "}"), encodeURIComponent(String(accountId)))
|
|
353
|
+
.replace("{".concat("conferenceId", "}"), encodeURIComponent(String(conferenceId)));
|
|
354
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
355
|
+
if (configuration) {
|
|
356
|
+
baseOptions = configuration.baseOptions;
|
|
357
|
+
}
|
|
358
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
359
|
+
localVarHeaderParameter = {};
|
|
360
|
+
localVarQueryParameter = {};
|
|
361
|
+
// authentication Basic required
|
|
362
|
+
// http basic authentication required
|
|
363
|
+
(0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
|
|
364
|
+
// authentication OAuth2 required
|
|
365
|
+
// oauth required
|
|
366
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
|
|
367
|
+
case 1:
|
|
368
|
+
// authentication OAuth2 required
|
|
369
|
+
// oauth required
|
|
370
|
+
_a.sent();
|
|
371
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
372
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
373
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
374
|
+
return [2 /*return*/, {
|
|
375
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
376
|
+
options: localVarRequestOptions,
|
|
377
|
+
}];
|
|
315
378
|
}
|
|
316
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
317
|
-
localVarHeaderParameter = {};
|
|
318
|
-
localVarQueryParameter = {};
|
|
319
|
-
// authentication Basic required
|
|
320
|
-
// http basic authentication required
|
|
321
|
-
(0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
|
|
322
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
323
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
324
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
325
|
-
return [2 /*return*/, {
|
|
326
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
327
|
-
options: localVarRequestOptions,
|
|
328
|
-
}];
|
|
329
379
|
});
|
|
330
380
|
});
|
|
331
381
|
},
|
|
@@ -350,42 +400,52 @@ var ConferencesApiAxiosParamCreator = function (configuration) {
|
|
|
350
400
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
351
401
|
if (options === void 0) { options = {}; }
|
|
352
402
|
return __generator(this, function (_a) {
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
403
|
+
switch (_a.label) {
|
|
404
|
+
case 0:
|
|
405
|
+
// verify required parameter 'accountId' is not null or undefined
|
|
406
|
+
(0, common_1.assertParamExists)('listConferences', 'accountId', accountId);
|
|
407
|
+
localVarPath = "/accounts/{accountId}/conferences"
|
|
408
|
+
.replace("{".concat("accountId", "}"), encodeURIComponent(String(accountId)));
|
|
409
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
410
|
+
if (configuration) {
|
|
411
|
+
baseOptions = configuration.baseOptions;
|
|
412
|
+
}
|
|
413
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
414
|
+
localVarHeaderParameter = {};
|
|
415
|
+
localVarQueryParameter = {};
|
|
416
|
+
// authentication Basic required
|
|
417
|
+
// http basic authentication required
|
|
418
|
+
(0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
|
|
419
|
+
// authentication OAuth2 required
|
|
420
|
+
// oauth required
|
|
421
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
|
|
422
|
+
case 1:
|
|
423
|
+
// authentication OAuth2 required
|
|
424
|
+
// oauth required
|
|
425
|
+
_a.sent();
|
|
426
|
+
if (name !== undefined) {
|
|
427
|
+
localVarQueryParameter['name'] = name;
|
|
428
|
+
}
|
|
429
|
+
if (minCreatedTime !== undefined) {
|
|
430
|
+
localVarQueryParameter['minCreatedTime'] = minCreatedTime;
|
|
431
|
+
}
|
|
432
|
+
if (maxCreatedTime !== undefined) {
|
|
433
|
+
localVarQueryParameter['maxCreatedTime'] = maxCreatedTime;
|
|
434
|
+
}
|
|
435
|
+
if (pageSize !== undefined) {
|
|
436
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
437
|
+
}
|
|
438
|
+
if (pageToken !== undefined) {
|
|
439
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
440
|
+
}
|
|
441
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
442
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
443
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
444
|
+
return [2 /*return*/, {
|
|
445
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
446
|
+
options: localVarRequestOptions,
|
|
447
|
+
}];
|
|
381
448
|
}
|
|
382
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
383
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
384
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
385
|
-
return [2 /*return*/, {
|
|
386
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
387
|
-
options: localVarRequestOptions,
|
|
388
|
-
}];
|
|
389
449
|
});
|
|
390
450
|
});
|
|
391
451
|
},
|
|
@@ -407,34 +467,44 @@ var ConferencesApiAxiosParamCreator = function (configuration) {
|
|
|
407
467
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
408
468
|
if (options === void 0) { options = {}; }
|
|
409
469
|
return __generator(this, function (_a) {
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
470
|
+
switch (_a.label) {
|
|
471
|
+
case 0:
|
|
472
|
+
// verify required parameter 'accountId' is not null or undefined
|
|
473
|
+
(0, common_1.assertParamExists)('updateConference', 'accountId', accountId);
|
|
474
|
+
// verify required parameter 'conferenceId' is not null or undefined
|
|
475
|
+
(0, common_1.assertParamExists)('updateConference', 'conferenceId', conferenceId);
|
|
476
|
+
// verify required parameter 'updateConference' is not null or undefined
|
|
477
|
+
(0, common_1.assertParamExists)('updateConference', 'updateConference', updateConference);
|
|
478
|
+
localVarPath = "/accounts/{accountId}/conferences/{conferenceId}"
|
|
479
|
+
.replace("{".concat("accountId", "}"), encodeURIComponent(String(accountId)))
|
|
480
|
+
.replace("{".concat("conferenceId", "}"), encodeURIComponent(String(conferenceId)));
|
|
481
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
482
|
+
if (configuration) {
|
|
483
|
+
baseOptions = configuration.baseOptions;
|
|
484
|
+
}
|
|
485
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
486
|
+
localVarHeaderParameter = {};
|
|
487
|
+
localVarQueryParameter = {};
|
|
488
|
+
// authentication Basic required
|
|
489
|
+
// http basic authentication required
|
|
490
|
+
(0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
|
|
491
|
+
// authentication OAuth2 required
|
|
492
|
+
// oauth required
|
|
493
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
|
|
494
|
+
case 1:
|
|
495
|
+
// authentication OAuth2 required
|
|
496
|
+
// oauth required
|
|
497
|
+
_a.sent();
|
|
498
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
499
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
500
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
501
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
502
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateConference, localVarRequestOptions, configuration);
|
|
503
|
+
return [2 /*return*/, {
|
|
504
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
505
|
+
options: localVarRequestOptions,
|
|
506
|
+
}];
|
|
422
507
|
}
|
|
423
|
-
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
424
|
-
localVarHeaderParameter = {};
|
|
425
|
-
localVarQueryParameter = {};
|
|
426
|
-
// authentication Basic required
|
|
427
|
-
// http basic authentication required
|
|
428
|
-
(0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
|
|
429
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
430
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
431
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
432
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
433
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateConference, localVarRequestOptions, configuration);
|
|
434
|
-
return [2 /*return*/, {
|
|
435
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
436
|
-
options: localVarRequestOptions,
|
|
437
|
-
}];
|
|
438
508
|
});
|
|
439
509
|
});
|
|
440
510
|
},
|
|
@@ -456,34 +526,44 @@ var ConferencesApiAxiosParamCreator = function (configuration) {
|
|
|
456
526
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
457
527
|
if (options === void 0) { options = {}; }
|
|
458
528
|
return __generator(this, function (_a) {
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
529
|
+
switch (_a.label) {
|
|
530
|
+
case 0:
|
|
531
|
+
// verify required parameter 'accountId' is not null or undefined
|
|
532
|
+
(0, common_1.assertParamExists)('updateConferenceBxml', 'accountId', accountId);
|
|
533
|
+
// verify required parameter 'conferenceId' is not null or undefined
|
|
534
|
+
(0, common_1.assertParamExists)('updateConferenceBxml', 'conferenceId', conferenceId);
|
|
535
|
+
// verify required parameter 'body' is not null or undefined
|
|
536
|
+
(0, common_1.assertParamExists)('updateConferenceBxml', 'body', body);
|
|
537
|
+
localVarPath = "/accounts/{accountId}/conferences/{conferenceId}/bxml"
|
|
538
|
+
.replace("{".concat("accountId", "}"), encodeURIComponent(String(accountId)))
|
|
539
|
+
.replace("{".concat("conferenceId", "}"), encodeURIComponent(String(conferenceId)));
|
|
540
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
541
|
+
if (configuration) {
|
|
542
|
+
baseOptions = configuration.baseOptions;
|
|
543
|
+
}
|
|
544
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
545
|
+
localVarHeaderParameter = {};
|
|
546
|
+
localVarQueryParameter = {};
|
|
547
|
+
// authentication Basic required
|
|
548
|
+
// http basic authentication required
|
|
549
|
+
(0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
|
|
550
|
+
// authentication OAuth2 required
|
|
551
|
+
// oauth required
|
|
552
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
|
|
553
|
+
case 1:
|
|
554
|
+
// authentication OAuth2 required
|
|
555
|
+
// oauth required
|
|
556
|
+
_a.sent();
|
|
557
|
+
localVarHeaderParameter['Content-Type'] = 'application/xml';
|
|
558
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
559
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
560
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
561
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
562
|
+
return [2 /*return*/, {
|
|
563
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
564
|
+
options: localVarRequestOptions,
|
|
565
|
+
}];
|
|
471
566
|
}
|
|
472
|
-
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
473
|
-
localVarHeaderParameter = {};
|
|
474
|
-
localVarQueryParameter = {};
|
|
475
|
-
// authentication Basic required
|
|
476
|
-
// http basic authentication required
|
|
477
|
-
(0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
|
|
478
|
-
localVarHeaderParameter['Content-Type'] = 'application/xml';
|
|
479
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
480
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
481
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
482
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
483
|
-
return [2 /*return*/, {
|
|
484
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
485
|
-
options: localVarRequestOptions,
|
|
486
|
-
}];
|
|
487
567
|
});
|
|
488
568
|
});
|
|
489
569
|
},
|
|
@@ -506,37 +586,47 @@ var ConferencesApiAxiosParamCreator = function (configuration) {
|
|
|
506
586
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
507
587
|
if (options === void 0) { options = {}; }
|
|
508
588
|
return __generator(this, function (_a) {
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
589
|
+
switch (_a.label) {
|
|
590
|
+
case 0:
|
|
591
|
+
// verify required parameter 'accountId' is not null or undefined
|
|
592
|
+
(0, common_1.assertParamExists)('updateConferenceMember', 'accountId', accountId);
|
|
593
|
+
// verify required parameter 'conferenceId' is not null or undefined
|
|
594
|
+
(0, common_1.assertParamExists)('updateConferenceMember', 'conferenceId', conferenceId);
|
|
595
|
+
// verify required parameter 'memberId' is not null or undefined
|
|
596
|
+
(0, common_1.assertParamExists)('updateConferenceMember', 'memberId', memberId);
|
|
597
|
+
// verify required parameter 'updateConferenceMember' is not null or undefined
|
|
598
|
+
(0, common_1.assertParamExists)('updateConferenceMember', 'updateConferenceMember', updateConferenceMember);
|
|
599
|
+
localVarPath = "/accounts/{accountId}/conferences/{conferenceId}/members/{memberId}"
|
|
600
|
+
.replace("{".concat("accountId", "}"), encodeURIComponent(String(accountId)))
|
|
601
|
+
.replace("{".concat("conferenceId", "}"), encodeURIComponent(String(conferenceId)))
|
|
602
|
+
.replace("{".concat("memberId", "}"), encodeURIComponent(String(memberId)));
|
|
603
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
604
|
+
if (configuration) {
|
|
605
|
+
baseOptions = configuration.baseOptions;
|
|
606
|
+
}
|
|
607
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
608
|
+
localVarHeaderParameter = {};
|
|
609
|
+
localVarQueryParameter = {};
|
|
610
|
+
// authentication Basic required
|
|
611
|
+
// http basic authentication required
|
|
612
|
+
(0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
|
|
613
|
+
// authentication OAuth2 required
|
|
614
|
+
// oauth required
|
|
615
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
|
|
616
|
+
case 1:
|
|
617
|
+
// authentication OAuth2 required
|
|
618
|
+
// oauth required
|
|
619
|
+
_a.sent();
|
|
620
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
621
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
622
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
623
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
624
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateConferenceMember, localVarRequestOptions, configuration);
|
|
625
|
+
return [2 /*return*/, {
|
|
626
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
627
|
+
options: localVarRequestOptions,
|
|
628
|
+
}];
|
|
524
629
|
}
|
|
525
|
-
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
526
|
-
localVarHeaderParameter = {};
|
|
527
|
-
localVarQueryParameter = {};
|
|
528
|
-
// authentication Basic required
|
|
529
|
-
// http basic authentication required
|
|
530
|
-
(0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
|
|
531
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
532
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
533
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
534
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
535
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateConferenceMember, localVarRequestOptions, configuration);
|
|
536
|
-
return [2 /*return*/, {
|
|
537
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
538
|
-
options: localVarRequestOptions,
|
|
539
|
-
}];
|
|
540
630
|
});
|
|
541
631
|
});
|
|
542
632
|
},
|