webitel-sdk 0.1.149 → 0.1.150

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.
@@ -7131,10 +7131,11 @@ const CallServiceApiAxiosParamCreator = function (configuration) {
7131
7131
  * @param {Array<string>} [directions]
7132
7132
  * @param {'undefined' | 'true' | 'false'} [hasTranscript]
7133
7133
  * @param {string} [agentDescription]
7134
+ * @param {Array<string>} [ownerId]
7134
7135
  * @param {*} [options] Override http request option.
7135
7136
  * @throws {RequiredError}
7136
7137
  */
7137
- searchHistoryCall: async (page, size, q, sort, fields, createdAtFrom, createdAtTo, userId, agentId, queueId, teamId, memberId, gatewayId, durationFrom, durationTo, skipParent, parentId, cause, hasFile, domainId, number, direction, answeredAtFrom, answeredAtTo, missed, storedAtFrom, storedAtTo, id, transferFrom, transferTo, dependencyId, tags, amdResult, fts, directions, hasTranscript, agentDescription, options = {}) => {
7138
+ searchHistoryCall: async (page, size, q, sort, fields, createdAtFrom, createdAtTo, userId, agentId, queueId, teamId, memberId, gatewayId, durationFrom, durationTo, skipParent, parentId, cause, hasFile, domainId, number, direction, answeredAtFrom, answeredAtTo, missed, storedAtFrom, storedAtTo, id, transferFrom, transferTo, dependencyId, tags, amdResult, fts, directions, hasTranscript, agentDescription, ownerId, options = {}) => {
7138
7139
  const localVarPath = `/calls/history`;
7139
7140
  const localVarUrlObj = parse(localVarPath, true);
7140
7141
  let baseOptions;
@@ -7266,6 +7267,9 @@ const CallServiceApiAxiosParamCreator = function (configuration) {
7266
7267
  if (agentDescription !== undefined) {
7267
7268
  localVarQueryParameter['agent_description'] = agentDescription;
7268
7269
  }
7270
+ if (ownerId) {
7271
+ localVarQueryParameter['owner_id'] = ownerId;
7272
+ }
7269
7273
  localVarUrlObj.query = {
7270
7274
  ...localVarUrlObj.query,
7271
7275
  ...localVarQueryParameter,
@@ -7689,11 +7693,12 @@ const CallServiceApiFp = function (configuration) {
7689
7693
  * @param {Array<string>} [directions]
7690
7694
  * @param {'undefined' | 'true' | 'false'} [hasTranscript]
7691
7695
  * @param {string} [agentDescription]
7696
+ * @param {Array<string>} [ownerId]
7692
7697
  * @param {*} [options] Override http request option.
7693
7698
  * @throws {RequiredError}
7694
7699
  */
7695
- async searchHistoryCall(page, size, q, sort, fields, createdAtFrom, createdAtTo, userId, agentId, queueId, teamId, memberId, gatewayId, durationFrom, durationTo, skipParent, parentId, cause, hasFile, domainId, number, direction, answeredAtFrom, answeredAtTo, missed, storedAtFrom, storedAtTo, id, transferFrom, transferTo, dependencyId, tags, amdResult, fts, directions, hasTranscript, agentDescription, options) {
7696
- const localVarAxiosArgs = await CallServiceApiAxiosParamCreator(configuration).searchHistoryCall(page, size, q, sort, fields, createdAtFrom, createdAtTo, userId, agentId, queueId, teamId, memberId, gatewayId, durationFrom, durationTo, skipParent, parentId, cause, hasFile, domainId, number, direction, answeredAtFrom, answeredAtTo, missed, storedAtFrom, storedAtTo, id, transferFrom, transferTo, dependencyId, tags, amdResult, fts, directions, hasTranscript, agentDescription, options);
7700
+ async searchHistoryCall(page, size, q, sort, fields, createdAtFrom, createdAtTo, userId, agentId, queueId, teamId, memberId, gatewayId, durationFrom, durationTo, skipParent, parentId, cause, hasFile, domainId, number, direction, answeredAtFrom, answeredAtTo, missed, storedAtFrom, storedAtTo, id, transferFrom, transferTo, dependencyId, tags, amdResult, fts, directions, hasTranscript, agentDescription, ownerId, options) {
7701
+ const localVarAxiosArgs = await CallServiceApiAxiosParamCreator(configuration).searchHistoryCall(page, size, q, sort, fields, createdAtFrom, createdAtTo, userId, agentId, queueId, teamId, memberId, gatewayId, durationFrom, durationTo, skipParent, parentId, cause, hasFile, domainId, number, direction, answeredAtFrom, answeredAtTo, missed, storedAtFrom, storedAtTo, id, transferFrom, transferTo, dependencyId, tags, amdResult, fts, directions, hasTranscript, agentDescription, ownerId, options);
7697
7702
  return (axios = globalAxios, basePath = BASE_PATH) => {
7698
7703
  const axiosRequestArgs = {
7699
7704
  ...localVarAxiosArgs.options,
@@ -7955,12 +7960,13 @@ const CallServiceApiFactory = function (configuration, basePath, axios) {
7955
7960
  * @param {Array<string>} [directions]
7956
7961
  * @param {'undefined' | 'true' | 'false'} [hasTranscript]
7957
7962
  * @param {string} [agentDescription]
7963
+ * @param {Array<string>} [ownerId]
7958
7964
  * @param {*} [options] Override http request option.
7959
7965
  * @throws {RequiredError}
7960
7966
  */
7961
- searchHistoryCall(page, size, q, sort, fields, createdAtFrom, createdAtTo, userId, agentId, queueId, teamId, memberId, gatewayId, durationFrom, durationTo, skipParent, parentId, cause, hasFile, domainId, number, direction, answeredAtFrom, answeredAtTo, missed, storedAtFrom, storedAtTo, id, transferFrom, transferTo, dependencyId, tags, amdResult, fts, directions, hasTranscript, agentDescription, options) {
7967
+ searchHistoryCall(page, size, q, sort, fields, createdAtFrom, createdAtTo, userId, agentId, queueId, teamId, memberId, gatewayId, durationFrom, durationTo, skipParent, parentId, cause, hasFile, domainId, number, direction, answeredAtFrom, answeredAtTo, missed, storedAtFrom, storedAtTo, id, transferFrom, transferTo, dependencyId, tags, amdResult, fts, directions, hasTranscript, agentDescription, ownerId, options) {
7962
7968
  return CallServiceApiFp(configuration)
7963
- .searchHistoryCall(page, size, q, sort, fields, createdAtFrom, createdAtTo, userId, agentId, queueId, teamId, memberId, gatewayId, durationFrom, durationTo, skipParent, parentId, cause, hasFile, domainId, number, direction, answeredAtFrom, answeredAtTo, missed, storedAtFrom, storedAtTo, id, transferFrom, transferTo, dependencyId, tags, amdResult, fts, directions, hasTranscript, agentDescription, options)
7969
+ .searchHistoryCall(page, size, q, sort, fields, createdAtFrom, createdAtTo, userId, agentId, queueId, teamId, memberId, gatewayId, durationFrom, durationTo, skipParent, parentId, cause, hasFile, domainId, number, direction, answeredAtFrom, answeredAtTo, missed, storedAtFrom, storedAtTo, id, transferFrom, transferTo, dependencyId, tags, amdResult, fts, directions, hasTranscript, agentDescription, ownerId, options)
7964
7970
  .then((request) => request(axios, basePath));
7965
7971
  },
7966
7972
  /**
@@ -8219,13 +8225,14 @@ class CallServiceApi extends BaseAPI {
8219
8225
  * @param {Array<string>} [directions]
8220
8226
  * @param {'undefined' | 'true' | 'false'} [hasTranscript]
8221
8227
  * @param {string} [agentDescription]
8228
+ * @param {Array<string>} [ownerId]
8222
8229
  * @param {*} [options] Override http request option.
8223
8230
  * @throws {RequiredError}
8224
8231
  * @memberof CallServiceApi
8225
8232
  */
8226
- searchHistoryCall(page, size, q, sort, fields, createdAtFrom, createdAtTo, userId, agentId, queueId, teamId, memberId, gatewayId, durationFrom, durationTo, skipParent, parentId, cause, hasFile, domainId, number, direction, answeredAtFrom, answeredAtTo, missed, storedAtFrom, storedAtTo, id, transferFrom, transferTo, dependencyId, tags, amdResult, fts, directions, hasTranscript, agentDescription, options) {
8233
+ searchHistoryCall(page, size, q, sort, fields, createdAtFrom, createdAtTo, userId, agentId, queueId, teamId, memberId, gatewayId, durationFrom, durationTo, skipParent, parentId, cause, hasFile, domainId, number, direction, answeredAtFrom, answeredAtTo, missed, storedAtFrom, storedAtTo, id, transferFrom, transferTo, dependencyId, tags, amdResult, fts, directions, hasTranscript, agentDescription, ownerId, options) {
8227
8234
  return CallServiceApiFp(this.configuration)
8228
- .searchHistoryCall(page, size, q, sort, fields, createdAtFrom, createdAtTo, userId, agentId, queueId, teamId, memberId, gatewayId, durationFrom, durationTo, skipParent, parentId, cause, hasFile, domainId, number, direction, answeredAtFrom, answeredAtTo, missed, storedAtFrom, storedAtTo, id, transferFrom, transferTo, dependencyId, tags, amdResult, fts, directions, hasTranscript, agentDescription, options)
8235
+ .searchHistoryCall(page, size, q, sort, fields, createdAtFrom, createdAtTo, userId, agentId, queueId, teamId, memberId, gatewayId, durationFrom, durationTo, skipParent, parentId, cause, hasFile, domainId, number, direction, answeredAtFrom, answeredAtTo, missed, storedAtFrom, storedAtTo, id, transferFrom, transferTo, dependencyId, tags, amdResult, fts, directions, hasTranscript, agentDescription, ownerId, options)
8229
8236
  .then((request) => request(this.axios, this.basePath));
8230
8237
  }
8231
8238
  /**
@@ -25556,7 +25563,7 @@ async function getMediaStream(constraints) {
25556
25563
 
25557
25564
  const getVersion = () => {
25558
25565
  // @ts-ignore
25559
- return '"0.1.149"';
25566
+ return '"0.1.150"';
25560
25567
  };
25561
25568
  var version = getVersion();
25562
25569