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
@@ -78,7 +78,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
78
78
  return (mod && mod.__esModule) ? mod : { "default": mod };
79
79
  };
80
80
  Object.defineProperty(exports, "__esModule", { value: true });
81
- exports.V2ProfilesApi = exports.V2ProfilesApiFactory = exports.V2ProfilesApiFp = exports.V2ProfilesApiAxiosParamCreator = void 0;
81
+ exports.ProfilesApi = exports.ProfilesApiFactory = exports.ProfilesApiFp = exports.ProfilesApiAxiosParamCreator = void 0;
82
82
  var axios_1 = __importDefault(require("axios"));
83
83
  // Some imports not used depending on template conditions
84
84
  // @ts-ignore
@@ -86,10 +86,10 @@ var common_1 = require("../common");
86
86
  // @ts-ignore
87
87
  var base_1 = require("../base");
88
88
  /**
89
- * V2ProfilesApi - axios parameter creator
89
+ * ProfilesApi - axios parameter creator
90
90
  * @export
91
91
  */
92
- var V2ProfilesApiAxiosParamCreator = function (configuration) {
92
+ var ProfilesApiAxiosParamCreator = function (configuration) {
93
93
  var _this = this;
94
94
  return {
95
95
  /**
@@ -99,14 +99,14 @@ var V2ProfilesApiAxiosParamCreator = function (configuration) {
99
99
  * @param {*} [options] Override http request option.
100
100
  * @throws {RequiredError}
101
101
  */
102
- apiv2profilesChangeemailPost: function (changeEmailCommand, options) {
102
+ apiV2ProfilesChangeemailPost: function (changeEmailCommand, options) {
103
103
  if (options === void 0) { options = {}; }
104
104
  return __awaiter(_this, void 0, void 0, function () {
105
105
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
106
106
  return __generator(this, function (_a) {
107
107
  switch (_a.label) {
108
108
  case 0:
109
- localVarPath = "/apiv2profiles/changeemail";
109
+ localVarPath = "/api/v2/profiles/changeemail";
110
110
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
111
111
  if (configuration) {
112
112
  baseOptions = configuration.baseOptions;
@@ -141,14 +141,14 @@ var V2ProfilesApiAxiosParamCreator = function (configuration) {
141
141
  * @param {*} [options] Override http request option.
142
142
  * @throws {RequiredError}
143
143
  */
144
- apiv2profilesConfirmemailPost: function (confirmEmailCommand, options) {
144
+ apiV2ProfilesConfirmemailPost: function (confirmEmailCommand, options) {
145
145
  if (options === void 0) { options = {}; }
146
146
  return __awaiter(_this, void 0, void 0, function () {
147
147
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
148
148
  return __generator(this, function (_a) {
149
149
  switch (_a.label) {
150
150
  case 0:
151
- localVarPath = "/apiv2profiles/confirmemail";
151
+ localVarPath = "/api/v2/profiles/confirmemail";
152
152
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
153
153
  if (configuration) {
154
154
  baseOptions = configuration.baseOptions;
@@ -182,14 +182,14 @@ var V2ProfilesApiAxiosParamCreator = function (configuration) {
182
182
  * @param {*} [options] Override http request option.
183
183
  * @throws {RequiredError}
184
184
  */
185
- apiv2profilesGet: function (options) {
185
+ apiV2ProfilesGet: function (options) {
186
186
  if (options === void 0) { options = {}; }
187
187
  return __awaiter(_this, void 0, void 0, function () {
188
188
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
189
189
  return __generator(this, function (_a) {
190
190
  switch (_a.label) {
191
191
  case 0:
192
- localVarPath = "/apiv2profiles";
192
+ localVarPath = "/api/v2/profiles";
193
193
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
194
194
  if (configuration) {
195
195
  baseOptions = configuration.baseOptions;
@@ -222,14 +222,14 @@ var V2ProfilesApiAxiosParamCreator = function (configuration) {
222
222
  * @param {*} [options] Override http request option.
223
223
  * @throws {RequiredError}
224
224
  */
225
- apiv2profilesPost: function (createProfileCommand, options) {
225
+ apiV2ProfilesPost: function (createProfileCommand, options) {
226
226
  if (options === void 0) { options = {}; }
227
227
  return __awaiter(_this, void 0, void 0, function () {
228
228
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
229
229
  return __generator(this, function (_a) {
230
230
  switch (_a.label) {
231
231
  case 0:
232
- localVarPath = "/apiv2profiles";
232
+ localVarPath = "/api/v2/profiles";
233
233
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
234
234
  if (configuration) {
235
235
  baseOptions = configuration.baseOptions;
@@ -264,7 +264,7 @@ var V2ProfilesApiAxiosParamCreator = function (configuration) {
264
264
  * @param {*} [options] Override http request option.
265
265
  * @throws {RequiredError}
266
266
  */
267
- apiv2profilesProfileIdDelete: function (profileId, options) {
267
+ apiV2ProfilesProfileIdDelete: function (profileId, options) {
268
268
  if (options === void 0) { options = {}; }
269
269
  return __awaiter(_this, void 0, void 0, function () {
270
270
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -272,8 +272,8 @@ var V2ProfilesApiAxiosParamCreator = function (configuration) {
272
272
  switch (_a.label) {
273
273
  case 0:
274
274
  // verify required parameter 'profileId' is not null or undefined
275
- (0, common_1.assertParamExists)('apiv2profilesProfileIdDelete', 'profileId', profileId);
276
- localVarPath = "/apiv2profiles/{profileId}"
275
+ (0, common_1.assertParamExists)('apiV2ProfilesProfileIdDelete', 'profileId', profileId);
276
+ localVarPath = "/api/v2/profiles/{profileId}"
277
277
  .replace("{".concat("profileId", "}"), encodeURIComponent(String(profileId)));
278
278
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
279
279
  if (configuration) {
@@ -307,14 +307,14 @@ var V2ProfilesApiAxiosParamCreator = function (configuration) {
307
307
  * @param {*} [options] Override http request option.
308
308
  * @throws {RequiredError}
309
309
  */
310
- apiv2profilesPut: function (updateProfileCommand, options) {
310
+ apiV2ProfilesPut: function (updateProfileCommand, options) {
311
311
  if (options === void 0) { options = {}; }
312
312
  return __awaiter(_this, void 0, void 0, function () {
313
313
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
314
314
  return __generator(this, function (_a) {
315
315
  switch (_a.label) {
316
316
  case 0:
317
- localVarPath = "/apiv2profiles";
317
+ localVarPath = "/api/v2/profiles";
318
318
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
319
319
  if (configuration) {
320
320
  baseOptions = configuration.baseOptions;
@@ -344,13 +344,13 @@ var V2ProfilesApiAxiosParamCreator = function (configuration) {
344
344
  },
345
345
  };
346
346
  };
347
- exports.V2ProfilesApiAxiosParamCreator = V2ProfilesApiAxiosParamCreator;
347
+ exports.ProfilesApiAxiosParamCreator = ProfilesApiAxiosParamCreator;
348
348
  /**
349
- * V2ProfilesApi - functional programming interface
349
+ * ProfilesApi - functional programming interface
350
350
  * @export
351
351
  */
352
- var V2ProfilesApiFp = function (configuration) {
353
- var localVarAxiosParamCreator = (0, exports.V2ProfilesApiAxiosParamCreator)(configuration);
352
+ var ProfilesApiFp = function (configuration) {
353
+ var localVarAxiosParamCreator = (0, exports.ProfilesApiAxiosParamCreator)(configuration);
354
354
  return {
355
355
  /**
356
356
  * Sample request: POST /api/v1/profiles/changeEmail { \"email\": \"user@example.com\" }
@@ -359,12 +359,12 @@ var V2ProfilesApiFp = function (configuration) {
359
359
  * @param {*} [options] Override http request option.
360
360
  * @throws {RequiredError}
361
361
  */
362
- apiv2profilesChangeemailPost: function (changeEmailCommand, options) {
362
+ apiV2ProfilesChangeemailPost: function (changeEmailCommand, options) {
363
363
  return __awaiter(this, void 0, void 0, function () {
364
364
  var localVarAxiosArgs;
365
365
  return __generator(this, function (_a) {
366
366
  switch (_a.label) {
367
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiv2profilesChangeemailPost(changeEmailCommand, options)];
367
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ProfilesChangeemailPost(changeEmailCommand, options)];
368
368
  case 1:
369
369
  localVarAxiosArgs = _a.sent();
370
370
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -379,12 +379,12 @@ var V2ProfilesApiFp = function (configuration) {
379
379
  * @param {*} [options] Override http request option.
380
380
  * @throws {RequiredError}
381
381
  */
382
- apiv2profilesConfirmemailPost: function (confirmEmailCommand, options) {
382
+ apiV2ProfilesConfirmemailPost: function (confirmEmailCommand, options) {
383
383
  return __awaiter(this, void 0, void 0, function () {
384
384
  var localVarAxiosArgs;
385
385
  return __generator(this, function (_a) {
386
386
  switch (_a.label) {
387
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiv2profilesConfirmemailPost(confirmEmailCommand, options)];
387
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ProfilesConfirmemailPost(confirmEmailCommand, options)];
388
388
  case 1:
389
389
  localVarAxiosArgs = _a.sent();
390
390
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -398,12 +398,12 @@ var V2ProfilesApiFp = function (configuration) {
398
398
  * @param {*} [options] Override http request option.
399
399
  * @throws {RequiredError}
400
400
  */
401
- apiv2profilesGet: function (options) {
401
+ apiV2ProfilesGet: function (options) {
402
402
  return __awaiter(this, void 0, void 0, function () {
403
403
  var localVarAxiosArgs;
404
404
  return __generator(this, function (_a) {
405
405
  switch (_a.label) {
406
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiv2profilesGet(options)];
406
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ProfilesGet(options)];
407
407
  case 1:
408
408
  localVarAxiosArgs = _a.sent();
409
409
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -418,12 +418,12 @@ var V2ProfilesApiFp = function (configuration) {
418
418
  * @param {*} [options] Override http request option.
419
419
  * @throws {RequiredError}
420
420
  */
421
- apiv2profilesPost: function (createProfileCommand, options) {
421
+ apiV2ProfilesPost: function (createProfileCommand, options) {
422
422
  return __awaiter(this, void 0, void 0, function () {
423
423
  var localVarAxiosArgs;
424
424
  return __generator(this, function (_a) {
425
425
  switch (_a.label) {
426
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiv2profilesPost(createProfileCommand, options)];
426
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ProfilesPost(createProfileCommand, options)];
427
427
  case 1:
428
428
  localVarAxiosArgs = _a.sent();
429
429
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -438,12 +438,12 @@ var V2ProfilesApiFp = function (configuration) {
438
438
  * @param {*} [options] Override http request option.
439
439
  * @throws {RequiredError}
440
440
  */
441
- apiv2profilesProfileIdDelete: function (profileId, options) {
441
+ apiV2ProfilesProfileIdDelete: function (profileId, options) {
442
442
  return __awaiter(this, void 0, void 0, function () {
443
443
  var localVarAxiosArgs;
444
444
  return __generator(this, function (_a) {
445
445
  switch (_a.label) {
446
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiv2profilesProfileIdDelete(profileId, options)];
446
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ProfilesProfileIdDelete(profileId, options)];
447
447
  case 1:
448
448
  localVarAxiosArgs = _a.sent();
449
449
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -458,12 +458,12 @@ var V2ProfilesApiFp = function (configuration) {
458
458
  * @param {*} [options] Override http request option.
459
459
  * @throws {RequiredError}
460
460
  */
461
- apiv2profilesPut: function (updateProfileCommand, options) {
461
+ apiV2ProfilesPut: function (updateProfileCommand, options) {
462
462
  return __awaiter(this, void 0, void 0, function () {
463
463
  var localVarAxiosArgs;
464
464
  return __generator(this, function (_a) {
465
465
  switch (_a.label) {
466
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiv2profilesPut(updateProfileCommand, options)];
466
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ProfilesPut(updateProfileCommand, options)];
467
467
  case 1:
468
468
  localVarAxiosArgs = _a.sent();
469
469
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -473,13 +473,13 @@ var V2ProfilesApiFp = function (configuration) {
473
473
  },
474
474
  };
475
475
  };
476
- exports.V2ProfilesApiFp = V2ProfilesApiFp;
476
+ exports.ProfilesApiFp = ProfilesApiFp;
477
477
  /**
478
- * V2ProfilesApi - factory interface
478
+ * ProfilesApi - factory interface
479
479
  * @export
480
480
  */
481
- var V2ProfilesApiFactory = function (configuration, basePath, axios) {
482
- var localVarFp = (0, exports.V2ProfilesApiFp)(configuration);
481
+ var ProfilesApiFactory = function (configuration, basePath, axios) {
482
+ var localVarFp = (0, exports.ProfilesApiFp)(configuration);
483
483
  return {
484
484
  /**
485
485
  * Sample request: POST /api/v1/profiles/changeEmail { \"email\": \"user@example.com\" }
@@ -488,8 +488,8 @@ var V2ProfilesApiFactory = function (configuration, basePath, axios) {
488
488
  * @param {*} [options] Override http request option.
489
489
  * @throws {RequiredError}
490
490
  */
491
- apiv2profilesChangeemailPost: function (changeEmailCommand, options) {
492
- return localVarFp.apiv2profilesChangeemailPost(changeEmailCommand, options).then(function (request) { return request(axios, basePath); });
491
+ apiV2ProfilesChangeemailPost: function (changeEmailCommand, options) {
492
+ return localVarFp.apiV2ProfilesChangeemailPost(changeEmailCommand, options).then(function (request) { return request(axios, basePath); });
493
493
  },
494
494
  /**
495
495
  *
@@ -498,8 +498,8 @@ var V2ProfilesApiFactory = function (configuration, basePath, axios) {
498
498
  * @param {*} [options] Override http request option.
499
499
  * @throws {RequiredError}
500
500
  */
501
- apiv2profilesConfirmemailPost: function (confirmEmailCommand, options) {
502
- return localVarFp.apiv2profilesConfirmemailPost(confirmEmailCommand, options).then(function (request) { return request(axios, basePath); });
501
+ apiV2ProfilesConfirmemailPost: function (confirmEmailCommand, options) {
502
+ return localVarFp.apiV2ProfilesConfirmemailPost(confirmEmailCommand, options).then(function (request) { return request(axios, basePath); });
503
503
  },
504
504
  /**
505
505
  *
@@ -507,8 +507,8 @@ var V2ProfilesApiFactory = function (configuration, basePath, axios) {
507
507
  * @param {*} [options] Override http request option.
508
508
  * @throws {RequiredError}
509
509
  */
510
- apiv2profilesGet: function (options) {
511
- return localVarFp.apiv2profilesGet(options).then(function (request) { return request(axios, basePath); });
510
+ apiV2ProfilesGet: function (options) {
511
+ return localVarFp.apiV2ProfilesGet(options).then(function (request) { return request(axios, basePath); });
512
512
  },
513
513
  /**
514
514
  *
@@ -517,8 +517,8 @@ var V2ProfilesApiFactory = function (configuration, basePath, axios) {
517
517
  * @param {*} [options] Override http request option.
518
518
  * @throws {RequiredError}
519
519
  */
520
- apiv2profilesPost: function (createProfileCommand, options) {
521
- return localVarFp.apiv2profilesPost(createProfileCommand, options).then(function (request) { return request(axios, basePath); });
520
+ apiV2ProfilesPost: function (createProfileCommand, options) {
521
+ return localVarFp.apiV2ProfilesPost(createProfileCommand, options).then(function (request) { return request(axios, basePath); });
522
522
  },
523
523
  /**
524
524
  *
@@ -527,8 +527,8 @@ var V2ProfilesApiFactory = function (configuration, basePath, axios) {
527
527
  * @param {*} [options] Override http request option.
528
528
  * @throws {RequiredError}
529
529
  */
530
- apiv2profilesProfileIdDelete: function (profileId, options) {
531
- return localVarFp.apiv2profilesProfileIdDelete(profileId, options).then(function (request) { return request(axios, basePath); });
530
+ apiV2ProfilesProfileIdDelete: function (profileId, options) {
531
+ return localVarFp.apiV2ProfilesProfileIdDelete(profileId, options).then(function (request) { return request(axios, basePath); });
532
532
  },
533
533
  /**
534
534
  *
@@ -537,21 +537,21 @@ var V2ProfilesApiFactory = function (configuration, basePath, axios) {
537
537
  * @param {*} [options] Override http request option.
538
538
  * @throws {RequiredError}
539
539
  */
540
- apiv2profilesPut: function (updateProfileCommand, options) {
541
- return localVarFp.apiv2profilesPut(updateProfileCommand, options).then(function (request) { return request(axios, basePath); });
540
+ apiV2ProfilesPut: function (updateProfileCommand, options) {
541
+ return localVarFp.apiV2ProfilesPut(updateProfileCommand, options).then(function (request) { return request(axios, basePath); });
542
542
  },
543
543
  };
544
544
  };
545
- exports.V2ProfilesApiFactory = V2ProfilesApiFactory;
545
+ exports.ProfilesApiFactory = ProfilesApiFactory;
546
546
  /**
547
- * V2ProfilesApi - object-oriented interface
547
+ * ProfilesApi - object-oriented interface
548
548
  * @export
549
- * @class V2ProfilesApi
549
+ * @class ProfilesApi
550
550
  * @extends {BaseAPI}
551
551
  */
552
- var V2ProfilesApi = /** @class */ (function (_super) {
553
- __extends(V2ProfilesApi, _super);
554
- function V2ProfilesApi() {
552
+ var ProfilesApi = /** @class */ (function (_super) {
553
+ __extends(ProfilesApi, _super);
554
+ function ProfilesApi() {
555
555
  return _super !== null && _super.apply(this, arguments) || this;
556
556
  }
557
557
  /**
@@ -560,11 +560,11 @@ var V2ProfilesApi = /** @class */ (function (_super) {
560
560
  * @param {ChangeEmailCommand} [changeEmailCommand]
561
561
  * @param {*} [options] Override http request option.
562
562
  * @throws {RequiredError}
563
- * @memberof V2ProfilesApi
563
+ * @memberof ProfilesApi
564
564
  */
565
- V2ProfilesApi.prototype.apiv2profilesChangeemailPost = function (changeEmailCommand, options) {
565
+ ProfilesApi.prototype.apiV2ProfilesChangeemailPost = function (changeEmailCommand, options) {
566
566
  var _this = this;
567
- return (0, exports.V2ProfilesApiFp)(this.configuration).apiv2profilesChangeemailPost(changeEmailCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
567
+ return (0, exports.ProfilesApiFp)(this.configuration).apiV2ProfilesChangeemailPost(changeEmailCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
568
568
  };
569
569
  /**
570
570
  *
@@ -572,22 +572,22 @@ var V2ProfilesApi = /** @class */ (function (_super) {
572
572
  * @param {ConfirmEmailCommand} [confirmEmailCommand]
573
573
  * @param {*} [options] Override http request option.
574
574
  * @throws {RequiredError}
575
- * @memberof V2ProfilesApi
575
+ * @memberof ProfilesApi
576
576
  */
577
- V2ProfilesApi.prototype.apiv2profilesConfirmemailPost = function (confirmEmailCommand, options) {
577
+ ProfilesApi.prototype.apiV2ProfilesConfirmemailPost = function (confirmEmailCommand, options) {
578
578
  var _this = this;
579
- return (0, exports.V2ProfilesApiFp)(this.configuration).apiv2profilesConfirmemailPost(confirmEmailCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
579
+ return (0, exports.ProfilesApiFp)(this.configuration).apiV2ProfilesConfirmemailPost(confirmEmailCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
580
580
  };
581
581
  /**
582
582
  *
583
583
  * @summary Get Profile.
584
584
  * @param {*} [options] Override http request option.
585
585
  * @throws {RequiredError}
586
- * @memberof V2ProfilesApi
586
+ * @memberof ProfilesApi
587
587
  */
588
- V2ProfilesApi.prototype.apiv2profilesGet = function (options) {
588
+ ProfilesApi.prototype.apiV2ProfilesGet = function (options) {
589
589
  var _this = this;
590
- return (0, exports.V2ProfilesApiFp)(this.configuration).apiv2profilesGet(options).then(function (request) { return request(_this.axios, _this.basePath); });
590
+ return (0, exports.ProfilesApiFp)(this.configuration).apiV2ProfilesGet(options).then(function (request) { return request(_this.axios, _this.basePath); });
591
591
  };
592
592
  /**
593
593
  *
@@ -595,11 +595,11 @@ var V2ProfilesApi = /** @class */ (function (_super) {
595
595
  * @param {CreateProfileCommand} [createProfileCommand]
596
596
  * @param {*} [options] Override http request option.
597
597
  * @throws {RequiredError}
598
- * @memberof V2ProfilesApi
598
+ * @memberof ProfilesApi
599
599
  */
600
- V2ProfilesApi.prototype.apiv2profilesPost = function (createProfileCommand, options) {
600
+ ProfilesApi.prototype.apiV2ProfilesPost = function (createProfileCommand, options) {
601
601
  var _this = this;
602
- return (0, exports.V2ProfilesApiFp)(this.configuration).apiv2profilesPost(createProfileCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
602
+ return (0, exports.ProfilesApiFp)(this.configuration).apiV2ProfilesPost(createProfileCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
603
603
  };
604
604
  /**
605
605
  *
@@ -607,11 +607,11 @@ var V2ProfilesApi = /** @class */ (function (_super) {
607
607
  * @param {string} profileId
608
608
  * @param {*} [options] Override http request option.
609
609
  * @throws {RequiredError}
610
- * @memberof V2ProfilesApi
610
+ * @memberof ProfilesApi
611
611
  */
612
- V2ProfilesApi.prototype.apiv2profilesProfileIdDelete = function (profileId, options) {
612
+ ProfilesApi.prototype.apiV2ProfilesProfileIdDelete = function (profileId, options) {
613
613
  var _this = this;
614
- return (0, exports.V2ProfilesApiFp)(this.configuration).apiv2profilesProfileIdDelete(profileId, options).then(function (request) { return request(_this.axios, _this.basePath); });
614
+ return (0, exports.ProfilesApiFp)(this.configuration).apiV2ProfilesProfileIdDelete(profileId, options).then(function (request) { return request(_this.axios, _this.basePath); });
615
615
  };
616
616
  /**
617
617
  *
@@ -619,12 +619,12 @@ var V2ProfilesApi = /** @class */ (function (_super) {
619
619
  * @param {UpdateProfileCommand} [updateProfileCommand]
620
620
  * @param {*} [options] Override http request option.
621
621
  * @throws {RequiredError}
622
- * @memberof V2ProfilesApi
622
+ * @memberof ProfilesApi
623
623
  */
624
- V2ProfilesApi.prototype.apiv2profilesPut = function (updateProfileCommand, options) {
624
+ ProfilesApi.prototype.apiV2ProfilesPut = function (updateProfileCommand, options) {
625
625
  var _this = this;
626
- return (0, exports.V2ProfilesApiFp)(this.configuration).apiv2profilesPut(updateProfileCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
626
+ return (0, exports.ProfilesApiFp)(this.configuration).apiV2ProfilesPut(updateProfileCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
627
627
  };
628
- return V2ProfilesApi;
628
+ return ProfilesApi;
629
629
  }(base_1.BaseAPI));
630
- exports.V2ProfilesApi = V2ProfilesApi;
630
+ exports.ProfilesApi = ProfilesApi;