'use strict';
import { featureIds } from '../../meta/core/resources/features/feature-ids.js';
import { createBaseResourceProperties } from '../utils/base-resource-properties.js';
import { paymentPlanIds } from '../../common/payments/payment-constants.js';
import { createPaymentPlanFeature } from './payment-plan-feature-db.js';
import { paymentPlanFeatureStates } from '../../meta/core/resources/enums/payment-enums.js';

var __defProp=Object['defineProperty'],__name=(_0x288190,_0x5e2d44)=>__defProp(_0x288190,'name',{'value':_0x5e2d44,'configurable':!![]});const paymentPlanFeatureIds={'userSupportToFreeId':'1a21bde0-2abc-4e15-8db7-3c3fb3b3bafa','contactManagementToFreeId':'2b31cde1-3bcd-4f26-9eb8-4d4fc4d4cafa','tasksAndRemindersToFreeId':'3c41def2-4cde-5f37-afc9-5e5fd5e5dafa','calendarAndSchedulingToFreeId':'4d51ef03-5def-6f48-b0da-6f6fe6f6eafa','analyticsAndReportingToFreeId':'5e61f014-6f10-7g59-c1eb-7g7fg7g7gafa','advancedAutomationToPremiumId':'6f71g125-7g21-8h6a-d2fc-8h8gh8h8hafa','teamCollaborationToolsToPremiumId':'7g81h236-8h32-9i7b-e3gd-9i9hi9i9iafa','priorityCustomerSupportToPremiumId':'8h91i347-9i43-aj8c-f4he-ajaja0ajaafa','advancedSecurityFeaturesToPremiumId':'9i01j458-aj54-bk9d-g5if-bkbkb1bk1bfa','apiAccessAndCustomDevelopmentToPremiumId':'aj12k569-bk65-clae-h6jg-clclc2cl2cfa','customizableDashboardsAndReportsToPremiumId':'bk23l67a-cl76-dmbf-i7kh-dmdmd3dm3dfa','unlimitedUsersToEnterpriseId':'cl34m78b-dm87-encg-j8li-ememe4em4efa','fullCustomizationToEnterpriseId':'dm45n89c-en98-fodh-k9mj-fnfne5fn5ffa','scalableAutomationToEnterpriseId':'en56o90d-foa9-gpei-laon-gogog6go6gfa','backupAndRecoveryToEnterpriseId':'fo67pab1-gpab-hqfj-mbpm-hphph7hp7hfa','advancedAnalyticsAndReportingToEnterpriseId':'gp78qbc2-hqbc-irgl-ncqn-iqiqi8iq8ifa'};async function seedPaymentPlanFeature(_0x19ddb3,_0x15e1cb,_0x3795af){const _0x492d86={...createBaseResourceProperties(_0x19ddb3),'featureId':_0x15e1cb,'paymentPlanId':_0x3795af,'state':paymentPlanFeatureStates['enabled']};return createPaymentPlanFeature(_0x492d86);}__name(seedPaymentPlanFeature,'seedPaymentPlanFeature');const paymentPlanFeatures=[{'featureId':featureIds['userSupportId'],'paymentPlanId':paymentPlanIds['basicId'],'paymentPlanFeatureId':paymentPlanFeatureIds['userSupportToFreeId']},{'featureId':featureIds['contactManagementId'],'paymentPlanId':paymentPlanIds['basicId'],'paymentPlanFeatureId':paymentPlanFeatureIds['contactManagementToFreeId']},{'featureId':featureIds['tasksAndRemindersId'],'paymentPlanId':paymentPlanIds['basicId'],'paymentPlanFeatureId':paymentPlanFeatureIds['tasksAndRemindersToFreeId']},{'featureId':featureIds['calendarAndSchedulingId'],'paymentPlanId':paymentPlanIds['basicId'],'paymentPlanFeatureId':paymentPlanFeatureIds['calendarAndSchedulingToFreeId']},{'featureId':featureIds['analyticsAndReportingId'],'paymentPlanId':paymentPlanIds['basicId'],'paymentPlanFeatureId':paymentPlanFeatureIds['analyticsAndReportingToFreeId']},{'featureId':featureIds['unlimitedUsersId'],'paymentPlanId':paymentPlanIds['thirdId'],'paymentPlanFeatureId':paymentPlanFeatureIds['unlimitedUsersToEnterpriseId']},{'featureId':featureIds['fullCustomizationId'],'paymentPlanId':paymentPlanIds['thirdId'],'paymentPlanFeatureId':paymentPlanFeatureIds['fullCustomizationToEnterpriseId']},{'featureId':featureIds['scalableAutomationId'],'paymentPlanId':paymentPlanIds['thirdId'],'paymentPlanFeatureId':paymentPlanFeatureIds['scalableAutomationToEnterpriseId']},{'featureId':featureIds['backupAndRecoveryId'],'paymentPlanId':paymentPlanIds['thirdId'],'paymentPlanFeatureId':paymentPlanFeatureIds['backupAndRecoveryToEnterpriseId']},{'featureId':featureIds['advancedAnalyticsAndReportingId'],'paymentPlanId':paymentPlanIds['thirdId'],'paymentPlanFeatureId':paymentPlanFeatureIds['advancedAnalyticsAndReportingToEnterpriseId']}];async function seedPaymentPlanFeatures(){for(const _0x47c258 of paymentPlanFeatures){await seedPaymentPlanFeature(_0x47c258['paymentPlanFeatureId'],_0x47c258['featureId'],_0x47c258['paymentPlanId']);}}__name(seedPaymentPlanFeatures,'seedPaymentPlanFeatures');

export { paymentPlanFeatureIds, seedPaymentPlanFeature, seedPaymentPlanFeatures };
