@opencx/widget 3.0.99 → 4.0.17

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 (146) hide show
  1. package/README.md +3 -73
  2. package/dist-embed/script.js +151 -194
  3. package/dist-embed/script.js.map +1 -1
  4. package/package.json +11 -173
  5. package/dist/designs.cjs +0 -79
  6. package/dist/designs.cjs.map +0 -1
  7. package/dist/designs.d.ts +0 -2
  8. package/dist/designs.js +0 -17770
  9. package/dist/designs.js.map +0 -1
  10. package/dist/index.cjs +0 -2
  11. package/dist/index.cjs.map +0 -1
  12. package/dist/index.d.ts +0 -2
  13. package/dist/index.js +0 -8
  14. package/dist/index.js.map +0 -1
  15. package/dist/is-exhaustive-9o43S91P.cjs +0 -2
  16. package/dist/is-exhaustive-9o43S91P.cjs.map +0 -1
  17. package/dist/is-exhaustive-DGJzQK69.js +0 -7
  18. package/dist/is-exhaustive-DGJzQK69.js.map +0 -1
  19. package/dist/react.cjs +0 -2
  20. package/dist/react.cjs.map +0 -1
  21. package/dist/react.d.ts +0 -2
  22. package/dist/react.js +0 -34
  23. package/dist/react.js.map +0 -1
  24. package/dist/src/designs/react/WidgetPopoverAnchor.d.ts +0 -2
  25. package/dist/src/designs/react/WidgetPopoverContent.d.ts +0 -3
  26. package/dist/src/designs/react/WidgetPopoverTrigger.d.ts +0 -3
  27. package/dist/src/designs/react/components/AgentOrBotAvatar.d.ts +0 -6
  28. package/dist/src/designs/react/components/AttachmentPreview.d.ts +0 -7
  29. package/dist/src/designs/react/components/BotOrAgentMessage.d.ts +0 -7
  30. package/dist/src/designs/react/components/BotOrAgentMessageGroup.d.ts +0 -7
  31. package/dist/src/designs/react/components/Header.d.ts +0 -3
  32. package/dist/src/designs/react/components/MightSolveUserIssueSuggestedReplies.d.ts +0 -2
  33. package/dist/src/designs/react/components/PoweredByOpen.d.ts +0 -4
  34. package/dist/src/designs/react/components/SuggestedReplyButton.d.ts +0 -5
  35. package/dist/src/designs/react/components/UserMessage.d.ts +0 -8
  36. package/dist/src/designs/react/components/UserMessageGroup.d.ts +0 -5
  37. package/dist/src/designs/react/components/VoteButtons.d.ts +0 -8
  38. package/dist/src/designs/react/components/custom-components/BotOrAgentTextResponse.component.d.ts +0 -16
  39. package/dist/src/designs/react/components/custom-components/Fallback.component.d.ts +0 -6
  40. package/dist/src/designs/react/components/custom-components/Handoff.component.d.ts +0 -3
  41. package/dist/src/designs/react/components/custom-components/Loading.component.d.ts +0 -6
  42. package/dist/src/designs/react/components/lib/DynamicIcon.d.ts +0 -6
  43. package/dist/src/designs/react/components/lib/LoadingSpinner.d.ts +0 -4
  44. package/dist/src/designs/react/components/lib/MotionDiv.d.ts +0 -19
  45. package/dist/src/designs/react/components/lib/avatar.d.ts +0 -6
  46. package/dist/src/designs/react/components/lib/button.d.ts +0 -11
  47. package/dist/src/designs/react/components/lib/dialog.d.ts +0 -24
  48. package/dist/src/designs/react/components/lib/dropdown-menu.d.ts +0 -27
  49. package/dist/src/designs/react/components/lib/input.d.ts +0 -4
  50. package/dist/src/designs/react/components/lib/popover.d.ts +0 -8
  51. package/dist/src/designs/react/components/lib/skeleton.d.ts +0 -3
  52. package/dist/src/designs/react/components/lib/switch.d.ts +0 -4
  53. package/dist/src/designs/react/components/lib/tooltip.d.ts +0 -10
  54. package/dist/src/designs/react/components/lib/utils/cn.d.ts +0 -2
  55. package/dist/src/designs/react/components/lib/widget-portal.d.ts +0 -9
  56. package/dist/src/designs/react/components/lib/wobble.d.ts +0 -26
  57. package/dist/src/designs/react/components/markdown.d.ts +0 -3
  58. package/dist/src/designs/react/components/svg/ChatBubbleSvg.d.ts +0 -5
  59. package/dist/src/designs/react/components/svg/OpenLogoSvg.d.ts +0 -4
  60. package/dist/src/designs/react/hooks/useCanvas.d.ts +0 -3
  61. package/dist/src/designs/react/hooks/useIsSmallScreen.d.ts +0 -3
  62. package/dist/src/designs/react/hooks/useLocale.d.ts +0 -6
  63. package/dist/src/designs/react/hooks/useSetWidgetSize.d.ts +0 -8
  64. package/dist/src/designs/react/hooks/useTheme.d.ts +0 -62
  65. package/dist/src/designs/react/hooks/useWidgetContentHeight.d.ts +0 -3
  66. package/dist/src/designs/react/index.d.ts +0 -9
  67. package/dist/src/designs/react/screens/chat/ChatCanvas.d.ts +0 -2
  68. package/dist/src/designs/react/screens/chat/ChatFooter.d.ts +0 -2
  69. package/dist/src/designs/react/screens/chat/ChatMain.d.ts +0 -2
  70. package/dist/src/designs/react/screens/chat/index.d.ts +0 -2
  71. package/dist/src/designs/react/screens/index.d.ts +0 -2
  72. package/dist/src/designs/react/screens/sessions/index.d.ts +0 -2
  73. package/dist/src/designs/react/screens/welcome/index.d.ts +0 -2
  74. package/dist/src/designs/react/utils/data-component.d.ts +0 -7
  75. package/dist/src/designs/react/utils/group-messages-by-type.d.ts +0 -5
  76. package/dist/src/designs/translation/ar.locale.d.ts +0 -2
  77. package/dist/src/designs/translation/de.locale.d.ts +0 -2
  78. package/dist/src/designs/translation/en.locale.d.ts +0 -2
  79. package/dist/src/designs/translation/es.locale.d.ts +0 -2
  80. package/dist/src/designs/translation/fr.locale.d.ts +0 -2
  81. package/dist/src/designs/translation/index.d.ts +0 -16
  82. package/dist/src/designs/translation/nl.locale.d.ts +0 -2
  83. package/dist/src/designs/translation/pt.locale.d.ts +0 -2
  84. package/dist/src/designs/translation/tr.locale.d.ts +0 -2
  85. package/dist/src/designs/translation/translation.types.d.ts +0 -4
  86. package/dist/src/embedded/index.d.ts +0 -11
  87. package/dist/src/headless/core/__tests__/api-caller.mock.d.ts +0 -1
  88. package/dist/src/headless/core/__tests__/context/contact/auth/auto-create-unverified-anonymous.spec.d.ts +0 -0
  89. package/dist/src/headless/core/__tests__/context/contact/auth/auto-create-unverified-with-user-data-provided-by-org.spec.d.ts +0 -0
  90. package/dist/src/headless/core/__tests__/context/contact/auth/manually-create-unverified-with-user-data-provided-by-user.spec.d.ts +0 -0
  91. package/dist/src/headless/core/__tests__/context/contact/auth/with-secure-token.spec.d.ts +0 -0
  92. package/dist/src/headless/core/__tests__/context/contact/should-collect-data.spec.d.ts +0 -0
  93. package/dist/src/headless/core/__tests__/test-utils.d.ts +0 -419
  94. package/dist/src/headless/core/__tests__/utils/Poller.spec.d.ts +0 -1
  95. package/dist/src/headless/core/__tests__/utils/PrimitiveState.spec.d.ts +0 -1
  96. package/dist/src/headless/core/__tests__/utils/uuid.spec.d.ts +0 -1
  97. package/dist/src/headless/core/api/api-caller.d.ts +0 -437
  98. package/dist/src/headless/core/api/client.d.ts +0 -12
  99. package/dist/src/headless/core/api/schema.d.ts +0 -928
  100. package/dist/src/headless/core/context/active-session-polling.ctx.d.ts +0 -25
  101. package/dist/src/headless/core/context/contact.ctx.d.ts +0 -30
  102. package/dist/src/headless/core/context/message.ctx.d.ts +0 -38
  103. package/dist/src/headless/core/context/router.ctx.d.ts +0 -33
  104. package/dist/src/headless/core/context/session.ctx.d.ts +0 -119
  105. package/dist/src/headless/core/context/storage.ctx.d.ts +0 -15
  106. package/dist/src/headless/core/context/widget.ctx.d.ts +0 -27
  107. package/dist/src/headless/core/index.d.ts +0 -15
  108. package/dist/src/headless/core/types/agent-or-bot.d.ts +0 -6
  109. package/dist/src/headless/core/types/component-name.d.ts +0 -1
  110. package/dist/src/headless/core/types/dtos.d.ts +0 -12
  111. package/dist/src/headless/core/types/external-storage.d.ts +0 -5
  112. package/dist/src/headless/core/types/helpers.d.ts +0 -2
  113. package/dist/src/headless/core/types/icons.d.ts +0 -3
  114. package/dist/src/headless/core/types/json-value.d.ts +0 -7
  115. package/dist/src/headless/core/types/messages.d.ts +0 -55
  116. package/dist/src/headless/core/types/widget-config.d.ts +0 -400
  117. package/dist/src/headless/core/utils/Poller.d.ts +0 -12
  118. package/dist/src/headless/core/utils/PrimitiveState.d.ts +0 -13
  119. package/dist/src/headless/core/utils/is-exhaustive.d.ts +0 -1
  120. package/dist/src/headless/core/utils/run-catching.d.ts +0 -13
  121. package/dist/src/headless/core/utils/uuid.d.ts +0 -1
  122. package/dist/src/headless/react/ComponentRegistry.d.ts +0 -10
  123. package/dist/src/headless/react/WidgetProvider.d.ts +0 -25
  124. package/dist/src/headless/react/hooks/useConfig.d.ts +0 -1
  125. package/dist/src/headless/react/hooks/useContact.d.ts +0 -12
  126. package/dist/src/headless/react/hooks/useDocumentDir.d.ts +0 -3
  127. package/dist/src/headless/react/hooks/useIsAwaitingBotReply.d.ts +0 -3
  128. package/dist/src/headless/react/hooks/useMessages.d.ts +0 -14
  129. package/dist/src/headless/react/hooks/useModes.d.ts +0 -15
  130. package/dist/src/headless/react/hooks/usePreludeData.d.ts +0 -38
  131. package/dist/src/headless/react/hooks/usePrimitiveState.d.ts +0 -2
  132. package/dist/src/headless/react/hooks/useSessions.d.ts +0 -104
  133. package/dist/src/headless/react/hooks/useUploadFiles.d.ts +0 -21
  134. package/dist/src/headless/react/hooks/useVote.d.ts +0 -18
  135. package/dist/src/headless/react/hooks/useWidgetRouter.d.ts +0 -7
  136. package/dist/src/headless/react/hooks/useWidgetTrigger.d.ts +0 -10
  137. package/dist/src/headless/react/index.d.ts +0 -14
  138. package/dist/src/headless/react/types/components.d.ts +0 -7
  139. package/dist/useModes-CtIywY2i.cjs +0 -2
  140. package/dist/useModes-CtIywY2i.cjs.map +0 -1
  141. package/dist/useModes-GTENcGQD.js +0 -259
  142. package/dist/useModes-GTENcGQD.js.map +0 -1
  143. package/dist/widget.ctx-B-jCTG4Y.js +0 -698
  144. package/dist/widget.ctx-B-jCTG4Y.js.map +0 -1
  145. package/dist/widget.ctx-XvIjOOOZ.cjs +0 -5
  146. package/dist/widget.ctx-XvIjOOOZ.cjs.map +0 -1
