ch-api-client-typescript2 4.7.2 → 4.7.4

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.
@@ -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
- # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
22
- - uses: actions/checkout@v2
23
- - uses: actions/setup-node@v1
13
+ - uses: actions/checkout@v3
14
+ - uses: actions/setup-node@v3
24
15
  with:
25
16
  node-version: 12
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
- # You may pin to the exact commit or the version.
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
- # You may pin to the exact commit or the version.
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.npm_token}}
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() # Pick up events even if the job fails or is canceled.
45
+ if: always()
package/lib/api.d.ts CHANGED
@@ -513,12 +513,6 @@ export interface ArticleContributorModel {
513
513
  * @memberof ArticleContributorModel
514
514
  */
515
515
  'auditableEntity'?: AuditableEntity;
516
- /**
517
- *
518
- * @type {ContributorMappingModel}
519
- * @memberof ArticleContributorModel
520
- */
521
- 'contributor'?: ContributorMappingModel;
522
516
  /**
523
517
  *
524
518
  * @type {string}
@@ -2543,19 +2537,6 @@ export interface ContributorItemModel {
2543
2537
  */
2544
2538
  'auditableEntity'?: AuditableEntity;
2545
2539
  }
2546
- /**
2547
- *
2548
- * @export
2549
- * @interface ContributorMappingModel
2550
- */
2551
- export interface ContributorMappingModel {
2552
- /**
2553
- *
2554
- * @type {Array<TranslationModel>}
2555
- * @memberof ContributorMappingModel
2556
- */
2557
- 'translations'?: Array<TranslationModel> | null;
2558
- }
2559
2540
  /**
2560
2541
  *
2561
2542
  * @export
@@ -3294,6 +3275,12 @@ export interface CreatePatientCommand {
3294
3275
  * @memberof CreatePatientCommand
3295
3276
  */
3296
3277
  'timeZone'?: string | null;
3278
+ /**
3279
+ *
3280
+ * @type {string}
3281
+ * @memberof CreatePatientCommand
3282
+ */
3283
+ 'hospitalId'?: string;
3297
3284
  }
3298
3285
  /**
3299
3286
  *
@@ -8236,6 +8223,12 @@ export interface PatientModel {
8236
8223
  * @memberof PatientModel
8237
8224
  */
8238
8225
  'membership'?: MembershipModel;
8226
+ /**
8227
+ *
8228
+ * @type {Array<string>}
8229
+ * @memberof PatientModel
8230
+ */
8231
+ 'patientAffiliations'?: Array<string> | null;
8239
8232
  }
8240
8233
  /**
8241
8234
  *
@@ -9954,67 +9947,6 @@ export interface TagsModel {
9954
9947
  */
9955
9948
  'metaData'?: PagedListMetaData;
9956
9949
  }
9957
- /**
9958
- *
9959
- * @export
9960
- * @interface TranslationModel
9961
- */
9962
- export interface TranslationModel {
9963
- /**
9964
- *
9965
- * @type {string}
9966
- * @memberof TranslationModel
9967
- */
9968
- 'languageCode'?: string | null;
9969
- /**
9970
- *
9971
- * @type {string}
9972
- * @memberof TranslationModel
9973
- */
9974
- 'name'?: string | null;
9975
- /**
9976
- *
9977
- * @type {string}
9978
- * @memberof TranslationModel
9979
- */
9980
- 'normalizedName'?: string | null;
9981
- /**
9982
- *
9983
- * @type {string}
9984
- * @memberof TranslationModel
9985
- */
9986
- 'slug'?: string | null;
9987
- /**
9988
- *
9989
- * @type {Date}
9990
- * @memberof TranslationModel
9991
- */
9992
- 'updatedDate'?: Date | null;
9993
- /**
9994
- *
9995
- * @type {boolean}
9996
- * @memberof TranslationModel
9997
- */
9998
- 'isConfirmed'?: boolean;
9999
- /**
10000
- *
10001
- * @type {string}
10002
- * @memberof TranslationModel
10003
- */
10004
- 'description'?: string | null;
10005
- /**
10006
- *
10007
- * @type {string}
10008
- * @memberof TranslationModel
10009
- */
10010
- 'overview'?: string | null;
10011
- /**
10012
- *
10013
- * @type {string}
10014
- * @memberof TranslationModel
10015
- */
10016
- 'content'?: string | null;
10017
- }
10018
9950
  /**
10019
9951
  *
10020
9952
  * @export
@@ -18103,6 +18035,22 @@ export declare class NotificationsApi extends BaseAPI {
18103
18035
  * @export
18104
18036
  */
18105
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>;
18106
18054
  /**
18107
18055
  *
18108
18056
  * @summary Delete Patient.
@@ -18142,6 +18090,22 @@ export declare const PatientsApiAxiosParamCreator: (configuration?: Configuratio
18142
18090
  * @export
18143
18091
  */
18144
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>>;
18145
18109
  /**
18146
18110
  *
18147
18111
  * @summary Delete Patient.
@@ -18181,6 +18145,22 @@ export declare const PatientsApiFp: (configuration?: Configuration | undefined)
18181
18145
  * @export
18182
18146
  */
18183
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>;
18184
18164
  /**
18185
18165
  *
18186
18166
  * @summary Delete Patient.
@@ -18222,6 +18202,24 @@ export declare const PatientsApiFactory: (configuration?: Configuration | undefi
18222
18202
  * @extends {BaseAPI}
18223
18203
  */
18224
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>>;
18225
18223
  /**
18226
18224
  *
18227
18225
  * @summary Delete Patient.