ch-api-client-typescript2 5.90.72 → 5.90.78

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.
@@ -0,0 +1,480 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * CloudHospital Api
6
+ * CloudHospital application with Swagger, Swashbuckle, and API versioning.
7
+ *
8
+ * The version of the OpenAPI document: 2
9
+ * Contact: developer@icloudhospital.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ var __extends = (this && this.__extends) || (function () {
16
+ var extendStatics = function (d, b) {
17
+ extendStatics = Object.setPrototypeOf ||
18
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
19
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
20
+ return extendStatics(d, b);
21
+ };
22
+ return function (d, b) {
23
+ if (typeof b !== "function" && b !== null)
24
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
25
+ extendStatics(d, b);
26
+ function __() { this.constructor = d; }
27
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
28
+ };
29
+ })();
30
+ var __assign = (this && this.__assign) || function () {
31
+ __assign = Object.assign || function(t) {
32
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
33
+ s = arguments[i];
34
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
35
+ t[p] = s[p];
36
+ }
37
+ return t;
38
+ };
39
+ return __assign.apply(this, arguments);
40
+ };
41
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
42
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
43
+ return new (P || (P = Promise))(function (resolve, reject) {
44
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
45
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
46
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
47
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
48
+ });
49
+ };
50
+ var __generator = (this && this.__generator) || function (thisArg, body) {
51
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
52
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
53
+ function verb(n) { return function (v) { return step([n, v]); }; }
54
+ function step(op) {
55
+ if (f) throw new TypeError("Generator is already executing.");
56
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
57
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
58
+ if (y = 0, t) op = [op[0] & 2, t.value];
59
+ switch (op[0]) {
60
+ case 0: case 1: t = op; break;
61
+ case 4: _.label++; return { value: op[1], done: false };
62
+ case 5: _.label++; y = op[1]; op = [0]; continue;
63
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
64
+ default:
65
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
66
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
67
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
68
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
69
+ if (t[2]) _.ops.pop();
70
+ _.trys.pop(); continue;
71
+ }
72
+ op = body.call(thisArg, _);
73
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
74
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
75
+ }
76
+ };
77
+ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
78
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
79
+ if (ar || !(i in from)) {
80
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
81
+ ar[i] = from[i];
82
+ }
83
+ }
84
+ return to.concat(ar || Array.prototype.slice.call(from));
85
+ };
86
+ var __importDefault = (this && this.__importDefault) || function (mod) {
87
+ return (mod && mod.__esModule) ? mod : { "default": mod };
88
+ };
89
+ Object.defineProperty(exports, "__esModule", { value: true });
90
+ exports.SignupVerificationsApi = exports.SignupVerificationsApiFactory = exports.SignupVerificationsApiFp = exports.SignupVerificationsApiAxiosParamCreator = void 0;
91
+ var axios_1 = __importDefault(require("axios"));
92
+ // Some imports not used depending on template conditions
93
+ // @ts-ignore
94
+ var common_1 = require("../common");
95
+ // @ts-ignore
96
+ var base_1 = require("../base");
97
+ /**
98
+ * SignupVerificationsApi - axios parameter creator
99
+ * @export
100
+ */
101
+ var SignupVerificationsApiAxiosParamCreator = function (configuration) {
102
+ var _this = this;
103
+ return {
104
+ /**
105
+ *
106
+ * @summary Confirm sign-up email verification via IdentityAdmin.
107
+ * @param {string} [xCloudhospitalPlatform]
108
+ * @param {ConfirmSignupIdentityEmailCommand} [confirmSignupIdentityEmailCommand]
109
+ * @param {*} [options] Override http request option.
110
+ * @throws {RequiredError}
111
+ */
112
+ apiV2SignupVerificationsConfirmidentityemailPost: function (xCloudhospitalPlatform_1, confirmSignupIdentityEmailCommand_1) {
113
+ var args_1 = [];
114
+ for (var _i = 2; _i < arguments.length; _i++) {
115
+ args_1[_i - 2] = arguments[_i];
116
+ }
117
+ return __awaiter(_this, __spreadArray([xCloudhospitalPlatform_1, confirmSignupIdentityEmailCommand_1], args_1, true), void 0, function (xCloudhospitalPlatform, confirmSignupIdentityEmailCommand, options) {
118
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
119
+ if (options === void 0) { options = {}; }
120
+ return __generator(this, function (_a) {
121
+ localVarPath = "/api/v2/signup-verifications/confirmidentityemail";
122
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
123
+ if (configuration) {
124
+ baseOptions = configuration.baseOptions;
125
+ }
126
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
127
+ localVarHeaderParameter = {};
128
+ localVarQueryParameter = {};
129
+ if (xCloudhospitalPlatform != null) {
130
+ localVarHeaderParameter['x-cloudhospital-platform'] = String(xCloudhospitalPlatform);
131
+ }
132
+ localVarHeaderParameter['Content-Type'] = 'application/json';
133
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
134
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
135
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
136
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(confirmSignupIdentityEmailCommand, localVarRequestOptions, configuration);
137
+ return [2 /*return*/, {
138
+ url: (0, common_1.toPathString)(localVarUrlObj),
139
+ options: localVarRequestOptions,
140
+ }];
141
+ });
142
+ });
143
+ },
144
+ /**
145
+ *
146
+ * @summary Confirm sign-up phone number verification via IdentityAdmin.
147
+ * @param {string} [xCloudhospitalPlatform]
148
+ * @param {ConfirmSignupPhoneNumberCommand} [confirmSignupPhoneNumberCommand]
149
+ * @param {*} [options] Override http request option.
150
+ * @throws {RequiredError}
151
+ */
152
+ apiV2SignupVerificationsConfirmphonenumberPost: function (xCloudhospitalPlatform_1, confirmSignupPhoneNumberCommand_1) {
153
+ var args_1 = [];
154
+ for (var _i = 2; _i < arguments.length; _i++) {
155
+ args_1[_i - 2] = arguments[_i];
156
+ }
157
+ return __awaiter(_this, __spreadArray([xCloudhospitalPlatform_1, confirmSignupPhoneNumberCommand_1], args_1, true), void 0, function (xCloudhospitalPlatform, confirmSignupPhoneNumberCommand, options) {
158
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
159
+ if (options === void 0) { options = {}; }
160
+ return __generator(this, function (_a) {
161
+ localVarPath = "/api/v2/signup-verifications/confirmphonenumber";
162
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
163
+ if (configuration) {
164
+ baseOptions = configuration.baseOptions;
165
+ }
166
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
167
+ localVarHeaderParameter = {};
168
+ localVarQueryParameter = {};
169
+ if (xCloudhospitalPlatform != null) {
170
+ localVarHeaderParameter['x-cloudhospital-platform'] = String(xCloudhospitalPlatform);
171
+ }
172
+ localVarHeaderParameter['Content-Type'] = 'application/json';
173
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
174
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
175
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
176
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(confirmSignupPhoneNumberCommand, localVarRequestOptions, configuration);
177
+ return [2 /*return*/, {
178
+ url: (0, common_1.toPathString)(localVarUrlObj),
179
+ options: localVarRequestOptions,
180
+ }];
181
+ });
182
+ });
183
+ },
184
+ /**
185
+ *
186
+ * @summary Send a sign-up verification email via IdentityAdmin.
187
+ * @param {string} [xCloudhospitalPlatform]
188
+ * @param {SendSignupVerificationEmailCommand} [sendSignupVerificationEmailCommand]
189
+ * @param {*} [options] Override http request option.
190
+ * @throws {RequiredError}
191
+ */
192
+ apiV2SignupVerificationsSendverificationemailPost: function (xCloudhospitalPlatform_1, sendSignupVerificationEmailCommand_1) {
193
+ var args_1 = [];
194
+ for (var _i = 2; _i < arguments.length; _i++) {
195
+ args_1[_i - 2] = arguments[_i];
196
+ }
197
+ return __awaiter(_this, __spreadArray([xCloudhospitalPlatform_1, sendSignupVerificationEmailCommand_1], args_1, true), void 0, function (xCloudhospitalPlatform, sendSignupVerificationEmailCommand, options) {
198
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
199
+ if (options === void 0) { options = {}; }
200
+ return __generator(this, function (_a) {
201
+ localVarPath = "/api/v2/signup-verifications/sendverificationemail";
202
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
203
+ if (configuration) {
204
+ baseOptions = configuration.baseOptions;
205
+ }
206
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
207
+ localVarHeaderParameter = {};
208
+ localVarQueryParameter = {};
209
+ if (xCloudhospitalPlatform != null) {
210
+ localVarHeaderParameter['x-cloudhospital-platform'] = String(xCloudhospitalPlatform);
211
+ }
212
+ localVarHeaderParameter['Content-Type'] = 'application/json';
213
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
214
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
215
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
216
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(sendSignupVerificationEmailCommand, localVarRequestOptions, configuration);
217
+ return [2 /*return*/, {
218
+ url: (0, common_1.toPathString)(localVarUrlObj),
219
+ options: localVarRequestOptions,
220
+ }];
221
+ });
222
+ });
223
+ },
224
+ /**
225
+ *
226
+ * @summary Send a sign-up verification SMS via IdentityAdmin.
227
+ * @param {string} [xCloudhospitalPlatform]
228
+ * @param {SendSignupVerificationSmsCommand} [sendSignupVerificationSmsCommand]
229
+ * @param {*} [options] Override http request option.
230
+ * @throws {RequiredError}
231
+ */
232
+ apiV2SignupVerificationsSendverificationsmsPost: function (xCloudhospitalPlatform_1, sendSignupVerificationSmsCommand_1) {
233
+ var args_1 = [];
234
+ for (var _i = 2; _i < arguments.length; _i++) {
235
+ args_1[_i - 2] = arguments[_i];
236
+ }
237
+ return __awaiter(_this, __spreadArray([xCloudhospitalPlatform_1, sendSignupVerificationSmsCommand_1], args_1, true), void 0, function (xCloudhospitalPlatform, sendSignupVerificationSmsCommand, options) {
238
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
239
+ if (options === void 0) { options = {}; }
240
+ return __generator(this, function (_a) {
241
+ localVarPath = "/api/v2/signup-verifications/sendverificationsms";
242
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
243
+ if (configuration) {
244
+ baseOptions = configuration.baseOptions;
245
+ }
246
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
247
+ localVarHeaderParameter = {};
248
+ localVarQueryParameter = {};
249
+ if (xCloudhospitalPlatform != null) {
250
+ localVarHeaderParameter['x-cloudhospital-platform'] = String(xCloudhospitalPlatform);
251
+ }
252
+ localVarHeaderParameter['Content-Type'] = 'application/json';
253
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
254
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
255
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
256
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(sendSignupVerificationSmsCommand, localVarRequestOptions, configuration);
257
+ return [2 /*return*/, {
258
+ url: (0, common_1.toPathString)(localVarUrlObj),
259
+ options: localVarRequestOptions,
260
+ }];
261
+ });
262
+ });
263
+ },
264
+ };
265
+ };
266
+ exports.SignupVerificationsApiAxiosParamCreator = SignupVerificationsApiAxiosParamCreator;
267
+ /**
268
+ * SignupVerificationsApi - functional programming interface
269
+ * @export
270
+ */
271
+ var SignupVerificationsApiFp = function (configuration) {
272
+ var localVarAxiosParamCreator = (0, exports.SignupVerificationsApiAxiosParamCreator)(configuration);
273
+ return {
274
+ /**
275
+ *
276
+ * @summary Confirm sign-up email verification via IdentityAdmin.
277
+ * @param {string} [xCloudhospitalPlatform]
278
+ * @param {ConfirmSignupIdentityEmailCommand} [confirmSignupIdentityEmailCommand]
279
+ * @param {*} [options] Override http request option.
280
+ * @throws {RequiredError}
281
+ */
282
+ apiV2SignupVerificationsConfirmidentityemailPost: function (xCloudhospitalPlatform, confirmSignupIdentityEmailCommand, options) {
283
+ return __awaiter(this, void 0, void 0, function () {
284
+ var localVarAxiosArgs;
285
+ return __generator(this, function (_a) {
286
+ switch (_a.label) {
287
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SignupVerificationsConfirmidentityemailPost(xCloudhospitalPlatform, confirmSignupIdentityEmailCommand, options)];
288
+ case 1:
289
+ localVarAxiosArgs = _a.sent();
290
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
291
+ }
292
+ });
293
+ });
294
+ },
295
+ /**
296
+ *
297
+ * @summary Confirm sign-up phone number verification via IdentityAdmin.
298
+ * @param {string} [xCloudhospitalPlatform]
299
+ * @param {ConfirmSignupPhoneNumberCommand} [confirmSignupPhoneNumberCommand]
300
+ * @param {*} [options] Override http request option.
301
+ * @throws {RequiredError}
302
+ */
303
+ apiV2SignupVerificationsConfirmphonenumberPost: function (xCloudhospitalPlatform, confirmSignupPhoneNumberCommand, options) {
304
+ return __awaiter(this, void 0, void 0, function () {
305
+ var localVarAxiosArgs;
306
+ return __generator(this, function (_a) {
307
+ switch (_a.label) {
308
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SignupVerificationsConfirmphonenumberPost(xCloudhospitalPlatform, confirmSignupPhoneNumberCommand, options)];
309
+ case 1:
310
+ localVarAxiosArgs = _a.sent();
311
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
312
+ }
313
+ });
314
+ });
315
+ },
316
+ /**
317
+ *
318
+ * @summary Send a sign-up verification email via IdentityAdmin.
319
+ * @param {string} [xCloudhospitalPlatform]
320
+ * @param {SendSignupVerificationEmailCommand} [sendSignupVerificationEmailCommand]
321
+ * @param {*} [options] Override http request option.
322
+ * @throws {RequiredError}
323
+ */
324
+ apiV2SignupVerificationsSendverificationemailPost: function (xCloudhospitalPlatform, sendSignupVerificationEmailCommand, options) {
325
+ return __awaiter(this, void 0, void 0, function () {
326
+ var localVarAxiosArgs;
327
+ return __generator(this, function (_a) {
328
+ switch (_a.label) {
329
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SignupVerificationsSendverificationemailPost(xCloudhospitalPlatform, sendSignupVerificationEmailCommand, options)];
330
+ case 1:
331
+ localVarAxiosArgs = _a.sent();
332
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
333
+ }
334
+ });
335
+ });
336
+ },
337
+ /**
338
+ *
339
+ * @summary Send a sign-up verification SMS via IdentityAdmin.
340
+ * @param {string} [xCloudhospitalPlatform]
341
+ * @param {SendSignupVerificationSmsCommand} [sendSignupVerificationSmsCommand]
342
+ * @param {*} [options] Override http request option.
343
+ * @throws {RequiredError}
344
+ */
345
+ apiV2SignupVerificationsSendverificationsmsPost: function (xCloudhospitalPlatform, sendSignupVerificationSmsCommand, options) {
346
+ return __awaiter(this, void 0, void 0, function () {
347
+ var localVarAxiosArgs;
348
+ return __generator(this, function (_a) {
349
+ switch (_a.label) {
350
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SignupVerificationsSendverificationsmsPost(xCloudhospitalPlatform, sendSignupVerificationSmsCommand, options)];
351
+ case 1:
352
+ localVarAxiosArgs = _a.sent();
353
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
354
+ }
355
+ });
356
+ });
357
+ },
358
+ };
359
+ };
360
+ exports.SignupVerificationsApiFp = SignupVerificationsApiFp;
361
+ /**
362
+ * SignupVerificationsApi - factory interface
363
+ * @export
364
+ */
365
+ var SignupVerificationsApiFactory = function (configuration, basePath, axios) {
366
+ var localVarFp = (0, exports.SignupVerificationsApiFp)(configuration);
367
+ return {
368
+ /**
369
+ *
370
+ * @summary Confirm sign-up email verification via IdentityAdmin.
371
+ * @param {string} [xCloudhospitalPlatform]
372
+ * @param {ConfirmSignupIdentityEmailCommand} [confirmSignupIdentityEmailCommand]
373
+ * @param {*} [options] Override http request option.
374
+ * @throws {RequiredError}
375
+ */
376
+ apiV2SignupVerificationsConfirmidentityemailPost: function (xCloudhospitalPlatform, confirmSignupIdentityEmailCommand, options) {
377
+ return localVarFp.apiV2SignupVerificationsConfirmidentityemailPost(xCloudhospitalPlatform, confirmSignupIdentityEmailCommand, options).then(function (request) { return request(axios, basePath); });
378
+ },
379
+ /**
380
+ *
381
+ * @summary Confirm sign-up phone number verification via IdentityAdmin.
382
+ * @param {string} [xCloudhospitalPlatform]
383
+ * @param {ConfirmSignupPhoneNumberCommand} [confirmSignupPhoneNumberCommand]
384
+ * @param {*} [options] Override http request option.
385
+ * @throws {RequiredError}
386
+ */
387
+ apiV2SignupVerificationsConfirmphonenumberPost: function (xCloudhospitalPlatform, confirmSignupPhoneNumberCommand, options) {
388
+ return localVarFp.apiV2SignupVerificationsConfirmphonenumberPost(xCloudhospitalPlatform, confirmSignupPhoneNumberCommand, options).then(function (request) { return request(axios, basePath); });
389
+ },
390
+ /**
391
+ *
392
+ * @summary Send a sign-up verification email via IdentityAdmin.
393
+ * @param {string} [xCloudhospitalPlatform]
394
+ * @param {SendSignupVerificationEmailCommand} [sendSignupVerificationEmailCommand]
395
+ * @param {*} [options] Override http request option.
396
+ * @throws {RequiredError}
397
+ */
398
+ apiV2SignupVerificationsSendverificationemailPost: function (xCloudhospitalPlatform, sendSignupVerificationEmailCommand, options) {
399
+ return localVarFp.apiV2SignupVerificationsSendverificationemailPost(xCloudhospitalPlatform, sendSignupVerificationEmailCommand, options).then(function (request) { return request(axios, basePath); });
400
+ },
401
+ /**
402
+ *
403
+ * @summary Send a sign-up verification SMS via IdentityAdmin.
404
+ * @param {string} [xCloudhospitalPlatform]
405
+ * @param {SendSignupVerificationSmsCommand} [sendSignupVerificationSmsCommand]
406
+ * @param {*} [options] Override http request option.
407
+ * @throws {RequiredError}
408
+ */
409
+ apiV2SignupVerificationsSendverificationsmsPost: function (xCloudhospitalPlatform, sendSignupVerificationSmsCommand, options) {
410
+ return localVarFp.apiV2SignupVerificationsSendverificationsmsPost(xCloudhospitalPlatform, sendSignupVerificationSmsCommand, options).then(function (request) { return request(axios, basePath); });
411
+ },
412
+ };
413
+ };
414
+ exports.SignupVerificationsApiFactory = SignupVerificationsApiFactory;
415
+ /**
416
+ * SignupVerificationsApi - object-oriented interface
417
+ * @export
418
+ * @class SignupVerificationsApi
419
+ * @extends {BaseAPI}
420
+ */
421
+ var SignupVerificationsApi = /** @class */ (function (_super) {
422
+ __extends(SignupVerificationsApi, _super);
423
+ function SignupVerificationsApi() {
424
+ return _super !== null && _super.apply(this, arguments) || this;
425
+ }
426
+ /**
427
+ *
428
+ * @summary Confirm sign-up email verification via IdentityAdmin.
429
+ * @param {SignupVerificationsApiApiV2SignupVerificationsConfirmidentityemailPostRequest} requestParameters Request parameters.
430
+ * @param {*} [options] Override http request option.
431
+ * @throws {RequiredError}
432
+ * @memberof SignupVerificationsApi
433
+ */
434
+ SignupVerificationsApi.prototype.apiV2SignupVerificationsConfirmidentityemailPost = function (requestParameters, options) {
435
+ var _this = this;
436
+ if (requestParameters === void 0) { requestParameters = {}; }
437
+ return (0, exports.SignupVerificationsApiFp)(this.configuration).apiV2SignupVerificationsConfirmidentityemailPost(requestParameters.xCloudhospitalPlatform, requestParameters.confirmSignupIdentityEmailCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
438
+ };
439
+ /**
440
+ *
441
+ * @summary Confirm sign-up phone number verification via IdentityAdmin.
442
+ * @param {SignupVerificationsApiApiV2SignupVerificationsConfirmphonenumberPostRequest} requestParameters Request parameters.
443
+ * @param {*} [options] Override http request option.
444
+ * @throws {RequiredError}
445
+ * @memberof SignupVerificationsApi
446
+ */
447
+ SignupVerificationsApi.prototype.apiV2SignupVerificationsConfirmphonenumberPost = function (requestParameters, options) {
448
+ var _this = this;
449
+ if (requestParameters === void 0) { requestParameters = {}; }
450
+ return (0, exports.SignupVerificationsApiFp)(this.configuration).apiV2SignupVerificationsConfirmphonenumberPost(requestParameters.xCloudhospitalPlatform, requestParameters.confirmSignupPhoneNumberCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
451
+ };
452
+ /**
453
+ *
454
+ * @summary Send a sign-up verification email via IdentityAdmin.
455
+ * @param {SignupVerificationsApiApiV2SignupVerificationsSendverificationemailPostRequest} requestParameters Request parameters.
456
+ * @param {*} [options] Override http request option.
457
+ * @throws {RequiredError}
458
+ * @memberof SignupVerificationsApi
459
+ */
460
+ SignupVerificationsApi.prototype.apiV2SignupVerificationsSendverificationemailPost = function (requestParameters, options) {
461
+ var _this = this;
462
+ if (requestParameters === void 0) { requestParameters = {}; }
463
+ return (0, exports.SignupVerificationsApiFp)(this.configuration).apiV2SignupVerificationsSendverificationemailPost(requestParameters.xCloudhospitalPlatform, requestParameters.sendSignupVerificationEmailCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
464
+ };
465
+ /**
466
+ *
467
+ * @summary Send a sign-up verification SMS via IdentityAdmin.
468
+ * @param {SignupVerificationsApiApiV2SignupVerificationsSendverificationsmsPostRequest} requestParameters Request parameters.
469
+ * @param {*} [options] Override http request option.
470
+ * @throws {RequiredError}
471
+ * @memberof SignupVerificationsApi
472
+ */
473
+ SignupVerificationsApi.prototype.apiV2SignupVerificationsSendverificationsmsPost = function (requestParameters, options) {
474
+ var _this = this;
475
+ if (requestParameters === void 0) { requestParameters = {}; }
476
+ return (0, exports.SignupVerificationsApiFp)(this.configuration).apiV2SignupVerificationsSendverificationsmsPost(requestParameters.xCloudhospitalPlatform, requestParameters.sendSignupVerificationSmsCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
477
+ };
478
+ return SignupVerificationsApi;
479
+ }(base_1.BaseAPI));
480
+ exports.SignupVerificationsApi = SignupVerificationsApi;
package/lib/api.d.ts CHANGED
@@ -50,6 +50,7 @@ export * from './api/secure-containers-api';
50
50
  export * from './api/service-reviews-api';
51
51
  export * from './api/services-api';
52
52
  export * from './api/services-categories-api';
53
+ export * from './api/signup-verifications-api';
53
54
  export * from './api/sitemaps-api';
54
55
  export * from './api/specialties-api';
55
56
  export * from './api/specialty-types-api';
package/lib/api.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../src/api.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iBAAiB,CAAC;AAChC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,6CAA6C,CAAC;AAC5D,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC"}
1
+ {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../src/api.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iBAAiB,CAAC;AAChC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,6CAA6C,CAAC;AAC5D,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC"}
package/lib/api.js CHANGED
@@ -68,6 +68,7 @@ __exportStar(require("./api/secure-containers-api"), exports);
68
68
  __exportStar(require("./api/service-reviews-api"), exports);
69
69
  __exportStar(require("./api/services-api"), exports);
70
70
  __exportStar(require("./api/services-categories-api"), exports);
71
+ __exportStar(require("./api/signup-verifications-api"), exports);
71
72
  __exportStar(require("./api/sitemaps-api"), exports);
72
73
  __exportStar(require("./api/specialties-api"), exports);
73
74
  __exportStar(require("./api/specialty-types-api"), exports);
@@ -0,0 +1,31 @@
1
+ /**
2
+ * CloudHospital Api
3
+ * CloudHospital application with Swagger, Swashbuckle, and API versioning.
4
+ *
5
+ * The version of the OpenAPI document: 2
6
+ * Contact: developer@icloudhospital.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface ConfirmSignupIdentityEmailCommand
16
+ */
17
+ export interface ConfirmSignupIdentityEmailCommand {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ConfirmSignupIdentityEmailCommand
22
+ */
23
+ 'email'?: string | null;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof ConfirmSignupIdentityEmailCommand
28
+ */
29
+ 'code'?: string | null;
30
+ }
31
+ //# sourceMappingURL=confirm-signup-identity-email-command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"confirm-signup-identity-email-command.d.ts","sourceRoot":"","sources":["../../src/models/confirm-signup-identity-email-command.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,iCAAiC;IAC9C;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B"}
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * CloudHospital Api
6
+ * CloudHospital application with Swagger, Swashbuckle, and API versioning.
7
+ *
8
+ * The version of the OpenAPI document: 2
9
+ * Contact: developer@icloudhospital.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,31 @@
1
+ /**
2
+ * CloudHospital Api
3
+ * CloudHospital application with Swagger, Swashbuckle, and API versioning.
4
+ *
5
+ * The version of the OpenAPI document: 2
6
+ * Contact: developer@icloudhospital.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface ConfirmSignupPhoneNumberCommand
16
+ */
17
+ export interface ConfirmSignupPhoneNumberCommand {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ConfirmSignupPhoneNumberCommand
22
+ */
23
+ 'phoneNumber'?: string | null;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof ConfirmSignupPhoneNumberCommand
28
+ */
29
+ 'code'?: string | null;
30
+ }
31
+ //# sourceMappingURL=confirm-signup-phone-number-command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"confirm-signup-phone-number-command.d.ts","sourceRoot":"","sources":["../../src/models/confirm-signup-phone-number-command.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,+BAA+B;IAC5C;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B"}
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * CloudHospital Api
6
+ * CloudHospital application with Swagger, Swashbuckle, and API versioning.
7
+ *
8
+ * The version of the OpenAPI document: 2
9
+ * Contact: developer@icloudhospital.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -62,6 +62,8 @@ export * from './communication-user-token-model';
62
62
  export * from './confirm-email-command';
63
63
  export * from './confirm-identity-email-command';
64
64
  export * from './confirm-phone-number-command';
65
+ export * from './confirm-signup-identity-email-command';
66
+ export * from './confirm-signup-phone-number-command';
65
67
  export * from './contact-type';
66
68
  export * from './contribution-type';
67
69
  export * from './contributor-item-model';
@@ -352,6 +354,8 @@ export * from './secure-containers-model';
352
354
  export * from './secure-file-item-input-model';
353
355
  export * from './secure-file-model';
354
356
  export * from './secure-files-uploaded-model';
357
+ export * from './send-signup-verification-email-command';
358
+ export * from './send-signup-verification-sms-command';
355
359
  export * from './send-verification-email-command';
356
360
  export * from './send-verification-sms-command';
357
361
  export * from './service-categories-model';