@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,82 @@
|
|
|
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/OrganizationConfig.js
|
|
6
|
+
var require_OrganizationConfig = /* @__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.instanceOfOrganizationConfig = instanceOfOrganizationConfig;
|
|
20
|
+
exports.OrganizationConfigFromJSON = OrganizationConfigFromJSON;
|
|
21
|
+
exports.OrganizationConfigFromJSONTyped = OrganizationConfigFromJSONTyped;
|
|
22
|
+
exports.OrganizationConfigToJSON = OrganizationConfigToJSON;
|
|
23
|
+
exports.OrganizationConfigToJSONTyped = OrganizationConfigToJSONTyped;
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the OrganizationConfig interface.
|
|
26
|
+
*/
|
|
27
|
+
function instanceOfOrganizationConfig(value) {
|
|
28
|
+
if (!("config" in value) || value["config"] === void 0) return false;
|
|
29
|
+
if (!("created_at" in value) || value["created_at"] === void 0) return false;
|
|
30
|
+
if (!("is_latest" in value) || value["is_latest"] === void 0) return false;
|
|
31
|
+
if (!("namespace" in value) || value["namespace"] === void 0) return false;
|
|
32
|
+
if (!("updated_at" in value) || value["updated_at"] === void 0) return false;
|
|
33
|
+
if (!("updated_by_entity" in value) || value["updated_by_entity"] === void 0) return false;
|
|
34
|
+
if (!("updated_by_entity_id" in value) || value["updated_by_entity_id"] === void 0) return false;
|
|
35
|
+
if (!("version" in value) || value["version"] === void 0) return false;
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
function OrganizationConfigFromJSON(json) {
|
|
39
|
+
return OrganizationConfigFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function OrganizationConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
+
if (json == null) return json;
|
|
43
|
+
return {
|
|
44
|
+
"config": json["config"],
|
|
45
|
+
"created_at": new Date(json["created_at"]),
|
|
46
|
+
"id": json["id"] == null ? void 0 : json["id"],
|
|
47
|
+
"is_latest": json["is_latest"],
|
|
48
|
+
"namespace": json["namespace"],
|
|
49
|
+
"organization_id": json["organization_id"] == null ? void 0 : json["organization_id"],
|
|
50
|
+
"updated_at": new Date(json["updated_at"]),
|
|
51
|
+
"updated_by_entity": json["updated_by_entity"],
|
|
52
|
+
"updated_by_entity_id": json["updated_by_entity_id"],
|
|
53
|
+
"version": json["version"]
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
function OrganizationConfigToJSON(json) {
|
|
57
|
+
return OrganizationConfigToJSONTyped(json, false);
|
|
58
|
+
}
|
|
59
|
+
function OrganizationConfigToJSONTyped(value, ignoreDiscriminator = false) {
|
|
60
|
+
if (value == null) return value;
|
|
61
|
+
return {
|
|
62
|
+
"config": value["config"],
|
|
63
|
+
"created_at": value["created_at"].toISOString(),
|
|
64
|
+
"id": value["id"],
|
|
65
|
+
"is_latest": value["is_latest"],
|
|
66
|
+
"namespace": value["namespace"],
|
|
67
|
+
"organization_id": value["organization_id"],
|
|
68
|
+
"updated_at": value["updated_at"].toISOString(),
|
|
69
|
+
"updated_by_entity": value["updated_by_entity"],
|
|
70
|
+
"updated_by_entity_id": value["updated_by_entity_id"],
|
|
71
|
+
"version": value["version"]
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
}));
|
|
75
|
+
|
|
76
|
+
//#endregion
|
|
77
|
+
Object.defineProperty(exports, 'default', {
|
|
78
|
+
enumerable: true,
|
|
79
|
+
get: function () {
|
|
80
|
+
return require_OrganizationConfig();
|
|
81
|
+
}
|
|
82
|
+
});
|
package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/OrganizationConfigResults.cjs
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
|
|
4
|
+
const require_OrganizationConfig$1 = require('./OrganizationConfig.cjs');
|
|
5
|
+
const require_OrganizationSettings$1 = require('./OrganizationSettings.cjs');
|
|
6
|
+
const require_StatsigExperiment$1 = require('./StatsigExperiment.cjs');
|
|
7
|
+
const require_StatsigFeatureGate$1 = require('./StatsigFeatureGate.cjs');
|
|
8
|
+
|
|
9
|
+
//#region ../../node_modules/@spiffy-ai/commerce-api-client/dist/models/OrganizationConfigResults.js
|
|
10
|
+
var require_OrganizationConfigResults = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
11
|
+
/**
|
|
12
|
+
* Commerce
|
|
13
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
14
|
+
*
|
|
15
|
+
* The version of the OpenAPI document: 1.1.0
|
|
16
|
+
*
|
|
17
|
+
*
|
|
18
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
19
|
+
* https://openapi-generator.tech
|
|
20
|
+
* Do not edit the class manually.
|
|
21
|
+
*/
|
|
22
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23
|
+
exports.instanceOfOrganizationConfigResults = instanceOfOrganizationConfigResults;
|
|
24
|
+
exports.OrganizationConfigResultsFromJSON = OrganizationConfigResultsFromJSON;
|
|
25
|
+
exports.OrganizationConfigResultsFromJSONTyped = OrganizationConfigResultsFromJSONTyped;
|
|
26
|
+
exports.OrganizationConfigResultsToJSON = OrganizationConfigResultsToJSON;
|
|
27
|
+
exports.OrganizationConfigResultsToJSONTyped = OrganizationConfigResultsToJSONTyped;
|
|
28
|
+
const OrganizationConfig_1 = require_OrganizationConfig$1.default;
|
|
29
|
+
const OrganizationSettings_1 = require_OrganizationSettings$1.default;
|
|
30
|
+
const StatsigExperiment_1 = require_StatsigExperiment$1.default;
|
|
31
|
+
const StatsigFeatureGate_1 = require_StatsigFeatureGate$1.default;
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the OrganizationConfigResults interface.
|
|
34
|
+
*/
|
|
35
|
+
function instanceOfOrganizationConfigResults(value) {
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
function OrganizationConfigResultsFromJSON(json) {
|
|
39
|
+
return OrganizationConfigResultsFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function OrganizationConfigResultsFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
+
if (json == null) return json;
|
|
43
|
+
return {
|
|
44
|
+
"configs": json["configs"] == null ? void 0 : json["configs"].map(OrganizationConfig_1.OrganizationConfigFromJSON),
|
|
45
|
+
"experiments": json["experiments"] == null ? void 0 : json["experiments"].map(StatsigExperiment_1.StatsigExperimentFromJSON),
|
|
46
|
+
"gates": json["gates"] == null ? void 0 : json["gates"].map(StatsigFeatureGate_1.StatsigFeatureGateFromJSON),
|
|
47
|
+
"org": json["org"] == null ? void 0 : (0, OrganizationSettings_1.OrganizationSettingsFromJSON)(json["org"])
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function OrganizationConfigResultsToJSON(json) {
|
|
51
|
+
return OrganizationConfigResultsToJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
function OrganizationConfigResultsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
54
|
+
if (value == null) return value;
|
|
55
|
+
return {
|
|
56
|
+
"configs": value["configs"] == null ? void 0 : value["configs"].map(OrganizationConfig_1.OrganizationConfigToJSON),
|
|
57
|
+
"experiments": value["experiments"] == null ? void 0 : value["experiments"].map(StatsigExperiment_1.StatsigExperimentToJSON),
|
|
58
|
+
"gates": value["gates"] == null ? void 0 : value["gates"].map(StatsigFeatureGate_1.StatsigFeatureGateToJSON),
|
|
59
|
+
"org": (0, OrganizationSettings_1.OrganizationSettingsToJSON)(value["org"])
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
}));
|
|
63
|
+
|
|
64
|
+
//#endregion
|
|
65
|
+
Object.defineProperty(exports, 'default', {
|
|
66
|
+
enumerable: true,
|
|
67
|
+
get: function () {
|
|
68
|
+
return require_OrganizationConfigResults();
|
|
69
|
+
}
|
|
70
|
+
});
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
|
|
4
|
+
const require_Organization$1 = require('./Organization.cjs');
|
|
5
|
+
|
|
6
|
+
//#region ../../node_modules/@spiffy-ai/commerce-api-client/dist/models/OrganizationSettings.js
|
|
7
|
+
var require_OrganizationSettings = /* @__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.instanceOfOrganizationSettings = instanceOfOrganizationSettings;
|
|
21
|
+
exports.OrganizationSettingsFromJSON = OrganizationSettingsFromJSON;
|
|
22
|
+
exports.OrganizationSettingsFromJSONTyped = OrganizationSettingsFromJSONTyped;
|
|
23
|
+
exports.OrganizationSettingsToJSON = OrganizationSettingsToJSON;
|
|
24
|
+
exports.OrganizationSettingsToJSONTyped = OrganizationSettingsToJSONTyped;
|
|
25
|
+
const Organization_1 = require_Organization$1.default;
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the OrganizationSettings interface.
|
|
28
|
+
*/
|
|
29
|
+
function instanceOfOrganizationSettings(value) {
|
|
30
|
+
if (!("org" in value) || value["org"] === void 0) return false;
|
|
31
|
+
if (!("settings" in value) || value["settings"] === void 0) return false;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
function OrganizationSettingsFromJSON(json) {
|
|
35
|
+
return OrganizationSettingsFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
function OrganizationSettingsFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) return json;
|
|
39
|
+
return {
|
|
40
|
+
"org": (0, Organization_1.OrganizationFromJSON)(json["org"]),
|
|
41
|
+
"settings": json["settings"]
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function OrganizationSettingsToJSON(json) {
|
|
45
|
+
return OrganizationSettingsToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function OrganizationSettingsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) return value;
|
|
49
|
+
return {
|
|
50
|
+
"org": (0, Organization_1.OrganizationToJSON)(value["org"]),
|
|
51
|
+
"settings": value["settings"]
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
}));
|
|
55
|
+
|
|
56
|
+
//#endregion
|
|
57
|
+
Object.defineProperty(exports, 'default', {
|
|
58
|
+
enumerable: true,
|
|
59
|
+
get: function () {
|
|
60
|
+
return require_OrganizationSettings();
|
|
61
|
+
}
|
|
62
|
+
});
|
|
@@ -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/PDPAttributes.js
|
|
6
|
+
var require_PDPAttributes = /* @__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.instanceOfPDPAttributes = instanceOfPDPAttributes;
|
|
20
|
+
exports.PDPAttributesFromJSON = PDPAttributesFromJSON;
|
|
21
|
+
exports.PDPAttributesFromJSONTyped = PDPAttributesFromJSONTyped;
|
|
22
|
+
exports.PDPAttributesToJSON = PDPAttributesToJSON;
|
|
23
|
+
exports.PDPAttributesToJSONTyped = PDPAttributesToJSONTyped;
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the PDPAttributes interface.
|
|
26
|
+
*/
|
|
27
|
+
function instanceOfPDPAttributes(value) {
|
|
28
|
+
if (!("product_id" in value) || value["product_id"] === void 0) return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function PDPAttributesFromJSON(json) {
|
|
32
|
+
return PDPAttributesFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function PDPAttributesFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) return json;
|
|
36
|
+
return {
|
|
37
|
+
"parent_product_id": json["parent_product_id"] == null ? void 0 : json["parent_product_id"],
|
|
38
|
+
"product_id": json["product_id"],
|
|
39
|
+
"url": json["url"] == null ? void 0 : json["url"]
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function PDPAttributesToJSON(json) {
|
|
43
|
+
return PDPAttributesToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function PDPAttributesToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) return value;
|
|
47
|
+
return {
|
|
48
|
+
"parent_product_id": value["parent_product_id"],
|
|
49
|
+
"product_id": value["product_id"],
|
|
50
|
+
"url": value["url"]
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
}));
|
|
54
|
+
|
|
55
|
+
//#endregion
|
|
56
|
+
Object.defineProperty(exports, 'default', {
|
|
57
|
+
enumerable: true,
|
|
58
|
+
get: function () {
|
|
59
|
+
return require_PDPAttributes();
|
|
60
|
+
}
|
|
61
|
+
});
|
|
@@ -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/PLPAttributeCategory.js
|
|
6
|
+
var require_PLPAttributeCategory = /* @__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.PLPAttributeCategory = void 0;
|
|
20
|
+
exports.instanceOfPLPAttributeCategory = instanceOfPLPAttributeCategory;
|
|
21
|
+
exports.PLPAttributeCategoryFromJSON = PLPAttributeCategoryFromJSON;
|
|
22
|
+
exports.PLPAttributeCategoryFromJSONTyped = PLPAttributeCategoryFromJSONTyped;
|
|
23
|
+
exports.PLPAttributeCategoryToJSON = PLPAttributeCategoryToJSON;
|
|
24
|
+
exports.PLPAttributeCategoryToJSONTyped = PLPAttributeCategoryToJSONTyped;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @export
|
|
28
|
+
* @enum {string}
|
|
29
|
+
*/
|
|
30
|
+
var PLPAttributeCategory;
|
|
31
|
+
(function(PLPAttributeCategory$1) {
|
|
32
|
+
PLPAttributeCategory$1["Url"] = "url";
|
|
33
|
+
PLPAttributeCategory$1["Id"] = "id";
|
|
34
|
+
})(PLPAttributeCategory || (exports.PLPAttributeCategory = PLPAttributeCategory = {}));
|
|
35
|
+
function instanceOfPLPAttributeCategory(value) {
|
|
36
|
+
for (const key in PLPAttributeCategory) if (Object.prototype.hasOwnProperty.call(PLPAttributeCategory, key)) {
|
|
37
|
+
if (PLPAttributeCategory[key] === value) return true;
|
|
38
|
+
}
|
|
39
|
+
return false;
|
|
40
|
+
}
|
|
41
|
+
function PLPAttributeCategoryFromJSON(json) {
|
|
42
|
+
return PLPAttributeCategoryFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function PLPAttributeCategoryFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
function PLPAttributeCategoryToJSON(value) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
function PLPAttributeCategoryToJSONTyped(value, ignoreDiscriminator) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
}));
|
|
54
|
+
|
|
55
|
+
//#endregion
|
|
56
|
+
Object.defineProperty(exports, 'default', {
|
|
57
|
+
enumerable: true,
|
|
58
|
+
get: function () {
|
|
59
|
+
return require_PLPAttributeCategory();
|
|
60
|
+
}
|
|
61
|
+
});
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
|
|
4
|
+
const require_PLPAttributeCategory$1 = require('./PLPAttributeCategory.cjs');
|
|
5
|
+
const require_PLPAttributesAttributes$1 = require('./PLPAttributesAttributes.cjs');
|
|
6
|
+
|
|
7
|
+
//#region ../../node_modules/@spiffy-ai/commerce-api-client/dist/models/PLPAttributes.js
|
|
8
|
+
var require_PLPAttributes = /* @__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.instanceOfPLPAttributes = instanceOfPLPAttributes;
|
|
22
|
+
exports.PLPAttributesFromJSON = PLPAttributesFromJSON;
|
|
23
|
+
exports.PLPAttributesFromJSONTyped = PLPAttributesFromJSONTyped;
|
|
24
|
+
exports.PLPAttributesToJSON = PLPAttributesToJSON;
|
|
25
|
+
exports.PLPAttributesToJSONTyped = PLPAttributesToJSONTyped;
|
|
26
|
+
const PLPAttributeCategory_1 = require_PLPAttributeCategory$1.default;
|
|
27
|
+
const PLPAttributesAttributes_1 = require_PLPAttributesAttributes$1.default;
|
|
28
|
+
/**
|
|
29
|
+
* Check if a given object implements the PLPAttributes interface.
|
|
30
|
+
*/
|
|
31
|
+
function instanceOfPLPAttributes(value) {
|
|
32
|
+
if (!("attributes" in value) || value["attributes"] === void 0) return false;
|
|
33
|
+
if (!("category" in value) || value["category"] === void 0) return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
function PLPAttributesFromJSON(json) {
|
|
37
|
+
return PLPAttributesFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function PLPAttributesFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) return json;
|
|
41
|
+
return {
|
|
42
|
+
"attributes": (0, PLPAttributesAttributes_1.PLPAttributesAttributesFromJSON)(json["attributes"]),
|
|
43
|
+
"category": (0, PLPAttributeCategory_1.PLPAttributeCategoryFromJSON)(json["category"])
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function PLPAttributesToJSON(json) {
|
|
47
|
+
return PLPAttributesToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function PLPAttributesToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) return value;
|
|
51
|
+
return {
|
|
52
|
+
"attributes": (0, PLPAttributesAttributes_1.PLPAttributesAttributesToJSON)(value["attributes"]),
|
|
53
|
+
"category": (0, PLPAttributeCategory_1.PLPAttributeCategoryToJSON)(value["category"])
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
}));
|
|
57
|
+
|
|
58
|
+
//#endregion
|
|
59
|
+
Object.defineProperty(exports, 'default', {
|
|
60
|
+
enumerable: true,
|
|
61
|
+
get: function () {
|
|
62
|
+
return require_PLPAttributes();
|
|
63
|
+
}
|
|
64
|
+
});
|
package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/PLPAttributesAttributes.cjs
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
|
|
4
|
+
const require_PLPIdAttributes$1 = require('./PLPIdAttributes.cjs');
|
|
5
|
+
const require_PLPUrlAttributes$1 = require('./PLPUrlAttributes.cjs');
|
|
6
|
+
|
|
7
|
+
//#region ../../node_modules/@spiffy-ai/commerce-api-client/dist/models/PLPAttributesAttributes.js
|
|
8
|
+
var require_PLPAttributesAttributes = /* @__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.PLPAttributesAttributesFromJSON = PLPAttributesAttributesFromJSON;
|
|
22
|
+
exports.PLPAttributesAttributesFromJSONTyped = PLPAttributesAttributesFromJSONTyped;
|
|
23
|
+
exports.PLPAttributesAttributesToJSON = PLPAttributesAttributesToJSON;
|
|
24
|
+
exports.PLPAttributesAttributesToJSONTyped = PLPAttributesAttributesToJSONTyped;
|
|
25
|
+
const PLPIdAttributes_1 = require_PLPIdAttributes$1.default;
|
|
26
|
+
const PLPUrlAttributes_1 = require_PLPUrlAttributes$1.default;
|
|
27
|
+
function PLPAttributesAttributesFromJSON(json) {
|
|
28
|
+
return PLPAttributesAttributesFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function PLPAttributesAttributesFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) return json;
|
|
32
|
+
if (typeof json !== "object") return json;
|
|
33
|
+
if ((0, PLPIdAttributes_1.instanceOfPLPIdAttributes)(json)) return (0, PLPIdAttributes_1.PLPIdAttributesFromJSONTyped)(json, true);
|
|
34
|
+
if ((0, PLPUrlAttributes_1.instanceOfPLPUrlAttributes)(json)) return (0, PLPUrlAttributes_1.PLPUrlAttributesFromJSONTyped)(json, true);
|
|
35
|
+
return {};
|
|
36
|
+
}
|
|
37
|
+
function PLPAttributesAttributesToJSON(json) {
|
|
38
|
+
return PLPAttributesAttributesToJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
function PLPAttributesAttributesToJSONTyped(value, ignoreDiscriminator = false) {
|
|
41
|
+
if (value == null) return value;
|
|
42
|
+
if (typeof value !== "object") return value;
|
|
43
|
+
if ((0, PLPIdAttributes_1.instanceOfPLPIdAttributes)(value)) return (0, PLPIdAttributes_1.PLPIdAttributesToJSON)(value);
|
|
44
|
+
if ((0, PLPUrlAttributes_1.instanceOfPLPUrlAttributes)(value)) return (0, PLPUrlAttributes_1.PLPUrlAttributesToJSON)(value);
|
|
45
|
+
return {};
|
|
46
|
+
}
|
|
47
|
+
}));
|
|
48
|
+
|
|
49
|
+
//#endregion
|
|
50
|
+
Object.defineProperty(exports, 'default', {
|
|
51
|
+
enumerable: true,
|
|
52
|
+
get: function () {
|
|
53
|
+
return require_PLPAttributesAttributes();
|
|
54
|
+
}
|
|
55
|
+
});
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
|
|
4
|
+
|
|
5
|
+
//#region ../../node_modules/@spiffy-ai/commerce-api-client/dist/models/PLPIdAttributes.js
|
|
6
|
+
var require_PLPIdAttributes = /* @__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.instanceOfPLPIdAttributes = instanceOfPLPIdAttributes;
|
|
20
|
+
exports.PLPIdAttributesFromJSON = PLPIdAttributesFromJSON;
|
|
21
|
+
exports.PLPIdAttributesFromJSONTyped = PLPIdAttributesFromJSONTyped;
|
|
22
|
+
exports.PLPIdAttributesToJSON = PLPIdAttributesToJSON;
|
|
23
|
+
exports.PLPIdAttributesToJSONTyped = PLPIdAttributesToJSONTyped;
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the PLPIdAttributes interface.
|
|
26
|
+
*/
|
|
27
|
+
function instanceOfPLPIdAttributes(value) {
|
|
28
|
+
if (!("id" in value) || value["id"] === void 0) return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function PLPIdAttributesFromJSON(json) {
|
|
32
|
+
return PLPIdAttributesFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function PLPIdAttributesFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) return json;
|
|
36
|
+
return { "id": json["id"] };
|
|
37
|
+
}
|
|
38
|
+
function PLPIdAttributesToJSON(json) {
|
|
39
|
+
return PLPIdAttributesToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function PLPIdAttributesToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
|
+
if (value == null) return value;
|
|
43
|
+
return { "id": value["id"] };
|
|
44
|
+
}
|
|
45
|
+
}));
|
|
46
|
+
|
|
47
|
+
//#endregion
|
|
48
|
+
Object.defineProperty(exports, 'default', {
|
|
49
|
+
enumerable: true,
|
|
50
|
+
get: function () {
|
|
51
|
+
return require_PLPIdAttributes();
|
|
52
|
+
}
|
|
53
|
+
});
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
|
|
4
|
+
|
|
5
|
+
//#region ../../node_modules/@spiffy-ai/commerce-api-client/dist/models/PLPUrlAttributes.js
|
|
6
|
+
var require_PLPUrlAttributes = /* @__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.instanceOfPLPUrlAttributes = instanceOfPLPUrlAttributes;
|
|
20
|
+
exports.PLPUrlAttributesFromJSON = PLPUrlAttributesFromJSON;
|
|
21
|
+
exports.PLPUrlAttributesFromJSONTyped = PLPUrlAttributesFromJSONTyped;
|
|
22
|
+
exports.PLPUrlAttributesToJSON = PLPUrlAttributesToJSON;
|
|
23
|
+
exports.PLPUrlAttributesToJSONTyped = PLPUrlAttributesToJSONTyped;
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the PLPUrlAttributes interface.
|
|
26
|
+
*/
|
|
27
|
+
function instanceOfPLPUrlAttributes(value) {
|
|
28
|
+
if (!("url" in value) || value["url"] === void 0) return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function PLPUrlAttributesFromJSON(json) {
|
|
32
|
+
return PLPUrlAttributesFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function PLPUrlAttributesFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) return json;
|
|
36
|
+
return { "url": json["url"] };
|
|
37
|
+
}
|
|
38
|
+
function PLPUrlAttributesToJSON(json) {
|
|
39
|
+
return PLPUrlAttributesToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function PLPUrlAttributesToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
|
+
if (value == null) return value;
|
|
43
|
+
return { "url": value["url"] };
|
|
44
|
+
}
|
|
45
|
+
}));
|
|
46
|
+
|
|
47
|
+
//#endregion
|
|
48
|
+
Object.defineProperty(exports, 'default', {
|
|
49
|
+
enumerable: true,
|
|
50
|
+
get: function () {
|
|
51
|
+
return require_PLPUrlAttributes();
|
|
52
|
+
}
|
|
53
|
+
});
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
|
|
4
|
+
const require_PageVisitCategory$1 = require('./PageVisitCategory.cjs');
|
|
5
|
+
|
|
6
|
+
//#region ../../node_modules/@spiffy-ai/commerce-api-client/dist/models/PageVisitAttributes.js
|
|
7
|
+
var require_PageVisitAttributes = /* @__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.instanceOfPageVisitAttributes = instanceOfPageVisitAttributes;
|
|
21
|
+
exports.PageVisitAttributesFromJSON = PageVisitAttributesFromJSON;
|
|
22
|
+
exports.PageVisitAttributesFromJSONTyped = PageVisitAttributesFromJSONTyped;
|
|
23
|
+
exports.PageVisitAttributesToJSON = PageVisitAttributesToJSON;
|
|
24
|
+
exports.PageVisitAttributesToJSONTyped = PageVisitAttributesToJSONTyped;
|
|
25
|
+
const PageVisitCategory_1 = require_PageVisitCategory$1.default;
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the PageVisitAttributes interface.
|
|
28
|
+
*/
|
|
29
|
+
function instanceOfPageVisitAttributes(value) {
|
|
30
|
+
if (!("page_visit_category" in value) || value["page_visit_category"] === void 0) return false;
|
|
31
|
+
if (!("url" in value) || value["url"] === void 0) return false;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
function PageVisitAttributesFromJSON(json) {
|
|
35
|
+
return PageVisitAttributesFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
function PageVisitAttributesFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) return json;
|
|
39
|
+
return {
|
|
40
|
+
"page_visit_category": (0, PageVisitCategory_1.PageVisitCategoryFromJSON)(json["page_visit_category"]),
|
|
41
|
+
"url": json["url"]
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function PageVisitAttributesToJSON(json) {
|
|
45
|
+
return PageVisitAttributesToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function PageVisitAttributesToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) return value;
|
|
49
|
+
return {
|
|
50
|
+
"page_visit_category": (0, PageVisitCategory_1.PageVisitCategoryToJSON)(value["page_visit_category"]),
|
|
51
|
+
"url": value["url"]
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
}));
|
|
55
|
+
|
|
56
|
+
//#endregion
|
|
57
|
+
Object.defineProperty(exports, 'default', {
|
|
58
|
+
enumerable: true,
|
|
59
|
+
get: function () {
|
|
60
|
+
return require_PageVisitAttributes();
|
|
61
|
+
}
|
|
62
|
+
});
|