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,473 @@
|
|
|
1
|
+
query pendingDeliveryOrders {
|
|
2
|
+
nextSuggestions {
|
|
3
|
+
...SuggestionWithProfilesFragment
|
|
4
|
+
productStatistics(maxCategories: 3) {
|
|
5
|
+
byIngredientCategory {
|
|
6
|
+
dishesCountByCategory {
|
|
7
|
+
MEAT
|
|
8
|
+
SPOON
|
|
9
|
+
FISH
|
|
10
|
+
RICE_NOODLES
|
|
11
|
+
PASTA_POTATO_GRATIN
|
|
12
|
+
CHICKEN_TURKEY
|
|
13
|
+
VEGETABLE_VEGAN
|
|
14
|
+
VEGETABLE_PROTEIN
|
|
15
|
+
CREAM_SOUP
|
|
16
|
+
VEGETABLES
|
|
17
|
+
}
|
|
18
|
+
dishesWithVegetables
|
|
19
|
+
}
|
|
20
|
+
byOrdersInLastYear {
|
|
21
|
+
new
|
|
22
|
+
alreadyOrdered
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
nextDeliveries {
|
|
27
|
+
...PendingOrderFragment
|
|
28
|
+
}
|
|
29
|
+
nextPaymentPendingOrder {
|
|
30
|
+
...OrderFragment
|
|
31
|
+
}
|
|
32
|
+
profilesByCustomer {
|
|
33
|
+
id
|
|
34
|
+
name
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
fragment OrderFragment on OrderGraph {
|
|
39
|
+
_id
|
|
40
|
+
dateCreated
|
|
41
|
+
state
|
|
42
|
+
id
|
|
43
|
+
canChange
|
|
44
|
+
billingAddress {
|
|
45
|
+
id
|
|
46
|
+
name
|
|
47
|
+
lastname
|
|
48
|
+
country
|
|
49
|
+
vat
|
|
50
|
+
street
|
|
51
|
+
number
|
|
52
|
+
floor
|
|
53
|
+
zipcode
|
|
54
|
+
city
|
|
55
|
+
}
|
|
56
|
+
delivery {
|
|
57
|
+
type
|
|
58
|
+
address {
|
|
59
|
+
id
|
|
60
|
+
firstname
|
|
61
|
+
lastname
|
|
62
|
+
street
|
|
63
|
+
number
|
|
64
|
+
zipcode
|
|
65
|
+
city
|
|
66
|
+
phone
|
|
67
|
+
floor
|
|
68
|
+
notes
|
|
69
|
+
}
|
|
70
|
+
option {
|
|
71
|
+
id
|
|
72
|
+
start
|
|
73
|
+
end
|
|
74
|
+
price
|
|
75
|
+
customizedPrice
|
|
76
|
+
custom
|
|
77
|
+
configurationDate {
|
|
78
|
+
start
|
|
79
|
+
end
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
options {
|
|
83
|
+
id
|
|
84
|
+
day
|
|
85
|
+
start
|
|
86
|
+
end
|
|
87
|
+
price
|
|
88
|
+
configurationDate {
|
|
89
|
+
start
|
|
90
|
+
end
|
|
91
|
+
}
|
|
92
|
+
exception {
|
|
93
|
+
start
|
|
94
|
+
end
|
|
95
|
+
from {
|
|
96
|
+
year
|
|
97
|
+
month
|
|
98
|
+
dayOfMonth
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
products {
|
|
104
|
+
id
|
|
105
|
+
slug
|
|
106
|
+
name
|
|
107
|
+
price
|
|
108
|
+
subscriptionPrice
|
|
109
|
+
category {
|
|
110
|
+
slug
|
|
111
|
+
subscriptionPrice
|
|
112
|
+
}
|
|
113
|
+
tags
|
|
114
|
+
ingredientsBreakdown
|
|
115
|
+
allergens
|
|
116
|
+
quantity
|
|
117
|
+
ingredients
|
|
118
|
+
nutritionFacts {
|
|
119
|
+
energy
|
|
120
|
+
totalFat
|
|
121
|
+
saturatedFat
|
|
122
|
+
proteins
|
|
123
|
+
hydrates
|
|
124
|
+
sugars
|
|
125
|
+
fiber
|
|
126
|
+
salt
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
profilesProductMap {
|
|
130
|
+
name
|
|
131
|
+
products {
|
|
132
|
+
id
|
|
133
|
+
quantity
|
|
134
|
+
day
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
price
|
|
138
|
+
reference
|
|
139
|
+
invoiceUrl
|
|
140
|
+
subscriptionAccountId
|
|
141
|
+
vouchers {
|
|
142
|
+
code
|
|
143
|
+
discount {
|
|
144
|
+
price
|
|
145
|
+
percent
|
|
146
|
+
maximum
|
|
147
|
+
}
|
|
148
|
+
appliedDiscount
|
|
149
|
+
}
|
|
150
|
+
salesPlanDiscount {
|
|
151
|
+
discount {
|
|
152
|
+
price
|
|
153
|
+
percent
|
|
154
|
+
maximum
|
|
155
|
+
}
|
|
156
|
+
appliedDiscount
|
|
157
|
+
}
|
|
158
|
+
pricingInfo {
|
|
159
|
+
delivery {
|
|
160
|
+
shippingPrice
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
fragment SuggestionWithProfilesFragment on SuggestionWithProfilesGraph {
|
|
166
|
+
_id
|
|
167
|
+
customerId
|
|
168
|
+
dateCreated
|
|
169
|
+
dateUpdated
|
|
170
|
+
subscriptionAccountId
|
|
171
|
+
viewedInEditableState
|
|
172
|
+
appliedVoucher {
|
|
173
|
+
code
|
|
174
|
+
tagNames
|
|
175
|
+
appliedDiscount
|
|
176
|
+
discount {
|
|
177
|
+
price
|
|
178
|
+
percent
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
billingAddress {
|
|
182
|
+
_id
|
|
183
|
+
id
|
|
184
|
+
customerId
|
|
185
|
+
name
|
|
186
|
+
lastname
|
|
187
|
+
country
|
|
188
|
+
vat
|
|
189
|
+
street
|
|
190
|
+
number
|
|
191
|
+
floor
|
|
192
|
+
zipcode
|
|
193
|
+
city
|
|
194
|
+
}
|
|
195
|
+
deliveryConfigurationId
|
|
196
|
+
delivery {
|
|
197
|
+
type
|
|
198
|
+
address {
|
|
199
|
+
id
|
|
200
|
+
firstname
|
|
201
|
+
lastname
|
|
202
|
+
street
|
|
203
|
+
number
|
|
204
|
+
zipcode
|
|
205
|
+
city
|
|
206
|
+
phone
|
|
207
|
+
floor
|
|
208
|
+
notes
|
|
209
|
+
}
|
|
210
|
+
notes
|
|
211
|
+
option {
|
|
212
|
+
id
|
|
213
|
+
start
|
|
214
|
+
end
|
|
215
|
+
price
|
|
216
|
+
customizedPrice
|
|
217
|
+
custom
|
|
218
|
+
configurationDate {
|
|
219
|
+
start
|
|
220
|
+
end
|
|
221
|
+
}
|
|
222
|
+
exception {
|
|
223
|
+
start
|
|
224
|
+
end
|
|
225
|
+
from {
|
|
226
|
+
year
|
|
227
|
+
month
|
|
228
|
+
dayOfMonth
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
options {
|
|
233
|
+
id
|
|
234
|
+
day
|
|
235
|
+
start
|
|
236
|
+
end
|
|
237
|
+
price
|
|
238
|
+
configurationDate {
|
|
239
|
+
start
|
|
240
|
+
end
|
|
241
|
+
}
|
|
242
|
+
exception {
|
|
243
|
+
start
|
|
244
|
+
end
|
|
245
|
+
from {
|
|
246
|
+
year
|
|
247
|
+
month
|
|
248
|
+
dayOfMonth
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
exceptions {
|
|
253
|
+
day
|
|
254
|
+
start
|
|
255
|
+
end
|
|
256
|
+
from {
|
|
257
|
+
year
|
|
258
|
+
month
|
|
259
|
+
dayOfMonth
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
id
|
|
264
|
+
pausedAt
|
|
265
|
+
skip
|
|
266
|
+
skipVoucher
|
|
267
|
+
validUntil
|
|
268
|
+
salesPlanId
|
|
269
|
+
hasDeliveryChanges
|
|
270
|
+
suggestionPricing {
|
|
271
|
+
shippingBreakdown {
|
|
272
|
+
customDifference
|
|
273
|
+
toPay
|
|
274
|
+
discount
|
|
275
|
+
}
|
|
276
|
+
profiles {
|
|
277
|
+
_id
|
|
278
|
+
profileId
|
|
279
|
+
id
|
|
280
|
+
transactional
|
|
281
|
+
subscription
|
|
282
|
+
toPay
|
|
283
|
+
}
|
|
284
|
+
profilesTotal {
|
|
285
|
+
transactional
|
|
286
|
+
subscription
|
|
287
|
+
toPay
|
|
288
|
+
}
|
|
289
|
+
shipping
|
|
290
|
+
salesPlanDiscount
|
|
291
|
+
vouchers
|
|
292
|
+
subscription {
|
|
293
|
+
subtotal
|
|
294
|
+
total
|
|
295
|
+
}
|
|
296
|
+
transactional {
|
|
297
|
+
subtotal
|
|
298
|
+
total
|
|
299
|
+
}
|
|
300
|
+
toPay
|
|
301
|
+
salesPlan {
|
|
302
|
+
_id
|
|
303
|
+
id
|
|
304
|
+
minProfilesPriceValidation {
|
|
305
|
+
minPrice
|
|
306
|
+
result
|
|
307
|
+
remainingAmount
|
|
308
|
+
}
|
|
309
|
+
packageOption {
|
|
310
|
+
index
|
|
311
|
+
categoryRestrictions {
|
|
312
|
+
categories
|
|
313
|
+
restriction {
|
|
314
|
+
min
|
|
315
|
+
max
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
shippingSubscriptionDiscount {
|
|
319
|
+
assumed
|
|
320
|
+
}
|
|
321
|
+
baseCategory
|
|
322
|
+
baseCategoryPrice
|
|
323
|
+
}
|
|
324
|
+
packageValidation {
|
|
325
|
+
result
|
|
326
|
+
restrictions {
|
|
327
|
+
categories
|
|
328
|
+
result
|
|
329
|
+
remaining
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
upselling {
|
|
333
|
+
packageOption {
|
|
334
|
+
index
|
|
335
|
+
categoryRestrictions {
|
|
336
|
+
categories
|
|
337
|
+
restriction {
|
|
338
|
+
min
|
|
339
|
+
max
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
shippingSubscriptionDiscount {
|
|
343
|
+
assumed
|
|
344
|
+
}
|
|
345
|
+
baseCategory
|
|
346
|
+
baseCategoryPrice
|
|
347
|
+
}
|
|
348
|
+
packageValidation {
|
|
349
|
+
result
|
|
350
|
+
restrictions {
|
|
351
|
+
categories
|
|
352
|
+
result
|
|
353
|
+
remaining
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
appliedSalesPlanDiscount {
|
|
359
|
+
appliedDiscount
|
|
360
|
+
discount {
|
|
361
|
+
price
|
|
362
|
+
percent
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
appliedVouchers {
|
|
366
|
+
code
|
|
367
|
+
tagNames
|
|
368
|
+
appliedDiscount
|
|
369
|
+
discount {
|
|
370
|
+
price
|
|
371
|
+
percent
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
voucherApplyErrors {
|
|
375
|
+
... on ApplyVoucherValidationError {
|
|
376
|
+
errorCode
|
|
377
|
+
description
|
|
378
|
+
validationDetails {
|
|
379
|
+
validationIssue
|
|
380
|
+
voucher {
|
|
381
|
+
code
|
|
382
|
+
restrict {
|
|
383
|
+
maximumAmount
|
|
384
|
+
minimumAmount
|
|
385
|
+
firstOrder
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
... on GraphError {
|
|
391
|
+
errorCode
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
skippedProfiles {
|
|
395
|
+
_id
|
|
396
|
+
id
|
|
397
|
+
profileId
|
|
398
|
+
transactional
|
|
399
|
+
subscription
|
|
400
|
+
toPay
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
accountIsActive
|
|
404
|
+
currentOrderStreakProgress
|
|
405
|
+
profileSuggestions {
|
|
406
|
+
_id
|
|
407
|
+
id
|
|
408
|
+
suggestionId
|
|
409
|
+
dateCreated
|
|
410
|
+
dateUpdated
|
|
411
|
+
productMap {
|
|
412
|
+
id
|
|
413
|
+
quantity
|
|
414
|
+
day
|
|
415
|
+
}
|
|
416
|
+
products {
|
|
417
|
+
id
|
|
418
|
+
category {
|
|
419
|
+
_id
|
|
420
|
+
description
|
|
421
|
+
name
|
|
422
|
+
order
|
|
423
|
+
slug
|
|
424
|
+
subscriptionPrice
|
|
425
|
+
}
|
|
426
|
+
name
|
|
427
|
+
slug
|
|
428
|
+
price
|
|
429
|
+
quantity
|
|
430
|
+
subscriptionPrice
|
|
431
|
+
allergens
|
|
432
|
+
ingredients
|
|
433
|
+
isPromoted
|
|
434
|
+
speciality
|
|
435
|
+
isNew
|
|
436
|
+
weight
|
|
437
|
+
nutritionFacts {
|
|
438
|
+
energy
|
|
439
|
+
fiber
|
|
440
|
+
hydrates
|
|
441
|
+
proteins
|
|
442
|
+
salt
|
|
443
|
+
saturatedFat
|
|
444
|
+
sugars
|
|
445
|
+
totalFat
|
|
446
|
+
}
|
|
447
|
+
tags
|
|
448
|
+
specialTemplate
|
|
449
|
+
}
|
|
450
|
+
profileId
|
|
451
|
+
maxPriceWithoutChanges
|
|
452
|
+
skip
|
|
453
|
+
hasChanges
|
|
454
|
+
validUntil
|
|
455
|
+
}
|
|
456
|
+
isOptIn
|
|
457
|
+
isBeingCharged
|
|
458
|
+
menuMetadata {
|
|
459
|
+
id
|
|
460
|
+
dateFrom
|
|
461
|
+
dateTo
|
|
462
|
+
week
|
|
463
|
+
year
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
fragment PendingOrderFragment on PendingOrderGraph {
|
|
468
|
+
order {
|
|
469
|
+
...OrderFragment
|
|
470
|
+
}
|
|
471
|
+
validUntil
|
|
472
|
+
skip
|
|
473
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
query pendingPaymentOrderById($id: ID!) {
|
|
2
|
+
pendingPaymentOrderById(id: $id) {
|
|
3
|
+
pendingPaymentOrder {
|
|
4
|
+
canChange
|
|
5
|
+
delivery {
|
|
6
|
+
option {
|
|
7
|
+
id: start
|
|
8
|
+
start
|
|
9
|
+
end
|
|
10
|
+
price
|
|
11
|
+
configurationDate {
|
|
12
|
+
start
|
|
13
|
+
end
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
voucher {
|
|
18
|
+
code
|
|
19
|
+
discount
|
|
20
|
+
}
|
|
21
|
+
vouchers {
|
|
22
|
+
code
|
|
23
|
+
tagNames
|
|
24
|
+
appliedDiscount
|
|
25
|
+
discount {
|
|
26
|
+
price
|
|
27
|
+
percent
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
salesPlanDiscount {
|
|
31
|
+
appliedDiscount
|
|
32
|
+
discount {
|
|
33
|
+
price
|
|
34
|
+
percent
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
price
|
|
38
|
+
products {
|
|
39
|
+
id
|
|
40
|
+
quantity
|
|
41
|
+
name
|
|
42
|
+
slug
|
|
43
|
+
subscriptionPrice
|
|
44
|
+
price
|
|
45
|
+
category {
|
|
46
|
+
_id
|
|
47
|
+
id: slug
|
|
48
|
+
slug
|
|
49
|
+
subscriptionPrice
|
|
50
|
+
}
|
|
51
|
+
tags
|
|
52
|
+
}
|
|
53
|
+
subscriptionAccountId
|
|
54
|
+
pricingInfo {
|
|
55
|
+
delivery {
|
|
56
|
+
shippingPrice
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
alreadyConfirmed
|
|
61
|
+
isPayablePendingPaymentOrder
|
|
62
|
+
}
|
|
63
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
query pendingTransactionalDeliveryOrders {
|
|
2
|
+
nextTransactionalDeliveries {
|
|
3
|
+
order {
|
|
4
|
+
dateCreated
|
|
5
|
+
state
|
|
6
|
+
id
|
|
7
|
+
canChange
|
|
8
|
+
billingAddress {
|
|
9
|
+
id
|
|
10
|
+
name
|
|
11
|
+
lastname
|
|
12
|
+
country
|
|
13
|
+
vat
|
|
14
|
+
street
|
|
15
|
+
number
|
|
16
|
+
floor
|
|
17
|
+
zipcode
|
|
18
|
+
city
|
|
19
|
+
}
|
|
20
|
+
delivery {
|
|
21
|
+
type
|
|
22
|
+
address {
|
|
23
|
+
id
|
|
24
|
+
firstname
|
|
25
|
+
lastname
|
|
26
|
+
street
|
|
27
|
+
number
|
|
28
|
+
zipcode
|
|
29
|
+
city
|
|
30
|
+
phone
|
|
31
|
+
floor
|
|
32
|
+
notes
|
|
33
|
+
}
|
|
34
|
+
option {
|
|
35
|
+
id
|
|
36
|
+
start
|
|
37
|
+
end
|
|
38
|
+
price
|
|
39
|
+
customizedPrice
|
|
40
|
+
custom
|
|
41
|
+
}
|
|
42
|
+
options {
|
|
43
|
+
id
|
|
44
|
+
day
|
|
45
|
+
start
|
|
46
|
+
end
|
|
47
|
+
price
|
|
48
|
+
exception {
|
|
49
|
+
start
|
|
50
|
+
end
|
|
51
|
+
from {
|
|
52
|
+
year
|
|
53
|
+
month
|
|
54
|
+
dayOfMonth
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
products {
|
|
60
|
+
id
|
|
61
|
+
slug
|
|
62
|
+
name
|
|
63
|
+
price
|
|
64
|
+
subscriptionPrice
|
|
65
|
+
category {
|
|
66
|
+
slug
|
|
67
|
+
subscriptionPrice
|
|
68
|
+
}
|
|
69
|
+
tags
|
|
70
|
+
ingredientsBreakdown
|
|
71
|
+
allergens
|
|
72
|
+
quantity
|
|
73
|
+
}
|
|
74
|
+
price
|
|
75
|
+
reference
|
|
76
|
+
invoiceUrl
|
|
77
|
+
}
|
|
78
|
+
validUntil
|
|
79
|
+
}
|
|
80
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
query previousDeliveries($limit: Int!, $offset: Int) {
|
|
2
|
+
previousDeliveries(limit: $limit, offset: $offset) {
|
|
3
|
+
id
|
|
4
|
+
reference
|
|
5
|
+
dateCreated
|
|
6
|
+
price
|
|
7
|
+
invoiceUrl
|
|
8
|
+
state
|
|
9
|
+
subscriptionAccountId
|
|
10
|
+
delivery {
|
|
11
|
+
type
|
|
12
|
+
option {
|
|
13
|
+
start
|
|
14
|
+
}
|
|
15
|
+
options {
|
|
16
|
+
start
|
|
17
|
+
day
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
billingAddress {
|
|
21
|
+
id
|
|
22
|
+
name
|
|
23
|
+
lastname
|
|
24
|
+
country
|
|
25
|
+
vat
|
|
26
|
+
street
|
|
27
|
+
number
|
|
28
|
+
floor
|
|
29
|
+
zipcode
|
|
30
|
+
city
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|