ch-api-client-typescript2 4.0.8 → 4.1.1
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.d.ts +263 -115
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +326 -150
- package/package.json +1 -1
- package/src/api.ts +416 -179
package/lib/api.js
CHANGED
|
@@ -78,26 +78,15 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
78
78
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
79
|
};
|
|
80
80
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
81
|
-
exports.CountriesApiAxiosParamCreator = exports.ContributorsApi = exports.ContributorsApiFactory = exports.ContributorsApiFp = exports.ContributorsApiAxiosParamCreator = exports.ConsultationsApi = exports.ConsultationsApiFactory = exports.ConsultationsApiFp = exports.ConsultationsApiAxiosParamCreator = exports.CommunicationsApi = exports.CommunicationsApiFactory = exports.CommunicationsApiFp = exports.CommunicationsApiAxiosParamCreator = exports.ChatUsersApi = exports.ChatUsersApiFactory = exports.ChatUsersApiFp = exports.ChatUsersApiAxiosParamCreator = exports.BookingsApi = exports.BookingsApiFactory = exports.BookingsApiFp = exports.BookingsApiAxiosParamCreator = exports.ArticlesApi = exports.ArticlesApiFactory = exports.ArticlesApiFp = exports.ArticlesApiAxiosParamCreator = exports.AccreditationsApi = exports.AccreditationsApiFactory = exports.AccreditationsApiFp = exports.AccreditationsApiAxiosParamCreator = exports.AboutUsApi = exports.AboutUsApiFactory = exports.AboutUsApiFp = exports.AboutUsApiAxiosParamCreator = exports.UserLocationType = exports.SortingOrder = exports.SnsType = exports.ReviewType = exports.RejectReason = exports.RefundPolicy = exports.RecurringInterval = exports.Procedure = exports.NotificationCode = exports.MediaType = exports.MarketingType = exports.Gender = exports.ContributionType = exports.ConsultationType = exports.ConsultationStatus = exports.BookingStatus =
|
|
82
|
-
exports.PatientsApiFactory = exports.PatientsApiFp = exports.PatientsApiAxiosParamCreator = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.MembershipsApi = exports.MembershipsApiFactory = exports.MembershipsApiFp = exports.MembershipsApiAxiosParamCreator = exports.LanguagesApi = exports.LanguagesApiFactory = exports.LanguagesApiFp = exports.LanguagesApiAxiosParamCreator = exports.ImagesApi = exports.ImagesApiFactory = exports.ImagesApiFp = exports.ImagesApiAxiosParamCreator = exports.HospitalsApi = exports.HospitalsApiFactory = exports.HospitalsApiFp = exports.HospitalsApiAxiosParamCreator = exports.GroupChannelsApi = exports.GroupChannelsApiFactory = exports.GroupChannelsApiFp = exports.GroupChannelsApiAxiosParamCreator = exports.FaqsApi = exports.FaqsApiFactory = exports.FaqsApiFp = exports.FaqsApiAxiosParamCreator = exports.FaqCategoriesApi = exports.FaqCategoriesApiFactory = exports.FaqCategoriesApiFp = exports.FaqCategoriesApiAxiosParamCreator = exports.DoctorsApi = exports.DoctorsApiFactory = exports.DoctorsApiFp = exports.DoctorsApiAxiosParamCreator = exports.DoctorAffiliationsApi = exports.DoctorAffiliationsApiFactory = exports.DoctorAffiliationsApiFp = exports.DoctorAffiliationsApiAxiosParamCreator = exports.DealsApi = exports.DealsApiFactory = exports.DealsApiFp = exports.DealsApiAxiosParamCreator = exports.CountriesApi = exports.CountriesApiFactory =
|
|
83
|
-
exports.TagsApi = exports.TagsApiFactory = exports.TagsApiFp = exports.TagsApiAxiosParamCreator = exports.SpecialtyTypesApi = exports.SpecialtyTypesApiFactory = exports.SpecialtyTypesApiFp = exports.SpecialtyTypesApiAxiosParamCreator = exports.SpecialtiesApi = exports.SpecialtiesApiFactory = exports.SpecialtiesApiFp = exports.SpecialtiesApiAxiosParamCreator = exports.ServicesCategoriesApi = exports.ServicesCategoriesApiFactory = exports.ServicesCategoriesApiFp = exports.ServicesCategoriesApiAxiosParamCreator = exports.ServicesApi = exports.ServicesApiFactory = exports.ServicesApiFp = exports.ServicesApiAxiosParamCreator = exports.ServiceReviewsApi = exports.ServiceReviewsApiFactory = exports.ServiceReviewsApiFp = exports.ServiceReviewsApiAxiosParamCreator = exports.ProfilesApi = exports.ProfilesApiFactory = exports.ProfilesApiFp = exports.ProfilesApiAxiosParamCreator = exports.PlansApi = exports.PlansApiFactory = exports.PlansApiFp = exports.PlansApiAxiosParamCreator =
|
|
81
|
+
exports.CountriesApiFp = exports.CountriesApiAxiosParamCreator = exports.ContributorsApi = exports.ContributorsApiFactory = exports.ContributorsApiFp = exports.ContributorsApiAxiosParamCreator = exports.ConsultationsApi = exports.ConsultationsApiFactory = exports.ConsultationsApiFp = exports.ConsultationsApiAxiosParamCreator = exports.CommunicationsApi = exports.CommunicationsApiFactory = exports.CommunicationsApiFp = exports.CommunicationsApiAxiosParamCreator = exports.ChatUsersApi = exports.ChatUsersApiFactory = exports.ChatUsersApiFp = exports.ChatUsersApiAxiosParamCreator = exports.BookingsApi = exports.BookingsApiFactory = exports.BookingsApiFp = exports.BookingsApiAxiosParamCreator = exports.ArticlesApi = exports.ArticlesApiFactory = exports.ArticlesApiFp = exports.ArticlesApiAxiosParamCreator = exports.AccreditationsApi = exports.AccreditationsApiFactory = exports.AccreditationsApiFp = exports.AccreditationsApiAxiosParamCreator = exports.AboutUsApi = exports.AboutUsApiFactory = exports.AboutUsApiFp = exports.AboutUsApiAxiosParamCreator = exports.UserLocationType = exports.SortingOrder = exports.SnsType = exports.ReviewType = exports.RejectReason = exports.RefundPolicy = exports.RecurringInterval = exports.Procedure = exports.NotificationCode = exports.MediaType = exports.MarketingType = exports.Gender = exports.ContributionType = exports.ConsultationType = exports.ConsultationStatus = exports.BookingStatus = void 0;
|
|
82
|
+
exports.PatientsApi = exports.PatientsApiFactory = exports.PatientsApiFp = exports.PatientsApiAxiosParamCreator = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.MembershipsApi = exports.MembershipsApiFactory = exports.MembershipsApiFp = exports.MembershipsApiAxiosParamCreator = exports.LanguagesApi = exports.LanguagesApiFactory = exports.LanguagesApiFp = exports.LanguagesApiAxiosParamCreator = exports.ImagesApi = exports.ImagesApiFactory = exports.ImagesApiFp = exports.ImagesApiAxiosParamCreator = exports.HospitalsApi = exports.HospitalsApiFactory = exports.HospitalsApiFp = exports.HospitalsApiAxiosParamCreator = exports.GroupChannelsApi = exports.GroupChannelsApiFactory = exports.GroupChannelsApiFp = exports.GroupChannelsApiAxiosParamCreator = exports.FaqsApi = exports.FaqsApiFactory = exports.FaqsApiFp = exports.FaqsApiAxiosParamCreator = exports.FaqCategoriesApi = exports.FaqCategoriesApiFactory = exports.FaqCategoriesApiFp = exports.FaqCategoriesApiAxiosParamCreator = exports.DoctorsApi = exports.DoctorsApiFactory = exports.DoctorsApiFp = exports.DoctorsApiAxiosParamCreator = exports.DoctorAffiliationsApi = exports.DoctorAffiliationsApiFactory = exports.DoctorAffiliationsApiFp = exports.DoctorAffiliationsApiAxiosParamCreator = exports.DealsApi = exports.DealsApiFactory = exports.DealsApiFp = exports.DealsApiAxiosParamCreator = exports.CountriesApi = exports.CountriesApiFactory = void 0;
|
|
83
|
+
exports.TagsApi = exports.TagsApiFactory = exports.TagsApiFp = exports.TagsApiAxiosParamCreator = exports.SpecialtyTypesApi = exports.SpecialtyTypesApiFactory = exports.SpecialtyTypesApiFp = exports.SpecialtyTypesApiAxiosParamCreator = exports.SpecialtiesApi = exports.SpecialtiesApiFactory = exports.SpecialtiesApiFp = exports.SpecialtiesApiAxiosParamCreator = exports.ServicesCategoriesApi = exports.ServicesCategoriesApiFactory = exports.ServicesCategoriesApiFp = exports.ServicesCategoriesApiAxiosParamCreator = exports.ServicesApi = exports.ServicesApiFactory = exports.ServicesApiFp = exports.ServicesApiAxiosParamCreator = exports.ServiceReviewsApi = exports.ServiceReviewsApiFactory = exports.ServiceReviewsApiFp = exports.ServiceReviewsApiAxiosParamCreator = exports.ProfilesApi = exports.ProfilesApiFactory = exports.ProfilesApiFp = exports.ProfilesApiAxiosParamCreator = exports.PlansApi = exports.PlansApiFactory = exports.PlansApiFp = exports.PlansApiAxiosParamCreator = void 0;
|
|
84
84
|
var axios_1 = __importDefault(require("axios"));
|
|
85
85
|
// Some imports not used depending on template conditions
|
|
86
86
|
// @ts-ignore
|
|
87
87
|
var common_1 = require("./common");
|
|
88
88
|
// @ts-ignore
|
|
89
89
|
var base_1 = require("./base");
|
|
90
|
-
/**
|
|
91
|
-
*
|
|
92
|
-
* @export
|
|
93
|
-
* @enum {string}
|
|
94
|
-
*/
|
|
95
|
-
var ArticleStatus;
|
|
96
|
-
(function (ArticleStatus) {
|
|
97
|
-
ArticleStatus["Draft"] = "Draft";
|
|
98
|
-
ArticleStatus["Active"] = "Active";
|
|
99
|
-
ArticleStatus["Archived"] = "Archived";
|
|
100
|
-
})(ArticleStatus = exports.ArticleStatus || (exports.ArticleStatus = {}));
|
|
101
90
|
/**
|
|
102
91
|
*
|
|
103
92
|
* @export
|
|
@@ -1325,7 +1314,6 @@ var ArticlesApiAxiosParamCreator = function (configuration) {
|
|
|
1325
1314
|
* @param {string} [id]
|
|
1326
1315
|
* @param {string} [name]
|
|
1327
1316
|
* @param {string} [description]
|
|
1328
|
-
* @param {ArticleStatus} [status]
|
|
1329
1317
|
* @param {MarketingType} [marketingType]
|
|
1330
1318
|
* @param {string} [userId]
|
|
1331
1319
|
* @param {string} [userName]
|
|
@@ -1345,7 +1333,7 @@ var ArticlesApiAxiosParamCreator = function (configuration) {
|
|
|
1345
1333
|
* @param {*} [options] Override http request option.
|
|
1346
1334
|
* @throws {RequiredError}
|
|
1347
1335
|
*/
|
|
1348
|
-
apiV2ArticlesGet: function (id, name, description,
|
|
1336
|
+
apiV2ArticlesGet: function (id, name, description, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
1349
1337
|
if (options === void 0) { options = {}; }
|
|
1350
1338
|
return __awaiter(_this, void 0, void 0, function () {
|
|
1351
1339
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -1367,9 +1355,6 @@ var ArticlesApiAxiosParamCreator = function (configuration) {
|
|
|
1367
1355
|
if (description !== undefined) {
|
|
1368
1356
|
localVarQueryParameter['Description'] = description;
|
|
1369
1357
|
}
|
|
1370
|
-
if (status !== undefined) {
|
|
1371
|
-
localVarQueryParameter['Status'] = status;
|
|
1372
|
-
}
|
|
1373
1358
|
if (marketingType !== undefined) {
|
|
1374
1359
|
localVarQueryParameter['MarketingType'] = marketingType;
|
|
1375
1360
|
}
|
|
@@ -1694,7 +1679,6 @@ var ArticlesApiFp = function (configuration) {
|
|
|
1694
1679
|
* @param {string} [id]
|
|
1695
1680
|
* @param {string} [name]
|
|
1696
1681
|
* @param {string} [description]
|
|
1697
|
-
* @param {ArticleStatus} [status]
|
|
1698
1682
|
* @param {MarketingType} [marketingType]
|
|
1699
1683
|
* @param {string} [userId]
|
|
1700
1684
|
* @param {string} [userName]
|
|
@@ -1714,12 +1698,12 @@ var ArticlesApiFp = function (configuration) {
|
|
|
1714
1698
|
* @param {*} [options] Override http request option.
|
|
1715
1699
|
* @throws {RequiredError}
|
|
1716
1700
|
*/
|
|
1717
|
-
apiV2ArticlesGet: function (id, name, description,
|
|
1701
|
+
apiV2ArticlesGet: function (id, name, description, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
1718
1702
|
return __awaiter(this, void 0, void 0, function () {
|
|
1719
1703
|
var localVarAxiosArgs;
|
|
1720
1704
|
return __generator(this, function (_a) {
|
|
1721
1705
|
switch (_a.label) {
|
|
1722
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ArticlesGet(id, name, description,
|
|
1706
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ArticlesGet(id, name, description, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
1723
1707
|
case 1:
|
|
1724
1708
|
localVarAxiosArgs = _a.sent();
|
|
1725
1709
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -1882,7 +1866,6 @@ var ArticlesApiFactory = function (configuration, basePath, axios) {
|
|
|
1882
1866
|
* @param {string} [id]
|
|
1883
1867
|
* @param {string} [name]
|
|
1884
1868
|
* @param {string} [description]
|
|
1885
|
-
* @param {ArticleStatus} [status]
|
|
1886
1869
|
* @param {MarketingType} [marketingType]
|
|
1887
1870
|
* @param {string} [userId]
|
|
1888
1871
|
* @param {string} [userName]
|
|
@@ -1902,8 +1885,8 @@ var ArticlesApiFactory = function (configuration, basePath, axios) {
|
|
|
1902
1885
|
* @param {*} [options] Override http request option.
|
|
1903
1886
|
* @throws {RequiredError}
|
|
1904
1887
|
*/
|
|
1905
|
-
apiV2ArticlesGet: function (id, name, description,
|
|
1906
|
-
return localVarFp.apiV2ArticlesGet(id, name, description,
|
|
1888
|
+
apiV2ArticlesGet: function (id, name, description, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
1889
|
+
return localVarFp.apiV2ArticlesGet(id, name, description, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
1907
1890
|
},
|
|
1908
1891
|
/**
|
|
1909
1892
|
*
|
|
@@ -2072,7 +2055,6 @@ var ArticlesApi = /** @class */ (function (_super) {
|
|
|
2072
2055
|
* @param {string} [id]
|
|
2073
2056
|
* @param {string} [name]
|
|
2074
2057
|
* @param {string} [description]
|
|
2075
|
-
* @param {ArticleStatus} [status]
|
|
2076
2058
|
* @param {MarketingType} [marketingType]
|
|
2077
2059
|
* @param {string} [userId]
|
|
2078
2060
|
* @param {string} [userName]
|
|
@@ -2093,9 +2075,9 @@ var ArticlesApi = /** @class */ (function (_super) {
|
|
|
2093
2075
|
* @throws {RequiredError}
|
|
2094
2076
|
* @memberof ArticlesApi
|
|
2095
2077
|
*/
|
|
2096
|
-
ArticlesApi.prototype.apiV2ArticlesGet = function (id, name, description,
|
|
2078
|
+
ArticlesApi.prototype.apiV2ArticlesGet = function (id, name, description, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
2097
2079
|
var _this = this;
|
|
2098
|
-
return (0, exports.ArticlesApiFp)(this.configuration).apiV2ArticlesGet(id, name, description,
|
|
2080
|
+
return (0, exports.ArticlesApiFp)(this.configuration).apiV2ArticlesGet(id, name, description, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2099
2081
|
};
|
|
2100
2082
|
/**
|
|
2101
2083
|
*
|
|
@@ -2755,16 +2737,11 @@ var ChatUsersApiAxiosParamCreator = function (configuration) {
|
|
|
2755
2737
|
},
|
|
2756
2738
|
/**
|
|
2757
2739
|
*
|
|
2758
|
-
* @summary
|
|
2759
|
-
* @param {number} [limit]
|
|
2760
|
-
* @param {string} [token]
|
|
2761
|
-
* @param {string} [userIds]
|
|
2762
|
-
* @param {string} [nickname]
|
|
2763
|
-
* @param {string} [nicknameStartswith]
|
|
2740
|
+
* @summary Delete chatUser.
|
|
2764
2741
|
* @param {*} [options] Override http request option.
|
|
2765
2742
|
* @throws {RequiredError}
|
|
2766
2743
|
*/
|
|
2767
|
-
|
|
2744
|
+
apiV2ChatusersDelete: function (options) {
|
|
2768
2745
|
if (options === void 0) { options = {}; }
|
|
2769
2746
|
return __awaiter(_this, void 0, void 0, function () {
|
|
2770
2747
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -2776,7 +2753,7 @@ var ChatUsersApiAxiosParamCreator = function (configuration) {
|
|
|
2776
2753
|
if (configuration) {
|
|
2777
2754
|
baseOptions = configuration.baseOptions;
|
|
2778
2755
|
}
|
|
2779
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
2756
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
2780
2757
|
localVarHeaderParameter = {};
|
|
2781
2758
|
localVarQueryParameter = {};
|
|
2782
2759
|
// authentication oauth2 required
|
|
@@ -2786,21 +2763,6 @@ var ChatUsersApiAxiosParamCreator = function (configuration) {
|
|
|
2786
2763
|
// authentication oauth2 required
|
|
2787
2764
|
// oauth required
|
|
2788
2765
|
_a.sent();
|
|
2789
|
-
if (limit !== undefined) {
|
|
2790
|
-
localVarQueryParameter['Limit'] = limit;
|
|
2791
|
-
}
|
|
2792
|
-
if (token !== undefined) {
|
|
2793
|
-
localVarQueryParameter['Token'] = token;
|
|
2794
|
-
}
|
|
2795
|
-
if (userIds !== undefined) {
|
|
2796
|
-
localVarQueryParameter['UserIds'] = userIds;
|
|
2797
|
-
}
|
|
2798
|
-
if (nickname !== undefined) {
|
|
2799
|
-
localVarQueryParameter['Nickname'] = nickname;
|
|
2800
|
-
}
|
|
2801
|
-
if (nicknameStartswith !== undefined) {
|
|
2802
|
-
localVarQueryParameter['NicknameStartswith'] = nicknameStartswith;
|
|
2803
|
-
}
|
|
2804
2766
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2805
2767
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2806
2768
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2814,12 +2776,16 @@ var ChatUsersApiAxiosParamCreator = function (configuration) {
|
|
|
2814
2776
|
},
|
|
2815
2777
|
/**
|
|
2816
2778
|
*
|
|
2817
|
-
* @summary
|
|
2818
|
-
* @param {
|
|
2779
|
+
* @summary Get all chatUsers.
|
|
2780
|
+
* @param {number} [limit]
|
|
2781
|
+
* @param {string} [token]
|
|
2782
|
+
* @param {string} [userIds]
|
|
2783
|
+
* @param {string} [nickname]
|
|
2784
|
+
* @param {string} [nicknameStartswith]
|
|
2819
2785
|
* @param {*} [options] Override http request option.
|
|
2820
2786
|
* @throws {RequiredError}
|
|
2821
2787
|
*/
|
|
2822
|
-
|
|
2788
|
+
apiV2ChatusersGet: function (limit, token, userIds, nickname, nicknameStartswith, options) {
|
|
2823
2789
|
if (options === void 0) { options = {}; }
|
|
2824
2790
|
return __awaiter(_this, void 0, void 0, function () {
|
|
2825
2791
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -2831,7 +2797,7 @@ var ChatUsersApiAxiosParamCreator = function (configuration) {
|
|
|
2831
2797
|
if (configuration) {
|
|
2832
2798
|
baseOptions = configuration.baseOptions;
|
|
2833
2799
|
}
|
|
2834
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
2800
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
2835
2801
|
localVarHeaderParameter = {};
|
|
2836
2802
|
localVarQueryParameter = {};
|
|
2837
2803
|
// authentication oauth2 required
|
|
@@ -2841,11 +2807,24 @@ var ChatUsersApiAxiosParamCreator = function (configuration) {
|
|
|
2841
2807
|
// authentication oauth2 required
|
|
2842
2808
|
// oauth required
|
|
2843
2809
|
_a.sent();
|
|
2844
|
-
|
|
2810
|
+
if (limit !== undefined) {
|
|
2811
|
+
localVarQueryParameter['Limit'] = limit;
|
|
2812
|
+
}
|
|
2813
|
+
if (token !== undefined) {
|
|
2814
|
+
localVarQueryParameter['Token'] = token;
|
|
2815
|
+
}
|
|
2816
|
+
if (userIds !== undefined) {
|
|
2817
|
+
localVarQueryParameter['UserIds'] = userIds;
|
|
2818
|
+
}
|
|
2819
|
+
if (nickname !== undefined) {
|
|
2820
|
+
localVarQueryParameter['Nickname'] = nickname;
|
|
2821
|
+
}
|
|
2822
|
+
if (nicknameStartswith !== undefined) {
|
|
2823
|
+
localVarQueryParameter['NicknameStartswith'] = nicknameStartswith;
|
|
2824
|
+
}
|
|
2845
2825
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2846
2826
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2847
2827
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2848
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createChatUserCommand, localVarRequestOptions, configuration);
|
|
2849
2828
|
return [2 /*return*/, {
|
|
2850
2829
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2851
2830
|
options: localVarRequestOptions,
|
|
@@ -2856,27 +2835,24 @@ var ChatUsersApiAxiosParamCreator = function (configuration) {
|
|
|
2856
2835
|
},
|
|
2857
2836
|
/**
|
|
2858
2837
|
*
|
|
2859
|
-
* @summary
|
|
2860
|
-
* @param {
|
|
2838
|
+
* @summary Create a chatUser.
|
|
2839
|
+
* @param {CreateChatUserCommand} [createChatUserCommand]
|
|
2861
2840
|
* @param {*} [options] Override http request option.
|
|
2862
2841
|
* @throws {RequiredError}
|
|
2863
2842
|
*/
|
|
2864
|
-
|
|
2843
|
+
apiV2ChatusersPost: function (createChatUserCommand, options) {
|
|
2865
2844
|
if (options === void 0) { options = {}; }
|
|
2866
2845
|
return __awaiter(_this, void 0, void 0, function () {
|
|
2867
2846
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
2868
2847
|
return __generator(this, function (_a) {
|
|
2869
2848
|
switch (_a.label) {
|
|
2870
2849
|
case 0:
|
|
2871
|
-
|
|
2872
|
-
(0, common_1.assertParamExists)('apiV2ChatusersUserIdDelete', 'userId', userId);
|
|
2873
|
-
localVarPath = "/api/v2/chatusers/{userId}"
|
|
2874
|
-
.replace("{".concat("userId", "}"), encodeURIComponent(String(userId)));
|
|
2850
|
+
localVarPath = "/api/v2/chatusers";
|
|
2875
2851
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2876
2852
|
if (configuration) {
|
|
2877
2853
|
baseOptions = configuration.baseOptions;
|
|
2878
2854
|
}
|
|
2879
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
2855
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
2880
2856
|
localVarHeaderParameter = {};
|
|
2881
2857
|
localVarQueryParameter = {};
|
|
2882
2858
|
// authentication oauth2 required
|
|
@@ -2886,9 +2862,11 @@ var ChatUsersApiAxiosParamCreator = function (configuration) {
|
|
|
2886
2862
|
// authentication oauth2 required
|
|
2887
2863
|
// oauth required
|
|
2888
2864
|
_a.sent();
|
|
2865
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2889
2866
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2890
2867
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2891
2868
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2869
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createChatUserCommand, localVarRequestOptions, configuration);
|
|
2892
2870
|
return [2 /*return*/, {
|
|
2893
2871
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2894
2872
|
options: localVarRequestOptions,
|
|
@@ -2899,27 +2877,24 @@ var ChatUsersApiAxiosParamCreator = function (configuration) {
|
|
|
2899
2877
|
},
|
|
2900
2878
|
/**
|
|
2901
2879
|
*
|
|
2902
|
-
* @summary
|
|
2903
|
-
* @param {
|
|
2880
|
+
* @summary Update chatUser.
|
|
2881
|
+
* @param {UpdateChatUserCommand} [updateChatUserCommand]
|
|
2904
2882
|
* @param {*} [options] Override http request option.
|
|
2905
2883
|
* @throws {RequiredError}
|
|
2906
2884
|
*/
|
|
2907
|
-
|
|
2885
|
+
apiV2ChatusersPut: function (updateChatUserCommand, options) {
|
|
2908
2886
|
if (options === void 0) { options = {}; }
|
|
2909
2887
|
return __awaiter(_this, void 0, void 0, function () {
|
|
2910
2888
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
2911
2889
|
return __generator(this, function (_a) {
|
|
2912
2890
|
switch (_a.label) {
|
|
2913
2891
|
case 0:
|
|
2914
|
-
|
|
2915
|
-
(0, common_1.assertParamExists)('apiV2ChatusersUserIdGet', 'userId', userId);
|
|
2916
|
-
localVarPath = "/api/v2/chatusers/{userId}"
|
|
2917
|
-
.replace("{".concat("userId", "}"), encodeURIComponent(String(userId)));
|
|
2892
|
+
localVarPath = "/api/v2/chatusers";
|
|
2918
2893
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2919
2894
|
if (configuration) {
|
|
2920
2895
|
baseOptions = configuration.baseOptions;
|
|
2921
2896
|
}
|
|
2922
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
2897
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
2923
2898
|
localVarHeaderParameter = {};
|
|
2924
2899
|
localVarQueryParameter = {};
|
|
2925
2900
|
// authentication oauth2 required
|
|
@@ -2929,9 +2904,11 @@ var ChatUsersApiAxiosParamCreator = function (configuration) {
|
|
|
2929
2904
|
// authentication oauth2 required
|
|
2930
2905
|
// oauth required
|
|
2931
2906
|
_a.sent();
|
|
2907
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2932
2908
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2933
2909
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2934
2910
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2911
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateChatUserCommand, localVarRequestOptions, configuration);
|
|
2935
2912
|
return [2 /*return*/, {
|
|
2936
2913
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2937
2914
|
options: localVarRequestOptions,
|
|
@@ -2942,13 +2919,12 @@ var ChatUsersApiAxiosParamCreator = function (configuration) {
|
|
|
2942
2919
|
},
|
|
2943
2920
|
/**
|
|
2944
2921
|
*
|
|
2945
|
-
* @summary
|
|
2922
|
+
* @summary Get chatUser.
|
|
2946
2923
|
* @param {string} userId
|
|
2947
|
-
* @param {UpdateChatUserCommand} [updateChatUserCommand]
|
|
2948
2924
|
* @param {*} [options] Override http request option.
|
|
2949
2925
|
* @throws {RequiredError}
|
|
2950
2926
|
*/
|
|
2951
|
-
|
|
2927
|
+
apiV2ChatusersUserIdGet: function (userId, options) {
|
|
2952
2928
|
if (options === void 0) { options = {}; }
|
|
2953
2929
|
return __awaiter(_this, void 0, void 0, function () {
|
|
2954
2930
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -2956,14 +2932,14 @@ var ChatUsersApiAxiosParamCreator = function (configuration) {
|
|
|
2956
2932
|
switch (_a.label) {
|
|
2957
2933
|
case 0:
|
|
2958
2934
|
// verify required parameter 'userId' is not null or undefined
|
|
2959
|
-
(0, common_1.assertParamExists)('
|
|
2935
|
+
(0, common_1.assertParamExists)('apiV2ChatusersUserIdGet', 'userId', userId);
|
|
2960
2936
|
localVarPath = "/api/v2/chatusers/{userId}"
|
|
2961
2937
|
.replace("{".concat("userId", "}"), encodeURIComponent(String(userId)));
|
|
2962
2938
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2963
2939
|
if (configuration) {
|
|
2964
2940
|
baseOptions = configuration.baseOptions;
|
|
2965
2941
|
}
|
|
2966
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
2942
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
2967
2943
|
localVarHeaderParameter = {};
|
|
2968
2944
|
localVarQueryParameter = {};
|
|
2969
2945
|
// authentication oauth2 required
|
|
@@ -2973,11 +2949,9 @@ var ChatUsersApiAxiosParamCreator = function (configuration) {
|
|
|
2973
2949
|
// authentication oauth2 required
|
|
2974
2950
|
// oauth required
|
|
2975
2951
|
_a.sent();
|
|
2976
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2977
2952
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2978
2953
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2979
2954
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2980
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateChatUserCommand, localVarRequestOptions, configuration);
|
|
2981
2955
|
return [2 /*return*/, {
|
|
2982
2956
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2983
2957
|
options: localVarRequestOptions,
|
|
@@ -3016,21 +2990,16 @@ var ChatUsersApiFp = function (configuration) {
|
|
|
3016
2990
|
},
|
|
3017
2991
|
/**
|
|
3018
2992
|
*
|
|
3019
|
-
* @summary
|
|
3020
|
-
* @param {number} [limit]
|
|
3021
|
-
* @param {string} [token]
|
|
3022
|
-
* @param {string} [userIds]
|
|
3023
|
-
* @param {string} [nickname]
|
|
3024
|
-
* @param {string} [nicknameStartswith]
|
|
2993
|
+
* @summary Delete chatUser.
|
|
3025
2994
|
* @param {*} [options] Override http request option.
|
|
3026
2995
|
* @throws {RequiredError}
|
|
3027
2996
|
*/
|
|
3028
|
-
|
|
2997
|
+
apiV2ChatusersDelete: function (options) {
|
|
3029
2998
|
return __awaiter(this, void 0, void 0, function () {
|
|
3030
2999
|
var localVarAxiosArgs;
|
|
3031
3000
|
return __generator(this, function (_a) {
|
|
3032
3001
|
switch (_a.label) {
|
|
3033
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
3002
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ChatusersDelete(options)];
|
|
3034
3003
|
case 1:
|
|
3035
3004
|
localVarAxiosArgs = _a.sent();
|
|
3036
3005
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -3040,17 +3009,21 @@ var ChatUsersApiFp = function (configuration) {
|
|
|
3040
3009
|
},
|
|
3041
3010
|
/**
|
|
3042
3011
|
*
|
|
3043
|
-
* @summary
|
|
3044
|
-
* @param {
|
|
3012
|
+
* @summary Get all chatUsers.
|
|
3013
|
+
* @param {number} [limit]
|
|
3014
|
+
* @param {string} [token]
|
|
3015
|
+
* @param {string} [userIds]
|
|
3016
|
+
* @param {string} [nickname]
|
|
3017
|
+
* @param {string} [nicknameStartswith]
|
|
3045
3018
|
* @param {*} [options] Override http request option.
|
|
3046
3019
|
* @throws {RequiredError}
|
|
3047
3020
|
*/
|
|
3048
|
-
|
|
3021
|
+
apiV2ChatusersGet: function (limit, token, userIds, nickname, nicknameStartswith, options) {
|
|
3049
3022
|
return __awaiter(this, void 0, void 0, function () {
|
|
3050
3023
|
var localVarAxiosArgs;
|
|
3051
3024
|
return __generator(this, function (_a) {
|
|
3052
3025
|
switch (_a.label) {
|
|
3053
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
3026
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ChatusersGet(limit, token, userIds, nickname, nicknameStartswith, options)];
|
|
3054
3027
|
case 1:
|
|
3055
3028
|
localVarAxiosArgs = _a.sent();
|
|
3056
3029
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -3060,17 +3033,17 @@ var ChatUsersApiFp = function (configuration) {
|
|
|
3060
3033
|
},
|
|
3061
3034
|
/**
|
|
3062
3035
|
*
|
|
3063
|
-
* @summary
|
|
3064
|
-
* @param {
|
|
3036
|
+
* @summary Create a chatUser.
|
|
3037
|
+
* @param {CreateChatUserCommand} [createChatUserCommand]
|
|
3065
3038
|
* @param {*} [options] Override http request option.
|
|
3066
3039
|
* @throws {RequiredError}
|
|
3067
3040
|
*/
|
|
3068
|
-
|
|
3041
|
+
apiV2ChatusersPost: function (createChatUserCommand, options) {
|
|
3069
3042
|
return __awaiter(this, void 0, void 0, function () {
|
|
3070
3043
|
var localVarAxiosArgs;
|
|
3071
3044
|
return __generator(this, function (_a) {
|
|
3072
3045
|
switch (_a.label) {
|
|
3073
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
3046
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ChatusersPost(createChatUserCommand, options)];
|
|
3074
3047
|
case 1:
|
|
3075
3048
|
localVarAxiosArgs = _a.sent();
|
|
3076
3049
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -3080,17 +3053,17 @@ var ChatUsersApiFp = function (configuration) {
|
|
|
3080
3053
|
},
|
|
3081
3054
|
/**
|
|
3082
3055
|
*
|
|
3083
|
-
* @summary
|
|
3084
|
-
* @param {
|
|
3056
|
+
* @summary Update chatUser.
|
|
3057
|
+
* @param {UpdateChatUserCommand} [updateChatUserCommand]
|
|
3085
3058
|
* @param {*} [options] Override http request option.
|
|
3086
3059
|
* @throws {RequiredError}
|
|
3087
3060
|
*/
|
|
3088
|
-
|
|
3061
|
+
apiV2ChatusersPut: function (updateChatUserCommand, options) {
|
|
3089
3062
|
return __awaiter(this, void 0, void 0, function () {
|
|
3090
3063
|
var localVarAxiosArgs;
|
|
3091
3064
|
return __generator(this, function (_a) {
|
|
3092
3065
|
switch (_a.label) {
|
|
3093
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
3066
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ChatusersPut(updateChatUserCommand, options)];
|
|
3094
3067
|
case 1:
|
|
3095
3068
|
localVarAxiosArgs = _a.sent();
|
|
3096
3069
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -3100,18 +3073,17 @@ var ChatUsersApiFp = function (configuration) {
|
|
|
3100
3073
|
},
|
|
3101
3074
|
/**
|
|
3102
3075
|
*
|
|
3103
|
-
* @summary
|
|
3076
|
+
* @summary Get chatUser.
|
|
3104
3077
|
* @param {string} userId
|
|
3105
|
-
* @param {UpdateChatUserCommand} [updateChatUserCommand]
|
|
3106
3078
|
* @param {*} [options] Override http request option.
|
|
3107
3079
|
* @throws {RequiredError}
|
|
3108
3080
|
*/
|
|
3109
|
-
|
|
3081
|
+
apiV2ChatusersUserIdGet: function (userId, options) {
|
|
3110
3082
|
return __awaiter(this, void 0, void 0, function () {
|
|
3111
3083
|
var localVarAxiosArgs;
|
|
3112
3084
|
return __generator(this, function (_a) {
|
|
3113
3085
|
switch (_a.label) {
|
|
3114
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
3086
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ChatusersUserIdGet(userId, options)];
|
|
3115
3087
|
case 1:
|
|
3116
3088
|
localVarAxiosArgs = _a.sent();
|
|
3117
3089
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -3137,6 +3109,15 @@ var ChatUsersApiFactory = function (configuration, basePath, axios) {
|
|
|
3137
3109
|
apiV2ChatusersCurrentGet: function (options) {
|
|
3138
3110
|
return localVarFp.apiV2ChatusersCurrentGet(options).then(function (request) { return request(axios, basePath); });
|
|
3139
3111
|
},
|
|
3112
|
+
/**
|
|
3113
|
+
*
|
|
3114
|
+
* @summary Delete chatUser.
|
|
3115
|
+
* @param {*} [options] Override http request option.
|
|
3116
|
+
* @throws {RequiredError}
|
|
3117
|
+
*/
|
|
3118
|
+
apiV2ChatusersDelete: function (options) {
|
|
3119
|
+
return localVarFp.apiV2ChatusersDelete(options).then(function (request) { return request(axios, basePath); });
|
|
3120
|
+
},
|
|
3140
3121
|
/**
|
|
3141
3122
|
*
|
|
3142
3123
|
* @summary Get all chatUsers.
|
|
@@ -3163,13 +3144,13 @@ var ChatUsersApiFactory = function (configuration, basePath, axios) {
|
|
|
3163
3144
|
},
|
|
3164
3145
|
/**
|
|
3165
3146
|
*
|
|
3166
|
-
* @summary
|
|
3167
|
-
* @param {
|
|
3147
|
+
* @summary Update chatUser.
|
|
3148
|
+
* @param {UpdateChatUserCommand} [updateChatUserCommand]
|
|
3168
3149
|
* @param {*} [options] Override http request option.
|
|
3169
3150
|
* @throws {RequiredError}
|
|
3170
3151
|
*/
|
|
3171
|
-
|
|
3172
|
-
return localVarFp.
|
|
3152
|
+
apiV2ChatusersPut: function (updateChatUserCommand, options) {
|
|
3153
|
+
return localVarFp.apiV2ChatusersPut(updateChatUserCommand, options).then(function (request) { return request(axios, basePath); });
|
|
3173
3154
|
},
|
|
3174
3155
|
/**
|
|
3175
3156
|
*
|
|
@@ -3181,17 +3162,6 @@ var ChatUsersApiFactory = function (configuration, basePath, axios) {
|
|
|
3181
3162
|
apiV2ChatusersUserIdGet: function (userId, options) {
|
|
3182
3163
|
return localVarFp.apiV2ChatusersUserIdGet(userId, options).then(function (request) { return request(axios, basePath); });
|
|
3183
3164
|
},
|
|
3184
|
-
/**
|
|
3185
|
-
*
|
|
3186
|
-
* @summary Update chatUser.
|
|
3187
|
-
* @param {string} userId
|
|
3188
|
-
* @param {UpdateChatUserCommand} [updateChatUserCommand]
|
|
3189
|
-
* @param {*} [options] Override http request option.
|
|
3190
|
-
* @throws {RequiredError}
|
|
3191
|
-
*/
|
|
3192
|
-
apiV2ChatusersUserIdPut: function (userId, updateChatUserCommand, options) {
|
|
3193
|
-
return localVarFp.apiV2ChatusersUserIdPut(userId, updateChatUserCommand, options).then(function (request) { return request(axios, basePath); });
|
|
3194
|
-
},
|
|
3195
3165
|
};
|
|
3196
3166
|
};
|
|
3197
3167
|
exports.ChatUsersApiFactory = ChatUsersApiFactory;
|
|
@@ -3216,6 +3186,17 @@ var ChatUsersApi = /** @class */ (function (_super) {
|
|
|
3216
3186
|
var _this = this;
|
|
3217
3187
|
return (0, exports.ChatUsersApiFp)(this.configuration).apiV2ChatusersCurrentGet(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3218
3188
|
};
|
|
3189
|
+
/**
|
|
3190
|
+
*
|
|
3191
|
+
* @summary Delete chatUser.
|
|
3192
|
+
* @param {*} [options] Override http request option.
|
|
3193
|
+
* @throws {RequiredError}
|
|
3194
|
+
* @memberof ChatUsersApi
|
|
3195
|
+
*/
|
|
3196
|
+
ChatUsersApi.prototype.apiV2ChatusersDelete = function (options) {
|
|
3197
|
+
var _this = this;
|
|
3198
|
+
return (0, exports.ChatUsersApiFp)(this.configuration).apiV2ChatusersDelete(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3199
|
+
};
|
|
3219
3200
|
/**
|
|
3220
3201
|
*
|
|
3221
3202
|
* @summary Get all chatUsers.
|
|
@@ -3246,15 +3227,15 @@ var ChatUsersApi = /** @class */ (function (_super) {
|
|
|
3246
3227
|
};
|
|
3247
3228
|
/**
|
|
3248
3229
|
*
|
|
3249
|
-
* @summary
|
|
3250
|
-
* @param {
|
|
3230
|
+
* @summary Update chatUser.
|
|
3231
|
+
* @param {UpdateChatUserCommand} [updateChatUserCommand]
|
|
3251
3232
|
* @param {*} [options] Override http request option.
|
|
3252
3233
|
* @throws {RequiredError}
|
|
3253
3234
|
* @memberof ChatUsersApi
|
|
3254
3235
|
*/
|
|
3255
|
-
ChatUsersApi.prototype.
|
|
3236
|
+
ChatUsersApi.prototype.apiV2ChatusersPut = function (updateChatUserCommand, options) {
|
|
3256
3237
|
var _this = this;
|
|
3257
|
-
return (0, exports.ChatUsersApiFp)(this.configuration).
|
|
3238
|
+
return (0, exports.ChatUsersApiFp)(this.configuration).apiV2ChatusersPut(updateChatUserCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3258
3239
|
};
|
|
3259
3240
|
/**
|
|
3260
3241
|
*
|
|
@@ -3268,19 +3249,6 @@ var ChatUsersApi = /** @class */ (function (_super) {
|
|
|
3268
3249
|
var _this = this;
|
|
3269
3250
|
return (0, exports.ChatUsersApiFp)(this.configuration).apiV2ChatusersUserIdGet(userId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3270
3251
|
};
|
|
3271
|
-
/**
|
|
3272
|
-
*
|
|
3273
|
-
* @summary Update chatUser.
|
|
3274
|
-
* @param {string} userId
|
|
3275
|
-
* @param {UpdateChatUserCommand} [updateChatUserCommand]
|
|
3276
|
-
* @param {*} [options] Override http request option.
|
|
3277
|
-
* @throws {RequiredError}
|
|
3278
|
-
* @memberof ChatUsersApi
|
|
3279
|
-
*/
|
|
3280
|
-
ChatUsersApi.prototype.apiV2ChatusersUserIdPut = function (userId, updateChatUserCommand, options) {
|
|
3281
|
-
var _this = this;
|
|
3282
|
-
return (0, exports.ChatUsersApiFp)(this.configuration).apiV2ChatusersUserIdPut(userId, updateChatUserCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3283
|
-
};
|
|
3284
3252
|
return ChatUsersApi;
|
|
3285
3253
|
}(base_1.BaseAPI));
|
|
3286
3254
|
exports.ChatUsersApi = ChatUsersApi;
|
|
@@ -6391,6 +6359,98 @@ exports.DealsApi = DealsApi;
|
|
|
6391
6359
|
var DoctorAffiliationsApiAxiosParamCreator = function (configuration) {
|
|
6392
6360
|
var _this = this;
|
|
6393
6361
|
return {
|
|
6362
|
+
/**
|
|
6363
|
+
*
|
|
6364
|
+
* @summary Get all DoctorAffiliationMedias.
|
|
6365
|
+
* @param {string} doctorAffiliationId
|
|
6366
|
+
* @param {string} [id]
|
|
6367
|
+
* @param {MediaType} [mediaType]
|
|
6368
|
+
* @param {number} [page]
|
|
6369
|
+
* @param {number} [limit]
|
|
6370
|
+
* @param {Date} [lastRetrieved]
|
|
6371
|
+
* @param {*} [options] Override http request option.
|
|
6372
|
+
* @throws {RequiredError}
|
|
6373
|
+
*/
|
|
6374
|
+
apiV2DoctoraffiliationsDoctorAffiliationIdMediasGet: function (doctorAffiliationId, id, mediaType, page, limit, lastRetrieved, options) {
|
|
6375
|
+
if (options === void 0) { options = {}; }
|
|
6376
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
6377
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
6378
|
+
return __generator(this, function (_a) {
|
|
6379
|
+
// verify required parameter 'doctorAffiliationId' is not null or undefined
|
|
6380
|
+
(0, common_1.assertParamExists)('apiV2DoctoraffiliationsDoctorAffiliationIdMediasGet', 'doctorAffiliationId', doctorAffiliationId);
|
|
6381
|
+
localVarPath = "/api/v2/doctoraffiliations/{doctorAffiliationId}/medias"
|
|
6382
|
+
.replace("{".concat("doctorAffiliationId", "}"), encodeURIComponent(String(doctorAffiliationId)));
|
|
6383
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6384
|
+
if (configuration) {
|
|
6385
|
+
baseOptions = configuration.baseOptions;
|
|
6386
|
+
}
|
|
6387
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
6388
|
+
localVarHeaderParameter = {};
|
|
6389
|
+
localVarQueryParameter = {};
|
|
6390
|
+
if (id !== undefined) {
|
|
6391
|
+
localVarQueryParameter['Id'] = id;
|
|
6392
|
+
}
|
|
6393
|
+
if (mediaType !== undefined) {
|
|
6394
|
+
localVarQueryParameter['MediaType'] = mediaType;
|
|
6395
|
+
}
|
|
6396
|
+
if (page !== undefined) {
|
|
6397
|
+
localVarQueryParameter['page'] = page;
|
|
6398
|
+
}
|
|
6399
|
+
if (limit !== undefined) {
|
|
6400
|
+
localVarQueryParameter['limit'] = limit;
|
|
6401
|
+
}
|
|
6402
|
+
if (lastRetrieved !== undefined) {
|
|
6403
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
6404
|
+
lastRetrieved.toISOString() :
|
|
6405
|
+
lastRetrieved;
|
|
6406
|
+
}
|
|
6407
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6408
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6409
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6410
|
+
return [2 /*return*/, {
|
|
6411
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
6412
|
+
options: localVarRequestOptions,
|
|
6413
|
+
}];
|
|
6414
|
+
});
|
|
6415
|
+
});
|
|
6416
|
+
},
|
|
6417
|
+
/**
|
|
6418
|
+
*
|
|
6419
|
+
* @summary Get DoctorAffiliationMedia.
|
|
6420
|
+
* @param {string} doctorAffiliationId
|
|
6421
|
+
* @param {string} mediaId
|
|
6422
|
+
* @param {*} [options] Override http request option.
|
|
6423
|
+
* @throws {RequiredError}
|
|
6424
|
+
*/
|
|
6425
|
+
apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet: function (doctorAffiliationId, mediaId, options) {
|
|
6426
|
+
if (options === void 0) { options = {}; }
|
|
6427
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
6428
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
6429
|
+
return __generator(this, function (_a) {
|
|
6430
|
+
// verify required parameter 'doctorAffiliationId' is not null or undefined
|
|
6431
|
+
(0, common_1.assertParamExists)('apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet', 'doctorAffiliationId', doctorAffiliationId);
|
|
6432
|
+
// verify required parameter 'mediaId' is not null or undefined
|
|
6433
|
+
(0, common_1.assertParamExists)('apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet', 'mediaId', mediaId);
|
|
6434
|
+
localVarPath = "/api/v2/doctoraffiliations/{doctorAffiliationId}/medias/{mediaId}"
|
|
6435
|
+
.replace("{".concat("doctorAffiliationId", "}"), encodeURIComponent(String(doctorAffiliationId)))
|
|
6436
|
+
.replace("{".concat("mediaId", "}"), encodeURIComponent(String(mediaId)));
|
|
6437
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6438
|
+
if (configuration) {
|
|
6439
|
+
baseOptions = configuration.baseOptions;
|
|
6440
|
+
}
|
|
6441
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
6442
|
+
localVarHeaderParameter = {};
|
|
6443
|
+
localVarQueryParameter = {};
|
|
6444
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6445
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6446
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6447
|
+
return [2 /*return*/, {
|
|
6448
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
6449
|
+
options: localVarRequestOptions,
|
|
6450
|
+
}];
|
|
6451
|
+
});
|
|
6452
|
+
});
|
|
6453
|
+
},
|
|
6394
6454
|
/**
|
|
6395
6455
|
*
|
|
6396
6456
|
* @summary Get all doctor affiliations.
|
|
@@ -6553,6 +6613,52 @@ exports.DoctorAffiliationsApiAxiosParamCreator = DoctorAffiliationsApiAxiosParam
|
|
|
6553
6613
|
var DoctorAffiliationsApiFp = function (configuration) {
|
|
6554
6614
|
var localVarAxiosParamCreator = (0, exports.DoctorAffiliationsApiAxiosParamCreator)(configuration);
|
|
6555
6615
|
return {
|
|
6616
|
+
/**
|
|
6617
|
+
*
|
|
6618
|
+
* @summary Get all DoctorAffiliationMedias.
|
|
6619
|
+
* @param {string} doctorAffiliationId
|
|
6620
|
+
* @param {string} [id]
|
|
6621
|
+
* @param {MediaType} [mediaType]
|
|
6622
|
+
* @param {number} [page]
|
|
6623
|
+
* @param {number} [limit]
|
|
6624
|
+
* @param {Date} [lastRetrieved]
|
|
6625
|
+
* @param {*} [options] Override http request option.
|
|
6626
|
+
* @throws {RequiredError}
|
|
6627
|
+
*/
|
|
6628
|
+
apiV2DoctoraffiliationsDoctorAffiliationIdMediasGet: function (doctorAffiliationId, id, mediaType, page, limit, lastRetrieved, options) {
|
|
6629
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
6630
|
+
var localVarAxiosArgs;
|
|
6631
|
+
return __generator(this, function (_a) {
|
|
6632
|
+
switch (_a.label) {
|
|
6633
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctoraffiliationsDoctorAffiliationIdMediasGet(doctorAffiliationId, id, mediaType, page, limit, lastRetrieved, options)];
|
|
6634
|
+
case 1:
|
|
6635
|
+
localVarAxiosArgs = _a.sent();
|
|
6636
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
6637
|
+
}
|
|
6638
|
+
});
|
|
6639
|
+
});
|
|
6640
|
+
},
|
|
6641
|
+
/**
|
|
6642
|
+
*
|
|
6643
|
+
* @summary Get DoctorAffiliationMedia.
|
|
6644
|
+
* @param {string} doctorAffiliationId
|
|
6645
|
+
* @param {string} mediaId
|
|
6646
|
+
* @param {*} [options] Override http request option.
|
|
6647
|
+
* @throws {RequiredError}
|
|
6648
|
+
*/
|
|
6649
|
+
apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet: function (doctorAffiliationId, mediaId, options) {
|
|
6650
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
6651
|
+
var localVarAxiosArgs;
|
|
6652
|
+
return __generator(this, function (_a) {
|
|
6653
|
+
switch (_a.label) {
|
|
6654
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet(doctorAffiliationId, mediaId, options)];
|
|
6655
|
+
case 1:
|
|
6656
|
+
localVarAxiosArgs = _a.sent();
|
|
6657
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
6658
|
+
}
|
|
6659
|
+
});
|
|
6660
|
+
});
|
|
6661
|
+
},
|
|
6556
6662
|
/**
|
|
6557
6663
|
*
|
|
6558
6664
|
* @summary Get all doctor affiliations.
|
|
@@ -6635,6 +6741,32 @@ exports.DoctorAffiliationsApiFp = DoctorAffiliationsApiFp;
|
|
|
6635
6741
|
var DoctorAffiliationsApiFactory = function (configuration, basePath, axios) {
|
|
6636
6742
|
var localVarFp = (0, exports.DoctorAffiliationsApiFp)(configuration);
|
|
6637
6743
|
return {
|
|
6744
|
+
/**
|
|
6745
|
+
*
|
|
6746
|
+
* @summary Get all DoctorAffiliationMedias.
|
|
6747
|
+
* @param {string} doctorAffiliationId
|
|
6748
|
+
* @param {string} [id]
|
|
6749
|
+
* @param {MediaType} [mediaType]
|
|
6750
|
+
* @param {number} [page]
|
|
6751
|
+
* @param {number} [limit]
|
|
6752
|
+
* @param {Date} [lastRetrieved]
|
|
6753
|
+
* @param {*} [options] Override http request option.
|
|
6754
|
+
* @throws {RequiredError}
|
|
6755
|
+
*/
|
|
6756
|
+
apiV2DoctoraffiliationsDoctorAffiliationIdMediasGet: function (doctorAffiliationId, id, mediaType, page, limit, lastRetrieved, options) {
|
|
6757
|
+
return localVarFp.apiV2DoctoraffiliationsDoctorAffiliationIdMediasGet(doctorAffiliationId, id, mediaType, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
6758
|
+
},
|
|
6759
|
+
/**
|
|
6760
|
+
*
|
|
6761
|
+
* @summary Get DoctorAffiliationMedia.
|
|
6762
|
+
* @param {string} doctorAffiliationId
|
|
6763
|
+
* @param {string} mediaId
|
|
6764
|
+
* @param {*} [options] Override http request option.
|
|
6765
|
+
* @throws {RequiredError}
|
|
6766
|
+
*/
|
|
6767
|
+
apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet: function (doctorAffiliationId, mediaId, options) {
|
|
6768
|
+
return localVarFp.apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet(doctorAffiliationId, mediaId, options).then(function (request) { return request(axios, basePath); });
|
|
6769
|
+
},
|
|
6638
6770
|
/**
|
|
6639
6771
|
*
|
|
6640
6772
|
* @summary Get all doctor affiliations.
|
|
@@ -6691,6 +6823,36 @@ var DoctorAffiliationsApi = /** @class */ (function (_super) {
|
|
|
6691
6823
|
function DoctorAffiliationsApi() {
|
|
6692
6824
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
6693
6825
|
}
|
|
6826
|
+
/**
|
|
6827
|
+
*
|
|
6828
|
+
* @summary Get all DoctorAffiliationMedias.
|
|
6829
|
+
* @param {string} doctorAffiliationId
|
|
6830
|
+
* @param {string} [id]
|
|
6831
|
+
* @param {MediaType} [mediaType]
|
|
6832
|
+
* @param {number} [page]
|
|
6833
|
+
* @param {number} [limit]
|
|
6834
|
+
* @param {Date} [lastRetrieved]
|
|
6835
|
+
* @param {*} [options] Override http request option.
|
|
6836
|
+
* @throws {RequiredError}
|
|
6837
|
+
* @memberof DoctorAffiliationsApi
|
|
6838
|
+
*/
|
|
6839
|
+
DoctorAffiliationsApi.prototype.apiV2DoctoraffiliationsDoctorAffiliationIdMediasGet = function (doctorAffiliationId, id, mediaType, page, limit, lastRetrieved, options) {
|
|
6840
|
+
var _this = this;
|
|
6841
|
+
return (0, exports.DoctorAffiliationsApiFp)(this.configuration).apiV2DoctoraffiliationsDoctorAffiliationIdMediasGet(doctorAffiliationId, id, mediaType, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6842
|
+
};
|
|
6843
|
+
/**
|
|
6844
|
+
*
|
|
6845
|
+
* @summary Get DoctorAffiliationMedia.
|
|
6846
|
+
* @param {string} doctorAffiliationId
|
|
6847
|
+
* @param {string} mediaId
|
|
6848
|
+
* @param {*} [options] Override http request option.
|
|
6849
|
+
* @throws {RequiredError}
|
|
6850
|
+
* @memberof DoctorAffiliationsApi
|
|
6851
|
+
*/
|
|
6852
|
+
DoctorAffiliationsApi.prototype.apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet = function (doctorAffiliationId, mediaId, options) {
|
|
6853
|
+
var _this = this;
|
|
6854
|
+
return (0, exports.DoctorAffiliationsApiFp)(this.configuration).apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet(doctorAffiliationId, mediaId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6855
|
+
};
|
|
6694
6856
|
/**
|
|
6695
6857
|
*
|
|
6696
6858
|
* @summary Get all doctor affiliations.
|
|
@@ -10695,13 +10857,14 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
10695
10857
|
* @param {string} [slug]
|
|
10696
10858
|
* @param {MarketingType} [marketingType]
|
|
10697
10859
|
* @param {string} [languageCode]
|
|
10860
|
+
* @param {boolean} [showHidden]
|
|
10698
10861
|
* @param {number} [page]
|
|
10699
10862
|
* @param {number} [limit]
|
|
10700
10863
|
* @param {Date} [lastRetrieved]
|
|
10701
10864
|
* @param {*} [options] Override http request option.
|
|
10702
10865
|
* @throws {RequiredError}
|
|
10703
10866
|
*/
|
|
10704
|
-
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
10867
|
+
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
10705
10868
|
if (options === void 0) { options = {}; }
|
|
10706
10869
|
return __awaiter(_this, void 0, void 0, function () {
|
|
10707
10870
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -10744,6 +10907,9 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
10744
10907
|
if (languageCode !== undefined) {
|
|
10745
10908
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
10746
10909
|
}
|
|
10910
|
+
if (showHidden !== undefined) {
|
|
10911
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
10912
|
+
}
|
|
10747
10913
|
if (page !== undefined) {
|
|
10748
10914
|
localVarQueryParameter['page'] = page;
|
|
10749
10915
|
}
|
|
@@ -10878,13 +11044,14 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
10878
11044
|
* @param {string} [slug]
|
|
10879
11045
|
* @param {MarketingType} [marketingType]
|
|
10880
11046
|
* @param {string} [languageCode]
|
|
11047
|
+
* @param {boolean} [showHidden]
|
|
10881
11048
|
* @param {number} [page]
|
|
10882
11049
|
* @param {number} [limit]
|
|
10883
11050
|
* @param {Date} [lastRetrieved]
|
|
10884
11051
|
* @param {*} [options] Override http request option.
|
|
10885
11052
|
* @throws {RequiredError}
|
|
10886
11053
|
*/
|
|
10887
|
-
apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
11054
|
+
apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
10888
11055
|
if (options === void 0) { options = {}; }
|
|
10889
11056
|
return __awaiter(_this, void 0, void 0, function () {
|
|
10890
11057
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -10927,6 +11094,9 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
10927
11094
|
if (languageCode !== undefined) {
|
|
10928
11095
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
10929
11096
|
}
|
|
11097
|
+
if (showHidden !== undefined) {
|
|
11098
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
11099
|
+
}
|
|
10930
11100
|
if (page !== undefined) {
|
|
10931
11101
|
localVarQueryParameter['page'] = page;
|
|
10932
11102
|
}
|
|
@@ -11885,18 +12055,19 @@ var HospitalsApiFp = function (configuration) {
|
|
|
11885
12055
|
* @param {string} [slug]
|
|
11886
12056
|
* @param {MarketingType} [marketingType]
|
|
11887
12057
|
* @param {string} [languageCode]
|
|
12058
|
+
* @param {boolean} [showHidden]
|
|
11888
12059
|
* @param {number} [page]
|
|
11889
12060
|
* @param {number} [limit]
|
|
11890
12061
|
* @param {Date} [lastRetrieved]
|
|
11891
12062
|
* @param {*} [options] Override http request option.
|
|
11892
12063
|
* @throws {RequiredError}
|
|
11893
12064
|
*/
|
|
11894
|
-
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
12065
|
+
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
11895
12066
|
return __awaiter(this, void 0, void 0, function () {
|
|
11896
12067
|
var localVarAxiosArgs;
|
|
11897
12068
|
return __generator(this, function (_a) {
|
|
11898
12069
|
switch (_a.label) {
|
|
11899
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options)];
|
|
12070
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options)];
|
|
11900
12071
|
case 1:
|
|
11901
12072
|
localVarAxiosArgs = _a.sent();
|
|
11902
12073
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -11965,18 +12136,19 @@ var HospitalsApiFp = function (configuration) {
|
|
|
11965
12136
|
* @param {string} [slug]
|
|
11966
12137
|
* @param {MarketingType} [marketingType]
|
|
11967
12138
|
* @param {string} [languageCode]
|
|
12139
|
+
* @param {boolean} [showHidden]
|
|
11968
12140
|
* @param {number} [page]
|
|
11969
12141
|
* @param {number} [limit]
|
|
11970
12142
|
* @param {Date} [lastRetrieved]
|
|
11971
12143
|
* @param {*} [options] Override http request option.
|
|
11972
12144
|
* @throws {RequiredError}
|
|
11973
12145
|
*/
|
|
11974
|
-
apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
12146
|
+
apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
11975
12147
|
return __awaiter(this, void 0, void 0, function () {
|
|
11976
12148
|
var localVarAxiosArgs;
|
|
11977
12149
|
return __generator(this, function (_a) {
|
|
11978
12150
|
switch (_a.label) {
|
|
11979
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options)];
|
|
12151
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options)];
|
|
11980
12152
|
case 1:
|
|
11981
12153
|
localVarAxiosArgs = _a.sent();
|
|
11982
12154
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -12464,14 +12636,15 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
12464
12636
|
* @param {string} [slug]
|
|
12465
12637
|
* @param {MarketingType} [marketingType]
|
|
12466
12638
|
* @param {string} [languageCode]
|
|
12639
|
+
* @param {boolean} [showHidden]
|
|
12467
12640
|
* @param {number} [page]
|
|
12468
12641
|
* @param {number} [limit]
|
|
12469
12642
|
* @param {Date} [lastRetrieved]
|
|
12470
12643
|
* @param {*} [options] Override http request option.
|
|
12471
12644
|
* @throws {RequiredError}
|
|
12472
12645
|
*/
|
|
12473
|
-
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
12474
|
-
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
12646
|
+
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
12647
|
+
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
12475
12648
|
},
|
|
12476
12649
|
/**
|
|
12477
12650
|
*
|
|
@@ -12514,14 +12687,15 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
12514
12687
|
* @param {string} [slug]
|
|
12515
12688
|
* @param {MarketingType} [marketingType]
|
|
12516
12689
|
* @param {string} [languageCode]
|
|
12690
|
+
* @param {boolean} [showHidden]
|
|
12517
12691
|
* @param {number} [page]
|
|
12518
12692
|
* @param {number} [limit]
|
|
12519
12693
|
* @param {Date} [lastRetrieved]
|
|
12520
12694
|
* @param {*} [options] Override http request option.
|
|
12521
12695
|
* @throws {RequiredError}
|
|
12522
12696
|
*/
|
|
12523
|
-
apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
12524
|
-
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
12697
|
+
apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
12698
|
+
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
12525
12699
|
},
|
|
12526
12700
|
/**
|
|
12527
12701
|
*
|
|
@@ -12935,6 +13109,7 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
12935
13109
|
* @param {string} [slug]
|
|
12936
13110
|
* @param {MarketingType} [marketingType]
|
|
12937
13111
|
* @param {string} [languageCode]
|
|
13112
|
+
* @param {boolean} [showHidden]
|
|
12938
13113
|
* @param {number} [page]
|
|
12939
13114
|
* @param {number} [limit]
|
|
12940
13115
|
* @param {Date} [lastRetrieved]
|
|
@@ -12942,9 +13117,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
12942
13117
|
* @throws {RequiredError}
|
|
12943
13118
|
* @memberof HospitalsApi
|
|
12944
13119
|
*/
|
|
12945
|
-
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesGet = function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
13120
|
+
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesGet = function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
12946
13121
|
var _this = this;
|
|
12947
|
-
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13122
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
12948
13123
|
};
|
|
12949
13124
|
/**
|
|
12950
13125
|
*
|
|
@@ -12991,6 +13166,7 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
12991
13166
|
* @param {string} [slug]
|
|
12992
13167
|
* @param {MarketingType} [marketingType]
|
|
12993
13168
|
* @param {string} [languageCode]
|
|
13169
|
+
* @param {boolean} [showHidden]
|
|
12994
13170
|
* @param {number} [page]
|
|
12995
13171
|
* @param {number} [limit]
|
|
12996
13172
|
* @param {Date} [lastRetrieved]
|
|
@@ -12998,9 +13174,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
12998
13174
|
* @throws {RequiredError}
|
|
12999
13175
|
* @memberof HospitalsApi
|
|
13000
13176
|
*/
|
|
13001
|
-
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesSimpleGet = function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
13177
|
+
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesSimpleGet = function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
13002
13178
|
var _this = this;
|
|
13003
|
-
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13179
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13004
13180
|
};
|
|
13005
13181
|
/**
|
|
13006
13182
|
*
|