ch-chat-api-typescript-axios 1.1.19 → 1.2.0

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.
Files changed (50) hide show
  1. package/dist/api/chat-api.d.ts +141 -31
  2. package/dist/api/chat-api.js +122 -9
  3. package/dist/api/chat-api.js.map +1 -1
  4. package/dist/api.d.ts +0 -1
  5. package/dist/api.js +0 -1
  6. package/dist/api.js.map +1 -1
  7. package/dist/models/{auth-roles.d.ts → author-roles.d.ts} +3 -2
  8. package/dist/models/{auth-roles.js → author-roles.js} +5 -4
  9. package/dist/models/author-roles.js.map +1 -0
  10. package/dist/models/{chat-message-model.d.ts → chat-message.d.ts} +29 -16
  11. package/dist/models/{chat-session-model.js → chat-message.js} +1 -1
  12. package/dist/models/chat-message.js.map +1 -0
  13. package/dist/models/chat-messages-model.d.ts +3 -3
  14. package/dist/models/{chat-participant-model.d.ts → chat-participant.d.ts} +15 -15
  15. package/dist/models/{chat-message-model.js → chat-participant.js} +1 -1
  16. package/dist/models/chat-participant.js.map +1 -0
  17. package/dist/models/{chat-session-model.d.ts → chat-session.d.ts} +23 -17
  18. package/dist/models/{chat-participant-model.js → chat-session.js} +1 -1
  19. package/dist/models/chat-session.js.map +1 -0
  20. package/dist/models/chat-sessions-model.d.ts +3 -3
  21. package/dist/models/create-chat-session-command.d.ts +14 -2
  22. package/dist/models/index.d.ts +5 -7
  23. package/dist/models/index.js +5 -7
  24. package/dist/models/index.js.map +1 -1
  25. package/dist/models/join-chat-session-command.d.ts +12 -0
  26. package/dist/models/{guest-create-chat-session-command.d.ts → media-model.d.ts} +17 -12
  27. package/dist/models/{chat-send-message-command.js → media-model.js} +1 -1
  28. package/dist/models/media-model.js.map +1 -0
  29. package/dist/models/message-types.d.ts +6 -0
  30. package/dist/models/message-types.js +7 -1
  31. package/dist/models/message-types.js.map +1 -1
  32. package/dist/models/platform-types.d.ts +2 -1
  33. package/dist/models/platform-types.js +3 -2
  34. package/dist/models/platform-types.js.map +1 -1
  35. package/dist/models/put-chat-session-command.d.ts +1 -1
  36. package/package.json +1 -1
  37. package/dist/api/guest-api.d.ts +0 -160
  38. package/dist/api/guest-api.js +0 -224
  39. package/dist/api/guest-api.js.map +0 -1
  40. package/dist/models/auth-roles.js.map +0 -1
  41. package/dist/models/chat-message-model.js.map +0 -1
  42. package/dist/models/chat-participant-model.js.map +0 -1
  43. package/dist/models/chat-send-message-command.d.ts +0 -31
  44. package/dist/models/chat-send-message-command.js.map +0 -1
  45. package/dist/models/chat-session-model.js.map +0 -1
  46. package/dist/models/guest-chat-send-message-command.d.ts +0 -37
  47. package/dist/models/guest-chat-send-message-command.js +0 -16
  48. package/dist/models/guest-chat-send-message-command.js.map +0 -1
  49. package/dist/models/guest-create-chat-session-command.js +0 -16
  50. package/dist/models/guest-create-chat-session-command.js.map +0 -1
@@ -22,4 +22,16 @@ export interface JoinChatSessionCommand {
22
22
  * @memberof JoinChatSessionCommand
23
23
  */
24
24
  'platformType'?: PlatformTypes;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof JoinChatSessionCommand
29
+ */
30
+ 'userName'?: string | null;
31
+ /**
32
+ *
33
+ * @type {boolean}
34
+ * @memberof JoinChatSessionCommand
35
+ */
36
+ 'isGuest'?: boolean;
25
37
  }
@@ -9,35 +9,40 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { PlatformTypes } from './platform-types';
13
12
  /**
14
13
  *
15
14
  * @export
16
- * @interface GuestCreateChatSessionCommand
15
+ * @interface MediaModel
17
16
  */
