ch-api-client-typescript2 5.3.0 → 5.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/lib/api/vonage-users-api.d.ts +8 -60
  2. package/lib/api/vonage-users-api.d.ts.map +1 -1
  3. package/lib/api/vonage-users-api.js +17 -94
  4. package/lib/api.d.ts +0 -1
  5. package/lib/api.d.ts.map +1 -1
  6. package/lib/api.js +0 -1
  7. package/lib/models/index.d.ts +0 -7
  8. package/lib/models/index.d.ts.map +1 -1
  9. package/lib/models/index.js +0 -7
  10. package/package.json +1 -1
  11. package/src/.openapi-generator/FILES +0 -8
  12. package/src/api/vonage-users-api.ts +16 -108
  13. package/src/api.ts +0 -1
  14. package/src/models/index.ts +0 -7
  15. package/lib/api/vonage-webhooks-api.d.ts +0 -116
  16. package/lib/api/vonage-webhooks-api.d.ts.map +0 -1
  17. package/lib/api/vonage-webhooks-api.js +0 -323
  18. package/lib/models/first.d.ts +0 -25
  19. package/lib/models/first.d.ts.map +0 -1
  20. package/lib/models/first.js +0 -15
  21. package/lib/models/get-users-result-embedded.d.ts +0 -26
  22. package/lib/models/get-users-result-embedded.d.ts.map +0 -1
  23. package/lib/models/get-users-result-embedded.js +0 -15
  24. package/lib/models/get-users-result.d.ts +0 -45
  25. package/lib/models/get-users-result.d.ts.map +0 -1
  26. package/lib/models/get-users-result.js +0 -15
  27. package/lib/models/last.d.ts +0 -25
  28. package/lib/models/last.d.ts.map +0 -1
  29. package/lib/models/last.js +0 -15
  30. package/lib/models/links.d.ts +0 -40
  31. package/lib/models/links.d.ts.map +0 -1
  32. package/lib/models/links.js +0 -15
  33. package/lib/models/self.d.ts +0 -25
  34. package/lib/models/self.d.ts.map +0 -1
  35. package/lib/models/self.js +0 -15
  36. package/lib/models/user.d.ts +0 -44
  37. package/lib/models/user.d.ts.map +0 -1
  38. package/lib/models/user.js +0 -15
  39. package/src/api/vonage-webhooks-api.ts +0 -226
  40. package/src/models/first.ts +0 -30
  41. package/src/models/get-users-result-embedded.ts +0 -33
  42. package/src/models/get-users-result.ts +0 -54
  43. package/src/models/last.ts +0 -30
  44. package/src/models/links.ts +0 -51
  45. package/src/models/self.ts +0 -30
  46. package/src/models/user.ts +0 -51
