ch-api-client-typescript2 5.2.9 → 5.3.0

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 (46) hide show
  1. package/lib/api/vonage-users-api.d.ts +143 -0
  2. package/lib/api/vonage-users-api.d.ts.map +1 -0
  3. package/lib/api/vonage-users-api.js +356 -0
  4. package/lib/api/vonage-webhooks-api.d.ts +116 -0
  5. package/lib/api/vonage-webhooks-api.d.ts.map +1 -0
  6. package/lib/api/vonage-webhooks-api.js +323 -0
  7. package/lib/api.d.ts +2 -0
  8. package/lib/api.d.ts.map +1 -1
  9. package/lib/api.js +2 -0
  10. package/lib/models/first.d.ts +25 -0
  11. package/lib/models/first.d.ts.map +1 -0
  12. package/lib/models/first.js +15 -0
  13. package/lib/models/get-users-result-embedded.d.ts +26 -0
  14. package/lib/models/get-users-result-embedded.d.ts.map +1 -0
  15. package/lib/models/get-users-result-embedded.js +15 -0
  16. package/lib/models/get-users-result.d.ts +45 -0
  17. package/lib/models/get-users-result.d.ts.map +1 -0
  18. package/lib/models/get-users-result.js +15 -0
  19. package/lib/models/index.d.ts +7 -0
  20. package/lib/models/index.d.ts.map +1 -1
  21. package/lib/models/index.js +7 -0
  22. package/lib/models/last.d.ts +25 -0
  23. package/lib/models/last.d.ts.map +1 -0
  24. package/lib/models/last.js +15 -0
  25. package/lib/models/links.d.ts +40 -0
  26. package/lib/models/links.d.ts.map +1 -0
  27. package/lib/models/links.js +15 -0
  28. package/lib/models/self.d.ts +25 -0
  29. package/lib/models/self.d.ts.map +1 -0
  30. package/lib/models/self.js +15 -0
  31. package/lib/models/user.d.ts +44 -0
  32. package/lib/models/user.d.ts.map +1 -0
  33. package/lib/models/user.js +15 -0
  34. package/package.json +1 -1
  35. package/src/.openapi-generator/FILES +9 -0
  36. package/src/api/vonage-users-api.ts +270 -0
  37. package/src/api/vonage-webhooks-api.ts +226 -0
  38. package/src/api.ts +2 -0
  39. package/src/models/first.ts +30 -0
  40. package/src/models/get-users-result-embedded.ts +33 -0
  41. package/src/models/get-users-result.ts +54 -0
  42. package/src/models/index.ts +7 -0
  43. package/src/models/last.ts +30 -0
  44. package/src/models/links.ts +51 -0
  45. package/src/models/self.ts +30 -0
  46. package/src/models/user.ts +51 -0
@@ -0,0 +1,15 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,40 @@
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 { First } from './first';
13
+ import { Last } from './last';
14
+ import { Self } from './self';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface Links
19
+ */
20
+ export interface Links {
21
+ /**
22
+ *
23
+ * @type {Self}
24
+ * @memberof Links
25
+ */
26
+ 'self'?: Self;
27
+ /**
28
+ *
29
+ * @type {First}
30
+ * @memberof Links
31
+ */
32
+ 'first'?: First;
33
+ /**
34
+ *
35
+ * @type {Last}
36
+ * @memberof Links
37
+ */
38
+ 'last'?: Last;
39
+ }
40
+ //# sourceMappingURL=links.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"links.d.ts","sourceRoot":"","sources":["../../src/models/links.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAGhC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAG9B,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B;;;;GAIG;AACH,MAAM,WAAW,KAAK;IAClB;;;;OAIG;IACH,MAAM,CAAC,EAAE,IAAI,CAAC;IACd;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC;IAChB;;;;OAIG;IACH,MAAM,CAAC,EAAE,IAAI,CAAC;CACjB"}
@@ -0,0 +1,15 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,25 @@
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
+ /**
13
+ *
14
+ * @export
15
+ * @interface Self
16
+ */
17
+ export interface Self {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof Self
22
+ */
23
+ 'href'?: string | null;
24
+ }
25
+ //# sourceMappingURL=self.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"self.d.ts","sourceRoot":"","sources":["../../src/models/self.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,IAAI;IACjB;;;;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
+ * 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
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,44 @@
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 { Links } from './links';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface User
17
+ */
18
+ export interface User {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof User
23
+ */
24
+ 'id'?: string | null;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof User
29
+ */
30
+ 'name'?: string | null;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof User
35
+ */
36
+ 'displayName'?: string | null;
37
+ /**
38
+ *
39
+ * @type {Links}
40
+ * @memberof User
41
+ */
42
+ 'links'?: Links;
43
+ }
44
+ //# sourceMappingURL=user.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../src/models/user.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC;;;;GAIG;AACH,MAAM,WAAW,IAAI;IACjB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC;CACnB"}
@@ -0,0 +1,15 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
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.0",
4
4
  "description": "Openapi generated typescript-axios client for CloudHospital",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -41,6 +41,8 @@ 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
