ch-admin-api-client-typescript 5.4.6 → 5.4.8

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 (134) hide show
  1. package/lib/api/deals-api.d.ts +0 -303
  2. package/lib/api/deals-api.d.ts.map +1 -1
  3. package/lib/api/deals-api.js +0 -424
  4. package/lib/api/vonage-accounts-api.d.ts +220 -129
  5. package/lib/api/vonage-accounts-api.d.ts.map +1 -1
  6. package/lib/api/vonage-accounts-api.js +309 -178
  7. package/lib/api/vonage-applications-api.d.ts +12 -4
  8. package/lib/api/vonage-applications-api.d.ts.map +1 -1
  9. package/lib/api/vonage-applications-api.js +12 -4
  10. package/lib/api/vonage-numbers-api.d.ts +8 -4
  11. package/lib/api/vonage-numbers-api.d.ts.map +1 -1
  12. package/lib/api/vonage-numbers-api.js +8 -4
  13. package/lib/api/vonage-users-api.d.ts +95 -5
  14. package/lib/api/vonage-users-api.d.ts.map +1 -1
  15. package/lib/api/vonage-users-api.js +120 -7
  16. package/lib/models/appointment-type.d.ts +0 -1
  17. package/lib/models/appointment-type.d.ts.map +1 -1
  18. package/lib/models/appointment-type.js +0 -1
  19. package/lib/models/create-deal-command.d.ts +0 -20
  20. package/lib/models/create-deal-command.d.ts.map +1 -1
  21. package/lib/models/create-doctor-affiliation-command.d.ts +0 -13
  22. package/lib/models/create-doctor-affiliation-command.d.ts.map +1 -1
  23. package/lib/models/create-hospital-command.d.ts +3 -9
  24. package/lib/models/create-hospital-command.d.ts.map +1 -1
  25. package/lib/models/deal-item-model.d.ts +0 -13
  26. package/lib/models/deal-item-model.d.ts.map +1 -1
  27. package/lib/models/deal-model.d.ts +0 -13
  28. package/lib/models/deal-model.d.ts.map +1 -1
  29. package/lib/models/doctor-affiliation-item-model.d.ts +6 -19
  30. package/lib/models/doctor-affiliation-item-model.d.ts.map +1 -1
  31. package/lib/models/doctor-affiliation-model.d.ts +6 -19
  32. package/lib/models/doctor-affiliation-model.d.ts.map +1 -1
  33. package/lib/models/hospital-domain-input-model.d.ts +50 -0
  34. package/lib/models/hospital-domain-input-model.d.ts.map +1 -0
  35. package/lib/models/hospital-domain-model.d.ts +50 -0
  36. package/lib/models/hospital-domain-model.d.ts.map +1 -0
  37. package/lib/models/hospital-feature-detail-input-model.d.ts +49 -0
  38. package/lib/models/hospital-feature-detail-input-model.d.ts.map +1 -0
  39. package/lib/models/hospital-feature-detail-model.d.ts +56 -0
  40. package/lib/models/hospital-feature-detail-model.d.ts.map +1 -0
  41. package/lib/models/hospital-feature-input-model.d.ts +32 -0
  42. package/lib/models/hospital-feature-input-model.d.ts.map +1 -0
  43. package/lib/models/{feature-model.d.ts → hospital-feature-model.d.ts} +10 -15
  44. package/lib/models/hospital-feature-model.d.ts.map +1 -0
  45. package/lib/models/hospital-item-model.d.ts +28 -4
  46. package/lib/models/hospital-item-model.d.ts.map +1 -1
  47. package/lib/models/hospital-model.d.ts +28 -4
  48. package/lib/models/hospital-model.d.ts.map +1 -1
  49. package/lib/models/index.d.ts +12 -8
  50. package/lib/models/index.d.ts.map +1 -1
  51. package/lib/models/index.js +12 -8
  52. package/lib/models/links.d.ts +19 -9
  53. package/lib/models/links.d.ts.map +1 -1
  54. package/lib/models/{get-users-result-embedded.d.ts → list-users-result-embedded.d.ts} +4 -4
  55. package/lib/models/list-users-result-embedded.d.ts.map +1 -0
  56. package/lib/models/{get-users-result.d.ts → list-users-result.d.ts} +10 -10
  57. package/lib/models/list-users-result.d.ts.map +1 -0
  58. package/lib/models/survey-form-simple-mapping-model.d.ts +39 -0
  59. package/lib/models/survey-form-simple-mapping-model.d.ts.map +1 -0
  60. package/lib/models/survey-form-simple-mapping-model.js +15 -0
  61. package/lib/models/transfer-number-command.d.ts +43 -0
  62. package/lib/models/transfer-number-command.d.ts.map +1 -0
  63. package/lib/models/transfer-number-command.js +15 -0
  64. package/lib/models/transfer-number-result.d.ts +49 -0
  65. package/lib/models/transfer-number-result.d.ts.map +1 -0
  66. package/lib/models/transfer-number-result.js +15 -0
  67. package/lib/models/translation-simple-model.d.ts +55 -0
  68. package/lib/models/translation-simple-model.d.ts.map +1 -0
  69. package/lib/models/translation-simple-model.js +15 -0
  70. package/lib/models/update-deal-command.d.ts +0 -20
  71. package/lib/models/update-deal-command.d.ts.map +1 -1
  72. package/lib/models/update-doctor-affiliation-command.d.ts +0 -13
  73. package/lib/models/update-doctor-affiliation-command.d.ts.map +1 -1
  74. package/lib/models/update-hospital-command.d.ts +3 -9
  75. package/lib/models/update-hospital-command.d.ts.map +1 -1
  76. package/package.json +1 -1
  77. package/src/.openapi-generator/FILES +12 -8
  78. package/src/api/deals-api.ts +0 -532
  79. package/src/api/vonage-accounts-api.ts +354 -227
  80. package/src/api/vonage-applications-api.ts +12 -4
  81. package/src/api/vonage-numbers-api.ts +8 -4
  82. package/src/api/vonage-users-api.ts +153 -8
  83. package/src/models/appointment-type.ts +0 -1
  84. package/src/models/create-deal-command.ts +0 -24
  85. package/src/models/create-doctor-affiliation-command.ts +0 -15
  86. package/src/models/create-hospital-command.ts +4 -10
  87. package/src/models/deal-item-model.ts +0 -15
  88. package/src/models/deal-model.ts +0 -15
  89. package/src/models/doctor-affiliation-item-model.ts +6 -21
  90. package/src/models/doctor-affiliation-model.ts +6 -21
  91. package/src/models/hospital-domain-input-model.ts +57 -0
  92. package/src/models/hospital-domain-model.ts +57 -0
  93. package/src/models/hospital-feature-detail-input-model.ts +54 -0
  94. package/src/models/hospital-feature-detail-model.ts +63 -0
  95. package/src/models/hospital-feature-input-model.ts +39 -0
  96. package/src/models/{save-deal-appointment-timetable-overrides-command.ts → hospital-feature-model.ts} +12 -6
  97. package/src/models/hospital-item-model.ts +30 -6
  98. package/src/models/hospital-model.ts +30 -6
  99. package/src/models/index.ts +12 -8
  100. package/src/models/links.ts +19 -13
  101. package/src/models/{get-users-result-embedded.ts → list-users-result-embedded.ts} +3 -3
  102. package/src/models/{get-users-result.ts → list-users-result.ts} +10 -10
  103. package/src/models/survey-form-simple-mapping-model.ts +48 -0
  104. package/src/models/{feature-model.ts → transfer-number-command.ts} +17 -11
  105. package/src/models/transfer-number-result.ts +54 -0
  106. package/src/models/translation-simple-model.ts +60 -0
  107. package/src/models/update-deal-command.ts +0 -24
  108. package/src/models/update-doctor-affiliation-command.ts +0 -15
  109. package/src/models/update-hospital-command.ts +4 -10
  110. package/lib/models/batch-deal-appointment-timetables-command.d.ts +0 -39
  111. package/lib/models/batch-deal-appointment-timetables-command.d.ts.map +0 -1
  112. package/lib/models/feature-model.d.ts.map +0 -1
  113. package/lib/models/first.d.ts +0 -25
  114. package/lib/models/first.d.ts.map +0 -1
  115. package/lib/models/get-users-result-embedded.d.ts.map +0 -1
  116. package/lib/models/get-users-result.d.ts.map +0 -1
  117. package/lib/models/last.d.ts +0 -25
  118. package/lib/models/last.d.ts.map +0 -1
  119. package/lib/models/save-deal-appointment-timetable-overrides-command.d.ts +0 -26
  120. package/lib/models/save-deal-appointment-timetable-overrides-command.d.ts.map +0 -1
  121. package/lib/models/self.d.ts +0 -25
  122. package/lib/models/self.d.ts.map +0 -1
  123. package/src/models/batch-deal-appointment-timetables-command.ts +0 -48
  124. package/src/models/first.ts +0 -30
  125. package/src/models/last.ts +0 -30
  126. package/src/models/self.ts +0 -30
  127. /package/lib/models/{batch-deal-appointment-timetables-command.js → hospital-domain-input-model.js} +0 -0
  128. /package/lib/models/{feature-model.js → hospital-domain-model.js} +0 -0
  129. /package/lib/models/{first.js → hospital-feature-detail-input-model.js} +0 -0
  130. /package/lib/models/{get-users-result-embedded.js → hospital-feature-detail-model.js} +0 -0
  131. /package/lib/models/{get-users-result.js → hospital-feature-input-model.js} +0 -0
  132. /package/lib/models/{last.js → hospital-feature-model.js} +0 -0
  133. /package/lib/models/{save-deal-appointment-timetable-overrides-command.js → list-users-result-embedded.js} +0 -0
  134. /package/lib/models/{self.js → list-users-result.js} +0 -0
