ch-admin-api-client-typescript 2.8.2 → 2.8.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 +2073 -6255
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +1 -104
- package/package.json +1 -1
- package/src/api.ts +998 -5198
package/lib/api.js
CHANGED
|
@@ -76,7 +76,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
76
76
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
77
77
|
};
|
|
78
78
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
79
|
-
exports.WeatherForecastApi = exports.WeatherForecastApiFactory = exports.WeatherForecastApiFp = exports.WeatherForecastApiAxiosParamCreator = exports.TranslationApi = exports.TranslationApiFactory = exports.TranslationApiFp = exports.TranslationApiAxiosParamCreator = 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.SearchApi = exports.SearchApiFactory = exports.SearchApiFp = exports.SearchApiAxiosParamCreator = exports.ProfilesApi = exports.ProfilesApiFactory = exports.ProfilesApiFp = exports.ProfilesApiAxiosParamCreator = exports.PlansApi = exports.PlansApiFactory = exports.PlansApiFp = exports.PlansApiAxiosParamCreator = exports.PaymentsApi = exports.PaymentsApiFactory = exports.PaymentsApiFp = exports.PaymentsApiAxiosParamCreator = 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.ManagersApi = exports.ManagersApiFactory = exports.ManagersApiFp = exports.ManagersApiAxiosParamCreator = 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.FaqsApi = exports.FaqsApiFactory = exports.FaqsApiFp = exports.FaqsApiAxiosParamCreator = exports.FaqCategoriesApi = exports.FaqCategoriesApiFactory = exports.FaqCategoriesApiFp = exports.FaqCategoriesApiAxiosParamCreator = exports.EmailMarketingsApi = exports.EmailMarketingsApiFactory = exports.EmailMarketingsApiFp = exports.EmailMarketingsApiAxiosParamCreator = exports.DoctorsApi = exports.DoctorsApiFactory = exports.DoctorsApiFp = exports.DoctorsApiAxiosParamCreator = exports.DealsApi = exports.DealsApiFactory = exports.DealsApiFp = exports.DealsApiAxiosParamCreator = exports.CountriesApi = exports.CountriesApiFactory = 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.CHManagersApi = exports.CHManagersApiFactory = exports.CHManagersApiFp = exports.CHManagersApiAxiosParamCreator = exports.CHAdminsApi = exports.CHAdminsApiFactory = exports.CHAdminsApiFp = exports.CHAdminsApiAxiosParamCreator = 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.
|
|
79
|
+
exports.WeatherForecastApi = exports.WeatherForecastApiFactory = exports.WeatherForecastApiFp = exports.WeatherForecastApiAxiosParamCreator = exports.TranslationApi = exports.TranslationApiFactory = exports.TranslationApiFp = exports.TranslationApiAxiosParamCreator = 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.SearchApi = exports.SearchApiFactory = exports.SearchApiFp = exports.SearchApiAxiosParamCreator = exports.ProfilesApi = exports.ProfilesApiFactory = exports.ProfilesApiFp = exports.ProfilesApiAxiosParamCreator = exports.PlansApi = exports.PlansApiFactory = exports.PlansApiFp = exports.PlansApiAxiosParamCreator = exports.PaymentsApi = exports.PaymentsApiFactory = exports.PaymentsApiFp = exports.PaymentsApiAxiosParamCreator = 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.ManagersApi = exports.ManagersApiFactory = exports.ManagersApiFp = exports.ManagersApiAxiosParamCreator = 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.FaqsApi = exports.FaqsApiFactory = exports.FaqsApiFp = exports.FaqsApiAxiosParamCreator = exports.FaqCategoriesApi = exports.FaqCategoriesApiFactory = exports.FaqCategoriesApiFp = exports.FaqCategoriesApiAxiosParamCreator = exports.EmailMarketingsApi = exports.EmailMarketingsApiFactory = exports.EmailMarketingsApiFp = exports.EmailMarketingsApiAxiosParamCreator = exports.DoctorsApi = exports.DoctorsApiFactory = exports.DoctorsApiFp = exports.DoctorsApiAxiosParamCreator = exports.DealsApi = exports.DealsApiFactory = exports.DealsApiFp = exports.DealsApiAxiosParamCreator = exports.CountriesApi = exports.CountriesApiFactory = 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.CHManagersApi = exports.CHManagersApiFactory = exports.CHManagersApiFp = exports.CHManagersApiAxiosParamCreator = exports.CHAdminsApi = exports.CHAdminsApiFactory = exports.CHAdminsApiFp = exports.CHAdminsApiAxiosParamCreator = 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.UserLocationType = 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 = exports.ArticleStatus = void 0;
|
|
80
80
|
var axios_1 = __importDefault(require("axios"));
|
|
81
81
|
// Some imports not used depending on template conditions
|
|
82
82
|
// @ts-ignore
|
|
@@ -109,17 +109,6 @@ var BookingStatus;
|
|
|
109
109
|
BookingStatus["RefundRequested"] = "RefundRequested";
|
|
110
110
|
BookingStatus["Refunded"] = "Refunded";
|
|
111
111
|
})(BookingStatus = exports.BookingStatus || (exports.BookingStatus = {}));
|
|
112
|
-
/**
|
|
113
|
-
*
|
|
114
|
-
* @export
|
|
115
|
-
* @enum {string}
|
|
116
|
-
*/
|
|
117
|
-
var ChargeStatus;
|
|
118
|
-
(function (ChargeStatus) {
|
|
119
|
-
ChargeStatus["Pending"] = "Pending";
|
|
120
|
-
ChargeStatus["Succeeded"] = "Succeeded";
|
|
121
|
-
ChargeStatus["Failed"] = "Failed";
|
|
122
|
-
})(ChargeStatus = exports.ChargeStatus || (exports.ChargeStatus = {}));
|
|
123
112
|
/**
|
|
124
113
|
*
|
|
125
114
|
* @export
|
|
@@ -223,40 +212,6 @@ var NotificationCode;
|
|
|
223
212
|
NotificationCode["ConsultationRefunded"] = "ConsultationRefunded";
|
|
224
213
|
NotificationCode["ConsultationReady"] = "ConsultationReady";
|
|
225
214
|
})(NotificationCode = exports.NotificationCode || (exports.NotificationCode = {}));
|
|
226
|
-
/**
|
|
227
|
-
*
|
|
228
|
-
* @export
|
|
229
|
-
* @enum {string}
|
|
230
|
-
*/
|
|
231
|
-
var PaymentMethod;
|
|
232
|
-
(function (PaymentMethod) {
|
|
233
|
-
PaymentMethod["Stripe"] = "Stripe";
|
|
234
|
-
PaymentMethod["Paypal"] = "Paypal";
|
|
235
|
-
PaymentMethod["BankTransfer"] = "BankTransfer";
|
|
236
|
-
})(PaymentMethod = exports.PaymentMethod || (exports.PaymentMethod = {}));
|
|
237
|
-
/**
|
|
238
|
-
*
|
|
239
|
-
* @export
|
|
240
|
-
* @enum {string}
|
|
241
|
-
*/
|
|
242
|
-
var PaymentStatus;
|
|
243
|
-
(function (PaymentStatus) {
|
|
244
|
-
PaymentStatus["Unpaid"] = "Unpaid";
|
|
245
|
-
PaymentStatus["Paid"] = "Paid";
|
|
246
|
-
PaymentStatus["RefundRequested"] = "RefundRequested";
|
|
247
|
-
PaymentStatus["Refunded"] = "Refunded";
|
|
248
|
-
})(PaymentStatus = exports.PaymentStatus || (exports.PaymentStatus = {}));
|
|
249
|
-
/**
|
|
250
|
-
*
|
|
251
|
-
* @export
|
|
252
|
-
* @enum {string}
|
|
253
|
-
*/
|
|
254
|
-
var Platform;
|
|
255
|
-
(function (Platform) {
|
|
256
|
-
Platform["Web"] = "Web";
|
|
257
|
-
Platform["IOs"] = "iOS";
|
|
258
|
-
Platform["Android"] = "Android";
|
|
259
|
-
})(Platform = exports.Platform || (exports.Platform = {}));
|
|
260
215
|
/**
|
|
261
216
|
*
|
|
262
217
|
* @export
|
|
@@ -267,31 +222,6 @@ var Procedure;
|
|
|
267
222
|
Procedure["Treatment"] = "Treatment";
|
|
268
223
|
Procedure["Diagnostic"] = "Diagnostic";
|
|
269
224
|
})(Procedure = exports.Procedure || (exports.Procedure = {}));
|
|
270
|
-
/**
|
|
271
|
-
*
|
|
272
|
-
* @export
|
|
273
|
-
* @enum {string}
|
|
274
|
-
*/
|
|
275
|
-
var QuestionStatus;
|
|
276
|
-
(function (QuestionStatus) {
|
|
277
|
-
QuestionStatus["New"] = "New";
|
|
278
|
-
QuestionStatus["Answered"] = "Answered";
|
|
279
|
-
QuestionStatus["Replied"] = "Replied";
|
|
280
|
-
QuestionStatus["Archived"] = "Archived";
|
|
281
|
-
})(QuestionStatus = exports.QuestionStatus || (exports.QuestionStatus = {}));
|
|
282
|
-
/**
|
|
283
|
-
*
|
|
284
|
-
* @export
|
|
285
|
-
* @enum {string}
|
|
286
|
-
*/
|
|
287
|
-
var QuestionType;
|
|
288
|
-
(function (QuestionType) {
|
|
289
|
-
QuestionType["General"] = "General";
|
|
290
|
-
QuestionType["Health"] = "Health";
|
|
291
|
-
QuestionType["Treatment"] = "Treatment";
|
|
292
|
-
QuestionType["Travel"] = "Travel";
|
|
293
|
-
QuestionType["Consult"] = "Consult";
|
|
294
|
-
})(QuestionType = exports.QuestionType || (exports.QuestionType = {}));
|
|
295
225
|
/**
|
|
296
226
|
*
|
|
297
227
|
* @export
|
|
@@ -315,17 +245,6 @@ var RefundPolicy;
|
|
|
315
245
|
RefundPolicy["Refundable"] = "Refundable";
|
|
316
246
|
RefundPolicy["PartialRefundable"] = "PartialRefundable";
|
|
317
247
|
})(RefundPolicy = exports.RefundPolicy || (exports.RefundPolicy = {}));
|
|
318
|
-
/**
|
|
319
|
-
*
|
|
320
|
-
* @export
|
|
321
|
-
* @enum {string}
|
|
322
|
-
*/
|
|
323
|
-
var RefundStatus;
|
|
324
|
-
(function (RefundStatus) {
|
|
325
|
-
RefundStatus["Pending"] = "Pending";
|
|
326
|
-
RefundStatus["Succeeded"] = "Succeeded";
|
|
327
|
-
RefundStatus["Failed"] = "Failed";
|
|
328
|
-
})(RefundStatus = exports.RefundStatus || (exports.RefundStatus = {}));
|
|
329
248
|
/**
|
|
330
249
|
*
|
|
331
250
|
* @export
|
|
@@ -338,18 +257,6 @@ var RejectReason;
|
|
|
338
257
|
RejectReason["ScheduleNotAvailable"] = "ScheduleNotAvailable";
|
|
339
258
|
RejectReason["OtherReason"] = "OtherReason";
|
|
340
259
|
})(RejectReason = exports.RejectReason || (exports.RejectReason = {}));
|
|
341
|
-
/**
|
|
342
|
-
*
|
|
343
|
-
* @export
|
|
344
|
-
* @enum {string}
|
|
345
|
-
*/
|
|
346
|
-
var ReviewCategory;
|
|
347
|
-
(function (ReviewCategory) {
|
|
348
|
-
ReviewCategory["Services"] = "Services";
|
|
349
|
-
ReviewCategory["Hospitality"] = "Hospitality";
|
|
350
|
-
ReviewCategory["Transfer"] = "Transfer";
|
|
351
|
-
ReviewCategory["Etc"] = "Etc";
|
|
352
|
-
})(ReviewCategory = exports.ReviewCategory || (exports.ReviewCategory = {}));
|
|
353
260
|
/**
|
|
354
261
|
*
|
|
355
262
|
* @export
|
|
@@ -382,16 +289,6 @@ var UserLocationType;
|
|
|
382
289
|
UserLocationType["LivesIn"] = "LivesIn";
|
|
383
290
|
UserLocationType["BirthPlace"] = "BirthPlace";
|
|
384
291
|
})(UserLocationType = exports.UserLocationType || (exports.UserLocationType = {}));
|
|
385
|
-
/**
|
|
386
|
-
*
|
|
387
|
-
* @export
|
|
388
|
-
* @enum {string}
|
|
389
|
-
*/
|
|
390
|
-
var VendorType;
|
|
391
|
-
(function (VendorType) {
|
|
392
|
-
VendorType["Stripe"] = "Stripe";
|
|
393
|
-
VendorType["WeChat"] = "WeChat";
|
|
394
|
-
})(VendorType = exports.VendorType || (exports.VendorType = {}));
|
|
395
292
|
/**
|
|
396
293
|
* AccreditationsApi - axios parameter creator
|
|
397
294
|
* @export
|