feeef 0.11.2 → 0.11.3
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/build/index.js +24 -2
- package/build/index.js.map +1 -1
- package/build/src/core/entities/store.d.ts +68 -0
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -4692,7 +4692,8 @@ var generatePublicStoreIntegrations = (integrations) => {
|
|
|
4692
4692
|
ai,
|
|
4693
4693
|
security,
|
|
4694
4694
|
customFields,
|
|
4695
|
-
payment
|
|
4695
|
+
payment,
|
|
4696
|
+
connectors
|
|
4696
4697
|
} = integrations;
|
|
4697
4698
|
return {
|
|
4698
4699
|
metaPixel: generatePublicStoreIntegrationMetaPixel(metaPixel) || null,
|
|
@@ -4706,7 +4707,27 @@ var generatePublicStoreIntegrations = (integrations) => {
|
|
|
4706
4707
|
webhooks: generatePublicStoreIntegrationWebhooks(webhooks) || null,
|
|
4707
4708
|
security: generatePublicStoreIntegrationSecurity(security) || null,
|
|
4708
4709
|
customFields: generatePublicStoreIntegrationCustomFields(customFields) || null,
|
|
4709
|
-
payment: generatePublicStoreIntegrationPayment(payment) || null
|
|
4710
|
+
payment: generatePublicStoreIntegrationPayment(payment) || null,
|
|
4711
|
+
connectors: generatePublicStoreIntegrationConnectors(connectors) || null
|
|
4712
|
+
};
|
|
4713
|
+
};
|
|
4714
|
+
var generatePublicStoreIntegrationConnectors = (connectors) => {
|
|
4715
|
+
if (!connectors) return null;
|
|
4716
|
+
return {
|
|
4717
|
+
active: connectors.active,
|
|
4718
|
+
metadata: connectors.metadata,
|
|
4719
|
+
connectors: (connectors.connectors || []).map((c) => ({
|
|
4720
|
+
id: c.id,
|
|
4721
|
+
type: c.type,
|
|
4722
|
+
active: c.active,
|
|
4723
|
+
name: c.name,
|
|
4724
|
+
status: c.status,
|
|
4725
|
+
externalId: c.externalId,
|
|
4726
|
+
fieldMapping: c.fieldMapping,
|
|
4727
|
+
syncState: c.syncState,
|
|
4728
|
+
createdAt: c.createdAt,
|
|
4729
|
+
metadata: c.metadata
|
|
4730
|
+
}))
|
|
4710
4731
|
};
|
|
4711
4732
|
};
|
|
4712
4733
|
var generatePublicStoreIntegrationCustomFields = (customFields) => {
|
|
@@ -5792,6 +5813,7 @@ export {
|
|
|
5792
5813
|
generatePublicIntegrationsDataTiktokPixel,
|
|
5793
5814
|
generatePublicStoreIntegrationAi,
|
|
5794
5815
|
generatePublicStoreIntegrationClarity,
|
|
5816
|
+
generatePublicStoreIntegrationConnectors,
|
|
5795
5817
|
generatePublicStoreIntegrationCustomFields,
|
|
5796
5818
|
generatePublicStoreIntegrationGoogleAnalytics,
|
|
5797
5819
|
generatePublicStoreIntegrationGoogleSheet,
|