wetaca-cli 0.0.0-stage → 0.2.0
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 +38 -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,231 @@
|
|
|
1
|
+
query nextSuggestion {
|
|
2
|
+
nextSuggestion {
|
|
3
|
+
appliedVoucher {
|
|
4
|
+
code
|
|
5
|
+
tagNames
|
|
6
|
+
appliedDiscount
|
|
7
|
+
discount {
|
|
8
|
+
price
|
|
9
|
+
percent
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
billingAddress {
|
|
13
|
+
id
|
|
14
|
+
name
|
|
15
|
+
lastname
|
|
16
|
+
country
|
|
17
|
+
vat
|
|
18
|
+
street
|
|
19
|
+
number
|
|
20
|
+
floor
|
|
21
|
+
zipcode
|
|
22
|
+
city
|
|
23
|
+
}
|
|
24
|
+
delivery {
|
|
25
|
+
address {
|
|
26
|
+
id
|
|
27
|
+
firstname
|
|
28
|
+
lastname
|
|
29
|
+
street
|
|
30
|
+
number
|
|
31
|
+
zipcode
|
|
32
|
+
city
|
|
33
|
+
phone
|
|
34
|
+
floor
|
|
35
|
+
notes
|
|
36
|
+
}
|
|
37
|
+
notes
|
|
38
|
+
option {
|
|
39
|
+
start
|
|
40
|
+
end
|
|
41
|
+
price
|
|
42
|
+
customizedPrice
|
|
43
|
+
custom
|
|
44
|
+
exception {
|
|
45
|
+
start
|
|
46
|
+
end
|
|
47
|
+
from {
|
|
48
|
+
year
|
|
49
|
+
month
|
|
50
|
+
dayOfMonth
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
_id
|
|
56
|
+
pausedAt
|
|
57
|
+
skip
|
|
58
|
+
skipVoucher
|
|
59
|
+
validUntil
|
|
60
|
+
salesPlanId
|
|
61
|
+
hasDeliveryChanges
|
|
62
|
+
viewedInEditableState
|
|
63
|
+
suggestionPricing {
|
|
64
|
+
profiles {
|
|
65
|
+
id
|
|
66
|
+
transactional
|
|
67
|
+
subscription
|
|
68
|
+
toPay
|
|
69
|
+
}
|
|
70
|
+
profilesTotal {
|
|
71
|
+
transactional
|
|
72
|
+
subscription
|
|
73
|
+
toPay
|
|
74
|
+
}
|
|
75
|
+
shipping
|
|
76
|
+
salesPlanDiscount
|
|
77
|
+
vouchers
|
|
78
|
+
subscription {
|
|
79
|
+
subtotal
|
|
80
|
+
total
|
|
81
|
+
}
|
|
82
|
+
transactional {
|
|
83
|
+
subtotal
|
|
84
|
+
total
|
|
85
|
+
}
|
|
86
|
+
toPay
|
|
87
|
+
salesPlan {
|
|
88
|
+
_id
|
|
89
|
+
id
|
|
90
|
+
minProfilesPriceValidation {
|
|
91
|
+
minPrice
|
|
92
|
+
result
|
|
93
|
+
remainingAmount
|
|
94
|
+
}
|
|
95
|
+
packageOption {
|
|
96
|
+
index
|
|
97
|
+
categoryRestrictions {
|
|
98
|
+
categories
|
|
99
|
+
restriction {
|
|
100
|
+
min
|
|
101
|
+
max
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
shippingSubscriptionDiscount {
|
|
105
|
+
assumed
|
|
106
|
+
}
|
|
107
|
+
baseCategory
|
|
108
|
+
baseCategoryPrice
|
|
109
|
+
}
|
|
110
|
+
packageValidation {
|
|
111
|
+
result
|
|
112
|
+
restrictions {
|
|
113
|
+
categories
|
|
114
|
+
result
|
|
115
|
+
remaining
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
upselling {
|
|
119
|
+
packageOption {
|
|
120
|
+
index
|
|
121
|
+
categoryRestrictions {
|
|
122
|
+
categories
|
|
123
|
+
restriction {
|
|
124
|
+
min
|
|
125
|
+
max
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
shippingSubscriptionDiscount {
|
|
129
|
+
assumed
|
|
130
|
+
}
|
|
131
|
+
baseCategory
|
|
132
|
+
baseCategoryPrice
|
|
133
|
+
}
|
|
134
|
+
packageValidation {
|
|
135
|
+
result
|
|
136
|
+
restrictions {
|
|
137
|
+
categories
|
|
138
|
+
result
|
|
139
|
+
remaining
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
appliedSalesPlanDiscount {
|
|
145
|
+
appliedDiscount
|
|
146
|
+
discount {
|
|
147
|
+
price
|
|
148
|
+
percent
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
appliedVouchers {
|
|
152
|
+
code
|
|
153
|
+
tagNames
|
|
154
|
+
appliedDiscount
|
|
155
|
+
discount {
|
|
156
|
+
price
|
|
157
|
+
percent
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
voucherApplyErrors {
|
|
161
|
+
... on ApplyVoucherValidationError {
|
|
162
|
+
errorCode
|
|
163
|
+
description
|
|
164
|
+
validationDetails {
|
|
165
|
+
validationIssue
|
|
166
|
+
voucher {
|
|
167
|
+
code
|
|
168
|
+
restrict {
|
|
169
|
+
maximumAmount
|
|
170
|
+
minimumAmount
|
|
171
|
+
firstOrder
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
... on GraphError {
|
|
177
|
+
errorCode
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
skippedProfiles {
|
|
181
|
+
id
|
|
182
|
+
transactional
|
|
183
|
+
subscription
|
|
184
|
+
toPay
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
accountIsActive
|
|
188
|
+
currentOrderStreakProgress
|
|
189
|
+
profileSuggestions {
|
|
190
|
+
id
|
|
191
|
+
products {
|
|
192
|
+
id
|
|
193
|
+
category {
|
|
194
|
+
_id
|
|
195
|
+
slug
|
|
196
|
+
subscriptionPrice
|
|
197
|
+
description
|
|
198
|
+
name
|
|
199
|
+
order
|
|
200
|
+
}
|
|
201
|
+
name
|
|
202
|
+
slug
|
|
203
|
+
price
|
|
204
|
+
quantity
|
|
205
|
+
subscriptionPrice
|
|
206
|
+
allergens
|
|
207
|
+
ingredients
|
|
208
|
+
nutritionFacts {
|
|
209
|
+
energy
|
|
210
|
+
fiber
|
|
211
|
+
hydrates
|
|
212
|
+
proteins
|
|
213
|
+
salt
|
|
214
|
+
saturatedFat
|
|
215
|
+
sugars
|
|
216
|
+
totalFat
|
|
217
|
+
}
|
|
218
|
+
tags
|
|
219
|
+
}
|
|
220
|
+
productMap {
|
|
221
|
+
id
|
|
222
|
+
quantity
|
|
223
|
+
day
|
|
224
|
+
}
|
|
225
|
+
profileId
|
|
226
|
+
maxPriceWithoutChanges
|
|
227
|
+
skip
|
|
228
|
+
hasChanges
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
query orderDetails($id: Int!) {
|
|
2
|
+
order(id: $id) {
|
|
3
|
+
id
|
|
4
|
+
reference
|
|
5
|
+
delivery {
|
|
6
|
+
type
|
|
7
|
+
address {
|
|
8
|
+
id
|
|
9
|
+
street
|
|
10
|
+
number
|
|
11
|
+
floor
|
|
12
|
+
city
|
|
13
|
+
zipcode
|
|
14
|
+
firstname
|
|
15
|
+
lastname
|
|
16
|
+
phone
|
|
17
|
+
}
|
|
18
|
+
option {
|
|
19
|
+
id
|
|
20
|
+
start
|
|
21
|
+
end
|
|
22
|
+
price
|
|
23
|
+
custom
|
|
24
|
+
customizedPrice
|
|
25
|
+
configurationDate {
|
|
26
|
+
start
|
|
27
|
+
end
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
options {
|
|
31
|
+
id
|
|
32
|
+
price
|
|
33
|
+
start
|
|
34
|
+
end
|
|
35
|
+
customizedPrice
|
|
36
|
+
day
|
|
37
|
+
skipConfirmation
|
|
38
|
+
configurationDate {
|
|
39
|
+
start
|
|
40
|
+
end
|
|
41
|
+
}
|
|
42
|
+
slots {
|
|
43
|
+
id
|
|
44
|
+
start
|
|
45
|
+
end
|
|
46
|
+
}
|
|
47
|
+
exception {
|
|
48
|
+
start
|
|
49
|
+
end
|
|
50
|
+
from {
|
|
51
|
+
year
|
|
52
|
+
month
|
|
53
|
+
dayOfMonth
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
exceptions {
|
|
58
|
+
start
|
|
59
|
+
end
|
|
60
|
+
day
|
|
61
|
+
from {
|
|
62
|
+
year
|
|
63
|
+
month
|
|
64
|
+
dayOfMonth
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
profilesProductMap {
|
|
69
|
+
name
|
|
70
|
+
products {
|
|
71
|
+
id
|
|
72
|
+
quantity
|
|
73
|
+
day
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
billingAddress {
|
|
77
|
+
id
|
|
78
|
+
name
|
|
79
|
+
lastname
|
|
80
|
+
country
|
|
81
|
+
vat
|
|
82
|
+
street
|
|
83
|
+
number
|
|
84
|
+
floor
|
|
85
|
+
zipcode
|
|
86
|
+
city
|
|
87
|
+
}
|
|
88
|
+
voucher {
|
|
89
|
+
code
|
|
90
|
+
discount
|
|
91
|
+
}
|
|
92
|
+
salesPlanDiscount {
|
|
93
|
+
appliedDiscount
|
|
94
|
+
}
|
|
95
|
+
products {
|
|
96
|
+
id
|
|
97
|
+
name
|
|
98
|
+
price
|
|
99
|
+
quantity
|
|
100
|
+
slug
|
|
101
|
+
nutritionFacts {
|
|
102
|
+
energy
|
|
103
|
+
fiber
|
|
104
|
+
hydrates
|
|
105
|
+
proteins
|
|
106
|
+
salt
|
|
107
|
+
saturatedFat
|
|
108
|
+
sugars
|
|
109
|
+
totalFat
|
|
110
|
+
}
|
|
111
|
+
ingredients
|
|
112
|
+
allergens
|
|
113
|
+
tags
|
|
114
|
+
weight
|
|
115
|
+
}
|
|
116
|
+
price
|
|
117
|
+
invoiceUrl
|
|
118
|
+
payments {
|
|
119
|
+
provider
|
|
120
|
+
}
|
|
121
|
+
canChange
|
|
122
|
+
subscriptionAccountId
|
|
123
|
+
}
|
|
124
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
mutation pauseProfile($profileId: ModelId!) {
|
|
2
|
+
pauseProfile(profileId: $profileId) {
|
|
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,56 @@
|
|
|
1
|
+
mutation pauseResumeProfile($profileId: ModelId!) {
|
|
2
|
+
resumeProfile(profileId: $profileId) {
|
|
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,39 @@
|
|
|
1
|
+
mutation payTransactionalOrder($orderIntent: TransactionalOrderIntent!, $deviceFingerprint: String) {
|
|
2
|
+
payTransactionalOrder(orderIntent: $orderIntent, deviceFingerprint: $deviceFingerprint) {
|
|
3
|
+
ok
|
|
4
|
+
error
|
|
5
|
+
confirmedOrder {
|
|
6
|
+
id
|
|
7
|
+
reference
|
|
8
|
+
vouchers {
|
|
9
|
+
code
|
|
10
|
+
appliedDiscount
|
|
11
|
+
tagNames
|
|
12
|
+
}
|
|
13
|
+
products {
|
|
14
|
+
id
|
|
15
|
+
name
|
|
16
|
+
price
|
|
17
|
+
quantity
|
|
18
|
+
category {
|
|
19
|
+
slug
|
|
20
|
+
name
|
|
21
|
+
}
|
|
22
|
+
slug
|
|
23
|
+
tags
|
|
24
|
+
}
|
|
25
|
+
delivery {
|
|
26
|
+
option {
|
|
27
|
+
start
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
price
|
|
31
|
+
pricingInfo {
|
|
32
|
+
delivery {
|
|
33
|
+
shippingPrice
|
|
34
|
+
shippingDiscount
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|