ch-api-client-typescript2 4.4.3 → 4.4.5
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 +188 -0
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +233 -2
- package/package.json +1 -1
- package/src/api.ts +278 -0
package/lib/api.js
CHANGED
|
@@ -79,8 +79,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
79
79
|
};
|
|
80
80
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
81
81
|
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.AppVersionApi = exports.AppVersionApiFactory = exports.AppVersionApiFp = exports.AppVersionApiAxiosParamCreator = 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.Platform = exports.NotificationCode = exports.MediaType = exports.MarketingType = exports.Gender = exports.ContributionType = exports.ConsultationType = exports.ConsultationStatus = exports.BookingStatus = void 0;
|
|
82
|
-
exports.
|
|
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 = exports.PatientsApi = exports.PatientsApiFactory = exports.PatientsApiFp = exports.PatientsApiAxiosParamCreator = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.MembershipsApi = void 0;
|
|
82
|
+
exports.ImagesApiFactory = exports.ImagesApiFp = exports.ImagesApiAxiosParamCreator = exports.HospitalsApi = exports.HospitalsApiFactory = exports.HospitalsApiFp = exports.HospitalsApiAxiosParamCreator = exports.HeaderNavigationsApi = exports.HeaderNavigationsApiFactory = exports.HeaderNavigationsApiFp = exports.HeaderNavigationsApiAxiosParamCreator = 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.ExternalApi = exports.ExternalApiFactory = exports.ExternalApiFp = exports.ExternalApiAxiosParamCreator = exports.DoctorsApi = exports.DoctorsApiFactory = exports.DoctorsApiFp = exports.DoctorsApiAxiosParamCreator = exports.DoctorAffiliationsApi = exports.DoctorAffiliationsApiFactory = exports.DoctorAffiliationsApiFp = exports.DoctorAffiliationsApiAxiosParamCreator = exports.DevicesApi = exports.DevicesApiFactory = exports.DevicesApiFp = exports.DevicesApiAxiosParamCreator = exports.DealsApi = exports.DealsApiFactory = exports.DealsApiFp = exports.DealsApiAxiosParamCreator = exports.CountriesApi = exports.CountriesApiFactory = exports.CountriesApiFp = exports.CountriesApiAxiosParamCreator = exports.ContributorsApi = exports.ContributorsApiFactory = exports.ContributorsApiFp = 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 = 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 = void 0;
|
|
84
84
|
var axios_1 = __importDefault(require("axios"));
|
|
85
85
|
// Some imports not used depending on template conditions
|
|
86
86
|
// @ts-ignore
|
|
@@ -9387,6 +9387,118 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
9387
9387
|
return DoctorsApi;
|
|
9388
9388
|
}(base_1.BaseAPI));
|
|
9389
9389
|
exports.DoctorsApi = DoctorsApi;
|
|
9390
|
+
/**
|
|
9391
|
+
* ExternalApi - axios parameter creator
|
|
9392
|
+
* @export
|
|
9393
|
+
*/
|
|
9394
|
+
var ExternalApiAxiosParamCreator = function (configuration) {
|
|
9395
|
+
var _this = this;
|
|
9396
|
+
return {
|
|
9397
|
+
/**
|
|
9398
|
+
* Sample request: POST /api/v2/external/facebook/deleteUserData { \"signed_request\": \"......\" }
|
|
9399
|
+
* @summary Callback for Facebook user data deletion
|
|
9400
|
+
* @param {*} [options] Override http request option.
|
|
9401
|
+
* @throws {RequiredError}
|
|
9402
|
+
*/
|
|
9403
|
+
apiV2ExternalFacebookDeleteuserdataPost: function (options) {
|
|
9404
|
+
if (options === void 0) { options = {}; }
|
|
9405
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
9406
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
9407
|
+
return __generator(this, function (_a) {
|
|
9408
|
+
localVarPath = "/api/v2/external/facebook/deleteuserdata";
|
|
9409
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9410
|
+
if (configuration) {
|
|
9411
|
+
baseOptions = configuration.baseOptions;
|
|
9412
|
+
}
|
|
9413
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
9414
|
+
localVarHeaderParameter = {};
|
|
9415
|
+
localVarQueryParameter = {};
|
|
9416
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
9417
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9418
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
9419
|
+
return [2 /*return*/, {
|
|
9420
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
9421
|
+
options: localVarRequestOptions,
|
|
9422
|
+
}];
|
|
9423
|
+
});
|
|
9424
|
+
});
|
|
9425
|
+
},
|
|
9426
|
+
};
|
|
9427
|
+
};
|
|
9428
|
+
exports.ExternalApiAxiosParamCreator = ExternalApiAxiosParamCreator;
|
|
9429
|
+
/**
|
|
9430
|
+
* ExternalApi - functional programming interface
|
|
9431
|
+
* @export
|
|
9432
|
+
*/
|
|
9433
|
+
var ExternalApiFp = function (configuration) {
|
|
9434
|
+
var localVarAxiosParamCreator = (0, exports.ExternalApiAxiosParamCreator)(configuration);
|
|
9435
|
+
return {
|
|
9436
|
+
/**
|
|
9437
|
+
* Sample request: POST /api/v2/external/facebook/deleteUserData { \"signed_request\": \"......\" }
|
|
9438
|
+
* @summary Callback for Facebook user data deletion
|
|
9439
|
+
* @param {*} [options] Override http request option.
|
|
9440
|
+
* @throws {RequiredError}
|
|
9441
|
+
*/
|
|
9442
|
+
apiV2ExternalFacebookDeleteuserdataPost: function (options) {
|
|
9443
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
9444
|
+
var localVarAxiosArgs;
|
|
9445
|
+
return __generator(this, function (_a) {
|
|
9446
|
+
switch (_a.label) {
|
|
9447
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ExternalFacebookDeleteuserdataPost(options)];
|
|
9448
|
+
case 1:
|
|
9449
|
+
localVarAxiosArgs = _a.sent();
|
|
9450
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
9451
|
+
}
|
|
9452
|
+
});
|
|
9453
|
+
});
|
|
9454
|
+
},
|
|
9455
|
+
};
|
|
9456
|
+
};
|
|
9457
|
+
exports.ExternalApiFp = ExternalApiFp;
|
|
9458
|
+
/**
|
|
9459
|
+
* ExternalApi - factory interface
|
|
9460
|
+
* @export
|
|
9461
|
+
*/
|
|
9462
|
+
var ExternalApiFactory = function (configuration, basePath, axios) {
|
|
9463
|
+
var localVarFp = (0, exports.ExternalApiFp)(configuration);
|
|
9464
|
+
return {
|
|
9465
|
+
/**
|
|
9466
|
+
* Sample request: POST /api/v2/external/facebook/deleteUserData { \"signed_request\": \"......\" }
|
|
9467
|
+
* @summary Callback for Facebook user data deletion
|
|
9468
|
+
* @param {*} [options] Override http request option.
|
|
9469
|
+
* @throws {RequiredError}
|
|
9470
|
+
*/
|
|
9471
|
+
apiV2ExternalFacebookDeleteuserdataPost: function (options) {
|
|
9472
|
+
return localVarFp.apiV2ExternalFacebookDeleteuserdataPost(options).then(function (request) { return request(axios, basePath); });
|
|
9473
|
+
},
|
|
9474
|
+
};
|
|
9475
|
+
};
|
|
9476
|
+
exports.ExternalApiFactory = ExternalApiFactory;
|
|
9477
|
+
/**
|
|
9478
|
+
* ExternalApi - object-oriented interface
|
|
9479
|
+
* @export
|
|
9480
|
+
* @class ExternalApi
|
|
9481
|
+
* @extends {BaseAPI}
|
|
9482
|
+
*/
|
|
9483
|
+
var ExternalApi = /** @class */ (function (_super) {
|
|
9484
|
+
__extends(ExternalApi, _super);
|
|
9485
|
+
function ExternalApi() {
|
|
9486
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
9487
|
+
}
|
|
9488
|
+
/**
|
|
9489
|
+
* Sample request: POST /api/v2/external/facebook/deleteUserData { \"signed_request\": \"......\" }
|
|
9490
|
+
* @summary Callback for Facebook user data deletion
|
|
9491
|
+
* @param {*} [options] Override http request option.
|
|
9492
|
+
* @throws {RequiredError}
|
|
9493
|
+
* @memberof ExternalApi
|
|
9494
|
+
*/
|
|
9495
|
+
ExternalApi.prototype.apiV2ExternalFacebookDeleteuserdataPost = function (options) {
|
|
9496
|
+
var _this = this;
|
|
9497
|
+
return (0, exports.ExternalApiFp)(this.configuration).apiV2ExternalFacebookDeleteuserdataPost(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9498
|
+
};
|
|
9499
|
+
return ExternalApi;
|
|
9500
|
+
}(base_1.BaseAPI));
|
|
9501
|
+
exports.ExternalApi = ExternalApi;
|
|
9390
9502
|
/**
|
|
9391
9503
|
* FaqCategoriesApi - axios parameter creator
|
|
9392
9504
|
* @export
|
|
@@ -10894,6 +11006,125 @@ var GroupChannelsApi = /** @class */ (function (_super) {
|
|
|
10894
11006
|
return GroupChannelsApi;
|
|
10895
11007
|
}(base_1.BaseAPI));
|
|
10896
11008
|
exports.GroupChannelsApi = GroupChannelsApi;
|
|
11009
|
+
/**
|
|
11010
|
+
* HeaderNavigationsApi - axios parameter creator
|
|
11011
|
+
* @export
|
|
11012
|
+
*/
|
|
11013
|
+
var HeaderNavigationsApiAxiosParamCreator = function (configuration) {
|
|
11014
|
+
var _this = this;
|
|
11015
|
+
return {
|
|
11016
|
+
/**
|
|
11017
|
+
*
|
|
11018
|
+
* @summary Get all HeaderNavigationItems
|
|
11019
|
+
* @param {string} [languageCode]
|
|
11020
|
+
* @param {*} [options] Override http request option.
|
|
11021
|
+
* @throws {RequiredError}
|
|
11022
|
+
*/
|
|
11023
|
+
apiV2HeadernavigationsGet: function (languageCode, options) {
|
|
11024
|
+
if (options === void 0) { options = {}; }
|
|
11025
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
11026
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
11027
|
+
return __generator(this, function (_a) {
|
|
11028
|
+
localVarPath = "/api/v2/headernavigations";
|
|
11029
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11030
|
+
if (configuration) {
|
|
11031
|
+
baseOptions = configuration.baseOptions;
|
|
11032
|
+
}
|
|
11033
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
11034
|
+
localVarHeaderParameter = {};
|
|
11035
|
+
localVarQueryParameter = {};
|
|
11036
|
+
if (languageCode !== undefined) {
|
|
11037
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
11038
|
+
}
|
|
11039
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
11040
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11041
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
11042
|
+
return [2 /*return*/, {
|
|
11043
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
11044
|
+
options: localVarRequestOptions,
|
|
11045
|
+
}];
|
|
11046
|
+
});
|
|
11047
|
+
});
|
|
11048
|
+
},
|
|
11049
|
+
};
|
|
11050
|
+
};
|
|
11051
|
+
exports.HeaderNavigationsApiAxiosParamCreator = HeaderNavigationsApiAxiosParamCreator;
|
|
11052
|
+
/**
|
|
11053
|
+
* HeaderNavigationsApi - functional programming interface
|
|
11054
|
+
* @export
|
|
11055
|
+
*/
|
|
11056
|
+
var HeaderNavigationsApiFp = function (configuration) {
|
|
11057
|
+
var localVarAxiosParamCreator = (0, exports.HeaderNavigationsApiAxiosParamCreator)(configuration);
|
|
11058
|
+
return {
|
|
11059
|
+
/**
|
|
11060
|
+
*
|
|
11061
|
+
* @summary Get all HeaderNavigationItems
|
|
11062
|
+
* @param {string} [languageCode]
|
|
11063
|
+
* @param {*} [options] Override http request option.
|
|
11064
|
+
* @throws {RequiredError}
|
|
11065
|
+
*/
|
|
11066
|
+
apiV2HeadernavigationsGet: function (languageCode, options) {
|
|
11067
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
11068
|
+
var localVarAxiosArgs;
|
|
11069
|
+
return __generator(this, function (_a) {
|
|
11070
|
+
switch (_a.label) {
|
|
11071
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HeadernavigationsGet(languageCode, options)];
|
|
11072
|
+
case 1:
|
|
11073
|
+
localVarAxiosArgs = _a.sent();
|
|
11074
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
11075
|
+
}
|
|
11076
|
+
});
|
|
11077
|
+
});
|
|
11078
|
+
},
|
|
11079
|
+
};
|
|
11080
|
+
};
|
|
11081
|
+
exports.HeaderNavigationsApiFp = HeaderNavigationsApiFp;
|
|
11082
|
+
/**
|
|
11083
|
+
* HeaderNavigationsApi - factory interface
|
|
11084
|
+
* @export
|
|
11085
|
+
*/
|
|
11086
|
+
var HeaderNavigationsApiFactory = function (configuration, basePath, axios) {
|
|
11087
|
+
var localVarFp = (0, exports.HeaderNavigationsApiFp)(configuration);
|
|
11088
|
+
return {
|
|
11089
|
+
/**
|
|
11090
|
+
*
|
|
11091
|
+
* @summary Get all HeaderNavigationItems
|
|
11092
|
+
* @param {string} [languageCode]
|
|
11093
|
+
* @param {*} [options] Override http request option.
|
|
11094
|
+
* @throws {RequiredError}
|
|
11095
|
+
*/
|
|
11096
|
+
apiV2HeadernavigationsGet: function (languageCode, options) {
|
|
11097
|
+
return localVarFp.apiV2HeadernavigationsGet(languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
11098
|
+
},
|
|
11099
|
+
};
|
|
11100
|
+
};
|
|
11101
|
+
exports.HeaderNavigationsApiFactory = HeaderNavigationsApiFactory;
|
|
11102
|
+
/**
|
|
11103
|
+
* HeaderNavigationsApi - object-oriented interface
|
|
11104
|
+
* @export
|
|
11105
|
+
* @class HeaderNavigationsApi
|
|
11106
|
+
* @extends {BaseAPI}
|
|
11107
|
+
*/
|
|
11108
|
+
var HeaderNavigationsApi = /** @class */ (function (_super) {
|
|
11109
|
+
__extends(HeaderNavigationsApi, _super);
|
|
11110
|
+
function HeaderNavigationsApi() {
|
|
11111
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
11112
|
+
}
|
|
11113
|
+
/**
|
|
11114
|
+
*
|
|
11115
|
+
* @summary Get all HeaderNavigationItems
|
|
11116
|
+
* @param {string} [languageCode]
|
|
11117
|
+
* @param {*} [options] Override http request option.
|
|
11118
|
+
* @throws {RequiredError}
|
|
11119
|
+
* @memberof HeaderNavigationsApi
|
|
11120
|
+
*/
|
|
11121
|
+
HeaderNavigationsApi.prototype.apiV2HeadernavigationsGet = function (languageCode, options) {
|
|
11122
|
+
var _this = this;
|
|
11123
|
+
return (0, exports.HeaderNavigationsApiFp)(this.configuration).apiV2HeadernavigationsGet(languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
11124
|
+
};
|
|
11125
|
+
return HeaderNavigationsApi;
|
|
11126
|
+
}(base_1.BaseAPI));
|
|
11127
|
+
exports.HeaderNavigationsApi = HeaderNavigationsApi;
|
|
10897
11128
|
/**
|
|
10898
11129
|
* HospitalsApi - axios parameter creator
|
|
10899
11130
|
* @export
|
package/package.json
CHANGED
package/src/api.ts
CHANGED
|
@@ -5035,6 +5035,37 @@ export interface DoctorsSimpleModel {
|
|
|
5035
5035
|
*/
|
|
5036
5036
|
'metaData'?: PagedListMetaData;
|
|
5037
5037
|
}
|
|
5038
|
+
/**
|
|
5039
|
+
*
|
|
5040
|
+
* @export
|
|
5041
|
+
* @interface FacebookUserDataDeletionResponseModel
|
|
5042
|
+
*/
|
|
5043
|
+
export interface FacebookUserDataDeletionResponseModel {
|
|
5044
|
+
/**
|
|
5045
|
+
*
|
|
5046
|
+
* @type {string}
|
|
5047
|
+
* @memberof FacebookUserDataDeletionResponseModel
|
|
5048
|
+
*/
|
|
5049
|
+
'userId'?: string | null;
|
|
5050
|
+
/**
|
|
5051
|
+
*
|
|
5052
|
+
* @type {boolean}
|
|
5053
|
+
* @memberof FacebookUserDataDeletionResponseModel
|
|
5054
|
+
*/
|
|
5055
|
+
'isLockout'?: boolean;
|
|
5056
|
+
/**
|
|
5057
|
+
*
|
|
5058
|
+
* @type {string}
|
|
5059
|
+
* @memberof FacebookUserDataDeletionResponseModel
|
|
5060
|
+
*/
|
|
5061
|
+
'provider'?: string | null;
|
|
5062
|
+
/**
|
|
5063
|
+
*
|
|
5064
|
+
* @type {string}
|
|
5065
|
+
* @memberof FacebookUserDataDeletionResponseModel
|
|
5066
|
+
*/
|
|
5067
|
+
'providerKey'?: string | null;
|
|
5068
|
+
}
|
|
5038
5069
|
/**
|
|
5039
5070
|
*
|
|
5040
5071
|
* @export
|
|
@@ -5586,6 +5617,49 @@ export enum Gender {
|
|
|
5586
5617
|
PreferNotToSay = 'PreferNotToSay'
|
|
5587
5618
|
}
|
|
5588
5619
|
|
|
5620
|
+
/**
|
|
5621
|
+
*
|
|
5622
|
+
* @export
|
|
5623
|
+
* @interface HeaderNavigationItemModel
|
|
5624
|
+
*/
|
|
5625
|
+
export interface HeaderNavigationItemModel {
|
|
5626
|
+
/**
|
|
5627
|
+
*
|
|
5628
|
+
* @type {string}
|
|
5629
|
+
* @memberof HeaderNavigationItemModel
|
|
5630
|
+
*/
|
|
5631
|
+
'id'?: string;
|
|
5632
|
+
/**
|
|
5633
|
+
*
|
|
5634
|
+
* @type {string}
|
|
5635
|
+
* @memberof HeaderNavigationItemModel
|
|
5636
|
+
*/
|
|
5637
|
+
'name'?: string | null;
|
|
5638
|
+
/**
|
|
5639
|
+
*
|
|
5640
|
+
* @type {string}
|
|
5641
|
+
* @memberof HeaderNavigationItemModel
|
|
5642
|
+
*/
|
|
5643
|
+
'url'?: string | null;
|
|
5644
|
+
/**
|
|
5645
|
+
*
|
|
5646
|
+
* @type {number}
|
|
5647
|
+
* @memberof HeaderNavigationItemModel
|
|
5648
|
+
*/
|
|
5649
|
+
'order'?: number;
|
|
5650
|
+
/**
|
|
5651
|
+
*
|
|
5652
|
+
* @type {number}
|
|
5653
|
+
* @memberof HeaderNavigationItemModel
|
|
5654
|
+
*/
|
|
5655
|
+
'level'?: number;
|
|
5656
|
+
/**
|
|
5657
|
+
*
|
|
5658
|
+
* @type {Array<HeaderNavigationItemModel>}
|
|
5659
|
+
* @memberof HeaderNavigationItemModel
|
|
5660
|
+
*/
|
|
5661
|
+
'subItems'?: Array<HeaderNavigationItemModel> | null;
|
|
5662
|
+
}
|
|
5589
5663
|
/**
|
|
5590
5664
|
*
|
|
5591
5665
|
* @export
|
|
@@ -18955,6 +19029,104 @@ export class DoctorsApi extends BaseAPI {
|
|
|
18955
19029
|
}
|
|
18956
19030
|
|
|
18957
19031
|
|
|
19032
|
+
/**
|
|
19033
|
+
* ExternalApi - axios parameter creator
|
|
19034
|
+
* @export
|
|
19035
|
+
*/
|
|
19036
|
+
export const ExternalApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
19037
|
+
return {
|
|
19038
|
+
/**
|
|
19039
|
+
* Sample request: POST /api/v2/external/facebook/deleteUserData { \"signed_request\": \"......\" }
|
|
19040
|
+
* @summary Callback for Facebook user data deletion
|
|
19041
|
+
* @param {*} [options] Override http request option.
|
|
19042
|
+
* @throws {RequiredError}
|
|
19043
|
+
*/
|
|
19044
|
+
apiV2ExternalFacebookDeleteuserdataPost: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
19045
|
+
const localVarPath = `/api/v2/external/facebook/deleteuserdata`;
|
|
19046
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19047
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
19048
|
+
let baseOptions;
|
|
19049
|
+
if (configuration) {
|
|
19050
|
+
baseOptions = configuration.baseOptions;
|
|
19051
|
+
}
|
|
19052
|
+
|
|
19053
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
19054
|
+
const localVarHeaderParameter = {} as any;
|
|
19055
|
+
const localVarQueryParameter = {} as any;
|
|
19056
|
+
|
|
19057
|
+
|
|
19058
|
+
|
|
19059
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19060
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19061
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
19062
|
+
|
|
19063
|
+
return {
|
|
19064
|
+
url: toPathString(localVarUrlObj),
|
|
19065
|
+
options: localVarRequestOptions,
|
|
19066
|
+
};
|
|
19067
|
+
},
|
|
19068
|
+
}
|
|
19069
|
+
};
|
|
19070
|
+
|
|
19071
|
+
/**
|
|
19072
|
+
* ExternalApi - functional programming interface
|
|
19073
|
+
* @export
|
|
19074
|
+
*/
|
|
19075
|
+
export const ExternalApiFp = function(configuration?: Configuration) {
|
|
19076
|
+
const localVarAxiosParamCreator = ExternalApiAxiosParamCreator(configuration)
|
|
19077
|
+
return {
|
|
19078
|
+
/**
|
|
19079
|
+
* Sample request: POST /api/v2/external/facebook/deleteUserData { \"signed_request\": \"......\" }
|
|
19080
|
+
* @summary Callback for Facebook user data deletion
|
|
19081
|
+
* @param {*} [options] Override http request option.
|
|
19082
|
+
* @throws {RequiredError}
|
|
19083
|
+
*/
|
|
19084
|
+
async apiV2ExternalFacebookDeleteuserdataPost(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FacebookUserDataDeletionResponseModel>> {
|
|
19085
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ExternalFacebookDeleteuserdataPost(options);
|
|
19086
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
19087
|
+
},
|
|
19088
|
+
}
|
|
19089
|
+
};
|
|
19090
|
+
|
|
19091
|
+
/**
|
|
19092
|
+
* ExternalApi - factory interface
|
|
19093
|
+
* @export
|
|
19094
|
+
*/
|
|
19095
|
+
export const ExternalApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
19096
|
+
const localVarFp = ExternalApiFp(configuration)
|
|
19097
|
+
return {
|
|
19098
|
+
/**
|
|
19099
|
+
* Sample request: POST /api/v2/external/facebook/deleteUserData { \"signed_request\": \"......\" }
|
|
19100
|
+
* @summary Callback for Facebook user data deletion
|
|
19101
|
+
* @param {*} [options] Override http request option.
|
|
19102
|
+
* @throws {RequiredError}
|
|
19103
|
+
*/
|
|
19104
|
+
apiV2ExternalFacebookDeleteuserdataPost(options?: any): AxiosPromise<FacebookUserDataDeletionResponseModel> {
|
|
19105
|
+
return localVarFp.apiV2ExternalFacebookDeleteuserdataPost(options).then((request) => request(axios, basePath));
|
|
19106
|
+
},
|
|
19107
|
+
};
|
|
19108
|
+
};
|
|
19109
|
+
|
|
19110
|
+
/**
|
|
19111
|
+
* ExternalApi - object-oriented interface
|
|
19112
|
+
* @export
|
|
19113
|
+
* @class ExternalApi
|
|
19114
|
+
* @extends {BaseAPI}
|
|
19115
|
+
*/
|
|
19116
|
+
export class ExternalApi extends BaseAPI {
|
|
19117
|
+
/**
|
|
19118
|
+
* Sample request: POST /api/v2/external/facebook/deleteUserData { \"signed_request\": \"......\" }
|
|
19119
|
+
* @summary Callback for Facebook user data deletion
|
|
19120
|
+
* @param {*} [options] Override http request option.
|
|
19121
|
+
* @throws {RequiredError}
|
|
19122
|
+
* @memberof ExternalApi
|
|
19123
|
+
*/
|
|
19124
|
+
public apiV2ExternalFacebookDeleteuserdataPost(options?: AxiosRequestConfig) {
|
|
19125
|
+
return ExternalApiFp(this.configuration).apiV2ExternalFacebookDeleteuserdataPost(options).then((request) => request(this.axios, this.basePath));
|
|
19126
|
+
}
|
|
19127
|
+
}
|
|
19128
|
+
|
|
19129
|
+
|
|
18958
19130
|
/**
|
|
18959
19131
|
* FaqCategoriesApi - axios parameter creator
|
|
18960
19132
|
* @export
|
|
@@ -20350,6 +20522,112 @@ export class GroupChannelsApi extends BaseAPI {
|
|
|
20350
20522
|
}
|
|
20351
20523
|
|
|
20352
20524
|
|
|
20525
|
+
/**
|
|
20526
|
+
* HeaderNavigationsApi - axios parameter creator
|
|
20527
|
+
* @export
|
|
20528
|
+
*/
|
|
20529
|
+
export const HeaderNavigationsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
20530
|
+
return {
|
|
20531
|
+
/**
|
|
20532
|
+
*
|
|
20533
|
+
* @summary Get all HeaderNavigationItems
|
|
20534
|
+
* @param {string} [languageCode]
|
|
20535
|
+
* @param {*} [options] Override http request option.
|
|
20536
|
+
* @throws {RequiredError}
|
|
20537
|
+
*/
|
|
20538
|
+
apiV2HeadernavigationsGet: async (languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
20539
|
+
const localVarPath = `/api/v2/headernavigations`;
|
|
20540
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20541
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
20542
|
+
let baseOptions;
|
|
20543
|
+
if (configuration) {
|
|
20544
|
+
baseOptions = configuration.baseOptions;
|
|
20545
|
+
}
|
|
20546
|
+
|
|
20547
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
20548
|
+
const localVarHeaderParameter = {} as any;
|
|
20549
|
+
const localVarQueryParameter = {} as any;
|
|
20550
|
+
|
|
20551
|
+
if (languageCode !== undefined) {
|
|
20552
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
20553
|
+
}
|
|
20554
|
+
|
|
20555
|
+
|
|
20556
|
+
|
|
20557
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20558
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20559
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
20560
|
+
|
|
20561
|
+
return {
|
|
20562
|
+
url: toPathString(localVarUrlObj),
|
|
20563
|
+
options: localVarRequestOptions,
|
|
20564
|
+
};
|
|
20565
|
+
},
|
|
20566
|
+
}
|
|
20567
|
+
};
|
|
20568
|
+
|
|
20569
|
+
/**
|
|
20570
|
+
* HeaderNavigationsApi - functional programming interface
|
|
20571
|
+
* @export
|
|
20572
|
+
*/
|
|
20573
|
+
export const HeaderNavigationsApiFp = function(configuration?: Configuration) {
|
|
20574
|
+
const localVarAxiosParamCreator = HeaderNavigationsApiAxiosParamCreator(configuration)
|
|
20575
|
+
return {
|
|
20576
|
+
/**
|
|
20577
|
+
*
|
|
20578
|
+
* @summary Get all HeaderNavigationItems
|
|
20579
|
+
* @param {string} [languageCode]
|
|
20580
|
+
* @param {*} [options] Override http request option.
|
|
20581
|
+
* @throws {RequiredError}
|
|
20582
|
+
*/
|
|
20583
|
+
async apiV2HeadernavigationsGet(languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<HeaderNavigationItemModel>>> {
|
|
20584
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HeadernavigationsGet(languageCode, options);
|
|
20585
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
20586
|
+
},
|
|
20587
|
+
}
|
|
20588
|
+
};
|
|
20589
|
+
|
|
20590
|
+
/**
|
|
20591
|
+
* HeaderNavigationsApi - factory interface
|
|
20592
|
+
* @export
|
|
20593
|
+
*/
|
|
20594
|
+
export const HeaderNavigationsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
20595
|
+
const localVarFp = HeaderNavigationsApiFp(configuration)
|
|
20596
|
+
return {
|
|
20597
|
+
/**
|
|
20598
|
+
*
|
|
20599
|
+
* @summary Get all HeaderNavigationItems
|
|
20600
|
+
* @param {string} [languageCode]
|
|
20601
|
+
* @param {*} [options] Override http request option.
|
|
20602
|
+
* @throws {RequiredError}
|
|
20603
|
+
*/
|
|
20604
|
+
apiV2HeadernavigationsGet(languageCode?: string, options?: any): AxiosPromise<Array<HeaderNavigationItemModel>> {
|
|
20605
|
+
return localVarFp.apiV2HeadernavigationsGet(languageCode, options).then((request) => request(axios, basePath));
|
|
20606
|
+
},
|
|
20607
|
+
};
|
|
20608
|
+
};
|
|
20609
|
+
|
|
20610
|
+
/**
|
|
20611
|
+
* HeaderNavigationsApi - object-oriented interface
|
|
20612
|
+
* @export
|
|
20613
|
+
* @class HeaderNavigationsApi
|
|
20614
|
+
* @extends {BaseAPI}
|
|
20615
|
+
*/
|
|
20616
|
+
export class HeaderNavigationsApi extends BaseAPI {
|
|
20617
|
+
/**
|
|
20618
|
+
*
|
|
20619
|
+
* @summary Get all HeaderNavigationItems
|
|
20620
|
+
* @param {string} [languageCode]
|
|
20621
|
+
* @param {*} [options] Override http request option.
|
|
20622
|
+
* @throws {RequiredError}
|
|
20623
|
+
* @memberof HeaderNavigationsApi
|
|
20624
|
+
*/
|
|
20625
|
+
public apiV2HeadernavigationsGet(languageCode?: string, options?: AxiosRequestConfig) {
|
|
20626
|
+
return HeaderNavigationsApiFp(this.configuration).apiV2HeadernavigationsGet(languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
20627
|
+
}
|
|
20628
|
+
}
|
|
20629
|
+
|
|
20630
|
+
|
|
20353
20631
|
/**
|
|
20354
20632
|
* HospitalsApi - axios parameter creator
|
|
20355
20633
|
* @export
|