@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,61 @@
|
|
|
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/FormType.js
|
|
6
|
+
var require_FormType = /* @__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.FormType = void 0;
|
|
20
|
+
exports.instanceOfFormType = instanceOfFormType;
|
|
21
|
+
exports.FormTypeFromJSON = FormTypeFromJSON;
|
|
22
|
+
exports.FormTypeFromJSONTyped = FormTypeFromJSONTyped;
|
|
23
|
+
exports.FormTypeToJSON = FormTypeToJSON;
|
|
24
|
+
exports.FormTypeToJSONTyped = FormTypeToJSONTyped;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @export
|
|
28
|
+
* @enum {string}
|
|
29
|
+
*/
|
|
30
|
+
var FormType;
|
|
31
|
+
(function(FormType$1) {
|
|
32
|
+
FormType$1["Escalation"] = "escalation";
|
|
33
|
+
FormType$1["OrderLookup"] = "order_lookup";
|
|
34
|
+
})(FormType || (exports.FormType = FormType = {}));
|
|
35
|
+
function instanceOfFormType(value) {
|
|
36
|
+
for (const key in FormType) if (Object.prototype.hasOwnProperty.call(FormType, key)) {
|
|
37
|
+
if (FormType[key] === value) return true;
|
|
38
|
+
}
|
|
39
|
+
return false;
|
|
40
|
+
}
|
|
41
|
+
function FormTypeFromJSON(json) {
|
|
42
|
+
return FormTypeFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function FormTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
function FormTypeToJSON(value) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
function FormTypeToJSONTyped(value, ignoreDiscriminator) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
}));
|
|
54
|
+
|
|
55
|
+
//#endregion
|
|
56
|
+
Object.defineProperty(exports, 'default', {
|
|
57
|
+
enumerable: true,
|
|
58
|
+
get: function () {
|
|
59
|
+
return require_FormType();
|
|
60
|
+
}
|
|
61
|
+
});
|
package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/FulfillmentDisplayStatus.cjs
ADDED
|
@@ -0,0 +1,84 @@
|
|
|
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/FulfillmentDisplayStatus.js
|
|
6
|
+
var require_FulfillmentDisplayStatus = /* @__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.FulfillmentDisplayStatus = void 0;
|
|
20
|
+
exports.instanceOfFulfillmentDisplayStatus = instanceOfFulfillmentDisplayStatus;
|
|
21
|
+
exports.FulfillmentDisplayStatusFromJSON = FulfillmentDisplayStatusFromJSON;
|
|
22
|
+
exports.FulfillmentDisplayStatusFromJSONTyped = FulfillmentDisplayStatusFromJSONTyped;
|
|
23
|
+
exports.FulfillmentDisplayStatusToJSON = FulfillmentDisplayStatusToJSON;
|
|
24
|
+
exports.FulfillmentDisplayStatusToJSONTyped = FulfillmentDisplayStatusToJSONTyped;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @export
|
|
28
|
+
* @enum {string}
|
|
29
|
+
*/
|
|
30
|
+
var FulfillmentDisplayStatus;
|
|
31
|
+
(function(FulfillmentDisplayStatus$1) {
|
|
32
|
+
FulfillmentDisplayStatus$1["ATTEMPTED_DELIVERY"] = "Attempted delivery";
|
|
33
|
+
FulfillmentDisplayStatus$1["CANCELED"] = "Canceled";
|
|
34
|
+
FulfillmentDisplayStatus$1["CONFIRMED"] = "Confirmed";
|
|
35
|
+
FulfillmentDisplayStatus$1["DELIVERED"] = "Delivered";
|
|
36
|
+
FulfillmentDisplayStatus$1["FAILURE"] = "Failure";
|
|
37
|
+
FulfillmentDisplayStatus$1["FULFILLED"] = "Fulfilled";
|
|
38
|
+
FulfillmentDisplayStatus$1["IN_TRANSIT"] = "In transit";
|
|
39
|
+
FulfillmentDisplayStatus$1["LABEL_PRINTED"] = "Label printed";
|
|
40
|
+
FulfillmentDisplayStatus$1["LABEL_PURCHASED"] = "Label purchased";
|
|
41
|
+
FulfillmentDisplayStatus$1["LABEL_VOIDED"] = "Label voided";
|
|
42
|
+
FulfillmentDisplayStatus$1["MARKED_AS_FULFILLED"] = "Marked as fulfilled";
|
|
43
|
+
FulfillmentDisplayStatus$1["NOT_DELIVERED"] = "Not delivered";
|
|
44
|
+
FulfillmentDisplayStatus$1["OUT_FOR_DELIVERY"] = "Out for delivery";
|
|
45
|
+
FulfillmentDisplayStatus$1["PICKED_UP"] = "Picked up";
|
|
46
|
+
FulfillmentDisplayStatus$1["READY_FOR_PICKUP"] = "Ready for pickup";
|
|
47
|
+
FulfillmentDisplayStatus$1["SUBMITTED"] = "Submitted";
|
|
48
|
+
FulfillmentDisplayStatus$1["IN_PROGRESS"] = "In progress";
|
|
49
|
+
FulfillmentDisplayStatus$1["ON_HOLD"] = "On hold";
|
|
50
|
+
FulfillmentDisplayStatus$1["OPEN"] = "Open";
|
|
51
|
+
FulfillmentDisplayStatus$1["PARTIALLY_FULFILLED"] = "Partially fulfilled";
|
|
52
|
+
FulfillmentDisplayStatus$1["PENDING_FULFILLMENT"] = "Pending fulfillment";
|
|
53
|
+
FulfillmentDisplayStatus$1["REQUEST_DECLINED"] = "Request declined";
|
|
54
|
+
FulfillmentDisplayStatus$1["RESTOCKED"] = "Restocked";
|
|
55
|
+
FulfillmentDisplayStatus$1["SCHEDULED"] = "Scheduled";
|
|
56
|
+
FulfillmentDisplayStatus$1["UNFULFILLED"] = "Unfulfilled";
|
|
57
|
+
})(FulfillmentDisplayStatus || (exports.FulfillmentDisplayStatus = FulfillmentDisplayStatus = {}));
|
|
58
|
+
function instanceOfFulfillmentDisplayStatus(value) {
|
|
59
|
+
for (const key in FulfillmentDisplayStatus) if (Object.prototype.hasOwnProperty.call(FulfillmentDisplayStatus, key)) {
|
|
60
|
+
if (FulfillmentDisplayStatus[key] === value) return true;
|
|
61
|
+
}
|
|
62
|
+
return false;
|
|
63
|
+
}
|
|
64
|
+
function FulfillmentDisplayStatusFromJSON(json) {
|
|
65
|
+
return FulfillmentDisplayStatusFromJSONTyped(json, false);
|
|
66
|
+
}
|
|
67
|
+
function FulfillmentDisplayStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
68
|
+
return json;
|
|
69
|
+
}
|
|
70
|
+
function FulfillmentDisplayStatusToJSON(value) {
|
|
71
|
+
return value;
|
|
72
|
+
}
|
|
73
|
+
function FulfillmentDisplayStatusToJSONTyped(value, ignoreDiscriminator) {
|
|
74
|
+
return value;
|
|
75
|
+
}
|
|
76
|
+
}));
|
|
77
|
+
|
|
78
|
+
//#endregion
|
|
79
|
+
Object.defineProperty(exports, 'default', {
|
|
80
|
+
enumerable: true,
|
|
81
|
+
get: function () {
|
|
82
|
+
return require_FulfillmentDisplayStatus();
|
|
83
|
+
}
|
|
84
|
+
});
|
|
@@ -0,0 +1,74 @@
|
|
|
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/GenerationParams.js
|
|
6
|
+
var require_GenerationParams = /* @__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.instanceOfGenerationParams = instanceOfGenerationParams;
|
|
20
|
+
exports.GenerationParamsFromJSON = GenerationParamsFromJSON;
|
|
21
|
+
exports.GenerationParamsFromJSONTyped = GenerationParamsFromJSONTyped;
|
|
22
|
+
exports.GenerationParamsToJSON = GenerationParamsToJSON;
|
|
23
|
+
exports.GenerationParamsToJSONTyped = GenerationParamsToJSONTyped;
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the GenerationParams interface.
|
|
26
|
+
*/
|
|
27
|
+
function instanceOfGenerationParams(value) {
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function GenerationParamsFromJSON(json) {
|
|
31
|
+
return GenerationParamsFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function GenerationParamsFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) return json;
|
|
35
|
+
return {
|
|
36
|
+
"max_tokens": json["max_tokens"] == null ? void 0 : json["max_tokens"],
|
|
37
|
+
"model": json["model"] == null ? void 0 : json["model"],
|
|
38
|
+
"num_suggestions": json["num_suggestions"] == null ? void 0 : json["num_suggestions"],
|
|
39
|
+
"response_caching": json["response_caching"] == null ? void 0 : json["response_caching"],
|
|
40
|
+
"response_system_prompt": json["response_system_prompt"] == null ? void 0 : json["response_system_prompt"],
|
|
41
|
+
"stop": json["stop"] == null ? void 0 : json["stop"],
|
|
42
|
+
"stream": json["stream"] == null ? void 0 : json["stream"],
|
|
43
|
+
"suggestion_system_prompt": json["suggestion_system_prompt"] == null ? void 0 : json["suggestion_system_prompt"],
|
|
44
|
+
"temperature": json["temperature"] == null ? void 0 : json["temperature"],
|
|
45
|
+
"top_p": json["top_p"] == null ? void 0 : json["top_p"]
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
function GenerationParamsToJSON(json) {
|
|
49
|
+
return GenerationParamsToJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
function GenerationParamsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
52
|
+
if (value == null) return value;
|
|
53
|
+
return {
|
|
54
|
+
"max_tokens": value["max_tokens"],
|
|
55
|
+
"model": value["model"],
|
|
56
|
+
"num_suggestions": value["num_suggestions"],
|
|
57
|
+
"response_caching": value["response_caching"],
|
|
58
|
+
"response_system_prompt": value["response_system_prompt"],
|
|
59
|
+
"stop": value["stop"],
|
|
60
|
+
"stream": value["stream"],
|
|
61
|
+
"suggestion_system_prompt": value["suggestion_system_prompt"],
|
|
62
|
+
"temperature": value["temperature"],
|
|
63
|
+
"top_p": value["top_p"]
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
}));
|
|
67
|
+
|
|
68
|
+
//#endregion
|
|
69
|
+
Object.defineProperty(exports, 'default', {
|
|
70
|
+
enumerable: true,
|
|
71
|
+
get: function () {
|
|
72
|
+
return require_GenerationParams();
|
|
73
|
+
}
|
|
74
|
+
});
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
|
|
4
|
+
const require_CustomerServiceProvider$1 = require('./CustomerServiceProvider.cjs');
|
|
5
|
+
|
|
6
|
+
//#region ../../node_modules/@spiffy-ai/commerce-api-client/dist/models/GetConversationMessagesRequest.js
|
|
7
|
+
var require_GetConversationMessagesRequest = /* @__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.instanceOfGetConversationMessagesRequest = instanceOfGetConversationMessagesRequest;
|
|
21
|
+
exports.GetConversationMessagesRequestFromJSON = GetConversationMessagesRequestFromJSON;
|
|
22
|
+
exports.GetConversationMessagesRequestFromJSONTyped = GetConversationMessagesRequestFromJSONTyped;
|
|
23
|
+
exports.GetConversationMessagesRequestToJSON = GetConversationMessagesRequestToJSON;
|
|
24
|
+
exports.GetConversationMessagesRequestToJSONTyped = GetConversationMessagesRequestToJSONTyped;
|
|
25
|
+
const CustomerServiceProvider_1 = require_CustomerServiceProvider$1.default;
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the GetConversationMessagesRequest interface.
|
|
28
|
+
*/
|
|
29
|
+
function instanceOfGetConversationMessagesRequest(value) {
|
|
30
|
+
if (!("conversation_id" in value) || value["conversation_id"] === void 0) return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function GetConversationMessagesRequestFromJSON(json) {
|
|
34
|
+
return GetConversationMessagesRequestFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function GetConversationMessagesRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) return json;
|
|
38
|
+
return {
|
|
39
|
+
"conversation_id": json["conversation_id"],
|
|
40
|
+
"customer_service_provider": json["customer_service_provider"] == null ? void 0 : (0, CustomerServiceProvider_1.CustomerServiceProviderFromJSON)(json["customer_service_provider"])
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function GetConversationMessagesRequestToJSON(json) {
|
|
44
|
+
return GetConversationMessagesRequestToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function GetConversationMessagesRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) return value;
|
|
48
|
+
return {
|
|
49
|
+
"conversation_id": value["conversation_id"],
|
|
50
|
+
"customer_service_provider": (0, CustomerServiceProvider_1.CustomerServiceProviderToJSON)(value["customer_service_provider"])
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
}));
|
|
54
|
+
|
|
55
|
+
//#endregion
|
|
56
|
+
Object.defineProperty(exports, 'default', {
|
|
57
|
+
enumerable: true,
|
|
58
|
+
get: function () {
|
|
59
|
+
return require_GetConversationMessagesRequest();
|
|
60
|
+
}
|
|
61
|
+
});
|
package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/IsBusinessHoursRequest.cjs
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
|
|
4
|
+
const require_CustomerServiceProvider$1 = require('./CustomerServiceProvider.cjs');
|
|
5
|
+
|
|
6
|
+
//#region ../../node_modules/@spiffy-ai/commerce-api-client/dist/models/IsBusinessHoursRequest.js
|
|
7
|
+
var require_IsBusinessHoursRequest = /* @__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.instanceOfIsBusinessHoursRequest = instanceOfIsBusinessHoursRequest;
|
|
21
|
+
exports.IsBusinessHoursRequestFromJSON = IsBusinessHoursRequestFromJSON;
|
|
22
|
+
exports.IsBusinessHoursRequestFromJSONTyped = IsBusinessHoursRequestFromJSONTyped;
|
|
23
|
+
exports.IsBusinessHoursRequestToJSON = IsBusinessHoursRequestToJSON;
|
|
24
|
+
exports.IsBusinessHoursRequestToJSONTyped = IsBusinessHoursRequestToJSONTyped;
|
|
25
|
+
const CustomerServiceProvider_1 = require_CustomerServiceProvider$1.default;
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the IsBusinessHoursRequest interface.
|
|
28
|
+
*/
|
|
29
|
+
function instanceOfIsBusinessHoursRequest(value) {
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
function IsBusinessHoursRequestFromJSON(json) {
|
|
33
|
+
return IsBusinessHoursRequestFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function IsBusinessHoursRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) return json;
|
|
37
|
+
return { "customer_service_provider": json["customer_service_provider"] == null ? void 0 : (0, CustomerServiceProvider_1.CustomerServiceProviderFromJSON)(json["customer_service_provider"]) };
|
|
38
|
+
}
|
|
39
|
+
function IsBusinessHoursRequestToJSON(json) {
|
|
40
|
+
return IsBusinessHoursRequestToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function IsBusinessHoursRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) return value;
|
|
44
|
+
return { "customer_service_provider": (0, CustomerServiceProvider_1.CustomerServiceProviderToJSON)(value["customer_service_provider"]) };
|
|
45
|
+
}
|
|
46
|
+
}));
|
|
47
|
+
|
|
48
|
+
//#endregion
|
|
49
|
+
Object.defineProperty(exports, 'default', {
|
|
50
|
+
enumerable: true,
|
|
51
|
+
get: function () {
|
|
52
|
+
return require_IsBusinessHoursRequest();
|
|
53
|
+
}
|
|
54
|
+
});
|
package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/IsBusinessHoursResponse.cjs
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
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/IsBusinessHoursResponse.js
|
|
6
|
+
var require_IsBusinessHoursResponse = /* @__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.instanceOfIsBusinessHoursResponse = instanceOfIsBusinessHoursResponse;
|
|
20
|
+
exports.IsBusinessHoursResponseFromJSON = IsBusinessHoursResponseFromJSON;
|
|
21
|
+
exports.IsBusinessHoursResponseFromJSONTyped = IsBusinessHoursResponseFromJSONTyped;
|
|
22
|
+
exports.IsBusinessHoursResponseToJSON = IsBusinessHoursResponseToJSON;
|
|
23
|
+
exports.IsBusinessHoursResponseToJSONTyped = IsBusinessHoursResponseToJSONTyped;
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the IsBusinessHoursResponse interface.
|
|
26
|
+
*/
|
|
27
|
+
function instanceOfIsBusinessHoursResponse(value) {
|
|
28
|
+
if (!("is_business_hours" in value) || value["is_business_hours"] === void 0) return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function IsBusinessHoursResponseFromJSON(json) {
|
|
32
|
+
return IsBusinessHoursResponseFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function IsBusinessHoursResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) return json;
|
|
36
|
+
return {
|
|
37
|
+
"details": json["details"] == null ? void 0 : json["details"],
|
|
38
|
+
"is_business_hours": json["is_business_hours"]
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function IsBusinessHoursResponseToJSON(json) {
|
|
42
|
+
return IsBusinessHoursResponseToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function IsBusinessHoursResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) return value;
|
|
46
|
+
return {
|
|
47
|
+
"details": value["details"],
|
|
48
|
+
"is_business_hours": value["is_business_hours"]
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
}));
|
|
52
|
+
|
|
53
|
+
//#endregion
|
|
54
|
+
Object.defineProperty(exports, 'default', {
|
|
55
|
+
enumerable: true,
|
|
56
|
+
get: function () {
|
|
57
|
+
return require_IsBusinessHoursResponse();
|
|
58
|
+
}
|
|
59
|
+
});
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
|
|
4
|
+
|
|
5
|
+
//#region ../../node_modules/@spiffy-ai/commerce-api-client/dist/models/LabelValue.js
|
|
6
|
+
var require_LabelValue = /* @__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.instanceOfLabelValue = instanceOfLabelValue;
|
|
20
|
+
exports.LabelValueFromJSON = LabelValueFromJSON;
|
|
21
|
+
exports.LabelValueFromJSONTyped = LabelValueFromJSONTyped;
|
|
22
|
+
exports.LabelValueToJSON = LabelValueToJSON;
|
|
23
|
+
exports.LabelValueToJSONTyped = LabelValueToJSONTyped;
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the LabelValue interface.
|
|
26
|
+
*/
|
|
27
|
+
function instanceOfLabelValue(value) {
|
|
28
|
+
if (!("label" in value) || value["label"] === void 0) return false;
|
|
29
|
+
if (!("value" in value) || value["value"] === void 0) return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
function LabelValueFromJSON(json) {
|
|
33
|
+
return LabelValueFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function LabelValueFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) return json;
|
|
37
|
+
return {
|
|
38
|
+
"label": json["label"],
|
|
39
|
+
"value": json["value"]
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function LabelValueToJSON(json) {
|
|
43
|
+
return LabelValueToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function LabelValueToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) return value;
|
|
47
|
+
return {
|
|
48
|
+
"label": value["label"],
|
|
49
|
+
"value": value["value"]
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
}));
|
|
53
|
+
|
|
54
|
+
//#endregion
|
|
55
|
+
Object.defineProperty(exports, 'default', {
|
|
56
|
+
enumerable: true,
|
|
57
|
+
get: function () {
|
|
58
|
+
return require_LabelValue();
|
|
59
|
+
}
|
|
60
|
+
});
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
|
|
4
|
+
const require_FormType$1 = require('./FormType.cjs');
|
|
5
|
+
|
|
6
|
+
//#region ../../node_modules/@spiffy-ai/commerce-api-client/dist/models/ManualForm.js
|
|
7
|
+
var require_ManualForm = /* @__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.instanceOfManualForm = instanceOfManualForm;
|
|
21
|
+
exports.ManualFormFromJSON = ManualFormFromJSON;
|
|
22
|
+
exports.ManualFormFromJSONTyped = ManualFormFromJSONTyped;
|
|
23
|
+
exports.ManualFormToJSON = ManualFormToJSON;
|
|
24
|
+
exports.ManualFormToJSONTyped = ManualFormToJSONTyped;
|
|
25
|
+
const FormType_1 = require_FormType$1.default;
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the ManualForm interface.
|
|
28
|
+
*/
|
|
29
|
+
function instanceOfManualForm(value) {
|
|
30
|
+
if (!("form_type" in value) || value["form_type"] === void 0) return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function ManualFormFromJSON(json) {
|
|
34
|
+
return ManualFormFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function ManualFormFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) return json;
|
|
38
|
+
return { "form_type": (0, FormType_1.FormTypeFromJSON)(json["form_type"]) };
|
|
39
|
+
}
|
|
40
|
+
function ManualFormToJSON(json) {
|
|
41
|
+
return ManualFormToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function ManualFormToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) return value;
|
|
45
|
+
return { "form_type": (0, FormType_1.FormTypeToJSON)(value["form_type"]) };
|
|
46
|
+
}
|
|
47
|
+
}));
|
|
48
|
+
|
|
49
|
+
//#endregion
|
|
50
|
+
Object.defineProperty(exports, 'default', {
|
|
51
|
+
enumerable: true,
|
|
52
|
+
get: function () {
|
|
53
|
+
return require_ManualForm();
|
|
54
|
+
}
|
|
55
|
+
});
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
|
|
4
|
+
const require_MerchRuleCondition$1 = require('./MerchRuleCondition.cjs');
|
|
5
|
+
const require_MerchRuleAction$1 = require('./MerchRuleAction.cjs');
|
|
6
|
+
const require_MerchRuleStatus$1 = require('./MerchRuleStatus.cjs');
|
|
7
|
+
|
|
8
|
+
//#region ../../node_modules/@spiffy-ai/commerce-api-client/dist/models/MerchRule.js
|
|
9
|
+
var require_MerchRule = /* @__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.instanceOfMerchRule = instanceOfMerchRule;
|
|
23
|
+
exports.MerchRuleFromJSON = MerchRuleFromJSON;
|
|
24
|
+
exports.MerchRuleFromJSONTyped = MerchRuleFromJSONTyped;
|
|
25
|
+
exports.MerchRuleToJSON = MerchRuleToJSON;
|
|
26
|
+
exports.MerchRuleToJSONTyped = MerchRuleToJSONTyped;
|
|
27
|
+
const MerchRuleCondition_1 = require_MerchRuleCondition$1.default;
|
|
28
|
+
const MerchRuleAction_1 = require_MerchRuleAction$1.default;
|
|
29
|
+
const MerchRuleStatus_1 = require_MerchRuleStatus$1.default;
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the MerchRule interface.
|
|
32
|
+
*/
|
|
33
|
+
function instanceOfMerchRule(value) {
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
function MerchRuleFromJSON(json) {
|
|
37
|
+
return MerchRuleFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function MerchRuleFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) return json;
|
|
41
|
+
return {
|
|
42
|
+
"actions": json["actions"] == null ? void 0 : json["actions"].map(MerchRuleAction_1.MerchRuleActionFromJSON),
|
|
43
|
+
"conditions": json["conditions"] == null ? void 0 : json["conditions"].map(MerchRuleCondition_1.MerchRuleConditionFromJSON),
|
|
44
|
+
"priority": json["priority"] == null ? void 0 : json["priority"],
|
|
45
|
+
"rule_id": json["rule_id"] == null ? void 0 : json["rule_id"],
|
|
46
|
+
"status": json["status"] == null ? void 0 : (0, MerchRuleStatus_1.MerchRuleStatusFromJSON)(json["status"])
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function MerchRuleToJSON(json) {
|
|
50
|
+
return MerchRuleToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function MerchRuleToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
|
+
if (value == null) return value;
|
|
54
|
+
return {
|
|
55
|
+
"actions": value["actions"] == null ? void 0 : value["actions"].map(MerchRuleAction_1.MerchRuleActionToJSON),
|
|
56
|
+
"conditions": value["conditions"] == null ? void 0 : value["conditions"].map(MerchRuleCondition_1.MerchRuleConditionToJSON),
|
|
57
|
+
"priority": value["priority"],
|
|
58
|
+
"rule_id": value["rule_id"],
|
|
59
|
+
"status": (0, MerchRuleStatus_1.MerchRuleStatusToJSON)(value["status"])
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
}));
|
|
63
|
+
|
|
64
|
+
//#endregion
|
|
65
|
+
Object.defineProperty(exports, 'default', {
|
|
66
|
+
enumerable: true,
|
|
67
|
+
get: function () {
|
|
68
|
+
return require_MerchRule();
|
|
69
|
+
}
|
|
70
|
+
});
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
|
|
4
|
+
const require_MerchRuleActionAttribute$1 = require('./MerchRuleActionAttribute.cjs');
|
|
5
|
+
const require_MerchRuleActionType$1 = require('./MerchRuleActionType.cjs');
|
|
6
|
+
|
|
7
|
+
//#region ../../node_modules/@spiffy-ai/commerce-api-client/dist/models/MerchRuleAction.js
|
|
8
|
+
var require_MerchRuleAction = /* @__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.instanceOfMerchRuleAction = instanceOfMerchRuleAction;
|
|
22
|
+
exports.MerchRuleActionFromJSON = MerchRuleActionFromJSON;
|
|
23
|
+
exports.MerchRuleActionFromJSONTyped = MerchRuleActionFromJSONTyped;
|
|
24
|
+
exports.MerchRuleActionToJSON = MerchRuleActionToJSON;
|
|
25
|
+
exports.MerchRuleActionToJSONTyped = MerchRuleActionToJSONTyped;
|
|
26
|
+
const MerchRuleActionAttribute_1 = require_MerchRuleActionAttribute$1.default;
|
|
27
|
+
const MerchRuleActionType_1 = require_MerchRuleActionType$1.default;
|
|
28
|
+
/**
|
|
29
|
+
* Check if a given object implements the MerchRuleAction interface.
|
|
30
|
+
*/
|
|
31
|
+
function instanceOfMerchRuleAction(value) {
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
function MerchRuleActionFromJSON(json) {
|
|
35
|
+
return MerchRuleActionFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
function MerchRuleActionFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) return json;
|
|
39
|
+
return {
|
|
40
|
+
"attributes": json["attributes"] == null ? void 0 : json["attributes"].map(MerchRuleActionAttribute_1.MerchRuleActionAttributeFromJSON),
|
|
41
|
+
"type": json["type"] == null ? void 0 : (0, MerchRuleActionType_1.MerchRuleActionTypeFromJSON)(json["type"])
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function MerchRuleActionToJSON(json) {
|
|
45
|
+
return MerchRuleActionToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function MerchRuleActionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) return value;
|
|
49
|
+
return {
|
|
50
|
+
"attributes": value["attributes"] == null ? void 0 : value["attributes"].map(MerchRuleActionAttribute_1.MerchRuleActionAttributeToJSON),
|
|
51
|
+
"type": (0, MerchRuleActionType_1.MerchRuleActionTypeToJSON)(value["type"])
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
}));
|
|
55
|
+
|
|
56
|
+
//#endregion
|
|
57
|
+
Object.defineProperty(exports, 'default', {
|
|
58
|
+
enumerable: true,
|
|
59
|
+
get: function () {
|
|
60
|
+
return require_MerchRuleAction();
|
|
61
|
+
}
|
|
62
|
+
});
|