npm-pkg-hook 1.13.0 → 1.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +8 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +8 -2
- package/.babelrc +0 -0
- package/.github/pull_request_template.md +0 -18
- package/.github/workflows/pepeline.yaml +0 -30
- package/eslint.config.mts +0 -153
- package/expire.json +0 -1
- package/jsconfig.json +0 -28
- package/script.txt +0 -7
- package/src/config/client/errors.ts +0 -39
- package/src/config/client/index.ts +0 -1
- package/src/config/content/en.json +0 -5
- package/src/config/content/es.json +0 -5
- package/src/config/content/index.ts +0 -16
- package/src/cookies/index.ts +0 -3
- package/src/hooks/addTenMinutes/index.ts +0 -14
- package/src/hooks/calculateLogLatHaversine/index.ts +0 -41
- package/src/hooks/completeSchedules/index.ts +0 -22
- package/src/hooks/convertToMilitaryTime/index.ts +0 -18
- package/src/hooks/generateStoreURL/index.ts +0 -41
- package/src/hooks/generateTemplate/index.ts +0 -66
- package/src/hooks/getCardType/index.ts +0 -24
- package/src/hooks/getCategoriesWithProduct/helpers/index.ts +0 -7
- package/src/hooks/getCategoriesWithProduct/index.ts +0 -62
- package/src/hooks/getGlobalSession/index.ts +0 -69
- package/src/hooks/getSession/index.ts +0 -72
- package/src/hooks/getTodayTimestamps/index.ts +0 -70
- package/src/hooks/getTotalHours/index.ts +0 -76
- package/src/hooks/handleLogin/index.ts +0 -14
- package/src/hooks/index.ts +0 -154
- package/src/hooks/isTokenExpired/index.ts +0 -17
- package/src/hooks/newMessageSubscription/index.ts +0 -28
- package/src/hooks/newStoreOrderSubscription/index.ts +0 -26
- package/src/hooks/statusOpenStores/helpers/index.ts +0 -124
- package/src/hooks/statusOpenStores/index.ts +0 -221
- package/src/hooks/updateExtProductFoodsOptional/index.ts +0 -49
- package/src/hooks/useAcumulateDate/index.ts +0 -18
- package/src/hooks/useAllStoresPendingToRegister/index.ts +0 -37
- package/src/hooks/useAmountInput/index.ts +0 -127
- package/src/hooks/useAnimationFrame/index.ts +0 -45
- package/src/hooks/useAnimationText/index.ts +0 -31
- package/src/hooks/useAsideCart/helpers/index.ts +0 -22
- package/src/hooks/useAsideCart/index.ts +0 -217
- package/src/hooks/useAsideCart/queries.ts +0 -10
- package/src/hooks/useBanner/index.ts +0 -20
- package/src/hooks/useCart/index.ts +0 -2
- package/src/hooks/useCart/queries.ts +0 -174
- package/src/hooks/useCart/useCart/helpers/index.ts +0 -79
- package/src/hooks/useCart/useCart/index.ts +0 -424
- package/src/hooks/useCart/useGetCart/index.ts +0 -34
- package/src/hooks/useCatWithProduct/index.ts +0 -54
- package/src/hooks/useCatWithProduct/queries.ts +0 -200
- package/src/hooks/useCatWithProduct/types/index.ts +0 -104
- package/src/hooks/useCatWithProductClient/index.ts +0 -57
- package/src/hooks/useCatWithProductClient/queries.ts +0 -56
- package/src/hooks/useCategoriesProduct/index.ts +0 -14
- package/src/hooks/useCategoriesProduct/queries.ts +0 -16
- package/src/hooks/useCategoryInStore/index.ts +0 -167
- package/src/hooks/useCategoryInStore/queries.ts +0 -78
- package/src/hooks/useCategoryStore/index.ts +0 -8
- package/src/hooks/useCategoryStore/queries.ts +0 -16
- package/src/hooks/useChartData/index.ts +0 -171
- package/src/hooks/useChartData/useChartData/index.ts +0 -200
- package/src/hooks/useChartData/useChartDataAllOrders/index.ts +0 -94
- package/src/hooks/useChatRoomSubscription/index.ts +0 -28
- package/src/hooks/useCheckbox/index.ts +0 -115
- package/src/hooks/useCities/index.ts +0 -14
- package/src/hooks/useCities/queries.ts +0 -12
- package/src/hooks/useClients/index.ts +0 -97
- package/src/hooks/useClients/queries.ts +0 -215
- package/src/hooks/useColorByLetters/helpers/alea.ts +0 -73
- package/src/hooks/useColorByLetters/helpers/colors.ts +0 -45
- package/src/hooks/useColorByLetters/helpers/index.ts +0 -24
- package/src/hooks/useColorByLetters/helpers/mersenne_twister.ts +0 -118
- package/src/hooks/useColorByLetters/index.ts +0 -24
- package/src/hooks/useConnection/index.ts +0 -24
- package/src/hooks/useCountries/index.ts +0 -20
- package/src/hooks/useCountries/queries.ts +0 -12
- package/src/hooks/useCreateDeliveryTime/index.ts +0 -51
- package/src/hooks/useCreateOrderStatusType/index.ts +0 -134
- package/src/hooks/useCreateProduct/helpers/index.ts +0 -23
- package/src/hooks/useCreateProduct/helpers/manageCacheDataCatProduct/index.ts +0 -52
- package/src/hooks/useCreateProduct/helpers/useEditImageProduct/index.ts +0 -182
- package/src/hooks/useCreateProduct/index.ts +0 -337
- package/src/hooks/useCreateStorePendingToRegister/index.ts +0 -17
- package/src/hooks/useCreateStorePendingToRegister/queries.ts +0 -10
- package/src/hooks/useDashboardComponents/index.ts +0 -50
- package/src/hooks/useDeleteExtraProductFoods/index.ts +0 -13
- package/src/hooks/useDeleteSubProductOptional/index.ts +0 -32
- package/src/hooks/useDeleteSubProductOptional/queries.ts +0 -10
- package/src/hooks/useDeliveryTime/index.ts +0 -29
- package/src/hooks/useDepartments/index.ts +0 -14
- package/src/hooks/useDepartments/queries.ts +0 -13
- package/src/hooks/useDessert/helpers/index.ts +0 -51
- package/src/hooks/useDessert/index.ts +0 -529
- package/src/hooks/useDessertWithPrice/helpers/index.ts +0 -76
- package/src/hooks/useDessertWithPrice/index.ts +0 -381
- package/src/hooks/useDessertWithPrice/queries.ts +0 -18
- package/src/hooks/useDevWS/index.ts +0 -53
- package/src/hooks/useDevices/index.ts +0 -2
- package/src/hooks/useDevices/queries.ts +0 -28
- package/src/hooks/useDevices/useGetDevices.ts +0 -28
- package/src/hooks/useDevices/useRegisterDevices.ts +0 -75
- package/src/hooks/useDownloadReports/helpers/downloadFileFromResponse.ts +0 -21
- package/src/hooks/useDownloadReports/index.ts +0 -2
- package/src/hooks/useDownloadReports/useDownloadReportByDay/index.ts +0 -105
- package/src/hooks/useDownloadReports/useGetReportByDateRange/index.ts +0 -116
- package/src/hooks/useDrag/index.ts +0 -79
- package/src/hooks/useDropzone/index.ts +0 -94
- package/src/hooks/useDynamicAuth/index.ts +0 -14
- package/src/hooks/useDynamicAuth/queries.ts +0 -24
- package/src/hooks/useEditCategory/index.ts +0 -41
- package/src/hooks/useEditOneExtProductFoodOptional/index.ts +0 -28
- package/src/hooks/useEditOneExtProductFoodOptional/queries.ts +0 -16
- package/src/hooks/useEditSubProductOptional/index.ts +0 -12
- package/src/hooks/useEditSubProductOptional/queries.ts +0 -10
- package/src/hooks/useEmployee/index.ts +0 -18
- package/src/hooks/useEmployee/queries.ts +0 -85
- package/src/hooks/useEmployee/useCreateEmployee.ts +0 -90
- package/src/hooks/useEvent/index.ts +0 -34
- package/src/hooks/useFavoriteStores/index.ts +0 -31
- package/src/hooks/useFavoriteStores/queries.ts +0 -54
- package/src/hooks/useFetchJson/index.ts +0 -25
- package/src/hooks/useFetchMoreInteractions/index.jsx +0 -39
- package/src/hooks/useFilterConfigs/index.ts +0 -173
- package/src/hooks/useFingerprintjs/index.ts +0 -197
- package/src/hooks/useFormTools/index.ts +0 -143
- package/src/hooks/useFormatDate/index.ts +0 -91
- package/src/hooks/useFormatNumberPhone/index.ts +0 -23
- package/src/hooks/useFullScreenMode/index.ts +0 -61
- package/src/hooks/useGenerateNumberArray/index.ts +0 -17
- package/src/hooks/useGetAllLocationUser/index.ts +0 -13
- package/src/hooks/useGetAllLocationUser/queries.ts +0 -44
- package/src/hooks/useGetAllSales/index.ts +0 -26
- package/src/hooks/useGetCookies/index.ts +0 -43
- package/src/hooks/useGetExtProductFoodsSubOptionalAll/index.ts +0 -15
- package/src/hooks/useGetFoodRecomended/index.ts +0 -33
- package/src/hooks/useGetFoodRecomended/queries.ts +0 -47
- package/src/hooks/useGetMessagesToRoom/index.ts +0 -23
- package/src/hooks/useGetMinPrice/index.ts +0 -13
- package/src/hooks/useGetMinPrice/queries.ts +0 -7
- package/src/hooks/useGetOneStoreRating/index.ts +0 -41
- package/src/hooks/useGetOneStoreRating/queries.ts +0 -18
- package/src/hooks/useGetSalesAmountToday/index.ts +0 -31
- package/src/hooks/useGetStoreCookie/index.ts +0 -21
- package/src/hooks/useGoogleLogin/index.ts +0 -169
- package/src/hooks/useGoogleLogin/loadScript.ts +0 -15
- package/src/hooks/useGoogleLogin/removeScript.ts +0 -7
- package/src/hooks/useHover/index.ts +0 -32
- package/src/hooks/useImageOptimization/index.ts +0 -32
- package/src/hooks/useImageUploaderProduct/helper/canvasUtils.ts +0 -146
- package/src/hooks/useImageUploaderProduct/helper/getOrientation.ts +0 -54
- package/src/hooks/useImageUploaderProduct/helper/index.ts +0 -5
- package/src/hooks/useImageUploaderProduct/index.ts +0 -295
- package/src/hooks/useImageWeight/index.ts +0 -55
- package/src/hooks/useImagesStore/index.ts +0 -227
- package/src/hooks/useImagesStore/queries.ts +0 -193
- package/src/hooks/useImagesStore/utils/index.ts +0 -4
- package/src/hooks/useIncomingOrders/index.ts +0 -11
- package/src/hooks/useIncomingOrders/queries.ts +0 -87
- package/src/hooks/useInnerHtml/index.ts +0 -39
- package/src/hooks/useIntersection/index.ts +0 -84
- package/src/hooks/useInventory/index.ts +0 -2
- package/src/hooks/useInventory/queries.ts +0 -58
- package/src/hooks/useInventory/useGetProductsInStock.ts +0 -16
- package/src/hooks/useInventory/useUpdateManageStock.ts +0 -41
- package/src/hooks/useKeypress/index.ts +0 -28
- package/src/hooks/useLazyScript/index.ts +0 -74
- package/src/hooks/useLocalBackendIp/index.ts +0 -34
- package/src/hooks/useLocalSorage/index.ts +0 -36
- package/src/hooks/useLocationManager/index.ts +0 -63
- package/src/hooks/useLocationNavigate/index.ts +0 -54
- package/src/hooks/useLoginEmployeeInStore/index.ts +0 -38
- package/src/hooks/useLogout/helpers/BroadcastChannel.ts +0 -74
- package/src/hooks/useLogout/helpers/apiBaseUrl.ts +0 -12
- package/src/hooks/useLogout/helpers/fetchData.ts +0 -37
- package/src/hooks/useLogout/helpers/getCsrfToken.ts +0 -37
- package/src/hooks/useLogout/helpers/index.ts +0 -65
- package/src/hooks/useLogout/helpers/logger.ts +0 -88
- package/src/hooks/useLogout/helpers/parseUrl.ts +0 -39
- package/src/hooks/useLogout/index.ts +0 -105
- package/src/hooks/useManageNewOrder/helpers/index.ts +0 -45
- package/src/hooks/useManageNewOrder/helpers/mock.ts +0 -0
- package/src/hooks/useManageNewOrder/index.ts +0 -104
- package/src/hooks/useManageQueryParams/index.ts +0 -120
- package/src/hooks/useMobile/index.ts +0 -65
- package/src/hooks/useModules/helpers/index.ts +0 -1
- package/src/hooks/useModules/helpers/validateModules.ts +0 -43
- package/src/hooks/useModules/index.ts +0 -124
- package/src/hooks/useMouse/index.ts +0 -55
- package/src/hooks/useMutateHeight/index.ts +0 -36
- package/src/hooks/useOrderClient/index.ts +0 -5
- package/src/hooks/useOrderStatusTypes/index.ts +0 -2
- package/src/hooks/useOrderStatusTypes/useOrderStatusTypes/index.ts +0 -133
- package/src/hooks/useOrderStatusTypes/useUpdateOrderStatusPriorities/index.ts +0 -99
- package/src/hooks/useOrders/index.ts +0 -3
- package/src/hooks/useOrders/queries.ts +0 -99
- package/src/hooks/useOrders/useChangeOrderState/index.ts +0 -128
- package/src/hooks/useOrders/useOrdersFromStore/index.ts +0 -77
- package/src/hooks/usePWAInstall/index.ts +0 -38
- package/src/hooks/usePaymentMethod/index.ts +0 -3
- package/src/hooks/usePaymentMethod/paymentMethod.gql.ts +0 -62
- package/src/hooks/usePaymentMethod/paymentMethod.types.ts +0 -28
- package/src/hooks/usePaymentMethod/useCreatePaymentMethod/index.ts +0 -25
- package/src/hooks/usePaymentMethod/useGetAllPaymentMethods/index.ts +0 -19
- package/src/hooks/usePaymentMethod/useGetPaymentMethod/index.ts +0 -26
- package/src/hooks/usePortFetcher/index.ts +0 -33
- package/src/hooks/usePrintSaleTicket/index.ts +0 -68
- package/src/hooks/useProductsFood/index.ts +0 -341
- package/src/hooks/useProductsFood/queriesStore.ts +0 -964
- package/src/hooks/useProductsFood/types/index.ts +0 -0
- package/src/hooks/useProductsFood/useEditProduct.ts +0 -49
- package/src/hooks/useProductsFood/usetagsProducts.ts +0 -101
- package/src/hooks/useProviders/index.ts +0 -3
- package/src/hooks/useProviders/queries.ts +0 -31
- package/src/hooks/useProviders/useProvidersCreateStore/index.ts +0 -13
- package/src/hooks/useProviders/useProvidersDataStore/index.ts +0 -25
- package/src/hooks/useProvidersStore/index.ts +0 -25
- package/src/hooks/useProvidersStore/queries.ts +0 -31
- package/src/hooks/usePushNotificationOrder/index.ts +0 -52
- package/src/hooks/usePushNotifications/helpers/index.ts +0 -123
- package/src/hooks/usePushNotifications/index.ts +0 -150
- package/src/hooks/useQueryLocationsMap/index.ts +0 -20
- package/src/hooks/useQueryLocationsMap/queries.ts +0 -40
- package/src/hooks/useRatingArrayData/index.ts +0 -54
- package/src/hooks/useRatingArrayData/queries.ts +0 -19
- package/src/hooks/useReactToPrint/index.ts +0 -4
- package/src/hooks/useReactToPrint/index.txt +0 -1223
- package/src/hooks/useRemoveExtraProductFoodsOptional/index.ts +0 -24
- package/src/hooks/useRemoveExtraProductFoodsOptional/queries.ts +0 -48
- package/src/hooks/useReport/index.ts +0 -48
- package/src/hooks/useReport/queries.ts +0 -72
- package/src/hooks/useRestaurant/helpers/index.ts +0 -28
- package/src/hooks/useRestaurant/helpers/manageStatusOpen.ts +0 -26
- package/src/hooks/useRestaurant/index.ts +0 -71
- package/src/hooks/useRestaurant/queries.ts +0 -81
- package/src/hooks/useRoads/index.ts +0 -20
- package/src/hooks/useRoads/queries.ts +0 -13
- package/src/hooks/useRoles/index.ts +0 -4
- package/src/hooks/useRoles/queries.ts +0 -70
- package/src/hooks/useRoles/useCreateRole.ts +0 -40
- package/src/hooks/useRoles/useGetRoles.ts +0 -37
- package/src/hooks/useRoles/useRemoveRoles.ts +0 -40
- package/src/hooks/useRoles/useUpdateRolesPriority.ts +0 -44
- package/src/hooks/useSales/helpers/add-product.utils.ts +0 -120
- package/src/hooks/useSales/helpers/apply-discount-to-cart.utils.ts +0 -292
- package/src/hooks/useSales/helpers/comment-product.utils.ts +0 -41
- package/src/hooks/useSales/helpers/constants/index.ts +0 -38
- package/src/hooks/useSales/helpers/extras.utils.ts +0 -42
- package/src/hooks/useSales/helpers/filterProductsByCarProId.utils.ts +0 -17
- package/src/hooks/useSales/helpers/increment-product-quantity.utils.ts +0 -76
- package/src/hooks/useSales/helpers/index.ts +0 -3
- package/src/hooks/useSales/helpers/initializer.utils.ts +0 -22
- package/src/hooks/useSales/helpers/isStockInsufficient.ts +0 -3
- package/src/hooks/useSales/helpers/remove-product.utils.test.ts +0 -49
- package/src/hooks/useSales/helpers/remove-product.utils.ts +0 -34
- package/src/hooks/useSales/helpers/resolveProduct.ts +0 -29
- package/src/hooks/useSales/helpers/useAddToCart.ts +0 -64
- package/src/hooks/useSales/index.ts +0 -1418
- package/src/hooks/useSales/queries.ts +0 -532
- package/src/hooks/useSales/types/index.ts +0 -206
- package/src/hooks/useSales/types/use-sales.types.ts +0 -8
- package/src/hooks/useSales/useGetSale.ts +0 -21
- package/src/hooks/useSales/useTotalSales.ts +0 -24
- package/src/hooks/useSaveAvailableProduct/helpers/index.ts +0 -38
- package/src/hooks/useSaveAvailableProduct/index.ts +0 -32
- package/src/hooks/useSaveAvailableProduct/queries.ts +0 -10
- package/src/hooks/useSaveLocation/index.ts +0 -17
- package/src/hooks/useSaveLocation/queries.ts +0 -19
- package/src/hooks/useSchedule/index.ts +0 -35
- package/src/hooks/useSchedule/queries.ts +0 -43
- package/src/hooks/useSchedule/schedule.ts +0 -79
- package/src/hooks/useScheduleData/index.ts +0 -135
- package/src/hooks/useScroll/index.ts +0 -56
- package/src/hooks/useScrollRotate/index.ts +0 -16
- package/src/hooks/useSetImageProducts/index.ts +0 -59
- package/src/hooks/useSetImageProducts/queries.ts +0 -18
- package/src/hooks/useSetSession/index.ts +0 -44
- package/src/hooks/useSetState/index.ts +0 -24
- package/src/hooks/useSetupSchedule/helpers/index.ts +0 -85
- package/src/hooks/useSetupSchedule/index.ts +0 -284
- package/src/hooks/useStatusOpenStore/helpers/index.ts +0 -124
- package/src/hooks/useStatusOpenStore/index.ts +0 -195
- package/src/hooks/useStatusOrdersClient/helpers/index.ts +0 -14
- package/src/hooks/useStatusOrdersClient/index.ts +0 -18
- package/src/hooks/useStatusOrdersClient/queries.ts +0 -80
- package/src/hooks/useStock/index.ts +0 -1
- package/src/hooks/useStock/useStockUpdatedAllSubscription.ts +0 -40
- package/src/hooks/useStockMovements/helpers/index.ts +0 -16
- package/src/hooks/useStockMovements/index.ts +0 -39
- package/src/hooks/useStore/index.ts +0 -83
- package/src/hooks/useStore/queries.ts +0 -163
- package/src/hooks/useStoreCalendar/index.ts +0 -5
- package/src/hooks/useStoreContacts/index.ts +0 -53
- package/src/hooks/useStoreContacts/queries.ts +0 -48
- package/src/hooks/useStoreTable/index.ts +0 -2
- package/src/hooks/useStoreTable/queries.ts +0 -47
- package/src/hooks/useStoreTable/useStoreTableCreate.ts +0 -77
- package/src/hooks/useStoreTable/useStoreTables.ts +0 -15
- package/src/hooks/useSubscriptionValidation/index.ts +0 -112
- package/src/hooks/useTagProducts/index.ts +0 -3
- package/src/hooks/useTagProducts/useDeleteOneTag.ts +0 -106
- package/src/hooks/useTagProducts/useGetAllTags.ts +0 -68
- package/src/hooks/useTagProducts/useRegisterMultipleTags.ts +0 -157
- package/src/hooks/useTheme/index.ts +0 -65
- package/src/hooks/useTimeAgo/useTimeAgo.ts +0 -39
- package/src/hooks/useTokenCards/index.ts +0 -45
- package/src/hooks/useTopProductsMovements/index.ts +0 -27
- package/src/hooks/useTotalAllSales/index.ts +0 -25
- package/src/hooks/useTotalProductsInStock/index.ts +0 -23
- package/src/hooks/useTotalProductsSold/index.ts +0 -23
- package/src/hooks/useTotalProductsSolded/index.ts +0 -20
- package/src/hooks/useUpdateCart/index.ts +0 -131
- package/src/hooks/useUpdateCartCookie/index.ts +0 -60
- package/src/hooks/useUpdateDashboardComponent/index.ts +0 -91
- package/src/hooks/useUpdateExistingOrders/index.ts +0 -85
- package/src/hooks/useUpdateExtProductFoodsSubOptional/index.ts +0 -61
- package/src/hooks/useUpdateModuleOrder/index.ts +0 -37
- package/src/hooks/useUpdateMultipleExtProduct/index.ts +0 -34
- package/src/hooks/useUpdateMultipleExtProduct/queries.ts +0 -33
- package/src/hooks/useUpdateMultipleProducts/index.ts +0 -117
- package/src/hooks/useUpdateMultipleProducts/queries.ts +0 -51
- package/src/hooks/useUploadProducts/helpers/index.ts +0 -1
- package/src/hooks/useUploadProducts/helpers/parseNumber.ts +0 -37
- package/src/hooks/useUploadProducts/helpers/validateProductDataExcel.ts +0 -73
- package/src/hooks/useUploadProducts/index.ts +0 -442
- package/src/hooks/useUpsertGoal/index.ts +0 -68
- package/src/hooks/useUser/index.ts +0 -24
- package/src/hooks/useUser/queries.ts +0 -131
- package/src/hooks/useWeeklyStockMovement/helpers/index.ts +0 -32
- package/src/hooks/useWeeklyStockMovement/index.ts +0 -52
- package/src/hooks/useWindowSize/index.ts +0 -45
- package/src/index.ts +0 -11
- package/src/mock/dessert/index.ts +0 -16
- package/src/mock/index.ts +0 -1
- package/src/security/index.ts +0 -1
- package/src/services/index.ts +0 -1
- package/src/utils/UtilDateRange.ts +0 -56
- package/src/utils/generateCode.ts +0 -222
- package/src/utils/index.ts +0 -2
- package/src/utils/utils.ts +0 -344
- package/tsconfig.eslint.json +0 -16
- package/tsconfig.json +0 -21
- package/tsup.config.ts +0 -24
|
@@ -1,964 +0,0 @@
|
|
|
1
|
-
import { gql } from '@apollo/client'
|
|
2
|
-
|
|
3
|
-
export const CREATE_SCHEDULE_STORE = gql`
|
|
4
|
-
mutation setStoreSchedule($input: IsStoreSchedule!) {
|
|
5
|
-
setStoreSchedule(input: $input) {
|
|
6
|
-
success
|
|
7
|
-
message
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
`
|
|
11
|
-
export const GET_SCHEDULE_STORE = gql`
|
|
12
|
-
query getStoreSchedules($schDay: Int, $idStore: ID) {
|
|
13
|
-
getStoreSchedules(schDay: $schDay, idStore: $idStore) {
|
|
14
|
-
schId
|
|
15
|
-
idStore
|
|
16
|
-
schDay
|
|
17
|
-
schHoSta
|
|
18
|
-
schHoEnd
|
|
19
|
-
schState
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
`
|
|
23
|
-
export const GET_ONE_SCHEDULE_STORE = gql`
|
|
24
|
-
query getOneStoreSchedules($schDay: Int, $idStore: ID) {
|
|
25
|
-
getOneStoreSchedules(schDay: $schDay, idStore: $idStore) {
|
|
26
|
-
schId
|
|
27
|
-
schDay
|
|
28
|
-
schHoSta
|
|
29
|
-
schHoEnd
|
|
30
|
-
schState
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
`
|
|
34
|
-
export const GET_CAT_OF_PRODUCTS = gql`
|
|
35
|
-
query getAllCatOfProducts($idStore: ID) {
|
|
36
|
-
getAllCatOfProducts(idStore: $idStore) {
|
|
37
|
-
id
|
|
38
|
-
cpId
|
|
39
|
-
catName
|
|
40
|
-
catDescription
|
|
41
|
-
schState
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
`
|
|
45
|
-
export const REGISTER_CAT_OF_PRODUCTS = gql`
|
|
46
|
-
mutation updatedProducts($input: InputCatProducts) {
|
|
47
|
-
updatedProducts(input: $input) {
|
|
48
|
-
success
|
|
49
|
-
message
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
`
|
|
53
|
-
export const REGISTER_CONTRACT_STORE = gql`
|
|
54
|
-
mutation createOneContract($input: InputContractType) {
|
|
55
|
-
createOneContract(input: $input) {
|
|
56
|
-
success
|
|
57
|
-
message
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
`
|
|
61
|
-
export const GET_ALL_EMPLOYEE_STORE = gql`
|
|
62
|
-
query employees($umId: ID, $cId: ID, $aId: ID) {
|
|
63
|
-
employees(umId: $umId, cId: $cId, aId: $aId) {
|
|
64
|
-
eId
|
|
65
|
-
idStore
|
|
66
|
-
id
|
|
67
|
-
idEmployee
|
|
68
|
-
eSalary
|
|
69
|
-
typeContract
|
|
70
|
-
uEmail
|
|
71
|
-
termContract
|
|
72
|
-
eDatAdm
|
|
73
|
-
eState
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
`
|
|
77
|
-
|
|
78
|
-
export const GET_ALL_PRODUCT_STORE = gql`
|
|
79
|
-
query productFoodsAll(
|
|
80
|
-
$search: String
|
|
81
|
-
$min: Int
|
|
82
|
-
$max: Int
|
|
83
|
-
$gender: [String]
|
|
84
|
-
$pState: Int
|
|
85
|
-
$desc: [String]
|
|
86
|
-
$categories: [ID]
|
|
87
|
-
$fromDate: DateTime
|
|
88
|
-
$toDate: DateTime
|
|
89
|
-
$page: Int
|
|
90
|
-
) {
|
|
91
|
-
productFoodsAll(
|
|
92
|
-
search: $search
|
|
93
|
-
min: $min
|
|
94
|
-
max: $max
|
|
95
|
-
gender: $gender
|
|
96
|
-
desc: $desc
|
|
97
|
-
pState: $pState
|
|
98
|
-
categories: $categories
|
|
99
|
-
toDate: $toDate
|
|
100
|
-
fromDate: $fromDate
|
|
101
|
-
page: $page
|
|
102
|
-
) {
|
|
103
|
-
success
|
|
104
|
-
message
|
|
105
|
-
pagination {
|
|
106
|
-
totalRecords
|
|
107
|
-
totalPages
|
|
108
|
-
currentPage
|
|
109
|
-
__typename
|
|
110
|
-
}
|
|
111
|
-
data {
|
|
112
|
-
pId
|
|
113
|
-
sizeId #Talla
|
|
114
|
-
colorId #Color
|
|
115
|
-
stock
|
|
116
|
-
manageStock
|
|
117
|
-
carProId #Categoria a la cual pertenece el producto
|
|
118
|
-
caId
|
|
119
|
-
cId #Country
|
|
120
|
-
dId #Department
|
|
121
|
-
ctId #Cuidad
|
|
122
|
-
fId #Características
|
|
123
|
-
pName
|
|
124
|
-
getOneTags {
|
|
125
|
-
tgId
|
|
126
|
-
idUser
|
|
127
|
-
idStore
|
|
128
|
-
pId
|
|
129
|
-
nameTag
|
|
130
|
-
}
|
|
131
|
-
ProPrice
|
|
132
|
-
ProDescuento
|
|
133
|
-
free
|
|
134
|
-
ProUniDisponibles
|
|
135
|
-
ProDescription
|
|
136
|
-
ProProtegido
|
|
137
|
-
ProAssurance
|
|
138
|
-
ValueDelivery
|
|
139
|
-
ProStar
|
|
140
|
-
sTateLogistic
|
|
141
|
-
ProImage
|
|
142
|
-
ProWidth
|
|
143
|
-
ProHeight
|
|
144
|
-
ProLength
|
|
145
|
-
ProWeight
|
|
146
|
-
ProQuantity
|
|
147
|
-
ProOutstanding
|
|
148
|
-
createdAt
|
|
149
|
-
updatedAt
|
|
150
|
-
ProDelivery
|
|
151
|
-
ProVoltaje
|
|
152
|
-
pState
|
|
153
|
-
feat {
|
|
154
|
-
fId
|
|
155
|
-
thpId
|
|
156
|
-
hpqrQuestion
|
|
157
|
-
}
|
|
158
|
-
area {
|
|
159
|
-
aId
|
|
160
|
-
aName
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
`
|
|
166
|
-
export const GET_ALL_RATING_START_STORE = gql`
|
|
167
|
-
query getAllRatingStar($idStore: ID) {
|
|
168
|
-
getAllRatingStar(idStore: $idStore) {
|
|
169
|
-
rSId
|
|
170
|
-
rScore
|
|
171
|
-
idStore
|
|
172
|
-
createAt
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
`
|
|
176
|
-
export const GET_ALL_VISITOR_STORE = gql`
|
|
177
|
-
query getAllVisitorStore(
|
|
178
|
-
$idStore: ID
|
|
179
|
-
$search: String
|
|
180
|
-
$min: Int
|
|
181
|
-
$max: Int
|
|
182
|
-
$fromDate: DateTime
|
|
183
|
-
$toDate: DateTime
|
|
184
|
-
) {
|
|
185
|
-
getAllVisitorStore(
|
|
186
|
-
idStore: $idStore
|
|
187
|
-
search: $search
|
|
188
|
-
min: $min
|
|
189
|
-
max: $max
|
|
190
|
-
fromDate: $fromDate
|
|
191
|
-
toDate: $toDate
|
|
192
|
-
) {
|
|
193
|
-
visitStoreId
|
|
194
|
-
id
|
|
195
|
-
idStore
|
|
196
|
-
createAt
|
|
197
|
-
updateAt
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
`
|
|
201
|
-
export const GET_MIN_PEDIDO = gql`
|
|
202
|
-
query getMinPrice($idStore: ID) {
|
|
203
|
-
getMinPrice(idStore: $idStore)
|
|
204
|
-
}
|
|
205
|
-
`
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
export const GET_All_RATING_STORE = gql`
|
|
209
|
-
query getAllRating($idStore: ID) {
|
|
210
|
-
getAllRating(idStore: $idStore) {
|
|
211
|
-
idStore
|
|
212
|
-
rId
|
|
213
|
-
id
|
|
214
|
-
rAppearance
|
|
215
|
-
rTasty
|
|
216
|
-
rGoodTemperature
|
|
217
|
-
rGoodCondition
|
|
218
|
-
rState
|
|
219
|
-
createAt
|
|
220
|
-
updateAt
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
`
|
|
224
|
-
export const CREATE_LOGO = gql`
|
|
225
|
-
mutation registerLogo($logo: Upload, $idStore: ID) {
|
|
226
|
-
registerLogo(logo: $logo, idStore: $idStore) {
|
|
227
|
-
success
|
|
228
|
-
message
|
|
229
|
-
data
|
|
230
|
-
errors {
|
|
231
|
-
path
|
|
232
|
-
message
|
|
233
|
-
type
|
|
234
|
-
context {
|
|
235
|
-
limit
|
|
236
|
-
value
|
|
237
|
-
label
|
|
238
|
-
key
|
|
239
|
-
__typename
|
|
240
|
-
}
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
`
|
|
245
|
-
export const CREATE_BANNER_STORE = gql`
|
|
246
|
-
mutation registerBanner($input: IBanner) {
|
|
247
|
-
registerBanner(input: $input) {
|
|
248
|
-
success
|
|
249
|
-
message
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
`
|
|
253
|
-
export const DELETE_ONE_LOGO_STORE = gql`
|
|
254
|
-
mutation deleteALogoStore($idStore: ID, $Image: String) {
|
|
255
|
-
deleteALogoStore(idStore: $idStore, Image: $Image) {
|
|
256
|
-
message
|
|
257
|
-
success
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
`
|
|
261
|
-
export const GET_ONE_BANNER_STORE = gql`
|
|
262
|
-
query getOneBanners($idStore: ID, $id: ID) {
|
|
263
|
-
getOneBanners(idStore: $idStore, id: $id) {
|
|
264
|
-
bnId
|
|
265
|
-
id
|
|
266
|
-
path
|
|
267
|
-
bnImageFileName
|
|
268
|
-
idStore
|
|
269
|
-
bnState
|
|
270
|
-
createAt
|
|
271
|
-
updateAt
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
`
|
|
275
|
-
export const DELETE_ONE_BANNER_STORE = gql`
|
|
276
|
-
mutation deleteOneBanner(
|
|
277
|
-
$bnState: Int
|
|
278
|
-
$idStore: ID
|
|
279
|
-
$bnId: ID
|
|
280
|
-
$bnImage: String
|
|
281
|
-
$bnImageFileName: String
|
|
282
|
-
) {
|
|
283
|
-
deleteOneBanner(
|
|
284
|
-
bnState: $bnState
|
|
285
|
-
idStore: $idStore
|
|
286
|
-
bnId: $bnId
|
|
287
|
-
bnImage: $bnImage
|
|
288
|
-
bnImageFileName: $bnImageFileName
|
|
289
|
-
) {
|
|
290
|
-
success
|
|
291
|
-
message
|
|
292
|
-
}
|
|
293
|
-
}
|
|
294
|
-
`
|
|
295
|
-
|
|
296
|
-
export const GET_ALL_PQR = gql`
|
|
297
|
-
query getOnePqr($hpqrId: ID, $thpId: ID) {
|
|
298
|
-
getOnePqr(hpqrId: $hpqrId, thpId: $thpId) {
|
|
299
|
-
hpqrId
|
|
300
|
-
thpId
|
|
301
|
-
hpqrQuestion
|
|
302
|
-
}
|
|
303
|
-
}
|
|
304
|
-
`
|
|
305
|
-
export const GET_ONE_COLOR = gql`
|
|
306
|
-
query getAllColor {
|
|
307
|
-
getAllColor {
|
|
308
|
-
colorId
|
|
309
|
-
colorName
|
|
310
|
-
colorState
|
|
311
|
-
}
|
|
312
|
-
}
|
|
313
|
-
`
|
|
314
|
-
export const UPDATE = gql`
|
|
315
|
-
mutation updateProducts($input: InputProduct) {
|
|
316
|
-
updateProducts(input: $input) {
|
|
317
|
-
pId
|
|
318
|
-
sizeId #Talla
|
|
319
|
-
colorId #Color
|
|
320
|
-
cId #Country
|
|
321
|
-
dId #Department
|
|
322
|
-
ctId #Cuidad
|
|
323
|
-
fId #Características
|
|
324
|
-
pName
|
|
325
|
-
ProPrice
|
|
326
|
-
ProDescuento
|
|
327
|
-
ProUniDisponibles
|
|
328
|
-
ProDescription
|
|
329
|
-
ProProtegido
|
|
330
|
-
ProAssurance
|
|
331
|
-
ProStar
|
|
332
|
-
pState
|
|
333
|
-
ProImage
|
|
334
|
-
ProWidth
|
|
335
|
-
ProHeight
|
|
336
|
-
ProLength
|
|
337
|
-
ProWeight
|
|
338
|
-
ProQuantity
|
|
339
|
-
ProOutstanding
|
|
340
|
-
ProDelivery
|
|
341
|
-
ProVoltaje
|
|
342
|
-
}
|
|
343
|
-
}
|
|
344
|
-
`
|
|
345
|
-
|
|
346
|
-
export const UPDATE_PRODUCT_FOOD = gql`
|
|
347
|
-
mutation updateProductFoods($input: InputProductFood) {
|
|
348
|
-
updateProductFoods(input: $input) {
|
|
349
|
-
success
|
|
350
|
-
message
|
|
351
|
-
errors {
|
|
352
|
-
path
|
|
353
|
-
message
|
|
354
|
-
type
|
|
355
|
-
context {
|
|
356
|
-
limit
|
|
357
|
-
value
|
|
358
|
-
label
|
|
359
|
-
key
|
|
360
|
-
}
|
|
361
|
-
}
|
|
362
|
-
data {
|
|
363
|
-
pId
|
|
364
|
-
sizeId #Talla
|
|
365
|
-
colorId #Color
|
|
366
|
-
cId #Country
|
|
367
|
-
dId #Department
|
|
368
|
-
ctId #Cuidad
|
|
369
|
-
fId #Características
|
|
370
|
-
pName
|
|
371
|
-
pCode
|
|
372
|
-
ProPrice
|
|
373
|
-
carProId
|
|
374
|
-
ProDescuento
|
|
375
|
-
ProUniDisponibles
|
|
376
|
-
ValueDelivery
|
|
377
|
-
ProDescription
|
|
378
|
-
ProProtegido
|
|
379
|
-
ProAssurance
|
|
380
|
-
ProStar
|
|
381
|
-
pState
|
|
382
|
-
ProImage
|
|
383
|
-
ProWidth
|
|
384
|
-
ProHeight
|
|
385
|
-
ProLength
|
|
386
|
-
ProWeight
|
|
387
|
-
ProQuantity
|
|
388
|
-
ProOutstanding
|
|
389
|
-
ProDelivery
|
|
390
|
-
ProVoltaje
|
|
391
|
-
}
|
|
392
|
-
}
|
|
393
|
-
}
|
|
394
|
-
`
|
|
395
|
-
// UPDATE EXTRAS
|
|
396
|
-
export const UPDATE_EXTRAS_PRODUCT_FOOD = gql`
|
|
397
|
-
mutation updateExtProductFoods($input: InputExtProductFood) {
|
|
398
|
-
updateExtProductFoods(input: $input) {
|
|
399
|
-
pId
|
|
400
|
-
exPid
|
|
401
|
-
exState
|
|
402
|
-
extraName
|
|
403
|
-
extraPrice
|
|
404
|
-
state
|
|
405
|
-
pDatCre
|
|
406
|
-
pDatMod
|
|
407
|
-
}
|
|
408
|
-
}
|
|
409
|
-
`
|
|
410
|
-
// EXTRA PRODUCTS
|
|
411
|
-
export const UPDATE_EXTRAS_PRODUCT_FOOD_OPTIONAL = gql`
|
|
412
|
-
mutation updateExtProductOptional($input: InputExtProductFoodOptional) {
|
|
413
|
-
updateExtProductOptional(input: $input) {
|
|
414
|
-
success,
|
|
415
|
-
message
|
|
416
|
-
}
|
|
417
|
-
}
|
|
418
|
-
`
|
|
419
|
-
export const GET_EXTRAS_PRODUCT_FOOD_OPTIONAL = gql`
|
|
420
|
-
query ExtProductFoodsOptionalAll(
|
|
421
|
-
$search: String
|
|
422
|
-
$min: Int
|
|
423
|
-
$max: Int
|
|
424
|
-
$pId: ID
|
|
425
|
-
) {
|
|
426
|
-
ExtProductFoodsOptionalAll(
|
|
427
|
-
search: $search
|
|
428
|
-
min: $min
|
|
429
|
-
max: $max
|
|
430
|
-
pId: $pId
|
|
431
|
-
) {
|
|
432
|
-
pId
|
|
433
|
-
opExPid
|
|
434
|
-
OptionalProName
|
|
435
|
-
state
|
|
436
|
-
code
|
|
437
|
-
numbersOptionalOnly
|
|
438
|
-
createdAt
|
|
439
|
-
required
|
|
440
|
-
updatedAt
|
|
441
|
-
ExtProductFoodsSubOptionalAll {
|
|
442
|
-
pId
|
|
443
|
-
opExPid
|
|
444
|
-
idStore
|
|
445
|
-
opSubExPid
|
|
446
|
-
OptionalSubProName
|
|
447
|
-
exCodeOptionExtra
|
|
448
|
-
exCode
|
|
449
|
-
state
|
|
450
|
-
createdAt
|
|
451
|
-
updatedAt
|
|
452
|
-
}
|
|
453
|
-
}
|
|
454
|
-
}
|
|
455
|
-
`
|
|
456
|
-
export const GET_EXTRAS_PRODUCT_FOOD_SUB_OPTIONAL = gql`
|
|
457
|
-
mutation updateExtProductSubOptional(
|
|
458
|
-
$input: InputExtProductFoodSubOptional
|
|
459
|
-
) {
|
|
460
|
-
updateExtProductSubOptional(input: $input) {
|
|
461
|
-
success
|
|
462
|
-
message
|
|
463
|
-
data {
|
|
464
|
-
pId
|
|
465
|
-
opExPid
|
|
466
|
-
idStore
|
|
467
|
-
opSubExPid
|
|
468
|
-
OptionalSubProName
|
|
469
|
-
exCodeOptionExtra
|
|
470
|
-
exCode
|
|
471
|
-
state
|
|
472
|
-
createdAt
|
|
473
|
-
updatedAt
|
|
474
|
-
}
|
|
475
|
-
errors {
|
|
476
|
-
path
|
|
477
|
-
message
|
|
478
|
-
type
|
|
479
|
-
context {
|
|
480
|
-
limit
|
|
481
|
-
value
|
|
482
|
-
label
|
|
483
|
-
key
|
|
484
|
-
__typename
|
|
485
|
-
}
|
|
486
|
-
}
|
|
487
|
-
}
|
|
488
|
-
}
|
|
489
|
-
`
|
|
490
|
-
|
|
491
|
-
export const DELETE_ONE_PRODUCT = gql`
|
|
492
|
-
mutation deleteProducts($input: IDeleteProduct) {
|
|
493
|
-
deleteProducts(input: $input) {
|
|
494
|
-
pId
|
|
495
|
-
}
|
|
496
|
-
}
|
|
497
|
-
`
|
|
498
|
-
export const GET_ALL_PRODUCTS = gql`
|
|
499
|
-
query productsAll(
|
|
500
|
-
$search: String
|
|
501
|
-
$min: Int
|
|
502
|
-
$max: Int
|
|
503
|
-
$gender: [String]
|
|
504
|
-
$desc: [String]
|
|
505
|
-
$categories: [ID]
|
|
506
|
-
) {
|
|
507
|
-
productsAll(
|
|
508
|
-
search: $search
|
|
509
|
-
min: $min
|
|
510
|
-
max: $max
|
|
511
|
-
gender: $gender
|
|
512
|
-
desc: $desc
|
|
513
|
-
categories: $categories
|
|
514
|
-
) {
|
|
515
|
-
pId
|
|
516
|
-
sizeId #Talla
|
|
517
|
-
colorId #Color
|
|
518
|
-
cId #Country
|
|
519
|
-
dId #Department
|
|
520
|
-
ctId #Cuidad
|
|
521
|
-
fId #Características
|
|
522
|
-
pName
|
|
523
|
-
ProPrice
|
|
524
|
-
ProDescuento
|
|
525
|
-
ProUniDisponibles
|
|
526
|
-
ProDescription
|
|
527
|
-
ProProtegido
|
|
528
|
-
ProAssurance
|
|
529
|
-
ProStar
|
|
530
|
-
sTateLogistic
|
|
531
|
-
ProImage
|
|
532
|
-
ProWidth
|
|
533
|
-
ProHeight
|
|
534
|
-
ProLength
|
|
535
|
-
ProWeight
|
|
536
|
-
ProQuantity
|
|
537
|
-
ProOutstanding
|
|
538
|
-
ProDelivery
|
|
539
|
-
ProVoltaje
|
|
540
|
-
pState
|
|
541
|
-
feat {
|
|
542
|
-
fId
|
|
543
|
-
thpId
|
|
544
|
-
hpqrQuestion
|
|
545
|
-
}
|
|
546
|
-
area {
|
|
547
|
-
aId
|
|
548
|
-
aName
|
|
549
|
-
}
|
|
550
|
-
}
|
|
551
|
-
}
|
|
552
|
-
`
|
|
553
|
-
export const GET_ALL_FOOD_PRODUCTS = gql`
|
|
554
|
-
query getFoodAllProduct(
|
|
555
|
-
$search: String
|
|
556
|
-
$min: Int
|
|
557
|
-
$max: Int
|
|
558
|
-
$gender: [String]
|
|
559
|
-
$desc: [String]
|
|
560
|
-
$categories: [ID]
|
|
561
|
-
) {
|
|
562
|
-
getFoodAllProduct(
|
|
563
|
-
search: $search
|
|
564
|
-
min: $min
|
|
565
|
-
max: $max
|
|
566
|
-
gender: $gender
|
|
567
|
-
desc: $desc
|
|
568
|
-
categories: $categories
|
|
569
|
-
) {
|
|
570
|
-
id
|
|
571
|
-
pfId
|
|
572
|
-
idStore
|
|
573
|
-
ProPrice
|
|
574
|
-
ProDescuento
|
|
575
|
-
ProDescription
|
|
576
|
-
pName
|
|
577
|
-
pState
|
|
578
|
-
sTateLogistic
|
|
579
|
-
ProStar
|
|
580
|
-
ProImage
|
|
581
|
-
ProHeight
|
|
582
|
-
ProWeight
|
|
583
|
-
ProOutstanding
|
|
584
|
-
ProDelivery
|
|
585
|
-
pDatCre
|
|
586
|
-
pDatMod
|
|
587
|
-
}
|
|
588
|
-
}
|
|
589
|
-
`
|
|
590
|
-
|
|
591
|
-
export const EDIT_PRODUCT = gql`
|
|
592
|
-
mutation editProductFoods($input: InputProductFood) {
|
|
593
|
-
editProductFoods(input: $input) {
|
|
594
|
-
success
|
|
595
|
-
message
|
|
596
|
-
errors {
|
|
597
|
-
path
|
|
598
|
-
message
|
|
599
|
-
type
|
|
600
|
-
context {
|
|
601
|
-
limit
|
|
602
|
-
value
|
|
603
|
-
label
|
|
604
|
-
key
|
|
605
|
-
}
|
|
606
|
-
}
|
|
607
|
-
}
|
|
608
|
-
}
|
|
609
|
-
`
|
|
610
|
-
export const SET_EDIT_STORE_NAME = gql`
|
|
611
|
-
mutation setEditNameStore($StoreName: String) {
|
|
612
|
-
setEditNameStore(StoreName: $StoreName) {
|
|
613
|
-
success
|
|
614
|
-
message
|
|
615
|
-
}
|
|
616
|
-
}
|
|
617
|
-
`
|
|
618
|
-
export const GET_ONE_PRODUCTS_FOOD = gql`
|
|
619
|
-
query productFoodsOne($pId: ID) {
|
|
620
|
-
productFoodsOne(pId: $pId) {
|
|
621
|
-
pId
|
|
622
|
-
carProId
|
|
623
|
-
pCode
|
|
624
|
-
sizeId
|
|
625
|
-
colorId
|
|
626
|
-
idStore
|
|
627
|
-
cId
|
|
628
|
-
caId
|
|
629
|
-
stock
|
|
630
|
-
manageStock
|
|
631
|
-
dId
|
|
632
|
-
ctId
|
|
633
|
-
tpId
|
|
634
|
-
fId
|
|
635
|
-
tgId
|
|
636
|
-
pName
|
|
637
|
-
ProPrice
|
|
638
|
-
ProBarCode
|
|
639
|
-
ProDescuento
|
|
640
|
-
ValueDelivery
|
|
641
|
-
ProUniDisponibles
|
|
642
|
-
ProDescription
|
|
643
|
-
ProProtegido
|
|
644
|
-
ProAssurance
|
|
645
|
-
ProImage
|
|
646
|
-
ProStar
|
|
647
|
-
ProWidth
|
|
648
|
-
ProHeight
|
|
649
|
-
ProLength
|
|
650
|
-
ProWeight
|
|
651
|
-
ProQuantity
|
|
652
|
-
ProOutstanding
|
|
653
|
-
ProDelivery
|
|
654
|
-
ProVoltaje
|
|
655
|
-
pState
|
|
656
|
-
sTateLogistic
|
|
657
|
-
createdAt
|
|
658
|
-
updatedAt
|
|
659
|
-
getOneTags {
|
|
660
|
-
tgId
|
|
661
|
-
idUser
|
|
662
|
-
idStore
|
|
663
|
-
pId
|
|
664
|
-
nameTag
|
|
665
|
-
aName
|
|
666
|
-
}
|
|
667
|
-
getAllAvailableProduct {
|
|
668
|
-
availableProductId
|
|
669
|
-
idStore
|
|
670
|
-
pId
|
|
671
|
-
dayAvailable
|
|
672
|
-
createdAt
|
|
673
|
-
updatedAt
|
|
674
|
-
}
|
|
675
|
-
ExtProductFoodsAll {
|
|
676
|
-
pId
|
|
677
|
-
exPid
|
|
678
|
-
exState
|
|
679
|
-
extraName
|
|
680
|
-
extraPrice
|
|
681
|
-
state
|
|
682
|
-
createdAt
|
|
683
|
-
updatedAt
|
|
684
|
-
}
|
|
685
|
-
getStore {
|
|
686
|
-
idStore
|
|
687
|
-
cId
|
|
688
|
-
id
|
|
689
|
-
dId
|
|
690
|
-
ctId
|
|
691
|
-
catStore
|
|
692
|
-
neighborhoodStore
|
|
693
|
-
Viaprincipal
|
|
694
|
-
storeOwner
|
|
695
|
-
storeName
|
|
696
|
-
emailStore
|
|
697
|
-
storePhone
|
|
698
|
-
socialRaz
|
|
699
|
-
Image
|
|
700
|
-
banner
|
|
701
|
-
documentIdentifier
|
|
702
|
-
uPhoNum
|
|
703
|
-
ULocation
|
|
704
|
-
upLat
|
|
705
|
-
upLon
|
|
706
|
-
uState
|
|
707
|
-
siteWeb
|
|
708
|
-
description
|
|
709
|
-
NitStore
|
|
710
|
-
typeRegiments
|
|
711
|
-
typeContribute
|
|
712
|
-
secVia
|
|
713
|
-
addressStore
|
|
714
|
-
createdAt
|
|
715
|
-
department {
|
|
716
|
-
dId
|
|
717
|
-
cId
|
|
718
|
-
dName
|
|
719
|
-
dDatCre
|
|
720
|
-
dDatMod
|
|
721
|
-
dState
|
|
722
|
-
}
|
|
723
|
-
pais {
|
|
724
|
-
cId
|
|
725
|
-
cName
|
|
726
|
-
cCalCod
|
|
727
|
-
cState
|
|
728
|
-
}
|
|
729
|
-
city {
|
|
730
|
-
ctId
|
|
731
|
-
dId
|
|
732
|
-
cName
|
|
733
|
-
cState
|
|
734
|
-
cDatCre
|
|
735
|
-
cDatMod
|
|
736
|
-
}
|
|
737
|
-
}
|
|
738
|
-
}
|
|
739
|
-
}
|
|
740
|
-
`
|
|
741
|
-
|
|
742
|
-
export const CREATE_FOOD_PRODUCT = gql`
|
|
743
|
-
mutation newRegisterFoodProduct($input: FoodProductInput) {
|
|
744
|
-
newRegisterFoodProduct(input: $input) {
|
|
745
|
-
success
|
|
746
|
-
message
|
|
747
|
-
}
|
|
748
|
-
}
|
|
749
|
-
`
|
|
750
|
-
export const GET_BANNER_PROMO_DASHBOARD = gql`
|
|
751
|
-
query getPromoStoreAdmin($min: Int, $max: Int) {
|
|
752
|
-
getPromoStoreAdmin(min: $min, max: $max) {
|
|
753
|
-
pSoId
|
|
754
|
-
comments
|
|
755
|
-
mainName
|
|
756
|
-
metaTags
|
|
757
|
-
urlImage
|
|
758
|
-
bPromoState
|
|
759
|
-
createAt
|
|
760
|
-
updateAt
|
|
761
|
-
}
|
|
762
|
-
}
|
|
763
|
-
`
|
|
764
|
-
|
|
765
|
-
export const CREATE_STORE_CALENDAR = gql`
|
|
766
|
-
mutation setStoreSchedule($input: ITstoreSchedule!) {
|
|
767
|
-
setStoreSchedule(input: $input) {
|
|
768
|
-
message
|
|
769
|
-
success
|
|
770
|
-
}
|
|
771
|
-
}
|
|
772
|
-
`
|
|
773
|
-
export const DELETE_ONE_CAT_PRODUCTS = gql`
|
|
774
|
-
mutation deleteCatOfProducts($idPc: ID!, $pState: Int) {
|
|
775
|
-
deleteCatOfProducts(idPc: $idPc, pState: $pState) {
|
|
776
|
-
success
|
|
777
|
-
message
|
|
778
|
-
}
|
|
779
|
-
}
|
|
780
|
-
`
|
|
781
|
-
export const DELETE_ONE_CAT_PRODUCTS_FINAL = gql`
|
|
782
|
-
mutation deleteCatFinalOfProducts($idPc: ID, $withProduct: Boolean) {
|
|
783
|
-
deleteCatFinalOfProducts(idPc: $idPc, withProduct: $withProduct) {
|
|
784
|
-
success
|
|
785
|
-
message
|
|
786
|
-
}
|
|
787
|
-
}
|
|
788
|
-
`
|
|
789
|
-
export const DELETE_EXTRA_PRODUCTS = gql`
|
|
790
|
-
mutation deleteExtraProduct($id: ID, $state: Int) {
|
|
791
|
-
deleteExtraProduct(id: $id, state: $state) {
|
|
792
|
-
success
|
|
793
|
-
message
|
|
794
|
-
}
|
|
795
|
-
}
|
|
796
|
-
`
|
|
797
|
-
export const EDIT_EXTRA_PRODUCTS = gql`
|
|
798
|
-
mutation editExtProductFoods($input: InputExtProductFood!) {
|
|
799
|
-
editExtProductFoods(input: $input) {
|
|
800
|
-
success
|
|
801
|
-
message
|
|
802
|
-
}
|
|
803
|
-
}
|
|
804
|
-
`
|
|
805
|
-
export const DELETE_CAT_EXTRA_PRODUCTS = gql`
|
|
806
|
-
mutation DeleteExtProductFoodsOptional($opExPid: ID, $state: Int) {
|
|
807
|
-
DeleteExtProductFoodsOptional(opExPid: $opExPid, state: $state) {
|
|
808
|
-
success
|
|
809
|
-
message
|
|
810
|
-
}
|
|
811
|
-
}
|
|
812
|
-
`
|
|
813
|
-
export const DELETE_CAT_EXTRA_SUB_OPTIONAL_PRODUCTS = gql`
|
|
814
|
-
mutation DeleteExtFoodSubsOptional($opSubExPid: ID, $state: Int) {
|
|
815
|
-
DeleteExtFoodSubsOptional(opSubExPid: $opSubExPid, state: $state) {
|
|
816
|
-
success
|
|
817
|
-
message
|
|
818
|
-
}
|
|
819
|
-
}
|
|
820
|
-
`
|
|
821
|
-
export const UPDATE_CAT_IN_PRODUCT = gql`
|
|
822
|
-
mutation updatedCatWithProducts($input: LineItemsIdPro) {
|
|
823
|
-
updatedCatWithProducts(input: $input) {
|
|
824
|
-
success
|
|
825
|
-
message
|
|
826
|
-
}
|
|
827
|
-
}
|
|
828
|
-
`
|
|
829
|
-
export const GET_ULTIMATE_CATEGORY_PRODUCTS = gql`
|
|
830
|
-
query catProductsAll(
|
|
831
|
-
$search: String
|
|
832
|
-
$min: Int
|
|
833
|
-
$max: Int
|
|
834
|
-
$gender: [String]
|
|
835
|
-
$desc: [String]
|
|
836
|
-
$categories: [ID]
|
|
837
|
-
) {
|
|
838
|
-
catProductsAll(
|
|
839
|
-
search: $search
|
|
840
|
-
min: $min
|
|
841
|
-
max: $max
|
|
842
|
-
gender: $gender
|
|
843
|
-
desc: $desc
|
|
844
|
-
categories: $categories
|
|
845
|
-
) {
|
|
846
|
-
carProId
|
|
847
|
-
idStore
|
|
848
|
-
pName
|
|
849
|
-
ProDescription
|
|
850
|
-
ProImage
|
|
851
|
-
pState
|
|
852
|
-
createdAt
|
|
853
|
-
updatedAt
|
|
854
|
-
}
|
|
855
|
-
}
|
|
856
|
-
`
|
|
857
|
-
export const GET_ALL_EXTRA_PRODUCT = gql`
|
|
858
|
-
query ExtProductFoodsAll($search: String, $min: Int, $max: Int, $pId: ID) {
|
|
859
|
-
ExtProductFoodsAll(search: $search, min: $min, max: $max, pId: $pId) {
|
|
860
|
-
pId
|
|
861
|
-
exPid
|
|
862
|
-
exState
|
|
863
|
-
extraName
|
|
864
|
-
extraPrice
|
|
865
|
-
state
|
|
866
|
-
createdAt
|
|
867
|
-
updatedAt
|
|
868
|
-
}
|
|
869
|
-
}
|
|
870
|
-
`
|
|
871
|
-
export const GET_ALL_CATEGORIES_WITH_PRODUCT = gql`
|
|
872
|
-
query getCatProductsWithProduct(
|
|
873
|
-
$search: String
|
|
874
|
-
$min: Int
|
|
875
|
-
$max: Int
|
|
876
|
-
$gender: [String]
|
|
877
|
-
$desc: [String]
|
|
878
|
-
$categories: [ID]
|
|
879
|
-
) {
|
|
880
|
-
getCatProductsWithProduct(
|
|
881
|
-
search: $search
|
|
882
|
-
min: $min
|
|
883
|
-
max: $max
|
|
884
|
-
gender: $gender
|
|
885
|
-
desc: $desc
|
|
886
|
-
categories: $categories
|
|
887
|
-
) {
|
|
888
|
-
carProId
|
|
889
|
-
pState
|
|
890
|
-
pState
|
|
891
|
-
ProImage
|
|
892
|
-
idStore
|
|
893
|
-
pName
|
|
894
|
-
ProDescription
|
|
895
|
-
ProImage
|
|
896
|
-
pState
|
|
897
|
-
pDatCre
|
|
898
|
-
pDatMod
|
|
899
|
-
productFoodsAll {
|
|
900
|
-
pId
|
|
901
|
-
sizeId
|
|
902
|
-
colorId
|
|
903
|
-
stock
|
|
904
|
-
carProId
|
|
905
|
-
manageStock
|
|
906
|
-
cId
|
|
907
|
-
dId
|
|
908
|
-
ctId
|
|
909
|
-
idStore
|
|
910
|
-
caId
|
|
911
|
-
fId
|
|
912
|
-
pName
|
|
913
|
-
ProPrice
|
|
914
|
-
ProDescuento
|
|
915
|
-
ProUniDisponibles
|
|
916
|
-
ProDescription
|
|
917
|
-
ProProtegido
|
|
918
|
-
ProAssurance
|
|
919
|
-
ProImage
|
|
920
|
-
ProStar
|
|
921
|
-
ProWidth
|
|
922
|
-
ProHeight
|
|
923
|
-
ProLength
|
|
924
|
-
ProWeight
|
|
925
|
-
ProQuantity
|
|
926
|
-
ProOutstanding
|
|
927
|
-
ProDelivery
|
|
928
|
-
ProVoltaje
|
|
929
|
-
pState
|
|
930
|
-
sTateLogistic
|
|
931
|
-
createdAt
|
|
932
|
-
updatedAt
|
|
933
|
-
}
|
|
934
|
-
}
|
|
935
|
-
}
|
|
936
|
-
`
|
|
937
|
-
|
|
938
|
-
export const REGISTER_TAGS_PRODUCT = gql`
|
|
939
|
-
mutation registerTag($input: ITag) {
|
|
940
|
-
registerTag(input: $input) {
|
|
941
|
-
data {
|
|
942
|
-
tgId
|
|
943
|
-
idUser
|
|
944
|
-
idStore
|
|
945
|
-
pId
|
|
946
|
-
nameTag
|
|
947
|
-
aName
|
|
948
|
-
}
|
|
949
|
-
success
|
|
950
|
-
message
|
|
951
|
-
errors {
|
|
952
|
-
path
|
|
953
|
-
message
|
|
954
|
-
type
|
|
955
|
-
context {
|
|
956
|
-
limit
|
|
957
|
-
value
|
|
958
|
-
label
|
|
959
|
-
key
|
|
960
|
-
}
|
|
961
|
-
}
|
|
962
|
-
}
|
|
963
|
-
}
|
|
964
|
-
`
|