45
+ api/vonage-webhooks-api.ts
44
46
  base.ts
45
47
  common.ts
46
48
  configuration.ts
@@ -191,9 +193,12 @@ models/faq-tags-model.ts
191
193
  models/faqs-model.ts
192
194
  models/feature-document-model.ts
193
195
  models/feature-model.ts
196
+ models/first.ts
194
197
  models/footer-navigation-item-model.ts
195
198
  models/gender.ts
196
199
  models/geography-point.ts
200
+ models/get-users-result-embedded.ts
201
+ models/get-users-result.ts
197
202
  models/header-navigation-item-model.ts
198
203
  models/hospital-accreditation-item-model.ts
199
204
  models/hospital-accreditation-model.ts
@@ -236,6 +241,8 @@ models/landings-model.ts
236
241
  models/language-item-model.ts
237
242
  models/language-model.ts
238
243
  models/languages-model.ts
244
+ models/last.ts
245
+ models/links.ts
239
246
  models/localized-url-model.ts
240
247
  models/location-document-model.ts
241
248
  models/location-model.ts
@@ -277,6 +284,7 @@ models/secure-container-model.ts
277
284
  models/secure-containers-model.ts
278
285
  models/secure-file-item-input-model.ts
279
286
  models/secure-file-model.ts
287
+ models/self.ts
280
288
  models/send-bird-group-channel-member.ts
281
289
  models/send-bird-group-channel-model.ts
282
290
  models/send-bird-group-channelr-operator.ts
@@ -337,6 +345,7 @@ models/user-location-document-model.ts
337
345
  models/user-location-model.ts
338
346
  models/user-location-type.ts
339
347
  models/user-model.ts
348
+ models/user.ts
340
349
  models/working-day-item-model.ts
341
350
  models/working-day-model.ts
342
351
  models/working-days-model.ts
