@envive-ai/react-widgets-v3 0.3.9 → 0.3.11

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 (229) hide show
  1. package/dist/_virtual/rolldown_runtime.cjs +2 -0
  2. package/dist/debug/GenericSelect.cjs +167 -0
  3. package/dist/debug/GenericSelect.js +165 -0
  4. package/dist/debug/MessageContent.cjs +151 -0
  5. package/dist/debug/MessageContent.js +149 -0
  6. package/dist/debug/chatEmbed.cjs +95 -0
  7. package/dist/debug/chatEmbed.js +92 -0
  8. package/dist/debug/debugBar.cjs +18 -0
  9. package/dist/debug/debugBar.js +17 -0
  10. package/dist/debug/reportIssue.cjs +528 -0
  11. package/dist/debug/reportIssue.js +524 -0
  12. package/dist/hocs/withBaseWidget/withBaseWidget.d.cts +2 -2
  13. package/dist/hocs/withBaseWidget/withBaseWidget.d.ts +2 -2
  14. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/apis/CustomerServiceApi.cjs +265 -0
  15. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/apis/DefaultApi.cjs +591 -0
  16. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/apis/InferenceApi.cjs +265 -0
  17. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/apis/ProductsApi.cjs +105 -0
  18. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/apis/SearchApi.cjs +229 -0
  19. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/apis/index.cjs +43 -0
  20. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/index.cjs +39 -0
  21. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/AddNoteToLatestConversationRequest.cjs +68 -0
  22. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/AddNoteToLatestConversationResponse.cjs +60 -0
  23. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/AddToCartAttributes.cjs +53 -0
  24. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/AnalyticsIdentifyRequest.cjs +86 -0
  25. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/AnalyticsTrackEventRequest.cjs +62 -0
  26. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/AttachmentRequest.cjs +63 -0
  27. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/AutoForm.cjs +55 -0
  28. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/Context.cjs +89 -0
  29. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/ConversationStatus.cjs +63 -0
  30. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/CreateConversationRequest.cjs +68 -0
  31. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/CreateConversationResponse.cjs +64 -0
  32. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/CustServiceAttachment.cjs +68 -0
  33. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/CustServiceConversation.cjs +69 -0
  34. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/CustServiceConversationMessages.cjs +67 -0
  35. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/CustServiceCustomer.cjs +60 -0
  36. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/CustServiceMessage.cjs +85 -0
  37. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/CustomerServiceProvider.cjs +63 -0
  38. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/FormResponseAttributes.cjs +61 -0
  39. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/FormResponseAttributesFormCategory.cjs +55 -0
  40. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/FormSubmittedAttributes.cjs +65 -0
  41. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/FormType.cjs +61 -0
  42. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/FulfillmentDisplayStatus.cjs +84 -0
  43. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/GenerationParams.cjs +74 -0
  44. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/GetConversationMessagesRequest.cjs +61 -0
  45. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/IsBusinessHoursRequest.cjs +54 -0
  46. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/IsBusinessHoursResponse.cjs +59 -0
  47. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/LabelValue.cjs +60 -0
  48. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/ManualForm.cjs +55 -0
  49. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/MerchRule.cjs +70 -0
  50. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/MerchRuleAction.cjs +62 -0
  51. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/MerchRuleActionAttribute.cjs +58 -0
  52. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/MerchRuleActionType.cjs +64 -0
  53. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/MerchRuleCondition.cjs +60 -0
  54. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/MerchRuleOp.cjs +61 -0
  55. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/MerchRuleStatus.cjs +62 -0
  56. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/NextMessageRequest.cjs +78 -0
  57. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/OrderItemInfo.cjs +78 -0
  58. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/OrderResponseAttributes.cjs +71 -0
  59. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/Organization.cjs +83 -0
  60. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/OrganizationConfig.cjs +82 -0
  61. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/OrganizationConfigResults.cjs +70 -0
  62. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/OrganizationSettings.cjs +62 -0
  63. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/PDPAttributes.cjs +61 -0
  64. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/PLPAttributeCategory.cjs +61 -0
  65. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/PLPAttributes.cjs +64 -0
  66. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/PLPAttributesAttributes.cjs +55 -0
  67. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/PLPIdAttributes.cjs +53 -0
  68. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/PLPUrlAttributes.cjs +53 -0
  69. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/PageVisitAttributes.cjs +62 -0
  70. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/PageVisitCategory.cjs +65 -0
  71. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/ProductRetrievalRequest.cjs +62 -0
  72. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/ProductRetrievalResponse.cjs +55 -0
  73. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/ProductSearchFilterResponseAttributes.cjs +53 -0
  74. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/ProductSearchRequest.cjs +71 -0
  75. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/ProductSearchResponse.cjs +64 -0
  76. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/ProductSearchResponseAttributes.cjs +60 -0
  77. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/ProductSearchResponseV2.cjs +64 -0
  78. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/QueryTypedAttributes.cjs +53 -0
  79. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/ReportContent.cjs +59 -0
  80. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/ReportSessionRequest.cjs +99 -0
  81. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/Response.cjs +68 -0
  82. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/ResponseCategory.cjs +69 -0
  83. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/ResponseProductAttributes.cjs +91 -0
  84. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/SearchAttributes.cjs +65 -0
  85. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/SearchResponseProduct.cjs +93 -0
  86. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/SearchSuggestionsResponse.cjs +58 -0
  87. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/SendMessageRequest.cjs +71 -0
  88. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/SendMessageResponse.cjs +55 -0
  89. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/StatsigExperiment.cjs +64 -0
  90. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/StatsigFeatureGate.cjs +62 -0
  91. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/Suggestion.cjs +70 -0
  92. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/SuggestionCategory.cjs +62 -0
  93. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/SuggestionClickedAttributes.cjs +53 -0
  94. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/SupportedEventProductCategory.cjs +62 -0
  95. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/SupportedEventRequest.cjs +67 -0
  96. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/SupportedEventResponse.cjs +78 -0
  97. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/TurnInfo.cjs +70 -0
  98. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/TurnInfoPrevUserEvent.cjs +60 -0
  99. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/UrlResolvingGenericConfig.cjs +52 -0
  100. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/UrlResolvingPDPConfig.cjs +65 -0
  101. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/UrlResolvingPLPConfig.cjs +61 -0
  102. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/UrlResolvingRequest.cjs +65 -0
  103. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/UrlResolvingResponse.cjs +73 -0
  104. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/UrlResolvingResponseSpecificDetails.cjs +59 -0
  105. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/UrlResolvingType.cjs +67 -0
  106. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/UserEvent.cjs +69 -0
  107. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/UserEventAttributes.cjs +75 -0
  108. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/UserEventCategory.cjs +70 -0
  109. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/V1GetSessionMessages200Response.cjs +67 -0
  110. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/V1SearchExplainGet200Response.cjs +63 -0
  111. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/WidgetString.cjs +60 -0
  112. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/WidgetTextRequest.cjs +73 -0
  113. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/WidgetTextResponse.cjs +66 -0
  114. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/WidgetType.cjs +69 -0
  115. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/index.cjs +221 -0
  116. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/runtime.cjs +324 -0
  117. package/dist/node_modules/react-icons/fa/index.cjs +65 -0
  118. package/dist/node_modules/react-icons/fa/index.js +61 -0
  119. package/dist/node_modules/react-icons/lib/iconBase.cjs +121 -0
  120. package/dist/node_modules/react-icons/lib/iconBase.js +119 -0
  121. package/dist/node_modules/react-icons/lib/iconContext.cjs +17 -0
  122. package/dist/node_modules/react-icons/lib/iconContext.js +14 -0
  123. package/dist/packages/icons/dist/IconCloseVariant.cjs +22 -0
  124. package/dist/packages/icons/dist/IconCloseVariant.js +22 -0
  125. package/dist/packages/icons/dist/_virtual/rolldown_runtime.cjs +27 -0
  126. package/dist/packages/icons/dist/_virtual/rolldown_runtime.js +25 -0
  127. package/dist/packages/icons/dist/node_modules/react/cjs/react-jsx-runtime.development.cjs +696 -0
  128. package/dist/packages/icons/dist/node_modules/react/cjs/react-jsx-runtime.development.js +696 -0
  129. package/dist/packages/icons/dist/node_modules/react/cjs/react-jsx-runtime.production.min.cjs +43 -0
  130. package/dist/packages/icons/dist/node_modules/react/cjs/react-jsx-runtime.production.min.js +43 -0
  131. package/dist/packages/icons/dist/node_modules/react/cjs/react.development.cjs +1528 -0
  132. package/dist/packages/icons/dist/node_modules/react/cjs/react.development.js +1528 -0
  133. package/dist/packages/icons/dist/node_modules/react/cjs/react.production.min.cjs +329 -0
  134. package/dist/packages/icons/dist/node_modules/react/cjs/react.production.min.js +329 -0
  135. package/dist/packages/icons/dist/node_modules/react/index.cjs +13 -0
  136. package/dist/packages/icons/dist/node_modules/react/index.js +13 -0
  137. package/dist/packages/icons/dist/node_modules/react/jsx-runtime.cjs +13 -0
  138. package/dist/packages/icons/dist/node_modules/react/jsx-runtime.js +13 -0
  139. package/dist/{widgets → packages/widgets}/dist/SearchResults/SearchResultsWidget.d.ts +2 -2
  140. package/dist/{widgets → packages/widgets}/dist/SearchZeroState/SearchZeroStateWidget.d.ts +2 -2
  141. package/dist/widgets/ChatPreviewComparisonWidget/ChatPreviewComparisonWidget.d.cts +3 -3
  142. package/dist/widgets/ChatPreviewComparisonWidget/ChatPreviewComparisonWidget.d.ts +3 -3
  143. package/dist/widgets/ChatPreviewLoadingWidget/ChatPreviewLoadingWidget.d.cts +3 -3
  144. package/dist/widgets/ChatPreviewLoadingWidget/ChatPreviewLoadingWidget.d.ts +3 -3
  145. package/dist/widgets/ChatPreviewWidget/ChatPreviewWidget.d.ts +3 -3
  146. package/dist/widgets/FloatingChatWidget/FloatingChatOverlay.cjs +2 -2
  147. package/dist/widgets/FloatingChatWidget/FloatingChatOverlay.js +1 -1
  148. package/dist/widgets/FloatingChatWidget/FloatingChatWidget.cjs +2 -0
  149. package/dist/widgets/FloatingChatWidget/FloatingChatWidget.d.cts +2 -2
  150. package/dist/widgets/FloatingChatWidget/FloatingChatWidget.d.ts +2 -2
  151. package/dist/widgets/FloatingChatWidget/FloatingChatWidget.js +2 -0
  152. package/dist/widgets/FloatingChatWidget/hooks/useFloatingButtonVisibility.cjs +4 -1
  153. package/dist/widgets/FloatingChatWidget/hooks/useFloatingButtonVisibility.js +5 -2
  154. package/dist/widgets/FullPageSalesAgentWidget/FullPageSalesAgentWidget.cjs +31 -0
  155. package/dist/widgets/FullPageSalesAgentWidget/FullPageSalesAgentWidget.d.cts +15 -0
  156. package/dist/widgets/FullPageSalesAgentWidget/FullPageSalesAgentWidget.d.ts +15 -0
  157. package/dist/widgets/FullPageSalesAgentWidget/FullPageSalesAgentWidget.js +30 -0
  158. package/dist/widgets/FullPageSalesAgentWidget/index.cjs +3 -0
  159. package/dist/widgets/FullPageSalesAgentWidget/index.d.cts +2 -0
  160. package/dist/widgets/FullPageSalesAgentWidget/index.d.ts +2 -0
  161. package/dist/widgets/FullPageSalesAgentWidget/index.js +3 -0
  162. package/dist/widgets/ProductCardWidget/ProductCardWidget.cjs +2 -1
  163. package/dist/widgets/ProductCardWidget/ProductCardWidget.d.cts +2 -2
  164. package/dist/widgets/ProductCardWidget/ProductCardWidget.js +2 -1
  165. package/dist/widgets/PromptButtonCarouselWithImageWidget/PromptButtonCarouselWithImageWidget.cjs +2 -1
  166. package/dist/widgets/PromptButtonCarouselWithImageWidget/PromptButtonCarouselWithImageWidget.d.cts +3 -3
  167. package/dist/widgets/PromptButtonCarouselWithImageWidget/PromptButtonCarouselWithImageWidget.d.ts +3 -3
  168. package/dist/widgets/PromptButtonCarouselWithImageWidget/PromptButtonCarouselWithImageWidget.js +2 -1
  169. package/dist/widgets/PromptCarouselWidget/PromptCarouselWidget.cjs +26 -2
  170. package/dist/widgets/PromptCarouselWidget/PromptCarouselWidget.d.cts +2 -2
  171. package/dist/widgets/PromptCarouselWidget/PromptCarouselWidget.d.ts +2 -2
  172. package/dist/widgets/PromptCarouselWidget/PromptCarouselWidget.js +27 -3
  173. package/dist/widgets/SocialProofFlowWidget/SocialProofFlowWidget.cjs +1 -1
  174. package/dist/widgets/SocialProofFlowWidget/SocialProofFlowWidget.d.cts +2 -2
  175. package/dist/widgets/SocialProofFlowWidget/SocialProofFlowWidget.js +1 -1
  176. package/dist/widgets/SocialProofWidget/SocialProofWidget.cjs +4 -2
  177. package/dist/widgets/SocialProofWidget/SocialProofWidget.d.cts +3 -3
  178. package/dist/widgets/SocialProofWidget/SocialProofWidget.d.ts +3 -3
  179. package/dist/widgets/SocialProofWidget/SocialProofWidget.js +4 -2
  180. package/dist/widgets/TitledPromptCarouselWidget/TitledPromptCarouselWidget.cjs +2 -1
  181. package/dist/widgets/TitledPromptCarouselWidget/TitledPromptCarouselWidget.d.cts +2 -2
  182. package/dist/widgets/TitledPromptCarouselWidget/TitledPromptCarouselWidget.d.ts +2 -2
  183. package/dist/widgets/TitledPromptCarouselWidget/TitledPromptCarouselWidget.js +2 -1
  184. package/dist/widgets/TypingAnimationFlowWidget/TypingAnimationFlowWidget.cjs +1 -1
  185. package/dist/widgets/TypingAnimationFlowWidget/TypingAnimationFlowWidget.d.cts +2 -2
  186. package/dist/widgets/TypingAnimationFlowWidget/TypingAnimationFlowWidget.d.ts +2 -2
  187. package/dist/widgets/TypingAnimationFlowWidget/TypingAnimationFlowWidget.js +1 -1
  188. package/dist/widgets/TypingAnimationWidget/TypingAnimationWidget.cjs +2 -1
  189. package/dist/widgets/TypingAnimationWidget/TypingAnimationWidget.d.cts +3 -3
  190. package/dist/widgets/TypingAnimationWidget/TypingAnimationWidget.d.ts +3 -3
  191. package/dist/widgets/TypingAnimationWidget/TypingAnimationWidget.js +2 -1
  192. package/dist/widgets/dist/SearchResults/SearchResultsWidget.d.cts +2 -2
  193. package/dist/widgets/dist/SearchZeroState/SearchZeroStateWidget.d.cts +2 -2
  194. package/dist/widgets-v2/SearchResults/index.d.ts +3 -3
  195. package/dist/widgets-v2/SearchZeroState/index.d.ts +4 -4
  196. package/dist/widgets-v2/SuggestionBar/index.d.ts +3 -3
  197. package/dist/widgets-v2/SuggestionButtonContainer/index.d.ts +2 -2
  198. package/package.json +5 -1
  199. package/src/debug/GenericSelect.tsx +236 -0
  200. package/src/debug/MessageContent.tsx +248 -0
  201. package/src/debug/chatEmbed.tsx +119 -0
  202. package/src/debug/debugBar.tsx +13 -0
  203. package/src/debug/reportIssue.tsx +649 -0
  204. package/src/hocs/withBaseWidget/__tests__/withBaseWidget.test.tsx +6 -0
  205. package/src/stories/FullPageSalesAgentWidget.stories.tsx +68 -0
  206. package/src/stories/SalesAgentTest/SalesAgentTest.tsx +10 -2
  207. package/src/widgets/FloatingChatWidget/FloatingChatWidget.tsx +2 -0
  208. package/src/widgets/FloatingChatWidget/hooks/useFloatingButtonVisibility.ts +11 -5
  209. package/src/widgets/FullPageSalesAgentWidget/FullPageSalesAgentWidget.tsx +46 -0
  210. package/src/widgets/FullPageSalesAgentWidget/index.ts +1 -0
  211. package/src/widgets/ProductCardWidget/ProductCardWidget.tsx +5 -1
  212. package/src/widgets/PromptButtonCarouselWithImageWidget/PromptButtonCarouselWithImageWidget.tsx +6 -1
  213. package/src/widgets/PromptCarouselWidget/PromptCarouselWidget.tsx +31 -2
  214. package/src/widgets/SocialProofWidget/SocialProofWidget.tsx +10 -2
  215. package/src/widgets/TitledPromptCarouselWidget/TitledPromptCarouselWidget.tsx +5 -1
  216. package/src/widgets/TypingAnimationWidget/TypingAnimationWidget.tsx +5 -1
  217. /package/dist/{widgets → packages/widgets}/dist/SearchResults/SearchResults.d.ts +0 -0
  218. /package/dist/{widgets → packages/widgets}/dist/SearchResults/index.d.ts +0 -0
  219. /package/dist/{widgets → packages/widgets}/dist/SearchResults/types.d.ts +0 -0
  220. /package/dist/{widgets → packages/widgets}/dist/SearchZeroState/SearchZeroState.d.ts +0 -0
  221. /package/dist/{widgets → packages/widgets}/dist/SearchZeroState/index.d.ts +0 -0
  222. /package/dist/{widgets → packages/widgets}/dist/SearchZeroState/types.d.ts +0 -0
  223. /package/dist/{widgets → packages/widgets}/dist/SuggestionBar/SuggestionBar.d.ts +0 -0
  224. /package/dist/{widgets → packages/widgets}/dist/SuggestionBar/index.d.ts +0 -0
  225. /package/dist/{widgets → packages/widgets}/dist/SuggestionBar/types.d.ts +0 -0
  226. /package/dist/{widgets → packages/widgets}/dist/SuggestionButtonContainer/SuggestionButtonContainer.d.ts +0 -0
  227. /package/dist/{widgets → packages/widgets}/dist/SuggestionButtonContainer/types.d.ts +0 -0
  228. /package/dist/{widgets → packages/widgets}/dist/config/BaseWidgetConfig.d.ts +0 -0
  229. /package/dist/{widgets → packages/widgets}/dist/config/WidgetType.d.ts +0 -0
