ch-admin-api-client-typescript 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.
- package/lib/api/hospitals-api.d.ts +148 -29
- package/lib/api/hospitals-api.d.ts.map +1 -1
- package/lib/api/hospitals-api.js +222 -34
- package/lib/api/vonage-accounts-api.d.ts +610 -0
- package/lib/api/vonage-accounts-api.d.ts.map +1 -0
- package/lib/api/vonage-accounts-api.js +1206 -0
- package/lib/api/vonage-applications-api.d.ts +283 -0
- package/lib/api/vonage-applications-api.d.ts.map +1 -0
- package/lib/api/vonage-applications-api.js +553 -0
- package/lib/api/vonage-numbers-api.d.ts +383 -0
- package/lib/api/vonage-numbers-api.d.ts.map +1 -0
- package/lib/api/vonage-numbers-api.js +622 -0
- package/lib/api/vonage-users-api.d.ts +109 -0
- package/lib/api/vonage-users-api.d.ts.map +1 -0
- package/lib/api/vonage-users-api.js +286 -0
- package/lib/api.d.ts +4 -0
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +4 -0
- package/lib/models/account-settings-result.d.ts +49 -0
- package/lib/models/account-settings-result.d.ts.map +1 -0
- package/lib/models/account-settings-result.js +15 -0
- package/lib/models/application-capabilities.d.ts +61 -0
- package/lib/models/application-capabilities.d.ts.map +1 -0
- package/lib/models/application-capabilities.js +15 -0
- package/lib/models/application-list.d.ts +26 -0
- package/lib/models/application-list.d.ts.map +1 -0
- package/lib/models/application-list.js +15 -0
- package/lib/models/application-page.d.ts +50 -0
- package/lib/models/application-page.d.ts.map +1 -0
- package/lib/models/application-page.js +15 -0
- package/lib/models/application.d.ts +45 -0
- package/lib/models/application.d.ts.map +1 -0
- package/lib/models/application.js +15 -0
- package/lib/models/balance-transfers.d.ts +55 -0
- package/lib/models/balance-transfers.d.ts.map +1 -0
- package/lib/models/balance-transfers.js +15 -0
- package/lib/models/balance.d.ts +31 -0
- package/lib/models/balance.d.ts.map +1 -0
- package/lib/models/balance.js +15 -0
- package/lib/models/buy-number-command.d.ts +37 -0
- package/lib/models/buy-number-command.d.ts.map +1 -0
- package/lib/models/buy-number-command.js +15 -0
- package/lib/models/cancel-number-command.d.ts +37 -0
- package/lib/models/cancel-number-command.d.ts.map +1 -0
- package/lib/models/cancel-number-command.js +15 -0
- package/lib/models/create-application-command.d.ts +39 -0
- package/lib/models/create-application-command.d.ts.map +1 -0
- package/lib/models/create-application-command.js +15 -0
- package/lib/models/create-secret-command.d.ts +31 -0
- package/lib/models/create-secret-command.d.ts.map +1 -0
- package/lib/models/create-secret-command.js +15 -0
- package/lib/models/create-sub-account-command.d.ts +37 -0
- package/lib/models/create-sub-account-command.d.ts.map +1 -0
- package/lib/models/create-sub-account-command.js +15 -0
- package/lib/models/delete-application-command.d.ts +25 -0
- package/lib/models/delete-application-command.d.ts.map +1 -0
- package/lib/models/delete-application-command.js +15 -0
- package/lib/models/first.d.ts +25 -0
- package/lib/models/first.d.ts.map +1 -0
- package/lib/models/first.js +15 -0
- package/lib/models/get-transfer-balance-embeded.d.ts +26 -0
- package/lib/models/get-transfer-balance-embeded.d.ts.map +1 -0
- package/lib/models/get-transfer-balance-embeded.js +15 -0
- package/lib/models/get-transfer-balance-result.d.ts +33 -0
- package/lib/models/get-transfer-balance-result.d.ts.map +1 -0
- package/lib/models/get-transfer-balance-result.js +15 -0
- package/lib/models/get-users-result-embedded.d.ts +26 -0
- package/lib/models/get-users-result-embedded.d.ts.map +1 -0
- package/lib/models/get-users-result-embedded.js +15 -0
- package/lib/models/get-users-result.d.ts +45 -0
- package/lib/models/get-users-result.d.ts.map +1 -0
- package/lib/models/get-users-result.js +15 -0
- package/lib/models/hallinks.d.ts +50 -0
- package/lib/models/hallinks.d.ts.map +1 -0
- package/lib/models/hallinks.js +15 -0
- package/lib/models/index.d.ts +48 -0
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +48 -0
- package/lib/models/keys.d.ts +31 -0
- package/lib/models/keys.d.ts.map +1 -0
- package/lib/models/keys.js +15 -0
- package/lib/models/last.d.ts +25 -0
- package/lib/models/last.d.ts.map +1 -0
- package/lib/models/last.js +15 -0
- package/lib/models/link.d.ts +25 -0
- package/lib/models/link.d.ts.map +1 -0
- package/lib/models/link.js +15 -0
- package/lib/models/links.d.ts +40 -0
- package/lib/models/links.d.ts.map +1 -0
- package/lib/models/links.js +15 -0
- package/lib/models/meetings.d.ts +28 -0
- package/lib/models/meetings.d.ts.map +1 -0
- package/lib/models/meetings.js +15 -0
- package/lib/models/messages.d.ts +28 -0
- package/lib/models/messages.d.ts.map +1 -0
- package/lib/models/messages.js +15 -0
- package/lib/models/number-transaction-response.d.ts +31 -0
- package/lib/models/number-transaction-response.d.ts.map +1 -0
- package/lib/models/number-transaction-response.js +15 -0
- package/lib/models/number.d.ts +49 -0
- package/lib/models/number.d.ts.map +1 -0
- package/lib/models/number.js +15 -0
- package/lib/models/numbers-search-response.d.ts +32 -0
- package/lib/models/numbers-search-response.d.ts.map +1 -0
- package/lib/models/numbers-search-response.js +15 -0
- package/lib/models/primary-account.d.ts +55 -0
- package/lib/models/primary-account.d.ts.map +1 -0
- package/lib/models/primary-account.js +15 -0
- package/lib/models/retrieve-sub-accounts-embedded.d.ts +33 -0
- package/lib/models/retrieve-sub-accounts-embedded.d.ts.map +1 -0
- package/lib/models/retrieve-sub-accounts-embedded.js +15 -0
- package/lib/models/retrieve-sub-accounts-result.d.ts +45 -0
- package/lib/models/retrieve-sub-accounts-result.d.ts.map +1 -0
- package/lib/models/retrieve-sub-accounts-result.js +15 -0
- package/lib/models/rtc.d.ts +28 -0
- package/lib/models/rtc.d.ts.map +1 -0
- package/lib/models/rtc.js +15 -0
- package/lib/models/search-pattern.d.ts +23 -0
- package/lib/models/search-pattern.d.ts.map +1 -0
- package/lib/models/search-pattern.js +26 -0
- package/lib/models/secret-list.d.ts +26 -0
- package/lib/models/secret-list.d.ts.map +1 -0
- package/lib/models/secret-list.js +15 -0
- package/lib/models/secret.d.ts +38 -0
- package/lib/models/secret.d.ts.map +1 -0
- package/lib/models/secret.js +15 -0
- package/lib/models/secrets-request-result.d.ts +33 -0
- package/lib/models/secrets-request-result.d.ts.map +1 -0
- package/lib/models/secrets-request-result.js +15 -0
- package/lib/models/self.d.ts +25 -0
- package/lib/models/self.d.ts.map +1 -0
- package/lib/models/self.js +15 -0
- package/lib/models/sub-account.d.ts +73 -0
- package/lib/models/sub-account.d.ts.map +1 -0
- package/lib/models/sub-account.js +15 -0
- package/lib/models/transfer-balance-command.d.ts +37 -0
- package/lib/models/transfer-balance-command.d.ts.map +1 -0
- package/lib/models/transfer-balance-command.js +15 -0
- package/lib/models/transfer-balance-result.d.ts +68 -0
- package/lib/models/transfer-balance-result.d.ts.map +1 -0
- package/lib/models/transfer-balance-result.js +15 -0
- package/lib/models/update-account-command.d.ts +31 -0
- package/lib/models/update-account-command.d.ts.map +1 -0
- package/lib/models/update-account-command.js +15 -0
- package/lib/models/update-application-command.d.ts +45 -0
- package/lib/models/update-application-command.d.ts.map +1 -0
- package/lib/models/update-application-command.js +15 -0
- package/lib/models/update-number-command.d.ts +67 -0
- package/lib/models/update-number-command.d.ts.map +1 -0
- package/lib/models/update-number-command.js +15 -0
- package/lib/models/vbc.d.ts +28 -0
- package/lib/models/vbc.d.ts.map +1 -0
- package/lib/models/vbc.js +15 -0
- package/lib/models/video.d.ts +28 -0
- package/lib/models/video.d.ts.map +1 -0
- package/lib/models/video.js +15 -0
- package/lib/models/voice.d.ts +28 -0
- package/lib/models/voice.d.ts.map +1 -0
- package/lib/models/voice.js +15 -0
- package/lib/models/vonage-user.d.ts +44 -0
- package/lib/models/vonage-user.d.ts.map +1 -0
- package/lib/models/vonage-user.js +15 -0
- package/lib/models/webhook.d.ts +31 -0
- package/lib/models/webhook.d.ts.map +1 -0
- package/lib/models/webhook.js +15 -0
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +52 -0
- package/src/api/hospitals-api.ts +259 -47
- package/src/api/vonage-accounts-api.ts +1171 -0
- package/src/api/vonage-applications-api.ts +516 -0
- package/src/api/vonage-numbers-api.ts +675 -0
- package/src/api/vonage-users-api.ts +203 -0
- package/src/api.ts +4 -0
- package/src/models/account-settings-result.ts +54 -0
- package/src/models/application-capabilities.ts +78 -0
- package/src/models/application-list.ts +33 -0
- package/src/models/application-page.ts +57 -0
- package/src/models/application.ts +54 -0
- package/src/models/balance-transfers.ts +60 -0
- package/src/models/balance.ts +36 -0
- package/src/models/buy-number-command.ts +42 -0
- package/src/models/cancel-number-command.ts +42 -0
- package/src/models/create-application-command.ts +48 -0
- package/src/models/create-secret-command.ts +36 -0
- package/src/models/create-sub-account-command.ts +42 -0
- package/src/models/delete-application-command.ts +30 -0
- package/src/models/first.ts +30 -0
- package/src/models/get-transfer-balance-embeded.ts +33 -0
- package/src/models/get-transfer-balance-result.ts +42 -0
- package/src/models/get-users-result-embedded.ts +33 -0
- package/src/models/get-users-result.ts +54 -0
- package/src/models/hallinks.ts +57 -0
- package/src/models/index.ts +48 -0
- package/src/models/keys.ts +36 -0
- package/src/models/last.ts +30 -0
- package/src/models/link.ts +30 -0
- package/src/models/links.ts +51 -0
- package/src/models/meetings.ts +33 -0
- package/src/models/messages.ts +33 -0
- package/src/models/number-transaction-response.ts +36 -0
- package/src/models/number.ts +54 -0
- package/src/models/numbers-search-response.ts +39 -0
- package/src/models/primary-account.ts +60 -0
- package/src/models/retrieve-sub-accounts-embedded.ts +42 -0
- package/src/models/retrieve-sub-accounts-result.ts +54 -0
- package/src/models/rtc.ts +33 -0
- package/src/models/search-pattern.ts +32 -0
- package/src/models/secret-list.ts +33 -0
- package/src/models/secret.ts +45 -0
- package/src/models/secrets-request-result.ts +42 -0
- package/src/models/self.ts +30 -0
- package/src/models/sub-account.ts +78 -0
- package/src/models/transfer-balance-command.ts +42 -0
- package/src/models/transfer-balance-result.ts +75 -0
- package/src/models/update-account-command.ts +36 -0
- package/src/models/update-application-command.ts +54 -0
- package/src/models/update-number-command.ts +72 -0
- package/src/models/vbc.ts +33 -0
- package/src/models/video.ts +33 -0
- package/src/models/voice.ts +33 -0
- package/src/models/vonage-user.ts +51 -0
- package/src/models/webhook.ts +36 -0
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Swagger UI - Cloud Hospital Admin Api-INT
|
|
5
|
+
* Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1
|
|
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
|
+
// @ts-ignore
|
|
26
|
+
import { ProblemDetails } from '../models';
|
|
27
|
+
/**
|
|
28
|
+
* VonageUsersApi - axios parameter creator
|
|
29
|
+
* @export
|
|
30
|
+
*/
|
|
31
|
+
export const VonageUsersApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
32
|
+
return {
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @param {*} [options] Override http request option.
|
|
36
|
+
* @throws {RequiredError}
|
|
37
|
+
*/
|
|
38
|
+
apiV1VonageusersGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
39
|
+
const localVarPath = `/api/v1/vonageusers`;
|
|
40
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
41
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
42
|
+
let baseOptions;
|
|
43
|
+
if (configuration) {
|
|
44
|
+
baseOptions = configuration.baseOptions;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
48
|
+
const localVarHeaderParameter = {} as any;
|
|
49
|
+
const localVarQueryParameter = {} as any;
|
|
50
|
+
|
|
51
|
+
// authentication oauth2 required
|
|
52
|
+
// oauth required
|
|
53
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
58
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
59
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
60
|
+
|
|
61
|
+
return {
|
|
62
|
+
url: toPathString(localVarUrlObj),
|
|
63
|
+
options: localVarRequestOptions,
|
|
64
|
+
};
|
|
65
|
+
},
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @param {string} userId
|
|
69
|
+
* @param {*} [options] Override http request option.
|
|
70
|
+
* @throws {RequiredError}
|
|
71
|
+
*/
|
|
72
|
+
apiV1VonageusersUserIdDelete: async (userId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
73
|
+
// verify required parameter 'userId' is not null or undefined
|
|
74
|
+
assertParamExists('apiV1VonageusersUserIdDelete', 'userId', userId)
|
|
75
|
+
const localVarPath = `/api/v1/vonageusers/{userId}`
|
|
76
|
+
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
|
|
77
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
78
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
79
|
+
let baseOptions;
|
|
80
|
+
if (configuration) {
|
|
81
|
+
baseOptions = configuration.baseOptions;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
85
|
+
const localVarHeaderParameter = {} as any;
|
|
86
|
+
const localVarQueryParameter = {} as any;
|
|
87
|
+
|
|
88
|
+
// authentication oauth2 required
|
|
89
|
+
// oauth required
|
|
90
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
95
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
96
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
97
|
+
|
|
98
|
+
return {
|
|
99
|
+
url: toPathString(localVarUrlObj),
|
|
100
|
+
options: localVarRequestOptions,
|
|
101
|
+
};
|
|
102
|
+
},
|
|
103
|
+
}
|
|
104
|
+
};
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* VonageUsersApi - functional programming interface
|
|
108
|
+
* @export
|
|
109
|
+
*/
|
|
110
|
+
export const VonageUsersApiFp = function(configuration?: Configuration) {
|
|
111
|
+
const localVarAxiosParamCreator = VonageUsersApiAxiosParamCreator(configuration)
|
|
112
|
+
return {
|
|
113
|
+
/**
|
|
114
|
+
*
|
|
115
|
+
* @param {*} [options] Override http request option.
|
|
116
|
+
* @throws {RequiredError}
|
|
117
|
+
*/
|
|
118
|
+
async apiV1VonageusersGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetUsersResult>> {
|
|
119
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1VonageusersGet(options);
|
|
120
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
121
|
+
},
|
|
122
|
+
/**
|
|
123
|
+
*
|
|
124
|
+
* @param {string} userId
|
|
125
|
+
* @param {*} [options] Override http request option.
|
|
126
|
+
* @throws {RequiredError}
|
|
127
|
+
*/
|
|
128
|
+
async apiV1VonageusersUserIdDelete(userId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
129
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1VonageusersUserIdDelete(userId, options);
|
|
130
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
131
|
+
},
|
|
132
|
+
}
|
|
133
|
+
};
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* VonageUsersApi - factory interface
|
|
137
|
+
* @export
|
|
138
|
+
*/
|
|
139
|
+
export const VonageUsersApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
140
|
+
const localVarFp = VonageUsersApiFp(configuration)
|
|
141
|
+
return {
|
|
142
|
+
/**
|
|
143
|
+
*
|
|
144
|
+
* @param {*} [options] Override http request option.
|
|
145
|
+
* @throws {RequiredError}
|
|
146
|
+
*/
|
|
147
|
+
apiV1VonageusersGet(options?: any): AxiosPromise<GetUsersResult> {
|
|
148
|
+
return localVarFp.apiV1VonageusersGet(options).then((request) => request(axios, basePath));
|
|
149
|
+
},
|
|
150
|
+
/**
|
|
151
|
+
*
|
|
152
|
+
* @param {string} userId
|
|
153
|
+
* @param {*} [options] Override http request option.
|
|
154
|
+
* @throws {RequiredError}
|
|
155
|
+
*/
|
|
156
|
+
apiV1VonageusersUserIdDelete(userId: string, options?: any): AxiosPromise<boolean> {
|
|
157
|
+
return localVarFp.apiV1VonageusersUserIdDelete(userId, options).then((request) => request(axios, basePath));
|
|
158
|
+
},
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* Request parameters for apiV1VonageusersUserIdDelete operation in VonageUsersApi.
|
|
164
|
+
* @export
|
|
165
|
+
* @interface VonageUsersApiApiV1VonageusersUserIdDeleteRequest
|
|
166
|
+
*/
|
|
167
|
+
export interface VonageUsersApiApiV1VonageusersUserIdDeleteRequest {
|
|
168
|
+
/**
|
|
169
|
+
*
|
|
170
|
+
* @type {string}
|
|
171
|
+
* @memberof VonageUsersApiApiV1VonageusersUserIdDelete
|
|
172
|
+
*/
|
|
173
|
+
readonly userId: string
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* VonageUsersApi - object-oriented interface
|
|
178
|
+
* @export
|
|
179
|
+
* @class VonageUsersApi
|
|
180
|
+
* @extends {BaseAPI}
|
|
181
|
+
*/
|
|
182
|
+
export class VonageUsersApi extends BaseAPI {
|
|
183
|
+
/**
|
|
184
|
+
*
|
|
185
|
+
* @param {*} [options] Override http request option.
|
|
186
|
+
* @throws {RequiredError}
|
|
187
|
+
* @memberof VonageUsersApi
|
|
188
|
+
*/
|
|
189
|
+
public apiV1VonageusersGet(options?: AxiosRequestConfig) {
|
|
190
|
+
return VonageUsersApiFp(this.configuration).apiV1VonageusersGet(options).then((request) => request(this.axios, this.basePath));
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
*
|
|
195
|
+
* @param {VonageUsersApiApiV1VonageusersUserIdDeleteRequest} requestParameters Request parameters.
|
|
196
|
+
* @param {*} [options] Override http request option.
|
|
197
|
+
* @throws {RequiredError}
|
|
198
|
+
* @memberof VonageUsersApi
|
|
199
|
+
*/
|
|
200
|
+
public apiV1VonageusersUserIdDelete(requestParameters: VonageUsersApiApiV1VonageusersUserIdDeleteRequest, options?: AxiosRequestConfig) {
|
|
201
|
+
return VonageUsersApiFp(this.configuration).apiV1VonageusersUserIdDelete(requestParameters.userId, options).then((request) => request(this.axios, this.basePath));
|
|
202
|
+
}
|
|
203
|
+
}
|
package/src/api.ts
CHANGED
|
@@ -59,4 +59,8 @@ export * from './api/survey-forms-api';
|
|
|
59
59
|
export * from './api/survey-results-api';
|
|
60
60
|
export * from './api/tags-api';
|
|
61
61
|
export * from './api/translation-api';
|
|
62
|
+
export * from './api/vonage-accounts-api';
|
|
63
|
+
export * from './api/vonage-applications-api';
|
|
64
|
+
export * from './api/vonage-numbers-api';
|
|
65
|
+
export * from './api/vonage-users-api';
|
|
62
66
|
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Swagger UI - Cloud Hospital Admin Api-INT
|
|
5
|
+
* Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1
|
|
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
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface AccountSettingsResult
|
|
21
|
+
*/
|
|
22
|
+
export interface AccountSettingsResult {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof AccountSettingsResult
|
|
27
|
+
*/
|
|
28
|
+
'moCallbackUrl'?: string | null;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof AccountSettingsResult
|
|
33
|
+
*/
|
|
34
|
+
'drCallbackurl'?: string | null;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof AccountSettingsResult
|
|
39
|
+
*/
|
|
40
|
+
'maxOutboundRequest'?: number;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof AccountSettingsResult
|
|
45
|
+
*/
|
|
46
|
+
'maxInboundRequest'?: number;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {number}
|
|
50
|
+
* @memberof AccountSettingsResult
|
|
51
|
+
*/
|
|
52
|
+
'maxCallsPerSecond'?: number;
|
|
53
|
+
}
|
|
54
|
+
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Swagger UI - Cloud Hospital Admin Api-INT
|
|
5
|
+
* Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1
|
|
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
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import { Meetings } from './meetings';
|
|
19
|
+
// May contain unused imports in some cases
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import { Messages } from './messages';
|
|
22
|
+
// May contain unused imports in some cases
|
|
23
|
+
// @ts-ignore
|
|
24
|
+
import { Rtc } from './rtc';
|
|
25
|
+
// May contain unused imports in some cases
|
|
26
|
+
// @ts-ignore
|
|
27
|
+
import { Vbc } from './vbc';
|
|
28
|
+
// May contain unused imports in some cases
|
|
29
|
+
// @ts-ignore
|
|
30
|
+
import { Video } from './video';
|
|
31
|
+
// May contain unused imports in some cases
|
|
32
|
+
// @ts-ignore
|
|
33
|
+
import { Voice } from './voice';
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @export
|
|
38
|
+
* @interface ApplicationCapabilities
|
|
39
|
+
*/
|
|
40
|
+
export interface ApplicationCapabilities {
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {Voice}
|
|
44
|
+
* @memberof ApplicationCapabilities
|
|
45
|
+
*/
|
|
46
|
+
'voice'?: Voice;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {Rtc}
|
|
50
|
+
* @memberof ApplicationCapabilities
|
|
51
|
+
*/
|
|
52
|
+
'rtc'?: Rtc;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {Vbc}
|
|
56
|
+
* @memberof ApplicationCapabilities
|
|
57
|
+
*/
|
|
58
|
+
'vbc'?: Vbc;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {Meetings}
|
|
62
|
+
* @memberof ApplicationCapabilities
|
|
63
|
+
*/
|
|
64
|
+
'meetings'?: Meetings;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {Messages}
|
|
68
|
+
* @memberof ApplicationCapabilities
|
|
69
|
+
*/
|
|
70
|
+
'messages'?: Messages;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {Video}
|
|
74
|
+
* @memberof ApplicationCapabilities
|
|
75
|
+
*/
|
|
76
|
+
'video'?: Video;
|
|
77
|
+
}
|
|
78
|
+
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Swagger UI - Cloud Hospital Admin Api-INT
|
|
5
|
+
* Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1
|
|
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
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import { Application } from './application';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @interface ApplicationList
|
|
24
|
+
*/
|
|
25
|
+
export interface ApplicationList {
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<Application>}
|
|
29
|
+
* @memberof ApplicationList
|
|
30
|
+
*/
|
|
31
|
+
'applications'?: Array<Application> | null;
|
|
32
|
+
}
|
|
33
|
+
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Swagger UI - Cloud Hospital Admin Api-INT
|
|
5
|
+
* Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1
|
|
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
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import { ApplicationList } from './application-list';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @interface ApplicationPage
|
|
24
|
+
*/
|
|
25
|
+
export interface ApplicationPage {
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {ApplicationList}
|
|
29
|
+
* @memberof ApplicationPage
|
|
30
|
+
*/
|
|
31
|
+
'embedded'?: ApplicationList;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {number}
|
|
35
|
+
* @memberof ApplicationPage
|
|
36
|
+
*/
|
|
37
|
+
'page'?: number | null;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {number}
|
|
41
|
+
* @memberof ApplicationPage
|
|
42
|
+
*/
|
|
43
|
+
'pageSize'?: number | null;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {number}
|
|
47
|
+
* @memberof ApplicationPage
|
|
48
|
+
*/
|
|
49
|
+
'totalItems'?: number | null;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {number}
|
|
53
|
+
* @memberof ApplicationPage
|
|
54
|
+
*/
|
|
55
|
+
'totalPages'?: number | null;
|
|
56
|
+
}
|
|
57
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Swagger UI - Cloud Hospital Admin Api-INT
|
|
5
|
+
* Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1
|
|
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
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import { ApplicationCapabilities } from './application-capabilities';
|
|
19
|
+
// May contain unused imports in some cases
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import { Keys } from './keys';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface Application
|
|
27
|
+
*/
|
|
28
|
+
export interface Application {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {ApplicationCapabilities}
|
|
32
|
+
* @memberof Application
|
|
33
|
+
*/
|
|
34
|
+
'capabilities'?: ApplicationCapabilities;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof Application
|
|
39
|
+
*/
|
|
40
|
+
'id'?: string | null;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {Keys}
|
|
44
|
+
* @memberof Application
|
|
45
|
+
*/
|
|
46
|
+
'keys'?: Keys;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof Application
|
|
51
|
+
*/
|
|
52
|
+
'name'?: string | null;
|
|
53
|
+
}
|
|
54
|
+
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Swagger UI - Cloud Hospital Admin Api-INT
|
|
5
|
+
* Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1
|
|
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
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface BalanceTransfers
|
|
21
|
+
*/
|
|
22
|
+
export interface BalanceTransfers {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof BalanceTransfers
|
|
27
|
+
*/
|
|
28
|
+
'from'?: string | null;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof BalanceTransfers
|
|
33
|
+
*/
|
|
34
|
+
'to'?: string | null;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof BalanceTransfers
|
|
39
|
+
*/
|
|
40
|
+
'amount'?: number;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof BalanceTransfers
|
|
45
|
+
*/
|
|
46
|
+
'reference'?: string | null;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof BalanceTransfers
|
|
51
|
+
*/
|
|
52
|
+
'id'?: string | null;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {Date}
|
|
56
|
+
* @memberof BalanceTransfers
|
|
57
|
+
*/
|
|
58
|
+
'createdAt'?: Date;
|
|
59
|
+
}
|
|
60
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Swagger UI - Cloud Hospital Admin Api-INT
|
|
5
|
+
* Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1
|
|
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
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface Balance
|
|
21
|
+
*/
|
|
22
|
+
export interface Balance {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof Balance
|
|
27
|
+
*/
|
|
28
|
+
'value'?: number;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {boolean}
|
|
32
|
+
* @memberof Balance
|
|
33
|
+
*/
|
|
34
|
+
'autoReload'?: boolean;
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Swagger UI - Cloud Hospital Admin Api-INT
|
|
5
|
+
* Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1
|
|
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
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface BuyNumberCommand
|
|
21
|
+
*/
|
|
22
|
+
export interface BuyNumberCommand {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof BuyNumberCommand
|
|
27
|
+
*/
|
|
28
|
+
'country'?: string | null;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof BuyNumberCommand
|
|
33
|
+
*/
|
|
34
|
+
'msisdn'?: string | null;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof BuyNumberCommand
|
|
39
|
+
*/
|
|
40
|
+
'targetApiKey'?: string | null;
|
|
41
|
+
}
|
|
42
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Swagger UI - Cloud Hospital Admin Api-INT
|
|
5
|
+
* Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1
|
|
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
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface CancelNumberCommand
|
|
21
|
+
*/
|
|
22
|
+
export interface CancelNumberCommand {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CancelNumberCommand
|
|
27
|
+
*/
|
|
28
|
+
'country'?: string | null;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CancelNumberCommand
|
|
33
|
+
*/
|
|
34
|
+
'msisdn'?: string | null;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CancelNumberCommand
|
|
39
|
+
*/
|
|
40
|
+
'targetApiKey'?: string | null;
|
|
41
|
+
}
|
|
42
|
+
|