@@ -0,0 +1,270 @@
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
+ // @ts-ignore
24
+ import { GetUsersResult } from '../models';
25
+ /**
26
+ * VonageUsersApi - axios parameter creator
27
+ * @export
28
+ */
29
+ export const VonageUsersApiAxiosParamCreator = function (configuration?: Configuration) {
30
+ return {
31
+ /**
32
+ *
33
+ * @param {string} sub
34
+ * @param {string} userId
35
+ * @param {*} [options] Override http request option.
36
+ * @throws {RequiredError}
37
+ */
38
+ apiV2VonageusersDeleteuserUserIdDelete: async (sub: string, userId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
39
+ // verify required parameter 'sub' is not null or undefined
40
+ assertParamExists('apiV2VonageusersDeleteuserUserIdDelete', 'sub', sub)
41
+ // verify required parameter 'userId' is not null or undefined
42
+ assertParamExists('apiV2VonageusersDeleteuserUserIdDelete', 'userId', userId)
43
+ const localVarPath = `/api/v2/vonageusers/deleteuser/{userId}`
44
+ .replace(`{${"sub"}}`, encodeURIComponent(String(sub)))
45
+ .replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
46
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
47
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
48
+ let baseOptions;
49
+ if (configuration) {
50
+ baseOptions = configuration.baseOptions;
51
+ }
52
+
53
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
54
+ const localVarHeaderParameter = {} as any;
55
+ const localVarQueryParameter = {} as any;
56
+
57
+
58
+
59
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
60
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
61
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
62
+
63
+ return {
64
+ url: toPathString(localVarUrlObj),
65
+ options: localVarRequestOptions,
66
+ };
67
+ },
68
+ /**
69
+ *
70
+ * @param {*} [options] Override http request option.
71
+ * @throws {RequiredError}
72
+ */
73
+ apiV2VonageusersGettokenGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
74
+ const localVarPath = `/api/v2/vonageusers/gettoken`;
75
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
76
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
77
+ let baseOptions;
78
+ if (configuration) {
79
+ baseOptions = configuration.baseOptions;
80
+ }
81
+
82
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
83
+ const localVarHeaderParameter = {} as any;
84
+ const localVarQueryParameter = {} as any;
85
+
86
+ // authentication oauth2 required
87
+ // oauth required
88
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)
89
+
90
+
91
+
92
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
93
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
94
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
95
+
96
+ return {
97
+ url: toPathString(localVarUrlObj),
98
+ options: localVarRequestOptions,
99
+ };
100
+ },
101
+ /**
102
+ *
103
+ * @param {*} [options] Override http request option.
104
+ * @throws {RequiredError}
105
+ */
106
+ apiV2VonageusersGetusersGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
107
+ const localVarPath = `/api/v2/vonageusers/getusers`;
108
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
109
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
110
+ let baseOptions;
111
+ if (configuration) {
112
+ baseOptions = configuration.baseOptions;
113
+ }
114
+
115
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
116
+ const localVarHeaderParameter = {} as any;
117
+ const localVarQueryParameter = {} as any;
118
+
119
+ // authentication oauth2 required
120
+ // oauth required
121
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)
122
+
123
+
124
+
125
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
126
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
127
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
128
+
129
+ return {
130
+ url: toPathString(localVarUrlObj),
131
+ options: localVarRequestOptions,
132
+ };
133
+ },
134
+ }
135
+ };
136
+
137
+ /**
138
+ * VonageUsersApi - functional programming interface
139
+ * @export
140
+ */
141
+ export const VonageUsersApiFp = function(configuration?: Configuration) {
142
+ const localVarAxiosParamCreator = VonageUsersApiAxiosParamCreator(configuration)
143
+ return {
144
+ /**
145
+ *
146
+ * @param {string} sub
147
+ * @param {string} userId
148
+ * @param {*} [options] Override http request option.
149
+ * @throws {RequiredError}
150
+ */
151
+ async apiV2VonageusersDeleteuserUserIdDelete(sub: string, userId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
152
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2VonageusersDeleteuserUserIdDelete(sub, userId, options);
153
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
154
+ },
155
+ /**
156
+ *
157
+ * @param {*} [options] Override http request option.
158
+ * @throws {RequiredError}
159
+ */
160
+ async apiV2VonageusersGettokenGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
161
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2VonageusersGettokenGet(options);
162
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
163
+ },
164
+ /**
165
+ *
166
+ * @param {*} [options] Override http request option.
167
+ * @throws {RequiredError}
168
+ */
169
+ async apiV2VonageusersGetusersGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetUsersResult>> {
170
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2VonageusersGetusersGet(options);
171
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
172
+ },
173
+ }
174
+ };
175
+
176
+ /**
177
+ * VonageUsersApi - factory interface
178
+ * @export
179
+ */
180
+ export const VonageUsersApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
181
+ const localVarFp = VonageUsersApiFp(configuration)
182
+ return {
183
+ /**
184
+ *
185
+ * @param {string} sub
186
+ * @param {string} userId
187
+ * @param {*} [options] Override http request option.
188
+ * @throws {RequiredError}
189
+ */
190
+ apiV2VonageusersDeleteuserUserIdDelete(sub: string, userId: string, options?: any): AxiosPromise<boolean> {
191
+ return localVarFp.apiV2VonageusersDeleteuserUserIdDelete(sub, userId, options).then((request) => request(axios, basePath));
192
+ },
193
+ /**
194
+ *
195
+ * @param {*} [options] Override http request option.
196
+ * @throws {RequiredError}
197
+ */
198
+ apiV2VonageusersGettokenGet(options?: any): AxiosPromise<string> {
199
+ return localVarFp.apiV2VonageusersGettokenGet(options).then((request) => request(axios, basePath));
200
+ },
201
+ /**
202
+ *
203
+ * @param {*} [options] Override http request option.
204
+ * @throws {RequiredError}
205
+ */
206
+ apiV2VonageusersGetusersGet(options?: any): AxiosPromise<GetUsersResult> {
207
+ return localVarFp.apiV2VonageusersGetusersGet(options).then((request) => request(axios, basePath));
208
+ },
209
+ };
210
+ };
211
+
212
+ /**
213
+ * Request parameters for apiV2VonageusersDeleteuserUserIdDelete operation in VonageUsersApi.
214
+ * @export
215
+ * @interface VonageUsersApiApiV2VonageusersDeleteuserUserIdDeleteRequest
216
+ */
217
+ export interface VonageUsersApiApiV2VonageusersDeleteuserUserIdDeleteRequest {
218
+ /**
219
+ *
220
+ * @type {string}
221
+ * @memberof VonageUsersApiApiV2VonageusersDeleteuserUserIdDelete
222
+ */
223
+ readonly sub: string
224
+
225
+ /**
226
+ *
227
+ * @type {string}
228
+ * @memberof VonageUsersApiApiV2VonageusersDeleteuserUserIdDelete
229
+ */
230
+ readonly userId: string
231
+ }
232
+
233
+ /**
234
+ * VonageUsersApi - object-oriented interface
235
+ * @export
236
+ * @class VonageUsersApi
237
+ * @extends {BaseAPI}
238
+ */
239
+ export class VonageUsersApi extends BaseAPI {
240
+ /**
241
+ *
242
+ * @param {VonageUsersApiApiV2VonageusersDeleteuserUserIdDeleteRequest} requestParameters Request parameters.
243
+ * @param {*} [options] Override http request option.
244
+ * @throws {RequiredError}
245
+ * @memberof VonageUsersApi
246
+ */
247
+ public apiV2VonageusersDeleteuserUserIdDelete(requestParameters: VonageUsersApiApiV2VonageusersDeleteuserUserIdDeleteRequest, options?: AxiosRequestConfig) {
248
+ return VonageUsersApiFp(this.configuration).apiV2VonageusersDeleteuserUserIdDelete(requestParameters.sub, requestParameters.userId, options).then((request) => request(this.axios, this.basePath));
249
+ }
250
+
251
+ /**
252
+ *
253
+ * @param {*} [options] Override http request option.
254
+ * @throws {RequiredError}
255
+ * @memberof VonageUsersApi
256
+ */
257
+ public apiV2VonageusersGettokenGet(options?: AxiosRequestConfig) {
258
+ return VonageUsersApiFp(this.configuration).apiV2VonageusersGettokenGet(options).then((request) => request(this.axios, this.basePath));
259
+ }
260
+
261
+ /**
262
+ *
263
+ * @param {*} [options] Override http request option.
264
+ * @throws {RequiredError}
265
+ * @memberof VonageUsersApi
266
+ */
267
+ public apiV2VonageusersGetusersGet(options?: AxiosRequestConfig) {
268
+ return VonageUsersApiFp(this.configuration).apiV2VonageusersGetusersGet(options).then((request) => request(this.axios, this.basePath));
269
+ }
270
+ }