@@ -0,0 +1,68 @@
1
+ "use strict";
2
+
3
+ const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
4
+ const require_CustomerServiceProvider$1 = require('./CustomerServiceProvider.cjs');
5
+
6
+ //#region ../../node_modules/@spiffy-ai/commerce-api-client/dist/models/AddNoteToLatestConversationRequest.js
7
+ var require_AddNoteToLatestConversationRequest = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
8
+ /**
9
+ * Commerce
10
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
11
+ *
12
+ * The version of the OpenAPI document: 1.1.0
13
+ *
14
+ *
15
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
16
+ * https://openapi-generator.tech
17
+ * Do not edit the class manually.
18
+ */
19
+ Object.defineProperty(exports, "__esModule", { value: true });
20
+ exports.instanceOfAddNoteToLatestConversationRequest = instanceOfAddNoteToLatestConversationRequest;
21
+ exports.AddNoteToLatestConversationRequestFromJSON = AddNoteToLatestConversationRequestFromJSON;
22
+ exports.AddNoteToLatestConversationRequestFromJSONTyped = AddNoteToLatestConversationRequestFromJSONTyped;
23
+ exports.AddNoteToLatestConversationRequestToJSON = AddNoteToLatestConversationRequestToJSON;
24
+ exports.AddNoteToLatestConversationRequestToJSONTyped = AddNoteToLatestConversationRequestToJSONTyped;
25
+ const CustomerServiceProvider_1 = require_CustomerServiceProvider$1.default;
26
+ /**
27
+ * Check if a given object implements the AddNoteToLatestConversationRequest interface.
28
+ */
29
+ function instanceOfAddNoteToLatestConversationRequest(value) {
30
+ if (!("email" in value) || value["email"] === void 0) return false;
31
+ if (!("spiffy_user_id" in value) || value["spiffy_user_id"] === void 0) return false;
32
+ return true;
33
+ }
34
+ function AddNoteToLatestConversationRequestFromJSON(json) {
35
+ return AddNoteToLatestConversationRequestFromJSONTyped(json, false);
36
+ }
37
+ function AddNoteToLatestConversationRequestFromJSONTyped(json, ignoreDiscriminator) {
38
+ if (json == null) return json;
39
+ return {
40
+ "customer_service_provider": json["customer_service_provider"] == null ? void 0 : (0, CustomerServiceProvider_1.CustomerServiceProviderFromJSON)(json["customer_service_provider"]),
41
+ "email": json["email"],
42
+ "name": json["name"] == null ? void 0 : json["name"],
43
+ "spiffy_user_id": json["spiffy_user_id"],
44
+ "subject": json["subject"] == null ? void 0 : json["subject"]
45
+ };
46
+ }
47
+ function AddNoteToLatestConversationRequestToJSON(json) {
48
+ return AddNoteToLatestConversationRequestToJSONTyped(json, false);
49
+ }
50
+ function AddNoteToLatestConversationRequestToJSONTyped(value, ignoreDiscriminator = false) {
51
+ if (value == null) return value;
52
+ return {
53
+ "customer_service_provider": (0, CustomerServiceProvider_1.CustomerServiceProviderToJSON)(value["customer_service_provider"]),
54
+ "email": value["email"],
55
+ "name": value["name"],
56
+ "spiffy_user_id": value["spiffy_user_id"],
57
+ "subject": value["subject"]
58
+ };
59
+ }
60
+ }));
61
+
62
+ //#endregion
63
+ Object.defineProperty(exports, 'default', {
64
+ enumerable: true,
65
+ get: function () {
66
+ return require_AddNoteToLatestConversationRequest();
67
+ }
68
+ });
@@ -0,0 +1,60 @@
1
+ "use strict";
2
+
3
+ const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
4
+
5
+ //#region ../../node_modules/@spiffy-ai/commerce-api-client/dist/models/AddNoteToLatestConversationResponse.js
6
+ var require_AddNoteToLatestConversationResponse = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
7
+ /**
8
+ * Commerce
9
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
10
+ *
11
+ * The version of the OpenAPI document: 1.1.0
12
+ *
13
+ *
14
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
15
+ * https://openapi-generator.tech
16
+ * Do not edit the class manually.
17
+ */
18
+ Object.defineProperty(exports, "__esModule", { value: true });
19
+ exports.instanceOfAddNoteToLatestConversationResponse = instanceOfAddNoteToLatestConversationResponse;
20
+ exports.AddNoteToLatestConversationResponseFromJSON = AddNoteToLatestConversationResponseFromJSON;
21
+ exports.AddNoteToLatestConversationResponseFromJSONTyped = AddNoteToLatestConversationResponseFromJSONTyped;
22
+ exports.AddNoteToLatestConversationResponseToJSON = AddNoteToLatestConversationResponseToJSON;
23
+ exports.AddNoteToLatestConversationResponseToJSONTyped = AddNoteToLatestConversationResponseToJSONTyped;
24
+ /**
25
+ * Check if a given object implements the AddNoteToLatestConversationResponse interface.
26
+ */
27
+ function instanceOfAddNoteToLatestConversationResponse(value) {
28
+ return true;
29
+ }
30
+ function AddNoteToLatestConversationResponseFromJSON(json) {
31
+ return AddNoteToLatestConversationResponseFromJSONTyped(json, false);
32
+ }
33
+ function AddNoteToLatestConversationResponseFromJSONTyped(json, ignoreDiscriminator) {
34
+ if (json == null) return json;
35
+ return {
36
+ "conversation_id": json["conversation_id"] == null ? void 0 : json["conversation_id"],
37
+ "customer_id": json["customer_id"] == null ? void 0 : json["customer_id"],
38
+ "message": json["message"] == null ? void 0 : json["message"]
39
+ };
40
+ }
41
+ function AddNoteToLatestConversationResponseToJSON(json) {
42
+ return AddNoteToLatestConversationResponseToJSONTyped(json, false);
43
+ }
44
+ function AddNoteToLatestConversationResponseToJSONTyped(value, ignoreDiscriminator = false) {
45
+ if (value == null) return value;
46
+ return {
47
+ "conversation_id": value["conversation_id"],
48
+ "customer_id": value["customer_id"],
49
+ "message": value["message"]
50
+ };
51
+ }
52
+ }));
53
+
54
+ //#endregion
55
+ Object.defineProperty(exports, 'default', {
56
+ enumerable: true,
57
+ get: function () {
58
+ return require_AddNoteToLatestConversationResponse();
59
+ }
60
+ });
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+
3
+ const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
4
+
5
+ //#region ../../node_modules/@spiffy-ai/commerce-api-client/dist/models/AddToCartAttributes.js
6
+ var require_AddToCartAttributes = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
7
+ /**
8
+ * Commerce
9
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
10
+ *
11
+ * The version of the OpenAPI document: 1.1.0
12
+ *
13
+ *
14
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
15
+ * https://openapi-generator.tech
16
+ * Do not edit the class manually.
17
+ */
18
+ Object.defineProperty(exports, "__esModule", { value: true });
19
+ exports.instanceOfAddToCartAttributes = instanceOfAddToCartAttributes;
20
+ exports.AddToCartAttributesFromJSON = AddToCartAttributesFromJSON;
21
+ exports.AddToCartAttributesFromJSONTyped = AddToCartAttributesFromJSONTyped;
22
+ exports.AddToCartAttributesToJSON = AddToCartAttributesToJSON;
23
+ exports.AddToCartAttributesToJSONTyped = AddToCartAttributesToJSONTyped;
24
+ /**
25
+ * Check if a given object implements the AddToCartAttributes interface.
26
+ */
27
+ function instanceOfAddToCartAttributes(value) {
28
+ if (!("product_id" in value) || value["product_id"] === void 0) return false;
29
+ return true;
30
+ }
31
+ function AddToCartAttributesFromJSON(json) {
32
+ return AddToCartAttributesFromJSONTyped(json, false);
33
+ }
34
+ function AddToCartAttributesFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) return json;
36
+ return { "product_id": json["product_id"] };
37
+ }
38
+ function AddToCartAttributesToJSON(json) {
39
+ return AddToCartAttributesToJSONTyped(json, false);
40
+ }
41
+ function AddToCartAttributesToJSONTyped(value, ignoreDiscriminator = false) {
42
+ if (value == null) return value;
43
+ return { "product_id": value["product_id"] };
44
+ }
45
+ }));
46
+
47
+ //#endregion
48
+ Object.defineProperty(exports, 'default', {
49
+ enumerable: true,
50
+ get: function () {
51
+ return require_AddToCartAttributes();
52
+ }
53
+ });
@@ -0,0 +1,86 @@
1
+ "use strict";
2
+
3
+ const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
4
+
5
+ //#region ../../node_modules/@spiffy-ai/commerce-api-client/dist/models/AnalyticsIdentifyRequest.js
6
+ var require_AnalyticsIdentifyRequest = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
7
+ /**
8
+ * Commerce
9
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
10
+ *
11
+ * The version of the OpenAPI document: 1.1.0
12
+ *
13
+ *
14
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
15
+ * https://openapi-generator.tech
16
+ * Do not edit the class manually.
17
+ */
18
+ Object.defineProperty(exports, "__esModule", { value: true });
19
+ exports.instanceOfAnalyticsIdentifyRequest = instanceOfAnalyticsIdentifyRequest;
20
+ exports.AnalyticsIdentifyRequestFromJSON = AnalyticsIdentifyRequestFromJSON;
21
+ exports.AnalyticsIdentifyRequestFromJSONTyped = AnalyticsIdentifyRequestFromJSONTyped;
22
+ exports.AnalyticsIdentifyRequestToJSON = AnalyticsIdentifyRequestToJSON;
23
+ exports.AnalyticsIdentifyRequestToJSONTyped = AnalyticsIdentifyRequestToJSONTyped;
24
+ /**
25
+ * Check if a given object implements the AnalyticsIdentifyRequest interface.
26
+ */
27
+ function instanceOfAnalyticsIdentifyRequest(value) {
28
+ return true;
29
+ }
30
+ function AnalyticsIdentifyRequestFromJSON(json) {
31
+ return AnalyticsIdentifyRequestFromJSONTyped(json, false);
32
+ }
33
+ function AnalyticsIdentifyRequestFromJSONTyped(json, ignoreDiscriminator) {
34
+ if (json == null) return json;
35
+ return {
36
+ "app_version": json["app_version"] == null ? void 0 : json["app_version"],
37
+ "carrier": json["carrier"] == null ? void 0 : json["carrier"],
38
+ "city": json["city"] == null ? void 0 : json["city"],
39
+ "country": json["country"] == null ? void 0 : json["country"],
40
+ "device_brand": json["device_brand"] == null ? void 0 : json["device_brand"],
41
+ "device_id": json["device_id"] == null ? void 0 : json["device_id"],
42
+ "device_manufacturer": json["device_manufacturer"] == null ? void 0 : json["device_manufacturer"],
43
+ "device_model": json["device_model"] == null ? void 0 : json["device_model"],
44
+ "dma": json["dma"] == null ? void 0 : json["dma"],
45
+ "groups": json["groups"] == null ? void 0 : json["groups"],
46
+ "os_name": json["os_name"] == null ? void 0 : json["os_name"],
47
+ "os_version": json["os_version"] == null ? void 0 : json["os_version"],
48
+ "platform": json["platform"] == null ? void 0 : json["platform"],
49
+ "region": json["region"] == null ? void 0 : json["region"],
50
+ "user_id": json["user_id"] == null ? void 0 : json["user_id"],
51
+ "user_properties": json["user_properties"] == null ? void 0 : json["user_properties"]
52
+ };
53
+ }
54
+ function AnalyticsIdentifyRequestToJSON(json) {
55
+ return AnalyticsIdentifyRequestToJSONTyped(json, false);
56
+ }
57
+ function AnalyticsIdentifyRequestToJSONTyped(value, ignoreDiscriminator = false) {
58
+ if (value == null) return value;
59
+ return {
60
+ "app_version": value["app_version"],
61
+ "carrier": value["carrier"],
62
+ "city": value["city"],
63
+ "country": value["country"],
64
+ "device_brand": value["device_brand"],
65
+ "device_id": value["device_id"],
66
+ "device_manufacturer": value["device_manufacturer"],
67
+ "device_model": value["device_model"],
68
+ "dma": value["dma"],
69
+ "groups": value["groups"],
70
+ "os_name": value["os_name"],
71
+ "os_version": value["os_version"],
72
+ "platform": value["platform"],
73
+ "region": value["region"],
74
+ "user_id": value["user_id"],
75
+ "user_properties": value["user_properties"]
76
+ };
77
+ }
78
+ }));
79
+
80
+ //#endregion
81
+ Object.defineProperty(exports, 'default', {
82
+ enumerable: true,
83
+ get: function () {
84
+ return require_AnalyticsIdentifyRequest();
85
+ }
86
+ });
@@ -0,0 +1,62 @@
1
+ "use strict";
2
+
3
+ const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
4
+
5
+ //#region ../../node_modules/@spiffy-ai/commerce-api-client/dist/models/AnalyticsTrackEventRequest.js
6
+ var require_AnalyticsTrackEventRequest = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
7
+ /**
8
+ * Commerce
9
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
10
+ *
11
+ * The version of the OpenAPI document: 1.1.0
12
+ *
13
+ *
14
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
15
+ * https://openapi-generator.tech
16
+ * Do not edit the class manually.
17
+ */
18
+ Object.defineProperty(exports, "__esModule", { value: true });
19
+ exports.instanceOfAnalyticsTrackEventRequest = instanceOfAnalyticsTrackEventRequest;
20
+ exports.AnalyticsTrackEventRequestFromJSON = AnalyticsTrackEventRequestFromJSON;
21
+ exports.AnalyticsTrackEventRequestFromJSONTyped = AnalyticsTrackEventRequestFromJSONTyped;
22
+ exports.AnalyticsTrackEventRequestToJSON = AnalyticsTrackEventRequestToJSON;
23
+ exports.AnalyticsTrackEventRequestToJSONTyped = AnalyticsTrackEventRequestToJSONTyped;
24
+ /**
25
+ * Check if a given object implements the AnalyticsTrackEventRequest interface.
26
+ */
27
+ function instanceOfAnalyticsTrackEventRequest(value) {
28
+ return true;
29
+ }
30
+ function AnalyticsTrackEventRequestFromJSON(json) {
31
+ return AnalyticsTrackEventRequestFromJSONTyped(json, false);
32
+ }
33
+ function AnalyticsTrackEventRequestFromJSONTyped(json, ignoreDiscriminator) {
34
+ if (json == null) return json;
35
+ return {
36
+ "event": json["event"] == null ? void 0 : json["event"],
37
+ "event_properties": json["event_properties"] == null ? void 0 : json["event_properties"],
38
+ "user_id": json["user_id"] == null ? void 0 : json["user_id"],
39
+ "user_properties": json["user_properties"] == null ? void 0 : json["user_properties"]
40
+ };
41
+ }
42
+ function AnalyticsTrackEventRequestToJSON(json) {
43
+ return AnalyticsTrackEventRequestToJSONTyped(json, false);
44
+ }
45
+ function AnalyticsTrackEventRequestToJSONTyped(value, ignoreDiscriminator = false) {
46
+ if (value == null) return value;
47
+ return {
48
+ "event": value["event"],
49
+ "event_properties": value["event_properties"],
50
+ "user_id": value["user_id"],
51
+ "user_properties": value["user_properties"]
52
+ };
53
+ }
54
+ }));
55
+
56
+ //#endregion
57
+ Object.defineProperty(exports, 'default', {
58
+ enumerable: true,
59
+ get: function () {
60
+ return require_AnalyticsTrackEventRequest();
61
+ }
62
+ });
@@ -0,0 +1,63 @@
1
+ "use strict";
2
+
3
+ const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
4
+
5
+ //#region ../../node_modules/@spiffy-ai/commerce-api-client/dist/models/AttachmentRequest.js
6
+ var require_AttachmentRequest = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
7
+ /**
8
+ * Commerce
9
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
10
+ *
11
+ * The version of the OpenAPI document: 1.1.0
12
+ *
13
+ *
14
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
15
+ * https://openapi-generator.tech
16
+ * Do not edit the class manually.
17
+ */
18
+ Object.defineProperty(exports, "__esModule", { value: true });
19
+ exports.instanceOfAttachmentRequest = instanceOfAttachmentRequest;
20
+ exports.AttachmentRequestFromJSON = AttachmentRequestFromJSON;
21
+ exports.AttachmentRequestFromJSONTyped = AttachmentRequestFromJSONTyped;
22
+ exports.AttachmentRequestToJSON = AttachmentRequestToJSON;
23
+ exports.AttachmentRequestToJSONTyped = AttachmentRequestToJSONTyped;
24
+ /**
25
+ * Check if a given object implements the AttachmentRequest interface.
26
+ */
27
+ function instanceOfAttachmentRequest(value) {
28
+ if (!("base64_content" in value) || value["base64_content"] === void 0) return false;
29
+ if (!("content_type" in value) || value["content_type"] === void 0) return false;
30
+ if (!("file_name" in value) || value["file_name"] === void 0) return false;
31
+ return true;
32
+ }
33
+ function AttachmentRequestFromJSON(json) {
34
+ return AttachmentRequestFromJSONTyped(json, false);
35
+ }
36
+ function AttachmentRequestFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) return json;
38
+ return {
39
+ "base64_content": json["base64_content"],
40
+ "content_type": json["content_type"],
41
+ "file_name": json["file_name"]
42
+ };
43
+ }
44
+ function AttachmentRequestToJSON(json) {
45
+ return AttachmentRequestToJSONTyped(json, false);
46
+ }
47
+ function AttachmentRequestToJSONTyped(value, ignoreDiscriminator = false) {
48
+ if (value == null) return value;
49
+ return {
50
+ "base64_content": value["base64_content"],
51
+ "content_type": value["content_type"],
52
+ "file_name": value["file_name"]
53
+ };
54
+ }
55
+ }));
56
+
57
+ //#endregion
58
+ Object.defineProperty(exports, 'default', {
59
+ enumerable: true,
60
+ get: function () {
61
+ return require_AttachmentRequest();
62
+ }
63
+ });
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+
3
+ const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
4
+ const require_FormType$1 = require('./FormType.cjs');
5
+
6
+ //#region ../../node_modules/@spiffy-ai/commerce-api-client/dist/models/AutoForm.js
7
+ var require_AutoForm = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
8
+ /**
9
+ * Commerce
10
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
11
+ *
12
+ * The version of the OpenAPI document: 1.1.0
13
+ *
14
+ *
15
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
16
+ * https://openapi-generator.tech
17
+ * Do not edit the class manually.
18
+ */
19
+ Object.defineProperty(exports, "__esModule", { value: true });
20
+ exports.instanceOfAutoForm = instanceOfAutoForm;
21
+ exports.AutoFormFromJSON = AutoFormFromJSON;
22
+ exports.AutoFormFromJSONTyped = AutoFormFromJSONTyped;
23
+ exports.AutoFormToJSON = AutoFormToJSON;
24
+ exports.AutoFormToJSONTyped = AutoFormToJSONTyped;
25
+ const FormType_1 = require_FormType$1.default;
26
+ /**
27
+ * Check if a given object implements the AutoForm interface.
28
+ */
29
+ function instanceOfAutoForm(value) {
30
+ if (!("form_type" in value) || value["form_type"] === void 0) return false;
31
+ return true;
32
+ }
33
+ function AutoFormFromJSON(json) {
34
+ return AutoFormFromJSONTyped(json, false);
35
+ }
36
+ function AutoFormFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) return json;
38
+ return { "form_type": (0, FormType_1.FormTypeFromJSON)(json["form_type"]) };
39
+ }
40
+ function AutoFormToJSON(json) {
41
+ return AutoFormToJSONTyped(json, false);
42
+ }
43
+ function AutoFormToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) return value;
45
+ return { "form_type": (0, FormType_1.FormTypeToJSON)(value["form_type"]) };
46
+ }
47
+ }));
48
+
49
+ //#endregion
50
+ Object.defineProperty(exports, 'default', {
51
+ enumerable: true,
52
+ get: function () {
53
+ return require_AutoForm();
54
+ }
55
+ });
@@ -0,0 +1,89 @@
1
+ "use strict";
2
+
3
+ const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
4
+
5
+ //#region ../../node_modules/@spiffy-ai/commerce-api-client/dist/models/Context.js
6
+ var require_Context = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
7
+ /**
8
+ * Commerce
9
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
10
+ *
11
+ * The version of the OpenAPI document: 1.1.0
12
+ *
13
+ *
14
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
15
+ * https://openapi-generator.tech
16
+ * Do not edit the class manually.
17
+ */
18
+ Object.defineProperty(exports, "__esModule", { value: true });
19
+ exports.ContextSourceEnum = exports.ContextEnvEnum = void 0;
20
+ exports.instanceOfContext = instanceOfContext;
21
+ exports.ContextFromJSON = ContextFromJSON;
22
+ exports.ContextFromJSONTyped = ContextFromJSONTyped;
23
+ exports.ContextToJSON = ContextToJSON;
24
+ exports.ContextToJSONTyped = ContextToJSONTyped;
25
+ /**
26
+ * @export
27
+ * @enum {string}
28
+ */
29
+ var ContextEnvEnum;
30
+ (function(ContextEnvEnum$1) {
31
+ ContextEnvEnum$1["Prod"] = "prod";
32
+ ContextEnvEnum$1["Dev"] = "dev";
33
+ })(ContextEnvEnum || (exports.ContextEnvEnum = ContextEnvEnum = {}));
34
+ /**
35
+ * @export
36
+ * @enum {string}
37
+ */
38
+ var ContextSourceEnum;
39
+ (function(ContextSourceEnum$1) {
40
+ ContextSourceEnum$1["Fork"] = "fork";
41
+ ContextSourceEnum$1["Playground"] = "playground";
42
+ ContextSourceEnum$1["App"] = "app";
43
+ ContextSourceEnum$1["Test"] = "test";
44
+ ContextSourceEnum$1["Eval"] = "eval";
45
+ })(ContextSourceEnum || (exports.ContextSourceEnum = ContextSourceEnum = {}));
46
+ /**
47
+ * Check if a given object implements the Context interface.
48
+ */
49
+ function instanceOfContext(value) {
50
+ if (!("user_id" in value) || value["user_id"] === void 0) return false;
51
+ return true;
52
+ }
53
+ function ContextFromJSON(json) {
54
+ return ContextFromJSONTyped(json, false);
55
+ }
56
+ function ContextFromJSONTyped(json, ignoreDiscriminator) {
57
+ if (json == null) return json;
58
+ return {
59
+ "chat_id": json["chat_id"] == null ? void 0 : json["chat_id"],
60
+ "env": json["env"] == null ? void 0 : json["env"],
61
+ "org_id": json["org_id"] == null ? void 0 : json["org_id"],
62
+ "org_short_name": json["org_short_name"] == null ? void 0 : json["org_short_name"],
63
+ "source": json["source"] == null ? void 0 : json["source"],
64
+ "user_id": json["user_id"]
65
+ };
66
+ }
67
+ function ContextToJSON(json) {
68
+ return ContextToJSONTyped(json, false);
69
+ }
70
+ function ContextToJSONTyped(value, ignoreDiscriminator = false) {
71
+ if (value == null) return value;
72
+ return {
73
+ "chat_id": value["chat_id"],
74
+ "env": value["env"],
75
+ "org_id": value["org_id"],
76
+ "org_short_name": value["org_short_name"],
77
+ "source": value["source"],
78
+ "user_id": value["user_id"]
79
+ };
80
+ }
81
+ }));
82
+
83
+ //#endregion
84
+ Object.defineProperty(exports, 'default', {
85
+ enumerable: true,
86
+ get: function () {
87
+ return require_Context();
88
+ }
89
+ });
@@ -0,0 +1,63 @@
1
+ "use strict";
2
+
3
+ const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
4
+
5
+ //#region ../../node_modules/@spiffy-ai/commerce-api-client/dist/models/ConversationStatus.js
6
+ var require_ConversationStatus = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
7
+ /**
8
+ * Commerce
9
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
10
+ *
11
+ * The version of the OpenAPI document: 1.1.0
12
+ *
13
+ *
14
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
15
+ * https://openapi-generator.tech
16
+ * Do not edit the class manually.
17
+ */
18
+ Object.defineProperty(exports, "__esModule", { value: true });
19
+ exports.ConversationStatus = void 0;
20
+ exports.instanceOfConversationStatus = instanceOfConversationStatus;
21
+ exports.ConversationStatusFromJSON = ConversationStatusFromJSON;
22
+ exports.ConversationStatusFromJSONTyped = ConversationStatusFromJSONTyped;
23
+ exports.ConversationStatusToJSON = ConversationStatusToJSON;
24
+ exports.ConversationStatusToJSONTyped = ConversationStatusToJSONTyped;
25
+ /**
26
+ * Standardized status values for customer service conversations across platforms
27
+ * @export
28
+ * @enum {string}
29
+ */
30
+ var ConversationStatus;
31
+ (function(ConversationStatus$1) {
32
+ ConversationStatus$1["Open"] = "OPEN";
33
+ ConversationStatus$1["Closed"] = "CLOSED";
34
+ ConversationStatus$1["Pending"] = "PENDING";
35
+ ConversationStatus$1["Other"] = "OTHER";
36
+ })(ConversationStatus || (exports.ConversationStatus = ConversationStatus = {}));
37
+ function instanceOfConversationStatus(value) {
38
+ for (const key in ConversationStatus) if (Object.prototype.hasOwnProperty.call(ConversationStatus, key)) {
39
+ if (ConversationStatus[key] === value) return true;
40
+ }
41
+ return false;
42
+ }
43
+ function ConversationStatusFromJSON(json) {
44
+ return ConversationStatusFromJSONTyped(json, false);
45
+ }
46
+ function ConversationStatusFromJSONTyped(json, ignoreDiscriminator) {
47
+ return json;
48
+ }
49
+ function ConversationStatusToJSON(value) {
50
+ return value;
51
+ }
52
+ function ConversationStatusToJSONTyped(value, ignoreDiscriminator) {
53
+ return value;
54
+ }
55
+ }));
56
+
57
+ //#endregion
58
+ Object.defineProperty(exports, 'default', {
59
+ enumerable: true,
60
+ get: function () {
61
+ return require_ConversationStatus();
62
+ }
63
+ });
@@ -0,0 +1,68 @@
1
+ "use strict";
2
+
3
+ const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
4
+ const require_CustomerServiceProvider$1 = require('./CustomerServiceProvider.cjs');
5
+
6
+ //#region ../../node_modules/@spiffy-ai/commerce-api-client/dist/models/CreateConversationRequest.js
7
+ var require_CreateConversationRequest = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
8
+ /**
9
+ * Commerce
10
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
11
+ *
12
+ * The version of the OpenAPI document: 1.1.0
13
+ *
14
+ *
15
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
16
+ * https://openapi-generator.tech
17
+ * Do not edit the class manually.
18
+ */
19
+ Object.defineProperty(exports, "__esModule", { value: true });
20
+ exports.instanceOfCreateConversationRequest = instanceOfCreateConversationRequest;
21
+ exports.CreateConversationRequestFromJSON = CreateConversationRequestFromJSON;
22
+ exports.CreateConversationRequestFromJSONTyped = CreateConversationRequestFromJSONTyped;
23
+ exports.CreateConversationRequestToJSON = CreateConversationRequestToJSON;
24
+ exports.CreateConversationRequestToJSONTyped = CreateConversationRequestToJSONTyped;
25
+ const CustomerServiceProvider_1 = require_CustomerServiceProvider$1.default;
26
+ /**
27
+ * Check if a given object implements the CreateConversationRequest interface.
28
+ */
29
+ function instanceOfCreateConversationRequest(value) {
30
+ if (!("email" in value) || value["email"] === void 0) return false;
31
+ if (!("spiffy_user_id" in value) || value["spiffy_user_id"] === void 0) return false;
32
+ return true;
33
+ }
34
+ function CreateConversationRequestFromJSON(json) {
35
+ return CreateConversationRequestFromJSONTyped(json, false);
36
+ }
37
+ function CreateConversationRequestFromJSONTyped(json, ignoreDiscriminator) {
38
+ if (json == null) return json;
39
+ return {
40
+ "customer_service_provider": json["customer_service_provider"] == null ? void 0 : (0, CustomerServiceProvider_1.CustomerServiceProviderFromJSON)(json["customer_service_provider"]),
41
+ "email": json["email"],
42
+ "name": json["name"] == null ? void 0 : json["name"],
43
+ "spiffy_user_id": json["spiffy_user_id"],
44
+ "subject": json["subject"] == null ? void 0 : json["subject"]
45
+ };
46
+ }
47
+ function CreateConversationRequestToJSON(json) {
48
+ return CreateConversationRequestToJSONTyped(json, false);
49
+ }
50
+ function CreateConversationRequestToJSONTyped(value, ignoreDiscriminator = false) {
51
+ if (value == null) return value;
52
+ return {
53
+ "customer_service_provider": (0, CustomerServiceProvider_1.CustomerServiceProviderToJSON)(value["customer_service_provider"]),
54
+ "email": value["email"],
55
+ "name": value["name"],
56
+ "spiffy_user_id": value["spiffy_user_id"],
57
+ "subject": value["subject"]
58
+ };
59
+ }
60
+ }));
61
+
62
+ //#endregion
63
+ Object.defineProperty(exports, 'default', {
64
+ enumerable: true,
65
+ get: function () {
66
+ return require_CreateConversationRequest();
67
+ }
68
+ });