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
@@ -27,8 +27,6 @@ import { AppointmentTimetablesModel } from '../models';
27
27
  // @ts-ignore
28
28
  import { BatchAppointmentTimetablesResultModel } from '../models';
29
29
  // @ts-ignore
30
- import { BatchDealAppointmentTimetablesCommand } from '../models';
31
- // @ts-ignore
32
30
  import { BatchDealPackageAppointmentTimetablesCommand } from '../models';
33
31
  // @ts-ignore
34
32
  import { CreateDealCommand } from '../models';
@@ -59,8 +57,6 @@ import { ProblemDetails } from '../models';
59
57
  // @ts-ignore
60
58
  import { SaveAppointmentTimetableOverridesResultModel } from '../models';
61
59
  // @ts-ignore
62
- import { SaveDealAppointmentTimetableOverridesCommand } from '../models';
63
- // @ts-ignore
64
60
  import { SaveDealPackageAppointmentTimetableOverridesCommand } from '../models';
65
61
  // @ts-ignore
66
62
  import { UpdateDealCommand } from '../models';
@@ -74,229 +70,6 @@ import { UpdateDealServiceCommand } from '../models';
74
70
  */
75
71
  export const DealsApiAxiosParamCreator = function (configuration?: Configuration) {
76
72
  return {
77
- /**
78
- *
79
- * @summary Get DealAppointment tiemtable overrides
80
- * @param {string} dealId
81
- * @param {boolean} [includesPreviousItems]
82
- * @param {Date} [startDate]
83
- * @param {Date} [endDate]
84
- * @param {DayOfWeek} [dayOfWeek]
85
- * @param {number} [page]
86
- * @param {number} [limit]
87
- * @param {Date} [lastRetrieved]
88
- * @param {*} [options] Override http request option.
89
- * @throws {RequiredError}
90
- */
91
- apiV1DealsDealIdAppointmenttimetableoverridesGet: async (dealId: string, includesPreviousItems?: boolean, startDate?: Date, endDate?: Date, dayOfWeek?: DayOfWeek, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
92
- // verify required parameter 'dealId' is not null or undefined
93
- assertParamExists('apiV1DealsDealIdAppointmenttimetableoverridesGet', 'dealId', dealId)
94
- const localVarPath = `/api/v1/deals/{dealId}/appointmenttimetableoverrides`
95
- .replace(`{${"dealId"}}`, encodeURIComponent(String(dealId)));
96
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
97
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
98
- let baseOptions;
99
- if (configuration) {
100
- baseOptions = configuration.baseOptions;
101
- }
102
-
103
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
104
- const localVarHeaderParameter = {} as any;
105
- const localVarQueryParameter = {} as any;
106
-
107
- // authentication oauth2 required
108
- // oauth required
109
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
110
-
111
- if (includesPreviousItems !== undefined) {
112
- localVarQueryParameter['IncludesPreviousItems'] = includesPreviousItems;
113
- }
114
-
115
- if (startDate !== undefined) {
116
- localVarQueryParameter['StartDate'] = (startDate as any instanceof Date) ?
117
- (startDate as any).toISOString() :
118
- startDate;
119
- }
120
-
121
- if (endDate !== undefined) {
122
- localVarQueryParameter['EndDate'] = (endDate as any instanceof Date) ?
123
- (endDate as any).toISOString() :
124
- endDate;
125
- }
126
-
127
- if (dayOfWeek !== undefined) {
128
- localVarQueryParameter['DayOfWeek'] = dayOfWeek;
129
- }
130
-
131
- if (page !== undefined) {
132
- localVarQueryParameter['page'] = page;
133
- }
134
-
135
- if (limit !== undefined) {
136
- localVarQueryParameter['limit'] = limit;
137
- }
138
-
139
- if (lastRetrieved !== undefined) {
140
- localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
141
- (lastRetrieved as any).toISOString() :
142
- lastRetrieved;
143
- }
144
-
145
-
146
-
147
- setSearchParams(localVarUrlObj, localVarQueryParameter);
148
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
149
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
150
-
151
- return {
152
- url: toPathString(localVarUrlObj),
153
- options: localVarRequestOptions,
154
- };
155
- },
156
- /**
157
- *
158
- * @summary Save Deal appointment timetable overrides
159
- * @param {string} dealId
160
- * @param {SaveDealAppointmentTimetableOverridesCommand} [saveDealAppointmentTimetableOverridesCommand]
161
- * @param {*} [options] Override http request option.
162
- * @throws {RequiredError}
163
- */
164
- apiV1DealsDealIdAppointmenttimetableoverridesPost: async (dealId: string, saveDealAppointmentTimetableOverridesCommand?: SaveDealAppointmentTimetableOverridesCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
165
- // verify required parameter 'dealId' is not null or undefined
166
- assertParamExists('apiV1DealsDealIdAppointmenttimetableoverridesPost', 'dealId', dealId)
167
- const localVarPath = `/api/v1/deals/{dealId}/appointmenttimetableoverrides`
168
- .replace(`{${"dealId"}}`, encodeURIComponent(String(dealId)));
169
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
170
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
171
- let baseOptions;
172
- if (configuration) {
173
- baseOptions = configuration.baseOptions;
174
- }
175
-
176
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
177
- const localVarHeaderParameter = {} as any;
178
- const localVarQueryParameter = {} as any;
179
-
180
- // authentication oauth2 required
181
- // oauth required
182
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
183
-
184
-
185
-
186
- localVarHeaderParameter['Content-Type'] = 'application/json';
187
-
188
- setSearchParams(localVarUrlObj, localVarQueryParameter);
189
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
190
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
191
- localVarRequestOptions.data = serializeDataIfNeeded(saveDealAppointmentTimetableOverridesCommand, localVarRequestOptions, configuration)
192
-
193
- return {
194
- url: toPathString(localVarUrlObj),
195
- options: localVarRequestOptions,
196
- };
197
- },
198
- /**
199
- *
200
- * @summary Add, update and delete deal appointment timetable
201
- * @param {string} dealId
202
- * @param {BatchDealAppointmentTimetablesCommand} [batchDealAppointmentTimetablesCommand]
203
- * @param {*} [options] Override http request option.
204
- * @throws {RequiredError}
205
- */
206
- apiV1DealsDealIdAppointmenttimetablesBatchPost: async (dealId: string, batchDealAppointmentTimetablesCommand?: BatchDealAppointmentTimetablesCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
207
- // verify required parameter 'dealId' is not null or undefined
208
- assertParamExists('apiV1DealsDealIdAppointmenttimetablesBatchPost', 'dealId', dealId)
209
- const localVarPath = `/api/v1/deals/{dealId}/appointmenttimetables/batch`
210
- .replace(`{${"dealId"}}`, encodeURIComponent(String(dealId)));
211
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
212
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
213
- let baseOptions;
214
- if (configuration) {
215
- baseOptions = configuration.baseOptions;
216
- }
217
-
218
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
219
- const localVarHeaderParameter = {} as any;
220
- const localVarQueryParameter = {} as any;
221
-
222
- // authentication oauth2 required
223
- // oauth required
224
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
225
-
226
-
227
-
228
- localVarHeaderParameter['Content-Type'] = 'application/json';
229
-
230
- setSearchParams(localVarUrlObj, localVarQueryParameter);
231
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
232
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
233
- localVarRequestOptions.data = serializeDataIfNeeded(batchDealAppointmentTimetablesCommand, localVarRequestOptions, configuration)
234
-
235
- return {
236
- url: toPathString(localVarUrlObj),
237
- options: localVarRequestOptions,
238
- };
239
- },
240
- /**
241
- *
242
- * @summary Get deal appointment timetables
243
- * @param {string} dealId
244
- * @param {DayOfWeek} [dayOfWeek]
245
- * @param {number} [page]
246
- * @param {number} [limit]
247
- * @param {Date} [lastRetrieved]
248
- * @param {*} [options] Override http request option.
249
- * @throws {RequiredError}
250
- */
251
- apiV1DealsDealIdAppointmenttimetablesGet: async (dealId: string, dayOfWeek?: DayOfWeek, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
252
- // verify required parameter 'dealId' is not null or undefined
253
- assertParamExists('apiV1DealsDealIdAppointmenttimetablesGet', 'dealId', dealId)
254
- const localVarPath = `/api/v1/deals/{dealId}/appointmenttimetables`
255
- .replace(`{${"dealId"}}`, encodeURIComponent(String(dealId)));
256
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
257
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
258
- let baseOptions;
259
- if (configuration) {
260
- baseOptions = configuration.baseOptions;
261
- }
262
-
263
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
264
- const localVarHeaderParameter = {} as any;
265
- const localVarQueryParameter = {} as any;
266
-
267
- // authentication oauth2 required
268
- // oauth required
269
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
270
-
271
- if (dayOfWeek !== undefined) {
272
- localVarQueryParameter['DayOfWeek'] = dayOfWeek;
273
- }
274
-
275
- if (page !== undefined) {
276
- localVarQueryParameter['page'] = page;
277
- }
278
-
279
- if (limit !== undefined) {
280
- localVarQueryParameter['limit'] = limit;
281
- }
282
-
283
- if (lastRetrieved !== undefined) {
284
- localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
285
- (lastRetrieved as any).toISOString() :
286
- lastRetrieved;
287
- }
288
-
289
-
290
-
291
- setSearchParams(localVarUrlObj, localVarQueryParameter);
292
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
293
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
294
-
295
- return {
296
- url: toPathString(localVarUrlObj),
297
- options: localVarRequestOptions,
298
- };
299
- },
300
73
  /**
301
74
  *
302
75
  * @summary Delete deal.
@@ -1609,63 +1382,6 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
1609
1382
  export const DealsApiFp = function(configuration?: Configuration) {
1610
1383
  const localVarAxiosParamCreator = DealsApiAxiosParamCreator(configuration)
1611
1384
  return {
1612
- /**
1613
- *
1614
- * @summary Get DealAppointment tiemtable overrides
1615
- * @param {string} dealId
1616
- * @param {boolean} [includesPreviousItems]
1617
- * @param {Date} [startDate]
1618
- * @param {Date} [endDate]
1619
- * @param {DayOfWeek} [dayOfWeek]
1620
- * @param {number} [page]
1621
- * @param {number} [limit]
1622
- * @param {Date} [lastRetrieved]
1623
- * @param {*} [options] Override http request option.
1624
- * @throws {RequiredError}
1625
- */
1626
- async apiV1DealsDealIdAppointmenttimetableoverridesGet(dealId: string, includesPreviousItems?: boolean, startDate?: Date, endDate?: Date, dayOfWeek?: DayOfWeek, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AppointmentTimetableOverridesModel>> {
1627
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DealsDealIdAppointmenttimetableoverridesGet(dealId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options);
1628
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1629
- },
1630
- /**
1631
- *
1632
- * @summary Save Deal appointment timetable overrides
1633
- * @param {string} dealId
1634
- * @param {SaveDealAppointmentTimetableOverridesCommand} [saveDealAppointmentTimetableOverridesCommand]
1635
- * @param {*} [options] Override http request option.
1636
- * @throws {RequiredError}
1637
- */
1638
- async apiV1DealsDealIdAppointmenttimetableoverridesPost(dealId: string, saveDealAppointmentTimetableOverridesCommand?: SaveDealAppointmentTimetableOverridesCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SaveAppointmentTimetableOverridesResultModel>> {
1639
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DealsDealIdAppointmenttimetableoverridesPost(dealId, saveDealAppointmentTimetableOverridesCommand, options);
1640
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1641
- },
1642
- /**
1643
- *
1644
- * @summary Add, update and delete deal appointment timetable
1645
- * @param {string} dealId
1646
- * @param {BatchDealAppointmentTimetablesCommand} [batchDealAppointmentTimetablesCommand]
1647
- * @param {*} [options] Override http request option.
1648
- * @throws {RequiredError}
1649
- */
1650
- async apiV1DealsDealIdAppointmenttimetablesBatchPost(dealId: string, batchDealAppointmentTimetablesCommand?: BatchDealAppointmentTimetablesCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BatchAppointmentTimetablesResultModel>> {
1651
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DealsDealIdAppointmenttimetablesBatchPost(dealId, batchDealAppointmentTimetablesCommand, options);
1652
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1653
- },
1654
- /**
1655
- *
1656
- * @summary Get deal appointment timetables
1657
- * @param {string} dealId
1658
- * @param {DayOfWeek} [dayOfWeek]
1659
- * @param {number} [page]
1660
- * @param {number} [limit]
1661
- * @param {Date} [lastRetrieved]
1662
- * @param {*} [options] Override http request option.
1663
- * @throws {RequiredError}
1664
- */
1665
- async apiV1DealsDealIdAppointmenttimetablesGet(dealId: string, dayOfWeek?: DayOfWeek, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AppointmentTimetablesModel>> {
1666
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DealsDealIdAppointmenttimetablesGet(dealId, dayOfWeek, page, limit, lastRetrieved, options);
1667
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1668
- },
1669
1385
  /**
1670
1386
  *
1671
1387
  * @summary Delete deal.
@@ -2011,59 +1727,6 @@ export const DealsApiFp = function(configuration?: Configuration) {
2011
1727
  export const DealsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
2012
1728
  const localVarFp = DealsApiFp(configuration)
2013
1729
  return {
2014
- /**
2015
- *
2016
- * @summary Get DealAppointment tiemtable overrides
2017
- * @param {string} dealId
2018
- * @param {boolean} [includesPreviousItems]
2019
- * @param {Date} [startDate]
2020
- * @param {Date} [endDate]
2021
- * @param {DayOfWeek} [dayOfWeek]
2022
- * @param {number} [page]
2023
- * @param {number} [limit]
2024
- * @param {Date} [lastRetrieved]
2025
- * @param {*} [options] Override http request option.
2026
- * @throws {RequiredError}
2027
- */
2028
- apiV1DealsDealIdAppointmenttimetableoverridesGet(dealId: string, includesPreviousItems?: boolean, startDate?: Date, endDate?: Date, dayOfWeek?: DayOfWeek, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<AppointmentTimetableOverridesModel> {
2029
- return localVarFp.apiV1DealsDealIdAppointmenttimetableoverridesGet(dealId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
2030
- },
2031
- /**
2032
- *
2033
- * @summary Save Deal appointment timetable overrides
2034
- * @param {string} dealId
2035
- * @param {SaveDealAppointmentTimetableOverridesCommand} [saveDealAppointmentTimetableOverridesCommand]
2036
- * @param {*} [options] Override http request option.
2037
- * @throws {RequiredError}
2038
- */
2039
- apiV1DealsDealIdAppointmenttimetableoverridesPost(dealId: string, saveDealAppointmentTimetableOverridesCommand?: SaveDealAppointmentTimetableOverridesCommand, options?: any): AxiosPromise<SaveAppointmentTimetableOverridesResultModel> {
2040
- return localVarFp.apiV1DealsDealIdAppointmenttimetableoverridesPost(dealId, saveDealAppointmentTimetableOverridesCommand, options).then((request) => request(axios, basePath));
2041
- },
2042
- /**
2043
- *
2044
- * @summary Add, update and delete deal appointment timetable
2045
- * @param {string} dealId
2046
- * @param {BatchDealAppointmentTimetablesCommand} [batchDealAppointmentTimetablesCommand]
2047
- * @param {*} [options] Override http request option.
2048
- * @throws {RequiredError}
2049
- */
2050
- apiV1DealsDealIdAppointmenttimetablesBatchPost(dealId: string, batchDealAppointmentTimetablesCommand?: BatchDealAppointmentTimetablesCommand, options?: any): AxiosPromise<BatchAppointmentTimetablesResultModel> {
2051
- return localVarFp.apiV1DealsDealIdAppointmenttimetablesBatchPost(dealId, batchDealAppointmentTimetablesCommand, options).then((request) => request(axios, basePath));
2052
- },
2053
- /**
2054
- *
2055
- * @summary Get deal appointment timetables
2056
- * @param {string} dealId
2057
- * @param {DayOfWeek} [dayOfWeek]
2058
- * @param {number} [page]
2059
- * @param {number} [limit]
2060
- * @param {Date} [lastRetrieved]
2061
- * @param {*} [options] Override http request option.
2062
- * @throws {RequiredError}
2063
- */
2064
- apiV1DealsDealIdAppointmenttimetablesGet(dealId: string, dayOfWeek?: DayOfWeek, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<AppointmentTimetablesModel> {
2065
- return localVarFp.apiV1DealsDealIdAppointmenttimetablesGet(dealId, dayOfWeek, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
2066
- },
2067
1730
  /**
2068
1731
  *
2069
1732
  * @summary Delete deal.
@@ -2380,153 +2043,6 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
2380
2043
  };
2381
2044
  };
2382
2045
 
2383
- /**
2384
- * Request parameters for apiV1DealsDealIdAppointmenttimetableoverridesGet operation in DealsApi.
2385
- * @export
2386
- * @interface DealsApiApiV1DealsDealIdAppointmenttimetableoverridesGetRequest
2387
- */
2388
- export interface DealsApiApiV1DealsDealIdAppointmenttimetableoverridesGetRequest {
2389
- /**
2390
- *
2391
- * @type {string}
2392
- * @memberof DealsApiApiV1DealsDealIdAppointmenttimetableoverridesGet
2393
- */
2394
- readonly dealId: string
2395
-
2396
- /**
2397
- *
2398
- * @type {boolean}
2399
- * @memberof DealsApiApiV1DealsDealIdAppointmenttimetableoverridesGet
2400
- */
2401
- readonly includesPreviousItems?: boolean
2402
-
2403
- /**
2404
- *
2405
- * @type {Date}
2406
- * @memberof DealsApiApiV1DealsDealIdAppointmenttimetableoverridesGet
2407
- */
2408
- readonly startDate?: Date
2409
-
2410
- /**
2411
- *
2412
- * @type {Date}
2413
- * @memberof DealsApiApiV1DealsDealIdAppointmenttimetableoverridesGet
2414
- */
2415
- readonly endDate?: Date
2416
-
2417
- /**
2418
- *
2419
- * @type {DayOfWeek}
2420
- * @memberof DealsApiApiV1DealsDealIdAppointmenttimetableoverridesGet
2421
- */
2422
- readonly dayOfWeek?: DayOfWeek
2423
-
2424
- /**
2425
- *
2426
- * @type {number}
2427
- * @memberof DealsApiApiV1DealsDealIdAppointmenttimetableoverridesGet
2428
- */
2429
- readonly page?: number
2430
-
2431
- /**
2432
- *
2433
- * @type {number}
2434
- * @memberof DealsApiApiV1DealsDealIdAppointmenttimetableoverridesGet
2435
- */
2436
- readonly limit?: number
2437
-
2438
- /**
2439
- *
2440
- * @type {Date}
2441
- * @memberof DealsApiApiV1DealsDealIdAppointmenttimetableoverridesGet
2442
- */
2443
- readonly lastRetrieved?: Date
2444
- }
2445
-
2446
- /**
2447
- * Request parameters for apiV1DealsDealIdAppointmenttimetableoverridesPost operation in DealsApi.
2448
- * @export
2449
- * @interface DealsApiApiV1DealsDealIdAppointmenttimetableoverridesPostRequest
2450
- */
2451
- export interface DealsApiApiV1DealsDealIdAppointmenttimetableoverridesPostRequest {
2452
- /**
2453
- *
2454
- * @type {string}
2455
- * @memberof DealsApiApiV1DealsDealIdAppointmenttimetableoverridesPost
2456
- */
2457
- readonly dealId: string
2458
-
2459
- /**
2460
- *
2461
- * @type {SaveDealAppointmentTimetableOverridesCommand}
2462
- * @memberof DealsApiApiV1DealsDealIdAppointmenttimetableoverridesPost
2463
- */
2464
- readonly saveDealAppointmentTimetableOverridesCommand?: SaveDealAppointmentTimetableOverridesCommand
2465
- }
2466
-
2467
- /**
2468
- * Request parameters for apiV1DealsDealIdAppointmenttimetablesBatchPost operation in DealsApi.
2469
- * @export
2470
- * @interface DealsApiApiV1DealsDealIdAppointmenttimetablesBatchPostRequest
2471
- */
2472
- export interface DealsApiApiV1DealsDealIdAppointmenttimetablesBatchPostRequest {
2473
- /**
2474
- *
2475
- * @type {string}
2476
- * @memberof DealsApiApiV1DealsDealIdAppointmenttimetablesBatchPost
2477
- */
2478
- readonly dealId: string
2479
-
2480
- /**
2481
- *
2482
- * @type {BatchDealAppointmentTimetablesCommand}
2483
- * @memberof DealsApiApiV1DealsDealIdAppointmenttimetablesBatchPost
2484
- */
2485
- readonly batchDealAppointmentTimetablesCommand?: BatchDealAppointmentTimetablesCommand
2486
- }
2487
-
2488
- /**
2489
- * Request parameters for apiV1DealsDealIdAppointmenttimetablesGet operation in DealsApi.
2490
- * @export
2491
- * @interface DealsApiApiV1DealsDealIdAppointmenttimetablesGetRequest
2492
- */
2493
- export interface DealsApiApiV1DealsDealIdAppointmenttimetablesGetRequest {
2494
- /**
2495
- *
2496
- * @type {string}
2497
- * @memberof DealsApiApiV1DealsDealIdAppointmenttimetablesGet
2498
- */
2499
- readonly dealId: string
2500
-
2501
- /**
2502
- *
2503
- * @type {DayOfWeek}
2504
- * @memberof DealsApiApiV1DealsDealIdAppointmenttimetablesGet
2505
- */
2506
- readonly dayOfWeek?: DayOfWeek
2507
-
2508
- /**
2509
- *
2510
- * @type {number}
2511
- * @memberof DealsApiApiV1DealsDealIdAppointmenttimetablesGet
2512
- */
2513
- readonly page?: number
2514
-
2515
- /**
2516
- *
2517
- * @type {number}
2518
- * @memberof DealsApiApiV1DealsDealIdAppointmenttimetablesGet
2519
- */
2520
- readonly limit?: number
2521
-
2522
- /**
2523
- *
2524
- * @type {Date}
2525
- * @memberof DealsApiApiV1DealsDealIdAppointmenttimetablesGet
2526
- */
2527
- readonly lastRetrieved?: Date
2528
- }
2529
-
2530
2046
  /**
2531
2047
  * Request parameters for apiV1DealsDealIdDelete operation in DealsApi.
2532
2048
  * @export
@@ -3493,54 +3009,6 @@ export interface DealsApiApiV1DealsSlugGetRequest {
3493
3009
  * @extends {BaseAPI}
3494
3010
  */
3495
3011
  export class DealsApi extends BaseAPI {
3496
- /**
3497
- *
3498
- * @summary Get DealAppointment tiemtable overrides
3499
- * @param {DealsApiApiV1DealsDealIdAppointmenttimetableoverridesGetRequest} requestParameters Request parameters.
3500
- * @param {*} [options] Override http request option.
3501
- * @throws {RequiredError}
3502
- * @memberof DealsApi
3503
- */
3504
- public apiV1DealsDealIdAppointmenttimetableoverridesGet(requestParameters: DealsApiApiV1DealsDealIdAppointmenttimetableoverridesGetRequest, options?: AxiosRequestConfig) {
3505
- return DealsApiFp(this.configuration).apiV1DealsDealIdAppointmenttimetableoverridesGet(requestParameters.dealId, requestParameters.includesPreviousItems, requestParameters.startDate, requestParameters.endDate, requestParameters.dayOfWeek, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
3506
- }
3507
-
3508
- /**
3509
- *
3510
- * @summary Save Deal appointment timetable overrides
3511
- * @param {DealsApiApiV1DealsDealIdAppointmenttimetableoverridesPostRequest} requestParameters Request parameters.
3512
- * @param {*} [options] Override http request option.
3513
- * @throws {RequiredError}
3514
- * @memberof DealsApi
3515
- */
3516
- public apiV1DealsDealIdAppointmenttimetableoverridesPost(requestParameters: DealsApiApiV1DealsDealIdAppointmenttimetableoverridesPostRequest, options?: AxiosRequestConfig) {
3517
- return DealsApiFp(this.configuration).apiV1DealsDealIdAppointmenttimetableoverridesPost(requestParameters.dealId, requestParameters.saveDealAppointmentTimetableOverridesCommand, options).then((request) => request(this.axios, this.basePath));
3518
- }
3519
-
3520
- /**
3521
- *
3522
- * @summary Add, update and delete deal appointment timetable
3523
- * @param {DealsApiApiV1DealsDealIdAppointmenttimetablesBatchPostRequest} requestParameters Request parameters.
3524
- * @param {*} [options] Override http request option.
3525
- * @throws {RequiredError}
3526
- * @memberof DealsApi
3527
- */
3528
- public apiV1DealsDealIdAppointmenttimetablesBatchPost(requestParameters: DealsApiApiV1DealsDealIdAppointmenttimetablesBatchPostRequest, options?: AxiosRequestConfig) {
3529
- return DealsApiFp(this.configuration).apiV1DealsDealIdAppointmenttimetablesBatchPost(requestParameters.dealId, requestParameters.batchDealAppointmentTimetablesCommand, options).then((request) => request(this.axios, this.basePath));
3530
- }
3531
-
3532
- /**
3533
- *
3534
- * @summary Get deal appointment timetables
3535
- * @param {DealsApiApiV1DealsDealIdAppointmenttimetablesGetRequest} requestParameters Request parameters.
3536
- * @param {*} [options] Override http request option.
3537
- * @throws {RequiredError}
3538
- * @memberof DealsApi
3539
- */
3540
- public apiV1DealsDealIdAppointmenttimetablesGet(requestParameters: DealsApiApiV1DealsDealIdAppointmenttimetablesGetRequest, options?: AxiosRequestConfig) {
3541
- return DealsApiFp(this.configuration).apiV1DealsDealIdAppointmenttimetablesGet(requestParameters.dealId, requestParameters.dayOfWeek, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
3542
- }
3543
-
3544
3012
  /**
3545
3013
  *
3546
3014
  * @summary Delete deal.