ch-api-client-typescript2 4.1.1 → 4.1.4

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/lib/api.js CHANGED
@@ -9778,10 +9778,11 @@ var GroupChannelsApiAxiosParamCreator = function (configuration) {
9778
9778
  *
9779
9779
  * @param {string} dealId
9780
9780
  * @param {string} [hospitalId]
9781
+ * @param {boolean} [isExternal]
9781
9782
  * @param {*} [options] Override http request option.
9782
9783
  * @throws {RequiredError}
9783
9784
  */
9784
- apiV2GroupchannelsDealDealIdGet: function (dealId, hospitalId, options) {
9785
+ apiV2GroupchannelsDealDealIdGet: function (dealId, hospitalId, isExternal, options) {
9785
9786
  if (options === void 0) { options = {}; }
9786
9787
  return __awaiter(_this, void 0, void 0, function () {
9787
9788
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -9809,6 +9810,9 @@ var GroupChannelsApiAxiosParamCreator = function (configuration) {
9809
9810
  if (hospitalId !== undefined) {
9810
9811
  localVarQueryParameter['hospitalId'] = hospitalId;
9811
9812
  }
9813
+ if (isExternal !== undefined) {
9814
+ localVarQueryParameter['isExternal'] = isExternal;
9815
+ }
9812
9816
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
9813
9817
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9814
9818
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -9824,10 +9828,11 @@ var GroupChannelsApiAxiosParamCreator = function (configuration) {
9824
9828
  *
9825
9829
  * @param {string} doctorId
9826
9830
  * @param {string} [hospitalId]
9831
+ * @param {boolean} [isExternal]
9827
9832
  * @param {*} [options] Override http request option.
9828
9833
  * @throws {RequiredError}
9829
9834
  */
9830
- apiV2GroupchannelsDoctorDoctorIdGet: function (doctorId, hospitalId, options) {
9835
+ apiV2GroupchannelsDoctorDoctorIdGet: function (doctorId, hospitalId, isExternal, options) {
9831
9836
  if (options === void 0) { options = {}; }
9832
9837
  return __awaiter(_this, void 0, void 0, function () {
9833
9838
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -9855,6 +9860,9 @@ var GroupChannelsApiAxiosParamCreator = function (configuration) {
9855
9860
  if (hospitalId !== undefined) {
9856
9861
  localVarQueryParameter['hospitalId'] = hospitalId;
9857
9862
  }
9863
+ if (isExternal !== undefined) {
9864
+ localVarQueryParameter['isExternal'] = isExternal;
9865
+ }
9858
9866
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
9859
9867
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9860
9868
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -9869,10 +9877,11 @@ var GroupChannelsApiAxiosParamCreator = function (configuration) {
9869
9877
  /**
9870
9878
  *
9871
9879
  * @param {string} hospitalId
9880
+ * @param {boolean} [isExternal]
9872
9881
  * @param {*} [options] Override http request option.
9873
9882
  * @throws {RequiredError}
9874
9883
  */
9875
- apiV2GroupchannelsHospitalHospitalIdGet: function (hospitalId, options) {
9884
+ apiV2GroupchannelsHospitalHospitalIdGet: function (hospitalId, isExternal, options) {
9876
9885
  if (options === void 0) { options = {}; }
9877
9886
  return __awaiter(_this, void 0, void 0, function () {
9878
9887
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -9897,6 +9906,9 @@ var GroupChannelsApiAxiosParamCreator = function (configuration) {
9897
9906
  // authentication oauth2 required
9898
9907
  // oauth required
9899
9908
  _a.sent();
9909
+ if (isExternal !== undefined) {
9910
+ localVarQueryParameter['isExternal'] = isExternal;
9911
+ }
9900
9912
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
9901
9913
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9902
9914
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -9942,15 +9954,16 @@ var GroupChannelsApiFp = function (configuration) {
9942
9954
  *
9943
9955
  * @param {string} dealId
9944
9956
  * @param {string} [hospitalId]
9957
+ * @param {boolean} [isExternal]
9945
9958
  * @param {*} [options] Override http request option.
9946
9959
  * @throws {RequiredError}
9947
9960
  */
9948
- apiV2GroupchannelsDealDealIdGet: function (dealId, hospitalId, options) {
9961
+ apiV2GroupchannelsDealDealIdGet: function (dealId, hospitalId, isExternal, options) {
9949
9962
  return __awaiter(this, void 0, void 0, function () {
9950
9963
  var localVarAxiosArgs;
9951
9964
  return __generator(this, function (_a) {
9952
9965
  switch (_a.label) {
9953
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2GroupchannelsDealDealIdGet(dealId, hospitalId, options)];
9966
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2GroupchannelsDealDealIdGet(dealId, hospitalId, isExternal, options)];
9954
9967
  case 1:
9955
9968
  localVarAxiosArgs = _a.sent();
9956
9969
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -9962,15 +9975,16 @@ var GroupChannelsApiFp = function (configuration) {
9962
9975
  *
9963
9976
  * @param {string} doctorId
9964
9977
  * @param {string} [hospitalId]
9978
+ * @param {boolean} [isExternal]
9965
9979
  * @param {*} [options] Override http request option.
9966
9980
  * @throws {RequiredError}
9967
9981
  */
9968
- apiV2GroupchannelsDoctorDoctorIdGet: function (doctorId, hospitalId, options) {
9982
+ apiV2GroupchannelsDoctorDoctorIdGet: function (doctorId, hospitalId, isExternal, options) {
9969
9983
  return __awaiter(this, void 0, void 0, function () {
9970
9984
  var localVarAxiosArgs;
9971
9985
  return __generator(this, function (_a) {
9972
9986
  switch (_a.label) {
9973
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2GroupchannelsDoctorDoctorIdGet(doctorId, hospitalId, options)];
9987
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2GroupchannelsDoctorDoctorIdGet(doctorId, hospitalId, isExternal, options)];
9974
9988
  case 1:
9975
9989
  localVarAxiosArgs = _a.sent();
9976
9990
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -9981,15 +9995,16 @@ var GroupChannelsApiFp = function (configuration) {
9981
9995
  /**
9982
9996
  *
9983
9997
  * @param {string} hospitalId
9998
+ * @param {boolean} [isExternal]
9984
9999
  * @param {*} [options] Override http request option.
9985
10000
  * @throws {RequiredError}
9986
10001
  */
9987
- apiV2GroupchannelsHospitalHospitalIdGet: function (hospitalId, options) {
10002
+ apiV2GroupchannelsHospitalHospitalIdGet: function (hospitalId, isExternal, options) {
9988
10003
  return __awaiter(this, void 0, void 0, function () {
9989
10004
  var localVarAxiosArgs;
9990
10005
  return __generator(this, function (_a) {
9991
10006
  switch (_a.label) {
9992
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2GroupchannelsHospitalHospitalIdGet(hospitalId, options)];
10007
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2GroupchannelsHospitalHospitalIdGet(hospitalId, isExternal, options)];
9993
10008
  case 1:
9994
10009
  localVarAxiosArgs = _a.sent();
9995
10010
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -10021,30 +10036,33 @@ var GroupChannelsApiFactory = function (configuration, basePath, axios) {
10021
10036
  *
10022
10037
  * @param {string} dealId
10023
10038
  * @param {string} [hospitalId]
10039
+ * @param {boolean} [isExternal]
10024
10040
  * @param {*} [options] Override http request option.
10025
10041
  * @throws {RequiredError}
10026
10042
  */
10027
- apiV2GroupchannelsDealDealIdGet: function (dealId, hospitalId, options) {
10028
- return localVarFp.apiV2GroupchannelsDealDealIdGet(dealId, hospitalId, options).then(function (request) { return request(axios, basePath); });
10043
+ apiV2GroupchannelsDealDealIdGet: function (dealId, hospitalId, isExternal, options) {
10044
+ return localVarFp.apiV2GroupchannelsDealDealIdGet(dealId, hospitalId, isExternal, options).then(function (request) { return request(axios, basePath); });
10029
10045
  },
10030
10046
  /**
10031
10047
  *
10032
10048
  * @param {string} doctorId
10033
10049
  * @param {string} [hospitalId]
10050
+ * @param {boolean} [isExternal]
10034
10051
  * @param {*} [options] Override http request option.
10035
10052
  * @throws {RequiredError}
10036
10053
  */
10037
- apiV2GroupchannelsDoctorDoctorIdGet: function (doctorId, hospitalId, options) {
10038
- return localVarFp.apiV2GroupchannelsDoctorDoctorIdGet(doctorId, hospitalId, options).then(function (request) { return request(axios, basePath); });
10054
+ apiV2GroupchannelsDoctorDoctorIdGet: function (doctorId, hospitalId, isExternal, options) {
10055
+ return localVarFp.apiV2GroupchannelsDoctorDoctorIdGet(doctorId, hospitalId, isExternal, options).then(function (request) { return request(axios, basePath); });
10039
10056
  },
10040
10057
  /**
10041
10058
  *
10042
10059
  * @param {string} hospitalId
10060
+ * @param {boolean} [isExternal]
10043
10061
  * @param {*} [options] Override http request option.
10044
10062
  * @throws {RequiredError}
10045
10063
  */
10046
- apiV2GroupchannelsHospitalHospitalIdGet: function (hospitalId, options) {
10047
- return localVarFp.apiV2GroupchannelsHospitalHospitalIdGet(hospitalId, options).then(function (request) { return request(axios, basePath); });
10064
+ apiV2GroupchannelsHospitalHospitalIdGet: function (hospitalId, isExternal, options) {
10065
+ return localVarFp.apiV2GroupchannelsHospitalHospitalIdGet(hospitalId, isExternal, options).then(function (request) { return request(axios, basePath); });
10048
10066
  },
10049
10067
  };
10050
10068
  };
@@ -10076,36 +10094,39 @@ var GroupChannelsApi = /** @class */ (function (_super) {
10076
10094
  *
10077
10095
  * @param {string} dealId
10078
10096
  * @param {string} [hospitalId]
10097
+ * @param {boolean} [isExternal]
10079
10098
  * @param {*} [options] Override http request option.
10080
10099
  * @throws {RequiredError}
10081
10100
  * @memberof GroupChannelsApi
10082
10101
  */
10083
- GroupChannelsApi.prototype.apiV2GroupchannelsDealDealIdGet = function (dealId, hospitalId, options) {
10102
+ GroupChannelsApi.prototype.apiV2GroupchannelsDealDealIdGet = function (dealId, hospitalId, isExternal, options) {
10084
10103
  var _this = this;
10085
- return (0, exports.GroupChannelsApiFp)(this.configuration).apiV2GroupchannelsDealDealIdGet(dealId, hospitalId, options).then(function (request) { return request(_this.axios, _this.basePath); });
10104
+ return (0, exports.GroupChannelsApiFp)(this.configuration).apiV2GroupchannelsDealDealIdGet(dealId, hospitalId, isExternal, options).then(function (request) { return request(_this.axios, _this.basePath); });
10086
10105
  };
10087
10106
  /**
10088
10107
  *
10089
10108
  * @param {string} doctorId
10090
10109
  * @param {string} [hospitalId]
10110
+ * @param {boolean} [isExternal]
10091
10111
  * @param {*} [options] Override http request option.
10092
10112
  * @throws {RequiredError}
10093
10113
  * @memberof GroupChannelsApi
10094
10114
  */
10095
- GroupChannelsApi.prototype.apiV2GroupchannelsDoctorDoctorIdGet = function (doctorId, hospitalId, options) {
10115
+ GroupChannelsApi.prototype.apiV2GroupchannelsDoctorDoctorIdGet = function (doctorId, hospitalId, isExternal, options) {
10096
10116
  var _this = this;
10097
- return (0, exports.GroupChannelsApiFp)(this.configuration).apiV2GroupchannelsDoctorDoctorIdGet(doctorId, hospitalId, options).then(function (request) { return request(_this.axios, _this.basePath); });
10117
+ return (0, exports.GroupChannelsApiFp)(this.configuration).apiV2GroupchannelsDoctorDoctorIdGet(doctorId, hospitalId, isExternal, options).then(function (request) { return request(_this.axios, _this.basePath); });
10098
10118
  };
10099
10119
  /**
10100
10120
  *
10101
10121
  * @param {string} hospitalId
10122
+ * @param {boolean} [isExternal]
10102
10123
  * @param {*} [options] Override http request option.
10103
10124
  * @throws {RequiredError}
10104
10125
  * @memberof GroupChannelsApi
10105
10126
  */
10106
- GroupChannelsApi.prototype.apiV2GroupchannelsHospitalHospitalIdGet = function (hospitalId, options) {
10127
+ GroupChannelsApi.prototype.apiV2GroupchannelsHospitalHospitalIdGet = function (hospitalId, isExternal, options) {
10107
10128
  var _this = this;
10108
- return (0, exports.GroupChannelsApiFp)(this.configuration).apiV2GroupchannelsHospitalHospitalIdGet(hospitalId, options).then(function (request) { return request(_this.axios, _this.basePath); });
10129
+ return (0, exports.GroupChannelsApiFp)(this.configuration).apiV2GroupchannelsHospitalHospitalIdGet(hospitalId, isExternal, options).then(function (request) { return request(_this.axios, _this.basePath); });
10109
10130
  };
10110
10131
  return GroupChannelsApi;
10111
10132
  }(base_1.BaseAPI));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ch-api-client-typescript2",
3
- "version": "4.1.1",
3
+ "version": "4.1.4",
4
4
  "description": "Openapi generated typescript-axios client for CloudHospital",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/src/api.ts CHANGED
@@ -8124,6 +8124,12 @@ export interface ServiceReviewItemModel {
8124
8124
  * @memberof ServiceReviewItemModel
8125
8125
  */
8126
8126
  'serviceSlug'?: string | null;
8127
+ /**
8128
+ *
8129
+ * @type {string}
8130
+ * @memberof ServiceReviewItemModel
8131
+ */
8132
+ 'hospitalId'?: string;
8127
8133
  /**
8128
8134
  *
8129
8135
  * @type {string}
@@ -8251,6 +8257,12 @@ export interface ServiceReviewModel {
8251
8257
  * @memberof ServiceReviewModel
8252
8258
  */
8253
8259
  'serviceSlug'?: string | null;
8260
+ /**
8261
+ *
8262
+ * @type {string}
8263
+ * @memberof ServiceReviewModel
8264
+ */
8265
+ 'hospitalId'?: string;
8254
8266
  /**
8255
8267
  *
8256
8268
  * @type {string}
@@ -18695,10 +18707,11 @@ export const GroupChannelsApiAxiosParamCreator = function (configuration?: Confi
18695
18707
  *
18696
18708
  * @param {string} dealId
18697
18709
  * @param {string} [hospitalId]
18710
+ * @param {boolean} [isExternal]
18698
18711
  * @param {*} [options] Override http request option.
18699
18712
  * @throws {RequiredError}
18700
18713
  */
18701
- apiV2GroupchannelsDealDealIdGet: async (dealId: string, hospitalId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
18714
+ apiV2GroupchannelsDealDealIdGet: async (dealId: string, hospitalId?: string, isExternal?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
18702
18715
  // verify required parameter 'dealId' is not null or undefined
18703
18716
  assertParamExists('apiV2GroupchannelsDealDealIdGet', 'dealId', dealId)
18704
18717
  const localVarPath = `/api/v2/groupchannels/deal/{dealId}`
@@ -18722,6 +18735,10 @@ export const GroupChannelsApiAxiosParamCreator = function (configuration?: Confi
18722
18735
  localVarQueryParameter['hospitalId'] = hospitalId;
18723
18736
  }
18724
18737
 
18738
+ if (isExternal !== undefined) {
18739
+ localVarQueryParameter['isExternal'] = isExternal;
18740
+ }
18741
+
18725
18742
 
18726
18743
 
18727
18744
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -18737,10 +18754,11 @@ export const GroupChannelsApiAxiosParamCreator = function (configuration?: Confi
18737
18754
  *
18738
18755
  * @param {string} doctorId
18739
18756
  * @param {string} [hospitalId]
18757
+ * @param {boolean} [isExternal]
18740
18758
  * @param {*} [options] Override http request option.
18741
18759
  * @throws {RequiredError}
18742
18760
  */
18743
- apiV2GroupchannelsDoctorDoctorIdGet: async (doctorId: string, hospitalId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
18761
+ apiV2GroupchannelsDoctorDoctorIdGet: async (doctorId: string, hospitalId?: string, isExternal?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
18744
18762
  // verify required parameter 'doctorId' is not null or undefined
18745
18763
  assertParamExists('apiV2GroupchannelsDoctorDoctorIdGet', 'doctorId', doctorId)
18746
18764
  const localVarPath = `/api/v2/groupchannels/doctor/{doctorId}`
@@ -18764,6 +18782,10 @@ export const GroupChannelsApiAxiosParamCreator = function (configuration?: Confi
18764
18782
  localVarQueryParameter['hospitalId'] = hospitalId;
18765
18783
  }
18766
18784
 
18785
+ if (isExternal !== undefined) {
18786
+ localVarQueryParameter['isExternal'] = isExternal;
18787
+ }
18788
+
18767
18789
 
18768
18790
 
18769
18791
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -18778,10 +18800,11 @@ export const GroupChannelsApiAxiosParamCreator = function (configuration?: Confi
18778
18800
  /**
18779
18801
  *
18780
18802
  * @param {string} hospitalId
18803
+ * @param {boolean} [isExternal]
18781
18804
  * @param {*} [options] Override http request option.
18782
18805
  * @throws {RequiredError}
18783
18806
  */
18784
- apiV2GroupchannelsHospitalHospitalIdGet: async (hospitalId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
18807
+ apiV2GroupchannelsHospitalHospitalIdGet: async (hospitalId: string, isExternal?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
18785
18808
  // verify required parameter 'hospitalId' is not null or undefined
18786
18809
  assertParamExists('apiV2GroupchannelsHospitalHospitalIdGet', 'hospitalId', hospitalId)
18787
18810
  const localVarPath = `/api/v2/groupchannels/hospital/{hospitalId}`
@@ -18801,6 +18824,10 @@ export const GroupChannelsApiAxiosParamCreator = function (configuration?: Confi
18801
18824
  // oauth required
18802
18825
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)
18803
18826
 
18827
+ if (isExternal !== undefined) {
18828
+ localVarQueryParameter['isExternal'] = isExternal;
18829
+ }
18830
+
18804
18831
 
18805
18832
 
18806
18833
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -18837,32 +18864,35 @@ export const GroupChannelsApiFp = function(configuration?: Configuration) {
18837
18864
  *
18838
18865
  * @param {string} dealId
18839
18866
  * @param {string} [hospitalId]
18867
+ * @param {boolean} [isExternal]
18840
18868
  * @param {*} [options] Override http request option.
18841
18869
  * @throws {RequiredError}
18842
18870
  */
18843
- async apiV2GroupchannelsDealDealIdGet(dealId: string, hospitalId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SendBirdGroupChannelModel>> {
18844
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2GroupchannelsDealDealIdGet(dealId, hospitalId, options);
18871
+ async apiV2GroupchannelsDealDealIdGet(dealId: string, hospitalId?: string, isExternal?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
18872
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2GroupchannelsDealDealIdGet(dealId, hospitalId, isExternal, options);
18845
18873
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
18846
18874
  },
18847
18875
  /**
18848
18876
  *
18849
18877
  * @param {string} doctorId
18850
18878
  * @param {string} [hospitalId]
18879
+ * @param {boolean} [isExternal]
18851
18880
  * @param {*} [options] Override http request option.
18852
18881
  * @throws {RequiredError}
18853
18882
  */
18854
- async apiV2GroupchannelsDoctorDoctorIdGet(doctorId: string, hospitalId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SendBirdGroupChannelModel>> {
18855
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2GroupchannelsDoctorDoctorIdGet(doctorId, hospitalId, options);
18883
+ async apiV2GroupchannelsDoctorDoctorIdGet(doctorId: string, hospitalId?: string, isExternal?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
18884
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2GroupchannelsDoctorDoctorIdGet(doctorId, hospitalId, isExternal, options);
18856
18885
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
18857
18886
  },
18858
18887
  /**
18859
18888
  *
18860
18889
  * @param {string} hospitalId
18890
+ * @param {boolean} [isExternal]
18861
18891
  * @param {*} [options] Override http request option.
18862
18892
  * @throws {RequiredError}
18863
18893
  */
18864
- async apiV2GroupchannelsHospitalHospitalIdGet(hospitalId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SendBirdGroupChannelModel>> {
18865
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2GroupchannelsHospitalHospitalIdGet(hospitalId, options);
18894
+ async apiV2GroupchannelsHospitalHospitalIdGet(hospitalId: string, isExternal?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
18895
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2GroupchannelsHospitalHospitalIdGet(hospitalId, isExternal, options);
18866
18896
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
18867
18897
  },
18868
18898
  }
@@ -18889,30 +18919,33 @@ export const GroupChannelsApiFactory = function (configuration?: Configuration,
18889
18919
  *
18890
18920
  * @param {string} dealId
18891
18921
  * @param {string} [hospitalId]
18922
+ * @param {boolean} [isExternal]
18892
18923
  * @param {*} [options] Override http request option.
18893
18924
  * @throws {RequiredError}
18894
18925
  */
18895
- apiV2GroupchannelsDealDealIdGet(dealId: string, hospitalId?: string, options?: any): AxiosPromise<SendBirdGroupChannelModel> {
18896
- return localVarFp.apiV2GroupchannelsDealDealIdGet(dealId, hospitalId, options).then((request) => request(axios, basePath));
18926
+ apiV2GroupchannelsDealDealIdGet(dealId: string, hospitalId?: string, isExternal?: boolean, options?: any): AxiosPromise<string> {
18927
+ return localVarFp.apiV2GroupchannelsDealDealIdGet(dealId, hospitalId, isExternal, options).then((request) => request(axios, basePath));
18897
18928
  },
18898
18929
  /**
18899
18930
  *
18900
18931
  * @param {string} doctorId
18901
18932
  * @param {string} [hospitalId]
18933
+ * @param {boolean} [isExternal]
18902
18934
  * @param {*} [options] Override http request option.
18903
18935
  * @throws {RequiredError}
18904
18936
  */
18905
- apiV2GroupchannelsDoctorDoctorIdGet(doctorId: string, hospitalId?: string, options?: any): AxiosPromise<SendBirdGroupChannelModel> {
18906
- return localVarFp.apiV2GroupchannelsDoctorDoctorIdGet(doctorId, hospitalId, options).then((request) => request(axios, basePath));
18937
+ apiV2GroupchannelsDoctorDoctorIdGet(doctorId: string, hospitalId?: string, isExternal?: boolean, options?: any): AxiosPromise<string> {
18938
+ return localVarFp.apiV2GroupchannelsDoctorDoctorIdGet(doctorId, hospitalId, isExternal, options).then((request) => request(axios, basePath));
18907
18939
  },
18908
18940
  /**
18909
18941
  *
18910
18942
  * @param {string} hospitalId
18943
+ * @param {boolean} [isExternal]
18911
18944
  * @param {*} [options] Override http request option.
18912
18945
  * @throws {RequiredError}
18913
18946
  */
18914
- apiV2GroupchannelsHospitalHospitalIdGet(hospitalId: string, options?: any): AxiosPromise<SendBirdGroupChannelModel> {
18915
- return localVarFp.apiV2GroupchannelsHospitalHospitalIdGet(hospitalId, options).then((request) => request(axios, basePath));
18947
+ apiV2GroupchannelsHospitalHospitalIdGet(hospitalId: string, isExternal?: boolean, options?: any): AxiosPromise<string> {
18948
+ return localVarFp.apiV2GroupchannelsHospitalHospitalIdGet(hospitalId, isExternal, options).then((request) => request(axios, basePath));
18916
18949
  },
18917
18950
  };
18918
18951
  };
@@ -18940,35 +18973,38 @@ export class GroupChannelsApi extends BaseAPI {
18940
18973
  *
18941
18974
  * @param {string} dealId
18942
18975
  * @param {string} [hospitalId]
18976
+ * @param {boolean} [isExternal]
18943
18977
  * @param {*} [options] Override http request option.
18944
18978
  * @throws {RequiredError}
18945
18979
  * @memberof GroupChannelsApi
18946
18980
  */
18947
- public apiV2GroupchannelsDealDealIdGet(dealId: string, hospitalId?: string, options?: AxiosRequestConfig) {
18948
- return GroupChannelsApiFp(this.configuration).apiV2GroupchannelsDealDealIdGet(dealId, hospitalId, options).then((request) => request(this.axios, this.basePath));
18981
+ public apiV2GroupchannelsDealDealIdGet(dealId: string, hospitalId?: string, isExternal?: boolean, options?: AxiosRequestConfig) {
18982
+ return GroupChannelsApiFp(this.configuration).apiV2GroupchannelsDealDealIdGet(dealId, hospitalId, isExternal, options).then((request) => request(this.axios, this.basePath));
18949
18983
  }
18950
18984
 
18951
18985
  /**
18952
18986
  *
18953
18987
  * @param {string} doctorId
18954
18988
  * @param {string} [hospitalId]
18989
+ * @param {boolean} [isExternal]
18955
18990
  * @param {*} [options] Override http request option.
18956
18991
  * @throws {RequiredError}
18957
18992
  * @memberof GroupChannelsApi
18958
18993
  */
18959
- public apiV2GroupchannelsDoctorDoctorIdGet(doctorId: string, hospitalId?: string, options?: AxiosRequestConfig) {
18960
- return GroupChannelsApiFp(this.configuration).apiV2GroupchannelsDoctorDoctorIdGet(doctorId, hospitalId, options).then((request) => request(this.axios, this.basePath));
18994
+ public apiV2GroupchannelsDoctorDoctorIdGet(doctorId: string, hospitalId?: string, isExternal?: boolean, options?: AxiosRequestConfig) {
18995
+ return GroupChannelsApiFp(this.configuration).apiV2GroupchannelsDoctorDoctorIdGet(doctorId, hospitalId, isExternal, options).then((request) => request(this.axios, this.basePath));
18961
18996
  }
18962
18997
 
18963
18998
  /**
18964
18999
  *
18965
19000
  * @param {string} hospitalId
19001
+ * @param {boolean} [isExternal]
18966
19002
  * @param {*} [options] Override http request option.
18967
19003
  * @throws {RequiredError}
18968
19004
  * @memberof GroupChannelsApi
18969
19005
  */
18970
- public apiV2GroupchannelsHospitalHospitalIdGet(hospitalId: string, options?: AxiosRequestConfig) {
18971
- return GroupChannelsApiFp(this.configuration).apiV2GroupchannelsHospitalHospitalIdGet(hospitalId, options).then((request) => request(this.axios, this.basePath));
19006
+ public apiV2GroupchannelsHospitalHospitalIdGet(hospitalId: string, isExternal?: boolean, options?: AxiosRequestConfig) {
19007
+ return GroupChannelsApiFp(this.configuration).apiV2GroupchannelsHospitalHospitalIdGet(hospitalId, isExternal, options).then((request) => request(this.axios, this.basePath));
18972
19008
  }
18973
19009
  }
18974
19010