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.
Files changed (209) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +93 -2
  3. package/bin/wetaca.js +248 -0
  4. package/docs/GUIA.md +118 -0
  5. package/docs/agent-guide.md +71 -0
  6. package/docs/api-operations/wetaca_bundle__Doc0.graphql +40 -0
  7. package/docs/api-operations/wetaca_bundle__Doc1.graphql +14 -0
  8. package/docs/api-operations/wetaca_bundle__Doc10.graphql +45 -0
  9. package/docs/api-operations/wetaca_bundle__Doc11.graphql +9 -0
  10. package/docs/api-operations/wetaca_bundle__Doc2.graphql +7 -0
  11. package/docs/api-operations/wetaca_bundle__Doc3.graphql +39 -0
  12. package/docs/api-operations/wetaca_bundle__Doc4.graphql +36 -0
  13. package/docs/api-operations/wetaca_bundle__Doc5.graphql +40 -0
  14. package/docs/api-operations/wetaca_bundle__Doc6.graphql +33 -0
  15. package/docs/api-operations/wetaca_bundle__Doc7.graphql +48 -0
  16. package/docs/api-operations/wetaca_bundle__Doc8.graphql +92 -0
  17. package/docs/api-operations/wetaca_bundle__Doc9.graphql +95 -0
  18. package/docs/api-operations/wetaca_bundle__SaveWeeklySurveyStep.graphql +3 -0
  19. package/docs/api-operations/wetaca_bundle__StartWeeklySurvey.graphql +33 -0
  20. package/docs/api-operations/wetaca_bundle__SubmitWeeklySurvey.graphql +16 -0
  21. package/docs/api-operations/wetaca_bundle__SubscriptionDeliveryChangePriceQueryV2.graphql +5 -0
  22. package/docs/api-operations/wetaca_bundle__SuggestionDeliveryChangePriceQueryV2.graphql +5 -0
  23. package/docs/api-operations/wetaca_bundle__activateSubscriptionAccount.graphql +45 -0
  24. package/docs/api-operations/wetaca_bundle__activeReferredReward.graphql +3 -0
  25. package/docs/api-operations/wetaca_bundle__addProductsToProfileWhitelist.graphql +9 -0
  26. package/docs/api-operations/wetaca_bundle__addProductsToSubscriptionProfileBlacklist.graphql +9 -0
  27. package/docs/api-operations/wetaca_bundle__addProfileToSubscriptionAccount.graphql +56 -0
  28. package/docs/api-operations/wetaca_bundle__addRecurrenceVoucherToCustomer.graphql +23 -0
  29. package/docs/api-operations/wetaca_bundle__addSubscriptionProfileSuggestionOverwrites.graphql +9 -0
  30. package/docs/api-operations/wetaca_bundle__addresses.graphql +17 -0
  31. package/docs/api-operations/wetaca_bundle__addressesInManager.graphql +17 -0
  32. package/docs/api-operations/wetaca_bundle__allRecommenderIngredients.graphql +6 -0
  33. package/docs/api-operations/wetaca_bundle__appendNewPaymentSubscriptionMethod.graphql +8 -0
  34. package/docs/api-operations/wetaca_bundle__applyOrderVoucher.graphql +33 -0
  35. package/docs/api-operations/wetaca_bundle__articleQuery.graphql +22 -0
  36. package/docs/api-operations/wetaca_bundle__articlesByCategoryQuery.graphql +13 -0
  37. package/docs/api-operations/wetaca_bundle__assignNextSuggestionVoucher.graphql +9 -0
  38. package/docs/api-operations/wetaca_bundle__authorizePaypalTokenGenerationPaymentIntention.graphql +7 -0
  39. package/docs/api-operations/wetaca_bundle__authorizeRedsysAppApplePayPayment.graphql +16 -0
  40. package/docs/api-operations/wetaca_bundle__authorizeRedsysAppGooglePayPayment.graphql +16 -0
  41. package/docs/api-operations/wetaca_bundle__authorizeRedsysApplePayPayment.graphql +16 -0
  42. package/docs/api-operations/wetaca_bundle__authorizeRedsysGooglePayPayment.graphql +16 -0
  43. package/docs/api-operations/wetaca_bundle__authorizeRedsysPaymentIntention.graphql +17 -0
  44. package/docs/api-operations/wetaca_bundle__bypassSMSValidationConfigQuery.graphql +5 -0
  45. package/docs/api-operations/wetaca_bundle__calculateNextProfileSuggestions.graphql +31 -0
  46. package/docs/api-operations/wetaca_bundle__cancelConfirmedOrder.graphql +6 -0
  47. package/docs/api-operations/wetaca_bundle__cancelSubscriptionAccount.graphql +45 -0
  48. package/docs/api-operations/wetaca_bundle__categoriesQuery.graphql +15 -0
  49. package/docs/api-operations/wetaca_bundle__changeOptionsQuery.graphql +21 -0
  50. package/docs/api-operations/wetaca_bundle__changeOrderDelivery.graphql +27 -0
  51. package/docs/api-operations/wetaca_bundle__changePasswordInProfile.graphql +3 -0
  52. package/docs/api-operations/wetaca_bundle__changeSubscriptionOptInMode.graphql +5 -0
  53. package/docs/api-operations/wetaca_bundle__changeSubscriptionPaymentPaymentMethodsEdit.graphql +8 -0
  54. package/docs/api-operations/wetaca_bundle__computeConfirmedOrderModificationPriceSummary.graphql +7 -0
  55. package/docs/api-operations/wetaca_bundle__confirmDeliveryReschedule.graphql +6 -0
  56. package/docs/api-operations/wetaca_bundle__confirmedOrderEditContext.graphql +95 -0
  57. package/docs/api-operations/wetaca_bundle__currentRecurrenceVouchers.graphql +23 -0
  58. package/docs/api-operations/wetaca_bundle__customer.graphql +11 -0
  59. package/docs/api-operations/wetaca_bundle__customerBillingAddresses.graphql +18 -0
  60. package/docs/api-operations/wetaca_bundle__customerFF.graphql +7 -0
  61. package/docs/api-operations/wetaca_bundle__customerFeatureFlagBySlug.graphql +7 -0
  62. package/docs/api-operations/wetaca_bundle__customerFeatureFlagForAnalytics.graphql +8 -0
  63. package/docs/api-operations/wetaca_bundle__customerHasReferralVouchers.graphql +11 -0
  64. package/docs/api-operations/wetaca_bundle__customerPaymentMethods.graphql +23 -0
  65. package/docs/api-operations/wetaca_bundle__customerVouchers.graphql +224 -0
  66. package/docs/api-operations/wetaca_bundle__customerWalletScheduledDeposits.graphql +15 -0
  67. package/docs/api-operations/wetaca_bundle__customerWithSegment.graphql +61 -0
  68. package/docs/api-operations/wetaca_bundle__deleteCustomerAccount.graphql +3 -0
  69. package/docs/api-operations/wetaca_bundle__deleteCustomerScheduledDeposit.graphql +3 -0
  70. package/docs/api-operations/wetaca_bundle__deliveryOptionsByZipcode.graphql +27 -0
  71. package/docs/api-operations/wetaca_bundle__deliveryRescheduleWithAvailability.graphql +53 -0
  72. package/docs/api-operations/wetaca_bundle__dish.graphql +39 -0
  73. package/docs/api-operations/wetaca_bundle__editAccountBillingAddress.graphql +5 -0
  74. package/docs/api-operations/wetaca_bundle__editDeliveryAccountInfo.graphql +5 -0
  75. package/docs/api-operations/wetaca_bundle__editProfileSuggestionMenu.graphql +9 -0
  76. package/docs/api-operations/wetaca_bundle__editSubscriptionDelivery.graphql +5 -0
  77. package/docs/api-operations/wetaca_bundle__editSubscriptionProfileAllergens.graphql +56 -0
  78. package/docs/api-operations/wetaca_bundle__editSubscriptionProfileDislikes.graphql +56 -0
  79. package/docs/api-operations/wetaca_bundle__editSubscriptionProfileMenu.graphql +56 -0
  80. package/docs/api-operations/wetaca_bundle__editSubscriptionProfileMenuAndNutrition.graphql +56 -0
  81. package/docs/api-operations/wetaca_bundle__editSubscriptionProfileSpicy.graphql +56 -0
  82. package/docs/api-operations/wetaca_bundle__editSubscriptionTastesProfile.graphql +38 -0
  83. package/docs/api-operations/wetaca_bundle__editSuggestionDelivery.graphql +5 -0
  84. package/docs/api-operations/wetaca_bundle__featuredArticlesQuery.graphql +16 -0
  85. package/docs/api-operations/wetaca_bundle__getChargingSuggestionMetadata.graphql +6 -0
  86. package/docs/api-operations/wetaca_bundle__getDeliveryConfigurationMaxQuantities.graphql +5 -0
  87. package/docs/api-operations/wetaca_bundle__getDeliveryConfigurationProductAvailability.graphql +13 -0
  88. package/docs/api-operations/wetaca_bundle__getDeliveryConfigurationProductAvailabilityWithExceptions.graphql +28 -0
  89. package/docs/api-operations/wetaca_bundle__getSubscriptionAccountDeliveryConfigurationProductAvailability.graphql +38 -0
  90. package/docs/api-operations/wetaca_bundle__getUseGoogleSocialLoginInIosAppConfiguration.graphql +3 -0
  91. package/docs/api-operations/wetaca_bundle__getWeeklySurveyConfig.graphql +7 -0
  92. package/docs/api-operations/wetaca_bundle__giftCardsConfiguration.graphql +6 -0
  93. package/docs/api-operations/wetaca_bundle__globalConfigurations.graphql +10 -0
  94. package/docs/api-operations/wetaca_bundle__initNewRedsysPaymentIntention.graphql +10 -0
  95. package/docs/api-operations/wetaca_bundle__initPaypalTokenGenerationPaymentIntention.graphql +7 -0
  96. package/docs/api-operations/wetaca_bundle__initializePaymentProcessEvent.graphql +3 -0
  97. package/docs/api-operations/wetaca_bundle__isNextSuggestionSkiped.graphql +6 -0
  98. package/docs/api-operations/wetaca_bundle__landingTemplateCollectionQuery.graphql +157 -0
  99. package/docs/api-operations/wetaca_bundle__landingTemplateFloatingBarQuery.graphql +8 -0
  100. package/docs/api-operations/wetaca_bundle__lastUsedOrderOptions.graphql +34 -0
  101. package/docs/api-operations/wetaca_bundle__linkGoogleAccountByPassword.graphql +3 -0
  102. package/docs/api-operations/wetaca_bundle__linkGoogleAccountBySMS.graphql +3 -0
  103. package/docs/api-operations/wetaca_bundle__linkGoogleAccountPhone.graphql +3 -0
  104. package/docs/api-operations/wetaca_bundle__linkPhoneNumberToAccount.graphql +3 -0
  105. package/docs/api-operations/wetaca_bundle__markSuggestionAsViewedInEditableState.graphql +3 -0
  106. package/docs/api-operations/wetaca_bundle__menuProductIds.graphql +8 -0
  107. package/docs/api-operations/wetaca_bundle__modifyConfirmedOrderProducts.graphql +7 -0
  108. package/docs/api-operations/wetaca_bundle__mostRecentZipCode.graphql +9 -0
  109. package/docs/api-operations/wetaca_bundle__myDetailsAccountWithProfiles.graphql +506 -0
  110. package/docs/api-operations/wetaca_bundle__newBlogLeadMutation.graphql +3 -0
  111. package/docs/api-operations/wetaca_bundle__nextDeliveries.graphql +190 -0
  112. package/docs/api-operations/wetaca_bundle__nextSubscriptionStartOfChargeTimeQuery.graphql +5 -0
  113. package/docs/api-operations/wetaca_bundle__nextSuggestion.graphql +231 -0
  114. package/docs/api-operations/wetaca_bundle__nextSuggestionAddVoucherPage.graphql +5 -0
  115. package/docs/api-operations/wetaca_bundle__nextSuggestionIdAndVoucher.graphql +8 -0
  116. package/docs/api-operations/wetaca_bundle__nextSuggestionVoucherAndPrice.graphql +10 -0
  117. package/docs/api-operations/wetaca_bundle__orderDetails.graphql +124 -0
  118. package/docs/api-operations/wetaca_bundle__pauseProfile.graphql +56 -0
  119. package/docs/api-operations/wetaca_bundle__pauseResumeProfile.graphql +56 -0
  120. package/docs/api-operations/wetaca_bundle__pauseSubscriptionQuery.graphql +17 -0
  121. package/docs/api-operations/wetaca_bundle__pauseSuggestion.graphql +6 -0
  122. package/docs/api-operations/wetaca_bundle__pauseSuggestionProfile.graphql +6 -0
  123. package/docs/api-operations/wetaca_bundle__paySubscriptionPendingOrderWithPaymentMethod.graphql +6 -0
  124. package/docs/api-operations/wetaca_bundle__payTransactionalOrder.graphql +39 -0
  125. package/docs/api-operations/wetaca_bundle__pendingDeliveryOrders.graphql +473 -0
  126. package/docs/api-operations/wetaca_bundle__pendingPaymentOrderById.graphql +63 -0
  127. package/docs/api-operations/wetaca_bundle__pendingTransactionalDeliveryOrders.graphql +80 -0
  128. package/docs/api-operations/wetaca_bundle__previousDeliveries.graphql +33 -0
  129. package/docs/api-operations/wetaca_bundle__profileHasEditTastes.graphql +3 -0
  130. package/docs/api-operations/wetaca_bundle__profileSuggestionBySuggestionId.graphql +190 -0
  131. package/docs/api-operations/wetaca_bundle__profileSuggestionWithProfileById.graphql +142 -0
  132. package/docs/api-operations/wetaca_bundle__purchaseGiftCard.graphql +10 -0
  133. package/docs/api-operations/wetaca_bundle__rechargeCustomerWalletWithPaymentMethod.graphql +6 -0
  134. package/docs/api-operations/wetaca_bundle__recommendedArticlesQuery.graphql +20 -0
  135. package/docs/api-operations/wetaca_bundle__recommenderIngredientsByNames.graphql +6 -0
  136. package/docs/api-operations/wetaca_bundle__recoverPassword.graphql +3 -0
  137. package/docs/api-operations/wetaca_bundle__recurrenceNextAssociatedVoucher.graphql +23 -0
  138. package/docs/api-operations/wetaca_bundle__redeemGiftCard.graphql +6 -0
  139. package/docs/api-operations/wetaca_bundle__referralConfig.graphql +61 -0
  140. package/docs/api-operations/wetaca_bundle__registerLogout.graphql +3 -0
  141. package/docs/api-operations/wetaca_bundle__registerPaymentProcessEvent.graphql +3 -0
  142. package/docs/api-operations/wetaca_bundle__removeAddress.graphql +5 -0
  143. package/docs/api-operations/wetaca_bundle__removeAddressInManager.graphql +5 -0
  144. package/docs/api-operations/wetaca_bundle__removeCreditCard.graphql +3 -0
  145. package/docs/api-operations/wetaca_bundle__removeCustomerBillingAddress.graphql +3 -0
  146. package/docs/api-operations/wetaca_bundle__removeProfileWithSuggestions.graphql +3 -0
  147. package/docs/api-operations/wetaca_bundle__requestDeliveryRescheduleSupport.graphql +6 -0
  148. package/docs/api-operations/wetaca_bundle__resetPassword.graphql +3 -0
  149. package/docs/api-operations/wetaca_bundle__resumeSuggestion.graphql +6 -0
  150. package/docs/api-operations/wetaca_bundle__resumeSuggestionProfile.graphql +6 -0
  151. package/docs/api-operations/wetaca_bundle__salesPlanCategory.graphql +5 -0
  152. package/docs/api-operations/wetaca_bundle__saveAddress.graphql +13 -0
  153. package/docs/api-operations/wetaca_bundle__saveCustomerBillingAddress.graphql +5 -0
  154. package/docs/api-operations/wetaca_bundle__saveSubscriptionShoppingCart.graphql +5 -0
  155. package/docs/api-operations/wetaca_bundle__scheduleNewCustomerWalletRecharges.graphql +3 -0
  156. package/docs/api-operations/wetaca_bundle__segmentBySlug.graphql +75 -0
  157. package/docs/api-operations/wetaca_bundle__segmentMenu.graphql +89 -0
  158. package/docs/api-operations/wetaca_bundle__sessionTokenByPassword.graphql +7 -0
  159. package/docs/api-operations/wetaca_bundle__sessionTokenBySms.graphql +3 -0
  160. package/docs/api-operations/wetaca_bundle__setPasswordInProfile.graphql +3 -0
  161. package/docs/api-operations/wetaca_bundle__shoppingCart.graphql +18 -0
  162. package/docs/api-operations/wetaca_bundle__signUp.graphql +3 -0
  163. package/docs/api-operations/wetaca_bundle__signUpWithGoogle.graphql +15 -0
  164. package/docs/api-operations/wetaca_bundle__someProfileHasEditTastes.graphql +3 -0
  165. package/docs/api-operations/wetaca_bundle__subscribeCustomer.graphql +11 -0
  166. package/docs/api-operations/wetaca_bundle__subscribeToReactivationUrlVoucher.graphql +5 -0
  167. package/docs/api-operations/wetaca_bundle__subscribeToVoucherAddVoucherPage.graphql +6 -0
  168. package/docs/api-operations/wetaca_bundle__subscriberAccountStatus.graphql +8 -0
  169. package/docs/api-operations/wetaca_bundle__subscriptionAccountByCustomerWithPayments.graphql +10 -0
  170. package/docs/api-operations/wetaca_bundle__subscriptionAccountChangePricing.graphql +92 -0
  171. package/docs/api-operations/wetaca_bundle__subscriptionAccountIntentPricing.graphql +156 -0
  172. package/docs/api-operations/wetaca_bundle__subscriptionAccountIntentPricingForMenu.graphql +134 -0
  173. package/docs/api-operations/wetaca_bundle__subscriptionAccountIntentPricingFunnelCart.graphql +26 -0
  174. package/docs/api-operations/wetaca_bundle__subscriptionAccountIntentPricingVoucher.graphql +9 -0
  175. package/docs/api-operations/wetaca_bundle__subscriptionAccountProductsSubscriptionPricing.graphql +26 -0
  176. package/docs/api-operations/wetaca_bundle__subscriptionAvailability.graphql +3 -0
  177. package/docs/api-operations/wetaca_bundle__subscriptionIntentMenuProductsPricing.graphql +26 -0
  178. package/docs/api-operations/wetaca_bundle__subscriptionMenuWithWelcomeVoucherQuery.graphql +66 -0
  179. package/docs/api-operations/wetaca_bundle__subscriptionSegmentMenu.graphql +48 -0
  180. package/docs/api-operations/wetaca_bundle__subscriptionVoucher.graphql +27 -0
  181. package/docs/api-operations/wetaca_bundle__subscriptionWelcomeVoucher.graphql +10 -0
  182. package/docs/api-operations/wetaca_bundle__suggestioMenuProductsPricing.graphql +26 -0
  183. package/docs/api-operations/wetaca_bundle__suggestionById.graphql +52 -0
  184. package/docs/api-operations/wetaca_bundle__suggestionByIdData.graphql +6 -0
  185. package/docs/api-operations/wetaca_bundle__suggestionChangePricing.graphql +122 -0
  186. package/docs/api-operations/wetaca_bundle__syncFeatureFlags.graphql +7 -0
  187. package/docs/api-operations/wetaca_bundle__tokenIsValid.graphql +3 -0
  188. package/docs/api-operations/wetaca_bundle__totalOrdersSummaryByCustomer.graphql +21 -0
  189. package/docs/api-operations/wetaca_bundle__trackInternalEvent.graphql +3 -0
  190. package/docs/api-operations/wetaca_bundle__trackInternalGEvent.graphql +3 -0
  191. package/docs/api-operations/wetaca_bundle__trackInternalLPEvent.graphql +3 -0
  192. package/docs/api-operations/wetaca_bundle__trackLoginInternalEvent.graphql +5 -0
  193. package/docs/api-operations/wetaca_bundle__transactionalSegmentMenu.graphql +47 -0
  194. package/docs/api-operations/wetaca_bundle__updateSubscriptionProfileCharacter.graphql +6 -0
  195. package/docs/api-operations/wetaca_bundle__updateSubscriptionProfileName.graphql +6 -0
  196. package/docs/api-operations/wetaca_bundle__updateUserProfile.graphql +10 -0
  197. package/docs/api-operations/wetaca_bundle__useCaptchaConfig.graphql +3 -0
  198. package/docs/api-operations/wetaca_bundle__userSessionSubscription.graphql +20 -0
  199. package/docs/api-operations/wetaca_bundle__validateSegment.graphql +19 -0
  200. package/docs/api-operations/wetaca_bundle__validateSubscriptionIntent.graphql +6 -0
  201. package/docs/api-operations/wetaca_bundle__voucherCustomDisplay.graphql +22 -0
  202. package/docs/api-operations/wetaca_bundle__walletBalance.graphql +3 -0
  203. package/docs/api-operations/wetaca_bundle__walletOperations.graphql +11 -0
  204. package/docs/cli-spec.md +113 -0
  205. package/package.json +42 -4
  206. package/src/commands.js +700 -0
  207. package/src/guide.js +73 -0
  208. package/src/lib.js +371 -0
  209. package/src/queries.js +235 -0
