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.
Files changed (191) hide show
  1. package/lib/api/{v2-about-us-api.d.ts → about-us-api.d.ts} +25 -25
  2. package/lib/api/about-us-api.d.ts.map +1 -0
  3. package/lib/api/{v2-about-us-api.js → about-us-api.js} +48 -48
  4. package/lib/api/{v2-accreditations-api.d.ts → accreditations-api.d.ts} +20 -20
  5. package/lib/api/accreditations-api.d.ts.map +1 -0
  6. package/lib/api/{v2-accreditations-api.js → accreditations-api.js} +38 -38
  7. package/lib/api/{v2-app-version-api.d.ts → app-version-api.d.ts} +15 -15
  8. package/lib/api/app-version-api.d.ts.map +1 -0
  9. package/lib/api/{v2-app-version-api.js → app-version-api.js} +29 -29
  10. package/lib/api/{v2-articles-api.d.ts → articles-api.d.ts} +65 -65
  11. package/lib/api/articles-api.d.ts.map +1 -0
  12. package/lib/api/{v2-articles-api.js → articles-api.js} +132 -132
  13. package/lib/api/{v2-bookings-api.d.ts → bookings-api.d.ts} +35 -35
  14. package/lib/api/bookings-api.d.ts.map +1 -0
  15. package/lib/api/{v2-bookings-api.js → bookings-api.js} +68 -68
  16. package/lib/api/{v2-chat-users-api.d.ts → chat-users-api.d.ts} +40 -40
  17. package/lib/api/chat-users-api.d.ts.map +1 -0
  18. package/lib/api/{v2-chat-users-api.js → chat-users-api.js} +74 -74
  19. package/lib/api/{v2-communications-api.d.ts → communications-api.d.ts} +25 -25
  20. package/lib/api/communications-api.d.ts.map +1 -0
  21. package/lib/api/{v2-communications-api.js → communications-api.js} +46 -46
  22. package/lib/api/{v2-consultations-api.d.ts → consultations-api.d.ts} +35 -35
  23. package/lib/api/consultations-api.d.ts.map +1 -0
  24. package/lib/api/{v2-consultations-api.js → consultations-api.js} +68 -68
  25. package/lib/api/{v2-contributors-api.d.ts → contributors-api.d.ts} +35 -35
  26. package/lib/api/contributors-api.d.ts.map +1 -0
  27. package/lib/api/{v2-contributors-api.js → contributors-api.js} +69 -69
  28. package/lib/api/{v2-countries-api.d.ts → countries-api.d.ts} +35 -35
  29. package/lib/api/countries-api.d.ts.map +1 -0
  30. package/lib/api/{v2-countries-api.js → countries-api.js} +69 -69
  31. package/lib/api/{v2-deals-api.d.ts → deals-api.d.ts} +50 -50
  32. package/lib/api/deals-api.d.ts.map +1 -0
  33. package/lib/api/{v2-deals-api.js → deals-api.js} +99 -99
  34. package/lib/api/{v2-devices-api.d.ts → devices-api.d.ts} +40 -40
  35. package/lib/api/devices-api.d.ts.map +1 -0
  36. package/lib/api/{v2-devices-api.js → devices-api.js} +77 -77
  37. package/lib/api/{v2-doctor-affiliations-api.d.ts → doctor-affiliations-api.d.ts} +35 -35
  38. package/lib/api/doctor-affiliations-api.d.ts.map +1 -0
  39. package/lib/api/{v2-doctor-affiliations-api.js → doctor-affiliations-api.js} +69 -69
  40. package/lib/api/{v2-doctors-api.d.ts → doctors-api.d.ts} +85 -85
  41. package/lib/api/doctors-api.d.ts.map +1 -0
  42. package/lib/api/{v2-doctors-api.js → doctors-api.js} +173 -173
  43. package/lib/api/{v2-external-api.d.ts → external-api.d.ts} +15 -15
  44. package/lib/api/external-api.d.ts.map +1 -0
  45. package/lib/api/{v2-external-api.js → external-api.js} +28 -28
  46. package/lib/api/{v2-faq-categories-api.d.ts → faq-categories-api.d.ts} +25 -25
  47. package/lib/api/faq-categories-api.d.ts.map +1 -0
  48. package/lib/api/{v2-faq-categories-api.js → faq-categories-api.js} +48 -48
  49. package/lib/api/{v2-faqs-api.d.ts → faqs-api.d.ts} +45 -45
  50. package/lib/api/faqs-api.d.ts.map +1 -0
  51. package/lib/api/{v2-faqs-api.js → faqs-api.js} +90 -90
  52. package/lib/api/{v2-group-channels-api.d.ts → group-channels-api.d.ts} +35 -35
  53. package/lib/api/group-channels-api.d.ts.map +1 -0
  54. package/lib/api/{v2-group-channels-api.js → group-channels-api.js} +70 -70
  55. package/lib/api/{v2-header-navigations-api.d.ts → header-navigations-api.d.ts} +15 -15
  56. package/lib/api/header-navigations-api.d.ts.map +1 -0
  57. package/lib/api/{v2-header-navigations-api.js → header-navigations-api.js} +29 -29
  58. package/lib/api/{v2-hospitals-api.d.ts → hospitals-api.d.ts} +170 -170
  59. package/lib/api/hospitals-api.d.ts.map +1 -0
  60. package/lib/api/{v2-hospitals-api.js → hospitals-api.js} +361 -361
  61. package/lib/api/{v2-hospitals-consultation-timetables-api.d.ts → hospitals-consultation-timetables-api.d.ts} +15 -15
  62. package/lib/api/hospitals-consultation-timetables-api.d.ts.map +1 -0
  63. package/lib/api/{v2-hospitals-consultation-timetables-api.js → hospitals-consultation-timetables-api.js} +29 -29
  64. package/lib/api/{v2-images-api.d.ts → images-api.d.ts} +15 -15
  65. package/lib/api/images-api.d.ts.map +1 -0
  66. package/lib/api/{v2-images-api.js → images-api.js} +28 -28
  67. package/lib/api/{v2-languages-api.d.ts → languages-api.d.ts} +20 -20
  68. package/lib/api/languages-api.d.ts.map +1 -0
  69. package/lib/api/{v2-languages-api.js → languages-api.js} +38 -38
  70. package/lib/api/{v2-memberships-api.d.ts → memberships-api.d.ts} +25 -25
  71. package/lib/api/memberships-api.d.ts.map +1 -0
  72. package/lib/api/{v2-memberships-api.js → memberships-api.js} +48 -48
  73. package/lib/api/{v2-notifications-api.d.ts → notifications-api.d.ts} +20 -20
  74. package/lib/api/notifications-api.d.ts.map +1 -0
  75. package/lib/api/{v2-notifications-api.js → notifications-api.js} +37 -37
  76. package/lib/api/{v2-origins-api.d.ts → origins-api.d.ts} +30 -30
  77. package/lib/api/origins-api.d.ts.map +1 -0
  78. package/lib/api/{v2-origins-api.js → origins-api.js} +56 -56
  79. package/lib/api/{v2-patients-api.d.ts → patients-api.d.ts} +40 -40
  80. package/lib/api/patients-api.d.ts.map +1 -0
  81. package/lib/api/{v2-patients-api.js → patients-api.js} +78 -78
  82. package/lib/api/{v2-plans-api.d.ts → plans-api.d.ts} +30 -30
  83. package/lib/api/plans-api.d.ts.map +1 -0
  84. package/lib/api/{v2-plans-api.js → plans-api.js} +59 -59
  85. package/lib/api/{v2-profiles-api.d.ts → profiles-api.d.ts} +40 -40
  86. package/lib/api/profiles-api.d.ts.map +1 -0
  87. package/lib/api/{v2-profiles-api.js → profiles-api.js} +74 -74
  88. package/lib/api/{v2-service-reviews-api.d.ts → service-reviews-api.d.ts} +60 -60
  89. package/lib/api/service-reviews-api.d.ts.map +1 -0
  90. package/lib/api/{v2-service-reviews-api.js → service-reviews-api.js} +120 -120
  91. package/lib/api/{v2-services-api.d.ts → services-api.d.ts} +25 -25
  92. package/lib/api/services-api.d.ts.map +1 -0
  93. package/lib/api/{v2-services-api.js → services-api.js} +48 -48
  94. package/lib/api/{v2-services-categories-api.d.ts → services-categories-api.d.ts} +20 -20
  95. package/lib/api/services-categories-api.d.ts.map +1 -0
  96. package/lib/api/{v2-services-categories-api.js → services-categories-api.js} +38 -38
  97. package/lib/api/{v2-specialties-api.d.ts → specialties-api.d.ts} +40 -40
  98. package/lib/api/specialties-api.d.ts.map +1 -0
  99. package/lib/api/{v2-specialties-api.js → specialties-api.js} +78 -78
  100. package/lib/api/{v2-specialty-types-api.d.ts → specialty-types-api.d.ts} +40 -40
  101. package/lib/api/specialty-types-api.d.ts.map +1 -0
  102. package/lib/api/{v2-specialty-types-api.js → specialty-types-api.js} +78 -78
  103. package/lib/api/{v2-survey-forms-api.d.ts → survey-forms-api.d.ts} +15 -15
  104. package/lib/api/survey-forms-api.d.ts.map +1 -0
  105. package/lib/api/{v2-survey-forms-api.js → survey-forms-api.js} +29 -29
  106. package/lib/api/{v2-survey-results-api.d.ts → survey-results-api.d.ts} +15 -15
  107. package/lib/api/survey-results-api.d.ts.map +1 -0
  108. package/lib/api/{v2-survey-results-api.js → survey-results-api.js} +28 -28
  109. package/lib/api/{v2-tags-api.d.ts → tags-api.d.ts} +20 -20
  110. package/lib/api/tags-api.d.ts.map +1 -0
  111. package/lib/api/{v2-tags-api.js → tags-api.js} +38 -38
  112. package/lib/api.d.ts +37 -37
  113. package/lib/api.d.ts.map +1 -1
  114. package/lib/api.js +37 -37
  115. package/package.json +1 -1
  116. package/src/.openapi-generator/FILES +37 -37
  117. package/src/api/{v2-about-us-api.ts → about-us-api.ts} +40 -40
  118. package/src/api/{v2-accreditations-api.ts → accreditations-api.ts} +30 -30
  119. package/src/api/{v2-app-version-api.ts → app-version-api.ts} +21 -21
  120. package/src/api/{v2-articles-api.ts → articles-api.ts} +124 -124
  121. package/src/api/{v2-bookings-api.ts → bookings-api.ts} +60 -60
  122. package/src/api/{v2-chat-users-api.ts → chat-users-api.ts} +66 -66
  123. package/src/api/{v2-communications-api.ts → communications-api.ts} +38 -38
  124. package/src/api/{v2-consultations-api.ts → consultations-api.ts} +60 -60
  125. package/src/api/{v2-contributors-api.ts → contributors-api.ts} +61 -61
  126. package/src/api/{v2-countries-api.ts → countries-api.ts} +61 -61
  127. package/src/api/{v2-deals-api.ts → deals-api.ts} +91 -91
  128. package/src/api/{v2-devices-api.ts → devices-api.ts} +69 -69
  129. package/src/api/{v2-doctor-affiliations-api.ts → doctor-affiliations-api.ts} +61 -61
  130. package/src/api/{v2-doctors-api.ts → doctors-api.ts} +165 -165
  131. package/src/api/{v2-external-api.ts → external-api.ts} +20 -20
  132. package/src/api/{v2-faq-categories-api.ts → faq-categories-api.ts} +40 -40
  133. package/src/api/{v2-faqs-api.ts → faqs-api.ts} +82 -82
  134. package/src/api/{v2-group-channels-api.ts → group-channels-api.ts} +62 -62
  135. package/src/api/{v2-header-navigations-api.ts → header-navigations-api.ts} +21 -21
  136. package/src/api/{v2-hospitals-api.ts → hospitals-api.ts} +353 -353
  137. package/src/api/{v2-hospitals-consultation-timetables-api.ts → hospitals-consultation-timetables-api.ts} +21 -21
  138. package/src/api/{v2-images-api.ts → images-api.ts} +20 -20
  139. package/src/api/{v2-languages-api.ts → languages-api.ts} +30 -30
  140. package/src/api/{v2-memberships-api.ts → memberships-api.ts} +40 -40
  141. package/src/api/{v2-notifications-api.ts → notifications-api.ts} +29 -29
  142. package/src/api/{v2-origins-api.ts → origins-api.ts} +48 -48
  143. package/src/api/{v2-patients-api.ts → patients-api.ts} +70 -70
  144. package/src/api/{v2-plans-api.ts → plans-api.ts} +51 -51
  145. package/src/api/{v2-profiles-api.ts → profiles-api.ts} +66 -66
  146. package/src/api/{v2-service-reviews-api.ts → service-reviews-api.ts} +112 -112
  147. package/src/api/{v2-services-api.ts → services-api.ts} +40 -40
  148. package/src/api/{v2-services-categories-api.ts → services-categories-api.ts} +30 -30
  149. package/src/api/{v2-specialties-api.ts → specialties-api.ts} +70 -70
  150. package/src/api/{v2-specialty-types-api.ts → specialty-types-api.ts} +70 -70
  151. package/src/api/{v2-survey-forms-api.ts → survey-forms-api.ts} +21 -21
  152. package/src/api/{v2-survey-results-api.ts → survey-results-api.ts} +20 -20
  153. package/src/api/{v2-tags-api.ts → tags-api.ts} +30 -30
  154. package/src/api.ts +37 -37
  155. package/lib/api/v2-about-us-api.d.ts.map +0 -1
  156. package/lib/api/v2-accreditations-api.d.ts.map +0 -1
  157. package/lib/api/v2-app-version-api.d.ts.map +0 -1
  158. package/lib/api/v2-articles-api.d.ts.map +0 -1
  159. package/lib/api/v2-bookings-api.d.ts.map +0 -1
  160. package/lib/api/v2-chat-users-api.d.ts.map +0 -1
  161. package/lib/api/v2-communications-api.d.ts.map +0 -1
  162. package/lib/api/v2-consultations-api.d.ts.map +0 -1
  163. package/lib/api/v2-contributors-api.d.ts.map +0 -1
  164. package/lib/api/v2-countries-api.d.ts.map +0 -1
  165. package/lib/api/v2-deals-api.d.ts.map +0 -1
  166. package/lib/api/v2-devices-api.d.ts.map +0 -1
  167. package/lib/api/v2-doctor-affiliations-api.d.ts.map +0 -1
  168. package/lib/api/v2-doctors-api.d.ts.map +0 -1
  169. package/lib/api/v2-external-api.d.ts.map +0 -1
  170. package/lib/api/v2-faq-categories-api.d.ts.map +0 -1
  171. package/lib/api/v2-faqs-api.d.ts.map +0 -1
  172. package/lib/api/v2-group-channels-api.d.ts.map +0 -1
  173. package/lib/api/v2-header-navigations-api.d.ts.map +0 -1
  174. package/lib/api/v2-hospitals-api.d.ts.map +0 -1
  175. package/lib/api/v2-hospitals-consultation-timetables-api.d.ts.map +0 -1
  176. package/lib/api/v2-images-api.d.ts.map +0 -1
  177. package/lib/api/v2-languages-api.d.ts.map +0 -1
  178. package/lib/api/v2-memberships-api.d.ts.map +0 -1
  179. package/lib/api/v2-notifications-api.d.ts.map +0 -1
  180. package/lib/api/v2-origins-api.d.ts.map +0 -1
  181. package/lib/api/v2-patients-api.d.ts.map +0 -1
  182. package/lib/api/v2-plans-api.d.ts.map +0 -1
  183. package/lib/api/v2-profiles-api.d.ts.map +0 -1
  184. package/lib/api/v2-service-reviews-api.d.ts.map +0 -1
  185. package/lib/api/v2-services-api.d.ts.map +0 -1
  186. package/lib/api/v2-services-categories-api.d.ts.map +0 -1
  187. package/lib/api/v2-specialties-api.d.ts.map +0 -1
  188. package/lib/api/v2-specialty-types-api.d.ts.map +0 -1
  189. package/lib/api/v2-survey-forms-api.d.ts.map +0 -1
  190. package/lib/api/v2-survey-results-api.d.ts.map +0 -1
  191. 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
