ch-api-client-typescript2 2.8.4 → 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 +1646 -5817
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +3 -94
- package/package.json +1 -1
- package/src/api.ts +1950 -6137
package/lib/api.js
CHANGED
|
@@ -78,9 +78,9 @@ 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.
|
|
82
|
-
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 = 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.DoctorsApi = exports.DoctorsApiFactory = exports.DoctorsApiFp = exports.DoctorsApiAxiosParamCreator = exports.DealsApi = exports.DealsApiFactory = exports.DealsApiFp = exports.DealsApiAxiosParamCreator =
|
|
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.SearchApi = exports.SearchApiFactory =
|
|
81
|
+
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.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.ReviewCategory = 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.AutocompleteMode = exports.ArticleStatus = void 0;
|
|
82
|
+
exports.SearchApiFp = exports.SearchApiAxiosParamCreator = 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 = 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.DoctorsApi = exports.DoctorsApiFactory = exports.DoctorsApiFp = exports.DoctorsApiAxiosParamCreator = exports.DealsApi = exports.DealsApiFactory = exports.DealsApiFp = exports.DealsApiAxiosParamCreator = 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.SearchApi = exports.SearchApiFactory = void 0;
|
|
84
84
|
var axios_1 = __importDefault(require("axios"));
|
|
85
85
|
// Some imports not used depending on template conditions
|
|
86
86
|
// @ts-ignore
|
|
@@ -124,17 +124,6 @@ var BookingStatus;
|
|
|
124
124
|
BookingStatus["RefundRequested"] = "RefundRequested";
|
|
125
125
|
BookingStatus["Refunded"] = "Refunded";
|
|
126
126
|
})(BookingStatus = exports.BookingStatus || (exports.BookingStatus = {}));
|
|
127
|
-
/**
|
|
128
|
-
*
|
|
129
|
-
* @export
|
|
130
|
-
* @enum {string}
|
|
131
|
-
*/
|
|
132
|
-
var ChargeStatus;
|
|
133
|
-
(function (ChargeStatus) {
|
|
134
|
-
ChargeStatus["Pending"] = "Pending";
|
|
135
|
-
ChargeStatus["Succeeded"] = "Succeeded";
|
|
136
|
-
ChargeStatus["Failed"] = "Failed";
|
|
137
|
-
})(ChargeStatus = exports.ChargeStatus || (exports.ChargeStatus = {}));
|
|
138
127
|
/**
|
|
139
128
|
*
|
|
140
129
|
* @export
|
|
@@ -238,40 +227,6 @@ var NotificationCode;
|
|
|
238
227
|
NotificationCode["ConsultationRefunded"] = "ConsultationRefunded";
|
|
239
228
|
NotificationCode["ConsultationReady"] = "ConsultationReady";
|
|
240
229
|
})(NotificationCode = exports.NotificationCode || (exports.NotificationCode = {}));
|
|
241
|
-
/**
|
|
242
|
-
*
|
|
243
|
-
* @export
|
|
244
|
-
* @enum {string}
|
|
245
|
-
*/
|
|
246
|
-
var PaymentMethod;
|
|
247
|
-
(function (PaymentMethod) {
|
|
248
|
-
PaymentMethod["Stripe"] = "Stripe";
|
|
249
|
-
PaymentMethod["Paypal"] = "Paypal";
|
|
250
|
-
PaymentMethod["BankTransfer"] = "BankTransfer";
|
|
251
|
-
})(PaymentMethod = exports.PaymentMethod || (exports.PaymentMethod = {}));
|
|
252
|
-
/**
|
|
253
|
-
*
|
|
254
|
-
* @export
|
|
255
|
-
* @enum {string}
|
|
256
|
-
*/
|
|
257
|
-
var PaymentStatus;
|
|
258
|
-
(function (PaymentStatus) {
|
|
259
|
-
PaymentStatus["Unpaid"] = "Unpaid";
|
|
260
|
-
PaymentStatus["Paid"] = "Paid";
|
|
261
|
-
PaymentStatus["RefundRequested"] = "RefundRequested";
|
|
262
|
-
PaymentStatus["Refunded"] = "Refunded";
|
|
263
|
-
})(PaymentStatus = exports.PaymentStatus || (exports.PaymentStatus = {}));
|
|
264
|
-
/**
|
|
265
|
-
*
|
|
266
|
-
* @export
|
|
267
|
-
* @enum {string}
|
|
268
|
-
*/
|
|
269
|
-
var Platform;
|
|
270
|
-
(function (Platform) {
|
|
271
|
-
Platform["Web"] = "Web";
|
|
272
|
-
Platform["IOs"] = "iOS";
|
|
273
|
-
Platform["Android"] = "Android";
|
|
274
|
-
})(Platform = exports.Platform || (exports.Platform = {}));
|
|
275
230
|
/**
|
|
276
231
|
*
|
|
277
232
|
* @export
|
|
@@ -282,31 +237,6 @@ var Procedure;
|
|
|
282
237
|
Procedure["Treatment"] = "Treatment";
|
|
283
238
|
Procedure["Diagnostic"] = "Diagnostic";
|
|
284
239
|
})(Procedure = exports.Procedure || (exports.Procedure = {}));
|
|
285
|
-
/**
|
|
286
|
-
*
|
|
287
|
-
* @export
|
|
288
|
-
* @enum {string}
|
|
289
|
-
*/
|
|
290
|
-
var QuestionStatus;
|
|
291
|
-
(function (QuestionStatus) {
|
|
292
|
-
QuestionStatus["New"] = "New";
|
|
293
|
-
QuestionStatus["Answered"] = "Answered";
|
|
294
|
-
QuestionStatus["Replied"] = "Replied";
|
|
295
|
-
QuestionStatus["Archived"] = "Archived";
|
|
296
|
-
})(QuestionStatus = exports.QuestionStatus || (exports.QuestionStatus = {}));
|
|
297
|
-
/**
|
|
298
|
-
*
|
|
299
|
-
* @export
|
|
300
|
-
* @enum {string}
|
|
301
|
-
*/
|
|
302
|
-
var QuestionType;
|
|
303
|
-
(function (QuestionType) {
|
|
304
|
-
QuestionType["General"] = "General";
|
|
305
|
-
QuestionType["Health"] = "Health";
|
|
306
|
-
QuestionType["Treatment"] = "Treatment";
|
|
307
|
-
QuestionType["Travel"] = "Travel";
|
|
308
|
-
QuestionType["Consult"] = "Consult";
|
|
309
|
-
})(QuestionType = exports.QuestionType || (exports.QuestionType = {}));
|
|
310
240
|
/**
|
|
311
241
|
*
|
|
312
242
|
* @export
|
|
@@ -330,17 +260,6 @@ var RefundPolicy;
|
|
|
330
260
|
RefundPolicy["Refundable"] = "Refundable";
|
|
331
261
|
RefundPolicy["PartialRefundable"] = "PartialRefundable";
|
|
332
262
|
})(RefundPolicy = exports.RefundPolicy || (exports.RefundPolicy = {}));
|
|
333
|
-
/**
|
|
334
|
-
*
|
|
335
|
-
* @export
|
|
336
|
-
* @enum {string}
|
|
337
|
-
*/
|
|
338
|
-
var RefundStatus;
|
|
339
|
-
(function (RefundStatus) {
|
|
340
|
-
RefundStatus["Pending"] = "Pending";
|
|
341
|
-
RefundStatus["Succeeded"] = "Succeeded";
|
|
342
|
-
RefundStatus["Failed"] = "Failed";
|
|
343
|
-
})(RefundStatus = exports.RefundStatus || (exports.RefundStatus = {}));
|
|
344
263
|
/**
|
|
345
264
|
*
|
|
346
265
|
* @export
|
|
@@ -397,16 +316,6 @@ var UserLocationType;
|
|
|
397
316
|
UserLocationType["LivesIn"] = "LivesIn";
|
|
398
317
|
UserLocationType["BirthPlace"] = "BirthPlace";
|
|
399
318
|
})(UserLocationType = exports.UserLocationType || (exports.UserLocationType = {}));
|
|
400
|
-
/**
|
|
401
|
-
*
|
|
402
|
-
* @export
|
|
403
|
-
* @enum {string}
|
|
404
|
-
*/
|
|
405
|
-
var VendorType;
|
|
406
|
-
(function (VendorType) {
|
|
407
|
-
VendorType["Stripe"] = "Stripe";
|
|
408
|
-
VendorType["WeChat"] = "WeChat";
|
|
409
|
-
})(VendorType = exports.VendorType || (exports.VendorType = {}));
|
|
410
319
|
/**
|
|
411
320
|
* AccreditationsApi - axios parameter creator
|
|
412
321
|
* @export
|