@@ -1,44 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,15 +0,0 @@
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 });
@@ -1,226 +0,0 @@
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
- * VonageWebhooksApi - axios parameter creator
25
- * @export
26
- */
27
- export const VonageWebhooksApiAxiosParamCreator = function (configuration?: Configuration) {
28
- return {
29
- /**
30
- *
31
- * @param {*} [options] Override http request option.
32
- * @throws {RequiredError}
33
- */
34
- apiV2VonagewebhooksAnswerGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
35
- const localVarPath = `/api/v2/vonagewebhooks/answer`;
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: 'GET', ...baseOptions, ...options};
44
- const localVarHeaderParameter = {} as any;
45
- const localVarQueryParameter = {} as any;
46
-
47
-
48
-
49
- setSearchParams(localVarUrlObj, localVarQueryParameter);
50
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
51
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
52
-
53
- return {
54
- url: toPathString(localVarUrlObj),
55
- options: localVarRequestOptions,
56
- };
57
- },
58
- /**
59
- *
60
- * @param {*} [options] Override http request option.
61
- * @throws {RequiredError}
62
- */
63
- apiV2VonagewebhooksRecordGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
64
- const localVarPath = `/api/v2/vonagewebhooks/record`;
65
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
66
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
67
- let baseOptions;
68
- if (configuration) {
69
- baseOptions = configuration.baseOptions;
70
- }
71
-
72
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
73
- const localVarHeaderParameter = {} as any;
74
- const localVarQueryParameter = {} as any;
75
-
76
-
77
-
78
- setSearchParams(localVarUrlObj, localVarQueryParameter);
79
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
80
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
81
-
82
- return {
83
- url: toPathString(localVarUrlObj),
84
- options: localVarRequestOptions,
85
- };
86
- },
87
- /**
88
- *
89
- * @param {*} [options] Override http request option.
90
- * @throws {RequiredError}
91
- */
92
- apiV2VonagewebhooksRecordingPost: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
93
- const localVarPath = `/api/v2/vonagewebhooks/recording`;
94
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
95
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
96
- let baseOptions;
97
- if (configuration) {
98
- baseOptions = configuration.baseOptions;
99
- }
100
-
101
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
102
- const localVarHeaderParameter = {} as any;
103
- const localVarQueryParameter = {} as any;
104
-
105
-
106
-
107
- setSearchParams(localVarUrlObj, localVarQueryParameter);
108
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
109
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
110
-
111
- return {
112
- url: toPathString(localVarUrlObj),
113
- options: localVarRequestOptions,
114
- };
115
- },
116
- }
117
- };
118
-
119
- /**
120
- * VonageWebhooksApi - functional programming interface
121
- * @export
122
- */
123
- export const VonageWebhooksApiFp = function(configuration?: Configuration) {
124
- const localVarAxiosParamCreator = VonageWebhooksApiAxiosParamCreator(configuration)
125
- return {
126
- /**
127
- *
128
- * @param {*} [options] Override http request option.
129
- * @throws {RequiredError}
130
- */
131
- async apiV2VonagewebhooksAnswerGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
132
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2VonagewebhooksAnswerGet(options);
133
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
134
- },
135
- /**
136
- *
137
- * @param {*} [options] Override http request option.
138
- * @throws {RequiredError}
139
- */
140
- async apiV2VonagewebhooksRecordGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
141
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2VonagewebhooksRecordGet(options);
142
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
143
- },
144
- /**
145
- *
146
- * @param {*} [options] Override http request option.
147
- * @throws {RequiredError}
148
- */
149
- async apiV2VonagewebhooksRecordingPost(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
150
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2VonagewebhooksRecordingPost(options);
151
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
152
- },
153
- }
154
- };
155
-
156
- /**
157
- * VonageWebhooksApi - factory interface
158
- * @export
159
- */
160
- export const VonageWebhooksApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
161
- const localVarFp = VonageWebhooksApiFp(configuration)
162
- return {
163
- /**
164
- *
165
- * @param {*} [options] Override http request option.
166
- * @throws {RequiredError}
167
- */
168
- apiV2VonagewebhooksAnswerGet(options?: any): AxiosPromise<string> {
169
- return localVarFp.apiV2VonagewebhooksAnswerGet(options).then((request) => request(axios, basePath));
170
- },
171
- /**
172
- *
173
- * @param {*} [options] Override http request option.
174
- * @throws {RequiredError}
175
- */
176
- apiV2VonagewebhooksRecordGet(options?: any): AxiosPromise<void> {
177
- return localVarFp.apiV2VonagewebhooksRecordGet(options).then((request) => request(axios, basePath));
178
- },
179
- /**
180
- *
181
- * @param {*} [options] Override http request option.
182
- * @throws {RequiredError}
183
- */
184
- apiV2VonagewebhooksRecordingPost(options?: any): AxiosPromise<void> {
185
- return localVarFp.apiV2VonagewebhooksRecordingPost(options).then((request) => request(axios, basePath));
186
- },
187
- };
188
- };
189
-
190
- /**
191
- * VonageWebhooksApi - object-oriented interface
192
- * @export
193
- * @class VonageWebhooksApi
194
- * @extends {BaseAPI}
195
- */
196
- export class VonageWebhooksApi extends BaseAPI {
197
- /**
198
- *
199
- * @param {*} [options] Override http request option.
200
- * @throws {RequiredError}
201
- * @memberof VonageWebhooksApi
202
- */
203
- public apiV2VonagewebhooksAnswerGet(options?: AxiosRequestConfig) {
204
- return VonageWebhooksApiFp(this.configuration).apiV2VonagewebhooksAnswerGet(options).then((request) => request(this.axios, this.basePath));
205
- }
206
-
207
- /**
208
- *
209
- * @param {*} [options] Override http request option.
210
- * @throws {RequiredError}
211
- * @memberof VonageWebhooksApi
212
- */
213
- public apiV2VonagewebhooksRecordGet(options?: AxiosRequestConfig) {
214
- return VonageWebhooksApiFp(this.configuration).apiV2VonagewebhooksRecordGet(options).then((request) => request(this.axios, this.basePath));
215
- }
216
-
217
- /**
218
- *
219
- * @param {*} [options] Override http request option.
220
- * @throws {RequiredError}
221
- * @memberof VonageWebhooksApi
222
- */
223
- public apiV2VonagewebhooksRecordingPost(options?: AxiosRequestConfig) {
224
- return VonageWebhooksApiFp(this.configuration).apiV2VonagewebhooksRecordingPost(options).then((request) => request(this.axios, this.basePath));
225
- }
226
- }
@@ -1,30 +0,0 @@
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
-
17
- /**
18
- *
19
- * @export
20
- * @interface First
21
- */
22
- export interface First {
23
- /**
24
- *
25
- * @type {string}
26
- * @memberof First
27
- */
28
- 'href'?: string | null;
29
- }
30
-
@@ -1,33 +0,0 @@
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
- // May contain unused imports in some cases
17
- // @ts-ignore
18
- import { User } from './user';
19
-
20
- /**
21
- *
22
- * @export
23
- * @interface GetUsersResultEmbedded
24
- */
25
- export interface GetUsersResultEmbedded {
26
- /**
27
- *
28
- * @type {Array<User>}
29
- * @memberof GetUsersResultEmbedded
30
- */
31
- 'users'?: Array<User> | null;
32
- }
33
-
@@ -1,54 +0,0 @@
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
- // May contain unused imports in some cases
17
- // @ts-ignore
18
- import { GetUsersResultEmbedded } from './get-users-result-embedded';
19
- // May contain unused imports in some cases
20
- // @ts-ignore
21
- import { Links } from './links';
22
-
23
- /**
24
- *
25
- * @export
26
- * @interface GetUsersResult
27
- */
28
- export interface GetUsersResult {
29
- /**
30
- *
31
- * @type {number}
32
- * @memberof GetUsersResult
33
- */
34
- 'pageSsize'?: number;
35
- /**
36
- *
37
- * @type {string}
38
- * @memberof GetUsersResult
39
- */
40
- 'cursor'?: string | null;
41
- /**
42
- *
43
- * @type {GetUsersResultEmbedded}
44
- * @memberof GetUsersResult
45
- */
46
- 'embedded'?: GetUsersResultEmbedded;
47
- /**
48
- *
49
- * @type {Links}
50
- * @memberof GetUsersResult
51
- */
52
- 'links'?: Links;
53
- }
54
-
@@ -1,30 +0,0 @@
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
-
17
- /**
18
- *
19
- * @export
20
- * @interface Last
21
- */
22
- export interface Last {
23
- /**
24
- *
25
- * @type {string}
26
- * @memberof Last
27
- */
28
- 'href'?: string | null;
29
- }
30
-
@@ -1,51 +0,0 @@
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
- // May contain unused imports in some cases
17
- // @ts-ignore
18
- import { First } from './first';
19
- // May contain unused imports in some cases
20
- // @ts-ignore
21
- import { Last } from './last';
22
- // May contain unused imports in some cases
23
- // @ts-ignore
24
- import { Self } from './self';
25
-
26
- /**
27
- *
28
- * @export
29
- * @interface Links
30
- */
31
- export interface Links {
32
- /**
33
- *
34
- * @type {Self}
35
- * @memberof Links
36
- */
37
- 'self'?: Self;
38
- /**
39
- *
40
- * @type {First}
41
- * @memberof Links
42
- */
43
- 'first'?: First;
44
- /**
45
- *
46
- * @type {Last}
47
- * @memberof Links
48
- */
49
- 'last'?: Last;
50
- }
51
-
@@ -1,30 +0,0 @@
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
-
17
- /**
18
- *
19
- * @export
20
- * @interface Self
21
- */
22
- export interface Self {
23
- /**
24
- *
25
- * @type {string}
26
- * @memberof Self
27
- */
28
- 'href'?: string | null;
29
- }
30
-
@@ -1,51 +0,0 @@
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
- // May contain unused imports in some cases
17
- // @ts-ignore
18
- import { Links } from './links';
19
-
20
- /**
21
- *
22
- * @export
23
- * @interface User
24
- */
25
- export interface User {
26
- /**
27
- *
28
- * @type {string}
29
- * @memberof User
30
- */
31
- 'id'?: string | null;
32
- /**
33
- *
34
- * @type {string}
35
- * @memberof User
36
- */
37
- 'name'?: string | null;
38
- /**
39
- *
40
- * @type {string}
41
- * @memberof User
42
- */
43
- 'displayName'?: string | null;
44
- /**
45
- *
46
- * @type {Links}
47
- * @memberof User
48
- */
49
- 'links'?: Links;
50
- }
51
-