ch-admin-api-client-typescript 2.2.14 → 2.3.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 +452 -235
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +394 -17
- package/package.json +1 -1
- package/src/api.ts +621 -229
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.ProfilesApi = exports.ProfilesApiFactory = exports.ProfilesApiFp = exports.ProfilesApiAxiosParamCreator = exports.PlansApi = exports.PlansApiFactory = exports.PlansApiFp = exports.PlansApiAxiosParamCreator = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = 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.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.BookingsApi = exports.BookingsApiFactory = exports.BookingsApiFp = exports.BookingsApiAxiosParamCreator = exports.ArticlesApi = exports.ArticlesApiFactory = exports.ArticlesApiFp = exports.ArticlesApiAxiosParamCreator = exports.AccreditationsApi = exports.AccreditationsApiFactory = exports.AccreditationsApiFp = exports.AccreditationsApiAxiosParamCreator = exports.VendorType = exports.UserLocationType = exports.SnsType = exports.ReviewCategory = exports.RejectReason = exports.RefundStatus = exports.RefundPolicy = exports.RecurringInterval = exports.QuestionType = exports.QuestionStatus = exports.Procedure = exports.Platform = exports.PaymentStatus = exports.PaymentMethod = exports.NotificationCode = exports.MediaType = exports.MarketingType = exports.Gender = exports.ContributionType = exports.ConsultationType = exports.ConsultationStatus = exports.ChargeStatus = exports.BookingStatus = exports.ArticleStatus = void 0;
|
|
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.ProfilesApi = exports.ProfilesApiFactory = exports.ProfilesApiFp = exports.ProfilesApiAxiosParamCreator = exports.PlansApi = exports.PlansApiFactory = exports.PlansApiFp = exports.PlansApiAxiosParamCreator = 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.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.BookingsApi = exports.BookingsApiFactory = exports.BookingsApiFp = exports.BookingsApiAxiosParamCreator = exports.ArticlesApi = exports.ArticlesApiFactory = exports.ArticlesApiFp = exports.ArticlesApiAxiosParamCreator = exports.AccreditationsApi = exports.AccreditationsApiFactory = exports.AccreditationsApiFp = exports.AccreditationsApiAxiosParamCreator = exports.VendorType = exports.UserLocationType = exports.SnsType = exports.ReviewCategory = exports.RejectReason = exports.RefundStatus = exports.RefundPolicy = exports.RecurringInterval = exports.QuestionType = exports.QuestionStatus = exports.Procedure = exports.Platform = exports.PaymentStatus = exports.PaymentMethod = exports.NotificationCode = exports.MediaType = exports.MarketingType = exports.Gender = exports.ContributionType = exports.ConsultationType = exports.ConsultationStatus = exports.ChargeStatus = 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
|
|
@@ -18569,6 +18569,383 @@ var ManagersApi = /** @class */ (function (_super) {
|
|
|
18569
18569
|
return ManagersApi;
|
|
18570
18570
|
}(base_1.BaseAPI));
|
|
18571
18571
|
exports.ManagersApi = ManagersApi;
|
|
18572
|
+
/**
|
|
18573
|
+
* MembershipsApi - axios parameter creator
|
|
18574
|
+
* @export
|
|
18575
|
+
*/
|
|
18576
|
+
exports.MembershipsApiAxiosParamCreator = function (configuration) {
|
|
18577
|
+
var _this = this;
|
|
18578
|
+
return {
|
|
18579
|
+
/**
|
|
18580
|
+
*
|
|
18581
|
+
* @summary Get all memberships.
|
|
18582
|
+
* @param {string} [id]
|
|
18583
|
+
* @param {string} [planId]
|
|
18584
|
+
* @param {string} [planName]
|
|
18585
|
+
* @param {string} [ownerId]
|
|
18586
|
+
* @param {string} [ownerName]
|
|
18587
|
+
* @param {boolean} [isActive]
|
|
18588
|
+
* @param {number} [page]
|
|
18589
|
+
* @param {number} [limit]
|
|
18590
|
+
* @param {Date} [lastRetrieved]
|
|
18591
|
+
* @param {*} [options] Override http request option.
|
|
18592
|
+
* @throws {RequiredError}
|
|
18593
|
+
*/
|
|
18594
|
+
apiV1MembershipsGet: function (id, planId, planName, ownerId, ownerName, isActive, page, limit, lastRetrieved, options) {
|
|
18595
|
+
if (options === void 0) { options = {}; }
|
|
18596
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
18597
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
18598
|
+
return __generator(this, function (_a) {
|
|
18599
|
+
switch (_a.label) {
|
|
18600
|
+
case 0:
|
|
18601
|
+
localVarPath = "/api/v1/memberships";
|
|
18602
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18603
|
+
if (configuration) {
|
|
18604
|
+
baseOptions = configuration.baseOptions;
|
|
18605
|
+
}
|
|
18606
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
18607
|
+
localVarHeaderParameter = {};
|
|
18608
|
+
localVarQueryParameter = {};
|
|
18609
|
+
// authentication oauth2 required
|
|
18610
|
+
// oauth required
|
|
18611
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
18612
|
+
case 1:
|
|
18613
|
+
// authentication oauth2 required
|
|
18614
|
+
// oauth required
|
|
18615
|
+
_a.sent();
|
|
18616
|
+
if (id !== undefined) {
|
|
18617
|
+
localVarQueryParameter['Id'] = id;
|
|
18618
|
+
}
|
|
18619
|
+
if (planId !== undefined) {
|
|
18620
|
+
localVarQueryParameter['PlanId'] = planId;
|
|
18621
|
+
}
|
|
18622
|
+
if (planName !== undefined) {
|
|
18623
|
+
localVarQueryParameter['PlanName'] = planName;
|
|
18624
|
+
}
|
|
18625
|
+
if (ownerId !== undefined) {
|
|
18626
|
+
localVarQueryParameter['OwnerId'] = ownerId;
|
|
18627
|
+
}
|
|
18628
|
+
if (ownerName !== undefined) {
|
|
18629
|
+
localVarQueryParameter['OwnerName'] = ownerName;
|
|
18630
|
+
}
|
|
18631
|
+
if (isActive !== undefined) {
|
|
18632
|
+
localVarQueryParameter['IsActive'] = isActive;
|
|
18633
|
+
}
|
|
18634
|
+
if (page !== undefined) {
|
|
18635
|
+
localVarQueryParameter['page'] = page;
|
|
18636
|
+
}
|
|
18637
|
+
if (limit !== undefined) {
|
|
18638
|
+
localVarQueryParameter['limit'] = limit;
|
|
18639
|
+
}
|
|
18640
|
+
if (lastRetrieved !== undefined) {
|
|
18641
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
18642
|
+
lastRetrieved.toISOString() :
|
|
18643
|
+
lastRetrieved;
|
|
18644
|
+
}
|
|
18645
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18646
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18647
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
18648
|
+
return [2 /*return*/, {
|
|
18649
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
18650
|
+
options: localVarRequestOptions,
|
|
18651
|
+
}];
|
|
18652
|
+
}
|
|
18653
|
+
});
|
|
18654
|
+
});
|
|
18655
|
+
},
|
|
18656
|
+
/**
|
|
18657
|
+
*
|
|
18658
|
+
* @summary Get membership.
|
|
18659
|
+
* @param {string} membershipId
|
|
18660
|
+
* @param {*} [options] Override http request option.
|
|
18661
|
+
* @throws {RequiredError}
|
|
18662
|
+
*/
|
|
18663
|
+
apiV1MembershipsMembershipIdGet: function (membershipId, options) {
|
|
18664
|
+
if (options === void 0) { options = {}; }
|
|
18665
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
18666
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
18667
|
+
return __generator(this, function (_a) {
|
|
18668
|
+
switch (_a.label) {
|
|
18669
|
+
case 0:
|
|
18670
|
+
// verify required parameter 'membershipId' is not null or undefined
|
|
18671
|
+
common_1.assertParamExists('apiV1MembershipsMembershipIdGet', 'membershipId', membershipId);
|
|
18672
|
+
localVarPath = "/api/v1/memberships/{membershipId}"
|
|
18673
|
+
.replace("{" + "membershipId" + "}", encodeURIComponent(String(membershipId)));
|
|
18674
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18675
|
+
if (configuration) {
|
|
18676
|
+
baseOptions = configuration.baseOptions;
|
|
18677
|
+
}
|
|
18678
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
18679
|
+
localVarHeaderParameter = {};
|
|
18680
|
+
localVarQueryParameter = {};
|
|
18681
|
+
// authentication oauth2 required
|
|
18682
|
+
// oauth required
|
|
18683
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
18684
|
+
case 1:
|
|
18685
|
+
// authentication oauth2 required
|
|
18686
|
+
// oauth required
|
|
18687
|
+
_a.sent();
|
|
18688
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18689
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18690
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
18691
|
+
return [2 /*return*/, {
|
|
18692
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
18693
|
+
options: localVarRequestOptions,
|
|
18694
|
+
}];
|
|
18695
|
+
}
|
|
18696
|
+
});
|
|
18697
|
+
});
|
|
18698
|
+
},
|
|
18699
|
+
/**
|
|
18700
|
+
*
|
|
18701
|
+
* @summary Get all members.
|
|
18702
|
+
* @param {string} membershipId
|
|
18703
|
+
* @param {number} [page]
|
|
18704
|
+
* @param {number} [limit]
|
|
18705
|
+
* @param {Date} [lastRetrieved]
|
|
18706
|
+
* @param {*} [options] Override http request option.
|
|
18707
|
+
* @throws {RequiredError}
|
|
18708
|
+
*/
|
|
18709
|
+
apiV1MembershipsMembershipIdMembersGet: function (membershipId, page, limit, lastRetrieved, options) {
|
|
18710
|
+
if (options === void 0) { options = {}; }
|
|
18711
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
18712
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
18713
|
+
return __generator(this, function (_a) {
|
|
18714
|
+
switch (_a.label) {
|
|
18715
|
+
case 0:
|
|
18716
|
+
// verify required parameter 'membershipId' is not null or undefined
|
|
18717
|
+
common_1.assertParamExists('apiV1MembershipsMembershipIdMembersGet', 'membershipId', membershipId);
|
|
18718
|
+
localVarPath = "/api/v1/memberships/{membershipId}/members"
|
|
18719
|
+
.replace("{" + "membershipId" + "}", encodeURIComponent(String(membershipId)));
|
|
18720
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18721
|
+
if (configuration) {
|
|
18722
|
+
baseOptions = configuration.baseOptions;
|
|
18723
|
+
}
|
|
18724
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
18725
|
+
localVarHeaderParameter = {};
|
|
18726
|
+
localVarQueryParameter = {};
|
|
18727
|
+
// authentication oauth2 required
|
|
18728
|
+
// oauth required
|
|
18729
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
18730
|
+
case 1:
|
|
18731
|
+
// authentication oauth2 required
|
|
18732
|
+
// oauth required
|
|
18733
|
+
_a.sent();
|
|
18734
|
+
if (page !== undefined) {
|
|
18735
|
+
localVarQueryParameter['page'] = page;
|
|
18736
|
+
}
|
|
18737
|
+
if (limit !== undefined) {
|
|
18738
|
+
localVarQueryParameter['limit'] = limit;
|
|
18739
|
+
}
|
|
18740
|
+
if (lastRetrieved !== undefined) {
|
|
18741
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
18742
|
+
lastRetrieved.toISOString() :
|
|
18743
|
+
lastRetrieved;
|
|
18744
|
+
}
|
|
18745
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18746
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18747
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
18748
|
+
return [2 /*return*/, {
|
|
18749
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
18750
|
+
options: localVarRequestOptions,
|
|
18751
|
+
}];
|
|
18752
|
+
}
|
|
18753
|
+
});
|
|
18754
|
+
});
|
|
18755
|
+
},
|
|
18756
|
+
};
|
|
18757
|
+
};
|
|
18758
|
+
/**
|
|
18759
|
+
* MembershipsApi - functional programming interface
|
|
18760
|
+
* @export
|
|
18761
|
+
*/
|
|
18762
|
+
exports.MembershipsApiFp = function (configuration) {
|
|
18763
|
+
var localVarAxiosParamCreator = exports.MembershipsApiAxiosParamCreator(configuration);
|
|
18764
|
+
return {
|
|
18765
|
+
/**
|
|
18766
|
+
*
|
|
18767
|
+
* @summary Get all memberships.
|
|
18768
|
+
* @param {string} [id]
|
|
18769
|
+
* @param {string} [planId]
|
|
18770
|
+
* @param {string} [planName]
|
|
18771
|
+
* @param {string} [ownerId]
|
|
18772
|
+
* @param {string} [ownerName]
|
|
18773
|
+
* @param {boolean} [isActive]
|
|
18774
|
+
* @param {number} [page]
|
|
18775
|
+
* @param {number} [limit]
|
|
18776
|
+
* @param {Date} [lastRetrieved]
|
|
18777
|
+
* @param {*} [options] Override http request option.
|
|
18778
|
+
* @throws {RequiredError}
|
|
18779
|
+
*/
|
|
18780
|
+
apiV1MembershipsGet: function (id, planId, planName, ownerId, ownerName, isActive, page, limit, lastRetrieved, options) {
|
|
18781
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
18782
|
+
var localVarAxiosArgs;
|
|
18783
|
+
return __generator(this, function (_a) {
|
|
18784
|
+
switch (_a.label) {
|
|
18785
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1MembershipsGet(id, planId, planName, ownerId, ownerName, isActive, page, limit, lastRetrieved, options)];
|
|
18786
|
+
case 1:
|
|
18787
|
+
localVarAxiosArgs = _a.sent();
|
|
18788
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
18789
|
+
}
|
|
18790
|
+
});
|
|
18791
|
+
});
|
|
18792
|
+
},
|
|
18793
|
+
/**
|
|
18794
|
+
*
|
|
18795
|
+
* @summary Get membership.
|
|
18796
|
+
* @param {string} membershipId
|
|
18797
|
+
* @param {*} [options] Override http request option.
|
|
18798
|
+
* @throws {RequiredError}
|
|
18799
|
+
*/
|
|
18800
|
+
apiV1MembershipsMembershipIdGet: function (membershipId, options) {
|
|
18801
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
18802
|
+
var localVarAxiosArgs;
|
|
18803
|
+
return __generator(this, function (_a) {
|
|
18804
|
+
switch (_a.label) {
|
|
18805
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1MembershipsMembershipIdGet(membershipId, options)];
|
|
18806
|
+
case 1:
|
|
18807
|
+
localVarAxiosArgs = _a.sent();
|
|
18808
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
18809
|
+
}
|
|
18810
|
+
});
|
|
18811
|
+
});
|
|
18812
|
+
},
|
|
18813
|
+
/**
|
|
18814
|
+
*
|
|
18815
|
+
* @summary Get all members.
|
|
18816
|
+
* @param {string} membershipId
|
|
18817
|
+
* @param {number} [page]
|
|
18818
|
+
* @param {number} [limit]
|
|
18819
|
+
* @param {Date} [lastRetrieved]
|
|
18820
|
+
* @param {*} [options] Override http request option.
|
|
18821
|
+
* @throws {RequiredError}
|
|
18822
|
+
*/
|
|
18823
|
+
apiV1MembershipsMembershipIdMembersGet: function (membershipId, page, limit, lastRetrieved, options) {
|
|
18824
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
18825
|
+
var localVarAxiosArgs;
|
|
18826
|
+
return __generator(this, function (_a) {
|
|
18827
|
+
switch (_a.label) {
|
|
18828
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1MembershipsMembershipIdMembersGet(membershipId, page, limit, lastRetrieved, options)];
|
|
18829
|
+
case 1:
|
|
18830
|
+
localVarAxiosArgs = _a.sent();
|
|
18831
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
18832
|
+
}
|
|
18833
|
+
});
|
|
18834
|
+
});
|
|
18835
|
+
},
|
|
18836
|
+
};
|
|
18837
|
+
};
|
|
18838
|
+
/**
|
|
18839
|
+
* MembershipsApi - factory interface
|
|
18840
|
+
* @export
|
|
18841
|
+
*/
|
|
18842
|
+
exports.MembershipsApiFactory = function (configuration, basePath, axios) {
|
|
18843
|
+
var localVarFp = exports.MembershipsApiFp(configuration);
|
|
18844
|
+
return {
|
|
18845
|
+
/**
|
|
18846
|
+
*
|
|
18847
|
+
* @summary Get all memberships.
|
|
18848
|
+
* @param {string} [id]
|
|
18849
|
+
* @param {string} [planId]
|
|
18850
|
+
* @param {string} [planName]
|
|
18851
|
+
* @param {string} [ownerId]
|
|
18852
|
+
* @param {string} [ownerName]
|
|
18853
|
+
* @param {boolean} [isActive]
|
|
18854
|
+
* @param {number} [page]
|
|
18855
|
+
* @param {number} [limit]
|
|
18856
|
+
* @param {Date} [lastRetrieved]
|
|
18857
|
+
* @param {*} [options] Override http request option.
|
|
18858
|
+
* @throws {RequiredError}
|
|
18859
|
+
*/
|
|
18860
|
+
apiV1MembershipsGet: function (id, planId, planName, ownerId, ownerName, isActive, page, limit, lastRetrieved, options) {
|
|
18861
|
+
return localVarFp.apiV1MembershipsGet(id, planId, planName, ownerId, ownerName, isActive, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
18862
|
+
},
|
|
18863
|
+
/**
|
|
18864
|
+
*
|
|
18865
|
+
* @summary Get membership.
|
|
18866
|
+
* @param {string} membershipId
|
|
18867
|
+
* @param {*} [options] Override http request option.
|
|
18868
|
+
* @throws {RequiredError}
|
|
18869
|
+
*/
|
|
18870
|
+
apiV1MembershipsMembershipIdGet: function (membershipId, options) {
|
|
18871
|
+
return localVarFp.apiV1MembershipsMembershipIdGet(membershipId, options).then(function (request) { return request(axios, basePath); });
|
|
18872
|
+
},
|
|
18873
|
+
/**
|
|
18874
|
+
*
|
|
18875
|
+
* @summary Get all members.
|
|
18876
|
+
* @param {string} membershipId
|
|
18877
|
+
* @param {number} [page]
|
|
18878
|
+
* @param {number} [limit]
|
|
18879
|
+
* @param {Date} [lastRetrieved]
|
|
18880
|
+
* @param {*} [options] Override http request option.
|
|
18881
|
+
* @throws {RequiredError}
|
|
18882
|
+
*/
|
|
18883
|
+
apiV1MembershipsMembershipIdMembersGet: function (membershipId, page, limit, lastRetrieved, options) {
|
|
18884
|
+
return localVarFp.apiV1MembershipsMembershipIdMembersGet(membershipId, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
18885
|
+
},
|
|
18886
|
+
};
|
|
18887
|
+
};
|
|
18888
|
+
/**
|
|
18889
|
+
* MembershipsApi - object-oriented interface
|
|
18890
|
+
* @export
|
|
18891
|
+
* @class MembershipsApi
|
|
18892
|
+
* @extends {BaseAPI}
|
|
18893
|
+
*/
|
|
18894
|
+
var MembershipsApi = /** @class */ (function (_super) {
|
|
18895
|
+
__extends(MembershipsApi, _super);
|
|
18896
|
+
function MembershipsApi() {
|
|
18897
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
18898
|
+
}
|
|
18899
|
+
/**
|
|
18900
|
+
*
|
|
18901
|
+
* @summary Get all memberships.
|
|
18902
|
+
* @param {string} [id]
|
|
18903
|
+
* @param {string} [planId]
|
|
18904
|
+
* @param {string} [planName]
|
|
18905
|
+
* @param {string} [ownerId]
|
|
18906
|
+
* @param {string} [ownerName]
|
|
18907
|
+
* @param {boolean} [isActive]
|
|
18908
|
+
* @param {number} [page]
|
|
18909
|
+
* @param {number} [limit]
|
|
18910
|
+
* @param {Date} [lastRetrieved]
|
|
18911
|
+
* @param {*} [options] Override http request option.
|
|
18912
|
+
* @throws {RequiredError}
|
|
18913
|
+
* @memberof MembershipsApi
|
|
18914
|
+
*/
|
|
18915
|
+
MembershipsApi.prototype.apiV1MembershipsGet = function (id, planId, planName, ownerId, ownerName, isActive, page, limit, lastRetrieved, options) {
|
|
18916
|
+
var _this = this;
|
|
18917
|
+
return exports.MembershipsApiFp(this.configuration).apiV1MembershipsGet(id, planId, planName, ownerId, ownerName, isActive, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
18918
|
+
};
|
|
18919
|
+
/**
|
|
18920
|
+
*
|
|
18921
|
+
* @summary Get membership.
|
|
18922
|
+
* @param {string} membershipId
|
|
18923
|
+
* @param {*} [options] Override http request option.
|
|
18924
|
+
* @throws {RequiredError}
|
|
18925
|
+
* @memberof MembershipsApi
|
|
18926
|
+
*/
|
|
18927
|
+
MembershipsApi.prototype.apiV1MembershipsMembershipIdGet = function (membershipId, options) {
|
|
18928
|
+
var _this = this;
|
|
18929
|
+
return exports.MembershipsApiFp(this.configuration).apiV1MembershipsMembershipIdGet(membershipId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
18930
|
+
};
|
|
18931
|
+
/**
|
|
18932
|
+
*
|
|
18933
|
+
* @summary Get all members.
|
|
18934
|
+
* @param {string} membershipId
|
|
18935
|
+
* @param {number} [page]
|
|
18936
|
+
* @param {number} [limit]
|
|
18937
|
+
* @param {Date} [lastRetrieved]
|
|
18938
|
+
* @param {*} [options] Override http request option.
|
|
18939
|
+
* @throws {RequiredError}
|
|
18940
|
+
* @memberof MembershipsApi
|
|
18941
|
+
*/
|
|
18942
|
+
MembershipsApi.prototype.apiV1MembershipsMembershipIdMembersGet = function (membershipId, page, limit, lastRetrieved, options) {
|
|
18943
|
+
var _this = this;
|
|
18944
|
+
return exports.MembershipsApiFp(this.configuration).apiV1MembershipsMembershipIdMembersGet(membershipId, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
18945
|
+
};
|
|
18946
|
+
return MembershipsApi;
|
|
18947
|
+
}(base_1.BaseAPI));
|
|
18948
|
+
exports.MembershipsApi = MembershipsApi;
|
|
18572
18949
|
/**
|
|
18573
18950
|
* NotificationsApi - axios parameter creator
|
|
18574
18951
|
* @export
|
|
@@ -20519,7 +20896,7 @@ exports.ServicesCategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
20519
20896
|
var _this = this;
|
|
20520
20897
|
return {
|
|
20521
20898
|
/**
|
|
20522
|
-
*
|
|
20899
|
+
*
|
|
20523
20900
|
* @summary Get all ServiceCategories.
|
|
20524
20901
|
* @param {string} [id]
|
|
20525
20902
|
* @param {string} [name]
|
|
@@ -20629,7 +21006,7 @@ exports.ServicesCategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
20629
21006
|
});
|
|
20630
21007
|
},
|
|
20631
21008
|
/**
|
|
20632
|
-
*
|
|
21009
|
+
*
|
|
20633
21010
|
* @summary Delete ServiceCategory.
|
|
20634
21011
|
* @param {string} serviceCategoryId
|
|
20635
21012
|
* @param {*} [options] Override http request option.
|
|
@@ -20672,7 +21049,7 @@ exports.ServicesCategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
20672
21049
|
});
|
|
20673
21050
|
},
|
|
20674
21051
|
/**
|
|
20675
|
-
*
|
|
21052
|
+
*
|
|
20676
21053
|
* @summary Get ServiceCategory.
|
|
20677
21054
|
* @param {string} serviceCategoryId
|
|
20678
21055
|
* @param {string} [languageCode]
|
|
@@ -20719,7 +21096,7 @@ exports.ServicesCategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
20719
21096
|
});
|
|
20720
21097
|
},
|
|
20721
21098
|
/**
|
|
20722
|
-
*
|
|
21099
|
+
*
|
|
20723
21100
|
* @summary Update ServiceCategory
|
|
20724
21101
|
* @param {string} serviceCategoryId
|
|
20725
21102
|
* @param {UpdateServiceCategoryCommand} [updateServiceCategoryCommand]
|
|
@@ -20774,7 +21151,7 @@ exports.ServicesCategoriesApiFp = function (configuration) {
|
|
|
20774
21151
|
var localVarAxiosParamCreator = exports.ServicesCategoriesApiAxiosParamCreator(configuration);
|
|
20775
21152
|
return {
|
|
20776
21153
|
/**
|
|
20777
|
-
*
|
|
21154
|
+
*
|
|
20778
21155
|
* @summary Get all ServiceCategories.
|
|
20779
21156
|
* @param {string} [id]
|
|
20780
21157
|
* @param {string} [name]
|
|
@@ -20819,7 +21196,7 @@ exports.ServicesCategoriesApiFp = function (configuration) {
|
|
|
20819
21196
|
});
|
|
20820
21197
|
},
|
|
20821
21198
|
/**
|
|
20822
|
-
*
|
|
21199
|
+
*
|
|
20823
21200
|
* @summary Delete ServiceCategory.
|
|
20824
21201
|
* @param {string} serviceCategoryId
|
|
20825
21202
|
* @param {*} [options] Override http request option.
|
|
@@ -20839,7 +21216,7 @@ exports.ServicesCategoriesApiFp = function (configuration) {
|
|
|
20839
21216
|
});
|
|
20840
21217
|
},
|
|
20841
21218
|
/**
|
|
20842
|
-
*
|
|
21219
|
+
*
|
|
20843
21220
|
* @summary Get ServiceCategory.
|
|
20844
21221
|
* @param {string} serviceCategoryId
|
|
20845
21222
|
* @param {string} [languageCode]
|
|
@@ -20860,7 +21237,7 @@ exports.ServicesCategoriesApiFp = function (configuration) {
|
|
|
20860
21237
|
});
|
|
20861
21238
|
},
|
|
20862
21239
|
/**
|
|
20863
|
-
*
|
|
21240
|
+
*
|
|
20864
21241
|
* @summary Update ServiceCategory
|
|
20865
21242
|
* @param {string} serviceCategoryId
|
|
20866
21243
|
* @param {UpdateServiceCategoryCommand} [updateServiceCategoryCommand]
|
|
@@ -20890,7 +21267,7 @@ exports.ServicesCategoriesApiFactory = function (configuration, basePath, axios)
|
|
|
20890
21267
|
var localVarFp = exports.ServicesCategoriesApiFp(configuration);
|
|
20891
21268
|
return {
|
|
20892
21269
|
/**
|
|
20893
|
-
*
|
|
21270
|
+
*
|
|
20894
21271
|
* @summary Get all ServiceCategories.
|
|
20895
21272
|
* @param {string} [id]
|
|
20896
21273
|
* @param {string} [name]
|
|
@@ -20915,7 +21292,7 @@ exports.ServicesCategoriesApiFactory = function (configuration, basePath, axios)
|
|
|
20915
21292
|
return localVarFp.apiV1ServicescategoriesPost(createServiceCategoryCommand, options).then(function (request) { return request(axios, basePath); });
|
|
20916
21293
|
},
|
|
20917
21294
|
/**
|
|
20918
|
-
*
|
|
21295
|
+
*
|
|
20919
21296
|
* @summary Delete ServiceCategory.
|
|
20920
21297
|
* @param {string} serviceCategoryId
|
|
20921
21298
|
* @param {*} [options] Override http request option.
|
|
@@ -20925,7 +21302,7 @@ exports.ServicesCategoriesApiFactory = function (configuration, basePath, axios)
|
|
|
20925
21302
|
return localVarFp.apiV1ServicescategoriesServiceCategoryIdDelete(serviceCategoryId, options).then(function (request) { return request(axios, basePath); });
|
|
20926
21303
|
},
|
|
20927
21304
|
/**
|
|
20928
|
-
*
|
|
21305
|
+
*
|
|
20929
21306
|
* @summary Get ServiceCategory.
|
|
20930
21307
|
* @param {string} serviceCategoryId
|
|
20931
21308
|
* @param {string} [languageCode]
|
|
@@ -20936,7 +21313,7 @@ exports.ServicesCategoriesApiFactory = function (configuration, basePath, axios)
|
|
|
20936
21313
|
return localVarFp.apiV1ServicescategoriesServiceCategoryIdGet(serviceCategoryId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
20937
21314
|
},
|
|
20938
21315
|
/**
|
|
20939
|
-
*
|
|
21316
|
+
*
|
|
20940
21317
|
* @summary Update ServiceCategory
|
|
20941
21318
|
* @param {string} serviceCategoryId
|
|
20942
21319
|
* @param {UpdateServiceCategoryCommand} [updateServiceCategoryCommand]
|
|
@@ -20960,7 +21337,7 @@ var ServicesCategoriesApi = /** @class */ (function (_super) {
|
|
|
20960
21337
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
20961
21338
|
}
|
|
20962
21339
|
/**
|
|
20963
|
-
*
|
|
21340
|
+
*
|
|
20964
21341
|
* @summary Get all ServiceCategories.
|
|
20965
21342
|
* @param {string} [id]
|
|
20966
21343
|
* @param {string} [name]
|
|
@@ -20989,7 +21366,7 @@ var ServicesCategoriesApi = /** @class */ (function (_super) {
|
|
|
20989
21366
|
return exports.ServicesCategoriesApiFp(this.configuration).apiV1ServicescategoriesPost(createServiceCategoryCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
20990
21367
|
};
|
|
20991
21368
|
/**
|
|
20992
|
-
*
|
|
21369
|
+
*
|
|
20993
21370
|
* @summary Delete ServiceCategory.
|
|
20994
21371
|
* @param {string} serviceCategoryId
|
|
20995
21372
|
* @param {*} [options] Override http request option.
|
|
@@ -21001,7 +21378,7 @@ var ServicesCategoriesApi = /** @class */ (function (_super) {
|
|
|
21001
21378
|
return exports.ServicesCategoriesApiFp(this.configuration).apiV1ServicescategoriesServiceCategoryIdDelete(serviceCategoryId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
21002
21379
|
};
|
|
21003
21380
|
/**
|
|
21004
|
-
*
|
|
21381
|
+
*
|
|
21005
21382
|
* @summary Get ServiceCategory.
|
|
21006
21383
|
* @param {string} serviceCategoryId
|
|
21007
21384
|
* @param {string} [languageCode]
|
|
@@ -21014,7 +21391,7 @@ var ServicesCategoriesApi = /** @class */ (function (_super) {
|
|
|
21014
21391
|
return exports.ServicesCategoriesApiFp(this.configuration).apiV1ServicescategoriesServiceCategoryIdGet(serviceCategoryId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
21015
21392
|
};
|
|
21016
21393
|
/**
|
|
21017
|
-
*
|
|
21394
|
+
*
|
|
21018
21395
|
* @summary Update ServiceCategory
|
|
21019
21396
|
* @param {string} serviceCategoryId
|
|
21020
21397
|
* @param {UpdateServiceCategoryCommand} [updateServiceCategoryCommand]
|