@@ -1,2 +0,0 @@
1
- import { TranslationInterface } from './translation.types';
2
- export declare const deLocale: TranslationInterface;
@@ -1,2 +0,0 @@
1
- import { TranslationInterface } from './translation.types';
2
- export declare const enLocale: TranslationInterface;
@@ -1,2 +0,0 @@
1
- import { TranslationInterface } from './translation.types';
2
- export declare const esLocale: TranslationInterface;
@@ -1,2 +0,0 @@
1
- import { TranslationInterface } from './translation.types';
2
- export declare const frLocale: TranslationInterface;
@@ -1,16 +0,0 @@
1
- import { TranslationKeysU } from './translation.types';
2
- declare const locales: {
3
- readonly en: import('./translation.types').TranslationInterface;
4
- readonly ar: import('./translation.types').TranslationInterface;
5
- readonly nl: import('./translation.types').TranslationInterface;
6
- readonly fr: import('./translation.types').TranslationInterface;
7
- readonly de: import('./translation.types').TranslationInterface;
8
- readonly pt: import('./translation.types').TranslationInterface;
9
- readonly es: import('./translation.types').TranslationInterface;
10
- readonly tr: import('./translation.types').TranslationInterface;
11
- };
12
- export declare const LOCALES: (keyof typeof locales)[];
13
- export type Locale = (typeof LOCALES)[number];
14
- export declare const isSupportedLocale: (lang: string | null | undefined) => lang is Locale;
15
- export declare function getTranslation(key: TranslationKeysU, lang: Locale): string;
16
- export {};
@@ -1,2 +0,0 @@
1
- import { TranslationInterface } from './translation.types';
2
- export declare const nlLocale: TranslationInterface;
@@ -1,2 +0,0 @@
1
- import { TranslationInterface } from './translation.types';
2
- export declare const ptLocale: TranslationInterface;
@@ -1,2 +0,0 @@
1
- import { TranslationInterface } from './translation.types';
2
- export declare const trLocale: TranslationInterface;
@@ -1,4 +0,0 @@
1
- export type TranslationKeysU = 'i-need-more-help' | 'this-was-helpful' | 'write-a-message' | 'session-closed-lead' | 'new-conversation' | 'back-to-conversations' | 'closed-conversations' | 'no-conversations-yet' | 'welcome-title' | 'welcome-description' | 'your-name' | 'your-email' | 'optional' | 'start-chat' | 'starting-chat';
2
- export type TranslationInterface = {
3
- [K in TranslationKeysU]: string;
4
- };
@@ -1,11 +0,0 @@
1
- import { default as React } from 'react';
2
- import { WidgetConfig } from '../headless/core';
3
- declare global {
4
- interface Window {
5
- initOpenScript: typeof initOpenScript;
6
- openCXWidgetVersion: string;
7
- }
8
- }
9
- declare function initOpenScript(options: WidgetConfig): void;
10
- export declare function render(rootId: string, component: React.JSX.Element): void;
11
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1,419 +0,0 @@
1
- import { ApiCaller } from '../api/api-caller';
2
- export declare const TestUtils: {
3
- sleep: (ms: number) => Promise<unknown>;
4
- mock: {
5
- ApiCaller: {
6
- createSession(target: typeof ApiCaller, returnValue: Partial<import('openapi-fetch').FetchResponse<{
7
- parameters: {
8
- query?: never;
9
- header?: never;
10
- path?: never;
11
- cookie?: never;
12
- };
13
- requestBody: {
14
- content: {
15
- "application/json": import('../api/schema').components["schemas"]["CreateWidgetSessionDto"];
16
- };
17
- };
18
- responses: {
19
- 200: {
20
- headers: {
21
- [name: string]: unknown;
22
- };
23
- content: {
24
- "application/json": import('../api/schema').components["schemas"]["WidgetSessionDto"];
25
- };
26
- };
27
- 500: {
28
- headers: {
29
- [name: string]: unknown;
30
- };
31
- content: {
32
- "application/json": import('../api/schema').components["schemas"]["ErrorDto"];
33
- };
34
- };
35
- };
36
- }, {
37
- body: {
38
- customData?: {
39
- [key: string]: string | number | boolean | unknown | unknown;
40
- };
41
- };
42
- }, `${string}/${string}`>> | undefined): void;
43
- createUnverifiedContact(target: typeof ApiCaller, returnValue: Partial<import('openapi-fetch').FetchResponse<{
44
- parameters: {
45
- query?: never;
46
- header: {
47
- "x-bot-token": string;
48
- };
49
- path?: never;
50
- cookie?: never;
51
- };
52
- requestBody: {
53
- content: {
54
- "application/json": import('../api/schema').components["schemas"]["CreateUnverifiedContactDto"];
55
- };
56
- };
57
- responses: {
58
- 200: {
59
- headers: {
60
- [name: string]: unknown;
61
- };
62
- content: {
63
- "application/json": import('../api/schema').components["schemas"]["WidgetContactTokenResponseDto"];
64
- };
65
- };
66
- 500: {
67
- headers: {
68
- [name: string]: unknown;
69
- };
70
- content: {
71
- "application/json": import('../api/schema').components["schemas"]["ErrorDto"];
72
- };
73
- };
74
- };
75
- }, {
76
- params: {
77
- header: {
78
- 'x-bot-token': string;
79
- };
80
- };
81
- body: {
82
- email?: string;
83
- non_verified_name?: string;
84
- non_verified_custom_data?: {
85
- [key: string]: string | number | boolean;
86
- };
87
- };
88
- }, `${string}/${string}`>> | undefined): void;
89
- getSessions(target: typeof ApiCaller, returnValue: Partial<import('openapi-fetch').FetchResponse<{
90
- parameters: {
91
- query: {
92
- filters: string;
93
- cursor?: string;
94
- };
95
- header?: never;
96
- path?: never;
97
- cookie?: never;
98
- };
99
- requestBody?: never;
100
- responses: {
101
- 200: {
102
- headers: {
103
- [name: string]: unknown;
104
- };
105
- content: {
106
- "application/json": import('../api/schema').components["schemas"]["PaginatedWidgetSessionsDto"];
107
- };
108
- };
109
- 500: {
110
- headers: {
111
- [name: string]: unknown;
112
- };
113
- content: {
114
- "application/json": import('../api/schema').components["schemas"]["ErrorDto"];
115
- };
116
- };
117
- };
118
- }, {
119
- params: {
120
- query: {
121
- cursor: string | undefined;
122
- filters: string;
123
- };
124
- };
125
- signal: AbortSignal | undefined;
126
- }, `${string}/${string}`>> | undefined): void;
127
- sendMessage(target: typeof ApiCaller, returnValue: Partial<import('openapi-fetch').FetchResponse<{
128
- parameters: {
129
- query?: never;
130
- header?: never;
131
- path?: never;
132
- cookie?: never;
133
- };
134
- requestBody: {
135
- content: {
136
- "application/json": import('../api/schema').components["schemas"]["WidgetSendMessageInputDto"];
137
- };
138
- };
139
- responses: {
140
- 200: {
141
- headers: {
142
- [name: string]: unknown;
143
- };
144
- content: {
145
- "application/json": import('../api/schema').components["schemas"]["WidgetSendMessageOutputDto"];
146
- };
147
- };
148
- 500: {
149
- headers: {
150
- [name: string]: unknown;
151
- };
152
- content: {
153
- "application/json": import('../api/schema').components["schemas"]["ErrorDto"];
154
- };
155
- };
156
- };
157
- }, {
158
- body: {
159
- uuid: string;
160
- content: string;
161
- session_id: string;
162
- bot_token: string;
163
- headers?: {
164
- [key: string]: string;
165
- } | null;
166
- query_params?: {
167
- [key: string]: string;
168
- } | null;
169
- body_properties?: {
170
- [key: string]: unknown;
171
- } | null;
172
- language?: string | null;
173
- attachments?: {
174
- id: string;
175
- name: string;
176
- size: number;
177
- type: string;
178
- url: string;
179
- }[] | null;
180
- clientContext?: {
181
- [key: string]: unknown;
182
- } | null;
183
- custom_data?: {
184
- [key: string]: unknown;
185
- } | null;
186
- exit_mode_prompt?: string;
187
- };
188
- signal: AbortSignal | undefined;
189
- }, `${string}/${string}`>> | undefined): void;
190
- setAuthToken(target: typeof ApiCaller, _returnValue: void | undefined): void;
191
- uploadFile(target: typeof ApiCaller, _returnValue: Partial<{
192
- fileName: string;
193
- fileUrl: string;
194
- }> | undefined): void;
195
- vote(target: typeof ApiCaller, returnValue: Partial<import('openapi-fetch').FetchResponse<{
196
- parameters: {
197
- query?: never;
198
- header?: never;
199
- path?: never;
200
- cookie?: never;
201
- };
202
- requestBody: {
203
- content: {
204
- "application/json": import('../api/schema').components["schemas"]["WidgetVoteDto"];
205
- };
206
- };
207
- responses: {
208
- 200: {
209
- headers: {
210
- [name: string]: unknown;
211
- };
212
- content: {
213
- "application/json": import('../api/schema').components["schemas"]["WidgetVoteResponseDto"];
214
- };
215
- };
216
- 500: {
217
- headers: {
218
- [name: string]: unknown;
219
- };
220
- content: {
221
- "application/json": import('../api/schema').components["schemas"]["ErrorDto"];
222
- };
223
- };
224
- };
225
- }, {
226
- body: {
227
- action: "upvote" | "downvote";
228
- sessionId: string;
229
- messagePublicId: string;
230
- };
231
- }, `${string}/${string}`>> | undefined): void;
232
- widgetPrelude(target: typeof ApiCaller, returnValue: Partial<import('openapi-fetch').FetchResponse<{
233
- parameters: {
234
- query?: never;
235
- header: {
236
- "X-Bot-Token": string;
237
- };
238
- path?: never;
239
- cookie?: never;
240
- };
241
- requestBody?: never;
242
- responses: {
243
- 200: {
244
- headers: {
245
- [name: string]: unknown;
246
- };
247
- content: {
248
- "application/json": import('../api/schema').components["schemas"]["WidgetPreludeDto"];
249
- };
250
- };
251
- 500: {
252
- headers: {
253
- [name: string]: unknown;
254
- };
255
- content: {
256
- "application/json": import('../api/schema').components["schemas"]["ErrorDto"];
257
- };
258
- };
259
- };
260
- }, {
261
- params: {
262
- header: {
263
- 'X-Bot-Token': string;
264
- };
265
- };
266
- }, `${string}/${string}`>> | undefined): void;
267
- getExternalWidgetConfig(target: typeof ApiCaller, returnValue: Partial<import('openapi-fetch').FetchResponse<{
268
- parameters: {
269
- query?: never;
270
- header: {
271
- "X-Bot-Token": string;
272
- };
273
- path?: never;
274
- cookie?: never;
275
- };
276
- requestBody?: never;
277
- responses: {
278
- 200: {
279
- headers: {
280
- [name: string]: unknown;
281
- };
282
- content: {
283
- "application/json": import('../api/schema').components["schemas"]["WidgetConfigDto"];
284
- };
285
- };
286
- 500: {
287
- headers: {
288
- [name: string]: unknown;
289
- };
290
- content: {
291
- "application/json": import('../api/schema').components["schemas"]["ErrorDto"];
292
- };
293
- };
294
- };
295
- }, {
296
- params: {
297
- header: {
298
- 'X-Bot-Token': string;
299
- };
300
- };
301
- }, `${string}/${string}`>> | undefined): void;
302
- pollSessionAndHistory(target: typeof ApiCaller, returnValue: Partial<import('openapi-fetch').FetchResponse<{
303
- parameters: {
304
- query?: {
305
- lastMessageTimestamp?: string;
306
- };
307
- header?: never;
308
- path: {
309
- sessionId: string;
310
- };
311
- cookie?: never;
312
- };
313
- requestBody?: never;
314
- responses: {
315
- 200: {
316
- headers: {
317
- [name: string]: unknown;
318
- };
319
- content: {
320
- "application/json": import('../api/schema').components["schemas"]["WidgetSessionAndHistoryDto"];
321
- };
322
- };
323
- 500: {
324
- headers: {
325
- [name: string]: unknown;
326
- };
327
- content: {
328
- "application/json": import('../api/schema').components["schemas"]["ErrorDto"];
329
- };
330
- };
331
- };
332
- }, {
333
- params: {
334
- path: {
335
- sessionId: string;
336
- };
337
- query: {
338
- lastMessageTimestamp: string;
339
- } | undefined;
340
- };
341
- signal: AbortSignal;
342
- }, `${string}/${string}`>> | undefined): void;
343
- resolveSession(target: typeof ApiCaller, returnValue: Partial<import('openapi-fetch').FetchResponse<{
344
- parameters: {
345
- query?: never;
346
- header?: never;
347
- path?: never;
348
- cookie?: never;
349
- };
350
- requestBody: {
351
- content: {
352
- "application/json": import('../api/schema').components["schemas"]["WidgetResolveSessionInputDto"];
353
- };
354
- };
355
- responses: {
356
- 200: {
357
- headers: {
358
- [name: string]: unknown;
359
- };
360
- content: {
361
- "application/json": import('../api/schema').components["schemas"]["WidgetSessionDto"];
362
- };
363
- };
364
- 500: {
365
- headers: {
366
- [name: string]: unknown;
367
- };
368
- content: {
369
- "application/json": import('../api/schema').components["schemas"]["ErrorDto"];
370
- };
371
- };
372
- };
373
- }, {
374
- body: {
375
- session_id: string;
376
- };
377
- signal: AbortSignal | undefined;
378
- }, `${string}/${string}`>> | undefined): void;
379
- createStateCheckpoint(target: typeof ApiCaller, returnValue: Partial<import('openapi-fetch').FetchResponse<{
380
- parameters: {
381
- query?: never;
382
- header?: never;
383
- path?: never;
384
- cookie?: never;
385
- };
386
- requestBody: {
387
- content: {
388
- "application/json": import('../api/schema').components["schemas"]["WidgetCreateStateCheckpointInputDto"];
389
- };
390
- };
391
- responses: {
392
- 200: {
393
- headers: {
394
- [name: string]: unknown;
395
- };
396
- content: {
397
- "application/json": import('../api/schema').components["schemas"]["WidgetCreateStateCheckpointOutputDto"];
398
- };
399
- };
400
- 500: {
401
- headers: {
402
- [name: string]: unknown;
403
- };
404
- content: {
405
- "application/json": import('../api/schema').components["schemas"]["ErrorDto"];
406
- };
407
- };
408
- };
409
- }, {
410
- body: {
411
- session_id: string;
412
- payload: {
413
- [key: string]: unknown;
414
- };
415
- };
416
- }, `${string}/${string}`>> | undefined): void;
417
- };
418
- };
419
- };
@@ -1 +0,0 @@
1
- export {};