@envive-ai/react-widgets-v3 0.3.9 → 0.3.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/rolldown_runtime.cjs +2 -0
- package/dist/debug/GenericSelect.cjs +167 -0
- package/dist/debug/GenericSelect.js +165 -0
- package/dist/debug/MessageContent.cjs +151 -0
- package/dist/debug/MessageContent.js +149 -0
- package/dist/debug/chatEmbed.cjs +95 -0
- package/dist/debug/chatEmbed.js +92 -0
- package/dist/debug/debugBar.cjs +18 -0
- package/dist/debug/debugBar.js +17 -0
- package/dist/debug/reportIssue.cjs +528 -0
- package/dist/debug/reportIssue.js +524 -0
- package/dist/hocs/withBaseWidget/withBaseWidget.d.cts +2 -2
- package/dist/hocs/withBaseWidget/withBaseWidget.d.ts +2 -2
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/apis/CustomerServiceApi.cjs +265 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/apis/DefaultApi.cjs +591 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/apis/InferenceApi.cjs +265 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/apis/ProductsApi.cjs +105 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/apis/SearchApi.cjs +229 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/apis/index.cjs +43 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/index.cjs +39 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/AddNoteToLatestConversationRequest.cjs +68 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/AddNoteToLatestConversationResponse.cjs +60 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/AddToCartAttributes.cjs +53 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/AnalyticsIdentifyRequest.cjs +86 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/AnalyticsTrackEventRequest.cjs +62 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/AttachmentRequest.cjs +63 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/AutoForm.cjs +55 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/Context.cjs +89 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/ConversationStatus.cjs +63 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/CreateConversationRequest.cjs +68 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/CreateConversationResponse.cjs +64 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/CustServiceAttachment.cjs +68 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/CustServiceConversation.cjs +69 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/CustServiceConversationMessages.cjs +67 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/CustServiceCustomer.cjs +60 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/CustServiceMessage.cjs +85 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/CustomerServiceProvider.cjs +63 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/FormResponseAttributes.cjs +61 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/FormResponseAttributesFormCategory.cjs +55 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/FormSubmittedAttributes.cjs +65 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/FormType.cjs +61 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/FulfillmentDisplayStatus.cjs +84 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/GenerationParams.cjs +74 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/GetConversationMessagesRequest.cjs +61 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/IsBusinessHoursRequest.cjs +54 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/IsBusinessHoursResponse.cjs +59 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/LabelValue.cjs +60 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/ManualForm.cjs +55 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/MerchRule.cjs +70 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/MerchRuleAction.cjs +62 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/MerchRuleActionAttribute.cjs +58 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/MerchRuleActionType.cjs +64 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/MerchRuleCondition.cjs +60 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/MerchRuleOp.cjs +61 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/MerchRuleStatus.cjs +62 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/NextMessageRequest.cjs +78 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/OrderItemInfo.cjs +78 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/OrderResponseAttributes.cjs +71 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/Organization.cjs +83 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/OrganizationConfig.cjs +82 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/OrganizationConfigResults.cjs +70 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/OrganizationSettings.cjs +62 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/PDPAttributes.cjs +61 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/PLPAttributeCategory.cjs +61 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/PLPAttributes.cjs +64 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/PLPAttributesAttributes.cjs +55 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/PLPIdAttributes.cjs +53 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/PLPUrlAttributes.cjs +53 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/PageVisitAttributes.cjs +62 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/PageVisitCategory.cjs +65 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/ProductRetrievalRequest.cjs +62 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/ProductRetrievalResponse.cjs +55 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/ProductSearchFilterResponseAttributes.cjs +53 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/ProductSearchRequest.cjs +71 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/ProductSearchResponse.cjs +64 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/ProductSearchResponseAttributes.cjs +60 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/ProductSearchResponseV2.cjs +64 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/QueryTypedAttributes.cjs +53 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/ReportContent.cjs +59 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/ReportSessionRequest.cjs +99 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/Response.cjs +68 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/ResponseCategory.cjs +69 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/ResponseProductAttributes.cjs +91 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/SearchAttributes.cjs +65 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/SearchResponseProduct.cjs +93 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/SearchSuggestionsResponse.cjs +58 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/SendMessageRequest.cjs +71 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/SendMessageResponse.cjs +55 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/StatsigExperiment.cjs +64 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/StatsigFeatureGate.cjs +62 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/Suggestion.cjs +70 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/SuggestionCategory.cjs +62 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/SuggestionClickedAttributes.cjs +53 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/SupportedEventProductCategory.cjs +62 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/SupportedEventRequest.cjs +67 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/SupportedEventResponse.cjs +78 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/TurnInfo.cjs +70 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/TurnInfoPrevUserEvent.cjs +60 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/UrlResolvingGenericConfig.cjs +52 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/UrlResolvingPDPConfig.cjs +65 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/UrlResolvingPLPConfig.cjs +61 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/UrlResolvingRequest.cjs +65 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/UrlResolvingResponse.cjs +73 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/UrlResolvingResponseSpecificDetails.cjs +59 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/UrlResolvingType.cjs +67 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/UserEvent.cjs +69 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/UserEventAttributes.cjs +75 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/UserEventCategory.cjs +70 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/V1GetSessionMessages200Response.cjs +67 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/V1SearchExplainGet200Response.cjs +63 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/WidgetString.cjs +60 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/WidgetTextRequest.cjs +73 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/WidgetTextResponse.cjs +66 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/WidgetType.cjs +69 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/index.cjs +221 -0
- package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/runtime.cjs +324 -0
- package/dist/node_modules/react-icons/fa/index.cjs +65 -0
- package/dist/node_modules/react-icons/fa/index.js +61 -0
- package/dist/node_modules/react-icons/lib/iconBase.cjs +121 -0
- package/dist/node_modules/react-icons/lib/iconBase.js +119 -0
- package/dist/node_modules/react-icons/lib/iconContext.cjs +17 -0
- package/dist/node_modules/react-icons/lib/iconContext.js +14 -0
- package/dist/packages/icons/dist/IconCloseVariant.cjs +22 -0
- package/dist/packages/icons/dist/IconCloseVariant.js +22 -0
- package/dist/packages/icons/dist/_virtual/rolldown_runtime.cjs +27 -0
- package/dist/packages/icons/dist/_virtual/rolldown_runtime.js +25 -0
- package/dist/packages/icons/dist/node_modules/react/cjs/react-jsx-runtime.development.cjs +696 -0
- package/dist/packages/icons/dist/node_modules/react/cjs/react-jsx-runtime.development.js +696 -0
- package/dist/packages/icons/dist/node_modules/react/cjs/react-jsx-runtime.production.min.cjs +43 -0
- package/dist/packages/icons/dist/node_modules/react/cjs/react-jsx-runtime.production.min.js +43 -0
- package/dist/packages/icons/dist/node_modules/react/cjs/react.development.cjs +1528 -0
- package/dist/packages/icons/dist/node_modules/react/cjs/react.development.js +1528 -0
- package/dist/packages/icons/dist/node_modules/react/cjs/react.production.min.cjs +329 -0
- package/dist/packages/icons/dist/node_modules/react/cjs/react.production.min.js +329 -0
- package/dist/packages/icons/dist/node_modules/react/index.cjs +13 -0
- package/dist/packages/icons/dist/node_modules/react/index.js +13 -0
- package/dist/packages/icons/dist/node_modules/react/jsx-runtime.cjs +13 -0
- package/dist/packages/icons/dist/node_modules/react/jsx-runtime.js +13 -0
- package/dist/{widgets → packages/widgets}/dist/SearchResults/SearchResultsWidget.d.ts +2 -2
- package/dist/{widgets → packages/widgets}/dist/SearchZeroState/SearchZeroStateWidget.d.ts +2 -2
- package/dist/widgets/ChatPreviewComparisonWidget/ChatPreviewComparisonWidget.d.cts +3 -3
- package/dist/widgets/ChatPreviewComparisonWidget/ChatPreviewComparisonWidget.d.ts +3 -3
- package/dist/widgets/ChatPreviewLoadingWidget/ChatPreviewLoadingWidget.d.cts +3 -3
- package/dist/widgets/ChatPreviewLoadingWidget/ChatPreviewLoadingWidget.d.ts +3 -3
- package/dist/widgets/ChatPreviewWidget/ChatPreviewWidget.d.ts +3 -3
- package/dist/widgets/FloatingChatWidget/FloatingChatOverlay.cjs +2 -2
- package/dist/widgets/FloatingChatWidget/FloatingChatOverlay.js +1 -1
- package/dist/widgets/FloatingChatWidget/FloatingChatWidget.cjs +2 -0
- package/dist/widgets/FloatingChatWidget/FloatingChatWidget.d.cts +2 -2
- package/dist/widgets/FloatingChatWidget/FloatingChatWidget.d.ts +2 -2
- package/dist/widgets/FloatingChatWidget/FloatingChatWidget.js +2 -0
- package/dist/widgets/FloatingChatWidget/hooks/useFloatingButtonVisibility.cjs +4 -1
- package/dist/widgets/FloatingChatWidget/hooks/useFloatingButtonVisibility.js +5 -2
- package/dist/widgets/FullPageSalesAgentWidget/FullPageSalesAgentWidget.cjs +31 -0
- package/dist/widgets/FullPageSalesAgentWidget/FullPageSalesAgentWidget.d.cts +15 -0
- package/dist/widgets/FullPageSalesAgentWidget/FullPageSalesAgentWidget.d.ts +15 -0
- package/dist/widgets/FullPageSalesAgentWidget/FullPageSalesAgentWidget.js +30 -0
- package/dist/widgets/FullPageSalesAgentWidget/index.cjs +3 -0
- package/dist/widgets/FullPageSalesAgentWidget/index.d.cts +2 -0
- package/dist/widgets/FullPageSalesAgentWidget/index.d.ts +2 -0
- package/dist/widgets/FullPageSalesAgentWidget/index.js +3 -0
- package/dist/widgets/ProductCardWidget/ProductCardWidget.cjs +2 -1
- package/dist/widgets/ProductCardWidget/ProductCardWidget.d.cts +2 -2
- package/dist/widgets/ProductCardWidget/ProductCardWidget.js +2 -1
- package/dist/widgets/PromptButtonCarouselWithImageWidget/PromptButtonCarouselWithImageWidget.cjs +2 -1
- package/dist/widgets/PromptButtonCarouselWithImageWidget/PromptButtonCarouselWithImageWidget.d.cts +3 -3
- package/dist/widgets/PromptButtonCarouselWithImageWidget/PromptButtonCarouselWithImageWidget.d.ts +3 -3
- package/dist/widgets/PromptButtonCarouselWithImageWidget/PromptButtonCarouselWithImageWidget.js +2 -1
- package/dist/widgets/PromptCarouselWidget/PromptCarouselWidget.cjs +26 -2
- package/dist/widgets/PromptCarouselWidget/PromptCarouselWidget.d.cts +2 -2
- package/dist/widgets/PromptCarouselWidget/PromptCarouselWidget.d.ts +2 -2
- package/dist/widgets/PromptCarouselWidget/PromptCarouselWidget.js +27 -3
- package/dist/widgets/SocialProofFlowWidget/SocialProofFlowWidget.cjs +1 -1
- package/dist/widgets/SocialProofFlowWidget/SocialProofFlowWidget.d.cts +2 -2
- package/dist/widgets/SocialProofFlowWidget/SocialProofFlowWidget.js +1 -1
- package/dist/widgets/SocialProofWidget/SocialProofWidget.cjs +4 -2
- package/dist/widgets/SocialProofWidget/SocialProofWidget.d.cts +3 -3
- package/dist/widgets/SocialProofWidget/SocialProofWidget.d.ts +3 -3
- package/dist/widgets/SocialProofWidget/SocialProofWidget.js +4 -2
- package/dist/widgets/TitledPromptCarouselWidget/TitledPromptCarouselWidget.cjs +2 -1
- package/dist/widgets/TitledPromptCarouselWidget/TitledPromptCarouselWidget.d.cts +2 -2
- package/dist/widgets/TitledPromptCarouselWidget/TitledPromptCarouselWidget.d.ts +2 -2
- package/dist/widgets/TitledPromptCarouselWidget/TitledPromptCarouselWidget.js +2 -1
- package/dist/widgets/TypingAnimationFlowWidget/TypingAnimationFlowWidget.cjs +1 -1
- package/dist/widgets/TypingAnimationFlowWidget/TypingAnimationFlowWidget.d.cts +2 -2
- package/dist/widgets/TypingAnimationFlowWidget/TypingAnimationFlowWidget.d.ts +2 -2
- package/dist/widgets/TypingAnimationFlowWidget/TypingAnimationFlowWidget.js +1 -1
- package/dist/widgets/TypingAnimationWidget/TypingAnimationWidget.cjs +2 -1
- package/dist/widgets/TypingAnimationWidget/TypingAnimationWidget.d.cts +3 -3
- package/dist/widgets/TypingAnimationWidget/TypingAnimationWidget.d.ts +3 -3
- package/dist/widgets/TypingAnimationWidget/TypingAnimationWidget.js +2 -1
- package/dist/widgets/dist/SearchResults/SearchResultsWidget.d.cts +2 -2
- package/dist/widgets/dist/SearchZeroState/SearchZeroStateWidget.d.cts +2 -2
- package/dist/widgets-v2/SearchResults/index.d.ts +3 -3
- package/dist/widgets-v2/SearchZeroState/index.d.ts +4 -4
- package/dist/widgets-v2/SuggestionBar/index.d.ts +3 -3
- package/dist/widgets-v2/SuggestionButtonContainer/index.d.ts +2 -2
- package/package.json +5 -1
- package/src/debug/GenericSelect.tsx +236 -0
- package/src/debug/MessageContent.tsx +248 -0
- package/src/debug/chatEmbed.tsx +119 -0
- package/src/debug/debugBar.tsx +13 -0
- package/src/debug/reportIssue.tsx +649 -0
- package/src/hocs/withBaseWidget/__tests__/withBaseWidget.test.tsx +6 -0
- package/src/stories/FullPageSalesAgentWidget.stories.tsx +68 -0
- package/src/stories/SalesAgentTest/SalesAgentTest.tsx +10 -2
- package/src/widgets/FloatingChatWidget/FloatingChatWidget.tsx +2 -0
- package/src/widgets/FloatingChatWidget/hooks/useFloatingButtonVisibility.ts +11 -5
- package/src/widgets/FullPageSalesAgentWidget/FullPageSalesAgentWidget.tsx +46 -0
- package/src/widgets/FullPageSalesAgentWidget/index.ts +1 -0
- package/src/widgets/ProductCardWidget/ProductCardWidget.tsx +5 -1
- package/src/widgets/PromptButtonCarouselWithImageWidget/PromptButtonCarouselWithImageWidget.tsx +6 -1
- package/src/widgets/PromptCarouselWidget/PromptCarouselWidget.tsx +31 -2
- package/src/widgets/SocialProofWidget/SocialProofWidget.tsx +10 -2
- package/src/widgets/TitledPromptCarouselWidget/TitledPromptCarouselWidget.tsx +5 -1
- package/src/widgets/TypingAnimationWidget/TypingAnimationWidget.tsx +5 -1
- /package/dist/{widgets → packages/widgets}/dist/SearchResults/SearchResults.d.ts +0 -0
- /package/dist/{widgets → packages/widgets}/dist/SearchResults/index.d.ts +0 -0
- /package/dist/{widgets → packages/widgets}/dist/SearchResults/types.d.ts +0 -0
- /package/dist/{widgets → packages/widgets}/dist/SearchZeroState/SearchZeroState.d.ts +0 -0
- /package/dist/{widgets → packages/widgets}/dist/SearchZeroState/index.d.ts +0 -0
- /package/dist/{widgets → packages/widgets}/dist/SearchZeroState/types.d.ts +0 -0
- /package/dist/{widgets → packages/widgets}/dist/SuggestionBar/SuggestionBar.d.ts +0 -0
- /package/dist/{widgets → packages/widgets}/dist/SuggestionBar/index.d.ts +0 -0
- /package/dist/{widgets → packages/widgets}/dist/SuggestionBar/types.d.ts +0 -0
- /package/dist/{widgets → packages/widgets}/dist/SuggestionButtonContainer/SuggestionButtonContainer.d.ts +0 -0
- /package/dist/{widgets → packages/widgets}/dist/SuggestionButtonContainer/types.d.ts +0 -0
- /package/dist/{widgets → packages/widgets}/dist/config/BaseWidgetConfig.d.ts +0 -0
- /package/dist/{widgets → packages/widgets}/dist/config/WidgetType.d.ts +0 -0
package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/MerchRuleActionAttribute.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/MerchRuleActionAttribute.js
|
|
6
|
+
var require_MerchRuleActionAttribute = /* @__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.instanceOfMerchRuleActionAttribute = instanceOfMerchRuleActionAttribute;
|
|
20
|
+
exports.MerchRuleActionAttributeFromJSON = MerchRuleActionAttributeFromJSON;
|
|
21
|
+
exports.MerchRuleActionAttributeFromJSONTyped = MerchRuleActionAttributeFromJSONTyped;
|
|
22
|
+
exports.MerchRuleActionAttributeToJSON = MerchRuleActionAttributeToJSON;
|
|
23
|
+
exports.MerchRuleActionAttributeToJSONTyped = MerchRuleActionAttributeToJSONTyped;
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the MerchRuleActionAttribute interface.
|
|
26
|
+
*/
|
|
27
|
+
function instanceOfMerchRuleActionAttribute(value) {
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function MerchRuleActionAttributeFromJSON(json) {
|
|
31
|
+
return MerchRuleActionAttributeFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function MerchRuleActionAttributeFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) return json;
|
|
35
|
+
return {
|
|
36
|
+
"source": json["source"] == null ? void 0 : json["source"],
|
|
37
|
+
"value": json["value"] == null ? void 0 : json["value"]
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function MerchRuleActionAttributeToJSON(json) {
|
|
41
|
+
return MerchRuleActionAttributeToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function MerchRuleActionAttributeToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) return value;
|
|
45
|
+
return {
|
|
46
|
+
"source": value["source"],
|
|
47
|
+
"value": value["value"]
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
}));
|
|
51
|
+
|
|
52
|
+
//#endregion
|
|
53
|
+
Object.defineProperty(exports, 'default', {
|
|
54
|
+
enumerable: true,
|
|
55
|
+
get: function () {
|
|
56
|
+
return require_MerchRuleActionAttribute();
|
|
57
|
+
}
|
|
58
|
+
});
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
|
|
4
|
+
|
|
5
|
+
//#region ../../node_modules/@spiffy-ai/commerce-api-client/dist/models/MerchRuleActionType.js
|
|
6
|
+
var require_MerchRuleActionType = /* @__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.MerchRuleActionType = void 0;
|
|
20
|
+
exports.instanceOfMerchRuleActionType = instanceOfMerchRuleActionType;
|
|
21
|
+
exports.MerchRuleActionTypeFromJSON = MerchRuleActionTypeFromJSON;
|
|
22
|
+
exports.MerchRuleActionTypeFromJSONTyped = MerchRuleActionTypeFromJSONTyped;
|
|
23
|
+
exports.MerchRuleActionTypeToJSON = MerchRuleActionTypeToJSON;
|
|
24
|
+
exports.MerchRuleActionTypeToJSONTyped = MerchRuleActionTypeToJSONTyped;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @export
|
|
28
|
+
* @enum {string}
|
|
29
|
+
*/
|
|
30
|
+
var MerchRuleActionType;
|
|
31
|
+
(function(MerchRuleActionType$1) {
|
|
32
|
+
MerchRuleActionType$1["Boost"] = "boost";
|
|
33
|
+
MerchRuleActionType$1["Bury"] = "bury";
|
|
34
|
+
MerchRuleActionType$1["Pin"] = "pin";
|
|
35
|
+
MerchRuleActionType$1["Hide"] = "hide";
|
|
36
|
+
MerchRuleActionType$1["BoostSort"] = "boost_sort";
|
|
37
|
+
})(MerchRuleActionType || (exports.MerchRuleActionType = MerchRuleActionType = {}));
|
|
38
|
+
function instanceOfMerchRuleActionType(value) {
|
|
39
|
+
for (const key in MerchRuleActionType) if (Object.prototype.hasOwnProperty.call(MerchRuleActionType, key)) {
|
|
40
|
+
if (MerchRuleActionType[key] === value) return true;
|
|
41
|
+
}
|
|
42
|
+
return false;
|
|
43
|
+
}
|
|
44
|
+
function MerchRuleActionTypeFromJSON(json) {
|
|
45
|
+
return MerchRuleActionTypeFromJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function MerchRuleActionTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
48
|
+
return json;
|
|
49
|
+
}
|
|
50
|
+
function MerchRuleActionTypeToJSON(value) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
function MerchRuleActionTypeToJSONTyped(value, ignoreDiscriminator) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
}));
|
|
57
|
+
|
|
58
|
+
//#endregion
|
|
59
|
+
Object.defineProperty(exports, 'default', {
|
|
60
|
+
enumerable: true,
|
|
61
|
+
get: function () {
|
|
62
|
+
return require_MerchRuleActionType();
|
|
63
|
+
}
|
|
64
|
+
});
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
|
|
4
|
+
const require_MerchRuleOp$1 = require('./MerchRuleOp.cjs');
|
|
5
|
+
|
|
6
|
+
//#region ../../node_modules/@spiffy-ai/commerce-api-client/dist/models/MerchRuleCondition.js
|
|
7
|
+
var require_MerchRuleCondition = /* @__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.instanceOfMerchRuleCondition = instanceOfMerchRuleCondition;
|
|
21
|
+
exports.MerchRuleConditionFromJSON = MerchRuleConditionFromJSON;
|
|
22
|
+
exports.MerchRuleConditionFromJSONTyped = MerchRuleConditionFromJSONTyped;
|
|
23
|
+
exports.MerchRuleConditionToJSON = MerchRuleConditionToJSON;
|
|
24
|
+
exports.MerchRuleConditionToJSONTyped = MerchRuleConditionToJSONTyped;
|
|
25
|
+
const MerchRuleOp_1 = require_MerchRuleOp$1.default;
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the MerchRuleCondition interface.
|
|
28
|
+
*/
|
|
29
|
+
function instanceOfMerchRuleCondition(value) {
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
function MerchRuleConditionFromJSON(json) {
|
|
33
|
+
return MerchRuleConditionFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function MerchRuleConditionFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) return json;
|
|
37
|
+
return {
|
|
38
|
+
"op": json["op"] == null ? void 0 : (0, MerchRuleOp_1.MerchRuleOpFromJSON)(json["op"]),
|
|
39
|
+
"queries": json["queries"] == null ? void 0 : json["queries"]
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function MerchRuleConditionToJSON(json) {
|
|
43
|
+
return MerchRuleConditionToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function MerchRuleConditionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) return value;
|
|
47
|
+
return {
|
|
48
|
+
"op": (0, MerchRuleOp_1.MerchRuleOpToJSON)(value["op"]),
|
|
49
|
+
"queries": value["queries"]
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
}));
|
|
53
|
+
|
|
54
|
+
//#endregion
|
|
55
|
+
Object.defineProperty(exports, 'default', {
|
|
56
|
+
enumerable: true,
|
|
57
|
+
get: function () {
|
|
58
|
+
return require_MerchRuleCondition();
|
|
59
|
+
}
|
|
60
|
+
});
|
|
@@ -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/MerchRuleOp.js
|
|
6
|
+
var require_MerchRuleOp = /* @__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.MerchRuleOp = void 0;
|
|
20
|
+
exports.instanceOfMerchRuleOp = instanceOfMerchRuleOp;
|
|
21
|
+
exports.MerchRuleOpFromJSON = MerchRuleOpFromJSON;
|
|
22
|
+
exports.MerchRuleOpFromJSONTyped = MerchRuleOpFromJSONTyped;
|
|
23
|
+
exports.MerchRuleOpToJSON = MerchRuleOpToJSON;
|
|
24
|
+
exports.MerchRuleOpToJSONTyped = MerchRuleOpToJSONTyped;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @export
|
|
28
|
+
* @enum {string}
|
|
29
|
+
*/
|
|
30
|
+
var MerchRuleOp;
|
|
31
|
+
(function(MerchRuleOp$1) {
|
|
32
|
+
MerchRuleOp$1["Contains"] = "contains";
|
|
33
|
+
MerchRuleOp$1["Equals"] = "equals";
|
|
34
|
+
})(MerchRuleOp || (exports.MerchRuleOp = MerchRuleOp = {}));
|
|
35
|
+
function instanceOfMerchRuleOp(value) {
|
|
36
|
+
for (const key in MerchRuleOp) if (Object.prototype.hasOwnProperty.call(MerchRuleOp, key)) {
|
|
37
|
+
if (MerchRuleOp[key] === value) return true;
|
|
38
|
+
}
|
|
39
|
+
return false;
|
|
40
|
+
}
|
|
41
|
+
function MerchRuleOpFromJSON(json) {
|
|
42
|
+
return MerchRuleOpFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function MerchRuleOpFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
function MerchRuleOpToJSON(value) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
function MerchRuleOpToJSONTyped(value, ignoreDiscriminator) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
}));
|
|
54
|
+
|
|
55
|
+
//#endregion
|
|
56
|
+
Object.defineProperty(exports, 'default', {
|
|
57
|
+
enumerable: true,
|
|
58
|
+
get: function () {
|
|
59
|
+
return require_MerchRuleOp();
|
|
60
|
+
}
|
|
61
|
+
});
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
|
|
4
|
+
|
|
5
|
+
//#region ../../node_modules/@spiffy-ai/commerce-api-client/dist/models/MerchRuleStatus.js
|
|
6
|
+
var require_MerchRuleStatus = /* @__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.MerchRuleStatus = void 0;
|
|
20
|
+
exports.instanceOfMerchRuleStatus = instanceOfMerchRuleStatus;
|
|
21
|
+
exports.MerchRuleStatusFromJSON = MerchRuleStatusFromJSON;
|
|
22
|
+
exports.MerchRuleStatusFromJSONTyped = MerchRuleStatusFromJSONTyped;
|
|
23
|
+
exports.MerchRuleStatusToJSON = MerchRuleStatusToJSON;
|
|
24
|
+
exports.MerchRuleStatusToJSONTyped = MerchRuleStatusToJSONTyped;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @export
|
|
28
|
+
* @enum {string}
|
|
29
|
+
*/
|
|
30
|
+
var MerchRuleStatus;
|
|
31
|
+
(function(MerchRuleStatus$1) {
|
|
32
|
+
MerchRuleStatus$1["Enabled"] = "enabled";
|
|
33
|
+
MerchRuleStatus$1["Disabled"] = "disabled";
|
|
34
|
+
MerchRuleStatus$1["Draft"] = "draft";
|
|
35
|
+
})(MerchRuleStatus || (exports.MerchRuleStatus = MerchRuleStatus = {}));
|
|
36
|
+
function instanceOfMerchRuleStatus(value) {
|
|
37
|
+
for (const key in MerchRuleStatus) if (Object.prototype.hasOwnProperty.call(MerchRuleStatus, key)) {
|
|
38
|
+
if (MerchRuleStatus[key] === value) return true;
|
|
39
|
+
}
|
|
40
|
+
return false;
|
|
41
|
+
}
|
|
42
|
+
function MerchRuleStatusFromJSON(json) {
|
|
43
|
+
return MerchRuleStatusFromJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function MerchRuleStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
function MerchRuleStatusToJSON(value) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
function MerchRuleStatusToJSONTyped(value, ignoreDiscriminator) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
}));
|
|
55
|
+
|
|
56
|
+
//#endregion
|
|
57
|
+
Object.defineProperty(exports, 'default', {
|
|
58
|
+
enumerable: true,
|
|
59
|
+
get: function () {
|
|
60
|
+
return require_MerchRuleStatus();
|
|
61
|
+
}
|
|
62
|
+
});
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
|
|
4
|
+
const require_Context$1 = require('./Context.cjs');
|
|
5
|
+
const require_GenerationParams$1 = require('./GenerationParams.cjs');
|
|
6
|
+
const require_UserEvent$1 = require('./UserEvent.cjs');
|
|
7
|
+
|
|
8
|
+
//#region ../../node_modules/@spiffy-ai/commerce-api-client/dist/models/NextMessageRequest.js
|
|
9
|
+
var require_NextMessageRequest = /* @__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.instanceOfNextMessageRequest = instanceOfNextMessageRequest;
|
|
23
|
+
exports.NextMessageRequestFromJSON = NextMessageRequestFromJSON;
|
|
24
|
+
exports.NextMessageRequestFromJSONTyped = NextMessageRequestFromJSONTyped;
|
|
25
|
+
exports.NextMessageRequestToJSON = NextMessageRequestToJSON;
|
|
26
|
+
exports.NextMessageRequestToJSONTyped = NextMessageRequestToJSONTyped;
|
|
27
|
+
const Context_1 = require_Context$1.default;
|
|
28
|
+
const GenerationParams_1 = require_GenerationParams$1.default;
|
|
29
|
+
const UserEvent_1 = require_UserEvent$1.default;
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the NextMessageRequest interface.
|
|
32
|
+
*/
|
|
33
|
+
function instanceOfNextMessageRequest(value) {
|
|
34
|
+
if (!("context" in value) || value["context"] === void 0) return false;
|
|
35
|
+
if (!("id" in value) || value["id"] === void 0) return false;
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
function NextMessageRequestFromJSON(json) {
|
|
39
|
+
return NextMessageRequestFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function NextMessageRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
+
if (json == null) return json;
|
|
43
|
+
return {
|
|
44
|
+
"context": (0, Context_1.ContextFromJSON)(json["context"]),
|
|
45
|
+
"feature_flags": json["feature_flags"] == null ? void 0 : json["feature_flags"],
|
|
46
|
+
"generation_params": json["generation_params"] == null ? void 0 : (0, GenerationParams_1.GenerationParamsFromJSON)(json["generation_params"]),
|
|
47
|
+
"id": json["id"],
|
|
48
|
+
"org_base_config_version": json["org_base_config_version"] == null ? void 0 : json["org_base_config_version"],
|
|
49
|
+
"override_config_version": json["override_config_version"] == null ? void 0 : json["override_config_version"],
|
|
50
|
+
"override_model_datetime": json["override_model_datetime"] == null ? void 0 : json["override_model_datetime"],
|
|
51
|
+
"user_events": json["user_events"] == null ? void 0 : json["user_events"].map(UserEvent_1.UserEventFromJSON)
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
function NextMessageRequestToJSON(json) {
|
|
55
|
+
return NextMessageRequestToJSONTyped(json, false);
|
|
56
|
+
}
|
|
57
|
+
function NextMessageRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
58
|
+
if (value == null) return value;
|
|
59
|
+
return {
|
|
60
|
+
"context": (0, Context_1.ContextToJSON)(value["context"]),
|
|
61
|
+
"feature_flags": value["feature_flags"],
|
|
62
|
+
"generation_params": (0, GenerationParams_1.GenerationParamsToJSON)(value["generation_params"]),
|
|
63
|
+
"id": value["id"],
|
|
64
|
+
"org_base_config_version": value["org_base_config_version"],
|
|
65
|
+
"override_config_version": value["override_config_version"],
|
|
66
|
+
"override_model_datetime": value["override_model_datetime"],
|
|
67
|
+
"user_events": value["user_events"] == null ? void 0 : value["user_events"].map(UserEvent_1.UserEventToJSON)
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
}));
|
|
71
|
+
|
|
72
|
+
//#endregion
|
|
73
|
+
Object.defineProperty(exports, 'default', {
|
|
74
|
+
enumerable: true,
|
|
75
|
+
get: function () {
|
|
76
|
+
return require_NextMessageRequest();
|
|
77
|
+
}
|
|
78
|
+
});
|
|
@@ -0,0 +1,78 @@
|
|
|
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/OrderItemInfo.js
|
|
6
|
+
var require_OrderItemInfo = /* @__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.instanceOfOrderItemInfo = instanceOfOrderItemInfo;
|
|
20
|
+
exports.OrderItemInfoFromJSON = OrderItemInfoFromJSON;
|
|
21
|
+
exports.OrderItemInfoFromJSONTyped = OrderItemInfoFromJSONTyped;
|
|
22
|
+
exports.OrderItemInfoToJSON = OrderItemInfoToJSON;
|
|
23
|
+
exports.OrderItemInfoToJSONTyped = OrderItemInfoToJSONTyped;
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the OrderItemInfo interface.
|
|
26
|
+
*/
|
|
27
|
+
function instanceOfOrderItemInfo(value) {
|
|
28
|
+
if (!("item_price" in value) || value["item_price"] === void 0) return false;
|
|
29
|
+
if (!("item_quantity" in value) || value["item_quantity"] === void 0) return false;
|
|
30
|
+
if (!("item_title" in value) || value["item_title"] === void 0) return false;
|
|
31
|
+
if (!("order_item_id" in value) || value["order_item_id"] === void 0) return false;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
function OrderItemInfoFromJSON(json) {
|
|
35
|
+
return OrderItemInfoFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
function OrderItemInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) return json;
|
|
39
|
+
return {
|
|
40
|
+
"delivered_at": json["delivered_at"] == null ? void 0 : new Date(json["delivered_at"]),
|
|
41
|
+
"estimated_delivery_at": json["estimated_delivery_at"] == null ? void 0 : new Date(json["estimated_delivery_at"]),
|
|
42
|
+
"fulfillment_display_status": json["fulfillment_display_status"] == null ? void 0 : json["fulfillment_display_status"],
|
|
43
|
+
"image": json["image"] == null ? void 0 : json["image"],
|
|
44
|
+
"in_transit_at": json["in_transit_at"] == null ? void 0 : new Date(json["in_transit_at"]),
|
|
45
|
+
"item_price": json["item_price"],
|
|
46
|
+
"item_quantity": json["item_quantity"],
|
|
47
|
+
"item_title": json["item_title"],
|
|
48
|
+
"order_item_id": json["order_item_id"],
|
|
49
|
+
"tracking_url": json["tracking_url"] == null ? void 0 : json["tracking_url"]
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
function OrderItemInfoToJSON(json) {
|
|
53
|
+
return OrderItemInfoToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
function OrderItemInfoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
56
|
+
if (value == null) return value;
|
|
57
|
+
return {
|
|
58
|
+
"delivered_at": value["delivered_at"] == null ? value["delivered_at"] : value["delivered_at"].toISOString(),
|
|
59
|
+
"estimated_delivery_at": value["estimated_delivery_at"] == null ? value["estimated_delivery_at"] : value["estimated_delivery_at"].toISOString(),
|
|
60
|
+
"fulfillment_display_status": value["fulfillment_display_status"],
|
|
61
|
+
"image": value["image"],
|
|
62
|
+
"in_transit_at": value["in_transit_at"] == null ? value["in_transit_at"] : value["in_transit_at"].toISOString(),
|
|
63
|
+
"item_price": value["item_price"],
|
|
64
|
+
"item_quantity": value["item_quantity"],
|
|
65
|
+
"item_title": value["item_title"],
|
|
66
|
+
"order_item_id": value["order_item_id"],
|
|
67
|
+
"tracking_url": value["tracking_url"]
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
}));
|
|
71
|
+
|
|
72
|
+
//#endregion
|
|
73
|
+
Object.defineProperty(exports, 'default', {
|
|
74
|
+
enumerable: true,
|
|
75
|
+
get: function () {
|
|
76
|
+
return require_OrderItemInfo();
|
|
77
|
+
}
|
|
78
|
+
});
|
package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/OrderResponseAttributes.cjs
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
|
|
4
|
+
const require_OrderItemInfo$1 = require('./OrderItemInfo.cjs');
|
|
5
|
+
|
|
6
|
+
//#region ../../node_modules/@spiffy-ai/commerce-api-client/dist/models/OrderResponseAttributes.js
|
|
7
|
+
var require_OrderResponseAttributes = /* @__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.instanceOfOrderResponseAttributes = instanceOfOrderResponseAttributes;
|
|
21
|
+
exports.OrderResponseAttributesFromJSON = OrderResponseAttributesFromJSON;
|
|
22
|
+
exports.OrderResponseAttributesFromJSONTyped = OrderResponseAttributesFromJSONTyped;
|
|
23
|
+
exports.OrderResponseAttributesToJSON = OrderResponseAttributesToJSON;
|
|
24
|
+
exports.OrderResponseAttributesToJSONTyped = OrderResponseAttributesToJSONTyped;
|
|
25
|
+
const OrderItemInfo_1 = require_OrderItemInfo$1.default;
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the OrderResponseAttributes interface.
|
|
28
|
+
*/
|
|
29
|
+
function instanceOfOrderResponseAttributes(value) {
|
|
30
|
+
if (!("created_at" in value) || value["created_at"] === void 0) return false;
|
|
31
|
+
if (!("latest_event_date" in value) || value["latest_event_date"] === void 0) return false;
|
|
32
|
+
if (!("line_items" in value) || value["line_items"] === void 0) return false;
|
|
33
|
+
if (!("order_id" in value) || value["order_id"] === void 0) return false;
|
|
34
|
+
if (!("order_number" in value) || value["order_number"] === void 0) return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
function OrderResponseAttributesFromJSON(json) {
|
|
38
|
+
return OrderResponseAttributesFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
function OrderResponseAttributesFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
+
if (json == null) return json;
|
|
42
|
+
return {
|
|
43
|
+
"created_at": new Date(json["created_at"]),
|
|
44
|
+
"latest_event_date": new Date(json["latest_event_date"]),
|
|
45
|
+
"line_items": json["line_items"].map(OrderItemInfo_1.OrderItemInfoFromJSON),
|
|
46
|
+
"order_id": json["order_id"],
|
|
47
|
+
"order_number": json["order_number"]
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function OrderResponseAttributesToJSON(json) {
|
|
51
|
+
return OrderResponseAttributesToJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
function OrderResponseAttributesToJSONTyped(value, ignoreDiscriminator = false) {
|
|
54
|
+
if (value == null) return value;
|
|
55
|
+
return {
|
|
56
|
+
"created_at": value["created_at"].toISOString(),
|
|
57
|
+
"latest_event_date": value["latest_event_date"].toISOString(),
|
|
58
|
+
"line_items": value["line_items"].map(OrderItemInfo_1.OrderItemInfoToJSON),
|
|
59
|
+
"order_id": value["order_id"],
|
|
60
|
+
"order_number": value["order_number"]
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
}));
|
|
64
|
+
|
|
65
|
+
//#endregion
|
|
66
|
+
Object.defineProperty(exports, 'default', {
|
|
67
|
+
enumerable: true,
|
|
68
|
+
get: function () {
|
|
69
|
+
return require_OrderResponseAttributes();
|
|
70
|
+
}
|
|
71
|
+
});
|
|
@@ -0,0 +1,83 @@
|
|
|
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/Organization.js
|
|
6
|
+
var require_Organization = /* @__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.OrganizationStatusEnum = void 0;
|
|
20
|
+
exports.instanceOfOrganization = instanceOfOrganization;
|
|
21
|
+
exports.OrganizationFromJSON = OrganizationFromJSON;
|
|
22
|
+
exports.OrganizationFromJSONTyped = OrganizationFromJSONTyped;
|
|
23
|
+
exports.OrganizationToJSON = OrganizationToJSON;
|
|
24
|
+
exports.OrganizationToJSONTyped = OrganizationToJSONTyped;
|
|
25
|
+
/**
|
|
26
|
+
* @export
|
|
27
|
+
* @enum {string}
|
|
28
|
+
*/
|
|
29
|
+
var OrganizationStatusEnum;
|
|
30
|
+
(function(OrganizationStatusEnum$1) {
|
|
31
|
+
OrganizationStatusEnum$1["Active"] = "active";
|
|
32
|
+
OrganizationStatusEnum$1["Inactive"] = "inactive";
|
|
33
|
+
})(OrganizationStatusEnum || (exports.OrganizationStatusEnum = OrganizationStatusEnum = {}));
|
|
34
|
+
/**
|
|
35
|
+
* Check if a given object implements the Organization interface.
|
|
36
|
+
*/
|
|
37
|
+
function instanceOfOrganization(value) {
|
|
38
|
+
if (!("display_name" in value) || value["display_name"] === void 0) return false;
|
|
39
|
+
if (!("domain" in value) || value["domain"] === void 0) return false;
|
|
40
|
+
if (!("id" in value) || value["id"] === void 0) return false;
|
|
41
|
+
if (!("short_name" in value) || value["short_name"] === void 0) return false;
|
|
42
|
+
if (!("status" in value) || value["status"] === void 0) return false;
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
function OrganizationFromJSON(json) {
|
|
46
|
+
return OrganizationFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function OrganizationFromJSONTyped(json, ignoreDiscriminator) {
|
|
49
|
+
if (json == null) return json;
|
|
50
|
+
return {
|
|
51
|
+
"created_at": json["created_at"] == null ? void 0 : new Date(json["created_at"]),
|
|
52
|
+
"display_name": json["display_name"],
|
|
53
|
+
"domain": json["domain"],
|
|
54
|
+
"id": json["id"],
|
|
55
|
+
"short_name": json["short_name"],
|
|
56
|
+
"status": json["status"],
|
|
57
|
+
"updated_at": json["updated_at"] == null ? void 0 : new Date(json["updated_at"])
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
function OrganizationToJSON(json) {
|
|
61
|
+
return OrganizationToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
function OrganizationToJSONTyped(value, ignoreDiscriminator = false) {
|
|
64
|
+
if (value == null) return value;
|
|
65
|
+
return {
|
|
66
|
+
"created_at": value["created_at"] == null ? value["created_at"] : value["created_at"].toISOString(),
|
|
67
|
+
"display_name": value["display_name"],
|
|
68
|
+
"domain": value["domain"],
|
|
69
|
+
"id": value["id"],
|
|
70
|
+
"short_name": value["short_name"],
|
|
71
|
+
"status": value["status"],
|
|
72
|
+
"updated_at": value["updated_at"] == null ? value["updated_at"] : value["updated_at"].toISOString()
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
}));
|
|
76
|
+
|
|
77
|
+
//#endregion
|
|
78
|
+
Object.defineProperty(exports, 'default', {
|
|
79
|
+
enumerable: true,
|
|
80
|
+
get: function () {
|
|
81
|
+
return require_Organization();
|
|
82
|
+
}
|
|
83
|
+
});
|