ch-admin-api-client-typescript 5.36.73 → 5.36.80
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/survey-forms-api.d.ts +83 -0
- package/lib/api/survey-forms-api.d.ts.map +1 -1
- package/lib/api/survey-forms-api.js +111 -0
- package/lib/models/chadmin-model.d.ts +3 -2
- package/lib/models/chadmin-model.d.ts.map +1 -1
- package/lib/models/chmanager-model.d.ts +3 -2
- package/lib/models/chmanager-model.d.ts.map +1 -1
- package/lib/models/doctor-model.d.ts +3 -2
- package/lib/models/doctor-model.d.ts.map +1 -1
- package/lib/models/index.d.ts +3 -0
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +3 -0
- package/lib/models/manager-model.d.ts +3 -2
- package/lib/models/manager-model.d.ts.map +1 -1
- package/lib/models/notification-code.d.ts +1 -0
- package/lib/models/notification-code.d.ts.map +1 -1
- package/lib/models/notification-code.js +2 -1
- package/lib/models/patient-model.d.ts +3 -2
- package/lib/models/patient-model.d.ts.map +1 -1
- package/lib/models/survey-form-affiliation-model.d.ts +31 -0
- package/lib/models/survey-form-affiliation-model.d.ts.map +1 -0
- package/lib/models/survey-form-affiliation-model.js +15 -0
- package/lib/models/survey-form-affiliations-model.d.ts +33 -0
- package/lib/models/survey-form-affiliations-model.d.ts.map +1 -0
- package/lib/models/survey-form-affiliations-model.js +15 -0
- package/lib/models/user-model.d.ts +3 -2
- package/lib/models/user-model.d.ts.map +1 -1
- package/lib/models/user-type.d.ts +26 -0
- package/lib/models/user-type.d.ts.map +1 -0
- package/lib/models/user-type.js +29 -0
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +3 -0
- package/src/api/survey-forms-api.ts +145 -0
- package/src/models/chadmin-model.ts +5 -2
- package/src/models/chmanager-model.ts +5 -2
- package/src/models/doctor-model.ts +5 -2
- package/src/models/index.ts +3 -0
- package/src/models/manager-model.ts +5 -2
- package/src/models/notification-code.ts +2 -1
- package/src/models/patient-model.ts +5 -2
- package/src/models/survey-form-affiliation-model.ts +36 -0
- package/src/models/survey-form-affiliations-model.ts +42 -0
- package/src/models/user-model.ts +5 -2
- package/src/models/user-type.ts +35 -0
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CloudHospital Admin Api
|
|
3
|
+
* CloudHospital application with Swagger, Swashbuckle, and API versioning.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1
|
|
6
|
+
* Contact: developer@icloudhospital.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { PagedListMetaData } from './paged-list-meta-data';
|
|
13
|
+
import { SurveyFormAffiliationModel } from './survey-form-affiliation-model';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface SurveyFormAffiliationsModel
|
|
18
|
+
*/
|
|
19
|
+
export interface SurveyFormAffiliationsModel {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Array<SurveyFormAffiliationModel>}
|
|
23
|
+
* @memberof SurveyFormAffiliationsModel
|
|
24
|
+
*/
|
|
25
|
+
'items'?: Array<SurveyFormAffiliationModel> | null;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {PagedListMetaData}
|
|
29
|
+
* @memberof SurveyFormAffiliationsModel
|
|
30
|
+
*/
|
|
31
|
+
'metaData'?: PagedListMetaData;
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=survey-form-affiliations-model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"survey-form-affiliations-model.d.ts","sourceRoot":"","sources":["../../src/models/survey-form-affiliations-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAG3D,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAE7E;;;;GAIG;AACH,MAAM,WAAW,2BAA2B;IACxC;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,0BAA0B,CAAC,GAAG,IAAI,CAAC;IACnD;;;;OAIG;IACH,UAAU,CAAC,EAAE,iBAAiB,CAAC;CAClC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* CloudHospital Admin Api
|
|
6
|
+
* CloudHospital application with Swagger, Swashbuckle, and API versioning.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1
|
|
9
|
+
* Contact: developer@icloudhospital.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
import { AuditableEntityModel } from './auditable-entity-model';
|
|
13
13
|
import { Gender } from './gender';
|
|
14
14
|
import { UserLanguageModel } from './user-language-model';
|
|
15
|
+
import { UserType } from './user-type';
|
|
15
16
|
/**
|
|
16
17
|
*
|
|
17
18
|
* @export
|
|
@@ -104,10 +105,10 @@ export interface UserModel {
|
|
|
104
105
|
'auditableEntity'?: AuditableEntityModel;
|
|
105
106
|
/**
|
|
106
107
|
*
|
|
107
|
-
* @type {
|
|
108
|
+
* @type {UserType}
|
|
108
109
|
* @memberof UserModel
|
|
109
110
|
*/
|
|
110
|
-
'userType'?:
|
|
111
|
+
'userType'?: UserType;
|
|
111
112
|
/**
|
|
112
113
|
*
|
|
113
114
|
* @type {Array<UserLanguageModel>}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-model.d.ts","sourceRoot":"","sources":["../../src/models/user-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAGhE,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAGlC,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"user-model.d.ts","sourceRoot":"","sources":["../../src/models/user-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAGhE,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAGlC,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAG1D,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC;;;;GAIG;AACH,MAAM,WAAW,SAAS;IACtB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,aAAa,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtC;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,oBAAoB,CAAC;IACzC;;;;OAIG;IACH,UAAU,CAAC,EAAE,QAAQ,CAAC;IACtB;;;;OAIG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC;CACjD"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CloudHospital Admin Api
|
|
3
|
+
* CloudHospital application with Swagger, Swashbuckle, and API versioning.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1
|
|
6
|
+
* Contact: developer@icloudhospital.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare const UserType: {
|
|
18
|
+
readonly Patient: "Patient";
|
|
19
|
+
readonly Partner: "Partner";
|
|
20
|
+
readonly Doctor: "Doctor";
|
|
21
|
+
readonly Manager: "Manager";
|
|
22
|
+
readonly ChManager: "CHManager";
|
|
23
|
+
readonly ChAdmin: "CHAdmin";
|
|
24
|
+
};
|
|
25
|
+
export type UserType = typeof UserType[keyof typeof UserType];
|
|
26
|
+
//# sourceMappingURL=user-type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user-type.d.ts","sourceRoot":"","sources":["../../src/models/user-type.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AAEH,eAAO,MAAM,QAAQ;;;;;;;CAOX,CAAC;AAEX,MAAM,MAAM,QAAQ,GAAG,OAAO,QAAQ,CAAC,MAAM,OAAO,QAAQ,CAAC,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* CloudHospital Admin Api
|
|
6
|
+
* CloudHospital application with Swagger, Swashbuckle, and API versioning.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1
|
|
9
|
+
* Contact: developer@icloudhospital.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.UserType = void 0;
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
exports.UserType = {
|
|
23
|
+
Patient: 'Patient',
|
|
24
|
+
Partner: 'Partner',
|
|
25
|
+
Doctor: 'Doctor',
|
|
26
|
+
Manager: 'Manager',
|
|
27
|
+
ChManager: 'CHManager',
|
|
28
|
+
ChAdmin: 'CHAdmin'
|
|
29
|
+
};
|
package/package.json
CHANGED
|
@@ -520,6 +520,8 @@ models/specialty-type-sorting-command.ts
|
|
|
520
520
|
models/specialty-types-model.ts
|
|
521
521
|
models/specialty-types-simple-model.ts
|
|
522
522
|
models/string-filter-types.ts
|
|
523
|
+
models/survey-form-affiliation-model.ts
|
|
524
|
+
models/survey-form-affiliations-model.ts
|
|
523
525
|
models/survey-form-duration-statistics-model.ts
|
|
524
526
|
models/survey-form-element-input-model.ts
|
|
525
527
|
models/survey-form-element-model.ts
|
|
@@ -638,6 +640,7 @@ models/upload-media-from-uri-command.ts
|
|
|
638
640
|
models/uploaded-medias-model.ts
|
|
639
641
|
models/user-language-model.ts
|
|
640
642
|
models/user-model.ts
|
|
643
|
+
models/user-type.ts
|
|
641
644
|
models/user.ts
|
|
642
645
|
models/web-app-environment-model.ts
|
|
643
646
|
models/web-app-environments-model.ts
|
|
@@ -27,6 +27,8 @@ import { ProblemDetails } from '../models';
|
|
|
27
27
|
// @ts-ignore
|
|
28
28
|
import { SetHospitalIntoSurveyFormCommand } from '../models';
|
|
29
29
|
// @ts-ignore
|
|
30
|
+
import { SurveyFormAffiliationsModel } from '../models';
|
|
31
|
+
// @ts-ignore
|
|
30
32
|
import { SurveyFormModel } from '../models';
|
|
31
33
|
// @ts-ignore
|
|
32
34
|
import { SurveyFormStatus } from '../models';
|
|
@@ -419,6 +421,66 @@ export const SurveyFormsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
419
421
|
|
|
420
422
|
|
|
421
423
|
|
|
424
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
425
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
426
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
427
|
+
|
|
428
|
+
return {
|
|
429
|
+
url: toPathString(localVarUrlObj),
|
|
430
|
+
options: localVarRequestOptions,
|
|
431
|
+
};
|
|
432
|
+
},
|
|
433
|
+
/**
|
|
434
|
+
*
|
|
435
|
+
* @summary Get surveyFormAffiliations
|
|
436
|
+
* @param {string} surveyFormId
|
|
437
|
+
* @param {string} [languageCode]
|
|
438
|
+
* @param {number} [page]
|
|
439
|
+
* @param {number} [limit]
|
|
440
|
+
* @param {Date} [lastRetrieved]
|
|
441
|
+
* @param {*} [options] Override http request option.
|
|
442
|
+
* @throws {RequiredError}
|
|
443
|
+
*/
|
|
444
|
+
apiV1SurveyformsSurveyFormIdSurveyformaffiliationsGet: async (surveyFormId: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
445
|
+
// verify required parameter 'surveyFormId' is not null or undefined
|
|
446
|
+
assertParamExists('apiV1SurveyformsSurveyFormIdSurveyformaffiliationsGet', 'surveyFormId', surveyFormId)
|
|
447
|
+
const localVarPath = `/api/v1/surveyforms/{surveyFormId}/surveyformaffiliations`
|
|
448
|
+
.replace(`{${"surveyFormId"}}`, encodeURIComponent(String(surveyFormId)));
|
|
449
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
450
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
451
|
+
let baseOptions;
|
|
452
|
+
if (configuration) {
|
|
453
|
+
baseOptions = configuration.baseOptions;
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
457
|
+
const localVarHeaderParameter = {} as any;
|
|
458
|
+
const localVarQueryParameter = {} as any;
|
|
459
|
+
|
|
460
|
+
// authentication oauth2 required
|
|
461
|
+
// oauth required
|
|
462
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)
|
|
463
|
+
|
|
464
|
+
if (languageCode !== undefined) {
|
|
465
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
if (page !== undefined) {
|
|
469
|
+
localVarQueryParameter['page'] = page;
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
if (limit !== undefined) {
|
|
473
|
+
localVarQueryParameter['limit'] = limit;
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
if (lastRetrieved !== undefined) {
|
|
477
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
478
|
+
(lastRetrieved as any).toISOString() :
|
|
479
|
+
lastRetrieved;
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
|
|
483
|
+
|
|
422
484
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
423
485
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
424
486
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -543,6 +605,21 @@ export const SurveyFormsApiFp = function(configuration?: Configuration) {
|
|
|
543
605
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SurveyformsSurveyFormIdReactivatePut(surveyFormId, options);
|
|
544
606
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
545
607
|
},
|
|
608
|
+
/**
|
|
609
|
+
*
|
|
610
|
+
* @summary Get surveyFormAffiliations
|
|
611
|
+
* @param {string} surveyFormId
|
|
612
|
+
* @param {string} [languageCode]
|
|
613
|
+
* @param {number} [page]
|
|
614
|
+
* @param {number} [limit]
|
|
615
|
+
* @param {Date} [lastRetrieved]
|
|
616
|
+
* @param {*} [options] Override http request option.
|
|
617
|
+
* @throws {RequiredError}
|
|
618
|
+
*/
|
|
619
|
+
async apiV1SurveyformsSurveyFormIdSurveyformaffiliationsGet(surveyFormId: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SurveyFormAffiliationsModel>> {
|
|
620
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SurveyformsSurveyFormIdSurveyformaffiliationsGet(surveyFormId, languageCode, page, limit, lastRetrieved, options);
|
|
621
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
622
|
+
},
|
|
546
623
|
}
|
|
547
624
|
};
|
|
548
625
|
|
|
@@ -650,6 +727,20 @@ export const SurveyFormsApiFactory = function (configuration?: Configuration, ba
|
|
|
650
727
|
apiV1SurveyformsSurveyFormIdReactivatePut(surveyFormId: string, options?: any): AxiosPromise<boolean> {
|
|
651
728
|
return localVarFp.apiV1SurveyformsSurveyFormIdReactivatePut(surveyFormId, options).then((request) => request(axios, basePath));
|
|
652
729
|
},
|
|
730
|
+
/**
|
|
731
|
+
*
|
|
732
|
+
* @summary Get surveyFormAffiliations
|
|
733
|
+
* @param {string} surveyFormId
|
|
734
|
+
* @param {string} [languageCode]
|
|
735
|
+
* @param {number} [page]
|
|
736
|
+
* @param {number} [limit]
|
|
737
|
+
* @param {Date} [lastRetrieved]
|
|
738
|
+
* @param {*} [options] Override http request option.
|
|
739
|
+
* @throws {RequiredError}
|
|
740
|
+
*/
|
|
741
|
+
apiV1SurveyformsSurveyFormIdSurveyformaffiliationsGet(surveyFormId: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SurveyFormAffiliationsModel> {
|
|
742
|
+
return localVarFp.apiV1SurveyformsSurveyFormIdSurveyformaffiliationsGet(surveyFormId, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
743
|
+
},
|
|
653
744
|
};
|
|
654
745
|
};
|
|
655
746
|
|
|
@@ -884,6 +975,48 @@ export interface SurveyFormsApiApiV1SurveyformsSurveyFormIdReactivatePutRequest
|
|
|
884
975
|
readonly surveyFormId: string
|
|
885
976
|
}
|
|
886
977
|
|
|
978
|
+
/**
|
|
979
|
+
* Request parameters for apiV1SurveyformsSurveyFormIdSurveyformaffiliationsGet operation in SurveyFormsApi.
|
|
980
|
+
* @export
|
|
981
|
+
* @interface SurveyFormsApiApiV1SurveyformsSurveyFormIdSurveyformaffiliationsGetRequest
|
|
982
|
+
*/
|
|
983
|
+
export interface SurveyFormsApiApiV1SurveyformsSurveyFormIdSurveyformaffiliationsGetRequest {
|
|
984
|
+
/**
|
|
985
|
+
*
|
|
986
|
+
* @type {string}
|
|
987
|
+
* @memberof SurveyFormsApiApiV1SurveyformsSurveyFormIdSurveyformaffiliationsGet
|
|
988
|
+
*/
|
|
989
|
+
readonly surveyFormId: string
|
|
990
|
+
|
|
991
|
+
/**
|
|
992
|
+
*
|
|
993
|
+
* @type {string}
|
|
994
|
+
* @memberof SurveyFormsApiApiV1SurveyformsSurveyFormIdSurveyformaffiliationsGet
|
|
995
|
+
*/
|
|
996
|
+
readonly languageCode?: string
|
|
997
|
+
|
|
998
|
+
/**
|
|
999
|
+
*
|
|
1000
|
+
* @type {number}
|
|
1001
|
+
* @memberof SurveyFormsApiApiV1SurveyformsSurveyFormIdSurveyformaffiliationsGet
|
|
1002
|
+
*/
|
|
1003
|
+
readonly page?: number
|
|
1004
|
+
|
|
1005
|
+
/**
|
|
1006
|
+
*
|
|
1007
|
+
* @type {number}
|
|
1008
|
+
* @memberof SurveyFormsApiApiV1SurveyformsSurveyFormIdSurveyformaffiliationsGet
|
|
1009
|
+
*/
|
|
1010
|
+
readonly limit?: number
|
|
1011
|
+
|
|
1012
|
+
/**
|
|
1013
|
+
*
|
|
1014
|
+
* @type {Date}
|
|
1015
|
+
* @memberof SurveyFormsApiApiV1SurveyformsSurveyFormIdSurveyformaffiliationsGet
|
|
1016
|
+
*/
|
|
1017
|
+
readonly lastRetrieved?: Date
|
|
1018
|
+
}
|
|
1019
|
+
|
|
887
1020
|
/**
|
|
888
1021
|
* SurveyFormsApi - object-oriented interface
|
|
889
1022
|
* @export
|
|
@@ -986,4 +1119,16 @@ export class SurveyFormsApi extends BaseAPI {
|
|
|
986
1119
|
public apiV1SurveyformsSurveyFormIdReactivatePut(requestParameters: SurveyFormsApiApiV1SurveyformsSurveyFormIdReactivatePutRequest, options?: AxiosRequestConfig) {
|
|
987
1120
|
return SurveyFormsApiFp(this.configuration).apiV1SurveyformsSurveyFormIdReactivatePut(requestParameters.surveyFormId, options).then((request) => request(this.axios, this.basePath));
|
|
988
1121
|
}
|
|
1122
|
+
|
|
1123
|
+
/**
|
|
1124
|
+
*
|
|
1125
|
+
* @summary Get surveyFormAffiliations
|
|
1126
|
+
* @param {SurveyFormsApiApiV1SurveyformsSurveyFormIdSurveyformaffiliationsGetRequest} requestParameters Request parameters.
|
|
1127
|
+
* @param {*} [options] Override http request option.
|
|
1128
|
+
* @throws {RequiredError}
|
|
1129
|
+
* @memberof SurveyFormsApi
|
|
1130
|
+
*/
|
|
1131
|
+
public apiV1SurveyformsSurveyFormIdSurveyformaffiliationsGet(requestParameters: SurveyFormsApiApiV1SurveyformsSurveyFormIdSurveyformaffiliationsGetRequest, options?: AxiosRequestConfig) {
|
|
1132
|
+
return SurveyFormsApiFp(this.configuration).apiV1SurveyformsSurveyFormIdSurveyformaffiliationsGet(requestParameters.surveyFormId, requestParameters.languageCode, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
1133
|
+
}
|
|
989
1134
|
}
|
|
@@ -22,6 +22,9 @@ import { Gender } from './gender';
|
|
|
22
22
|
// May contain unused imports in some cases
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import { UserLanguageModel } from './user-language-model';
|
|
25
|
+
// May contain unused imports in some cases
|
|
26
|
+
// @ts-ignore
|
|
27
|
+
import { UserType } from './user-type';
|
|
25
28
|
|
|
26
29
|
/**
|
|
27
30
|
*
|
|
@@ -115,10 +118,10 @@ export interface CHAdminModel {
|
|
|
115
118
|
'auditableEntity'?: AuditableEntityModel;
|
|
116
119
|
/**
|
|
117
120
|
*
|
|
118
|
-
* @type {
|
|
121
|
+
* @type {UserType}
|
|
119
122
|
* @memberof CHAdminModel
|
|
120
123
|
*/
|
|
121
|
-
'userType'?:
|
|
124
|
+
'userType'?: UserType;
|
|
122
125
|
/**
|
|
123
126
|
*
|
|
124
127
|
* @type {Array<UserLanguageModel>}
|
|
@@ -22,6 +22,9 @@ import { Gender } from './gender';
|
|
|
22
22
|
// May contain unused imports in some cases
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import { UserLanguageModel } from './user-language-model';
|
|
25
|
+
// May contain unused imports in some cases
|
|
26
|
+
// @ts-ignore
|
|
27
|
+
import { UserType } from './user-type';
|
|
25
28
|
|
|
26
29
|
/**
|
|
27
30
|
*
|
|
@@ -115,10 +118,10 @@ export interface CHManagerModel {
|
|
|
115
118
|
'auditableEntity'?: AuditableEntityModel;
|
|
116
119
|
/**
|
|
117
120
|
*
|
|
118
|
-
* @type {
|
|
121
|
+
* @type {UserType}
|
|
119
122
|
* @memberof CHManagerModel
|
|
120
123
|
*/
|
|
121
|
-
'userType'?:
|
|
124
|
+
'userType'?: UserType;
|
|
122
125
|
/**
|
|
123
126
|
*
|
|
124
127
|
* @type {Array<UserLanguageModel>}
|
|
@@ -25,6 +25,9 @@ import { Gender } from './gender';
|
|
|
25
25
|
// May contain unused imports in some cases
|
|
26
26
|
// @ts-ignore
|
|
27
27
|
import { UserLanguageModel } from './user-language-model';
|
|
28
|
+
// May contain unused imports in some cases
|
|
29
|
+
// @ts-ignore
|
|
30
|
+
import { UserType } from './user-type';
|
|
28
31
|
|
|
29
32
|
/**
|
|
30
33
|
*
|
|
@@ -118,10 +121,10 @@ export interface DoctorModel {
|
|
|
118
121
|
'auditableEntity'?: AuditableEntityModel;
|
|
119
122
|
/**
|
|
120
123
|
*
|
|
121
|
-
* @type {
|
|
124
|
+
* @type {UserType}
|
|
122
125
|
* @memberof DoctorModel
|
|
123
126
|
*/
|
|
124
|
-
'userType'?:
|
|
127
|
+
'userType'?: UserType;
|
|
125
128
|
/**
|
|
126
129
|
*
|
|
127
130
|
* @type {Array<UserLanguageModel>}
|
package/src/models/index.ts
CHANGED
|
@@ -456,6 +456,8 @@ export * from './specialty-type-sorting-command';
|
|
|
456
456
|
export * from './specialty-types-model';
|
|
457
457
|
export * from './specialty-types-simple-model';
|
|
458
458
|
export * from './string-filter-types';
|
|
459
|
+
export * from './survey-form-affiliation-model';
|
|
460
|
+
export * from './survey-form-affiliations-model';
|
|
459
461
|
export * from './survey-form-duration-statistics-model';
|
|
460
462
|
export * from './survey-form-element-input-model';
|
|
461
463
|
export * from './survey-form-element-model';
|
|
@@ -575,6 +577,7 @@ export * from './uploaded-medias-model';
|
|
|
575
577
|
export * from './user';
|
|
576
578
|
export * from './user-language-model';
|
|
577
579
|
export * from './user-model';
|
|
580
|
+
export * from './user-type';
|
|
578
581
|
export * from './web-app-environment-model';
|
|
579
582
|
export * from './web-app-environments-model';
|
|
580
583
|
export * from './web-app-item-model';
|
|
@@ -25,6 +25,9 @@ import { ManagerAffiliationItemModel } from './manager-affiliation-item-model';
|
|
|
25
25
|
// May contain unused imports in some cases
|
|
26
26
|
// @ts-ignore
|
|
27
27
|
import { UserLanguageModel } from './user-language-model';
|
|
28
|
+
// May contain unused imports in some cases
|
|
29
|
+
// @ts-ignore
|
|
30
|
+
import { UserType } from './user-type';
|
|
28
31
|
|
|
29
32
|
/**
|
|
30
33
|
*
|
|
@@ -118,10 +121,10 @@ export interface ManagerModel {
|
|
|
118
121
|
'auditableEntity'?: AuditableEntityModel;
|
|
119
122
|
/**
|
|
120
123
|
*
|
|
121
|
-
* @type {
|
|
124
|
+
* @type {UserType}
|
|
122
125
|
* @memberof ManagerModel
|
|
123
126
|
*/
|
|
124
|
-
'userType'?:
|
|
127
|
+
'userType'?: UserType;
|
|
125
128
|
/**
|
|
126
129
|
*
|
|
127
130
|
* @type {Array<UserLanguageModel>}
|
|
@@ -55,7 +55,8 @@ export const NotificationCode = {
|
|
|
55
55
|
AppointmentRescheduleRequested: 'AppointmentRescheduleRequested',
|
|
56
56
|
AppointmentRescheduleRequestApproved: 'AppointmentRescheduleRequestApproved',
|
|
57
57
|
AppointmentReady: 'AppointmentReady',
|
|
58
|
-
HandoffRequested: 'HandoffRequested'
|
|
58
|
+
HandoffRequested: 'HandoffRequested',
|
|
59
|
+
SessionDeleted: 'SessionDeleted'
|
|
59
60
|
} as const;
|
|
60
61
|
|
|
61
62
|
export type NotificationCode = typeof NotificationCode[keyof typeof NotificationCode];
|
|
@@ -22,6 +22,9 @@ import { Gender } from './gender';
|
|
|
22
22
|
// May contain unused imports in some cases
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import { UserLanguageModel } from './user-language-model';
|
|
25
|
+
// May contain unused imports in some cases
|
|
26
|
+
// @ts-ignore
|
|
27
|
+
import { UserType } from './user-type';
|
|
25
28
|
|
|
26
29
|
/**
|
|
27
30
|
*
|
|
@@ -115,10 +118,10 @@ export interface PatientModel {
|
|
|
115
118
|
'auditableEntity'?: AuditableEntityModel;
|
|
116
119
|
/**
|
|
117
120
|
*
|
|
118
|
-
* @type {
|
|
121
|
+
* @type {UserType}
|
|
119
122
|
* @memberof PatientModel
|
|
120
123
|
*/
|
|
121
|
-
'userType'?:
|
|
124
|
+
'userType'?: UserType;
|
|
122
125
|
/**
|
|
123
126
|
*
|
|
124
127
|
* @type {Array<UserLanguageModel>}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* CloudHospital Admin Api
|
|
5
|
+
* CloudHospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1
|
|
8
|
+
* Contact: developer@icloudhospital.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface SurveyFormAffiliationModel
|
|
21
|
+
*/
|
|
22
|
+
export interface SurveyFormAffiliationModel {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof SurveyFormAffiliationModel
|
|
27
|
+
*/
|
|
28
|
+
'hospitalId'?: string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof SurveyFormAffiliationModel
|
|
33
|
+
*/
|
|
34
|
+
'hospitalName'?: string | null;
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* CloudHospital Admin Api
|
|
5
|
+
* CloudHospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1
|
|
8
|
+
* Contact: developer@icloudhospital.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import { PagedListMetaData } from './paged-list-meta-data';
|
|
19
|
+
// May contain unused imports in some cases
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import { SurveyFormAffiliationModel } from './survey-form-affiliation-model';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface SurveyFormAffiliationsModel
|
|
27
|
+
*/
|
|
28
|
+
export interface SurveyFormAffiliationsModel {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {Array<SurveyFormAffiliationModel>}
|
|
32
|
+
* @memberof SurveyFormAffiliationsModel
|
|
33
|
+
*/
|
|
34
|
+
'items'?: Array<SurveyFormAffiliationModel> | null;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {PagedListMetaData}
|
|
38
|
+
* @memberof SurveyFormAffiliationsModel
|
|
39
|
+
*/
|
|
40
|
+
'metaData'?: PagedListMetaData;
|
|
41
|
+
}
|
|
42
|
+
|
package/src/models/user-model.ts
CHANGED
|
@@ -22,6 +22,9 @@ import { Gender } from './gender';
|
|
|
22
22
|
// May contain unused imports in some cases
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import { UserLanguageModel } from './user-language-model';
|
|
25
|
+
// May contain unused imports in some cases
|
|
26
|
+
// @ts-ignore
|
|
27
|
+
import { UserType } from './user-type';
|
|
25
28
|
|
|
26
29
|
/**
|
|
27
30
|
*
|
|
@@ -115,10 +118,10 @@ export interface UserModel {
|
|
|
115
118
|
'auditableEntity'?: AuditableEntityModel;
|
|
116
119
|
/**
|
|
117
120
|
*
|
|
118
|
-
* @type {
|
|
121
|
+
* @type {UserType}
|
|
119
122
|
* @memberof UserModel
|
|
120
123
|
*/
|
|
121
|
-
'userType'?:
|
|
124
|
+
'userType'?: UserType;
|
|
122
125
|
/**
|
|
123
126
|
*
|
|
124
127
|
* @type {Array<UserLanguageModel>}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* CloudHospital Admin Api
|
|
5
|
+
* CloudHospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1
|
|
8
|
+
* Contact: developer@icloudhospital.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
|
|
23
|
+
export const UserType = {
|
|
24
|
+
Patient: 'Patient',
|
|
25
|
+
Partner: 'Partner',
|
|
26
|
+
Doctor: 'Doctor',
|
|
27
|
+
Manager: 'Manager',
|
|
28
|
+
ChManager: 'CHManager',
|
|
29
|
+
ChAdmin: 'CHAdmin'
|
|
30
|
+
} as const;
|
|
31
|
+
|
|
32
|
+
export type UserType = typeof UserType[keyof typeof UserType];
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|