@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.
- package/dist/_virtual/rolldown_runtime.cjs +2 -0
- package/dist/debug/GenericSelect.cjs +167 -0
- package/dist/debug/GenericSelect.js +165 -0
- package/dist/debug/MessageContent.cjs +151 -0
- package/dist/debug/MessageContent.js +149 -0
- package/dist/debug/chatEmbed.cjs +95 -0
- package/dist/debug/chatEmbed.js +92 -0
- package/dist/debug/debugBar.cjs +18 -0
- package/dist/debug/debugBar.js +17 -0
- package/dist/debug/reportIssue.cjs +528 -0
- package/dist/debug/reportIssue.js +524 -0
- package/dist/hocs/withBaseWidget/withBaseWidget.d.cts +2 -2
- package/dist/hocs/withBaseWidget/withBaseWidget.d.ts +2 -2
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/apis/CustomerServiceApi.cjs +265 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/apis/DefaultApi.cjs +591 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/apis/InferenceApi.cjs +265 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/apis/ProductsApi.cjs +105 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/apis/SearchApi.cjs +229 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/apis/index.cjs +43 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/index.cjs +39 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/AddNoteToLatestConversationRequest.cjs +68 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/AddNoteToLatestConversationResponse.cjs +60 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/AddToCartAttributes.cjs +53 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/AnalyticsIdentifyRequest.cjs +86 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/AnalyticsTrackEventRequest.cjs +62 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/AttachmentRequest.cjs +63 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/AutoForm.cjs +55 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/Context.cjs +89 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/ConversationStatus.cjs +63 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/CreateConversationRequest.cjs +68 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/CreateConversationResponse.cjs +64 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/CustServiceAttachment.cjs +68 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/CustServiceConversation.cjs +69 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/CustServiceConversationMessages.cjs +67 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/CustServiceCustomer.cjs +60 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/CustServiceMessage.cjs +85 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/CustomerServiceProvider.cjs +63 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/FormResponseAttributes.cjs +61 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/FormResponseAttributesFormCategory.cjs +55 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/FormSubmittedAttributes.cjs +65 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/FormType.cjs +61 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/FulfillmentDisplayStatus.cjs +84 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/GenerationParams.cjs +74 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/GetConversationMessagesRequest.cjs +61 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/IsBusinessHoursRequest.cjs +54 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/IsBusinessHoursResponse.cjs +59 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/LabelValue.cjs +60 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/ManualForm.cjs +55 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/MerchRule.cjs +70 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/MerchRuleAction.cjs +62 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/MerchRuleActionAttribute.cjs +58 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/MerchRuleActionType.cjs +64 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/MerchRuleCondition.cjs +60 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/MerchRuleOp.cjs +61 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/MerchRuleStatus.cjs +62 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/NextMessageRequest.cjs +78 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/OrderItemInfo.cjs +78 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/OrderResponseAttributes.cjs +71 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/Organization.cjs +83 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/OrganizationConfig.cjs +82 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/OrganizationConfigResults.cjs +70 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/OrganizationSettings.cjs +62 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/PDPAttributes.cjs +61 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/PLPAttributeCategory.cjs +61 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/PLPAttributes.cjs +64 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/PLPAttributesAttributes.cjs +55 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/PLPIdAttributes.cjs +53 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/PLPUrlAttributes.cjs +53 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/PageVisitAttributes.cjs +62 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/PageVisitCategory.cjs +65 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/ProductRetrievalRequest.cjs +62 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/ProductRetrievalResponse.cjs +55 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/ProductSearchFilterResponseAttributes.cjs +53 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/ProductSearchRequest.cjs +71 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/ProductSearchResponse.cjs +64 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/ProductSearchResponseAttributes.cjs +60 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/ProductSearchResponseV2.cjs +64 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/QueryTypedAttributes.cjs +53 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/ReportContent.cjs +59 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/ReportSessionRequest.cjs +99 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/Response.cjs +68 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/ResponseCategory.cjs +69 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/ResponseProductAttributes.cjs +91 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/SearchAttributes.cjs +65 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/SearchResponseProduct.cjs +93 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/SearchSuggestionsResponse.cjs +58 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/SendMessageRequest.cjs +71 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/SendMessageResponse.cjs +55 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/StatsigExperiment.cjs +64 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/StatsigFeatureGate.cjs +62 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/Suggestion.cjs +70 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/SuggestionCategory.cjs +62 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/SuggestionClickedAttributes.cjs +53 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/SupportedEventProductCategory.cjs +62 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/SupportedEventRequest.cjs +67 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/SupportedEventResponse.cjs +78 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/TurnInfo.cjs +70 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/TurnInfoPrevUserEvent.cjs +60 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/UrlResolvingGenericConfig.cjs +52 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/UrlResolvingPDPConfig.cjs +65 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/UrlResolvingPLPConfig.cjs +61 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/UrlResolvingRequest.cjs +65 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/UrlResolvingResponse.cjs +73 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/UrlResolvingResponseSpecificDetails.cjs +59 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/UrlResolvingType.cjs +67 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/UserEvent.cjs +69 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/UserEventAttributes.cjs +75 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/UserEventCategory.cjs +70 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/V1GetSessionMessages200Response.cjs +67 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/V1SearchExplainGet200Response.cjs +63 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/WidgetString.cjs +60 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/WidgetTextRequest.cjs +73 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/WidgetTextResponse.cjs +66 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/WidgetType.cjs +69 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/index.cjs +221 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/runtime.cjs +324 -0
- package/dist/node_modules/react-icons/fa/index.cjs +65 -0
- package/dist/node_modules/react-icons/fa/index.js +61 -0
- package/dist/node_modules/react-icons/lib/iconBase.cjs +121 -0
- package/dist/node_modules/react-icons/lib/iconBase.js +119 -0
- package/dist/node_modules/react-icons/lib/iconContext.cjs +17 -0
- package/dist/node_modules/react-icons/lib/iconContext.js +14 -0
- package/dist/packages/icons/dist/IconCloseVariant.cjs +22 -0
- package/dist/packages/icons/dist/IconCloseVariant.js +22 -0
- package/dist/packages/icons/dist/_virtual/rolldown_runtime.cjs +27 -0
- package/dist/packages/icons/dist/_virtual/rolldown_runtime.js +25 -0
- package/dist/packages/icons/dist/node_modules/react/cjs/react-jsx-runtime.development.cjs +696 -0
- package/dist/packages/icons/dist/node_modules/react/cjs/react-jsx-runtime.development.js +696 -0
- package/dist/packages/icons/dist/node_modules/react/cjs/react-jsx-runtime.production.min.cjs +43 -0
- package/dist/packages/icons/dist/node_modules/react/cjs/react-jsx-runtime.production.min.js +43 -0
- package/dist/packages/icons/dist/node_modules/react/cjs/react.development.cjs +1528 -0
- package/dist/packages/icons/dist/node_modules/react/cjs/react.development.js +1528 -0
- package/dist/packages/icons/dist/node_modules/react/cjs/react.production.min.cjs +329 -0
- package/dist/packages/icons/dist/node_modules/react/cjs/react.production.min.js +329 -0
- package/dist/packages/icons/dist/node_modules/react/index.cjs +13 -0
- package/dist/packages/icons/dist/node_modules/react/index.js +13 -0
- package/dist/packages/icons/dist/node_modules/react/jsx-runtime.cjs +13 -0
- package/dist/packages/icons/dist/node_modules/react/jsx-runtime.js +13 -0
- package/dist/{widgets → packages/widgets}/dist/SearchResults/SearchResultsWidget.d.ts +2 -2
- package/dist/{widgets → packages/widgets}/dist/SearchZeroState/SearchZeroStateWidget.d.ts +2 -2
- package/dist/widgets/ChatPreviewComparisonWidget/ChatPreviewComparisonWidget.d.cts +3 -3
- package/dist/widgets/ChatPreviewComparisonWidget/ChatPreviewComparisonWidget.d.ts +3 -3
- package/dist/widgets/ChatPreviewLoadingWidget/ChatPreviewLoadingWidget.d.cts +3 -3
- package/dist/widgets/ChatPreviewLoadingWidget/ChatPreviewLoadingWidget.d.ts +3 -3
- package/dist/widgets/ChatPreviewWidget/ChatPreviewWidget.d.ts +3 -3
- package/dist/widgets/FloatingChatWidget/FloatingChatOverlay.cjs +2 -2
- package/dist/widgets/FloatingChatWidget/FloatingChatOverlay.js +1 -1
- package/dist/widgets/FloatingChatWidget/FloatingChatWidget.cjs +2 -0
- package/dist/widgets/FloatingChatWidget/FloatingChatWidget.d.cts +2 -2
- package/dist/widgets/FloatingChatWidget/FloatingChatWidget.d.ts +2 -2
- package/dist/widgets/FloatingChatWidget/FloatingChatWidget.js +2 -0
- package/dist/widgets/FloatingChatWidget/hooks/useFloatingButtonVisibility.cjs +4 -1
- package/dist/widgets/FloatingChatWidget/hooks/useFloatingButtonVisibility.js +5 -2
- package/dist/widgets/FullPageSalesAgentWidget/FullPageSalesAgentWidget.cjs +31 -0
- package/dist/widgets/FullPageSalesAgentWidget/FullPageSalesAgentWidget.d.cts +15 -0
- package/dist/widgets/FullPageSalesAgentWidget/FullPageSalesAgentWidget.d.ts +15 -0
- package/dist/widgets/FullPageSalesAgentWidget/FullPageSalesAgentWidget.js +30 -0
- package/dist/widgets/FullPageSalesAgentWidget/index.cjs +3 -0
- package/dist/widgets/FullPageSalesAgentWidget/index.d.cts +2 -0
- package/dist/widgets/FullPageSalesAgentWidget/index.d.ts +2 -0
- package/dist/widgets/FullPageSalesAgentWidget/index.js +3 -0
- package/dist/widgets/ProductCardWidget/ProductCardWidget.cjs +2 -1
- package/dist/widgets/ProductCardWidget/ProductCardWidget.d.cts +2 -2
- package/dist/widgets/ProductCardWidget/ProductCardWidget.js +2 -1
- package/dist/widgets/PromptButtonCarouselWithImageWidget/PromptButtonCarouselWithImageWidget.cjs +2 -1
- package/dist/widgets/PromptButtonCarouselWithImageWidget/PromptButtonCarouselWithImageWidget.d.cts +3 -3
- package/dist/widgets/PromptButtonCarouselWithImageWidget/PromptButtonCarouselWithImageWidget.d.ts +3 -3
- package/dist/widgets/PromptButtonCarouselWithImageWidget/PromptButtonCarouselWithImageWidget.js +2 -1
- package/dist/widgets/PromptCarouselWidget/PromptCarouselWidget.cjs +26 -2
- package/dist/widgets/PromptCarouselWidget/PromptCarouselWidget.d.cts +2 -2
- package/dist/widgets/PromptCarouselWidget/PromptCarouselWidget.d.ts +2 -2
- package/dist/widgets/PromptCarouselWidget/PromptCarouselWidget.js +27 -3
- package/dist/widgets/SocialProofFlowWidget/SocialProofFlowWidget.cjs +1 -1
- package/dist/widgets/SocialProofFlowWidget/SocialProofFlowWidget.d.cts +2 -2
- package/dist/widgets/SocialProofFlowWidget/SocialProofFlowWidget.js +1 -1
- package/dist/widgets/SocialProofWidget/SocialProofWidget.cjs +4 -2
- package/dist/widgets/SocialProofWidget/SocialProofWidget.d.cts +3 -3
- package/dist/widgets/SocialProofWidget/SocialProofWidget.d.ts +3 -3
- package/dist/widgets/SocialProofWidget/SocialProofWidget.js +4 -2
- package/dist/widgets/TitledPromptCarouselWidget/TitledPromptCarouselWidget.cjs +2 -1
- package/dist/widgets/TitledPromptCarouselWidget/TitledPromptCarouselWidget.d.cts +2 -2
- package/dist/widgets/TitledPromptCarouselWidget/TitledPromptCarouselWidget.d.ts +2 -2
- package/dist/widgets/TitledPromptCarouselWidget/TitledPromptCarouselWidget.js +2 -1
- package/dist/widgets/TypingAnimationFlowWidget/TypingAnimationFlowWidget.cjs +1 -1
- package/dist/widgets/TypingAnimationFlowWidget/TypingAnimationFlowWidget.d.cts +2 -2
- package/dist/widgets/TypingAnimationFlowWidget/TypingAnimationFlowWidget.d.ts +2 -2
- package/dist/widgets/TypingAnimationFlowWidget/TypingAnimationFlowWidget.js +1 -1
- package/dist/widgets/TypingAnimationWidget/TypingAnimationWidget.cjs +2 -1
- package/dist/widgets/TypingAnimationWidget/TypingAnimationWidget.d.cts +3 -3
- package/dist/widgets/TypingAnimationWidget/TypingAnimationWidget.d.ts +3 -3
- package/dist/widgets/TypingAnimationWidget/TypingAnimationWidget.js +2 -1
- package/dist/widgets/dist/SearchResults/SearchResultsWidget.d.cts +2 -2
- package/dist/widgets/dist/SearchZeroState/SearchZeroStateWidget.d.cts +2 -2
- package/dist/widgets-v2/SearchResults/index.d.ts +3 -3
- package/dist/widgets-v2/SearchZeroState/index.d.ts +4 -4
- package/dist/widgets-v2/SuggestionBar/index.d.ts +3 -3
- package/dist/widgets-v2/SuggestionButtonContainer/index.d.ts +2 -2
- package/package.json +5 -1
- package/src/debug/GenericSelect.tsx +236 -0
- package/src/debug/MessageContent.tsx +248 -0
- package/src/debug/chatEmbed.tsx +119 -0
- package/src/debug/debugBar.tsx +13 -0
- package/src/debug/reportIssue.tsx +649 -0
- package/src/hocs/withBaseWidget/__tests__/withBaseWidget.test.tsx +6 -0
- package/src/stories/FullPageSalesAgentWidget.stories.tsx +68 -0
- package/src/stories/SalesAgentTest/SalesAgentTest.tsx +10 -2
- package/src/widgets/FloatingChatWidget/FloatingChatWidget.tsx +2 -0
- package/src/widgets/FloatingChatWidget/hooks/useFloatingButtonVisibility.ts +11 -5
- package/src/widgets/FullPageSalesAgentWidget/FullPageSalesAgentWidget.tsx +46 -0
- package/src/widgets/FullPageSalesAgentWidget/index.ts +1 -0
- package/src/widgets/ProductCardWidget/ProductCardWidget.tsx +5 -1
- package/src/widgets/PromptButtonCarouselWithImageWidget/PromptButtonCarouselWithImageWidget.tsx +6 -1
- package/src/widgets/PromptCarouselWidget/PromptCarouselWidget.tsx +31 -2
- package/src/widgets/SocialProofWidget/SocialProofWidget.tsx +10 -2
- package/src/widgets/TitledPromptCarouselWidget/TitledPromptCarouselWidget.tsx +5 -1
- package/src/widgets/TypingAnimationWidget/TypingAnimationWidget.tsx +5 -1
- /package/dist/{widgets → packages/widgets}/dist/SearchResults/SearchResults.d.ts +0 -0
- /package/dist/{widgets → packages/widgets}/dist/SearchResults/index.d.ts +0 -0
- /package/dist/{widgets → packages/widgets}/dist/SearchResults/types.d.ts +0 -0
- /package/dist/{widgets → packages/widgets}/dist/SearchZeroState/SearchZeroState.d.ts +0 -0
- /package/dist/{widgets → packages/widgets}/dist/SearchZeroState/index.d.ts +0 -0
- /package/dist/{widgets → packages/widgets}/dist/SearchZeroState/types.d.ts +0 -0
- /package/dist/{widgets → packages/widgets}/dist/SuggestionBar/SuggestionBar.d.ts +0 -0
- /package/dist/{widgets → packages/widgets}/dist/SuggestionBar/index.d.ts +0 -0
- /package/dist/{widgets → packages/widgets}/dist/SuggestionBar/types.d.ts +0 -0
- /package/dist/{widgets → packages/widgets}/dist/SuggestionButtonContainer/SuggestionButtonContainer.d.ts +0 -0
- /package/dist/{widgets → packages/widgets}/dist/SuggestionButtonContainer/types.d.ts +0 -0
- /package/dist/{widgets → packages/widgets}/dist/config/BaseWidgetConfig.d.ts +0 -0
- /package/dist/{widgets → packages/widgets}/dist/config/WidgetType.d.ts +0 -0
|
@@ -0,0 +1,64 @@
|
|
|
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/StatsigExperiment.js
|
|
6
|
+
var require_StatsigExperiment = /* @__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.instanceOfStatsigExperiment = instanceOfStatsigExperiment;
|
|
20
|
+
exports.StatsigExperimentFromJSON = StatsigExperimentFromJSON;
|
|
21
|
+
exports.StatsigExperimentFromJSONTyped = StatsigExperimentFromJSONTyped;
|
|
22
|
+
exports.StatsigExperimentToJSON = StatsigExperimentToJSON;
|
|
23
|
+
exports.StatsigExperimentToJSONTyped = StatsigExperimentToJSONTyped;
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the StatsigExperiment interface.
|
|
26
|
+
*/
|
|
27
|
+
function instanceOfStatsigExperiment(value) {
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function StatsigExperimentFromJSON(json) {
|
|
31
|
+
return StatsigExperimentFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function StatsigExperimentFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) return json;
|
|
35
|
+
return {
|
|
36
|
+
"group": json["group"] == null ? void 0 : json["group"],
|
|
37
|
+
"group_name": json["group_name"] == null ? void 0 : json["group_name"],
|
|
38
|
+
"name": json["name"] == null ? void 0 : json["name"],
|
|
39
|
+
"rule_id": json["rule_id"] == null ? void 0 : json["rule_id"],
|
|
40
|
+
"value": json["value"] == null ? void 0 : json["value"]
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function StatsigExperimentToJSON(json) {
|
|
44
|
+
return StatsigExperimentToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function StatsigExperimentToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) return value;
|
|
48
|
+
return {
|
|
49
|
+
"group": value["group"],
|
|
50
|
+
"group_name": value["group_name"],
|
|
51
|
+
"name": value["name"],
|
|
52
|
+
"rule_id": value["rule_id"],
|
|
53
|
+
"value": value["value"]
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
}));
|
|
57
|
+
|
|
58
|
+
//#endregion
|
|
59
|
+
Object.defineProperty(exports, 'default', {
|
|
60
|
+
enumerable: true,
|
|
61
|
+
get: function () {
|
|
62
|
+
return require_StatsigExperiment();
|
|
63
|
+
}
|
|
64
|
+
});
|
|
@@ -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/StatsigFeatureGate.js
|
|
6
|
+
var require_StatsigFeatureGate = /* @__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.instanceOfStatsigFeatureGate = instanceOfStatsigFeatureGate;
|
|
20
|
+
exports.StatsigFeatureGateFromJSON = StatsigFeatureGateFromJSON;
|
|
21
|
+
exports.StatsigFeatureGateFromJSONTyped = StatsigFeatureGateFromJSONTyped;
|
|
22
|
+
exports.StatsigFeatureGateToJSON = StatsigFeatureGateToJSON;
|
|
23
|
+
exports.StatsigFeatureGateToJSONTyped = StatsigFeatureGateToJSONTyped;
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the StatsigFeatureGate interface.
|
|
26
|
+
*/
|
|
27
|
+
function instanceOfStatsigFeatureGate(value) {
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function StatsigFeatureGateFromJSON(json) {
|
|
31
|
+
return StatsigFeatureGateFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function StatsigFeatureGateFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) return json;
|
|
35
|
+
return {
|
|
36
|
+
"group_name": json["group_name"] == null ? void 0 : json["group_name"],
|
|
37
|
+
"name": json["name"] == null ? void 0 : json["name"],
|
|
38
|
+
"rule_id": json["rule_id"] == null ? void 0 : json["rule_id"],
|
|
39
|
+
"value": json["value"] == null ? void 0 : json["value"]
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function StatsigFeatureGateToJSON(json) {
|
|
43
|
+
return StatsigFeatureGateToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function StatsigFeatureGateToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) return value;
|
|
47
|
+
return {
|
|
48
|
+
"group_name": value["group_name"],
|
|
49
|
+
"name": value["name"],
|
|
50
|
+
"rule_id": value["rule_id"],
|
|
51
|
+
"value": value["value"]
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
}));
|
|
55
|
+
|
|
56
|
+
//#endregion
|
|
57
|
+
Object.defineProperty(exports, 'default', {
|
|
58
|
+
enumerable: true,
|
|
59
|
+
get: function () {
|
|
60
|
+
return require_StatsigFeatureGate();
|
|
61
|
+
}
|
|
62
|
+
});
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
|
|
4
|
+
const require_SuggestionCategory$1 = require('./SuggestionCategory.cjs');
|
|
5
|
+
|
|
6
|
+
//#region ../../node_modules/@spiffy-ai/commerce-api-client/dist/models/Suggestion.js
|
|
7
|
+
var require_Suggestion = /* @__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.instanceOfSuggestion = instanceOfSuggestion;
|
|
21
|
+
exports.SuggestionFromJSON = SuggestionFromJSON;
|
|
22
|
+
exports.SuggestionFromJSONTyped = SuggestionFromJSONTyped;
|
|
23
|
+
exports.SuggestionToJSON = SuggestionToJSON;
|
|
24
|
+
exports.SuggestionToJSONTyped = SuggestionToJSONTyped;
|
|
25
|
+
const SuggestionCategory_1 = require_SuggestionCategory$1.default;
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the Suggestion interface.
|
|
28
|
+
*/
|
|
29
|
+
function instanceOfSuggestion(value) {
|
|
30
|
+
if (!("category" in value) || value["category"] === void 0) return false;
|
|
31
|
+
if (!("content" in value) || value["content"] === void 0) return false;
|
|
32
|
+
if (!("created_at" in value) || value["created_at"] === void 0) return false;
|
|
33
|
+
if (!("id" in value) || value["id"] === void 0) return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
function SuggestionFromJSON(json) {
|
|
37
|
+
return SuggestionFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function SuggestionFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) return json;
|
|
41
|
+
return {
|
|
42
|
+
"category": (0, SuggestionCategory_1.SuggestionCategoryFromJSON)(json["category"]),
|
|
43
|
+
"content": json["content"],
|
|
44
|
+
"created_at": json["created_at"],
|
|
45
|
+
"id": json["id"],
|
|
46
|
+
"is_answer": json["is_answer"] == null ? void 0 : json["is_answer"]
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function SuggestionToJSON(json) {
|
|
50
|
+
return SuggestionToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function SuggestionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
|
+
if (value == null) return value;
|
|
54
|
+
return {
|
|
55
|
+
"category": (0, SuggestionCategory_1.SuggestionCategoryToJSON)(value["category"]),
|
|
56
|
+
"content": value["content"],
|
|
57
|
+
"created_at": value["created_at"],
|
|
58
|
+
"id": value["id"],
|
|
59
|
+
"is_answer": value["is_answer"]
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
}));
|
|
63
|
+
|
|
64
|
+
//#endregion
|
|
65
|
+
Object.defineProperty(exports, 'default', {
|
|
66
|
+
enumerable: true,
|
|
67
|
+
get: function () {
|
|
68
|
+
return require_Suggestion();
|
|
69
|
+
}
|
|
70
|
+
});
|
|
@@ -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/SuggestionCategory.js
|
|
6
|
+
var require_SuggestionCategory = /* @__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.SuggestionCategory = void 0;
|
|
20
|
+
exports.instanceOfSuggestionCategory = instanceOfSuggestionCategory;
|
|
21
|
+
exports.SuggestionCategoryFromJSON = SuggestionCategoryFromJSON;
|
|
22
|
+
exports.SuggestionCategoryFromJSONTyped = SuggestionCategoryFromJSONTyped;
|
|
23
|
+
exports.SuggestionCategoryToJSON = SuggestionCategoryToJSON;
|
|
24
|
+
exports.SuggestionCategoryToJSONTyped = SuggestionCategoryToJSONTyped;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @export
|
|
28
|
+
* @enum {string}
|
|
29
|
+
*/
|
|
30
|
+
var SuggestionCategory;
|
|
31
|
+
(function(SuggestionCategory$1) {
|
|
32
|
+
SuggestionCategory$1["NoContext"] = "no_context";
|
|
33
|
+
SuggestionCategory$1["ProductBased"] = "product_based";
|
|
34
|
+
SuggestionCategory$1["ReviewBased"] = "review_based";
|
|
35
|
+
})(SuggestionCategory || (exports.SuggestionCategory = SuggestionCategory = {}));
|
|
36
|
+
function instanceOfSuggestionCategory(value) {
|
|
37
|
+
for (const key in SuggestionCategory) if (Object.prototype.hasOwnProperty.call(SuggestionCategory, key)) {
|
|
38
|
+
if (SuggestionCategory[key] === value) return true;
|
|
39
|
+
}
|
|
40
|
+
return false;
|
|
41
|
+
}
|
|
42
|
+
function SuggestionCategoryFromJSON(json) {
|
|
43
|
+
return SuggestionCategoryFromJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function SuggestionCategoryFromJSONTyped(json, ignoreDiscriminator) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
function SuggestionCategoryToJSON(value) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
function SuggestionCategoryToJSONTyped(value, ignoreDiscriminator) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
}));
|
|
55
|
+
|
|
56
|
+
//#endregion
|
|
57
|
+
Object.defineProperty(exports, 'default', {
|
|
58
|
+
enumerable: true,
|
|
59
|
+
get: function () {
|
|
60
|
+
return require_SuggestionCategory();
|
|
61
|
+
}
|
|
62
|
+
});
|
package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/SuggestionClickedAttributes.cjs
ADDED
|
@@ -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/SuggestionClickedAttributes.js
|
|
6
|
+
var require_SuggestionClickedAttributes = /* @__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.instanceOfSuggestionClickedAttributes = instanceOfSuggestionClickedAttributes;
|
|
20
|
+
exports.SuggestionClickedAttributesFromJSON = SuggestionClickedAttributesFromJSON;
|
|
21
|
+
exports.SuggestionClickedAttributesFromJSONTyped = SuggestionClickedAttributesFromJSONTyped;
|
|
22
|
+
exports.SuggestionClickedAttributesToJSON = SuggestionClickedAttributesToJSON;
|
|
23
|
+
exports.SuggestionClickedAttributesToJSONTyped = SuggestionClickedAttributesToJSONTyped;
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the SuggestionClickedAttributes interface.
|
|
26
|
+
*/
|
|
27
|
+
function instanceOfSuggestionClickedAttributes(value) {
|
|
28
|
+
if (!("suggestion_id" in value) || value["suggestion_id"] === void 0) return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function SuggestionClickedAttributesFromJSON(json) {
|
|
32
|
+
return SuggestionClickedAttributesFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function SuggestionClickedAttributesFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) return json;
|
|
36
|
+
return { "suggestion_id": json["suggestion_id"] };
|
|
37
|
+
}
|
|
38
|
+
function SuggestionClickedAttributesToJSON(json) {
|
|
39
|
+
return SuggestionClickedAttributesToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function SuggestionClickedAttributesToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
|
+
if (value == null) return value;
|
|
43
|
+
return { "suggestion_id": value["suggestion_id"] };
|
|
44
|
+
}
|
|
45
|
+
}));
|
|
46
|
+
|
|
47
|
+
//#endregion
|
|
48
|
+
Object.defineProperty(exports, 'default', {
|
|
49
|
+
enumerable: true,
|
|
50
|
+
get: function () {
|
|
51
|
+
return require_SuggestionClickedAttributes();
|
|
52
|
+
}
|
|
53
|
+
});
|
|
@@ -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/SupportedEventProductCategory.js
|
|
6
|
+
var require_SupportedEventProductCategory = /* @__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.SupportedEventProductCategory = void 0;
|
|
20
|
+
exports.instanceOfSupportedEventProductCategory = instanceOfSupportedEventProductCategory;
|
|
21
|
+
exports.SupportedEventProductCategoryFromJSON = SupportedEventProductCategoryFromJSON;
|
|
22
|
+
exports.SupportedEventProductCategoryFromJSONTyped = SupportedEventProductCategoryFromJSONTyped;
|
|
23
|
+
exports.SupportedEventProductCategoryToJSON = SupportedEventProductCategoryToJSON;
|
|
24
|
+
exports.SupportedEventProductCategoryToJSONTyped = SupportedEventProductCategoryToJSONTyped;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @export
|
|
28
|
+
* @enum {string}
|
|
29
|
+
*/
|
|
30
|
+
var SupportedEventProductCategory;
|
|
31
|
+
(function(SupportedEventProductCategory$1) {
|
|
32
|
+
SupportedEventProductCategory$1["Product"] = "product";
|
|
33
|
+
SupportedEventProductCategory$1["Shapewear"] = "shapewear";
|
|
34
|
+
SupportedEventProductCategory$1["NonShapewear"] = "non-shapewear";
|
|
35
|
+
})(SupportedEventProductCategory || (exports.SupportedEventProductCategory = SupportedEventProductCategory = {}));
|
|
36
|
+
function instanceOfSupportedEventProductCategory(value) {
|
|
37
|
+
for (const key in SupportedEventProductCategory) if (Object.prototype.hasOwnProperty.call(SupportedEventProductCategory, key)) {
|
|
38
|
+
if (SupportedEventProductCategory[key] === value) return true;
|
|
39
|
+
}
|
|
40
|
+
return false;
|
|
41
|
+
}
|
|
42
|
+
function SupportedEventProductCategoryFromJSON(json) {
|
|
43
|
+
return SupportedEventProductCategoryFromJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function SupportedEventProductCategoryFromJSONTyped(json, ignoreDiscriminator) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
function SupportedEventProductCategoryToJSON(value) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
function SupportedEventProductCategoryToJSONTyped(value, ignoreDiscriminator) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
}));
|
|
55
|
+
|
|
56
|
+
//#endregion
|
|
57
|
+
Object.defineProperty(exports, 'default', {
|
|
58
|
+
enumerable: true,
|
|
59
|
+
get: function () {
|
|
60
|
+
return require_SupportedEventProductCategory();
|
|
61
|
+
}
|
|
62
|
+
});
|
package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/SupportedEventRequest.cjs
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
|
|
4
|
+
const require_Context$1 = require('./Context.cjs');
|
|
5
|
+
const require_UserEvent$1 = require('./UserEvent.cjs');
|
|
6
|
+
|
|
7
|
+
//#region ../../node_modules/@spiffy-ai/commerce-api-client/dist/models/SupportedEventRequest.js
|
|
8
|
+
var require_SupportedEventRequest = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
9
|
+
/**
|
|
10
|
+
* Commerce
|
|
11
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
12
|
+
*
|
|
13
|
+
* The version of the OpenAPI document: 1.1.0
|
|
14
|
+
*
|
|
15
|
+
*
|
|
16
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
17
|
+
* https://openapi-generator.tech
|
|
18
|
+
* Do not edit the class manually.
|
|
19
|
+
*/
|
|
20
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
+
exports.instanceOfSupportedEventRequest = instanceOfSupportedEventRequest;
|
|
22
|
+
exports.SupportedEventRequestFromJSON = SupportedEventRequestFromJSON;
|
|
23
|
+
exports.SupportedEventRequestFromJSONTyped = SupportedEventRequestFromJSONTyped;
|
|
24
|
+
exports.SupportedEventRequestToJSON = SupportedEventRequestToJSON;
|
|
25
|
+
exports.SupportedEventRequestToJSONTyped = SupportedEventRequestToJSONTyped;
|
|
26
|
+
const Context_1 = require_Context$1.default;
|
|
27
|
+
const UserEvent_1 = require_UserEvent$1.default;
|
|
28
|
+
/**
|
|
29
|
+
* Check if a given object implements the SupportedEventRequest interface.
|
|
30
|
+
*/
|
|
31
|
+
function instanceOfSupportedEventRequest(value) {
|
|
32
|
+
if (!("context" in value) || value["context"] === void 0) return false;
|
|
33
|
+
if (!("id" in value) || value["id"] === void 0) return false;
|
|
34
|
+
if (!("user_event" in value) || value["user_event"] === void 0) return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
function SupportedEventRequestFromJSON(json) {
|
|
38
|
+
return SupportedEventRequestFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
function SupportedEventRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
+
if (json == null) return json;
|
|
42
|
+
return {
|
|
43
|
+
"context": (0, Context_1.ContextFromJSON)(json["context"]),
|
|
44
|
+
"id": json["id"],
|
|
45
|
+
"user_event": (0, UserEvent_1.UserEventFromJSON)(json["user_event"])
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
function SupportedEventRequestToJSON(json) {
|
|
49
|
+
return SupportedEventRequestToJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
function SupportedEventRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
52
|
+
if (value == null) return value;
|
|
53
|
+
return {
|
|
54
|
+
"context": (0, Context_1.ContextToJSON)(value["context"]),
|
|
55
|
+
"id": value["id"],
|
|
56
|
+
"user_event": (0, UserEvent_1.UserEventToJSON)(value["user_event"])
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
}));
|
|
60
|
+
|
|
61
|
+
//#endregion
|
|
62
|
+
Object.defineProperty(exports, 'default', {
|
|
63
|
+
enumerable: true,
|
|
64
|
+
get: function () {
|
|
65
|
+
return require_SupportedEventRequest();
|
|
66
|
+
}
|
|
67
|
+
});
|
package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/SupportedEventResponse.cjs
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
|
|
4
|
+
const require_SupportedEventProductCategory$1 = require('./SupportedEventProductCategory.cjs');
|
|
5
|
+
|
|
6
|
+
//#region ../../node_modules/@spiffy-ai/commerce-api-client/dist/models/SupportedEventResponse.js
|
|
7
|
+
var require_SupportedEventResponse = /* @__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.instanceOfSupportedEventResponse = instanceOfSupportedEventResponse;
|
|
21
|
+
exports.SupportedEventResponseFromJSON = SupportedEventResponseFromJSON;
|
|
22
|
+
exports.SupportedEventResponseFromJSONTyped = SupportedEventResponseFromJSONTyped;
|
|
23
|
+
exports.SupportedEventResponseToJSON = SupportedEventResponseToJSON;
|
|
24
|
+
exports.SupportedEventResponseToJSONTyped = SupportedEventResponseToJSONTyped;
|
|
25
|
+
const SupportedEventProductCategory_1 = require_SupportedEventProductCategory$1.default;
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the SupportedEventResponse interface.
|
|
28
|
+
*/
|
|
29
|
+
function instanceOfSupportedEventResponse(value) {
|
|
30
|
+
if (!("created_at" in value) || value["created_at"] === void 0) return false;
|
|
31
|
+
if (!("id" in value) || value["id"] === void 0) return false;
|
|
32
|
+
if (!("ready" in value) || value["ready"] === void 0) return false;
|
|
33
|
+
if (!("supported" in value) || value["supported"] === void 0) return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
function SupportedEventResponseFromJSON(json) {
|
|
37
|
+
return SupportedEventResponseFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function SupportedEventResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) return json;
|
|
41
|
+
return {
|
|
42
|
+
"category": json["category"] == null ? void 0 : (0, SupportedEventProductCategory_1.SupportedEventProductCategoryFromJSON)(json["category"]),
|
|
43
|
+
"collections": json["collections"] == null ? void 0 : json["collections"],
|
|
44
|
+
"created_at": json["created_at"],
|
|
45
|
+
"id": json["id"],
|
|
46
|
+
"merchant_tags": json["merchant_tags"] == null ? void 0 : json["merchant_tags"],
|
|
47
|
+
"num_of_reviews": json["num_of_reviews"] == null ? void 0 : json["num_of_reviews"],
|
|
48
|
+
"ready": json["ready"],
|
|
49
|
+
"supported": json["supported"],
|
|
50
|
+
"top_category": json["top_category"] == null ? void 0 : json["top_category"]
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
function SupportedEventResponseToJSON(json) {
|
|
54
|
+
return SupportedEventResponseToJSONTyped(json, false);
|
|
55
|
+
}
|
|
56
|
+
function SupportedEventResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
57
|
+
if (value == null) return value;
|
|
58
|
+
return {
|
|
59
|
+
"category": (0, SupportedEventProductCategory_1.SupportedEventProductCategoryToJSON)(value["category"]),
|
|
60
|
+
"collections": value["collections"],
|
|
61
|
+
"created_at": value["created_at"],
|
|
62
|
+
"id": value["id"],
|
|
63
|
+
"merchant_tags": value["merchant_tags"],
|
|
64
|
+
"num_of_reviews": value["num_of_reviews"],
|
|
65
|
+
"ready": value["ready"],
|
|
66
|
+
"supported": value["supported"],
|
|
67
|
+
"top_category": value["top_category"]
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
}));
|
|
71
|
+
|
|
72
|
+
//#endregion
|
|
73
|
+
Object.defineProperty(exports, 'default', {
|
|
74
|
+
enumerable: true,
|
|
75
|
+
get: function () {
|
|
76
|
+
return require_SupportedEventResponse();
|
|
77
|
+
}
|
|
78
|
+
});
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
|
|
4
|
+
const require_ReportContent$1 = require('./ReportContent.cjs');
|
|
5
|
+
const require_TurnInfoPrevUserEvent$1 = require('./TurnInfoPrevUserEvent.cjs');
|
|
6
|
+
|
|
7
|
+
//#region ../../node_modules/@spiffy-ai/commerce-api-client/dist/models/TurnInfo.js
|
|
8
|
+
var require_TurnInfo = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
9
|
+
/**
|
|
10
|
+
* Commerce
|
|
11
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
12
|
+
*
|
|
13
|
+
* The version of the OpenAPI document: 1.1.0
|
|
14
|
+
*
|
|
15
|
+
*
|
|
16
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
17
|
+
* https://openapi-generator.tech
|
|
18
|
+
* Do not edit the class manually.
|
|
19
|
+
*/
|
|
20
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
+
exports.instanceOfTurnInfo = instanceOfTurnInfo;
|
|
22
|
+
exports.TurnInfoFromJSON = TurnInfoFromJSON;
|
|
23
|
+
exports.TurnInfoFromJSONTyped = TurnInfoFromJSONTyped;
|
|
24
|
+
exports.TurnInfoToJSON = TurnInfoToJSON;
|
|
25
|
+
exports.TurnInfoToJSONTyped = TurnInfoToJSONTyped;
|
|
26
|
+
const ReportContent_1 = require_ReportContent$1.default;
|
|
27
|
+
const TurnInfoPrevUserEvent_1 = require_TurnInfoPrevUserEvent$1.default;
|
|
28
|
+
/**
|
|
29
|
+
* Check if a given object implements the TurnInfo interface.
|
|
30
|
+
*/
|
|
31
|
+
function instanceOfTurnInfo(value) {
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
function TurnInfoFromJSON(json) {
|
|
35
|
+
return TurnInfoFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
function TurnInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) return json;
|
|
39
|
+
return {
|
|
40
|
+
"message_correction": json["message_correction"] == null ? void 0 : json["message_correction"],
|
|
41
|
+
"messages": json["messages"] == null ? void 0 : json["messages"].map(ReportContent_1.ReportContentFromJSON),
|
|
42
|
+
"prev_user_event": json["prev_user_event"] == null ? void 0 : (0, TurnInfoPrevUserEvent_1.TurnInfoPrevUserEventFromJSON)(json["prev_user_event"]),
|
|
43
|
+
"suggestions": json["suggestions"] == null ? void 0 : json["suggestions"].map(ReportContent_1.ReportContentFromJSON),
|
|
44
|
+
"suggestions_correction": json["suggestions_correction"] == null ? void 0 : json["suggestions_correction"],
|
|
45
|
+
"turn_idx": json["turn_idx"] == null ? void 0 : json["turn_idx"]
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
function TurnInfoToJSON(json) {
|
|
49
|
+
return TurnInfoToJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
function TurnInfoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
52
|
+
if (value == null) return value;
|
|
53
|
+
return {
|
|
54
|
+
"message_correction": value["message_correction"],
|
|
55
|
+
"messages": value["messages"] == null ? void 0 : value["messages"].map(ReportContent_1.ReportContentToJSON),
|
|
56
|
+
"prev_user_event": (0, TurnInfoPrevUserEvent_1.TurnInfoPrevUserEventToJSON)(value["prev_user_event"]),
|
|
57
|
+
"suggestions": value["suggestions"] == null ? void 0 : value["suggestions"].map(ReportContent_1.ReportContentToJSON),
|
|
58
|
+
"suggestions_correction": value["suggestions_correction"],
|
|
59
|
+
"turn_idx": value["turn_idx"]
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
}));
|
|
63
|
+
|
|
64
|
+
//#endregion
|
|
65
|
+
Object.defineProperty(exports, 'default', {
|
|
66
|
+
enumerable: true,
|
|
67
|
+
get: function () {
|
|
68
|
+
return require_TurnInfo();
|
|
69
|
+
}
|
|
70
|
+
});
|
package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/TurnInfoPrevUserEvent.cjs
ADDED
|
@@ -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/TurnInfoPrevUserEvent.js
|
|
6
|
+
var require_TurnInfoPrevUserEvent = /* @__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.instanceOfTurnInfoPrevUserEvent = instanceOfTurnInfoPrevUserEvent;
|
|
20
|
+
exports.TurnInfoPrevUserEventFromJSON = TurnInfoPrevUserEventFromJSON;
|
|
21
|
+
exports.TurnInfoPrevUserEventFromJSONTyped = TurnInfoPrevUserEventFromJSONTyped;
|
|
22
|
+
exports.TurnInfoPrevUserEventToJSON = TurnInfoPrevUserEventToJSON;
|
|
23
|
+
exports.TurnInfoPrevUserEventToJSONTyped = TurnInfoPrevUserEventToJSONTyped;
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the TurnInfoPrevUserEvent interface.
|
|
26
|
+
*/
|
|
27
|
+
function instanceOfTurnInfoPrevUserEvent(value) {
|
|
28
|
+
if (!("category" in value) || value["category"] === void 0) return false;
|
|
29
|
+
if (!("id" in value) || value["id"] === void 0) return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
function TurnInfoPrevUserEventFromJSON(json) {
|
|
33
|
+
return TurnInfoPrevUserEventFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function TurnInfoPrevUserEventFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) return json;
|
|
37
|
+
return {
|
|
38
|
+
"category": json["category"],
|
|
39
|
+
"id": json["id"]
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function TurnInfoPrevUserEventToJSON(json) {
|
|
43
|
+
return TurnInfoPrevUserEventToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function TurnInfoPrevUserEventToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) return value;
|
|
47
|
+
return {
|
|
48
|
+
"category": value["category"],
|
|
49
|
+
"id": value["id"]
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
}));
|
|
53
|
+
|
|
54
|
+
//#endregion
|
|
55
|
+
Object.defineProperty(exports, 'default', {
|
|
56
|
+
enumerable: true,
|
|
57
|
+
get: function () {
|
|
58
|
+
return require_TurnInfoPrevUserEvent();
|
|
59
|
+
}
|
|
60
|
+
});
|