ch-admin-api-client-typescript 5.4.5 → 5.4.7
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/deals-api.d.ts +0 -303
- package/lib/api/deals-api.d.ts.map +1 -1
- package/lib/api/deals-api.js +0 -424
- package/lib/api/survey-forms-api.d.ts +12 -3
- package/lib/api/survey-forms-api.d.ts.map +1 -1
- package/lib/api/survey-forms-api.js +12 -6
- package/lib/api/vonage-accounts-api.d.ts +220 -129
- package/lib/api/vonage-accounts-api.d.ts.map +1 -1
- package/lib/api/vonage-accounts-api.js +309 -178
- package/lib/api/vonage-applications-api.d.ts +12 -4
- package/lib/api/vonage-applications-api.d.ts.map +1 -1
- package/lib/api/vonage-applications-api.js +12 -4
- package/lib/api/vonage-numbers-api.d.ts +8 -4
- package/lib/api/vonage-numbers-api.d.ts.map +1 -1
- package/lib/api/vonage-numbers-api.js +8 -4
- package/lib/api/vonage-users-api.d.ts +95 -5
- package/lib/api/vonage-users-api.d.ts.map +1 -1
- package/lib/api/vonage-users-api.js +120 -7
- package/lib/models/appointment-type.d.ts +0 -1
- package/lib/models/appointment-type.d.ts.map +1 -1
- package/lib/models/appointment-type.js +0 -1
- package/lib/models/create-deal-command.d.ts +0 -20
- package/lib/models/create-deal-command.d.ts.map +1 -1
- package/lib/models/create-doctor-affiliation-command.d.ts +0 -13
- package/lib/models/create-doctor-affiliation-command.d.ts.map +1 -1
- package/lib/models/create-hospital-command.d.ts +3 -9
- package/lib/models/create-hospital-command.d.ts.map +1 -1
- package/lib/models/deal-item-model.d.ts +0 -13
- package/lib/models/deal-item-model.d.ts.map +1 -1
- package/lib/models/deal-model.d.ts +0 -13
- package/lib/models/deal-model.d.ts.map +1 -1
- package/lib/models/doctor-affiliation-item-model.d.ts +6 -19
- package/lib/models/doctor-affiliation-item-model.d.ts.map +1 -1
- package/lib/models/doctor-affiliation-model.d.ts +6 -19
- package/lib/models/doctor-affiliation-model.d.ts.map +1 -1
- package/lib/models/hospital-domain-input-model.d.ts +50 -0
- package/lib/models/hospital-domain-input-model.d.ts.map +1 -0
- package/lib/models/hospital-domain-model.d.ts +50 -0
- package/lib/models/hospital-domain-model.d.ts.map +1 -0
- package/lib/models/hospital-feature-detail-input-model.d.ts +49 -0
- package/lib/models/hospital-feature-detail-input-model.d.ts.map +1 -0
- package/lib/models/hospital-feature-detail-model.d.ts +56 -0
- package/lib/models/hospital-feature-detail-model.d.ts.map +1 -0
- package/lib/models/hospital-feature-input-model.d.ts +32 -0
- package/lib/models/hospital-feature-input-model.d.ts.map +1 -0
- package/lib/models/{feature-model.d.ts → hospital-feature-model.d.ts} +10 -15
- package/lib/models/hospital-feature-model.d.ts.map +1 -0
- package/lib/models/hospital-item-model.d.ts +28 -4
- package/lib/models/hospital-item-model.d.ts.map +1 -1
- package/lib/models/hospital-model.d.ts +28 -4
- package/lib/models/hospital-model.d.ts.map +1 -1
- package/lib/models/index.d.ts +12 -8
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +12 -8
- package/lib/models/links.d.ts +19 -9
- package/lib/models/links.d.ts.map +1 -1
- package/lib/models/{get-users-result-embedded.d.ts → list-users-result-embedded.d.ts} +4 -4
- package/lib/models/list-users-result-embedded.d.ts.map +1 -0
- package/lib/models/{get-users-result.d.ts → list-users-result.d.ts} +10 -10
- package/lib/models/list-users-result.d.ts.map +1 -0
- package/lib/models/notification-code.d.ts +2 -0
- package/lib/models/notification-code.d.ts.map +1 -1
- package/lib/models/notification-code.js +2 -0
- package/lib/models/survey-form-model.d.ts +6 -0
- package/lib/models/survey-form-model.d.ts.map +1 -1
- package/lib/models/survey-form-simple-mapping-model.d.ts +39 -0
- package/lib/models/survey-form-simple-mapping-model.d.ts.map +1 -0
- package/lib/models/survey-form-simple-mapping-model.js +15 -0
- package/lib/models/transfer-number-command.d.ts +43 -0
- package/lib/models/transfer-number-command.d.ts.map +1 -0
- package/lib/models/transfer-number-command.js +15 -0
- package/lib/models/transfer-number-result.d.ts +49 -0
- package/lib/models/transfer-number-result.d.ts.map +1 -0
- package/lib/models/transfer-number-result.js +15 -0
- package/lib/models/translation-simple-model.d.ts +55 -0
- package/lib/models/translation-simple-model.d.ts.map +1 -0
- package/lib/models/translation-simple-model.js +15 -0
- package/lib/models/update-deal-command.d.ts +0 -20
- package/lib/models/update-deal-command.d.ts.map +1 -1
- package/lib/models/update-doctor-affiliation-command.d.ts +0 -13
- package/lib/models/update-doctor-affiliation-command.d.ts.map +1 -1
- package/lib/models/update-hospital-command.d.ts +3 -9
- package/lib/models/update-hospital-command.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +12 -8
- package/src/api/deals-api.ts +0 -532
- package/src/api/survey-forms-api.ts +20 -6
- package/src/api/vonage-accounts-api.ts +354 -227
- package/src/api/vonage-applications-api.ts +12 -4
- package/src/api/vonage-numbers-api.ts +8 -4
- package/src/api/vonage-users-api.ts +153 -8
- package/src/models/appointment-type.ts +0 -1
- package/src/models/create-deal-command.ts +0 -24
- package/src/models/create-doctor-affiliation-command.ts +0 -15
- package/src/models/create-hospital-command.ts +4 -10
- package/src/models/deal-item-model.ts +0 -15
- package/src/models/deal-model.ts +0 -15
- package/src/models/doctor-affiliation-item-model.ts +6 -21
- package/src/models/doctor-affiliation-model.ts +6 -21
- package/src/models/hospital-domain-input-model.ts +57 -0
- package/src/models/hospital-domain-model.ts +57 -0
- package/src/models/hospital-feature-detail-input-model.ts +54 -0
- package/src/models/hospital-feature-detail-model.ts +63 -0
- package/src/models/hospital-feature-input-model.ts +39 -0
- package/src/models/{save-deal-appointment-timetable-overrides-command.ts → hospital-feature-model.ts} +12 -6
- package/src/models/hospital-item-model.ts +30 -6
- package/src/models/hospital-model.ts +30 -6
- package/src/models/index.ts +12 -8
- package/src/models/links.ts +19 -13
- package/src/models/{get-users-result-embedded.ts → list-users-result-embedded.ts} +3 -3
- package/src/models/{get-users-result.ts → list-users-result.ts} +10 -10
- package/src/models/notification-code.ts +2 -0
- package/src/models/survey-form-model.ts +6 -0
- package/src/models/survey-form-simple-mapping-model.ts +48 -0
- package/src/models/{feature-model.ts → transfer-number-command.ts} +17 -11
- package/src/models/transfer-number-result.ts +54 -0
- package/src/models/translation-simple-model.ts +60 -0
- package/src/models/update-deal-command.ts +0 -24
- package/src/models/update-doctor-affiliation-command.ts +0 -15
- package/src/models/update-hospital-command.ts +4 -10
- package/lib/models/batch-deal-appointment-timetables-command.d.ts +0 -39
- package/lib/models/batch-deal-appointment-timetables-command.d.ts.map +0 -1
- package/lib/models/feature-model.d.ts.map +0 -1
- package/lib/models/first.d.ts +0 -25
- package/lib/models/first.d.ts.map +0 -1
- package/lib/models/get-users-result-embedded.d.ts.map +0 -1
- package/lib/models/get-users-result.d.ts.map +0 -1
- package/lib/models/last.d.ts +0 -25
- package/lib/models/last.d.ts.map +0 -1
- package/lib/models/save-deal-appointment-timetable-overrides-command.d.ts +0 -26
- package/lib/models/save-deal-appointment-timetable-overrides-command.d.ts.map +0 -1
- package/lib/models/self.d.ts +0 -25
- package/lib/models/self.d.ts.map +0 -1
- package/src/models/batch-deal-appointment-timetables-command.ts +0 -48
- package/src/models/first.ts +0 -30
- package/src/models/last.ts +0 -30
- package/src/models/self.ts +0 -30
- /package/lib/models/{batch-deal-appointment-timetables-command.js → hospital-domain-input-model.js} +0 -0
- /package/lib/models/{feature-model.js → hospital-domain-model.js} +0 -0
- /package/lib/models/{first.js → hospital-feature-detail-input-model.js} +0 -0
- /package/lib/models/{get-users-result-embedded.js → hospital-feature-detail-model.js} +0 -0
- /package/lib/models/{get-users-result.js → hospital-feature-input-model.js} +0 -0
- /package/lib/models/{last.js → hospital-feature-model.js} +0 -0
- /package/lib/models/{save-deal-appointment-timetable-overrides-command.js → list-users-result-embedded.js} +0 -0
- /package/lib/models/{self.js → list-users-result.js} +0 -0
|
@@ -104,7 +104,6 @@ models/balance.ts
|
|
|
104
104
|
models/batch-add-appointment-timetable-model.ts
|
|
105
105
|
models/batch-add-hospital-consultation-timetable-model.ts
|
|
106
106
|
models/batch-appointment-timetables-result-model.ts
|
|
107
|
-
models/batch-deal-appointment-timetables-command.ts
|
|
108
107
|
models/batch-deal-package-appointment-timetables-command.ts
|
|
109
108
|
models/batch-doctor-affiliation-appointment-timetables-command.ts
|
|
110
109
|
models/batch-hospital-appointment-timetables-command.ts
|
|
@@ -257,14 +256,10 @@ models/faq-tag-item-model.ts
|
|
|
257
256
|
models/faq-tag-model.ts
|
|
258
257
|
models/faq-tags-model.ts
|
|
259
258
|
models/faqs-model.ts
|
|
260
|
-
models/feature-model.ts
|
|
261
|
-
models/first.ts
|
|
262
259
|
models/footer-navigation-item-model.ts
|
|
263
260
|
models/gender.ts
|
|
264
261
|
models/get-transfer-balance-embeded.ts
|
|
265
262
|
models/get-transfer-balance-result.ts
|
|
266
|
-
models/get-users-result-embedded.ts
|
|
267
|
-
models/get-users-result.ts
|
|
268
263
|
models/grade-item-model.ts
|
|
269
264
|
models/grade-model.ts
|
|
270
265
|
models/grade-targets.ts
|
|
@@ -286,12 +281,18 @@ models/hospital-consultation-timetables-model.ts
|
|
|
286
281
|
models/hospital-contact-item-model.ts
|
|
287
282
|
models/hospital-contact-model.ts
|
|
288
283
|
models/hospital-contacts-model.ts
|
|
284
|
+
models/hospital-domain-input-model.ts
|
|
285
|
+
models/hospital-domain-model.ts
|
|
289
286
|
models/hospital-equipment-item-model.ts
|
|
290
287
|
models/hospital-equipment-model.ts
|
|
291
288
|
models/hospital-equipments-model.ts
|
|
292
289
|
models/hospital-evaluation-item-model.ts
|
|
293
290
|
models/hospital-evaluation-model.ts
|
|
294
291
|
models/hospital-evaluations-model.ts
|
|
292
|
+
models/hospital-feature-detail-input-model.ts
|
|
293
|
+
models/hospital-feature-detail-model.ts
|
|
294
|
+
models/hospital-feature-input-model.ts
|
|
295
|
+
models/hospital-feature-model.ts
|
|
295
296
|
models/hospital-item-model.ts
|
|
296
297
|
models/hospital-language-item-model.ts
|
|
297
298
|
models/hospital-languages-model.ts
|
|
@@ -319,10 +320,11 @@ models/landings-model.ts
|
|
|
319
320
|
models/language-item-model.ts
|
|
320
321
|
models/language-model.ts
|
|
321
322
|
models/languages-model.ts
|
|
322
|
-
models/last.ts
|
|
323
323
|
models/leaved-group-channels-model.ts
|
|
324
324
|
models/link.ts
|
|
325
325
|
models/links.ts
|
|
326
|
+
models/list-users-result-embedded.ts
|
|
327
|
+
models/list-users-result.ts
|
|
326
328
|
models/localized-url-model.ts
|
|
327
329
|
models/location-model.ts
|
|
328
330
|
models/manager-affiliation-item-model.ts
|
|
@@ -382,7 +384,6 @@ models/review-type.ts
|
|
|
382
384
|
models/rtc.ts
|
|
383
385
|
models/save-appointment-timetable-override-model.ts
|
|
384
386
|
models/save-appointment-timetable-overrides-result-model.ts
|
|
385
|
-
models/save-deal-appointment-timetable-overrides-command.ts
|
|
386
387
|
models/save-deal-package-appointment-timetable-overrides-command.ts
|
|
387
388
|
models/save-doctor-affiliation-appointment-timetable-overrides-command.ts
|
|
388
389
|
models/save-footer-navigation-item-model.ts
|
|
@@ -403,7 +404,6 @@ models/secure-container-item-model.ts
|
|
|
403
404
|
models/secure-container-model.ts
|
|
404
405
|
models/secure-containers-model.ts
|
|
405
406
|
models/secure-file-model.ts
|
|
406
|
-
models/self.ts
|
|
407
407
|
models/send-bird-group-channel-member.ts
|
|
408
408
|
models/send-bird-group-channel-model.ts
|
|
409
409
|
models/send-bird-group-channelr-operator.ts
|
|
@@ -442,6 +442,7 @@ models/survey-form-element-option-model.ts
|
|
|
442
442
|
models/survey-form-element-types.ts
|
|
443
443
|
models/survey-form-item-model.ts
|
|
444
444
|
models/survey-form-model.ts
|
|
445
|
+
models/survey-form-simple-mapping-model.ts
|
|
445
446
|
models/survey-form-status.ts
|
|
446
447
|
models/survey-forms-model.ts
|
|
447
448
|
models/survey-result-element-model.ts
|
|
@@ -459,10 +460,13 @@ models/template-versions-model.ts
|
|
|
459
460
|
models/text-message.ts
|
|
460
461
|
models/transfer-balance-command.ts
|
|
461
462
|
models/transfer-balance-result.ts
|
|
463
|
+
models/transfer-number-command.ts
|
|
464
|
+
models/transfer-number-result.ts
|
|
462
465
|
models/translate-all-options.ts
|
|
463
466
|
models/translate-command.ts
|
|
464
467
|
models/translate-doctor-affiliation-command.ts
|
|
465
468
|
models/translate-hospital-command.ts
|
|
469
|
+
models/translation-simple-model.ts
|
|
466
470
|
models/update-about-us-page-command.ts
|
|
467
471
|
models/update-account-command.ts
|
|
468
472
|
models/update-accreditation-command.ts
|
package/src/api/deals-api.ts
CHANGED
|
@@ -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.
|