ch-api-client-typescript2 4.9.1 → 4.9.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/{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
|
@@ -33,10 +33,10 @@ import { UpdateProfileCommand } from '../models';
|
|
|
33
33
|
// @ts-ignore
|
|
34
34
|
import { UserModel } from '../models';
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
36
|
+
* ProfilesApi - axios parameter creator
|
|
37
37
|
* @export
|
|
38
38
|
*/
|
|
39
|
-
export const
|
|
39
|
+
export const ProfilesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
40
40
|
return {
|
|
41
41
|
/**
|
|
42
42
|
* Sample request: POST /api/v1/profiles/changeEmail { \"email\": \"user@example.com\" }
|
|
@@ -45,8 +45,8 @@ export const V2ProfilesApiAxiosParamCreator = function (configuration?: Configur
|
|
|
45
45
|
* @param {*} [options] Override http request option.
|
|
46
46
|
* @throws {RequiredError}
|
|
47
47
|
*/
|
|
48
|
-
|
|
49
|
-
const localVarPath = `/
|
|
48
|
+
apiV2ProfilesChangeemailPost: async (changeEmailCommand?: ChangeEmailCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
49
|
+
const localVarPath = `/api/v2/profiles/changeemail`;
|
|
50
50
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
51
51
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
52
52
|
let baseOptions;
|
|
@@ -83,8 +83,8 @@ export const V2ProfilesApiAxiosParamCreator = function (configuration?: Configur
|
|
|
83
83
|
* @param {*} [options] Override http request option.
|
|
84
84
|
* @throws {RequiredError}
|
|
85
85
|
*/
|
|
86
|
-
|
|
87
|
-
const localVarPath = `/
|
|
86
|
+
apiV2ProfilesConfirmemailPost: async (confirmEmailCommand?: ConfirmEmailCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
87
|
+
const localVarPath = `/api/v2/profiles/confirmemail`;
|
|
88
88
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
89
89
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
90
90
|
let baseOptions;
|
|
@@ -120,8 +120,8 @@ export const V2ProfilesApiAxiosParamCreator = function (configuration?: Configur
|
|
|
120
120
|
* @param {*} [options] Override http request option.
|
|
121
121
|
* @throws {RequiredError}
|
|
122
122
|
*/
|
|
123
|
-
|
|
124
|
-
const localVarPath = `/
|
|
123
|
+
apiV2ProfilesGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
124
|
+
const localVarPath = `/api/v2/profiles`;
|
|
125
125
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
126
126
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
127
127
|
let baseOptions;
|
|
@@ -155,8 +155,8 @@ export const V2ProfilesApiAxiosParamCreator = function (configuration?: Configur
|
|
|
155
155
|
* @param {*} [options] Override http request option.
|
|
156
156
|
* @throws {RequiredError}
|
|
157
157
|
*/
|
|
158
|
-
|
|
159
|
-
const localVarPath = `/
|
|
158
|
+
apiV2ProfilesPost: async (createProfileCommand?: CreateProfileCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
159
|
+
const localVarPath = `/api/v2/profiles`;
|
|
160
160
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
161
161
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
162
162
|
let baseOptions;
|
|
@@ -193,10 +193,10 @@ export const V2ProfilesApiAxiosParamCreator = function (configuration?: Configur
|
|
|
193
193
|
* @param {*} [options] Override http request option.
|
|
194
194
|
* @throws {RequiredError}
|
|
195
195
|
*/
|
|
196
|
-
|
|
196
|
+
apiV2ProfilesProfileIdDelete: async (profileId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
197
197
|
// verify required parameter 'profileId' is not null or undefined
|
|
198
|
-
assertParamExists('
|
|
199
|
-
const localVarPath = `/
|
|
198
|
+
assertParamExists('apiV2ProfilesProfileIdDelete', 'profileId', profileId)
|
|
199
|
+
const localVarPath = `/api/v2/profiles/{profileId}`
|
|
200
200
|
.replace(`{${"profileId"}}`, encodeURIComponent(String(profileId)));
|
|
201
201
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
202
202
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -231,8 +231,8 @@ export const V2ProfilesApiAxiosParamCreator = function (configuration?: Configur
|
|
|
231
231
|
* @param {*} [options] Override http request option.
|
|
232
232
|
* @throws {RequiredError}
|
|
233
233
|
*/
|
|
234
|
-
|
|
235
|
-
const localVarPath = `/
|
|
234
|
+
apiV2ProfilesPut: async (updateProfileCommand?: UpdateProfileCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
235
|
+
const localVarPath = `/api/v2/profiles`;
|
|
236
236
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
237
237
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
238
238
|
let baseOptions;
|
|
@@ -266,11 +266,11 @@ export const V2ProfilesApiAxiosParamCreator = function (configuration?: Configur
|
|
|
266
266
|
};
|
|
267
267
|
|
|
268
268
|
/**
|
|
269
|
-
*
|
|
269
|
+
* ProfilesApi - functional programming interface
|
|
270
270
|
* @export
|
|
271
271
|
*/
|
|
272
|
-
export const
|
|
273
|
-
const localVarAxiosParamCreator =
|
|
272
|
+
export const ProfilesApiFp = function(configuration?: Configuration) {
|
|
273
|
+
const localVarAxiosParamCreator = ProfilesApiAxiosParamCreator(configuration)
|
|
274
274
|
return {
|
|
275
275
|
/**
|
|
276
276
|
* Sample request: POST /api/v1/profiles/changeEmail { \"email\": \"user@example.com\" }
|
|
@@ -279,8 +279,8 @@ export const V2ProfilesApiFp = function(configuration?: Configuration) {
|
|
|
279
279
|
* @param {*} [options] Override http request option.
|
|
280
280
|
* @throws {RequiredError}
|
|
281
281
|
*/
|
|
282
|
-
async
|
|
283
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
282
|
+
async apiV2ProfilesChangeemailPost(changeEmailCommand?: ChangeEmailCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
283
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ProfilesChangeemailPost(changeEmailCommand, options);
|
|
284
284
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
285
285
|
},
|
|
286
286
|
/**
|
|
@@ -290,8 +290,8 @@ export const V2ProfilesApiFp = function(configuration?: Configuration) {
|
|
|
290
290
|
* @param {*} [options] Override http request option.
|
|
291
291
|
* @throws {RequiredError}
|
|
292
292
|
*/
|
|
293
|
-
async
|
|
294
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
293
|
+
async apiV2ProfilesConfirmemailPost(confirmEmailCommand?: ConfirmEmailCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
294
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ProfilesConfirmemailPost(confirmEmailCommand, options);
|
|
295
295
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
296
296
|
},
|
|
297
297
|
/**
|
|
@@ -300,8 +300,8 @@ export const V2ProfilesApiFp = function(configuration?: Configuration) {
|
|
|
300
300
|
* @param {*} [options] Override http request option.
|
|
301
301
|
* @throws {RequiredError}
|
|
302
302
|
*/
|
|
303
|
-
async
|
|
304
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
303
|
+
async apiV2ProfilesGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserModel>> {
|
|
304
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ProfilesGet(options);
|
|
305
305
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
306
306
|
},
|
|
307
307
|
/**
|
|
@@ -311,8 +311,8 @@ export const V2ProfilesApiFp = function(configuration?: Configuration) {
|
|
|
311
311
|
* @param {*} [options] Override http request option.
|
|
312
312
|
* @throws {RequiredError}
|
|
313
313
|
*/
|
|
314
|
-
async
|
|
315
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
314
|
+
async apiV2ProfilesPost(createProfileCommand?: CreateProfileCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserModel>> {
|
|
315
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ProfilesPost(createProfileCommand, options);
|
|
316
316
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
317
317
|
},
|
|
318
318
|
/**
|
|
@@ -322,8 +322,8 @@ export const V2ProfilesApiFp = function(configuration?: Configuration) {
|
|
|
322
322
|
* @param {*} [options] Override http request option.
|
|
323
323
|
* @throws {RequiredError}
|
|
324
324
|
*/
|
|
325
|
-
async
|
|
326
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
325
|
+
async apiV2ProfilesProfileIdDelete(profileId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
326
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ProfilesProfileIdDelete(profileId, options);
|
|
327
327
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
328
328
|
},
|
|
329
329
|
/**
|
|
@@ -333,19 +333,19 @@ export const V2ProfilesApiFp = function(configuration?: Configuration) {
|
|
|
333
333
|
* @param {*} [options] Override http request option.
|
|
334
334
|
* @throws {RequiredError}
|
|
335
335
|
*/
|
|
336
|
-
async
|
|
337
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
336
|
+
async apiV2ProfilesPut(updateProfileCommand?: UpdateProfileCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserModel>> {
|
|
337
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ProfilesPut(updateProfileCommand, options);
|
|
338
338
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
339
339
|
},
|
|
340
340
|
}
|
|
341
341
|
};
|
|
342
342
|
|
|
343
343
|
/**
|
|
344
|
-
*
|
|
344
|
+
* ProfilesApi - factory interface
|
|
345
345
|
* @export
|
|
346
346
|
*/
|
|
347
|
-
export const
|
|
348
|
-
const localVarFp =
|
|
347
|
+
export const ProfilesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
348
|
+
const localVarFp = ProfilesApiFp(configuration)
|
|
349
349
|
return {
|
|
350
350
|
/**
|
|
351
351
|
* Sample request: POST /api/v1/profiles/changeEmail { \"email\": \"user@example.com\" }
|
|
@@ -354,8 +354,8 @@ export const V2ProfilesApiFactory = function (configuration?: Configuration, bas
|
|
|
354
354
|
* @param {*} [options] Override http request option.
|
|
355
355
|
* @throws {RequiredError}
|
|
356
356
|
*/
|
|
357
|
-
|
|
358
|
-
return localVarFp.
|
|
357
|
+
apiV2ProfilesChangeemailPost(changeEmailCommand?: ChangeEmailCommand, options?: any): AxiosPromise<boolean> {
|
|
358
|
+
return localVarFp.apiV2ProfilesChangeemailPost(changeEmailCommand, options).then((request) => request(axios, basePath));
|
|
359
359
|
},
|
|
360
360
|
/**
|
|
361
361
|
*
|
|
@@ -364,8 +364,8 @@ export const V2ProfilesApiFactory = function (configuration?: Configuration, bas
|
|
|
364
364
|
* @param {*} [options] Override http request option.
|
|
365
365
|
* @throws {RequiredError}
|
|
366
366
|
*/
|
|
367
|
-
|
|
368
|
-
return localVarFp.
|
|
367
|
+
apiV2ProfilesConfirmemailPost(confirmEmailCommand?: ConfirmEmailCommand, options?: any): AxiosPromise<boolean> {
|
|
368
|
+
return localVarFp.apiV2ProfilesConfirmemailPost(confirmEmailCommand, options).then((request) => request(axios, basePath));
|
|
369
369
|
},
|
|
370
370
|
/**
|
|
371
371
|
*
|
|
@@ -373,8 +373,8 @@ export const V2ProfilesApiFactory = function (configuration?: Configuration, bas
|
|
|
373
373
|
* @param {*} [options] Override http request option.
|
|
374
374
|
* @throws {RequiredError}
|
|
375
375
|
*/
|
|
376
|
-
|
|
377
|
-
return localVarFp.
|
|
376
|
+
apiV2ProfilesGet(options?: any): AxiosPromise<UserModel> {
|
|
377
|
+
return localVarFp.apiV2ProfilesGet(options).then((request) => request(axios, basePath));
|
|
378
378
|
},
|
|
379
379
|
/**
|
|
380
380
|
*
|
|
@@ -383,8 +383,8 @@ export const V2ProfilesApiFactory = function (configuration?: Configuration, bas
|
|
|
383
383
|
* @param {*} [options] Override http request option.
|
|
384
384
|
* @throws {RequiredError}
|
|
385
385
|
*/
|
|
386
|
-
|
|
387
|
-
return localVarFp.
|
|
386
|
+
apiV2ProfilesPost(createProfileCommand?: CreateProfileCommand, options?: any): AxiosPromise<UserModel> {
|
|
387
|
+
return localVarFp.apiV2ProfilesPost(createProfileCommand, options).then((request) => request(axios, basePath));
|
|
388
388
|
},
|
|
389
389
|
/**
|
|
390
390
|
*
|
|
@@ -393,8 +393,8 @@ export const V2ProfilesApiFactory = function (configuration?: Configuration, bas
|
|
|
393
393
|
* @param {*} [options] Override http request option.
|
|
394
394
|
* @throws {RequiredError}
|
|
395
395
|
*/
|
|
396
|
-
|
|
397
|
-
return localVarFp.
|
|
396
|
+
apiV2ProfilesProfileIdDelete(profileId: string, options?: any): AxiosPromise<boolean> {
|
|
397
|
+
return localVarFp.apiV2ProfilesProfileIdDelete(profileId, options).then((request) => request(axios, basePath));
|
|
398
398
|
},
|
|
399
399
|
/**
|
|
400
400
|
*
|
|
@@ -403,29 +403,29 @@ export const V2ProfilesApiFactory = function (configuration?: Configuration, bas
|
|
|
403
403
|
* @param {*} [options] Override http request option.
|
|
404
404
|
* @throws {RequiredError}
|
|
405
405
|
*/
|
|
406
|
-
|
|
407
|
-
return localVarFp.
|
|
406
|
+
apiV2ProfilesPut(updateProfileCommand?: UpdateProfileCommand, options?: any): AxiosPromise<UserModel> {
|
|
407
|
+
return localVarFp.apiV2ProfilesPut(updateProfileCommand, options).then((request) => request(axios, basePath));
|
|
408
408
|
},
|
|
409
409
|
};
|
|
410
410
|
};
|
|
411
411
|
|
|
412
412
|
/**
|
|
413
|
-
*
|
|
413
|
+
* ProfilesApi - object-oriented interface
|
|
414
414
|
* @export
|
|
415
|
-
* @class
|
|
415
|
+
* @class ProfilesApi
|
|
416
416
|
* @extends {BaseAPI}
|
|
417
417
|
*/
|
|
418
|
-
export class
|
|
418
|
+
export class ProfilesApi extends BaseAPI {
|
|
419
419
|
/**
|
|
420
420
|
* Sample request: POST /api/v1/profiles/changeEmail { \"email\": \"user@example.com\" }
|
|
421
421
|
* @summary Change user\'s email on both Identity and Api.
|
|
422
422
|
* @param {ChangeEmailCommand} [changeEmailCommand]
|
|
423
423
|
* @param {*} [options] Override http request option.
|
|
424
424
|
* @throws {RequiredError}
|
|
425
|
-
* @memberof
|
|
425
|
+
* @memberof ProfilesApi
|
|
426
426
|
*/
|
|
427
|
-
public
|
|
428
|
-
return
|
|
427
|
+
public apiV2ProfilesChangeemailPost(changeEmailCommand?: ChangeEmailCommand, options?: AxiosRequestConfig) {
|
|
428
|
+
return ProfilesApiFp(this.configuration).apiV2ProfilesChangeemailPost(changeEmailCommand, options).then((request) => request(this.axios, this.basePath));
|
|
429
429
|
}
|
|
430
430
|
|
|
431
431
|
/**
|
|
@@ -434,10 +434,10 @@ export class V2ProfilesApi extends BaseAPI {
|
|
|
434
434
|
* @param {ConfirmEmailCommand} [confirmEmailCommand]
|
|
435
435
|
* @param {*} [options] Override http request option.
|
|
436
436
|
* @throws {RequiredError}
|
|
437
|
-
* @memberof
|
|
437
|
+
* @memberof ProfilesApi
|
|
438
438
|
*/
|
|
439
|
-
public
|
|
440
|
-
return
|
|
439
|
+
public apiV2ProfilesConfirmemailPost(confirmEmailCommand?: ConfirmEmailCommand, options?: AxiosRequestConfig) {
|
|
440
|
+
return ProfilesApiFp(this.configuration).apiV2ProfilesConfirmemailPost(confirmEmailCommand, options).then((request) => request(this.axios, this.basePath));
|
|
441
441
|
}
|
|
442
442
|
|
|
443
443
|
/**
|
|
@@ -445,10 +445,10 @@ export class V2ProfilesApi extends BaseAPI {
|
|
|
445
445
|
* @summary Get Profile.
|
|
446
446
|
* @param {*} [options] Override http request option.
|
|
447
447
|
* @throws {RequiredError}
|
|
448
|
-
* @memberof
|
|
448
|
+
* @memberof ProfilesApi
|
|
449
449
|
*/
|
|
450
|
-
public
|
|
451
|
-
return
|
|
450
|
+
public apiV2ProfilesGet(options?: AxiosRequestConfig) {
|
|
451
|
+
return ProfilesApiFp(this.configuration).apiV2ProfilesGet(options).then((request) => request(this.axios, this.basePath));
|
|
452
452
|
}
|
|
453
453
|
|
|
454
454
|
/**
|
|
@@ -457,10 +457,10 @@ export class V2ProfilesApi extends BaseAPI {
|
|
|
457
457
|
* @param {CreateProfileCommand} [createProfileCommand]
|
|
458
458
|
* @param {*} [options] Override http request option.
|
|
459
459
|
* @throws {RequiredError}
|
|
460
|
-
* @memberof
|
|
460
|
+
* @memberof ProfilesApi
|
|
461
461
|
*/
|
|
462
|
-
public
|
|
463
|
-
return
|
|
462
|
+
public apiV2ProfilesPost(createProfileCommand?: CreateProfileCommand, options?: AxiosRequestConfig) {
|
|
463
|
+
return ProfilesApiFp(this.configuration).apiV2ProfilesPost(createProfileCommand, options).then((request) => request(this.axios, this.basePath));
|
|
464
464
|
}
|
|
465
465
|
|
|
466
466
|
/**
|
|
@@ -469,10 +469,10 @@ export class V2ProfilesApi extends BaseAPI {
|
|
|
469
469
|
* @param {string} profileId
|
|
470
470
|
* @param {*} [options] Override http request option.
|
|
471
471
|
* @throws {RequiredError}
|
|
472
|
-
* @memberof
|
|
472
|
+
* @memberof ProfilesApi
|
|
473
473
|
*/
|
|
474
|
-
public
|
|
475
|
-
return
|
|
474
|
+
public apiV2ProfilesProfileIdDelete(profileId: string, options?: AxiosRequestConfig) {
|
|
475
|
+
return ProfilesApiFp(this.configuration).apiV2ProfilesProfileIdDelete(profileId, options).then((request) => request(this.axios, this.basePath));
|
|
476
476
|
}
|
|
477
477
|
|
|
478
478
|
/**
|
|
@@ -481,9 +481,9 @@ export class V2ProfilesApi extends BaseAPI {
|
|
|
481
481
|
* @param {UpdateProfileCommand} [updateProfileCommand]
|
|
482
482
|
* @param {*} [options] Override http request option.
|
|
483
483
|
* @throws {RequiredError}
|
|
484
|
-
* @memberof
|
|
484
|
+
* @memberof ProfilesApi
|
|
485
485
|
*/
|
|
486
|
-
public
|
|
487
|
-
return
|
|
486
|
+
public apiV2ProfilesPut(updateProfileCommand?: UpdateProfileCommand, options?: AxiosRequestConfig) {
|
|
487
|
+
return ProfilesApiFp(this.configuration).apiV2ProfilesPut(updateProfileCommand, options).then((request) => request(this.axios, this.basePath));
|
|
488
488
|
}
|
|
489
489
|
}
|