ch-api-client-typescript2 4.7.3 → 4.7.5
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/.github/workflows/publish-npm.yml +9 -28
- package/lib/api.d.ts +78 -0
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +170 -0
- package/package.json +1 -1
- package/src/api.ts +154 -0
|
@@ -1,53 +1,34 @@
|
|
|
1
|
-
# This is a basic workflow to help you get started with Actions
|
|
2
|
-
|
|
3
1
|
name: Version Update
|
|
4
2
|
|
|
5
|
-
# Controls when the action will run. Triggers the workflow on push or pull request
|
|
6
|
-
# events but only for the main branch
|
|
7
3
|
on:
|
|
8
4
|
repository_dispatch:
|
|
9
5
|
types:
|
|
10
6
|
- publish npm package
|
|
11
7
|
|
|
12
|
-
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
|
13
8
|
jobs:
|
|
14
|
-
# This workflow contains a single job called "build"
|
|
15
9
|
build:
|
|
16
|
-
# The type of runner that the job will run on
|
|
17
10
|
runs-on: ubuntu-latest
|
|
18
11
|
|
|
19
|
-
# Steps represent a sequence of tasks that will be executed as part of the job
|
|
20
12
|
steps:
|
|
21
|
-
|
|
22
|
-
- uses: actions/
|
|
23
|
-
- uses: actions/setup-node@v1
|
|
13
|
+
- uses: actions/checkout@v3
|
|
14
|
+
- uses: actions/setup-node@v3
|
|
24
15
|
with:
|
|
25
|
-
node-version:
|
|
16
|
+
node-version: 16
|
|
26
17
|
registry-url: https://registry.npmjs.org/
|
|
27
18
|
- run: npm ci
|
|
19
|
+
- name: Echo payload
|
|
20
|
+
run: echo ${{ github.event.client_payload.message.tag }}
|
|
28
21
|
- name: NPM-Version
|
|
29
|
-
|
|
30
|
-
# uses: Reedyuk/NPM-Version@9b08a57f534ead28c49f7b57665fe9f6d048ff74
|
|
31
|
-
uses: Reedyuk/NPM-Version@1.0.1
|
|
22
|
+
uses: Reedyuk/NPM-Version@1.1.1
|
|
32
23
|
with:
|
|
33
|
-
# This will be the version you want to set in the package.json file
|
|
34
24
|
version: ${{ github.event.client_payload.message.tag }}
|
|
35
|
-
# The location of the package.json file, defaults to current directory.
|
|
36
25
|
package: ./
|
|
37
|
-
- name: Echo payload
|
|
38
|
-
run: echo ${{ github.event.client_payload.message.tag }}
|
|
39
26
|
- name: Add & Commit
|
|
40
|
-
|
|
41
|
-
# uses: EndBug/add-and-commit@b5dec7ea7647ed6edf307ec828d3aeb6bca69f63
|
|
42
|
-
uses: EndBug/add-and-commit@v5.1.0
|
|
43
|
-
env:
|
|
44
|
-
# This is necessary in order to push a commit to the repo
|
|
45
|
-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Leave this line unchanged
|
|
27
|
+
uses: EndBug/add-and-commit@v9
|
|
46
28
|
- run: npm run-script build
|
|
47
29
|
- run: npm publish
|
|
48
30
|
env:
|
|
49
|
-
NODE_AUTH_TOKEN: ${{secrets.
|
|
50
|
-
|
|
31
|
+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
51
32
|
- uses: 8398a7/action-slack@v3
|
|
52
33
|
with:
|
|
53
34
|
status: custom
|
|
@@ -61,4 +42,4 @@ jobs:
|
|
|
61
42
|
}
|
|
62
43
|
env:
|
|
63
44
|
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}
|
|
64
|
-
if: always()
|
|
45
|
+
if: always()
|
package/lib/api.d.ts
CHANGED
|
@@ -3275,6 +3275,12 @@ export interface CreatePatientCommand {
|
|
|
3275
3275
|
* @memberof CreatePatientCommand
|
|
3276
3276
|
*/
|
|
3277
3277
|
'timeZone'?: string | null;
|
|
3278
|
+
/**
|
|
3279
|
+
*
|
|
3280
|
+
* @type {string}
|
|
3281
|
+
* @memberof CreatePatientCommand
|
|
3282
|
+
*/
|
|
3283
|
+
'hospitalId'?: string;
|
|
3278
3284
|
}
|
|
3279
3285
|
/**
|
|
3280
3286
|
*
|
|
@@ -8217,6 +8223,12 @@ export interface PatientModel {
|
|
|
8217
8223
|
* @memberof PatientModel
|
|
8218
8224
|
*/
|
|
8219
8225
|
'membership'?: MembershipModel;
|
|
8226
|
+
/**
|
|
8227
|
+
*
|
|
8228
|
+
* @type {Array<string>}
|
|
8229
|
+
* @memberof PatientModel
|
|
8230
|
+
*/
|
|
8231
|
+
'patientAffiliations'?: Array<string> | null;
|
|
8220
8232
|
}
|
|
8221
8233
|
/**
|
|
8222
8234
|
*
|
|
@@ -18023,6 +18035,22 @@ export declare class NotificationsApi extends BaseAPI {
|
|
|
18023
18035
|
* @export
|
|
18024
18036
|
*/
|
|
18025
18037
|
export declare const PatientsApiAxiosParamCreator: (configuration?: Configuration | undefined) => {
|
|
18038
|
+
/**
|
|
18039
|
+
*
|
|
18040
|
+
* @summary Delete PatientAffiliation
|
|
18041
|
+
* @param {string} hospitalId
|
|
18042
|
+
* @param {*} [options] Override http request option.
|
|
18043
|
+
* @throws {RequiredError}
|
|
18044
|
+
*/
|
|
18045
|
+
apiV2PatientsAffiliationsHospitalIdDelete: (hospitalId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
18046
|
+
/**
|
|
18047
|
+
*
|
|
18048
|
+
* @summary Create PatientAffiliation
|
|
18049
|
+
* @param {string} hospitalId
|
|
18050
|
+
* @param {*} [options] Override http request option.
|
|
18051
|
+
* @throws {RequiredError}
|
|
18052
|
+
*/
|
|
18053
|
+
apiV2PatientsAffiliationsHospitalIdPost: (hospitalId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
18026
18054
|
/**
|
|
18027
18055
|
*
|
|
18028
18056
|
* @summary Delete Patient.
|
|
@@ -18062,6 +18090,22 @@ export declare const PatientsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
18062
18090
|
* @export
|
|
18063
18091
|
*/
|
|
18064
18092
|
export declare const PatientsApiFp: (configuration?: Configuration | undefined) => {
|
|
18093
|
+
/**
|
|
18094
|
+
*
|
|
18095
|
+
* @summary Delete PatientAffiliation
|
|
18096
|
+
* @param {string} hospitalId
|
|
18097
|
+
* @param {*} [options] Override http request option.
|
|
18098
|
+
* @throws {RequiredError}
|
|
18099
|
+
*/
|
|
18100
|
+
apiV2PatientsAffiliationsHospitalIdDelete(hospitalId: string, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<boolean>>;
|
|
18101
|
+
/**
|
|
18102
|
+
*
|
|
18103
|
+
* @summary Create PatientAffiliation
|
|
18104
|
+
* @param {string} hospitalId
|
|
18105
|
+
* @param {*} [options] Override http request option.
|
|
18106
|
+
* @throws {RequiredError}
|
|
18107
|
+
*/
|
|
18108
|
+
apiV2PatientsAffiliationsHospitalIdPost(hospitalId: string, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<boolean>>;
|
|
18065
18109
|
/**
|
|
18066
18110
|
*
|
|
18067
18111
|
* @summary Delete Patient.
|
|
@@ -18101,6 +18145,22 @@ export declare const PatientsApiFp: (configuration?: Configuration | undefined)
|
|
|
18101
18145
|
* @export
|
|
18102
18146
|
*/
|
|
18103
18147
|
export declare const PatientsApiFactory: (configuration?: Configuration | undefined, basePath?: string | undefined, axios?: AxiosInstance | undefined) => {
|
|
18148
|
+
/**
|
|
18149
|
+
*
|
|
18150
|
+
* @summary Delete PatientAffiliation
|
|
18151
|
+
* @param {string} hospitalId
|
|
18152
|
+
* @param {*} [options] Override http request option.
|
|
18153
|
+
* @throws {RequiredError}
|
|
18154
|
+
*/
|
|
18155
|
+
apiV2PatientsAffiliationsHospitalIdDelete(hospitalId: string, options?: any): AxiosPromise<boolean>;
|
|
18156
|
+
/**
|
|
18157
|
+
*
|
|
18158
|
+
* @summary Create PatientAffiliation
|
|
18159
|
+
* @param {string} hospitalId
|
|
18160
|
+
* @param {*} [options] Override http request option.
|
|
18161
|
+
* @throws {RequiredError}
|
|
18162
|
+
*/
|
|
18163
|
+
apiV2PatientsAffiliationsHospitalIdPost(hospitalId: string, options?: any): AxiosPromise<boolean>;
|
|
18104
18164
|
/**
|
|
18105
18165
|
*
|
|
18106
18166
|
* @summary Delete Patient.
|
|
@@ -18142,6 +18202,24 @@ export declare const PatientsApiFactory: (configuration?: Configuration | undefi
|
|
|
18142
18202
|
* @extends {BaseAPI}
|
|
18143
18203
|
*/
|
|
18144
18204
|
export declare class PatientsApi extends BaseAPI {
|
|
18205
|
+
/**
|
|
18206
|
+
*
|
|
18207
|
+
* @summary Delete PatientAffiliation
|
|
18208
|
+
* @param {string} hospitalId
|
|
18209
|
+
* @param {*} [options] Override http request option.
|
|
18210
|
+
* @throws {RequiredError}
|
|
18211
|
+
* @memberof PatientsApi
|
|
18212
|
+
*/
|
|
18213
|
+
apiV2PatientsAffiliationsHospitalIdDelete(hospitalId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
|
|
18214
|
+
/**
|
|
18215
|
+
*
|
|
18216
|
+
* @summary Create PatientAffiliation
|
|
18217
|
+
* @param {string} hospitalId
|
|
18218
|
+
* @param {*} [options] Override http request option.
|
|
18219
|
+
* @throws {RequiredError}
|
|
18220
|
+
* @memberof PatientsApi
|
|
18221
|
+
*/
|
|
18222
|
+
apiV2PatientsAffiliationsHospitalIdPost(hospitalId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
|
|
18145
18223
|
/**
|
|
18146
18224
|
*
|
|
18147
18225
|
* @summary Delete Patient.
|