ch-admin-api-client-typescript 2.2.12 → 2.3.2

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.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
@@ -1808,22 +1808,16 @@ exports.ArticlesApiAxiosParamCreator = function (configuration) {
1808
1808
  },
1809
1809
  /**
1810
1810
  *
1811
- * @summary GetAll ArticleContributors.
1811
+ * @summary GetAll ArticleTags.
1812
1812
  * @param {string} articleId
1813
- * @param {string} [articleName]
1814
- * @param {string} [contributorId]
1815
- * @param {string} [contributorName]
1816
- * @param {string} [email]
1817
- * @param {string} [description]
1818
- * @param {string} [website]
1819
- * @param {ContributionType} [contributionType]
1813
+ * @param {string} [tagId]
1820
1814
  * @param {number} [page]
1821
1815
  * @param {number} [limit]
1822
1816
  * @param {Date} [lastRetrieved]
1823
1817
  * @param {*} [options] Override http request option.
1824
1818
  * @throws {RequiredError}
1825
1819
  */
1826
- apiV1ArticlesArticleIdTagsGet: function (articleId, articleName, contributorId, contributorName, email, description, website, contributionType, page, limit, lastRetrieved, options) {
1820
+ apiV1ArticlesArticleIdTagsGet: function (articleId, tagId, page, limit, lastRetrieved, options) {
1827
1821
  if (options === void 0) { options = {}; }
1828
1822
  return __awaiter(_this, void 0, void 0, function () {
1829
1823
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -1848,26 +1842,8 @@ exports.ArticlesApiAxiosParamCreator = function (configuration) {
1848
1842
  // authentication oauth2 required
1849
1843
  // oauth required
1850
1844
  _a.sent();
1851
- if (articleName !== undefined) {
1852
- localVarQueryParameter['ArticleName'] = articleName;
1853
- }
1854
- if (contributorId !== undefined) {
1855
- localVarQueryParameter['ContributorId'] = contributorId;
1856
- }
1857
- if (contributorName !== undefined) {
1858
- localVarQueryParameter['ContributorName'] = contributorName;
1859
- }
1860
- if (email !== undefined) {
1861
- localVarQueryParameter['Email'] = email;
1862
- }
1863
- if (description !== undefined) {
1864
- localVarQueryParameter['Description'] = description;
1865
- }
1866
- if (website !== undefined) {
1867
- localVarQueryParameter['Website'] = website;
1868
- }
1869
- if (contributionType !== undefined) {
1870
- localVarQueryParameter['ContributionType'] = contributionType;
1845
+ if (tagId !== undefined) {
1846
+ localVarQueryParameter['TagId'] = tagId;
1871
1847
  }
1872
1848
  if (page !== undefined) {
1873
1849
  localVarQueryParameter['page'] = page;
@@ -1893,12 +1869,13 @@ exports.ArticlesApiAxiosParamCreator = function (configuration) {
1893
1869
  },
1894
1870
  /**
1895
1871
  *
1872
+ * @summary Create ArticleTag.
1896
1873
  * @param {string} articleId
1897
- * @param {CreateArticleContributorCommand} [createArticleContributorCommand]
1874
+ * @param {CreateArticleTagCommand} [createArticleTagCommand]
1898
1875
  * @param {*} [options] Override http request option.
1899
1876
  * @throws {RequiredError}
1900
1877
  */
1901
- apiV1ArticlesArticleIdTagsPost: function (articleId, createArticleContributorCommand, options) {
1878
+ apiV1ArticlesArticleIdTagsPost: function (articleId, createArticleTagCommand, options) {
1902
1879
  if (options === void 0) { options = {}; }
1903
1880
  return __awaiter(_this, void 0, void 0, function () {
1904
1881
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -1927,7 +1904,7 @@ exports.ArticlesApiAxiosParamCreator = function (configuration) {
1927
1904
  common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
1928
1905
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1929
1906
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1930
- localVarRequestOptions.data = common_1.serializeDataIfNeeded(createArticleContributorCommand, localVarRequestOptions, configuration);
1907
+ localVarRequestOptions.data = common_1.serializeDataIfNeeded(createArticleTagCommand, localVarRequestOptions, configuration);
1931
1908
  return [2 /*return*/, {
1932
1909
  url: common_1.toPathString(localVarUrlObj),
1933
1910
  options: localVarRequestOptions,
@@ -1938,14 +1915,14 @@ exports.ArticlesApiAxiosParamCreator = function (configuration) {
1938
1915
  },
1939
1916
  /**
1940
1917
  *
1941
- * @summary Delete ArticleContributor.
1918
+ * @summary Delete ArticleTag.
1942
1919
  * @param {string} articleId
1943
- * @param {string} contributorId
1944
1920
  * @param {string} tagId
1921
+ * @param {DeleteArticleTagCommand} [deleteArticleTagCommand]
1945
1922
  * @param {*} [options] Override http request option.
1946
1923
  * @throws {RequiredError}
1947
1924
  */
1948
- apiV1ArticlesArticleIdTagsTagIdDelete: function (articleId, contributorId, tagId, options) {
1925
+ apiV1ArticlesArticleIdTagsTagIdDelete: function (articleId, tagId, deleteArticleTagCommand, options) {
1949
1926
  if (options === void 0) { options = {}; }
1950
1927
  return __awaiter(_this, void 0, void 0, function () {
1951
1928
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -1954,13 +1931,10 @@ exports.ArticlesApiAxiosParamCreator = function (configuration) {
1954
1931
  case 0:
1955
1932
  // verify required parameter 'articleId' is not null or undefined
1956
1933
  common_1.assertParamExists('apiV1ArticlesArticleIdTagsTagIdDelete', 'articleId', articleId);
1957
- // verify required parameter 'contributorId' is not null or undefined
1958
- common_1.assertParamExists('apiV1ArticlesArticleIdTagsTagIdDelete', 'contributorId', contributorId);
1959
1934
  // verify required parameter 'tagId' is not null or undefined
1960
1935
  common_1.assertParamExists('apiV1ArticlesArticleIdTagsTagIdDelete', 'tagId', tagId);
1961
1936
  localVarPath = "/api/v1/articles/{articleId}/tags/{tagId}"
1962
1937
  .replace("{" + "articleId" + "}", encodeURIComponent(String(articleId)))
1963
- .replace("{" + "contributorId" + "}", encodeURIComponent(String(contributorId)))
1964
1938
  .replace("{" + "tagId" + "}", encodeURIComponent(String(tagId)));
1965
1939
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1966
1940
  if (configuration) {
@@ -1976,9 +1950,11 @@ exports.ArticlesApiAxiosParamCreator = function (configuration) {
1976
1950
  // authentication oauth2 required
1977
1951
  // oauth required
1978
1952
  _a.sent();
1953
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1979
1954
  common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
1980
1955
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1981
1956
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1957
+ localVarRequestOptions.data = common_1.serializeDataIfNeeded(deleteArticleTagCommand, localVarRequestOptions, configuration);
1982
1958
  return [2 /*return*/, {
1983
1959
  url: common_1.toPathString(localVarUrlObj),
1984
1960
  options: localVarRequestOptions,
@@ -1989,14 +1965,13 @@ exports.ArticlesApiAxiosParamCreator = function (configuration) {
1989
1965
  },
1990
1966
  /**
1991
1967
  *
1992
- * @summary Get ArticleContributor.
1968
+ * @summary Get ArticleTag.
1993
1969
  * @param {string} articleId
1994
- * @param {string} contributorId
1995
1970
  * @param {string} tagId
1996
1971
  * @param {*} [options] Override http request option.
1997
1972
  * @throws {RequiredError}
1998
1973
  */
1999
- apiV1ArticlesArticleIdTagsTagIdGet: function (articleId, contributorId, tagId, options) {
1974
+ apiV1ArticlesArticleIdTagsTagIdGet: function (articleId, tagId, options) {
2000
1975
  if (options === void 0) { options = {}; }
2001
1976
  return __awaiter(_this, void 0, void 0, function () {
2002
1977
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -2005,13 +1980,10 @@ exports.ArticlesApiAxiosParamCreator = function (configuration) {
2005
1980
  case 0:
2006
1981
  // verify required parameter 'articleId' is not null or undefined
2007
1982
  common_1.assertParamExists('apiV1ArticlesArticleIdTagsTagIdGet', 'articleId', articleId);
2008
- // verify required parameter 'contributorId' is not null or undefined
2009
- common_1.assertParamExists('apiV1ArticlesArticleIdTagsTagIdGet', 'contributorId', contributorId);
2010
1983
  // verify required parameter 'tagId' is not null or undefined
2011
1984
  common_1.assertParamExists('apiV1ArticlesArticleIdTagsTagIdGet', 'tagId', tagId);
2012
1985
  localVarPath = "/api/v1/articles/{articleId}/tags/{tagId}"
2013
1986
  .replace("{" + "articleId" + "}", encodeURIComponent(String(articleId)))
2014
- .replace("{" + "contributorId" + "}", encodeURIComponent(String(contributorId)))
2015
1987
  .replace("{" + "tagId" + "}", encodeURIComponent(String(tagId)));
2016
1988
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2017
1989
  if (configuration) {
@@ -2646,27 +2618,21 @@ exports.ArticlesApiFp = function (configuration) {
2646
2618
  },
2647
2619
  /**
2648
2620
  *
2649
- * @summary GetAll ArticleContributors.
2621
+ * @summary GetAll ArticleTags.
2650
2622
  * @param {string} articleId
2651
- * @param {string} [articleName]
2652
- * @param {string} [contributorId]
2653
- * @param {string} [contributorName]
2654
- * @param {string} [email]
2655
- * @param {string} [description]
2656
- * @param {string} [website]
2657
- * @param {ContributionType} [contributionType]
2623
+ * @param {string} [tagId]
2658
2624
  * @param {number} [page]
2659
2625
  * @param {number} [limit]
2660
2626
  * @param {Date} [lastRetrieved]
2661
2627
  * @param {*} [options] Override http request option.
2662
2628
  * @throws {RequiredError}
2663
2629
  */
2664
- apiV1ArticlesArticleIdTagsGet: function (articleId, articleName, contributorId, contributorName, email, description, website, contributionType, page, limit, lastRetrieved, options) {
2630
+ apiV1ArticlesArticleIdTagsGet: function (articleId, tagId, page, limit, lastRetrieved, options) {
2665
2631
  return __awaiter(this, void 0, void 0, function () {
2666
2632
  var localVarAxiosArgs;
2667
2633
  return __generator(this, function (_a) {
2668
2634
  switch (_a.label) {
2669
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ArticlesArticleIdTagsGet(articleId, articleName, contributorId, contributorName, email, description, website, contributionType, page, limit, lastRetrieved, options)];
2635
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ArticlesArticleIdTagsGet(articleId, tagId, page, limit, lastRetrieved, options)];
2670
2636
  case 1:
2671
2637
  localVarAxiosArgs = _a.sent();
2672
2638
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -2676,17 +2642,18 @@ exports.ArticlesApiFp = function (configuration) {
2676
2642
  },
2677
2643
  /**
2678
2644
  *
2645
+ * @summary Create ArticleTag.
2679
2646
  * @param {string} articleId
2680
- * @param {CreateArticleContributorCommand} [createArticleContributorCommand]
2647
+ * @param {CreateArticleTagCommand} [createArticleTagCommand]
2681
2648
  * @param {*} [options] Override http request option.
2682
2649
  * @throws {RequiredError}
2683
2650
  */
2684
- apiV1ArticlesArticleIdTagsPost: function (articleId, createArticleContributorCommand, options) {
2651
+ apiV1ArticlesArticleIdTagsPost: function (articleId, createArticleTagCommand, options) {
2685
2652
  return __awaiter(this, void 0, void 0, function () {
2686
2653
  var localVarAxiosArgs;
2687
2654
  return __generator(this, function (_a) {
2688
2655
  switch (_a.label) {
2689
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ArticlesArticleIdTagsPost(articleId, createArticleContributorCommand, options)];
2656
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ArticlesArticleIdTagsPost(articleId, createArticleTagCommand, options)];
2690
2657
  case 1:
2691
2658
  localVarAxiosArgs = _a.sent();
2692
2659
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -2696,19 +2663,19 @@ exports.ArticlesApiFp = function (configuration) {
2696
2663
  },
2697
2664
  /**
2698
2665
  *
2699
- * @summary Delete ArticleContributor.
2666
+ * @summary Delete ArticleTag.
2700
2667
  * @param {string} articleId
2701
- * @param {string} contributorId
2702
2668
  * @param {string} tagId
2669
+ * @param {DeleteArticleTagCommand} [deleteArticleTagCommand]
2703
2670
  * @param {*} [options] Override http request option.
2704
2671
  * @throws {RequiredError}
2705
2672
  */
2706
- apiV1ArticlesArticleIdTagsTagIdDelete: function (articleId, contributorId, tagId, options) {
2673
+ apiV1ArticlesArticleIdTagsTagIdDelete: function (articleId, tagId, deleteArticleTagCommand, options) {
2707
2674
  return __awaiter(this, void 0, void 0, function () {
2708
2675
  var localVarAxiosArgs;
2709
2676
  return __generator(this, function (_a) {
2710
2677
  switch (_a.label) {
2711
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ArticlesArticleIdTagsTagIdDelete(articleId, contributorId, tagId, options)];
2678
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ArticlesArticleIdTagsTagIdDelete(articleId, tagId, deleteArticleTagCommand, options)];
2712
2679
  case 1:
2713
2680
  localVarAxiosArgs = _a.sent();
2714
2681
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -2718,19 +2685,18 @@ exports.ArticlesApiFp = function (configuration) {
2718
2685
  },
2719
2686
  /**
2720
2687
  *
2721
- * @summary Get ArticleContributor.
2688
+ * @summary Get ArticleTag.
2722
2689
  * @param {string} articleId
2723
- * @param {string} contributorId
2724
2690
  * @param {string} tagId
2725
2691
  * @param {*} [options] Override http request option.
2726
2692
  * @throws {RequiredError}
2727
2693
  */
2728
- apiV1ArticlesArticleIdTagsTagIdGet: function (articleId, contributorId, tagId, options) {
2694
+ apiV1ArticlesArticleIdTagsTagIdGet: function (articleId, tagId, options) {
2729
2695
  return __awaiter(this, void 0, void 0, function () {
2730
2696
  var localVarAxiosArgs;
2731
2697
  return __generator(this, function (_a) {
2732
2698
  switch (_a.label) {
2733
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ArticlesArticleIdTagsTagIdGet(articleId, contributorId, tagId, options)];
2699
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ArticlesArticleIdTagsTagIdGet(articleId, tagId, options)];
2734
2700
  case 1:
2735
2701
  localVarAxiosArgs = _a.sent();
2736
2702
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -3042,57 +3008,51 @@ exports.ArticlesApiFactory = function (configuration, basePath, axios) {
3042
3008
  },
3043
3009
  /**
3044
3010
  *
3045
- * @summary GetAll ArticleContributors.
3011
+ * @summary GetAll ArticleTags.
3046
3012
  * @param {string} articleId
3047
- * @param {string} [articleName]
3048
- * @param {string} [contributorId]
3049
- * @param {string} [contributorName]
3050
- * @param {string} [email]
3051
- * @param {string} [description]
3052
- * @param {string} [website]
3053
- * @param {ContributionType} [contributionType]
3013
+ * @param {string} [tagId]
3054
3014
  * @param {number} [page]
3055
3015
  * @param {number} [limit]
3056
3016
  * @param {Date} [lastRetrieved]
3057
3017
  * @param {*} [options] Override http request option.
3058
3018
  * @throws {RequiredError}
3059
3019
  */
3060
- apiV1ArticlesArticleIdTagsGet: function (articleId, articleName, contributorId, contributorName, email, description, website, contributionType, page, limit, lastRetrieved, options) {
3061
- return localVarFp.apiV1ArticlesArticleIdTagsGet(articleId, articleName, contributorId, contributorName, email, description, website, contributionType, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
3020
+ apiV1ArticlesArticleIdTagsGet: function (articleId, tagId, page, limit, lastRetrieved, options) {
3021
+ return localVarFp.apiV1ArticlesArticleIdTagsGet(articleId, tagId, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
3062
3022
  },
3063
3023
  /**
3064
3024
  *
3025
+ * @summary Create ArticleTag.
3065
3026
  * @param {string} articleId
3066
- * @param {CreateArticleContributorCommand} [createArticleContributorCommand]
3027
+ * @param {CreateArticleTagCommand} [createArticleTagCommand]
3067
3028
  * @param {*} [options] Override http request option.
3068
3029
  * @throws {RequiredError}
3069
3030
  */
3070
- apiV1ArticlesArticleIdTagsPost: function (articleId, createArticleContributorCommand, options) {
3071
- return localVarFp.apiV1ArticlesArticleIdTagsPost(articleId, createArticleContributorCommand, options).then(function (request) { return request(axios, basePath); });
3031
+ apiV1ArticlesArticleIdTagsPost: function (articleId, createArticleTagCommand, options) {
3032
+ return localVarFp.apiV1ArticlesArticleIdTagsPost(articleId, createArticleTagCommand, options).then(function (request) { return request(axios, basePath); });
3072
3033
  },
3073
3034
  /**
3074
3035
  *
3075
- * @summary Delete ArticleContributor.
3036
+ * @summary Delete ArticleTag.
3076
3037
  * @param {string} articleId
3077
- * @param {string} contributorId
3078
3038
  * @param {string} tagId
3039
+ * @param {DeleteArticleTagCommand} [deleteArticleTagCommand]
3079
3040
  * @param {*} [options] Override http request option.
3080
3041
  * @throws {RequiredError}
3081
3042
  */
3082
- apiV1ArticlesArticleIdTagsTagIdDelete: function (articleId, contributorId, tagId, options) {
3083
- return localVarFp.apiV1ArticlesArticleIdTagsTagIdDelete(articleId, contributorId, tagId, options).then(function (request) { return request(axios, basePath); });
3043
+ apiV1ArticlesArticleIdTagsTagIdDelete: function (articleId, tagId, deleteArticleTagCommand, options) {
3044
+ return localVarFp.apiV1ArticlesArticleIdTagsTagIdDelete(articleId, tagId, deleteArticleTagCommand, options).then(function (request) { return request(axios, basePath); });
3084
3045
  },
3085
3046
  /**
3086
3047
  *
3087
- * @summary Get ArticleContributor.
3048
+ * @summary Get ArticleTag.
3088
3049
  * @param {string} articleId
3089
- * @param {string} contributorId
3090
3050
  * @param {string} tagId
3091
3051
  * @param {*} [options] Override http request option.
3092
3052
  * @throws {RequiredError}
3093
3053
  */
3094
- apiV1ArticlesArticleIdTagsTagIdGet: function (articleId, contributorId, tagId, options) {
3095
- return localVarFp.apiV1ArticlesArticleIdTagsTagIdGet(articleId, contributorId, tagId, options).then(function (request) { return request(axios, basePath); });
3054
+ apiV1ArticlesArticleIdTagsTagIdGet: function (articleId, tagId, options) {
3055
+ return localVarFp.apiV1ArticlesArticleIdTagsTagIdGet(articleId, tagId, options).then(function (request) { return request(axios, basePath); });
3096
3056
  },
3097
3057
  /**
3098
3058
  *
@@ -3408,15 +3368,9 @@ var ArticlesApi = /** @class */ (function (_super) {
3408
3368
  };
3409
3369
  /**
3410
3370
  *
3411
- * @summary GetAll ArticleContributors.
3371
+ * @summary GetAll ArticleTags.
3412
3372
  * @param {string} articleId
3413
- * @param {string} [articleName]
3414
- * @param {string} [contributorId]
3415
- * @param {string} [contributorName]
3416
- * @param {string} [email]
3417
- * @param {string} [description]
3418
- * @param {string} [website]
3419
- * @param {ContributionType} [contributionType]
3373
+ * @param {string} [tagId]
3420
3374
  * @param {number} [page]
3421
3375
  * @param {number} [limit]
3422
3376
  * @param {Date} [lastRetrieved]
@@ -3424,49 +3378,49 @@ var ArticlesApi = /** @class */ (function (_super) {
3424
3378
  * @throws {RequiredError}
3425
3379
  * @memberof ArticlesApi
3426
3380
  */
3427
- ArticlesApi.prototype.apiV1ArticlesArticleIdTagsGet = function (articleId, articleName, contributorId, contributorName, email, description, website, contributionType, page, limit, lastRetrieved, options) {
3381
+ ArticlesApi.prototype.apiV1ArticlesArticleIdTagsGet = function (articleId, tagId, page, limit, lastRetrieved, options) {
3428
3382
  var _this = this;
3429
- return exports.ArticlesApiFp(this.configuration).apiV1ArticlesArticleIdTagsGet(articleId, articleName, contributorId, contributorName, email, description, website, contributionType, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
3383
+ return exports.ArticlesApiFp(this.configuration).apiV1ArticlesArticleIdTagsGet(articleId, tagId, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
3430
3384
  };
3431
3385
  /**
3432
3386
  *
3387
+ * @summary Create ArticleTag.
3433
3388
  * @param {string} articleId
3434
- * @param {CreateArticleContributorCommand} [createArticleContributorCommand]
3389
+ * @param {CreateArticleTagCommand} [createArticleTagCommand]
3435
3390
  * @param {*} [options] Override http request option.
3436
3391
  * @throws {RequiredError}
3437
3392
  * @memberof ArticlesApi
3438
3393
  */
3439
- ArticlesApi.prototype.apiV1ArticlesArticleIdTagsPost = function (articleId, createArticleContributorCommand, options) {
3394
+ ArticlesApi.prototype.apiV1ArticlesArticleIdTagsPost = function (articleId, createArticleTagCommand, options) {
3440
3395
  var _this = this;
3441
- return exports.ArticlesApiFp(this.configuration).apiV1ArticlesArticleIdTagsPost(articleId, createArticleContributorCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
3396
+ return exports.ArticlesApiFp(this.configuration).apiV1ArticlesArticleIdTagsPost(articleId, createArticleTagCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
3442
3397
  };
3443
3398
  /**
3444
3399
  *
3445
- * @summary Delete ArticleContributor.
3400
+ * @summary Delete ArticleTag.
3446
3401
  * @param {string} articleId
3447
- * @param {string} contributorId
3448
3402
  * @param {string} tagId
3403
+ * @param {DeleteArticleTagCommand} [deleteArticleTagCommand]
3449
3404
  * @param {*} [options] Override http request option.
3450
3405
  * @throws {RequiredError}
3451
3406
  * @memberof ArticlesApi
3452
3407
  */
3453
- ArticlesApi.prototype.apiV1ArticlesArticleIdTagsTagIdDelete = function (articleId, contributorId, tagId, options) {
3408
+ ArticlesApi.prototype.apiV1ArticlesArticleIdTagsTagIdDelete = function (articleId, tagId, deleteArticleTagCommand, options) {
3454
3409
  var _this = this;
3455
- return exports.ArticlesApiFp(this.configuration).apiV1ArticlesArticleIdTagsTagIdDelete(articleId, contributorId, tagId, options).then(function (request) { return request(_this.axios, _this.basePath); });
3410
+ return exports.ArticlesApiFp(this.configuration).apiV1ArticlesArticleIdTagsTagIdDelete(articleId, tagId, deleteArticleTagCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
3456
3411
  };
3457
3412
  /**
3458
3413
  *
3459
- * @summary Get ArticleContributor.
3414
+ * @summary Get ArticleTag.
3460
3415
  * @param {string} articleId
3461
- * @param {string} contributorId
3462
3416
  * @param {string} tagId
3463
3417
  * @param {*} [options] Override http request option.
3464
3418
  * @throws {RequiredError}
3465
3419
  * @memberof ArticlesApi
3466
3420
  */
3467
- ArticlesApi.prototype.apiV1ArticlesArticleIdTagsTagIdGet = function (articleId, contributorId, tagId, options) {
3421
+ ArticlesApi.prototype.apiV1ArticlesArticleIdTagsTagIdGet = function (articleId, tagId, options) {
3468
3422
  var _this = this;
3469
- return exports.ArticlesApiFp(this.configuration).apiV1ArticlesArticleIdTagsTagIdGet(articleId, contributorId, tagId, options).then(function (request) { return request(_this.axios, _this.basePath); });
3423
+ return exports.ArticlesApiFp(this.configuration).apiV1ArticlesArticleIdTagsTagIdGet(articleId, tagId, options).then(function (request) { return request(_this.axios, _this.basePath); });
3470
3424
  };
3471
3425
  /**
3472
3426
  *
@@ -18615,6 +18569,383 @@ var ManagersApi = /** @class */ (function (_super) {
18615
18569
  return ManagersApi;
18616
18570
  }(base_1.BaseAPI));
18617
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;
18618
18949
  /**
18619
18950
  * NotificationsApi - axios parameter creator
18620
18951
  * @export
@@ -20565,7 +20896,7 @@ exports.ServicesCategoriesApiAxiosParamCreator = function (configuration) {
20565
20896
  var _this = this;
20566
20897
  return {
20567
20898
  /**
20568
- * Sample request: GET /api/v1/ServiceCategories
20899
+ *
20569
20900
  * @summary Get all ServiceCategories.
20570
20901
  * @param {string} [id]
20571
20902
  * @param {string} [name]
@@ -20675,7 +21006,7 @@ exports.ServicesCategoriesApiAxiosParamCreator = function (configuration) {
20675
21006
  });
20676
21007
  },
20677
21008
  /**
20678
- * Sample request: DELETE /api/v1/ServiceCategories/1
21009
+ *
20679
21010
  * @summary Delete ServiceCategory.
20680
21011
  * @param {string} serviceCategoryId
20681
21012
  * @param {*} [options] Override http request option.
@@ -20718,7 +21049,7 @@ exports.ServicesCategoriesApiAxiosParamCreator = function (configuration) {
20718
21049
  });
20719
21050
  },
20720
21051
  /**
20721
- * Sample request: GET /api/v1/ServiceCategories/1
21052
+ *
20722
21053
  * @summary Get ServiceCategory.
20723
21054
  * @param {string} serviceCategoryId
20724
21055
  * @param {string} [languageCode]
@@ -20765,7 +21096,7 @@ exports.ServicesCategoriesApiAxiosParamCreator = function (configuration) {
20765
21096
  });
20766
21097
  },
20767
21098
  /**
20768
- * Sample request: PUT /api/v1/ServiceCategories/1 { \"name\": \"Adults\", \"description\": \"There are so many “-ologists“ that they can be hard to keep straight. However, this list could be a handy reference. This is not meant to be an exhaustive and all-inclusive list of what a specialist does, but it should provide you with a basic overview.\" }
21099
+ *
20769
21100
  * @summary Update ServiceCategory
20770
21101
  * @param {string} serviceCategoryId
20771
21102
  * @param {UpdateServiceCategoryCommand} [updateServiceCategoryCommand]
@@ -20820,7 +21151,7 @@ exports.ServicesCategoriesApiFp = function (configuration) {
20820
21151
  var localVarAxiosParamCreator = exports.ServicesCategoriesApiAxiosParamCreator(configuration);
20821
21152
  return {
20822
21153
  /**
20823
- * Sample request: GET /api/v1/ServiceCategories
21154
+ *
20824
21155
  * @summary Get all ServiceCategories.
20825
21156
  * @param {string} [id]
20826
21157
  * @param {string} [name]
@@ -20865,7 +21196,7 @@ exports.ServicesCategoriesApiFp = function (configuration) {
20865
21196
  });
20866
21197
  },
20867
21198
  /**
20868
- * Sample request: DELETE /api/v1/ServiceCategories/1
21199
+ *
20869
21200
  * @summary Delete ServiceCategory.
20870
21201
  * @param {string} serviceCategoryId
20871
21202
  * @param {*} [options] Override http request option.
@@ -20885,7 +21216,7 @@ exports.ServicesCategoriesApiFp = function (configuration) {
20885
21216
  });
20886
21217
  },
20887
21218
  /**
20888
- * Sample request: GET /api/v1/ServiceCategories/1
21219
+ *
20889
21220
  * @summary Get ServiceCategory.
20890
21221
  * @param {string} serviceCategoryId
20891
21222
  * @param {string} [languageCode]
@@ -20906,7 +21237,7 @@ exports.ServicesCategoriesApiFp = function (configuration) {
20906
21237
  });
20907
21238
  },
20908
21239
  /**
20909
- * Sample request: PUT /api/v1/ServiceCategories/1 { \"name\": \"Adults\", \"description\": \"There are so many “-ologists“ that they can be hard to keep straight. However, this list could be a handy reference. This is not meant to be an exhaustive and all-inclusive list of what a specialist does, but it should provide you with a basic overview.\" }
21240
+ *
20910
21241
  * @summary Update ServiceCategory
20911
21242
  * @param {string} serviceCategoryId
20912
21243
  * @param {UpdateServiceCategoryCommand} [updateServiceCategoryCommand]
@@ -20936,7 +21267,7 @@ exports.ServicesCategoriesApiFactory = function (configuration, basePath, axios)
20936
21267
  var localVarFp = exports.ServicesCategoriesApiFp(configuration);
20937
21268
  return {
20938
21269
  /**
20939
- * Sample request: GET /api/v1/ServiceCategories
21270
+ *
20940
21271
  * @summary Get all ServiceCategories.
20941
21272
  * @param {string} [id]
20942
21273
  * @param {string} [name]
@@ -20961,7 +21292,7 @@ exports.ServicesCategoriesApiFactory = function (configuration, basePath, axios)
20961
21292
  return localVarFp.apiV1ServicescategoriesPost(createServiceCategoryCommand, options).then(function (request) { return request(axios, basePath); });
20962
21293
  },
20963
21294
  /**
20964
- * Sample request: DELETE /api/v1/ServiceCategories/1
21295
+ *
20965
21296
  * @summary Delete ServiceCategory.
20966
21297
  * @param {string} serviceCategoryId
20967
21298
  * @param {*} [options] Override http request option.
@@ -20971,7 +21302,7 @@ exports.ServicesCategoriesApiFactory = function (configuration, basePath, axios)
20971
21302
  return localVarFp.apiV1ServicescategoriesServiceCategoryIdDelete(serviceCategoryId, options).then(function (request) { return request(axios, basePath); });
20972
21303
  },
20973
21304
  /**
20974
- * Sample request: GET /api/v1/ServiceCategories/1
21305
+ *
20975
21306
  * @summary Get ServiceCategory.
20976
21307
  * @param {string} serviceCategoryId
20977
21308
  * @param {string} [languageCode]
@@ -20982,7 +21313,7 @@ exports.ServicesCategoriesApiFactory = function (configuration, basePath, axios)
20982
21313
  return localVarFp.apiV1ServicescategoriesServiceCategoryIdGet(serviceCategoryId, languageCode, options).then(function (request) { return request(axios, basePath); });
20983
21314
  },
20984
21315
  /**
20985
- * Sample request: PUT /api/v1/ServiceCategories/1 { \"name\": \"Adults\", \"description\": \"There are so many “-ologists“ that they can be hard to keep straight. However, this list could be a handy reference. This is not meant to be an exhaustive and all-inclusive list of what a specialist does, but it should provide you with a basic overview.\" }
21316
+ *
20986
21317
  * @summary Update ServiceCategory
20987
21318
  * @param {string} serviceCategoryId
20988
21319
  * @param {UpdateServiceCategoryCommand} [updateServiceCategoryCommand]
@@ -21006,7 +21337,7 @@ var ServicesCategoriesApi = /** @class */ (function (_super) {
21006
21337
  return _super !== null && _super.apply(this, arguments) || this;
21007
21338
  }
21008
21339
  /**
21009
- * Sample request: GET /api/v1/ServiceCategories
21340
+ *
21010
21341
  * @summary Get all ServiceCategories.
21011
21342
  * @param {string} [id]
21012
21343
  * @param {string} [name]
@@ -21035,7 +21366,7 @@ var ServicesCategoriesApi = /** @class */ (function (_super) {
21035
21366
  return exports.ServicesCategoriesApiFp(this.configuration).apiV1ServicescategoriesPost(createServiceCategoryCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
21036
21367
  };
21037
21368
  /**
21038
- * Sample request: DELETE /api/v1/ServiceCategories/1
21369
+ *
21039
21370
  * @summary Delete ServiceCategory.
21040
21371
  * @param {string} serviceCategoryId
21041
21372
  * @param {*} [options] Override http request option.
@@ -21047,7 +21378,7 @@ var ServicesCategoriesApi = /** @class */ (function (_super) {
21047
21378
  return exports.ServicesCategoriesApiFp(this.configuration).apiV1ServicescategoriesServiceCategoryIdDelete(serviceCategoryId, options).then(function (request) { return request(_this.axios, _this.basePath); });
21048
21379
  };
21049
21380
  /**
21050
- * Sample request: GET /api/v1/ServiceCategories/1
21381
+ *
21051
21382
  * @summary Get ServiceCategory.
21052
21383
  * @param {string} serviceCategoryId
21053
21384
  * @param {string} [languageCode]
@@ -21060,7 +21391,7 @@ var ServicesCategoriesApi = /** @class */ (function (_super) {
21060
21391
  return exports.ServicesCategoriesApiFp(this.configuration).apiV1ServicescategoriesServiceCategoryIdGet(serviceCategoryId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
21061
21392
  };
21062
21393
  /**
21063
- * Sample request: PUT /api/v1/ServiceCategories/1 { \"name\": \"Adults\", \"description\": \"There are so many “-ologists“ that they can be hard to keep straight. However, this list could be a handy reference. This is not meant to be an exhaustive and all-inclusive list of what a specialist does, but it should provide you with a basic overview.\" }
21394
+ *
21064
21395
  * @summary Update ServiceCategory
21065
21396
  * @param {string} serviceCategoryId
21066
21397
  * @param {UpdateServiceCategoryCommand} [updateServiceCategoryCommand]