ch-api-client-typescript2 4.9.1 → 4.9.3
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/{v2-about-us-api.d.ts → about-us-api.d.ts} +25 -25
- package/lib/api/about-us-api.d.ts.map +1 -0
- package/lib/api/{v2-about-us-api.js → about-us-api.js} +48 -48
- package/lib/api/{v2-accreditations-api.d.ts → accreditations-api.d.ts} +20 -20
- package/lib/api/accreditations-api.d.ts.map +1 -0
- package/lib/api/{v2-accreditations-api.js → accreditations-api.js} +38 -38
- package/lib/api/{v2-app-version-api.d.ts → app-version-api.d.ts} +15 -15
- package/lib/api/app-version-api.d.ts.map +1 -0
- package/lib/api/{v2-app-version-api.js → app-version-api.js} +29 -29
- package/lib/api/{v2-articles-api.d.ts → articles-api.d.ts} +65 -65
- package/lib/api/articles-api.d.ts.map +1 -0
- package/lib/api/{v2-articles-api.js → articles-api.js} +132 -132
- package/lib/api/{v2-bookings-api.d.ts → bookings-api.d.ts} +35 -35
- package/lib/api/bookings-api.d.ts.map +1 -0
- package/lib/api/{v2-bookings-api.js → bookings-api.js} +68 -68
- package/lib/api/{v2-chat-users-api.d.ts → chat-users-api.d.ts} +40 -40
- package/lib/api/chat-users-api.d.ts.map +1 -0
- package/lib/api/{v2-chat-users-api.js → chat-users-api.js} +74 -74
- package/lib/api/{v2-communications-api.d.ts → communications-api.d.ts} +25 -25
- package/lib/api/communications-api.d.ts.map +1 -0
- package/lib/api/{v2-communications-api.js → communications-api.js} +46 -46
- package/lib/api/{v2-consultations-api.d.ts → consultations-api.d.ts} +35 -35
- package/lib/api/consultations-api.d.ts.map +1 -0
- package/lib/api/{v2-consultations-api.js → consultations-api.js} +68 -68
- package/lib/api/{v2-contributors-api.d.ts → contributors-api.d.ts} +35 -35
- package/lib/api/contributors-api.d.ts.map +1 -0
- package/lib/api/{v2-contributors-api.js → contributors-api.js} +69 -69
- package/lib/api/{v2-countries-api.d.ts → countries-api.d.ts} +35 -35
- package/lib/api/countries-api.d.ts.map +1 -0
- package/lib/api/{v2-countries-api.js → countries-api.js} +69 -69
- package/lib/api/{v2-deals-api.d.ts → deals-api.d.ts} +50 -50
- package/lib/api/deals-api.d.ts.map +1 -0
- package/lib/api/{v2-deals-api.js → deals-api.js} +99 -99
- package/lib/api/{v2-devices-api.d.ts → devices-api.d.ts} +40 -40
- package/lib/api/devices-api.d.ts.map +1 -0
- package/lib/api/{v2-devices-api.js → devices-api.js} +77 -77
- package/lib/api/{v2-doctor-affiliations-api.d.ts → doctor-affiliations-api.d.ts} +35 -35
- package/lib/api/doctor-affiliations-api.d.ts.map +1 -0
- package/lib/api/{v2-doctor-affiliations-api.js → doctor-affiliations-api.js} +69 -69
- package/lib/api/{v2-doctors-api.d.ts → doctors-api.d.ts} +85 -85
- package/lib/api/doctors-api.d.ts.map +1 -0
- package/lib/api/{v2-doctors-api.js → doctors-api.js} +173 -173
- package/lib/api/{v2-external-api.d.ts → external-api.d.ts} +15 -15
- package/lib/api/external-api.d.ts.map +1 -0
- package/lib/api/{v2-external-api.js → external-api.js} +28 -28
- package/lib/api/{v2-faq-categories-api.d.ts → faq-categories-api.d.ts} +25 -25
- package/lib/api/faq-categories-api.d.ts.map +1 -0
- package/lib/api/{v2-faq-categories-api.js → faq-categories-api.js} +48 -48
- package/lib/api/{v2-faqs-api.d.ts → faqs-api.d.ts} +45 -45
- package/lib/api/faqs-api.d.ts.map +1 -0
- package/lib/api/{v2-faqs-api.js → faqs-api.js} +90 -90
- package/lib/api/{v2-group-channels-api.d.ts → group-channels-api.d.ts} +35 -35
- package/lib/api/group-channels-api.d.ts.map +1 -0
- package/lib/api/{v2-group-channels-api.js → group-channels-api.js} +70 -70
- package/lib/api/{v2-header-navigations-api.d.ts → header-navigations-api.d.ts} +15 -15
- package/lib/api/header-navigations-api.d.ts.map +1 -0
- package/lib/api/{v2-header-navigations-api.js → header-navigations-api.js} +29 -29
- package/lib/api/{v2-hospitals-api.d.ts → hospitals-api.d.ts} +170 -170
- package/lib/api/hospitals-api.d.ts.map +1 -0
- package/lib/api/{v2-hospitals-api.js → hospitals-api.js} +361 -361
- package/lib/api/{v2-hospitals-consultation-timetables-api.d.ts → hospitals-consultation-timetables-api.d.ts} +15 -15
- package/lib/api/hospitals-consultation-timetables-api.d.ts.map +1 -0
- package/lib/api/{v2-hospitals-consultation-timetables-api.js → hospitals-consultation-timetables-api.js} +29 -29
- package/lib/api/{v2-images-api.d.ts → images-api.d.ts} +15 -15
- package/lib/api/images-api.d.ts.map +1 -0
- package/lib/api/{v2-images-api.js → images-api.js} +28 -28
- package/lib/api/{v2-languages-api.d.ts → languages-api.d.ts} +20 -20
- package/lib/api/languages-api.d.ts.map +1 -0
- package/lib/api/{v2-languages-api.js → languages-api.js} +38 -38
- package/lib/api/{v2-memberships-api.d.ts → memberships-api.d.ts} +25 -25
- package/lib/api/memberships-api.d.ts.map +1 -0
- package/lib/api/{v2-memberships-api.js → memberships-api.js} +48 -48
- package/lib/api/{v2-notifications-api.d.ts → notifications-api.d.ts} +20 -20
- package/lib/api/notifications-api.d.ts.map +1 -0
- package/lib/api/{v2-notifications-api.js → notifications-api.js} +37 -37
- package/lib/api/{v2-origins-api.d.ts → origins-api.d.ts} +30 -30
- package/lib/api/origins-api.d.ts.map +1 -0
- package/lib/api/{v2-origins-api.js → origins-api.js} +56 -56
- package/lib/api/{v2-patients-api.d.ts → patients-api.d.ts} +40 -40
- package/lib/api/patients-api.d.ts.map +1 -0
- package/lib/api/{v2-patients-api.js → patients-api.js} +78 -78
- package/lib/api/{v2-plans-api.d.ts → plans-api.d.ts} +30 -30
- package/lib/api/plans-api.d.ts.map +1 -0
- package/lib/api/{v2-plans-api.js → plans-api.js} +59 -59
- package/lib/api/{v2-profiles-api.d.ts → profiles-api.d.ts} +40 -40
- package/lib/api/profiles-api.d.ts.map +1 -0
- package/lib/api/{v2-profiles-api.js → profiles-api.js} +74 -74
- package/lib/api/{v2-service-reviews-api.d.ts → service-reviews-api.d.ts} +60 -60
- package/lib/api/service-reviews-api.d.ts.map +1 -0
- package/lib/api/{v2-service-reviews-api.js → service-reviews-api.js} +120 -120
- package/lib/api/{v2-services-api.d.ts → services-api.d.ts} +25 -25
- package/lib/api/services-api.d.ts.map +1 -0
- package/lib/api/{v2-services-api.js → services-api.js} +48 -48
- package/lib/api/{v2-services-categories-api.d.ts → services-categories-api.d.ts} +20 -20
- package/lib/api/services-categories-api.d.ts.map +1 -0
- package/lib/api/{v2-services-categories-api.js → services-categories-api.js} +38 -38
- package/lib/api/{v2-specialties-api.d.ts → specialties-api.d.ts} +40 -40
- package/lib/api/specialties-api.d.ts.map +1 -0
- package/lib/api/{v2-specialties-api.js → specialties-api.js} +78 -78
- package/lib/api/{v2-specialty-types-api.d.ts → specialty-types-api.d.ts} +40 -40
- package/lib/api/specialty-types-api.d.ts.map +1 -0
- package/lib/api/{v2-specialty-types-api.js → specialty-types-api.js} +78 -78
- package/lib/api/{v2-survey-forms-api.d.ts → survey-forms-api.d.ts} +15 -15
- package/lib/api/survey-forms-api.d.ts.map +1 -0
- package/lib/api/{v2-survey-forms-api.js → survey-forms-api.js} +29 -29
- package/lib/api/{v2-survey-results-api.d.ts → survey-results-api.d.ts} +15 -15
- package/lib/api/survey-results-api.d.ts.map +1 -0
- package/lib/api/{v2-survey-results-api.js → survey-results-api.js} +28 -28
- package/lib/api/{v2-tags-api.d.ts → tags-api.d.ts} +20 -20
- package/lib/api/tags-api.d.ts.map +1 -0
- package/lib/api/{v2-tags-api.js → tags-api.js} +38 -38
- package/lib/api.d.ts +37 -37
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +37 -37
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +37 -37
- package/src/api/{v2-about-us-api.ts → about-us-api.ts} +40 -40
- package/src/api/{v2-accreditations-api.ts → accreditations-api.ts} +30 -30
- package/src/api/{v2-app-version-api.ts → app-version-api.ts} +21 -21
- package/src/api/{v2-articles-api.ts → articles-api.ts} +124 -124
- package/src/api/{v2-bookings-api.ts → bookings-api.ts} +60 -60
- package/src/api/{v2-chat-users-api.ts → chat-users-api.ts} +66 -66
- package/src/api/{v2-communications-api.ts → communications-api.ts} +38 -38
- package/src/api/{v2-consultations-api.ts → consultations-api.ts} +60 -60
- package/src/api/{v2-contributors-api.ts → contributors-api.ts} +61 -61
- package/src/api/{v2-countries-api.ts → countries-api.ts} +61 -61
- package/src/api/{v2-deals-api.ts → deals-api.ts} +91 -91
- package/src/api/{v2-devices-api.ts → devices-api.ts} +69 -69
- package/src/api/{v2-doctor-affiliations-api.ts → doctor-affiliations-api.ts} +61 -61
- package/src/api/{v2-doctors-api.ts → doctors-api.ts} +165 -165
- package/src/api/{v2-external-api.ts → external-api.ts} +20 -20
- package/src/api/{v2-faq-categories-api.ts → faq-categories-api.ts} +40 -40
- package/src/api/{v2-faqs-api.ts → faqs-api.ts} +82 -82
- package/src/api/{v2-group-channels-api.ts → group-channels-api.ts} +62 -62
- package/src/api/{v2-header-navigations-api.ts → header-navigations-api.ts} +21 -21
- package/src/api/{v2-hospitals-api.ts → hospitals-api.ts} +353 -353
- package/src/api/{v2-hospitals-consultation-timetables-api.ts → hospitals-consultation-timetables-api.ts} +21 -21
- package/src/api/{v2-images-api.ts → images-api.ts} +20 -20
- package/src/api/{v2-languages-api.ts → languages-api.ts} +30 -30
- package/src/api/{v2-memberships-api.ts → memberships-api.ts} +40 -40
- package/src/api/{v2-notifications-api.ts → notifications-api.ts} +29 -29
- package/src/api/{v2-origins-api.ts → origins-api.ts} +48 -48
- package/src/api/{v2-patients-api.ts → patients-api.ts} +70 -70
- package/src/api/{v2-plans-api.ts → plans-api.ts} +51 -51
- package/src/api/{v2-profiles-api.ts → profiles-api.ts} +66 -66
- package/src/api/{v2-service-reviews-api.ts → service-reviews-api.ts} +112 -112
- package/src/api/{v2-services-api.ts → services-api.ts} +40 -40
- package/src/api/{v2-services-categories-api.ts → services-categories-api.ts} +30 -30
- package/src/api/{v2-specialties-api.ts → specialties-api.ts} +70 -70
- package/src/api/{v2-specialty-types-api.ts → specialty-types-api.ts} +70 -70
- package/src/api/{v2-survey-forms-api.ts → survey-forms-api.ts} +21 -21
- package/src/api/{v2-survey-results-api.ts → survey-results-api.ts} +20 -20
- package/src/api/{v2-tags-api.ts → tags-api.ts} +30 -30
- package/src/api.ts +37 -37
- package/lib/api/v2-about-us-api.d.ts.map +0 -1
- package/lib/api/v2-accreditations-api.d.ts.map +0 -1
- package/lib/api/v2-app-version-api.d.ts.map +0 -1
- package/lib/api/v2-articles-api.d.ts.map +0 -1
- package/lib/api/v2-bookings-api.d.ts.map +0 -1
- package/lib/api/v2-chat-users-api.d.ts.map +0 -1
- package/lib/api/v2-communications-api.d.ts.map +0 -1
- package/lib/api/v2-consultations-api.d.ts.map +0 -1
- package/lib/api/v2-contributors-api.d.ts.map +0 -1
- package/lib/api/v2-countries-api.d.ts.map +0 -1
- package/lib/api/v2-deals-api.d.ts.map +0 -1
- package/lib/api/v2-devices-api.d.ts.map +0 -1
- package/lib/api/v2-doctor-affiliations-api.d.ts.map +0 -1
- package/lib/api/v2-doctors-api.d.ts.map +0 -1
- package/lib/api/v2-external-api.d.ts.map +0 -1
- package/lib/api/v2-faq-categories-api.d.ts.map +0 -1
- package/lib/api/v2-faqs-api.d.ts.map +0 -1
- package/lib/api/v2-group-channels-api.d.ts.map +0 -1
- package/lib/api/v2-header-navigations-api.d.ts.map +0 -1
- package/lib/api/v2-hospitals-api.d.ts.map +0 -1
- package/lib/api/v2-hospitals-consultation-timetables-api.d.ts.map +0 -1
- package/lib/api/v2-images-api.d.ts.map +0 -1
- package/lib/api/v2-languages-api.d.ts.map +0 -1
- package/lib/api/v2-memberships-api.d.ts.map +0 -1
- package/lib/api/v2-notifications-api.d.ts.map +0 -1
- package/lib/api/v2-origins-api.d.ts.map +0 -1
- package/lib/api/v2-patients-api.d.ts.map +0 -1
- package/lib/api/v2-plans-api.d.ts.map +0 -1
- package/lib/api/v2-profiles-api.d.ts.map +0 -1
- package/lib/api/v2-service-reviews-api.d.ts.map +0 -1
- package/lib/api/v2-services-api.d.ts.map +0 -1
- package/lib/api/v2-services-categories-api.d.ts.map +0 -1
- package/lib/api/v2-specialties-api.d.ts.map +0 -1
- package/lib/api/v2-specialty-types-api.d.ts.map +0 -1
- package/lib/api/v2-survey-forms-api.d.ts.map +0 -1
- package/lib/api/v2-survey-results-api.d.ts.map +0 -1
- package/lib/api/v2-tags-api.d.ts.map +0 -1
|
@@ -23,10 +23,10 @@ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } fr
|
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import { ConsultationTimetableModel } from '../models';
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* HospitalsConsultationTimetablesApi - axios parameter creator
|
|
27
27
|
* @export
|
|
28
28
|
*/
|
|
29
|
-
export const
|
|
29
|
+
export const HospitalsConsultationTimetablesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
30
30
|
return {
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
@@ -39,10 +39,10 @@ export const V2HospitalsConsultationTimetablesApiAxiosParamCreator = function (c
|
|
|
39
39
|
* @param {*} [options] Override http request option.
|
|
40
40
|
* @throws {RequiredError}
|
|
41
41
|
*/
|
|
42
|
-
|
|
42
|
+
apiV2HospitalsHospitalIdConsultationtimetablesGet: async (hospitalId: string, year?: number, month?: number, timeZone?: string, consultationIdExcluded?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
43
43
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
44
|
-
assertParamExists('
|
|
45
|
-
const localVarPath = `/
|
|
44
|
+
assertParamExists('apiV2HospitalsHospitalIdConsultationtimetablesGet', 'hospitalId', hospitalId)
|
|
45
|
+
const localVarPath = `/api/v2/hospitals/{hospitalId}/consultationtimetables`
|
|
46
46
|
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
47
47
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
48
48
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -90,11 +90,11 @@ export const V2HospitalsConsultationTimetablesApiAxiosParamCreator = function (c
|
|
|
90
90
|
};
|
|
91
91
|
|
|
92
92
|
/**
|
|
93
|
-
*
|
|
93
|
+
* HospitalsConsultationTimetablesApi - functional programming interface
|
|
94
94
|
* @export
|
|
95
95
|
*/
|
|
96
|
-
export const
|
|
97
|
-
const localVarAxiosParamCreator =
|
|
96
|
+
export const HospitalsConsultationTimetablesApiFp = function(configuration?: Configuration) {
|
|
97
|
+
const localVarAxiosParamCreator = HospitalsConsultationTimetablesApiAxiosParamCreator(configuration)
|
|
98
98
|
return {
|
|
99
99
|
/**
|
|
100
100
|
*
|
|
@@ -107,19 +107,19 @@ export const V2HospitalsConsultationTimetablesApiFp = function(configuration?: C
|
|
|
107
107
|
* @param {*} [options] Override http request option.
|
|
108
108
|
* @throws {RequiredError}
|
|
109
109
|
*/
|
|
110
|
-
async
|
|
111
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
110
|
+
async apiV2HospitalsHospitalIdConsultationtimetablesGet(hospitalId: string, year?: number, month?: number, timeZone?: string, consultationIdExcluded?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConsultationTimetableModel>> {
|
|
111
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdConsultationtimetablesGet(hospitalId, year, month, timeZone, consultationIdExcluded, options);
|
|
112
112
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
113
113
|
},
|
|
114
114
|
}
|
|
115
115
|
};
|
|
116
116
|
|
|
117
117
|
/**
|
|
118
|
-
*
|
|
118
|
+
* HospitalsConsultationTimetablesApi - factory interface
|
|
119
119
|
* @export
|
|
120
120
|
*/
|
|
121
|
-
export const
|
|
122
|
-
const localVarFp =
|
|
121
|
+
export const HospitalsConsultationTimetablesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
122
|
+
const localVarFp = HospitalsConsultationTimetablesApiFp(configuration)
|
|
123
123
|
return {
|
|
124
124
|
/**
|
|
125
125
|
*
|
|
@@ -132,19 +132,19 @@ export const V2HospitalsConsultationTimetablesApiFactory = function (configurati
|
|
|
132
132
|
* @param {*} [options] Override http request option.
|
|
133
133
|
* @throws {RequiredError}
|
|
134
134
|
*/
|
|
135
|
-
|
|
136
|
-
return localVarFp.
|
|
135
|
+
apiV2HospitalsHospitalIdConsultationtimetablesGet(hospitalId: string, year?: number, month?: number, timeZone?: string, consultationIdExcluded?: string, options?: any): AxiosPromise<ConsultationTimetableModel> {
|
|
136
|
+
return localVarFp.apiV2HospitalsHospitalIdConsultationtimetablesGet(hospitalId, year, month, timeZone, consultationIdExcluded, options).then((request) => request(axios, basePath));
|
|
137
137
|
},
|
|
138
138
|
};
|
|
139
139
|
};
|
|
140
140
|
|
|
141
141
|
/**
|
|
142
|
-
*
|
|
142
|
+
* HospitalsConsultationTimetablesApi - object-oriented interface
|
|
143
143
|
* @export
|
|
144
|
-
* @class
|
|
144
|
+
* @class HospitalsConsultationTimetablesApi
|
|
145
145
|
* @extends {BaseAPI}
|
|
146
146
|
*/
|
|
147
|
-
export class
|
|
147
|
+
export class HospitalsConsultationTimetablesApi extends BaseAPI {
|
|
148
148
|
/**
|
|
149
149
|
*
|
|
150
150
|
* @summary Get hospital consultation timetables by hospitalId
|
|
@@ -155,9 +155,9 @@ export class V2HospitalsConsultationTimetablesApi extends BaseAPI {
|
|
|
155
155
|
* @param {string} [consultationIdExcluded]
|
|
156
156
|
* @param {*} [options] Override http request option.
|
|
157
157
|
* @throws {RequiredError}
|
|
158
|
-
* @memberof
|
|
158
|
+
* @memberof HospitalsConsultationTimetablesApi
|
|
159
159
|
*/
|
|
160
|
-
public
|
|
161
|
-
return
|
|
160
|
+
public apiV2HospitalsHospitalIdConsultationtimetablesGet(hospitalId: string, year?: number, month?: number, timeZone?: string, consultationIdExcluded?: string, options?: AxiosRequestConfig) {
|
|
161
|
+
return HospitalsConsultationTimetablesApiFp(this.configuration).apiV2HospitalsHospitalIdConsultationtimetablesGet(hospitalId, year, month, timeZone, consultationIdExcluded, options).then((request) => request(this.axios, this.basePath));
|
|
162
162
|
}
|
|
163
163
|
}
|
|
@@ -23,10 +23,10 @@ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } fr
|
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import { MediaModel } from '../models';
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* ImagesApi - axios parameter creator
|
|
27
27
|
* @export
|
|
28
28
|
*/
|
|
29
|
-
export const
|
|
29
|
+
export const ImagesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
30
30
|
return {
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
@@ -34,8 +34,8 @@ export const V2ImagesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
34
34
|
* @param {*} [options] Override http request option.
|
|
35
35
|
* @throws {RequiredError}
|
|
36
36
|
*/
|
|
37
|
-
|
|
38
|
-
const localVarPath = `/
|
|
37
|
+
apiV2ImagesPost: async (files?: Array<File>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
38
|
+
const localVarPath = `/api/v2/images`;
|
|
39
39
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
40
40
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
41
41
|
let baseOptions;
|
|
@@ -76,11 +76,11 @@ export const V2ImagesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
76
76
|
};
|
|
77
77
|
|
|
78
78
|
/**
|
|
79
|
-
*
|
|
79
|
+
* ImagesApi - functional programming interface
|
|
80
80
|
* @export
|
|
81
81
|
*/
|
|
82
|
-
export const
|
|
83
|
-
const localVarAxiosParamCreator =
|
|
82
|
+
export const ImagesApiFp = function(configuration?: Configuration) {
|
|
83
|
+
const localVarAxiosParamCreator = ImagesApiAxiosParamCreator(configuration)
|
|
84
84
|
return {
|
|
85
85
|
/**
|
|
86
86
|
*
|
|
@@ -88,19 +88,19 @@ export const V2ImagesApiFp = function(configuration?: Configuration) {
|
|
|
88
88
|
* @param {*} [options] Override http request option.
|
|
89
89
|
* @throws {RequiredError}
|
|
90
90
|
*/
|
|
91
|
-
async
|
|
92
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
91
|
+
async apiV2ImagesPost(files?: Array<File>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<MediaModel>>> {
|
|
92
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ImagesPost(files, options);
|
|
93
93
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
94
94
|
},
|
|
95
95
|
}
|
|
96
96
|
};
|
|
97
97
|
|
|
98
98
|
/**
|
|
99
|
-
*
|
|
99
|
+
* ImagesApi - factory interface
|
|
100
100
|
* @export
|
|
101
101
|
*/
|
|
102
|
-
export const
|
|
103
|
-
const localVarFp =
|
|
102
|
+
export const ImagesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
103
|
+
const localVarFp = ImagesApiFp(configuration)
|
|
104
104
|
return {
|
|
105
105
|
/**
|
|
106
106
|
*
|
|
@@ -108,27 +108,27 @@ export const V2ImagesApiFactory = function (configuration?: Configuration, baseP
|
|
|
108
108
|
* @param {*} [options] Override http request option.
|
|
109
109
|
* @throws {RequiredError}
|
|
110
110
|
*/
|
|
111
|
-
|
|
112
|
-
return localVarFp.
|
|
111
|
+
apiV2ImagesPost(files?: Array<File>, options?: any): AxiosPromise<Array<MediaModel>> {
|
|
112
|
+
return localVarFp.apiV2ImagesPost(files, options).then((request) => request(axios, basePath));
|
|
113
113
|
},
|
|
114
114
|
};
|
|
115
115
|
};
|
|
116
116
|
|
|
117
117
|
/**
|
|
118
|
-
*
|
|
118
|
+
* ImagesApi - object-oriented interface
|
|
119
119
|
* @export
|
|
120
|
-
* @class
|
|
120
|
+
* @class ImagesApi
|
|
121
121
|
* @extends {BaseAPI}
|
|
122
122
|
*/
|
|
123
|
-
export class
|
|
123
|
+
export class ImagesApi extends BaseAPI {
|
|
124
124
|
/**
|
|
125
125
|
*
|
|
126
126
|
* @param {Array<File>} [files]
|
|
127
127
|
* @param {*} [options] Override http request option.
|
|
128
128
|
* @throws {RequiredError}
|
|
129
|
-
* @memberof
|
|
129
|
+
* @memberof ImagesApi
|
|
130
130
|
*/
|
|
131
|
-
public
|
|
132
|
-
return
|
|
131
|
+
public apiV2ImagesPost(files?: Array<File>, options?: AxiosRequestConfig) {
|
|
132
|
+
return ImagesApiFp(this.configuration).apiV2ImagesPost(files, options).then((request) => request(this.axios, this.basePath));
|
|
133
133
|
}
|
|
134
134
|
}
|
|
@@ -25,10 +25,10 @@ import { LanguageModel } from '../models';
|
|
|
25
25
|
// @ts-ignore
|
|
26
26
|
import { LanguagesModel } from '../models';
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
28
|
+
* LanguagesApi - axios parameter creator
|
|
29
29
|
* @export
|
|
30
30
|
*/
|
|
31
|
-
export const
|
|
31
|
+
export const LanguagesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
32
32
|
return {
|
|
33
33
|
/**
|
|
34
34
|
*
|
|
@@ -37,10 +37,10 @@ export const V2LanguagesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
37
37
|
* @param {*} [options] Override http request option.
|
|
38
38
|
* @throws {RequiredError}
|
|
39
39
|
*/
|
|
40
|
-
|
|
40
|
+
apiV2LanguagesCodeGet: async (code: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41
41
|
// verify required parameter 'code' is not null or undefined
|
|
42
|
-
assertParamExists('
|
|
43
|
-
const localVarPath = `/
|
|
42
|
+
assertParamExists('apiV2LanguagesCodeGet', 'code', code)
|
|
43
|
+
const localVarPath = `/api/v2/languages/{code}`
|
|
44
44
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
45
45
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
46
46
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -77,8 +77,8 @@ export const V2LanguagesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
77
77
|
* @param {*} [options] Override http request option.
|
|
78
78
|
* @throws {RequiredError}
|
|
79
79
|
*/
|
|
80
|
-
|
|
81
|
-
const localVarPath = `/
|
|
80
|
+
apiV2LanguagesGet: async (id?: string, name?: string, code?: string, description?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
81
|
+
const localVarPath = `/api/v2/languages`;
|
|
82
82
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
83
83
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
84
84
|
let baseOptions;
|
|
@@ -135,11 +135,11 @@ export const V2LanguagesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
135
135
|
};
|
|
136
136
|
|
|
137
137
|
/**
|
|
138
|
-
*
|
|
138
|
+
* LanguagesApi - functional programming interface
|
|
139
139
|
* @export
|
|
140
140
|
*/
|
|
141
|
-
export const
|
|
142
|
-
const localVarAxiosParamCreator =
|
|
141
|
+
export const LanguagesApiFp = function(configuration?: Configuration) {
|
|
142
|
+
const localVarAxiosParamCreator = LanguagesApiAxiosParamCreator(configuration)
|
|
143
143
|
return {
|
|
144
144
|
/**
|
|
145
145
|
*
|
|
@@ -148,8 +148,8 @@ export const V2LanguagesApiFp = function(configuration?: Configuration) {
|
|
|
148
148
|
* @param {*} [options] Override http request option.
|
|
149
149
|
* @throws {RequiredError}
|
|
150
150
|
*/
|
|
151
|
-
async
|
|
152
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
151
|
+
async apiV2LanguagesCodeGet(code: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LanguageModel>> {
|
|
152
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2LanguagesCodeGet(code, options);
|
|
153
153
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
154
154
|
},
|
|
155
155
|
/**
|
|
@@ -165,19 +165,19 @@ export const V2LanguagesApiFp = function(configuration?: Configuration) {
|
|
|
165
165
|
* @param {*} [options] Override http request option.
|
|
166
166
|
* @throws {RequiredError}
|
|
167
167
|
*/
|
|
168
|
-
async
|
|
169
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
168
|
+
async apiV2LanguagesGet(id?: string, name?: string, code?: string, description?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LanguagesModel>> {
|
|
169
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2LanguagesGet(id, name, code, description, page, limit, lastRetrieved, options);
|
|
170
170
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
171
171
|
},
|
|
172
172
|
}
|
|
173
173
|
};
|
|
174
174
|
|
|
175
175
|
/**
|
|
176
|
-
*
|
|
176
|
+
* LanguagesApi - factory interface
|
|
177
177
|
* @export
|
|
178
178
|
*/
|
|
179
|
-
export const
|
|
180
|
-
const localVarFp =
|
|
179
|
+
export const LanguagesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
180
|
+
const localVarFp = LanguagesApiFp(configuration)
|
|
181
181
|
return {
|
|
182
182
|
/**
|
|
183
183
|
*
|
|
@@ -186,8 +186,8 @@ export const V2LanguagesApiFactory = function (configuration?: Configuration, ba
|
|
|
186
186
|
* @param {*} [options] Override http request option.
|
|
187
187
|
* @throws {RequiredError}
|
|
188
188
|
*/
|
|
189
|
-
|
|
190
|
-
return localVarFp.
|
|
189
|
+
apiV2LanguagesCodeGet(code: string, options?: any): AxiosPromise<LanguageModel> {
|
|
190
|
+
return localVarFp.apiV2LanguagesCodeGet(code, options).then((request) => request(axios, basePath));
|
|
191
191
|
},
|
|
192
192
|
/**
|
|
193
193
|
*
|
|
@@ -202,29 +202,29 @@ export const V2LanguagesApiFactory = function (configuration?: Configuration, ba
|
|
|
202
202
|
* @param {*} [options] Override http request option.
|
|
203
203
|
* @throws {RequiredError}
|
|
204
204
|
*/
|
|
205
|
-
|
|
206
|
-
return localVarFp.
|
|
205
|
+
apiV2LanguagesGet(id?: string, name?: string, code?: string, description?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<LanguagesModel> {
|
|
206
|
+
return localVarFp.apiV2LanguagesGet(id, name, code, description, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
207
207
|
},
|
|
208
208
|
};
|
|
209
209
|
};
|
|
210
210
|
|
|
211
211
|
/**
|
|
212
|
-
*
|
|
212
|
+
* LanguagesApi - object-oriented interface
|
|
213
213
|
* @export
|
|
214
|
-
* @class
|
|
214
|
+
* @class LanguagesApi
|
|
215
215
|
* @extends {BaseAPI}
|
|
216
216
|
*/
|
|
217
|
-
export class
|
|
217
|
+
export class LanguagesApi extends BaseAPI {
|
|
218
218
|
/**
|
|
219
219
|
*
|
|
220
220
|
* @summary Get Language.
|
|
221
221
|
* @param {string} code
|
|
222
222
|
* @param {*} [options] Override http request option.
|
|
223
223
|
* @throws {RequiredError}
|
|
224
|
-
* @memberof
|
|
224
|
+
* @memberof LanguagesApi
|
|
225
225
|
*/
|
|
226
|
-
public
|
|
227
|
-
return
|
|
226
|
+
public apiV2LanguagesCodeGet(code: string, options?: AxiosRequestConfig) {
|
|
227
|
+
return LanguagesApiFp(this.configuration).apiV2LanguagesCodeGet(code, options).then((request) => request(this.axios, this.basePath));
|
|
228
228
|
}
|
|
229
229
|
|
|
230
230
|
/**
|
|
@@ -239,9 +239,9 @@ export class V2LanguagesApi extends BaseAPI {
|
|
|
239
239
|
* @param {Date} [lastRetrieved]
|
|
240
240
|
* @param {*} [options] Override http request option.
|
|
241
241
|
* @throws {RequiredError}
|
|
242
|
-
* @memberof
|
|
242
|
+
* @memberof LanguagesApi
|
|
243
243
|
*/
|
|
244
|
-
public
|
|
245
|
-
return
|
|
244
|
+
public apiV2LanguagesGet(id?: string, name?: string, code?: string, description?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
245
|
+
return LanguagesApiFp(this.configuration).apiV2LanguagesGet(id, name, code, description, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
246
246
|
}
|
|
247
247
|
}
|
|
@@ -27,10 +27,10 @@ import { MembershipModel } from '../models';
|
|
|
27
27
|
// @ts-ignore
|
|
28
28
|
import { MembershipsModel } from '../models';
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* MembershipsApi - axios parameter creator
|
|
31
31
|
* @export
|
|
32
32
|
*/
|
|
33
|
-
export const
|
|
33
|
+
export const MembershipsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
34
34
|
return {
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
@@ -47,8 +47,8 @@ export const V2MembershipsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
47
47
|
* @param {*} [options] Override http request option.
|
|
48
48
|
* @throws {RequiredError}
|
|
49
49
|
*/
|
|
50
|
-
|
|
51
|
-
const localVarPath = `/
|
|
50
|
+
apiV2MembershipsGet: async (id?: string, planId?: string, planName?: string, ownerId?: string, ownerName?: string, isActive?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
51
|
+
const localVarPath = `/api/v2/memberships`;
|
|
52
52
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
53
53
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
54
54
|
let baseOptions;
|
|
@@ -120,10 +120,10 @@ export const V2MembershipsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
120
120
|
* @param {*} [options] Override http request option.
|
|
121
121
|
* @throws {RequiredError}
|
|
122
122
|
*/
|
|
123
|
-
|
|
123
|
+
apiV2MembershipsMembershipIdGet: async (membershipId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
124
124
|
// verify required parameter 'membershipId' is not null or undefined
|
|
125
|
-
assertParamExists('
|
|
126
|
-
const localVarPath = `/
|
|
125
|
+
assertParamExists('apiV2MembershipsMembershipIdGet', 'membershipId', membershipId)
|
|
126
|
+
const localVarPath = `/api/v2/memberships/{membershipId}`
|
|
127
127
|
.replace(`{${"membershipId"}}`, encodeURIComponent(String(membershipId)));
|
|
128
128
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
129
129
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -161,10 +161,10 @@ export const V2MembershipsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
161
161
|
* @param {*} [options] Override http request option.
|
|
162
162
|
* @throws {RequiredError}
|
|
163
163
|
*/
|
|
164
|
-
|
|
164
|
+
apiV2MembershipsMembershipIdMembersGet: async (membershipId: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
165
165
|
// verify required parameter 'membershipId' is not null or undefined
|
|
166
|
-
assertParamExists('
|
|
167
|
-
const localVarPath = `/
|
|
166
|
+
assertParamExists('apiV2MembershipsMembershipIdMembersGet', 'membershipId', membershipId)
|
|
167
|
+
const localVarPath = `/api/v2/memberships/{membershipId}/members`
|
|
168
168
|
.replace(`{${"membershipId"}}`, encodeURIComponent(String(membershipId)));
|
|
169
169
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
170
170
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -210,11 +210,11 @@ export const V2MembershipsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
210
210
|
};
|
|
211
211
|
|
|
212
212
|
/**
|
|
213
|
-
*
|
|
213
|
+
* MembershipsApi - functional programming interface
|
|
214
214
|
* @export
|
|
215
215
|
*/
|
|
216
|
-
export const
|
|
217
|
-
const localVarAxiosParamCreator =
|
|
216
|
+
export const MembershipsApiFp = function(configuration?: Configuration) {
|
|
217
|
+
const localVarAxiosParamCreator = MembershipsApiAxiosParamCreator(configuration)
|
|
218
218
|
return {
|
|
219
219
|
/**
|
|
220
220
|
*
|
|
@@ -231,8 +231,8 @@ export const V2MembershipsApiFp = function(configuration?: Configuration) {
|
|
|
231
231
|
* @param {*} [options] Override http request option.
|
|
232
232
|
* @throws {RequiredError}
|
|
233
233
|
*/
|
|
234
|
-
async
|
|
235
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
234
|
+
async apiV2MembershipsGet(id?: string, planId?: string, planName?: string, ownerId?: string, ownerName?: string, isActive?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MembershipsModel>> {
|
|
235
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2MembershipsGet(id, planId, planName, ownerId, ownerName, isActive, page, limit, lastRetrieved, options);
|
|
236
236
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
237
237
|
},
|
|
238
238
|
/**
|
|
@@ -242,8 +242,8 @@ export const V2MembershipsApiFp = function(configuration?: Configuration) {
|
|
|
242
242
|
* @param {*} [options] Override http request option.
|
|
243
243
|
* @throws {RequiredError}
|
|
244
244
|
*/
|
|
245
|
-
async
|
|
246
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
245
|
+
async apiV2MembershipsMembershipIdGet(membershipId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MembershipModel>> {
|
|
246
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2MembershipsMembershipIdGet(membershipId, options);
|
|
247
247
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
248
248
|
},
|
|
249
249
|
/**
|
|
@@ -256,19 +256,19 @@ export const V2MembershipsApiFp = function(configuration?: Configuration) {
|
|
|
256
256
|
* @param {*} [options] Override http request option.
|
|
257
257
|
* @throws {RequiredError}
|
|
258
258
|
*/
|
|
259
|
-
async
|
|
260
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
259
|
+
async apiV2MembershipsMembershipIdMembersGet(membershipId: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MembersModel>> {
|
|
260
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2MembershipsMembershipIdMembersGet(membershipId, page, limit, lastRetrieved, options);
|
|
261
261
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
262
262
|
},
|
|
263
263
|
}
|
|
264
264
|
};
|
|
265
265
|
|
|
266
266
|
/**
|
|
267
|
-
*
|
|
267
|
+
* MembershipsApi - factory interface
|
|
268
268
|
* @export
|
|
269
269
|
*/
|
|
270
|
-
export const
|
|
271
|
-
const localVarFp =
|
|
270
|
+
export const MembershipsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
271
|
+
const localVarFp = MembershipsApiFp(configuration)
|
|
272
272
|
return {
|
|
273
273
|
/**
|
|
274
274
|
*
|
|
@@ -285,8 +285,8 @@ export const V2MembershipsApiFactory = function (configuration?: Configuration,
|
|
|
285
285
|
* @param {*} [options] Override http request option.
|
|
286
286
|
* @throws {RequiredError}
|
|
287
287
|
*/
|
|
288
|
-
|
|
289
|
-
return localVarFp.
|
|
288
|
+
apiV2MembershipsGet(id?: string, planId?: string, planName?: string, ownerId?: string, ownerName?: string, isActive?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<MembershipsModel> {
|
|
289
|
+
return localVarFp.apiV2MembershipsGet(id, planId, planName, ownerId, ownerName, isActive, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
290
290
|
},
|
|
291
291
|
/**
|
|
292
292
|
*
|
|
@@ -295,8 +295,8 @@ export const V2MembershipsApiFactory = function (configuration?: Configuration,
|
|
|
295
295
|
* @param {*} [options] Override http request option.
|
|
296
296
|
* @throws {RequiredError}
|
|
297
297
|
*/
|
|
298
|
-
|
|
299
|
-
return localVarFp.
|
|
298
|
+
apiV2MembershipsMembershipIdGet(membershipId: string, options?: any): AxiosPromise<MembershipModel> {
|
|
299
|
+
return localVarFp.apiV2MembershipsMembershipIdGet(membershipId, options).then((request) => request(axios, basePath));
|
|
300
300
|
},
|
|
301
301
|
/**
|
|
302
302
|
*
|
|
@@ -308,19 +308,19 @@ export const V2MembershipsApiFactory = function (configuration?: Configuration,
|
|
|
308
308
|
* @param {*} [options] Override http request option.
|
|
309
309
|
* @throws {RequiredError}
|
|
310
310
|
*/
|
|
311
|
-
|
|
312
|
-
return localVarFp.
|
|
311
|
+
apiV2MembershipsMembershipIdMembersGet(membershipId: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<MembersModel> {
|
|
312
|
+
return localVarFp.apiV2MembershipsMembershipIdMembersGet(membershipId, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
313
313
|
},
|
|
314
314
|
};
|
|
315
315
|
};
|
|
316
316
|
|
|
317
317
|
/**
|
|
318
|
-
*
|
|
318
|
+
* MembershipsApi - object-oriented interface
|
|
319
319
|
* @export
|
|
320
|
-
* @class
|
|
320
|
+
* @class MembershipsApi
|
|
321
321
|
* @extends {BaseAPI}
|
|
322
322
|
*/
|
|
323
|
-
export class
|
|
323
|
+
export class MembershipsApi extends BaseAPI {
|
|
324
324
|
/**
|
|
325
325
|
*
|
|
326
326
|
* @summary Get all memberships.
|
|
@@ -335,10 +335,10 @@ export class V2MembershipsApi extends BaseAPI {
|
|
|
335
335
|
* @param {Date} [lastRetrieved]
|
|
336
336
|
* @param {*} [options] Override http request option.
|
|
337
337
|
* @throws {RequiredError}
|
|
338
|
-
* @memberof
|
|
338
|
+
* @memberof MembershipsApi
|
|
339
339
|
*/
|
|
340
|
-
public
|
|
341
|
-
return
|
|
340
|
+
public apiV2MembershipsGet(id?: string, planId?: string, planName?: string, ownerId?: string, ownerName?: string, isActive?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
341
|
+
return MembershipsApiFp(this.configuration).apiV2MembershipsGet(id, planId, planName, ownerId, ownerName, isActive, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
342
342
|
}
|
|
343
343
|
|
|
344
344
|
/**
|
|
@@ -347,10 +347,10 @@ export class V2MembershipsApi extends BaseAPI {
|
|
|
347
347
|
* @param {string} membershipId
|
|
348
348
|
* @param {*} [options] Override http request option.
|
|
349
349
|
* @throws {RequiredError}
|
|
350
|
-
* @memberof
|
|
350
|
+
* @memberof MembershipsApi
|
|
351
351
|
*/
|
|
352
|
-
public
|
|
353
|
-
return
|
|
352
|
+
public apiV2MembershipsMembershipIdGet(membershipId: string, options?: AxiosRequestConfig) {
|
|
353
|
+
return MembershipsApiFp(this.configuration).apiV2MembershipsMembershipIdGet(membershipId, options).then((request) => request(this.axios, this.basePath));
|
|
354
354
|
}
|
|
355
355
|
|
|
356
356
|
/**
|
|
@@ -362,9 +362,9 @@ export class V2MembershipsApi extends BaseAPI {
|
|
|
362
362
|
* @param {Date} [lastRetrieved]
|
|
363
363
|
* @param {*} [options] Override http request option.
|
|
364
364
|
* @throws {RequiredError}
|
|
365
|
-
* @memberof
|
|
365
|
+
* @memberof MembershipsApi
|
|
366
366
|
*/
|
|
367
|
-
public
|
|
368
|
-
return
|
|
367
|
+
public apiV2MembershipsMembershipIdMembersGet(membershipId: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
368
|
+
return MembershipsApiFp(this.configuration).apiV2MembershipsMembershipIdMembersGet(membershipId, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
369
369
|
}
|
|
370
370
|
}
|