ch-api-client-typescript2 4.9.1 → 4.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api/{v2-about-us-api.d.ts → about-us-api.d.ts} +25 -25
- package/lib/api/about-us-api.d.ts.map +1 -0
- package/lib/api/{v2-about-us-api.js → about-us-api.js} +48 -48
- package/lib/api/{v2-accreditations-api.d.ts → accreditations-api.d.ts} +20 -20
- package/lib/api/accreditations-api.d.ts.map +1 -0
- package/lib/api/{v2-accreditations-api.js → accreditations-api.js} +38 -38
- package/lib/api/{v2-app-version-api.d.ts → app-version-api.d.ts} +15 -15
- package/lib/api/app-version-api.d.ts.map +1 -0
- package/lib/api/{v2-app-version-api.js → app-version-api.js} +29 -29
- package/lib/api/{v2-articles-api.d.ts → articles-api.d.ts} +65 -65
- package/lib/api/articles-api.d.ts.map +1 -0
- package/lib/api/{v2-articles-api.js → articles-api.js} +132 -132
- package/lib/api/{v2-bookings-api.d.ts → bookings-api.d.ts} +35 -35
- package/lib/api/bookings-api.d.ts.map +1 -0
- package/lib/api/{v2-bookings-api.js → bookings-api.js} +68 -68
- package/lib/api/{v2-chat-users-api.d.ts → chat-users-api.d.ts} +40 -40
- package/lib/api/chat-users-api.d.ts.map +1 -0
- package/lib/api/{v2-chat-users-api.js → chat-users-api.js} +74 -74
- package/lib/api/{v2-communications-api.d.ts → communications-api.d.ts} +25 -25
- package/lib/api/communications-api.d.ts.map +1 -0
- package/lib/api/{v2-communications-api.js → communications-api.js} +46 -46
- package/lib/api/{v2-consultations-api.d.ts → consultations-api.d.ts} +35 -35
- package/lib/api/consultations-api.d.ts.map +1 -0
- package/lib/api/{v2-consultations-api.js → consultations-api.js} +68 -68
- package/lib/api/{v2-contributors-api.d.ts → contributors-api.d.ts} +35 -35
- package/lib/api/contributors-api.d.ts.map +1 -0
- package/lib/api/{v2-contributors-api.js → contributors-api.js} +69 -69
- package/lib/api/{v2-countries-api.d.ts → countries-api.d.ts} +35 -35
- package/lib/api/countries-api.d.ts.map +1 -0
- package/lib/api/{v2-countries-api.js → countries-api.js} +69 -69
- package/lib/api/{v2-deals-api.d.ts → deals-api.d.ts} +50 -50
- package/lib/api/deals-api.d.ts.map +1 -0
- package/lib/api/{v2-deals-api.js → deals-api.js} +99 -99
- package/lib/api/{v2-devices-api.d.ts → devices-api.d.ts} +40 -40
- package/lib/api/devices-api.d.ts.map +1 -0
- package/lib/api/{v2-devices-api.js → devices-api.js} +77 -77
- package/lib/api/{v2-doctor-affiliations-api.d.ts → doctor-affiliations-api.d.ts} +35 -35
- package/lib/api/doctor-affiliations-api.d.ts.map +1 -0
- package/lib/api/{v2-doctor-affiliations-api.js → doctor-affiliations-api.js} +69 -69
- package/lib/api/{v2-doctors-api.d.ts → doctors-api.d.ts} +85 -85
- package/lib/api/doctors-api.d.ts.map +1 -0
- package/lib/api/{v2-doctors-api.js → doctors-api.js} +173 -173
- package/lib/api/{v2-external-api.d.ts → external-api.d.ts} +15 -15
- package/lib/api/external-api.d.ts.map +1 -0
- package/lib/api/{v2-external-api.js → external-api.js} +28 -28
- package/lib/api/{v2-faq-categories-api.d.ts → faq-categories-api.d.ts} +25 -25
- package/lib/api/faq-categories-api.d.ts.map +1 -0
- package/lib/api/{v2-faq-categories-api.js → faq-categories-api.js} +48 -48
- package/lib/api/{v2-faqs-api.d.ts → faqs-api.d.ts} +45 -45
- package/lib/api/faqs-api.d.ts.map +1 -0
- package/lib/api/{v2-faqs-api.js → faqs-api.js} +90 -90
- package/lib/api/{v2-group-channels-api.d.ts → group-channels-api.d.ts} +35 -35
- package/lib/api/group-channels-api.d.ts.map +1 -0
- package/lib/api/{v2-group-channels-api.js → group-channels-api.js} +70 -70
- package/lib/api/{v2-header-navigations-api.d.ts → header-navigations-api.d.ts} +15 -15
- package/lib/api/header-navigations-api.d.ts.map +1 -0
- package/lib/api/{v2-header-navigations-api.js → header-navigations-api.js} +29 -29
- package/lib/api/{v2-hospitals-api.d.ts → hospitals-api.d.ts} +170 -170
- package/lib/api/hospitals-api.d.ts.map +1 -0
- package/lib/api/{v2-hospitals-api.js → hospitals-api.js} +361 -361
- package/lib/api/{v2-hospitals-consultation-timetables-api.d.ts → hospitals-consultation-timetables-api.d.ts} +15 -15
- package/lib/api/hospitals-consultation-timetables-api.d.ts.map +1 -0
- package/lib/api/{v2-hospitals-consultation-timetables-api.js → hospitals-consultation-timetables-api.js} +29 -29
- package/lib/api/{v2-images-api.d.ts → images-api.d.ts} +15 -15
- package/lib/api/images-api.d.ts.map +1 -0
- package/lib/api/{v2-images-api.js → images-api.js} +28 -28
- package/lib/api/{v2-languages-api.d.ts → languages-api.d.ts} +20 -20
- package/lib/api/languages-api.d.ts.map +1 -0
- package/lib/api/{v2-languages-api.js → languages-api.js} +38 -38
- package/lib/api/{v2-memberships-api.d.ts → memberships-api.d.ts} +25 -25
- package/lib/api/memberships-api.d.ts.map +1 -0
- package/lib/api/{v2-memberships-api.js → memberships-api.js} +48 -48
- package/lib/api/{v2-notifications-api.d.ts → notifications-api.d.ts} +20 -20
- package/lib/api/notifications-api.d.ts.map +1 -0
- package/lib/api/{v2-notifications-api.js → notifications-api.js} +37 -37
- package/lib/api/{v2-origins-api.d.ts → origins-api.d.ts} +30 -30
- package/lib/api/origins-api.d.ts.map +1 -0
- package/lib/api/{v2-origins-api.js → origins-api.js} +56 -56
- package/lib/api/{v2-patients-api.d.ts → patients-api.d.ts} +40 -40
- package/lib/api/patients-api.d.ts.map +1 -0
- package/lib/api/{v2-patients-api.js → patients-api.js} +78 -78
- package/lib/api/{v2-plans-api.d.ts → plans-api.d.ts} +30 -30
- package/lib/api/plans-api.d.ts.map +1 -0
- package/lib/api/{v2-plans-api.js → plans-api.js} +59 -59
- package/lib/api/{v2-profiles-api.d.ts → profiles-api.d.ts} +40 -40
- package/lib/api/profiles-api.d.ts.map +1 -0
- package/lib/api/{v2-profiles-api.js → profiles-api.js} +74 -74
- package/lib/api/{v2-service-reviews-api.d.ts → service-reviews-api.d.ts} +60 -60
- package/lib/api/service-reviews-api.d.ts.map +1 -0
- package/lib/api/{v2-service-reviews-api.js → service-reviews-api.js} +120 -120
- package/lib/api/{v2-services-api.d.ts → services-api.d.ts} +25 -25
- package/lib/api/services-api.d.ts.map +1 -0
- package/lib/api/{v2-services-api.js → services-api.js} +48 -48
- package/lib/api/{v2-services-categories-api.d.ts → services-categories-api.d.ts} +20 -20
- package/lib/api/services-categories-api.d.ts.map +1 -0
- package/lib/api/{v2-services-categories-api.js → services-categories-api.js} +38 -38
- package/lib/api/{v2-specialties-api.d.ts → specialties-api.d.ts} +40 -40
- package/lib/api/specialties-api.d.ts.map +1 -0
- package/lib/api/{v2-specialties-api.js → specialties-api.js} +78 -78
- package/lib/api/{v2-specialty-types-api.d.ts → specialty-types-api.d.ts} +40 -40
- package/lib/api/specialty-types-api.d.ts.map +1 -0
- package/lib/api/{v2-specialty-types-api.js → specialty-types-api.js} +78 -78
- package/lib/api/{v2-survey-forms-api.d.ts → survey-forms-api.d.ts} +15 -15
- package/lib/api/survey-forms-api.d.ts.map +1 -0
- package/lib/api/{v2-survey-forms-api.js → survey-forms-api.js} +29 -29
- package/lib/api/{v2-survey-results-api.d.ts → survey-results-api.d.ts} +15 -15
- package/lib/api/survey-results-api.d.ts.map +1 -0
- package/lib/api/{v2-survey-results-api.js → survey-results-api.js} +28 -28
- package/lib/api/{v2-tags-api.d.ts → tags-api.d.ts} +20 -20
- package/lib/api/tags-api.d.ts.map +1 -0
- package/lib/api/{v2-tags-api.js → tags-api.js} +38 -38
- package/lib/api.d.ts +37 -37
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +37 -37
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +37 -37
- package/src/api/{v2-about-us-api.ts → about-us-api.ts} +40 -40
- package/src/api/{v2-accreditations-api.ts → accreditations-api.ts} +30 -30
- package/src/api/{v2-app-version-api.ts → app-version-api.ts} +21 -21
- package/src/api/{v2-articles-api.ts → articles-api.ts} +124 -124
- package/src/api/{v2-bookings-api.ts → bookings-api.ts} +60 -60
- package/src/api/{v2-chat-users-api.ts → chat-users-api.ts} +66 -66
- package/src/api/{v2-communications-api.ts → communications-api.ts} +38 -38
- package/src/api/{v2-consultations-api.ts → consultations-api.ts} +60 -60
- package/src/api/{v2-contributors-api.ts → contributors-api.ts} +61 -61
- package/src/api/{v2-countries-api.ts → countries-api.ts} +61 -61
- package/src/api/{v2-deals-api.ts → deals-api.ts} +91 -91
- package/src/api/{v2-devices-api.ts → devices-api.ts} +69 -69
- package/src/api/{v2-doctor-affiliations-api.ts → doctor-affiliations-api.ts} +61 -61
- package/src/api/{v2-doctors-api.ts → doctors-api.ts} +165 -165
- package/src/api/{v2-external-api.ts → external-api.ts} +20 -20
- package/src/api/{v2-faq-categories-api.ts → faq-categories-api.ts} +40 -40
- package/src/api/{v2-faqs-api.ts → faqs-api.ts} +82 -82
- package/src/api/{v2-group-channels-api.ts → group-channels-api.ts} +62 -62
- package/src/api/{v2-header-navigations-api.ts → header-navigations-api.ts} +21 -21
- package/src/api/{v2-hospitals-api.ts → hospitals-api.ts} +353 -353
- package/src/api/{v2-hospitals-consultation-timetables-api.ts → hospitals-consultation-timetables-api.ts} +21 -21
- package/src/api/{v2-images-api.ts → images-api.ts} +20 -20
- package/src/api/{v2-languages-api.ts → languages-api.ts} +30 -30
- package/src/api/{v2-memberships-api.ts → memberships-api.ts} +40 -40
- package/src/api/{v2-notifications-api.ts → notifications-api.ts} +29 -29
- package/src/api/{v2-origins-api.ts → origins-api.ts} +48 -48
- package/src/api/{v2-patients-api.ts → patients-api.ts} +70 -70
- package/src/api/{v2-plans-api.ts → plans-api.ts} +51 -51
- package/src/api/{v2-profiles-api.ts → profiles-api.ts} +66 -66
- package/src/api/{v2-service-reviews-api.ts → service-reviews-api.ts} +112 -112
- package/src/api/{v2-services-api.ts → services-api.ts} +40 -40
- package/src/api/{v2-services-categories-api.ts → services-categories-api.ts} +30 -30
- package/src/api/{v2-specialties-api.ts → specialties-api.ts} +70 -70
- package/src/api/{v2-specialty-types-api.ts → specialty-types-api.ts} +70 -70
- package/src/api/{v2-survey-forms-api.ts → survey-forms-api.ts} +21 -21
- package/src/api/{v2-survey-results-api.ts → survey-results-api.ts} +20 -20
- package/src/api/{v2-tags-api.ts → tags-api.ts} +30 -30
- package/src/api.ts +37 -37
- package/lib/api/v2-about-us-api.d.ts.map +0 -1
- package/lib/api/v2-accreditations-api.d.ts.map +0 -1
- package/lib/api/v2-app-version-api.d.ts.map +0 -1
- package/lib/api/v2-articles-api.d.ts.map +0 -1
- package/lib/api/v2-bookings-api.d.ts.map +0 -1
- package/lib/api/v2-chat-users-api.d.ts.map +0 -1
- package/lib/api/v2-communications-api.d.ts.map +0 -1
- package/lib/api/v2-consultations-api.d.ts.map +0 -1
- package/lib/api/v2-contributors-api.d.ts.map +0 -1
- package/lib/api/v2-countries-api.d.ts.map +0 -1
- package/lib/api/v2-deals-api.d.ts.map +0 -1
- package/lib/api/v2-devices-api.d.ts.map +0 -1
- package/lib/api/v2-doctor-affiliations-api.d.ts.map +0 -1
- package/lib/api/v2-doctors-api.d.ts.map +0 -1
- package/lib/api/v2-external-api.d.ts.map +0 -1
- package/lib/api/v2-faq-categories-api.d.ts.map +0 -1
- package/lib/api/v2-faqs-api.d.ts.map +0 -1
- package/lib/api/v2-group-channels-api.d.ts.map +0 -1
- package/lib/api/v2-header-navigations-api.d.ts.map +0 -1
- package/lib/api/v2-hospitals-api.d.ts.map +0 -1
- package/lib/api/v2-hospitals-consultation-timetables-api.d.ts.map +0 -1
- package/lib/api/v2-images-api.d.ts.map +0 -1
- package/lib/api/v2-languages-api.d.ts.map +0 -1
- package/lib/api/v2-memberships-api.d.ts.map +0 -1
- package/lib/api/v2-notifications-api.d.ts.map +0 -1
- package/lib/api/v2-origins-api.d.ts.map +0 -1
- package/lib/api/v2-patients-api.d.ts.map +0 -1
- package/lib/api/v2-plans-api.d.ts.map +0 -1
- package/lib/api/v2-profiles-api.d.ts.map +0 -1
- package/lib/api/v2-service-reviews-api.d.ts.map +0 -1
- package/lib/api/v2-services-api.d.ts.map +0 -1
- package/lib/api/v2-services-categories-api.d.ts.map +0 -1
- package/lib/api/v2-specialties-api.d.ts.map +0 -1
- package/lib/api/v2-specialty-types-api.d.ts.map +0 -1
- package/lib/api/v2-survey-forms-api.d.ts.map +0 -1
- package/lib/api/v2-survey-results-api.d.ts.map +0 -1
- package/lib/api/v2-tags-api.d.ts.map +0 -1
|
@@ -33,10 +33,10 @@ import { Platform } from '../models';
|
|
|
33
33
|
// @ts-ignore
|
|
34
34
|
import { UpdateDeviceCommand } from '../models';
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
36
|
+
* DevicesApi - axios parameter creator
|
|
37
37
|
* @export
|
|
38
38
|
*/
|
|
39
|
-
export const
|
|
39
|
+
export const DevicesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
40
40
|
return {
|
|
41
41
|
/**
|
|
42
42
|
*
|
|
@@ -53,8 +53,8 @@ export const V2DevicesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
53
53
|
* @param {*} [options] Override http request option.
|
|
54
54
|
* @throws {RequiredError}
|
|
55
55
|
*/
|
|
56
|
-
|
|
57
|
-
const localVarPath = `/
|
|
56
|
+
apiV2DevicesGet: async (id?: string, token?: string, platform?: Platform, appAlert?: boolean, eventAlert?: boolean, noticeAlert?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
57
|
+
const localVarPath = `/api/v2/devices`;
|
|
58
58
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
59
59
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
60
60
|
let baseOptions;
|
|
@@ -126,10 +126,10 @@ export const V2DevicesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
126
126
|
* @param {*} [options] Override http request option.
|
|
127
127
|
* @throws {RequiredError}
|
|
128
128
|
*/
|
|
129
|
-
|
|
129
|
+
apiV2DevicesIdDelete: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
130
130
|
// verify required parameter 'id' is not null or undefined
|
|
131
|
-
assertParamExists('
|
|
132
|
-
const localVarPath = `/
|
|
131
|
+
assertParamExists('apiV2DevicesIdDelete', 'id', id)
|
|
132
|
+
const localVarPath = `/api/v2/devices/{id}`
|
|
133
133
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
134
134
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
135
135
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -164,10 +164,10 @@ export const V2DevicesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
164
164
|
* @param {*} [options] Override http request option.
|
|
165
165
|
* @throws {RequiredError}
|
|
166
166
|
*/
|
|
167
|
-
|
|
167
|
+
apiV2DevicesIdGet: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
168
168
|
// verify required parameter 'id' is not null or undefined
|
|
169
|
-
assertParamExists('
|
|
170
|
-
const localVarPath = `/
|
|
169
|
+
assertParamExists('apiV2DevicesIdGet', 'id', id)
|
|
170
|
+
const localVarPath = `/api/v2/devices/{id}`
|
|
171
171
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
172
172
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
173
173
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -203,10 +203,10 @@ export const V2DevicesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
203
203
|
* @param {*} [options] Override http request option.
|
|
204
204
|
* @throws {RequiredError}
|
|
205
205
|
*/
|
|
206
|
-
|
|
206
|
+
apiV2DevicesIdLoginsPost: async (id: string, createDeviceLoginCommand?: CreateDeviceLoginCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
207
207
|
// verify required parameter 'id' is not null or undefined
|
|
208
|
-
assertParamExists('
|
|
209
|
-
const localVarPath = `/
|
|
208
|
+
assertParamExists('apiV2DevicesIdLoginsPost', 'id', id)
|
|
209
|
+
const localVarPath = `/api/v2/devices/{id}/logins`
|
|
210
210
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
211
211
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
212
212
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -245,10 +245,10 @@ export const V2DevicesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
245
245
|
* @param {*} [options] Override http request option.
|
|
246
246
|
* @throws {RequiredError}
|
|
247
247
|
*/
|
|
248
|
-
|
|
248
|
+
apiV2DevicesIdPut: async (id: string, updateDeviceCommand?: UpdateDeviceCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
249
249
|
// verify required parameter 'id' is not null or undefined
|
|
250
|
-
assertParamExists('
|
|
251
|
-
const localVarPath = `/
|
|
250
|
+
assertParamExists('apiV2DevicesIdPut', 'id', id)
|
|
251
|
+
const localVarPath = `/api/v2/devices/{id}`
|
|
252
252
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
253
253
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
254
254
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -286,8 +286,8 @@ export const V2DevicesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
286
286
|
* @param {*} [options] Override http request option.
|
|
287
287
|
* @throws {RequiredError}
|
|
288
288
|
*/
|
|
289
|
-
|
|
290
|
-
const localVarPath = `/
|
|
289
|
+
apiV2DevicesPost: async (createDeviceCommand?: CreateDeviceCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
290
|
+
const localVarPath = `/api/v2/devices`;
|
|
291
291
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
292
292
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
293
293
|
let baseOptions;
|
|
@@ -321,11 +321,11 @@ export const V2DevicesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
321
321
|
};
|
|
322
322
|
|
|
323
323
|
/**
|
|
324
|
-
*
|
|
324
|
+
* DevicesApi - functional programming interface
|
|
325
325
|
* @export
|
|
326
326
|
*/
|
|
327
|
-
export const
|
|
328
|
-
const localVarAxiosParamCreator =
|
|
327
|
+
export const DevicesApiFp = function(configuration?: Configuration) {
|
|
328
|
+
const localVarAxiosParamCreator = DevicesApiAxiosParamCreator(configuration)
|
|
329
329
|
return {
|
|
330
330
|
/**
|
|
331
331
|
*
|
|
@@ -342,8 +342,8 @@ export const V2DevicesApiFp = function(configuration?: Configuration) {
|
|
|
342
342
|
* @param {*} [options] Override http request option.
|
|
343
343
|
* @throws {RequiredError}
|
|
344
344
|
*/
|
|
345
|
-
async
|
|
346
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
345
|
+
async apiV2DevicesGet(id?: string, token?: string, platform?: Platform, appAlert?: boolean, eventAlert?: boolean, noticeAlert?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DevicesModel>> {
|
|
346
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DevicesGet(id, token, platform, appAlert, eventAlert, noticeAlert, page, limit, lastRetrieved, options);
|
|
347
347
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
348
348
|
},
|
|
349
349
|
/**
|
|
@@ -353,8 +353,8 @@ export const V2DevicesApiFp = function(configuration?: Configuration) {
|
|
|
353
353
|
* @param {*} [options] Override http request option.
|
|
354
354
|
* @throws {RequiredError}
|
|
355
355
|
*/
|
|
356
|
-
async
|
|
357
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
356
|
+
async apiV2DevicesIdDelete(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
357
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DevicesIdDelete(id, options);
|
|
358
358
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
359
359
|
},
|
|
360
360
|
/**
|
|
@@ -364,8 +364,8 @@ export const V2DevicesApiFp = function(configuration?: Configuration) {
|
|
|
364
364
|
* @param {*} [options] Override http request option.
|
|
365
365
|
* @throws {RequiredError}
|
|
366
366
|
*/
|
|
367
|
-
async
|
|
368
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
367
|
+
async apiV2DevicesIdGet(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeviceModel>> {
|
|
368
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DevicesIdGet(id, options);
|
|
369
369
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
370
370
|
},
|
|
371
371
|
/**
|
|
@@ -376,8 +376,8 @@ export const V2DevicesApiFp = function(configuration?: Configuration) {
|
|
|
376
376
|
* @param {*} [options] Override http request option.
|
|
377
377
|
* @throws {RequiredError}
|
|
378
378
|
*/
|
|
379
|
-
async
|
|
380
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
379
|
+
async apiV2DevicesIdLoginsPost(id: string, createDeviceLoginCommand?: CreateDeviceLoginCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
380
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DevicesIdLoginsPost(id, createDeviceLoginCommand, options);
|
|
381
381
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
382
382
|
},
|
|
383
383
|
/**
|
|
@@ -388,8 +388,8 @@ export const V2DevicesApiFp = function(configuration?: Configuration) {
|
|
|
388
388
|
* @param {*} [options] Override http request option.
|
|
389
389
|
* @throws {RequiredError}
|
|
390
390
|
*/
|
|
391
|
-
async
|
|
392
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
391
|
+
async apiV2DevicesIdPut(id: string, updateDeviceCommand?: UpdateDeviceCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
392
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DevicesIdPut(id, updateDeviceCommand, options);
|
|
393
393
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
394
394
|
},
|
|
395
395
|
/**
|
|
@@ -399,19 +399,19 @@ export const V2DevicesApiFp = function(configuration?: Configuration) {
|
|
|
399
399
|
* @param {*} [options] Override http request option.
|
|
400
400
|
* @throws {RequiredError}
|
|
401
401
|
*/
|
|
402
|
-
async
|
|
403
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
402
|
+
async apiV2DevicesPost(createDeviceCommand?: CreateDeviceCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeviceModel>> {
|
|
403
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DevicesPost(createDeviceCommand, options);
|
|
404
404
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
405
405
|
},
|
|
406
406
|
}
|
|
407
407
|
};
|
|
408
408
|
|
|
409
409
|
/**
|
|
410
|
-
*
|
|
410
|
+
* DevicesApi - factory interface
|
|
411
411
|
* @export
|
|
412
412
|
*/
|
|
413
|
-
export const
|
|
414
|
-
const localVarFp =
|
|
413
|
+
export const DevicesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
414
|
+
const localVarFp = DevicesApiFp(configuration)
|
|
415
415
|
return {
|
|
416
416
|
/**
|
|
417
417
|
*
|
|
@@ -428,8 +428,8 @@ export const V2DevicesApiFactory = function (configuration?: Configuration, base
|
|
|
428
428
|
* @param {*} [options] Override http request option.
|
|
429
429
|
* @throws {RequiredError}
|
|
430
430
|
*/
|
|
431
|
-
|
|
432
|
-
return localVarFp.
|
|
431
|
+
apiV2DevicesGet(id?: string, token?: string, platform?: Platform, appAlert?: boolean, eventAlert?: boolean, noticeAlert?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DevicesModel> {
|
|
432
|
+
return localVarFp.apiV2DevicesGet(id, token, platform, appAlert, eventAlert, noticeAlert, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
433
433
|
},
|
|
434
434
|
/**
|
|
435
435
|
*
|
|
@@ -438,8 +438,8 @@ export const V2DevicesApiFactory = function (configuration?: Configuration, base
|
|
|
438
438
|
* @param {*} [options] Override http request option.
|
|
439
439
|
* @throws {RequiredError}
|
|
440
440
|
*/
|
|
441
|
-
|
|
442
|
-
return localVarFp.
|
|
441
|
+
apiV2DevicesIdDelete(id: string, options?: any): AxiosPromise<boolean> {
|
|
442
|
+
return localVarFp.apiV2DevicesIdDelete(id, options).then((request) => request(axios, basePath));
|
|
443
443
|
},
|
|
444
444
|
/**
|
|
445
445
|
*
|
|
@@ -448,8 +448,8 @@ export const V2DevicesApiFactory = function (configuration?: Configuration, base
|
|
|
448
448
|
* @param {*} [options] Override http request option.
|
|
449
449
|
* @throws {RequiredError}
|
|
450
450
|
*/
|
|
451
|
-
|
|
452
|
-
return localVarFp.
|
|
451
|
+
apiV2DevicesIdGet(id: string, options?: any): AxiosPromise<DeviceModel> {
|
|
452
|
+
return localVarFp.apiV2DevicesIdGet(id, options).then((request) => request(axios, basePath));
|
|
453
453
|
},
|
|
454
454
|
/**
|
|
455
455
|
*
|
|
@@ -459,8 +459,8 @@ export const V2DevicesApiFactory = function (configuration?: Configuration, base
|
|
|
459
459
|
* @param {*} [options] Override http request option.
|
|
460
460
|
* @throws {RequiredError}
|
|
461
461
|
*/
|
|
462
|
-
|
|
463
|
-
return localVarFp.
|
|
462
|
+
apiV2DevicesIdLoginsPost(id: string, createDeviceLoginCommand?: CreateDeviceLoginCommand, options?: any): AxiosPromise<string> {
|
|
463
|
+
return localVarFp.apiV2DevicesIdLoginsPost(id, createDeviceLoginCommand, options).then((request) => request(axios, basePath));
|
|
464
464
|
},
|
|
465
465
|
/**
|
|
466
466
|
*
|
|
@@ -470,8 +470,8 @@ export const V2DevicesApiFactory = function (configuration?: Configuration, base
|
|
|
470
470
|
* @param {*} [options] Override http request option.
|
|
471
471
|
* @throws {RequiredError}
|
|
472
472
|
*/
|
|
473
|
-
|
|
474
|
-
return localVarFp.
|
|
473
|
+
apiV2DevicesIdPut(id: string, updateDeviceCommand?: UpdateDeviceCommand, options?: any): AxiosPromise<boolean> {
|
|
474
|
+
return localVarFp.apiV2DevicesIdPut(id, updateDeviceCommand, options).then((request) => request(axios, basePath));
|
|
475
475
|
},
|
|
476
476
|
/**
|
|
477
477
|
*
|
|
@@ -480,19 +480,19 @@ export const V2DevicesApiFactory = function (configuration?: Configuration, base
|
|
|
480
480
|
* @param {*} [options] Override http request option.
|
|
481
481
|
* @throws {RequiredError}
|
|
482
482
|
*/
|
|
483
|
-
|
|
484
|
-
return localVarFp.
|
|
483
|
+
apiV2DevicesPost(createDeviceCommand?: CreateDeviceCommand, options?: any): AxiosPromise<DeviceModel> {
|
|
484
|
+
return localVarFp.apiV2DevicesPost(createDeviceCommand, options).then((request) => request(axios, basePath));
|
|
485
485
|
},
|
|
486
486
|
};
|
|
487
487
|
};
|
|
488
488
|
|
|
489
489
|
/**
|
|
490
|
-
*
|
|
490
|
+
* DevicesApi - object-oriented interface
|
|
491
491
|
* @export
|
|
492
|
-
* @class
|
|
492
|
+
* @class DevicesApi
|
|
493
493
|
* @extends {BaseAPI}
|
|
494
494
|
*/
|
|
495
|
-
export class
|
|
495
|
+
export class DevicesApi extends BaseAPI {
|
|
496
496
|
/**
|
|
497
497
|
*
|
|
498
498
|
* @summary Get all devices.
|
|
@@ -507,10 +507,10 @@ export class V2DevicesApi extends BaseAPI {
|
|
|
507
507
|
* @param {Date} [lastRetrieved]
|
|
508
508
|
* @param {*} [options] Override http request option.
|
|
509
509
|
* @throws {RequiredError}
|
|
510
|
-
* @memberof
|
|
510
|
+
* @memberof DevicesApi
|
|
511
511
|
*/
|
|
512
|
-
public
|
|
513
|
-
return
|
|
512
|
+
public apiV2DevicesGet(id?: string, token?: string, platform?: Platform, appAlert?: boolean, eventAlert?: boolean, noticeAlert?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
513
|
+
return DevicesApiFp(this.configuration).apiV2DevicesGet(id, token, platform, appAlert, eventAlert, noticeAlert, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
514
514
|
}
|
|
515
515
|
|
|
516
516
|
/**
|
|
@@ -519,10 +519,10 @@ export class V2DevicesApi extends BaseAPI {
|
|
|
519
519
|
* @param {string} id
|
|
520
520
|
* @param {*} [options] Override http request option.
|
|
521
521
|
* @throws {RequiredError}
|
|
522
|
-
* @memberof
|
|
522
|
+
* @memberof DevicesApi
|
|
523
523
|
*/
|
|
524
|
-
public
|
|
525
|
-
return
|
|
524
|
+
public apiV2DevicesIdDelete(id: string, options?: AxiosRequestConfig) {
|
|
525
|
+
return DevicesApiFp(this.configuration).apiV2DevicesIdDelete(id, options).then((request) => request(this.axios, this.basePath));
|
|
526
526
|
}
|
|
527
527
|
|
|
528
528
|
/**
|
|
@@ -531,10 +531,10 @@ export class V2DevicesApi extends BaseAPI {
|
|
|
531
531
|
* @param {string} id
|
|
532
532
|
* @param {*} [options] Override http request option.
|
|
533
533
|
* @throws {RequiredError}
|
|
534
|
-
* @memberof
|
|
534
|
+
* @memberof DevicesApi
|
|
535
535
|
*/
|
|
536
|
-
public
|
|
537
|
-
return
|
|
536
|
+
public apiV2DevicesIdGet(id: string, options?: AxiosRequestConfig) {
|
|
537
|
+
return DevicesApiFp(this.configuration).apiV2DevicesIdGet(id, options).then((request) => request(this.axios, this.basePath));
|
|
538
538
|
}
|
|
539
539
|
|
|
540
540
|
/**
|
|
@@ -544,10 +544,10 @@ export class V2DevicesApi extends BaseAPI {
|
|
|
544
544
|
* @param {CreateDeviceLoginCommand} [createDeviceLoginCommand]
|
|
545
545
|
* @param {*} [options] Override http request option.
|
|
546
546
|
* @throws {RequiredError}
|
|
547
|
-
* @memberof
|
|
547
|
+
* @memberof DevicesApi
|
|
548
548
|
*/
|
|
549
|
-
public
|
|
550
|
-
return
|
|
549
|
+
public apiV2DevicesIdLoginsPost(id: string, createDeviceLoginCommand?: CreateDeviceLoginCommand, options?: AxiosRequestConfig) {
|
|
550
|
+
return DevicesApiFp(this.configuration).apiV2DevicesIdLoginsPost(id, createDeviceLoginCommand, options).then((request) => request(this.axios, this.basePath));
|
|
551
551
|
}
|
|
552
552
|
|
|
553
553
|
/**
|
|
@@ -557,10 +557,10 @@ export class V2DevicesApi extends BaseAPI {
|
|
|
557
557
|
* @param {UpdateDeviceCommand} [updateDeviceCommand]
|
|
558
558
|
* @param {*} [options] Override http request option.
|
|
559
559
|
* @throws {RequiredError}
|
|
560
|
-
* @memberof
|
|
560
|
+
* @memberof DevicesApi
|
|
561
561
|
*/
|
|
562
|
-
public
|
|
563
|
-
return
|
|
562
|
+
public apiV2DevicesIdPut(id: string, updateDeviceCommand?: UpdateDeviceCommand, options?: AxiosRequestConfig) {
|
|
563
|
+
return DevicesApiFp(this.configuration).apiV2DevicesIdPut(id, updateDeviceCommand, options).then((request) => request(this.axios, this.basePath));
|
|
564
564
|
}
|
|
565
565
|
|
|
566
566
|
/**
|
|
@@ -569,9 +569,9 @@ export class V2DevicesApi extends BaseAPI {
|
|
|
569
569
|
* @param {CreateDeviceCommand} [createDeviceCommand]
|
|
570
570
|
* @param {*} [options] Override http request option.
|
|
571
571
|
* @throws {RequiredError}
|
|
572
|
-
* @memberof
|
|
572
|
+
* @memberof DevicesApi
|
|
573
573
|
*/
|
|
574
|
-
public
|
|
575
|
-
return
|
|
574
|
+
public apiV2DevicesPost(createDeviceCommand?: CreateDeviceCommand, options?: AxiosRequestConfig) {
|
|
575
|
+
return DevicesApiFp(this.configuration).apiV2DevicesPost(createDeviceCommand, options).then((request) => request(this.axios, this.basePath));
|
|
576
576
|
}
|
|
577
577
|
}
|