ch-admin-api-client-typescript 5.84.1 → 5.87.2

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.
@@ -34,6 +34,14 @@ export declare const DevSupportsApiAxiosParamCreator: (configuration?: Configura
34
34
  * @throws {RequiredError}
35
35
  */
36
36
  apiV1DevsupportsGeneratemissingfaviconsPost: (webAppIds?: Array<string>, dryRun?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
37
+ /**
38
+ *
39
+ * @summary Generate sitemap blob items (Auth policies: RequireAdministratorRole)
40
+ * @param {boolean} [overwrite]
41
+ * @param {*} [options] Override http request option.
42
+ * @throws {RequiredError}
43
+ */
44
+ apiV1DevsupportsGeneratesitemapbatchPost: (overwrite?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
37
45
  /**
38
46
  *
39
47
  * @summary Update contentTextOnly values (Auth policies: RequireAdministratorRole)
@@ -64,6 +72,14 @@ export declare const DevSupportsApiFp: (configuration?: Configuration) => {
64
72
  * @throws {RequiredError}
65
73
  */
66
74
  apiV1DevsupportsGeneratemissingfaviconsPost(webAppIds?: Array<string>, dryRun?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
75
+ /**
76
+ *
77
+ * @summary Generate sitemap blob items (Auth policies: RequireAdministratorRole)
78
+ * @param {boolean} [overwrite]
79
+ * @param {*} [options] Override http request option.
80
+ * @throws {RequiredError}
81
+ */
82
+ apiV1DevsupportsGeneratesitemapbatchPost(overwrite?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
67
83
  /**
68
84
  *
69
85
  * @summary Update contentTextOnly values (Auth policies: RequireAdministratorRole)
@@ -94,6 +110,14 @@ export declare const DevSupportsApiFactory: (configuration?: Configuration, base
94
110
  * @throws {RequiredError}
95
111
  */
96
112
  apiV1DevsupportsGeneratemissingfaviconsPost(webAppIds?: Array<string>, dryRun?: boolean, options?: any): AxiosPromise<string>;
113
+ /**
114
+ *
115
+ * @summary Generate sitemap blob items (Auth policies: RequireAdministratorRole)
116
+ * @param {boolean} [overwrite]
117
+ * @param {*} [options] Override http request option.
118
+ * @throws {RequiredError}
119
+ */
120
+ apiV1DevsupportsGeneratesitemapbatchPost(overwrite?: boolean, options?: any): AxiosPromise<void>;
97
121
  /**
98
122
  *
99
123
  * @summary Update contentTextOnly values (Auth policies: RequireAdministratorRole)
@@ -122,6 +146,19 @@ export interface DevSupportsApiApiV1DevsupportsGeneratemissingfaviconsPostReques
122
146
  */
123
147
  readonly dryRun?: boolean;
124
148
  }
149
+ /**
150
+ * Request parameters for apiV1DevsupportsGeneratesitemapbatchPost operation in DevSupportsApi.
151
+ * @export
152
+ * @interface DevSupportsApiApiV1DevsupportsGeneratesitemapbatchPostRequest
153
+ */
154
+ export interface DevSupportsApiApiV1DevsupportsGeneratesitemapbatchPostRequest {
155
+ /**
156
+ *
157
+ * @type {boolean}
158
+ * @memberof DevSupportsApiApiV1DevsupportsGeneratesitemapbatchPost
159
+ */
160
+ readonly overwrite?: boolean;
161
+ }
125
162
  /**
126
163
  * Request parameters for apiV1DevsupportsUpdatecontenttextonlyvaluesPost operation in DevSupportsApi.
127
164
  * @export
@@ -159,6 +196,15 @@ export declare class DevSupportsApi extends BaseAPI {
159
196
  * @memberof DevSupportsApi
160
197
  */
161
198
  apiV1DevsupportsGeneratemissingfaviconsPost(requestParameters?: DevSupportsApiApiV1DevsupportsGeneratemissingfaviconsPostRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
199
+ /**
200
+ *
201
+ * @summary Generate sitemap blob items (Auth policies: RequireAdministratorRole)
202
+ * @param {DevSupportsApiApiV1DevsupportsGeneratesitemapbatchPostRequest} requestParameters Request parameters.
203
+ * @param {*} [options] Override http request option.
204
+ * @throws {RequiredError}
205
+ * @memberof DevSupportsApi
206
+ */
207
+ apiV1DevsupportsGeneratesitemapbatchPost(requestParameters?: DevSupportsApiApiV1DevsupportsGeneratesitemapbatchPostRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
162
208
  /**
163
209
  *
164
210
  * @summary Update contentTextOnly values (Auth policies: RequireAdministratorRole)
@@ -1 +1 @@
1
- {"version":3,"file":"dev-supports-api.d.ts","sourceRoot":"","sources":["../../src/api/dev-supports-api.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAoB,EAAE,YAAY,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAC;AACrF,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAKjD,OAAO,EAAiC,WAAW,EAAE,OAAO,EAAiB,MAAM,SAAS,CAAC;AAI7F,OAAO,EAAE,iCAAiC,EAAE,MAAM,WAAW,CAAC;AAC9D;;;GAGG;AACH,eAAO,MAAM,+BAA+B,mBAA6B,aAAa;IAE9E;;;;;OAKG;2DACyD,kBAAkB,KAAQ,OAAO,CAAC,WAAW,CAAC;IA4B1G;;;;;;;OAOG;8DAC6D,KAAK,CAAC,MAAM,CAAC,WAAW,OAAO,YAAW,kBAAkB,KAAQ,OAAO,CAAC,WAAW,CAAC;IAoCxJ;;;;;;OAMG;sEACqE,KAAK,CAAC,iCAAiC,CAAC,YAAW,kBAAkB,KAAQ,OAAO,CAAC,WAAW,CAAC;CAiChL,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,gBAAgB,mBAA4B,aAAa;IAG9D;;;;;OAKG;yDACwD,kBAAkB,GAAG,OAAO,CAAC,CAAC,KAAK,CAAC,EAAE,aAAa,EAAE,QAAQ,CAAC,EAAE,MAAM,KAAK,YAAY,CAAC,MAAM,CAAC,CAAC;IAI3J;;;;;;;OAOG;4DAC2D,KAAK,CAAC,MAAM,CAAC,WAAW,OAAO,YAAY,kBAAkB,GAAG,OAAO,CAAC,CAAC,KAAK,CAAC,EAAE,aAAa,EAAE,QAAQ,CAAC,EAAE,MAAM,KAAK,Y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AC,OAAO,CAAC,EAAE,kBAAkB;IAI9E;;;;;;;OAOG;IACI,2CAA2C,CAAC,iBAAiB,GAAE,gEAAqE,EAAE,OAAO,CAAC,EAAE,kBAAkB;IAIzK;;;;;;;OAOG;IACI,wCAAwC,CAAC,iBAAiB,GAAE,6DAAkE,EAAE,OAAO,CAAC,EAAE,kBAAkB;IAInK;;;;;;;OAOG;IACI,+CAA+C,CAAC,iBAAiB,GAAE,oEAAyE,EAAE,OAAO,CAAC,EAAE,kBAAkB;CAGpL"}
@@ -195,6 +195,53 @@ var DevSupportsApiAxiosParamCreator = function (configuration) {
195
195
  });
196
196
  });
197
197
  },
198
+ /**
199
+ *
200
+ * @summary Generate sitemap blob items (Auth policies: RequireAdministratorRole)
201
+ * @param {boolean} [overwrite]
202
+ * @param {*} [options] Override http request option.
203
+ * @throws {RequiredError}
204
+ */
205
+ apiV1DevsupportsGeneratesitemapbatchPost: function (overwrite_1) {
206
+ var args_1 = [];
207
+ for (var _i = 1; _i < arguments.length; _i++) {
208
+ args_1[_i - 1] = arguments[_i];
209
+ }
210
+ return __awaiter(_this, __spreadArray([overwrite_1], args_1, true), void 0, function (overwrite, options) {
211
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
212
+ if (options === void 0) { options = {}; }
213
+ return __generator(this, function (_a) {
214
+ switch (_a.label) {
215
+ case 0:
216
+ localVarPath = "/api/v1/devsupports/generatesitemapbatch";
217
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
218
+ if (configuration) {
219
+ baseOptions = configuration.baseOptions;
220
+ }
221
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
222
+ localVarHeaderParameter = {};
223
+ localVarQueryParameter = {};
224
+ // authentication oauth2 required
225
+ // oauth required
226
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)];
227
+ case 1:
228
+ // authentication oauth2 required
229
+ // oauth required
230
+ _a.sent();
231
+ if (overwrite !== undefined) {
232
+ localVarQueryParameter['overwrite'] = overwrite;
233
+ }
234
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
235
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
236
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
237
+ return [2 /*return*/, {
238
+ url: (0, common_1.toPathString)(localVarUrlObj),
239
+ options: localVarRequestOptions,
240
+ }];
241
+ }
242
+ });
243
+ });
244
+ },
198
245
  /**
199
246
  *
200
247
  * @summary Update contentTextOnly values (Auth policies: RequireAdministratorRole)
@@ -292,6 +339,26 @@ var DevSupportsApiFp = function (configuration) {
292
339
  });
293
340
  });
294
341
  },
342
+ /**
343
+ *
344
+ * @summary Generate sitemap blob items (Auth policies: RequireAdministratorRole)
345
+ * @param {boolean} [overwrite]
346
+ * @param {*} [options] Override http request option.
347
+ * @throws {RequiredError}
348
+ */
349
+ apiV1DevsupportsGeneratesitemapbatchPost: function (overwrite, options) {
350
+ return __awaiter(this, void 0, void 0, function () {
351
+ var localVarAxiosArgs;
352
+ return __generator(this, function (_a) {
353
+ switch (_a.label) {
354
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DevsupportsGeneratesitemapbatchPost(overwrite, options)];
355
+ case 1:
356
+ localVarAxiosArgs = _a.sent();
357
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
358
+ }
359
+ });
360
+ });
361
+ },
295
362
  /**
296
363
  *
297
364
  * @summary Update contentTextOnly values (Auth policies: RequireAdministratorRole)
@@ -342,6 +409,16 @@ var DevSupportsApiFactory = function (configuration, basePath, axios) {
342
409
  apiV1DevsupportsGeneratemissingfaviconsPost: function (webAppIds, dryRun, options) {
343
410
  return localVarFp.apiV1DevsupportsGeneratemissingfaviconsPost(webAppIds, dryRun, options).then(function (request) { return request(axios, basePath); });
344
411
  },
412
+ /**
413
+ *
414
+ * @summary Generate sitemap blob items (Auth policies: RequireAdministratorRole)
415
+ * @param {boolean} [overwrite]
416
+ * @param {*} [options] Override http request option.
417
+ * @throws {RequiredError}
418
+ */
419
+ apiV1DevsupportsGeneratesitemapbatchPost: function (overwrite, options) {
420
+ return localVarFp.apiV1DevsupportsGeneratesitemapbatchPost(overwrite, options).then(function (request) { return request(axios, basePath); });
421
+ },
345
422
  /**
346
423
  *
347
424
  * @summary Update contentTextOnly values (Auth policies: RequireAdministratorRole)
@@ -390,6 +467,19 @@ var DevSupportsApi = /** @class */ (function (_super) {
390
467
  if (requestParameters === void 0) { requestParameters = {}; }
391
468
  return (0, exports.DevSupportsApiFp)(this.configuration).apiV1DevsupportsGeneratemissingfaviconsPost(requestParameters.webAppIds, requestParameters.dryRun, options).then(function (request) { return request(_this.axios, _this.basePath); });
392
469
  };
470
+ /**
471
+ *
472
+ * @summary Generate sitemap blob items (Auth policies: RequireAdministratorRole)
473
+ * @param {DevSupportsApiApiV1DevsupportsGeneratesitemapbatchPostRequest} requestParameters Request parameters.
474
+ * @param {*} [options] Override http request option.
475
+ * @throws {RequiredError}
476
+ * @memberof DevSupportsApi
477
+ */
478
+ DevSupportsApi.prototype.apiV1DevsupportsGeneratesitemapbatchPost = function (requestParameters, options) {
479
+ var _this = this;
480
+ if (requestParameters === void 0) { requestParameters = {}; }
481
+ return (0, exports.DevSupportsApiFp)(this.configuration).apiV1DevsupportsGeneratesitemapbatchPost(requestParameters.overwrite, options).then(function (request) { return request(_this.axios, _this.basePath); });
482
+ };
393
483
  /**
394
484
  *
395
485
  * @summary Update contentTextOnly values (Auth policies: RequireAdministratorRole)
@@ -45,6 +45,7 @@ export declare const NotificationsApiAxiosParamCreator: (configuration?: Configu
45
45
  *
46
46
  * @summary Get all notification user. (Auth policies: RequireDefaultAdminAppRole)
47
47
  * @param {string} [hospitalId]
48
+ * @param {string} [userId]
48
49
  * @param {Array<string>} [roles]
49
50
  * @param {boolean} [showHidden]
50
51
  * @param {number} [page]
@@ -53,7 +54,7 @@ export declare const NotificationsApiAxiosParamCreator: (configuration?: Configu
53
54
  * @param {*} [options] Override http request option.
54
55
  * @throws {RequiredError}
55
56
  */
56
- apiV1NotificationsUsersGet: (hospitalId?: string, roles?: Array<string>, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) => Promise<RequestArgs>;
57
+ apiV1NotificationsUsersGet: (hospitalId?: string, userId?: string, roles?: Array<string>, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) => Promise<RequestArgs>;
57
58
  };
58
59
  /**
59
60
  * NotificationsApi - functional programming interface
@@ -84,6 +85,7 @@ export declare const NotificationsApiFp: (configuration?: Configuration) => {
84
85
  *
85
86
  * @summary Get all notification user. (Auth policies: RequireDefaultAdminAppRole)
86
87
  * @param {string} [hospitalId]
88
+ * @param {string} [userId]
87
89
  * @param {Array<string>} [roles]
88
90
  * @param {boolean} [showHidden]
89
91
  * @param {number} [page]
@@ -92,7 +94,7 @@ export declare const NotificationsApiFp: (configuration?: Configuration) => {
92
94
  * @param {*} [options] Override http request option.
93
95
  * @throws {RequiredError}
94
96
  */
95
- apiV1NotificationsUsersGet(hospitalId?: string, roles?: Array<string>, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NotificationUsersModel>>;
97
+ apiV1NotificationsUsersGet(hospitalId?: string, userId?: string, roles?: Array<string>, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NotificationUsersModel>>;
96
98
  };
97
99
  /**
98
100
  * NotificationsApi - factory interface
@@ -123,6 +125,7 @@ export declare const NotificationsApiFactory: (configuration?: Configuration, ba
123
125
  *
124
126
  * @summary Get all notification user. (Auth policies: RequireDefaultAdminAppRole)
125
127
  * @param {string} [hospitalId]
128
+ * @param {string} [userId]
126
129
  * @param {Array<string>} [roles]
127
130
  * @param {boolean} [showHidden]
128
131
  * @param {number} [page]
@@ -131,7 +134,7 @@ export declare const NotificationsApiFactory: (configuration?: Configuration, ba
131
134
  * @param {*} [options] Override http request option.
132
135
  * @throws {RequiredError}
133
136
  */
134
- apiV1NotificationsUsersGet(hospitalId?: string, roles?: Array<string>, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<NotificationUsersModel>;
137
+ apiV1NotificationsUsersGet(hospitalId?: string, userId?: string, roles?: Array<string>, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<NotificationUsersModel>;
135
138
  };
136
139
  /**
137
140
  * Request parameters for apiV1NotificationsCheckPost operation in NotificationsApi.
@@ -195,6 +198,12 @@ export interface NotificationsApiApiV1NotificationsUsersGetRequest {
195
198
  * @memberof NotificationsApiApiV1NotificationsUsersGet
196
199
  */
197
200
  readonly hospitalId?: string;
201
+ /**
202
+ *
203
+ * @type {string}
204
+ * @memberof NotificationsApiApiV1NotificationsUsersGet
205
+ */
206
+ readonly userId?: string;
198
207
  /**
199
208
  *
200
209
  * @type {Array<string>}
@@ -1 +1 @@
1
- {"version":3,"file":"notifications-api.d.ts","sourceRoot":"","sources":["../../src/api/notifications-api.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAoB,EAAE,YAAY,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAC;AACrF,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAKjD,OAAO,EAAiC,WAAW,EAAE,OAAO,EAAiB,MAAM,SAAS,CAAC;AAE7F,OAAO,EAAE,yBAAyB,EAAE,MAAM,WAAW,CAAC;AAEtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAE7C,OAAO,EAAE,sBAAsB,EA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,CAAC,EAAE,IAAI,CAAA;CAChC;AAED;;;;;GAKG;AACH,qBAAa,gBAAiB,SAAQ,OAAO;IACzC;;;;;;;OAOG;IACI,2BAA2B,CAAC,iBAAiB,GAAE,kDAAuD,EAAE,OAAO,CAAC,EAAE,kBAAkB;IAI3I;;;;;;;OAOG;IACI,qBAAqB,CAAC,iBAAiB,GAAE,4CAAiD,EAAE,OAAO,CAAC,EAAE,kBAAkB;IAI/H;;;;;;;OAOG;IACI,0BAA0B,CAAC,iBAAiB,GAAE,iDAAsD,EAAE,OAAO,CAAC,EAAE,kBAAkB;CAG5I"}
@@ -216,6 +216,7 @@ var NotificationsApiAxiosParamCreator = function (configuration) {
216
216
  *
217
217
  * @summary Get all notification user. (Auth policies: RequireDefaultAdminAppRole)
218
218
  * @param {string} [hospitalId]
219
+ * @param {string} [userId]
219
220
  * @param {Array<string>} [roles]
220
221
  * @param {boolean} [showHidden]
221
222
  * @param {number} [page]
@@ -224,12 +225,12 @@ var NotificationsApiAxiosParamCreator = function (configuration) {
224
225
  * @param {*} [options] Override http request option.
225
226
  * @throws {RequiredError}
226
227
  */
227
- apiV1NotificationsUsersGet: function (hospitalId_1, roles_1, showHidden_1, page_1, limit_1, lastRetrieved_1) {
228
+ apiV1NotificationsUsersGet: function (hospitalId_1, userId_1, roles_1, showHidden_1, page_1, limit_1, lastRetrieved_1) {
228
229
  var args_1 = [];
229
- for (var _i = 6; _i < arguments.length; _i++) {
230
- args_1[_i - 6] = arguments[_i];
230
+ for (var _i = 7; _i < arguments.length; _i++) {
231
+ args_1[_i - 7] = arguments[_i];
231
232
  }
232
- return __awaiter(_this, __spreadArray([hospitalId_1, roles_1, showHidden_1, page_1, limit_1, lastRetrieved_1], args_1, true), void 0, function (hospitalId, roles, showHidden, page, limit, lastRetrieved, options) {
233
+ return __awaiter(_this, __spreadArray([hospitalId_1, userId_1, roles_1, showHidden_1, page_1, limit_1, lastRetrieved_1], args_1, true), void 0, function (hospitalId, userId, roles, showHidden, page, limit, lastRetrieved, options) {
233
234
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
234
235
  if (options === void 0) { options = {}; }
235
236
  return __generator(this, function (_a) {
@@ -253,6 +254,9 @@ var NotificationsApiAxiosParamCreator = function (configuration) {
253
254
  if (hospitalId !== undefined) {
254
255
  localVarQueryParameter['hospitalId'] = hospitalId;
255
256
  }
257
+ if (userId !== undefined) {
258
+ localVarQueryParameter['userId'] = userId;
259
+ }
256
260
  if (roles) {
257
261
  localVarQueryParameter['roles'] = roles;
258
262
  }
@@ -339,6 +343,7 @@ var NotificationsApiFp = function (configuration) {
339
343
  *
340
344
  * @summary Get all notification user. (Auth policies: RequireDefaultAdminAppRole)
341
345
  * @param {string} [hospitalId]
346
+ * @param {string} [userId]
342
347
  * @param {Array<string>} [roles]
343
348
  * @param {boolean} [showHidden]
344
349
  * @param {number} [page]
@@ -347,12 +352,12 @@ var NotificationsApiFp = function (configuration) {
347
352
  * @param {*} [options] Override http request option.
348
353
  * @throws {RequiredError}
349
354
  */
350
- apiV1NotificationsUsersGet: function (hospitalId, roles, showHidden, page, limit, lastRetrieved, options) {
355
+ apiV1NotificationsUsersGet: function (hospitalId, userId, roles, showHidden, page, limit, lastRetrieved, options) {
351
356
  return __awaiter(this, void 0, void 0, function () {
352
357
  var localVarAxiosArgs;
353
358
  return __generator(this, function (_a) {
354
359
  switch (_a.label) {
355
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1NotificationsUsersGet(hospitalId, roles, showHidden, page, limit, lastRetrieved, options)];
360
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1NotificationsUsersGet(hospitalId, userId, roles, showHidden, page, limit, lastRetrieved, options)];
356
361
  case 1:
357
362
  localVarAxiosArgs = _a.sent();
358
363
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -398,6 +403,7 @@ var NotificationsApiFactory = function (configuration, basePath, axios) {
398
403
  *
399
404
  * @summary Get all notification user. (Auth policies: RequireDefaultAdminAppRole)
400
405
  * @param {string} [hospitalId]
406
+ * @param {string} [userId]
401
407
  * @param {Array<string>} [roles]
402
408
  * @param {boolean} [showHidden]
403
409
  * @param {number} [page]
@@ -406,8 +412,8 @@ var NotificationsApiFactory = function (configuration, basePath, axios) {
406
412
  * @param {*} [options] Override http request option.
407
413
  * @throws {RequiredError}
408
414
  */
409
- apiV1NotificationsUsersGet: function (hospitalId, roles, showHidden, page, limit, lastRetrieved, options) {
410
- return localVarFp.apiV1NotificationsUsersGet(hospitalId, roles, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
415
+ apiV1NotificationsUsersGet: function (hospitalId, userId, roles, showHidden, page, limit, lastRetrieved, options) {
416
+ return localVarFp.apiV1NotificationsUsersGet(hospitalId, userId, roles, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
411
417
  },
412
418
  };
413
419
  };
@@ -460,7 +466,7 @@ var NotificationsApi = /** @class */ (function (_super) {
460
466
  NotificationsApi.prototype.apiV1NotificationsUsersGet = function (requestParameters, options) {
461
467
  var _this = this;
462
468
  if (requestParameters === void 0) { requestParameters = {}; }
463
- return (0, exports.NotificationsApiFp)(this.configuration).apiV1NotificationsUsersGet(requestParameters.hospitalId, requestParameters.roles, requestParameters.showHidden, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
469
+ return (0, exports.NotificationsApiFp)(this.configuration).apiV1NotificationsUsersGet(requestParameters.hospitalId, requestParameters.userId, requestParameters.roles, requestParameters.showHidden, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
464
470
  };
465
471
  return NotificationsApi;
466
472
  }(base_1.BaseAPI));
@@ -62,6 +62,8 @@ export declare const NotificationCode: {
62
62
  readonly CheckedChatSession: "CheckedChatSession";
63
63
  readonly RecreateChatSession: "RecreateChatSession";
64
64
  readonly UnassignedNotification: "UnassignedNotification";
65
+ readonly AssignedNotification: "AssignedNotification";
66
+ readonly AutoAgentRemoval: "AutoAgentRemoval";
65
67
  readonly ForceSignOut: "ForceSignOut";
66
68
  };
67
69
  export type NotificationCode = typeof NotificationCode[keyof typeof NotificationCode];
@@ -1 +1 @@
1
- {"version":3,"file":"notification-code.d.ts","sourceRoot":"","sources":["../../src/models/notification-code.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AAEH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiDnB,CAAC;AAEX,MAAM,MAAM,gBAAgB,GAAG,OAAO,gBAAgB,CAAC,MAAM,OAAO,gBAAgB,CAAC,CAAC"}
1
+ {"version":3,"file":"notification-code.d.ts","sourceRoot":"","sources":["../../src/models/notification-code.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AAEH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmDnB,CAAC;AAEX,MAAM,MAAM,gBAAgB,GAAG,OAAO,gBAAgB,CAAC,MAAM,OAAO,gBAAgB,CAAC,CAAC"}
@@ -67,5 +67,7 @@ exports.NotificationCode = {
67
67
  CheckedChatSession: 'CheckedChatSession',
68
68
  RecreateChatSession: 'RecreateChatSession',
69
69
  UnassignedNotification: 'UnassignedNotification',
70
+ AssignedNotification: 'AssignedNotification',
71
+ AutoAgentRemoval: 'AutoAgentRemoval',
70
72
  ForceSignOut: 'ForceSignOut'
71
73
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ch-admin-api-client-typescript",
3
- "version": "5.84.1",
3
+ "version": "5.87.2",
4
4
  "description": "Openapi generated typescript-axios client for CloudHospital admin",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",