ch-admin-api-client-typescript 4.9.6 → 4.9.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api/about-us-api.d.ts +186 -28
- package/lib/api/about-us-api.d.ts.map +1 -1
- package/lib/api/about-us-api.js +20 -34
- package/lib/api/accreditations-api.d.ts +111 -16
- package/lib/api/accreditations-api.d.ts.map +1 -1
- package/lib/api/accreditations-api.js +17 -21
- package/lib/api/app-version-api.d.ts +117 -17
- package/lib/api/app-version-api.d.ts.map +1 -1
- package/lib/api/app-version-api.js +17 -22
- package/lib/api/appointments-api.d.ts +279 -43
- package/lib/api/appointments-api.d.ts.map +1 -1
- package/lib/api/appointments-api.js +22 -50
- package/lib/api/articles-api.d.ts +759 -114
- package/lib/api/articles-api.d.ts.map +1 -1
- package/lib/api/articles-api.js +77 -139
- package/lib/api/bookings-api.d.ts +231 -35
- package/lib/api/bookings-api.d.ts.map +1 -1
- package/lib/api/bookings-api.js +22 -42
- package/lib/api/chadmins-api.d.ts +141 -21
- package/lib/api/chadmins-api.d.ts.map +1 -1
- package/lib/api/chadmins-api.js +17 -26
- package/lib/api/chat-users-api.d.ts +138 -20
- package/lib/api/chat-users-api.d.ts.map +1 -1
- package/lib/api/chat-users-api.js +20 -26
- package/lib/api/chmanagers-api.d.ts +141 -21
- package/lib/api/chmanagers-api.d.ts.map +1 -1
- package/lib/api/chmanagers-api.js +17 -26
- package/lib/api/consultations-api.d.ts +243 -37
- package/lib/api/consultations-api.d.ts.map +1 -1
- package/lib/api/consultations-api.js +22 -44
- package/lib/api/contributors-api.d.ts +339 -51
- package/lib/api/contributors-api.d.ts.map +1 -1
- package/lib/api/contributors-api.js +35 -62
- package/lib/api/countries-api.d.ts +326 -50
- package/lib/api/countries-api.d.ts.map +1 -1
- package/lib/api/countries-api.js +38 -60
- package/lib/api/dash-board-api.d.ts +15 -2
- package/lib/api/dash-board-api.d.ts.map +1 -1
- package/lib/api/dash-board-api.js +3 -3
- package/lib/api/deals-api.d.ts +1005 -155
- package/lib/api/deals-api.d.ts.map +1 -1
- package/lib/api/deals-api.js +78 -180
- package/lib/api/doctor-affiliations-api.d.ts +488 -86
- package/lib/api/doctor-affiliations-api.d.ts.map +1 -1
- package/lib/api/doctor-affiliations-api.js +50 -87
- package/lib/api/doctors-api.d.ts +1165 -194
- package/lib/api/doctors-api.d.ts.map +1 -1
- package/lib/api/doctors-api.js +118 -213
- package/lib/api/email-marketings-api.d.ts +114 -16
- package/lib/api/email-marketings-api.d.ts.map +1 -1
- package/lib/api/email-marketings-api.js +20 -22
- package/lib/api/faq-categories-api.d.ts +186 -28
- package/lib/api/faq-categories-api.d.ts.map +1 -1
- package/lib/api/faq-categories-api.js +20 -34
- package/lib/api/faqs-api.d.ts +429 -64
- package/lib/api/faqs-api.d.ts.map +1 -1
- package/lib/api/faqs-api.js +47 -79
- package/lib/api/group-channels-api.d.ts +54 -8
- package/lib/api/group-channels-api.d.ts.map +1 -1
- package/lib/api/group-channels-api.js +7 -10
- package/lib/api/header-navigations-api.d.ts +99 -14
- package/lib/api/header-navigations-api.d.ts.map +1 -1
- package/lib/api/header-navigations-api.js +15 -19
- package/lib/api/hospitals-api.d.ts +3099 -477
- package/lib/api/hospitals-api.d.ts.map +1 -1
- package/lib/api/hospitals-api.js +270 -560
- package/lib/api/hospitals-consultation-timetable-overrides-api.d.ts +120 -18
- package/lib/api/hospitals-consultation-timetable-overrides-api.d.ts.map +1 -1
- package/lib/api/hospitals-consultation-timetable-overrides-api.js +12 -22
- package/lib/api/hospitals-consultation-timetables-api.d.ts +150 -22
- package/lib/api/hospitals-consultation-timetables-api.d.ts.map +1 -1
- package/lib/api/hospitals-consultation-timetables-api.js +18 -28
- package/lib/api/languages-api.d.ts +117 -17
- package/lib/api/languages-api.d.ts.map +1 -1
- package/lib/api/languages-api.js +17 -22
- package/lib/api/managers-api.d.ts +261 -39
- package/lib/api/managers-api.d.ts.map +1 -1
- package/lib/api/managers-api.js +29 -48
- package/lib/api/memberships-api.d.ts +111 -17
- package/lib/api/memberships-api.d.ts.map +1 -1
- package/lib/api/memberships-api.js +10 -20
- package/lib/api/notifications-api.d.ts +54 -8
- package/lib/api/notifications-api.d.ts.map +1 -1
- package/lib/api/notifications-api.js +8 -10
- package/lib/api/patients-api.d.ts +216 -32
- package/lib/api/patients-api.d.ts.map +1 -1
- package/lib/api/patients-api.js +26 -40
- package/lib/api/plans-api.d.ts +228 -33
- package/lib/api/plans-api.d.ts.map +1 -1
- package/lib/api/plans-api.js +32 -43
- package/lib/api/profiles-api.d.ts +75 -10
- package/lib/api/profiles-api.d.ts.map +1 -1
- package/lib/api/profiles-api.js +19 -15
- package/lib/api/search-api.d.ts +15 -2
- package/lib/api/search-api.d.ts.map +1 -1
- package/lib/api/search-api.js +4 -3
- package/lib/api/service-reviews-api.d.ts +318 -48
- package/lib/api/service-reviews-api.d.ts.map +1 -1
- package/lib/api/service-reviews-api.js +32 -58
- package/lib/api/services-api.d.ts +177 -28
- package/lib/api/services-api.d.ts.map +1 -1
- package/lib/api/services-api.js +10 -31
- package/lib/api/services-categories-api.d.ts +105 -15
- package/lib/api/services-categories-api.d.ts.map +1 -1
- package/lib/api/services-categories-api.js +17 -20
- package/lib/api/specialties-api.d.ts +447 -68
- package/lib/api/specialties-api.d.ts.map +1 -1
- package/lib/api/specialties-api.js +42 -81
- package/lib/api/specialty-types-api.d.ts +447 -68
- package/lib/api/specialty-types-api.d.ts.map +1 -1
- package/lib/api/specialty-types-api.js +42 -81
- package/lib/api/survey-forms-api.d.ts +145 -25
- package/lib/api/survey-forms-api.d.ts.map +1 -1
- package/lib/api/survey-forms-api.js +17 -26
- package/lib/api/survey-results-api.d.ts +81 -12
- package/lib/api/survey-results-api.d.ts.map +1 -1
- package/lib/api/survey-results-api.js +10 -15
- package/lib/api/tags-api.d.ts +84 -12
- package/lib/api/tags-api.d.ts.map +1 -1
- package/lib/api/tags-api.js +14 -16
- package/lib/api/translation-api.d.ts +15 -2
- package/lib/api/translation-api.d.ts.map +1 -1
- package/lib/api/translation-api.js +4 -3
- package/openapitools.json +1 -0
- package/package.json +1 -1
- package/src/api/about-us-api.ts +214 -34
- package/src/api/accreditations-api.ts +127 -21
- package/src/api/app-version-api.ts +134 -22
- package/src/api/appointments-api.ts +322 -50
- package/src/api/articles-api.ts +873 -139
- package/src/api/bookings-api.ts +266 -42
- package/src/api/chadmins-api.ts +162 -26
- package/src/api/chat-users-api.ts +158 -26
- package/src/api/chmanagers-api.ts +162 -26
- package/src/api/consultations-api.ts +280 -44
- package/src/api/contributors-api.ts +390 -62
- package/src/api/countries-api.ts +374 -62
- package/src/api/dash-board-api.ts +17 -3
- package/src/api/deals-api.ts +1160 -180
- package/src/api/doctor-affiliations-api.ts +559 -103
- package/src/api/doctors-api.ts +1337 -231
- package/src/api/email-marketings-api.ts +130 -22
- package/src/api/faq-categories-api.ts +214 -34
- package/src/api/faqs-api.ts +493 -79
- package/src/api/group-channels-api.ts +62 -10
- package/src/api/header-navigations-api.ts +113 -19
- package/src/api/hospitals-api.ts +3566 -562
- package/src/api/hospitals-consultation-timetable-overrides-api.ts +138 -22
- package/src/api/hospitals-consultation-timetables-api.ts +172 -28
- package/src/api/languages-api.ts +134 -22
- package/src/api/managers-api.ts +300 -48
- package/src/api/memberships-api.ts +128 -20
- package/src/api/notifications-api.ts +62 -10
- package/src/api/patients-api.ts +248 -40
- package/src/api/plans-api.ts +261 -43
- package/src/api/profiles-api.ts +85 -15
- package/src/api/search-api.ts +17 -3
- package/src/api/service-reviews-api.ts +366 -58
- package/src/api/services-api.ts +205 -31
- package/src/api/services-categories-api.ts +120 -20
- package/src/api/specialties-api.ts +515 -81
- package/src/api/specialty-types-api.ts +515 -81
- package/src/api/survey-forms-api.ts +166 -30
- package/src/api/survey-results-api.ts +93 -15
- package/src/api/tags-api.ts +96 -16
- package/src/api/translation-api.ts +17 -3
package/src/api/plans-api.ts
CHANGED
|
@@ -747,6 +747,237 @@ export const PlansApiFactory = function (configuration?: Configuration, basePath
|
|
|
747
747
|
};
|
|
748
748
|
};
|
|
749
749
|
|
|
750
|
+
/**
|
|
751
|
+
* Request parameters for apiV1PlansGet operation in PlansApi.
|
|
752
|
+
* @export
|
|
753
|
+
* @interface PlansApiApiV1PlansGetRequest
|
|
754
|
+
*/
|
|
755
|
+
export interface PlansApiApiV1PlansGetRequest {
|
|
756
|
+
/**
|
|
757
|
+
*
|
|
758
|
+
* @type {string}
|
|
759
|
+
* @memberof PlansApiApiV1PlansGet
|
|
760
|
+
*/
|
|
761
|
+
readonly id?: string
|
|
762
|
+
|
|
763
|
+
/**
|
|
764
|
+
*
|
|
765
|
+
* @type {string}
|
|
766
|
+
* @memberof PlansApiApiV1PlansGet
|
|
767
|
+
*/
|
|
768
|
+
readonly name?: string
|
|
769
|
+
|
|
770
|
+
/**
|
|
771
|
+
*
|
|
772
|
+
* @type {number}
|
|
773
|
+
* @memberof PlansApiApiV1PlansGet
|
|
774
|
+
*/
|
|
775
|
+
readonly page?: number
|
|
776
|
+
|
|
777
|
+
/**
|
|
778
|
+
*
|
|
779
|
+
* @type {number}
|
|
780
|
+
* @memberof PlansApiApiV1PlansGet
|
|
781
|
+
*/
|
|
782
|
+
readonly limit?: number
|
|
783
|
+
|
|
784
|
+
/**
|
|
785
|
+
*
|
|
786
|
+
* @type {Date}
|
|
787
|
+
* @memberof PlansApiApiV1PlansGet
|
|
788
|
+
*/
|
|
789
|
+
readonly lastRetrieved?: Date
|
|
790
|
+
}
|
|
791
|
+
|
|
792
|
+
/**
|
|
793
|
+
* Request parameters for apiV1PlansPlanIdDelete operation in PlansApi.
|
|
794
|
+
* @export
|
|
795
|
+
* @interface PlansApiApiV1PlansPlanIdDeleteRequest
|
|
796
|
+
*/
|
|
797
|
+
export interface PlansApiApiV1PlansPlanIdDeleteRequest {
|
|
798
|
+
/**
|
|
799
|
+
*
|
|
800
|
+
* @type {string}
|
|
801
|
+
* @memberof PlansApiApiV1PlansPlanIdDelete
|
|
802
|
+
*/
|
|
803
|
+
readonly planId: string
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
/**
|
|
807
|
+
* Request parameters for apiV1PlansPlanIdGet operation in PlansApi.
|
|
808
|
+
* @export
|
|
809
|
+
* @interface PlansApiApiV1PlansPlanIdGetRequest
|
|
810
|
+
*/
|
|
811
|
+
export interface PlansApiApiV1PlansPlanIdGetRequest {
|
|
812
|
+
/**
|
|
813
|
+
*
|
|
814
|
+
* @type {string}
|
|
815
|
+
* @memberof PlansApiApiV1PlansPlanIdGet
|
|
816
|
+
*/
|
|
817
|
+
readonly planId: string
|
|
818
|
+
}
|
|
819
|
+
|
|
820
|
+
/**
|
|
821
|
+
* Request parameters for apiV1PlansPlanIdHospitalsGet operation in PlansApi.
|
|
822
|
+
* @export
|
|
823
|
+
* @interface PlansApiApiV1PlansPlanIdHospitalsGetRequest
|
|
824
|
+
*/
|
|
825
|
+
export interface PlansApiApiV1PlansPlanIdHospitalsGetRequest {
|
|
826
|
+
/**
|
|
827
|
+
*
|
|
828
|
+
* @type {string}
|
|
829
|
+
* @memberof PlansApiApiV1PlansPlanIdHospitalsGet
|
|
830
|
+
*/
|
|
831
|
+
readonly planId: string
|
|
832
|
+
|
|
833
|
+
/**
|
|
834
|
+
*
|
|
835
|
+
* @type {number}
|
|
836
|
+
* @memberof PlansApiApiV1PlansPlanIdHospitalsGet
|
|
837
|
+
*/
|
|
838
|
+
readonly page?: number
|
|
839
|
+
|
|
840
|
+
/**
|
|
841
|
+
*
|
|
842
|
+
* @type {number}
|
|
843
|
+
* @memberof PlansApiApiV1PlansPlanIdHospitalsGet
|
|
844
|
+
*/
|
|
845
|
+
readonly limit?: number
|
|
846
|
+
|
|
847
|
+
/**
|
|
848
|
+
*
|
|
849
|
+
* @type {Date}
|
|
850
|
+
* @memberof PlansApiApiV1PlansPlanIdHospitalsGet
|
|
851
|
+
*/
|
|
852
|
+
readonly lastRetrieved?: Date
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
/**
|
|
856
|
+
* Request parameters for apiV1PlansPlanIdHospitalsHospitalIdDelete operation in PlansApi.
|
|
857
|
+
* @export
|
|
858
|
+
* @interface PlansApiApiV1PlansPlanIdHospitalsHospitalIdDeleteRequest
|
|
859
|
+
*/
|
|
860
|
+
export interface PlansApiApiV1PlansPlanIdHospitalsHospitalIdDeleteRequest {
|
|
861
|
+
/**
|
|
862
|
+
*
|
|
863
|
+
* @type {string}
|
|
864
|
+
* @memberof PlansApiApiV1PlansPlanIdHospitalsHospitalIdDelete
|
|
865
|
+
*/
|
|
866
|
+
readonly planId: string
|
|
867
|
+
|
|
868
|
+
/**
|
|
869
|
+
*
|
|
870
|
+
* @type {string}
|
|
871
|
+
* @memberof PlansApiApiV1PlansPlanIdHospitalsHospitalIdDelete
|
|
872
|
+
*/
|
|
873
|
+
readonly hospitalId: string
|
|
874
|
+
}
|
|
875
|
+
|
|
876
|
+
/**
|
|
877
|
+
* Request parameters for apiV1PlansPlanIdHospitalsHospitalIdGet operation in PlansApi.
|
|
878
|
+
* @export
|
|
879
|
+
* @interface PlansApiApiV1PlansPlanIdHospitalsHospitalIdGetRequest
|
|
880
|
+
*/
|
|
881
|
+
export interface PlansApiApiV1PlansPlanIdHospitalsHospitalIdGetRequest {
|
|
882
|
+
/**
|
|
883
|
+
*
|
|
884
|
+
* @type {string}
|
|
885
|
+
* @memberof PlansApiApiV1PlansPlanIdHospitalsHospitalIdGet
|
|
886
|
+
*/
|
|
887
|
+
readonly planId: string
|
|
888
|
+
|
|
889
|
+
/**
|
|
890
|
+
*
|
|
891
|
+
* @type {string}
|
|
892
|
+
* @memberof PlansApiApiV1PlansPlanIdHospitalsHospitalIdGet
|
|
893
|
+
*/
|
|
894
|
+
readonly hospitalId: string
|
|
895
|
+
}
|
|
896
|
+
|
|
897
|
+
/**
|
|
898
|
+
* Request parameters for apiV1PlansPlanIdHospitalsHospitalIdPut operation in PlansApi.
|
|
899
|
+
* @export
|
|
900
|
+
* @interface PlansApiApiV1PlansPlanIdHospitalsHospitalIdPutRequest
|
|
901
|
+
*/
|
|
902
|
+
export interface PlansApiApiV1PlansPlanIdHospitalsHospitalIdPutRequest {
|
|
903
|
+
/**
|
|
904
|
+
*
|
|
905
|
+
* @type {string}
|
|
906
|
+
* @memberof PlansApiApiV1PlansPlanIdHospitalsHospitalIdPut
|
|
907
|
+
*/
|
|
908
|
+
readonly planId: string
|
|
909
|
+
|
|
910
|
+
/**
|
|
911
|
+
*
|
|
912
|
+
* @type {string}
|
|
913
|
+
* @memberof PlansApiApiV1PlansPlanIdHospitalsHospitalIdPut
|
|
914
|
+
*/
|
|
915
|
+
readonly hospitalId: string
|
|
916
|
+
|
|
917
|
+
/**
|
|
918
|
+
*
|
|
919
|
+
* @type {UpdatePlanHospitalCommand}
|
|
920
|
+
* @memberof PlansApiApiV1PlansPlanIdHospitalsHospitalIdPut
|
|
921
|
+
*/
|
|
922
|
+
readonly updatePlanHospitalCommand?: UpdatePlanHospitalCommand
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
/**
|
|
926
|
+
* Request parameters for apiV1PlansPlanIdHospitalsPost operation in PlansApi.
|
|
927
|
+
* @export
|
|
928
|
+
* @interface PlansApiApiV1PlansPlanIdHospitalsPostRequest
|
|
929
|
+
*/
|
|
930
|
+
export interface PlansApiApiV1PlansPlanIdHospitalsPostRequest {
|
|
931
|
+
/**
|
|
932
|
+
*
|
|
933
|
+
* @type {string}
|
|
934
|
+
* @memberof PlansApiApiV1PlansPlanIdHospitalsPost
|
|
935
|
+
*/
|
|
936
|
+
readonly planId: string
|
|
937
|
+
|
|
938
|
+
/**
|
|
939
|
+
*
|
|
940
|
+
* @type {CreatePlanHospitalCommand}
|
|
941
|
+
* @memberof PlansApiApiV1PlansPlanIdHospitalsPost
|
|
942
|
+
*/
|
|
943
|
+
readonly createPlanHospitalCommand?: CreatePlanHospitalCommand
|
|
944
|
+
}
|
|
945
|
+
|
|
946
|
+
/**
|
|
947
|
+
* Request parameters for apiV1PlansPlanIdPut operation in PlansApi.
|
|
948
|
+
* @export
|
|
949
|
+
* @interface PlansApiApiV1PlansPlanIdPutRequest
|
|
950
|
+
*/
|
|
951
|
+
export interface PlansApiApiV1PlansPlanIdPutRequest {
|
|
952
|
+
/**
|
|
953
|
+
*
|
|
954
|
+
* @type {string}
|
|
955
|
+
* @memberof PlansApiApiV1PlansPlanIdPut
|
|
956
|
+
*/
|
|
957
|
+
readonly planId: string
|
|
958
|
+
|
|
959
|
+
/**
|
|
960
|
+
*
|
|
961
|
+
* @type {UpdatePlanCommand}
|
|
962
|
+
* @memberof PlansApiApiV1PlansPlanIdPut
|
|
963
|
+
*/
|
|
964
|
+
readonly updatePlanCommand?: UpdatePlanCommand
|
|
965
|
+
}
|
|
966
|
+
|
|
967
|
+
/**
|
|
968
|
+
* Request parameters for apiV1PlansPost operation in PlansApi.
|
|
969
|
+
* @export
|
|
970
|
+
* @interface PlansApiApiV1PlansPostRequest
|
|
971
|
+
*/
|
|
972
|
+
export interface PlansApiApiV1PlansPostRequest {
|
|
973
|
+
/**
|
|
974
|
+
*
|
|
975
|
+
* @type {CreatePlanCommand}
|
|
976
|
+
* @memberof PlansApiApiV1PlansPost
|
|
977
|
+
*/
|
|
978
|
+
readonly createPlanCommand?: CreatePlanCommand
|
|
979
|
+
}
|
|
980
|
+
|
|
750
981
|
/**
|
|
751
982
|
* PlansApi - object-oriented interface
|
|
752
983
|
* @export
|
|
@@ -757,133 +988,120 @@ export class PlansApi extends BaseAPI {
|
|
|
757
988
|
/**
|
|
758
989
|
*
|
|
759
990
|
* @summary Get all plans.
|
|
760
|
-
* @param {
|
|
761
|
-
* @param {string} [name]
|
|
762
|
-
* @param {number} [page]
|
|
763
|
-
* @param {number} [limit]
|
|
764
|
-
* @param {Date} [lastRetrieved]
|
|
991
|
+
* @param {PlansApiApiV1PlansGetRequest} requestParameters Request parameters.
|
|
765
992
|
* @param {*} [options] Override http request option.
|
|
766
993
|
* @throws {RequiredError}
|
|
767
994
|
* @memberof PlansApi
|
|
768
995
|
*/
|
|
769
|
-
public apiV1PlansGet(
|
|
770
|
-
return PlansApiFp(this.configuration).apiV1PlansGet(id, name, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
996
|
+
public apiV1PlansGet(requestParameters: PlansApiApiV1PlansGetRequest = {}, options?: AxiosRequestConfig) {
|
|
997
|
+
return PlansApiFp(this.configuration).apiV1PlansGet(requestParameters.id, requestParameters.name, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
771
998
|
}
|
|
772
999
|
|
|
773
1000
|
/**
|
|
774
1001
|
*
|
|
775
1002
|
* @summary Delete plan.
|
|
776
|
-
* @param {
|
|
1003
|
+
* @param {PlansApiApiV1PlansPlanIdDeleteRequest} requestParameters Request parameters.
|
|
777
1004
|
* @param {*} [options] Override http request option.
|
|
778
1005
|
* @throws {RequiredError}
|
|
779
1006
|
* @memberof PlansApi
|
|
780
1007
|
*/
|
|
781
|
-
public apiV1PlansPlanIdDelete(
|
|
782
|
-
return PlansApiFp(this.configuration).apiV1PlansPlanIdDelete(planId, options).then((request) => request(this.axios, this.basePath));
|
|
1008
|
+
public apiV1PlansPlanIdDelete(requestParameters: PlansApiApiV1PlansPlanIdDeleteRequest, options?: AxiosRequestConfig) {
|
|
1009
|
+
return PlansApiFp(this.configuration).apiV1PlansPlanIdDelete(requestParameters.planId, options).then((request) => request(this.axios, this.basePath));
|
|
783
1010
|
}
|
|
784
1011
|
|
|
785
1012
|
/**
|
|
786
1013
|
*
|
|
787
1014
|
* @summary Get plan.
|
|
788
|
-
* @param {
|
|
1015
|
+
* @param {PlansApiApiV1PlansPlanIdGetRequest} requestParameters Request parameters.
|
|
789
1016
|
* @param {*} [options] Override http request option.
|
|
790
1017
|
* @throws {RequiredError}
|
|
791
1018
|
* @memberof PlansApi
|
|
792
1019
|
*/
|
|
793
|
-
public apiV1PlansPlanIdGet(
|
|
794
|
-
return PlansApiFp(this.configuration).apiV1PlansPlanIdGet(planId, options).then((request) => request(this.axios, this.basePath));
|
|
1020
|
+
public apiV1PlansPlanIdGet(requestParameters: PlansApiApiV1PlansPlanIdGetRequest, options?: AxiosRequestConfig) {
|
|
1021
|
+
return PlansApiFp(this.configuration).apiV1PlansPlanIdGet(requestParameters.planId, options).then((request) => request(this.axios, this.basePath));
|
|
795
1022
|
}
|
|
796
1023
|
|
|
797
1024
|
/**
|
|
798
1025
|
*
|
|
799
1026
|
* @summary Get all plan hospital.
|
|
800
|
-
* @param {
|
|
801
|
-
* @param {number} [page]
|
|
802
|
-
* @param {number} [limit]
|
|
803
|
-
* @param {Date} [lastRetrieved]
|
|
1027
|
+
* @param {PlansApiApiV1PlansPlanIdHospitalsGetRequest} requestParameters Request parameters.
|
|
804
1028
|
* @param {*} [options] Override http request option.
|
|
805
1029
|
* @throws {RequiredError}
|
|
806
1030
|
* @memberof PlansApi
|
|
807
1031
|
*/
|
|
808
|
-
public apiV1PlansPlanIdHospitalsGet(
|
|
809
|
-
return PlansApiFp(this.configuration).apiV1PlansPlanIdHospitalsGet(planId, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
1032
|
+
public apiV1PlansPlanIdHospitalsGet(requestParameters: PlansApiApiV1PlansPlanIdHospitalsGetRequest, options?: AxiosRequestConfig) {
|
|
1033
|
+
return PlansApiFp(this.configuration).apiV1PlansPlanIdHospitalsGet(requestParameters.planId, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
810
1034
|
}
|
|
811
1035
|
|
|
812
1036
|
/**
|
|
813
1037
|
*
|
|
814
1038
|
* @summary Delete plan hospital.
|
|
815
|
-
* @param {
|
|
816
|
-
* @param {string} hospitalId
|
|
1039
|
+
* @param {PlansApiApiV1PlansPlanIdHospitalsHospitalIdDeleteRequest} requestParameters Request parameters.
|
|
817
1040
|
* @param {*} [options] Override http request option.
|
|
818
1041
|
* @throws {RequiredError}
|
|
819
1042
|
* @memberof PlansApi
|
|
820
1043
|
*/
|
|
821
|
-
public apiV1PlansPlanIdHospitalsHospitalIdDelete(
|
|
822
|
-
return PlansApiFp(this.configuration).apiV1PlansPlanIdHospitalsHospitalIdDelete(planId, hospitalId, options).then((request) => request(this.axios, this.basePath));
|
|
1044
|
+
public apiV1PlansPlanIdHospitalsHospitalIdDelete(requestParameters: PlansApiApiV1PlansPlanIdHospitalsHospitalIdDeleteRequest, options?: AxiosRequestConfig) {
|
|
1045
|
+
return PlansApiFp(this.configuration).apiV1PlansPlanIdHospitalsHospitalIdDelete(requestParameters.planId, requestParameters.hospitalId, options).then((request) => request(this.axios, this.basePath));
|
|
823
1046
|
}
|
|
824
1047
|
|
|
825
1048
|
/**
|
|
826
1049
|
*
|
|
827
1050
|
* @summary Get plan hospital.
|
|
828
|
-
* @param {
|
|
829
|
-
* @param {string} hospitalId
|
|
1051
|
+
* @param {PlansApiApiV1PlansPlanIdHospitalsHospitalIdGetRequest} requestParameters Request parameters.
|
|
830
1052
|
* @param {*} [options] Override http request option.
|
|
831
1053
|
* @throws {RequiredError}
|
|
832
1054
|
* @memberof PlansApi
|
|
833
1055
|
*/
|
|
834
|
-
public apiV1PlansPlanIdHospitalsHospitalIdGet(
|
|
835
|
-
return PlansApiFp(this.configuration).apiV1PlansPlanIdHospitalsHospitalIdGet(planId, hospitalId, options).then((request) => request(this.axios, this.basePath));
|
|
1056
|
+
public apiV1PlansPlanIdHospitalsHospitalIdGet(requestParameters: PlansApiApiV1PlansPlanIdHospitalsHospitalIdGetRequest, options?: AxiosRequestConfig) {
|
|
1057
|
+
return PlansApiFp(this.configuration).apiV1PlansPlanIdHospitalsHospitalIdGet(requestParameters.planId, requestParameters.hospitalId, options).then((request) => request(this.axios, this.basePath));
|
|
836
1058
|
}
|
|
837
1059
|
|
|
838
1060
|
/**
|
|
839
1061
|
*
|
|
840
1062
|
* @summary Update plan hospital.
|
|
841
|
-
* @param {
|
|
842
|
-
* @param {string} hospitalId
|
|
843
|
-
* @param {UpdatePlanHospitalCommand} [updatePlanHospitalCommand]
|
|
1063
|
+
* @param {PlansApiApiV1PlansPlanIdHospitalsHospitalIdPutRequest} requestParameters Request parameters.
|
|
844
1064
|
* @param {*} [options] Override http request option.
|
|
845
1065
|
* @throws {RequiredError}
|
|
846
1066
|
* @memberof PlansApi
|
|
847
1067
|
*/
|
|
848
|
-
public apiV1PlansPlanIdHospitalsHospitalIdPut(
|
|
849
|
-
return PlansApiFp(this.configuration).apiV1PlansPlanIdHospitalsHospitalIdPut(planId, hospitalId, updatePlanHospitalCommand, options).then((request) => request(this.axios, this.basePath));
|
|
1068
|
+
public apiV1PlansPlanIdHospitalsHospitalIdPut(requestParameters: PlansApiApiV1PlansPlanIdHospitalsHospitalIdPutRequest, options?: AxiosRequestConfig) {
|
|
1069
|
+
return PlansApiFp(this.configuration).apiV1PlansPlanIdHospitalsHospitalIdPut(requestParameters.planId, requestParameters.hospitalId, requestParameters.updatePlanHospitalCommand, options).then((request) => request(this.axios, this.basePath));
|
|
850
1070
|
}
|
|
851
1071
|
|
|
852
1072
|
/**
|
|
853
1073
|
*
|
|
854
1074
|
* @summary Create plan hospital.
|
|
855
|
-
* @param {
|
|
856
|
-
* @param {CreatePlanHospitalCommand} [createPlanHospitalCommand]
|
|
1075
|
+
* @param {PlansApiApiV1PlansPlanIdHospitalsPostRequest} requestParameters Request parameters.
|
|
857
1076
|
* @param {*} [options] Override http request option.
|
|
858
1077
|
* @throws {RequiredError}
|
|
859
1078
|
* @memberof PlansApi
|
|
860
1079
|
*/
|
|
861
|
-
public apiV1PlansPlanIdHospitalsPost(
|
|
862
|
-
return PlansApiFp(this.configuration).apiV1PlansPlanIdHospitalsPost(planId, createPlanHospitalCommand, options).then((request) => request(this.axios, this.basePath));
|
|
1080
|
+
public apiV1PlansPlanIdHospitalsPost(requestParameters: PlansApiApiV1PlansPlanIdHospitalsPostRequest, options?: AxiosRequestConfig) {
|
|
1081
|
+
return PlansApiFp(this.configuration).apiV1PlansPlanIdHospitalsPost(requestParameters.planId, requestParameters.createPlanHospitalCommand, options).then((request) => request(this.axios, this.basePath));
|
|
863
1082
|
}
|
|
864
1083
|
|
|
865
1084
|
/**
|
|
866
1085
|
*
|
|
867
1086
|
* @summary Update plan.
|
|
868
|
-
* @param {
|
|
869
|
-
* @param {UpdatePlanCommand} [updatePlanCommand]
|
|
1087
|
+
* @param {PlansApiApiV1PlansPlanIdPutRequest} requestParameters Request parameters.
|
|
870
1088
|
* @param {*} [options] Override http request option.
|
|
871
1089
|
* @throws {RequiredError}
|
|
872
1090
|
* @memberof PlansApi
|
|
873
1091
|
*/
|
|
874
|
-
public apiV1PlansPlanIdPut(
|
|
875
|
-
return PlansApiFp(this.configuration).apiV1PlansPlanIdPut(planId, updatePlanCommand, options).then((request) => request(this.axios, this.basePath));
|
|
1092
|
+
public apiV1PlansPlanIdPut(requestParameters: PlansApiApiV1PlansPlanIdPutRequest, options?: AxiosRequestConfig) {
|
|
1093
|
+
return PlansApiFp(this.configuration).apiV1PlansPlanIdPut(requestParameters.planId, requestParameters.updatePlanCommand, options).then((request) => request(this.axios, this.basePath));
|
|
876
1094
|
}
|
|
877
1095
|
|
|
878
1096
|
/**
|
|
879
1097
|
*
|
|
880
1098
|
* @summary Create a plan.
|
|
881
|
-
* @param {
|
|
1099
|
+
* @param {PlansApiApiV1PlansPostRequest} requestParameters Request parameters.
|
|
882
1100
|
* @param {*} [options] Override http request option.
|
|
883
1101
|
* @throws {RequiredError}
|
|
884
1102
|
* @memberof PlansApi
|
|
885
1103
|
*/
|
|
886
|
-
public apiV1PlansPost(
|
|
887
|
-
return PlansApiFp(this.configuration).apiV1PlansPost(createPlanCommand, options).then((request) => request(this.axios, this.basePath));
|
|
1104
|
+
public apiV1PlansPost(requestParameters: PlansApiApiV1PlansPostRequest = {}, options?: AxiosRequestConfig) {
|
|
1105
|
+
return PlansApiFp(this.configuration).apiV1PlansPost(requestParameters.createPlanCommand, options).then((request) => request(this.axios, this.basePath));
|
|
888
1106
|
}
|
|
889
1107
|
}
|
package/src/api/profiles-api.ts
CHANGED
|
@@ -409,6 +409,76 @@ export const ProfilesApiFactory = function (configuration?: Configuration, baseP
|
|
|
409
409
|
};
|
|
410
410
|
};
|
|
411
411
|
|
|
412
|
+
/**
|
|
413
|
+
* Request parameters for apiV1ProfilesChangeemailPost operation in ProfilesApi.
|
|
414
|
+
* @export
|
|
415
|
+
* @interface ProfilesApiApiV1ProfilesChangeemailPostRequest
|
|
416
|
+
*/
|
|
417
|
+
export interface ProfilesApiApiV1ProfilesChangeemailPostRequest {
|
|
418
|
+
/**
|
|
419
|
+
*
|
|
420
|
+
* @type {ChangeEmailCommand}
|
|
421
|
+
* @memberof ProfilesApiApiV1ProfilesChangeemailPost
|
|
422
|
+
*/
|
|
423
|
+
readonly changeEmailCommand?: ChangeEmailCommand
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
/**
|
|
427
|
+
* Request parameters for apiV1ProfilesConfirmemailPost operation in ProfilesApi.
|
|
428
|
+
* @export
|
|
429
|
+
* @interface ProfilesApiApiV1ProfilesConfirmemailPostRequest
|
|
430
|
+
*/
|
|
431
|
+
export interface ProfilesApiApiV1ProfilesConfirmemailPostRequest {
|
|
432
|
+
/**
|
|
433
|
+
*
|
|
434
|
+
* @type {ConfirmEmailCommand}
|
|
435
|
+
* @memberof ProfilesApiApiV1ProfilesConfirmemailPost
|
|
436
|
+
*/
|
|
437
|
+
readonly confirmEmailCommand?: ConfirmEmailCommand
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
/**
|
|
441
|
+
* Request parameters for apiV1ProfilesPost operation in ProfilesApi.
|
|
442
|
+
* @export
|
|
443
|
+
* @interface ProfilesApiApiV1ProfilesPostRequest
|
|
444
|
+
*/
|
|
445
|
+
export interface ProfilesApiApiV1ProfilesPostRequest {
|
|
446
|
+
/**
|
|
447
|
+
*
|
|
448
|
+
* @type {CreateProfileCommand}
|
|
449
|
+
* @memberof ProfilesApiApiV1ProfilesPost
|
|
450
|
+
*/
|
|
451
|
+
readonly createProfileCommand?: CreateProfileCommand
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
/**
|
|
455
|
+
* Request parameters for apiV1ProfilesProfileIdDelete operation in ProfilesApi.
|
|
456
|
+
* @export
|
|
457
|
+
* @interface ProfilesApiApiV1ProfilesProfileIdDeleteRequest
|
|
458
|
+
*/
|
|
459
|
+
export interface ProfilesApiApiV1ProfilesProfileIdDeleteRequest {
|
|
460
|
+
/**
|
|
461
|
+
*
|
|
462
|
+
* @type {string}
|
|
463
|
+
* @memberof ProfilesApiApiV1ProfilesProfileIdDelete
|
|
464
|
+
*/
|
|
465
|
+
readonly profileId: string
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
/**
|
|
469
|
+
* Request parameters for apiV1ProfilesPut operation in ProfilesApi.
|
|
470
|
+
* @export
|
|
471
|
+
* @interface ProfilesApiApiV1ProfilesPutRequest
|
|
472
|
+
*/
|
|
473
|
+
export interface ProfilesApiApiV1ProfilesPutRequest {
|
|
474
|
+
/**
|
|
475
|
+
*
|
|
476
|
+
* @type {UpdateProfileCommand}
|
|
477
|
+
* @memberof ProfilesApiApiV1ProfilesPut
|
|
478
|
+
*/
|
|
479
|
+
readonly updateProfileCommand?: UpdateProfileCommand
|
|
480
|
+
}
|
|
481
|
+
|
|
412
482
|
/**
|
|
413
483
|
* ProfilesApi - object-oriented interface
|
|
414
484
|
* @export
|
|
@@ -419,25 +489,25 @@ export class ProfilesApi extends BaseAPI {
|
|
|
419
489
|
/**
|
|
420
490
|
* Sample request: POST /api/v1/profiles/changeEmail { \"email\": \"user@example.com\" }
|
|
421
491
|
* @summary Change user\'s email on both Identity and Api.
|
|
422
|
-
* @param {
|
|
492
|
+
* @param {ProfilesApiApiV1ProfilesChangeemailPostRequest} requestParameters Request parameters.
|
|
423
493
|
* @param {*} [options] Override http request option.
|
|
424
494
|
* @throws {RequiredError}
|
|
425
495
|
* @memberof ProfilesApi
|
|
426
496
|
*/
|
|
427
|
-
public apiV1ProfilesChangeemailPost(
|
|
428
|
-
return ProfilesApiFp(this.configuration).apiV1ProfilesChangeemailPost(changeEmailCommand, options).then((request) => request(this.axios, this.basePath));
|
|
497
|
+
public apiV1ProfilesChangeemailPost(requestParameters: ProfilesApiApiV1ProfilesChangeemailPostRequest = {}, options?: AxiosRequestConfig) {
|
|
498
|
+
return ProfilesApiFp(this.configuration).apiV1ProfilesChangeemailPost(requestParameters.changeEmailCommand, options).then((request) => request(this.axios, this.basePath));
|
|
429
499
|
}
|
|
430
500
|
|
|
431
501
|
/**
|
|
432
502
|
*
|
|
433
503
|
* @summary Configm email.
|
|
434
|
-
* @param {
|
|
504
|
+
* @param {ProfilesApiApiV1ProfilesConfirmemailPostRequest} requestParameters Request parameters.
|
|
435
505
|
* @param {*} [options] Override http request option.
|
|
436
506
|
* @throws {RequiredError}
|
|
437
507
|
* @memberof ProfilesApi
|
|
438
508
|
*/
|
|
439
|
-
public apiV1ProfilesConfirmemailPost(
|
|
440
|
-
return ProfilesApiFp(this.configuration).apiV1ProfilesConfirmemailPost(confirmEmailCommand, options).then((request) => request(this.axios, this.basePath));
|
|
509
|
+
public apiV1ProfilesConfirmemailPost(requestParameters: ProfilesApiApiV1ProfilesConfirmemailPostRequest = {}, options?: AxiosRequestConfig) {
|
|
510
|
+
return ProfilesApiFp(this.configuration).apiV1ProfilesConfirmemailPost(requestParameters.confirmEmailCommand, options).then((request) => request(this.axios, this.basePath));
|
|
441
511
|
}
|
|
442
512
|
|
|
443
513
|
/**
|
|
@@ -454,36 +524,36 @@ export class ProfilesApi extends BaseAPI {
|
|
|
454
524
|
/**
|
|
455
525
|
*
|
|
456
526
|
* @summary Create a Profile.
|
|
457
|
-
* @param {
|
|
527
|
+
* @param {ProfilesApiApiV1ProfilesPostRequest} requestParameters Request parameters.
|
|
458
528
|
* @param {*} [options] Override http request option.
|
|
459
529
|
* @throws {RequiredError}
|
|
460
530
|
* @memberof ProfilesApi
|
|
461
531
|
*/
|
|
462
|
-
public apiV1ProfilesPost(
|
|
463
|
-
return ProfilesApiFp(this.configuration).apiV1ProfilesPost(createProfileCommand, options).then((request) => request(this.axios, this.basePath));
|
|
532
|
+
public apiV1ProfilesPost(requestParameters: ProfilesApiApiV1ProfilesPostRequest = {}, options?: AxiosRequestConfig) {
|
|
533
|
+
return ProfilesApiFp(this.configuration).apiV1ProfilesPost(requestParameters.createProfileCommand, options).then((request) => request(this.axios, this.basePath));
|
|
464
534
|
}
|
|
465
535
|
|
|
466
536
|
/**
|
|
467
537
|
*
|
|
468
538
|
* @summary Delete Profile.
|
|
469
|
-
* @param {
|
|
539
|
+
* @param {ProfilesApiApiV1ProfilesProfileIdDeleteRequest} requestParameters Request parameters.
|
|
470
540
|
* @param {*} [options] Override http request option.
|
|
471
541
|
* @throws {RequiredError}
|
|
472
542
|
* @memberof ProfilesApi
|
|
473
543
|
*/
|
|
474
|
-
public apiV1ProfilesProfileIdDelete(
|
|
475
|
-
return ProfilesApiFp(this.configuration).apiV1ProfilesProfileIdDelete(profileId, options).then((request) => request(this.axios, this.basePath));
|
|
544
|
+
public apiV1ProfilesProfileIdDelete(requestParameters: ProfilesApiApiV1ProfilesProfileIdDeleteRequest, options?: AxiosRequestConfig) {
|
|
545
|
+
return ProfilesApiFp(this.configuration).apiV1ProfilesProfileIdDelete(requestParameters.profileId, options).then((request) => request(this.axios, this.basePath));
|
|
476
546
|
}
|
|
477
547
|
|
|
478
548
|
/**
|
|
479
549
|
*
|
|
480
550
|
* @summary Update Profile.
|
|
481
|
-
* @param {
|
|
551
|
+
* @param {ProfilesApiApiV1ProfilesPutRequest} requestParameters Request parameters.
|
|
482
552
|
* @param {*} [options] Override http request option.
|
|
483
553
|
* @throws {RequiredError}
|
|
484
554
|
* @memberof ProfilesApi
|
|
485
555
|
*/
|
|
486
|
-
public apiV1ProfilesPut(
|
|
487
|
-
return ProfilesApiFp(this.configuration).apiV1ProfilesPut(updateProfileCommand, options).then((request) => request(this.axios, this.basePath));
|
|
556
|
+
public apiV1ProfilesPut(requestParameters: ProfilesApiApiV1ProfilesPutRequest = {}, options?: AxiosRequestConfig) {
|
|
557
|
+
return ProfilesApiFp(this.configuration).apiV1ProfilesPut(requestParameters.updateProfileCommand, options).then((request) => request(this.axios, this.basePath));
|
|
488
558
|
}
|
|
489
559
|
}
|
package/src/api/search-api.ts
CHANGED
|
@@ -111,6 +111,20 @@ export const SearchApiFactory = function (configuration?: Configuration, basePat
|
|
|
111
111
|
};
|
|
112
112
|
};
|
|
113
113
|
|
|
114
|
+
/**
|
|
115
|
+
* Request parameters for apiV1SearchRecreatePost operation in SearchApi.
|
|
116
|
+
* @export
|
|
117
|
+
* @interface SearchApiApiV1SearchRecreatePostRequest
|
|
118
|
+
*/
|
|
119
|
+
export interface SearchApiApiV1SearchRecreatePostRequest {
|
|
120
|
+
/**
|
|
121
|
+
*
|
|
122
|
+
* @type {SearchIndexType}
|
|
123
|
+
* @memberof SearchApiApiV1SearchRecreatePost
|
|
124
|
+
*/
|
|
125
|
+
readonly searchIndexType?: SearchIndexType
|
|
126
|
+
}
|
|
127
|
+
|
|
114
128
|
/**
|
|
115
129
|
* SearchApi - object-oriented interface
|
|
116
130
|
* @export
|
|
@@ -121,12 +135,12 @@ export class SearchApi extends BaseAPI {
|
|
|
121
135
|
/**
|
|
122
136
|
*
|
|
123
137
|
* @summary RecreateIndex
|
|
124
|
-
* @param {
|
|
138
|
+
* @param {SearchApiApiV1SearchRecreatePostRequest} requestParameters Request parameters.
|
|
125
139
|
* @param {*} [options] Override http request option.
|
|
126
140
|
* @throws {RequiredError}
|
|
127
141
|
* @memberof SearchApi
|
|
128
142
|
*/
|
|
129
|
-
public apiV1SearchRecreatePost(
|
|
130
|
-
return SearchApiFp(this.configuration).apiV1SearchRecreatePost(searchIndexType, options).then((request) => request(this.axios, this.basePath));
|
|
143
|
+
public apiV1SearchRecreatePost(requestParameters: SearchApiApiV1SearchRecreatePostRequest = {}, options?: AxiosRequestConfig) {
|
|
144
|
+
return SearchApiFp(this.configuration).apiV1SearchRecreatePost(requestParameters.searchIndexType, options).then((request) => request(this.axios, this.basePath));
|
|
131
145
|
}
|
|
132
146
|
}
|