webitel-sdk 0.1.120 → 0.1.121

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.
@@ -12824,14 +12824,27 @@ const MemberServiceApiAxiosParamCreator = function (configuration) {
12824
12824
  /**
12825
12825
  *
12826
12826
  * @summary List of Member
12827
- * @param {string} queueId
12827
+ * @param {number} queueId
12828
12828
  * @param {number} [page]
12829
12829
  * @param {number} [size]
12830
- * @param {string} [domainId]
12830
+ * @param {string} [q]
12831
+ * @param {string} [sort]
12832
+ * @param {Array<string>} [fields]
12833
+ * @param {Array<string>} [id]
12834
+ * @param {Array<number>} [bucketId]
12835
+ * @param {string} [destination]
12836
+ * @param {string} [createdAtFrom]
12837
+ * @param {string} [createdAtTo]
12838
+ * @param {string} [offeringAtFrom]
12839
+ * @param {string} [offeringAtTo]
12840
+ * @param {Array<string>} [stopCause]
12841
+ * @param {Array<number>} [priority]
12842
+ * @param {string} [name]
12843
+ * @param {Array<number>} [attempts]
12831
12844
  * @param {*} [options] Override http request option.
12832
12845
  * @throws {RequiredError}
12833
12846
  */
12834
- searchMemberInQueue: async (queueId, page, size, domainId, options = {}) => {
12847
+ searchMemberInQueue: async (queueId, page, size, q, sort, fields, id, bucketId, destination, createdAtFrom, createdAtTo, offeringAtFrom, offeringAtTo, stopCause, priority, name, attempts, options = {}) => {
12835
12848
  // verify required parameter 'queueId' is not null or undefined
12836
12849
  if (queueId === null || queueId === undefined) {
12837
12850
  throw new RequiredError('queueId', 'Required parameter queueId was null or undefined when calling searchMemberInQueue.');
@@ -12862,8 +12875,47 @@ const MemberServiceApiAxiosParamCreator = function (configuration) {
12862
12875
  if (size !== undefined) {
12863
12876
  localVarQueryParameter['size'] = size;
12864
12877
  }
12865
- if (domainId !== undefined) {
12866
- localVarQueryParameter['domain_id'] = domainId;
12878
+ if (q !== undefined) {
12879
+ localVarQueryParameter['q'] = q;
12880
+ }
12881
+ if (sort !== undefined) {
12882
+ localVarQueryParameter['sort'] = sort;
12883
+ }
12884
+ if (fields) {
12885
+ localVarQueryParameter['fields'] = fields;
12886
+ }
12887
+ if (id) {
12888
+ localVarQueryParameter['id'] = id;
12889
+ }
12890
+ if (bucketId) {
12891
+ localVarQueryParameter['bucket_id'] = bucketId;
12892
+ }
12893
+ if (destination !== undefined) {
12894
+ localVarQueryParameter['destination'] = destination;
12895
+ }
12896
+ if (createdAtFrom !== undefined) {
12897
+ localVarQueryParameter['created_at.from'] = createdAtFrom;
12898
+ }
12899
+ if (createdAtTo !== undefined) {
12900
+ localVarQueryParameter['created_at.to'] = createdAtTo;
12901
+ }
12902
+ if (offeringAtFrom !== undefined) {
12903
+ localVarQueryParameter['offering_at.from'] = offeringAtFrom;
12904
+ }
12905
+ if (offeringAtTo !== undefined) {
12906
+ localVarQueryParameter['offering_at.to'] = offeringAtTo;
12907
+ }
12908
+ if (stopCause) {
12909
+ localVarQueryParameter['stop_cause'] = stopCause;
12910
+ }
12911
+ if (priority) {
12912
+ localVarQueryParameter['priority'] = priority;
12913
+ }
12914
+ if (name !== undefined) {
12915
+ localVarQueryParameter['name'] = name;
12916
+ }
12917
+ if (attempts) {
12918
+ localVarQueryParameter['attempts'] = attempts;
12867
12919
  }
12868
12920
  localVarUrlObj.query = {
12869
12921
  ...localVarUrlObj.query,
@@ -12888,15 +12940,25 @@ const MemberServiceApiAxiosParamCreator = function (configuration) {
12888
12940
  * @summary Search of Member
12889
12941
  * @param {number} [page]
12890
12942
  * @param {number} [size]
12891
- * @param {string} [id]
12892
- * @param {string} [queueId]
12893
- * @param {number} [bucketId]
12943
+ * @param {string} [q]
12944
+ * @param {string} [sort]
12945
+ * @param {Array<string>} [fields]
12946
+ * @param {Array<string>} [id]
12947
+ * @param {Array<number>} [queueId]
12948
+ * @param {Array<number>} [bucketId]
12894
12949
  * @param {string} [destination]
12895
- * @param {string} [domainId]
12950
+ * @param {string} [createdAtFrom]
12951
+ * @param {string} [createdAtTo]
12952
+ * @param {string} [offeringAtFrom]
12953
+ * @param {string} [offeringAtTo]
12954
+ * @param {Array<string>} [stopCause]
12955
+ * @param {Array<number>} [priority]
12956
+ * @param {string} [name]
12957
+ * @param {Array<number>} [attempts]
12896
12958
  * @param {*} [options] Override http request option.
12897
12959
  * @throws {RequiredError}
12898
12960
  */
12899
- searchMembers: async (page, size, id, queueId, bucketId, destination, domainId, options = {}) => {
12961
+ searchMembers: async (page, size, q, sort, fields, id, queueId, bucketId, destination, createdAtFrom, createdAtTo, offeringAtFrom, offeringAtTo, stopCause, priority, name, attempts, options = {}) => {
12900
12962
  const localVarPath = `/call_center/members`;
12901
12963
  const localVarUrlObj = parse(localVarPath, true);
12902
12964
  let baseOptions;
@@ -12923,20 +12985,50 @@ const MemberServiceApiAxiosParamCreator = function (configuration) {
12923
12985
  if (size !== undefined) {
12924
12986
  localVarQueryParameter['size'] = size;
12925
12987
  }
12926
- if (id !== undefined) {
12988
+ if (q !== undefined) {
12989
+ localVarQueryParameter['q'] = q;
12990
+ }
12991
+ if (sort !== undefined) {
12992
+ localVarQueryParameter['sort'] = sort;
12993
+ }
12994
+ if (fields) {
12995
+ localVarQueryParameter['fields'] = fields;
12996
+ }
12997
+ if (id) {
12927
12998
  localVarQueryParameter['id'] = id;
12928
12999
  }
12929
- if (queueId !== undefined) {
13000
+ if (queueId) {
12930
13001
  localVarQueryParameter['queue_id'] = queueId;
12931
13002
  }
12932
- if (bucketId !== undefined) {
13003
+ if (bucketId) {
12933
13004
  localVarQueryParameter['bucket_id'] = bucketId;
12934
13005
  }
12935
13006
  if (destination !== undefined) {
12936
13007
  localVarQueryParameter['destination'] = destination;
12937
13008
  }
12938
- if (domainId !== undefined) {
12939
- localVarQueryParameter['domain_id'] = domainId;
13009
+ if (createdAtFrom !== undefined) {
13010
+ localVarQueryParameter['created_at.from'] = createdAtFrom;
13011
+ }
13012
+ if (createdAtTo !== undefined) {
13013
+ localVarQueryParameter['created_at.to'] = createdAtTo;
13014
+ }
13015
+ if (offeringAtFrom !== undefined) {
13016
+ localVarQueryParameter['offering_at.from'] = offeringAtFrom;
13017
+ }
13018
+ if (offeringAtTo !== undefined) {
13019
+ localVarQueryParameter['offering_at.to'] = offeringAtTo;
13020
+ }
13021
+ if (stopCause) {
13022
+ localVarQueryParameter['stop_cause'] = stopCause;
13023
+ }
13024
+ if (priority) {
13025
+ localVarQueryParameter['priority'] = priority;
13026
+ }
13027
+ if (name !== undefined) {
13028
+ localVarQueryParameter['name'] = name;
13029
+ }
13030
+ if (attempts) {
13031
+ localVarQueryParameter['attempts'] = attempts;
12940
13032
  }
12941
13033
  localVarUrlObj.query = {
12942
13034
  ...localVarUrlObj.query,
@@ -13313,15 +13405,28 @@ const MemberServiceApiFp = function (configuration) {
13313
13405
  /**
13314
13406
  *
13315
13407
  * @summary List of Member
13316
- * @param {string} queueId
13408
+ * @param {number} queueId
13317
13409
  * @param {number} [page]
13318
13410
  * @param {number} [size]
13319
- * @param {string} [domainId]
13411
+ * @param {string} [q]
13412
+ * @param {string} [sort]
13413
+ * @param {Array<string>} [fields]
13414
+ * @param {Array<string>} [id]
13415
+ * @param {Array<number>} [bucketId]
13416
+ * @param {string} [destination]
13417
+ * @param {string} [createdAtFrom]
13418
+ * @param {string} [createdAtTo]
13419
+ * @param {string} [offeringAtFrom]
13420
+ * @param {string} [offeringAtTo]
13421
+ * @param {Array<string>} [stopCause]
13422
+ * @param {Array<number>} [priority]
13423
+ * @param {string} [name]
13424
+ * @param {Array<number>} [attempts]
13320
13425
  * @param {*} [options] Override http request option.
13321
13426
  * @throws {RequiredError}
13322
13427
  */
13323
- async searchMemberInQueue(queueId, page, size, domainId, options) {
13324
- const localVarAxiosArgs = await MemberServiceApiAxiosParamCreator(configuration).searchMemberInQueue(queueId, page, size, domainId, options);
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);
13325
13430
  return (axios = globalAxios, basePath = BASE_PATH) => {
13326
13431
  const axiosRequestArgs = {
13327
13432
  ...localVarAxiosArgs.options,
@@ -13335,16 +13440,26 @@ const MemberServiceApiFp = function (configuration) {
13335
13440
  * @summary Search of Member
13336
13441
  * @param {number} [page]
13337
13442
  * @param {number} [size]
13338
- * @param {string} [id]
13339
- * @param {string} [queueId]
13340
- * @param {number} [bucketId]
13443
+ * @param {string} [q]
13444
+ * @param {string} [sort]
13445
+ * @param {Array<string>} [fields]
13446
+ * @param {Array<string>} [id]
13447
+ * @param {Array<number>} [queueId]
13448
+ * @param {Array<number>} [bucketId]
13341
13449
  * @param {string} [destination]
13342
- * @param {string} [domainId]
13450
+ * @param {string} [createdAtFrom]
13451
+ * @param {string} [createdAtTo]
13452
+ * @param {string} [offeringAtFrom]
13453
+ * @param {string} [offeringAtTo]
13454
+ * @param {Array<string>} [stopCause]
13455
+ * @param {Array<number>} [priority]
13456
+ * @param {string} [name]
13457
+ * @param {Array<number>} [attempts]
13343
13458
  * @param {*} [options] Override http request option.
13344
13459
  * @throws {RequiredError}
13345
13460
  */
13346
- async searchMembers(page, size, id, queueId, bucketId, destination, domainId, options) {
13347
- const localVarAxiosArgs = await MemberServiceApiAxiosParamCreator(configuration).searchMembers(page, size, id, queueId, bucketId, destination, domainId, options);
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);
13348
13463
  return (axios = globalAxios, basePath = BASE_PATH) => {
13349
13464
  const axiosRequestArgs = {
13350
13465
  ...localVarAxiosArgs.options,
@@ -13591,16 +13706,29 @@ const MemberServiceApiFactory = function (configuration, basePath, axios) {
13591
13706
  /**
13592
13707
  *
13593
13708
  * @summary List of Member
13594
- * @param {string} queueId
13709
+ * @param {number} queueId
13595
13710
  * @param {number} [page]
13596
13711
  * @param {number} [size]
13597
- * @param {string} [domainId]
13712
+ * @param {string} [q]
13713
+ * @param {string} [sort]
13714
+ * @param {Array<string>} [fields]
13715
+ * @param {Array<string>} [id]
13716
+ * @param {Array<number>} [bucketId]
13717
+ * @param {string} [destination]
13718
+ * @param {string} [createdAtFrom]
13719
+ * @param {string} [createdAtTo]
13720
+ * @param {string} [offeringAtFrom]
13721
+ * @param {string} [offeringAtTo]
13722
+ * @param {Array<string>} [stopCause]
13723
+ * @param {Array<number>} [priority]
13724
+ * @param {string} [name]
13725
+ * @param {Array<number>} [attempts]
13598
13726
  * @param {*} [options] Override http request option.
13599
13727
  * @throws {RequiredError}
13600
13728
  */
13601
- searchMemberInQueue(queueId, page, size, domainId, options) {
13729
+ searchMemberInQueue(queueId, page, size, q, sort, fields, id, bucketId, destination, createdAtFrom, createdAtTo, offeringAtFrom, offeringAtTo, stopCause, priority, name, attempts, options) {
13602
13730
  return MemberServiceApiFp(configuration)
13603
- .searchMemberInQueue(queueId, page, size, domainId, options)
13731
+ .searchMemberInQueue(queueId, page, size, q, sort, fields, id, bucketId, destination, createdAtFrom, createdAtTo, offeringAtFrom, offeringAtTo, stopCause, priority, name, attempts, options)
13604
13732
  .then((request) => request(axios, basePath));
13605
13733
  },
13606
13734
  /**
@@ -13608,17 +13736,27 @@ const MemberServiceApiFactory = function (configuration, basePath, axios) {
13608
13736
  * @summary Search of Member
13609
13737
  * @param {number} [page]
13610
13738
  * @param {number} [size]
13611
- * @param {string} [id]
13612
- * @param {string} [queueId]
13613
- * @param {number} [bucketId]
13739
+ * @param {string} [q]
13740
+ * @param {string} [sort]
13741
+ * @param {Array<string>} [fields]
13742
+ * @param {Array<string>} [id]
13743
+ * @param {Array<number>} [queueId]
13744
+ * @param {Array<number>} [bucketId]
13614
13745
  * @param {string} [destination]
13615
- * @param {string} [domainId]
13746
+ * @param {string} [createdAtFrom]
13747
+ * @param {string} [createdAtTo]
13748
+ * @param {string} [offeringAtFrom]
13749
+ * @param {string} [offeringAtTo]
13750
+ * @param {Array<string>} [stopCause]
13751
+ * @param {Array<number>} [priority]
13752
+ * @param {string} [name]
13753
+ * @param {Array<number>} [attempts]
13616
13754
  * @param {*} [options] Override http request option.
13617
13755
  * @throws {RequiredError}
13618
13756
  */
13619
- searchMembers(page, size, id, queueId, bucketId, destination, domainId, options) {
13757
+ searchMembers(page, size, q, sort, fields, id, queueId, bucketId, destination, createdAtFrom, createdAtTo, offeringAtFrom, offeringAtTo, stopCause, priority, name, attempts, options) {
13620
13758
  return MemberServiceApiFp(configuration)
13621
- .searchMembers(page, size, id, queueId, bucketId, destination, domainId, options)
13759
+ .searchMembers(page, size, q, sort, fields, id, queueId, bucketId, destination, createdAtFrom, createdAtTo, offeringAtFrom, offeringAtTo, stopCause, priority, name, attempts, options)
13622
13760
  .then((request) => request(axios, basePath));
13623
13761
  },
13624
13762
  /**
@@ -13869,17 +14007,30 @@ class MemberServiceApi extends BaseAPI {
13869
14007
  /**
13870
14008
  *
13871
14009
  * @summary List of Member
13872
- * @param {string} queueId
14010
+ * @param {number} queueId
13873
14011
  * @param {number} [page]
13874
14012
  * @param {number} [size]
13875
- * @param {string} [domainId]
14013
+ * @param {string} [q]
14014
+ * @param {string} [sort]
14015
+ * @param {Array<string>} [fields]
14016
+ * @param {Array<string>} [id]
14017
+ * @param {Array<number>} [bucketId]
14018
+ * @param {string} [destination]
14019
+ * @param {string} [createdAtFrom]
14020
+ * @param {string} [createdAtTo]
14021
+ * @param {string} [offeringAtFrom]
14022
+ * @param {string} [offeringAtTo]
14023
+ * @param {Array<string>} [stopCause]
14024
+ * @param {Array<number>} [priority]
14025
+ * @param {string} [name]
14026
+ * @param {Array<number>} [attempts]
13876
14027
  * @param {*} [options] Override http request option.
13877
14028
  * @throws {RequiredError}
13878
14029
  * @memberof MemberServiceApi
13879
14030
  */
13880
- searchMemberInQueue(queueId, page, size, domainId, options) {
14031
+ searchMemberInQueue(queueId, page, size, q, sort, fields, id, bucketId, destination, createdAtFrom, createdAtTo, offeringAtFrom, offeringAtTo, stopCause, priority, name, attempts, options) {
13881
14032
  return MemberServiceApiFp(this.configuration)
13882
- .searchMemberInQueue(queueId, page, size, domainId, options)
14033
+ .searchMemberInQueue(queueId, page, size, q, sort, fields, id, bucketId, destination, createdAtFrom, createdAtTo, offeringAtFrom, offeringAtTo, stopCause, priority, name, attempts, options)
13883
14034
  .then((request) => request(this.axios, this.basePath));
13884
14035
  }
13885
14036
  /**
@@ -13887,18 +14038,28 @@ class MemberServiceApi extends BaseAPI {
13887
14038
  * @summary Search of Member
13888
14039
  * @param {number} [page]
13889
14040
  * @param {number} [size]
13890
- * @param {string} [id]
13891
- * @param {string} [queueId]
13892
- * @param {number} [bucketId]
14041
+ * @param {string} [q]
14042
+ * @param {string} [sort]
14043
+ * @param {Array<string>} [fields]
14044
+ * @param {Array<string>} [id]
14045
+ * @param {Array<number>} [queueId]
14046
+ * @param {Array<number>} [bucketId]
13893
14047
  * @param {string} [destination]
13894
- * @param {string} [domainId]
14048
+ * @param {string} [createdAtFrom]
14049
+ * @param {string} [createdAtTo]
14050
+ * @param {string} [offeringAtFrom]
14051
+ * @param {string} [offeringAtTo]
14052
+ * @param {Array<string>} [stopCause]
14053
+ * @param {Array<number>} [priority]
14054
+ * @param {string} [name]
14055
+ * @param {Array<number>} [attempts]
13895
14056
  * @param {*} [options] Override http request option.
13896
14057
  * @throws {RequiredError}
13897
14058
  * @memberof MemberServiceApi
13898
14059
  */
13899
- searchMembers(page, size, id, queueId, bucketId, destination, domainId, options) {
14060
+ searchMembers(page, size, q, sort, fields, id, queueId, bucketId, destination, createdAtFrom, createdAtTo, offeringAtFrom, offeringAtTo, stopCause, priority, name, attempts, options) {
13900
14061
  return MemberServiceApiFp(this.configuration)
13901
- .searchMembers(page, size, id, queueId, bucketId, destination, domainId, options)
14062
+ .searchMembers(page, size, q, sort, fields, id, queueId, bucketId, destination, createdAtFrom, createdAtTo, offeringAtFrom, offeringAtTo, stopCause, priority, name, attempts, options)
13902
14063
  .then((request) => request(this.axios, this.basePath));
13903
14064
  }
13904
14065
  /**