ch-api-client-typescript2 4.4.0 → 4.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api.d.ts +130 -2
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +114 -2
- package/package.json +1 -1
- package/src/api.ts +173 -2
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.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.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 = 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
|
package/package.json
CHANGED
package/src/api.ts
CHANGED
|
@@ -650,6 +650,12 @@ export interface ArticleItemModel {
|
|
|
650
650
|
* @memberof ArticleItemModel
|
|
651
651
|
*/
|
|
652
652
|
'hospitalSlug'?: string | null;
|
|
653
|
+
/**
|
|
654
|
+
*
|
|
655
|
+
* @type {string}
|
|
656
|
+
* @memberof ArticleItemModel
|
|
657
|
+
*/
|
|
658
|
+
'hospitalLogo'?: string | null;
|
|
653
659
|
/**
|
|
654
660
|
*
|
|
655
661
|
* @type {string}
|
|
@@ -777,6 +783,12 @@ export interface ArticleModel {
|
|
|
777
783
|
* @memberof ArticleModel
|
|
778
784
|
*/
|
|
779
785
|
'hospitalSlug'?: string | null;
|
|
786
|
+
/**
|
|
787
|
+
*
|
|
788
|
+
* @type {string}
|
|
789
|
+
* @memberof ArticleModel
|
|
790
|
+
*/
|
|
791
|
+
'hospitalLogo'?: string | null;
|
|
780
792
|
/**
|
|
781
793
|
*
|
|
782
794
|
* @type {string}
|
|
@@ -843,6 +855,12 @@ export interface ArticleModel {
|
|
|
843
855
|
* @memberof ArticleModel
|
|
844
856
|
*/
|
|
845
857
|
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
858
|
+
/**
|
|
859
|
+
*
|
|
860
|
+
* @type {string}
|
|
861
|
+
* @memberof ArticleModel
|
|
862
|
+
*/
|
|
863
|
+
'customStyle'?: string | null;
|
|
846
864
|
}
|
|
847
865
|
/**
|
|
848
866
|
*
|
|
@@ -2709,6 +2727,12 @@ export interface CountryModel {
|
|
|
2709
2727
|
* @memberof CountryModel
|
|
2710
2728
|
*/
|
|
2711
2729
|
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
2730
|
+
/**
|
|
2731
|
+
*
|
|
2732
|
+
* @type {string}
|
|
2733
|
+
* @memberof CountryModel
|
|
2734
|
+
*/
|
|
2735
|
+
'customStyle'?: string | null;
|
|
2712
2736
|
/**
|
|
2713
2737
|
*
|
|
2714
2738
|
* @type {Array<MediaModel>}
|
|
@@ -5011,6 +5035,37 @@ export interface DoctorsSimpleModel {
|
|
|
5011
5035
|
*/
|
|
5012
5036
|
'metaData'?: PagedListMetaData;
|
|
5013
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
|
+
}
|
|
5014
5069
|
/**
|
|
5015
5070
|
*
|
|
5016
5071
|
* @export
|
|
@@ -5301,7 +5356,7 @@ export interface FaqItemModel {
|
|
|
5301
5356
|
* @type {string}
|
|
5302
5357
|
* @memberof FaqItemModel
|
|
5303
5358
|
*/
|
|
5304
|
-
'faqCategoryId'?: string;
|
|
5359
|
+
'faqCategoryId'?: string | null;
|
|
5305
5360
|
/**
|
|
5306
5361
|
*
|
|
5307
5362
|
* @type {string}
|
|
@@ -5404,7 +5459,7 @@ export interface FaqModel {
|
|
|
5404
5459
|
* @type {string}
|
|
5405
5460
|
* @memberof FaqModel
|
|
5406
5461
|
*/
|
|
5407
|
-
'faqCategoryId'?: string;
|
|
5462
|
+
'faqCategoryId'?: string | null;
|
|
5408
5463
|
/**
|
|
5409
5464
|
*
|
|
5410
5465
|
* @type {string}
|
|
@@ -5453,6 +5508,12 @@ export interface FaqModel {
|
|
|
5453
5508
|
* @memberof FaqModel
|
|
5454
5509
|
*/
|
|
5455
5510
|
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
5511
|
+
/**
|
|
5512
|
+
*
|
|
5513
|
+
* @type {string}
|
|
5514
|
+
* @memberof FaqModel
|
|
5515
|
+
*/
|
|
5516
|
+
'customStyle'?: string | null;
|
|
5456
5517
|
}
|
|
5457
5518
|
/**
|
|
5458
5519
|
*
|
|
@@ -9222,6 +9283,12 @@ export interface SpecialtyModel {
|
|
|
9222
9283
|
* @memberof SpecialtyModel
|
|
9223
9284
|
*/
|
|
9224
9285
|
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
9286
|
+
/**
|
|
9287
|
+
*
|
|
9288
|
+
* @type {string}
|
|
9289
|
+
* @memberof SpecialtyModel
|
|
9290
|
+
*/
|
|
9291
|
+
'customStyle'?: string | null;
|
|
9225
9292
|
}
|
|
9226
9293
|
/**
|
|
9227
9294
|
*
|
|
@@ -9416,6 +9483,12 @@ export interface SpecialtyTypeModel {
|
|
|
9416
9483
|
* @memberof SpecialtyTypeModel
|
|
9417
9484
|
*/
|
|
9418
9485
|
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
9486
|
+
/**
|
|
9487
|
+
*
|
|
9488
|
+
* @type {string}
|
|
9489
|
+
* @memberof SpecialtyTypeModel
|
|
9490
|
+
*/
|
|
9491
|
+
'customStyle'?: string | null;
|
|
9419
9492
|
}
|
|
9420
9493
|
/**
|
|
9421
9494
|
*
|
|
@@ -18913,6 +18986,104 @@ export class DoctorsApi extends BaseAPI {
|
|
|
18913
18986
|
}
|
|
18914
18987
|
|
|
18915
18988
|
|
|
18989
|
+
/**
|
|
18990
|
+
* ExternalApi - axios parameter creator
|
|
18991
|
+
* @export
|
|
18992
|
+
*/
|
|
18993
|
+
export const ExternalApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
18994
|
+
return {
|
|
18995
|
+
/**
|
|
18996
|
+
* Sample request: POST /api/v2/external/facebook/deleteUserData { \"signed_request\": \"......\" }
|
|
18997
|
+
* @summary Callback for Facebook user data deletion
|
|
18998
|
+
* @param {*} [options] Override http request option.
|
|
18999
|
+
* @throws {RequiredError}
|
|
19000
|
+
*/
|
|
19001
|
+
apiV2ExternalFacebookDeleteuserdataPost: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
19002
|
+
const localVarPath = `/api/v2/external/facebook/deleteuserdata`;
|
|
19003
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19004
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
19005
|
+
let baseOptions;
|
|
19006
|
+
if (configuration) {
|
|
19007
|
+
baseOptions = configuration.baseOptions;
|
|
19008
|
+
}
|
|
19009
|
+
|
|
19010
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
19011
|
+
const localVarHeaderParameter = {} as any;
|
|
19012
|
+
const localVarQueryParameter = {} as any;
|
|
19013
|
+
|
|
19014
|
+
|
|
19015
|
+
|
|
19016
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19017
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19018
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
19019
|
+
|
|
19020
|
+
return {
|
|
19021
|
+
url: toPathString(localVarUrlObj),
|
|
19022
|
+
options: localVarRequestOptions,
|
|
19023
|
+
};
|
|
19024
|
+
},
|
|
19025
|
+
}
|
|
19026
|
+
};
|
|
19027
|
+
|
|
19028
|
+
/**
|
|
19029
|
+
* ExternalApi - functional programming interface
|
|
19030
|
+
* @export
|
|
19031
|
+
*/
|
|
19032
|
+
export const ExternalApiFp = function(configuration?: Configuration) {
|
|
19033
|
+
const localVarAxiosParamCreator = ExternalApiAxiosParamCreator(configuration)
|
|
19034
|
+
return {
|
|
19035
|
+
/**
|
|
19036
|
+
* Sample request: POST /api/v2/external/facebook/deleteUserData { \"signed_request\": \"......\" }
|
|
19037
|
+
* @summary Callback for Facebook user data deletion
|
|
19038
|
+
* @param {*} [options] Override http request option.
|
|
19039
|
+
* @throws {RequiredError}
|
|
19040
|
+
*/
|
|
19041
|
+
async apiV2ExternalFacebookDeleteuserdataPost(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FacebookUserDataDeletionResponseModel>> {
|
|
19042
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ExternalFacebookDeleteuserdataPost(options);
|
|
19043
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
19044
|
+
},
|
|
19045
|
+
}
|
|
19046
|
+
};
|
|
19047
|
+
|
|
19048
|
+
/**
|
|
19049
|
+
* ExternalApi - factory interface
|
|
19050
|
+
* @export
|
|
19051
|
+
*/
|
|
19052
|
+
export const ExternalApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
19053
|
+
const localVarFp = ExternalApiFp(configuration)
|
|
19054
|
+
return {
|
|
19055
|
+
/**
|
|
19056
|
+
* Sample request: POST /api/v2/external/facebook/deleteUserData { \"signed_request\": \"......\" }
|
|
19057
|
+
* @summary Callback for Facebook user data deletion
|
|
19058
|
+
* @param {*} [options] Override http request option.
|
|
19059
|
+
* @throws {RequiredError}
|
|
19060
|
+
*/
|
|
19061
|
+
apiV2ExternalFacebookDeleteuserdataPost(options?: any): AxiosPromise<FacebookUserDataDeletionResponseModel> {
|
|
19062
|
+
return localVarFp.apiV2ExternalFacebookDeleteuserdataPost(options).then((request) => request(axios, basePath));
|
|
19063
|
+
},
|
|
19064
|
+
};
|
|
19065
|
+
};
|
|
19066
|
+
|
|
19067
|
+
/**
|
|
19068
|
+
* ExternalApi - object-oriented interface
|
|
19069
|
+
* @export
|
|
19070
|
+
* @class ExternalApi
|
|
19071
|
+
* @extends {BaseAPI}
|
|
19072
|
+
*/
|
|
19073
|
+
export class ExternalApi extends BaseAPI {
|
|
19074
|
+
/**
|
|
19075
|
+
* Sample request: POST /api/v2/external/facebook/deleteUserData { \"signed_request\": \"......\" }
|
|
19076
|
+
* @summary Callback for Facebook user data deletion
|
|
19077
|
+
* @param {*} [options] Override http request option.
|
|
19078
|
+
* @throws {RequiredError}
|
|
19079
|
+
* @memberof ExternalApi
|
|
19080
|
+
*/
|
|
19081
|
+
public apiV2ExternalFacebookDeleteuserdataPost(options?: AxiosRequestConfig) {
|
|
19082
|
+
return ExternalApiFp(this.configuration).apiV2ExternalFacebookDeleteuserdataPost(options).then((request) => request(this.axios, this.basePath));
|
|
19083
|
+
}
|
|
19084
|
+
}
|
|
19085
|
+
|
|
19086
|
+
|
|
18916
19087
|
/**
|
|
18917
19088
|
* FaqCategoriesApi - axios parameter creator
|
|
18918
19089
|
* @export
|