webitel-sdk 0.1.121 → 0.1.124

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.
@@ -12838,13 +12838,15 @@ const MemberServiceApiAxiosParamCreator = function (configuration) {
12838
12838
  * @param {string} [offeringAtFrom]
12839
12839
  * @param {string} [offeringAtTo]
12840
12840
  * @param {Array<string>} [stopCause]
12841
- * @param {Array<number>} [priority]
12841
+ * @param {string} [priorityFrom]
12842
+ * @param {string} [priorityTo]
12842
12843
  * @param {string} [name]
12843
- * @param {Array<number>} [attempts]
12844
+ * @param {string} [attemptsFrom]
12845
+ * @param {string} [attemptsTo]
12844
12846
  * @param {*} [options] Override http request option.
12845
12847
  * @throws {RequiredError}
12846
12848
  */
12847
- searchMemberInQueue: async (queueId, page, size, q, sort, fields, id, bucketId, destination, createdAtFrom, createdAtTo, offeringAtFrom, offeringAtTo, stopCause, priority, name, attempts, options = {}) => {
12849
+ searchMemberInQueue: async (queueId, page, size, q, sort, fields, id, bucketId, destination, createdAtFrom, createdAtTo, offeringAtFrom, offeringAtTo, stopCause, priorityFrom, priorityTo, name, attemptsFrom, attemptsTo, options = {}) => {
12848
12850
  // verify required parameter 'queueId' is not null or undefined
12849
12851
  if (queueId === null || queueId === undefined) {
12850
12852
  throw new RequiredError('queueId', 'Required parameter queueId was null or undefined when calling searchMemberInQueue.');
@@ -12908,14 +12910,20 @@ const MemberServiceApiAxiosParamCreator = function (configuration) {
12908
12910
  if (stopCause) {
12909
12911
  localVarQueryParameter['stop_cause'] = stopCause;
12910
12912
  }
12911
- if (priority) {
12912
- localVarQueryParameter['priority'] = priority;
12913
+ if (priorityFrom !== undefined) {
12914
+ localVarQueryParameter['priority.from'] = priorityFrom;
12915
+ }
12916
+ if (priorityTo !== undefined) {
12917
+ localVarQueryParameter['priority.to'] = priorityTo;
12913
12918
  }
12914
12919
  if (name !== undefined) {
12915
12920
  localVarQueryParameter['name'] = name;
12916
12921
  }
12917
- if (attempts) {
12918
- localVarQueryParameter['attempts'] = attempts;
12922
+ if (attemptsFrom !== undefined) {
12923
+ localVarQueryParameter['attempts.from'] = attemptsFrom;
12924
+ }
12925
+ if (attemptsTo !== undefined) {
12926
+ localVarQueryParameter['attempts.to'] = attemptsTo;
12919
12927
  }
12920
12928
  localVarUrlObj.query = {
12921
12929
  ...localVarUrlObj.query,
@@ -12952,13 +12960,15 @@ const MemberServiceApiAxiosParamCreator = function (configuration) {
12952
12960
  * @param {string} [offeringAtFrom]
12953
12961
  * @param {string} [offeringAtTo]
12954
12962
  * @param {Array<string>} [stopCause]
12955
- * @param {Array<number>} [priority]
12963
+ * @param {string} [priorityFrom]
12964
+ * @param {string} [priorityTo]
12956
12965
  * @param {string} [name]
12957
- * @param {Array<number>} [attempts]
12966
+ * @param {string} [attemptsFrom]
12967
+ * @param {string} [attemptsTo]
12958
12968
  * @param {*} [options] Override http request option.
12959
12969
  * @throws {RequiredError}
12960
12970
  */
12961
- searchMembers: async (page, size, q, sort, fields, id, queueId, bucketId, destination, createdAtFrom, createdAtTo, offeringAtFrom, offeringAtTo, stopCause, priority, name, attempts, options = {}) => {
12971
+ searchMembers: async (page, size, q, sort, fields, id, queueId, bucketId, destination, createdAtFrom, createdAtTo, offeringAtFrom, offeringAtTo, stopCause, priorityFrom, priorityTo, name, attemptsFrom, attemptsTo, options = {}) => {
12962
12972
  const localVarPath = `/call_center/members`;
12963
12973
  const localVarUrlObj = parse(localVarPath, true);
12964
12974
  let baseOptions;
@@ -13021,14 +13031,20 @@ const MemberServiceApiAxiosParamCreator = function (configuration) {
13021
13031
  if (stopCause) {
13022
13032
  localVarQueryParameter['stop_cause'] = stopCause;
13023
13033
  }
13024
- if (priority) {
13025
- localVarQueryParameter['priority'] = priority;
13034
+ if (priorityFrom !== undefined) {
13035
+ localVarQueryParameter['priority.from'] = priorityFrom;
13036
+ }
13037
+ if (priorityTo !== undefined) {
13038
+ localVarQueryParameter['priority.to'] = priorityTo;
13026
13039
  }
13027
13040
  if (name !== undefined) {
13028
13041
  localVarQueryParameter['name'] = name;
13029
13042
  }
13030
- if (attempts) {
13031
- localVarQueryParameter['attempts'] = attempts;
13043
+ if (attemptsFrom !== undefined) {
13044
+ localVarQueryParameter['attempts.from'] = attemptsFrom;
13045
+ }
13046
+ if (attemptsTo !== undefined) {
13047
+ localVarQueryParameter['attempts.to'] = attemptsTo;
13032
13048
  }
13033
13049
  localVarUrlObj.query = {
13034
13050
  ...localVarUrlObj.query,
@@ -13419,14 +13435,16 @@ const MemberServiceApiFp = function (configuration) {
13419
13435
  * @param {string} [offeringAtFrom]
13420
13436
  * @param {string} [offeringAtTo]
13421
13437
  * @param {Array<string>} [stopCause]
13422
- * @param {Array<number>} [priority]
13438
+ * @param {string} [priorityFrom]
13439
+ * @param {string} [priorityTo]
13423
13440
  * @param {string} [name]
13424
- * @param {Array<number>} [attempts]
13441
+ * @param {string} [attemptsFrom]
13442
+ * @param {string} [attemptsTo]
13425
13443
  * @param {*} [options] Override http request option.
13426
13444
  * @throws {RequiredError}
13427
13445
  */
13428
- async searchMemberInQueue(queueId, page, size, q, sort, fields, id, bucketId, destination, createdAtFrom, createdAtTo, offeringAtFrom, offeringAtTo, stopCause, priority, name, attempts, options) {
13429
- const localVarAxiosArgs = await MemberServiceApiAxiosParamCreator(configuration).searchMemberInQueue(queueId, page, size, q, sort, fields, id, bucketId, destination, createdAtFrom, createdAtTo, offeringAtFrom, offeringAtTo, stopCause, priority, name, attempts, options);
13446
+ async searchMemberInQueue(queueId, page, size, q, sort, fields, id, bucketId, destination, createdAtFrom, createdAtTo, offeringAtFrom, offeringAtTo, stopCause, priorityFrom, priorityTo, name, attemptsFrom, attemptsTo, options) {
13447
+ const localVarAxiosArgs = await MemberServiceApiAxiosParamCreator(configuration).searchMemberInQueue(queueId, page, size, q, sort, fields, id, bucketId, destination, createdAtFrom, createdAtTo, offeringAtFrom, offeringAtTo, stopCause, priorityFrom, priorityTo, name, attemptsFrom, attemptsTo, options);
13430
13448
  return (axios = globalAxios, basePath = BASE_PATH) => {
13431
13449
  const axiosRequestArgs = {
13432
13450
  ...localVarAxiosArgs.options,
@@ -13452,14 +13470,16 @@ const MemberServiceApiFp = function (configuration) {
13452
13470
  * @param {string} [offeringAtFrom]
13453
13471
  * @param {string} [offeringAtTo]
13454
13472
  * @param {Array<string>} [stopCause]
13455
- * @param {Array<number>} [priority]
13473
+ * @param {string} [priorityFrom]
13474
+ * @param {string} [priorityTo]
13456
13475
  * @param {string} [name]
13457
- * @param {Array<number>} [attempts]
13476
+ * @param {string} [attemptsFrom]
13477
+ * @param {string} [attemptsTo]
13458
13478
  * @param {*} [options] Override http request option.
13459
13479
  * @throws {RequiredError}
13460
13480
  */
13461
- async searchMembers(page, size, q, sort, fields, id, queueId, bucketId, destination, createdAtFrom, createdAtTo, offeringAtFrom, offeringAtTo, stopCause, priority, name, attempts, options) {
13462
- const localVarAxiosArgs = await MemberServiceApiAxiosParamCreator(configuration).searchMembers(page, size, q, sort, fields, id, queueId, bucketId, destination, createdAtFrom, createdAtTo, offeringAtFrom, offeringAtTo, stopCause, priority, name, attempts, options);
13481
+ async searchMembers(page, size, q, sort, fields, id, queueId, bucketId, destination, createdAtFrom, createdAtTo, offeringAtFrom, offeringAtTo, stopCause, priorityFrom, priorityTo, name, attemptsFrom, attemptsTo, options) {
13482
+ const localVarAxiosArgs = await MemberServiceApiAxiosParamCreator(configuration).searchMembers(page, size, q, sort, fields, id, queueId, bucketId, destination, createdAtFrom, createdAtTo, offeringAtFrom, offeringAtTo, stopCause, priorityFrom, priorityTo, name, attemptsFrom, attemptsTo, options);
13463
13483
  return (axios = globalAxios, basePath = BASE_PATH) => {
13464
13484
  const axiosRequestArgs = {
13465
13485
  ...localVarAxiosArgs.options,
@@ -13720,15 +13740,17 @@ const MemberServiceApiFactory = function (configuration, basePath, axios) {
13720
13740
  * @param {string} [offeringAtFrom]
13721
13741
  * @param {string} [offeringAtTo]
13722
13742
  * @param {Array<string>} [stopCause]
13723
- * @param {Array<number>} [priority]
13743
+ * @param {string} [priorityFrom]
13744
+ * @param {string} [priorityTo]
13724
13745
  * @param {string} [name]
13725
- * @param {Array<number>} [attempts]
13746
+ * @param {string} [attemptsFrom]
13747
+ * @param {string} [attemptsTo]
13726
13748
  * @param {*} [options] Override http request option.
13727
13749
  * @throws {RequiredError}
13728
13750
  */
13729
- searchMemberInQueue(queueId, page, size, q, sort, fields, id, bucketId, destination, createdAtFrom, createdAtTo, offeringAtFrom, offeringAtTo, stopCause, priority, name, attempts, options) {
13751
+ searchMemberInQueue(queueId, page, size, q, sort, fields, id, bucketId, destination, createdAtFrom, createdAtTo, offeringAtFrom, offeringAtTo, stopCause, priorityFrom, priorityTo, name, attemptsFrom, attemptsTo, options) {
13730
13752
  return MemberServiceApiFp(configuration)
13731
- .searchMemberInQueue(queueId, page, size, q, sort, fields, id, bucketId, destination, createdAtFrom, createdAtTo, offeringAtFrom, offeringAtTo, stopCause, priority, name, attempts, options)
13753
+ .searchMemberInQueue(queueId, page, size, q, sort, fields, id, bucketId, destination, createdAtFrom, createdAtTo, offeringAtFrom, offeringAtTo, stopCause, priorityFrom, priorityTo, name, attemptsFrom, attemptsTo, options)
13732
13754
  .then((request) => request(axios, basePath));
13733
13755
  },
13734
13756
  /**
@@ -13748,15 +13770,17 @@ const MemberServiceApiFactory = function (configuration, basePath, axios) {
13748
13770
  * @param {string} [offeringAtFrom]
13749
13771
  * @param {string} [offeringAtTo]
13750
13772
  * @param {Array<string>} [stopCause]
13751
- * @param {Array<number>} [priority]
13773
+ * @param {string} [priorityFrom]
13774
+ * @param {string} [priorityTo]
13752
13775
  * @param {string} [name]
13753
- * @param {Array<number>} [attempts]
13776
+ * @param {string} [attemptsFrom]
13777
+ * @param {string} [attemptsTo]
13754
13778
  * @param {*} [options] Override http request option.
13755
13779
  * @throws {RequiredError}
13756
13780
  */
13757
- searchMembers(page, size, q, sort, fields, id, queueId, bucketId, destination, createdAtFrom, createdAtTo, offeringAtFrom, offeringAtTo, stopCause, priority, name, attempts, options) {
13781
+ searchMembers(page, size, q, sort, fields, id, queueId, bucketId, destination, createdAtFrom, createdAtTo, offeringAtFrom, offeringAtTo, stopCause, priorityFrom, priorityTo, name, attemptsFrom, attemptsTo, options) {
13758
13782
  return MemberServiceApiFp(configuration)
13759
- .searchMembers(page, size, q, sort, fields, id, queueId, bucketId, destination, createdAtFrom, createdAtTo, offeringAtFrom, offeringAtTo, stopCause, priority, name, attempts, options)
13783
+ .searchMembers(page, size, q, sort, fields, id, queueId, bucketId, destination, createdAtFrom, createdAtTo, offeringAtFrom, offeringAtTo, stopCause, priorityFrom, priorityTo, name, attemptsFrom, attemptsTo, options)
13760
13784
  .then((request) => request(axios, basePath));
13761
13785
  },
13762
13786
  /**
@@ -14021,16 +14045,18 @@ class MemberServiceApi extends BaseAPI {
14021
14045
  * @param {string} [offeringAtFrom]
14022
14046
  * @param {string} [offeringAtTo]
14023
14047
  * @param {Array<string>} [stopCause]
14024
- * @param {Array<number>} [priority]
14048
+ * @param {string} [priorityFrom]
14049
+ * @param {string} [priorityTo]
14025
14050
  * @param {string} [name]
14026
- * @param {Array<number>} [attempts]
14051
+ * @param {string} [attemptsFrom]
14052
+ * @param {string} [attemptsTo]
14027
14053
  * @param {*} [options] Override http request option.
14028
14054
  * @throws {RequiredError}
14029
14055
  * @memberof MemberServiceApi
14030
14056
  */
14031
- searchMemberInQueue(queueId, page, size, q, sort, fields, id, bucketId, destination, createdAtFrom, createdAtTo, offeringAtFrom, offeringAtTo, stopCause, priority, name, attempts, options) {
14057
+ searchMemberInQueue(queueId, page, size, q, sort, fields, id, bucketId, destination, createdAtFrom, createdAtTo, offeringAtFrom, offeringAtTo, stopCause, priorityFrom, priorityTo, name, attemptsFrom, attemptsTo, options) {
14032
14058
  return MemberServiceApiFp(this.configuration)
14033
- .searchMemberInQueue(queueId, page, size, q, sort, fields, id, bucketId, destination, createdAtFrom, createdAtTo, offeringAtFrom, offeringAtTo, stopCause, priority, name, attempts, options)
14059
+ .searchMemberInQueue(queueId, page, size, q, sort, fields, id, bucketId, destination, createdAtFrom, createdAtTo, offeringAtFrom, offeringAtTo, stopCause, priorityFrom, priorityTo, name, attemptsFrom, attemptsTo, options)
14034
14060
  .then((request) => request(this.axios, this.basePath));
14035
14061
  }
14036
14062
  /**
@@ -14050,16 +14076,18 @@ class MemberServiceApi extends BaseAPI {
14050
14076
  * @param {string} [offeringAtFrom]
14051
14077
  * @param {string} [offeringAtTo]
14052
14078
  * @param {Array<string>} [stopCause]
14053
- * @param {Array<number>} [priority]
14079
+ * @param {string} [priorityFrom]
14080
+ * @param {string} [priorityTo]
14054
14081
  * @param {string} [name]
14055
- * @param {Array<number>} [attempts]
14082
+ * @param {string} [attemptsFrom]
14083
+ * @param {string} [attemptsTo]
14056
14084
  * @param {*} [options] Override http request option.
14057
14085
  * @throws {RequiredError}
14058
14086
  * @memberof MemberServiceApi
14059
14087
  */
14060
- searchMembers(page, size, q, sort, fields, id, queueId, bucketId, destination, createdAtFrom, createdAtTo, offeringAtFrom, offeringAtTo, stopCause, priority, name, attempts, options) {
14088
+ searchMembers(page, size, q, sort, fields, id, queueId, bucketId, destination, createdAtFrom, createdAtTo, offeringAtFrom, offeringAtTo, stopCause, priorityFrom, priorityTo, name, attemptsFrom, attemptsTo, options) {
14061
14089
  return MemberServiceApiFp(this.configuration)
14062
- .searchMembers(page, size, q, sort, fields, id, queueId, bucketId, destination, createdAtFrom, createdAtTo, offeringAtFrom, offeringAtTo, stopCause, priority, name, attempts, options)
14090
+ .searchMembers(page, size, q, sort, fields, id, queueId, bucketId, destination, createdAtFrom, createdAtTo, offeringAtFrom, offeringAtTo, stopCause, priorityFrom, priorityTo, name, attemptsFrom, attemptsTo, options)
14063
14091
  .then((request) => request(this.axios, this.basePath));
14064
14092
  }
14065
14093
  /**