ch-chat-api-typescript-axios 5.81.21 → 5.82.9

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.
@@ -0,0 +1,157 @@
1
+ /**
2
+ * CloudHospital.ChatApi
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
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 type { Configuration } from '../configuration';
13
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
+ import { type RequestArgs, BaseAPI } from '../base';
15
+ import type { ChatNotifications } from '../models';
16
+ /**
17
+ * NotificationsApi - axios parameter creator
18
+ * @export
19
+ */
20
+ export declare const NotificationsApiAxiosParamCreator: (configuration?: Configuration) => {
21
+ /**
22
+ *
23
+ * @summary Get the notifications for the current user.
24
+ * @param {boolean} [isRead]
25
+ * @param {number} [page]
26
+ * @param {number} [limit]
27
+ * @param {Date} [lastRetrieved]
28
+ * @param {*} [options] Override http request option.
29
+ * @throws {RequiredError}
30
+ */
31
+ apiV1ChatNotificationsGet: (isRead?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
32
+ /**
33
+ *
34
+ * @summary Marks the notification as read for the current user.
35
+ * @param {string} id
36
+ * @param {*} [options] Override http request option.
37
+ * @throws {RequiredError}
38
+ */
39
+ apiV1ChatNotificationsIdCheckPost: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
40
+ };
41
+ /**
42
+ * NotificationsApi - functional programming interface
43
+ * @export
44
+ */
45
+ export declare const NotificationsApiFp: (configuration?: Configuration) => {
46
+ /**
47
+ *
48
+ * @summary Get the notifications for the current user.
49
+ * @param {boolean} [isRead]
50
+ * @param {number} [page]
51
+ * @param {number} [limit]
52
+ * @param {Date} [lastRetrieved]
53
+ * @param {*} [options] Override http request option.
54
+ * @throws {RequiredError}
55
+ */
56
+ apiV1ChatNotificationsGet(isRead?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatNotifications>>;
57
+ /**
58
+ *
59
+ * @summary Marks the notification as read for the current user.
60
+ * @param {string} id
61
+ * @param {*} [options] Override http request option.
62
+ * @throws {RequiredError}
63
+ */
64
+ apiV1ChatNotificationsIdCheckPost(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
65
+ };
66
+ /**
67
+ * NotificationsApi - factory interface
68
+ * @export
69
+ */
70
+ export declare const NotificationsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
71
+ /**
72
+ *
73
+ * @summary Get the notifications for the current user.
74
+ * @param {NotificationsApiApiV1ChatNotificationsGetRequest} requestParameters Request parameters.
75
+ * @param {*} [options] Override http request option.
76
+ * @throws {RequiredError}
77
+ */
78
+ apiV1ChatNotificationsGet(requestParameters?: NotificationsApiApiV1ChatNotificationsGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChatNotifications>;
79
+ /**
80
+ *
81
+ * @summary Marks the notification as read for the current user.
82
+ * @param {NotificationsApiApiV1ChatNotificationsIdCheckPostRequest} requestParameters Request parameters.
83
+ * @param {*} [options] Override http request option.
84
+ * @throws {RequiredError}
85
+ */
86
+ apiV1ChatNotificationsIdCheckPost(requestParameters: NotificationsApiApiV1ChatNotificationsIdCheckPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
87
+ };
88
+ /**
89
+ * Request parameters for apiV1ChatNotificationsGet operation in NotificationsApi.
90
+ * @export
91
+ * @interface NotificationsApiApiV1ChatNotificationsGetRequest
92
+ */
93
+ export interface NotificationsApiApiV1ChatNotificationsGetRequest {
94
+ /**
95
+ *
96
+ * @type {boolean}
97
+ * @memberof NotificationsApiApiV1ChatNotificationsGet
98
+ */
99
+ readonly isRead?: boolean;
100
+ /**
101
+ *
102
+ * @type {number}
103
+ * @memberof NotificationsApiApiV1ChatNotificationsGet
104
+ */
105
+ readonly page?: number;
106
+ /**
107
+ *
108
+ * @type {number}
109
+ * @memberof NotificationsApiApiV1ChatNotificationsGet
110
+ */
111
+ readonly limit?: number;
112
+ /**
113
+ *
114
+ * @type {Date}
115
+ * @memberof NotificationsApiApiV1ChatNotificationsGet
116
+ */
117
+ readonly lastRetrieved?: Date;
118
+ }
119
+ /**
120
+ * Request parameters for apiV1ChatNotificationsIdCheckPost operation in NotificationsApi.
121
+ * @export
122
+ * @interface NotificationsApiApiV1ChatNotificationsIdCheckPostRequest
123
+ */
124
+ export interface NotificationsApiApiV1ChatNotificationsIdCheckPostRequest {
125
+ /**
126
+ *
127
+ * @type {string}
128
+ * @memberof NotificationsApiApiV1ChatNotificationsIdCheckPost
129
+ */
130
+ readonly id: string;
131
+ }
132
+ /**
133
+ * NotificationsApi - object-oriented interface
134
+ * @export
135
+ * @class NotificationsApi
136
+ * @extends {BaseAPI}
137
+ */
138
+ export declare class NotificationsApi extends BaseAPI {
139
+ /**
140
+ *
141
+ * @summary Get the notifications for the current user.
142
+ * @param {NotificationsApiApiV1ChatNotificationsGetRequest} requestParameters Request parameters.
143
+ * @param {*} [options] Override http request option.
144
+ * @throws {RequiredError}
145
+ * @memberof NotificationsApi
146
+ */
147
+ apiV1ChatNotificationsGet(requestParameters?: NotificationsApiApiV1ChatNotificationsGetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatNotifications, any>>;
148
+ /**
149
+ *
150
+ * @summary Marks the notification as read for the current user.
151
+ * @param {NotificationsApiApiV1ChatNotificationsIdCheckPostRequest} requestParameters Request parameters.
152
+ * @param {*} [options] Override http request option.
153
+ * @throws {RequiredError}
154
+ * @memberof NotificationsApi
155
+ */
156
+ apiV1ChatNotificationsIdCheckPost(requestParameters: NotificationsApiApiV1ChatNotificationsIdCheckPostRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
157
+ }
@@ -0,0 +1,228 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * CloudHospital.ChatApi
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
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
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
16
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
17
+ return new (P || (P = Promise))(function (resolve, reject) {
18
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
19
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
20
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
21
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
22
+ });
23
+ };
24
+ var __importDefault = (this && this.__importDefault) || function (mod) {
25
+ return (mod && mod.__esModule) ? mod : { "default": mod };
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = void 0;
29
+ const axios_1 = __importDefault(require("axios"));
30
+ // Some imports not used depending on template conditions
31
+ // @ts-ignore
32
+ const common_1 = require("../common");
33
+ // @ts-ignore
34
+ const base_1 = require("../base");
35
+ /**
36
+ * NotificationsApi - axios parameter creator
37
+ * @export
38
+ */
39
+ const NotificationsApiAxiosParamCreator = function (configuration) {
40
+ return {
41
+ /**
42
+ *
43
+ * @summary Get the notifications for the current user.
44
+ * @param {boolean} [isRead]
45
+ * @param {number} [page]
46
+ * @param {number} [limit]
47
+ * @param {Date} [lastRetrieved]
48
+ * @param {*} [options] Override http request option.
49
+ * @throws {RequiredError}
50
+ */
51
+ apiV1ChatNotificationsGet: (isRead_1, page_1, limit_1, lastRetrieved_1, ...args_1) => __awaiter(this, [isRead_1, page_1, limit_1, lastRetrieved_1, ...args_1], void 0, function* (isRead, page, limit, lastRetrieved, options = {}) {
52
+ const localVarPath = `/api/v1/chat/notifications`;
53
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
54
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
55
+ let baseOptions;
56
+ if (configuration) {
57
+ baseOptions = configuration.baseOptions;
58
+ }
59
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
60
+ const localVarHeaderParameter = {};
61
+ const localVarQueryParameter = {};
62
+ // authentication oauth2 required
63
+ // oauth required
64
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["cloudhospital_chat_api"], configuration);
65
+ if (isRead !== undefined) {
66
+ localVarQueryParameter['IsRead'] = isRead;
67
+ }
68
+ if (page !== undefined) {
69
+ localVarQueryParameter['page'] = page;
70
+ }
71
+ if (limit !== undefined) {
72
+ localVarQueryParameter['limit'] = limit;
73
+ }
74
+ if (lastRetrieved !== undefined) {
75
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
76
+ lastRetrieved.toISOString() :
77
+ lastRetrieved;
78
+ }
79
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
80
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
81
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
82
+ return {
83
+ url: (0, common_1.toPathString)(localVarUrlObj),
84
+ options: localVarRequestOptions,
85
+ };
86
+ }),
87
+ /**
88
+ *
89
+ * @summary Marks the notification as read for the current user.
90
+ * @param {string} id
91
+ * @param {*} [options] Override http request option.
92
+ * @throws {RequiredError}
93
+ */
94
+ apiV1ChatNotificationsIdCheckPost: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
95
+ // verify required parameter 'id' is not null or undefined
96
+ (0, common_1.assertParamExists)('apiV1ChatNotificationsIdCheckPost', 'id', id);
97
+ const localVarPath = `/api/v1/chat/notifications/{id}/check`
98
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
99
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
100
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
101
+ let baseOptions;
102
+ if (configuration) {
103
+ baseOptions = configuration.baseOptions;
104
+ }
105
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
106
+ const localVarHeaderParameter = {};
107
+ const localVarQueryParameter = {};
108
+ // authentication oauth2 required
109
+ // oauth required
110
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["cloudhospital_chat_api"], configuration);
111
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
112
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
113
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
114
+ return {
115
+ url: (0, common_1.toPathString)(localVarUrlObj),
116
+ options: localVarRequestOptions,
117
+ };
118
+ }),
119
+ };
120
+ };
121
+ exports.NotificationsApiAxiosParamCreator = NotificationsApiAxiosParamCreator;
122
+ /**
123
+ * NotificationsApi - functional programming interface
124
+ * @export
125
+ */
126
+ const NotificationsApiFp = function (configuration) {
127
+ const localVarAxiosParamCreator = (0, exports.NotificationsApiAxiosParamCreator)(configuration);
128
+ return {
129
+ /**
130
+ *
131
+ * @summary Get the notifications for the current user.
132
+ * @param {boolean} [isRead]
133
+ * @param {number} [page]
134
+ * @param {number} [limit]
135
+ * @param {Date} [lastRetrieved]
136
+ * @param {*} [options] Override http request option.
137
+ * @throws {RequiredError}
138
+ */
139
+ apiV1ChatNotificationsGet(isRead, page, limit, lastRetrieved, options) {
140
+ return __awaiter(this, void 0, void 0, function* () {
141
+ var _a, _b, _c;
142
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1ChatNotificationsGet(isRead, page, limit, lastRetrieved, options);
143
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
144
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NotificationsApi.apiV1ChatNotificationsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
145
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
146
+ });
147
+ },
148
+ /**
149
+ *
150
+ * @summary Marks the notification as read for the current user.
151
+ * @param {string} id
152
+ * @param {*} [options] Override http request option.
153
+ * @throws {RequiredError}
154
+ */
155
+ apiV1ChatNotificationsIdCheckPost(id, options) {
156
+ return __awaiter(this, void 0, void 0, function* () {
157
+ var _a, _b, _c;
158
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1ChatNotificationsIdCheckPost(id, options);
159
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
160
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NotificationsApi.apiV1ChatNotificationsIdCheckPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
161
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
162
+ });
163
+ },
164
+ };
165
+ };
166
+ exports.NotificationsApiFp = NotificationsApiFp;
167
+ /**
168
+ * NotificationsApi - factory interface
169
+ * @export
170
+ */
171
+ const NotificationsApiFactory = function (configuration, basePath, axios) {
172
+ const localVarFp = (0, exports.NotificationsApiFp)(configuration);
173
+ return {
174
+ /**
175
+ *
176
+ * @summary Get the notifications for the current user.
177
+ * @param {NotificationsApiApiV1ChatNotificationsGetRequest} requestParameters Request parameters.
178
+ * @param {*} [options] Override http request option.
179
+ * @throws {RequiredError}
180
+ */
181
+ apiV1ChatNotificationsGet(requestParameters = {}, options) {
182
+ return localVarFp.apiV1ChatNotificationsGet(requestParameters.isRead, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(axios, basePath));
183
+ },
184
+ /**
185
+ *
186
+ * @summary Marks the notification as read for the current user.
187
+ * @param {NotificationsApiApiV1ChatNotificationsIdCheckPostRequest} requestParameters Request parameters.
188
+ * @param {*} [options] Override http request option.
189
+ * @throws {RequiredError}
190
+ */
191
+ apiV1ChatNotificationsIdCheckPost(requestParameters, options) {
192
+ return localVarFp.apiV1ChatNotificationsIdCheckPost(requestParameters.id, options).then((request) => request(axios, basePath));
193
+ },
194
+ };
195
+ };
196
+ exports.NotificationsApiFactory = NotificationsApiFactory;
197
+ /**
198
+ * NotificationsApi - object-oriented interface
199
+ * @export
200
+ * @class NotificationsApi
201
+ * @extends {BaseAPI}
202
+ */
203
+ class NotificationsApi extends base_1.BaseAPI {
204
+ /**
205
+ *
206
+ * @summary Get the notifications for the current user.
207
+ * @param {NotificationsApiApiV1ChatNotificationsGetRequest} requestParameters Request parameters.
208
+ * @param {*} [options] Override http request option.
209
+ * @throws {RequiredError}
210
+ * @memberof NotificationsApi
211
+ */
212
+ apiV1ChatNotificationsGet(requestParameters = {}, options) {
213
+ return (0, exports.NotificationsApiFp)(this.configuration).apiV1ChatNotificationsGet(requestParameters.isRead, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
214
+ }
215
+ /**
216
+ *
217
+ * @summary Marks the notification as read for the current user.
218
+ * @param {NotificationsApiApiV1ChatNotificationsIdCheckPostRequest} requestParameters Request parameters.
219
+ * @param {*} [options] Override http request option.
220
+ * @throws {RequiredError}
221
+ * @memberof NotificationsApi
222
+ */
223
+ apiV1ChatNotificationsIdCheckPost(requestParameters, options) {
224
+ return (0, exports.NotificationsApiFp)(this.configuration).apiV1ChatNotificationsIdCheckPost(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
225
+ }
226
+ }
227
+ exports.NotificationsApi = NotificationsApi;
228
+ //# sourceMappingURL=notifications-api.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notifications-api.js","sourceRoot":"","sources":["../../src/api/notifications-api.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;AAKH,kDAAgC;AAChC,yDAAyD;AACzD,aAAa;AACb,sCAA6N;AAC7N,aAAa;AACb,kCAAsH;AAKtH;;;GAGG;AACI,MAAM,iCAAiC,GAAG,UAAU,aAA6B;IACpF,OAAO;QACH;;;;;;;;;WASG;QACH,yBAAyB,EAAE,wDAAyI,EAAE,6FAApI,MAAgB,EAAE,IAAa,EAAE,KAAc,EAAE,aAAoB,EAAE,UAAiC,EAAE;YACxI,MAAM,YAAY,GAAG,4BAA4B,CAAC;YAClD,oFAAoF;YACpF,MAAM,cAAc,GAAG,IAAI,GAAG,CAAC,YAAY,EAAE,uBAAc,CAAC,CAAC;YAC7D,IAAI,WAAW,CAAC;YAChB,IAAI,aAAa,EAAE,CAAC;gBAChB,WAAW,GAAG,aAAa,CAAC,WAAW,CAAC;YAC5C,CAAC;YAED,MAAM,sBAAsB,iCAAK,MAAM,EAAE,KAAK,IAAK,WAAW,GAAK,OAAO,CAAC,CAAC;YAC5E,MAAM,uBAAuB,GAAG,EAAS,CAAC;YAC1C,MAAM,sBAAsB,GAAG,EAAS,CAAC;YAEzC,iCAAiC;YACjC,iBAAiB;YACjB,MAAM,IAAA,yBAAgB,EAAC,uBAAuB,EAAE,QAAQ,E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AAI,CAAC,aAAa,CAAC,CAAC,iCAAiC,CAAC,iBAAiB,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IACzK,CAAC;CACJ;AAxBD,4CAwBC"}
package/dist/api.d.ts CHANGED
@@ -10,5 +10,6 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  export * from './api/migrations-api';
13
+ export * from './api/notifications-api';
13
14
  export * from './api/sessions-api';
14
15
  export * from './api/whats-apps-api';
package/dist/api.js CHANGED
@@ -28,6 +28,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
28
28
  };
29
29
  Object.defineProperty(exports, "__esModule", { value: true });
30
30
  __exportStar(require("./api/migrations-api"), exports);
31
+ __exportStar(require("./api/notifications-api"), exports);
31
32
  __exportStar(require("./api/sessions-api"), exports);
32
33
  __exportStar(require("./api/whats-apps-api"), exports);
33
34
  //# sourceMappingURL=api.js.map
package/dist/api.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"api.js","sourceRoot":"","sources":["../src/api.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;AAIH,uDAAqC;AACrC,qDAAmC;AACnC,uDAAqC"}
1
+ {"version":3,"file":"api.js","sourceRoot":"","sources":["../src/api.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;AAIH,uDAAqC;AACrC,0DAAwC;AACxC,qDAAmC;AACnC,uDAAqC"}
@@ -0,0 +1,92 @@
1
+ /**
2
+ * CloudHospital.ChatApi
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
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 type { NotificationCode } from './notification-code';
13
+ import type { PlatformTypes } from './platform-types';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface ChatNotification
18
+ */
19
+ export interface ChatNotification {
20
+ /**
21
+ *
22
+ * @type {string}
23
+ * @memberof ChatNotification
24
+ */
25
+ 'id'?: string;
26
+ /**
27
+ *
28
+ * @type {NotificationCode}
29
+ * @memberof ChatNotification
30
+ */
31
+ 'notificationCode'?: NotificationCode;
32
+ /**
33
+ *
34
+ * @type {string}
35
+ * @memberof ChatNotification
36
+ */
37
+ 'receiverId'?: string;
38
+ /**
39
+ *
40
+ * @type {string}
41
+ * @memberof ChatNotification
42
+ */
43
+ 'tenantId'?: string;
44
+ /**
45
+ *
46
+ * @type {string}
47
+ * @memberof ChatNotification
48
+ */
49
+ 'hospitalName'?: string | null;
50
+ /**
51
+ *
52
+ * @type {string}
53
+ * @memberof ChatNotification
54
+ */
55
+ 'sessionId'?: string;
56
+ /**
57
+ *
58
+ * @type {PlatformTypes}
59
+ * @memberof ChatNotification
60
+ */
61
+ 'platformType'?: PlatformTypes;
62
+ /**
63
+ *
64
+ * @type {string}
65
+ * @memberof ChatNotification
66
+ */
67
+ 'assigneeId'?: string | null;
68
+ /**
69
+ *
70
+ * @type {string}
71
+ * @memberof ChatNotification
72
+ */
73
+ 'message'?: string | null;
74
+ /**
75
+ *
76
+ * @type {Date}
77
+ * @memberof ChatNotification
78
+ */
79
+ 'createdDate'?: Date;
80
+ /**
81
+ *
82
+ * @type {boolean}
83
+ * @memberof ChatNotification
84
+ */
85
+ 'isRead'?: boolean;
86
+ /**
87
+ *
88
+ * @type {string}
89
+ * @memberof ChatNotification
90
+ */
91
+ 'partition'?: string | null;
92
+ }
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * CloudHospital.ChatApi
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
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
+ //# sourceMappingURL=chat-notification.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chat-notification.js","sourceRoot":"","sources":["../../src/models/chat-notification.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
@@ -0,0 +1,32 @@
1
+ /**
2
+ * CloudHospital.ChatApi
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
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 type { ChatNotification } from './chat-notification';
13
+ import type { PagedListMetaData } from './paged-list-meta-data';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface ChatNotifications
18
+ */
19
+ export interface ChatNotifications {
20
+ /**
21
+ *
22
+ * @type {Array<ChatNotification>}
23
+ * @memberof ChatNotifications
24
+ */
25
+ 'items'?: Array<ChatNotification> | null;
26
+ /**
27
+ *
28
+ * @type {PagedListMetaData}
29
+ * @memberof ChatNotifications
30
+ */
31
+ 'metaData'?: PagedListMetaData;
32
+ }
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * CloudHospital.ChatApi
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
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
+ //# sourceMappingURL=chat-notifications.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chat-notifications.js","sourceRoot":"","sources":["../../src/models/chat-notifications.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
@@ -3,6 +3,8 @@ export * from './api-v1-chat-migrations-post401-response-errors';
3
3
  export * from './author-roles';
4
4
  export * from './chat-message';
5
5
  export * from './chat-messages-model';
6
+ export * from './chat-notification';
7
+ export * from './chat-notifications';
6
8
  export * from './chat-participant';
7
9
  export * from './chat-send-flow-message-command';
8
10
  export * from './chat-send-marketing-template-message-command';
@@ -26,6 +28,7 @@ export * from './join-chat-session-command';
26
28
  export * from './media-model';
27
29
  export * from './message-template-button';
28
30
  export * from './message-type';
31
+ export * from './notification-code';
29
32
  export * from './paged-list-meta-data';
30
33
  export * from './patch-intake-form-command';
31
34
  export * from './platform-metadata';
@@ -19,6 +19,8 @@ __exportStar(require("./api-v1-chat-migrations-post401-response-errors"), export
19
19
  __exportStar(require("./author-roles"), exports);
20
20
  __exportStar(require("./chat-message"), exports);
21
21
  __exportStar(require("./chat-messages-model"), exports);
22
+ __exportStar(require("./chat-notification"), exports);
23
+ __exportStar(require("./chat-notifications"), exports);
22
24
  __exportStar(require("./chat-participant"), exports);
23
25
  __exportStar(require("./chat-send-flow-message-command"), exports);
24
26
  __exportStar(require("./chat-send-marketing-template-message-command"), exports);
@@ -42,6 +44,7 @@ __exportStar(require("./join-chat-session-command"), exports);
42
44
  __exportStar(require("./media-model"), exports);
43
45
  __exportStar(require("./message-template-button"), exports);
44
46
  __exportStar(require("./message-type"), exports);
47
+ __exportStar(require("./notification-code"), exports);
45
48
  __exportStar(require("./paged-list-meta-data"), exports);
46
49
  __exportStar(require("./patch-intake-form-command"), exports);
47
50
  __exportStar(require("./platform-metadata"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4EAA0D;AAC1D,mFAAiE;AACjE,iDAA+B;AAC/B,iDAA+B;AAC/B,wDAAsC;AACtC,qDAAmC;AACnC,mEAAiD;AACjD,iFAA+D;AAC/D,uEAAqD;AACrD,uDAAqC;AACrC,wDAAsC;AACtC,wDAAsC;AACtC,gEAA8C;AAC9C,+DAA6C;AAC7C,6DAA2C;AAC3C,gDAA8B;AAC9B,qDAAmC;AACnC,uDAAqC;AACrC,qDAAmC;AACnC,uDAAqC;AACrC,uDAAqC;AACrC,qEAAmD;AACnD,yDAAuC;AACvC,6DAA2C;AAC3C,8DAA4C;AAC5C,gDAA8B;AAC9B,4DAA0C;AAC1C,iDAA+B;AAC/B,yDAAuC;AACvC,8DAA4C;AAC5C,sDAAoC;AACpC,mDAAiC;AACjC,6DAA2C;AAC3C,0EAAwD;AACxD,wEAAsD;AACtD,4CAA0B;AAC1B,8DAA4C;AAC5C,uDAAqC;AACrC,iEAA+C;AAC/C,gEAA8C;AAC9C,iEAA+C;AAC/C,6DAA2C;AAC3C,2DAAyC;AACzC,6DAA2C;AAC3C,6DAA2C;AAC3C,wDAAsC;AACtC,4DAA0C;AAC1C,uDAAqC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4EAA0D;AAC1D,mFAAiE;AACjE,iDAA+B;AAC/B,iDAA+B;AAC/B,wDAAsC;AACtC,sDAAoC;AACpC,uDAAqC;AACrC,qDAAmC;AACnC,mEAAiD;AACjD,iFAA+D;AAC/D,uEAAqD;AACrD,uDAAqC;AACrC,wDAAsC;AACtC,wDAAsC;AACtC,gEAA8C;AAC9C,+DAA6C;AAC7C,6DAA2C;AAC3C,gDAA8B;AAC9B,qDAAmC;AACnC,uDAAqC;AACrC,qDAAmC;AACnC,uDAAqC;AACrC,uDAAqC;AACrC,qEAAmD;AACnD,yDAAuC;AACvC,6DAA2C;AAC3C,8DAA4C;AAC5C,gDAA8B;AAC9B,4DAA0C;AAC1C,iDAA+B;AAC/B,sDAAoC;AACpC,yDAAuC;AACvC,8DAA4C;AAC5C,sDAAoC;AACpC,mDAAiC;AACjC,6DAA2C;AAC3C,0EAAwD;AACxD,wEAAsD;AACtD,4CAA0B;AAC1B,8DAA4C;AAC5C,uDAAqC;AACrC,iEAA+C;AAC/C,gEAA8C;AAC9C,iEAA+C;AAC/C,6DAA2C;AAC3C,2DAAyC;AACzC,6DAA2C;AAC3C,6DAA2C;AAC3C,wDAAsC;AACtC,4DAA0C;AAC1C,uDAAqC"}
@@ -0,0 +1,67 @@
1
+ /**
2
+ * CloudHospital.ChatApi
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
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 NotificationCode: {
18
+ readonly WelcomeEmail: "WelcomeEmail";
19
+ readonly DirectMessageSent: "DirectMessageSent";
20
+ readonly BookingNew: "BookingNew";
21
+ readonly BookingUpdated: "BookingUpdated";
22
+ readonly BookingRejected: "BookingRejected";
23
+ readonly BookingApproved: "BookingApproved";
24
+ readonly BookingPaid: "BookingPaid";
25
+ readonly BookingCanceled: "BookingCanceled";
26
+ readonly BookingRefundRequested: "BookingRefundRequested";
27
+ readonly BookingRefunded: "BookingRefunded";
28
+ readonly ConsultationNew: "ConsultationNew";
29
+ readonly ConsultationUpdated: "ConsultationUpdated";
30
+ readonly ConsultationRejected: "ConsultationRejected";
31
+ readonly ConsultationApproved: "ConsultationApproved";
32
+ readonly ConsultationPaid: "ConsultationPaid";
33
+ readonly ConsultationCanceled: "ConsultationCanceled";
34
+ readonly ConsultationRefundRequested: "ConsultationRefundRequested";
35
+ readonly ConsultationRefunded: "ConsultationRefunded";
36
+ readonly ConsultationReady: "ConsultationReady";
37
+ readonly CallCompleted: "CallCompleted";
38
+ readonly FormSubmitted: "FormSubmitted";
39
+ readonly AppointmentNew: "AppointmentNew";
40
+ readonly AppointmentUpdated: "AppointmentUpdated";
41
+ readonly AppointmentRejected: "AppointmentRejected";
42
+ readonly AppointmentApproved: "AppointmentApproved";
43
+ readonly AppointmentPaid: "AppointmentPaid";
44
+ readonly AppointmentCanceled: "AppointmentCanceled";
45
+ readonly AppointmentCanceledByPatient: "AppointmentCanceledByPatient";
46
+ readonly AppointmentCanceledByManager: "AppointmentCanceledByManager";
47
+ readonly AppointmentRefundRequested: "AppointmentRefundRequested";
48
+ readonly AppointmentRefunded: "AppointmentRefunded";
49
+ readonly AppointmentRescheduleRequested: "AppointmentRescheduleRequested";
50
+ readonly AppointmentRescheduleRequestApproved: "AppointmentRescheduleRequestApproved";
51
+ readonly AppointmentReady: "AppointmentReady";
52
+ readonly HandoffRequested: "HandoffRequested";
53
+ readonly SessionDeleted: "SessionDeleted";
54
+ readonly TransferAgent: "TransferAgent";
55
+ readonly LeaveAgent: "LeaveAgent";
56
+ readonly JoinAgent: "JoinAgent";
57
+ readonly UpdateSession: "UpdateSession";
58
+ readonly ConvertToSignInUser: "ConvertToSignInUser";
59
+ readonly PatchIntakeForm: "PatchIntakeForm";
60
+ readonly UpdateChatSessionStatus: "UpdateChatSessionStatus";
61
+ readonly CreateIntakeForm: "CreateIntakeForm";
62
+ readonly CheckedChatSession: "CheckedChatSession";
63
+ readonly RecreateChatSession: "RecreateChatSession";
64
+ readonly UnassignedNotification: "UnassignedNotification";
65
+ readonly ForceSignOut: "ForceSignOut";
66
+ };
67
+ export type NotificationCode = typeof NotificationCode[keyof typeof NotificationCode];
@@ -0,0 +1,72 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * CloudHospital.ChatApi
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
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.NotificationCode = void 0;
17
+ /**
18
+ *
19
+ * @export
20
+ * @enum {string}
21
+ */
22
+ exports.NotificationCode = {
23
+ WelcomeEmail: 'WelcomeEmail',
24
+ DirectMessageSent: 'DirectMessageSent',
25
+ BookingNew: 'BookingNew',
26
+ BookingUpdated: 'BookingUpdated',
27
+ BookingRejected: 'BookingRejected',
28
+ BookingApproved: 'BookingApproved',
29
+ BookingPaid: 'BookingPaid',
30
+ BookingCanceled: 'BookingCanceled',
31
+ BookingRefundRequested: 'BookingRefundRequested',
32
+ BookingRefunded: 'BookingRefunded',
33
+ ConsultationNew: 'ConsultationNew',
34
+ ConsultationUpdated: 'ConsultationUpdated',
35
+ ConsultationRejected: 'ConsultationRejected',
36
+ ConsultationApproved: 'ConsultationApproved',
37
+ ConsultationPaid: 'ConsultationPaid',
38
+ ConsultationCanceled: 'ConsultationCanceled',
39
+ ConsultationRefundRequested: 'ConsultationRefundRequested',
40
+ ConsultationRefunded: 'ConsultationRefunded',
41
+ ConsultationReady: 'ConsultationReady',
42
+ CallCompleted: 'CallCompleted',
43
+ FormSubmitted: 'FormSubmitted',
44
+ AppointmentNew: 'AppointmentNew',
45
+ AppointmentUpdated: 'AppointmentUpdated',
46
+ AppointmentRejected: 'AppointmentRejected',
47
+ AppointmentApproved: 'AppointmentApproved',
48
+ AppointmentPaid: 'AppointmentPaid',
49
+ AppointmentCanceled: 'AppointmentCanceled',
50
+ AppointmentCanceledByPatient: 'AppointmentCanceledByPatient',
51
+ AppointmentCanceledByManager: 'AppointmentCanceledByManager',
52
+ AppointmentRefundRequested: 'AppointmentRefundRequested',
53
+ AppointmentRefunded: 'AppointmentRefunded',
54
+ AppointmentRescheduleRequested: 'AppointmentRescheduleRequested',
55
+ AppointmentRescheduleRequestApproved: 'AppointmentRescheduleRequestApproved',
56
+ AppointmentReady: 'AppointmentReady',
57
+ HandoffRequested: 'HandoffRequested',
58
+ SessionDeleted: 'SessionDeleted',
59
+ TransferAgent: 'TransferAgent',
60
+ LeaveAgent: 'LeaveAgent',
61
+ JoinAgent: 'JoinAgent',
62
+ UpdateSession: 'UpdateSession',
63
+ ConvertToSignInUser: 'ConvertToSignInUser',
64
+ PatchIntakeForm: 'PatchIntakeForm',
65
+ UpdateChatSessionStatus: 'UpdateChatSessionStatus',
66
+ CreateIntakeForm: 'CreateIntakeForm',
67
+ CheckedChatSession: 'CheckedChatSession',
68
+ RecreateChatSession: 'RecreateChatSession',
69
+ UnassignedNotification: 'UnassignedNotification',
70
+ ForceSignOut: 'ForceSignOut'
71
+ };
72
+ //# sourceMappingURL=notification-code.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notification-code.js","sourceRoot":"","sources":["../../src/models/notification-code.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH;;;;GAIG;AAEU,QAAA,gBAAgB,GAAG;IAC5B,YAAY,EAAE,cAAc;IAC5B,iBAAiB,EAAE,mBAAmB;IACtC,UAAU,EAAE,YAAY;IACxB,cAAc,EAAE,gBAAgB;IAChC,eAAe,EAAE,iBAAiB;IAClC,eAAe,EAAE,iBAAiB;IAClC,WAAW,EAAE,aAAa;IAC1B,eAAe,EAAE,iBAAiB;IAClC,sBAAsB,EAAE,wBAAwB;IAChD,eAAe,EAAE,iBAAiB;IAClC,eAAe,EAAE,iBAAiB;IAClC,mBAAmB,EAAE,qBAAqB;IAC1C,oBAAoB,EAAE,sBAAsB;IAC5C,oBAAoB,EAAE,sBAAsB;IAC5C,gBAAgB,EAAE,kBAAkB;IACpC,oBAAoB,EAAE,sBAAsB;IAC5C,2BAA2B,EAAE,6BAA6B;IAC1D,oBAAoB,EAAE,sBAAsB;IAC5C,iBAAiB,EAAE,mBAAmB;IACtC,aAAa,EAAE,eAAe;IAC9B,aAAa,EAAE,eAAe;IAC9B,cAAc,EAAE,gBAAgB;IAChC,kBAAkB,EAAE,oBAAoB;IACxC,mBAAmB,EAAE,qBAAqB;IAC1C,mBAAmB,EAAE,qBAAqB;IAC1C,eAAe,EAAE,iBAAiB;IAClC,mBAAmB,EAAE,qBAAqB;IAC1C,4BAA4B,EAAE,8BAA8B;IAC5D,4BAA4B,EAAE,8BAA8B;IAC5D,0BAA0B,EAAE,4BAA4B;IACxD,mBAAmB,EAAE,qBAAqB;IAC1C,8BAA8B,EAAE,gCAAgC;IAChE,oCAAoC,EAAE,sCAAsC;IAC5E,gBAAgB,EAAE,kBAAkB;IACpC,gBAAgB,EAAE,kBAAkB;IACpC,cAAc,EAAE,gBAAgB;IAChC,aAAa,EAAE,eAAe;IAC9B,UAAU,EAAE,YAAY;IACxB,SAAS,EAAE,WAAW;IACtB,aAAa,EAAE,eAAe;IAC9B,mBAAmB,EAAE,qBAAqB;IAC1C,eAAe,EAAE,iBAAiB;IAClC,uBAAuB,EAAE,yBAAyB;IAClD,gBAAgB,EAAE,kBAAkB;IACpC,kBAAkB,EAAE,oBAAoB;IACxC,mBAAmB,EAAE,qBAAqB;IAC1C,sBAAsB,EAAE,wBAAwB;IAChD,YAAY,EAAE,cAAc;CACtB,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ch-chat-api-typescript-axios",
3
3
  "description": "An OpenAPI generator tool for the CH Chat API, designed to simplify API client generation and streamline integration workflows.",
4
- "version": "5.81.21",
4
+ "version": "5.82.9",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "scripts": {