@@ -159,6 +159,7 @@ export const VonageApplicationsApiAxiosParamCreator = function (configuration?:
159
159
  },
160
160
  /**
161
161
  *
162
+ * @summary List Vonage Applications
162
163
  * @param {number} [pageSize]
163
164
  * @param {number} [page]
164
165
  * @param {*} [options] Override http request option.
@@ -201,7 +202,8 @@ export const VonageApplicationsApiAxiosParamCreator = function (configuration?:
201
202
  };
202
203
  },
203
204
  /**
204
- *
205
+ * Sample request: PUT { \"name\": \"Demo Aplication\", \"capabilities\": { \"voice\": { \"webhooks\": { \"answer_url\": { \"method\": \"GET\", \"address\": \"https://example.com/webhooks/answer\" }, \"fallback_answer_url\": { \"method\": \"GET\", \"address\": \"https://fallback.example.com/webhooks/answer\" }, \"event_url\": { \"method\": \"POST\", \"address\": \"https://example.com/webhooks/event\" }, } } }, \"keys\": { \"publicKey\": \"-----BEGIN PUBLIC KEY-----\\nMIIBIjANBgkqhkiG9w0BAQEFAAOCA\\nKOxjsU4pf/sMFi9N0jqcSLcjxu33G\\nd/vynKnlw9SENi+UZR44GdjGdmfm1\\ntL1eA7IBh2HNnkYXnAwYzKJoa4eO3\\n0kYWekeIZawIwe/g9faFgkev+1xsO\\nOUNhPx2LhuLmgwWSRS4L5W851Xe3f\\nUQIDAQAB\\n-----END PUBLIC KEY-----\\n\" } }
206
+ * @summary Create a Vonage Application
205
207
  * @param {CreateApplicationCommand} [createApplicationCommand]
206
208
  * @param {*} [options] Override http request option.
207
209
  * @throws {RequiredError}
@@ -281,6 +283,7 @@ export const VonageApplicationsApiFp = function(configuration?: Configuration) {
281
283
  },
282
284
  /**
283
285
  *
286
+ * @summary List Vonage Applications
284
287
  * @param {number} [pageSize]
285
288
  * @param {number} [page]
286
289
  * @param {*} [options] Override http request option.
@@ -291,7 +294,8 @@ export const VonageApplicationsApiFp = function(configuration?: Configuration) {
291
294
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
292
295
  },
293
296
  /**
294
- *
297
+ * Sample request: PUT { \"name\": \"Demo Aplication\", \"capabilities\": { \"voice\": { \"webhooks\": { \"answer_url\": { \"method\": \"GET\", \"address\": \"https://example.com/webhooks/answer\" }, \"fallback_answer_url\": { \"method\": \"GET\", \"address\": \"https://fallback.example.com/webhooks/answer\" }, \"event_url\": { \"method\": \"POST\", \"address\": \"https://example.com/webhooks/event\" }, } } }, \"keys\": { \"publicKey\": \"-----BEGIN PUBLIC KEY-----\\nMIIBIjANBgkqhkiG9w0BAQEFAAOCA\\nKOxjsU4pf/sMFi9N0jqcSLcjxu33G\\nd/vynKnlw9SENi+UZR44GdjGdmfm1\\ntL1eA7IBh2HNnkYXnAwYzKJoa4eO3\\n0kYWekeIZawIwe/g9faFgkev+1xsO\\nOUNhPx2LhuLmgwWSRS4L5W851Xe3f\\nUQIDAQAB\\n-----END PUBLIC KEY-----\\n\" } }
298
+ * @summary Create a Vonage Application
295
299
  * @param {CreateApplicationCommand} [createApplicationCommand]
296
300
  * @param {*} [options] Override http request option.
297
301
  * @throws {RequiredError}
@@ -341,6 +345,7 @@ export const VonageApplicationsApiFactory = function (configuration?: Configurat
341
345
  },
342
346
  /**
343
347
  *
348
+ * @summary List Vonage Applications
344
349
  * @param {number} [pageSize]
345
350
  * @param {number} [page]
346
351
  * @param {*} [options] Override http request option.
@@ -350,7 +355,8 @@ export const VonageApplicationsApiFactory = function (configuration?: Configurat
350
355
  return localVarFp.apiV1VonageapplicationsGet(pageSize, page, options).then((request) => request(axios, basePath));
351
356
  },
352
357
  /**
353
- *
358
+ * Sample request: PUT { \"name\": \"Demo Aplication\", \"capabilities\": { \"voice\": { \"webhooks\": { \"answer_url\": { \"method\": \"GET\", \"address\": \"https://example.com/webhooks/answer\" }, \"fallback_answer_url\": { \"method\": \"GET\", \"address\": \"https://fallback.example.com/webhooks/answer\" }, \"event_url\": { \"method\": \"POST\", \"address\": \"https://example.com/webhooks/event\" }, } } }, \"keys\": { \"publicKey\": \"-----BEGIN PUBLIC KEY-----\\nMIIBIjANBgkqhkiG9w0BAQEFAAOCA\\nKOxjsU4pf/sMFi9N0jqcSLcjxu33G\\nd/vynKnlw9SENi+UZR44GdjGdmfm1\\ntL1eA7IBh2HNnkYXnAwYzKJoa4eO3\\n0kYWekeIZawIwe/g9faFgkev+1xsO\\nOUNhPx2LhuLmgwWSRS4L5W851Xe3f\\nUQIDAQAB\\n-----END PUBLIC KEY-----\\n\" } }
359
+ * @summary Create a Vonage Application
354
360
  * @param {CreateApplicationCommand} [createApplicationCommand]
355
361
  * @param {*} [options] Override http request option.
356
362
  * @throws {RequiredError}
@@ -494,6 +500,7 @@ export class VonageApplicationsApi extends BaseAPI {
494
500
 
495
501
  /**
496
502
  *
503
+ * @summary List Vonage Applications
497
504
  * @param {VonageApplicationsApiApiV1VonageapplicationsGetRequest} requestParameters Request parameters.
498
505
  * @param {*} [options] Override http request option.
499
506
  * @throws {RequiredError}
@@ -504,7 +511,8 @@ export class VonageApplicationsApi extends BaseAPI {
504
511
  }
505
512
 
506
513
  /**
507
- *
514
+ * Sample request: PUT { \"name\": \"Demo Aplication\", \"capabilities\": { \"voice\": { \"webhooks\": { \"answer_url\": { \"method\": \"GET\", \"address\": \"https://example.com/webhooks/answer\" }, \"fallback_answer_url\": { \"method\": \"GET\", \"address\": \"https://fallback.example.com/webhooks/answer\" }, \"event_url\": { \"method\": \"POST\", \"address\": \"https://example.com/webhooks/event\" }, } } }, \"keys\": { \"publicKey\": \"-----BEGIN PUBLIC KEY-----\\nMIIBIjANBgkqhkiG9w0BAQEFAAOCA\\nKOxjsU4pf/sMFi9N0jqcSLcjxu33G\\nd/vynKnlw9SENi+UZR44GdjGdmfm1\\ntL1eA7IBh2HNnkYXnAwYzKJoa4eO3\\n0kYWekeIZawIwe/g9faFgkev+1xsO\\nOUNhPx2LhuLmgwWSRS4L5W851Xe3f\\nUQIDAQAB\\n-----END PUBLIC KEY-----\\n\" } }
515
+ * @summary Create a Vonage Application
508
516
  * @param {VonageApplicationsApiApiV1VonageapplicationsPostRequest} requestParameters Request parameters.
509
517
  * @param {*} [options] Override http request option.
510
518
  * @throws {RequiredError}
@@ -188,7 +188,8 @@ export const VonageNumbersApiAxiosParamCreator = function (configuration?: Confi
188
188
  };
189
189
  },
190
190
  /**
191
- *
191
+ * Sample request: PUT { \"country\": \"US\", \"msisdn\": \"12029195213\", \"appId\": \"5eb86d7e-af64-4b7c-a784-be634b6597de\" }
192
+ * @summary Update number and link to application.
192
193
  * @param {UpdateNumberCommand} [updateNumberCommand]
193
194
  * @param {*} [options] Override http request option.
194
195
  * @throws {RequiredError}
@@ -345,7 +346,8 @@ export const VonageNumbersApiFp = function(configuration?: Configuration) {
345
346
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
346
347
  },
347
348
  /**
348
- *
349
+ * Sample request: PUT { \"country\": \"US\", \"msisdn\": \"12029195213\", \"appId\": \"5eb86d7e-af64-4b7c-a784-be634b6597de\" }
350
+ * @summary Update number and link to application.
349
351
  * @param {UpdateNumberCommand} [updateNumberCommand]
350
352
  * @param {*} [options] Override http request option.
351
353
  * @throws {RequiredError}
@@ -416,7 +418,8 @@ export const VonageNumbersApiFactory = function (configuration?: Configuration,
416
418
  return localVarFp.apiV1VonagenumbersPost(buyNumberCommand, options).then((request) => request(axios, basePath));
417
419
  },
418
420
  /**
419
- *
421
+ * Sample request: PUT { \"country\": \"US\", \"msisdn\": \"12029195213\", \"appId\": \"5eb86d7e-af64-4b7c-a784-be634b6597de\" }
422
+ * @summary Update number and link to application.
420
423
  * @param {UpdateNumberCommand} [updateNumberCommand]
421
424
  * @param {*} [options] Override http request option.
422
425
  * @throws {RequiredError}
@@ -652,7 +655,8 @@ export class VonageNumbersApi extends BaseAPI {
652
655
  }
653
656
 
654
657
  /**
655
- *
658
+ * Sample request: PUT { \"country\": \"US\", \"msisdn\": \"12029195213\", \"appId\": \"5eb86d7e-af64-4b7c-a784-be634b6597de\" }
659
+ * @summary Update number and link to application.
656
660
  * @param {VonageNumbersApiApiV1VonagenumbersPutRequest} requestParameters Request parameters.
657
661
  * @param {*} [options] Override http request option.
658
662
  * @throws {RequiredError}
@@ -21,9 +21,11 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
21
21
  // @ts-ignore
22
22
  import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
23
23
  // @ts-ignore
24
- import { GetUsersResult } from '../models';
24
+ import { ListUsersResult } from '../models';
25
25
  // @ts-ignore
26
26
  import { ProblemDetails } from '../models';
27
+ // @ts-ignore
28
+ import { VonageUser } from '../models';
27
29
  /**
28
30
  * VonageUsersApi - axios parameter creator
29
31
  * @export
@@ -32,10 +34,14 @@ export const VonageUsersApiAxiosParamCreator = function (configuration?: Configu
32
34
  return {
33
35
  /**
34
36
  *
37
+ * @summary Get all Vonage users.
38
+ * @param {number} [pageSize]
39
+ * @param {string} [order]
40
+ * @param {string} [cursor]
35
41
  * @param {*} [options] Override http request option.
36
42
  * @throws {RequiredError}
37
43
  */
