@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,99 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
|
|
4
|
+
const require_TurnInfo$1 = require('./TurnInfo.cjs');
|
|
5
|
+
|
|
6
|
+
//#region ../../node_modules/@spiffy-ai/commerce-api-client/dist/models/ReportSessionRequest.js
|
|
7
|
+
var require_ReportSessionRequest = /* @__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.ReportSessionRequestReportTypeEnum = exports.ReportSessionRequestReportPriorityEnum = void 0;
|
|
21
|
+
exports.instanceOfReportSessionRequest = instanceOfReportSessionRequest;
|
|
22
|
+
exports.ReportSessionRequestFromJSON = ReportSessionRequestFromJSON;
|
|
23
|
+
exports.ReportSessionRequestFromJSONTyped = ReportSessionRequestFromJSONTyped;
|
|
24
|
+
exports.ReportSessionRequestToJSON = ReportSessionRequestToJSON;
|
|
25
|
+
exports.ReportSessionRequestToJSONTyped = ReportSessionRequestToJSONTyped;
|
|
26
|
+
const TurnInfo_1 = require_TurnInfo$1.default;
|
|
27
|
+
/**
|
|
28
|
+
* @export
|
|
29
|
+
* @enum {string}
|
|
30
|
+
*/
|
|
31
|
+
var ReportSessionRequestReportPriorityEnum;
|
|
32
|
+
(function(ReportSessionRequestReportPriorityEnum$1) {
|
|
33
|
+
ReportSessionRequestReportPriorityEnum$1["P0"] = "p0";
|
|
34
|
+
ReportSessionRequestReportPriorityEnum$1["P1"] = "p1";
|
|
35
|
+
ReportSessionRequestReportPriorityEnum$1["P2"] = "p2";
|
|
36
|
+
ReportSessionRequestReportPriorityEnum$1["P3"] = "p3";
|
|
37
|
+
ReportSessionRequestReportPriorityEnum$1["NoPriority"] = "no priority";
|
|
38
|
+
})(ReportSessionRequestReportPriorityEnum || (exports.ReportSessionRequestReportPriorityEnum = ReportSessionRequestReportPriorityEnum = {}));
|
|
39
|
+
/**
|
|
40
|
+
* @export
|
|
41
|
+
* @enum {string}
|
|
42
|
+
*/
|
|
43
|
+
var ReportSessionRequestReportTypeEnum;
|
|
44
|
+
(function(ReportSessionRequestReportTypeEnum$1) {
|
|
45
|
+
ReportSessionRequestReportTypeEnum$1["Message"] = "message";
|
|
46
|
+
ReportSessionRequestReportTypeEnum$1["Suggestion"] = "suggestion";
|
|
47
|
+
ReportSessionRequestReportTypeEnum$1["Session"] = "session";
|
|
48
|
+
ReportSessionRequestReportTypeEnum$1["Turn"] = "turn";
|
|
49
|
+
})(ReportSessionRequestReportTypeEnum || (exports.ReportSessionRequestReportTypeEnum = ReportSessionRequestReportTypeEnum = {}));
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the ReportSessionRequest interface.
|
|
52
|
+
*/
|
|
53
|
+
function instanceOfReportSessionRequest(value) {
|
|
54
|
+
if (!("user_id" in value) || value["user_id"] === void 0) return false;
|
|
55
|
+
return true;
|
|
56
|
+
}
|
|
57
|
+
function ReportSessionRequestFromJSON(json) {
|
|
58
|
+
return ReportSessionRequestFromJSONTyped(json, false);
|
|
59
|
+
}
|
|
60
|
+
function ReportSessionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
61
|
+
if (json == null) return json;
|
|
62
|
+
return {
|
|
63
|
+
"correct_session": json["correct_session"] == null ? void 0 : json["correct_session"],
|
|
64
|
+
"corrected": json["corrected"] == null ? void 0 : json["corrected"],
|
|
65
|
+
"org_short_name": json["org_short_name"] == null ? void 0 : json["org_short_name"],
|
|
66
|
+
"reason": json["reason"] == null ? void 0 : json["reason"],
|
|
67
|
+
"report_priority": json["report_priority"] == null ? void 0 : json["report_priority"],
|
|
68
|
+
"report_type": json["report_type"] == null ? void 0 : json["report_type"],
|
|
69
|
+
"reported_by": json["reported_by"] == null ? void 0 : json["reported_by"],
|
|
70
|
+
"turn_info": json["turn_info"] == null ? void 0 : (0, TurnInfo_1.TurnInfoFromJSON)(json["turn_info"]),
|
|
71
|
+
"user_id": json["user_id"]
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
function ReportSessionRequestToJSON(json) {
|
|
75
|
+
return ReportSessionRequestToJSONTyped(json, false);
|
|
76
|
+
}
|
|
77
|
+
function ReportSessionRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
78
|
+
if (value == null) return value;
|
|
79
|
+
return {
|
|
80
|
+
"correct_session": value["correct_session"],
|
|
81
|
+
"corrected": value["corrected"],
|
|
82
|
+
"org_short_name": value["org_short_name"],
|
|
83
|
+
"reason": value["reason"],
|
|
84
|
+
"report_priority": value["report_priority"],
|
|
85
|
+
"report_type": value["report_type"],
|
|
86
|
+
"reported_by": value["reported_by"],
|
|
87
|
+
"turn_info": (0, TurnInfo_1.TurnInfoToJSON)(value["turn_info"]),
|
|
88
|
+
"user_id": value["user_id"]
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
}));
|
|
92
|
+
|
|
93
|
+
//#endregion
|
|
94
|
+
Object.defineProperty(exports, 'default', {
|
|
95
|
+
enumerable: true,
|
|
96
|
+
get: function () {
|
|
97
|
+
return require_ReportSessionRequest();
|
|
98
|
+
}
|
|
99
|
+
});
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
|
|
4
|
+
const require_ResponseCategory$1 = require('./ResponseCategory.cjs');
|
|
5
|
+
|
|
6
|
+
//#region ../../node_modules/@spiffy-ai/commerce-api-client/dist/models/Response.js
|
|
7
|
+
var require_Response = /* @__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.instanceOfResponse = instanceOfResponse;
|
|
21
|
+
exports.ResponseFromJSON = ResponseFromJSON;
|
|
22
|
+
exports.ResponseFromJSONTyped = ResponseFromJSONTyped;
|
|
23
|
+
exports.ResponseToJSON = ResponseToJSON;
|
|
24
|
+
exports.ResponseToJSONTyped = ResponseToJSONTyped;
|
|
25
|
+
const ResponseCategory_1 = require_ResponseCategory$1.default;
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the Response interface.
|
|
28
|
+
*/
|
|
29
|
+
function instanceOfResponse(value) {
|
|
30
|
+
if (!("attributes" in value) || value["attributes"] === void 0) return false;
|
|
31
|
+
if (!("category" in value) || value["category"] === 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 ResponseFromJSON(json) {
|
|
37
|
+
return ResponseFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) return json;
|
|
41
|
+
return {
|
|
42
|
+
"attributes": json["attributes"],
|
|
43
|
+
"category": (0, ResponseCategory_1.ResponseCategoryFromJSON)(json["category"]),
|
|
44
|
+
"created_at": json["created_at"],
|
|
45
|
+
"id": json["id"]
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
function ResponseToJSON(json) {
|
|
49
|
+
return ResponseToJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
function ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
52
|
+
if (value == null) return value;
|
|
53
|
+
return {
|
|
54
|
+
"attributes": value["attributes"],
|
|
55
|
+
"category": (0, ResponseCategory_1.ResponseCategoryToJSON)(value["category"]),
|
|
56
|
+
"created_at": value["created_at"],
|
|
57
|
+
"id": value["id"]
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
}));
|
|
61
|
+
|
|
62
|
+
//#endregion
|
|
63
|
+
Object.defineProperty(exports, 'default', {
|
|
64
|
+
enumerable: true,
|
|
65
|
+
get: function () {
|
|
66
|
+
return require_Response();
|
|
67
|
+
}
|
|
68
|
+
});
|
|
@@ -0,0 +1,69 @@
|
|
|
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/ResponseCategory.js
|
|
6
|
+
var require_ResponseCategory = /* @__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.ResponseCategory = void 0;
|
|
20
|
+
exports.instanceOfResponseCategory = instanceOfResponseCategory;
|
|
21
|
+
exports.ResponseCategoryFromJSON = ResponseCategoryFromJSON;
|
|
22
|
+
exports.ResponseCategoryFromJSONTyped = ResponseCategoryFromJSONTyped;
|
|
23
|
+
exports.ResponseCategoryToJSON = ResponseCategoryToJSON;
|
|
24
|
+
exports.ResponseCategoryToJSONTyped = ResponseCategoryToJSONTyped;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @export
|
|
28
|
+
* @enum {string}
|
|
29
|
+
*/
|
|
30
|
+
var ResponseCategory;
|
|
31
|
+
(function(ResponseCategory$1) {
|
|
32
|
+
ResponseCategory$1["Text"] = "text";
|
|
33
|
+
ResponseCategory$1["Product"] = "product";
|
|
34
|
+
ResponseCategory$1["Review"] = "review";
|
|
35
|
+
ResponseCategory$1["None"] = "none";
|
|
36
|
+
ResponseCategory$1["Separator"] = "separator";
|
|
37
|
+
ResponseCategory$1["Page"] = "page";
|
|
38
|
+
ResponseCategory$1["Form"] = "form";
|
|
39
|
+
ResponseCategory$1["ProductSearch"] = "product_search";
|
|
40
|
+
ResponseCategory$1["Order"] = "order";
|
|
41
|
+
ResponseCategory$1["ProductSearchFilter"] = "product_search_filter";
|
|
42
|
+
})(ResponseCategory || (exports.ResponseCategory = ResponseCategory = {}));
|
|
43
|
+
function instanceOfResponseCategory(value) {
|
|
44
|
+
for (const key in ResponseCategory) if (Object.prototype.hasOwnProperty.call(ResponseCategory, key)) {
|
|
45
|
+
if (ResponseCategory[key] === value) return true;
|
|
46
|
+
}
|
|
47
|
+
return false;
|
|
48
|
+
}
|
|
49
|
+
function ResponseCategoryFromJSON(json) {
|
|
50
|
+
return ResponseCategoryFromJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function ResponseCategoryFromJSONTyped(json, ignoreDiscriminator) {
|
|
53
|
+
return json;
|
|
54
|
+
}
|
|
55
|
+
function ResponseCategoryToJSON(value) {
|
|
56
|
+
return value;
|
|
57
|
+
}
|
|
58
|
+
function ResponseCategoryToJSONTyped(value, ignoreDiscriminator) {
|
|
59
|
+
return value;
|
|
60
|
+
}
|
|
61
|
+
}));
|
|
62
|
+
|
|
63
|
+
//#endregion
|
|
64
|
+
Object.defineProperty(exports, 'default', {
|
|
65
|
+
enumerable: true,
|
|
66
|
+
get: function () {
|
|
67
|
+
return require_ResponseCategory();
|
|
68
|
+
}
|
|
69
|
+
});
|
package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/ResponseProductAttributes.cjs
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
|
|
4
|
+
const require_LabelValue$1 = require('./LabelValue.cjs');
|
|
5
|
+
|
|
6
|
+
//#region ../../node_modules/@spiffy-ai/commerce-api-client/dist/models/ResponseProductAttributes.js
|
|
7
|
+
var require_ResponseProductAttributes = /* @__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.instanceOfResponseProductAttributes = instanceOfResponseProductAttributes;
|
|
21
|
+
exports.ResponseProductAttributesFromJSON = ResponseProductAttributesFromJSON;
|
|
22
|
+
exports.ResponseProductAttributesFromJSONTyped = ResponseProductAttributesFromJSONTyped;
|
|
23
|
+
exports.ResponseProductAttributesToJSON = ResponseProductAttributesToJSON;
|
|
24
|
+
exports.ResponseProductAttributesToJSONTyped = ResponseProductAttributesToJSONTyped;
|
|
25
|
+
const LabelValue_1 = require_LabelValue$1.default;
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the ResponseProductAttributes interface.
|
|
28
|
+
*/
|
|
29
|
+
function instanceOfResponseProductAttributes(value) {
|
|
30
|
+
if (!("id" in value) || value["id"] === void 0) return false;
|
|
31
|
+
if (!("title" in value) || value["title"] === void 0) return false;
|
|
32
|
+
if (!("url" in value) || value["url"] === void 0) return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function ResponseProductAttributesFromJSON(json) {
|
|
36
|
+
return ResponseProductAttributesFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function ResponseProductAttributesFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) return json;
|
|
40
|
+
return {
|
|
41
|
+
"average_rating": json["average_rating"] == null ? void 0 : json["average_rating"],
|
|
42
|
+
"colors": json["colors"] == null ? void 0 : json["colors"],
|
|
43
|
+
"description": json["description"] == null ? void 0 : json["description"],
|
|
44
|
+
"filters": json["filters"] == null ? void 0 : json["filters"],
|
|
45
|
+
"id": json["id"],
|
|
46
|
+
"image_url": json["image_url"] == null ? void 0 : json["image_url"],
|
|
47
|
+
"image_urls": json["image_urls"] == null ? void 0 : json["image_urls"],
|
|
48
|
+
"is_for_grid": json["is_for_grid"] == null ? void 0 : json["is_for_grid"],
|
|
49
|
+
"item_group_id": json["item_group_id"] == null ? void 0 : json["item_group_id"],
|
|
50
|
+
"metadata": json["metadata"] == null ? void 0 : json["metadata"].map(LabelValue_1.LabelValueFromJSON),
|
|
51
|
+
"number_reviews": json["number_reviews"] == null ? void 0 : json["number_reviews"],
|
|
52
|
+
"original_price": json["original_price"] == null ? void 0 : json["original_price"],
|
|
53
|
+
"sale_price": json["sale_price"] == null ? void 0 : json["sale_price"],
|
|
54
|
+
"sizes": json["sizes"] == null ? void 0 : json["sizes"],
|
|
55
|
+
"title": json["title"],
|
|
56
|
+
"url": json["url"]
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
function ResponseProductAttributesToJSON(json) {
|
|
60
|
+
return ResponseProductAttributesToJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
function ResponseProductAttributesToJSONTyped(value, ignoreDiscriminator = false) {
|
|
63
|
+
if (value == null) return value;
|
|
64
|
+
return {
|
|
65
|
+
"average_rating": value["average_rating"],
|
|
66
|
+
"colors": value["colors"],
|
|
67
|
+
"description": value["description"],
|
|
68
|
+
"filters": value["filters"],
|
|
69
|
+
"id": value["id"],
|
|
70
|
+
"image_url": value["image_url"],
|
|
71
|
+
"image_urls": value["image_urls"],
|
|
72
|
+
"is_for_grid": value["is_for_grid"],
|
|
73
|
+
"item_group_id": value["item_group_id"],
|
|
74
|
+
"metadata": value["metadata"] == null ? void 0 : value["metadata"].map(LabelValue_1.LabelValueToJSON),
|
|
75
|
+
"number_reviews": value["number_reviews"],
|
|
76
|
+
"original_price": value["original_price"],
|
|
77
|
+
"sale_price": value["sale_price"],
|
|
78
|
+
"sizes": value["sizes"],
|
|
79
|
+
"title": value["title"],
|
|
80
|
+
"url": value["url"]
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
}));
|
|
84
|
+
|
|
85
|
+
//#endregion
|
|
86
|
+
Object.defineProperty(exports, 'default', {
|
|
87
|
+
enumerable: true,
|
|
88
|
+
get: function () {
|
|
89
|
+
return require_ResponseProductAttributes();
|
|
90
|
+
}
|
|
91
|
+
});
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
|
|
4
|
+
const require_MerchRule$1 = require('./MerchRule.cjs');
|
|
5
|
+
|
|
6
|
+
//#region ../../node_modules/@spiffy-ai/commerce-api-client/dist/models/SearchAttributes.js
|
|
7
|
+
var require_SearchAttributes = /* @__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.instanceOfSearchAttributes = instanceOfSearchAttributes;
|
|
21
|
+
exports.SearchAttributesFromJSON = SearchAttributesFromJSON;
|
|
22
|
+
exports.SearchAttributesFromJSONTyped = SearchAttributesFromJSONTyped;
|
|
23
|
+
exports.SearchAttributesToJSON = SearchAttributesToJSON;
|
|
24
|
+
exports.SearchAttributesToJSONTyped = SearchAttributesToJSONTyped;
|
|
25
|
+
const MerchRule_1 = require_MerchRule$1.default;
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the SearchAttributes interface.
|
|
28
|
+
*/
|
|
29
|
+
function instanceOfSearchAttributes(value) {
|
|
30
|
+
if (!("search_term" in value) || value["search_term"] === void 0) return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function SearchAttributesFromJSON(json) {
|
|
34
|
+
return SearchAttributesFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function SearchAttributesFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) return json;
|
|
38
|
+
return {
|
|
39
|
+
"override_merch_rules": json["override_merch_rules"] == null ? void 0 : json["override_merch_rules"].map(MerchRule_1.MerchRuleFromJSON),
|
|
40
|
+
"page": json["page"] == null ? void 0 : json["page"],
|
|
41
|
+
"search_term": json["search_term"],
|
|
42
|
+
"selected_filters": json["selected_filters"] == null ? void 0 : json["selected_filters"]
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function SearchAttributesToJSON(json) {
|
|
46
|
+
return SearchAttributesToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function SearchAttributesToJSONTyped(value, ignoreDiscriminator = false) {
|
|
49
|
+
if (value == null) return value;
|
|
50
|
+
return {
|
|
51
|
+
"override_merch_rules": value["override_merch_rules"] == null ? void 0 : value["override_merch_rules"].map(MerchRule_1.MerchRuleToJSON),
|
|
52
|
+
"page": value["page"],
|
|
53
|
+
"search_term": value["search_term"],
|
|
54
|
+
"selected_filters": value["selected_filters"]
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
}));
|
|
58
|
+
|
|
59
|
+
//#endregion
|
|
60
|
+
Object.defineProperty(exports, 'default', {
|
|
61
|
+
enumerable: true,
|
|
62
|
+
get: function () {
|
|
63
|
+
return require_SearchAttributes();
|
|
64
|
+
}
|
|
65
|
+
});
|
package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/SearchResponseProduct.cjs
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
|
|
4
|
+
const require_LabelValue$1 = require('./LabelValue.cjs');
|
|
5
|
+
|
|
6
|
+
//#region ../../node_modules/@spiffy-ai/commerce-api-client/dist/models/SearchResponseProduct.js
|
|
7
|
+
var require_SearchResponseProduct = /* @__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.instanceOfSearchResponseProduct = instanceOfSearchResponseProduct;
|
|
21
|
+
exports.SearchResponseProductFromJSON = SearchResponseProductFromJSON;
|
|
22
|
+
exports.SearchResponseProductFromJSONTyped = SearchResponseProductFromJSONTyped;
|
|
23
|
+
exports.SearchResponseProductToJSON = SearchResponseProductToJSON;
|
|
24
|
+
exports.SearchResponseProductToJSONTyped = SearchResponseProductToJSONTyped;
|
|
25
|
+
const LabelValue_1 = require_LabelValue$1.default;
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the SearchResponseProduct interface.
|
|
28
|
+
*/
|
|
29
|
+
function instanceOfSearchResponseProduct(value) {
|
|
30
|
+
if (!("id" in value) || value["id"] === void 0) return false;
|
|
31
|
+
if (!("title" in value) || value["title"] === void 0) return false;
|
|
32
|
+
if (!("url" in value) || value["url"] === void 0) return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function SearchResponseProductFromJSON(json) {
|
|
36
|
+
return SearchResponseProductFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function SearchResponseProductFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) return json;
|
|
40
|
+
return {
|
|
41
|
+
"average_rating": json["average_rating"] == null ? void 0 : json["average_rating"],
|
|
42
|
+
"colors": json["colors"] == null ? void 0 : json["colors"],
|
|
43
|
+
"description": json["description"] == null ? void 0 : json["description"],
|
|
44
|
+
"filters": json["filters"] == null ? void 0 : json["filters"],
|
|
45
|
+
"id": json["id"],
|
|
46
|
+
"image_url": json["image_url"] == null ? void 0 : json["image_url"],
|
|
47
|
+
"image_urls": json["image_urls"] == null ? void 0 : json["image_urls"],
|
|
48
|
+
"is_for_grid": json["is_for_grid"] == null ? void 0 : json["is_for_grid"],
|
|
49
|
+
"item_group_id": json["item_group_id"] == null ? void 0 : json["item_group_id"],
|
|
50
|
+
"metadata": json["metadata"] == null ? void 0 : json["metadata"].map(LabelValue_1.LabelValueFromJSON),
|
|
51
|
+
"number_reviews": json["number_reviews"] == null ? void 0 : json["number_reviews"],
|
|
52
|
+
"original_price": json["original_price"] == null ? void 0 : json["original_price"],
|
|
53
|
+
"sale_price": json["sale_price"] == null ? void 0 : json["sale_price"],
|
|
54
|
+
"sizes": json["sizes"] == null ? void 0 : json["sizes"],
|
|
55
|
+
"title": json["title"],
|
|
56
|
+
"url": json["url"],
|
|
57
|
+
"response_id": json["response_id"] == null ? void 0 : json["response_id"]
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
function SearchResponseProductToJSON(json) {
|
|
61
|
+
return SearchResponseProductToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
function SearchResponseProductToJSONTyped(value, ignoreDiscriminator = false) {
|
|
64
|
+
if (value == null) return value;
|
|
65
|
+
return {
|
|
66
|
+
"average_rating": value["average_rating"],
|
|
67
|
+
"colors": value["colors"],
|
|
68
|
+
"description": value["description"],
|
|
69
|
+
"filters": value["filters"],
|
|
70
|
+
"id": value["id"],
|
|
71
|
+
"image_url": value["image_url"],
|
|
72
|
+
"image_urls": value["image_urls"],
|
|
73
|
+
"is_for_grid": value["is_for_grid"],
|
|
74
|
+
"item_group_id": value["item_group_id"],
|
|
75
|
+
"metadata": value["metadata"] == null ? void 0 : value["metadata"].map(LabelValue_1.LabelValueToJSON),
|
|
76
|
+
"number_reviews": value["number_reviews"],
|
|
77
|
+
"original_price": value["original_price"],
|
|
78
|
+
"sale_price": value["sale_price"],
|
|
79
|
+
"sizes": value["sizes"],
|
|
80
|
+
"title": value["title"],
|
|
81
|
+
"url": value["url"],
|
|
82
|
+
"response_id": value["response_id"]
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
}));
|
|
86
|
+
|
|
87
|
+
//#endregion
|
|
88
|
+
Object.defineProperty(exports, 'default', {
|
|
89
|
+
enumerable: true,
|
|
90
|
+
get: function () {
|
|
91
|
+
return require_SearchResponseProduct();
|
|
92
|
+
}
|
|
93
|
+
});
|
package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/SearchSuggestionsResponse.cjs
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
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/SearchSuggestionsResponse.js
|
|
6
|
+
var require_SearchSuggestionsResponse = /* @__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.instanceOfSearchSuggestionsResponse = instanceOfSearchSuggestionsResponse;
|
|
20
|
+
exports.SearchSuggestionsResponseFromJSON = SearchSuggestionsResponseFromJSON;
|
|
21
|
+
exports.SearchSuggestionsResponseFromJSONTyped = SearchSuggestionsResponseFromJSONTyped;
|
|
22
|
+
exports.SearchSuggestionsResponseToJSON = SearchSuggestionsResponseToJSON;
|
|
23
|
+
exports.SearchSuggestionsResponseToJSONTyped = SearchSuggestionsResponseToJSONTyped;
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the SearchSuggestionsResponse interface.
|
|
26
|
+
*/
|
|
27
|
+
function instanceOfSearchSuggestionsResponse(value) {
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function SearchSuggestionsResponseFromJSON(json) {
|
|
31
|
+
return SearchSuggestionsResponseFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function SearchSuggestionsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) return json;
|
|
35
|
+
return {
|
|
36
|
+
"search_terms": json["search_terms"] == null ? void 0 : json["search_terms"],
|
|
37
|
+
"suggested_searches": json["suggested_searches"] == null ? void 0 : json["suggested_searches"]
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function SearchSuggestionsResponseToJSON(json) {
|
|
41
|
+
return SearchSuggestionsResponseToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function SearchSuggestionsResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) return value;
|
|
45
|
+
return {
|
|
46
|
+
"search_terms": value["search_terms"],
|
|
47
|
+
"suggested_searches": value["suggested_searches"]
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
}));
|
|
51
|
+
|
|
52
|
+
//#endregion
|
|
53
|
+
Object.defineProperty(exports, 'default', {
|
|
54
|
+
enumerable: true,
|
|
55
|
+
get: function () {
|
|
56
|
+
return require_SearchSuggestionsResponse();
|
|
57
|
+
}
|
|
58
|
+
});
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
|
|
4
|
+
const require_CustomerServiceProvider$1 = require('./CustomerServiceProvider.cjs');
|
|
5
|
+
const require_AttachmentRequest$1 = require('./AttachmentRequest.cjs');
|
|
6
|
+
|
|
7
|
+
//#region ../../node_modules/@spiffy-ai/commerce-api-client/dist/models/SendMessageRequest.js
|
|
8
|
+
var require_SendMessageRequest = /* @__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.instanceOfSendMessageRequest = instanceOfSendMessageRequest;
|
|
22
|
+
exports.SendMessageRequestFromJSON = SendMessageRequestFromJSON;
|
|
23
|
+
exports.SendMessageRequestFromJSONTyped = SendMessageRequestFromJSONTyped;
|
|
24
|
+
exports.SendMessageRequestToJSON = SendMessageRequestToJSON;
|
|
25
|
+
exports.SendMessageRequestToJSONTyped = SendMessageRequestToJSONTyped;
|
|
26
|
+
const CustomerServiceProvider_1 = require_CustomerServiceProvider$1.default;
|
|
27
|
+
const AttachmentRequest_1 = require_AttachmentRequest$1.default;
|
|
28
|
+
/**
|
|
29
|
+
* Check if a given object implements the SendMessageRequest interface.
|
|
30
|
+
*/
|
|
31
|
+
function instanceOfSendMessageRequest(value) {
|
|
32
|
+
if (!("conversation_id" in value) || value["conversation_id"] === void 0) return false;
|
|
33
|
+
if (!("customer_id" in value) || value["customer_id"] === void 0) return false;
|
|
34
|
+
if (!("message" in value) || value["message"] === void 0) return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
function SendMessageRequestFromJSON(json) {
|
|
38
|
+
return SendMessageRequestFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
function SendMessageRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
+
if (json == null) return json;
|
|
42
|
+
return {
|
|
43
|
+
"attachments": json["attachments"] == null ? void 0 : json["attachments"].map(AttachmentRequest_1.AttachmentRequestFromJSON),
|
|
44
|
+
"conversation_id": json["conversation_id"],
|
|
45
|
+
"customer_id": json["customer_id"],
|
|
46
|
+
"customer_service_provider": json["customer_service_provider"] == null ? void 0 : (0, CustomerServiceProvider_1.CustomerServiceProviderFromJSON)(json["customer_service_provider"]),
|
|
47
|
+
"message": json["message"]
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function SendMessageRequestToJSON(json) {
|
|
51
|
+
return SendMessageRequestToJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
function SendMessageRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
54
|
+
if (value == null) return value;
|
|
55
|
+
return {
|
|
56
|
+
"attachments": value["attachments"] == null ? void 0 : value["attachments"].map(AttachmentRequest_1.AttachmentRequestToJSON),
|
|
57
|
+
"conversation_id": value["conversation_id"],
|
|
58
|
+
"customer_id": value["customer_id"],
|
|
59
|
+
"customer_service_provider": (0, CustomerServiceProvider_1.CustomerServiceProviderToJSON)(value["customer_service_provider"]),
|
|
60
|
+
"message": value["message"]
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
}));
|
|
64
|
+
|
|
65
|
+
//#endregion
|
|
66
|
+
Object.defineProperty(exports, 'default', {
|
|
67
|
+
enumerable: true,
|
|
68
|
+
get: function () {
|
|
69
|
+
return require_SendMessageRequest();
|
|
70
|
+
}
|
|
71
|
+
});
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
|
|
4
|
+
const require_CustServiceMessage$1 = require('./CustServiceMessage.cjs');
|
|
5
|
+
|
|
6
|
+
//#region ../../node_modules/@spiffy-ai/commerce-api-client/dist/models/SendMessageResponse.js
|
|
7
|
+
var require_SendMessageResponse = /* @__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.instanceOfSendMessageResponse = instanceOfSendMessageResponse;
|
|
21
|
+
exports.SendMessageResponseFromJSON = SendMessageResponseFromJSON;
|
|
22
|
+
exports.SendMessageResponseFromJSONTyped = SendMessageResponseFromJSONTyped;
|
|
23
|
+
exports.SendMessageResponseToJSON = SendMessageResponseToJSON;
|
|
24
|
+
exports.SendMessageResponseToJSONTyped = SendMessageResponseToJSONTyped;
|
|
25
|
+
const CustServiceMessage_1 = require_CustServiceMessage$1.default;
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the SendMessageResponse interface.
|
|
28
|
+
*/
|
|
29
|
+
function instanceOfSendMessageResponse(value) {
|
|
30
|
+
if (!("message" in value) || value["message"] === void 0) return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function SendMessageResponseFromJSON(json) {
|
|
34
|
+
return SendMessageResponseFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function SendMessageResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) return json;
|
|
38
|
+
return { "message": (0, CustServiceMessage_1.CustServiceMessageFromJSON)(json["message"]) };
|
|
39
|
+
}
|
|
40
|
+
function SendMessageResponseToJSON(json) {
|
|
41
|
+
return SendMessageResponseToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function SendMessageResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) return value;
|
|
45
|
+
return { "message": (0, CustServiceMessage_1.CustServiceMessageToJSON)(value["message"]) };
|
|
46
|
+
}
|
|
47
|
+
}));
|
|
48
|
+
|
|
49
|
+
//#endregion
|
|
50
|
+
Object.defineProperty(exports, 'default', {
|
|
51
|
+
enumerable: true,
|
|
52
|
+
get: function () {
|
|
53
|
+
return require_SendMessageResponse();
|
|
54
|
+
}
|
|
55
|
+
});
|