import{a as L}from"./chunk-HRYIRC5N.js";import{a as C}from"./chunk-JWAFQ6PQ.js";import{i as t}from"./chunk-D75D27YU.js";import{n as M}from"./chunk-JJTPXY4D.js";import{D as I,d as a,e as l,v as c,w as h}from"./chunk-ALDBR463.js";import{a as o,b as n}from"./chunk-V6BPA3D7.js";var z=function(e){return e.Eligible="ELIGIBLE",e.Hidden="HIDDEN",e.NotEligible="NOT_ELIGIBLE",e.PartiallyEligible="PARTIALLY_ELIGIBLE",e.Selected="SELECTED",e}(z||{}),m=function(e){return e.Acquisition="ACQUISITION",e.AcquisitionPortIn="ACQUISITION_PORT_IN",e.AcquisitionPrepayToPostpaid="ACQUISITION_PREPAY_TO_POSTPAID",e.BudgetAcquisition="BUDGET_ACQUISITION",e.BudgetLoyalty="BUDGET_LOYALTY",e.Loyalty="LOYALTY",e}(m||{}),J=function(e){return e.Acquisition="ACQUISITION",e.AcquisitionPortIn="ACQUISITION_PORT_IN",e.AcquisitionPrepayToPostpaid="ACQUISITION_PREPAY_TO_POSTPAID",e.BudgetAcquisition="BUDGET_ACQUISITION",e.Loyalty="LOYALTY",e}(J||{});var Z=function(e){return e.Basic="BASIC",e.Premium="PREMIUM",e}(Z||{}),ee=function(e){return e.Ocr="OCR",e}(ee||{}),te=function(e){return e.AlreadyErased="ALREADY_ERASED",e.AlreadyValidated="ALREADY_VALIDATED",e.Erased="ERASED",e.NotFound="NOT_FOUND",e.NotValidated="NOT_VALIDATED",e.Validated="VALIDATED",e}(te||{}),u=function(e){return e.AddProductSubscriptionBundle="addProductSubscriptionBundle",e.AddSimpleProduct="addSimpleProduct",e.AddSubscription="addSubscription",e.AskForAbove16="askForAbove16",e.CanImpersonate="canImpersonate",e.CanPlaceOrder="canPlaceOrder",e.CheckGdpr="checkGdpr",e.ClearCart="clearCart",e.HasInsuranceOnly="hasInsuranceOnly",e.HasOnlySimoLoyOrSimoOfi="hasOnlySimoLoyOrSimoOfi",e.HasPaymentCommitment="hasPaymentCommitment",e.HasPpy2PpdAcq="hasPpy2PpdAcq",e.HasSimoLoyOnly="hasSimoLoyOnly",e.HasSimoOnlyPpy2Ppd="hasSimoOnlyPpy2Ppd",e.IsCnpNotMandatory="isCnpNotMandatory",e.IsEligibleForVoucher="isEligibleForVoucher",e.IsESimPrePayFlow="isESimPrePayFlow",e.IsFastOrder="isFastOrder",e.IsShortFlow="isShortFlow",e.ReadNotifications="readNotifications",e.RequiresAdditionalClmBillingInfo="requiresAdditionalClmBillingInfo",e.RequiresContactDetails="requiresContactDetails",e.RequiresShippingAddress="requiresShippingAddress",e.SetBilling="setBilling",e.SetBillingAddress="setBillingAddress",e.SetBillingParty="setBillingParty",e.SetOtyConsumption="setOtyConsumption",e.SetPayment="setPayment",e.SetPhoneCreditConsumption="setPhoneCreditConsumption",e.SetShipping="setShipping",e.UpdateProductInstallmentsTerms="updateProductInstallmentsTerms",e}(u||{}),re=function(e){return e.AddInsurance="addInsurance",e.DecreaseQnty="decreaseQnty",e.IncreaseQnty="increaseQnty",e.RecommendedByNbx="recommendedByNbx",e.Remove="remove",e.RemoveInsurance="removeInsurance",e}(re||{}),oe=function(e){return e.AriadnextMaxAttemptsReached="ARIADNEXT_MAX_ATTEMPTS_REACHED",e.BlockedSubscriptionAcquisition="BLOCKED_SUBSCRIPTION_ACQUISITION",e.BlockedSubscriptionLoyalty="BLOCKED_SUBSCRIPTION_LOYALTY",e.BudgetPointsUpdated="BUDGET_POINTS_UPDATED",e.CartGeneralError="CART_GENERAL_ERROR",e.ContactEmailNotValidated="CONTACT_EMAIL_NOT_VALIDATED",e.CrmBillingDetailsMissing="CRM_BILLING_DETAILS_MISSING",e.EmptyMessage="EMPTY_MESSAGE",e.EsimPrepayCardInvalidPrice="ESIM_PREPAY_CARD_INVALID_PRICE",e.GiftItemRemoved="GIFT_ITEM_REMOVED",e.GiftProductOutOfStock="GIFT_PRODUCT_OUT_OF_STOCK",e.GuestCartMergeRequiredLoggedRemoval="GUEST_CART_MERGE_REQUIRED_LOGGED_REMOVAL",e.GuestPpy_2PpdDifferentProfilePostpaid="GUEST_PPY_2_PPD_DIFFERENT_PROFILE_POSTPAID",e.GuestPpy_2PpdDifferentProfilePrepay="GUEST_PPY_2_PPD_DIFFERENT_PROFILE_PREPAY",e.GuestPpy_2PpdUnableToBeMerged="GUEST_PPY_2_PPD_UNABLE_TO_BE_MERGED",e.InactiveSubscriptionNumber="INACTIVE_SUBSCRIPTION_NUMBER",e.InstallmentLimitReached="INSTALLMENT_LIMIT_REACHED",e.InsufficientBudgetPoints="INSUFFICIENT_BUDGET_POINTS",e.InsuranceAllMsisdnsNotEligible="INSURANCE_ALL_MSISDNS_NOT_ELIGIBLE",e.InsuranceCurrentMsisdnNotEligible="INSURANCE_CURRENT_MSISDN_NOT_ELIGIBLE",e.InsuranceImeiNotEligible="INSURANCE_IMEI_NOT_ELIGIBLE",e.InsuranceMsisdnChanged="INSURANCE_MSISDN_CHANGED",e.InsuranceOptionNotAvailableForAny="INSURANCE_OPTION_NOT_AVAILABLE_FOR_ANY",e.InsuranceOptionNotAvailableForTier="INSURANCE_OPTION_NOT_AVAILABLE_FOR_TIER",e.InsurancePendingOrActiveForImei="INSURANCE_PENDING_OR_ACTIVE_FOR_IMEI",e.InsurancePendingOrActiveForMsisdn="INSURANCE_PENDING_OR_ACTIVE_FOR_MSISDN",e.InsuredImeiTransactionNotAvailable="INSURED_IMEI_TRANSACTION_NOT_AVAILABLE",e.InsuredProductCategoryNotEligible="INSURED_PRODUCT_CATEGORY_NOT_ELIGIBLE",e.InsuredProductNotAvailable="INSURED_PRODUCT_NOT_AVAILABLE",e.InsuredProductOaCodeMismatch="INSURED_PRODUCT_OA_CODE_MISMATCH",e.InsuredProductPriceNotAvailable="INSURED_PRODUCT_PRICE_NOT_AVAILABLE",e.KeepSimPrepayCustomerSimCodeMissing="KEEP_SIM_PREPAY_CUSTOMER_SIM_CODE_MISSING",e.MaxCartQntyExceeded="MAX_CART_QNTY_EXCEEDED",e.MaxOrdersInProgressExceeded="MAX_ORDERS_IN_PROGRESS_EXCEEDED",e.MaxQntyExceeded="MAX_QNTY_EXCEEDED",e.MaxQntyExceededAfterMerge="MAX_QNTY_EXCEEDED_AFTER_MERGE",e.MaxSubscriptionAcquisitionExceeded="MAX_SUBSCRIPTION_ACQUISITION_EXCEEDED",e.MaxValueExceeded="MAX_VALUE_EXCEEDED",e.MissingContactPersonPhoneNumberFromShipping="MISSING_CONTACT_PERSON_PHONE_NUMBER_FROM_SHIPPING",e.MissingStreetNameFromShipping="MISSING_STREET_NAME_FROM_SHIPPING",e.MissingTeleWebInfo="MISSING_TELE_WEB_INFO",e.MissingUniqueIdBusiness="MISSING_UNIQUE_ID_BUSINESS",e.MissingUniqueIdPerson="MISSING_UNIQUE_ID_PERSON",e.MsisdnAcquisitionNotAvailableAny="MSISDN_ACQUISITION_NOT_AVAILABLE_ANY",e.MsisdnAcquisitionNotAvailableCurrent="MSISDN_ACQUISITION_NOT_AVAILABLE_CURRENT",e.MsisdnNotEligibleForPrepaidToPostpaid="MSISDN_NOT_ELIGIBLE_FOR_PREPAID_TO_POSTPAID",e.NoBudgetPoints="NO_BUDGET_POINTS",e.NoEligibleSubscribersExist="NO_ELIGIBLE_SUBSCRIBERS_EXIST",e.NotEligibleBudgetActiveOrders="NOT_ELIGIBLE_BUDGET_ACTIVE_ORDERS",e.NotEligibleInstallmentAmountBelowThreshold="NOT_ELIGIBLE_INSTALLMENT_AMOUNT_BELOW_THRESHOLD",e.NotEligibleLoyaltySimoFlagPresent="NOT_ELIGIBLE_LOYALTY_SIMO_FLAG_PRESENT",e.NotEligibleLoyaltySuspendedAccount="NOT_ELIGIBLE_LOYALTY_SUSPENDED_ACCOUNT",e.NotEligibleMaxInstallmentMonthlyValueAlreadyReached="NOT_ELIGIBLE_MAX_INSTALLMENT_MONTHLY_VALUE_ALREADY_REACHED",e.NotLoggedHasBusinessPackage="NOT_LOGGED_HAS_BUSINESS_PACKAGE",e.OtpGenerateMaxAttemptsReached="OTP_GENERATE_MAX_ATTEMPTS_REACHED",e.OtpValidationExpired="OTP_VALIDATION_EXPIRED",e.OtyAvailabilityDateNotReached="OTY_AVAILABILITY_DATE_NOT_REACHED",e.PortInOfiAriadnextCnpNotMatching="PORT_IN_OFI_ARIADNEXT_CNP_NOT_MATCHING",e.PortinNotEligible="PORTIN_NOT_ELIGIBLE",e.PriceChanged="PRICE_CHANGED",e.PriceChangedAfterBundleSubscriptionRemoved="PRICE_CHANGED_AFTER_BUNDLE_SUBSCRIPTION_REMOVED",e.PriceNotAvailable="PRICE_NOT_AVAILABLE",e.ProductEndOfLife="PRODUCT_END_OF_LIFE",e.ProductInstallmentsTermsInvalid="PRODUCT_INSTALLMENTS_TERMS_INVALID",e.ProductNotAvailableForBudgetAcq="PRODUCT_NOT_AVAILABLE_FOR_BUDGET_ACQ",e.ProductNotEligibleForLockers="PRODUCT_NOT_ELIGIBLE_FOR_LOCKERS",e.ProductOutOfStock="PRODUCT_OUT_OF_STOCK",e.ProductReservationFailure="PRODUCT_RESERVATION_FAILURE",e.SubscriberNotEligible="SUBSCRIBER_NOT_ELIGIBLE",e.SubscriptionAcquisitionNotAllowedForGuest="SUBSCRIPTION_ACQUISITION_NOT_ALLOWED_FOR_GUEST",e.SubscriptionAcquisitionNotAllowedForSuspendedUser="SUBSCRIPTION_ACQUISITION_NOT_ALLOWED_FOR_SUSPENDED_USER",e.SubscriptionAcquisitionNotAllowedForUser="SUBSCRIPTION_ACQUISITION_NOT_ALLOWED_FOR_USER",e.SubscriptionAcquisitionRequiredAdmin="SUBSCRIPTION_ACQUISITION_REQUIRED_ADMIN",e.SubscriptionAcquisitionUnknownUser="SUBSCRIPTION_ACQUISITION_UNKNOWN_USER",e.SuspendedSubscriptionNumber="SUSPENDED_SUBSCRIPTION_NUMBER",e.VoucherNotPermitted="VOUCHER_NOT_PERMITTED",e.VoucherPartiallyApplied="VOUCHER_PARTIALLY_APPLIED",e.VoucherSuccessfullyApplied="VOUCHER_SUCCESSFULLY_APPLIED",e.VoucherUsageFailure="VOUCHER_USAGE_FAILURE",e}(oe||{}),ne=function(e){return e.Acquisition="ACQUISITION",e.AcquisitionPortIn="ACQUISITION_PORT_IN",e.AcquisitionPrepayToPostpaid="ACQUISITION_PREPAY_TO_POSTPAID",e}(ne||{}),ie=function(e){return e.NonRo="NON_RO",e.Ro="RO",e}(ie||{}),se=function(e){return e.Approved="APPROVED",e.PendingApproval="PENDING_APPROVAL",e.Rejected="REJECTED",e}(se||{});var ce=function(e){return e.DirectMarketing="DIRECT_MARKETING",e.LocationConsent="LOCATION_CONSENT",e.MarketResearch="MARKET_RESEARCH",e.ServiceUsageConsent="SERVICE_USAGE_CONSENT",e.ThirdParty="THIRD_PARTY",e.TrafficConsent="TRAFFIC_CONSENT",e}(ce||{});var ae=function(e){return e.Basic="BASIC",e.Premium="PREMIUM",e}(ae||{}),ue=function(e){return e.NotApplied="NOT_APPLIED",e.Products="PRODUCTS",e.Services="SERVICES",e}(ue||{}),le=function(e){return e.Electronic="ELECTRONIC",e.Mail="MAIL",e}(le||{}),pe=function(e){return e.Permanent="PERMANENT",e.Temporary="TEMPORARY",e}(pe||{}),de=function(e){return e.Error="ERROR",e.Info="INFO",e.Success="SUCCESS",e.Warning="WARNING",e}(de||{});var me=function(e){return e.Cart="CART",e.Shipping="SHIPPING",e}(me||{}),O=function(e){return e.Company="COMPANY",e.Person="PERSON",e.Pfa="PFA",e}(O||{}),Ie=function(e){return e.TbiInstallments="TBI_INSTALLMENTS",e.TbiPromo="TBI_PROMO",e}(Ie||{}),Ae=function(e){return e.ByCard="BY_CARD",e.CashAtDelivery="CASH_AT_DELIVERY",e.Oney_3Xp="ONEY_3XP",e.Oney_4Xp="ONEY_4XP",e.Order="ORDER",e.Tbi="TBI",e}(Ae||{}),Re=function(e){return e.DigitalCableSystems="DIGITAL_CABLE_SYSTEMS",e.EnigmaSystemNet="ENIGMA_SYSTEM_NET",e.GoilServicesRomania="GOIL_SERVICES_ROMANIA",e.IristelRomania="IRISTEL_ROMANIA",e.LycaMobile="LYCA_MOBILE",e.OrangeRomaniaCommunications="ORANGE_ROMANIA_COMMUNICATIONS",e.RcsRds="RCS_RDS",e.TelekomRomaniaMobile="TELEKOM_ROMANIA_MOBILE",e.VeridianSystems="VERIDIAN_SYSTEMS",e.VodafoneRomania="VODAFONE_ROMANIA",e}(Re||{});var Se=function(e){return e.Postpaid="POSTPAID",e.Prepaid="PREPAID",e}(Se||{}),fe=function(e){return e.Firstxmonths="FIRSTXMONTHS",e.Life="LIFE",e.Somemonths="SOMEMONTHS",e}(fe||{}),ye=function(e){return e.Fix="FIX",e.Percentage="PERCENTAGE",e}(ye||{}),ge=function(e){return e.Physical="PHYSICAL",e.PpycardEsim="PPYCARD_ESIM",e}(ge||{}),Pe=function(e){return e.Physical="PHYSICAL",e.PpycardEsim="PPYCARD_ESIM",e}(Pe||{});var Ee=function(e){return e.ByCard="BY_CARD",e.CashAtDelivery="CASH_AT_DELIVERY",e.Oney_3Xp="ONEY_3XP",e.Oney_4Xp="ONEY_4XP",e.Order="ORDER",e.Tbi="TBI",e}(Ee||{}),R=function(e){return e.Customer="customer",e.FixedLocation="fixed_location",e.PickupInStore="pickup_in_store",e}(R||{}),xe=function(e){return e.Days="DAYS",e.Months="MONTHS",e.Years="YEARS",e}(xe||{}),he=function(e){return e.Fix="FIX",e.Percentage="PERCENTAGE",e}(he||{}),be=function(e){return e.Billing="BILLING",e.FiberInstallation="FIBER_INSTALLATION",e}(be||{}),_e=function(e){return e.Customer="customer",e.FixedLocation="fixed_location",e.PickupInStore="pickup_in_store",e}(_e||{}),De=function(e){return e.Esim="ESIM",e.KeepCurrent="KEEP_CURRENT",e.New="NEW",e}(De||{}),Ce=function(e){return e.Esim="ESIM",e.KeepCurrent="KEEP_CURRENT",e.New="NEW",e}(Ce||{}),Oe=function(e){return e.EndOfLife="END_OF_LIFE",e.InStock="IN_STOCK",e.OutOfStock="OUT_OF_STOCK",e.Preorder="PREORDER",e}(Oe||{});var Te=t`
fragment AnafBillingPartyResource on AnafBillingPartyResource {
type
name
uniqueId
phone
}
`,ve=t`
fragment AnafBillingAddressResource on AnafBillingAddressResource {
county
countyCode
locality
localityCode
street
streetNo
zipCode
}
`,B=t`
fragment CartAnalyticsSubResource on CartAnalyticsSubResource {
lastModifiedAt
totalItemsCount
subrAcquisitions {
msisdn
acq {
installment
type
}
}
totalDiscountAmount {
currency
value
}
totalPayNowAmount {
currency
value
}
}
`,Ne=t`
fragment PendingCartAnalyticsResource on PendingCartResource {
__typename
analytics {
...CartAnalyticsSubResource
}
}
${B}`,Fe=t`
fragment PendingCheckoutCartAnalyticsResource on PendingCheckoutCartResource {
__typename
analytics {
...CartAnalyticsSubResource
}
}
${B}`,T=t`
fragment Amount on AmountSubResource {
value
currency
}
`,$e=t`
fragment Promo on TbiPromoResource {
value
name
description
insuranceFee {
...Amount
}
administrationFee {
...Amount
}
min {
...Amount
}
max {
...Amount
}
}
${T}`,Le=t`
fragment Installment on SimulatedInstallmentResource {
promo
months
installment {
...Amount
}
totalAmount {
...Amount
}
}
${T}`,Me=t`
fragment TbiPromoInstallments on TbiSimulatedPromoInstallmentResource {
initialAmount {
...Amount
}
promo {
...Promo
}
installments {
...Installment
}
}
${T}
${$e}
${Le}`,Be=t`
fragment ScheduleItemResource on ScheduleItem {
day
openingHour
closingHour
dayOfWeek
}
`,Ue=t`
fragment SizeResource on Size {
height
width
length
}
`,Ge=t`
fragment RestrictionsResource on Restrictions {
parcelsCount
size {
...SizeResource
}
}
${Ue}`,v=t`
fragment FixedLocationResource on FixedLocation {
__typename
id
name
fixedLocationTypeId
serviceId
courierId
localityId
localityName
countyCode
countyName
countryCode
addressText
postalCode
lat
long
isActive
email
phone
supportedPaymentType
allowsDropOff
isFavorite
schedule {
...ScheduleItemResource
}
restrictions {
...RestrictionsResource
}
}
${Be}
${Ge}`,ke=t`
fragment CountyResource on County {
__typename
... on County {
id
name
}
}
`,we=t`
fragment LocalityResource on Locality {
__typename
... on Locality {
id
name
}
}
`,je=t`
fragment OperationResponse on OperationResponse {
__typename
message
}
`,Ve=t`
fragment EstimatedDeliveryDate on EstimatedDeliveryDateSubResource {
deliveryDate
deliveryDays
}
`,qe=t`
fragment EstimatedDeliveryDatesInterval on EstimatedDeliveryDatesIntervalSubResource {
min {
...EstimatedDeliveryDate
}
max {
...EstimatedDeliveryDate
}
}
${Ve}`,Ye=t`
fragment CountySubResource on CountySubResource {
id
mnemonic
name
type
}
`,Qe=t`
fragment LocalitySubResource on LocalitySubResource {
id
name
type
uniqueNameOnCounty
}
`,He=t`
fragment StreetTypeSubResource on StreetTypeSubResource {
articulate
selectable
shortName
type
}
`,We=t`
fragment StreetSubResource on StreetSubResource {
id
name
number
type
zipCode
streetType {
...StreetTypeSubResource
}
}
${He}`,b=t`
fragment AddressResource on AddressResource {
apartment
building
floor
id
staircase
xGeocode
yGeocode
zipCode
county {
...CountySubResource
}
locality {
...LocalitySubResource
}
street {
...StreetSubResource
}
}
${Ye}
${Qe}
${We}`,Xe=t`
fragment PartySubResource on PartySubResource {
name
type
uniqueId
}
`,Ke=t`
fragment BillingSubResource on BillingSubResource {
address {
...AddressResource
}
party {
...PartySubResource
}
}
${b}
${Xe}`,p=t`
fragment AmountSubResource on AmountSubResource {
currency
value
}
`,ze=t`
fragment BudgetPointsFragment on BudgetPointsSubResource {
totalBudgetPoints
availableBudgetPoints
consumedBudgetPoints {
...AmountSubResource
}
}
${p}`,Je=t`
fragment CartItemRefSubResource on CartItemRefSubResource {
itemId
itemName
}
`,g=t`
fragment NotificationSubResource on NotificationSubResource {
code
duration
id
level
page
text
visibility
recursiveApply
itemRef {
...CartItemRefSubResource
}
}
${Je}`,Ze=t`
fragment ConvergenceBonusSubResource on ConvergenceBonusSubResource {
applied
label
message
promoCode
convergenceBonusValueAmount {
...AmountSubResource
}
convergenceBonusValueAppliedAmount {
...AmountSubResource
}
notification {
...NotificationSubResource
}
}
${p}
${g}`,U=t`
fragment PriceDiscount on PriceDiscount {
offerName
percentageValue
periodMonths
periodType
type
fixValue {
...AmountSubResource
}
subDiscounts {
offerName
percentageValue
type
fixValue {
...AmountSubResource
}
}
}
${p}`,et=t`
fragment CartItemApplicableVoucherSubResource on CartItemApplicableVoucherSubResource {
code
discount {
...PriceDiscount
}
}
${U}`,tt=t`
fragment GiftDetailsSubResource on GiftDetailsSubResource {
specialOfferId
specialOfferName
}
`,rt=t`
fragment TermSubResource on TermSubResource {
unit
value
}
`,ot=t`
fragment CartInsuranceOptionItemPrice on InsuranceOptionItemPriceSubResource {
amount {
...AmountSubResource
}
}
${p}`,nt=t`
fragment CartInsuranceOptionItemSubResource on CartInsuranceOptionItemSubResource {
id
insuranceId
type
displayName
term {
...TermSubResource
}
noCost
priceNoVat {
...CartInsuranceOptionItemPrice
}
price {
...CartInsuranceOptionItemPrice
}
referenceAmount {
...CartInsuranceOptionItemPrice
}
discount {
...PriceDiscount
}
franchise
eligibleMsisdns
isUpgrade
upgradeCost {
...AmountSubResource
}
}
${rt}
${ot}
${U}
${p}`,G=t`
fragment CartItemPriceSubResource on CartItemPriceSubResource {
installment
discount {
offerName
percentageValue
type
fixValue {
currency
value
}
subDiscounts {
offerName
percentageValue
type
fixValue {
currency
value
}
}
}
referenceAmount {
currency
value
}
advanceAmount {
...AmountSubResource
}
advanceAmountNoOty {
...AmountSubResource
}
amount {
...AmountSubResource
}
amountNoOty {
...AmountSubResource
}
installmentAmount {
...AmountSubResource
}
installmentAmountNoOty {
...AmountSubResource
}
retailPrice {
...AmountSubResource
}
refCurrencyStandardPriceNoVat {
...AmountSubResource
}
}
${p}`,it=t`
fragment CartItemRelSubResource on CartItemRelSubResource {
desc
name
}
`,st=t`
fragment CartSubscriptionAcquisitionEligibilitySubResource on CartSubscriptionAcquisitionEligibilitySubResource {
acqType
message
status
}
`,ct=t`
fragment BaseOfferingSubResource on BaseOfferingSubResource {
brand
id
displayName
... on ProductOfferingSubResource {
capacity
code
color
slug
stockAvailability
productType
category {
id
name
}
}
... on ProductWithBudgetOfferingSubResource {
capacity
code
color
msisdn
slug
stockAvailability
productType
category {
id
name
}
}
... on ProductWithInstallmentOfferingSubResource {
code
slug
stockAvailability
capacity
productType
category {
id
name
}
installment {
periodMonths
recurrence
type
}
}
... on SubscriptionOfferingSubResource {
acq
msisdn
simOption
currentPackage {
code
name
}
portInDetails {
phoneNumber
type
operator
needOtpValidation
hasUploadedInvoiceOrSimDoc
uploadedInvoiceOrSimDocName
canEditDetails
membershipOrSimCode
}
term {
unit
value
}
acquisitionEligibilityList {
...CartSubscriptionAcquisitionEligibilitySubResource
}
}
... on InsuranceOfferingSubResource {
msisdn
brand
displayName
id
insuredProductDetails {
displayName
categoryId
imei
oaCode
standardPriceEur {
value
currency
}
}
term {
value
unit
}
}
... on FiberOfferingSubResource {
id
code
brand
displayName
subscriptionCodes
term {
value
unit
}
}
... on FiberOptionOfferingSubResource {
displayName
brand
id
thumbnail
}
}
${st}`,at=t`
fragment ImageSubResource on ImageSubResource {
tooltip
url
}
`,ut=t`
fragment ProductOfferingSubResource on ProductOfferingSubResource {
brand
capacity
category {
id
name
}
code
color
displayName
id
slug
stockAvailability
productType
}
`,lt=t`
fragment PromotionalProductItemSubResource on PromotionalProductItemSubResource {
price {
...CartItemPriceSubResource
}
product {
...ProductOfferingSubResource
}
thumbnail
isSelected
}
${G}
${ut}`,k=t`
fragment CartItemSubResource on CartItemSubResource {
actions
budgetPoints
id
maxQnty
qnty
applicableVouchers {
...CartItemApplicableVoucherSubResource
}
giftDetails {
...GiftDetailsSubResource
}
insuranceOptions {
...CartInsuranceOptionItemSubResource
}
notifications {
...NotificationSubResource
}
price {
...CartItemPriceSubResource
}
parentRel {
...CartItemRelSubResource
}
product {
...BaseOfferingSubResource
}
thumbnail {
...ImageSubResource
}
availablePromotionalProducts {
...PromotionalProductItemSubResource
}
items {
actions
budgetPoints
id
maxQnty
qnty
applicableVouchers {
...CartItemApplicableVoucherSubResource
}
giftDetails {
...GiftDetailsSubResource
}
insuranceOptions {
...CartInsuranceOptionItemSubResource
}
notifications {
...NotificationSubResource
}
parentRel {
...CartItemRelSubResource
}
price {
...CartItemPriceSubResource
}
product {
...BaseOfferingSubResource
}
thumbnail {
...ImageSubResource
}
items {
actions
budgetPoints
id
maxQnty
qnty
applicableVouchers {
...CartItemApplicableVoucherSubResource
}
giftDetails {
...GiftDetailsSubResource
}
insuranceOptions {
...CartInsuranceOptionItemSubResource
}
notifications {
...NotificationSubResource
}
parentRel {
...CartItemRelSubResource
}
price {
...CartItemPriceSubResource
}
product {
...BaseOfferingSubResource
}
thumbnail {
...ImageSubResource
}
}
}
}
${et}
${tt}
${nt}
${g}
${G}
${it}
${ct}
${at}
${lt}`,pt=t`
fragment CartLimitDiscriminatorSubResource on CartLimitDiscriminatorSubResource {
clientType
paymentMethod
shippingType
}
`,dt=t`
fragment CartLimitAllCurrenciesSubResource on CartLimitAllCurrenciesSubResource {
amounts {
...AmountSubResource
}
discriminator {
...CartLimitDiscriminatorSubResource
}
}
${p}
${pt}`,mt=t`
fragment NcaPhoneCreditSubResource on NcaPhoneCreditSubResource {
applied
applyType
message
initialAmount {
...AmountSubResource
}
appliedAmount {
...AmountSubResource
}
}
${p}`,It=t`
fragment NewCustomerDetailsSubResource on NewCustomerDetailsSubResource {
hasOCRConsent
isNCAFlow
msisdn
ariadnextProcess
ariadnextProcessErrorReason
needOtpValidation
userDetails {
birthDate
cnp
documentNumber
documentSeries
firstName
lastName
address {
...AddressResource
}
}
}
${b}`,At=t`
fragment OtySubResource on OtySubResource {
consumeThresholdPoints
maxPoints
totalPoints
consumeAmount {
...AmountSubResource
}
exchangeRates {
...AmountSubResource
}
maxAmount {
...AmountSubResource
}
remainingAmount {
...AmountSubResource
}
totalAmount {
...AmountSubResource
}
totalAllocatedAmount {
...AmountSubResource
}
}
${p}`,Rt=t`
fragment PaymentSubResource on PaymentSubResource {
isAvailable
methodType
shippingTypes
parameters {
key
value
}
}
`,St=t`
fragment ExchangeRateSubResource on ExchangeRateSubResource {
currency
value
}
`,ft=t`
fragment ExchangeRatesSubResource on ExchangeRatesSubResource {
base
rates {
...ExchangeRateSubResource
}
}
${St}`,w=t`
fragment ShippingPriceSubResource on ShippingPriceSubResource {
amount {
...AmountSubResource
}
amountTillFreeShipping {
...AmountSubResource
}
budgetAmount {
...AmountSubResource
}
}
${p}`,j=t`
fragment CartPriceSubTotalSubResource on CartPriceSubTotalSubResource {
adjustment
amount {
...AmountSubResource
}
}
${p}`,yt=t`
fragment CartPriceSubTotalsSubResource on CartPriceSubTotalsSubResource {
advance {
...CartPriceSubTotalSubResource
}
discounts {
...CartPriceSubTotalSubResource
}
productsDiscounts {
...CartPriceSubTotalSubResource
}
subscriptionsDiscounts {
...CartPriceSubTotalSubResource
}
offers {
...CartPriceSubTotalSubResource
}
oty {
...CartPriceSubTotalSubResource
}
products {
...CartPriceSubTotalSubResource
}
shipping {
...CartPriceSubTotalSubResource
}
vouchers {
...CartPriceSubTotalSubResource
}
fiberDiscounts {
...CartPriceSubTotalSubResource
}
}
${j}`,gt=t`
fragment CartPriceTotalSubResource on CartPriceTotalSubResource {
amount {
...AmountSubResource
}
amountWithoutDiscounts {
...AmountSubResource
}
subTotals {
...CartPriceSubTotalsSubResource
}
taxedAmount {
...AmountSubResource
}
vat {
...AmountSubResource
}
}
${p}
${yt}`,Pt=t`
fragment CartPriceMonthlySubTotalsSubResource on CartPriceMonthlySubTotalsSubResource {
insurance {
...CartPriceSubTotalSubResource
}
installment {
...CartPriceSubTotalSubResource
}
subscription {
...CartPriceSubTotalSubResource
}
fiber {
...CartPriceSubTotalSubResource
}
}
${j}`,Et=t`
fragment CartPriceMonthlyTotalSubResource on CartPriceMonthlyTotalSubResource {
amount {
...AmountSubResource
}
subTotals {
...CartPriceMonthlySubTotalsSubResource
}
taxedAmount {
...AmountSubResource
}
vat {
...AmountSubResource
}
}
${p}
${Pt}`,xt=t`
fragment ShippingPriceWithTypeSubResource on ShippingPriceWithTypeSubResource {
shippingType
shippingPrice {
...ShippingPriceSubResource
}
}
${w}`,ht=t`
fragment CartPriceSubResource on CartPriceSubResource {
exchgRates {
...ExchangeRatesSubResource
}
shipping {
...ShippingPriceSubResource
}
total {
...CartPriceTotalSubResource
}
totalMonthly {
...CartPriceMonthlyTotalSubResource
}
shippingPricesPerType {
...ShippingPriceWithTypeSubResource
}
}
${ft}
${w}
${gt}
${Et}
${xt}`,bt=t`
fragment ContactPersonSubResource on ContactPersonSubResource {
email
name
phone
}
`,_t=t`
fragment CartFixedLocationResource on FixedLocationResource {
id
name
fixedLocationTypeId
serviceId
courierId
localityId
localityName
countyCode
countyName
countryCode
addressText
postalCode
lat
long
isActive
email
phone
}
`,Dt=t`
fragment ShippingTypeSubResource on ShippingTypeSubResource {
selection
shopCode
fixedLocation {
...CartFixedLocationResource
}
}
${_t}`,Ct=t`
fragment ShippingSubResource on ShippingSubResource {
address {
...AddressResource
}
contactPerson {
...ContactPersonSubResource
}
shippingType {
...ShippingTypeSubResource
}
shippingAddressSourceSubResource
}
${b}
${bt}
${Dt}`,Ot=t`
fragment TelewebInfo on TelewebInfo {
callType
userType
}
`,Tt=t`
fragment VoucherPriceDiscount on PriceDiscount {
offerName
percentageValue
type
fixValue {
currency
value
}
}
`,vt=t`
fragment VoucherSubResource on VoucherSubResource {
code
message
expirationDate
description
appliedDiscount {
...AmountSubResource
}
notification {
...NotificationSubResource
}
voucherDiscount {
...VoucherPriceDiscount
}
}
${p}
${g}
${Tt}`,Nt=t`
fragment ContactEmailDetailsSubResource on ContactEmailDetailsSubResource {
__typename
contactEmail
emailValidated
}
`,P=t`
fragment CartResource on PendingCartResource {
__typename
actions
deliveryDate
estimatedDeliveryDate {
...EstimatedDeliveryDatesInterval
}
etag
isEligibleForLockers
supportedBillingPartyTypes
userAgreements {
insuranceTermsAgreed
isAbove16
hasPaymentCommitment
gdprConsents {
status
type
}
keepIdCard
}
billing {
...BillingSubResource
}
budgetPoints {
...BudgetPointsFragment
}
convergenceBonus {
...ConvergenceBonusSubResource
}
items {
...CartItemSubResource
}
limits {
...CartLimitAllCurrenciesSubResource
}
ncaPhoneCredit {
...NcaPhoneCreditSubResource
}
newCustomerDetails {
...NewCustomerDetailsSubResource
}
notifications {
...NotificationSubResource
}
oty {
...OtySubResource
}
payment {
...PaymentSubResource
}
supportedPaymentMethods {
...PaymentSubResource
}
phoneCredit {
...OtySubResource
}
price {
...CartPriceSubResource
}
shipping {
...ShippingSubResource
}
telewebInfo {
...TelewebInfo
}
vouchers {
...VoucherSubResource
}
contactEmailDetails {
...ContactEmailDetailsSubResource
}
installationAddress {
...AddressResource
}
}
${qe}
${Ke}
${ze}
${Ze}
${k}
${dt}
${mt}
${It}
${g}
${At}
${Rt}
${ht}
${Ct}
${Ot}
${vt}
${Nt}
${b}`,E=t`
fragment PendingCheckoutCartResource on PendingCheckoutCartResource {
__typename
items {
...CartItemSubResource
}
}
${k}`,S=t`
fragment EmptyCartResource on EmptyCartResource {
etag
notifications {
...NotificationSubResource
}
__typename
}
${g}`,V=t`
fragment SuccessCommandResultResource on SuccessCommandResultResource {
__typename
cart {
...CartResource
...PendingCheckoutCartResource
...EmptyCartResource
}
}
${P}
${E}
${S}`,Ft=t`
fragment ItemAddedCommandResultResource on ItemAddedCommandResultResource {
__typename
cart {
...CartResource
...PendingCheckoutCartResource
...EmptyCartResource
}
}
${P}
${E}
${S}`,Vt=t`
mutation AddFiberPromotionalProduct($id: Int!, $replaceTransaction: Boolean!, $returnCart: Boolean) {
addFiberPromotionalProduct(
input: {id: $id, replaceTransaction: $replaceTransaction, returnCart: $returnCart}
) {
...ItemAddedCommandResultResource
}
}
${Ft}`;var qt=t`
mutation AddProductWithPackage($productId: Int!, $subscr: AddSubscriptionSubResource!, $installment: AddInstallmentSubResource!, $replaceTransaction: Boolean, $specialOffer: SpecialOfferSubResource, $paymentMethod: SetPaymentMethodTypeSubResource, $parameters: [InputPaymentMethodParam]) {
addProductSubscriptionBundle(
input: {product: {id: $productId}, subscr: $subscr, installment: $installment, replaceTransaction: $replaceTransaction, specialOffer: $specialOffer}
paymentMethod: $paymentMethod
parameters: $parameters
) {
__typename
... on ItemAddedCommandResultResource {
itemId
}
}
}
`;var Yt=t`
mutation AddSimpleProductWithBudget($productId: Int!, $msisdn: String!, $replaceTransaction: Boolean) {
addSimpleProductWithBudget(
input: {product: {id: $productId}, msisdn: $msisdn, replaceTransaction: $replaceTransaction}
) {
__typename
... on ItemAddedCommandResultResource {
itemId
}
}
}
`;var Qt=t`
mutation AddSimpleProduct($productId: Int!, $replaceTransaction: Boolean, $paymentMethod: SetPaymentMethodTypeSubResource, $parameters: [InputPaymentMethodParam]) {
addSimpleProduct(
input: {id: $productId, replaceTransaction: $replaceTransaction}
paymentMethod: $paymentMethod
parameters: $parameters
) {
__typename
... on ItemAddedCommandResultResource {
itemId
}
}
}
`;var Ht=t`
mutation AddSubscription($msisdn: String!, $pkg: String!, $term: SetTermSubResource!, $acq: AddAcquisitionTypeSubResource!, $replaceTransaction: Boolean) {
addSubscription(
input: {subscr: {msisdn: $msisdn, pkg: $pkg, term: $term, acq: $acq}, replaceTransaction: $replaceTransaction}
) {
__typename
... on ItemAddedCommandResultResource {
itemId
}
}
}
`;var Wt=t`
mutation Checkout($preferWaitSec: Int, $additionalClmDetails: AdditionalClmInfoSubResource) {
checkout(
preferWaitSec: $preferWaitSec
additionalClmDetails: $additionalClmDetails
) {
__typename
... on Error {
code
}
... on OrderPlacedCommandResultResource {
orderId
isSimo
isNca
isQuickFlow
requiresPayment
uuid
isESim
isInsuranceRequest
accountCreationLink
etag
}
}
}
`;var Xt=t`
mutation ClearCart {
clearCart {
__typename
}
}
`;var Kt=t`
mutation SetContactEmail($email: String!) {
setContactEmail(email: $email) {
__typename
... on SuccessWithRedirectToCartCommandResultResource {
redirectToCart
}
}
}
`;var zt=t`
mutation ChangeContactEmail($email: String!) {
changeContactEmail(email: $email) {
__typename
}
}
`;var Jt=t`
mutation ApplyConvergenceBonus($convergenceBonus: ApplyConvergenceBonusResource!) {
applyConvergenceBonus(convergenceBonus: $convergenceBonus) {
__typename
}
}
`;var Zt=t`
mutation UnapplyConvergenceBonus {
unapplyConvergenceBonus {
__typename
}
}
`;var er=t`
mutation DismissNotifications($notifications: [ReadNotificationSubResource]!) {
readNotifications(input: $notifications) {
__typename
}
}
`;var tr=t`
query GetBillingAddressByCui($request: AnafValidationRequestResource!) {
getBillingAddressByCui(request: $request) {
status
party {
...AnafBillingPartyResource
}
address {
...AnafBillingAddressResource
}
}
}
${Te}
${ve}`;var rr=t`
query GetCart {
cartV2 {
...CartResource
...PendingCheckoutCartResource
...EmptyCartResource
}
}
${P}
${E}
${S}`;var or=t`
query GetCartAnalytics {
cartV2 {
...EmptyCartResource
...PendingCartAnalyticsResource
...PendingCheckoutCartAnalyticsResource
}
}
${S}
${Ne}
${Fe}`;var nr=t`
query GetTbiPromoInstallments($amount: Float!, $currency: SupportedCurrency!) {
getTbiPromoInstallments(
request: {amount: [{value: $amount, currency: $currency}]}
) {
...TbiPromoInstallments
}
}
${Me}`;var ir=t`
query GetUnofferedCart {
unofferedCart {
...CartResource
...PendingCheckoutCartResource
...EmptyCartResource
}
}
${P}
${E}
${S}`;var sr=t`
query GetUnofferedCartItemIds {
unofferedCart {
... on EmptyCartResource {
__typename
}
... on PendingCartResource {
__typename
items {
product {
id
}
}
}
... on PendingCheckoutCartResource {
__typename
items {
product {
id
}
}
}
}
}
`;var cr=t`
mutation AddInsuranceProduct($input: AddInsuranceProductSubResource!) {
addInsuranceProduct(input: $input) {
__typename
}
}
`;var ar=t`
mutation AddInsurance($input: AddInsuranceSubResource) {
addInsurance(input: $input) {
__typename
}
}
`;var ur=t`
mutation AddMultipleInsurance($input: AddMultipleInsuranceSubResource) {
addMultipleInsurance(input: $input) {
__typename
}
}
`;var lr=t`
mutation ChangeInsuranceMsisdn($itemId: String!, $newMsisdn: String!) {
changeInsuranceMsisdn(itemId: $itemId, newMsisdn: $newMsisdn) {
__typename
}
}
`;var pr=t`
mutation RemoveInsurance($input: RemoveInsuranceSubResource) {
removeInsurance(input: $input) {
__typename
}
}
`;var dr=t`
mutation UpgradeInsurance($input: UpgradeInsuranceSubResource) {
upgradeInsurance(input: $input) {
__typename
}
}
`;var mr=t`
query SearchFixedLocations($request: FixedLocationSearchRequestInput!) {
searchFixedLocations(request: $request) {
...FixedLocationResource
}
}
${v}`;var Ir=t`
query GetFixedLocation($id: Int!) {
getFixedLocation(id: $id) {
...FixedLocationResource
}
}
${v}`;var Ar=t`
query GetFavoriteOrLastUsedLocation {
getFavoriteOrLastUsedLocation {
...FixedLocationResource
}
}
${v}`;var Rr=t`
query GetCounties($countryCode: String) {
getCounties(countryCode: $countryCode) {
...CountyResource
}
}
${ke}`;var Sr=t`
query GetLocalities($countyId: Int) {
getLocalities(countyId: $countyId) {
...LocalityResource
}
}
${we}`;var fr=t`
mutation MarkAsFavorite($fixedLocationId: Int) {
markAsFavorite(fixedLocationId: $fixedLocationId) {
...OperationResponse
}
}
${je}`;var yr=t`
mutation ChangeMsisdn($changeMsisdn: ChangeMsisdnResource!) {
changeMsisdn(changeMsisdn: $changeMsisdn) {
__typename
}
}
`;var gr=t`
mutation UseNCAPhoneCredit($ncaPhoneCredit: UseNCAPhoneCreditResource!) {
useNCAPhoneCredit(ncaPhoneCredit: $ncaPhoneCredit) {
__typename
}
}
`;var Pr=t`
mutation GenerateNewAddressOTP {
generateNewAddressOTP {
__typename
... on OtpCodeGeneratedCommandResultResource {
msisdn
}
}
}
`;var Er=t`
mutation VerifyNewAddressOTP($code: String!, $forced: Boolean) {
verifyNewAddressOTP(code: $code, forced: $forced) {
__typename
}
}
`;var xr=t`
mutation GenerateNewClientAcquisitionOTP {
generateNewClientAcquisitionOTP {
__typename
}
}
`;var hr=t`
mutation UpdateCartSubscriptionType($itemId: String!, $cartSubscriptionType: CartSubscriptionType!) {
updateCartSubscriptionType(
itemId: $itemId
cartSubscriptionType: $cartSubscriptionType
) {
__typename
}
}
`;var br=t`
mutation UpdatePrePayCardType($itemId: String!, $productType: ProductType!) {
updatePrePayCardType(productType: $productType, itemId: $itemId) {
__typename
}
}
`;var _r=t`
mutation GetAriadnextLink {
getAriadnextLink {
__typename
... on RespShortLinkGenerated {
url
shortenedLink
status
}
... on RespShortLinkError {
status
code
reason
}
}
}
`;var Dr=t`
mutation GetAriadnextLinkOPNS($msisdn: String!) {
getAriadnextLinkOPNS(msisdn: $msisdn) {
__typename
... on AriadnextSuccessCommandResultResource {
status
}
... on RespShortLinkError {
status
code
reason
}
}
}
`;var Cr=t`
mutation GetAriadnextStatus {
getAriadnextStatus {
__typename
... on ResponseShortStatus {
status
reason
}
}
}
`;var Or=t`
mutation ResetAriadnextDetails {
resetAriadnextDetails {
__typename
}
}
`;var Tr=t`
mutation SetAriadnextProcess($status: String!, $reason: String) {
setAriadnextProcess(status: $status, reason: $reason) {
__typename
... on AriadnextSuccessCommandResultResource {
status
reason
}
}
}
`;var vr=t`
mutation SetNewClientAcquisitionAgreement($ncaAgreement: NewClientAcquisitionResource!) {
setNewClientAcquisitionAgreement(ncaAgreement: $ncaAgreement) {
__typename
}
}
`;var Nr=t`
mutation UpdateSimOption($itemId: String!, $simOption: SimOption!) {
updateSimOption(itemId: $itemId, simOption: $simOption) {
__typename
}
}
`;var Fr=t`
mutation VerifyNewClientAcquisitionOTP($code: String!) {
verifyNewClientAcquisitionOTP(code: $code) {
__typename
... on SuccessWithRedirectToCartCommandResultResource {
redirectToCart
}
}
}
`;var $r=t`
mutation UpdatePpy2PpdMsisdn($msisdn: String!) {
updatePpy2PpdMsisdn(msisdn: $msisdn) {
__typename
}
}
`;var Lr=t`
query GetEligiblePpyNumbers {
getEligiblePpyNumbers
}
`;var Mr=t`
mutation RemoveItemCart($itemId: String!, $returnCart: Boolean) {
removeItem(itemId: $itemId, returnCart: $returnCart) {
__typename
... on ItemRemovedCommandResultResource {
itemId
cart {
...CartResource
...PendingCheckoutCartResource
...EmptyCartResource
}
}
}
}
${P}
${E}
${S}`;var Br=t`
mutation DeleteBilling {
deleteBilling {
__typename
}
}
`;var Ur=t`
mutation SetBilling($billing: SetBillingResource!) {
setBilling(billing: $billing) {
__typename
}
}
`;var Gr=t`
mutation SetOtyConsumption($value: Float!, $unit: SetValueUnitSubResource!) {
setOtyConsumption(input: {value: $value, unit: $unit}) {
__typename
}
}
`;var kr=t`
mutation SetPayment($method: SetPaymentMethodTypeSubResource!, $parameters: [InputPaymentMethodParam]) {
setPayment(method: $method, parameters: $parameters) {
__typename
... on SuccessCommandResultResource {
etag
}
}
}
`;var wr=t`
mutation SetPhoneCreditConsumption($value: Float!, $unit: SetValueUnitSubResource!) {
setPhoneCreditConsumption(input: {value: $value, unit: $unit}) {
__typename
}
}
`;var jr=t`
mutation UpdatePortInDetails($type: PortInTypeResource!, $operator: OperatorTypeResource!, $membershipOrSimCode: String!) {
updatePortInDetails(
input: {type: $type, operator: $operator, membershipOrSimCode: $membershipOrSimCode}
) {
__typename
}
}
`;var Vr=t`
mutation GeneratePortInOTP {
generatePortInOTP {
__typename
}
}
`;var qr=t`
mutation VerifyPortInOTP($code: String!) {
verifyPortInOTP(code: $code) {
__typename
}
}
`;var Yr=t`
mutation UpdatePortInNumber($msisdn: String!) {
updatePortInNumber(msisdn: $msisdn) {
__typename
}
}
`;var Qr=t`
mutation DeleteShipping {
deleteShipping {
__typename
}
}
`;var Hr=t`
mutation SetShipping($shipping: SetShippingResource!) {
setShipping(shipping: $shipping) {
__typename
}
}
`;var Wr=t`
mutation SetTelewebInfo($teleweb: SetTelewebResource!) {
setTelewebInfo(input: $teleweb) {
__typename
}
}
`;var Xr=t`
mutation UpdateItemBudget($itemId: String!, $newBudget: Float!) {
updateItemBudget(itemId: $itemId, newBudget: $newBudget) {
__typename
... on PartialSuccessCommandResultResource {
errorMessage
}
}
}
`;var Kr=t`
mutation UpdateItemQnty($itemId: String!, $newQnty: Int!, $returnCart: Boolean) {
updateItemQnty(itemId: $itemId, newQnty: $newQnty, returnCart: $returnCart) {
__typename
...SuccessCommandResultResource
}
}
${V}`;var zr=t`
mutation UpdateFiberOptionItemQnty($itemId: String!, $newQnty: Int!, $returnCart: Boolean) {
updateFiberOptionItemQnty(
itemId: $itemId
newQnty: $newQnty
returnCart: $returnCart
) {
__typename
...SuccessCommandResultResource
}
}
${V}`;var Jr=t`
mutation UpdateProductInstallmentsTerms($term: SetTermSubResource!) {
updateProductInstallmentsTerms(input: $term) {
__typename
... on SuccessCommandResultResource {
etag
}
... on Error {
code
}
}
}
`;var Zr=t`
mutation SetUserAgreements($input: SetUserAgreementsResource!) {
setUserAgreements(input: $input) {
__typename
}
}
`;var eo=t`
mutation AddVoucher($voucher: AddVoucherResource!) {
addVoucher(voucher: $voucher) {
__typename
}
}
`;var to=t`
mutation DeleteVoucher($voucher: DeleteVoucherResource!) {
deleteVoucher(voucher: $voucher) {
__typename
}
}
`;var $t=function(e){return e.STRADA="Strad\u0103",e}($t||{}),f=function(e){return e.DELIVERY="shipping",e.BILLING="billing",e}(f||{}),Lt=function(e){return e.Person="PERSON",e}(Lt||{}),no=O;var co=a("[Delivery Address] Clear Address Relation",l()),q=a("[Delivery Address] Get Address Relation",e=>e),ao=a("[Delivery Address] Get Address Relation Success",e=>e),uo=a("[Delivery Address] Get Address Relation Error",e=>e),lo=a("[Delivery Address] Save Address Relation",l()),po=a("[Delivery Address] Save Address Relation Success",l()),mo=a("[Delivery Address] Save Address Relation Error",l()),Io=a("[Delivery Address] Delete Address Relation",l()),Ao=a("[Delivery Address] Delete Address Relation Success",l()),Ro=a("[Delivery Address] Delete Address Relation Error",l()),So=a("[Delivery Address] Set Selected Address in Cart",l()),fo=a("[Delivery Address] Set Selected Address",l()),yo=a("[Delivery Address] Set Selected Address Success",l()),go=a("[Delivery Address] Set Selected Address Error",l()),Po=a("[Delivery Address] Set Address Skeletons",l()),Eo=a("[Delivery Address] Set Address Shipping Type Selection",l()),xo=a("[Delivery Address] Get Billing Address by CUI",l()),ho=a("[Delivery Address] Get Billing Address by CUI Success",l()),bo=a("[Delivery Address] Get Billing Address by CUI Error",l()),_o=a("[Delivery Address] Set Contact Person Details",l());var N=function(e){return e.Cart="Co\u0219",e.PhoneNumber="Num\u0103r de telefon",e.PortInDetails="Date portare",e.AccountOrEmail="Cont sau e-mail",e.Scan="Scanare ID",e.TransportAndPayment="Livrare",e.EmailConfirmation="Confirmare email",e.OrderConfirmation="Confirmare",e}(N||{});function Y(e){return e.__typename==="PendingCartResource"}var Oo=e=>Y(e)?e?.items?.reduce((r,s)=>r+(s?.qnty??0),0)??0:0,Q=e=>Y(e)?!e?.items?.length:!0;var A=h("addressRelations");function F(e){return M({selector:A,action:()=>q({addressType:e}),shouldDispatch(r){return r[e].status===I.initial},map(r){return r[e]}})}function Bo(){return F(f.DELIVERY)}function Uo(){return F(f.BILLING)}function Go(e){return n(o({},F(e)),{map(r){let s=r[e];if(s?.list?.length)return s.list.find(({isSelected:y})=>y)||s.list[0]}})}var ko=c(A,e=>e.anafBilling?.data),wo=c(A,e=>e.anafBilling.status),jo=c(A,e=>e.anafBilling.data?.status),Vo=c(A,e=>e.anafBilling?.data?.party?.uniqueId),qo=c(A,e=>e.anafBilling?.request?.cui),H=e=>c(A,r=>{if(!e)return r[f.DELIVERY].shippingTypeSelection?r[f.DELIVERY].shippingTypeSelection:R.Customer});var d=h("cartState"),tn=c(d,e=>e.cartItemIds),i={selector:d,action:()=>L(),shouldDispatch:e=>e.status===I.initial},rn=n(o({},i),{map:e=>e.cart?.__typename==="PendingCartResource"&&e.cart?.notifications?e.cart?.notifications:[]}),on=n(o({},i),{map(e){return e.cart?.__typename==="PendingCartResource"&&e?.cart?.actions?.includes(u.CanImpersonate)}}),nn=n(o({},i),{map(e){return e.cart?.__typename==="PendingCartResource"&&e.cart?.actions?.includes(u.HasSimoOnlyPpy2Ppd)}}),sn=n(o({},i),{map(e){return e.cart?.__typename==="PendingCartResource"&&e.cart.actions.includes(u.HasPpy2PpdAcq)}}),cn=n(o({},i),{map:e=>e.status===I.loading}),an=n(o({},i),{map:e=>e.errors}),un=n(o({},i),{map:e=>e.itemsErrors}),ln=n(o({},i),{map:e=>e.updateItemBudgetErrors}),pn=n(o({},i),{map:e=>e.updateItemBudgetMessage}),dn=n(o({},i),{map:e=>e.networkError}),mn=n(o({},i),{map(e){if(e.cart?.__typename==="PendingCartResource")return e.cart}}),In=()=>n(o({},i),{map(e){return e.cart?.__typename==="PendingCartResource"||e.cart?.__typename==="PendingCheckoutCartResource"?e.cart.items.some(r=>r?.product?.__typename==="SubscriptionOfferingSubResource"&&r.product.acq===m.Acquisition||r?.product?.__typename==="SubscriptionOfferingSubResource"&&r.product.acq===m.Loyalty||r?.product?.__typename==="ProductWithInstallmentOfferingSubResource"&&r.items?.some(s=>s?.product?.__typename==="SubscriptionOfferingSubResource"&&s.product.acq===m.Acquisition||s?.product?.__typename==="SubscriptionOfferingSubResource"&&s.product.acq===m.Loyalty||s?.product?.__typename==="SubscriptionOfferingSubResource"||s?.product?.__typename==="ProductWithInstallmentOfferingSubResource")):!1}}),An=()=>n(o({},i),{map(e){return e.cart?.__typename==="PendingCartResource"||e.cart?.__typename==="PendingCheckoutCartResource"?e.cart.items.some(r=>r?.product?.__typename==="SubscriptionOfferingSubResource"&&r.product.acq===m.Acquisition||r?.product?.__typename==="SubscriptionOfferingSubResource"&&r.product.acq===m.AcquisitionPrepayToPostpaid||r?.product?.__typename==="SubscriptionOfferingSubResource"&&r.product.acq===m.AcquisitionPortIn)&&!(e.cart.items.some(r=>r?.product?.__typename==="ProductWithInstallmentOfferingSubResource")||e.cart.items.some(r=>r?.product?.__typename==="ProductOfferingSubResource")||e.cart.items.some(r=>r?.product?.__typename==="ProductWithBudgetOfferingSubResource")):!1}}),Rn=n(o({},i),{map(e){return e.cart?.__typename==="PendingCartResource"||e.cart?.__typename==="PendingCheckoutCartResource"?!!e.cart.items.find(r=>r?.product?.__typename==="ProductWithBudgetOfferingSubResource"?!1:!!r?.items?.find(s=>s?.product?.__typename==="SubscriptionOfferingSubResource"||s?.product?.__typename==="ProductWithInstallmentOfferingSubResource")):!1}}),Sn=e=>n(o({},i),{map(r){return r.cart?.__typename==="PendingCartResource"&&r?.cart?.actions?.includes(e)}}),fn=n(o({},i),{map(e){return e.cart?.__typename==="PendingCartResource"&&e?.cart?.actions?.includes(u.HasPpy2PpdAcq)}}),yn=n(o({},i),{map:e=>e.cart?Q(e.cart):!0}),gn=n(o({},i),{map:e=>e.status}),Pn=n(o({},i),{map:e=>e.showUseOtyMessage}),En=c(d,e=>e.refreshCartState),xn=n(o({},i),{map:e=>e.isShippingPriceLoading}),hn=n(o({},i),{map:e=>{let r;return e.cart?.__typename==="PendingCartResource"&&e.cart.price.exchgRates?.rates&&(r=e.cart.price.exchgRates.rates.find(s=>s?.currency===C.RON)?.value),r||null}}),bn=n(o({},i),{map:e=>e.cart?.__typename==="PendingCartResource"?e.cart.items.some(r=>r?.items&&r.items.length>0||r?.product?.__typename==="SubscriptionOfferingSubResource"):!1}),_n=n(o({},i),{map:e=>e.cart?.__typename==="EmptyCartResource"?0:e.cart?.items.length||1}),Dn=c(d,e=>e.setShippingStatus),Cn=c(d,e=>e.cart?.__typename==="PendingCartResource"&&e.cart.supportedBillingPartyTypes?e.cart.supportedBillingPartyTypes:[]),On=n(o({},i),{map(e){return e.cart?.__typename==="PendingCartResource"&&!!e.cart?.notifications?.some(r=>r?.code==="PORT_IN_OFI_ARIADNEXT_CNP_NOT_MATCHING")}}),Tn=n(o({},i),{map(e){return!!(e.cart?.__typename==="PendingCartResource"&&e.cart?.actions?.includes(u.HasSimoLoyOnly))}}),vn=n(o({},i),{map(e){return!!(e.cart?.__typename==="PendingCartResource"&&e.cart?.actions?.includes(u.HasInsuranceOnly))}}),Nn=n(o({},i),{map(e){return e.cart?.__typename==="PendingCartResource"&&(e.cart?.actions?.includes(u.IsFastOrder)||e.cart?.actions?.includes(u.HasInsuranceOnly))}}),Fn=n(o({},i),{map(e){return e.cart?.__typename==="PendingCartResource"&&e.cart.actions?.includes(u.IsShortFlow)}}),$n=n(o({},i),{map(e){return e.cart?.__typename==="PendingCartResource"&&e.cart.estimatedDeliveryDate?e.cart.estimatedDeliveryDate:null}}),Ln=n(o({},i),{map(e){return e.cart?.__typename==="PendingCartResource"&&e.voucher?e.voucher:null}}),Mn=n(o({},i),{map(e){return e.cart?.__typename==="PendingCartResource"&&e.cart?.contactEmailDetails?.emailValidated===!1||e.keepConfirmationStepVisible}}),Bn=n(o({},i),{map(e){return e.cart?.__typename==="PendingCartResource"&&e.cart?.contactEmailDetails?.emailValidated===!1}}),Un=n(o({},i),{map(e){if(e.cart?.__typename==="PendingCartResource")return e.cart.contactEmailDetails}}),Gn=c(d,e=>e.additionalClmInfo),Mt=c(d,e=>e.status===I.loading||e.setShippingStatus===I.loading),Bt=c(d,e=>!e.checkout&&!e.checkoutErrors?e.status===I.loading:!e.checkoutErrors),Ut=c(d,e=>e.checkout?.additionalDetails?.isRedirectToTBIFlowPending),Gt=e=>c(d,Bt,Ut,H(!!e.isFastOrder),(r,s,y,x)=>{let _=r.cart?.__typename==="PendingCartResource"&&!!r.cart?.newCustomerDetails?.isNCAFlow,D=r.cart?.__typename==="PendingCartResource"&&r.cart.actions.includes(u.IsESimPrePayFlow),$=r.cart?.__typename==="PendingCartResource"&&!!r.agreement.notificationChannel;return s||y||e.orderSteps?.findNodeByLabel(N.TransportAndPayment)?.value?.errors?.length||e.billingAddressFormIsVisible||e.deliveryAddressFormIsVisible?!0:x===R.FixedLocation?!e.isEditMode:x===R.Customer&&!D?e.deliveryAddressFormIsVisible:e.isEligibleForNotificationChannel&&!_&&!D&&!$}),kt=c(d,e=>e.cart?.__typename==="PendingCartResource"&&e.cart.actions.includes(u.RequiresAdditionalClmBillingInfo)?!!e.additionalClmInfo?.valid:!0),W=c(d,e=>{if(e.cart?.__typename==="PendingCartResource")return e.cart.actions}),X=c(W,e=>{if(!e)return;let r=[u.IsFastOrder,u.HasSimoLoyOnly,u.IsESimPrePayFlow];return!e.find(s=>s&&r.includes(s))}),kn=c(W,X,(e,r)=>{if(e)return r&&e.includes(u.IsShortFlow)||r&&e.includes(u.HasInsuranceOnly)?!1:r}),wn=e=>c(d,Gt(e),kt,Mt,X,(r,s,y,x,_)=>{let D=r.cart?.__typename==="PendingCartResource"&&r.cart.actions?.includes(u.IsESimPrePayFlow);return r.cart?.__typename==="PendingCartResource"&&r.cart.items.some(K=>K?.product?.__typename==="FiberOfferingSubResource")&&!e.fiberContactPersonPersonCompleted||_&&!e.deliveryInformationCompleted?!0:s||!y||x});export{Oo as a,z as b,m as c,J as d,Z as e,ee as f,te as g,u as h,re as i,oe as j,ne as k,ie as l,se as m,ce as n,ae as o,ue as p,le as q,pe as r,de as s,me as t,O as u,Ie as v,Ae as w,Re as x,Se as y,fe as z,ye as A,ge as B,Pe as C,Ee as D,R as E,xe as F,he as G,be as H,_e as I,De as J,Ce as K,Oe as L,Vt as M,qt as N,Yt as O,Qt as P,Ht as Q,Wt as R,Xt as S,Kt as T,zt as U,Jt as V,Zt as W,er as X,tr as Y,rr as Z,or as _,nr as $,sr as aa,cr as ba,ar as ca,ur as da,lr as ea,pr as fa,dr as ga,mr as ha,Ar as ia,Rr as ja,Sr as ka,fr as la,yr as ma,gr as na,Pr as oa,Er as pa,xr as qa,hr as ra,br as sa,_r as ta,Dr as ua,Cr as va,Tr as wa,vr as xa,Nr as ya,Fr as za,$r as Aa,Lr as Ba,Mr as Ca,Br as Da,Ur as Ea,Gr as Fa,kr as Ga,wr as Ha,jr as Ia,Vr as Ja,qr as Ka,Yr as La,Qr as Ma,Hr as Na,Wr as Oa,Xr as Pa,Kr as Qa,zr as Ra,Jr as Sa,Zr as Ta,eo as Ua,to as Va,$t as Wa,f as Xa,Lt as Ya,no as Za,co as _a,q as $a,ao as ab,uo as bb,lo as cb,po as db,mo as eb,Io as fb,Ao as gb,Ro as hb,So as ib,fo as jb,yo as kb,go as lb,Po as mb,Eo as nb,xo as ob,ho as pb,bo as qb,_o as rb,F as sb,Bo as tb,Uo as ub,Go as vb,ko as wb,wo as xb,jo as yb,qo as zb,H as Ab,N as Bb,d as Cb,tn as Db,i as Eb,rn as Fb,on as Gb,nn as Hb,sn as Ib,cn as Jb,an as Kb,ln as Lb,pn as Mb,dn as Nb,mn as Ob,In as Pb,An as Qb,Rn as Rb,Sn as Sb,fn as Tb,yn as Ub,gn as Vb,En as Wb,xn as Xb,hn as Yb,bn as Zb,Dn as _b,Cn as $b,On as ac,Tn as bc,vn as cc,Nn as dc,Fn as ec,$n as fc,Ln as gc,Mn as hc,Bn as ic,Un as jc,Gn as kc,Gt as lc,X as mc,kn as nc,wn as oc};