@unchainedshop/api 1.1.3 → 1.1.9
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/lib/acl.d.ts +0 -1
- package/lib/api-index.d.ts +0 -1
- package/lib/api-index.js +3 -3
- package/lib/api-index.js.map +1 -1
- package/lib/context.d.ts +1 -2
- package/lib/context.js +2 -3
- package/lib/context.js.map +1 -1
- package/lib/createBulkImportServer.d.ts +1 -1
- package/lib/createBulkImportServer.js +2 -2
- package/lib/createBulkImportServer.js.map +1 -1
- package/lib/createGraphQLServer.d.ts +1 -1
- package/lib/createGraphQLServer.js +3 -4
- package/lib/createGraphQLServer.js.map +1 -1
- package/lib/loaders/index.d.ts +1 -1
- package/lib/loaders/index.js +2 -1
- package/lib/loaders/index.js.map +1 -1
- package/lib/locale-context.d.ts +1 -1
- package/lib/locale-context.js +2 -1
- package/lib/locale-context.js.map +1 -1
- package/lib/resolvers/mutations/accounts/addEmail.d.ts +1 -1
- package/lib/resolvers/mutations/accounts/buildSecretTOTPAuthURL.d.ts +1 -1
- package/lib/resolvers/mutations/accounts/changePassword.d.ts +1 -1
- package/lib/resolvers/mutations/accounts/createUser.d.ts +1 -5
- package/lib/resolvers/mutations/accounts/disableTOTP.d.ts +1 -1
- package/lib/resolvers/mutations/accounts/enableTOTP.d.ts +1 -1
- package/lib/resolvers/mutations/accounts/enrollUser.d.ts +1 -1
- package/lib/resolvers/mutations/accounts/forgotPassword.d.ts +1 -1
- package/lib/resolvers/mutations/accounts/impersonate.d.ts +1 -6
- package/lib/resolvers/mutations/accounts/loginAsGuest.d.ts +1 -5
- package/lib/resolvers/mutations/accounts/loginWithPassword.d.ts +1 -5
- package/lib/resolvers/mutations/accounts/logout.d.ts +1 -1
- package/lib/resolvers/mutations/accounts/logoutAllSessions.d.ts +1 -1
- package/lib/resolvers/mutations/accounts/removeEmail.d.ts +1 -1
- package/lib/resolvers/mutations/accounts/resetPassword.d.ts +1 -5
- package/lib/resolvers/mutations/accounts/setPassword.d.ts +1 -1
- package/lib/resolvers/mutations/accounts/setUsername.d.ts +1 -1
- package/lib/resolvers/mutations/accounts/verifyEmail.d.ts +1 -5
- package/lib/resolvers/mutations/assortments/addAssortmentFilter.d.ts +1 -1
- package/lib/resolvers/mutations/assortments/addAssortmentLink.d.ts +1 -1
- package/lib/resolvers/mutations/assortments/addAssortmentMedia.d.ts +1 -1
- package/lib/resolvers/mutations/assortments/addAssortmentProduct.d.ts +1 -1
- package/lib/resolvers/mutations/assortments/createAssortment.d.ts +1 -1
- package/lib/resolvers/mutations/assortments/prepareAssortmentMediaUpload.d.ts +1 -1
- package/lib/resolvers/mutations/assortments/removeAssortment.d.ts +1 -1
- package/lib/resolvers/mutations/assortments/removeAssortmentFilter.d.ts +1 -1
- package/lib/resolvers/mutations/assortments/removeAssortmentLink.d.ts +1 -1
- package/lib/resolvers/mutations/assortments/removeAssortmentMedia.d.ts +1 -1
- package/lib/resolvers/mutations/assortments/removeAssortmentProduct.d.ts +1 -1
- package/lib/resolvers/mutations/assortments/reorderAssortmentFilters.d.ts +1 -1
- package/lib/resolvers/mutations/assortments/reorderAssortmentLinks.d.ts +1 -1
- package/lib/resolvers/mutations/assortments/reorderAssortmentMedia.d.ts +1 -1
- package/lib/resolvers/mutations/assortments/reorderAssortmentProducts.d.ts +1 -1
- package/lib/resolvers/mutations/assortments/setBaseAssortment.d.ts +1 -1
- package/lib/resolvers/mutations/assortments/updateAssortment.d.ts +1 -1
- package/lib/resolvers/mutations/assortments/updateAssortmentMediaTexts.d.ts +1 -1
- package/lib/resolvers/mutations/assortments/updateAssortmentTexts.d.ts +1 -1
- package/lib/resolvers/mutations/bookmarks/bookmark.d.ts +1 -1
- package/lib/resolvers/mutations/bookmarks/createBookmark.d.ts +1 -1
- package/lib/resolvers/mutations/bookmarks/removeBookmark.d.ts +1 -1
- package/lib/resolvers/mutations/countries/createCountry.d.ts +1 -1
- package/lib/resolvers/mutations/countries/removeCountry.d.ts +1 -1
- package/lib/resolvers/mutations/countries/updateCountry.d.ts +1 -1
- package/lib/resolvers/mutations/currencies/createCurrency.d.ts +1 -1
- package/lib/resolvers/mutations/currencies/removeCurrency.d.ts +1 -1
- package/lib/resolvers/mutations/currencies/updateCurrency.d.ts +1 -1
- package/lib/resolvers/mutations/delivery/createDeliveryProvider.d.ts +1 -1
- package/lib/resolvers/mutations/delivery/removeDeliveryProvider.d.ts +1 -1
- package/lib/resolvers/mutations/delivery/updateDeliveryProvider.d.ts +1 -1
- package/lib/resolvers/mutations/enrollments/activateEnrollment.d.ts +1 -1
- package/lib/resolvers/mutations/enrollments/createEnrollment.d.ts +1 -1
- package/lib/resolvers/mutations/enrollments/terminateEnrollment.d.ts +1 -1
- package/lib/resolvers/mutations/enrollments/updateEnrollment.d.ts +1 -1
- package/lib/resolvers/mutations/files/confirmMediaUpload.d.ts +1 -1
- package/lib/resolvers/mutations/filters/createFilter.d.ts +1 -1
- package/lib/resolvers/mutations/filters/createFilterOption.d.ts +1 -1
- package/lib/resolvers/mutations/filters/removeFilter.d.ts +1 -1
- package/lib/resolvers/mutations/filters/removeFilterOption.d.ts +1 -1
- package/lib/resolvers/mutations/filters/updateFilter.d.ts +1 -1
- package/lib/resolvers/mutations/filters/updateFilterTexts.d.ts +1 -1
- package/lib/resolvers/mutations/languages/createLanguage.d.ts +1 -1
- package/lib/resolvers/mutations/languages/removeLanguage.d.ts +1 -1
- package/lib/resolvers/mutations/languages/updateLanguage.d.ts +1 -1
- package/lib/resolvers/mutations/orders/addCartDiscount.d.ts +1 -1
- package/lib/resolvers/mutations/orders/addCartProduct.d.ts +1 -1
- package/lib/resolvers/mutations/orders/addCartQuotation.d.ts +1 -1
- package/lib/resolvers/mutations/orders/checkoutCart.d.ts +1 -1
- package/lib/resolvers/mutations/orders/confirmOrder.d.ts +1 -1
- package/lib/resolvers/mutations/orders/createCart.d.ts +1 -1
- package/lib/resolvers/mutations/orders/deliverOrder.d.ts +1 -1
- package/lib/resolvers/mutations/orders/emptyCart.d.ts +1 -1
- package/lib/resolvers/mutations/orders/payOrder.d.ts +1 -1
- package/lib/resolvers/mutations/orders/rejectOrder.d.ts +1 -1
- package/lib/resolvers/mutations/orders/removeCartDiscount.d.ts +1 -1
- package/lib/resolvers/mutations/orders/removeCartItem.d.ts +1 -1
- package/lib/resolvers/mutations/orders/removeOrder.d.ts +1 -1
- package/lib/resolvers/mutations/orders/setOrderDeliveryProvider.d.ts +1 -1
- package/lib/resolvers/mutations/orders/setOrderPaymentProvider.d.ts +1 -1
- package/lib/resolvers/mutations/orders/signPaymentProviderForCheckout.d.ts +1 -1
- package/lib/resolvers/mutations/orders/updateCart.d.ts +1 -1
- package/lib/resolvers/mutations/orders/updateCartItem.d.ts +1 -1
- package/lib/resolvers/mutations/orders/updateOrderDeliveryPickUp.d.ts +1 -1
- package/lib/resolvers/mutations/orders/updateOrderDeliveryShipping.d.ts +1 -1
- package/lib/resolvers/mutations/orders/updateOrderPaymentCard.d.ts +1 -1
- package/lib/resolvers/mutations/orders/updateOrderPaymentGeneric.d.ts +1 -1
- package/lib/resolvers/mutations/orders/updateOrderPaymentInvoice.d.ts +1 -1
- package/lib/resolvers/mutations/payment/createPaymentProvider.d.ts +1 -2
- package/lib/resolvers/mutations/payment/markPaymentCredentialsPreferred.d.ts +1 -1
- package/lib/resolvers/mutations/payment/registerPaymentCredentials.d.ts +1 -1
- package/lib/resolvers/mutations/payment/removePaymentCredentials.d.ts +1 -2
- package/lib/resolvers/mutations/payment/removePaymentProvider.d.ts +1 -2
- package/lib/resolvers/mutations/payment/signPaymentProviderForCredentialRegistration.d.ts +1 -1
- package/lib/resolvers/mutations/payment/updatePaymentProvider.d.ts +1 -2
- package/lib/resolvers/mutations/products/addProductAssignment.d.ts +1 -1
- package/lib/resolvers/mutations/products/addProductMedia.d.ts +1 -1
- package/lib/resolvers/mutations/products/addProductReviewVote.d.ts +1 -1
- package/lib/resolvers/mutations/products/createProduct.d.ts +1 -1
- package/lib/resolvers/mutations/products/createProductBundleItem.d.ts +1 -1
- package/lib/resolvers/mutations/products/createProductReview.d.ts +1 -1
- package/lib/resolvers/mutations/products/createProductVariation.d.ts +1 -1
- package/lib/resolvers/mutations/products/createProductVariationOption.d.ts +1 -1
- package/lib/resolvers/mutations/products/prepareProductMediaUpload.d.ts +1 -1
- package/lib/resolvers/mutations/products/publishProduct.d.ts +1 -1
- package/lib/resolvers/mutations/products/removeBundleItem.d.ts +1 -1
- package/lib/resolvers/mutations/products/removeProduct.d.ts +1 -1
- package/lib/resolvers/mutations/products/removeProductAssignment.d.ts +1 -1
- package/lib/resolvers/mutations/products/removeProductMedia.d.ts +1 -1
- package/lib/resolvers/mutations/products/removeProductReview.d.ts +1 -1
- package/lib/resolvers/mutations/products/removeProductReviewVote.d.ts +1 -1
- package/lib/resolvers/mutations/products/removeProductVariation.d.ts +1 -1
- package/lib/resolvers/mutations/products/removeProductVariationOption.d.ts +1 -1
- package/lib/resolvers/mutations/products/reorderProductMedia.d.ts +1 -1
- package/lib/resolvers/mutations/products/unpublishProduct.d.ts +1 -1
- package/lib/resolvers/mutations/products/updateProduct.d.ts +1 -1
- package/lib/resolvers/mutations/products/updateProductCommerce.d.ts +1 -1
- package/lib/resolvers/mutations/products/updateProductMediaTexts.d.ts +1 -1
- package/lib/resolvers/mutations/products/updateProductPlan.d.ts +1 -1
- package/lib/resolvers/mutations/products/updateProductReview.d.ts +1 -1
- package/lib/resolvers/mutations/products/updateProductSupply.d.ts +1 -1
- package/lib/resolvers/mutations/products/updateProductTexts.d.ts +1 -1
- package/lib/resolvers/mutations/products/updateProductVariationTexts.d.ts +1 -1
- package/lib/resolvers/mutations/products/updateProductWarehousing.d.ts +1 -1
- package/lib/resolvers/mutations/quotations/makeQuotationProposal.d.ts +1 -1
- package/lib/resolvers/mutations/quotations/rejectQuotation.d.ts +1 -1
- package/lib/resolvers/mutations/quotations/requestQuotation.d.ts +1 -1
- package/lib/resolvers/mutations/quotations/verifyQuotation.d.ts +1 -1
- package/lib/resolvers/mutations/users/heartbeat.d.ts +1 -1
- package/lib/resolvers/mutations/users/prepareUserAvatarUpload.d.ts +1 -1
- package/lib/resolvers/mutations/users/setRoles.d.ts +1 -1
- package/lib/resolvers/mutations/users/setUserTags.d.ts +1 -1
- package/lib/resolvers/mutations/users/updateUserAvatar.d.ts +1 -1
- package/lib/resolvers/mutations/users/updateUserProfile.d.ts +1 -1
- package/lib/resolvers/mutations/utils/getOrderCart.d.ts +1 -2
- package/lib/resolvers/mutations/warehousing/createWarehousingProvider.d.ts +1 -1
- package/lib/resolvers/mutations/warehousing/removeWarehousingProvider.d.ts +1 -1
- package/lib/resolvers/mutations/warehousing/updateWarehousingProvider.d.ts +1 -1
- package/lib/resolvers/mutations/worker/addWork.d.ts +1 -1
- package/lib/resolvers/mutations/worker/allocateWork.d.ts +1 -1
- package/lib/resolvers/mutations/worker/doWork.d.ts +1 -1
- package/lib/resolvers/mutations/worker/finishWork.d.ts +1 -1
- package/lib/resolvers/mutations/worker/removeWork.d.ts +1 -1
- package/lib/resolvers/queries/assortments/assortment.d.ts +1 -1
- package/lib/resolvers/queries/assortments/assortments.d.ts +1 -1
- package/lib/resolvers/queries/assortments/assortmentsCount.d.ts +1 -1
- package/lib/resolvers/queries/assortments/translatedAssortmentMediaTexts.d.ts +1 -1
- package/lib/resolvers/queries/assortments/translatedAssortmentTexts.d.ts +1 -1
- package/lib/resolvers/queries/countries/countries.d.ts +1 -1
- package/lib/resolvers/queries/countries/countriesCount.d.ts +1 -1
- package/lib/resolvers/queries/countries/country.d.ts +1 -1
- package/lib/resolvers/queries/currencies/currencies.d.ts +1 -1
- package/lib/resolvers/queries/currencies/currenciesCount.d.ts +1 -1
- package/lib/resolvers/queries/currencies/currency.d.ts +1 -1
- package/lib/resolvers/queries/delivery/deliveryProvider.d.ts +1 -1
- package/lib/resolvers/queries/delivery/deliveryProviders.d.ts +1 -1
- package/lib/resolvers/queries/delivery/deliveryProvidersCount.d.ts +1 -1
- package/lib/resolvers/queries/enrollments/enrollment.d.ts +1 -1
- package/lib/resolvers/queries/enrollments/enrollments.d.ts +1 -1
- package/lib/resolvers/queries/enrollments/enrollmentsCount.d.ts +1 -1
- package/lib/resolvers/queries/events/event.d.ts +1 -1
- package/lib/resolvers/queries/events/events.d.ts +1 -1
- package/lib/resolvers/queries/events/eventsCounts.d.ts +1 -1
- package/lib/resolvers/queries/filters/filter.d.ts +1 -1
- package/lib/resolvers/queries/filters/filters.d.ts +1 -1
- package/lib/resolvers/queries/filters/filtersCount.d.ts +1 -1
- package/lib/resolvers/queries/filters/searchAssortments.d.ts +1 -1
- package/lib/resolvers/queries/filters/searchProducts.d.ts +1 -1
- package/lib/resolvers/queries/filters/translatedFilterTexts.d.ts +1 -1
- package/lib/resolvers/queries/index.js +1 -1
- package/lib/resolvers/queries/index.js.map +1 -1
- package/lib/resolvers/queries/languages/language.d.ts +1 -1
- package/lib/resolvers/queries/languages/languages.d.ts +1 -1
- package/lib/resolvers/queries/languages/languagesCount.d.ts +1 -1
- package/lib/resolvers/queries/orders/order.d.ts +1 -1
- package/lib/resolvers/queries/orders/orders.d.ts +1 -1
- package/lib/resolvers/queries/orders/ordersCount.d.ts +1 -1
- package/lib/resolvers/queries/payment/paymentProvider.d.ts +1 -1
- package/lib/resolvers/queries/payment/paymentProviders.d.ts +1 -1
- package/lib/resolvers/queries/payment/paymentProvidersCount.d.ts +1 -1
- package/lib/resolvers/queries/products/product.d.ts +1 -1
- package/lib/resolvers/queries/products/productCatalogPrices.d.ts +1 -1
- package/lib/resolvers/queries/products/productReview.d.ts +1 -1
- package/lib/resolvers/queries/products/productReviews.d.ts +1 -1
- package/lib/resolvers/queries/products/productReviewsCount.d.ts +1 -1
- package/lib/resolvers/queries/products/products.d.ts +1 -1
- package/lib/resolvers/queries/products/productsCount.d.ts +1 -1
- package/lib/resolvers/queries/products/translatedProductMediaTexts.d.ts +1 -1
- package/lib/resolvers/queries/products/translatedProductTexts.d.ts +1 -1
- package/lib/resolvers/queries/products/translatedProductVariationTexts.d.ts +1 -1
- package/lib/resolvers/queries/quotations/quotation.d.ts +1 -1
- package/lib/resolvers/queries/quotations/quotations.d.ts +1 -1
- package/lib/resolvers/queries/quotations/quotationsCount.d.ts +1 -1
- package/lib/resolvers/queries/users/me.d.ts +1 -1
- package/lib/resolvers/queries/users/user.d.ts +1 -1
- package/lib/resolvers/queries/users/users.d.ts +1 -1
- package/lib/resolvers/queries/users/usersCount.d.ts +1 -1
- package/lib/resolvers/queries/warehousing/warehousingProvider.d.ts +1 -1
- package/lib/resolvers/queries/warehousing/warehousingProviders.d.ts +1 -1
- package/lib/resolvers/queries/warehousing/warehousingProvidersCount.d.ts +1 -1
- package/lib/resolvers/queries/worker/activeWorkTypes.d.ts +1 -1
- package/lib/resolvers/queries/worker/work.d.ts +1 -1
- package/lib/resolvers/queries/worker/workQueueCount.d.ts +1 -1
- package/lib/resolvers/type/login-method-response-types.d.ts +1 -19
- package/lib/resolvers/type/order/order-delivery-types.d.ts +1 -3
- package/lib/resolvers/type/order/order-payment-types.d.ts +1 -3
- package/lib/resolvers/type/user-types.d.ts +1 -1
- package/lib/user-context.d.ts +1 -1
- package/license +274 -0
- package/package.json +15 -15
- package/src/api-index.ts +9 -3
- package/src/context.ts +2 -3
- package/src/createBulkImportServer.ts +2 -2
- package/src/createGraphQLServer.ts +3 -4
- package/src/loaders/index.ts +3 -1
- package/src/locale-context.ts +3 -1
- package/src/resolvers/queries/index.js +1 -1
- package/src/resolvers/type/user-types.ts +1 -1
- package/tsconfig.build.json +13 -5
- package/.npm/package/README +0 -7
- package/.npm/package/npm-shrinkwrap.json +0 -262
- package/.versions +0 -27
- package/lib/resolvers/queries/delivery/deliveryInterfaces.d.ts +0 -5
- package/lib/resolvers/queries/payment/paymentInterfaces.d.ts +0 -5
- package/lib/resolvers/queries/warehousing/warehousingInterfaces.d.ts +0 -5
- package/lib/resolvers/queries/worker/workQueue.d.ts +0 -14
- package/lib/resolvers/type/delivery-provider-types.d.ts +0 -27
- package/lib/resolvers/type/payment/payment-provider-types.d.ts +0 -12
- package/package.js +0 -33
|
@@ -1,262 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"lockfileVersion": 1,
|
|
3
|
-
"dependencies": {
|
|
4
|
-
"@colors/colors": {
|
|
5
|
-
"version": "1.5.0",
|
|
6
|
-
"resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz",
|
|
7
|
-
"integrity": "sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ=="
|
|
8
|
-
},
|
|
9
|
-
"@dabh/diagnostics": {
|
|
10
|
-
"version": "2.0.3",
|
|
11
|
-
"resolved": "https://registry.npmjs.org/@dabh/diagnostics/-/diagnostics-2.0.3.tgz",
|
|
12
|
-
"integrity": "sha512-hrlQOIi7hAfzsMqlGSFyVucrx38O+j6wiGOf//H2ecvIEqYN4ADBSS2iLMh5UFyDunCNniUIPk/q3riFv45xRA=="
|
|
13
|
-
},
|
|
14
|
-
"@unchainedshop/logger": {
|
|
15
|
-
"version": "1.1.3",
|
|
16
|
-
"resolved": "https://registry.npmjs.org/@unchainedshop/logger/-/logger-1.1.3.tgz",
|
|
17
|
-
"integrity": "sha512-tYQIMhkSRehRTcIG7g04lMsYj+9E5gs+rH4/KLWMGkHOMawwn6Gzy2Q3ecuDBGWoR79zTv6LaHJ4b23pAktzwA=="
|
|
18
|
-
},
|
|
19
|
-
"@unchainedshop/utils": {
|
|
20
|
-
"version": "1.1.3",
|
|
21
|
-
"resolved": "https://registry.npmjs.org/@unchainedshop/utils/-/utils-1.1.3.tgz",
|
|
22
|
-
"integrity": "sha512-5kUVHspX3RQK2dSiV6rr7FEn4VbP94M3EySxkDxH9Ck6WvZd9rVPjJiaOQwAK5ChC6EGdghqOI5D7pJQsuKi7g==",
|
|
23
|
-
"dependencies": {
|
|
24
|
-
"@unchainedshop/logger": {
|
|
25
|
-
"version": "1.1.3",
|
|
26
|
-
"resolved": "https://registry.npmjs.org/@unchainedshop/logger/-/logger-1.1.3.tgz",
|
|
27
|
-
"integrity": "sha512-tYQIMhkSRehRTcIG7g04lMsYj+9E5gs+rH4/KLWMGkHOMawwn6Gzy2Q3ecuDBGWoR79zTv6LaHJ4b23pAktzwA=="
|
|
28
|
-
},
|
|
29
|
-
"lru-cache": {
|
|
30
|
-
"version": "7.10.2",
|
|
31
|
-
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.10.2.tgz",
|
|
32
|
-
"integrity": "sha512-9zDbhgmXAUvUMPV81A705K3tVzcPiZL3Bf5/5JC/FjYJlLZ5AJCeqIRFHJqyBppiLosqF+uKB7p8/RDXylqBIw=="
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
"abort-controller": {
|
|
37
|
-
"version": "3.0.0",
|
|
38
|
-
"resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz",
|
|
39
|
-
"integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg=="
|
|
40
|
-
},
|
|
41
|
-
"accounting": {
|
|
42
|
-
"version": "0.4.1",
|
|
43
|
-
"resolved": "https://registry.npmjs.org/accounting/-/accounting-0.4.1.tgz",
|
|
44
|
-
"integrity": "sha512-RU6KY9Y5wllyaCNBo1W11ZOTnTHMMgOZkIwdOOs6W5ibMTp72i4xIbEA48djxVGqMNTUNbvrP/1nWg5Af5m2gQ=="
|
|
45
|
-
},
|
|
46
|
-
"async": {
|
|
47
|
-
"version": "3.2.4",
|
|
48
|
-
"resolved": "https://registry.npmjs.org/async/-/async-3.2.4.tgz",
|
|
49
|
-
"integrity": "sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ=="
|
|
50
|
-
},
|
|
51
|
-
"base64-js": {
|
|
52
|
-
"version": "1.5.1",
|
|
53
|
-
"resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz",
|
|
54
|
-
"integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA=="
|
|
55
|
-
},
|
|
56
|
-
"bson": {
|
|
57
|
-
"version": "4.6.4",
|
|
58
|
-
"resolved": "https://registry.npmjs.org/bson/-/bson-4.6.4.tgz",
|
|
59
|
-
"integrity": "sha512-TdQ3FzguAu5HKPPlr0kYQCyrYUYh8tFM+CMTpxjNzVzxeiJY00Rtuj3LXLHSgiGvmaWlZ8PE+4KyM2thqE38pQ=="
|
|
60
|
-
},
|
|
61
|
-
"buffer": {
|
|
62
|
-
"version": "5.7.1",
|
|
63
|
-
"resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz",
|
|
64
|
-
"integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ=="
|
|
65
|
-
},
|
|
66
|
-
"clone": {
|
|
67
|
-
"version": "2.1.2",
|
|
68
|
-
"resolved": "https://registry.npmjs.org/clone/-/clone-2.1.2.tgz",
|
|
69
|
-
"integrity": "sha512-3Pe/CF1Nn94hyhIYpjtiLhdCoEoz0DqQ+988E9gmeEdQZlojxnOb74wctFyuwWQHzqyf9X7C7MG8juUpqBJT8w=="
|
|
70
|
-
},
|
|
71
|
-
"color": {
|
|
72
|
-
"version": "3.2.1",
|
|
73
|
-
"resolved": "https://registry.npmjs.org/color/-/color-3.2.1.tgz",
|
|
74
|
-
"integrity": "sha512-aBl7dZI9ENN6fUGC7mWpMTPNHmWUSNan9tuWN6ahh5ZLNk9baLJOnSMlrQkHcrfFgz2/RigjUVAjdx36VcemKA=="
|
|
75
|
-
},
|
|
76
|
-
"color-convert": {
|
|
77
|
-
"version": "1.9.3",
|
|
78
|
-
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
|
|
79
|
-
"integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg=="
|
|
80
|
-
},
|
|
81
|
-
"color-name": {
|
|
82
|
-
"version": "1.1.3",
|
|
83
|
-
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
|
|
84
|
-
"integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw=="
|
|
85
|
-
},
|
|
86
|
-
"color-string": {
|
|
87
|
-
"version": "1.9.1",
|
|
88
|
-
"resolved": "https://registry.npmjs.org/color-string/-/color-string-1.9.1.tgz",
|
|
89
|
-
"integrity": "sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg=="
|
|
90
|
-
},
|
|
91
|
-
"colorspace": {
|
|
92
|
-
"version": "1.1.4",
|
|
93
|
-
"resolved": "https://registry.npmjs.org/colorspace/-/colorspace-1.1.4.tgz",
|
|
94
|
-
"integrity": "sha512-BgvKJiuVu1igBUF2kEjRCZXol6wiiGbY5ipL/oVPwm0BL9sIpMIzM8IK7vwuxIIzOXMV3Ey5w+vxhm0rR/TN8w=="
|
|
95
|
-
},
|
|
96
|
-
"dataloader": {
|
|
97
|
-
"version": "2.0.0",
|
|
98
|
-
"resolved": "https://registry.npmjs.org/dataloader/-/dataloader-2.0.0.tgz",
|
|
99
|
-
"integrity": "sha512-YzhyDAwA4TaQIhM5go+vCLmU0UikghC/t9DTQYZR2M/UvZ1MdOhPezSDZcjj9uqQJOMqjLcpWtyW2iNINdlatQ=="
|
|
100
|
-
},
|
|
101
|
-
"enabled": {
|
|
102
|
-
"version": "2.0.0",
|
|
103
|
-
"resolved": "https://registry.npmjs.org/enabled/-/enabled-2.0.0.tgz",
|
|
104
|
-
"integrity": "sha512-AKrN98kuwOzMIdAizXGI86UFBoo26CL21UM763y1h/GMSJ4/OHU9k2YlsmBpyScFo/wbLzWQJBMCW4+IO3/+OQ=="
|
|
105
|
-
},
|
|
106
|
-
"event-target-shim": {
|
|
107
|
-
"version": "5.0.1",
|
|
108
|
-
"resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz",
|
|
109
|
-
"integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ=="
|
|
110
|
-
},
|
|
111
|
-
"fecha": {
|
|
112
|
-
"version": "4.2.3",
|
|
113
|
-
"resolved": "https://registry.npmjs.org/fecha/-/fecha-4.2.3.tgz",
|
|
114
|
-
"integrity": "sha512-OP2IUU6HeYKJi3i0z4A19kHMQoLVs4Hc+DPqqxI2h/DPZHTm/vjsfC6P0b4jCMy14XizLBqvndQ+UilD7707Jw=="
|
|
115
|
-
},
|
|
116
|
-
"fn.name": {
|
|
117
|
-
"version": "1.1.0",
|
|
118
|
-
"resolved": "https://registry.npmjs.org/fn.name/-/fn.name-1.1.0.tgz",
|
|
119
|
-
"integrity": "sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw=="
|
|
120
|
-
},
|
|
121
|
-
"hashids": {
|
|
122
|
-
"version": "2.2.10",
|
|
123
|
-
"resolved": "https://registry.npmjs.org/hashids/-/hashids-2.2.10.tgz",
|
|
124
|
-
"integrity": "sha512-nXnYums7F8B5Y+GSThutLPlKMaamW1yjWNZVt0WModiJfdjaDZHnhYTWblS+h1OoBx3yjwiBwxldPP3nIbFSSA=="
|
|
125
|
-
},
|
|
126
|
-
"ieee754": {
|
|
127
|
-
"version": "1.2.1",
|
|
128
|
-
"resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz",
|
|
129
|
-
"integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA=="
|
|
130
|
-
},
|
|
131
|
-
"inherits": {
|
|
132
|
-
"version": "2.0.4",
|
|
133
|
-
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
|
|
134
|
-
"integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
|
|
135
|
-
},
|
|
136
|
-
"is-arrayish": {
|
|
137
|
-
"version": "0.3.2",
|
|
138
|
-
"resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz",
|
|
139
|
-
"integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ=="
|
|
140
|
-
},
|
|
141
|
-
"is-stream": {
|
|
142
|
-
"version": "2.0.1",
|
|
143
|
-
"resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz",
|
|
144
|
-
"integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg=="
|
|
145
|
-
},
|
|
146
|
-
"kuler": {
|
|
147
|
-
"version": "2.0.0",
|
|
148
|
-
"resolved": "https://registry.npmjs.org/kuler/-/kuler-2.0.0.tgz",
|
|
149
|
-
"integrity": "sha512-Xq9nH7KlWZmXAtodXDDRE7vs6DU1gTU8zYDHDiWLSip45Egwq3plLHzPn27NgvzL2r1LMPC1vdqh98sQxtqj4A=="
|
|
150
|
-
},
|
|
151
|
-
"locale": {
|
|
152
|
-
"version": "0.1.0",
|
|
153
|
-
"resolved": "https://registry.npmjs.org/locale/-/locale-0.1.0.tgz",
|
|
154
|
-
"integrity": "sha512-rY3ZMnUkMfaZEix1fp/pjdwsHJkDQcE0UEcXHuYI77J03K8gddL3iD+UuJCLAmT2Z2oz5A70/0QS4J9OLCCvXw=="
|
|
155
|
-
},
|
|
156
|
-
"lodash._reinterpolate": {
|
|
157
|
-
"version": "3.0.0",
|
|
158
|
-
"resolved": "https://registry.npmjs.org/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz",
|
|
159
|
-
"integrity": "sha512-xYHt68QRoYGjeeM/XOE1uJtvXQAgvszfBhjV4yvsQH0u2i9I6cI6c6/eG4Hh3UAOVn0y/xAXwmTzEay49Q//HA=="
|
|
160
|
-
},
|
|
161
|
-
"lodash.template": {
|
|
162
|
-
"version": "4.5.0",
|
|
163
|
-
"resolved": "https://registry.npmjs.org/lodash.template/-/lodash.template-4.5.0.tgz",
|
|
164
|
-
"integrity": "sha512-84vYFxIkmidUiFxidA/KjjH9pAycqW+h980j7Fuz5qxRtO9pgB7MDFTdys1N7A5mcucRiDyEq4fusljItR1T/A=="
|
|
165
|
-
},
|
|
166
|
-
"lodash.templatesettings": {
|
|
167
|
-
"version": "4.2.0",
|
|
168
|
-
"resolved": "https://registry.npmjs.org/lodash.templatesettings/-/lodash.templatesettings-4.2.0.tgz",
|
|
169
|
-
"integrity": "sha512-stgLz+i3Aa9mZgnjr/O+v9ruKZsPsndy7qPZOchbqk2cnTU1ZaldKK+v7m54WoKIyxiuMZTKT2H81F8BeAc3ZQ=="
|
|
170
|
-
},
|
|
171
|
-
"logform": {
|
|
172
|
-
"version": "2.4.1",
|
|
173
|
-
"resolved": "https://registry.npmjs.org/logform/-/logform-2.4.1.tgz",
|
|
174
|
-
"integrity": "sha512-7XB/tqc3VRbri9pRjU6E97mQ8vC27ivJ3lct4jhyT+n0JNDd4YKldFl0D75NqDp46hk8RC7Ma1Vjv/UPf67S+A=="
|
|
175
|
-
},
|
|
176
|
-
"lru-cache": {
|
|
177
|
-
"version": "7.7.0",
|
|
178
|
-
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.7.0.tgz",
|
|
179
|
-
"integrity": "sha512-3W9Irr9YR2ZHJbfRr/hj8VtzqH7DugwWyHONyDByP6PLS/YJV7GTX5dDYS+qFe/LkVfnCjtk6vkVsxxKGol6jQ=="
|
|
180
|
-
},
|
|
181
|
-
"message-box": {
|
|
182
|
-
"version": "0.2.7",
|
|
183
|
-
"resolved": "https://registry.npmjs.org/message-box/-/message-box-0.2.7.tgz",
|
|
184
|
-
"integrity": "sha512-C4ccA5nHb58kTS+pLrgF/JWtr7fAIkHxRDceH7tdy5fMA783nUfbYwZ7H2XLvSeYfcnWIYCig5dWW+icK9X/Ag=="
|
|
185
|
-
},
|
|
186
|
-
"mongo-object": {
|
|
187
|
-
"version": "0.1.4",
|
|
188
|
-
"resolved": "https://registry.npmjs.org/mongo-object/-/mongo-object-0.1.4.tgz",
|
|
189
|
-
"integrity": "sha512-QtYk0gupWEn2+iB+DDRt1L+WbcNYvJRaHdih/dcqthOa1DbnREUGSs2WGcW478GNYpElflo/yybZXu0sTiRXHg=="
|
|
190
|
-
},
|
|
191
|
-
"ms": {
|
|
192
|
-
"version": "2.1.3",
|
|
193
|
-
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
|
|
194
|
-
"integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="
|
|
195
|
-
},
|
|
196
|
-
"one-time": {
|
|
197
|
-
"version": "1.0.0",
|
|
198
|
-
"resolved": "https://registry.npmjs.org/one-time/-/one-time-1.0.0.tgz",
|
|
199
|
-
"integrity": "sha512-5DXOiRKwuSEcQ/l0kGCF6Q3jcADFv5tSmRaJck/OqkVFcOzutB134KRSfF0xDrL39MNnqxbHBbUUcjZIhTgb2g=="
|
|
200
|
-
},
|
|
201
|
-
"readable-stream": {
|
|
202
|
-
"version": "3.6.0",
|
|
203
|
-
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
|
|
204
|
-
"integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA=="
|
|
205
|
-
},
|
|
206
|
-
"safe-buffer": {
|
|
207
|
-
"version": "5.2.1",
|
|
208
|
-
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
|
|
209
|
-
"integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ=="
|
|
210
|
-
},
|
|
211
|
-
"safe-stable-stringify": {
|
|
212
|
-
"version": "2.3.1",
|
|
213
|
-
"resolved": "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-2.3.1.tgz",
|
|
214
|
-
"integrity": "sha512-kYBSfT+troD9cDA85VDnHZ1rpHC50O0g1e6WlGHVCz/g+JS+9WKLj+XwFYyR8UbrZN8ll9HUpDAAddY58MGisg=="
|
|
215
|
-
},
|
|
216
|
-
"simpl-schema": {
|
|
217
|
-
"version": "1.12.2",
|
|
218
|
-
"resolved": "https://registry.npmjs.org/simpl-schema/-/simpl-schema-1.12.2.tgz",
|
|
219
|
-
"integrity": "sha512-FaisAjfJEt7Ie7K39wNqb/0F7FQ1q7yXmZcNa5JEBiPA9hIt4MpWMouL9mLqNB89alGpZAEiU7U9BelDxRqCVg=="
|
|
220
|
-
},
|
|
221
|
-
"simple-swizzle": {
|
|
222
|
-
"version": "0.2.2",
|
|
223
|
-
"resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz",
|
|
224
|
-
"integrity": "sha512-JA//kQgZtbuY83m+xT+tXJkmJncGMTFT+C+g2h2R9uxkYIrE2yy9sgmcLhCnw57/WSD+Eh3J97FPEDFnbXnDUg=="
|
|
225
|
-
},
|
|
226
|
-
"stack-trace": {
|
|
227
|
-
"version": "0.0.10",
|
|
228
|
-
"resolved": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.10.tgz",
|
|
229
|
-
"integrity": "sha512-KGzahc7puUKkzyMt+IqAep+TVNbKP+k2Lmwhub39m1AsTSkaDutx56aDCo+HLDzf/D26BIHTJWNiTG1KAJiQCg=="
|
|
230
|
-
},
|
|
231
|
-
"string_decoder": {
|
|
232
|
-
"version": "1.3.0",
|
|
233
|
-
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz",
|
|
234
|
-
"integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA=="
|
|
235
|
-
},
|
|
236
|
-
"text-hex": {
|
|
237
|
-
"version": "1.0.0",
|
|
238
|
-
"resolved": "https://registry.npmjs.org/text-hex/-/text-hex-1.0.0.tgz",
|
|
239
|
-
"integrity": "sha512-uuVGNWzgJ4yhRaNSiubPY7OjISw4sw4E5Uv0wbjp+OzcbmVU/rsT8ujgcXJhn9ypzsgr5vlzpPqP+MBBKcGvbg=="
|
|
240
|
-
},
|
|
241
|
-
"triple-beam": {
|
|
242
|
-
"version": "1.3.0",
|
|
243
|
-
"resolved": "https://registry.npmjs.org/triple-beam/-/triple-beam-1.3.0.tgz",
|
|
244
|
-
"integrity": "sha512-XrHUvV5HpdLmIj4uVMxHggLbFSZYIn7HEWsqePZcI50pco+MPqJ50wMGY794X7AOOhxOBAjbkqfAbEe/QMp2Lw=="
|
|
245
|
-
},
|
|
246
|
-
"util-deprecate": {
|
|
247
|
-
"version": "1.0.2",
|
|
248
|
-
"resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
|
|
249
|
-
"integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw=="
|
|
250
|
-
},
|
|
251
|
-
"winston": {
|
|
252
|
-
"version": "3.8.0",
|
|
253
|
-
"resolved": "https://registry.npmjs.org/winston/-/winston-3.8.0.tgz",
|
|
254
|
-
"integrity": "sha512-Iix1w8rIq2kBDkGvclO0db2CVOHYVamCIkVWcUbs567G9i2pdB+gvqLgDgxx4B4HXHYD6U4Zybh6ojepUOqcFQ=="
|
|
255
|
-
},
|
|
256
|
-
"winston-transport": {
|
|
257
|
-
"version": "4.5.0",
|
|
258
|
-
"resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.5.0.tgz",
|
|
259
|
-
"integrity": "sha512-YpZzcUzBedhlTAfJg6vJDlyEai/IFMIVcaEZZyl3UXIl4gmqRpU7AE89AHLkbzLUsv0NVmw7ts+iztqKxxPW1Q=="
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
|
-
}
|
package/.versions
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
babel-compiler@7.9.0
|
|
2
|
-
babel-runtime@1.5.1
|
|
3
|
-
base64@1.0.12
|
|
4
|
-
boilerplate-generator@1.7.1
|
|
5
|
-
callback-hook@1.4.0
|
|
6
|
-
check@1.3.1
|
|
7
|
-
dynamic-import@0.7.2
|
|
8
|
-
ecmascript@0.16.2
|
|
9
|
-
ecmascript-runtime@0.8.0
|
|
10
|
-
ecmascript-runtime-client@0.12.1
|
|
11
|
-
ecmascript-runtime-server@0.11.0
|
|
12
|
-
ejson@1.1.2
|
|
13
|
-
fetch@0.1.1
|
|
14
|
-
inter-process-messaging@0.1.1
|
|
15
|
-
logging@1.3.1
|
|
16
|
-
meteor@1.10.0
|
|
17
|
-
modern-browsers@0.1.8
|
|
18
|
-
modules@0.18.0
|
|
19
|
-
modules-runtime@0.13.0
|
|
20
|
-
promise@0.12.0
|
|
21
|
-
react-fast-refresh@0.2.3
|
|
22
|
-
routepolicy@1.1.1
|
|
23
|
-
typescript@4.5.4
|
|
24
|
-
unchained:api@1.1.2
|
|
25
|
-
underscore@1.0.10
|
|
26
|
-
webapp@1.13.1
|
|
27
|
-
webapp-hashing@1.1.0
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { Context, Root } from '@unchainedshop/types/api';
|
|
2
|
-
import { DeliveryProviderType } from '@unchainedshop/types/delivery';
|
|
3
|
-
export default function deliveryInterfaces(root: Root, { type }: {
|
|
4
|
-
type: DeliveryProviderType;
|
|
5
|
-
}, { modules, userId }: Context): import("@unchainedshop/types/delivery").DeliveryInterface[];
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { PaymentProviderType } from '@unchainedshop/types/payments';
|
|
2
|
-
import { Context, Root } from '@unchainedshop/types/api';
|
|
3
|
-
export default function paymentInterfaces(root: Root, { type }: {
|
|
4
|
-
type: PaymentProviderType;
|
|
5
|
-
}, { modules, userId }: Context): Promise<import("@unchainedshop/types/payments").PaymentInterface[]>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { Context, Root } from '@unchainedshop/types/api';
|
|
2
|
-
import { WarehousingProviderType } from '@unchainedshop/types/warehousing';
|
|
3
|
-
export default function warehousingInterfaces(root: Root, params: {
|
|
4
|
-
type: WarehousingProviderType;
|
|
5
|
-
}, { modules, userId }: Context): Promise<import("@unchainedshop/types/warehousing").WarehousingInterface[]>;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Root, Context, SortOption } from '@unchainedshop/types/api';
|
|
2
|
-
import { WorkStatus } from '@unchainedshop/types/worker';
|
|
3
|
-
export default function workers(root: Root, { limit, offset, status, types, created, queryString, sort, }: {
|
|
4
|
-
limit?: number;
|
|
5
|
-
offset?: number;
|
|
6
|
-
queryString?: string;
|
|
7
|
-
status?: Array<WorkStatus>;
|
|
8
|
-
types?: Array<string>;
|
|
9
|
-
created?: {
|
|
10
|
-
start: Date;
|
|
11
|
-
end: Date;
|
|
12
|
-
};
|
|
13
|
-
sort?: Array<SortOption>;
|
|
14
|
-
}, { modules, userId }: Context): Promise<import("@unchainedshop/types/worker").Work[]>;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { Context } from '@unchainedshop/types/api';
|
|
2
|
-
import { DeliveryError, DeliveryProvider as DeliveryProviderType } from '@unchainedshop/types/delivery';
|
|
3
|
-
declare type HelperType<P, T> = (provider: DeliveryProviderType, params: P, context: Context) => T;
|
|
4
|
-
export interface DeliveryProviderHelperTypes {
|
|
5
|
-
interface: HelperType<never, {
|
|
6
|
-
_id: string;
|
|
7
|
-
label: string;
|
|
8
|
-
version: string;
|
|
9
|
-
}>;
|
|
10
|
-
isActive: HelperType<void, Promise<boolean>>;
|
|
11
|
-
configurationError: HelperType<never, Promise<DeliveryError>>;
|
|
12
|
-
simulatedPrice: HelperType<{
|
|
13
|
-
currency?: string;
|
|
14
|
-
orderId: string;
|
|
15
|
-
useNetPrice?: boolean;
|
|
16
|
-
context: any;
|
|
17
|
-
}, Promise<{
|
|
18
|
-
_id: string;
|
|
19
|
-
amount: number;
|
|
20
|
-
currencyCode: string;
|
|
21
|
-
countryCode: string;
|
|
22
|
-
isTaxable: boolean;
|
|
23
|
-
isNetPrice: boolean;
|
|
24
|
-
}>>;
|
|
25
|
-
}
|
|
26
|
-
export declare const DeliveryProvider: DeliveryProviderHelperTypes;
|
|
27
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Context } from '@unchainedshop/types/api';
|
|
2
|
-
import { PaymentError, PaymentProvider as PaymentProviderType } from '@unchainedshop/types/payments';
|
|
3
|
-
export interface PaymentProviderHelperTypes {
|
|
4
|
-
interface: (provider: PaymentProviderType, _: never, context: Context) => {
|
|
5
|
-
_id: string;
|
|
6
|
-
label: string;
|
|
7
|
-
version: string;
|
|
8
|
-
};
|
|
9
|
-
isActive: (provider: PaymentProviderType, _: never, context: Context) => Promise<boolean>;
|
|
10
|
-
configurationError: (provider: PaymentProviderType, _: never, context: Context) => Promise<PaymentError>;
|
|
11
|
-
}
|
|
12
|
-
export declare const PaymentProvider: PaymentProviderHelperTypes;
|
package/package.js
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
Package.describe({
|
|
2
|
-
name: 'unchained:api',
|
|
3
|
-
version: '1.1.3',
|
|
4
|
-
summary: 'Unchained Engine: GraphQL API',
|
|
5
|
-
git: 'https://github.com/unchainedshop/unchained',
|
|
6
|
-
documentation: 'README.md',
|
|
7
|
-
});
|
|
8
|
-
|
|
9
|
-
Npm.depends({
|
|
10
|
-
accounting: '0.4.1',
|
|
11
|
-
'lru-cache': '7.7.0',
|
|
12
|
-
'abort-controller': '3.0.0',
|
|
13
|
-
dataloader: '2.0.0',
|
|
14
|
-
locale: '0.1.0',
|
|
15
|
-
'@unchainedshop/logger': '1.1.3',
|
|
16
|
-
'@unchainedshop/utils': '1.1.3',
|
|
17
|
-
// '@unchainedshop/roles': '1.1.3', // PEER
|
|
18
|
-
// '@unchainedshop/events': '1.1.4', // PEER
|
|
19
|
-
// '@unchainedshop/core': '1.1.3', // PEER
|
|
20
|
-
// 'graphql-scalars': '1.9.0', // needs to be peer dep!
|
|
21
|
-
// graphql peer dep
|
|
22
|
-
// apollo-server-express peer dep
|
|
23
|
-
});
|
|
24
|
-
|
|
25
|
-
Package.onUse((api) => {
|
|
26
|
-
api.versionsFrom('2.7.3');
|
|
27
|
-
|
|
28
|
-
api.use('ecmascript');
|
|
29
|
-
api.use('webapp');
|
|
30
|
-
api.use('typescript');
|
|
31
|
-
|
|
32
|
-
api.mainModule('src/api-index.ts', 'server');
|
|
33
|
-
});
|