ch-api-client-typescript2 5.2.9 → 5.3.1

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,91 @@
1
+ /**
2
+ * Swagger UI - Cloud Hospital Api-INT
3
+ * Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
4
+ *
5
+ * The version of the OpenAPI document: 2
6
+ * Contact: hyounoosung@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
+ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
+ import { Configuration } from '../configuration';
14
+ import { RequestArgs, BaseAPI } from '../base';
15
+ /**
16
+ * VonageUsersApi - axios parameter creator
17
+ * @export
18
+ */
19
+ export declare const VonageUsersApiAxiosParamCreator: (configuration?: Configuration) => {
20
+ /**
21
+ *
22
+ * @param {*} [options] Override http request option.
23
+ * @throws {RequiredError}
24
+ */
25
+ apiV2VonageusersDelete: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
26
+ /**
27
+ *
28
+ * @param {*} [options] Override http request option.
29
+ * @throws {RequiredError}
30
+ */
31
+ apiV2VonageusersGet: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
32
+ };
33
+ /**
34
+ * VonageUsersApi - functional programming interface
35
+ * @export
36
+ */
37
+ export declare const VonageUsersApiFp: (configuration?: Configuration) => {
38
+ /**
39
+ *
40
+ * @param {*} [options] Override http request option.
41
+ * @throws {RequiredError}
42
+ */
43
+ apiV2VonageusersDelete(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
44
+ /**
45
+ *
46
+ * @param {*} [options] Override http request option.
47
+ * @throws {RequiredError}
48
+ */
49
+ apiV2VonageusersGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
50
+ };
51
+ /**
52
+ * VonageUsersApi - factory interface
53
+ * @export
54
+ */
55
+ export declare const VonageUsersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
56
+ /**
57
+ *
58
+ * @param {*} [options] Override http request option.
59
+ * @throws {RequiredError}
60
+ */
61
+ apiV2VonageusersDelete(options?: any): AxiosPromise<boolean>;
62
+ /**
63
+ *
64
+ * @param {*} [options] Override http request option.
65
+ * @throws {RequiredError}
66
+ */
67
+ apiV2VonageusersGet(options?: any): AxiosPromise<string>;
68
+ };
69
+ /**
70
+ * VonageUsersApi - object-oriented interface
71
+ * @export
72
+ * @class VonageUsersApi
73
+ * @extends {BaseAPI}
74
+ */
75
+ export declare class VonageUsersApi extends BaseAPI {
76
+ /**
77
+ *
78
+ * @param {*} [options] Override http request option.
79
+ * @throws {RequiredError}
80
+ * @memberof VonageUsersApi
81
+ */
82
+ apiV2VonageusersDelete(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
83
+ /**
84
+ *
85
+ * @param {*} [options] Override http request option.
86
+ * @throws {RequiredError}
87
+ * @memberof VonageUsersApi
88
+ */
89
+ apiV2VonageusersGet(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
90
+ }
91
+ //# sourceMappingURL=vonage-users-api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vonage-users-api.d.ts","sourceRoot":"","sources":["../../src/api/vonage-users-api.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAoB,EAAE,YAAY,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAC;AACrF,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAKjD,OAAO,EAAiC,WAAW,EAAE,OAAO,EAAiB,MAAM,SAAS,CAAC;AAC7F;;;GAGG;AACH,eAAO,MAAM,+BAA+B,mBAA6B,aAAa;IAE9E;;;;OAIG;uCACqC,kBAAkB,KAAQ,QAAQ,WAAW,CAAC;IA4BtF;;;;OAIG;oCACkC,kBAAkB,KAAQ,QAAQ,WAAW,CAAC;CA6B1F,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,gBAAgB,mBAA4B,aAAa;IAG9D;;;;OAIG;qCACoC,kBAAkB,oBAAoB,aAAa,aAAa,MAAM,KAAK,aAAa,OAAO,CAAC;IAIvI;;;;OAIG;kCACiC,kBAAkB,oBAAoB,aAAa,aAAa,MAAM,KAAK,aAAa,MAAM,CAAC;CAK1I,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,qBAAqB,mBAA6B,aAAa,aAAa,MAAM,UAAU,aAAa;IAG9G;;;;OAIG;qCAC8B,GAAG,GAAG,aAAa,OAAO,CAAC;IAG5D;;;;OAIG;kCAC2B,GAAG,GAAG,aAAa,MAAM,CAAC;CAI/D,CAAC;AAEF;;;;;GAKG;AACH,qBAAa,cAAe,SAAQ,OAAO;IACvC;;;;;OAKG;IACI,sBAAsB,CAAC,OAAO,CAAC,EAAE,kBAAkB;IAI1D;;;;;OAKG;IACI,mBAAmB,CAAC,OAAO,CAAC,EAAE,kBAAkB;CAG1D"}
@@ -0,0 +1,279 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Swagger UI - Cloud Hospital Api-INT
6
+ * Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
7
+ *
8
+ * The version of the OpenAPI document: 2
9
+ * Contact: hyounoosung@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;
52
+ return g = { next: verb(0), "throw": verb(1), "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 __importDefault = (this && this.__importDefault) || function (mod) {
78
+ return (mod && mod.__esModule) ? mod : { "default": mod };
79
+ };
80
+ Object.defineProperty(exports, "__esModule", { value: true });
81
+ exports.VonageUsersApi = exports.VonageUsersApiFactory = exports.VonageUsersApiFp = exports.VonageUsersApiAxiosParamCreator = void 0;
82
+ var axios_1 = __importDefault(require("axios"));
83
+ // Some imports not used depending on template conditions
84
+ // @ts-ignore
85
+ var common_1 = require("../common");
86
+ // @ts-ignore
87
+ var base_1 = require("../base");
88
+ /**
89
+ * VonageUsersApi - axios parameter creator
90
+ * @export
91
+ */
92
+ var VonageUsersApiAxiosParamCreator = function (configuration) {
93
+ var _this = this;
94
+ return {
95
+ /**
96
+ *
97
+ * @param {*} [options] Override http request option.
98
+ * @throws {RequiredError}
99
+ */
100
+ apiV2VonageusersDelete: function (options) {
101
+ if (options === void 0) { options = {}; }
102
+ return __awaiter(_this, void 0, void 0, function () {
103
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
104
+ return __generator(this, function (_a) {
105
+ switch (_a.label) {
106
+ case 0:
107
+ localVarPath = "/api/v2/vonageusers";
108
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
109
+ if (configuration) {
110
+ baseOptions = configuration.baseOptions;
111
+ }
112
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
113
+ localVarHeaderParameter = {};
114
+ localVarQueryParameter = {};
115
+ // authentication oauth2 required
116
+ // oauth required
117
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)];
118
+ case 1:
119
+ // authentication oauth2 required
120
+ // oauth required
121
+ _a.sent();
122
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
123
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
124
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
125
+ return [2 /*return*/, {
126
+ url: (0, common_1.toPathString)(localVarUrlObj),
127
+ options: localVarRequestOptions,
128
+ }];
129
+ }
130
+ });
131
+ });
132
+ },
133
+ /**
134
+ *
135
+ * @param {*} [options] Override http request option.
136
+ * @throws {RequiredError}
137
+ */
138
+ apiV2VonageusersGet: function (options) {
139
+ if (options === void 0) { options = {}; }
140
+ return __awaiter(_this, void 0, void 0, function () {
141
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
142
+ return __generator(this, function (_a) {
143
+ switch (_a.label) {
144
+ case 0:
145
+ localVarPath = "/api/v2/vonageusers";
146
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
147
+ if (configuration) {
148
+ baseOptions = configuration.baseOptions;
149
+ }
150
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
151
+ localVarHeaderParameter = {};
152
+ localVarQueryParameter = {};
153
+ // authentication oauth2 required
154
+ // oauth required
155
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)];
156
+ case 1:
157
+ // authentication oauth2 required
158
+ // oauth required
159
+ _a.sent();
160
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
161
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
162
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
163
+ return [2 /*return*/, {
164
+ url: (0, common_1.toPathString)(localVarUrlObj),
165
+ options: localVarRequestOptions,
166
+ }];
167
+ }
168
+ });
169
+ });
170
+ },
171
+ };
172
+ };
173
+ exports.VonageUsersApiAxiosParamCreator = VonageUsersApiAxiosParamCreator;
174
+ /**
175
+ * VonageUsersApi - functional programming interface
176
+ * @export
177
+ */
178
+ var VonageUsersApiFp = function (configuration) {
179
+ var localVarAxiosParamCreator = (0, exports.VonageUsersApiAxiosParamCreator)(configuration);
180
+ return {
181
+ /**
182
+ *
183
+ * @param {*} [options] Override http request option.
184
+ * @throws {RequiredError}
185
+ */
186
+ apiV2VonageusersDelete: function (options) {
187
+ return __awaiter(this, void 0, void 0, function () {
188
+ var localVarAxiosArgs;
189
+ return __generator(this, function (_a) {
190
+ switch (_a.label) {
191
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2VonageusersDelete(options)];
192
+ case 1:
193
+ localVarAxiosArgs = _a.sent();
194
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
195
+ }
196
+ });
197
+ });
198
+ },
199
+ /**
200
+ *
201
+ * @param {*} [options] Override http request option.
202
+ * @throws {RequiredError}
203
+ */
204
+ apiV2VonageusersGet: function (options) {
205
+ return __awaiter(this, void 0, void 0, function () {
206
+ var localVarAxiosArgs;
207
+ return __generator(this, function (_a) {
208
+ switch (_a.label) {
209
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2VonageusersGet(options)];
210
+ case 1:
211
+ localVarAxiosArgs = _a.sent();
212
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
213
+ }
214
+ });
215
+ });
216
+ },
217
+ };
218
+ };
219
+ exports.VonageUsersApiFp = VonageUsersApiFp;
220
+ /**
221
+ * VonageUsersApi - factory interface
222
+ * @export
223
+ */
224
+ var VonageUsersApiFactory = function (configuration, basePath, axios) {
225
+ var localVarFp = (0, exports.VonageUsersApiFp)(configuration);
226
+ return {
227
+ /**
228
+ *
229
+ * @param {*} [options] Override http request option.
230
+ * @throws {RequiredError}
231
+ */
232
+ apiV2VonageusersDelete: function (options) {
233
+ return localVarFp.apiV2VonageusersDelete(options).then(function (request) { return request(axios, basePath); });
234
+ },
235
+ /**
236
+ *
237
+ * @param {*} [options] Override http request option.
238
+ * @throws {RequiredError}
239
+ */
240
+ apiV2VonageusersGet: function (options) {
241
+ return localVarFp.apiV2VonageusersGet(options).then(function (request) { return request(axios, basePath); });
242
+ },
243
+ };
244
+ };
245
+ exports.VonageUsersApiFactory = VonageUsersApiFactory;
246
+ /**
247
+ * VonageUsersApi - object-oriented interface
248
+ * @export
249
+ * @class VonageUsersApi
250
+ * @extends {BaseAPI}
251
+ */
252
+ var VonageUsersApi = /** @class */ (function (_super) {
253
+ __extends(VonageUsersApi, _super);
254
+ function VonageUsersApi() {
255
+ return _super !== null && _super.apply(this, arguments) || this;
256
+ }
257
+ /**
258
+ *
259
+ * @param {*} [options] Override http request option.
260
+ * @throws {RequiredError}
261
+ * @memberof VonageUsersApi
262
+ */
263
+ VonageUsersApi.prototype.apiV2VonageusersDelete = function (options) {
264
+ var _this = this;
265
+ return (0, exports.VonageUsersApiFp)(this.configuration).apiV2VonageusersDelete(options).then(function (request) { return request(_this.axios, _this.basePath); });
266
+ };
267
+ /**
268
+ *
269
+ * @param {*} [options] Override http request option.
270
+ * @throws {RequiredError}
271
+ * @memberof VonageUsersApi
272
+ */
273
+ VonageUsersApi.prototype.apiV2VonageusersGet = function (options) {
274
+ var _this = this;
275
+ return (0, exports.VonageUsersApiFp)(this.configuration).apiV2VonageusersGet(options).then(function (request) { return request(_this.axios, _this.basePath); });
276
+ };
277
+ return VonageUsersApi;
278
+ }(base_1.BaseAPI));
279
+ exports.VonageUsersApi = VonageUsersApi;
package/lib/api.d.ts CHANGED
@@ -48,4 +48,5 @@ export * from './api/specialty-types-api';
48
48
  export * from './api/survey-forms-api';