- * V2ProfilesApi - axios parameter creator
36
+ * ProfilesApi - axios parameter creator
37
37
  * @export
38
38
  */
39
- export const V2ProfilesApiAxiosParamCreator = function (configuration?: Configuration) {
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
- apiv2profilesChangeemailPost: async (changeEmailCommand?: ChangeEmailCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
49
- const localVarPath = `/apiv2profiles/changeemail`;
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
- apiv2profilesConfirmemailPost: async (confirmEmailCommand?: ConfirmEmailCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
87
- const localVarPath = `/apiv2profiles/confirmemail`;
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
- apiv2profilesGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
124
- const localVarPath = `/apiv2profiles`;
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
- apiv2profilesPost: async (createProfileCommand?: CreateProfileCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
159
- const localVarPath = `/apiv2profiles`;
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
- apiv2profilesProfileIdDelete: async (profileId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
196
+ apiV2ProfilesProfileIdDelete: async (profileId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
197
197
  // verify required parameter 'profileId' is not null or undefined
198
- assertParamExists('apiv2profilesProfileIdDelete', 'profileId', profileId)
199
- const localVarPath = `/apiv2profiles/{profileId}`
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
- apiv2profilesPut: async (updateProfileCommand?: UpdateProfileCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
235
- const localVarPath = `/apiv2profiles`;
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
- * V2ProfilesApi - functional programming interface
269
+ * ProfilesApi - functional programming interface
270
270
  * @export
271
271
  */
272
- export const V2ProfilesApiFp = function(configuration?: Configuration) {
273
- const localVarAxiosParamCreator = V2ProfilesApiAxiosParamCreator(configuration)
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 apiv2profilesChangeemailPost(changeEmailCommand?: ChangeEmailCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
283
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiv2profilesChangeemailPost(changeEmailCommand, options);
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 apiv2profilesConfirmemailPost(confirmEmailCommand?: ConfirmEmailCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
294
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiv2profilesConfirmemailPost(confirmEmailCommand, options);
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 apiv2profilesGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserModel>> {
304
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiv2profilesGet(options);
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 apiv2profilesPost(createProfileCommand?: CreateProfileCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserModel>> {
315
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiv2profilesPost(createProfileCommand, options);
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 apiv2profilesProfileIdDelete(profileId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
326
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiv2profilesProfileIdDelete(profileId, options);
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 apiv2profilesPut(updateProfileCommand?: UpdateProfileCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserModel>> {
337
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiv2profilesPut(updateProfileCommand, options);
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
- * V2ProfilesApi - factory interface
344
+ * ProfilesApi - factory interface
345
345
  * @export
346
346
  */
347
- export const V2ProfilesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
348
- const localVarFp = V2ProfilesApiFp(configuration)
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
- apiv2profilesChangeemailPost(changeEmailCommand?: ChangeEmailCommand, options?: any): AxiosPromise<boolean> {
358
- return localVarFp.apiv2profilesChangeemailPost(changeEmailCommand, options).then((request) => request(axios, basePath));
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
- apiv2profilesConfirmemailPost(confirmEmailCommand?: ConfirmEmailCommand, options?: any): AxiosPromise<boolean> {
368
- return localVarFp.apiv2profilesConfirmemailPost(confirmEmailCommand, options).then((request) => request(axios, basePath));
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
- apiv2profilesGet(options?: any): AxiosPromise<UserModel> {
377
- return localVarFp.apiv2profilesGet(options).then((request) => request(axios, basePath));
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
- apiv2profilesPost(createProfileCommand?: CreateProfileCommand, options?: any): AxiosPromise<UserModel> {
387
- return localVarFp.apiv2profilesPost(createProfileCommand, options).then((request) => request(axios, basePath));
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
- apiv2profilesProfileIdDelete(profileId: string, options?: any): AxiosPromise<boolean> {
397
- return localVarFp.apiv2profilesProfileIdDelete(profileId, options).then((request) => request(axios, basePath));
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
- apiv2profilesPut(updateProfileCommand?: UpdateProfileCommand, options?: any): AxiosPromise<UserModel> {
407
- return localVarFp.apiv2profilesPut(updateProfileCommand, options).then((request) => request(axios, basePath));
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
- * V2ProfilesApi - object-oriented interface
413
+ * ProfilesApi - object-oriented interface
414
414
  * @export
415
- * @class V2ProfilesApi
415
+ * @class ProfilesApi
416
416
  * @extends {BaseAPI}
417
417
  */
418
- export class V2ProfilesApi extends BaseAPI {
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 V2ProfilesApi
425
+ * @memberof ProfilesApi
426
426
  */
427
- public apiv2profilesChangeemailPost(changeEmailCommand?: ChangeEmailCommand, options?: AxiosRequestConfig) {
428
- return V2ProfilesApiFp(this.configuration).apiv2profilesChangeemailPost(changeEmailCommand, options).then((request) => request(this.axios, this.basePath));
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 V2ProfilesApi
437
+ * @memberof ProfilesApi
438
438
  */
439
- public apiv2profilesConfirmemailPost(confirmEmailCommand?: ConfirmEmailCommand, options?: AxiosRequestConfig) {
440
- return V2ProfilesApiFp(this.configuration).apiv2profilesConfirmemailPost(confirmEmailCommand, options).then((request) => request(this.axios, this.basePath));
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 V2ProfilesApi
448
+ * @memberof ProfilesApi
449
449
  */
450
- public apiv2profilesGet(options?: AxiosRequestConfig) {
451
- return V2ProfilesApiFp(this.configuration).apiv2profilesGet(options).then((request) => request(this.axios, this.basePath));
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 V2ProfilesApi
460
+ * @memberof ProfilesApi
461
461
  */
462
- public apiv2profilesPost(createProfileCommand?: CreateProfileCommand, options?: AxiosRequestConfig) {
463
- return V2ProfilesApiFp(this.configuration).apiv2profilesPost(createProfileCommand, options).then((request) => request(this.axios, this.basePath));
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 V2ProfilesApi
472
+ * @memberof ProfilesApi
473
473
  */
474
- public apiv2profilesProfileIdDelete(profileId: string, options?: AxiosRequestConfig) {
475
- return V2ProfilesApiFp(this.configuration).apiv2profilesProfileIdDelete(profileId, options).then((request) => request(this.axios, this.basePath));
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 V2ProfilesApi
484
+ * @memberof ProfilesApi
485
485
  */
486
- public apiv2profilesPut(updateProfileCommand?: UpdateProfileCommand, options?: AxiosRequestConfig) {
487
- return V2ProfilesApiFp(this.configuration).apiv2profilesPut(updateProfileCommand, options).then((request) => request(this.axios, this.basePath));
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
  }