@servicetitan/titan-chatbot-api 3.0.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.
- package/CHANGELOG.md +9 -0
- package/dist/api-client/__mocks__/chatbot-api-client.mock.d.ts +11 -0
- package/dist/api-client/__mocks__/chatbot-api-client.mock.d.ts.map +1 -0
- package/dist/api-client/__mocks__/chatbot-api-client.mock.js +47 -0
- package/dist/api-client/__mocks__/chatbot-api-client.mock.js.map +1 -0
- package/dist/api-client/base/chatbot-api-client.d.ts +27 -0
- package/dist/api-client/base/chatbot-api-client.d.ts.map +1 -0
- package/dist/api-client/base/chatbot-api-client.js +10 -0
- package/dist/api-client/base/chatbot-api-client.js.map +1 -0
- package/dist/api-client/help-center/__tests__/converter-from-models.test.d.ts +2 -0
- package/dist/api-client/help-center/__tests__/converter-from-models.test.d.ts.map +1 -0
- package/dist/api-client/help-center/__tests__/converter-from-models.test.js +34 -0
- package/dist/api-client/help-center/__tests__/converter-from-models.test.js.map +1 -0
- package/dist/api-client/help-center/__tests__/converter-to-models.test.d.ts +2 -0
- package/dist/api-client/help-center/__tests__/converter-to-models.test.d.ts.map +1 -0
- package/dist/api-client/help-center/__tests__/converter-to-models.test.js +82 -0
- package/dist/api-client/help-center/__tests__/converter-to-models.test.js.map +1 -0
- package/dist/api-client/help-center/chatbot-api-client.d.ts +31 -0
- package/dist/api-client/help-center/chatbot-api-client.d.ts.map +1 -0
- package/dist/api-client/help-center/chatbot-api-client.js +90 -0
- package/dist/api-client/help-center/chatbot-api-client.js.map +1 -0
- package/dist/api-client/help-center/converter-from-models.d.ts +13 -0
- package/dist/api-client/help-center/converter-from-models.d.ts.map +1 -0
- package/dist/api-client/help-center/converter-from-models.js +113 -0
- package/dist/api-client/help-center/converter-from-models.js.map +1 -0
- package/dist/api-client/help-center/converter-to-models.d.ts +13 -0
- package/dist/api-client/help-center/converter-to-models.d.ts.map +1 -0
- package/dist/api-client/help-center/converter-to-models.js +95 -0
- package/dist/api-client/help-center/converter-to-models.js.map +1 -0
- package/dist/api-client/help-center/index.d.ts +2 -0
- package/dist/api-client/help-center/index.d.ts.map +1 -0
- package/dist/api-client/help-center/index.js +2 -0
- package/dist/api-client/help-center/index.js.map +1 -0
- package/dist/api-client/help-center/native-client.d.ts +1260 -0
- package/dist/api-client/help-center/native-client.d.ts.map +1 -0
- package/dist/api-client/help-center/native-client.js +6169 -0
- package/dist/api-client/help-center/native-client.js.map +1 -0
- package/dist/api-client/index.d.ts +8 -0
- package/dist/api-client/index.d.ts.map +1 -0
- package/dist/api-client/index.js +8 -0
- package/dist/api-client/index.js.map +1 -0
- package/dist/api-client/models/__mocks__/models.mock.d.ts +13 -0
- package/dist/api-client/models/__mocks__/models.mock.d.ts.map +1 -0
- package/dist/api-client/models/__mocks__/models.mock.js +114 -0
- package/dist/api-client/models/__mocks__/models.mock.js.map +1 -0
- package/dist/api-client/models/index.d.ts +22 -0
- package/dist/api-client/models/index.d.ts.map +1 -0
- package/dist/api-client/models/index.js +15 -0
- package/dist/api-client/models/index.js.map +1 -0
- package/dist/api-client/titan-chat/chatbot-api-client.d.ts +34 -0
- package/dist/api-client/titan-chat/chatbot-api-client.d.ts.map +1 -0
- package/dist/api-client/titan-chat/chatbot-api-client.js +72 -0
- package/dist/api-client/titan-chat/chatbot-api-client.js.map +1 -0
- package/dist/api-client/titan-chat/index.d.ts +2 -0
- package/dist/api-client/titan-chat/index.d.ts.map +1 -0
- package/dist/api-client/titan-chat/index.js +2 -0
- package/dist/api-client/titan-chat/index.js.map +1 -0
- package/dist/api-client/titan-chat/native-client.d.ts +225 -0
- package/dist/api-client/titan-chat/native-client.d.ts.map +1 -0
- package/dist/api-client/titan-chat/native-client.js +931 -0
- package/dist/api-client/titan-chat/native-client.js.map +1 -0
- package/dist/api-client/utils/model-utils.d.ts +4 -0
- package/dist/api-client/utils/model-utils.d.ts.map +1 -0
- package/dist/api-client/utils/model-utils.js +58 -0
- package/dist/api-client/utils/model-utils.js.map +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -0
- package/dist/models/chatbot-customizations.d.ts +15 -0
- package/dist/models/chatbot-customizations.d.ts.map +1 -0
- package/dist/models/chatbot-customizations.js +2 -0
- package/dist/models/chatbot-customizations.js.map +1 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.d.ts.map +1 -0
- package/dist/models/index.js +2 -0
- package/dist/models/index.js.map +1 -0
- package/dist/stores/__tests__/chatbot-ui-backend.store.test.d.ts +2 -0
- package/dist/stores/__tests__/chatbot-ui-backend.store.test.d.ts.map +1 -0
- package/dist/stores/__tests__/chatbot-ui-backend.store.test.js +341 -0
- package/dist/stores/__tests__/chatbot-ui-backend.store.test.js.map +1 -0
- package/dist/stores/__tests__/chatbot-ui.store.test.d.ts +2 -0
- package/dist/stores/__tests__/chatbot-ui.store.test.d.ts.map +1 -0
- package/dist/stores/__tests__/chatbot-ui.store.test.js +166 -0
- package/dist/stores/__tests__/chatbot-ui.store.test.js.map +1 -0
- package/dist/stores/__tests__/filter.store.test.d.ts +2 -0
- package/dist/stores/__tests__/filter.store.test.d.ts.map +1 -0
- package/dist/stores/__tests__/filter.store.test.js +316 -0
- package/dist/stores/__tests__/filter.store.test.js.map +1 -0
- package/dist/stores/__tests__/initialize.store.test.d.ts +2 -0
- package/dist/stores/__tests__/initialize.store.test.d.ts.map +1 -0
- package/dist/stores/__tests__/initialize.store.test.js +54 -0
- package/dist/stores/__tests__/initialize.store.test.js.map +1 -0
- package/dist/stores/chatbot-ui-backend.store.d.ts +61 -0
- package/dist/stores/chatbot-ui-backend.store.d.ts.map +1 -0
- package/dist/stores/chatbot-ui-backend.store.js +396 -0
- package/dist/stores/chatbot-ui-backend.store.js.map +1 -0
- package/dist/stores/chatbot-ui.store.d.ts +25 -0
- package/dist/stores/chatbot-ui.store.d.ts.map +1 -0
- package/dist/stores/chatbot-ui.store.js +87 -0
- package/dist/stores/chatbot-ui.store.js.map +1 -0
- package/dist/stores/filter.store.d.ts +30 -0
- package/dist/stores/filter.store.d.ts.map +1 -0
- package/dist/stores/filter.store.js +334 -0
- package/dist/stores/filter.store.js.map +1 -0
- package/dist/stores/index.d.ts +4 -0
- package/dist/stores/index.d.ts.map +1 -0
- package/dist/stores/index.js +4 -0
- package/dist/stores/index.js.map +1 -0
- package/dist/stores/initialize.store.d.ts +17 -0
- package/dist/stores/initialize.store.d.ts.map +1 -0
- package/dist/stores/initialize.store.js +98 -0
- package/dist/stores/initialize.store.js.map +1 -0
- package/dist/utils/__tests__/axios-utils.test.d.ts +2 -0
- package/dist/utils/__tests__/axios-utils.test.d.ts.map +1 -0
- package/dist/utils/__tests__/axios-utils.test.js +33 -0
- package/dist/utils/__tests__/axios-utils.test.js.map +1 -0
- package/dist/utils/axios-utils.d.ts +5 -0
- package/dist/utils/axios-utils.d.ts.map +1 -0
- package/dist/utils/axios-utils.js +23 -0
- package/dist/utils/axios-utils.js.map +1 -0
- package/dist/utils/test-utils.d.ts +5 -0
- package/dist/utils/test-utils.d.ts.map +1 -0
- package/dist/utils/test-utils.js +17 -0
- package/dist/utils/test-utils.js.map +1 -0
- package/package.json +45 -0
- package/src/api-client/__mocks__/chatbot-api-client.mock.ts +11 -0
- package/src/api-client/base/chatbot-api-client.ts +33 -0
- package/src/api-client/help-center/__tests__/converter-from-models.test.ts +41 -0
- package/src/api-client/help-center/__tests__/converter-to-models.test.ts +89 -0
- package/src/api-client/help-center/chatbot-api-client.ts +107 -0
- package/src/api-client/help-center/converter-from-models.ts +132 -0
- package/src/api-client/help-center/converter-to-models.ts +124 -0
- package/src/api-client/help-center/index.ts +1 -0
- package/src/api-client/help-center/native-client.ts +5662 -0
- package/src/api-client/index.ts +12 -0
- package/src/api-client/models/__mocks__/models.mock.ts +141 -0
- package/src/api-client/models/index.ts +48 -0
- package/src/api-client/titan-chat/chatbot-api-client.ts +77 -0
- package/src/api-client/titan-chat/index.ts +1 -0
- package/src/api-client/titan-chat/native-client.ts +826 -0
- package/src/api-client/utils/model-utils.ts +68 -0
- package/src/cypress.d.ts +10 -0
- package/src/index.ts +6 -0
- package/src/models/chatbot-customizations.ts +16 -0
- package/src/models/index.ts +1 -0
- package/src/stores/__tests__/chatbot-ui-backend.store.test.ts +426 -0
- package/src/stores/__tests__/chatbot-ui.store.test.ts +196 -0
- package/src/stores/__tests__/filter.store.test.ts +363 -0
- package/src/stores/__tests__/initialize.store.test.ts +73 -0
- package/src/stores/chatbot-ui-backend.store.ts +401 -0
- package/src/stores/chatbot-ui.store.ts +82 -0
- package/src/stores/filter.store.ts +250 -0
- package/src/stores/index.ts +12 -0
- package/src/stores/initialize.store.ts +62 -0
- package/src/utils/__tests__/axios-utils.test.ts +40 -0
- package/src/utils/axios-utils.ts +25 -0
- package/src/utils/test-utils.ts +22 -0
- package/tsconfig.json +19 -0
- package/tsconfig.tsbuildinfo +1 -0
|
@@ -0,0 +1,1260 @@
|
|
|
1
|
+
import { AxiosInstance, AxiosResponse } from 'axios';
|
|
2
|
+
export declare class ChatClient {
|
|
3
|
+
protected instance: AxiosInstance;
|
|
4
|
+
protected baseUrl: string;
|
|
5
|
+
protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
|
|
6
|
+
constructor(baseUrl?: string, instance?: AxiosInstance);
|
|
7
|
+
getSettings(signal?: AbortSignal): Promise<ChatbotUserSettings>;
|
|
8
|
+
protected processGetSettings(response: AxiosResponse): Promise<ChatbotUserSettings>;
|
|
9
|
+
getFilterOptions(signal?: AbortSignal): Promise<FilterOptions>;
|
|
10
|
+
protected processGetFilterOptions(response: AxiosResponse): Promise<FilterOptions>;
|
|
11
|
+
sendUserMessage(userMessage: UserMessage, signal?: AbortSignal): Promise<BotMessage>;
|
|
12
|
+
protected processSendUserMessage(response: AxiosResponse): Promise<BotMessage>;
|
|
13
|
+
sendBotMessageFeedback(sessionId: number | undefined, botMessageId: number | undefined, feedback: MessageFeedback, signal?: AbortSignal): Promise<void>;
|
|
14
|
+
protected processSendBotMessageFeedback(response: AxiosResponse): Promise<void>;
|
|
15
|
+
sendSessionFeedback(sessionId: number | undefined, feedback: SessionFeedback, signal?: AbortSignal): Promise<void>;
|
|
16
|
+
protected processSendSessionFeedback(response: AxiosResponse): Promise<void>;
|
|
17
|
+
updateSessionCategory(category: string | undefined, subCategory: string | undefined, sessionId: number | undefined, signal?: AbortSignal): Promise<void>;
|
|
18
|
+
protected processUpdateSessionCategory(response: AxiosResponse): Promise<void>;
|
|
19
|
+
createSession(sessionSource: SessionSource, signal?: AbortSignal): Promise<ChatbotSession>;
|
|
20
|
+
protected processCreateSession(response: AxiosResponse): Promise<ChatbotSession>;
|
|
21
|
+
closeSession(sessionId: number | undefined, signal?: AbortSignal): Promise<void>;
|
|
22
|
+
protected processCloseSession(response: AxiosResponse): Promise<void>;
|
|
23
|
+
refreshAuthCookies(signal?: AbortSignal): Promise<FileResponse>;
|
|
24
|
+
protected processRefreshAuthCookies(response: AxiosResponse): Promise<FileResponse>;
|
|
25
|
+
}
|
|
26
|
+
export declare class ConfigurationClient {
|
|
27
|
+
protected instance: AxiosInstance;
|
|
28
|
+
protected baseUrl: string;
|
|
29
|
+
protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
|
|
30
|
+
constructor(baseUrl?: string, instance?: AxiosInstance);
|
|
31
|
+
getWidgetConfiguration(signal?: AbortSignal): Promise<WidgetConfiguration>;
|
|
32
|
+
protected processGetWidgetConfiguration(response: AxiosResponse): Promise<WidgetConfiguration>;
|
|
33
|
+
getComponents(signal?: AbortSignal): Promise<SupportComponents>;
|
|
34
|
+
protected processGetComponents(response: AxiosResponse): Promise<SupportComponents>;
|
|
35
|
+
getInbentaToken(signal?: AbortSignal): Promise<InbentaAccessToken>;
|
|
36
|
+
protected processGetInbentaToken(response: AxiosResponse): Promise<InbentaAccessToken>;
|
|
37
|
+
getContextHelp(signal?: AbortSignal): Promise<PageRecommendations[]>;
|
|
38
|
+
protected processGetContextHelp(response: AxiosResponse): Promise<PageRecommendations[]>;
|
|
39
|
+
testError(code: number | undefined, signal?: AbortSignal): Promise<FileResponse>;
|
|
40
|
+
protected processTestError(response: AxiosResponse): Promise<FileResponse>;
|
|
41
|
+
}
|
|
42
|
+
export declare class EnterpriseHubClient {
|
|
43
|
+
protected instance: AxiosInstance;
|
|
44
|
+
protected baseUrl: string;
|
|
45
|
+
protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
|
|
46
|
+
constructor(baseUrl?: string, instance?: AxiosInstance);
|
|
47
|
+
getUserData(signal?: AbortSignal): Promise<HelpCenterUserData>;
|
|
48
|
+
protected processGetUserData(response: AxiosResponse): Promise<HelpCenterUserData>;
|
|
49
|
+
getAuthToken(signal?: AbortSignal): Promise<string>;
|
|
50
|
+
protected processGetAuthToken(response: AxiosResponse): Promise<string>;
|
|
51
|
+
}
|
|
52
|
+
export declare class SalesforceOpsClient {
|
|
53
|
+
protected instance: AxiosInstance;
|
|
54
|
+
protected baseUrl: string;
|
|
55
|
+
protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
|
|
56
|
+
constructor(baseUrl?: string, instance?: AxiosInstance);
|
|
57
|
+
generateCases(webRequest: CaseGenerationRequest, signal?: AbortSignal): Promise<CaseGenerationResponse>;
|
|
58
|
+
protected processGenerateCases(response: AxiosResponse): Promise<CaseGenerationResponse>;
|
|
59
|
+
}
|
|
60
|
+
export declare class SupportClient {
|
|
61
|
+
protected instance: AxiosInstance;
|
|
62
|
+
protected baseUrl: string;
|
|
63
|
+
protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
|
|
64
|
+
constructor(baseUrl?: string, instance?: AxiosInstance);
|
|
65
|
+
getCompanyCaseFilters(signal?: AbortSignal): Promise<CaseFilters>;
|
|
66
|
+
protected processGetCompanyCaseFilters(response: AxiosResponse): Promise<CaseFilters>;
|
|
67
|
+
getCompanyCases(statuses: string[] | null | undefined, contactIds: string[] | null | undefined, sorting: SortingOption | undefined, priorityToken: CaseSortingPriority | null | undefined, caseNumberToken: string | null | undefined, accountIds: string[] | null | undefined, signal?: AbortSignal): Promise<CaseResults>;
|
|
68
|
+
protected processGetCompanyCases(response: AxiosResponse): Promise<CaseResults>;
|
|
69
|
+
getPersonalCaseFilters(signal?: AbortSignal): Promise<CaseFilters>;
|
|
70
|
+
protected processGetPersonalCaseFilters(response: AxiosResponse): Promise<CaseFilters>;
|
|
71
|
+
getPersonalCases(statuses: string[] | null | undefined, contactIds: string[] | null | undefined, sorting: SortingOption | undefined, priorityToken: CaseSortingPriority | null | undefined, caseNumberToken: string | null | undefined, accountIds: string[] | null | undefined, signal?: AbortSignal): Promise<CaseResults>;
|
|
72
|
+
protected processGetPersonalCases(response: AxiosResponse): Promise<CaseResults>;
|
|
73
|
+
getCaseDetails(caseId: string | undefined, signal?: AbortSignal): Promise<CaseDetails>;
|
|
74
|
+
protected processGetCaseDetails(response: AxiosResponse): Promise<CaseDetails>;
|
|
75
|
+
sendEmailComment(caseId: string | null | undefined, replyRef: string | null | undefined, email: string | null | undefined, username: string | null | undefined, subject: string | null | undefined, body: string | null | undefined, attachments: FileParameter[] | null | undefined, signal?: AbortSignal): Promise<EmailResult>;
|
|
76
|
+
protected processSendEmailComment(response: AxiosResponse): Promise<EmailResult>;
|
|
77
|
+
sendEmail(caseTrackingId: string | null | undefined, username: string | null | undefined, description: string | null | undefined, htmlDescription: string | null | undefined, subject: string | null | undefined, email: string | null | undefined, componentId: string | null | undefined, chatbotSessionId: number | null | undefined, attachments: FileParameter[] | null | undefined, tenantId: number | null | undefined, externalUserId: string | null | undefined, recipients: string[] | null | undefined, signal?: AbortSignal): Promise<EmailResult>;
|
|
78
|
+
protected processSendEmail(response: AxiosResponse): Promise<EmailResult>;
|
|
79
|
+
getCallbackOnline(signal?: AbortSignal): Promise<SupportOnline>;
|
|
80
|
+
protected processGetCallbackOnline(response: AxiosResponse): Promise<SupportOnline>;
|
|
81
|
+
getChatOnline(signal?: AbortSignal): Promise<SupportOnline>;
|
|
82
|
+
protected processGetChatOnline(response: AxiosResponse): Promise<SupportOnline>;
|
|
83
|
+
isPhoneNumberValid(phoneNumber: string | undefined, signal?: AbortSignal): Promise<boolean>;
|
|
84
|
+
protected processIsPhoneNumberValid(response: AxiosResponse): Promise<boolean>;
|
|
85
|
+
requestCallback(reqRequest: CallbackRequest, signal?: AbortSignal): Promise<CallbackResponse>;
|
|
86
|
+
protected processRequestCallback(response: AxiosResponse): Promise<CallbackResponse>;
|
|
87
|
+
requestEmergencyCallback(reqRequest: CallbackRequest, signal?: AbortSignal): Promise<CallbackResponse>;
|
|
88
|
+
protected processRequestEmergencyCallback(response: AxiosResponse): Promise<CallbackResponse>;
|
|
89
|
+
getTenantLevelImpersonationConsent(signal?: AbortSignal): Promise<ImpersonationConsent>;
|
|
90
|
+
protected processGetTenantLevelImpersonationConsent(response: AxiosResponse): Promise<ImpersonationConsent>;
|
|
91
|
+
provideTenantLevelImpersonationConsent(signal?: AbortSignal): Promise<ImpersonationConsent>;
|
|
92
|
+
protected processProvideTenantLevelImpersonationConsent(response: AxiosResponse): Promise<ImpersonationConsent>;
|
|
93
|
+
revokeTenantLevelImpersonationConsent(signal?: AbortSignal): Promise<ImpersonationConsent>;
|
|
94
|
+
protected processRevokeTenantLevelImpersonationConsent(response: AxiosResponse): Promise<ImpersonationConsent>;
|
|
95
|
+
registerNewCase(reqRequest: NewCaseRequest, signal?: AbortSignal): Promise<NewCaseResponse>;
|
|
96
|
+
protected processRegisterNewCase(response: AxiosResponse): Promise<NewCaseResponse>;
|
|
97
|
+
provideCaseLevelImpersonationConsent(caseId: string | undefined, signal?: AbortSignal): Promise<ImpersonationConsent>;
|
|
98
|
+
protected processProvideCaseLevelImpersonationConsent(response: AxiosResponse): Promise<ImpersonationConsent>;
|
|
99
|
+
revokeCaseLevelImpersonationConsent(caseId: string | undefined, signal?: AbortSignal): Promise<ImpersonationConsent>;
|
|
100
|
+
protected processRevokeCaseLevelImpersonationConsent(response: AxiosResponse): Promise<ImpersonationConsent>;
|
|
101
|
+
registerImpersonationConsent(caseTitle: string | undefined, signal?: AbortSignal): Promise<ImpersonationConsentDto>;
|
|
102
|
+
protected processRegisterImpersonationConsent(response: AxiosResponse): Promise<ImpersonationConsentDto>;
|
|
103
|
+
}
|
|
104
|
+
export declare class TestOpsClient {
|
|
105
|
+
protected instance: AxiosInstance;
|
|
106
|
+
protected baseUrl: string;
|
|
107
|
+
protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
|
|
108
|
+
constructor(baseUrl?: string, instance?: AxiosInstance);
|
|
109
|
+
makeToken(makeTokenRequest: MakeTokenRequest, signal?: AbortSignal): Promise<CaseGenerationResponse>;
|
|
110
|
+
protected processMakeToken(response: AxiosResponse): Promise<CaseGenerationResponse>;
|
|
111
|
+
testError(code: number | undefined, signal?: AbortSignal): Promise<FileResponse>;
|
|
112
|
+
protected processTestError(response: AxiosResponse): Promise<FileResponse>;
|
|
113
|
+
}
|
|
114
|
+
export declare class UserClient {
|
|
115
|
+
protected instance: AxiosInstance;
|
|
116
|
+
protected baseUrl: string;
|
|
117
|
+
protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
|
|
118
|
+
constructor(baseUrl?: string, instance?: AxiosInstance);
|
|
119
|
+
ensureCreated(signal?: AbortSignal): Promise<FileResponse>;
|
|
120
|
+
protected processEnsureCreated(response: AxiosResponse): Promise<FileResponse>;
|
|
121
|
+
}
|
|
122
|
+
export declare class ChatbotUserSettings implements IChatbotUserSettings {
|
|
123
|
+
isInternal: boolean;
|
|
124
|
+
feedbackUrl: string;
|
|
125
|
+
showFilters: boolean;
|
|
126
|
+
buildVersion: BuildVersion;
|
|
127
|
+
constructor(data?: IChatbotUserSettings);
|
|
128
|
+
init(_data?: any): void;
|
|
129
|
+
static fromJS(data: any): ChatbotUserSettings;
|
|
130
|
+
toJSON(data?: any): any;
|
|
131
|
+
}
|
|
132
|
+
export interface IChatbotUserSettings {
|
|
133
|
+
isInternal: boolean;
|
|
134
|
+
feedbackUrl: string;
|
|
135
|
+
showFilters: boolean;
|
|
136
|
+
buildVersion: BuildVersion;
|
|
137
|
+
}
|
|
138
|
+
export declare class BuildVersion implements IBuildVersion {
|
|
139
|
+
number?: string;
|
|
140
|
+
date?: Date;
|
|
141
|
+
releaseNotesUrl?: string;
|
|
142
|
+
constructor(data?: IBuildVersion);
|
|
143
|
+
init(_data?: any): void;
|
|
144
|
+
static fromJS(data: any): BuildVersion;
|
|
145
|
+
toJSON(data?: any): any;
|
|
146
|
+
}
|
|
147
|
+
export interface IBuildVersion {
|
|
148
|
+
number?: string;
|
|
149
|
+
date?: Date;
|
|
150
|
+
releaseNotesUrl?: string;
|
|
151
|
+
}
|
|
152
|
+
export declare class EmailMessage implements IEmailMessage {
|
|
153
|
+
caseTrackingId: string;
|
|
154
|
+
username: string;
|
|
155
|
+
description?: string | undefined;
|
|
156
|
+
htmlDescription?: string | undefined;
|
|
157
|
+
subject: string;
|
|
158
|
+
email: string;
|
|
159
|
+
componentId: string;
|
|
160
|
+
chatbotSessionId?: number | undefined;
|
|
161
|
+
attachments?: string[] | undefined;
|
|
162
|
+
tenantId?: number | undefined;
|
|
163
|
+
externalUserId?: string | undefined;
|
|
164
|
+
recipients?: string[] | undefined;
|
|
165
|
+
constructor(data?: IEmailMessage);
|
|
166
|
+
init(_data?: any): void;
|
|
167
|
+
static fromJS(data: any): EmailMessage;
|
|
168
|
+
toJSON(data?: any): any;
|
|
169
|
+
}
|
|
170
|
+
export interface IEmailMessage {
|
|
171
|
+
caseTrackingId: string;
|
|
172
|
+
username: string;
|
|
173
|
+
description?: string | undefined;
|
|
174
|
+
htmlDescription?: string | undefined;
|
|
175
|
+
subject: string;
|
|
176
|
+
email: string;
|
|
177
|
+
componentId: string;
|
|
178
|
+
chatbotSessionId?: number | undefined;
|
|
179
|
+
attachments?: string[] | undefined;
|
|
180
|
+
tenantId?: number | undefined;
|
|
181
|
+
externalUserId?: string | undefined;
|
|
182
|
+
recipients?: string[] | undefined;
|
|
183
|
+
}
|
|
184
|
+
export declare class FilterOptions implements IFilterOptions {
|
|
185
|
+
contentTypes?: FilterOption[];
|
|
186
|
+
productAreas?: FilterOption[];
|
|
187
|
+
sources?: FilterOption[];
|
|
188
|
+
constructor(data?: IFilterOptions);
|
|
189
|
+
init(_data?: any): void;
|
|
190
|
+
static fromJS(data: any): FilterOptions;
|
|
191
|
+
toJSON(data?: any): any;
|
|
192
|
+
}
|
|
193
|
+
export interface IFilterOptions {
|
|
194
|
+
contentTypes?: FilterOption[];
|
|
195
|
+
productAreas?: FilterOption[];
|
|
196
|
+
sources?: FilterOption[];
|
|
197
|
+
}
|
|
198
|
+
export declare class FilterOption implements IFilterOption {
|
|
199
|
+
id?: string;
|
|
200
|
+
displayName?: string;
|
|
201
|
+
constructor(data?: IFilterOption);
|
|
202
|
+
init(_data?: any): void;
|
|
203
|
+
static fromJS(data: any): FilterOption;
|
|
204
|
+
toJSON(data?: any): any;
|
|
205
|
+
}
|
|
206
|
+
export interface IFilterOption {
|
|
207
|
+
id?: string;
|
|
208
|
+
displayName?: string;
|
|
209
|
+
}
|
|
210
|
+
export declare abstract class Message implements IMessage {
|
|
211
|
+
id?: number;
|
|
212
|
+
sessionId?: number;
|
|
213
|
+
timestampUtc?: Date;
|
|
214
|
+
text?: string;
|
|
215
|
+
constructor(data?: IMessage);
|
|
216
|
+
init(_data?: any): void;
|
|
217
|
+
static fromJS(data: any): Message;
|
|
218
|
+
toJSON(data?: any): any;
|
|
219
|
+
}
|
|
220
|
+
export interface IMessage {
|
|
221
|
+
id?: number;
|
|
222
|
+
sessionId?: number;
|
|
223
|
+
timestampUtc?: Date;
|
|
224
|
+
text?: string;
|
|
225
|
+
}
|
|
226
|
+
export declare class BotMessage extends Message implements IBotMessage {
|
|
227
|
+
error?: string | undefined;
|
|
228
|
+
isTransientError?: boolean | undefined;
|
|
229
|
+
retryAfter?: string | undefined;
|
|
230
|
+
guardFlag?: string | undefined;
|
|
231
|
+
isGuardrailed?: boolean;
|
|
232
|
+
scoredUrls?: ScoredUrl[];
|
|
233
|
+
botVersion?: string | undefined;
|
|
234
|
+
metadata?: any | undefined;
|
|
235
|
+
userMessageId?: number | undefined;
|
|
236
|
+
constructor(data?: IBotMessage);
|
|
237
|
+
init(_data?: any): void;
|
|
238
|
+
static fromJS(data: any): BotMessage;
|
|
239
|
+
toJSON(data?: any): any;
|
|
240
|
+
}
|
|
241
|
+
export interface IBotMessage extends IMessage {
|
|
242
|
+
error?: string | undefined;
|
|
243
|
+
isTransientError?: boolean | undefined;
|
|
244
|
+
retryAfter?: string | undefined;
|
|
245
|
+
guardFlag?: string | undefined;
|
|
246
|
+
isGuardrailed?: boolean;
|
|
247
|
+
scoredUrls?: ScoredUrl[];
|
|
248
|
+
botVersion?: string | undefined;
|
|
249
|
+
metadata?: any | undefined;
|
|
250
|
+
userMessageId?: number | undefined;
|
|
251
|
+
}
|
|
252
|
+
export declare class ScoredUrl implements IScoredUrl {
|
|
253
|
+
url?: string;
|
|
254
|
+
score?: number;
|
|
255
|
+
title?: string;
|
|
256
|
+
constructor(data?: IScoredUrl);
|
|
257
|
+
init(_data?: any): void;
|
|
258
|
+
static fromJS(data: any): ScoredUrl;
|
|
259
|
+
toJSON(data?: any): any;
|
|
260
|
+
}
|
|
261
|
+
export interface IScoredUrl {
|
|
262
|
+
url?: string;
|
|
263
|
+
score?: number;
|
|
264
|
+
title?: string;
|
|
265
|
+
}
|
|
266
|
+
export declare class UserMessage extends Message implements IUserMessage {
|
|
267
|
+
requestParams?: {
|
|
268
|
+
[key: string]: string;
|
|
269
|
+
} | undefined;
|
|
270
|
+
source?: MessageSource | undefined;
|
|
271
|
+
isControlGroup?: boolean;
|
|
272
|
+
filters?: FilterSelections;
|
|
273
|
+
includeHistory?: boolean;
|
|
274
|
+
constructor(data?: IUserMessage);
|
|
275
|
+
init(_data?: any): void;
|
|
276
|
+
static fromJS(data: any): UserMessage;
|
|
277
|
+
toJSON(data?: any): any;
|
|
278
|
+
}
|
|
279
|
+
export interface IUserMessage extends IMessage {
|
|
280
|
+
requestParams?: {
|
|
281
|
+
[key: string]: string;
|
|
282
|
+
} | undefined;
|
|
283
|
+
source?: MessageSource | undefined;
|
|
284
|
+
isControlGroup?: boolean;
|
|
285
|
+
filters?: FilterSelections;
|
|
286
|
+
includeHistory?: boolean;
|
|
287
|
+
}
|
|
288
|
+
export declare class MessageSource implements IMessageSource {
|
|
289
|
+
area?: string | undefined;
|
|
290
|
+
constructor(data?: IMessageSource);
|
|
291
|
+
init(_data?: any): void;
|
|
292
|
+
static fromJS(data: any): MessageSource;
|
|
293
|
+
toJSON(data?: any): any;
|
|
294
|
+
}
|
|
295
|
+
export interface IMessageSource {
|
|
296
|
+
area?: string | undefined;
|
|
297
|
+
}
|
|
298
|
+
export declare class FilterSelections implements IFilterSelections {
|
|
299
|
+
contentTypes?: string[];
|
|
300
|
+
productAreas?: string[];
|
|
301
|
+
sources?: string[];
|
|
302
|
+
constructor(data?: IFilterSelections);
|
|
303
|
+
init(_data?: any): void;
|
|
304
|
+
static fromJS(data: any): FilterSelections;
|
|
305
|
+
toJSON(data?: any): any;
|
|
306
|
+
}
|
|
307
|
+
export interface IFilterSelections {
|
|
308
|
+
contentTypes?: string[];
|
|
309
|
+
productAreas?: string[];
|
|
310
|
+
sources?: string[];
|
|
311
|
+
}
|
|
312
|
+
export declare class MessageFeedback implements IMessageFeedback {
|
|
313
|
+
linkUrl?: string | undefined;
|
|
314
|
+
description?: string | undefined;
|
|
315
|
+
options?: FeedbackOptions[] | undefined;
|
|
316
|
+
rating?: MessageFeedbackRatings;
|
|
317
|
+
constructor(data?: IMessageFeedback);
|
|
318
|
+
init(_data?: any): void;
|
|
319
|
+
static fromJS(data: any): MessageFeedback;
|
|
320
|
+
toJSON(data?: any): any;
|
|
321
|
+
}
|
|
322
|
+
export interface IMessageFeedback {
|
|
323
|
+
linkUrl?: string | undefined;
|
|
324
|
+
description?: string | undefined;
|
|
325
|
+
options?: FeedbackOptions[] | undefined;
|
|
326
|
+
rating?: MessageFeedbackRatings;
|
|
327
|
+
}
|
|
328
|
+
export declare enum FeedbackOptions {
|
|
329
|
+
Other = 1,
|
|
330
|
+
Unrelated = 2,
|
|
331
|
+
Unclear = 4,
|
|
332
|
+
Incomplete = 8,
|
|
333
|
+
Incorrect = 16
|
|
334
|
+
}
|
|
335
|
+
export declare enum MessageFeedbackRatings {
|
|
336
|
+
ThumbsDown = 0,
|
|
337
|
+
ThumbsUp = 1,
|
|
338
|
+
GuardrailFeedback = 2
|
|
339
|
+
}
|
|
340
|
+
export declare class SessionFeedback implements ISessionFeedback {
|
|
341
|
+
description?: string | undefined;
|
|
342
|
+
rating?: SessionFeedbackRatings;
|
|
343
|
+
constructor(data?: ISessionFeedback);
|
|
344
|
+
init(_data?: any): void;
|
|
345
|
+
static fromJS(data: any): SessionFeedback;
|
|
346
|
+
toJSON(data?: any): any;
|
|
347
|
+
}
|
|
348
|
+
export interface ISessionFeedback {
|
|
349
|
+
description?: string | undefined;
|
|
350
|
+
rating?: SessionFeedbackRatings;
|
|
351
|
+
}
|
|
352
|
+
export declare enum SessionFeedbackRatings {
|
|
353
|
+
ThumbsDown = 0,
|
|
354
|
+
ThumbsUp = 1
|
|
355
|
+
}
|
|
356
|
+
export declare class ChatbotSession implements IChatbotSession {
|
|
357
|
+
id?: number;
|
|
358
|
+
createdUtc?: Date;
|
|
359
|
+
closedUtc?: Date | undefined;
|
|
360
|
+
botId?: string;
|
|
361
|
+
source?: SessionSource | undefined;
|
|
362
|
+
constructor(data?: IChatbotSession);
|
|
363
|
+
init(_data?: any): void;
|
|
364
|
+
static fromJS(data: any): ChatbotSession;
|
|
365
|
+
toJSON(data?: any): any;
|
|
366
|
+
}
|
|
367
|
+
export interface IChatbotSession {
|
|
368
|
+
id?: number;
|
|
369
|
+
createdUtc?: Date;
|
|
370
|
+
closedUtc?: Date | undefined;
|
|
371
|
+
botId?: string;
|
|
372
|
+
source?: SessionSource | undefined;
|
|
373
|
+
}
|
|
374
|
+
export declare class SessionSource implements ISessionSource {
|
|
375
|
+
instance?: string | undefined;
|
|
376
|
+
category?: string | undefined;
|
|
377
|
+
subCategory?: string | undefined;
|
|
378
|
+
constructor(data?: ISessionSource);
|
|
379
|
+
init(_data?: any): void;
|
|
380
|
+
static fromJS(data: any): SessionSource;
|
|
381
|
+
toJSON(data?: any): any;
|
|
382
|
+
}
|
|
383
|
+
export interface ISessionSource {
|
|
384
|
+
instance?: string | undefined;
|
|
385
|
+
category?: string | undefined;
|
|
386
|
+
subCategory?: string | undefined;
|
|
387
|
+
}
|
|
388
|
+
export declare class WidgetConfiguration implements IWidgetConfiguration {
|
|
389
|
+
analytics: AnalyticsSettings;
|
|
390
|
+
chatbotConfiguration: ChatbotConfiguration;
|
|
391
|
+
chatbotVersion: ChatbotVersion;
|
|
392
|
+
contentful: ContentfulSettings;
|
|
393
|
+
featureFlags: FeatureFlags;
|
|
394
|
+
environment: ServiceEnvironment;
|
|
395
|
+
freshdeskToken?: string | undefined;
|
|
396
|
+
salesforce: SalesforceSettings;
|
|
397
|
+
search: SearchSettings;
|
|
398
|
+
supportFlow: SupportFlowSettings;
|
|
399
|
+
tenantState?: string | undefined;
|
|
400
|
+
constructor(data?: IWidgetConfiguration);
|
|
401
|
+
init(_data?: any): void;
|
|
402
|
+
static fromJS(data: any): WidgetConfiguration;
|
|
403
|
+
toJSON(data?: any): any;
|
|
404
|
+
}
|
|
405
|
+
export interface IWidgetConfiguration {
|
|
406
|
+
analytics: AnalyticsSettings;
|
|
407
|
+
chatbotConfiguration: ChatbotConfiguration;
|
|
408
|
+
chatbotVersion: ChatbotVersion;
|
|
409
|
+
contentful: ContentfulSettings;
|
|
410
|
+
featureFlags: FeatureFlags;
|
|
411
|
+
environment: ServiceEnvironment;
|
|
412
|
+
freshdeskToken?: string | undefined;
|
|
413
|
+
salesforce: SalesforceSettings;
|
|
414
|
+
search: SearchSettings;
|
|
415
|
+
supportFlow: SupportFlowSettings;
|
|
416
|
+
tenantState?: string | undefined;
|
|
417
|
+
}
|
|
418
|
+
export declare class AnalyticsSettings implements IAnalyticsSettings {
|
|
419
|
+
gtag: GtagSettings;
|
|
420
|
+
constructor(data?: IAnalyticsSettings);
|
|
421
|
+
init(_data?: any): void;
|
|
422
|
+
static fromJS(data: any): AnalyticsSettings;
|
|
423
|
+
toJSON(data?: any): any;
|
|
424
|
+
}
|
|
425
|
+
export interface IAnalyticsSettings {
|
|
426
|
+
gtag: GtagSettings;
|
|
427
|
+
}
|
|
428
|
+
export declare class GtagSettings implements IGtagSettings {
|
|
429
|
+
contentGroup: string;
|
|
430
|
+
referrer: string;
|
|
431
|
+
constructor(data?: IGtagSettings);
|
|
432
|
+
init(_data?: any): void;
|
|
433
|
+
static fromJS(data: any): GtagSettings;
|
|
434
|
+
toJSON(data?: any): any;
|
|
435
|
+
}
|
|
436
|
+
export interface IGtagSettings {
|
|
437
|
+
contentGroup: string;
|
|
438
|
+
referrer: string;
|
|
439
|
+
}
|
|
440
|
+
export declare class ChatbotConfiguration implements IChatbotConfiguration {
|
|
441
|
+
area?: ChatbotEnabledArea;
|
|
442
|
+
constructor(data?: IChatbotConfiguration);
|
|
443
|
+
init(_data?: any): void;
|
|
444
|
+
static fromJS(data: any): ChatbotConfiguration;
|
|
445
|
+
toJSON(data?: any): any;
|
|
446
|
+
}
|
|
447
|
+
export interface IChatbotConfiguration {
|
|
448
|
+
area?: ChatbotEnabledArea;
|
|
449
|
+
}
|
|
450
|
+
export declare enum ChatbotEnabledArea {
|
|
451
|
+
None = "None",
|
|
452
|
+
SupportFlow = "SupportFlow"
|
|
453
|
+
}
|
|
454
|
+
export declare enum ChatbotVersion {
|
|
455
|
+
None = 0,
|
|
456
|
+
Inbenta = 1,
|
|
457
|
+
GptV1 = 2
|
|
458
|
+
}
|
|
459
|
+
export declare class ContentfulSettings implements IContentfulSettings {
|
|
460
|
+
space: string;
|
|
461
|
+
accessToken: string;
|
|
462
|
+
environment: string;
|
|
463
|
+
host: string;
|
|
464
|
+
constructor(data?: IContentfulSettings);
|
|
465
|
+
init(_data?: any): void;
|
|
466
|
+
static fromJS(data: any): ContentfulSettings;
|
|
467
|
+
toJSON(data?: any): any;
|
|
468
|
+
}
|
|
469
|
+
export interface IContentfulSettings {
|
|
470
|
+
space: string;
|
|
471
|
+
accessToken: string;
|
|
472
|
+
environment: string;
|
|
473
|
+
host: string;
|
|
474
|
+
}
|
|
475
|
+
export declare class FeatureFlags implements IFeatureFlags {
|
|
476
|
+
enableQuickAnswerModernDesign: boolean;
|
|
477
|
+
quickAnswerConfiguration: QuickAnswerConfiguration;
|
|
478
|
+
enablePreSupportChatbot: boolean;
|
|
479
|
+
impersonationControlPhase2: boolean;
|
|
480
|
+
newExcitingFeature: boolean;
|
|
481
|
+
askSupportButtonText: string;
|
|
482
|
+
showOnboardingMessage: boolean;
|
|
483
|
+
constructor(data?: IFeatureFlags);
|
|
484
|
+
init(_data?: any): void;
|
|
485
|
+
static fromJS(data: any): FeatureFlags;
|
|
486
|
+
toJSON(data?: any): any;
|
|
487
|
+
}
|
|
488
|
+
export interface IFeatureFlags {
|
|
489
|
+
enableQuickAnswerModernDesign: boolean;
|
|
490
|
+
quickAnswerConfiguration: QuickAnswerConfiguration;
|
|
491
|
+
enablePreSupportChatbot: boolean;
|
|
492
|
+
impersonationControlPhase2: boolean;
|
|
493
|
+
newExcitingFeature: boolean;
|
|
494
|
+
askSupportButtonText: string;
|
|
495
|
+
showOnboardingMessage: boolean;
|
|
496
|
+
}
|
|
497
|
+
export declare class QuickAnswerConfiguration implements IQuickAnswerConfiguration {
|
|
498
|
+
multiTurnEnabled: boolean;
|
|
499
|
+
multiTurnButtonIcon?: string | undefined;
|
|
500
|
+
multiTurnButtonText?: string | undefined;
|
|
501
|
+
constructor(data?: IQuickAnswerConfiguration);
|
|
502
|
+
init(_data?: any): void;
|
|
503
|
+
static fromJS(data: any): QuickAnswerConfiguration;
|
|
504
|
+
toJSON(data?: any): any;
|
|
505
|
+
}
|
|
506
|
+
export interface IQuickAnswerConfiguration {
|
|
507
|
+
multiTurnEnabled: boolean;
|
|
508
|
+
multiTurnButtonIcon?: string | undefined;
|
|
509
|
+
multiTurnButtonText?: string | undefined;
|
|
510
|
+
}
|
|
511
|
+
export declare enum ServiceEnvironment {
|
|
512
|
+
Undefined = 0,
|
|
513
|
+
Production = 1,
|
|
514
|
+
Practice = 2,
|
|
515
|
+
Next = 3,
|
|
516
|
+
Stage = 4,
|
|
517
|
+
Development = 5
|
|
518
|
+
}
|
|
519
|
+
export declare class SalesforceSettings implements ISalesforceSettings {
|
|
520
|
+
orgId: string;
|
|
521
|
+
chatButtonId: string;
|
|
522
|
+
chatDeploymentId: string;
|
|
523
|
+
chatDeploymentUri: string;
|
|
524
|
+
chatUri: string;
|
|
525
|
+
chatProxyUri: string;
|
|
526
|
+
chatEmbeddedUri: string;
|
|
527
|
+
constructor(data?: ISalesforceSettings);
|
|
528
|
+
init(_data?: any): void;
|
|
529
|
+
static fromJS(data: any): SalesforceSettings;
|
|
530
|
+
toJSON(data?: any): any;
|
|
531
|
+
}
|
|
532
|
+
export interface ISalesforceSettings {
|
|
533
|
+
orgId: string;
|
|
534
|
+
chatButtonId: string;
|
|
535
|
+
chatDeploymentId: string;
|
|
536
|
+
chatDeploymentUri: string;
|
|
537
|
+
chatUri: string;
|
|
538
|
+
chatProxyUri: string;
|
|
539
|
+
chatEmbeddedUri: string;
|
|
540
|
+
}
|
|
541
|
+
export declare class SearchSettings implements ISearchSettings {
|
|
542
|
+
sessionSource: string;
|
|
543
|
+
sources: SearchSource[];
|
|
544
|
+
constructor(data?: ISearchSettings);
|
|
545
|
+
init(_data?: any): void;
|
|
546
|
+
static fromJS(data: any): SearchSettings;
|
|
547
|
+
toJSON(data?: any): any;
|
|
548
|
+
}
|
|
549
|
+
export interface ISearchSettings {
|
|
550
|
+
sessionSource: string;
|
|
551
|
+
sources: SearchSource[];
|
|
552
|
+
}
|
|
553
|
+
export declare class SearchSource implements ISearchSource {
|
|
554
|
+
id: string;
|
|
555
|
+
name: string;
|
|
556
|
+
title: string;
|
|
557
|
+
url: string;
|
|
558
|
+
constructor(data?: ISearchSource);
|
|
559
|
+
init(_data?: any): void;
|
|
560
|
+
static fromJS(data: any): SearchSource;
|
|
561
|
+
toJSON(data?: any): any;
|
|
562
|
+
}
|
|
563
|
+
export interface ISearchSource {
|
|
564
|
+
id: string;
|
|
565
|
+
name: string;
|
|
566
|
+
title: string;
|
|
567
|
+
url: string;
|
|
568
|
+
}
|
|
569
|
+
export declare class SupportFlowSettings implements ISupportFlowSettings {
|
|
570
|
+
enableChatQueuePosition: boolean;
|
|
571
|
+
helpCenterPendoGuidesEnabled: boolean;
|
|
572
|
+
helpCenterFloatingChatEnabled: boolean;
|
|
573
|
+
enableHelpCenterLiveAgentChatV2: boolean;
|
|
574
|
+
enableVisualIvr: boolean;
|
|
575
|
+
showCompanyCases: boolean;
|
|
576
|
+
isEnterpriseHub: boolean;
|
|
577
|
+
showPersonalCases: boolean;
|
|
578
|
+
supportFlowSoftTimeout: number;
|
|
579
|
+
supportFlowHardTimeout: number;
|
|
580
|
+
impersonationConsentDurationHours: number;
|
|
581
|
+
contactField?: string | undefined;
|
|
582
|
+
contactId?: string | undefined;
|
|
583
|
+
supportFlowVersion: SupportFlow;
|
|
584
|
+
supportType: SupportTypeMode;
|
|
585
|
+
supportWorkingHours: SupportWorkingHours;
|
|
586
|
+
helpCenterChatbotQuickAnswer?: HelpCenterChatbotQuickAnswer | undefined;
|
|
587
|
+
enableEmailComposer: boolean;
|
|
588
|
+
helpCenterSupportFlowStepOrder: SupportFlowStepOrder;
|
|
589
|
+
constructor(data?: ISupportFlowSettings);
|
|
590
|
+
init(_data?: any): void;
|
|
591
|
+
static fromJS(data: any): SupportFlowSettings;
|
|
592
|
+
toJSON(data?: any): any;
|
|
593
|
+
}
|
|
594
|
+
export interface ISupportFlowSettings {
|
|
595
|
+
enableChatQueuePosition: boolean;
|
|
596
|
+
helpCenterPendoGuidesEnabled: boolean;
|
|
597
|
+
helpCenterFloatingChatEnabled: boolean;
|
|
598
|
+
enableHelpCenterLiveAgentChatV2: boolean;
|
|
599
|
+
enableVisualIvr: boolean;
|
|
600
|
+
showCompanyCases: boolean;
|
|
601
|
+
isEnterpriseHub: boolean;
|
|
602
|
+
showPersonalCases: boolean;
|
|
603
|
+
supportFlowSoftTimeout: number;
|
|
604
|
+
supportFlowHardTimeout: number;
|
|
605
|
+
impersonationConsentDurationHours: number;
|
|
606
|
+
contactField?: string | undefined;
|
|
607
|
+
contactId?: string | undefined;
|
|
608
|
+
supportFlowVersion: SupportFlow;
|
|
609
|
+
supportType: SupportTypeMode;
|
|
610
|
+
supportWorkingHours: SupportWorkingHours;
|
|
611
|
+
helpCenterChatbotQuickAnswer?: HelpCenterChatbotQuickAnswer | undefined;
|
|
612
|
+
enableEmailComposer: boolean;
|
|
613
|
+
helpCenterSupportFlowStepOrder: SupportFlowStepOrder;
|
|
614
|
+
}
|
|
615
|
+
export declare enum SupportFlow {
|
|
616
|
+
IssueFirst2 = 2
|
|
617
|
+
}
|
|
618
|
+
export declare enum SupportTypeMode {
|
|
619
|
+
ServicetitanSalesforce = 0,
|
|
620
|
+
ZorwareZendesk = 1,
|
|
621
|
+
Freshdesk = 2
|
|
622
|
+
}
|
|
623
|
+
export declare class SupportWorkingHours implements ISupportWorkingHours {
|
|
624
|
+
callback: WorkingHoursSchedule;
|
|
625
|
+
chat: WorkingHoursSchedule;
|
|
626
|
+
constructor(data?: ISupportWorkingHours);
|
|
627
|
+
init(_data?: any): void;
|
|
628
|
+
static fromJS(data: any): SupportWorkingHours;
|
|
629
|
+
toJSON(data?: any): any;
|
|
630
|
+
}
|
|
631
|
+
export interface ISupportWorkingHours {
|
|
632
|
+
callback: WorkingHoursSchedule;
|
|
633
|
+
chat: WorkingHoursSchedule;
|
|
634
|
+
}
|
|
635
|
+
export declare class WorkingHoursSchedule implements IWorkingHoursSchedule {
|
|
636
|
+
workingHours: {
|
|
637
|
+
[key: string]: WorkingHours;
|
|
638
|
+
};
|
|
639
|
+
message: string;
|
|
640
|
+
constructor(data?: IWorkingHoursSchedule);
|
|
641
|
+
init(_data?: any): void;
|
|
642
|
+
static fromJS(data: any): WorkingHoursSchedule;
|
|
643
|
+
toJSON(data?: any): any;
|
|
644
|
+
}
|
|
645
|
+
export interface IWorkingHoursSchedule {
|
|
646
|
+
workingHours: {
|
|
647
|
+
[key: string]: WorkingHours;
|
|
648
|
+
};
|
|
649
|
+
message: string;
|
|
650
|
+
}
|
|
651
|
+
export declare class WorkingHours implements IWorkingHours {
|
|
652
|
+
start: string;
|
|
653
|
+
finish: string;
|
|
654
|
+
constructor(data?: IWorkingHours);
|
|
655
|
+
init(_data?: any): void;
|
|
656
|
+
static fromJS(data: any): WorkingHours;
|
|
657
|
+
toJSON(data?: any): any;
|
|
658
|
+
}
|
|
659
|
+
export interface IWorkingHours {
|
|
660
|
+
start: string;
|
|
661
|
+
finish: string;
|
|
662
|
+
}
|
|
663
|
+
export declare class HelpCenterChatbotQuickAnswer implements IHelpCenterChatbotQuickAnswer {
|
|
664
|
+
enabled?: boolean;
|
|
665
|
+
constructor(data?: IHelpCenterChatbotQuickAnswer);
|
|
666
|
+
init(_data?: any): void;
|
|
667
|
+
static fromJS(data: any): HelpCenterChatbotQuickAnswer;
|
|
668
|
+
toJSON(data?: any): any;
|
|
669
|
+
}
|
|
670
|
+
export interface IHelpCenterChatbotQuickAnswer {
|
|
671
|
+
enabled?: boolean;
|
|
672
|
+
}
|
|
673
|
+
export declare enum SupportFlowStepOrder {
|
|
674
|
+
CategoryFirst = 0,
|
|
675
|
+
DescriptionFirst = 1
|
|
676
|
+
}
|
|
677
|
+
export declare class SupportComponents implements ISupportComponents {
|
|
678
|
+
items: SupportComponent[];
|
|
679
|
+
categoryTopicMapping: SupportCategoryTopicMapping[];
|
|
680
|
+
constructor(data?: ISupportComponents);
|
|
681
|
+
init(_data?: any): void;
|
|
682
|
+
static fromJS(data: any): SupportComponents;
|
|
683
|
+
toJSON(data?: any): any;
|
|
684
|
+
}
|
|
685
|
+
export interface ISupportComponents {
|
|
686
|
+
items: SupportComponent[];
|
|
687
|
+
categoryTopicMapping: SupportCategoryTopicMapping[];
|
|
688
|
+
}
|
|
689
|
+
export declare class SupportComponent implements ISupportComponent {
|
|
690
|
+
id: string;
|
|
691
|
+
name: string;
|
|
692
|
+
button?: string | undefined;
|
|
693
|
+
context?: string | undefined;
|
|
694
|
+
channels?: SupportChannel[] | undefined;
|
|
695
|
+
subComponents?: SupportComponent[] | undefined;
|
|
696
|
+
constructor(data?: ISupportComponent);
|
|
697
|
+
init(_data?: any): void;
|
|
698
|
+
static fromJS(data: any): SupportComponent;
|
|
699
|
+
toJSON(data?: any): any;
|
|
700
|
+
}
|
|
701
|
+
export interface ISupportComponent {
|
|
702
|
+
id: string;
|
|
703
|
+
name: string;
|
|
704
|
+
button?: string | undefined;
|
|
705
|
+
context?: string | undefined;
|
|
706
|
+
channels?: SupportChannel[] | undefined;
|
|
707
|
+
subComponents?: SupportComponent[] | undefined;
|
|
708
|
+
}
|
|
709
|
+
export declare enum SupportChannel {
|
|
710
|
+
Unknown = 0,
|
|
711
|
+
Email = 1,
|
|
712
|
+
Chat = 2,
|
|
713
|
+
Callback = 3,
|
|
714
|
+
EmergencyCallback = 4,
|
|
715
|
+
SpecialistCallback = 5
|
|
716
|
+
}
|
|
717
|
+
export declare class SupportCategoryTopicMapping implements ISupportCategoryTopicMapping {
|
|
718
|
+
id: string;
|
|
719
|
+
label: string;
|
|
720
|
+
description: string;
|
|
721
|
+
topics: string[];
|
|
722
|
+
constructor(data?: ISupportCategoryTopicMapping);
|
|
723
|
+
init(_data?: any): void;
|
|
724
|
+
static fromJS(data: any): SupportCategoryTopicMapping;
|
|
725
|
+
toJSON(data?: any): any;
|
|
726
|
+
}
|
|
727
|
+
export interface ISupportCategoryTopicMapping {
|
|
728
|
+
id: string;
|
|
729
|
+
label: string;
|
|
730
|
+
description: string;
|
|
731
|
+
topics: string[];
|
|
732
|
+
}
|
|
733
|
+
export declare class InbentaAccessToken implements IInbentaAccessToken {
|
|
734
|
+
accessToken: string;
|
|
735
|
+
expiration: number;
|
|
736
|
+
expires_in: number;
|
|
737
|
+
apis: InbentaApis;
|
|
738
|
+
apiKey: string;
|
|
739
|
+
constructor(data?: IInbentaAccessToken);
|
|
740
|
+
init(_data?: any): void;
|
|
741
|
+
static fromJS(data: any): InbentaAccessToken;
|
|
742
|
+
toJSON(data?: any): any;
|
|
743
|
+
}
|
|
744
|
+
export interface IInbentaAccessToken {
|
|
745
|
+
accessToken: string;
|
|
746
|
+
expiration: number;
|
|
747
|
+
expires_in: number;
|
|
748
|
+
apis: InbentaApis;
|
|
749
|
+
apiKey: string;
|
|
750
|
+
}
|
|
751
|
+
export declare class InbentaApis implements IInbentaApis {
|
|
752
|
+
knowledge: string;
|
|
753
|
+
search: string;
|
|
754
|
+
ticketing: string;
|
|
755
|
+
constructor(data?: IInbentaApis);
|
|
756
|
+
init(_data?: any): void;
|
|
757
|
+
static fromJS(data: any): InbentaApis;
|
|
758
|
+
toJSON(data?: any): any;
|
|
759
|
+
}
|
|
760
|
+
export interface IInbentaApis {
|
|
761
|
+
knowledge: string;
|
|
762
|
+
search: string;
|
|
763
|
+
ticketing: string;
|
|
764
|
+
}
|
|
765
|
+
export declare class PageRecommendations implements IPageRecommendations {
|
|
766
|
+
path: string;
|
|
767
|
+
exact?: boolean;
|
|
768
|
+
recommendations: Recommendation[];
|
|
769
|
+
constructor(data?: IPageRecommendations);
|
|
770
|
+
init(_data?: any): void;
|
|
771
|
+
static fromJS(data: any): PageRecommendations;
|
|
772
|
+
toJSON(data?: any): any;
|
|
773
|
+
}
|
|
774
|
+
export interface IPageRecommendations {
|
|
775
|
+
path: string;
|
|
776
|
+
exact?: boolean;
|
|
777
|
+
recommendations: Recommendation[];
|
|
778
|
+
}
|
|
779
|
+
export declare class Recommendation implements IRecommendation {
|
|
780
|
+
resource: Resource;
|
|
781
|
+
links: Link[];
|
|
782
|
+
constructor(data?: IRecommendation);
|
|
783
|
+
init(_data?: any): void;
|
|
784
|
+
static fromJS(data: any): Recommendation;
|
|
785
|
+
toJSON(data?: any): any;
|
|
786
|
+
}
|
|
787
|
+
export interface IRecommendation {
|
|
788
|
+
resource: Resource;
|
|
789
|
+
links: Link[];
|
|
790
|
+
}
|
|
791
|
+
export declare class Resource implements IResource {
|
|
792
|
+
name: string;
|
|
793
|
+
title: string;
|
|
794
|
+
url: string;
|
|
795
|
+
constructor(data?: IResource);
|
|
796
|
+
init(_data?: any): void;
|
|
797
|
+
static fromJS(data: any): Resource;
|
|
798
|
+
toJSON(data?: any): any;
|
|
799
|
+
}
|
|
800
|
+
export interface IResource {
|
|
801
|
+
name: string;
|
|
802
|
+
title: string;
|
|
803
|
+
url: string;
|
|
804
|
+
}
|
|
805
|
+
export declare class Link implements ILink {
|
|
806
|
+
title: string;
|
|
807
|
+
url: string;
|
|
808
|
+
articleId?: string | undefined;
|
|
809
|
+
scrollTo?: string | undefined;
|
|
810
|
+
constructor(data?: ILink);
|
|
811
|
+
init(_data?: any): void;
|
|
812
|
+
static fromJS(data: any): Link;
|
|
813
|
+
toJSON(data?: any): any;
|
|
814
|
+
}
|
|
815
|
+
export interface ILink {
|
|
816
|
+
title: string;
|
|
817
|
+
url: string;
|
|
818
|
+
articleId?: string | undefined;
|
|
819
|
+
scrollTo?: string | undefined;
|
|
820
|
+
}
|
|
821
|
+
export declare class HelpCenterUserData implements IHelpCenterUserData {
|
|
822
|
+
name?: string;
|
|
823
|
+
email?: string;
|
|
824
|
+
users?: HelpCenterUserModel[];
|
|
825
|
+
constructor(data?: IHelpCenterUserData);
|
|
826
|
+
init(_data?: any): void;
|
|
827
|
+
static fromJS(data: any): HelpCenterUserData;
|
|
828
|
+
toJSON(data?: any): any;
|
|
829
|
+
}
|
|
830
|
+
export interface IHelpCenterUserData {
|
|
831
|
+
name?: string;
|
|
832
|
+
email?: string;
|
|
833
|
+
users?: HelpCenterUserModel[];
|
|
834
|
+
}
|
|
835
|
+
export declare class HelpCenterUserModel implements IHelpCenterUserModel {
|
|
836
|
+
tenantId?: number;
|
|
837
|
+
tenantName?: string;
|
|
838
|
+
globalUserId?: number;
|
|
839
|
+
constructor(data?: IHelpCenterUserModel);
|
|
840
|
+
init(_data?: any): void;
|
|
841
|
+
static fromJS(data: any): HelpCenterUserModel;
|
|
842
|
+
toJSON(data?: any): any;
|
|
843
|
+
}
|
|
844
|
+
export interface IHelpCenterUserModel {
|
|
845
|
+
tenantId?: number;
|
|
846
|
+
tenantName?: string;
|
|
847
|
+
globalUserId?: number;
|
|
848
|
+
}
|
|
849
|
+
export declare class CaseGenerationResponse implements ICaseGenerationResponse {
|
|
850
|
+
createdCount: number;
|
|
851
|
+
error?: string | undefined;
|
|
852
|
+
constructor(data?: ICaseGenerationResponse);
|
|
853
|
+
init(_data?: any): void;
|
|
854
|
+
static fromJS(data: any): CaseGenerationResponse;
|
|
855
|
+
toJSON(data?: any): any;
|
|
856
|
+
}
|
|
857
|
+
export interface ICaseGenerationResponse {
|
|
858
|
+
createdCount: number;
|
|
859
|
+
error?: string | undefined;
|
|
860
|
+
}
|
|
861
|
+
export declare class CaseGenerationRequest implements ICaseGenerationRequest {
|
|
862
|
+
newCount: number;
|
|
863
|
+
pendingCount?: number;
|
|
864
|
+
solvedCount?: number;
|
|
865
|
+
closedCount?: number;
|
|
866
|
+
constructor(data?: ICaseGenerationRequest);
|
|
867
|
+
init(_data?: any): void;
|
|
868
|
+
static fromJS(data: any): CaseGenerationRequest;
|
|
869
|
+
toJSON(data?: any): any;
|
|
870
|
+
}
|
|
871
|
+
export interface ICaseGenerationRequest {
|
|
872
|
+
newCount: number;
|
|
873
|
+
pendingCount?: number;
|
|
874
|
+
solvedCount?: number;
|
|
875
|
+
closedCount?: number;
|
|
876
|
+
}
|
|
877
|
+
export declare class CaseFilters implements ICaseFilters {
|
|
878
|
+
contacts?: CaseContactFilter[] | undefined;
|
|
879
|
+
statuses: string[];
|
|
880
|
+
accounts?: CaseAccount[] | undefined;
|
|
881
|
+
constructor(data?: ICaseFilters);
|
|
882
|
+
init(_data?: any): void;
|
|
883
|
+
static fromJS(data: any): CaseFilters;
|
|
884
|
+
toJSON(data?: any): any;
|
|
885
|
+
}
|
|
886
|
+
export interface ICaseFilters {
|
|
887
|
+
contacts?: CaseContactFilter[] | undefined;
|
|
888
|
+
statuses: string[];
|
|
889
|
+
accounts?: CaseAccount[] | undefined;
|
|
890
|
+
}
|
|
891
|
+
export declare class CaseContactFilter implements ICaseContactFilter {
|
|
892
|
+
contactIds: string[];
|
|
893
|
+
name: string;
|
|
894
|
+
constructor(data?: ICaseContactFilter);
|
|
895
|
+
init(_data?: any): void;
|
|
896
|
+
static fromJS(data: any): CaseContactFilter;
|
|
897
|
+
toJSON(data?: any): any;
|
|
898
|
+
}
|
|
899
|
+
export interface ICaseContactFilter {
|
|
900
|
+
contactIds: string[];
|
|
901
|
+
name: string;
|
|
902
|
+
}
|
|
903
|
+
export declare class CaseAccount implements ICaseAccount {
|
|
904
|
+
id: string;
|
|
905
|
+
tenantName: string;
|
|
906
|
+
constructor(data?: ICaseAccount);
|
|
907
|
+
init(_data?: any): void;
|
|
908
|
+
static fromJS(data: any): CaseAccount;
|
|
909
|
+
toJSON(data?: any): any;
|
|
910
|
+
}
|
|
911
|
+
export interface ICaseAccount {
|
|
912
|
+
id: string;
|
|
913
|
+
tenantName: string;
|
|
914
|
+
}
|
|
915
|
+
export declare class CaseResults implements ICaseResults {
|
|
916
|
+
anyOpen?: boolean | undefined;
|
|
917
|
+
items: CaseResultItem[];
|
|
918
|
+
done: boolean;
|
|
919
|
+
priorityToken?: CaseSortingPriority | undefined;
|
|
920
|
+
caseNumberToken?: string | undefined;
|
|
921
|
+
constructor(data?: ICaseResults);
|
|
922
|
+
init(_data?: any): void;
|
|
923
|
+
static fromJS(data: any): CaseResults;
|
|
924
|
+
toJSON(data?: any): any;
|
|
925
|
+
}
|
|
926
|
+
export interface ICaseResults {
|
|
927
|
+
anyOpen?: boolean | undefined;
|
|
928
|
+
items: CaseResultItem[];
|
|
929
|
+
done: boolean;
|
|
930
|
+
priorityToken?: CaseSortingPriority | undefined;
|
|
931
|
+
caseNumberToken?: string | undefined;
|
|
932
|
+
}
|
|
933
|
+
export declare class CaseResultItem implements ICaseResultItem {
|
|
934
|
+
id: string;
|
|
935
|
+
caseNumber: string;
|
|
936
|
+
origin: string;
|
|
937
|
+
channel: SupportChannel;
|
|
938
|
+
status: string;
|
|
939
|
+
priority: CasePriority;
|
|
940
|
+
subject: string;
|
|
941
|
+
component?: string | undefined;
|
|
942
|
+
createdDate: Date;
|
|
943
|
+
contact: CaseContact;
|
|
944
|
+
account: CaseAccount;
|
|
945
|
+
impersonationConsent: ImpersonationConsent;
|
|
946
|
+
surveyUrl?: string | undefined;
|
|
947
|
+
constructor(data?: ICaseResultItem);
|
|
948
|
+
init(_data?: any): void;
|
|
949
|
+
static fromJS(data: any): CaseResultItem;
|
|
950
|
+
toJSON(data?: any): any;
|
|
951
|
+
}
|
|
952
|
+
export interface ICaseResultItem {
|
|
953
|
+
id: string;
|
|
954
|
+
caseNumber: string;
|
|
955
|
+
origin: string;
|
|
956
|
+
channel: SupportChannel;
|
|
957
|
+
status: string;
|
|
958
|
+
priority: CasePriority;
|
|
959
|
+
subject: string;
|
|
960
|
+
component?: string | undefined;
|
|
961
|
+
createdDate: Date;
|
|
962
|
+
contact: CaseContact;
|
|
963
|
+
account: CaseAccount;
|
|
964
|
+
impersonationConsent: ImpersonationConsent;
|
|
965
|
+
surveyUrl?: string | undefined;
|
|
966
|
+
}
|
|
967
|
+
export declare enum CasePriority {
|
|
968
|
+
Closed = 0,
|
|
969
|
+
Normal = 1,
|
|
970
|
+
High = 2
|
|
971
|
+
}
|
|
972
|
+
export declare class CaseContact implements ICaseContact {
|
|
973
|
+
id: string;
|
|
974
|
+
name: string;
|
|
975
|
+
constructor(data?: ICaseContact);
|
|
976
|
+
init(_data?: any): void;
|
|
977
|
+
static fromJS(data: any): CaseContact;
|
|
978
|
+
toJSON(data?: any): any;
|
|
979
|
+
}
|
|
980
|
+
export interface ICaseContact {
|
|
981
|
+
id: string;
|
|
982
|
+
name: string;
|
|
983
|
+
}
|
|
984
|
+
export declare class ImpersonationConsent implements IImpersonationConsent {
|
|
985
|
+
isPermitted: boolean;
|
|
986
|
+
expiredAt?: Date | undefined;
|
|
987
|
+
error?: string | undefined;
|
|
988
|
+
constructor(data?: IImpersonationConsent);
|
|
989
|
+
init(_data?: any): void;
|
|
990
|
+
static fromJS(data: any): ImpersonationConsent;
|
|
991
|
+
toJSON(data?: any): any;
|
|
992
|
+
}
|
|
993
|
+
export interface IImpersonationConsent {
|
|
994
|
+
isPermitted: boolean;
|
|
995
|
+
expiredAt?: Date | undefined;
|
|
996
|
+
error?: string | undefined;
|
|
997
|
+
}
|
|
998
|
+
export declare enum CaseSortingPriority {
|
|
999
|
+
Pending = 0,
|
|
1000
|
+
Other = 1,
|
|
1001
|
+
Solved = 2,
|
|
1002
|
+
Closed = 3
|
|
1003
|
+
}
|
|
1004
|
+
export declare enum SortingOption {
|
|
1005
|
+
NewestFirst = 0,
|
|
1006
|
+
OldestFirst = 1,
|
|
1007
|
+
Priority = 2
|
|
1008
|
+
}
|
|
1009
|
+
export declare class CaseDetails implements ICaseDetails {
|
|
1010
|
+
id: string;
|
|
1011
|
+
caseNumber: string;
|
|
1012
|
+
origin: string;
|
|
1013
|
+
channel: SupportChannel;
|
|
1014
|
+
status: string;
|
|
1015
|
+
priority: CasePriority;
|
|
1016
|
+
subject: string;
|
|
1017
|
+
description?: string | undefined;
|
|
1018
|
+
htmlDescription?: string | undefined;
|
|
1019
|
+
component?: string | undefined;
|
|
1020
|
+
createdDate: Date;
|
|
1021
|
+
lastModifiedDate: Date;
|
|
1022
|
+
contact: CaseContact;
|
|
1023
|
+
owner: CaseOwner;
|
|
1024
|
+
messages?: CaseMessage[] | undefined;
|
|
1025
|
+
chatTranscript?: string | undefined;
|
|
1026
|
+
commentingOptions: CommentingOptions;
|
|
1027
|
+
replySubject?: string | undefined;
|
|
1028
|
+
replyRef?: string | undefined;
|
|
1029
|
+
account: CaseAccount;
|
|
1030
|
+
impersonationConsent: ImpersonationConsent;
|
|
1031
|
+
surveyUrl?: string | undefined;
|
|
1032
|
+
constructor(data?: ICaseDetails);
|
|
1033
|
+
init(_data?: any): void;
|
|
1034
|
+
static fromJS(data: any): CaseDetails;
|
|
1035
|
+
toJSON(data?: any): any;
|
|
1036
|
+
}
|
|
1037
|
+
export interface ICaseDetails {
|
|
1038
|
+
id: string;
|
|
1039
|
+
caseNumber: string;
|
|
1040
|
+
origin: string;
|
|
1041
|
+
channel: SupportChannel;
|
|
1042
|
+
status: string;
|
|
1043
|
+
priority: CasePriority;
|
|
1044
|
+
subject: string;
|
|
1045
|
+
description?: string | undefined;
|
|
1046
|
+
htmlDescription?: string | undefined;
|
|
1047
|
+
component?: string | undefined;
|
|
1048
|
+
createdDate: Date;
|
|
1049
|
+
lastModifiedDate: Date;
|
|
1050
|
+
contact: CaseContact;
|
|
1051
|
+
owner: CaseOwner;
|
|
1052
|
+
messages?: CaseMessage[] | undefined;
|
|
1053
|
+
chatTranscript?: string | undefined;
|
|
1054
|
+
commentingOptions: CommentingOptions;
|
|
1055
|
+
replySubject?: string | undefined;
|
|
1056
|
+
replyRef?: string | undefined;
|
|
1057
|
+
account: CaseAccount;
|
|
1058
|
+
impersonationConsent: ImpersonationConsent;
|
|
1059
|
+
surveyUrl?: string | undefined;
|
|
1060
|
+
}
|
|
1061
|
+
export declare class CaseOwner implements ICaseOwner {
|
|
1062
|
+
name?: string;
|
|
1063
|
+
constructor(data?: ICaseOwner);
|
|
1064
|
+
init(_data?: any): void;
|
|
1065
|
+
static fromJS(data: any): CaseOwner;
|
|
1066
|
+
toJSON(data?: any): any;
|
|
1067
|
+
}
|
|
1068
|
+
export interface ICaseOwner {
|
|
1069
|
+
name?: string;
|
|
1070
|
+
}
|
|
1071
|
+
export declare class CaseMessage implements ICaseMessage {
|
|
1072
|
+
isAgent: boolean;
|
|
1073
|
+
name: string;
|
|
1074
|
+
body: string;
|
|
1075
|
+
htmlBody: string;
|
|
1076
|
+
attachments?: CaseAttachment[] | undefined;
|
|
1077
|
+
messageDate: Date;
|
|
1078
|
+
constructor(data?: ICaseMessage);
|
|
1079
|
+
init(_data?: any): void;
|
|
1080
|
+
static fromJS(data: any): CaseMessage;
|
|
1081
|
+
toJSON(data?: any): any;
|
|
1082
|
+
}
|
|
1083
|
+
export interface ICaseMessage {
|
|
1084
|
+
isAgent: boolean;
|
|
1085
|
+
name: string;
|
|
1086
|
+
body: string;
|
|
1087
|
+
htmlBody: string;
|
|
1088
|
+
attachments?: CaseAttachment[] | undefined;
|
|
1089
|
+
messageDate: Date;
|
|
1090
|
+
}
|
|
1091
|
+
export declare class CaseAttachment implements ICaseAttachment {
|
|
1092
|
+
name: string;
|
|
1093
|
+
downloadUrl?: string | undefined;
|
|
1094
|
+
constructor(data?: ICaseAttachment);
|
|
1095
|
+
init(_data?: any): void;
|
|
1096
|
+
static fromJS(data: any): CaseAttachment;
|
|
1097
|
+
toJSON(data?: any): any;
|
|
1098
|
+
}
|
|
1099
|
+
export interface ICaseAttachment {
|
|
1100
|
+
name: string;
|
|
1101
|
+
downloadUrl?: string | undefined;
|
|
1102
|
+
}
|
|
1103
|
+
export declare enum CommentingOptions {
|
|
1104
|
+
None = 0,
|
|
1105
|
+
Allowed = 1,
|
|
1106
|
+
WaitingAgent = 2,
|
|
1107
|
+
Closed = 3
|
|
1108
|
+
}
|
|
1109
|
+
export declare class EmailResult implements IEmailResult {
|
|
1110
|
+
succeeded?: boolean;
|
|
1111
|
+
error?: string | undefined;
|
|
1112
|
+
constructor(data?: IEmailResult);
|
|
1113
|
+
init(_data?: any): void;
|
|
1114
|
+
static fromJS(data: any): EmailResult;
|
|
1115
|
+
toJSON(data?: any): any;
|
|
1116
|
+
}
|
|
1117
|
+
export interface IEmailResult {
|
|
1118
|
+
succeeded?: boolean;
|
|
1119
|
+
error?: string | undefined;
|
|
1120
|
+
}
|
|
1121
|
+
export declare class SupportOnline implements ISupportOnline {
|
|
1122
|
+
isOnline: boolean;
|
|
1123
|
+
changeStatusTimeInSeconds: number;
|
|
1124
|
+
constructor(data?: ISupportOnline);
|
|
1125
|
+
init(_data?: any): void;
|
|
1126
|
+
static fromJS(data: any): SupportOnline;
|
|
1127
|
+
toJSON(data?: any): any;
|
|
1128
|
+
}
|
|
1129
|
+
export interface ISupportOnline {
|
|
1130
|
+
isOnline: boolean;
|
|
1131
|
+
changeStatusTimeInSeconds: number;
|
|
1132
|
+
}
|
|
1133
|
+
export declare class CallbackResponse implements ICallbackResponse {
|
|
1134
|
+
success: boolean;
|
|
1135
|
+
error?: string | undefined;
|
|
1136
|
+
constructor(data?: ICallbackResponse);
|
|
1137
|
+
init(_data?: any): void;
|
|
1138
|
+
static fromJS(data: any): CallbackResponse;
|
|
1139
|
+
toJSON(data?: any): any;
|
|
1140
|
+
}
|
|
1141
|
+
export interface ICallbackResponse {
|
|
1142
|
+
success: boolean;
|
|
1143
|
+
error?: string | undefined;
|
|
1144
|
+
}
|
|
1145
|
+
export declare class CallbackRequest implements ICallbackRequest {
|
|
1146
|
+
caseTrackingId: string;
|
|
1147
|
+
componentId: string;
|
|
1148
|
+
callbackNumber: string;
|
|
1149
|
+
name: string;
|
|
1150
|
+
subject: string;
|
|
1151
|
+
description: string;
|
|
1152
|
+
chatbotSessionId?: number | undefined;
|
|
1153
|
+
externalUserId?: string | undefined;
|
|
1154
|
+
constructor(data?: ICallbackRequest);
|
|
1155
|
+
init(_data?: any): void;
|
|
1156
|
+
static fromJS(data: any): CallbackRequest;
|
|
1157
|
+
toJSON(data?: any): any;
|
|
1158
|
+
}
|
|
1159
|
+
export interface ICallbackRequest {
|
|
1160
|
+
caseTrackingId: string;
|
|
1161
|
+
componentId: string;
|
|
1162
|
+
callbackNumber: string;
|
|
1163
|
+
name: string;
|
|
1164
|
+
subject: string;
|
|
1165
|
+
description: string;
|
|
1166
|
+
chatbotSessionId?: number | undefined;
|
|
1167
|
+
externalUserId?: string | undefined;
|
|
1168
|
+
}
|
|
1169
|
+
export declare class NewCaseResponse implements INewCaseResponse {
|
|
1170
|
+
caseTrackingId: string;
|
|
1171
|
+
constructor(data?: INewCaseResponse);
|
|
1172
|
+
init(_data?: any): void;
|
|
1173
|
+
static fromJS(data: any): NewCaseResponse;
|
|
1174
|
+
toJSON(data?: any): any;
|
|
1175
|
+
}
|
|
1176
|
+
export interface INewCaseResponse {
|
|
1177
|
+
caseTrackingId: string;
|
|
1178
|
+
}
|
|
1179
|
+
export declare class NewCaseRequest implements INewCaseRequest {
|
|
1180
|
+
chatbotSessionId?: number | undefined;
|
|
1181
|
+
impersonationAccess?: boolean;
|
|
1182
|
+
constructor(data?: INewCaseRequest);
|
|
1183
|
+
init(_data?: any): void;
|
|
1184
|
+
static fromJS(data: any): NewCaseRequest;
|
|
1185
|
+
toJSON(data?: any): any;
|
|
1186
|
+
}
|
|
1187
|
+
export interface INewCaseRequest {
|
|
1188
|
+
chatbotSessionId?: number | undefined;
|
|
1189
|
+
impersonationAccess?: boolean;
|
|
1190
|
+
}
|
|
1191
|
+
export declare class ImpersonationConsentDto implements IImpersonationConsentDto {
|
|
1192
|
+
id?: string;
|
|
1193
|
+
active?: boolean | undefined;
|
|
1194
|
+
type?: ImpersonationConsentType | undefined;
|
|
1195
|
+
userId?: number;
|
|
1196
|
+
expiredAt?: Date;
|
|
1197
|
+
impersonators?: string[];
|
|
1198
|
+
comment?: string | undefined;
|
|
1199
|
+
constructor(data?: IImpersonationConsentDto);
|
|
1200
|
+
init(_data?: any): void;
|
|
1201
|
+
static fromJS(data: any): ImpersonationConsentDto;
|
|
1202
|
+
toJSON(data?: any): any;
|
|
1203
|
+
}
|
|
1204
|
+
export interface IImpersonationConsentDto {
|
|
1205
|
+
id?: string;
|
|
1206
|
+
active?: boolean | undefined;
|
|
1207
|
+
type?: ImpersonationConsentType | undefined;
|
|
1208
|
+
userId?: number;
|
|
1209
|
+
expiredAt?: Date;
|
|
1210
|
+
impersonators?: string[];
|
|
1211
|
+
comment?: string | undefined;
|
|
1212
|
+
}
|
|
1213
|
+
export declare enum ImpersonationConsentType {
|
|
1214
|
+
Unknown = 0,
|
|
1215
|
+
TenantLevel = 10,
|
|
1216
|
+
CaseLevel = 20
|
|
1217
|
+
}
|
|
1218
|
+
export declare class MakeTokenRequest implements IMakeTokenRequest {
|
|
1219
|
+
validity?: string;
|
|
1220
|
+
claims?: {
|
|
1221
|
+
[key: string]: any;
|
|
1222
|
+
};
|
|
1223
|
+
constructor(data?: IMakeTokenRequest);
|
|
1224
|
+
init(_data?: any): void;
|
|
1225
|
+
static fromJS(data: any): MakeTokenRequest;
|
|
1226
|
+
toJSON(data?: any): any;
|
|
1227
|
+
}
|
|
1228
|
+
export interface IMakeTokenRequest {
|
|
1229
|
+
validity?: string;
|
|
1230
|
+
claims?: {
|
|
1231
|
+
[key: string]: any;
|
|
1232
|
+
};
|
|
1233
|
+
}
|
|
1234
|
+
export interface FileParameter {
|
|
1235
|
+
data: any;
|
|
1236
|
+
fileName: string;
|
|
1237
|
+
}
|
|
1238
|
+
export interface FileResponse {
|
|
1239
|
+
data: Blob;
|
|
1240
|
+
status: number;
|
|
1241
|
+
fileName?: string;
|
|
1242
|
+
headers?: {
|
|
1243
|
+
[name: string]: any;
|
|
1244
|
+
};
|
|
1245
|
+
}
|
|
1246
|
+
export declare class ApiException extends Error {
|
|
1247
|
+
message: string;
|
|
1248
|
+
status: number;
|
|
1249
|
+
response: string;
|
|
1250
|
+
headers: {
|
|
1251
|
+
[key: string]: any;
|
|
1252
|
+
};
|
|
1253
|
+
result: any;
|
|
1254
|
+
constructor(message: string, status: number, response: string, headers: {
|
|
1255
|
+
[key: string]: any;
|
|
1256
|
+
}, result: any);
|
|
1257
|
+
protected isApiException: boolean;
|
|
1258
|
+
static isApiException(obj: any): obj is ApiException;
|
|
1259
|
+
}
|
|
1260
|
+
//# sourceMappingURL=native-client.d.ts.map
|