wetaca-cli 0.0.0-stage → 0.2.1
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/LICENSE +21 -0
- package/README.md +93 -2
- package/bin/wetaca.js +248 -0
- package/docs/GUIA.md +118 -0
- package/docs/agent-guide.md +71 -0
- package/docs/api-operations/wetaca_bundle__Doc0.graphql +40 -0
- package/docs/api-operations/wetaca_bundle__Doc1.graphql +14 -0
- package/docs/api-operations/wetaca_bundle__Doc10.graphql +45 -0
- package/docs/api-operations/wetaca_bundle__Doc11.graphql +9 -0
- package/docs/api-operations/wetaca_bundle__Doc2.graphql +7 -0
- package/docs/api-operations/wetaca_bundle__Doc3.graphql +39 -0
- package/docs/api-operations/wetaca_bundle__Doc4.graphql +36 -0
- package/docs/api-operations/wetaca_bundle__Doc5.graphql +40 -0
- package/docs/api-operations/wetaca_bundle__Doc6.graphql +33 -0
- package/docs/api-operations/wetaca_bundle__Doc7.graphql +48 -0
- package/docs/api-operations/wetaca_bundle__Doc8.graphql +92 -0
- package/docs/api-operations/wetaca_bundle__Doc9.graphql +95 -0
- package/docs/api-operations/wetaca_bundle__SaveWeeklySurveyStep.graphql +3 -0
- package/docs/api-operations/wetaca_bundle__StartWeeklySurvey.graphql +33 -0
- package/docs/api-operations/wetaca_bundle__SubmitWeeklySurvey.graphql +16 -0
- package/docs/api-operations/wetaca_bundle__SubscriptionDeliveryChangePriceQueryV2.graphql +5 -0
- package/docs/api-operations/wetaca_bundle__SuggestionDeliveryChangePriceQueryV2.graphql +5 -0
- package/docs/api-operations/wetaca_bundle__activateSubscriptionAccount.graphql +45 -0
- package/docs/api-operations/wetaca_bundle__activeReferredReward.graphql +3 -0
- package/docs/api-operations/wetaca_bundle__addProductsToProfileWhitelist.graphql +9 -0
- package/docs/api-operations/wetaca_bundle__addProductsToSubscriptionProfileBlacklist.graphql +9 -0
- package/docs/api-operations/wetaca_bundle__addProfileToSubscriptionAccount.graphql +56 -0
- package/docs/api-operations/wetaca_bundle__addRecurrenceVoucherToCustomer.graphql +23 -0
- package/docs/api-operations/wetaca_bundle__addSubscriptionProfileSuggestionOverwrites.graphql +9 -0
- package/docs/api-operations/wetaca_bundle__addresses.graphql +17 -0
- package/docs/api-operations/wetaca_bundle__addressesInManager.graphql +17 -0
- package/docs/api-operations/wetaca_bundle__allRecommenderIngredients.graphql +6 -0
- package/docs/api-operations/wetaca_bundle__appendNewPaymentSubscriptionMethod.graphql +8 -0
- package/docs/api-operations/wetaca_bundle__applyOrderVoucher.graphql +33 -0
- package/docs/api-operations/wetaca_bundle__articleQuery.graphql +22 -0
- package/docs/api-operations/wetaca_bundle__articlesByCategoryQuery.graphql +13 -0
- package/docs/api-operations/wetaca_bundle__assignNextSuggestionVoucher.graphql +9 -0
- package/docs/api-operations/wetaca_bundle__authorizePaypalTokenGenerationPaymentIntention.graphql +7 -0
- package/docs/api-operations/wetaca_bundle__authorizeRedsysAppApplePayPayment.graphql +16 -0
- package/docs/api-operations/wetaca_bundle__authorizeRedsysAppGooglePayPayment.graphql +16 -0
- package/docs/api-operations/wetaca_bundle__authorizeRedsysApplePayPayment.graphql +16 -0
- package/docs/api-operations/wetaca_bundle__authorizeRedsysGooglePayPayment.graphql +16 -0
- package/docs/api-operations/wetaca_bundle__authorizeRedsysPaymentIntention.graphql +17 -0
- package/docs/api-operations/wetaca_bundle__bypassSMSValidationConfigQuery.graphql +5 -0
- package/docs/api-operations/wetaca_bundle__calculateNextProfileSuggestions.graphql +31 -0
- package/docs/api-operations/wetaca_bundle__cancelConfirmedOrder.graphql +6 -0
- package/docs/api-operations/wetaca_bundle__cancelSubscriptionAccount.graphql +45 -0
- package/docs/api-operations/wetaca_bundle__categoriesQuery.graphql +15 -0
- package/docs/api-operations/wetaca_bundle__changeOptionsQuery.graphql +21 -0
- package/docs/api-operations/wetaca_bundle__changeOrderDelivery.graphql +27 -0
- package/docs/api-operations/wetaca_bundle__changePasswordInProfile.graphql +3 -0
- package/docs/api-operations/wetaca_bundle__changeSubscriptionOptInMode.graphql +5 -0
- package/docs/api-operations/wetaca_bundle__changeSubscriptionPaymentPaymentMethodsEdit.graphql +8 -0
- package/docs/api-operations/wetaca_bundle__computeConfirmedOrderModificationPriceSummary.graphql +7 -0
- package/docs/api-operations/wetaca_bundle__confirmDeliveryReschedule.graphql +6 -0
- package/docs/api-operations/wetaca_bundle__confirmedOrderEditContext.graphql +95 -0
- package/docs/api-operations/wetaca_bundle__currentRecurrenceVouchers.graphql +23 -0
- package/docs/api-operations/wetaca_bundle__customer.graphql +11 -0
- package/docs/api-operations/wetaca_bundle__customerBillingAddresses.graphql +18 -0
- package/docs/api-operations/wetaca_bundle__customerFF.graphql +7 -0
- package/docs/api-operations/wetaca_bundle__customerFeatureFlagBySlug.graphql +7 -0
- package/docs/api-operations/wetaca_bundle__customerFeatureFlagForAnalytics.graphql +8 -0
- package/docs/api-operations/wetaca_bundle__customerHasReferralVouchers.graphql +11 -0
- package/docs/api-operations/wetaca_bundle__customerPaymentMethods.graphql +23 -0
- package/docs/api-operations/wetaca_bundle__customerVouchers.graphql +224 -0
- package/docs/api-operations/wetaca_bundle__customerWalletScheduledDeposits.graphql +15 -0
- package/docs/api-operations/wetaca_bundle__customerWithSegment.graphql +61 -0
- package/docs/api-operations/wetaca_bundle__deleteCustomerAccount.graphql +3 -0
- package/docs/api-operations/wetaca_bundle__deleteCustomerScheduledDeposit.graphql +3 -0
- package/docs/api-operations/wetaca_bundle__deliveryOptionsByZipcode.graphql +27 -0
- package/docs/api-operations/wetaca_bundle__deliveryRescheduleWithAvailability.graphql +53 -0
- package/docs/api-operations/wetaca_bundle__dish.graphql +39 -0
- package/docs/api-operations/wetaca_bundle__editAccountBillingAddress.graphql +5 -0
- package/docs/api-operations/wetaca_bundle__editDeliveryAccountInfo.graphql +5 -0
- package/docs/api-operations/wetaca_bundle__editProfileSuggestionMenu.graphql +9 -0
- package/docs/api-operations/wetaca_bundle__editSubscriptionDelivery.graphql +5 -0
- package/docs/api-operations/wetaca_bundle__editSubscriptionProfileAllergens.graphql +56 -0
- package/docs/api-operations/wetaca_bundle__editSubscriptionProfileDislikes.graphql +56 -0
- package/docs/api-operations/wetaca_bundle__editSubscriptionProfileMenu.graphql +56 -0
- package/docs/api-operations/wetaca_bundle__editSubscriptionProfileMenuAndNutrition.graphql +56 -0
- package/docs/api-operations/wetaca_bundle__editSubscriptionProfileSpicy.graphql +56 -0
- package/docs/api-operations/wetaca_bundle__editSubscriptionTastesProfile.graphql +38 -0
- package/docs/api-operations/wetaca_bundle__editSuggestionDelivery.graphql +5 -0
- package/docs/api-operations/wetaca_bundle__featuredArticlesQuery.graphql +16 -0
- package/docs/api-operations/wetaca_bundle__getChargingSuggestionMetadata.graphql +6 -0
- package/docs/api-operations/wetaca_bundle__getDeliveryConfigurationMaxQuantities.graphql +5 -0
- package/docs/api-operations/wetaca_bundle__getDeliveryConfigurationProductAvailability.graphql +13 -0
- package/docs/api-operations/wetaca_bundle__getDeliveryConfigurationProductAvailabilityWithExceptions.graphql +28 -0
- package/docs/api-operations/wetaca_bundle__getSubscriptionAccountDeliveryConfigurationProductAvailability.graphql +38 -0
- package/docs/api-operations/wetaca_bundle__getUseGoogleSocialLoginInIosAppConfiguration.graphql +3 -0
- package/docs/api-operations/wetaca_bundle__getWeeklySurveyConfig.graphql +7 -0
- package/docs/api-operations/wetaca_bundle__giftCardsConfiguration.graphql +6 -0
- package/docs/api-operations/wetaca_bundle__globalConfigurations.graphql +10 -0
- package/docs/api-operations/wetaca_bundle__initNewRedsysPaymentIntention.graphql +10 -0
- package/docs/api-operations/wetaca_bundle__initPaypalTokenGenerationPaymentIntention.graphql +7 -0
- package/docs/api-operations/wetaca_bundle__initializePaymentProcessEvent.graphql +3 -0
- package/docs/api-operations/wetaca_bundle__isNextSuggestionSkiped.graphql +6 -0
- package/docs/api-operations/wetaca_bundle__landingTemplateCollectionQuery.graphql +157 -0
- package/docs/api-operations/wetaca_bundle__landingTemplateFloatingBarQuery.graphql +8 -0
- package/docs/api-operations/wetaca_bundle__lastUsedOrderOptions.graphql +34 -0
- package/docs/api-operations/wetaca_bundle__linkGoogleAccountByPassword.graphql +3 -0
- package/docs/api-operations/wetaca_bundle__linkGoogleAccountBySMS.graphql +3 -0
- package/docs/api-operations/wetaca_bundle__linkGoogleAccountPhone.graphql +3 -0
- package/docs/api-operations/wetaca_bundle__linkPhoneNumberToAccount.graphql +3 -0
- package/docs/api-operations/wetaca_bundle__markSuggestionAsViewedInEditableState.graphql +3 -0
- package/docs/api-operations/wetaca_bundle__menuProductIds.graphql +8 -0
- package/docs/api-operations/wetaca_bundle__modifyConfirmedOrderProducts.graphql +7 -0
- package/docs/api-operations/wetaca_bundle__mostRecentZipCode.graphql +9 -0
- package/docs/api-operations/wetaca_bundle__myDetailsAccountWithProfiles.graphql +506 -0
- package/docs/api-operations/wetaca_bundle__newBlogLeadMutation.graphql +3 -0
- package/docs/api-operations/wetaca_bundle__nextDeliveries.graphql +190 -0
- package/docs/api-operations/wetaca_bundle__nextSubscriptionStartOfChargeTimeQuery.graphql +5 -0
- package/docs/api-operations/wetaca_bundle__nextSuggestion.graphql +231 -0
- package/docs/api-operations/wetaca_bundle__nextSuggestionAddVoucherPage.graphql +5 -0
- package/docs/api-operations/wetaca_bundle__nextSuggestionIdAndVoucher.graphql +8 -0
- package/docs/api-operations/wetaca_bundle__nextSuggestionVoucherAndPrice.graphql +10 -0
- package/docs/api-operations/wetaca_bundle__orderDetails.graphql +124 -0
- package/docs/api-operations/wetaca_bundle__pauseProfile.graphql +56 -0
- package/docs/api-operations/wetaca_bundle__pauseResumeProfile.graphql +56 -0
- package/docs/api-operations/wetaca_bundle__pauseSubscriptionQuery.graphql +17 -0
- package/docs/api-operations/wetaca_bundle__pauseSuggestion.graphql +6 -0
- package/docs/api-operations/wetaca_bundle__pauseSuggestionProfile.graphql +6 -0
- package/docs/api-operations/wetaca_bundle__paySubscriptionPendingOrderWithPaymentMethod.graphql +6 -0
- package/docs/api-operations/wetaca_bundle__payTransactionalOrder.graphql +39 -0
- package/docs/api-operations/wetaca_bundle__pendingDeliveryOrders.graphql +473 -0
- package/docs/api-operations/wetaca_bundle__pendingPaymentOrderById.graphql +63 -0
- package/docs/api-operations/wetaca_bundle__pendingTransactionalDeliveryOrders.graphql +80 -0
- package/docs/api-operations/wetaca_bundle__previousDeliveries.graphql +33 -0
- package/docs/api-operations/wetaca_bundle__profileHasEditTastes.graphql +3 -0
- package/docs/api-operations/wetaca_bundle__profileSuggestionBySuggestionId.graphql +190 -0
- package/docs/api-operations/wetaca_bundle__profileSuggestionWithProfileById.graphql +142 -0
- package/docs/api-operations/wetaca_bundle__purchaseGiftCard.graphql +10 -0
- package/docs/api-operations/wetaca_bundle__rechargeCustomerWalletWithPaymentMethod.graphql +6 -0
- package/docs/api-operations/wetaca_bundle__recommendedArticlesQuery.graphql +20 -0
- package/docs/api-operations/wetaca_bundle__recommenderIngredientsByNames.graphql +6 -0
- package/docs/api-operations/wetaca_bundle__recoverPassword.graphql +3 -0
- package/docs/api-operations/wetaca_bundle__recurrenceNextAssociatedVoucher.graphql +23 -0
- package/docs/api-operations/wetaca_bundle__redeemGiftCard.graphql +6 -0
- package/docs/api-operations/wetaca_bundle__referralConfig.graphql +61 -0
- package/docs/api-operations/wetaca_bundle__registerLogout.graphql +3 -0
- package/docs/api-operations/wetaca_bundle__registerPaymentProcessEvent.graphql +3 -0
- package/docs/api-operations/wetaca_bundle__removeAddress.graphql +5 -0
- package/docs/api-operations/wetaca_bundle__removeAddressInManager.graphql +5 -0
- package/docs/api-operations/wetaca_bundle__removeCreditCard.graphql +3 -0
- package/docs/api-operations/wetaca_bundle__removeCustomerBillingAddress.graphql +3 -0
- package/docs/api-operations/wetaca_bundle__removeProfileWithSuggestions.graphql +3 -0
- package/docs/api-operations/wetaca_bundle__requestDeliveryRescheduleSupport.graphql +6 -0
- package/docs/api-operations/wetaca_bundle__resetPassword.graphql +3 -0
- package/docs/api-operations/wetaca_bundle__resumeSuggestion.graphql +6 -0
- package/docs/api-operations/wetaca_bundle__resumeSuggestionProfile.graphql +6 -0
- package/docs/api-operations/wetaca_bundle__salesPlanCategory.graphql +5 -0
- package/docs/api-operations/wetaca_bundle__saveAddress.graphql +13 -0
- package/docs/api-operations/wetaca_bundle__saveCustomerBillingAddress.graphql +5 -0
- package/docs/api-operations/wetaca_bundle__saveSubscriptionShoppingCart.graphql +5 -0
- package/docs/api-operations/wetaca_bundle__scheduleNewCustomerWalletRecharges.graphql +3 -0
- package/docs/api-operations/wetaca_bundle__segmentBySlug.graphql +75 -0
- package/docs/api-operations/wetaca_bundle__segmentMenu.graphql +89 -0
- package/docs/api-operations/wetaca_bundle__sessionTokenByPassword.graphql +7 -0
- package/docs/api-operations/wetaca_bundle__sessionTokenBySms.graphql +3 -0
- package/docs/api-operations/wetaca_bundle__setPasswordInProfile.graphql +3 -0
- package/docs/api-operations/wetaca_bundle__shoppingCart.graphql +18 -0
- package/docs/api-operations/wetaca_bundle__signUp.graphql +3 -0
- package/docs/api-operations/wetaca_bundle__signUpWithGoogle.graphql +15 -0
- package/docs/api-operations/wetaca_bundle__someProfileHasEditTastes.graphql +3 -0
- package/docs/api-operations/wetaca_bundle__subscribeCustomer.graphql +11 -0
- package/docs/api-operations/wetaca_bundle__subscribeToReactivationUrlVoucher.graphql +5 -0
- package/docs/api-operations/wetaca_bundle__subscribeToVoucherAddVoucherPage.graphql +6 -0
- package/docs/api-operations/wetaca_bundle__subscriberAccountStatus.graphql +8 -0
- package/docs/api-operations/wetaca_bundle__subscriptionAccountByCustomerWithPayments.graphql +10 -0
- package/docs/api-operations/wetaca_bundle__subscriptionAccountChangePricing.graphql +92 -0
- package/docs/api-operations/wetaca_bundle__subscriptionAccountIntentPricing.graphql +156 -0
- package/docs/api-operations/wetaca_bundle__subscriptionAccountIntentPricingForMenu.graphql +134 -0
- package/docs/api-operations/wetaca_bundle__subscriptionAccountIntentPricingFunnelCart.graphql +26 -0
- package/docs/api-operations/wetaca_bundle__subscriptionAccountIntentPricingVoucher.graphql +9 -0
- package/docs/api-operations/wetaca_bundle__subscriptionAccountProductsSubscriptionPricing.graphql +26 -0
- package/docs/api-operations/wetaca_bundle__subscriptionAvailability.graphql +3 -0
- package/docs/api-operations/wetaca_bundle__subscriptionIntentMenuProductsPricing.graphql +26 -0
- package/docs/api-operations/wetaca_bundle__subscriptionMenuWithWelcomeVoucherQuery.graphql +66 -0
- package/docs/api-operations/wetaca_bundle__subscriptionSegmentMenu.graphql +48 -0
- package/docs/api-operations/wetaca_bundle__subscriptionVoucher.graphql +27 -0
- package/docs/api-operations/wetaca_bundle__subscriptionWelcomeVoucher.graphql +10 -0
- package/docs/api-operations/wetaca_bundle__suggestioMenuProductsPricing.graphql +26 -0
- package/docs/api-operations/wetaca_bundle__suggestionById.graphql +52 -0
- package/docs/api-operations/wetaca_bundle__suggestionByIdData.graphql +6 -0
- package/docs/api-operations/wetaca_bundle__suggestionChangePricing.graphql +122 -0
- package/docs/api-operations/wetaca_bundle__syncFeatureFlags.graphql +7 -0
- package/docs/api-operations/wetaca_bundle__tokenIsValid.graphql +3 -0
- package/docs/api-operations/wetaca_bundle__totalOrdersSummaryByCustomer.graphql +21 -0
- package/docs/api-operations/wetaca_bundle__trackInternalEvent.graphql +3 -0
- package/docs/api-operations/wetaca_bundle__trackInternalGEvent.graphql +3 -0
- package/docs/api-operations/wetaca_bundle__trackInternalLPEvent.graphql +3 -0
- package/docs/api-operations/wetaca_bundle__trackLoginInternalEvent.graphql +5 -0
- package/docs/api-operations/wetaca_bundle__transactionalSegmentMenu.graphql +47 -0
- package/docs/api-operations/wetaca_bundle__updateSubscriptionProfileCharacter.graphql +6 -0
- package/docs/api-operations/wetaca_bundle__updateSubscriptionProfileName.graphql +6 -0
- package/docs/api-operations/wetaca_bundle__updateUserProfile.graphql +10 -0
- package/docs/api-operations/wetaca_bundle__useCaptchaConfig.graphql +3 -0
- package/docs/api-operations/wetaca_bundle__userSessionSubscription.graphql +20 -0
- package/docs/api-operations/wetaca_bundle__validateSegment.graphql +19 -0
- package/docs/api-operations/wetaca_bundle__validateSubscriptionIntent.graphql +6 -0
- package/docs/api-operations/wetaca_bundle__voucherCustomDisplay.graphql +22 -0
- package/docs/api-operations/wetaca_bundle__walletBalance.graphql +3 -0
- package/docs/api-operations/wetaca_bundle__walletOperations.graphql +11 -0
- package/docs/cli-spec.md +113 -0
- package/package.json +42 -4
- package/src/commands.js +700 -0
- package/src/guide.js +73 -0
- package/src/lib.js +371 -0
- package/src/queries.js +235 -0
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
mutation editSubscriptionProfileSpicy($profileId: ModelId!, $spicyLevel: SpicyLevel!) {
|
|
2
|
+
editSubscriptionProfileSpicy(profileId: $profileId, spicyLevel: $spicyLevel) {
|
|
3
|
+
id
|
|
4
|
+
name
|
|
5
|
+
email
|
|
6
|
+
isActive
|
|
7
|
+
allergens {
|
|
8
|
+
id
|
|
9
|
+
name
|
|
10
|
+
}
|
|
11
|
+
otherAllergens
|
|
12
|
+
dislikes {
|
|
13
|
+
id
|
|
14
|
+
flavor
|
|
15
|
+
texture
|
|
16
|
+
name
|
|
17
|
+
}
|
|
18
|
+
otherDislikes {
|
|
19
|
+
name
|
|
20
|
+
flavor
|
|
21
|
+
texture
|
|
22
|
+
}
|
|
23
|
+
spicyLevel
|
|
24
|
+
diet
|
|
25
|
+
products {
|
|
26
|
+
id
|
|
27
|
+
name
|
|
28
|
+
slug
|
|
29
|
+
price
|
|
30
|
+
subscriptionPrice
|
|
31
|
+
category {
|
|
32
|
+
_id
|
|
33
|
+
slug
|
|
34
|
+
subscriptionPrice
|
|
35
|
+
}
|
|
36
|
+
quantity
|
|
37
|
+
tags
|
|
38
|
+
features
|
|
39
|
+
isPromoted
|
|
40
|
+
}
|
|
41
|
+
price
|
|
42
|
+
nutrition {
|
|
43
|
+
goal
|
|
44
|
+
preferences {
|
|
45
|
+
energy {
|
|
46
|
+
min
|
|
47
|
+
max
|
|
48
|
+
}
|
|
49
|
+
proteins
|
|
50
|
+
hydrates
|
|
51
|
+
fats
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
character
|
|
55
|
+
}
|
|
56
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
mutation editSubscriptionTastesProfile($profileId: ModelId!, $spicyLevel: SpicyLevel!, $allergensInput: SubscriptionProfileEditAllergensInputGraph!, $dislikesInput: SubscriptionProfileEditDislikesInputGraph!) {
|
|
2
|
+
spicyData: editSubscriptionProfileSpicy(profileId: $profileId, spicyLevel: $spicyLevel) {
|
|
3
|
+
id
|
|
4
|
+
name
|
|
5
|
+
email
|
|
6
|
+
isActive
|
|
7
|
+
spicyLevel
|
|
8
|
+
}
|
|
9
|
+
dislikesData: editSubscriptionProfileDislikes(profileId: $profileId, input: $dislikesInput) {
|
|
10
|
+
id
|
|
11
|
+
name
|
|
12
|
+
email
|
|
13
|
+
isActive
|
|
14
|
+
dislikes {
|
|
15
|
+
id
|
|
16
|
+
flavor
|
|
17
|
+
texture
|
|
18
|
+
name
|
|
19
|
+
}
|
|
20
|
+
otherDislikes {
|
|
21
|
+
name
|
|
22
|
+
flavor
|
|
23
|
+
texture
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
allergensData: editSubscriptionProfileAllergens(profileId: $profileId, input: $allergensInput) {
|
|
27
|
+
id
|
|
28
|
+
name
|
|
29
|
+
email
|
|
30
|
+
isActive
|
|
31
|
+
diet
|
|
32
|
+
allergens {
|
|
33
|
+
id
|
|
34
|
+
name
|
|
35
|
+
}
|
|
36
|
+
otherAllergens
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
query featuredArticlesQuery($limit: Int) {
|
|
2
|
+
articleCollection(limit: $limit, where: {featured: true}, order: sys_firstPublishedAt_DESC) {
|
|
3
|
+
total
|
|
4
|
+
items {
|
|
5
|
+
sys {
|
|
6
|
+
id
|
|
7
|
+
}
|
|
8
|
+
title
|
|
9
|
+
imageUrl
|
|
10
|
+
slug
|
|
11
|
+
sticker
|
|
12
|
+
stickerPos
|
|
13
|
+
excerpt
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
package/docs/api-operations/wetaca_bundle__getDeliveryConfigurationProductAvailability.graphql
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
query getDeliveryConfigurationProductAvailability($segmentId: ModelId!, $date: DateTime) {
|
|
2
|
+
getDeliveryConfigurationProductAvailability(segmentId: $segmentId, date: $date, isSubscriptionIntent: true) {
|
|
3
|
+
optionsWithRestrictions {
|
|
4
|
+
_id
|
|
5
|
+
id
|
|
6
|
+
maxQuantity
|
|
7
|
+
configurationDay
|
|
8
|
+
deliveryDateDay
|
|
9
|
+
start
|
|
10
|
+
end
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
query getDeliveryConfigurationProductAvailabilityWithExceptions($segmentId: ModelId!, $date: DateTime) {
|
|
2
|
+
getDeliveryConfigurationProductAvailability(segmentId: $segmentId, date: $date, isSubscriptionIntent: true) {
|
|
3
|
+
optionsWithRestrictions {
|
|
4
|
+
_id
|
|
5
|
+
id
|
|
6
|
+
maxQuantity
|
|
7
|
+
configurationDay
|
|
8
|
+
deliveryDateDay
|
|
9
|
+
start
|
|
10
|
+
end
|
|
11
|
+
configurationDate {
|
|
12
|
+
start
|
|
13
|
+
end
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
exceptions {
|
|
17
|
+
start
|
|
18
|
+
end
|
|
19
|
+
day
|
|
20
|
+
from {
|
|
21
|
+
year
|
|
22
|
+
month
|
|
23
|
+
dayOfMonth
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
maxTotalQuantityRestriction
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
query getSubscriptionAccountDeliveryConfigurationProductAvailability {
|
|
2
|
+
getSubscriptionAccountDeliveryConfigurationProductAvailability {
|
|
3
|
+
optionsWithRestrictions {
|
|
4
|
+
_id
|
|
5
|
+
id
|
|
6
|
+
maxQuantity
|
|
7
|
+
configurationDay
|
|
8
|
+
deliveryDateDay
|
|
9
|
+
start
|
|
10
|
+
end
|
|
11
|
+
configurationDate {
|
|
12
|
+
start
|
|
13
|
+
end
|
|
14
|
+
}
|
|
15
|
+
exception {
|
|
16
|
+
start
|
|
17
|
+
end
|
|
18
|
+
day
|
|
19
|
+
from {
|
|
20
|
+
year
|
|
21
|
+
month
|
|
22
|
+
dayOfMonth
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
exceptions {
|
|
27
|
+
day
|
|
28
|
+
start
|
|
29
|
+
end
|
|
30
|
+
from {
|
|
31
|
+
year
|
|
32
|
+
month
|
|
33
|
+
dayOfMonth
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
maxTotalQuantityRestriction
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
mutation initNewRedsysPaymentIntention($newPaymentIntentionRequest: SimplePaymentIntentionInput!, $paymentOperationId: String!) {
|
|
2
|
+
initNewRedsysPaymentIntention(newPaymentIntentionRequest: $newPaymentIntentionRequest, paymentOperationId: $paymentOperationId) {
|
|
3
|
+
paymentIntentionId
|
|
4
|
+
paymentIntentionSliceId
|
|
5
|
+
threeDSMethodURL
|
|
6
|
+
threeDSServerTransID
|
|
7
|
+
threeDSMethodNotificationURL
|
|
8
|
+
alreadyPlaced
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
mutation initPaypalTokenGenerationPaymentIntention($newPaymentIntentionRequest: SimplePaymentIntentionInput!, $redirectUrl: String!) {
|
|
2
|
+
initPaypalTokenGenerationPaymentIntention(newPaymentIntentionRequest: $newPaymentIntentionRequest, redirectUrl: $redirectUrl) {
|
|
3
|
+
paymentIntentionId
|
|
4
|
+
paymentIntentionSliceId
|
|
5
|
+
paypalInitTokenId
|
|
6
|
+
}
|
|
7
|
+
}
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
query landingTemplateCollectionQuery($slug: String!, $preview: Boolean!) {
|
|
2
|
+
landingTemplateCollection(where: {slug: $slug}, preview: $preview) {
|
|
3
|
+
items {
|
|
4
|
+
slug
|
|
5
|
+
floatingBar
|
|
6
|
+
contentCollection {
|
|
7
|
+
items {
|
|
8
|
+
... on Hero {
|
|
9
|
+
__typename
|
|
10
|
+
bgColor
|
|
11
|
+
image
|
|
12
|
+
imageS
|
|
13
|
+
title
|
|
14
|
+
subtitle
|
|
15
|
+
primarySticker
|
|
16
|
+
secondarySticker
|
|
17
|
+
}
|
|
18
|
+
... on HeroWide {
|
|
19
|
+
__typename
|
|
20
|
+
image
|
|
21
|
+
imageS
|
|
22
|
+
title
|
|
23
|
+
subtitle
|
|
24
|
+
bullets
|
|
25
|
+
greenText
|
|
26
|
+
primarySticker
|
|
27
|
+
secondarySticker
|
|
28
|
+
}
|
|
29
|
+
... on HeroWideDiscount {
|
|
30
|
+
__typename
|
|
31
|
+
image
|
|
32
|
+
imageS
|
|
33
|
+
bgColor
|
|
34
|
+
title
|
|
35
|
+
subtitle
|
|
36
|
+
greenText
|
|
37
|
+
primarySticker
|
|
38
|
+
secondarySticker
|
|
39
|
+
}
|
|
40
|
+
... on HeroWidePromo {
|
|
41
|
+
__typename
|
|
42
|
+
image
|
|
43
|
+
imageS
|
|
44
|
+
title
|
|
45
|
+
subtitle
|
|
46
|
+
greenText
|
|
47
|
+
primarySticker
|
|
48
|
+
}
|
|
49
|
+
... on HeroWideStretched {
|
|
50
|
+
__typename
|
|
51
|
+
image
|
|
52
|
+
imageS
|
|
53
|
+
title
|
|
54
|
+
subtitle
|
|
55
|
+
primarySticker
|
|
56
|
+
}
|
|
57
|
+
... on TitleA {
|
|
58
|
+
__typename
|
|
59
|
+
bgColor
|
|
60
|
+
title
|
|
61
|
+
content
|
|
62
|
+
textType
|
|
63
|
+
gap
|
|
64
|
+
gapS
|
|
65
|
+
}
|
|
66
|
+
... on Info4Columns {
|
|
67
|
+
__typename
|
|
68
|
+
bgColor
|
|
69
|
+
items
|
|
70
|
+
simplified
|
|
71
|
+
}
|
|
72
|
+
... on PromoBanner {
|
|
73
|
+
__typename
|
|
74
|
+
preffix
|
|
75
|
+
crossPrice
|
|
76
|
+
price
|
|
77
|
+
thinPrice
|
|
78
|
+
suffix
|
|
79
|
+
animationDuration
|
|
80
|
+
bgColor
|
|
81
|
+
}
|
|
82
|
+
... on RecurrencePromoBanner {
|
|
83
|
+
__typename
|
|
84
|
+
firstDiscount
|
|
85
|
+
firstMaxDiscount
|
|
86
|
+
secondDiscount
|
|
87
|
+
secondMaxDiscount
|
|
88
|
+
}
|
|
89
|
+
... on TimerBanner {
|
|
90
|
+
__typename
|
|
91
|
+
text
|
|
92
|
+
textS
|
|
93
|
+
}
|
|
94
|
+
... on HeroBanner {
|
|
95
|
+
__typename
|
|
96
|
+
image
|
|
97
|
+
imageS
|
|
98
|
+
title
|
|
99
|
+
subtitle
|
|
100
|
+
greenText
|
|
101
|
+
bigText
|
|
102
|
+
smallText
|
|
103
|
+
bottomText
|
|
104
|
+
}
|
|
105
|
+
... on HeroBannerCrossed {
|
|
106
|
+
__typename
|
|
107
|
+
image
|
|
108
|
+
imageS
|
|
109
|
+
title
|
|
110
|
+
subtitle
|
|
111
|
+
greenText
|
|
112
|
+
upperText
|
|
113
|
+
crossPrice
|
|
114
|
+
price
|
|
115
|
+
suffix
|
|
116
|
+
}
|
|
117
|
+
... on HeroBannerRecurrent {
|
|
118
|
+
__typename
|
|
119
|
+
image
|
|
120
|
+
imageS
|
|
121
|
+
title
|
|
122
|
+
subtitle
|
|
123
|
+
greenText
|
|
124
|
+
preffix
|
|
125
|
+
crossPrice
|
|
126
|
+
price
|
|
127
|
+
suffix
|
|
128
|
+
currentText
|
|
129
|
+
recurrenceText
|
|
130
|
+
}
|
|
131
|
+
... on HeroFull {
|
|
132
|
+
__typename
|
|
133
|
+
image
|
|
134
|
+
imageS
|
|
135
|
+
title
|
|
136
|
+
bullets
|
|
137
|
+
}
|
|
138
|
+
... on Info1Column {
|
|
139
|
+
__typename
|
|
140
|
+
bgColor
|
|
141
|
+
image
|
|
142
|
+
imageS
|
|
143
|
+
title
|
|
144
|
+
subtitle
|
|
145
|
+
imgPos
|
|
146
|
+
buttonText
|
|
147
|
+
}
|
|
148
|
+
... on TitleGreen {
|
|
149
|
+
__typename
|
|
150
|
+
bgColor
|
|
151
|
+
content
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
query lastUsedOrderOptions {
|
|
2
|
+
lastUsedOrderOptions {
|
|
3
|
+
delivery {
|
|
4
|
+
address {
|
|
5
|
+
id
|
|
6
|
+
firstname
|
|
7
|
+
lastname
|
|
8
|
+
street
|
|
9
|
+
number
|
|
10
|
+
zipcode
|
|
11
|
+
city
|
|
12
|
+
phone
|
|
13
|
+
floor
|
|
14
|
+
notes
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
billingAddress {
|
|
18
|
+
id
|
|
19
|
+
name
|
|
20
|
+
lastname
|
|
21
|
+
country
|
|
22
|
+
vat
|
|
23
|
+
street
|
|
24
|
+
number
|
|
25
|
+
floor
|
|
26
|
+
zipcode
|
|
27
|
+
city
|
|
28
|
+
}
|
|
29
|
+
payments {
|
|
30
|
+
provider
|
|
31
|
+
reference
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|