38
- apiV1VonageusersGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
44
+ apiV1VonageusersGet: async (pageSize?: number, order?: string, cursor?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
39
45
  const localVarPath = `/api/v1/vonageusers`;
40
46
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
41
47
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -52,6 +58,18 @@ export const VonageUsersApiAxiosParamCreator = function (configuration?: Configu
52
58
  // oauth required
53
59
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
54
60
 
61
+ if (pageSize !== undefined) {
62
+ localVarQueryParameter['PageSize'] = pageSize;
63
+ }
64
+
65
+ if (order !== undefined) {
66
+ localVarQueryParameter['Order'] = order;
67
+ }
68
+
69
+ if (cursor !== undefined) {
70
+ localVarQueryParameter['Cursor'] = cursor;
71
+ }
72
+
55
73
 
56
74
 
57
75
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -65,6 +83,7 @@ export const VonageUsersApiAxiosParamCreator = function (configuration?: Configu
65
83
  },
66
84
  /**
67
85
  *
86
+ * @summary Delete Vonage user.
68
87
  * @param {string} userId
69
88
  * @param {*} [options] Override http request option.
70
89
  * @throws {RequiredError}
@@ -91,6 +110,44 @@ export const VonageUsersApiAxiosParamCreator = function (configuration?: Configu
91
110
 
92
111
 
93
112
 
113
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
114
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
115
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
116
+
117
+ return {
118
+ url: toPathString(localVarUrlObj),
119
+ options: localVarRequestOptions,
120
+ };
121
+ },
122
+ /**
123
+ *
124
+ * @summary Retrieve Vonage user.
125
+ * @param {string} userId
126
+ * @param {*} [options] Override http request option.
127
+ * @throws {RequiredError}
128
+ */
129
+ apiV1VonageusersUserIdGet: async (userId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
130
+ // verify required parameter 'userId' is not null or undefined
131
+ assertParamExists('apiV1VonageusersUserIdGet', 'userId', userId)
132
+ const localVarPath = `/api/v1/vonageusers/{userId}`
133
+ .replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
134
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
135
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
136
+ let baseOptions;
137
+ if (configuration) {
138
+ baseOptions = configuration.baseOptions;
139
+ }
140
+
141
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
142
+ const localVarHeaderParameter = {} as any;
143
+ const localVarQueryParameter = {} as any;
144
+
145
+ // authentication oauth2 required
146
+ // oauth required
147
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
148
+
149
+
150
+
94
151
  setSearchParams(localVarUrlObj, localVarQueryParameter);
95
152
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
96
153
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -112,15 +169,20 @@ export const VonageUsersApiFp = function(configuration?: Configuration) {
112
169
  return {
113
170
  /**
114
171
  *
172
+ * @summary Get all Vonage users.
173
+ * @param {number} [pageSize]
174
+ * @param {string} [order]
175
+ * @param {string} [cursor]
115
176
  * @param {*} [options] Override http request option.
116
177
  * @throws {RequiredError}
117
178
  */
118
- async apiV1VonageusersGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetUsersResult>> {
119
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1VonageusersGet(options);
179
+ async apiV1VonageusersGet(pageSize?: number, order?: string, cursor?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListUsersResult>> {
180
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1VonageusersGet(pageSize, order, cursor, options);
120
181
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
121
182
  },
122
183
  /**
123
184
  *
185
+ * @summary Delete Vonage user.
124
186
  * @param {string} userId
125
187
  * @param {*} [options] Override http request option.
126
188
  * @throws {RequiredError}
@@ -129,6 +191,17 @@ export const VonageUsersApiFp = function(configuration?: Configuration) {
129
191
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1VonageusersUserIdDelete(userId, options);
130
192
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
131
193
  },
194
+ /**
195
+ *
196
+ * @summary Retrieve Vonage user.
197
+ * @param {string} userId
198
+ * @param {*} [options] Override http request option.
199
+ * @throws {RequiredError}
200
+ */
201
+ async apiV1VonageusersUserIdGet(userId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VonageUser>> {
202
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1VonageusersUserIdGet(userId, options);
203
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
204
+ },
132
205
  }
133
206
  };
134
207
 
@@ -141,14 +214,19 @@ export const VonageUsersApiFactory = function (configuration?: Configuration, ba
141
214
  return {
142
215
  /**
143
216
  *
217
+ * @summary Get all Vonage users.
218
+ * @param {number} [pageSize]
219
+ * @param {string} [order]
220
+ * @param {string} [cursor]
144
221
  * @param {*} [options] Override http request option.
145
222
  * @throws {RequiredError}
146
223
  */
147
- apiV1VonageusersGet(options?: any): AxiosPromise<GetUsersResult> {
148
- return localVarFp.apiV1VonageusersGet(options).then((request) => request(axios, basePath));
224
+ apiV1VonageusersGet(pageSize?: number, order?: string, cursor?: string, options?: any): AxiosPromise<ListUsersResult> {
225
+ return localVarFp.apiV1VonageusersGet(pageSize, order, cursor, options).then((request) => request(axios, basePath));
149
226
  },
150
227
  /**
151
228
  *
229
+ * @summary Delete Vonage user.
152
230
  * @param {string} userId
153
231
  * @param {*} [options] Override http request option.
154
232
  * @throws {RequiredError}
@@ -156,9 +234,47 @@ export const VonageUsersApiFactory = function (configuration?: Configuration, ba
156
234
  apiV1VonageusersUserIdDelete(userId: string, options?: any): AxiosPromise<boolean> {
157
235
  return localVarFp.apiV1VonageusersUserIdDelete(userId, options).then((request) => request(axios, basePath));
158
236
  },
237
+ /**
238
+ *
239
+ * @summary Retrieve Vonage user.
240
+ * @param {string} userId
241
+ * @param {*} [options] Override http request option.
242
+ * @throws {RequiredError}
243
+ */
244
+ apiV1VonageusersUserIdGet(userId: string, options?: any): AxiosPromise<VonageUser> {
245
+ return localVarFp.apiV1VonageusersUserIdGet(userId, options).then((request) => request(axios, basePath));
246
+ },
159
247
  };
160
248
  };
161
249
 
250
+ /**
251
+ * Request parameters for apiV1VonageusersGet operation in VonageUsersApi.
252
+ * @export
253
+ * @interface VonageUsersApiApiV1VonageusersGetRequest
254
+ */
255
+ export interface VonageUsersApiApiV1VonageusersGetRequest {
256
+ /**
257
+ *
258
+ * @type {number}
259
+ * @memberof VonageUsersApiApiV1VonageusersGet
260
+ */
261
+ readonly pageSize?: number
262
+
263
+ /**
264
+ *
265
+ * @type {string}
266
+ * @memberof VonageUsersApiApiV1VonageusersGet
267
+ */
268
+ readonly order?: string
269
+
270
+ /**
271
+ *
272
+ * @type {string}
273
+ * @memberof VonageUsersApiApiV1VonageusersGet
274
+ */
275
+ readonly cursor?: string
276
+ }
277
+
162
278
  /**
163
279
  * Request parameters for apiV1VonageusersUserIdDelete operation in VonageUsersApi.
164
280
  * @export
@@ -173,6 +289,20 @@ export interface VonageUsersApiApiV1VonageusersUserIdDeleteRequest {
173
289
  readonly userId: string
174
290
  }
175
291
 
292
+ /**
293
+ * Request parameters for apiV1VonageusersUserIdGet operation in VonageUsersApi.
294
+ * @export
295
+ * @interface VonageUsersApiApiV1VonageusersUserIdGetRequest
296
+ */
297
+ export interface VonageUsersApiApiV1VonageusersUserIdGetRequest {
298
+ /**
299
+ *
300
+ * @type {string}
301
+ * @memberof VonageUsersApiApiV1VonageusersUserIdGet
302
+ */
303
+ readonly userId: string
304
+ }
305
+
176
306
  /**
177
307
  * VonageUsersApi - object-oriented interface
178
308
  * @export
@@ -182,16 +312,19 @@ export interface VonageUsersApiApiV1VonageusersUserIdDeleteRequest {
182
312
  export class VonageUsersApi extends BaseAPI {
183
313
  /**
184
314
  *
315
+ * @summary Get all Vonage users.
316
+ * @param {VonageUsersApiApiV1VonageusersGetRequest} requestParameters Request parameters.
185
317
  * @param {*} [options] Override http request option.
186
318
  * @throws {RequiredError}
187
319
  * @memberof VonageUsersApi
188
320
  */
189
- public apiV1VonageusersGet(options?: AxiosRequestConfig) {
190
- return VonageUsersApiFp(this.configuration).apiV1VonageusersGet(options).then((request) => request(this.axios, this.basePath));
321
+ public apiV1VonageusersGet(requestParameters: VonageUsersApiApiV1VonageusersGetRequest = {}, options?: AxiosRequestConfig) {
322
+ return VonageUsersApiFp(this.configuration).apiV1VonageusersGet(requestParameters.pageSize, requestParameters.order, requestParameters.cursor, options).then((request) => request(this.axios, this.basePath));
191
323
  }
192
324
 
193
325
  /**
194
326
  *
327
+ * @summary Delete Vonage user.
195
328
  * @param {VonageUsersApiApiV1VonageusersUserIdDeleteRequest} requestParameters Request parameters.
196
329
  * @param {*} [options] Override http request option.
197
330
  * @throws {RequiredError}
@@ -200,4 +333,16 @@ export class VonageUsersApi extends BaseAPI {
200
333
  public apiV1VonageusersUserIdDelete(requestParameters: VonageUsersApiApiV1VonageusersUserIdDeleteRequest, options?: AxiosRequestConfig) {
201
334
  return VonageUsersApiFp(this.configuration).apiV1VonageusersUserIdDelete(requestParameters.userId, options).then((request) => request(this.axios, this.basePath));
202
335
  }
336
+
337
+ /**
338
+ *
339
+ * @summary Retrieve Vonage user.
340
+ * @param {VonageUsersApiApiV1VonageusersUserIdGetRequest} requestParameters Request parameters.
341
+ * @param {*} [options] Override http request option.
342
+ * @throws {RequiredError}
343
+ * @memberof VonageUsersApi
344
+ */
345
+ public apiV1VonageusersUserIdGet(requestParameters: VonageUsersApiApiV1VonageusersUserIdGetRequest, options?: AxiosRequestConfig) {
346
+ return VonageUsersApiFp(this.configuration).apiV1VonageusersUserIdGet(requestParameters.userId, options).then((request) => request(this.axios, this.basePath));
347
+ }
203
348
  }
@@ -23,7 +23,6 @@
23
23
  export const AppointmentType = {
24
24
  Hospital: 'Hospital',
25
25
  Doctor: 'Doctor',
26
- Deal: 'Deal',
27
26
  DealPackage: 'DealPackage',
28
27
  HospitalSpecialty: 'HospitalSpecialty',
29
28
  HospitalService: 'HospitalService'
@@ -13,12 +13,6 @@
13
13
  */
14
14
 
15
15
 
16
- // May contain unused imports in some cases
17
- // @ts-ignore
18
- import { AppointmentOptionModel } from './appointment-option-model';
19
- // May contain unused imports in some cases
20
- // @ts-ignore
21
- import { FeatureModel } from './feature-model';
22
16
  // May contain unused imports in some cases
23
17
  // @ts-ignore
24
18
  import { MarketingType } from './marketing-type';
@@ -77,29 +71,11 @@ export interface CreateDealCommand {
77
71
  * @memberof CreateDealCommand
78
72
  */
79
73
  'serviceDuration'?: number;
80
- /**
81
- *
82
- * @type {string}
83
- * @memberof CreateDealCommand
84
- */
85
- 'formUrl'?: string | null;
86
74
  /**
87
75
  *
88
76
  * @type {number}
89
77
  * @memberof CreateDealCommand
90
78
  */
91
79
  'order'?: number;
92
- /**
93
- *
94
- * @type {AppointmentOptionModel}
95
- * @memberof CreateDealCommand
96
- */
97
- 'appointmentOption'?: AppointmentOptionModel;
98
- /**
99
- *
100
- * @type {FeatureModel}
101
- * @memberof CreateDealCommand
102
- */
103
- 'feature'?: FeatureModel;
104
80
  }
105
81
 
@@ -18,9 +18,6 @@
18
18
  import { AppointmentOptionModel } from './appointment-option-model';
19
19
  // May contain unused imports in some cases
20
20
  // @ts-ignore
21
- import { FeatureModel } from './feature-model';
22
- // May contain unused imports in some cases
23
- // @ts-ignore
24
21
  import { MediaModel } from './media-model';
25
22
 
26
23
  /**
@@ -77,12 +74,6 @@ export interface CreateDoctorAffiliationCommand {
77
74
  * @memberof CreateDoctorAffiliationCommand
78
75
  */
79
76
  'customStyle'?: string | null;
80
- /**
81
- *
82
- * @type {string}
83
- * @memberof CreateDoctorAffiliationCommand
84
- */
85
- 'formUrl'?: string | null;
86
77
  /**
87
78
  *
88
79
  * @type {number}
@@ -137,11 +128,5 @@ export interface CreateDoctorAffiliationCommand {
137
128
  * @memberof CreateDoctorAffiliationCommand
138
129
  */
139
130
  'appointmentOption'?: AppointmentOptionModel;
140
- /**
141
- *
142
- * @type {FeatureModel}
143
- * @memberof CreateDoctorAffiliationCommand
144
- */
145
- 'feature'?: FeatureModel;
146
131
  }
147
132
 
@@ -18,10 +18,10 @@
18
18
  import { AppointmentOptionModel } from './appointment-option-model';
19
19
  // May contain unused imports in some cases
20
20
  // @ts-ignore
21
- import { FeatureModel } from './feature-model';
21
+ import { HospitalConsultationOptionModel } from './hospital-consultation-option-model';
22
22
  // May contain unused imports in some cases
23
23
  // @ts-ignore
24
- import { HospitalConsultationOptionModel } from './hospital-consultation-option-model';
24
+ import { HospitalFeatureInputModel } from './hospital-feature-input-model';
25
25
  // May contain unused imports in some cases
26
26
  // @ts-ignore
27
27
  import { LocationModel } from './location-model';
@@ -167,12 +167,6 @@ export interface CreateHospitalCommand {
167
167
  * @memberof CreateHospitalCommand
168
168
  */
169
169
  'paymentEnabled'?: boolean;
170
- /**
171
- *
172
- * @type {string}
173
- * @memberof CreateHospitalCommand
174
- */
175
- 'formUrl'?: string | null;
176
170
  /**
177
171
  *
178
172
  * @type {string}
@@ -199,9 +193,9 @@ export interface CreateHospitalCommand {
199
193
  'appointmentOption'?: AppointmentOptionModel;
200
194
  /**
201
195
  *
202
- * @type {FeatureModel}
196
+ * @type {HospitalFeatureInputModel}
203
197
  * @memberof CreateHospitalCommand
204
198
  */
205
- 'feature'?: FeatureModel;
199
+ 'feature'?: HospitalFeatureInputModel;
206
200
  }
207
201
 
@@ -21,9 +21,6 @@ import { AppointmentOptionModel } from './appointment-option-model';
21
21
  import { AuditableEntity } from './auditable-entity';
22
22
  // May contain unused imports in some cases
23
23
  // @ts-ignore
24
- import { FeatureModel } from './feature-model';
25
- // May contain unused imports in some cases
26
- // @ts-ignore
27
24
  import { MarketingType } from './marketing-type';
28
25
 
29
26
  /**
@@ -110,12 +107,6 @@ export interface DealItemModel {
110
107
  * @memberof DealItemModel
111
108
  */
112
109
  'dealServicesCount'?: number;
113
- /**
114
- *
115
- * @type {string}
116
- * @memberof DealItemModel
117
- */
118
- 'formUrl'?: string | null;
119
110
  /**
120
111
  *
121
112
  * @type {number}
@@ -128,12 +119,6 @@ export interface DealItemModel {
128
119
  * @memberof DealItemModel
129
120
  */
130
121
  'appointmentOption'?: AppointmentOptionModel;
131
- /**
132
- *
133
- * @type {FeatureModel}
134
- * @memberof DealItemModel
135
- */
136
- 'feature'?: FeatureModel;
137
122
  /**
138
123
  *
139
124
  * @type {AuditableEntity}
@@ -21,9 +21,6 @@ import { AppointmentOptionModel } from './appointment-option-model';
21
21
  import { AuditableEntity } from './auditable-entity';
22
22
  // May contain unused imports in some cases
23
23
  // @ts-ignore
24
- import { FeatureModel } from './feature-model';
25
- // May contain unused imports in some cases
26
- // @ts-ignore
27
24
  import { MarketingType } from './marketing-type';
28
25
 
29
26
  /**
@@ -110,12 +107,6 @@ export interface DealModel {
110
107
  * @memberof DealModel
111
108
  */
112
109
  'dealServicesCount'?: number;
113
- /**
114
- *
115
- * @type {string}
116
- * @memberof DealModel
117
- */
118
- 'formUrl'?: string | null;
119
110
  /**
120
111
  *
121
112
  * @type {number}
@@ -128,12 +119,6 @@ export interface DealModel {
128
119
  * @memberof DealModel
129
120
  */
130
121
  'appointmentOption'?: AppointmentOptionModel;
131
- /**
132
- *
133
- * @type {FeatureModel}
134
- * @memberof DealModel
135
- */
136
- 'feature'?: FeatureModel;
137
122
  /**
138
123
  *
139
124
  * @type {AuditableEntity}
@@ -21,9 +21,6 @@ import { AppointmentOptionModel } from './appointment-option-model';
21
21
  import { AuditableEntity } from './auditable-entity';
22
22
  // May contain unused imports in some cases
23
23
  // @ts-ignore
24
- import { FeatureModel } from './feature-model';
25
- // May contain unused imports in some cases
26
- // @ts-ignore
27
24
  import { MarketingType } from './marketing-type';
28
25
 
29
26
  /**
@@ -38,6 +35,12 @@ export interface DoctorAffiliationItemModel {
38
35
  * @memberof DoctorAffiliationItemModel
39
36
  */
40
37
  'id'?: string;
38
+ /**
39
+ *
40
+ * @type {string}
41
+ * @memberof DoctorAffiliationItemModel
42
+ */
43
+ 'languageCode'?: string | null;
41
44
  /**
42
45
  *
43
46
  * @type {string}
@@ -74,12 +77,6 @@ export interface DoctorAffiliationItemModel {
74
77
  * @memberof DoctorAffiliationItemModel
75
78
  */
76
79
  'doctorId'?: string;
77
- /**
78
- *
79
- * @type {string}
80
- * @memberof DoctorAffiliationItemModel
81
- */
82
- 'languageCode'?: string | null;
83
80
  /**
84
81
  *
85
82
  * @type {string}
@@ -122,12 +119,6 @@ export interface DoctorAffiliationItemModel {
122
119
  * @memberof DoctorAffiliationItemModel
123
120
  */
124
121
  'consultationFee'?: number | null;
125
- /**
126
- *
127
- * @type {string}
128
- * @memberof DoctorAffiliationItemModel
129
- */
130
- 'formUrl'?: string | null;
131
122
  /**
132
123
  *
133
124
  * @type {number}
@@ -140,12 +131,6 @@ export interface DoctorAffiliationItemModel {
140
131
  * @memberof DoctorAffiliationItemModel
141
132
  */
142
133
  'appointmentOption'?: AppointmentOptionModel;
143
- /**
144
- *
145
- * @type {FeatureModel}
146
- * @memberof DoctorAffiliationItemModel
147
- */
148
- 'feature'?: FeatureModel;
149
134
  /**
150
135
  *
151
136
  * @type {AuditableEntity}