18
- export interface GuestCreateChatSessionCommand {
17
+ export interface MediaModel {
19
18
  /**
20
19
  *
21
- * @type {PlatformTypes}
22
- * @memberof GuestCreateChatSessionCommand
20
+ * @type {string}
21
+ * @memberof MediaModel
22
+ */
23
+ 'url'?: string | null;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof MediaModel
23
28
  */
24
- 'platformType'?: PlatformTypes;
29
+ 'thumbnailUrl'?: string | null;
25
30
  /**
26
31
  *
27
32
  * @type {string}
28
- * @memberof GuestCreateChatSessionCommand
33
+ * @memberof MediaModel
29
34
  */
30
- 'webhookUrl'?: string | null;
35
+ 'fileName'?: string | null;
31
36
  /**
32
37
  *
33
38
  * @type {string}
34
- * @memberof GuestCreateChatSessionCommand
39
+ * @memberof MediaModel
35
40
  */
36
- 'fromPhoneNumber'?: string | null;
41
+ 'caption'?: string | null;
37
42
  /**
38
43
  *
39
44
  * @type {string}
40
- * @memberof GuestCreateChatSessionCommand
45
+ * @memberof MediaModel
41
46
  */
42
- 'userName'?: string | null;
47
+ 'mediaId'?: string | null;
43
48
  }
@@ -13,4 +13,4 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- //# sourceMappingURL=chat-send-message-command.js.map
16
+ //# sourceMappingURL=media-model.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"media-model.js","sourceRoot":"","sources":["../../src/models/media-model.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
@@ -16,5 +16,11 @@
16
16
  */
17
17
  export declare const MessageTypes: {
18
18
  readonly Text: "Text";
19
+ readonly Document: "Document";
20
+ readonly Image: "Image";
21
+ readonly Audio: "Audio";
22
+ readonly Video: "Video";
23
+ readonly Location: "Location";
24
+ readonly Contact: "Contact";
19
25
  };
20
26
  export type MessageTypes = typeof MessageTypes[keyof typeof MessageTypes];
@@ -20,6 +20,12 @@ exports.MessageTypes = void 0;
20
20
  * @enum {string}
21
21
  */
22
22
  exports.MessageTypes = {
23
- Text: 'Text'
23
+ Text: 'Text',
24
+ Document: 'Document',
25
+ Image: 'Image',
26
+ Audio: 'Audio',
27
+ Video: 'Video',
28
+ Location: 'Location',
29
+ Contact: 'Contact'
24
30
  };
25
31
  //# sourceMappingURL=message-types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"message-types.js","sourceRoot":"","sources":["../../src/models/message-types.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH;;;;GAIG;AAEU,QAAA,YAAY,GAAG;IACxB,IAAI,EAAE,MAAM;CACN,CAAC"}
1
+ {"version":3,"file":"message-types.js","sourceRoot":"","sources":["../../src/models/message-types.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH;;;;GAIG;AAEU,QAAA,YAAY,GAAG;IACxB,IAAI,EAAE,MAAM;IACZ,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,UAAU;IACpB,OAAO,EAAE,SAAS;CACZ,CAAC"}
@@ -16,7 +16,8 @@
16
16
  */
17
17
  export declare const PlatformTypes: {
18
18
  readonly Admin: "Admin";
19
- readonly Web: "Web";
19
+ readonly Ch: "CH";
20
20
  readonly WhatsApp: "WhatsApp";
21
+ readonly SaaS: "SaaS";
21
22
  };
22
23
  export type PlatformTypes = typeof PlatformTypes[keyof typeof PlatformTypes];
@@ -21,7 +21,8 @@ exports.PlatformTypes = void 0;
21
21
  */
22
22
  exports.PlatformTypes = {
23
23
  Admin: 'Admin',
24
- Web: 'Web',
25
- WhatsApp: 'WhatsApp'
24
+ Ch: 'CH',
25
+ WhatsApp: 'WhatsApp',
26
+ SaaS: 'SaaS'
26
27
  };
27
28
  //# sourceMappingURL=platform-types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"platform-types.js","sourceRoot":"","sources":["../../src/models/platform-types.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH;;;;GAIG;AAEU,QAAA,aAAa,GAAG;IACzB,KAAK,EAAE,OAAO;IACd,GAAG,EAAE,KAAK;IACV,QAAQ,EAAE,UAAU;CACd,CAAC"}
1
+ {"version":3,"file":"platform-types.js","sourceRoot":"","sources":["../../src/models/platform-types.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH;;;;GAIG;AAEU,QAAA,aAAa,GAAG;IACzB,KAAK,EAAE,OAAO;IACd,EAAE,EAAE,IAAI;IACR,QAAQ,EAAE,UAAU;IACpB,IAAI,EAAE,MAAM;CACN,CAAC"}
@@ -20,7 +20,7 @@ export interface PutChatSessionCommand {
20
20
  * @type {string}
21
21
  * @memberof PutChatSessionCommand
22
22
  */
23
- 'webhookUrl'?: string | null;
23
+ 'webSiteUrl'?: string | null;
24
24
  /**
25
25
  *
26
26
  * @type {string}
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": "1.1.19",
4
+ "version": "1.2.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "scripts": {
@@ -1,160 +0,0 @@
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 { ChatMessageModel } from '../models';
16
- import type { ChatSessionModel } from '../models';
17
- import type { GuestChatSendMessageCommand } from '../models';
18
- import type { GuestCreateChatSessionCommand } from '../models';
19
- /**
20
- * GuestApi - axios parameter creator
21
- * @export
22
- */
23
- export declare const GuestApiAxiosParamCreator: (configuration?: Configuration) => {
24
- /**
25
- *
26
- * @summary Creates a new chat session for a guest.
27
- * @param {string} tenantId The tenant identifier.
28
- * @param {GuestCreateChatSessionCommand} [guestCreateChatSessionCommand] The command containing session details.
29
- * @param {*} [options] Override http request option.
30
- * @throws {RequiredError}
31
- */
32
- apiV1GuestChatTenantIdSessionsPost: (tenantId: string, guestCreateChatSessionCommand?: GuestCreateChatSessionCommand, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
33
- /**
34
- *
35
- * @summary Sends a message in an existing chat session.
36
- * @param {string} tenantId The tenant identifier.
37
- * @param {string} sessionId The session identifier.
38
- * @param {GuestChatSendMessageCommand} [guestChatSendMessageCommand] The command containing message details.
39
- * @param {*} [options] Override http request option.
40
- * @throws {RequiredError}
41
- */
42
- apiV1GuestChatTenantIdSessionsSessionIdMessagesPost: (tenantId: string, sessionId: string, guestChatSendMessageCommand?: GuestChatSendMessageCommand, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
43
- };
44
- /**
45
- * GuestApi - functional programming interface
46
- * @export
47
- */
48
- export declare const GuestApiFp: (configuration?: Configuration) => {
49
- /**
50
- *
51
- * @summary Creates a new chat session for a guest.
52
- * @param {string} tenantId The tenant identifier.
53
- * @param {GuestCreateChatSessionCommand} [guestCreateChatSessionCommand] The command containing session details.
54
- * @param {*} [options] Override http request option.
55
- * @throws {RequiredError}
56
- */
57
- apiV1GuestChatTenantIdSessionsPost(tenantId: string, guestCreateChatSessionCommand?: GuestCreateChatSessionCommand, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatSessionModel>>;
58
- /**
59
- *
60
- * @summary Sends a message in an existing chat session.
61
- * @param {string} tenantId The tenant identifier.
62
- * @param {string} sessionId The session identifier.
63
- * @param {GuestChatSendMessageCommand} [guestChatSendMessageCommand] The command containing message details.
64
- * @param {*} [options] Override http request option.
65
- * @throws {RequiredError}
66
- */
67
- apiV1GuestChatTenantIdSessionsSessionIdMessagesPost(tenantId: string, sessionId: string, guestChatSendMessageCommand?: GuestChatSendMessageCommand, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatMessageModel>>;
68
- };
69
- /**
70
- * GuestApi - factory interface
71
- * @export
72
- */
73
- export declare const GuestApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
74
- /**
75
- *
76
- * @summary Creates a new chat session for a guest.
77
- * @param {GuestApiApiV1GuestChatTenantIdSessionsPostRequest} requestParameters Request parameters.
78
- * @param {*} [options] Override http request option.
79
- * @throws {RequiredError}
80
- */
81
- apiV1GuestChatTenantIdSessionsPost(requestParameters: GuestApiApiV1GuestChatTenantIdSessionsPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChatSessionModel>;
82
- /**
83
- *
84
- * @summary Sends a message in an existing chat session.
85
- * @param {GuestApiApiV1GuestChatTenantIdSessionsSessionIdMessagesPostRequest} requestParameters Request parameters.
86
- * @param {*} [options] Override http request option.
87
- * @throws {RequiredError}
88
- */
89
- apiV1GuestChatTenantIdSessionsSessionIdMessagesPost(requestParameters: GuestApiApiV1GuestChatTenantIdSessionsSessionIdMessagesPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChatMessageModel>;
90
- };
91
- /**
92
- * Request parameters for apiV1GuestChatTenantIdSessionsPost operation in GuestApi.
93
- * @export
94
- * @interface GuestApiApiV1GuestChatTenantIdSessionsPostRequest
95
- */
96
- export interface GuestApiApiV1GuestChatTenantIdSessionsPostRequest {
97
- /**
98
- * The tenant identifier.
99
- * @type {string}
100
- * @memberof GuestApiApiV1GuestChatTenantIdSessionsPost
101
- */
102
- readonly tenantId: string;
103
- /**
104
- * The command containing session details.
105
- * @type {GuestCreateChatSessionCommand}
106
- * @memberof GuestApiApiV1GuestChatTenantIdSessionsPost
107
- */
108
- readonly guestCreateChatSessionCommand?: GuestCreateChatSessionCommand;
109
- }
110
- /**
111
- * Request parameters for apiV1GuestChatTenantIdSessionsSessionIdMessagesPost operation in GuestApi.
112
- * @export
113
- * @interface GuestApiApiV1GuestChatTenantIdSessionsSessionIdMessagesPostRequest
114
- */
115
- export interface GuestApiApiV1GuestChatTenantIdSessionsSessionIdMessagesPostRequest {
116
- /**
117
- * The tenant identifier.
118
- * @type {string}
119
- * @memberof GuestApiApiV1GuestChatTenantIdSessionsSessionIdMessagesPost
120
- */
121
- readonly tenantId: string;
122
- /**
123
- * The session identifier.
124
- * @type {string}
125
- * @memberof GuestApiApiV1GuestChatTenantIdSessionsSessionIdMessagesPost
126
- */
127
- readonly sessionId: string;
128
- /**
129
- * The command containing message details.
130
- * @type {GuestChatSendMessageCommand}
131
- * @memberof GuestApiApiV1GuestChatTenantIdSessionsSessionIdMessagesPost
132
- */
133
- readonly guestChatSendMessageCommand?: GuestChatSendMessageCommand;
134
- }
135
- /**
136
- * GuestApi - object-oriented interface
137
- * @export
138
- * @class GuestApi
139
- * @extends {BaseAPI}
140
- */
141
- export declare class GuestApi extends BaseAPI {
142
- /**
143
- *
144
- * @summary Creates a new chat session for a guest.
145
- * @param {GuestApiApiV1GuestChatTenantIdSessionsPostRequest} requestParameters Request parameters.
146
- * @param {*} [options] Override http request option.
147
- * @throws {RequiredError}
148
- * @memberof GuestApi
149
- */
150
- apiV1GuestChatTenantIdSessionsPost(requestParameters: GuestApiApiV1GuestChatTenantIdSessionsPostRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatSessionModel, any>>;
151
- /**
152
- *
153
- * @summary Sends a message in an existing chat session.
154
- * @param {GuestApiApiV1GuestChatTenantIdSessionsSessionIdMessagesPostRequest} requestParameters Request parameters.
155
- * @param {*} [options] Override http request option.
156
- * @throws {RequiredError}
157
- * @memberof GuestApi
158
- */
159
- apiV1GuestChatTenantIdSessionsSessionIdMessagesPost(requestParameters: GuestApiApiV1GuestChatTenantIdSessionsSessionIdMessagesPostRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatMessageModel, any>>;
160
- }
@@ -1,224 +0,0 @@
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.GuestApi = exports.GuestApiFactory = exports.GuestApiFp = exports.GuestApiAxiosParamCreator = 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
- * GuestApi - axios parameter creator
37
- * @export
38
- */
39
- const GuestApiAxiosParamCreator = function (configuration) {
40
- return {
41
- /**
42
- *
43
- * @summary Creates a new chat session for a guest.
44
- * @param {string} tenantId The tenant identifier.
45
- * @param {GuestCreateChatSessionCommand} [guestCreateChatSessionCommand] The command containing session details.
46
- * @param {*} [options] Override http request option.
47
- * @throws {RequiredError}
48
- */
49
- apiV1GuestChatTenantIdSessionsPost: (tenantId_1, guestCreateChatSessionCommand_1, ...args_1) => __awaiter(this, [tenantId_1, guestCreateChatSessionCommand_1, ...args_1], void 0, function* (tenantId, guestCreateChatSessionCommand, options = {}) {
50
- // verify required parameter 'tenantId' is not null or undefined
51
- (0, common_1.assertParamExists)('apiV1GuestChatTenantIdSessionsPost', 'tenantId', tenantId);
52
- const localVarPath = `/api/v1/guest/chat/{tenantId}/sessions`
53
- .replace(`{${"tenantId"}}`, encodeURIComponent(String(tenantId)));
54
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
55
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
56
- let baseOptions;
57
- if (configuration) {
58
- baseOptions = configuration.baseOptions;
59
- }
60
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
61
- const localVarHeaderParameter = {};
62
- const localVarQueryParameter = {};
63
- // authentication oauth2 required
64
- // oauth required
65
- yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["cloudhospital_chat_api"], configuration);
66
- localVarHeaderParameter['Content-Type'] = 'application/json';
67
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
68
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
69
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
70
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(guestCreateChatSessionCommand, localVarRequestOptions, configuration);
71
- return {
72
- url: (0, common_1.toPathString)(localVarUrlObj),
73
- options: localVarRequestOptions,
74
- };
75
- }),
76
- /**
77
- *
78
- * @summary Sends a message in an existing chat session.
79
- * @param {string} tenantId The tenant identifier.
80
- * @param {string} sessionId The session identifier.
81
- * @param {GuestChatSendMessageCommand} [guestChatSendMessageCommand] The command containing message details.
82
- * @param {*} [options] Override http request option.
83
- * @throws {RequiredError}
84
- */
85
- apiV1GuestChatTenantIdSessionsSessionIdMessagesPost: (tenantId_1, sessionId_1, guestChatSendMessageCommand_1, ...args_1) => __awaiter(this, [tenantId_1, sessionId_1, guestChatSendMessageCommand_1, ...args_1], void 0, function* (tenantId, sessionId, guestChatSendMessageCommand, options = {}) {
86
- // verify required parameter 'tenantId' is not null or undefined
87
- (0, common_1.assertParamExists)('apiV1GuestChatTenantIdSessionsSessionIdMessagesPost', 'tenantId', tenantId);
88
- // verify required parameter 'sessionId' is not null or undefined
89
- (0, common_1.assertParamExists)('apiV1GuestChatTenantIdSessionsSessionIdMessagesPost', 'sessionId', sessionId);
90
- const localVarPath = `/api/v1/guest/chat/{tenantId}/sessions/{sessionId}/messages`
91
- .replace(`{${"tenantId"}}`, encodeURIComponent(String(tenantId)))
92
- .replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)));
93
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
94
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
95
- let baseOptions;
96
- if (configuration) {
97
- baseOptions = configuration.baseOptions;
98
- }
99
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
100
- const localVarHeaderParameter = {};
101
- const localVarQueryParameter = {};
102
- // authentication oauth2 required
103
- // oauth required
104
- yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["cloudhospital_chat_api"], configuration);
105
- localVarHeaderParameter['Content-Type'] = 'application/json';
106
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
107
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
108
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
109
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(guestChatSendMessageCommand, localVarRequestOptions, configuration);
110
- return {
111
- url: (0, common_1.toPathString)(localVarUrlObj),
112
- options: localVarRequestOptions,
113
- };
114
- }),
115
- };
116
- };
117
- exports.GuestApiAxiosParamCreator = GuestApiAxiosParamCreator;
118
- /**
119
- * GuestApi - functional programming interface
120
- * @export
121
- */
122
- const GuestApiFp = function (configuration) {
123
- const localVarAxiosParamCreator = (0, exports.GuestApiAxiosParamCreator)(configuration);
124
- return {
125
- /**
126
- *
127
- * @summary Creates a new chat session for a guest.
128
- * @param {string} tenantId The tenant identifier.
129
- * @param {GuestCreateChatSessionCommand} [guestCreateChatSessionCommand] The command containing session details.
130
- * @param {*} [options] Override http request option.
131
- * @throws {RequiredError}
132
- */
133
- apiV1GuestChatTenantIdSessionsPost(tenantId, guestCreateChatSessionCommand, options) {
134
- return __awaiter(this, void 0, void 0, function* () {
135
- var _a, _b, _c;
136
- const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1GuestChatTenantIdSessionsPost(tenantId, guestCreateChatSessionCommand, options);
137
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
138
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['GuestApi.apiV1GuestChatTenantIdSessionsPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
139
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
140
- });
141
- },
142
- /**
143
- *
144
- * @summary Sends a message in an existing chat session.
145
- * @param {string} tenantId The tenant identifier.
146
- * @param {string} sessionId The session identifier.
147
- * @param {GuestChatSendMessageCommand} [guestChatSendMessageCommand] The command containing message details.
148
- * @param {*} [options] Override http request option.
149
- * @throws {RequiredError}
150
- */
151
- apiV1GuestChatTenantIdSessionsSessionIdMessagesPost(tenantId, sessionId, guestChatSendMessageCommand, options) {
152
- return __awaiter(this, void 0, void 0, function* () {
153
- var _a, _b, _c;
154
- const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1GuestChatTenantIdSessionsSessionIdMessagesPost(tenantId, sessionId, guestChatSendMessageCommand, options);
155
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
156
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['GuestApi.apiV1GuestChatTenantIdSessionsSessionIdMessagesPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
157
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
158
- });
159
- },
160
- };
161
- };
162
- exports.GuestApiFp = GuestApiFp;
163
- /**
164
- * GuestApi - factory interface
165
- * @export
166
- */
167
- const GuestApiFactory = function (configuration, basePath, axios) {
168
- const localVarFp = (0, exports.GuestApiFp)(configuration);
169
- return {
170
- /**
171
- *
172
- * @summary Creates a new chat session for a guest.
173
- * @param {GuestApiApiV1GuestChatTenantIdSessionsPostRequest} requestParameters Request parameters.
174
- * @param {*} [options] Override http request option.
175
- * @throws {RequiredError}
176
- */
177
- apiV1GuestChatTenantIdSessionsPost(requestParameters, options) {
178
- return localVarFp.apiV1GuestChatTenantIdSessionsPost(requestParameters.tenantId, requestParameters.guestCreateChatSessionCommand, options).then((request) => request(axios, basePath));
179
- },
180
- /**
181
- *
182
- * @summary Sends a message in an existing chat session.
183
- * @param {GuestApiApiV1GuestChatTenantIdSessionsSessionIdMessagesPostRequest} requestParameters Request parameters.
184
- * @param {*} [options] Override http request option.
185
- * @throws {RequiredError}
186
- */
187
- apiV1GuestChatTenantIdSessionsSessionIdMessagesPost(requestParameters, options) {
188
- return localVarFp.apiV1GuestChatTenantIdSessionsSessionIdMessagesPost(requestParameters.tenantId, requestParameters.sessionId, requestParameters.guestChatSendMessageCommand, options).then((request) => request(axios, basePath));
189
- },
190
- };
191
- };
192
- exports.GuestApiFactory = GuestApiFactory;
193
- /**
194
- * GuestApi - object-oriented interface
195
- * @export
196
- * @class GuestApi
197
- * @extends {BaseAPI}
198
- */
199
- class GuestApi extends base_1.BaseAPI {
200
- /**
201
- *
202
- * @summary Creates a new chat session for a guest.
203
- * @param {GuestApiApiV1GuestChatTenantIdSessionsPostRequest} requestParameters Request parameters.
204
- * @param {*} [options] Override http request option.
205
- * @throws {RequiredError}
206
- * @memberof GuestApi
207
- */
208
- apiV1GuestChatTenantIdSessionsPost(requestParameters, options) {
209
- return (0, exports.GuestApiFp)(this.configuration).apiV1GuestChatTenantIdSessionsPost(requestParameters.tenantId, requestParameters.guestCreateChatSessionCommand, options).then((request) => request(this.axios, this.basePath));
210
- }
211
- /**
212
- *
213
- * @summary Sends a message in an existing chat session.
214
- * @param {GuestApiApiV1GuestChatTenantIdSessionsSessionIdMessagesPostRequest} requestParameters Request parameters.
215
- * @param {*} [options] Override http request option.
216
- * @throws {RequiredError}
217
- * @memberof GuestApi
218
- */
219
- apiV1GuestChatTenantIdSessionsSessionIdMessagesPost(requestParameters, options) {
220
- return (0, exports.GuestApiFp)(this.configuration).apiV1GuestChatTenantIdSessionsSessionIdMessagesPost(requestParameters.tenantId, requestParameters.sessionId, requestParameters.guestChatSendMessageCommand, options).then((request) => request(this.axios, this.basePath));
221
- }
222
- }
223
- exports.GuestApi = GuestApi;
224
- //# sourceMappingURL=guest-api.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"guest-api.js","sourceRoot":"","sources":["../../src/api/guest-api.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;AAKH,kDAAgC;AAChC,yDAAyD;AACzD,aAAa;AACb,sCAA6N;AAC7N,aAAa;AACb,kCAAsH;AAWtH;;;GAGG;AACI,MAAM,yBAAyB,GAAG,UAAU,aAA6B;IAC5E,OAAO;QACH;;;;;;;WAOG;QACH,kCAAkC,EAAE,yDAAmJ,EAAE,8FAA9I,QAAgB,EAAE,6BAA6D,EAAE,UAAiC,EAAE;YAC3J,gEAAgE;YAChE,IAAA,0BAAiB,EAAC,oCAAoC,EAAE,UAAU,EAAE,QAAQ,CAAC,CAAA;YAC7E,MAAM,YAAY,GAAG,wCAAwC;iBACxD,OAAO,CAA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;AAmDF;;;;;GAKG;AACH,MAAa,QAAS,SAAQ,cAAO;IACjC;;;;;;;OAOG;IACI,kCAAkC,CAAC,iBAAoE,EAAE,OAA+B;QAC3I,OAAO,IAAA,kBAAU,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC,kCAAkC,CAAC,iBAAiB,CAAC,QAAQ,EAAE,iBAAiB,CAAC,6BAA6B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IACzN,CAAC;IAED;;;;;;;OAOG;IACI,mDAAmD,CAAC,iBAAqF,EAAE,OAA+B;QAC7K,OAAO,IAAA,kBAAU,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC,mDAAmD,CAAC,iBAAiB,CAAC,QAAQ,EAAE,iBAAiB,CAAC,SAAS,EAAE,iBAAiB,CAAC,2BAA2B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IACrQ,CAAC;CACJ;AAxBD,4BAwBC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"auth-roles.js","sourceRoot":"","sources":["../../src/models/auth-roles.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH;;;;GAIG;AAEU,QAAA,SAAS,GAAG;IACrB,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;CACR,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"chat-message-model.js","sourceRoot":"","sources":["../../src/models/chat-message-model.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"chat-participant-model.js","sourceRoot":"","sources":["../../src/models/chat-participant-model.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
@@ -1,31 +0,0 @@
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 { MessageTypes } from './message-types';
13
- /**
14
- *
15
- * @export
16
- * @interface ChatSendMessageCommand
17
- */
18
- export interface ChatSendMessageCommand {
19
- /**
20
- *
21
- * @type {MessageTypes}
22
- * @memberof ChatSendMessageCommand
23
- */
24
- 'messageType'?: MessageTypes;
25
- /**
26
- *
27
- * @type {string}
28
- * @memberof ChatSendMessageCommand
29
- */
30
- 'contents'?: string | null;
31
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"chat-send-message-command.js","sourceRoot":"","sources":["../../src/models/chat-send-message-command.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"chat-session-model.js","sourceRoot":"","sources":["../../src/models/chat-session-model.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
@@ -1,37 +0,0 @@
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 { MessageTypes } from './message-types';
13
- /**
14
- *
15
- * @export
16
- * @interface GuestChatSendMessageCommand
17
- */
18
- export interface GuestChatSendMessageCommand {
19
- /**
20
- *
21
- * @type {MessageTypes}
22
- * @memberof GuestChatSendMessageCommand
23
- */
24
- 'messageType'?: MessageTypes;
25
- /**
26
- *
27
- * @type {string}
28
- * @memberof GuestChatSendMessageCommand
29
- */
30
- 'contents'?: string | null;
31
- /**
32
- *
33
- * @type {string}
34
- * @memberof GuestChatSendMessageCommand
35
- */
36
- 'fromPhoneNumber'?: string | null;
37
- }