49
49
  export * from './api/survey-results-api';
50
50
  export * from './api/tags-api';
51
+ export * from './api/vonage-users-api';
51
52
  //# sourceMappingURL=api.d.ts.map
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,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,qBAAqB,CAAC;AACpC,cAAc,6CAA6C,CAAC;AAC5D,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,gBAAgB,CAAC"}
1
+ {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../src/api.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,qBAAqB,CAAC;AACpC,cAAc,6CAA6C,CAAC;AAC5D,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC"}
package/lib/api.js CHANGED
@@ -66,3 +66,4 @@ __exportStar(require("./api/specialty-types-api"), exports);
66
66
  __exportStar(require("./api/survey-forms-api"), exports);
67
67
  __exportStar(require("./api/survey-results-api"), exports);
68
68
  __exportStar(require("./api/tags-api"), exports);
69
+ __exportStar(require("./api/vonage-users-api"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ch-api-client-typescript2",
3
- "version": "5.2.9",
3
+ "version": "5.3.1",
4
4
  "description": "Openapi generated typescript-axios client for CloudHospital",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -41,6 +41,7 @@ api/specialty-types-api.ts
41
41
  api/survey-forms-api.ts
42
42
  api/survey-results-api.ts
43
43
  api/tags-api.ts
44
+ api/vonage-users-api.ts
44
45
  base.ts
45
46
  common.ts
46
47
  configuration.ts
@@ -0,0 +1,178 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Swagger UI - Cloud Hospital Api-INT
5
+ * Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
6
+ *
7
+ * The version of the OpenAPI document: 2
8
+ * Contact: hyounoosung@icloudhospital.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
17
+ import { Configuration } from '../configuration';
18
+ // Some imports not used depending on template conditions
19
+ // @ts-ignore
20
+ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
21
+ // @ts-ignore
22
+ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
23
+ /**
24
+ * VonageUsersApi - axios parameter creator
25
+ * @export
26
+ */
27
+ export const VonageUsersApiAxiosParamCreator = function (configuration?: Configuration) {
28
+ return {
29
+ /**
30
+ *
31
+ * @param {*} [options] Override http request option.
32
+ * @throws {RequiredError}
33
+ */
34
+ apiV2VonageusersDelete: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
35
+ const localVarPath = `/api/v2/vonageusers`;
36
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
37
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
38
+ let baseOptions;
39
+ if (configuration) {
40
+ baseOptions = configuration.baseOptions;
41
+ }
42
+
43
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
44
+ const localVarHeaderParameter = {} as any;
45
+ const localVarQueryParameter = {} as any;
46
+
47
+ // authentication oauth2 required
48
+ // oauth required
49
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)
50
+
51
+
52
+
53
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
54
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
55
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
56
+
57
+ return {
58
+ url: toPathString(localVarUrlObj),
59
+ options: localVarRequestOptions,
60
+ };
61
+ },
62
+ /**
63
+ *
64
+ * @param {*} [options] Override http request option.
65
+ * @throws {RequiredError}
66
+ */
67
+ apiV2VonageusersGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
68
+ const localVarPath = `/api/v2/vonageusers`;
69
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
70
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
71
+ let baseOptions;
72
+ if (configuration) {
73
+ baseOptions = configuration.baseOptions;
74
+ }
75
+
76
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
77
+ const localVarHeaderParameter = {} as any;
78
+ const localVarQueryParameter = {} as any;
79
+
80
+ // authentication oauth2 required
81
+ // oauth required
82
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)
83
+
84
+
85
+
86
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
87
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
88
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
89
+
90
+ return {
91
+ url: toPathString(localVarUrlObj),
92
+ options: localVarRequestOptions,
93
+ };
94
+ },
95
+ }
96
+ };
97
+
98
+ /**
99
+ * VonageUsersApi - functional programming interface
100
+ * @export
101
+ */
102
+ export const VonageUsersApiFp = function(configuration?: Configuration) {
103
+ const localVarAxiosParamCreator = VonageUsersApiAxiosParamCreator(configuration)
104
+ return {
105
+ /**
106
+ *
107
+ * @param {*} [options] Override http request option.
108
+ * @throws {RequiredError}
109
+ */
110
+ async apiV2VonageusersDelete(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
111
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2VonageusersDelete(options);
112
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
113
+ },
114
+ /**
115
+ *
116
+ * @param {*} [options] Override http request option.
117
+ * @throws {RequiredError}
118
+ */
119
+ async apiV2VonageusersGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
120
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2VonageusersGet(options);
121
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
122
+ },
123
+ }
124
+ };
125
+
126
+ /**
127
+ * VonageUsersApi - factory interface
128
+ * @export
129
+ */
130
+ export const VonageUsersApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
131
+ const localVarFp = VonageUsersApiFp(configuration)
132
+ return {
133
+ /**
134
+ *
135
+ * @param {*} [options] Override http request option.
136
+ * @throws {RequiredError}
137
+ */
138
+ apiV2VonageusersDelete(options?: any): AxiosPromise<boolean> {
139
+ return localVarFp.apiV2VonageusersDelete(options).then((request) => request(axios, basePath));
140
+ },
141
+ /**
142
+ *
143
+ * @param {*} [options] Override http request option.
144
+ * @throws {RequiredError}
145
+ */
146
+ apiV2VonageusersGet(options?: any): AxiosPromise<string> {
147
+ return localVarFp.apiV2VonageusersGet(options).then((request) => request(axios, basePath));
148
+ },
149
+ };
150
+ };
151
+
152
+ /**
153
+ * VonageUsersApi - object-oriented interface
154
+ * @export
155
+ * @class VonageUsersApi
156
+ * @extends {BaseAPI}
157
+ */
158
+ export class VonageUsersApi extends BaseAPI {
159
+ /**
160
+ *
161
+ * @param {*} [options] Override http request option.
162
+ * @throws {RequiredError}
163
+ * @memberof VonageUsersApi
164
+ */
165
+ public apiV2VonageusersDelete(options?: AxiosRequestConfig) {
166
+ return VonageUsersApiFp(this.configuration).apiV2VonageusersDelete(options).then((request) => request(this.axios, this.basePath));
167
+ }
168
+
169
+ /**
170
+ *
171
+ * @param {*} [options] Override http request option.
172
+ * @throws {RequiredError}
173
+ * @memberof VonageUsersApi
174
+ */
175
+ public apiV2VonageusersGet(options?: AxiosRequestConfig) {
176
+ return VonageUsersApiFp(this.configuration).apiV2VonageusersGet(options).then((request) => request(this.axios, this.basePath));
177
+ }
178
+ }
package/src/api.ts CHANGED
@@ -53,4 +53,5 @@ export * from './api/specialty-types-api';
53
53
  export * from './api/survey-forms-api';
54
54
  export * from './api/survey-results-api';
55
55
  export * from './api/tags-api';
56
+ export * from './api/vonage-users-api';
56
57