ch-api-client-typescript2 4.8.7-test → 4.9.0
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.d.ts +32 -32
- package/lib/api.js +70 -70
- package/package.json +1 -1
- package/src/api.ts +70 -70
package/lib/api.d.ts
CHANGED
|
@@ -11650,7 +11650,7 @@ export declare const V2AppVersionApiAxiosParamCreator: (configuration?: Configur
|
|
|
11650
11650
|
* @param {*} [options] Override http request option.
|
|
11651
11651
|
* @throws {RequiredError}
|
|
11652
11652
|
*/
|
|
11653
|
-
|
|
11653
|
+
apiv2appversionPlatformGet: (platform: Platform, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
11654
11654
|
};
|
|
11655
11655
|
/**
|
|
11656
11656
|
* V2AppVersionApi - functional programming interface
|
|
@@ -11663,7 +11663,7 @@ export declare const V2AppVersionApiFp: (configuration?: Configuration) => {
|
|
|
11663
11663
|
* @param {*} [options] Override http request option.
|
|
11664
11664
|
* @throws {RequiredError}
|
|
11665
11665
|
*/
|
|
11666
|
-
|
|
11666
|
+
apiv2appversionPlatformGet(platform: Platform, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AppVersionModel>>;
|
|
11667
11667
|
};
|
|
11668
11668
|
/**
|
|
11669
11669
|
* V2AppVersionApi - factory interface
|
|
@@ -11676,7 +11676,7 @@ export declare const V2AppVersionApiFactory: (configuration?: Configuration, bas
|
|
|
11676
11676
|
* @param {*} [options] Override http request option.
|
|
11677
11677
|
* @throws {RequiredError}
|
|
11678
11678
|
*/
|
|
11679
|
-
|
|
11679
|
+
apiv2appversionPlatformGet(platform: Platform, options?: any): AxiosPromise<AppVersionModel>;
|
|
11680
11680
|
};
|
|
11681
11681
|
/**
|
|
11682
11682
|
* V2AppVersionApi - object-oriented interface
|
|
@@ -11692,7 +11692,7 @@ export declare class V2AppVersionApi extends BaseAPI {
|
|
|
11692
11692
|
* @throws {RequiredError}
|
|
11693
11693
|
* @memberof V2AppVersionApi
|
|
11694
11694
|
*/
|
|
11695
|
-
|
|
11695
|
+
apiv2appversionPlatformGet(platform: Platform, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AppVersionModel, any>>;
|
|
11696
11696
|
}
|
|
11697
11697
|
/**
|
|
11698
11698
|
* V2ArticlesApi - axios parameter creator
|
|
@@ -14254,7 +14254,7 @@ export declare const V2DevicesApiAxiosParamCreator: (configuration?: Configurati
|
|
|
14254
14254
|
* @param {*} [options] Override http request option.
|
|
14255
14255
|
* @throws {RequiredError}
|
|
14256
14256
|
*/
|
|
14257
|
-
|
|
14257
|
+
apiv2devicesGet: (id?: string, token?: string, platform?: Platform, appAlert?: boolean, eventAlert?: boolean, noticeAlert?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
14258
14258
|
/**
|
|
14259
14259
|
*
|
|
14260
14260
|
* @summary Delete device.
|
|
@@ -14262,7 +14262,7 @@ export declare const V2DevicesApiAxiosParamCreator: (configuration?: Configurati
|
|
|
14262
14262
|
* @param {*} [options] Override http request option.
|
|
14263
14263
|
* @throws {RequiredError}
|
|
14264
14264
|
*/
|
|
14265
|
-
|
|
14265
|
+
apiv2devicesIdDelete: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
14266
14266
|
/**
|
|
14267
14267
|
*
|
|
14268
14268
|
* @summary Get device.
|
|
@@ -14270,7 +14270,7 @@ export declare const V2DevicesApiAxiosParamCreator: (configuration?: Configurati
|
|
|
14270
14270
|
* @param {*} [options] Override http request option.
|
|
14271
14271
|
* @throws {RequiredError}
|
|
14272
14272
|
*/
|
|
14273
|
-
|
|
14273
|
+
apiv2devicesIdGet: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
14274
14274
|
/**
|
|
14275
14275
|
*
|
|
14276
14276
|
* @summary Create device login.
|
|
@@ -14279,7 +14279,7 @@ export declare const V2DevicesApiAxiosParamCreator: (configuration?: Configurati
|
|
|
14279
14279
|
* @param {*} [options] Override http request option.
|
|
14280
14280
|
* @throws {RequiredError}
|
|
14281
14281
|
*/
|
|
14282
|
-
|
|
14282
|
+
apiv2devicesIdLoginsPost: (id: string, createDeviceLoginCommand?: CreateDeviceLoginCommand, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
14283
14283
|
/**
|
|
14284
14284
|
*
|
|
14285
14285
|
* @summary Update device.
|
|
@@ -14288,7 +14288,7 @@ export declare const V2DevicesApiAxiosParamCreator: (configuration?: Configurati
|
|
|
14288
14288
|
* @param {*} [options] Override http request option.
|
|
14289
14289
|
* @throws {RequiredError}
|
|
14290
14290
|
*/
|
|
14291
|
-
|
|
14291
|
+
apiv2devicesIdPut: (id: string, updateDeviceCommand?: UpdateDeviceCommand, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
14292
14292
|
/**
|
|
14293
14293
|
*
|
|
14294
14294
|
* @summary Create device.
|
|
@@ -14296,7 +14296,7 @@ export declare const V2DevicesApiAxiosParamCreator: (configuration?: Configurati
|
|
|
14296
14296
|
* @param {*} [options] Override http request option.
|
|
14297
14297
|
* @throws {RequiredError}
|
|
14298
14298
|
*/
|
|
14299
|
-
|
|
14299
|
+
apiv2devicesPost: (createDeviceCommand?: CreateDeviceCommand, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
14300
14300
|
};
|
|
14301
14301
|
/**
|
|
14302
14302
|
* V2DevicesApi - functional programming interface
|
|
@@ -14318,7 +14318,7 @@ export declare const V2DevicesApiFp: (configuration?: Configuration) => {
|
|
|
14318
14318
|
* @param {*} [options] Override http request option.
|
|
14319
14319
|
* @throws {RequiredError}
|
|
14320
14320
|
*/
|
|
14321
|
-
|
|
14321
|
+
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>>;
|
|
14322
14322
|
/**
|
|
14323
14323
|
*
|
|
14324
14324
|
* @summary Delete device.
|
|
@@ -14326,7 +14326,7 @@ export declare const V2DevicesApiFp: (configuration?: Configuration) => {
|
|
|
14326
14326
|
* @param {*} [options] Override http request option.
|
|
14327
14327
|
* @throws {RequiredError}
|
|
14328
14328
|
*/
|
|
14329
|
-
|
|
14329
|
+
apiv2devicesIdDelete(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
|
|
14330
14330
|
/**
|
|
14331
14331
|
*
|
|
14332
14332
|
* @summary Get device.
|
|
@@ -14334,7 +14334,7 @@ export declare const V2DevicesApiFp: (configuration?: Configuration) => {
|
|
|
14334
14334
|
* @param {*} [options] Override http request option.
|
|
14335
14335
|
* @throws {RequiredError}
|
|
14336
14336
|
*/
|
|
14337
|
-
|
|
14337
|
+
apiv2devicesIdGet(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeviceModel>>;
|
|
14338
14338
|
/**
|
|
14339
14339
|
*
|
|
14340
14340
|
* @summary Create device login.
|
|
@@ -14343,7 +14343,7 @@ export declare const V2DevicesApiFp: (configuration?: Configuration) => {
|
|
|
14343
14343
|
* @param {*} [options] Override http request option.
|
|
14344
14344
|
* @throws {RequiredError}
|
|
14345
14345
|
*/
|
|
14346
|
-
|
|
14346
|
+
apiv2devicesIdLoginsPost(id: string, createDeviceLoginCommand?: CreateDeviceLoginCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
|
|
14347
14347
|
/**
|
|
14348
14348
|
*
|
|
14349
14349
|
* @summary Update device.
|
|
@@ -14352,7 +14352,7 @@ export declare const V2DevicesApiFp: (configuration?: Configuration) => {
|
|
|
14352
14352
|
* @param {*} [options] Override http request option.
|
|
14353
14353
|
* @throws {RequiredError}
|
|
14354
14354
|
*/
|
|
14355
|
-
|
|
14355
|
+
apiv2devicesIdPut(id: string, updateDeviceCommand?: UpdateDeviceCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
|
|
14356
14356
|
/**
|
|
14357
14357
|
*
|
|
14358
14358
|
* @summary Create device.
|
|
@@ -14360,7 +14360,7 @@ export declare const V2DevicesApiFp: (configuration?: Configuration) => {
|
|
|
14360
14360
|
* @param {*} [options] Override http request option.
|
|
14361
14361
|
* @throws {RequiredError}
|
|
14362
14362
|
*/
|
|
14363
|
-
|
|
14363
|
+
apiv2devicesPost(createDeviceCommand?: CreateDeviceCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeviceModel>>;
|
|
14364
14364
|
};
|
|
14365
14365
|
/**
|
|
14366
14366
|
* V2DevicesApi - factory interface
|
|
@@ -14382,7 +14382,7 @@ export declare const V2DevicesApiFactory: (configuration?: Configuration, basePa
|
|
|
14382
14382
|
* @param {*} [options] Override http request option.
|
|
14383
14383
|
* @throws {RequiredError}
|
|
14384
14384
|
*/
|
|
14385
|
-
|
|
14385
|
+
apiv2devicesGet(id?: string, token?: string, platform?: Platform, appAlert?: boolean, eventAlert?: boolean, noticeAlert?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DevicesModel>;
|
|
14386
14386
|
/**
|
|
14387
14387
|
*
|
|
14388
14388
|
* @summary Delete device.
|
|
@@ -14390,7 +14390,7 @@ export declare const V2DevicesApiFactory: (configuration?: Configuration, basePa
|
|
|
14390
14390
|
* @param {*} [options] Override http request option.
|
|
14391
14391
|
* @throws {RequiredError}
|
|
14392
14392
|
*/
|
|
14393
|
-
|
|
14393
|
+
apiv2devicesIdDelete(id: string, options?: any): AxiosPromise<boolean>;
|
|
14394
14394
|
/**
|
|
14395
14395
|
*
|
|
14396
14396
|
* @summary Get device.
|
|
@@ -14398,7 +14398,7 @@ export declare const V2DevicesApiFactory: (configuration?: Configuration, basePa
|
|
|
14398
14398
|
* @param {*} [options] Override http request option.
|
|
14399
14399
|
* @throws {RequiredError}
|
|
14400
14400
|
*/
|
|
14401
|
-
|
|
14401
|
+
apiv2devicesIdGet(id: string, options?: any): AxiosPromise<DeviceModel>;
|
|
14402
14402
|
/**
|
|
14403
14403
|
*
|
|
14404
14404
|
* @summary Create device login.
|
|
@@ -14407,7 +14407,7 @@ export declare const V2DevicesApiFactory: (configuration?: Configuration, basePa
|
|
|
14407
14407
|
* @param {*} [options] Override http request option.
|
|
14408
14408
|
* @throws {RequiredError}
|
|
14409
14409
|
*/
|
|
14410
|
-
|
|
14410
|
+
apiv2devicesIdLoginsPost(id: string, createDeviceLoginCommand?: CreateDeviceLoginCommand, options?: any): AxiosPromise<string>;
|
|
14411
14411
|
/**
|
|
14412
14412
|
*
|
|
14413
14413
|
* @summary Update device.
|
|
@@ -14416,7 +14416,7 @@ export declare const V2DevicesApiFactory: (configuration?: Configuration, basePa
|
|
|
14416
14416
|
* @param {*} [options] Override http request option.
|
|
14417
14417
|
* @throws {RequiredError}
|
|
14418
14418
|
*/
|
|
14419
|
-
|
|
14419
|
+
apiv2devicesIdPut(id: string, updateDeviceCommand?: UpdateDeviceCommand, options?: any): AxiosPromise<boolean>;
|
|
14420
14420
|
/**
|
|
14421
14421
|
*
|
|
14422
14422
|
* @summary Create device.
|
|
@@ -14424,7 +14424,7 @@ export declare const V2DevicesApiFactory: (configuration?: Configuration, basePa
|
|
|
14424
14424
|
* @param {*} [options] Override http request option.
|
|
14425
14425
|
* @throws {RequiredError}
|
|
14426
14426
|
*/
|
|
14427
|
-
|
|
14427
|
+
apiv2devicesPost(createDeviceCommand?: CreateDeviceCommand, options?: any): AxiosPromise<DeviceModel>;
|
|
14428
14428
|
};
|
|
14429
14429
|
/**
|
|
14430
14430
|
* V2DevicesApi - object-oriented interface
|
|
@@ -14449,7 +14449,7 @@ export declare class V2DevicesApi extends BaseAPI {
|
|
|
14449
14449
|
* @throws {RequiredError}
|
|
14450
14450
|
* @memberof V2DevicesApi
|
|
14451
14451
|
*/
|
|
14452
|
-
|
|
14452
|
+
apiv2devicesGet(id?: string, token?: string, platform?: Platform, appAlert?: boolean, eventAlert?: boolean, noticeAlert?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DevicesModel, any>>;
|
|
14453
14453
|
/**
|
|
14454
14454
|
*
|
|
14455
14455
|
* @summary Delete device.
|
|
@@ -14458,7 +14458,7 @@ export declare class V2DevicesApi extends BaseAPI {
|
|
|
14458
14458
|
* @throws {RequiredError}
|
|
14459
14459
|
* @memberof V2DevicesApi
|
|
14460
14460
|
*/
|
|
14461
|
-
|
|
14461
|
+
apiv2devicesIdDelete(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
|
|
14462
14462
|
/**
|
|
14463
14463
|
*
|
|
14464
14464
|
* @summary Get device.
|
|
@@ -14467,7 +14467,7 @@ export declare class V2DevicesApi extends BaseAPI {
|
|
|
14467
14467
|
* @throws {RequiredError}
|
|
14468
14468
|
* @memberof V2DevicesApi
|
|
14469
14469
|
*/
|
|
14470
|
-
|
|
14470
|
+
apiv2devicesIdGet(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeviceModel, any>>;
|
|
14471
14471
|
/**
|
|
14472
14472
|
*
|
|
14473
14473
|
* @summary Create device login.
|
|
@@ -14477,7 +14477,7 @@ export declare class V2DevicesApi extends BaseAPI {
|
|
|
14477
14477
|
* @throws {RequiredError}
|
|
14478
14478
|
* @memberof V2DevicesApi
|
|
14479
14479
|
*/
|
|
14480
|
-
|
|
14480
|
+
apiv2devicesIdLoginsPost(id: string, createDeviceLoginCommand?: CreateDeviceLoginCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
|
|
14481
14481
|
/**
|
|
14482
14482
|
*
|
|
14483
14483
|
* @summary Update device.
|
|
@@ -14487,7 +14487,7 @@ export declare class V2DevicesApi extends BaseAPI {
|
|
|
14487
14487
|
* @throws {RequiredError}
|
|
14488
14488
|
* @memberof V2DevicesApi
|
|
14489
14489
|
*/
|
|
14490
|
-
|
|
14490
|
+
apiv2devicesIdPut(id: string, updateDeviceCommand?: UpdateDeviceCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
|
|
14491
14491
|
/**
|
|
14492
14492
|
*
|
|
14493
14493
|
* @summary Create device.
|
|
@@ -14496,7 +14496,7 @@ export declare class V2DevicesApi extends BaseAPI {
|
|
|
14496
14496
|
* @throws {RequiredError}
|
|
14497
14497
|
* @memberof V2DevicesApi
|
|
14498
14498
|
*/
|
|
14499
|
-
|
|
14499
|
+
apiv2devicesPost(createDeviceCommand?: CreateDeviceCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeviceModel, any>>;
|
|
14500
14500
|
}
|
|
14501
14501
|
/**
|
|
14502
14502
|
* V2DoctorAffiliationsApi - axios parameter creator
|
|
@@ -18203,7 +18203,7 @@ export declare const V2HospitalsConsultationTimetablesApiAxiosParamCreator: (con
|
|
|
18203
18203
|
* @param {*} [options] Override http request option.
|
|
18204
18204
|
* @throws {RequiredError}
|
|
18205
18205
|
*/
|
|
18206
|
-
|
|
18206
|
+
apiv2hospitalsHospitalIdConsultationtimetablesGet: (hospitalId: string, year?: number, month?: number, timeZone?: string, consultationIdExcluded?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
18207
18207
|
};
|
|
18208
18208
|
/**
|
|
18209
18209
|
* V2HospitalsConsultationTimetablesApi - functional programming interface
|
|
@@ -18221,7 +18221,7 @@ export declare const V2HospitalsConsultationTimetablesApiFp: (configuration?: Co
|
|
|
18221
18221
|
* @param {*} [options] Override http request option.
|
|
18222
18222
|
* @throws {RequiredError}
|
|
18223
18223
|
*/
|
|
18224
|
-
|
|
18224
|
+
apiv2hospitalsHospitalIdConsultationtimetablesGet(hospitalId: string, year?: number, month?: number, timeZone?: string, consultationIdExcluded?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConsultationTimetableModel>>;
|
|
18225
18225
|
};
|
|
18226
18226
|
/**
|
|
18227
18227
|
* V2HospitalsConsultationTimetablesApi - factory interface
|
|
@@ -18239,7 +18239,7 @@ export declare const V2HospitalsConsultationTimetablesApiFactory: (configuration
|
|
|
18239
18239
|
* @param {*} [options] Override http request option.
|
|
18240
18240
|
* @throws {RequiredError}
|
|
18241
18241
|
*/
|
|
18242
|
-
|
|
18242
|
+
apiv2hospitalsHospitalIdConsultationtimetablesGet(hospitalId: string, year?: number, month?: number, timeZone?: string, consultationIdExcluded?: string, options?: any): AxiosPromise<ConsultationTimetableModel>;
|
|
18243
18243
|
};
|
|
18244
18244
|
/**
|
|
18245
18245
|
* V2HospitalsConsultationTimetablesApi - object-oriented interface
|
|
@@ -18260,7 +18260,7 @@ export declare class V2HospitalsConsultationTimetablesApi extends BaseAPI {
|
|
|
18260
18260
|
* @throws {RequiredError}
|
|
18261
18261
|
* @memberof V2HospitalsConsultationTimetablesApi
|
|
18262
18262
|
*/
|
|
18263
|
-
|
|
18263
|
+
apiv2hospitalsHospitalIdConsultationtimetablesGet(hospitalId: string, year?: number, month?: number, timeZone?: string, consultationIdExcluded?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ConsultationTimetableModel, any>>;
|
|
18264
18264
|
}
|
|
18265
18265
|
/**
|
|
18266
18266
|
* V2ImagesApi - axios parameter creator
|
package/lib/api.js
CHANGED
|
@@ -947,14 +947,14 @@ var V2AppVersionApiAxiosParamCreator = function (configuration) {
|
|
|
947
947
|
* @param {*} [options] Override http request option.
|
|
948
948
|
* @throws {RequiredError}
|
|
949
949
|
*/
|
|
950
|
-
|
|
950
|
+
apiv2appversionPlatformGet: function (platform, options) {
|
|
951
951
|
if (options === void 0) { options = {}; }
|
|
952
952
|
return __awaiter(_this, void 0, void 0, function () {
|
|
953
953
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
954
954
|
return __generator(this, function (_a) {
|
|
955
955
|
// verify required parameter 'platform' is not null or undefined
|
|
956
|
-
(0, common_1.assertParamExists)('
|
|
957
|
-
localVarPath = "/
|
|
956
|
+
(0, common_1.assertParamExists)('apiv2appversionPlatformGet', 'platform', platform);
|
|
957
|
+
localVarPath = "/apiv2appversion/{platform}"
|
|
958
958
|
.replace("{".concat("platform", "}"), encodeURIComponent(String(platform)));
|
|
959
959
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
960
960
|
if (configuration) {
|
|
@@ -989,12 +989,12 @@ var V2AppVersionApiFp = function (configuration) {
|
|
|
989
989
|
* @param {*} [options] Override http request option.
|
|
990
990
|
* @throws {RequiredError}
|
|
991
991
|
*/
|
|
992
|
-
|
|
992
|
+
apiv2appversionPlatformGet: function (platform, options) {
|
|
993
993
|
return __awaiter(this, void 0, void 0, function () {
|
|
994
994
|
var localVarAxiosArgs;
|
|
995
995
|
return __generator(this, function (_a) {
|
|
996
996
|
switch (_a.label) {
|
|
997
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
997
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiv2appversionPlatformGet(platform, options)];
|
|
998
998
|
case 1:
|
|
999
999
|
localVarAxiosArgs = _a.sent();
|
|
1000
1000
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -1018,8 +1018,8 @@ var V2AppVersionApiFactory = function (configuration, basePath, axios) {
|
|
|
1018
1018
|
* @param {*} [options] Override http request option.
|
|
1019
1019
|
* @throws {RequiredError}
|
|
1020
1020
|
*/
|
|
1021
|
-
|
|
1022
|
-
return localVarFp.
|
|
1021
|
+
apiv2appversionPlatformGet: function (platform, options) {
|
|
1022
|
+
return localVarFp.apiv2appversionPlatformGet(platform, options).then(function (request) { return request(axios, basePath); });
|
|
1023
1023
|
},
|
|
1024
1024
|
};
|
|
1025
1025
|
};
|
|
@@ -1042,9 +1042,9 @@ var V2AppVersionApi = /** @class */ (function (_super) {
|
|
|
1042
1042
|
* @throws {RequiredError}
|
|
1043
1043
|
* @memberof V2AppVersionApi
|
|
1044
1044
|
*/
|
|
1045
|
-
V2AppVersionApi.prototype.
|
|
1045
|
+
V2AppVersionApi.prototype.apiv2appversionPlatformGet = function (platform, options) {
|
|
1046
1046
|
var _this = this;
|
|
1047
|
-
return (0, exports.V2AppVersionApiFp)(this.configuration).
|
|
1047
|
+
return (0, exports.V2AppVersionApiFp)(this.configuration).apiv2appversionPlatformGet(platform, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1048
1048
|
};
|
|
1049
1049
|
return V2AppVersionApi;
|
|
1050
1050
|
}(base_1.BaseAPI));
|
|
@@ -6551,14 +6551,14 @@ var V2DevicesApiAxiosParamCreator = function (configuration) {
|
|
|
6551
6551
|
* @param {*} [options] Override http request option.
|
|
6552
6552
|
* @throws {RequiredError}
|
|
6553
6553
|
*/
|
|
6554
|
-
|
|
6554
|
+
apiv2devicesGet: function (id, token, platform, appAlert, eventAlert, noticeAlert, page, limit, lastRetrieved, options) {
|
|
6555
6555
|
if (options === void 0) { options = {}; }
|
|
6556
6556
|
return __awaiter(_this, void 0, void 0, function () {
|
|
6557
6557
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
6558
6558
|
return __generator(this, function (_a) {
|
|
6559
6559
|
switch (_a.label) {
|
|
6560
6560
|
case 0:
|
|
6561
|
-
localVarPath = "/
|
|
6561
|
+
localVarPath = "/apiv2devices";
|
|
6562
6562
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6563
6563
|
if (configuration) {
|
|
6564
6564
|
baseOptions = configuration.baseOptions;
|
|
@@ -6620,7 +6620,7 @@ var V2DevicesApiAxiosParamCreator = function (configuration) {
|
|
|
6620
6620
|
* @param {*} [options] Override http request option.
|
|
6621
6621
|
* @throws {RequiredError}
|
|
6622
6622
|
*/
|
|
6623
|
-
|
|
6623
|
+
apiv2devicesIdDelete: function (id, options) {
|
|
6624
6624
|
if (options === void 0) { options = {}; }
|
|
6625
6625
|
return __awaiter(_this, void 0, void 0, function () {
|
|
6626
6626
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -6628,8 +6628,8 @@ var V2DevicesApiAxiosParamCreator = function (configuration) {
|
|
|
6628
6628
|
switch (_a.label) {
|
|
6629
6629
|
case 0:
|
|
6630
6630
|
// verify required parameter 'id' is not null or undefined
|
|
6631
|
-
(0, common_1.assertParamExists)('
|
|
6632
|
-
localVarPath = "/
|
|
6631
|
+
(0, common_1.assertParamExists)('apiv2devicesIdDelete', 'id', id);
|
|
6632
|
+
localVarPath = "/apiv2devices/{id}"
|
|
6633
6633
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
6634
6634
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6635
6635
|
if (configuration) {
|
|
@@ -6663,7 +6663,7 @@ var V2DevicesApiAxiosParamCreator = function (configuration) {
|
|
|
6663
6663
|
* @param {*} [options] Override http request option.
|
|
6664
6664
|
* @throws {RequiredError}
|
|
6665
6665
|
*/
|
|
6666
|
-
|
|
6666
|
+
apiv2devicesIdGet: function (id, options) {
|
|
6667
6667
|
if (options === void 0) { options = {}; }
|
|
6668
6668
|
return __awaiter(_this, void 0, void 0, function () {
|
|
6669
6669
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -6671,8 +6671,8 @@ var V2DevicesApiAxiosParamCreator = function (configuration) {
|
|
|
6671
6671
|
switch (_a.label) {
|
|
6672
6672
|
case 0:
|
|
6673
6673
|
// verify required parameter 'id' is not null or undefined
|
|
6674
|
-
(0, common_1.assertParamExists)('
|
|
6675
|
-
localVarPath = "/
|
|
6674
|
+
(0, common_1.assertParamExists)('apiv2devicesIdGet', 'id', id);
|
|
6675
|
+
localVarPath = "/apiv2devices/{id}"
|
|
6676
6676
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
6677
6677
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6678
6678
|
if (configuration) {
|
|
@@ -6707,7 +6707,7 @@ var V2DevicesApiAxiosParamCreator = function (configuration) {
|
|
|
6707
6707
|
* @param {*} [options] Override http request option.
|
|
6708
6708
|
* @throws {RequiredError}
|
|
6709
6709
|
*/
|
|
6710
|
-
|
|
6710
|
+
apiv2devicesIdLoginsPost: function (id, createDeviceLoginCommand, options) {
|
|
6711
6711
|
if (options === void 0) { options = {}; }
|
|
6712
6712
|
return __awaiter(_this, void 0, void 0, function () {
|
|
6713
6713
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -6715,8 +6715,8 @@ var V2DevicesApiAxiosParamCreator = function (configuration) {
|
|
|
6715
6715
|
switch (_a.label) {
|
|
6716
6716
|
case 0:
|
|
6717
6717
|
// verify required parameter 'id' is not null or undefined
|
|
6718
|
-
(0, common_1.assertParamExists)('
|
|
6719
|
-
localVarPath = "/
|
|
6718
|
+
(0, common_1.assertParamExists)('apiv2devicesIdLoginsPost', 'id', id);
|
|
6719
|
+
localVarPath = "/apiv2devices/{id}/logins"
|
|
6720
6720
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
6721
6721
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6722
6722
|
if (configuration) {
|
|
@@ -6753,7 +6753,7 @@ var V2DevicesApiAxiosParamCreator = function (configuration) {
|
|
|
6753
6753
|
* @param {*} [options] Override http request option.
|
|
6754
6754
|
* @throws {RequiredError}
|
|
6755
6755
|
*/
|
|
6756
|
-
|
|
6756
|
+
apiv2devicesIdPut: function (id, updateDeviceCommand, options) {
|
|
6757
6757
|
if (options === void 0) { options = {}; }
|
|
6758
6758
|
return __awaiter(_this, void 0, void 0, function () {
|
|
6759
6759
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -6761,8 +6761,8 @@ var V2DevicesApiAxiosParamCreator = function (configuration) {
|
|
|
6761
6761
|
switch (_a.label) {
|
|
6762
6762
|
case 0:
|
|
6763
6763
|
// verify required parameter 'id' is not null or undefined
|
|
6764
|
-
(0, common_1.assertParamExists)('
|
|
6765
|
-
localVarPath = "/
|
|
6764
|
+
(0, common_1.assertParamExists)('apiv2devicesIdPut', 'id', id);
|
|
6765
|
+
localVarPath = "/apiv2devices/{id}"
|
|
6766
6766
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
6767
6767
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6768
6768
|
if (configuration) {
|
|
@@ -6798,14 +6798,14 @@ var V2DevicesApiAxiosParamCreator = function (configuration) {
|
|
|
6798
6798
|
* @param {*} [options] Override http request option.
|
|
6799
6799
|
* @throws {RequiredError}
|
|
6800
6800
|
*/
|
|
6801
|
-
|
|
6801
|
+
apiv2devicesPost: function (createDeviceCommand, options) {
|
|
6802
6802
|
if (options === void 0) { options = {}; }
|
|
6803
6803
|
return __awaiter(_this, void 0, void 0, function () {
|
|
6804
6804
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
6805
6805
|
return __generator(this, function (_a) {
|
|
6806
6806
|
switch (_a.label) {
|
|
6807
6807
|
case 0:
|
|
6808
|
-
localVarPath = "/
|
|
6808
|
+
localVarPath = "/apiv2devices";
|
|
6809
6809
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6810
6810
|
if (configuration) {
|
|
6811
6811
|
baseOptions = configuration.baseOptions;
|
|
@@ -6858,12 +6858,12 @@ var V2DevicesApiFp = function (configuration) {
|
|
|
6858
6858
|
* @param {*} [options] Override http request option.
|
|
6859
6859
|
* @throws {RequiredError}
|
|
6860
6860
|
*/
|
|
6861
|
-
|
|
6861
|
+
apiv2devicesGet: function (id, token, platform, appAlert, eventAlert, noticeAlert, page, limit, lastRetrieved, options) {
|
|
6862
6862
|
return __awaiter(this, void 0, void 0, function () {
|
|
6863
6863
|
var localVarAxiosArgs;
|
|
6864
6864
|
return __generator(this, function (_a) {
|
|
6865
6865
|
switch (_a.label) {
|
|
6866
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
6866
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiv2devicesGet(id, token, platform, appAlert, eventAlert, noticeAlert, page, limit, lastRetrieved, options)];
|
|
6867
6867
|
case 1:
|
|
6868
6868
|
localVarAxiosArgs = _a.sent();
|
|
6869
6869
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -6878,12 +6878,12 @@ var V2DevicesApiFp = function (configuration) {
|
|
|
6878
6878
|
* @param {*} [options] Override http request option.
|
|
6879
6879
|
* @throws {RequiredError}
|
|
6880
6880
|
*/
|
|
6881
|
-
|
|
6881
|
+
apiv2devicesIdDelete: function (id, options) {
|
|
6882
6882
|
return __awaiter(this, void 0, void 0, function () {
|
|
6883
6883
|
var localVarAxiosArgs;
|
|
6884
6884
|
return __generator(this, function (_a) {
|
|
6885
6885
|
switch (_a.label) {
|
|
6886
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
6886
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiv2devicesIdDelete(id, options)];
|
|
6887
6887
|
case 1:
|
|
6888
6888
|
localVarAxiosArgs = _a.sent();
|
|
6889
6889
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -6898,12 +6898,12 @@ var V2DevicesApiFp = function (configuration) {
|
|
|
6898
6898
|
* @param {*} [options] Override http request option.
|
|
6899
6899
|
* @throws {RequiredError}
|
|
6900
6900
|
*/
|
|
6901
|
-
|
|
6901
|
+
apiv2devicesIdGet: function (id, options) {
|
|
6902
6902
|
return __awaiter(this, void 0, void 0, function () {
|
|
6903
6903
|
var localVarAxiosArgs;
|
|
6904
6904
|
return __generator(this, function (_a) {
|
|
6905
6905
|
switch (_a.label) {
|
|
6906
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
6906
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiv2devicesIdGet(id, options)];
|
|
6907
6907
|
case 1:
|
|
6908
6908
|
localVarAxiosArgs = _a.sent();
|
|
6909
6909
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -6919,12 +6919,12 @@ var V2DevicesApiFp = function (configuration) {
|
|
|
6919
6919
|
* @param {*} [options] Override http request option.
|
|
6920
6920
|
* @throws {RequiredError}
|
|
6921
6921
|
*/
|
|
6922
|
-
|
|
6922
|
+
apiv2devicesIdLoginsPost: function (id, createDeviceLoginCommand, options) {
|
|
6923
6923
|
return __awaiter(this, void 0, void 0, function () {
|
|
6924
6924
|
var localVarAxiosArgs;
|
|
6925
6925
|
return __generator(this, function (_a) {
|
|
6926
6926
|
switch (_a.label) {
|
|
6927
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
6927
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiv2devicesIdLoginsPost(id, createDeviceLoginCommand, options)];
|
|
6928
6928
|
case 1:
|
|
6929
6929
|
localVarAxiosArgs = _a.sent();
|
|
6930
6930
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -6940,12 +6940,12 @@ var V2DevicesApiFp = function (configuration) {
|
|
|
6940
6940
|
* @param {*} [options] Override http request option.
|
|
6941
6941
|
* @throws {RequiredError}
|
|
6942
6942
|
*/
|
|
6943
|
-
|
|
6943
|
+
apiv2devicesIdPut: function (id, updateDeviceCommand, options) {
|
|
6944
6944
|
return __awaiter(this, void 0, void 0, function () {
|
|
6945
6945
|
var localVarAxiosArgs;
|
|
6946
6946
|
return __generator(this, function (_a) {
|
|
6947
6947
|
switch (_a.label) {
|
|
6948
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
6948
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiv2devicesIdPut(id, updateDeviceCommand, options)];
|
|
6949
6949
|
case 1:
|
|
6950
6950
|
localVarAxiosArgs = _a.sent();
|
|
6951
6951
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -6960,12 +6960,12 @@ var V2DevicesApiFp = function (configuration) {
|
|
|
6960
6960
|
* @param {*} [options] Override http request option.
|
|
6961
6961
|
* @throws {RequiredError}
|
|
6962
6962
|
*/
|
|
6963
|
-
|
|
6963
|
+
apiv2devicesPost: function (createDeviceCommand, options) {
|
|
6964
6964
|
return __awaiter(this, void 0, void 0, function () {
|
|
6965
6965
|
var localVarAxiosArgs;
|
|
6966
6966
|
return __generator(this, function (_a) {
|
|
6967
6967
|
switch (_a.label) {
|
|
6968
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
6968
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiv2devicesPost(createDeviceCommand, options)];
|
|
6969
6969
|
case 1:
|
|
6970
6970
|
localVarAxiosArgs = _a.sent();
|
|
6971
6971
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -6998,8 +6998,8 @@ var V2DevicesApiFactory = function (configuration, basePath, axios) {
|
|
|
6998
6998
|
* @param {*} [options] Override http request option.
|
|
6999
6999
|
* @throws {RequiredError}
|
|
7000
7000
|
*/
|
|
7001
|
-
|
|
7002
|
-
return localVarFp.
|
|
7001
|
+
apiv2devicesGet: function (id, token, platform, appAlert, eventAlert, noticeAlert, page, limit, lastRetrieved, options) {
|
|
7002
|
+
return localVarFp.apiv2devicesGet(id, token, platform, appAlert, eventAlert, noticeAlert, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
7003
7003
|
},
|
|
7004
7004
|
/**
|
|
7005
7005
|
*
|
|
@@ -7008,8 +7008,8 @@ var V2DevicesApiFactory = function (configuration, basePath, axios) {
|
|
|
7008
7008
|
* @param {*} [options] Override http request option.
|
|
7009
7009
|
* @throws {RequiredError}
|
|
7010
7010
|
*/
|
|
7011
|
-
|
|
7012
|
-
return localVarFp.
|
|
7011
|
+
apiv2devicesIdDelete: function (id, options) {
|
|
7012
|
+
return localVarFp.apiv2devicesIdDelete(id, options).then(function (request) { return request(axios, basePath); });
|
|
7013
7013
|
},
|
|
7014
7014
|
/**
|
|
7015
7015
|
*
|
|
@@ -7018,8 +7018,8 @@ var V2DevicesApiFactory = function (configuration, basePath, axios) {
|
|
|
7018
7018
|
* @param {*} [options] Override http request option.
|
|
7019
7019
|
* @throws {RequiredError}
|
|
7020
7020
|
*/
|
|
7021
|
-
|
|
7022
|
-
return localVarFp.
|
|
7021
|
+
apiv2devicesIdGet: function (id, options) {
|
|
7022
|
+
return localVarFp.apiv2devicesIdGet(id, options).then(function (request) { return request(axios, basePath); });
|
|
7023
7023
|
},
|
|
7024
7024
|
/**
|
|
7025
7025
|
*
|
|
@@ -7029,8 +7029,8 @@ var V2DevicesApiFactory = function (configuration, basePath, axios) {
|
|
|
7029
7029
|
* @param {*} [options] Override http request option.
|
|
7030
7030
|
* @throws {RequiredError}
|
|
7031
7031
|
*/
|
|
7032
|
-
|
|
7033
|
-
return localVarFp.
|
|
7032
|
+
apiv2devicesIdLoginsPost: function (id, createDeviceLoginCommand, options) {
|
|
7033
|
+
return localVarFp.apiv2devicesIdLoginsPost(id, createDeviceLoginCommand, options).then(function (request) { return request(axios, basePath); });
|
|
7034
7034
|
},
|
|
7035
7035
|
/**
|
|
7036
7036
|
*
|
|
@@ -7040,8 +7040,8 @@ var V2DevicesApiFactory = function (configuration, basePath, axios) {
|
|
|
7040
7040
|
* @param {*} [options] Override http request option.
|
|
7041
7041
|
* @throws {RequiredError}
|
|
7042
7042
|
*/
|
|
7043
|
-
|
|
7044
|
-
return localVarFp.
|
|
7043
|
+
apiv2devicesIdPut: function (id, updateDeviceCommand, options) {
|
|
7044
|
+
return localVarFp.apiv2devicesIdPut(id, updateDeviceCommand, options).then(function (request) { return request(axios, basePath); });
|
|
7045
7045
|
},
|
|
7046
7046
|
/**
|
|
7047
7047
|
*
|
|
@@ -7050,8 +7050,8 @@ var V2DevicesApiFactory = function (configuration, basePath, axios) {
|
|
|
7050
7050
|
* @param {*} [options] Override http request option.
|
|
7051
7051
|
* @throws {RequiredError}
|
|
7052
7052
|
*/
|
|
7053
|
-
|
|
7054
|
-
return localVarFp.
|
|
7053
|
+
apiv2devicesPost: function (createDeviceCommand, options) {
|
|
7054
|
+
return localVarFp.apiv2devicesPost(createDeviceCommand, options).then(function (request) { return request(axios, basePath); });
|
|
7055
7055
|
},
|
|
7056
7056
|
};
|
|
7057
7057
|
};
|
|
@@ -7083,9 +7083,9 @@ var V2DevicesApi = /** @class */ (function (_super) {
|
|
|
7083
7083
|
* @throws {RequiredError}
|
|
7084
7084
|
* @memberof V2DevicesApi
|
|
7085
7085
|
*/
|
|
7086
|
-
V2DevicesApi.prototype.
|
|
7086
|
+
V2DevicesApi.prototype.apiv2devicesGet = function (id, token, platform, appAlert, eventAlert, noticeAlert, page, limit, lastRetrieved, options) {
|
|
7087
7087
|
var _this = this;
|
|
7088
|
-
return (0, exports.V2DevicesApiFp)(this.configuration).
|
|
7088
|
+
return (0, exports.V2DevicesApiFp)(this.configuration).apiv2devicesGet(id, token, platform, appAlert, eventAlert, noticeAlert, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7089
7089
|
};
|
|
7090
7090
|
/**
|
|
7091
7091
|
*
|
|
@@ -7095,9 +7095,9 @@ var V2DevicesApi = /** @class */ (function (_super) {
|
|
|
7095
7095
|
* @throws {RequiredError}
|
|
7096
7096
|
* @memberof V2DevicesApi
|
|
7097
7097
|
*/
|
|
7098
|
-
V2DevicesApi.prototype.
|
|
7098
|
+
V2DevicesApi.prototype.apiv2devicesIdDelete = function (id, options) {
|
|
7099
7099
|
var _this = this;
|
|
7100
|
-
return (0, exports.V2DevicesApiFp)(this.configuration).
|
|
7100
|
+
return (0, exports.V2DevicesApiFp)(this.configuration).apiv2devicesIdDelete(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7101
7101
|
};
|
|
7102
7102
|
/**
|
|
7103
7103
|
*
|
|
@@ -7107,9 +7107,9 @@ var V2DevicesApi = /** @class */ (function (_super) {
|
|
|
7107
7107
|
* @throws {RequiredError}
|
|
7108
7108
|
* @memberof V2DevicesApi
|
|
7109
7109
|
*/
|
|
7110
|
-
V2DevicesApi.prototype.
|
|
7110
|
+
V2DevicesApi.prototype.apiv2devicesIdGet = function (id, options) {
|
|
7111
7111
|
var _this = this;
|
|
7112
|
-
return (0, exports.V2DevicesApiFp)(this.configuration).
|
|
7112
|
+
return (0, exports.V2DevicesApiFp)(this.configuration).apiv2devicesIdGet(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7113
7113
|
};
|
|
7114
7114
|
/**
|
|
7115
7115
|
*
|
|
@@ -7120,9 +7120,9 @@ var V2DevicesApi = /** @class */ (function (_super) {
|
|
|
7120
7120
|
* @throws {RequiredError}
|
|
7121
7121
|
* @memberof V2DevicesApi
|
|
7122
7122
|
*/
|
|
7123
|
-
V2DevicesApi.prototype.
|
|
7123
|
+
V2DevicesApi.prototype.apiv2devicesIdLoginsPost = function (id, createDeviceLoginCommand, options) {
|
|
7124
7124
|
var _this = this;
|
|
7125
|
-
return (0, exports.V2DevicesApiFp)(this.configuration).
|
|
7125
|
+
return (0, exports.V2DevicesApiFp)(this.configuration).apiv2devicesIdLoginsPost(id, createDeviceLoginCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7126
7126
|
};
|
|
7127
7127
|
/**
|
|
7128
7128
|
*
|
|
@@ -7133,9 +7133,9 @@ var V2DevicesApi = /** @class */ (function (_super) {
|
|
|
7133
7133
|
* @throws {RequiredError}
|
|
7134
7134
|
* @memberof V2DevicesApi
|
|
7135
7135
|
*/
|
|
7136
|
-
V2DevicesApi.prototype.
|
|
7136
|
+
V2DevicesApi.prototype.apiv2devicesIdPut = function (id, updateDeviceCommand, options) {
|
|
7137
7137
|
var _this = this;
|
|
7138
|
-
return (0, exports.V2DevicesApiFp)(this.configuration).
|
|
7138
|
+
return (0, exports.V2DevicesApiFp)(this.configuration).apiv2devicesIdPut(id, updateDeviceCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7139
7139
|
};
|
|
7140
7140
|
/**
|
|
7141
7141
|
*
|
|
@@ -7145,9 +7145,9 @@ var V2DevicesApi = /** @class */ (function (_super) {
|
|
|
7145
7145
|
* @throws {RequiredError}
|
|
7146
7146
|
* @memberof V2DevicesApi
|
|
7147
7147
|
*/
|
|
7148
|
-
V2DevicesApi.prototype.
|
|
7148
|
+
V2DevicesApi.prototype.apiv2devicesPost = function (createDeviceCommand, options) {
|
|
7149
7149
|
var _this = this;
|
|
7150
|
-
return (0, exports.V2DevicesApiFp)(this.configuration).
|
|
7150
|
+
return (0, exports.V2DevicesApiFp)(this.configuration).apiv2devicesPost(createDeviceCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7151
7151
|
};
|
|
7152
7152
|
return V2DevicesApi;
|
|
7153
7153
|
}(base_1.BaseAPI));
|
|
@@ -14960,7 +14960,7 @@ var V2HospitalsConsultationTimetablesApiAxiosParamCreator = function (configurat
|
|
|
14960
14960
|
* @param {*} [options] Override http request option.
|
|
14961
14961
|
* @throws {RequiredError}
|
|
14962
14962
|
*/
|
|
14963
|
-
|
|
14963
|
+
apiv2hospitalsHospitalIdConsultationtimetablesGet: function (hospitalId, year, month, timeZone, consultationIdExcluded, options) {
|
|
14964
14964
|
if (options === void 0) { options = {}; }
|
|
14965
14965
|
return __awaiter(_this, void 0, void 0, function () {
|
|
14966
14966
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -14968,8 +14968,8 @@ var V2HospitalsConsultationTimetablesApiAxiosParamCreator = function (configurat
|
|
|
14968
14968
|
switch (_a.label) {
|
|
14969
14969
|
case 0:
|
|
14970
14970
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
14971
|
-
(0, common_1.assertParamExists)('
|
|
14972
|
-
localVarPath = "/
|
|
14971
|
+
(0, common_1.assertParamExists)('apiv2hospitalsHospitalIdConsultationtimetablesGet', 'hospitalId', hospitalId);
|
|
14972
|
+
localVarPath = "/apiv2hospitals/{hospitalId}/consultationtimetables"
|
|
14973
14973
|
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)));
|
|
14974
14974
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14975
14975
|
if (configuration) {
|
|
@@ -15029,12 +15029,12 @@ var V2HospitalsConsultationTimetablesApiFp = function (configuration) {
|
|
|
15029
15029
|
* @param {*} [options] Override http request option.
|
|
15030
15030
|
* @throws {RequiredError}
|
|
15031
15031
|
*/
|
|
15032
|
-
|
|
15032
|
+
apiv2hospitalsHospitalIdConsultationtimetablesGet: function (hospitalId, year, month, timeZone, consultationIdExcluded, options) {
|
|
15033
15033
|
return __awaiter(this, void 0, void 0, function () {
|
|
15034
15034
|
var localVarAxiosArgs;
|
|
15035
15035
|
return __generator(this, function (_a) {
|
|
15036
15036
|
switch (_a.label) {
|
|
15037
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
15037
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiv2hospitalsHospitalIdConsultationtimetablesGet(hospitalId, year, month, timeZone, consultationIdExcluded, options)];
|
|
15038
15038
|
case 1:
|
|
15039
15039
|
localVarAxiosArgs = _a.sent();
|
|
15040
15040
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -15063,8 +15063,8 @@ var V2HospitalsConsultationTimetablesApiFactory = function (configuration, baseP
|
|
|
15063
15063
|
* @param {*} [options] Override http request option.
|
|
15064
15064
|
* @throws {RequiredError}
|
|
15065
15065
|
*/
|
|
15066
|
-
|
|
15067
|
-
return localVarFp.
|
|
15066
|
+
apiv2hospitalsHospitalIdConsultationtimetablesGet: function (hospitalId, year, month, timeZone, consultationIdExcluded, options) {
|
|
15067
|
+
return localVarFp.apiv2hospitalsHospitalIdConsultationtimetablesGet(hospitalId, year, month, timeZone, consultationIdExcluded, options).then(function (request) { return request(axios, basePath); });
|
|
15068
15068
|
},
|
|
15069
15069
|
};
|
|
15070
15070
|
};
|
|
@@ -15092,9 +15092,9 @@ var V2HospitalsConsultationTimetablesApi = /** @class */ (function (_super) {
|
|
|
15092
15092
|
* @throws {RequiredError}
|
|
15093
15093
|
* @memberof V2HospitalsConsultationTimetablesApi
|
|
15094
15094
|
*/
|
|
15095
|
-
V2HospitalsConsultationTimetablesApi.prototype.
|
|
15095
|
+
V2HospitalsConsultationTimetablesApi.prototype.apiv2hospitalsHospitalIdConsultationtimetablesGet = function (hospitalId, year, month, timeZone, consultationIdExcluded, options) {
|
|
15096
15096
|
var _this = this;
|
|
15097
|
-
return (0, exports.V2HospitalsConsultationTimetablesApiFp)(this.configuration).
|
|
15097
|
+
return (0, exports.V2HospitalsConsultationTimetablesApiFp)(this.configuration).apiv2hospitalsHospitalIdConsultationtimetablesGet(hospitalId, year, month, timeZone, consultationIdExcluded, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
15098
15098
|
};
|
|
15099
15099
|
return V2HospitalsConsultationTimetablesApi;
|
|
15100
15100
|
}(base_1.BaseAPI));
|
package/package.json
CHANGED
package/src/api.ts
CHANGED
|
@@ -12018,10 +12018,10 @@ export const V2AppVersionApiAxiosParamCreator = function (configuration?: Config
|
|
|
12018
12018
|
* @param {*} [options] Override http request option.
|
|
12019
12019
|
* @throws {RequiredError}
|
|
12020
12020
|
*/
|
|
12021
|
-
|
|
12021
|
+
apiv2appversionPlatformGet: async (platform: Platform, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12022
12022
|
// verify required parameter 'platform' is not null or undefined
|
|
12023
|
-
assertParamExists('
|
|
12024
|
-
const localVarPath = `/
|
|
12023
|
+
assertParamExists('apiv2appversionPlatformGet', 'platform', platform)
|
|
12024
|
+
const localVarPath = `/apiv2appversion/{platform}`
|
|
12025
12025
|
.replace(`{${"platform"}}`, encodeURIComponent(String(platform)));
|
|
12026
12026
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12027
12027
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -12061,8 +12061,8 @@ export const V2AppVersionApiFp = function(configuration?: Configuration) {
|
|
|
12061
12061
|
* @param {*} [options] Override http request option.
|
|
12062
12062
|
* @throws {RequiredError}
|
|
12063
12063
|
*/
|
|
12064
|
-
async
|
|
12065
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
12064
|
+
async apiv2appversionPlatformGet(platform: Platform, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AppVersionModel>> {
|
|
12065
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiv2appversionPlatformGet(platform, options);
|
|
12066
12066
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
12067
12067
|
},
|
|
12068
12068
|
}
|
|
@@ -12081,8 +12081,8 @@ export const V2AppVersionApiFactory = function (configuration?: Configuration, b
|
|
|
12081
12081
|
* @param {*} [options] Override http request option.
|
|
12082
12082
|
* @throws {RequiredError}
|
|
12083
12083
|
*/
|
|
12084
|
-
|
|
12085
|
-
return localVarFp.
|
|
12084
|
+
apiv2appversionPlatformGet(platform: Platform, options?: any): AxiosPromise<AppVersionModel> {
|
|
12085
|
+
return localVarFp.apiv2appversionPlatformGet(platform, options).then((request) => request(axios, basePath));
|
|
12086
12086
|
},
|
|
12087
12087
|
};
|
|
12088
12088
|
};
|
|
@@ -12101,8 +12101,8 @@ export class V2AppVersionApi extends BaseAPI {
|
|
|
12101
12101
|
* @throws {RequiredError}
|
|
12102
12102
|
* @memberof V2AppVersionApi
|
|
12103
12103
|
*/
|
|
12104
|
-
public
|
|
12105
|
-
return V2AppVersionApiFp(this.configuration).
|
|
12104
|
+
public apiv2appversionPlatformGet(platform: Platform, options?: AxiosRequestConfig) {
|
|
12105
|
+
return V2AppVersionApiFp(this.configuration).apiv2appversionPlatformGet(platform, options).then((request) => request(this.axios, this.basePath));
|
|
12106
12106
|
}
|
|
12107
12107
|
}
|
|
12108
12108
|
|
|
@@ -17257,8 +17257,8 @@ export const V2DevicesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
17257
17257
|
* @param {*} [options] Override http request option.
|
|
17258
17258
|
* @throws {RequiredError}
|
|
17259
17259
|
*/
|
|
17260
|
-
|
|
17261
|
-
const localVarPath = `/
|
|
17260
|
+
apiv2devicesGet: async (id?: string, token?: string, platform?: Platform, appAlert?: boolean, eventAlert?: boolean, noticeAlert?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17261
|
+
const localVarPath = `/apiv2devices`;
|
|
17262
17262
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17263
17263
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17264
17264
|
let baseOptions;
|
|
@@ -17330,10 +17330,10 @@ export const V2DevicesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
17330
17330
|
* @param {*} [options] Override http request option.
|
|
17331
17331
|
* @throws {RequiredError}
|
|
17332
17332
|
*/
|
|
17333
|
-
|
|
17333
|
+
apiv2devicesIdDelete: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17334
17334
|
// verify required parameter 'id' is not null or undefined
|
|
17335
|
-
assertParamExists('
|
|
17336
|
-
const localVarPath = `/
|
|
17335
|
+
assertParamExists('apiv2devicesIdDelete', 'id', id)
|
|
17336
|
+
const localVarPath = `/apiv2devices/{id}`
|
|
17337
17337
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
17338
17338
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17339
17339
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -17368,10 +17368,10 @@ export const V2DevicesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
17368
17368
|
* @param {*} [options] Override http request option.
|
|
17369
17369
|
* @throws {RequiredError}
|
|
17370
17370
|
*/
|
|
17371
|
-
|
|
17371
|
+
apiv2devicesIdGet: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17372
17372
|
// verify required parameter 'id' is not null or undefined
|
|
17373
|
-
assertParamExists('
|
|
17374
|
-
const localVarPath = `/
|
|
17373
|
+
assertParamExists('apiv2devicesIdGet', 'id', id)
|
|
17374
|
+
const localVarPath = `/apiv2devices/{id}`
|
|
17375
17375
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
17376
17376
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17377
17377
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -17407,10 +17407,10 @@ export const V2DevicesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
17407
17407
|
* @param {*} [options] Override http request option.
|
|
17408
17408
|
* @throws {RequiredError}
|
|
17409
17409
|
*/
|
|
17410
|
-
|
|
17410
|
+
apiv2devicesIdLoginsPost: async (id: string, createDeviceLoginCommand?: CreateDeviceLoginCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17411
17411
|
// verify required parameter 'id' is not null or undefined
|
|
17412
|
-
assertParamExists('
|
|
17413
|
-
const localVarPath = `/
|
|
17412
|
+
assertParamExists('apiv2devicesIdLoginsPost', 'id', id)
|
|
17413
|
+
const localVarPath = `/apiv2devices/{id}/logins`
|
|
17414
17414
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
17415
17415
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17416
17416
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -17449,10 +17449,10 @@ export const V2DevicesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
17449
17449
|
* @param {*} [options] Override http request option.
|
|
17450
17450
|
* @throws {RequiredError}
|
|
17451
17451
|
*/
|
|
17452
|
-
|
|
17452
|
+
apiv2devicesIdPut: async (id: string, updateDeviceCommand?: UpdateDeviceCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17453
17453
|
// verify required parameter 'id' is not null or undefined
|
|
17454
|
-
assertParamExists('
|
|
17455
|
-
const localVarPath = `/
|
|
17454
|
+
assertParamExists('apiv2devicesIdPut', 'id', id)
|
|
17455
|
+
const localVarPath = `/apiv2devices/{id}`
|
|
17456
17456
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
17457
17457
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17458
17458
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -17490,8 +17490,8 @@ export const V2DevicesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
17490
17490
|
* @param {*} [options] Override http request option.
|
|
17491
17491
|
* @throws {RequiredError}
|
|
17492
17492
|
*/
|
|
17493
|
-
|
|
17494
|
-
const localVarPath = `/
|
|
17493
|
+
apiv2devicesPost: async (createDeviceCommand?: CreateDeviceCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17494
|
+
const localVarPath = `/apiv2devices`;
|
|
17495
17495
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17496
17496
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17497
17497
|
let baseOptions;
|
|
@@ -17546,8 +17546,8 @@ export const V2DevicesApiFp = function(configuration?: Configuration) {
|
|
|
17546
17546
|
* @param {*} [options] Override http request option.
|
|
17547
17547
|
* @throws {RequiredError}
|
|
17548
17548
|
*/
|
|
17549
|
-
async
|
|
17550
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
17549
|
+
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>> {
|
|
17550
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiv2devicesGet(id, token, platform, appAlert, eventAlert, noticeAlert, page, limit, lastRetrieved, options);
|
|
17551
17551
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
17552
17552
|
},
|
|
17553
17553
|
/**
|
|
@@ -17557,8 +17557,8 @@ export const V2DevicesApiFp = function(configuration?: Configuration) {
|
|
|
17557
17557
|
* @param {*} [options] Override http request option.
|
|
17558
17558
|
* @throws {RequiredError}
|
|
17559
17559
|
*/
|
|
17560
|
-
async
|
|
17561
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
17560
|
+
async apiv2devicesIdDelete(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
17561
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiv2devicesIdDelete(id, options);
|
|
17562
17562
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
17563
17563
|
},
|
|
17564
17564
|
/**
|
|
@@ -17568,8 +17568,8 @@ export const V2DevicesApiFp = function(configuration?: Configuration) {
|
|
|
17568
17568
|
* @param {*} [options] Override http request option.
|
|
17569
17569
|
* @throws {RequiredError}
|
|
17570
17570
|
*/
|
|
17571
|
-
async
|
|
17572
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
17571
|
+
async apiv2devicesIdGet(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeviceModel>> {
|
|
17572
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiv2devicesIdGet(id, options);
|
|
17573
17573
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
17574
17574
|
},
|
|
17575
17575
|
/**
|
|
@@ -17580,8 +17580,8 @@ export const V2DevicesApiFp = function(configuration?: Configuration) {
|
|
|
17580
17580
|
* @param {*} [options] Override http request option.
|
|
17581
17581
|
* @throws {RequiredError}
|
|
17582
17582
|
*/
|
|
17583
|
-
async
|
|
17584
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
17583
|
+
async apiv2devicesIdLoginsPost(id: string, createDeviceLoginCommand?: CreateDeviceLoginCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
17584
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiv2devicesIdLoginsPost(id, createDeviceLoginCommand, options);
|
|
17585
17585
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
17586
17586
|
},
|
|
17587
17587
|
/**
|
|
@@ -17592,8 +17592,8 @@ export const V2DevicesApiFp = function(configuration?: Configuration) {
|
|
|
17592
17592
|
* @param {*} [options] Override http request option.
|
|
17593
17593
|
* @throws {RequiredError}
|
|
17594
17594
|
*/
|
|
17595
|
-
async
|
|
17596
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
17595
|
+
async apiv2devicesIdPut(id: string, updateDeviceCommand?: UpdateDeviceCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
17596
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiv2devicesIdPut(id, updateDeviceCommand, options);
|
|
17597
17597
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
17598
17598
|
},
|
|
17599
17599
|
/**
|
|
@@ -17603,8 +17603,8 @@ export const V2DevicesApiFp = function(configuration?: Configuration) {
|
|
|
17603
17603
|
* @param {*} [options] Override http request option.
|
|
17604
17604
|
* @throws {RequiredError}
|
|
17605
17605
|
*/
|
|
17606
|
-
async
|
|
17607
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
17606
|
+
async apiv2devicesPost(createDeviceCommand?: CreateDeviceCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeviceModel>> {
|
|
17607
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiv2devicesPost(createDeviceCommand, options);
|
|
17608
17608
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
17609
17609
|
},
|
|
17610
17610
|
}
|
|
@@ -17632,8 +17632,8 @@ export const V2DevicesApiFactory = function (configuration?: Configuration, base
|
|
|
17632
17632
|
* @param {*} [options] Override http request option.
|
|
17633
17633
|
* @throws {RequiredError}
|
|
17634
17634
|
*/
|
|
17635
|
-
|
|
17636
|
-
return localVarFp.
|
|
17635
|
+
apiv2devicesGet(id?: string, token?: string, platform?: Platform, appAlert?: boolean, eventAlert?: boolean, noticeAlert?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DevicesModel> {
|
|
17636
|
+
return localVarFp.apiv2devicesGet(id, token, platform, appAlert, eventAlert, noticeAlert, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
17637
17637
|
},
|
|
17638
17638
|
/**
|
|
17639
17639
|
*
|
|
@@ -17642,8 +17642,8 @@ export const V2DevicesApiFactory = function (configuration?: Configuration, base
|
|
|
17642
17642
|
* @param {*} [options] Override http request option.
|
|
17643
17643
|
* @throws {RequiredError}
|
|
17644
17644
|
*/
|
|
17645
|
-
|
|
17646
|
-
return localVarFp.
|
|
17645
|
+
apiv2devicesIdDelete(id: string, options?: any): AxiosPromise<boolean> {
|
|
17646
|
+
return localVarFp.apiv2devicesIdDelete(id, options).then((request) => request(axios, basePath));
|
|
17647
17647
|
},
|
|
17648
17648
|
/**
|
|
17649
17649
|
*
|
|
@@ -17652,8 +17652,8 @@ export const V2DevicesApiFactory = function (configuration?: Configuration, base
|
|
|
17652
17652
|
* @param {*} [options] Override http request option.
|
|
17653
17653
|
* @throws {RequiredError}
|
|
17654
17654
|
*/
|
|
17655
|
-
|
|
17656
|
-
return localVarFp.
|
|
17655
|
+
apiv2devicesIdGet(id: string, options?: any): AxiosPromise<DeviceModel> {
|
|
17656
|
+
return localVarFp.apiv2devicesIdGet(id, options).then((request) => request(axios, basePath));
|
|
17657
17657
|
},
|
|
17658
17658
|
/**
|
|
17659
17659
|
*
|
|
@@ -17663,8 +17663,8 @@ export const V2DevicesApiFactory = function (configuration?: Configuration, base
|
|
|
17663
17663
|
* @param {*} [options] Override http request option.
|
|
17664
17664
|
* @throws {RequiredError}
|
|
17665
17665
|
*/
|
|
17666
|
-
|
|
17667
|
-
return localVarFp.
|
|
17666
|
+
apiv2devicesIdLoginsPost(id: string, createDeviceLoginCommand?: CreateDeviceLoginCommand, options?: any): AxiosPromise<string> {
|
|
17667
|
+
return localVarFp.apiv2devicesIdLoginsPost(id, createDeviceLoginCommand, options).then((request) => request(axios, basePath));
|
|
17668
17668
|
},
|
|
17669
17669
|
/**
|
|
17670
17670
|
*
|
|
@@ -17674,8 +17674,8 @@ export const V2DevicesApiFactory = function (configuration?: Configuration, base
|
|
|
17674
17674
|
* @param {*} [options] Override http request option.
|
|
17675
17675
|
* @throws {RequiredError}
|
|
17676
17676
|
*/
|
|
17677
|
-
|
|
17678
|
-
return localVarFp.
|
|
17677
|
+
apiv2devicesIdPut(id: string, updateDeviceCommand?: UpdateDeviceCommand, options?: any): AxiosPromise<boolean> {
|
|
17678
|
+
return localVarFp.apiv2devicesIdPut(id, updateDeviceCommand, options).then((request) => request(axios, basePath));
|
|
17679
17679
|
},
|
|
17680
17680
|
/**
|
|
17681
17681
|
*
|
|
@@ -17684,8 +17684,8 @@ export const V2DevicesApiFactory = function (configuration?: Configuration, base
|
|
|
17684
17684
|
* @param {*} [options] Override http request option.
|
|
17685
17685
|
* @throws {RequiredError}
|
|
17686
17686
|
*/
|
|
17687
|
-
|
|
17688
|
-
return localVarFp.
|
|
17687
|
+
apiv2devicesPost(createDeviceCommand?: CreateDeviceCommand, options?: any): AxiosPromise<DeviceModel> {
|
|
17688
|
+
return localVarFp.apiv2devicesPost(createDeviceCommand, options).then((request) => request(axios, basePath));
|
|
17689
17689
|
},
|
|
17690
17690
|
};
|
|
17691
17691
|
};
|
|
@@ -17713,8 +17713,8 @@ export class V2DevicesApi extends BaseAPI {
|
|
|
17713
17713
|
* @throws {RequiredError}
|
|
17714
17714
|
* @memberof V2DevicesApi
|
|
17715
17715
|
*/
|
|
17716
|
-
public
|
|
17717
|
-
return V2DevicesApiFp(this.configuration).
|
|
17716
|
+
public apiv2devicesGet(id?: string, token?: string, platform?: Platform, appAlert?: boolean, eventAlert?: boolean, noticeAlert?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
17717
|
+
return V2DevicesApiFp(this.configuration).apiv2devicesGet(id, token, platform, appAlert, eventAlert, noticeAlert, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
17718
17718
|
}
|
|
17719
17719
|
|
|
17720
17720
|
/**
|
|
@@ -17725,8 +17725,8 @@ export class V2DevicesApi extends BaseAPI {
|
|
|
17725
17725
|
* @throws {RequiredError}
|
|
17726
17726
|
* @memberof V2DevicesApi
|
|
17727
17727
|
*/
|
|
17728
|
-
public
|
|
17729
|
-
return V2DevicesApiFp(this.configuration).
|
|
17728
|
+
public apiv2devicesIdDelete(id: string, options?: AxiosRequestConfig) {
|
|
17729
|
+
return V2DevicesApiFp(this.configuration).apiv2devicesIdDelete(id, options).then((request) => request(this.axios, this.basePath));
|
|
17730
17730
|
}
|
|
17731
17731
|
|
|
17732
17732
|
/**
|
|
@@ -17737,8 +17737,8 @@ export class V2DevicesApi extends BaseAPI {
|
|
|
17737
17737
|
* @throws {RequiredError}
|
|
17738
17738
|
* @memberof V2DevicesApi
|
|
17739
17739
|
*/
|
|
17740
|
-
public
|
|
17741
|
-
return V2DevicesApiFp(this.configuration).
|
|
17740
|
+
public apiv2devicesIdGet(id: string, options?: AxiosRequestConfig) {
|
|
17741
|
+
return V2DevicesApiFp(this.configuration).apiv2devicesIdGet(id, options).then((request) => request(this.axios, this.basePath));
|
|
17742
17742
|
}
|
|
17743
17743
|
|
|
17744
17744
|
/**
|
|
@@ -17750,8 +17750,8 @@ export class V2DevicesApi extends BaseAPI {
|
|
|
17750
17750
|
* @throws {RequiredError}
|
|
17751
17751
|
* @memberof V2DevicesApi
|
|
17752
17752
|
*/
|
|
17753
|
-
public
|
|
17754
|
-
return V2DevicesApiFp(this.configuration).
|
|
17753
|
+
public apiv2devicesIdLoginsPost(id: string, createDeviceLoginCommand?: CreateDeviceLoginCommand, options?: AxiosRequestConfig) {
|
|
17754
|
+
return V2DevicesApiFp(this.configuration).apiv2devicesIdLoginsPost(id, createDeviceLoginCommand, options).then((request) => request(this.axios, this.basePath));
|
|
17755
17755
|
}
|
|
17756
17756
|
|
|
17757
17757
|
/**
|
|
@@ -17763,8 +17763,8 @@ export class V2DevicesApi extends BaseAPI {
|
|
|
17763
17763
|
* @throws {RequiredError}
|
|
17764
17764
|
* @memberof V2DevicesApi
|
|
17765
17765
|
*/
|
|
17766
|
-
public
|
|
17767
|
-
return V2DevicesApiFp(this.configuration).
|
|
17766
|
+
public apiv2devicesIdPut(id: string, updateDeviceCommand?: UpdateDeviceCommand, options?: AxiosRequestConfig) {
|
|
17767
|
+
return V2DevicesApiFp(this.configuration).apiv2devicesIdPut(id, updateDeviceCommand, options).then((request) => request(this.axios, this.basePath));
|
|
17768
17768
|
}
|
|
17769
17769
|
|
|
17770
17770
|
/**
|
|
@@ -17775,8 +17775,8 @@ export class V2DevicesApi extends BaseAPI {
|
|
|
17775
17775
|
* @throws {RequiredError}
|
|
17776
17776
|
* @memberof V2DevicesApi
|
|
17777
17777
|
*/
|
|
17778
|
-
public
|
|
17779
|
-
return V2DevicesApiFp(this.configuration).
|
|
17778
|
+
public apiv2devicesPost(createDeviceCommand?: CreateDeviceCommand, options?: AxiosRequestConfig) {
|
|
17779
|
+
return V2DevicesApiFp(this.configuration).apiv2devicesPost(createDeviceCommand, options).then((request) => request(this.axios, this.basePath));
|
|
17780
17780
|
}
|
|
17781
17781
|
}
|
|
17782
17782
|
|
|
@@ -25240,10 +25240,10 @@ export const V2HospitalsConsultationTimetablesApiAxiosParamCreator = function (c
|
|
|
25240
25240
|
* @param {*} [options] Override http request option.
|
|
25241
25241
|
* @throws {RequiredError}
|
|
25242
25242
|
*/
|
|
25243
|
-
|
|
25243
|
+
apiv2hospitalsHospitalIdConsultationtimetablesGet: async (hospitalId: string, year?: number, month?: number, timeZone?: string, consultationIdExcluded?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25244
25244
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
25245
|
-
assertParamExists('
|
|
25246
|
-
const localVarPath = `/
|
|
25245
|
+
assertParamExists('apiv2hospitalsHospitalIdConsultationtimetablesGet', 'hospitalId', hospitalId)
|
|
25246
|
+
const localVarPath = `/apiv2hospitals/{hospitalId}/consultationtimetables`
|
|
25247
25247
|
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
25248
25248
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25249
25249
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -25308,8 +25308,8 @@ export const V2HospitalsConsultationTimetablesApiFp = function(configuration?: C
|
|
|
25308
25308
|
* @param {*} [options] Override http request option.
|
|
25309
25309
|
* @throws {RequiredError}
|
|
25310
25310
|
*/
|
|
25311
|
-
async
|
|
25312
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
25311
|
+
async apiv2hospitalsHospitalIdConsultationtimetablesGet(hospitalId: string, year?: number, month?: number, timeZone?: string, consultationIdExcluded?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConsultationTimetableModel>> {
|
|
25312
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiv2hospitalsHospitalIdConsultationtimetablesGet(hospitalId, year, month, timeZone, consultationIdExcluded, options);
|
|
25313
25313
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
25314
25314
|
},
|
|
25315
25315
|
}
|
|
@@ -25333,8 +25333,8 @@ export const V2HospitalsConsultationTimetablesApiFactory = function (configurati
|
|
|
25333
25333
|
* @param {*} [options] Override http request option.
|
|
25334
25334
|
* @throws {RequiredError}
|
|
25335
25335
|
*/
|
|
25336
|
-
|
|
25337
|
-
return localVarFp.
|
|
25336
|
+
apiv2hospitalsHospitalIdConsultationtimetablesGet(hospitalId: string, year?: number, month?: number, timeZone?: string, consultationIdExcluded?: string, options?: any): AxiosPromise<ConsultationTimetableModel> {
|
|
25337
|
+
return localVarFp.apiv2hospitalsHospitalIdConsultationtimetablesGet(hospitalId, year, month, timeZone, consultationIdExcluded, options).then((request) => request(axios, basePath));
|
|
25338
25338
|
},
|
|
25339
25339
|
};
|
|
25340
25340
|
};
|
|
@@ -25358,8 +25358,8 @@ export class V2HospitalsConsultationTimetablesApi extends BaseAPI {
|
|
|
25358
25358
|
* @throws {RequiredError}
|
|
25359
25359
|
* @memberof V2HospitalsConsultationTimetablesApi
|
|
25360
25360
|
*/
|
|
25361
|
-
public
|
|
25362
|
-
return V2HospitalsConsultationTimetablesApiFp(this.configuration).
|
|
25361
|
+
public apiv2hospitalsHospitalIdConsultationtimetablesGet(hospitalId: string, year?: number, month?: number, timeZone?: string, consultationIdExcluded?: string, options?: AxiosRequestConfig) {
|
|
25362
|
+
return V2HospitalsConsultationTimetablesApiFp(this.configuration).apiv2hospitalsHospitalIdConsultationtimetablesGet(hospitalId, year, month, timeZone, consultationIdExcluded, options).then((request) => request(this.axios, this.basePath));
|
|
25363
25363
|
}
|
|
25364
25364
|
}
|
|
25365
25365
|
|