@@ -0,0 +1,506 @@
1
+ query myDetailsAccountWithProfiles {
2
+ subscriptionAccountByCustomer {
3
+ id
4
+ isActive
5
+ pausedUntil
6
+ optInSuggestions
7
+ isOptInMutable
8
+ payments {
9
+ reference
10
+ }
11
+ profiles {
12
+ id
13
+ name
14
+ price
15
+ productMap {
16
+ quantity
17
+ }
18
+ ...SubscriptionProfiles
19
+ ...SubscriptionProfileDetails
20
+ ...SubscriptionProfilesTastes
21
+ }
22
+ subscriptionAccountPricing {
23
+ toPay
24
+ salesPlan {
25
+ minProfilesPriceValidation {
26
+ minPrice
27
+ result
28
+ remainingAmount
29
+ }
30
+ packageOption {
31
+ index
32
+ }
33
+ }
34
+ }
35
+ ...SubscriptionSummary
36
+ ...SubscriptionEditDelivery
37
+ ...BillingAddressSection
38
+ ...SubscriptionAccountProfileDetails
39
+ }
40
+ nextSuggestion {
41
+ id
42
+ skip
43
+ suggestionPricing {
44
+ toPay
45
+ }
46
+ isBeingCharged
47
+ currentOrderStreakProgress
48
+ ...SubscriptionSummarySuggestion
49
+ ...ProfileSelectorForSuggestionEditNextSuggestion
50
+ ...MyDetailsMenuSuggestion
51
+ }
52
+ }
53
+
54
+ fragment SubscriptionProfiles on SubscriptionProfileGraph {
55
+ id
56
+ isActive
57
+ name
58
+ email
59
+ price
60
+ productMap {
61
+ quantity
62
+ }
63
+ products {
64
+ id
65
+ name
66
+ quantity
67
+ features
68
+ isPromoted
69
+ }
70
+ allergens {
71
+ id
72
+ name
73
+ }
74
+ otherAllergens
75
+ diet
76
+ spicyLevel
77
+ nutrition {
78
+ goal
79
+ preferences {
80
+ energy {
81
+ min
82
+ max
83
+ }
84
+ proteins
85
+ hydrates
86
+ fats
87
+ }
88
+ }
89
+ dislikes {
90
+ id
91
+ flavor
92
+ texture
93
+ name
94
+ }
95
+ otherDislikes {
96
+ name
97
+ flavor
98
+ texture
99
+ }
100
+ character
101
+ }
102
+
103
+ fragment SubscriptionProfileDetails on SubscriptionProfileGraph {
104
+ _id
105
+ id
106
+ isActive
107
+ name
108
+ email
109
+ price
110
+ productMap {
111
+ id
112
+ quantity
113
+ day
114
+ }
115
+ products {
116
+ id
117
+ name
118
+ quantity
119
+ }
120
+ allergens {
121
+ id
122
+ name
123
+ }
124
+ otherAllergens
125
+ diet
126
+ spicyLevel
127
+ dislikes {
128
+ id
129
+ flavor
130
+ texture
131
+ name
132
+ }
133
+ otherDislikes {
134
+ name
135
+ flavor
136
+ texture
137
+ }
138
+ }
139
+
140
+ fragment SubscriptionProfilesTastes on SubscriptionProfileGraph {
141
+ id
142
+ isActive
143
+ name
144
+ email
145
+ price
146
+ productMap {
147
+ quantity
148
+ }
149
+ products {
150
+ id
151
+ name
152
+ quantity
153
+ }
154
+ allergens {
155
+ id
156
+ name
157
+ }
158
+ otherAllergens
159
+ diet
160
+ spicyLevel
161
+ dislikes {
162
+ name
163
+ id
164
+ flavor
165
+ texture
166
+ }
167
+ otherDislikes {
168
+ name
169
+ flavor
170
+ texture
171
+ }
172
+ }
173
+
174
+ fragment SubscriptionSummary on SubscriptionAccountGraphWithProfiles {
175
+ _id
176
+ id
177
+ isActive
178
+ pausedUntil
179
+ profiles {
180
+ id
181
+ isActive
182
+ productMap {
183
+ id
184
+ quantity
185
+ day
186
+ }
187
+ }
188
+ delivery {
189
+ type
190
+ option {
191
+ id
192
+ start
193
+ end
194
+ price
195
+ configurationDate {
196
+ start
197
+ end
198
+ }
199
+ }
200
+ options {
201
+ id
202
+ day
203
+ start
204
+ end
205
+ price
206
+ configurationDate {
207
+ start
208
+ end
209
+ }
210
+ exception {
211
+ start
212
+ end
213
+ from {
214
+ year
215
+ month
216
+ dayOfMonth
217
+ }
218
+ }
219
+ }
220
+ exceptions {
221
+ day
222
+ start
223
+ end
224
+ from {
225
+ year
226
+ month
227
+ dayOfMonth
228
+ }
229
+ }
230
+ address {
231
+ id
232
+ street
233
+ number
234
+ floor
235
+ city
236
+ zipcode
237
+ phone
238
+ firstname
239
+ lastname
240
+ }
241
+ }
242
+ payments {
243
+ reference
244
+ provider
245
+ }
246
+ nextSuggestionSkipped
247
+ subscriptionAccountPricing {
248
+ salesPlanDiscount
249
+ subscription {
250
+ subtotal
251
+ }
252
+ profilesTotal {
253
+ subscription
254
+ }
255
+ salesPlan {
256
+ minProfilesPriceValidation {
257
+ minPrice
258
+ result
259
+ remainingAmount
260
+ }
261
+ }
262
+ }
263
+ isOptInMutable
264
+ optInSuggestions
265
+ }
266
+
267
+ fragment SubscriptionEditDelivery on SubscriptionAccountGraphWithProfiles {
268
+ id
269
+ delivery {
270
+ option {
271
+ id
272
+ start
273
+ end
274
+ custom
275
+ exception {
276
+ start
277
+ end
278
+ from {
279
+ year
280
+ month
281
+ dayOfMonth
282
+ }
283
+ }
284
+ configurationDate {
285
+ start
286
+ end
287
+ }
288
+ }
289
+ address {
290
+ id
291
+ street
292
+ number
293
+ floor
294
+ city
295
+ zipcode
296
+ phone
297
+ firstname
298
+ lastname
299
+ notes
300
+ }
301
+ }
302
+ subscriptionAccountPricing {
303
+ shipping
304
+ }
305
+ }
306
+
307
+ fragment BillingAddressSection on SubscriptionAccountGraphWithProfiles {
308
+ billingAddress {
309
+ id
310
+ name
311
+ lastname
312
+ country
313
+ vat
314
+ street
315
+ number
316
+ floor
317
+ zipcode
318
+ city
319
+ }
320
+ }
321
+
322
+ fragment SubscriptionAccountProfileDetails on SubscriptionAccountGraphWithProfiles {
323
+ _id
324
+ delivery {
325
+ type
326
+ address {
327
+ id
328
+ street
329
+ number
330
+ floor
331
+ city
332
+ zipcode
333
+ firstname
334
+ lastname
335
+ phone
336
+ }
337
+ option {
338
+ id
339
+ start
340
+ end
341
+ price
342
+ custom
343
+ customizedPrice
344
+ configurationDate {
345
+ start
346
+ end
347
+ }
348
+ }
349
+ options {
350
+ id
351
+ day
352
+ start
353
+ end
354
+ price
355
+ configurationDate {
356
+ start
357
+ end
358
+ }
359
+ }
360
+ }
361
+ }
362
+
363
+ fragment SubscriptionSummarySuggestion on SuggestionWithProfilesGraph {
364
+ _id
365
+ skip
366
+ validUntil
367
+ deliveryConfigurationId
368
+ delivery {
369
+ type
370
+ option {
371
+ id
372
+ start
373
+ end
374
+ price
375
+ configurationDate {
376
+ start
377
+ end
378
+ }
379
+ }
380
+ options {
381
+ id
382
+ day
383
+ start
384
+ end
385
+ price
386
+ configurationDate {
387
+ start
388
+ end
389
+ }
390
+ exception {
391
+ start
392
+ end
393
+ from {
394
+ year
395
+ month
396
+ dayOfMonth
397
+ }
398
+ }
399
+ }
400
+ exceptions {
401
+ day
402
+ start
403
+ end
404
+ from {
405
+ year
406
+ month
407
+ dayOfMonth
408
+ }
409
+ }
410
+ address {
411
+ id
412
+ street
413
+ number
414
+ floor
415
+ city
416
+ zipcode
417
+ phone
418
+ firstname
419
+ lastname
420
+ }
421
+ }
422
+ billingAddress {
423
+ id
424
+ name
425
+ lastname
426
+ country
427
+ vat
428
+ street
429
+ number
430
+ floor
431
+ zipcode
432
+ city
433
+ }
434
+ profileSuggestions {
435
+ _id
436
+ skip
437
+ productMap {
438
+ id
439
+ quantity
440
+ day
441
+ }
442
+ products {
443
+ id
444
+ quantity
445
+ }
446
+ }
447
+ suggestionPricing {
448
+ salesPlan {
449
+ minProfilesPriceValidation {
450
+ minPrice
451
+ result
452
+ remainingAmount
453
+ }
454
+ }
455
+ }
456
+ isBeingCharged
457
+ }
458
+
459
+ fragment ProfileSelectorForSuggestionEditNextSuggestion on SuggestionWithProfilesGraph {
460
+ _id
461
+ profileSuggestions {
462
+ _id
463
+ profileId
464
+ }
465
+ }
466
+
467
+ fragment MyDetailsMenuSuggestion on SuggestionWithProfilesGraph {
468
+ _id
469
+ skip
470
+ profileSuggestions {
471
+ _id
472
+ skip
473
+ products {
474
+ id
475
+ quantity
476
+ }
477
+ }
478
+ delivery {
479
+ option {
480
+ id
481
+ start
482
+ end
483
+ price
484
+ customizedPrice
485
+ custom
486
+ exception {
487
+ start
488
+ end
489
+ from {
490
+ year
491
+ month
492
+ dayOfMonth
493
+ }
494
+ }
495
+ }
496
+ }
497
+ suggestionPricing {
498
+ salesPlan {
499
+ minProfilesPriceValidation {
500
+ minPrice
501
+ result
502
+ remainingAmount
503
+ }
504
+ }
505
+ }
506
+ }
@@ -0,0 +1,3 @@
1
+ mutation newBlogLeadMutation($email: String!) {
2
+ newBlogLead(email: $email)
3
+ }
@@ -0,0 +1,190 @@
1
+ query nextDeliveries {
2
+ nextSuggestion {
3
+ _id
4
+ isBeingCharged
5
+ currentOrderStreakProgress
6
+ skip
7
+ isOptIn
8
+ viewedInEditableState
9
+ appliedVoucher {
10
+ appliedDiscount
11
+ code
12
+ }
13
+ suggestionPricing {
14
+ toPay
15
+ salesPlan {
16
+ minProfilesPriceValidation {
17
+ remainingAmount
18
+ }
19
+ }
20
+ }
21
+ }
22
+ subscriptionAccount: subscriptionAccountByCustomer {
23
+ _id
24
+ isActive
25
+ pausedUntil
26
+ dateCreated
27
+ nextSuggestionSkipped
28
+ profiles {
29
+ _id
30
+ productMap {
31
+ id
32
+ day
33
+ }
34
+ products {
35
+ allergens
36
+ category {
37
+ _id
38
+ description
39
+ name
40
+ order
41
+ slug
42
+ subscriptionPrice
43
+ }
44
+ ingredients
45
+ nutritionFacts {
46
+ energy
47
+ fiber
48
+ hydrates
49
+ proteins
50
+ salt
51
+ saturatedFat
52
+ sugars
53
+ totalFat
54
+ }
55
+ price
56
+ slug
57
+ tags
58
+ }
59
+ ...SubscriptionProfiles
60
+ customerId
61
+ dateCreated
62
+ dateUpdated
63
+ productsBlacklist
64
+ productsWhitelist
65
+ subscriptionAccountId
66
+ allergens {
67
+ id
68
+ name
69
+ }
70
+ }
71
+ delivery {
72
+ type
73
+ option {
74
+ id
75
+ start
76
+ end
77
+ price
78
+ configurationDate {
79
+ start
80
+ end
81
+ }
82
+ }
83
+ options {
84
+ id
85
+ day
86
+ start
87
+ end
88
+ price
89
+ configurationDate {
90
+ start
91
+ end
92
+ }
93
+ exception {
94
+ start
95
+ end
96
+ from {
97
+ year
98
+ month
99
+ dayOfMonth
100
+ }
101
+ }
102
+ }
103
+ exceptions {
104
+ day
105
+ start
106
+ end
107
+ from {
108
+ year
109
+ month
110
+ dayOfMonth
111
+ }
112
+ }
113
+ address {
114
+ id
115
+ street
116
+ number
117
+ floor
118
+ city
119
+ zipcode
120
+ phone
121
+ firstname
122
+ lastname
123
+ }
124
+ }
125
+ isOptInMutable
126
+ optInSuggestions
127
+ subscriptionAccountPricing {
128
+ toPay
129
+ shipping
130
+ salesPlan {
131
+ minProfilesPriceValidation {
132
+ remainingAmount
133
+ }
134
+ }
135
+ }
136
+ recurringSubscriptionType {
137
+ type
138
+ dishesVariety
139
+ }
140
+ }
141
+ }
142
+
143
+ fragment SubscriptionProfiles on SubscriptionProfileGraph {
144
+ id
145
+ isActive
146
+ name
147
+ email
148
+ price
149
+ productMap {
150
+ quantity
151
+ }
152
+ products {
153
+ id
154
+ name
155
+ quantity
156
+ features
157
+ isPromoted
158
+ }
159
+ allergens {
160
+ id
161
+ name
162
+ }
163
+ otherAllergens
164
+ diet
165
+ spicyLevel
166
+ nutrition {
167
+ goal
168
+ preferences {
169
+ energy {
170
+ min
171
+ max
172
+ }
173
+ proteins
174
+ hydrates
175
+ fats
176
+ }
177
+ }
178
+ dislikes {
179
+ id
180
+ flavor
181
+ texture
182
+ name
183
+ }
184
+ otherDislikes {
185
+ name
186
+ flavor
187
+ texture
188
+ }
189
+ character
190
+ }
@@ -0,0 +1,5 @@
1
+ query nextSubscriptionStartOfChargeTimeQuery {
2
+ getCurrentSubscriptionChargeInterval {
3
+ start
4
+ }
5
+ }