@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
package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/UrlResolvingGenericConfig.cjs
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
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/UrlResolvingGenericConfig.js
|
|
6
|
+
var require_UrlResolvingGenericConfig = /* @__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.instanceOfUrlResolvingGenericConfig = instanceOfUrlResolvingGenericConfig;
|
|
20
|
+
exports.UrlResolvingGenericConfigFromJSON = UrlResolvingGenericConfigFromJSON;
|
|
21
|
+
exports.UrlResolvingGenericConfigFromJSONTyped = UrlResolvingGenericConfigFromJSONTyped;
|
|
22
|
+
exports.UrlResolvingGenericConfigToJSON = UrlResolvingGenericConfigToJSON;
|
|
23
|
+
exports.UrlResolvingGenericConfigToJSONTyped = UrlResolvingGenericConfigToJSONTyped;
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the UrlResolvingGenericConfig interface.
|
|
26
|
+
*/
|
|
27
|
+
function instanceOfUrlResolvingGenericConfig(value) {
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function UrlResolvingGenericConfigFromJSON(json) {
|
|
31
|
+
return UrlResolvingGenericConfigFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function UrlResolvingGenericConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) return json;
|
|
35
|
+
return { "details": json["details"] == null ? void 0 : json["details"] };
|
|
36
|
+
}
|
|
37
|
+
function UrlResolvingGenericConfigToJSON(json) {
|
|
38
|
+
return UrlResolvingGenericConfigToJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
function UrlResolvingGenericConfigToJSONTyped(value, ignoreDiscriminator = false) {
|
|
41
|
+
if (value == null) return value;
|
|
42
|
+
return { "details": value["details"] };
|
|
43
|
+
}
|
|
44
|
+
}));
|
|
45
|
+
|
|
46
|
+
//#endregion
|
|
47
|
+
Object.defineProperty(exports, 'default', {
|
|
48
|
+
enumerable: true,
|
|
49
|
+
get: function () {
|
|
50
|
+
return require_UrlResolvingGenericConfig();
|
|
51
|
+
}
|
|
52
|
+
});
|
package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/UrlResolvingPDPConfig.cjs
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
|
|
4
|
+
const require_PDPAttributes$1 = require('./PDPAttributes.cjs');
|
|
5
|
+
|
|
6
|
+
//#region ../../node_modules/@spiffy-ai/commerce-api-client/dist/models/UrlResolvingPDPConfig.js
|
|
7
|
+
var require_UrlResolvingPDPConfig = /* @__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.instanceOfUrlResolvingPDPConfig = instanceOfUrlResolvingPDPConfig;
|
|
21
|
+
exports.UrlResolvingPDPConfigFromJSON = UrlResolvingPDPConfigFromJSON;
|
|
22
|
+
exports.UrlResolvingPDPConfigFromJSONTyped = UrlResolvingPDPConfigFromJSONTyped;
|
|
23
|
+
exports.UrlResolvingPDPConfigToJSON = UrlResolvingPDPConfigToJSON;
|
|
24
|
+
exports.UrlResolvingPDPConfigToJSONTyped = UrlResolvingPDPConfigToJSONTyped;
|
|
25
|
+
const PDPAttributes_1 = require_PDPAttributes$1.default;
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the UrlResolvingPDPConfig interface.
|
|
28
|
+
*/
|
|
29
|
+
function instanceOfUrlResolvingPDPConfig(value) {
|
|
30
|
+
if (!("pdp_attributes" in value) || value["pdp_attributes"] === void 0) return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function UrlResolvingPDPConfigFromJSON(json) {
|
|
34
|
+
return UrlResolvingPDPConfigFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function UrlResolvingPDPConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) return json;
|
|
38
|
+
return {
|
|
39
|
+
"collections": json["collections"] == null ? void 0 : json["collections"],
|
|
40
|
+
"merchant_tags": json["merchant_tags"] == null ? void 0 : json["merchant_tags"],
|
|
41
|
+
"number_of_reviews": json["number_of_reviews"] == null ? void 0 : json["number_of_reviews"],
|
|
42
|
+
"pdp_attributes": (0, PDPAttributes_1.PDPAttributesFromJSON)(json["pdp_attributes"])
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function UrlResolvingPDPConfigToJSON(json) {
|
|
46
|
+
return UrlResolvingPDPConfigToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function UrlResolvingPDPConfigToJSONTyped(value, ignoreDiscriminator = false) {
|
|
49
|
+
if (value == null) return value;
|
|
50
|
+
return {
|
|
51
|
+
"collections": value["collections"],
|
|
52
|
+
"merchant_tags": value["merchant_tags"],
|
|
53
|
+
"number_of_reviews": value["number_of_reviews"],
|
|
54
|
+
"pdp_attributes": (0, PDPAttributes_1.PDPAttributesToJSON)(value["pdp_attributes"])
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
}));
|
|
58
|
+
|
|
59
|
+
//#endregion
|
|
60
|
+
Object.defineProperty(exports, 'default', {
|
|
61
|
+
enumerable: true,
|
|
62
|
+
get: function () {
|
|
63
|
+
return require_UrlResolvingPDPConfig();
|
|
64
|
+
}
|
|
65
|
+
});
|
package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/UrlResolvingPLPConfig.cjs
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
|
|
4
|
+
const require_PLPAttributes$1 = require('./PLPAttributes.cjs');
|
|
5
|
+
|
|
6
|
+
//#region ../../node_modules/@spiffy-ai/commerce-api-client/dist/models/UrlResolvingPLPConfig.js
|
|
7
|
+
var require_UrlResolvingPLPConfig = /* @__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.instanceOfUrlResolvingPLPConfig = instanceOfUrlResolvingPLPConfig;
|
|
21
|
+
exports.UrlResolvingPLPConfigFromJSON = UrlResolvingPLPConfigFromJSON;
|
|
22
|
+
exports.UrlResolvingPLPConfigFromJSONTyped = UrlResolvingPLPConfigFromJSONTyped;
|
|
23
|
+
exports.UrlResolvingPLPConfigToJSON = UrlResolvingPLPConfigToJSON;
|
|
24
|
+
exports.UrlResolvingPLPConfigToJSONTyped = UrlResolvingPLPConfigToJSONTyped;
|
|
25
|
+
const PLPAttributes_1 = require_PLPAttributes$1.default;
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the UrlResolvingPLPConfig interface.
|
|
28
|
+
*/
|
|
29
|
+
function instanceOfUrlResolvingPLPConfig(value) {
|
|
30
|
+
if (!("plp_attributes" in value) || value["plp_attributes"] === void 0) return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function UrlResolvingPLPConfigFromJSON(json) {
|
|
34
|
+
return UrlResolvingPLPConfigFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function UrlResolvingPLPConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) return json;
|
|
38
|
+
return {
|
|
39
|
+
"plp_attributes": (0, PLPAttributes_1.PLPAttributesFromJSON)(json["plp_attributes"]),
|
|
40
|
+
"top_category": json["top_category"] == null ? void 0 : json["top_category"]
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function UrlResolvingPLPConfigToJSON(json) {
|
|
44
|
+
return UrlResolvingPLPConfigToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function UrlResolvingPLPConfigToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) return value;
|
|
48
|
+
return {
|
|
49
|
+
"plp_attributes": (0, PLPAttributes_1.PLPAttributesToJSON)(value["plp_attributes"]),
|
|
50
|
+
"top_category": value["top_category"]
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
}));
|
|
54
|
+
|
|
55
|
+
//#endregion
|
|
56
|
+
Object.defineProperty(exports, 'default', {
|
|
57
|
+
enumerable: true,
|
|
58
|
+
get: function () {
|
|
59
|
+
return require_UrlResolvingPLPConfig();
|
|
60
|
+
}
|
|
61
|
+
});
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
|
|
4
|
+
const require_Context$1 = require('./Context.cjs');
|
|
5
|
+
|
|
6
|
+
//#region ../../node_modules/@spiffy-ai/commerce-api-client/dist/models/UrlResolvingRequest.js
|
|
7
|
+
var require_UrlResolvingRequest = /* @__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.instanceOfUrlResolvingRequest = instanceOfUrlResolvingRequest;
|
|
21
|
+
exports.UrlResolvingRequestFromJSON = UrlResolvingRequestFromJSON;
|
|
22
|
+
exports.UrlResolvingRequestFromJSONTyped = UrlResolvingRequestFromJSONTyped;
|
|
23
|
+
exports.UrlResolvingRequestToJSON = UrlResolvingRequestToJSON;
|
|
24
|
+
exports.UrlResolvingRequestToJSONTyped = UrlResolvingRequestToJSONTyped;
|
|
25
|
+
const Context_1 = require_Context$1.default;
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the UrlResolvingRequest interface.
|
|
28
|
+
*/
|
|
29
|
+
function instanceOfUrlResolvingRequest(value) {
|
|
30
|
+
if (!("context" in value) || value["context"] === void 0) return false;
|
|
31
|
+
if (!("feature_gates" in value) || value["feature_gates"] === void 0) return false;
|
|
32
|
+
if (!("url" in value) || value["url"] === void 0) return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function UrlResolvingRequestFromJSON(json) {
|
|
36
|
+
return UrlResolvingRequestFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function UrlResolvingRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) return json;
|
|
40
|
+
return {
|
|
41
|
+
"context": (0, Context_1.ContextFromJSON)(json["context"]),
|
|
42
|
+
"feature_gates": json["feature_gates"],
|
|
43
|
+
"url": json["url"]
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function UrlResolvingRequestToJSON(json) {
|
|
47
|
+
return UrlResolvingRequestToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function UrlResolvingRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) return value;
|
|
51
|
+
return {
|
|
52
|
+
"context": (0, Context_1.ContextToJSON)(value["context"]),
|
|
53
|
+
"feature_gates": value["feature_gates"],
|
|
54
|
+
"url": value["url"]
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
}));
|
|
58
|
+
|
|
59
|
+
//#endregion
|
|
60
|
+
Object.defineProperty(exports, 'default', {
|
|
61
|
+
enumerable: true,
|
|
62
|
+
get: function () {
|
|
63
|
+
return require_UrlResolvingRequest();
|
|
64
|
+
}
|
|
65
|
+
});
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
|
|
4
|
+
const require_UserEvent$1 = require('./UserEvent.cjs');
|
|
5
|
+
const require_UrlResolvingResponseSpecificDetails$1 = require('./UrlResolvingResponseSpecificDetails.cjs');
|
|
6
|
+
const require_UrlResolvingType$1 = require('./UrlResolvingType.cjs');
|
|
7
|
+
|
|
8
|
+
//#region ../../node_modules/@spiffy-ai/commerce-api-client/dist/models/UrlResolvingResponse.js
|
|
9
|
+
var require_UrlResolvingResponse = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
10
|
+
/**
|
|
11
|
+
* Commerce
|
|
12
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
13
|
+
*
|
|
14
|
+
* The version of the OpenAPI document: 1.1.0
|
|
15
|
+
*
|
|
16
|
+
*
|
|
17
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
18
|
+
* https://openapi-generator.tech
|
|
19
|
+
* Do not edit the class manually.
|
|
20
|
+
*/
|
|
21
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
+
exports.instanceOfUrlResolvingResponse = instanceOfUrlResolvingResponse;
|
|
23
|
+
exports.UrlResolvingResponseFromJSON = UrlResolvingResponseFromJSON;
|
|
24
|
+
exports.UrlResolvingResponseFromJSONTyped = UrlResolvingResponseFromJSONTyped;
|
|
25
|
+
exports.UrlResolvingResponseToJSON = UrlResolvingResponseToJSON;
|
|
26
|
+
exports.UrlResolvingResponseToJSONTyped = UrlResolvingResponseToJSONTyped;
|
|
27
|
+
const UrlResolvingResponseSpecificDetails_1 = require_UrlResolvingResponseSpecificDetails$1.default;
|
|
28
|
+
const UrlResolvingType_1 = require_UrlResolvingType$1.default;
|
|
29
|
+
const UserEvent_1 = require_UserEvent$1.default;
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the UrlResolvingResponse interface.
|
|
32
|
+
*/
|
|
33
|
+
function instanceOfUrlResolvingResponse(value) {
|
|
34
|
+
if (!("ready" in value) || value["ready"] === void 0) return false;
|
|
35
|
+
if (!("specific_details" in value) || value["specific_details"] === void 0) return false;
|
|
36
|
+
if (!("variant_type" in value) || value["variant_type"] === void 0) return false;
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
function UrlResolvingResponseFromJSON(json) {
|
|
40
|
+
return UrlResolvingResponseFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function UrlResolvingResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if (json == null) return json;
|
|
44
|
+
return {
|
|
45
|
+
"page_variant": json["page_variant"] == null ? void 0 : json["page_variant"],
|
|
46
|
+
"ready": json["ready"],
|
|
47
|
+
"specific_details": (0, UrlResolvingResponseSpecificDetails_1.UrlResolvingResponseSpecificDetailsFromJSON)(json["specific_details"]),
|
|
48
|
+
"user_event": json["user_event"] == null ? void 0 : (0, UserEvent_1.UserEventFromJSON)(json["user_event"]),
|
|
49
|
+
"variant_type": (0, UrlResolvingType_1.UrlResolvingTypeFromJSON)(json["variant_type"])
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
function UrlResolvingResponseToJSON(json) {
|
|
53
|
+
return UrlResolvingResponseToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
function UrlResolvingResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
56
|
+
if (value == null) return value;
|
|
57
|
+
return {
|
|
58
|
+
"page_variant": value["page_variant"],
|
|
59
|
+
"ready": value["ready"],
|
|
60
|
+
"specific_details": (0, UrlResolvingResponseSpecificDetails_1.UrlResolvingResponseSpecificDetailsToJSON)(value["specific_details"]),
|
|
61
|
+
"user_event": (0, UserEvent_1.UserEventToJSON)(value["user_event"]),
|
|
62
|
+
"variant_type": (0, UrlResolvingType_1.UrlResolvingTypeToJSON)(value["variant_type"])
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
}));
|
|
66
|
+
|
|
67
|
+
//#endregion
|
|
68
|
+
Object.defineProperty(exports, 'default', {
|
|
69
|
+
enumerable: true,
|
|
70
|
+
get: function () {
|
|
71
|
+
return require_UrlResolvingResponse();
|
|
72
|
+
}
|
|
73
|
+
});
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
|
|
4
|
+
const require_UrlResolvingGenericConfig$1 = require('./UrlResolvingGenericConfig.cjs');
|
|
5
|
+
const require_UrlResolvingPDPConfig$1 = require('./UrlResolvingPDPConfig.cjs');
|
|
6
|
+
const require_UrlResolvingPLPConfig$1 = require('./UrlResolvingPLPConfig.cjs');
|
|
7
|
+
|
|
8
|
+
//#region ../../node_modules/@spiffy-ai/commerce-api-client/dist/models/UrlResolvingResponseSpecificDetails.js
|
|
9
|
+
var require_UrlResolvingResponseSpecificDetails = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
10
|
+
/**
|
|
11
|
+
* Commerce
|
|
12
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
13
|
+
*
|
|
14
|
+
* The version of the OpenAPI document: 1.1.0
|
|
15
|
+
*
|
|
16
|
+
*
|
|
17
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
18
|
+
* https://openapi-generator.tech
|
|
19
|
+
* Do not edit the class manually.
|
|
20
|
+
*/
|
|
21
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
+
exports.UrlResolvingResponseSpecificDetailsFromJSON = UrlResolvingResponseSpecificDetailsFromJSON;
|
|
23
|
+
exports.UrlResolvingResponseSpecificDetailsFromJSONTyped = UrlResolvingResponseSpecificDetailsFromJSONTyped;
|
|
24
|
+
exports.UrlResolvingResponseSpecificDetailsToJSON = UrlResolvingResponseSpecificDetailsToJSON;
|
|
25
|
+
exports.UrlResolvingResponseSpecificDetailsToJSONTyped = UrlResolvingResponseSpecificDetailsToJSONTyped;
|
|
26
|
+
const UrlResolvingGenericConfig_1 = require_UrlResolvingGenericConfig$1.default;
|
|
27
|
+
const UrlResolvingPDPConfig_1 = require_UrlResolvingPDPConfig$1.default;
|
|
28
|
+
const UrlResolvingPLPConfig_1 = require_UrlResolvingPLPConfig$1.default;
|
|
29
|
+
function UrlResolvingResponseSpecificDetailsFromJSON(json) {
|
|
30
|
+
return UrlResolvingResponseSpecificDetailsFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function UrlResolvingResponseSpecificDetailsFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) return json;
|
|
34
|
+
if (typeof json !== "object") return json;
|
|
35
|
+
if ((0, UrlResolvingGenericConfig_1.instanceOfUrlResolvingGenericConfig)(json)) return (0, UrlResolvingGenericConfig_1.UrlResolvingGenericConfigFromJSONTyped)(json, true);
|
|
36
|
+
if ((0, UrlResolvingPDPConfig_1.instanceOfUrlResolvingPDPConfig)(json)) return (0, UrlResolvingPDPConfig_1.UrlResolvingPDPConfigFromJSONTyped)(json, true);
|
|
37
|
+
if ((0, UrlResolvingPLPConfig_1.instanceOfUrlResolvingPLPConfig)(json)) return (0, UrlResolvingPLPConfig_1.UrlResolvingPLPConfigFromJSONTyped)(json, true);
|
|
38
|
+
return {};
|
|
39
|
+
}
|
|
40
|
+
function UrlResolvingResponseSpecificDetailsToJSON(json) {
|
|
41
|
+
return UrlResolvingResponseSpecificDetailsToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function UrlResolvingResponseSpecificDetailsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) return value;
|
|
45
|
+
if (typeof value !== "object") return value;
|
|
46
|
+
if ((0, UrlResolvingGenericConfig_1.instanceOfUrlResolvingGenericConfig)(value)) return (0, UrlResolvingGenericConfig_1.UrlResolvingGenericConfigToJSON)(value);
|
|
47
|
+
if ((0, UrlResolvingPDPConfig_1.instanceOfUrlResolvingPDPConfig)(value)) return (0, UrlResolvingPDPConfig_1.UrlResolvingPDPConfigToJSON)(value);
|
|
48
|
+
if ((0, UrlResolvingPLPConfig_1.instanceOfUrlResolvingPLPConfig)(value)) return (0, UrlResolvingPLPConfig_1.UrlResolvingPLPConfigToJSON)(value);
|
|
49
|
+
return {};
|
|
50
|
+
}
|
|
51
|
+
}));
|
|
52
|
+
|
|
53
|
+
//#endregion
|
|
54
|
+
Object.defineProperty(exports, 'default', {
|
|
55
|
+
enumerable: true,
|
|
56
|
+
get: function () {
|
|
57
|
+
return require_UrlResolvingResponseSpecificDetails();
|
|
58
|
+
}
|
|
59
|
+
});
|
|
@@ -0,0 +1,67 @@
|
|
|
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/UrlResolvingType.js
|
|
6
|
+
var require_UrlResolvingType = /* @__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.UrlResolvingType = void 0;
|
|
20
|
+
exports.instanceOfUrlResolvingType = instanceOfUrlResolvingType;
|
|
21
|
+
exports.UrlResolvingTypeFromJSON = UrlResolvingTypeFromJSON;
|
|
22
|
+
exports.UrlResolvingTypeFromJSONTyped = UrlResolvingTypeFromJSONTyped;
|
|
23
|
+
exports.UrlResolvingTypeToJSON = UrlResolvingTypeToJSON;
|
|
24
|
+
exports.UrlResolvingTypeToJSONTyped = UrlResolvingTypeToJSONTyped;
|
|
25
|
+
/**
|
|
26
|
+
* Type of page variant
|
|
27
|
+
* @export
|
|
28
|
+
* @enum {string}
|
|
29
|
+
*/
|
|
30
|
+
var UrlResolvingType;
|
|
31
|
+
(function(UrlResolvingType$1) {
|
|
32
|
+
UrlResolvingType$1["Pdp"] = "pdp";
|
|
33
|
+
UrlResolvingType$1["Plp"] = "plp";
|
|
34
|
+
UrlResolvingType$1["Search"] = "search";
|
|
35
|
+
UrlResolvingType$1["Other"] = "other";
|
|
36
|
+
UrlResolvingType$1["Homepage"] = "homepage";
|
|
37
|
+
UrlResolvingType$1["Page"] = "page";
|
|
38
|
+
UrlResolvingType$1["FullPage"] = "full_page";
|
|
39
|
+
UrlResolvingType$1["Unsupported"] = "unsupported";
|
|
40
|
+
})(UrlResolvingType || (exports.UrlResolvingType = UrlResolvingType = {}));
|
|
41
|
+
function instanceOfUrlResolvingType(value) {
|
|
42
|
+
for (const key in UrlResolvingType) if (Object.prototype.hasOwnProperty.call(UrlResolvingType, key)) {
|
|
43
|
+
if (UrlResolvingType[key] === value) return true;
|
|
44
|
+
}
|
|
45
|
+
return false;
|
|
46
|
+
}
|
|
47
|
+
function UrlResolvingTypeFromJSON(json) {
|
|
48
|
+
return UrlResolvingTypeFromJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function UrlResolvingTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
function UrlResolvingTypeToJSON(value) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
function UrlResolvingTypeToJSONTyped(value, ignoreDiscriminator) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
}));
|
|
60
|
+
|
|
61
|
+
//#endregion
|
|
62
|
+
Object.defineProperty(exports, 'default', {
|
|
63
|
+
enumerable: true,
|
|
64
|
+
get: function () {
|
|
65
|
+
return require_UrlResolvingType();
|
|
66
|
+
}
|
|
67
|
+
});
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
|
|
4
|
+
const require_UserEventCategory$1 = require('./UserEventCategory.cjs');
|
|
5
|
+
const require_UserEventAttributes$1 = require('./UserEventAttributes.cjs');
|
|
6
|
+
|
|
7
|
+
//#region ../../node_modules/@spiffy-ai/commerce-api-client/dist/models/UserEvent.js
|
|
8
|
+
var require_UserEvent = /* @__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.instanceOfUserEvent = instanceOfUserEvent;
|
|
22
|
+
exports.UserEventFromJSON = UserEventFromJSON;
|
|
23
|
+
exports.UserEventFromJSONTyped = UserEventFromJSONTyped;
|
|
24
|
+
exports.UserEventToJSON = UserEventToJSON;
|
|
25
|
+
exports.UserEventToJSONTyped = UserEventToJSONTyped;
|
|
26
|
+
const UserEventCategory_1 = require_UserEventCategory$1.default;
|
|
27
|
+
const UserEventAttributes_1 = require_UserEventAttributes$1.default;
|
|
28
|
+
/**
|
|
29
|
+
* Check if a given object implements the UserEvent interface.
|
|
30
|
+
*/
|
|
31
|
+
function instanceOfUserEvent(value) {
|
|
32
|
+
if (!("category" in value) || value["category"] === void 0) return false;
|
|
33
|
+
if (!("created_at" in value) || value["created_at"] === void 0) return false;
|
|
34
|
+
if (!("event_id" in value) || value["event_id"] === void 0) return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
function UserEventFromJSON(json) {
|
|
38
|
+
return UserEventFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
function UserEventFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
+
if (json == null) return json;
|
|
42
|
+
return {
|
|
43
|
+
"attributes": json["attributes"] == null ? void 0 : (0, UserEventAttributes_1.UserEventAttributesFromJSON)(json["attributes"]),
|
|
44
|
+
"category": (0, UserEventCategory_1.UserEventCategoryFromJSON)(json["category"]),
|
|
45
|
+
"created_at": json["created_at"],
|
|
46
|
+
"event_id": json["event_id"]
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function UserEventToJSON(json) {
|
|
50
|
+
return UserEventToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function UserEventToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
|
+
if (value == null) return value;
|
|
54
|
+
return {
|
|
55
|
+
"attributes": (0, UserEventAttributes_1.UserEventAttributesToJSON)(value["attributes"]),
|
|
56
|
+
"category": (0, UserEventCategory_1.UserEventCategoryToJSON)(value["category"]),
|
|
57
|
+
"created_at": value["created_at"],
|
|
58
|
+
"event_id": value["event_id"]
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
}));
|
|
62
|
+
|
|
63
|
+
//#endregion
|
|
64
|
+
Object.defineProperty(exports, 'default', {
|
|
65
|
+
enumerable: true,
|
|
66
|
+
get: function () {
|
|
67
|
+
return require_UserEvent();
|
|
68
|
+
}
|
|
69
|
+
});
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
|
|
4
|
+
const require_FormSubmittedAttributes$1 = require('./FormSubmittedAttributes.cjs');
|
|
5
|
+
const require_PDPAttributes$1 = require('./PDPAttributes.cjs');
|
|
6
|
+
const require_PLPAttributes$1 = require('./PLPAttributes.cjs');
|
|
7
|
+
const require_PageVisitAttributes$1 = require('./PageVisitAttributes.cjs');
|
|
8
|
+
const require_QueryTypedAttributes$1 = require('./QueryTypedAttributes.cjs');
|
|
9
|
+
const require_SearchAttributes$1 = require('./SearchAttributes.cjs');
|
|
10
|
+
const require_SuggestionClickedAttributes$1 = require('./SuggestionClickedAttributes.cjs');
|
|
11
|
+
|
|
12
|
+
//#region ../../node_modules/@spiffy-ai/commerce-api-client/dist/models/UserEventAttributes.js
|
|
13
|
+
var require_UserEventAttributes = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
14
|
+
/**
|
|
15
|
+
* Commerce
|
|
16
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
17
|
+
*
|
|
18
|
+
* The version of the OpenAPI document: 1.1.0
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
22
|
+
* https://openapi-generator.tech
|
|
23
|
+
* Do not edit the class manually.
|
|
24
|
+
*/
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.UserEventAttributesFromJSON = UserEventAttributesFromJSON;
|
|
27
|
+
exports.UserEventAttributesFromJSONTyped = UserEventAttributesFromJSONTyped;
|
|
28
|
+
exports.UserEventAttributesToJSON = UserEventAttributesToJSON;
|
|
29
|
+
exports.UserEventAttributesToJSONTyped = UserEventAttributesToJSONTyped;
|
|
30
|
+
const FormSubmittedAttributes_1 = require_FormSubmittedAttributes$1.default;
|
|
31
|
+
const PDPAttributes_1 = require_PDPAttributes$1.default;
|
|
32
|
+
const PLPAttributes_1 = require_PLPAttributes$1.default;
|
|
33
|
+
const PageVisitAttributes_1 = require_PageVisitAttributes$1.default;
|
|
34
|
+
const QueryTypedAttributes_1 = require_QueryTypedAttributes$1.default;
|
|
35
|
+
const SearchAttributes_1 = require_SearchAttributes$1.default;
|
|
36
|
+
const SuggestionClickedAttributes_1 = require_SuggestionClickedAttributes$1.default;
|
|
37
|
+
function UserEventAttributesFromJSON(json) {
|
|
38
|
+
return UserEventAttributesFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
function UserEventAttributesFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
+
if (json == null) return json;
|
|
42
|
+
if (typeof json !== "object") return json;
|
|
43
|
+
if ((0, FormSubmittedAttributes_1.instanceOfFormSubmittedAttributes)(json)) return (0, FormSubmittedAttributes_1.FormSubmittedAttributesFromJSONTyped)(json, true);
|
|
44
|
+
if ((0, PDPAttributes_1.instanceOfPDPAttributes)(json)) return (0, PDPAttributes_1.PDPAttributesFromJSONTyped)(json, true);
|
|
45
|
+
if ((0, PLPAttributes_1.instanceOfPLPAttributes)(json)) return (0, PLPAttributes_1.PLPAttributesFromJSONTyped)(json, true);
|
|
46
|
+
if ((0, PageVisitAttributes_1.instanceOfPageVisitAttributes)(json)) return (0, PageVisitAttributes_1.PageVisitAttributesFromJSONTyped)(json, true);
|
|
47
|
+
if ((0, QueryTypedAttributes_1.instanceOfQueryTypedAttributes)(json)) return (0, QueryTypedAttributes_1.QueryTypedAttributesFromJSONTyped)(json, true);
|
|
48
|
+
if ((0, SearchAttributes_1.instanceOfSearchAttributes)(json)) return (0, SearchAttributes_1.SearchAttributesFromJSONTyped)(json, true);
|
|
49
|
+
if ((0, SuggestionClickedAttributes_1.instanceOfSuggestionClickedAttributes)(json)) return (0, SuggestionClickedAttributes_1.SuggestionClickedAttributesFromJSONTyped)(json, true);
|
|
50
|
+
return {};
|
|
51
|
+
}
|
|
52
|
+
function UserEventAttributesToJSON(json) {
|
|
53
|
+
return UserEventAttributesToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
function UserEventAttributesToJSONTyped(value, ignoreDiscriminator = false) {
|
|
56
|
+
if (value == null) return value;
|
|
57
|
+
if (typeof value !== "object") return value;
|
|
58
|
+
if ((0, FormSubmittedAttributes_1.instanceOfFormSubmittedAttributes)(value)) return (0, FormSubmittedAttributes_1.FormSubmittedAttributesToJSON)(value);
|
|
59
|
+
if ((0, PDPAttributes_1.instanceOfPDPAttributes)(value)) return (0, PDPAttributes_1.PDPAttributesToJSON)(value);
|
|
60
|
+
if ((0, PLPAttributes_1.instanceOfPLPAttributes)(value)) return (0, PLPAttributes_1.PLPAttributesToJSON)(value);
|
|
61
|
+
if ((0, PageVisitAttributes_1.instanceOfPageVisitAttributes)(value)) return (0, PageVisitAttributes_1.PageVisitAttributesToJSON)(value);
|
|
62
|
+
if ((0, QueryTypedAttributes_1.instanceOfQueryTypedAttributes)(value)) return (0, QueryTypedAttributes_1.QueryTypedAttributesToJSON)(value);
|
|
63
|
+
if ((0, SearchAttributes_1.instanceOfSearchAttributes)(value)) return (0, SearchAttributes_1.SearchAttributesToJSON)(value);
|
|
64
|
+
if ((0, SuggestionClickedAttributes_1.instanceOfSuggestionClickedAttributes)(value)) return (0, SuggestionClickedAttributes_1.SuggestionClickedAttributesToJSON)(value);
|
|
65
|
+
return {};
|
|
66
|
+
}
|
|
67
|
+
}));
|
|
68
|
+
|
|
69
|
+
//#endregion
|
|
70
|
+
Object.defineProperty(exports, 'default', {
|
|
71
|
+
enumerable: true,
|
|
72
|
+
get: function () {
|
|
73
|
+
return require_UserEventAttributes();
|
|
74
|
+
}
|
|
75
|
+
});
|
|
@@ -0,0 +1,70 @@
|
|
|
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/UserEventCategory.js
|
|
6
|
+
var require_UserEventCategory = /* @__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.UserEventCategory = void 0;
|
|
20
|
+
exports.instanceOfUserEventCategory = instanceOfUserEventCategory;
|
|
21
|
+
exports.UserEventCategoryFromJSON = UserEventCategoryFromJSON;
|
|
22
|
+
exports.UserEventCategoryFromJSONTyped = UserEventCategoryFromJSONTyped;
|
|
23
|
+
exports.UserEventCategoryToJSON = UserEventCategoryToJSON;
|
|
24
|
+
exports.UserEventCategoryToJSONTyped = UserEventCategoryToJSONTyped;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @export
|
|
28
|
+
* @enum {string}
|
|
29
|
+
*/
|
|
30
|
+
var UserEventCategory;
|
|
31
|
+
(function(UserEventCategory$1) {
|
|
32
|
+
UserEventCategory$1["AppLoaded"] = "app_loaded";
|
|
33
|
+
UserEventCategory$1["Search"] = "search";
|
|
34
|
+
UserEventCategory$1["SuggestionClicked"] = "suggestion_clicked";
|
|
35
|
+
UserEventCategory$1["QueryTyped"] = "query_typed";
|
|
36
|
+
UserEventCategory$1["AppUnloaded"] = "app_unloaded";
|
|
37
|
+
UserEventCategory$1["PdpVisit"] = "pdp_visit";
|
|
38
|
+
UserEventCategory$1["PlpVisit"] = "plp_visit";
|
|
39
|
+
UserEventCategory$1["AddToCart"] = "add_to_cart";
|
|
40
|
+
UserEventCategory$1["ExitSearch"] = "exit_search";
|
|
41
|
+
UserEventCategory$1["PageVisit"] = "page_visit";
|
|
42
|
+
UserEventCategory$1["FormSubmitted"] = "form_submitted";
|
|
43
|
+
})(UserEventCategory || (exports.UserEventCategory = UserEventCategory = {}));
|
|
44
|
+
function instanceOfUserEventCategory(value) {
|
|
45
|
+
for (const key in UserEventCategory) if (Object.prototype.hasOwnProperty.call(UserEventCategory, key)) {
|
|
46
|
+
if (UserEventCategory[key] === value) return true;
|
|
47
|
+
}
|
|
48
|
+
return false;
|
|
49
|
+
}
|
|
50
|
+
function UserEventCategoryFromJSON(json) {
|
|
51
|
+
return UserEventCategoryFromJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
function UserEventCategoryFromJSONTyped(json, ignoreDiscriminator) {
|
|
54
|
+
return json;
|
|
55
|
+
}
|
|
56
|
+
function UserEventCategoryToJSON(value) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
function UserEventCategoryToJSONTyped(value, ignoreDiscriminator) {
|
|
60
|
+
return value;
|
|
61
|
+
}
|
|
62
|
+
}));
|
|
63
|
+
|
|
64
|
+
//#endregion
|
|
65
|
+
Object.defineProperty(exports, 'default', {
|
|
66
|
+
enumerable: true,
|
|
67
|
+
get: function () {
|
|
68
|
+
return require_UserEventCategory();
|
|
69
|
+
}
|
|
70
|
+
});
|