diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index dd84ea78..9b77ea71 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -1,10 +1,9 @@ --- name: Bug report about: Create a report to help us improve -title: '' -labels: '' -assignees: '' - +title: "" +labels: "" +assignees: "" --- **Describe the bug** @@ -12,6 +11,7 @@ A clear and concise description of what the bug is. **To Reproduce** Steps to reproduce the behavior: + 1. Go to '...' 2. Click on '....' 3. Scroll down to '....' @@ -24,15 +24,17 @@ A clear and concise description of what you expected to happen. If applicable, add screenshots to help explain your problem. **Desktop (please complete the following information):** - - OS: [e.g. iOS] - - Browser [e.g. chrome, safari] - - Version [e.g. 22] + +- OS: [e.g. iOS] +- Browser [e.g. chrome, safari] +- Version [e.g. 22] **Smartphone (please complete the following information):** - - Device: [e.g. iPhone6] - - OS: [e.g. iOS8.1] - - Browser [e.g. stock browser, safari] - - Version [e.g. 22] + +- Device: [e.g. iPhone6] +- OS: [e.g. iOS8.1] +- Browser [e.g. stock browser, safari] +- Version [e.g. 22] **Additional context** Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index bbcbbe7d..2bc5d5f7 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -1,10 +1,9 @@ --- name: Feature request about: Suggest an idea for this project -title: '' -labels: '' -assignees: '' - +title: "" +labels: "" +assignees: "" --- **Is your feature request related to a problem? Please describe.** diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b8638fb3..4ee8bf49 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -39,6 +39,9 @@ jobs: #- name: Linting # run: yarn lint + # - name: Codegen + # run: yarn codegen + - name: Build run: yarn build --filter=website diff --git a/.husky/pre-commit b/.husky/pre-commit new file mode 100755 index 00000000..2f53ba1b --- /dev/null +++ b/.husky/pre-commit @@ -0,0 +1,4 @@ +#!/usr/bin/env sh +. "$(dirname -- "$0")/_/husky.sh" + +yarn format diff --git a/README.md b/README.md index 2f442800..6381531b 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,6 @@ Design an algorithm that matches businesses with suitable suppliers based on the ### Delivery Process - ## DevOps ### Run the apps locally with Docker @@ -29,4 +28,4 @@ docker compose build [SERVICE] eg. sahilwebsite ``` docker compose up -d sahilwebsite -``` \ No newline at end of file +``` diff --git a/apps/admin/postcss.config.ts b/apps/admin/postcss.config.ts index c9a1c620..b09767fe 100644 --- a/apps/admin/postcss.config.ts +++ b/apps/admin/postcss.config.ts @@ -1,4 +1,4 @@ -const baseConfig = require('@sahil/configs/tailwind/postcss.config.js'); +const baseConfig = require("@sahil/configs/tailwind/postcss.config.js"); module.exports = { ...baseConfig, diff --git a/apps/admin/src/app/layout.tsx b/apps/admin/src/app/layout.tsx index e3696182..aba8a007 100644 --- a/apps/admin/src/app/layout.tsx +++ b/apps/admin/src/app/layout.tsx @@ -7,7 +7,7 @@ export default function RootLayout({ return ( - + {children} diff --git a/apps/admin/tailwind.config.ts b/apps/admin/tailwind.config.ts index 9a060048..ea3b0754 100644 --- a/apps/admin/tailwind.config.ts +++ b/apps/admin/tailwind.config.ts @@ -1,19 +1,19 @@ -import type { Config } from 'tailwindcss'; +import type { Config } from "tailwindcss"; -const baseConfig: Config = require('@sahil/configs/tailwind/tailwind.config'); +const baseConfig: Config = require("@sahil/configs/tailwind/tailwind.config"); const extendedConfig: Config = { ...baseConfig, content: [ ...baseConfig.content, - './src/Addresses/**/**.{js,ts,jsx,tsx,mdx}', - './src/Agents/**/*.{js,ts,tsx,tsx,mdx}', - './src/Centers/**/*.{js,ts,tsx,tsx,mdx}', - './src/Couriers/**/*.{js,ts,tsx,tsx,mdx}', - './src/Zones/**/*.{js,ts,tsx,tsx,mdx}', - './src/Businesses/**/*.{js,ts,tsx,tsx,mdx}', - './src/Suppliers/**/*.{js,ts,tsx,tsx,mdx}', - './src/Layout/*.{js,ts,tsx,tsx,mdx}', + "./src/Addresses/**/**.{js,ts,jsx,tsx,mdx}", + "./src/Agents/**/*.{js,ts,tsx,tsx,mdx}", + "./src/Centers/**/*.{js,ts,tsx,tsx,mdx}", + "./src/Couriers/**/*.{js,ts,tsx,tsx,mdx}", + "./src/Zones/**/*.{js,ts,tsx,tsx,mdx}", + "./src/Businesses/**/*.{js,ts,tsx,tsx,mdx}", + "./src/Suppliers/**/*.{js,ts,tsx,tsx,mdx}", + "./src/Layout/*.{js,ts,tsx,tsx,mdx}", ], theme: { ...baseConfig.theme, @@ -21,21 +21,21 @@ const extendedConfig: Config = { ...baseConfig.theme?.extend, }, }, - plugins: [...baseConfig.plugins, require('daisyui')], + plugins: [...baseConfig.plugins, require("daisyui")], daisyui: { themes: [ { lemonade: { - ...require('daisyui/src/theming/themes')['[data-theme=lemonade]'], - primary: '#067a46', - secondary: '#056835', - accent: '#40efcf', - neutral: '#2d2f39', - 'base-100': '#ffffff', - info: '#76d1e5', - success: '#22a05b', - warning: '#f0bc2d', - error: '#e33631', + ...require("daisyui/src/theming/themes")["[data-theme=lemonade]"], + primary: "#067a46", + secondary: "#056835", + accent: "#40efcf", + neutral: "#2d2f39", + "base-100": "#ffffff", + info: "#76d1e5", + success: "#22a05b", + warning: "#f0bc2d", + error: "#e33631", }, }, ], diff --git a/apps/agent/README.md b/apps/agent/README.md index 0deff644..d0c5d98b 100644 --- a/apps/agent/README.md +++ b/apps/agent/README.md @@ -1 +1 @@ -# Agent Dashboard \ No newline at end of file +# Agent Dashboard diff --git a/apps/agent/package.json b/apps/agent/package.json index 8e0e46ed..16e294c0 100644 --- a/apps/agent/package.json +++ b/apps/agent/package.json @@ -6,7 +6,8 @@ "dev": "next dev", "build": "next build", "start": "next start", - "lint": "next lint" + "lint": "next lint", + "prepare": "husky install" }, "dependencies": { "@apollo/client": "^3.8.1", diff --git a/apps/agent/src/Businesses/AddNewBusiness.tsx b/apps/agent/src/Businesses/AddNewBusiness.tsx index e6769599..7ded00d0 100644 --- a/apps/agent/src/Businesses/AddNewBusiness.tsx +++ b/apps/agent/src/Businesses/AddNewBusiness.tsx @@ -21,14 +21,13 @@ export const InsertNewBusiness = () => { } = useForm(); const { insertClient, loading, error } = useRegisterBusiness(); const onSubmit: SubmitHandler = (data) => { - const validtedInput = businessSchema.parse(data); - + insertClient({ variables: { object: { name: data.businessName, - ...data + ...data, }, }, }); diff --git a/apps/agent/src/Businesses/BusinessOrderHistory.tsx b/apps/agent/src/Businesses/BusinessOrderHistory.tsx index 05ab790b..943c6c46 100644 --- a/apps/agent/src/Businesses/BusinessOrderHistory.tsx +++ b/apps/agent/src/Businesses/BusinessOrderHistory.tsx @@ -1,25 +1,25 @@ -import Link from 'next/link'; -import { useFetchBusinessOrders } from '@/hooks/businesses'; -import { useRouter } from 'next/router'; -import { formatDateTime } from '@sahil/lib/dates'; -import { Card, JoinGrid, List, ListHeader, ListErrorState } from 'ui'; +import Link from "next/link"; +import { useFetchBusinessOrders } from "@/hooks/businesses"; +import { useRouter } from "next/router"; +import { formatDateTime } from "@sahil/lib/dates"; +import { Card, JoinGrid, List, ListHeader, ListErrorState } from "ui"; import { HiOutlineCalendarDays, HiOutlineMapPin, HiOutlineFlag, -} from 'react-icons/hi2'; -import { useState } from 'react'; +} from "react-icons/hi2"; +import { useState } from "react"; enum OrderStatus { - Cancelled = 'Cancelled', - Pending = 'Pending', - Fulfilled = 'Fulfilled', + Cancelled = "Cancelled", + Pending = "Pending", + Fulfilled = "Fulfilled", } const orderStyles: Record = { - [OrderStatus.Cancelled]: 'error', - [OrderStatus.Pending]: 'info', - [OrderStatus.Fulfilled]: 'success', + [OrderStatus.Cancelled]: "error", + [OrderStatus.Pending]: "info", + [OrderStatus.Fulfilled]: "success", }; export const BusinessOrderHistory = () => { @@ -35,7 +35,7 @@ export const BusinessOrderHistory = () => { if (error) { return ( @@ -43,10 +43,10 @@ export const BusinessOrderHistory = () => { } return ( -
-
-

Latest Orders

- +
+
+

Latest Orders

+
setOffset((prev) => prev + 4)} @@ -55,7 +55,7 @@ export const BusinessOrderHistory = () => { isPrevDisabled={offset === 0} size={ordersCount?.count} limit={3} - sizeLabel='Orders' + sizeLabel="Orders" /> { }; const OrderSummary = ({ order }) => { - const statusStyle = orderStyles[order.status] || 'default'; + const statusStyle = orderStyles[order.status] || "default"; return ( - +
-

+

Order ID: #{order.id.slice(0, 8).toLocaleUpperCase()}

-
+
{order.status}
-
- +
+

{formatDateTime(order?.created_at)}

-
- +
+

{order.origin}

-
- +
+

{order.destination}

diff --git a/apps/agent/src/Businesses/BusinessOverviewCard.tsx b/apps/agent/src/Businesses/BusinessOverviewCard.tsx index 6f2636d5..2fa5d516 100644 --- a/apps/agent/src/Businesses/BusinessOverviewCard.tsx +++ b/apps/agent/src/Businesses/BusinessOverviewCard.tsx @@ -3,7 +3,11 @@ import { formatDateTime } from "@sahil/lib/dates"; import { generateInitials } from "@sahil/lib/strings"; import Link from "next/link"; import { Card } from "ui"; -import { HiOutlineEllipsisHorizontal, HiOutlinePhone, HiOutlineMapPin } from "react-icons/hi2"; +import { + HiOutlineEllipsisHorizontal, + HiOutlinePhone, + HiOutlineMapPin, +} from "react-icons/hi2"; export type SahilBusiness = { name: string; @@ -12,7 +16,7 @@ export type SahilBusiness = { type: string; phoneNumber: string; addresses: Array<{ - street_address: string, + street_address: string; }>; }; @@ -53,24 +57,21 @@ export const BusinessOverviewCard: FC = ({ business }) => {

{business.type}

- - Contact Name - + Contact Name

{business.contactName}

- {business.addresses && business.addresses.map((address, index) => ( -
- - - -

- {address.street_address} -

-
- ))} + {business.addresses && + business.addresses.map((address, index) => ( +
+ + + +

{address.street_address}

+
+ ))}
diff --git a/apps/agent/src/Businesses/BusinessProfileOverview.tsx b/apps/agent/src/Businesses/BusinessProfileOverview.tsx index 301c771f..9c8dd691 100644 --- a/apps/agent/src/Businesses/BusinessProfileOverview.tsx +++ b/apps/agent/src/Businesses/BusinessProfileOverview.tsx @@ -3,7 +3,7 @@ import { HiOutlineMapPin, HiOutlineEnvelope, HiOutlineUser, -} from 'react-icons/hi2'; +} from "react-icons/hi2"; import { Card } from "ui"; type SahilBusiness = { @@ -15,7 +15,7 @@ type SahilBusiness = { description: string; contactEmail: string; addresses: Array<{ - street_address: string, + street_address: string; }>; }; @@ -33,31 +33,29 @@ export const BusinessProfileOverview = ({

{business?.name}

{business?.description}

-
-
- +
+
+

{business?.contactName}

-
- +
+ {business?.addresses.map(({ street_address: name }) => { - return ( - {name} - ); + return {name}; })}
-
- +
+

{business?.contactEmail}

-
- +
+

{business?.phoneNumber}

@@ -69,8 +67,8 @@ export const BusinessProfileOverview = ({ const generateInitials = (name: string) => { return name - ?.split(' ') + ?.split(" ") .slice(0, 3) .map((word) => word.charAt(0).toUpperCase()) - .join(''); + .join(""); }; diff --git a/apps/agent/src/Businesses/BusinessRegistrationForm/AddressInfo.tsx b/apps/agent/src/Businesses/BusinessRegistrationForm/AddressInfo.tsx index c63647f8..4505d521 100644 --- a/apps/agent/src/Businesses/BusinessRegistrationForm/AddressInfo.tsx +++ b/apps/agent/src/Businesses/BusinessRegistrationForm/AddressInfo.tsx @@ -1,7 +1,9 @@ +import { Business } from "@sahil/lib/graphql/generated/graphql"; + export const AddressInfo = () => { - return ( -
-

Address Info

-
- ) -} \ No newline at end of file + return ( +
+

Address Info

+
+ ); +}; diff --git a/apps/agent/src/Businesses/BusinessRegistrationForm/BusinessFormSteps.tsx b/apps/agent/src/Businesses/BusinessRegistrationForm/BusinessFormSteps.tsx index ee44614e..473253c1 100644 --- a/apps/agent/src/Businesses/BusinessRegistrationForm/BusinessFormSteps.tsx +++ b/apps/agent/src/Businesses/BusinessRegistrationForm/BusinessFormSteps.tsx @@ -5,7 +5,6 @@ type Props = { onUpdateStepByIndex: (step: any) => void; }; - export const BusinessFormSteps = ({ currentStep, headers, diff --git a/apps/agent/src/Businesses/BusinessRegistrationForm/BusinessInfo.tsx b/apps/agent/src/Businesses/BusinessRegistrationForm/BusinessInfo.tsx index 49100348..c4e2faec 100644 --- a/apps/agent/src/Businesses/BusinessRegistrationForm/BusinessInfo.tsx +++ b/apps/agent/src/Businesses/BusinessRegistrationForm/BusinessInfo.tsx @@ -27,7 +27,6 @@ export const BusinessInfo = () => { const { formData } = useBusinessFormStore((state) => state); const onSubmit: SubmitHandler = async (data) => { const validatedInput = businessInfoSchema.parse(data); - }; return (
diff --git a/apps/agent/src/Businesses/BusinessRegistrationForm/BusinessInfoSummary.tsx b/apps/agent/src/Businesses/BusinessRegistrationForm/BusinessInfoSummary.tsx index 54305951..25282c7d 100644 --- a/apps/agent/src/Businesses/BusinessRegistrationForm/BusinessInfoSummary.tsx +++ b/apps/agent/src/Businesses/BusinessRegistrationForm/BusinessInfoSummary.tsx @@ -1,7 +1,7 @@ export const BusinessInfoSummary = () => { - return ( -
-

Summary

-
- ) -} \ No newline at end of file + return ( +
+

Summary

+
+ ); +}; diff --git a/apps/agent/src/Businesses/BusinessRegistrationForm/index.tsx b/apps/agent/src/Businesses/BusinessRegistrationForm/index.tsx index 19adb136..4d232227 100644 --- a/apps/agent/src/Businesses/BusinessRegistrationForm/index.tsx +++ b/apps/agent/src/Businesses/BusinessRegistrationForm/index.tsx @@ -2,4 +2,4 @@ export * from "./AddressInfo"; export * from "./BusinessInfo"; export * from "./BusinessInfoSummary"; export * from "./BusinessFormSteps"; -export * from "./BusinessStepsPaginator"; \ No newline at end of file +export * from "./BusinessStepsPaginator"; diff --git a/apps/agent/src/Businesses/ListBusinesses.tsx b/apps/agent/src/Businesses/ListBusinesses.tsx index 258d5ebc..5f152f43 100644 --- a/apps/agent/src/Businesses/ListBusinesses.tsx +++ b/apps/agent/src/Businesses/ListBusinesses.tsx @@ -10,7 +10,7 @@ export type SahilBusiness = { type: string; phoneNumber: string; addresses: Array<{ - street_address: string, + street_address: string; }>; }; diff --git a/apps/agent/src/Businesses/constants.ts b/apps/agent/src/Businesses/constants.ts index 01f24d5b..130c915d 100644 --- a/apps/agent/src/Businesses/constants.ts +++ b/apps/agent/src/Businesses/constants.ts @@ -1,7 +1,7 @@ export const INITIAL_STEP = "business_info"; export const steps = [ - "business_info", - "address_info", - "preferences", - "summary" -] as const; \ No newline at end of file + "business_info", + "address_info", + "preferences", + "summary", +] as const; diff --git a/apps/agent/src/Businesses/index.tsx b/apps/agent/src/Businesses/index.tsx index 93797de8..6d9021d4 100644 --- a/apps/agent/src/Businesses/index.tsx +++ b/apps/agent/src/Businesses/index.tsx @@ -1,2 +1,2 @@ export * from "./BusinessOrderHistory"; -export * from "./BusinessProfileOverview"; \ No newline at end of file +export * from "./BusinessProfileOverview"; diff --git a/apps/agent/src/Couriers/CourierProfileOverview.tsx b/apps/agent/src/Couriers/CourierProfileOverview.tsx index 13816798..50d9ebc8 100644 --- a/apps/agent/src/Couriers/CourierProfileOverview.tsx +++ b/apps/agent/src/Couriers/CourierProfileOverview.tsx @@ -1,9 +1,9 @@ import { Avatar, Card } from "ui"; export const CourierProfileOveriew = ({ courier }) => { - return ( -
- -

{courier.name}

-
- ) + return ( +
+ +

{courier.name}

+
+ ); }; diff --git a/apps/agent/src/Couriers/CourierRegistrationForm/CourierContactDetails.tsx b/apps/agent/src/Couriers/CourierRegistrationForm/CourierContactDetails.tsx index ecc746ad..802493e0 100644 --- a/apps/agent/src/Couriers/CourierRegistrationForm/CourierContactDetails.tsx +++ b/apps/agent/src/Couriers/CourierRegistrationForm/CourierContactDetails.tsx @@ -1,21 +1,21 @@ -import React from 'react'; -import { useForm, SubmitHandler } from 'react-hook-form'; -import { z } from 'zod'; -import { zodResolver } from '@hookform/resolvers/zod'; -import { useCourierFormStore } from '@/hooks/useCourierFormStore'; -import { Input } from 'ui'; -import { useRouter } from 'next/router'; +import React from "react"; +import { useForm, SubmitHandler } from "react-hook-form"; +import { z } from "zod"; +import { zodResolver } from "@hookform/resolvers/zod"; +import { useCourierFormStore } from "@/hooks/useCourierFormStore"; +import { Input } from "ui"; +import { useRouter } from "next/router"; const courierContactSchema = z.object({ email: z .string() - .email({ message: 'Invalid email format' }) - .nonempty({ message: 'Email is required' }) + .email({ message: "Invalid email format" }) + .nonempty({ message: "Email is required" }) .trim(), phoneNumber: z .string() - .regex(/^\d{10}$/i, { message: 'Invalid phone number format' }) - .nonempty({ message: 'Phone number is required' }) + .regex(/^\d{10}$/i, { message: "Invalid phone number format" }) + .nonempty({ message: "Phone number is required" }) .trim(), }); @@ -41,26 +41,26 @@ export const CourierContactDetails = () => { const onSubmit: SubmitHandler = async (data) => { const validatedInput = courierContactSchema.parse(data); updateStepFormData(validatedInput); - goToStep('next'); + goToStep("next"); router.push(`/couriers/register/vehicle_info`); }; return ( - + - + ); }; diff --git a/apps/agent/src/Couriers/CourierRegistrationForm/CourierFormSummary.tsx b/apps/agent/src/Couriers/CourierRegistrationForm/CourierFormSummary.tsx index 37869923..11270030 100644 --- a/apps/agent/src/Couriers/CourierRegistrationForm/CourierFormSummary.tsx +++ b/apps/agent/src/Couriers/CourierRegistrationForm/CourierFormSummary.tsx @@ -1,9 +1,9 @@ -import React from 'react'; -import { useForm, SubmitHandler } from 'react-hook-form'; -import { useCourierFormStore } from '@/hooks/useCourierFormStore'; -import { useRouter } from 'next/router'; -import { useRegisterCourier } from '@/hooks/couriers'; -import toast, { Toaster } from 'react-hot-toast'; +import React from "react"; +import { useForm, SubmitHandler } from "react-hook-form"; +import { useCourierFormStore } from "@/hooks/useCourierFormStore"; +import { useRouter } from "next/router"; +import { useRegisterCourier } from "@/hooks/couriers"; +import toast, { Toaster } from "react-hot-toast"; export const CourierFormSummary = () => { const router = useRouter(); @@ -34,21 +34,21 @@ export const CourierFormSummary = () => { }; if (error) { - toast.error('Something went wrong'); + toast.error("Something went wrong"); } return ( <> -
+

Save Courier Information

- + ); }; diff --git a/apps/agent/src/Couriers/CourierRegistrationForm/CourierPersonalInfo.tsx b/apps/agent/src/Couriers/CourierRegistrationForm/CourierPersonalInfo.tsx index fbceba99..2255ffe2 100644 --- a/apps/agent/src/Couriers/CourierRegistrationForm/CourierPersonalInfo.tsx +++ b/apps/agent/src/Couriers/CourierRegistrationForm/CourierPersonalInfo.tsx @@ -1,13 +1,13 @@ -import React from 'react'; -import { useForm, SubmitHandler } from 'react-hook-form'; -import { z } from 'zod'; -import { zodResolver } from '@hookform/resolvers/zod'; -import { useCourierFormStore } from '@/hooks/useCourierFormStore'; -import { Input, Select } from 'ui'; -import { useRouter } from 'next/router'; +import React from "react"; +import { useForm, SubmitHandler } from "react-hook-form"; +import { z } from "zod"; +import { zodResolver } from "@hookform/resolvers/zod"; +import { useCourierFormStore } from "@/hooks/useCourierFormStore"; +import { Input, Select } from "ui"; +import { useRouter } from "next/router"; const courierInfoSchema = z.object({ - name: z.string().min(6, { message: 'Must be at least 6 letters.' }).trim(), + name: z.string().min(6, { message: "Must be at least 6 letters." }).trim(), gender: z.string(), DOB: z.coerce.date().refine( (dateOfBirth) => { @@ -16,7 +16,7 @@ const courierInfoSchema = z.object({ return dateOfBirth <= eighteenYearsAgo; }, { - message: 'Must be at least 18 years old.', + message: "Must be at least 18 years old.", } ), }); @@ -43,36 +43,36 @@ export const CourierPersonalInfo = () => { const onSubmit: SubmitHandler = async (data) => { const validatedInput = courierInfoSchema.parse(data); updateStepFormData(validatedInput); - goToStep('next'); + goToStep("next"); router.push(`/couriers/register/contact_details`); }; return ( -
+ - +
); }; diff --git a/apps/agent/src/Couriers/CourierRegistrationForm/CourierSummary.tsx b/apps/agent/src/Couriers/CourierRegistrationForm/CourierSummary.tsx index b31957fe..f872667c 100644 --- a/apps/agent/src/Couriers/CourierRegistrationForm/CourierSummary.tsx +++ b/apps/agent/src/Couriers/CourierRegistrationForm/CourierSummary.tsx @@ -1,4 +1,4 @@ -import React from 'react'; +import React from "react"; export const CourierSummary = () => { return
CourierSummary
; diff --git a/apps/agent/src/Couriers/CourierRegistrationForm/CourierVehicleInfo.tsx b/apps/agent/src/Couriers/CourierRegistrationForm/CourierVehicleInfo.tsx index d8a22156..af601c40 100644 --- a/apps/agent/src/Couriers/CourierRegistrationForm/CourierVehicleInfo.tsx +++ b/apps/agent/src/Couriers/CourierRegistrationForm/CourierVehicleInfo.tsx @@ -1,24 +1,24 @@ -import React from 'react'; -import { useForm, SubmitHandler } from 'react-hook-form'; -import { z } from 'zod'; -import { zodResolver } from '@hookform/resolvers/zod'; -import { useCourierFormStore } from '@/hooks/useCourierFormStore'; -import { Input, Select } from 'ui'; -import { useRouter } from 'next/router'; +import React from "react"; +import { useForm, SubmitHandler } from "react-hook-form"; +import { z } from "zod"; +import { zodResolver } from "@hookform/resolvers/zod"; +import { useCourierFormStore } from "@/hooks/useCourierFormStore"; +import { Input, Select } from "ui"; +import { useRouter } from "next/router"; const courierVehicleSchema = z.object({ type: z.string().trim(), - model: z.string().nonempty({ message: 'Vehicle model is required' }).trim(), + model: z.string().nonempty({ message: "Vehicle model is required" }).trim(), license_plate_number: z .string() .toUpperCase() - .nonempty({ message: 'License plate number is required' }) + .nonempty({ message: "License plate number is required" }) .regex(/^[A-Z0-9]{1,7}$/i, { message: - 'Invalid license plate number format (up to 5 characters, letters and numbers only)', + "Invalid license plate number format (up to 5 characters, letters and numbers only)", }) .trim(), - color: z.string().nonempty({ message: 'Vehicle color is required' }).trim(), + color: z.string().nonempty({ message: "Vehicle color is required" }).trim(), }); type FormData = z.infer; @@ -43,27 +43,27 @@ export const CourierVehicleInfo = () => { const onSubmit: SubmitHandler = async (data) => { const validatedInput = courierVehicleSchema.parse(data); updateStepFormData(validatedInput); - goToStep('next'); + goToStep("next"); router.push(`/couriers/register/summary`); }; return ( -
+ + - - + +
); }; diff --git a/apps/agent/src/Couriers/CourierRegistrationForm/ZoneInfo.tsx b/apps/agent/src/Couriers/CourierRegistrationForm/ZoneInfo.tsx index 218496a8..4d3c2f47 100644 --- a/apps/agent/src/Couriers/CourierRegistrationForm/ZoneInfo.tsx +++ b/apps/agent/src/Couriers/CourierRegistrationForm/ZoneInfo.tsx @@ -1,7 +1,7 @@ export const ZoneInfo = () => { - return ( -
-

Zone

-
- ) -} \ No newline at end of file + return ( +
+

Zone

+
+ ); +}; diff --git a/apps/agent/src/Couriers/CourierRegistrationForm/index.tsx b/apps/agent/src/Couriers/CourierRegistrationForm/index.tsx index 844643d9..338b53ac 100644 --- a/apps/agent/src/Couriers/CourierRegistrationForm/index.tsx +++ b/apps/agent/src/Couriers/CourierRegistrationForm/index.tsx @@ -1,5 +1,5 @@ -export * from './CourierPersonalInfo'; -export * from './CourierContactDetails'; -export * from './CourierVehicleInfo'; -export * from './CourierFormStepsPaginator'; +export * from "./CourierPersonalInfo"; +export * from "./CourierContactDetails"; +export * from "./CourierVehicleInfo"; +export * from "./CourierFormStepsPaginator"; export * from "./CourierFormSteps"; diff --git a/apps/agent/src/Couriers/CourierStats.tsx b/apps/agent/src/Couriers/CourierStats.tsx index 385f5c09..c1809dc9 100644 --- a/apps/agent/src/Couriers/CourierStats.tsx +++ b/apps/agent/src/Couriers/CourierStats.tsx @@ -22,11 +22,9 @@ const stats: Stat[] = [ desc: "Nov 1st - Dec 1st", trend: "positive", percentage: 15, - } + }, ]; export const CourierStats = () => { - return ( - - ); + return ; }; diff --git a/apps/agent/src/Couriers/DeliveryOverviewCard.tsx b/apps/agent/src/Couriers/DeliveryOverviewCard.tsx index 040be8a8..721b87a1 100644 --- a/apps/agent/src/Couriers/DeliveryOverviewCard.tsx +++ b/apps/agent/src/Couriers/DeliveryOverviewCard.tsx @@ -2,9 +2,9 @@ import { Card } from "ui"; export const DeliveryOverviewCard = ({ delivery }) => { return (
- -

Hello

-
+ +

Hello

+
); }; diff --git a/apps/agent/src/Couriers/ListCouriers.tsx b/apps/agent/src/Couriers/ListCouriers.tsx index a3fdd98f..1c29a4c5 100644 --- a/apps/agent/src/Couriers/ListCouriers.tsx +++ b/apps/agent/src/Couriers/ListCouriers.tsx @@ -1,6 +1,6 @@ -import { useFetchCouriers } from '@/hooks/couriers'; -import { CourierOverviewCard } from './CourierOverviewCard'; -import { List, ListHeader, ListErrorState } from 'ui'; +import { useFetchCouriers } from "@/hooks/couriers"; +import { CourierOverviewCard } from "./CourierOverviewCard"; +import { List, ListHeader, ListErrorState } from "ui"; export const ListCouriers = () => { const { data: couriers, error, loading, couriersCount } = useFetchCouriers(); @@ -8,7 +8,7 @@ export const ListCouriers = () => { if (error) { return ( @@ -17,11 +17,11 @@ export const ListCouriers = () => { console.log(couriersCount); return ( -
+
{
-
    -
  • -
    - Number Plate: CESB91 -
    -
  • -
+
    +
  • +
    Number Plate: CESB91
    +
  • +
{ return ( -
-
+
+

Welcome back

-

Keji Lumori

+

Keji Lumori

-
+
New Order -
-
{businesses.map((business) => ( diff --git a/apps/agent/src/Dashboard/LatestOrders.tsx b/apps/agent/src/Dashboard/LatestOrders.tsx index 4f44cf7f..3bda8771 100644 --- a/apps/agent/src/Dashboard/LatestOrders.tsx +++ b/apps/agent/src/Dashboard/LatestOrders.tsx @@ -1,5 +1,9 @@ import { Card, IconButton } from "ui"; -import { HiOutlineBanknotes, HiOutlinePlusCircle, HiArrowSmallRight } from "react-icons/hi2"; +import { + HiOutlineBanknotes, + HiOutlinePlusCircle, + HiArrowSmallRight, +} from "react-icons/hi2"; const orders = [ { @@ -29,7 +33,9 @@ export const LatestOrders = () => {
3 Orders
- +
{orders.map((order) => ( diff --git a/apps/agent/src/Dashboard/SuppliersOverview.tsx b/apps/agent/src/Dashboard/SuppliersOverview.tsx index 05c07afe..91067599 100644 --- a/apps/agent/src/Dashboard/SuppliersOverview.tsx +++ b/apps/agent/src/Dashboard/SuppliersOverview.tsx @@ -5,26 +5,30 @@ const suppliers = [ { id: 1, name: "Energi Dealers", - avatar: "https://res.cloudinary.com/dwacr3zpp/image/upload/v1699295129/138b9b22dbc85be57c3898716fcdfd4c.jpg", + avatar: + "https://res.cloudinary.com/dwacr3zpp/image/upload/v1699295129/138b9b22dbc85be57c3898716fcdfd4c.jpg", }, { id: 2, name: "Twins Construction", - avatar: "https://res.cloudinary.com/dwacr3zpp/image/upload/v1699295129/138b9b22dbc85be57c3898716fcdfd4c.jpg", + avatar: + "https://res.cloudinary.com/dwacr3zpp/image/upload/v1699295129/138b9b22dbc85be57c3898716fcdfd4c.jpg", }, ]; export const SuppliersOverview = () => { - return ( -
-
-
-

Suppliers

- -
9 suppliers
-
- + return ( +
+
+
+

Suppliers

+ +
9 suppliers
-
+ +
+
{suppliers.map((supplier) => (
@@ -35,7 +39,7 @@ export const SuppliersOverview = () => {
))} -
- ) -} \ No newline at end of file +
+ ); +}; diff --git a/apps/agent/src/Dashboard/index.tsx b/apps/agent/src/Dashboard/index.tsx index 566b4188..75f84525 100644 --- a/apps/agent/src/Dashboard/index.tsx +++ b/apps/agent/src/Dashboard/index.tsx @@ -2,4 +2,4 @@ export * from "./AgentStats"; export * from "./AgentToolBar"; export * from "./BusinessesOverview"; export * from "./LatestOrders"; -export * from "./SuppliersOverview"; \ No newline at end of file +export * from "./SuppliersOverview"; diff --git a/apps/agent/src/Orders/ListOrders.tsx b/apps/agent/src/Orders/ListOrders.tsx index 6c755844..9615c0b1 100644 --- a/apps/agent/src/Orders/ListOrders.tsx +++ b/apps/agent/src/Orders/ListOrders.tsx @@ -1,13 +1,13 @@ -import { useFetchOrders } from '@/hooks/orders'; -import { List, ListHeader, ListErrorState } from 'ui'; -import { OrderOverviewCard } from './OrderOverviewCard'; +import { useFetchOrders } from "@/hooks/orders"; +import { List, ListHeader, ListErrorState } from "ui"; +import { OrderOverviewCard } from "./OrderOverviewCard"; export const ListOrders = () => { const { data: orders, error, loading, ordersCount } = useFetchOrders(); if (error) { return ( @@ -15,8 +15,8 @@ export const ListOrders = () => { } return ( -
- +
+ { const { error, data: business, loading } = useFetchBusinessByPK(businessId); @@ -16,7 +17,7 @@ export const OrderClient = ({ businessId }) => { return (
- +
{ return ( - +
diff --git a/apps/agent/src/Orders/OrderItems.tsx b/apps/agent/src/Orders/OrderItems.tsx index 100bb20b..331cd30f 100644 --- a/apps/agent/src/Orders/OrderItems.tsx +++ b/apps/agent/src/Orders/OrderItems.tsx @@ -5,19 +5,19 @@ import { formatCurrency } from "@sahil/lib"; export const OrderItem = ({ price, quantity, title }) => { return ( -
-
-

{title}

-

- {formatCurrency(price)} -

+
+
+

{title}

+

+ {formatCurrency(price)} +

+
+
+

+ {quantity}x +

+
-
-

- {quantity}x -

-
-
); }; @@ -36,16 +36,16 @@ export const OrderItems = ({ items }) => { return ( <> -
    - {items?.map((item) => ( - - ))} -
+
    + {items?.map((item) => ( + + ))} +
); diff --git a/apps/agent/src/Orders/OrderOverview.tsx b/apps/agent/src/Orders/OrderOverview.tsx index 59ac990a..25108933 100644 --- a/apps/agent/src/Orders/OrderOverview.tsx +++ b/apps/agent/src/Orders/OrderOverview.tsx @@ -8,7 +8,9 @@ export const OrderOverview = ({ order }) => { <>
-

Order ID: #{order.id.slice(0, 8).toLocaleUpperCase()}

+

+ Order ID: #{order.id.slice(0, 8).toLocaleUpperCase()} +

-
{order?.status}
+
+ {order?.status} +
diff --git a/apps/agent/src/Orders/OrderPreferences.tsx b/apps/agent/src/Orders/OrderPreferences.tsx index de7e59c5..054596dc 100644 --- a/apps/agent/src/Orders/OrderPreferences.tsx +++ b/apps/agent/src/Orders/OrderPreferences.tsx @@ -1,8 +1,6 @@ import { formatDateTime } from "@sahil/lib/dates"; import { Card } from "ui"; -import { - HiOutlinePrinter, -} from "react-icons/hi2"; +import { HiOutlinePrinter } from "react-icons/hi2"; export const OrderPreferences = ({ order }) => { return ( diff --git a/apps/agent/src/Orders/OrderProcessingForm/DeliveryDetails.tsx b/apps/agent/src/Orders/OrderProcessingForm/DeliveryDetails.tsx index cd272044..7575c38c 100644 --- a/apps/agent/src/Orders/OrderProcessingForm/DeliveryDetails.tsx +++ b/apps/agent/src/Orders/OrderProcessingForm/DeliveryDetails.tsx @@ -26,7 +26,9 @@ const deliveryDetailsSchema = z.object({ type FormData = z.infer; export const DeliveryDetails = ({ navigateToNextStep }) => { - const updateStepFormData = useOrderFormStore(state => state.updateStepFormData); + const updateStepFormData = useOrderFormStore( + (state) => state.updateStepFormData + ); const { register, handleSubmit, @@ -40,14 +42,18 @@ export const DeliveryDetails = ({ navigateToNextStep }) => { const validatedInput = deliveryDetailsSchema.parse(data); updateStepFormData(validatedInput); - navigateToNextStep("payment_details") + navigateToNextStep("payment_details"); }; return (
- + {errors.contactName?.message && ( )} @@ -55,7 +61,7 @@ export const DeliveryDetails = ({ navigateToNextStep }) => { {errors.mobileNumber?.message && ( diff --git a/apps/agent/src/Orders/OrderProcessingForm/OrderDetails.tsx b/apps/agent/src/Orders/OrderProcessingForm/OrderDetails.tsx index 32d32318..5f99c5d0 100644 --- a/apps/agent/src/Orders/OrderProcessingForm/OrderDetails.tsx +++ b/apps/agent/src/Orders/OrderProcessingForm/OrderDetails.tsx @@ -34,7 +34,7 @@ export const OrderDetails = ({ navigateToNextStep }) => { const client = businesses.find((business) => business.id === data.clientId); updateStepFormData(validatedInput); setCurrentClient(client); - navigateToNextStep("product_selection") + navigateToNextStep("product_selection"); }; const onExit = () => { @@ -49,45 +49,45 @@ export const OrderDetails = ({ navigateToNextStep }) => { return ( -
-
- Client -
- +
+
+ Client
- - - -
-
- -
- - -
+ +
+ + + +
+
+ +
+ +
+
); diff --git a/apps/agent/src/Orders/OrderProcessingForm/OrderSummary.tsx b/apps/agent/src/Orders/OrderProcessingForm/OrderSummary.tsx index e7ca8969..a9aed92b 100644 --- a/apps/agent/src/Orders/OrderProcessingForm/OrderSummary.tsx +++ b/apps/agent/src/Orders/OrderProcessingForm/OrderSummary.tsx @@ -38,15 +38,23 @@ const ProductSummary = ({ product }) => { }; const checkoutSchema = z.object({ - amount: z.string().optional() + amount: z.string().optional(), }); type FormData = z.infer; export const OrderSummary = () => { - const { requesTtoPay, loading: payLoading, error: payError } = useRequesTtoPay(); - const { placeOrder, loading: orderLoading, error: orderError } = usePlaceBusinessOrder(); - const { client } = useOrderFormStore(state => state); + const { + requesTtoPay, + loading: payLoading, + error: payError, + } = useRequesTtoPay(); + const { + placeOrder, + loading: orderLoading, + error: orderError, + } = usePlaceBusinessOrder(); + const { client } = useOrderFormStore((state) => state); const { register, handleSubmit, @@ -79,9 +87,9 @@ export const OrderSummary = () => { object: { origin: "Souq Munuki", destination: "Souq Custom", - customerId: "" - } - } + customerId: "", + }, + }, }); console.log("order:", order); const res = await requesTtoPay({ @@ -94,9 +102,9 @@ export const OrderSummary = () => { }, externalId: "6353636", payerMessage: "Hey", - payeeNote: "Sahil Order" - } - } + payeeNote: "Sahil Order", + }, + }, }); console.log("res:", res); } catch (err) { diff --git a/apps/agent/src/Orders/OrderProcessingForm/PaymentDetails.tsx b/apps/agent/src/Orders/OrderProcessingForm/PaymentDetails.tsx index 72c506d1..2370eb14 100644 --- a/apps/agent/src/Orders/OrderProcessingForm/PaymentDetails.tsx +++ b/apps/agent/src/Orders/OrderProcessingForm/PaymentDetails.tsx @@ -18,7 +18,9 @@ const paymentDetailsSchema = z.object({ type FormData = z.infer; export const PaymentDetails = ({ navigateToNextStep }) => { - const updateStepFormData = useOrderFormStore(state => state.updateStepFormData); + const updateStepFormData = useOrderFormStore( + (state) => state.updateStepFormData + ); const { register, handleSubmit, diff --git a/apps/agent/src/Orders/OrderProcessingForm/ProductSelection.tsx b/apps/agent/src/Orders/OrderProcessingForm/ProductSelection.tsx index 64060857..48bcdc2e 100644 --- a/apps/agent/src/Orders/OrderProcessingForm/ProductSelection.tsx +++ b/apps/agent/src/Orders/OrderProcessingForm/ProductSelection.tsx @@ -6,7 +6,11 @@ import { useOrderFormStore } from "@/hooks/useOrderFormStore"; import { ProductsCatalogue } from "../ProductsCatalogue"; import { RecommendedSuppliers } from "../RecommendedSuppliers"; -import { HiArrowSmallRight, HiMiniMagnifyingGlass, HiXMark } from "react-icons/hi2"; +import { + HiArrowSmallRight, + HiMiniMagnifyingGlass, + HiXMark, +} from "react-icons/hi2"; const productSelectionSchema = z.object({ // clientId: z.string(), @@ -15,7 +19,9 @@ const productSelectionSchema = z.object({ type FormData = z.infer; export const ProductSelection = ({ navigateToNextStep }) => { - const { client, formData, goToStep, updateStepFormData } = useOrderFormStore((state) => state); + const { client, formData, goToStep, updateStepFormData } = useOrderFormStore( + (state) => state + ); const { register, @@ -38,7 +44,7 @@ export const ProductSelection = ({ navigateToNextStep }) => { return ( <>
- +
@@ -71,4 +77,4 @@ export const SearchProductCatalogue = () => {
); -}; \ No newline at end of file +}; diff --git a/apps/agent/src/Orders/OrderProcessingForm/StepsPaginator.tsx b/apps/agent/src/Orders/OrderProcessingForm/StepsPaginator.tsx index 449b737a..5b8ec612 100644 --- a/apps/agent/src/Orders/OrderProcessingForm/StepsPaginator.tsx +++ b/apps/agent/src/Orders/OrderProcessingForm/StepsPaginator.tsx @@ -22,17 +22,17 @@ export const StepsPaginator = ({ headers, onStepChange }: Props) => {
- - + return ( + +
+ {progress.map((step) => ( +
+
+
+ + + +

{step.prompt}

- ))} -
- - ); - }; - \ No newline at end of file +
+ + + + +
+
+ ))} +
+ + ); +}; diff --git a/apps/agent/src/Orders/OrderStatusSteps.tsx b/apps/agent/src/Orders/OrderStatusSteps.tsx index bd814a42..964cefca 100644 --- a/apps/agent/src/Orders/OrderStatusSteps.tsx +++ b/apps/agent/src/Orders/OrderStatusSteps.tsx @@ -1,12 +1,12 @@ export const OrderStatusSteps = ({ orderId }) => { - return ( -
-
    -
  • Order Confirmation
  • -
  • Courier Pickup
  • -
  • Enroute
  • -
  • Delivered
  • -
-
- ) -} \ No newline at end of file + return ( +
+
    +
  • Order Confirmation
  • +
  • Courier Pickup
  • +
  • Enroute
  • +
  • Delivered
  • +
+
+ ); +}; diff --git a/apps/agent/src/Orders/ProductsCatalogue.tsx b/apps/agent/src/Orders/ProductsCatalogue.tsx index 052beef1..ac7a5272 100644 --- a/apps/agent/src/Orders/ProductsCatalogue.tsx +++ b/apps/agent/src/Orders/ProductsCatalogue.tsx @@ -1,8 +1,8 @@ -import { useEffect, useState } from 'react'; -import { useFetchProducts } from '@/hooks/products'; -import { useOrderItemsStore } from '@/hooks/useOrderItemsStore'; -import { Card, JoinGrid } from 'ui'; -import { formatCost } from '@sahil/lib'; +import { useEffect, useState } from "react"; +import { useFetchProducts } from "@/hooks/products"; +import { useOrderItemsStore } from "@/hooks/useOrderItemsStore"; +import { Card, JoinGrid } from "ui"; +import { formatCost } from "@sahil/lib"; import { HiArrowSmallLeft, HiArrowSmallRight, @@ -14,7 +14,7 @@ import { HiOutlineBanknotes, HiArrowPath, HiSignalSlash, -} from 'react-icons/hi2'; +} from "react-icons/hi2"; export const ProductsCatalogue = () => { const [offset, setOffset] = useState(0); @@ -33,17 +33,17 @@ export const ProductsCatalogue = () => { if (error) { return ( - - + +

Products aren't loading due to a technical problem on our side. Please - try again. If the issue continues,{' '} - contact support. + try again. If the issue continues,{" "} + contact support.

-
-
@@ -53,10 +53,10 @@ export const ProductsCatalogue = () => { if (loading) { return ( - -
+ +
- +

Loading Products

@@ -72,47 +72,47 @@ export const ProductsCatalogue = () => { }); }; const onRemoveOrderItem = (product: any) => { - console.log('remove product to order', product); + console.log("remove product to order", product); }; return ( - -
-
+ +
+
-
+
-

{productsCount.count} Items

+

{productsCount.count} Items

-
-
-
+
{products && products?.map((product) => { const isInCart = orderItemsMap.has(product.id); @@ -155,57 +155,57 @@ export const ProductSummary = ({ isInCart, }: ProductSummaryProps) => { return ( -
-
-
-

{product.name}

+
+
+
+

{product.name}

{product.discount && product.discount !== 0 && ( -
{product.discount}%
+
{product.discount}%
)}
-
-
- +
+
+ {formatCost(product.price)}
-
+
{!isInCart ? ( ) : ( -
+
-
+
-
1
+
1
diff --git a/apps/agent/src/Orders/RecommendedSuppliers.tsx b/apps/agent/src/Orders/RecommendedSuppliers.tsx index a84c790f..15b84d6c 100644 --- a/apps/agent/src/Orders/RecommendedSuppliers.tsx +++ b/apps/agent/src/Orders/RecommendedSuppliers.tsx @@ -1,7 +1,4 @@ -import { - HiOutlineTruck, - HiXMark, -} from "react-icons/hi2"; +import { HiOutlineTruck, HiXMark } from "react-icons/hi2"; import { useFetchSuppliers } from "@/hooks/suppliers"; import { Card } from "ui"; diff --git a/apps/agent/src/Orders/constants.ts b/apps/agent/src/Orders/constants.ts index 812c401c..9f364f80 100644 --- a/apps/agent/src/Orders/constants.ts +++ b/apps/agent/src/Orders/constants.ts @@ -1,8 +1,8 @@ export const INITIAL_STEP = "order_details"; export const steps = [ - "order_details", - "product_selection", - "delivery_details", - "payment_details", - "summary" -] as const; \ No newline at end of file + "order_details", + "product_selection", + "delivery_details", + "payment_details", + "summary", +] as const; diff --git a/apps/agent/src/Orders/index.ts b/apps/agent/src/Orders/index.ts index 66af5b99..4007e810 100644 --- a/apps/agent/src/Orders/index.ts +++ b/apps/agent/src/Orders/index.ts @@ -5,4 +5,4 @@ export * from "./OrderOverview"; export * from "./OrderPreferences"; export * from "./OrderProgress"; export * from "./OrderClient"; -export * from "./OrderDetails"; \ No newline at end of file +export * from "./OrderDetails"; diff --git a/apps/agent/src/Orders/types.ts b/apps/agent/src/Orders/types.ts index f7ed7da2..d026f275 100644 --- a/apps/agent/src/Orders/types.ts +++ b/apps/agent/src/Orders/types.ts @@ -6,4 +6,4 @@ export type OrderItem = {}; export type FormDataState = Record; -export type SahilBusinessPartner = Record; \ No newline at end of file +export type SahilBusinessPartner = Record; diff --git a/apps/agent/src/Suppliers/AddNewProductModal.tsx b/apps/agent/src/Suppliers/AddNewProductModal.tsx index fbd8dd53..d563fad6 100644 --- a/apps/agent/src/Suppliers/AddNewProductModal.tsx +++ b/apps/agent/src/Suppliers/AddNewProductModal.tsx @@ -1,16 +1,16 @@ -import React, { useRef } from 'react'; +import React, { useRef } from "react"; import SupplierProductForm, { ProductFormData, supplierProductSchema, -} from './SupplierProductForm'; -import Modal from 'ui/components/Modal'; -import { HiOutlinePlusCircle } from 'react-icons/hi2'; -import { useAddNewProduct } from '@/hooks/suppliers'; -import { SubmitHandler } from 'react-hook-form'; +} from "./SupplierProductForm"; +import Modal from "ui/components/Modal"; +import { HiOutlinePlusCircle } from "react-icons/hi2"; +import { useAddNewProduct } from "@/hooks/suppliers"; +import { SubmitHandler } from "react-hook-form"; let productEmptyState = { - name: '', - description: '', + name: "", + description: "", inStock: false, price: 0, quantity: 0, @@ -38,12 +38,12 @@ const AddNewProductModal = ({ supplier_id }: { supplier_id: string }) => { return ( } - CTA='Add Product' - id='add-product' + CTA="Add Product" + id="add-product" CloseBtnRef={closeBtn} - title='New Product' + title="New Product" > { const closeBtn = useRef(null); @@ -18,34 +18,34 @@ const DeleteProductModal = ({ id, name }: { id: string; name: string }) => { }; return ( } - CTA='Delete' + CTA="Delete" id={`delete-${id}-modal`} CloseBtnRef={closeBtn} - title='Delete Product' + title="Delete Product" > -

+

Are you sure you want to delete {name}?

-
+
-
+
); }; diff --git a/apps/agent/src/Suppliers/EditProductModal.tsx b/apps/agent/src/Suppliers/EditProductModal.tsx index f636eeda..5de3d7c1 100644 --- a/apps/agent/src/Suppliers/EditProductModal.tsx +++ b/apps/agent/src/Suppliers/EditProductModal.tsx @@ -1,12 +1,12 @@ -import React, { useRef } from 'react'; -import { useEditProduct } from '@/hooks/suppliers'; +import React, { useRef } from "react"; +import { useEditProduct } from "@/hooks/suppliers"; import SupplierProductForm, { ProductFormData, supplierProductSchema, -} from './SupplierProductForm'; -import Modal from 'ui/components/Modal'; -import { HiOutlinePencilSquare } from 'react-icons/hi2'; -import { SubmitHandler } from 'react-hook-form'; +} from "./SupplierProductForm"; +import Modal from "ui/components/Modal"; +import { HiOutlinePencilSquare } from "react-icons/hi2"; +import { SubmitHandler } from "react-hook-form"; const EditProductModal = ({ product }: { product: ProductFormData }) => { const { updateProduct, loading } = useEditProduct(); @@ -34,20 +34,20 @@ const EditProductModal = ({ product }: { product: ProductFormData }) => { return ( } - CTA='Edit' + CTA="Edit" id={`edit-${product.id}-modal`} CloseBtnRef={closeBtn} - title='Edit Product' + title="Edit Product" > -
+
); }; diff --git a/apps/agent/src/Suppliers/FilterSuppliersModal.tsx b/apps/agent/src/Suppliers/FilterSuppliersModal.tsx index fbfadd4a..36b8cc76 100644 --- a/apps/agent/src/Suppliers/FilterSuppliersModal.tsx +++ b/apps/agent/src/Suppliers/FilterSuppliersModal.tsx @@ -1,10 +1,10 @@ -import { useState } from 'react'; -import { useRouter } from 'next/router'; -import { HiOutlineFunnel, HiFunnel, HiXMark } from 'react-icons/hi2'; -import { formatCategoryName } from '@sahil/lib/strings'; +import { useState } from "react"; +import { useRouter } from "next/router"; +import { HiOutlineFunnel, HiFunnel, HiXMark } from "react-icons/hi2"; +import { formatCategoryName } from "@sahil/lib/strings"; const FilterSuppliersModal = () => { - const [category, setCategory] = useState(''); + const [category, setCategory] = useState(""); const router = useRouter(); const handleSubmit = () => { @@ -16,64 +16,64 @@ const FilterSuppliersModal = () => { }; const handleCategoryClick = (cat: string) => { - category === cat ? setCategory('') : setCategory(cat); + category === cat ? setCategory("") : setCategory(cat); }; const categories = [ - 'agricultural_supplies', - 'construction_materials', - 'electronics_appliances', - 'transportation_solutions', - 'educational_materials', - 'energy_solutions', - 'clothing_and_textiles', - 'health_and_safety', - 'home_and_living', - 'beauty_and_care', - 'office_supplies', - 'food_and_beverages', - 'waste_and_recycling', - 'water_and_sanitation', + "agricultural_supplies", + "construction_materials", + "electronics_appliances", + "transportation_solutions", + "educational_materials", + "energy_solutions", + "clothing_and_textiles", + "health_and_safety", + "home_and_living", + "beauty_and_care", + "office_supplies", + "food_and_beverages", + "waste_and_recycling", + "water_and_sanitation", ]; return ( <> - -
- + +
+ {/* if there is a button in form, it will close the modal */} - -

Filter Suppliers

-
-
+

Filter Suppliers

+
+
Select a category -
+
{categories.map((cat) => { return (
-
-
diff --git a/apps/agent/src/Suppliers/ListSuppliers.tsx b/apps/agent/src/Suppliers/ListSuppliers.tsx index 865885e3..8b512025 100644 --- a/apps/agent/src/Suppliers/ListSuppliers.tsx +++ b/apps/agent/src/Suppliers/ListSuppliers.tsx @@ -1,6 +1,6 @@ -import { SupplierOverviewCard } from './SupplierOverviewCard'; -import { useFetchSuppliers } from '@/hooks/suppliers'; -import { List, ListHeader } from 'ui'; +import { SupplierOverviewCard } from "./SupplierOverviewCard"; +import { useFetchSuppliers } from "@/hooks/suppliers"; +import { List, ListHeader } from "ui"; export type SahilSupplier = { id: string; @@ -23,11 +23,11 @@ export const ListSuppliers = () => { } = useFetchSuppliers(); return ( -
+
{ const INITIAL_STEP = "Business Info"; return (
    - { - steps?.map(step =>
  • {step.label}
  • ) - } -
  • Done
  • -
- ) -} - + {steps?.map((step) => ( +
  • + {step.label} +
  • + ))} +
  • + Done +
  • + + ); +}; export const RegisterNewSupplier = () => { const router = useRouter(); @@ -23,7 +33,7 @@ export const RegisterNewSupplier = () => {
    - {step === "Business Info" ? : null } + {step === "Business Info" ? : null} {step === "Contact Details" ? : null} {step === "Preferences" ? : null}
    diff --git a/apps/agent/src/Suppliers/RegistrationWizard/store.ts b/apps/agent/src/Suppliers/RegistrationWizard/store.ts index 16b1fb7f..be126ec5 100644 --- a/apps/agent/src/Suppliers/RegistrationWizard/store.ts +++ b/apps/agent/src/Suppliers/RegistrationWizard/store.ts @@ -1,31 +1,29 @@ -import { create } from 'zustand' +import { create } from "zustand"; export const useSupplierFormStore = create((set) => ({ step: 1, currenntStep: { - label: "" + label: "", }, steps: [ { id: 1, label: "Business Info", path: "?info", - active: true + active: true, }, { id: 2, label: "Contact Details", path: "?contact", - active: false + active: false, }, { id: 3, label: "Preferences", path: "?preferences", - active: false + active: false, }, ], - nextStep: () => set((state) => ({ ...state, currentStep: { - - } })), -})) \ No newline at end of file + nextStep: () => set((state) => ({ ...state, currentStep: {} })), +})); diff --git a/apps/agent/src/Suppliers/ServiceZones.tsx b/apps/agent/src/Suppliers/ServiceZones.tsx index cb3885bd..01eda43e 100644 --- a/apps/agent/src/Suppliers/ServiceZones.tsx +++ b/apps/agent/src/Suppliers/ServiceZones.tsx @@ -21,18 +21,18 @@ const zones = [ export const ServiceZones = () => { return ( -

    Service Zones

    -
    - {zones.map((zone) => ( -
    - {zone.name} -
    - ))} -
    -
    - - -
    +

    Service Zones

    +
    + {zones.map((zone) => ( +
    + {zone.name} +
    + ))} +
    +
    + + +
    ); }; diff --git a/apps/agent/src/Suppliers/SupplierOrderHistory.tsx b/apps/agent/src/Suppliers/SupplierOrderHistory.tsx index 627e9e77..971a1f96 100644 --- a/apps/agent/src/Suppliers/SupplierOrderHistory.tsx +++ b/apps/agent/src/Suppliers/SupplierOrderHistory.tsx @@ -1,83 +1,90 @@ -import Link from 'next/link'; +import Link from "next/link"; import { useRouter } from "next/router"; import { formatDateTime } from "@sahil/lib/dates"; -import { Card, JoinGrid, List, ListHeader } from 'ui'; +import { Card, JoinGrid, List, ListHeader } from "ui"; import { useFetchSupplierOrders } from "@/hooks/suppliers"; import { HiOutlineCalendarDays, HiOutlineMapPin, HiOutlineFlag, - HiOutlineRocketLaunch -} from 'react-icons/hi2'; - + HiOutlineRocketLaunch, +} from "react-icons/hi2"; enum OrderStatus { - Cancelled = 'Cancelled', - Pending = 'Pending', - Fulfilled = 'Fulfilled', - Enroute = "ENROUTE" + Cancelled = "Cancelled", + Pending = "Pending", + Fulfilled = "Fulfilled", + Enroute = "ENROUTE", } const orderStyles: Record = { - [OrderStatus.Cancelled]: 'error', - [OrderStatus.Pending]: 'info', - [OrderStatus.Fulfilled]: 'success', - [OrderStatus.Enroute]: "accent" + [OrderStatus.Cancelled]: "error", + [OrderStatus.Pending]: "info", + [OrderStatus.Fulfilled]: "success", + [OrderStatus.Enroute]: "accent", }; export const SupplierOrderHistory = ({ supplierId }) => { - const { data: orders, error, loading, ordersCount } = useFetchSupplierOrders(supplierId); + const { + data: orders, + error, + loading, + ordersCount, + } = useFetchSupplierOrders(supplierId); return ( -
    -
    -

    Order History

    - +
    +
    +

    Order History

    +
    } + renderItem={(order) => ( + + )} />
    ); }; const OrderSummary = ({ order }) => { - const statusStyle = orderStyles[order.status]; return ( - +
    -

    Order ID: #{order.id.slice(0, 8).toLocaleUpperCase()}

    +

    + Order ID: #{order.id.slice(0, 8).toLocaleUpperCase()} +

    -
    - +
    +

    {formatDateTime(order?.created_at)}

    -
    - +
    +

    {order.origin}

    -
    - +
    +

    {order.destination}

    -
    -
    - - {order.status} -
    +
    +
    + + {order.status}
    +
    ); }; diff --git a/apps/agent/src/Suppliers/SupplierOverviewCard.tsx b/apps/agent/src/Suppliers/SupplierOverviewCard.tsx index 712e69bf..5ed7a39c 100644 --- a/apps/agent/src/Suppliers/SupplierOverviewCard.tsx +++ b/apps/agent/src/Suppliers/SupplierOverviewCard.tsx @@ -27,67 +27,62 @@ type Props = { export const SupplierOverviewCard: FC = ({ supplier }) => { return ( -
    - -
    - {generateInitials(supplier.name)} -
    - - +
    + +
    + {generateInitials(supplier.name)} +
    + + +
    +
    + + {supplier.name} + +
    + {supplier.categories.map(({ category_name: name }) => { + return ( + + {formatCategoryName(name)} + + ); + })}
    -
    - - {supplier.name} - -
    - {supplier.categories.map(({ category_name: name }) => { - return ( - - {formatCategoryName(name)} - - ); - })} +
    +
    +
    +
    + Service Zone +

    {supplier.zone}

    +
    +
    + Contact Name +

    {supplier.contactName}

    -
    -
    -
    - - Service Zone - -

    {supplier.zone}

    -
    -
    - - Contact Name - -

    {supplier.contactName}

    -
    +
    +
    + + + +

    {supplier.streetAddress}

    -
    -
    - - - -

    {supplier.streetAddress}

    -
    -
    - - - -

    {supplier.phoneNumber}

    -
    +
    + + + +

    {supplier.phoneNumber}

    - +
    ); }; diff --git a/apps/agent/src/Suppliers/SupplierProductForm.tsx b/apps/agent/src/Suppliers/SupplierProductForm.tsx index ba40fa9f..09a4da64 100644 --- a/apps/agent/src/Suppliers/SupplierProductForm.tsx +++ b/apps/agent/src/Suppliers/SupplierProductForm.tsx @@ -1,20 +1,20 @@ -import React, { useEffect } from 'react'; -import { SubmitHandler, useForm } from 'react-hook-form'; -import { z } from 'zod'; -import { zodResolver } from '@hookform/resolvers/zod'; -import { Input, Toggle } from 'ui'; +import React, { useEffect } from "react"; +import { SubmitHandler, useForm } from "react-hook-form"; +import { z } from "zod"; +import { zodResolver } from "@hookform/resolvers/zod"; +import { Input, Toggle } from "ui"; export const supplierProductSchema = z.object({ id: z.string().optional(), - name: z.string().min(3, 'Name cannot be less than 3 characters.').trim(), - description: z.string().min(1, 'Description cannot be less than 10.').trim(), + name: z.string().min(3, "Name cannot be less than 3 characters.").trim(), + description: z.string().min(1, "Description cannot be less than 10.").trim(), inStock: z.boolean(), - price: z.number().min(0, 'Price cannot be negative.'), - quantity: z.number().min(0, 'Quantity cannot be negative.'), + price: z.number().min(0, "Price cannot be negative."), + quantity: z.number().min(0, "Quantity cannot be negative."), discount: z .number() - .min(0, 'Discount cannot be negative.') - .max(90, 'Discount cannot be more than 90.'), + .min(0, "Discount cannot be negative.") + .max(90, "Discount cannot be more than 90."), }); export type ProductFormData = z.infer; @@ -42,19 +42,19 @@ const SupplierProductForm = ({ useEffect(() => { if (initial) { - setValue('id', initial.id); - setValue('name', initial.name || ''); - setValue('description', initial.description || ''); - setValue('inStock', initial.inStock || false); - setValue('price', initial.price || 0); - setValue('quantity', initial.quantity || 0); - setValue('discount', initial.discount || 0); + setValue("id", initial.id); + setValue("name", initial.name || ""); + setValue("description", initial.description || ""); + setValue("inStock", initial.inStock || false); + setValue("price", initial.price || 0); + setValue("quantity", initial.quantity || 0); + setValue("discount", initial.discount || 0); } }, [initial, setValue]); - const price = watch('price'); - const discount = watch('discount'); - const inStock = watch('inStock'); + const price = watch("price"); + const discount = watch("discount"); + const inStock = watch("inStock"); const discountedPrice = Math.round(price - price * (discount / 100)); @@ -63,64 +63,64 @@ const SupplierProductForm = ({ return (
    console.log(errors))} - className='flex flex-col gap-1' + className="flex flex-col gap-1" > - + -
    +
    -
    -
    +
    +
    {showDiscountedPrice && ( -

    +

    New Price {discountedPrice} SSP

    )}
    -
    +
    diff --git a/apps/agent/src/Suppliers/SupplierRegistrationForm/PreviewSupplierInfo.tsx b/apps/agent/src/Suppliers/SupplierRegistrationForm/PreviewSupplierInfo.tsx index b0b8f6a3..7f220874 100644 --- a/apps/agent/src/Suppliers/SupplierRegistrationForm/PreviewSupplierInfo.tsx +++ b/apps/agent/src/Suppliers/SupplierRegistrationForm/PreviewSupplierInfo.tsx @@ -1,9 +1,9 @@ -import { FC } from 'react'; -import { useForm, SubmitHandler } from 'react-hook-form'; -import { useRouter } from 'next/router'; -import { useRegisterSupplier } from '@/hooks/suppliers'; -import toast, { Toaster } from 'react-hot-toast'; -import { useSupplierFormStore } from '../../hooks/useSupplierFormStore'; +import { FC } from "react"; +import { useForm, SubmitHandler } from "react-hook-form"; +import { useRouter } from "next/router"; +import { useRegisterSupplier } from "@/hooks/suppliers"; +import toast, { Toaster } from "react-hot-toast"; +import { useSupplierFormStore } from "../../hooks/useSupplierFormStore"; export const PreviewSupplierInfo = () => { const { @@ -28,16 +28,16 @@ export const PreviewSupplierInfo = () => { }; if (error) { - toast.error('Something went wrong'); + toast.error("Something went wrong"); } return ( <> - +

    Save Supplier Information

    - + - + ); }; diff --git a/apps/agent/src/Suppliers/SupplierRegistrationForm/SupplierBasicInfoForm.tsx b/apps/agent/src/Suppliers/SupplierRegistrationForm/SupplierBasicInfoForm.tsx index b3ede65e..fa98c1c8 100644 --- a/apps/agent/src/Suppliers/SupplierRegistrationForm/SupplierBasicInfoForm.tsx +++ b/apps/agent/src/Suppliers/SupplierRegistrationForm/SupplierBasicInfoForm.tsx @@ -1,13 +1,13 @@ -import { useForm, SubmitHandler } from 'react-hook-form'; -import { z } from 'zod'; -import { zodResolver } from '@hookform/resolvers/zod'; -import { useSupplierFormStore } from '../../hooks/useSupplierFormStore'; -import { useRouter } from 'next/router'; +import { useForm, SubmitHandler } from "react-hook-form"; +import { z } from "zod"; +import { zodResolver } from "@hookform/resolvers/zod"; +import { useSupplierFormStore } from "../../hooks/useSupplierFormStore"; +import { useRouter } from "next/router"; const supplierBasicInfoSchema = z.object({ - contactName: z.string().min(2, { message: 'required' }).trim(), + contactName: z.string().min(2, { message: "required" }).trim(), description: z.string().trim(), - name: z.string().min(2, { message: 'required' }).trim(), + name: z.string().min(2, { message: "required" }).trim(), }); type FormData = z.infer; @@ -34,69 +34,69 @@ export const SupplierBasicInfoForm = () => { const onSubmit: SubmitHandler = async (data) => { const validatedInput = supplierBasicInfoSchema.parse(data); updateStepFormData(validatedInput); - goToStep('next'); + goToStep("next"); router.push(`/suppliers/register/contact_details`); }; return ( <> -
    -
    -
    ); diff --git a/apps/client/src/Orders/OrderItems.tsx b/apps/client/src/Orders/OrderItems.tsx index 100bb20b..331cd30f 100644 --- a/apps/client/src/Orders/OrderItems.tsx +++ b/apps/client/src/Orders/OrderItems.tsx @@ -5,19 +5,19 @@ import { formatCurrency } from "@sahil/lib"; export const OrderItem = ({ price, quantity, title }) => { return ( -
    -
    -

    {title}

    -

    - {formatCurrency(price)} -

    +
    +
    +

    {title}

    +

    + {formatCurrency(price)} +

    +
    +
    +

    + {quantity}x +

    +
    -
    -

    - {quantity}x -

    -
    -
    ); }; @@ -36,16 +36,16 @@ export const OrderItems = ({ items }) => { return ( <> -
      - {items?.map((item) => ( - - ))} -
    +
      + {items?.map((item) => ( + + ))} +
    ); diff --git a/apps/client/src/Orders/OrderOverview.tsx b/apps/client/src/Orders/OrderOverview.tsx index 7d5e4bea..ed2ef2c8 100644 --- a/apps/client/src/Orders/OrderOverview.tsx +++ b/apps/client/src/Orders/OrderOverview.tsx @@ -9,54 +9,57 @@ import { HiOutlineBriefcase, HiCalendarDays, } from "react-icons/hi2"; - - - export const OrderOverview = ({ order }) => { - return ( - <> - -
    -
    - - Order ID: #{order.id.slice(0, 8).toLocaleUpperCase()} - - -
    -
    {order?.status}
    -
    +export const OrderOverview = ({ order }) => { + return ( + <> + +
    -
    -
    - Customer -

    {order?.business?.name}

    -
    -
    + + Order ID: #{order.id.slice(0, 8).toLocaleUpperCase()} + + +
    -
    -
    - - - -

    {formatDateTime(order?.created_at)}

    +
    + {order?.status} +
    +
    +
    +
    +
    + + Customer + +

    {order?.business?.name}

    +
    +
    -
    - - - -

    {order?.business?.phoneNumber}

    +
    +
    + + + +

    {formatDateTime(order?.created_at)}

    +
    +
    + + + +

    {order?.business?.phoneNumber}

    +
    -
    - - - ) -} \ No newline at end of file + + + ); +}; diff --git a/apps/client/src/Orders/OrderPreferences.tsx b/apps/client/src/Orders/OrderPreferences.tsx index de7e59c5..054596dc 100644 --- a/apps/client/src/Orders/OrderPreferences.tsx +++ b/apps/client/src/Orders/OrderPreferences.tsx @@ -1,8 +1,6 @@ import { formatDateTime } from "@sahil/lib/dates"; import { Card } from "ui"; -import { - HiOutlinePrinter, -} from "react-icons/hi2"; +import { HiOutlinePrinter } from "react-icons/hi2"; export const OrderPreferences = ({ order }) => { return ( diff --git a/apps/client/src/Orders/index.ts b/apps/client/src/Orders/index.ts index 035d4ad3..93ab802d 100644 --- a/apps/client/src/Orders/index.ts +++ b/apps/client/src/Orders/index.ts @@ -1,8 +1,8 @@ // export * from "./OrderStatusSteps"; -export * from './CourierOverview'; -export * from './OrderItems'; -export * from './OrderOverview'; -export * from './OrderPreferences'; +export * from "./CourierOverview"; +export * from "./OrderItems"; +export * from "./OrderOverview"; +export * from "./OrderPreferences"; // export * from "./OrderProgress"; -export * from './OrderClient'; -export * from './OrderDetails'; +export * from "./OrderClient"; +export * from "./OrderDetails"; diff --git a/apps/client/src/Products/ProductsCatalogue.tsx b/apps/client/src/Products/ProductsCatalogue.tsx index 08f998cc..0622c633 100644 --- a/apps/client/src/Products/ProductsCatalogue.tsx +++ b/apps/client/src/Products/ProductsCatalogue.tsx @@ -115,7 +115,9 @@ export const ProductsCatalogue = () => { }} />
    - Proceed to checkout + + Proceed to checkout +
    ); diff --git a/apps/client/src/hooks/accounts.ts b/apps/client/src/hooks/accounts.ts index 466542ab..eec8b5d5 100644 --- a/apps/client/src/hooks/accounts.ts +++ b/apps/client/src/hooks/accounts.ts @@ -1,5 +1,5 @@ -import { useQuery } from '@apollo/client'; -import { GET_ACCOUNT_BALANCE, GET_MOMO_ACCOUNT_INFO } from '@sahil/lib/graphql'; +import { useQuery } from "@apollo/client"; +import { GET_ACCOUNT_BALANCE, GET_MOMO_ACCOUNT_INFO } from "@sahil/lib/graphql"; export const useGetAccountBalance = () => { const { error, data, loading, refetch } = useQuery(GET_ACCOUNT_BALANCE); diff --git a/apps/client/src/hooks/businesses.ts b/apps/client/src/hooks/businesses.ts index 69bd3fe0..8ea67db1 100644 --- a/apps/client/src/hooks/businesses.ts +++ b/apps/client/src/hooks/businesses.ts @@ -1,10 +1,10 @@ -import { useMutation, useQuery } from '@apollo/client'; +import { useMutation, useQuery } from "@apollo/client"; import { FETCH_BUSINESSES, FETCH_BUSINESS_BY_PK, INSERT_NEW_BUSINESS, FETCH_BUSINESS_ORDERS, -} from '@sahil/lib/graphql'; +} from "@sahil/lib/graphql"; export const useFetchBusinesses = () => { const { error, data, loading } = useQuery(FETCH_BUSINESSES); diff --git a/apps/client/src/hooks/orders.ts b/apps/client/src/hooks/orders.ts index 74ff454a..5fdd7a87 100644 --- a/apps/client/src/hooks/orders.ts +++ b/apps/client/src/hooks/orders.ts @@ -1,11 +1,11 @@ -import { useMutation, useQuery } from '@apollo/client'; +import { useMutation, useQuery } from "@apollo/client"; import { FETCH_ORDERS, FETCH_ORDER_BY_PK, INSERT_NEW_ORDER, FETCH_ORDER_DELIVERIES, FETCH_ORDERS_STATS, -} from '@sahil/lib/graphql'; +} from "@sahil/lib/graphql"; export const useFetchOrders = () => { const { error, data, loading } = useQuery(FETCH_ORDERS); diff --git a/apps/client/src/hooks/payments.ts b/apps/client/src/hooks/payments.ts index 4321c530..0854f95c 100644 --- a/apps/client/src/hooks/payments.ts +++ b/apps/client/src/hooks/payments.ts @@ -1,9 +1,9 @@ -import { useMutation, useQuery } from '@apollo/client'; +import { useMutation, useQuery } from "@apollo/client"; import { GET_PAYMENT_STATUS, GET_PREAPPROVAL_STATUS, REQUEST_TO_PAY_STATUS, -} from '@sahil/lib/graphql'; +} from "@sahil/lib/graphql"; export const useGetPaymentStatus = () => { const { error, data, loading } = useQuery(GET_PAYMENT_STATUS); diff --git a/apps/client/src/hooks/products.ts b/apps/client/src/hooks/products.ts index 8bcb867f..918cf16e 100644 --- a/apps/client/src/hooks/products.ts +++ b/apps/client/src/hooks/products.ts @@ -1,6 +1,6 @@ -import { useMutation, useQuery } from '@apollo/client'; -import { FETCH_PRODUCTS, FETCH_PRODUCTS_BY_NAME } from '@sahil/lib/graphql'; -import { useRouter } from 'next/router'; +import { useMutation, useQuery } from "@apollo/client"; +import { FETCH_PRODUCTS, FETCH_PRODUCTS_BY_NAME } from "@sahil/lib/graphql"; +import { useRouter } from "next/router"; export const useFetchProducts = ({ offset = 0, diff --git a/apps/client/src/hooks/useOrderItemsStore.ts b/apps/client/src/hooks/useOrderItemsStore.ts index f21fc603..5ff6ef7c 100644 --- a/apps/client/src/hooks/useOrderItemsStore.ts +++ b/apps/client/src/hooks/useOrderItemsStore.ts @@ -1,4 +1,4 @@ -import { create } from 'zustand'; +import { create } from "zustand"; type OrderItem = { productId: string; diff --git a/apps/client/src/hooks/users.ts b/apps/client/src/hooks/users.ts index 4f41802e..9bfeda81 100644 --- a/apps/client/src/hooks/users.ts +++ b/apps/client/src/hooks/users.ts @@ -1,8 +1,8 @@ -import { useQuery } from '@apollo/client'; +import { useQuery } from "@apollo/client"; import { GET_MOMO_USER_BASIC_INFO, GET_MOMO_USER_INFO_WITH_CONSENT, -} from '@sahil/lib/graphql'; +} from "@sahil/lib/graphql"; export const useGetBasicUserInfo = () => { const { error, data, loading } = useQuery(GET_MOMO_USER_BASIC_INFO); diff --git a/apps/client/src/pages/_app.tsx b/apps/client/src/pages/_app.tsx index 36992630..a8b7bbec 100644 --- a/apps/client/src/pages/_app.tsx +++ b/apps/client/src/pages/_app.tsx @@ -1,14 +1,14 @@ -import '@/styles/globals.css'; -import type { AppProps } from 'next/app'; -import Layout from '@/Layout/layout'; -import { ApolloProvider } from '@apollo/client'; -import { createApolloClient } from '@sahil/lib/graphql'; +import "@/styles/globals.css"; +import type { AppProps } from "next/app"; +import Layout from "@/Layout/layout"; +import { ApolloProvider } from "@apollo/client"; +import { createApolloClient } from "@sahil/lib/graphql"; const graphqlUri = process.env.NEXT_PUBLIC_HASURA_GRAPHQL_ENDPOINT; const httpOptions = { headers: { - 'x-hasura-admin-secret': + "x-hasura-admin-secret": process.env.NEXT_PUBLIC_HASURA_GRAPHQL_ADMIN_SECRET, }, }; diff --git a/apps/client/src/pages/_document.tsx b/apps/client/src/pages/_document.tsx index a41ad50e..166c3dfb 100644 --- a/apps/client/src/pages/_document.tsx +++ b/apps/client/src/pages/_document.tsx @@ -1,4 +1,4 @@ -import { Html, Head, Main, NextScript } from 'next/document' +import { Html, Head, Main, NextScript } from "next/document"; export default function Document() { return ( @@ -6,12 +6,15 @@ export default function Document() { - +
    - ) + ); } diff --git a/apps/client/src/pages/account/index.tsx b/apps/client/src/pages/account/index.tsx index 67fff612..6158f58f 100644 --- a/apps/client/src/pages/account/index.tsx +++ b/apps/client/src/pages/account/index.tsx @@ -1,36 +1,36 @@ -import { BusinessProfileOverview, BusinessOrderHistory } from '@/Businesses'; -import { useGetAccountBalance, useGetMomoAccountInfo } from '@/hooks/accounts'; -import { useFetchBusinessByPK } from '@/hooks/businesses'; -import { Card, JoinGrid } from 'ui'; -import { useState } from 'react'; +import { BusinessProfileOverview, BusinessOrderHistory } from "@/Businesses"; +import { useGetAccountBalance, useGetMomoAccountInfo } from "@/hooks/accounts"; +import { useFetchBusinessByPK } from "@/hooks/businesses"; +import { Card, JoinGrid } from "ui"; +import { useState } from "react"; import { HiArrowSmallLeft, HiArrowSmallRight, HiOutlineMinusCircle, HiOutlineXCircle, HiOutlineCheckCircle, -} from 'react-icons/hi2'; -import { formatDateTime } from '@sahil/lib/dates'; -import { formatCurrency } from '@sahil/lib'; +} from "react-icons/hi2"; +import { formatDateTime } from "@sahil/lib/dates"; +import { formatCurrency } from "@sahil/lib"; export default function Account() { const { data: business, error, loading, - } = useFetchBusinessByPK('e87924e8-69e4-4171-bd89-0c8963e03d08'); + } = useFetchBusinessByPK("e87924e8-69e4-4171-bd89-0c8963e03d08"); if (error) { return

    An error occurred while fetching you account details!

    ; } return ( -
    -
    -
    +
    +
    +
    -
    +
    @@ -42,7 +42,7 @@ export default function Account() { const MomoAccountDetails = () => { return ( -

    Momo Account Details

    +

    Momo Account Details

    @@ -61,51 +61,51 @@ const MomoUserInfo = () => { }; return ( -
    +
    -

    Given Name

    +

    Given Name

    {loading ? ( -
    +
    ) : (

    {data?.given_name}

    )}
    -

    Family Name

    +

    Family Name

    {loading ? ( -
    +
    ) : (

    {data?.family_name}

    )}
    -

    Gender

    +

    Gender

    {loading ? ( -
    +
    ) : (

    {data?.gender}

    )}
    -

    Status

    +

    Status

    {loading ? ( -
    +
    ) : ( -

    {data?.status || 'Active'}

    +

    {data?.status || "Active"}

    )}
    {data === null && ( -
    +

    {isRefetching - ? 'Refetching account info...' + ? "Refetching account info..." : "Couldn't fetch account info."}

    - ) + ); } diff --git a/apps/client/src/pages/orders/[orderId].tsx b/apps/client/src/pages/orders/[orderId].tsx index 4a071da0..51d5f61c 100644 --- a/apps/client/src/pages/orders/[orderId].tsx +++ b/apps/client/src/pages/orders/[orderId].tsx @@ -5,11 +5,11 @@ import { OrderPreferences, OrderClient, OrderDetails, -} from '@/Orders'; -import { Tabs } from 'ui'; +} from "@/Orders"; +import { Tabs } from "ui"; -import { useFetchOrderByPK } from '@/hooks/orders'; -import { useRouter } from 'next/router'; +import { useFetchOrderByPK } from "@/hooks/orders"; +import { useRouter } from "next/router"; export default function OrderPage() { const router = useRouter(); @@ -19,12 +19,12 @@ export default function OrderPage() { if (loading) return

    loading

    ; return (
    -
    -
    +
    +
    -
    -
    +
    +
    {true ? ( diff --git a/apps/client/src/pages/orders/index.tsx b/apps/client/src/pages/orders/index.tsx index eff0f313..b4439122 100644 --- a/apps/client/src/pages/orders/index.tsx +++ b/apps/client/src/pages/orders/index.tsx @@ -1,14 +1,14 @@ -import { - OrderHistory -} from "@/Orders/OrderHistory"; +import { OrderHistory } from "@/Orders/OrderHistory"; export default function Orders() { return (
    -

    Orders Page

    +

    + Orders Page +

    - ) + ); } diff --git a/apps/client/src/pages/products/index.tsx b/apps/client/src/pages/products/index.tsx index 5a0b4f6b..ffe46a9c 100644 --- a/apps/client/src/pages/products/index.tsx +++ b/apps/client/src/pages/products/index.tsx @@ -1,16 +1,16 @@ -import { useState } from 'react'; -import { useRouter } from 'next/router'; -import { ProductsCatalogue } from '@/Products/ProductsCatalogue'; -import { HiMagnifyingGlass } from 'react-icons/hi2'; +import { useState } from "react"; +import { useRouter } from "next/router"; +import { ProductsCatalogue } from "@/Products/ProductsCatalogue"; +import { HiMagnifyingGlass } from "react-icons/hi2"; export default function Products() { - const [name, setName] = useState(''); + const [name, setName] = useState(""); const router = useRouter(); const onInputChange = (e: { target: { value: string } }) => { const value = e.target.value; setName(value); - if (value === '') { + if (value === "") { handleReset(); } }; @@ -24,28 +24,28 @@ export default function Products() { }; const handleReset = () => { - setName(''); + setName(""); const newUrl = `/products`; router.push(newUrl); }; return ( -
    -
    -

    Available Products

    - -
    +
    +
    +

    Available Products

    + +
    diff --git a/apps/client/src/pages/support/index.tsx b/apps/client/src/pages/support/index.tsx index 60534b74..cc39a66f 100644 --- a/apps/client/src/pages/support/index.tsx +++ b/apps/client/src/pages/support/index.tsx @@ -1,10 +1,11 @@ - export default function Support() { return (
    -

    Support Page

    +

    + Support Page +

    - ) + ); } diff --git a/apps/client/tailwind.config.ts b/apps/client/tailwind.config.ts index d1f7c5e4..b581bccc 100644 --- a/apps/client/tailwind.config.ts +++ b/apps/client/tailwind.config.ts @@ -1,20 +1,20 @@ -import type { Config } from 'tailwindcss'; +import type { Config } from "tailwindcss"; -const baseConfig: Config = require('@sahil/configs/tailwind/tailwind.config'); +const baseConfig: Config = require("@sahil/configs/tailwind/tailwind.config"); const extendedConfig: Config = { ...baseConfig, content: [ ...baseConfig.content, - './src/Addresses/**/**.{js,ts,jsx,tsx,mdx}', - './src/Maps/**/*.{js,ts,tsx,tsx,mdx}', - './src/Payments/**/*.{js,ts,tsx,tsx,mdx}', - './src/Reports/**/*.{js,ts,tsx,tsx,mdx}', - './src/Zones/**/*.{js,ts,tsx,tsx,mdx}', - './src/Businesses/**/*.{js,ts,tsx,tsx,mdx}', - './src/Suppliers/**/*.{js,ts,tsx,tsx,mdx}', - './src/Products/**/*.{js,ts,tsx,tsx,mdx}', - './src/Layout/*.{js,ts,tsx,tsx,mdx}', + "./src/Addresses/**/**.{js,ts,jsx,tsx,mdx}", + "./src/Maps/**/*.{js,ts,tsx,tsx,mdx}", + "./src/Payments/**/*.{js,ts,tsx,tsx,mdx}", + "./src/Reports/**/*.{js,ts,tsx,tsx,mdx}", + "./src/Zones/**/*.{js,ts,tsx,tsx,mdx}", + "./src/Businesses/**/*.{js,ts,tsx,tsx,mdx}", + "./src/Suppliers/**/*.{js,ts,tsx,tsx,mdx}", + "./src/Products/**/*.{js,ts,tsx,tsx,mdx}", + "./src/Layout/*.{js,ts,tsx,tsx,mdx}", ], theme: { ...baseConfig.theme, @@ -22,25 +22,25 @@ const extendedConfig: Config = { ...baseConfig.theme?.extend, }, }, - plugins: [...baseConfig.plugins, require('daisyui')], + plugins: [...baseConfig.plugins, require("daisyui")], daisyui: { themes: [ { lemonade: { - ...require('daisyui/src/theming/themes')['[data-theme=lemonade]'], - primary: '#067a46', - secondary: '#056835', - accent: '#40efcf', - neutral: '#2d2f39', - 'base-100': '#ffffff', - info: '#76d1e5', - success: '#22a05b', - warning: '#f0bc2d', - error: '#e33631', + ...require("daisyui/src/theming/themes")["[data-theme=lemonade]"], + primary: "#067a46", + secondary: "#056835", + accent: "#40efcf", + neutral: "#2d2f39", + "base-100": "#ffffff", + info: "#76d1e5", + success: "#22a05b", + warning: "#f0bc2d", + error: "#e33631", }, }, ], }, }; -module.exports = extendedConfig; \ No newline at end of file +module.exports = extendedConfig; diff --git a/apps/maps/README.md b/apps/maps/README.md index e04b629b..fce7e1a9 100644 --- a/apps/maps/README.md +++ b/apps/maps/README.md @@ -1 +1 @@ -# Maps \ No newline at end of file +# Maps diff --git a/apps/maps/src/Directions/index.ts b/apps/maps/src/Directions/index.ts index 526ff30e..45b14567 100644 --- a/apps/maps/src/Directions/index.ts +++ b/apps/maps/src/Directions/index.ts @@ -1,41 +1,41 @@ import { Client } from "@googlemaps/google-maps-services-js"; export class GoogleDirectionsAPI { - private client; - private _key; + private client; + private _key; - constructor({ key }) { - this.client = new Client({}); - this._key = key; - } - async getDirections(origin: string, destination: string): Promise { - const { data } = await this.client.directions({ - params: { - origin, - destination, - key: this._key - } - }); + constructor({ key }) { + this.client = new Client({}); + this._key = key; + } + async getDirections(origin: string, destination: string): Promise { + const { data } = await this.client.directions({ + params: { + origin, + destination, + key: this._key, + }, + }); - return { - routes: { - name: "Route", - legs: [ - { - distance: { - ...data.routes?.[0]?.legs[0]?.distance - }, - duration: { - ...data.routes?.[0]?.legs[0]?.duration - } - } - ] + return { + routes: { + name: "Route", + legs: [ + { + distance: { + ...data.routes?.[0]?.legs[0]?.distance, }, - startLocation: { - ...data.routes?.[0]?.legs[0]?.start_location + duration: { + ...data.routes?.[0]?.legs[0]?.duration, }, - endLocation: { - ...data.routes?.[0]?.legs[0]?.end_location - } - }; - } -} \ No newline at end of file + }, + ], + }, + startLocation: { + ...data.routes?.[0]?.legs[0]?.start_location, + }, + endLocation: { + ...data.routes?.[0]?.legs[0]?.end_location, + }, + }; + } +} diff --git a/apps/maps/src/Geolocation/index.ts b/apps/maps/src/Geolocation/index.ts index c34e35e5..e6b70199 100644 --- a/apps/maps/src/Geolocation/index.ts +++ b/apps/maps/src/Geolocation/index.ts @@ -1,43 +1,45 @@ import { Client } from "@googlemaps/google-maps-services-js"; -import type { GeocodeResult } from '@googlemaps/google-maps-services-js'; +import type { GeocodeResult } from "@googlemaps/google-maps-services-js"; export class GoogleGeocodingAPI { - private client; - private _key; + private client; + private _key; - constructor({ key }) { - this.client = new Client({}); - this._key = key; - } + constructor({ key }) { + this.client = new Client({}); + this._key = key; + } - async geocode({ address }): Promise & { - location: Record; - placeId: string; - }> { - const { data } = await this.client.geocode({ - params: { - address, - key: this._key - } - }); - return { - location: { ...data.results[0]?.geometry?.location }, - placeId: data.results[0]?.place_id, - types: data.results[0]?.types - }; + async geocode({ address }): Promise< + Pick & { + location: Record; + placeId: string; } + > { + const { data } = await this.client.geocode({ + params: { + address, + key: this._key, + }, + }); + return { + location: { ...data.results[0]?.geometry?.location }, + placeId: data.results[0]?.place_id, + types: data.results[0]?.types, + }; + } - async reverseGeocode(lat: number, lng: number): Promise { - const { data } = await this.client.geocode({ - params: { - key: this._key, - latlng: `${lat},${lng}`, - } - }); - return { - location: { ...data.results[0]?.geometry?.location }, - placeId: data.results[0]?.place_id, - types: data.results[0]?.types - }; - } -} \ No newline at end of file + async reverseGeocode(lat: number, lng: number): Promise { + const { data } = await this.client.geocode({ + params: { + key: this._key, + latlng: `${lat},${lng}`, + }, + }); + return { + location: { ...data.results[0]?.geometry?.location }, + placeId: data.results[0]?.place_id, + types: data.results[0]?.types, + }; + } +} diff --git a/apps/maps/src/Places/index.ts b/apps/maps/src/Places/index.ts index 79d79449..09fe2060 100644 --- a/apps/maps/src/Places/index.ts +++ b/apps/maps/src/Places/index.ts @@ -1,37 +1,37 @@ import { Client } from "@googlemaps/google-maps-services-js"; export class GooglePlacesAPI { - private client; - private _key; + private client; + private _key; - constructor({ key }) { - this.client = new Client({}); - this._key = key; + constructor({ key }) { + this.client = new Client({}); + this._key = key; + } + async getNearbyPlaces(lat: number, lng: number): Promise { + console.log("yrrrrr"); + try { + const response = await this.client.placesNearby({ + params: { + key: this._key, + location: `${lat},${lng}`, + radius: 100, + type: "hotel", + }, + }); + console.log("response", response?.data?.results); + console.log("************"); + console.log("response", response?.data?.results?.geometry); + return response?.data?.results?.map((place) => { + return { + name: place.name, + lat: place.geometry.location.lat, + lng: place.geometry.location.lng, + address: "String", + location: "String", + }; + }); + } catch (error) { + console.log("no", error); } - async getNearbyPlaces(lat: number, lng: number): Promise { - console.log("yrrrrr"); - try { - const response = await this.client.placesNearby({ - params: { - key: this._key, - location: `${lat},${lng}`, - radius: 100, - type: "hotel" - } - }); - console.log("response", response?.data?.results); - console.log("************"); - console.log("response", response?.data?.results?.geometry); - return response?.data?.results?.map(place => { - return ({ - name: place.name, - lat: place.geometry.location.lat, - lng: place.geometry.location.lng, - address: "String", - location: "String" - }) - }); - } catch (error) { - console.log("no", error); - } - } -} \ No newline at end of file + } +} diff --git a/apps/maps/src/Places/resolvers.ts b/apps/maps/src/Places/resolvers.ts index 20589859..491174bf 100644 --- a/apps/maps/src/Places/resolvers.ts +++ b/apps/maps/src/Places/resolvers.ts @@ -1,4 +1,8 @@ -export async function places(_: any, { lat, lng }: any, { googlePlacesAPI }: any) { - console.log("...rest:"); - return googlePlacesAPI.getNearbyPlaces(lat, lng); +export async function places( + _: any, + { lat, lng }: any, + { googlePlacesAPI }: any +) { + console.log("...rest:"); + return googlePlacesAPI.getNearbyPlaces(lat, lng); } diff --git a/apps/maps/src/config.ts b/apps/maps/src/config.ts index 81559422..3eafeb5e 100644 --- a/apps/maps/src/config.ts +++ b/apps/maps/src/config.ts @@ -1,3 +1,3 @@ /* eslint-disable turbo/no-undeclared-env-vars */ export const key = process.env.API_KEY as string; -export const PORT = process.env.port || 4000 as unknown as string; \ No newline at end of file +export const PORT = process.env.port || (4000 as unknown as string); diff --git a/apps/maps/src/index.ts b/apps/maps/src/index.ts index ce4258eb..e0a8a01c 100644 --- a/apps/maps/src/index.ts +++ b/apps/maps/src/index.ts @@ -1,7 +1,7 @@ /* eslint-disable turbo/no-undeclared-env-vars */ import * as dotenv from "dotenv"; -import { ApolloServer } from '@apollo/server'; -import { startStandaloneServer } from '@apollo/server/standalone'; +import { ApolloServer } from "@apollo/server"; +import { startStandaloneServer } from "@apollo/server/standalone"; import { key, PORT } from "./config"; import { GooglePlacesAPI } from "./Places"; import { GoogleDirectionsAPI } from "./Directions"; @@ -12,50 +12,53 @@ import { typeDefs } from "./typeDefs"; dotenv.config(); async function address(_: any, { lat, lng }: any, { googleGeocodingAPI }: any) { - return googleGeocodingAPI.reverseGeocode(lat, lng); + return googleGeocodingAPI.reverseGeocode(lat, lng); } async function coords(_: any, { address }: any, { googleGeocodingAPI }: any) { - return googleGeocodingAPI.geocode({ address }); + return googleGeocodingAPI.geocode({ address }); } -async function directions(_: any, { origin, destination }: any, { googleDirectionsAPI }: any) { - return googleDirectionsAPI.getDirections(origin, destination); +async function directions( + _: any, + { origin, destination }: any, + { googleDirectionsAPI }: any +) { + return googleDirectionsAPI.getDirections(origin, destination); } const resolvers = { - Query: { - address, - coords, - directions, - places, - } + Query: { + address, + coords, + directions, + places, + }, }; interface ContextValue { - googleDirectionsAPI: GoogleDirectionsAPI; - googleGeocodingAPI: GoogleGeocodingAPI; - googlePlacesAPI: GooglePlacesAPI; + googleDirectionsAPI: GoogleDirectionsAPI; + googleGeocodingAPI: GoogleGeocodingAPI; + googlePlacesAPI: GooglePlacesAPI; } - const server = new ApolloServer({ - typeDefs, - resolvers, - introspection: true, + typeDefs, + resolvers, + introspection: true, }); startStandaloneServer(server, { - context: async () => { - // We create new instances of our data sources with each request, - // passing in our server's cache. - return { - googleDirectionsAPI: new GoogleDirectionsAPI({ key }), - googleGeocodingAPI: new GoogleGeocodingAPI({ key }), - googlePlacesAPI: new GooglePlacesAPI({ key }) - } - }, - listen: { port: parseInt(PORT) }, + context: async () => { + // We create new instances of our data sources with each request, + // passing in our server's cache. + return { + googleDirectionsAPI: new GoogleDirectionsAPI({ key }), + googleGeocodingAPI: new GoogleGeocodingAPI({ key }), + googlePlacesAPI: new GooglePlacesAPI({ key }), + }; + }, + listen: { port: parseInt(PORT) }, }).then(({ url }) => { - console.log(`🚀 Server ready at: ${url}`); -}); \ No newline at end of file + console.log(`🚀 Server ready at: ${url}`); +}); diff --git a/apps/pay/README.md b/apps/pay/README.md index 682f5978..c61ab1a0 100644 --- a/apps/pay/README.md +++ b/apps/pay/README.md @@ -1 +1 @@ -# Sahil Pay \ No newline at end of file +# Sahil Pay diff --git a/apps/pay/src/index.ts b/apps/pay/src/index.ts index ec644dd3..1f145b9b 100644 --- a/apps/pay/src/index.ts +++ b/apps/pay/src/index.ts @@ -1,22 +1,26 @@ -import { ApolloServer } from '@apollo/server'; +import { ApolloServer } from "@apollo/server"; import express from "express"; -import http from 'http'; -import cors from 'cors'; -import { expressMiddleware } from '@apollo/server/express4'; -import { ApolloServerPluginDrainHttpServer } from '@apollo/server/plugin/drainHttpServer'; -import { AugmentedRequest, CacheOptions, PostRequest, RESTDataSource } from '@apollo/datasource-rest'; -import type { KeyValueCache } from '@apollo/utils.keyvaluecache'; +import http from "http"; +import cors from "cors"; +import { expressMiddleware } from "@apollo/server/express4"; +import { ApolloServerPluginDrainHttpServer } from "@apollo/server/plugin/drainHttpServer"; +import { + AugmentedRequest, + CacheOptions, + PostRequest, + RESTDataSource, +} from "@apollo/datasource-rest"; +import type { KeyValueCache } from "@apollo/utils.keyvaluecache"; import axios from "axios"; import * as dotenv from "dotenv"; dotenv.config(); -import { v4 as uuidv4 } from 'uuid'; +import { v4 as uuidv4 } from "uuid"; import { z } from "zod"; const apiKey = process.env.API_KEY; const apiUser = process.env.API_USER; const subscriptionKey = process.env.OCP_APIM_SUBSCRIPTION_KEY; - export const typeDefs = `#graphql type RequestToPayResponse { status: String @@ -130,196 +134,221 @@ type Mutation { `; class MomoAuthAPI extends RESTDataSource { - - override baseURL = 'https://sandbox.momodeveloper.mtn.com/'; - private token: string; - - constructor(options: { token?: string; cache?: KeyValueCache, key?: string }) { - super(options); - } - - override willSendRequest(_path: string, request: AugmentedRequest) { - request.headers['Authorisation'] = `Basic ${this.token}`; - request.headers['Ocp-Apim-Subscription-Key'] = subscriptionKey; - } - - async createAcccessToken() { - return this.post(`collection/token/`); - } + override baseURL = "https://sandbox.momodeveloper.mtn.com/"; + private token: string; + + constructor(options: { + token?: string; + cache?: KeyValueCache; + key?: string; + }) { + super(options); + } + + override willSendRequest(_path: string, request: AugmentedRequest) { + request.headers["Authorisation"] = `Basic ${this.token}`; + request.headers["Ocp-Apim-Subscription-Key"] = subscriptionKey; + } + + async createAcccessToken() { + return this.post(`collection/token/`); + } } class MomoAPI extends RESTDataSource { - override baseURL = 'https://sandbox.momodeveloper.mtn.com/'; - private token: string; - - constructor(options) { - super(options); - const { token, cache, key } = options; - this.token = token; - } - - override willSendRequest(_path: string, request: AugmentedRequest) { - request.headers['Authorization'] = `Bearer ${this.token}`; - request.headers['Ocp-Apim-Subscription-Key'] = subscriptionKey; - request.headers['X-Target-Environment'] = "sandbox"; - } - - async requestToPay(body) { - try { - const resp = await this.post(`collection/v1_0/requesttopay`, { - body: { ...body?.object }, - headers: { - 'X-Reference-Id': uuidv4() - } - }); - return resp; - } catch (err) { - console.log(err); - } - - } - - async getAccountBalance() { - try { - const res = await this.get(`collection/v1_0/account/balance`); - return res; - } catch (err) { - - } - } - - async getBasicUserInfo(accountHolderMSISDN: any) { - return this.get(`collection/v1_0/accountholder/msisdn/${accountHolderMSISDN}/basicuserinfo`); - } - - async getPaymentStatus(referenceId: any): Promise> { - return this.get(`collection/v2_0/payment/${referenceId}`); - } - - async getPreApprovalStatus(referenceId: any) { - return this.get(`collection/v2_0/preapproval/${referenceId}`); - } - - async getUserInfoWithConsent() { - return this.get(`collection/oauth2/v1_0/userinfo`); - } - - async getRequestToPayTransactionStatus(referenceId: any) { - return this.get(`collection/v1_0/requesttopay/${referenceId}`); + override baseURL = "https://sandbox.momodeveloper.mtn.com/"; + private token: string; + + constructor(options) { + super(options); + const { token, cache, key } = options; + this.token = token; + } + + override willSendRequest(_path: string, request: AugmentedRequest) { + request.headers["Authorization"] = `Bearer ${this.token}`; + request.headers["Ocp-Apim-Subscription-Key"] = subscriptionKey; + request.headers["X-Target-Environment"] = "sandbox"; + } + + async requestToPay(body) { + try { + const resp = await this.post(`collection/v1_0/requesttopay`, { + body: { ...body?.object }, + headers: { + "X-Reference-Id": uuidv4(), + }, + }); + return resp; + } catch (err) { + console.log(err); } + } + + async getAccountBalance() { + try { + const res = await this.get(`collection/v1_0/account/balance`); + return res; + } catch (err) {} + } + + async getBasicUserInfo(accountHolderMSISDN: any) { + return this.get( + `collection/v1_0/accountholder/msisdn/${accountHolderMSISDN}/basicuserinfo` + ); + } + + async getPaymentStatus(referenceId: any): Promise> { + return this.get(`collection/v2_0/payment/${referenceId}`); + } + + async getPreApprovalStatus(referenceId: any) { + return this.get(`collection/v2_0/preapproval/${referenceId}`); + } + + async getUserInfoWithConsent() { + return this.get(`collection/oauth2/v1_0/userinfo`); + } + + async getRequestToPayTransactionStatus(referenceId: any) { + return this.get(`collection/v1_0/requesttopay/${referenceId}`); + } } async function accountBalance(_: any, __: any, { dataSources }: any) { - return dataSources.momoAPI.getAccountBalance(); + return dataSources.momoAPI.getAccountBalance(); } -async function basicUserInfo(_: any, { accountHolderMSISDN }: any, { dataSources }: any) { - return dataSources.momoAPI.getBasicUserInfo(accountHolderMSISDN); +async function basicUserInfo( + _: any, + { accountHolderMSISDN }: any, + { dataSources }: any +) { + return dataSources.momoAPI.getBasicUserInfo(accountHolderMSISDN); } -async function paymentStatus(_: any, { referenceId }: any, { dataSources }: any) { - return dataSources.momoAPI.getPaymentStatus(referenceId); +async function paymentStatus( + _: any, + { referenceId }: any, + { dataSources }: any +) { + return dataSources.momoAPI.getPaymentStatus(referenceId); } -async function preApprovalStatus(_: any, { referenceId }: any, { dataSources }: any) { - return dataSources.momoAPI.getPreApprovalStatus(referenceId); +async function preApprovalStatus( + _: any, + { referenceId }: any, + { dataSources }: any +) { + return dataSources.momoAPI.getPreApprovalStatus(referenceId); } async function userInfoWithConsent(_: any, __: any, { dataSources }: any) { - return dataSources.momoAPI.getUserInfoWithConsent(); + return dataSources.momoAPI.getUserInfoWithConsent(); } -async function requestToPayTransactionStatus(_: any, { referenceId }: any, { dataSources }: any) { - return dataSources.momoAPI.getRequestToPayTransactionStatus(referenceId); +async function requestToPayTransactionStatus( + _: any, + { referenceId }: any, + { dataSources }: any +) { + return dataSources.momoAPI.getRequestToPayTransactionStatus(referenceId); } const resolvers = { - Mutation: { - // payments mutations - requestToPay: async (_: any, args: any, { dataSources }: any) => { - return dataSources.momoAPI.requestToPay({ ...args }); - }, + Mutation: { + // payments mutations + requestToPay: async (_: any, args: any, { dataSources }: any) => { + return dataSources.momoAPI.requestToPay({ ...args }); + }, - // auth mutations - createAccessToken: async (_: any, __: any, { dataSources }: any) => { - return dataSources.momoAuthAPI.createAcccessToken(); - } + // auth mutations + createAccessToken: async (_: any, __: any, { dataSources }: any) => { + return dataSources.momoAuthAPI.createAcccessToken(); }, - Query: { - // account queries - accountBalance, - basicUserInfo, - userInfoWithConsent, - - // payments queries - paymentStatus, - preApprovalStatus, - requestToPayTransactionStatus - } + }, + Query: { + // account queries + accountBalance, + basicUserInfo, + userInfoWithConsent, + + // payments queries + paymentStatus, + preApprovalStatus, + requestToPayTransactionStatus, + }, }; const app = express(); const httpServer = http.createServer(app); interface ContextValue { - dataSources: { - momoAPI: MomoAPI; - }; + dataSources: { + momoAPI: MomoAPI; + }; } - const server = new ApolloServer({ - typeDefs: typeDefs, - resolvers, - introspection: true, - plugins: [ApolloServerPluginDrainHttpServer({ httpServer })], - + typeDefs: typeDefs, + resolvers, + introspection: true, + plugins: [ApolloServerPluginDrainHttpServer({ httpServer })], }); - await server.start(); async function validateAccessToken(req, res, next) { - console.log("yerrr"); - const authHeader = req.headers.authorization; - - if (authHeader) { - // validate - } else { - const headers = { - "Ocp-Apim-Subscription-Key": subscriptionKey, - "Authorization": `Basic ${Buffer.from(`${apiUser}:${apiKey}`).toString("base64")}` - } - - const response = await axios.post("https://sandbox.momodeveloper.mtn.com/collection/token/", {}, { - headers - }); - req.headers.access_token = response.data.access_token; - //console.log(response.headers); - } - // req.locals.access_tokn = "yerrrrr"; + console.log("yerrr"); + const authHeader = req.headers.authorization; + + if (authHeader) { + // validate + } else { + const headers = { + "Ocp-Apim-Subscription-Key": subscriptionKey, + Authorization: `Basic ${Buffer.from(`${apiUser}:${apiKey}`).toString( + "base64" + )}`, + }; - // No token in the request, generate a new access token - // const newToken = dataSources.momoAPI.createAcccessToken(); - // req.headers.authorization = `Bearer ${newToken}`; - next(); + const response = await axios.post( + "https://sandbox.momodeveloper.mtn.com/collection/token/", + {}, + { + headers, + } + ); + req.headers.access_token = response.data.access_token; + //console.log(response.headers); + } + // req.locals.access_tokn = "yerrrrr"; + + // No token in the request, generate a new access token + // const newToken = dataSources.momoAPI.createAcccessToken(); + // req.headers.authorization = `Bearer ${newToken}`; + next(); } app.use( - '/graphql', - cors(), - express.json(), - validateAccessToken, - expressMiddleware(server, { - context: async ({ req }) => { - const { cache } = server; - return ({ - dataSources: { - momoAPI: new MomoAPI({ cache, key: apiKey, token: req.headers?.access_token }), - momoAuthAPI: new MomoAuthAPI({ cache, key: apiKey }) - } - }) - } - }), + "/graphql", + cors(), + express.json(), + validateAccessToken, + expressMiddleware(server, { + context: async ({ req }) => { + const { cache } = server; + return { + dataSources: { + momoAPI: new MomoAPI({ + cache, + key: apiKey, + token: req.headers?.access_token, + }), + momoAuthAPI: new MomoAuthAPI({ cache, key: apiKey }), + }, + }; + }, + }) ); -await new Promise((resolve) => httpServer.listen({ port: 4000 }, resolve)); +await new Promise((resolve) => + httpServer.listen({ port: 4000 }, resolve) +); console.log(`🚀 Server ready at http://localhost:4000/graphql`); - - diff --git a/apps/website/src/app/about/page.tsx b/apps/website/src/app/about/page.tsx index eb5f8f12..97317d82 100644 --- a/apps/website/src/app/about/page.tsx +++ b/apps/website/src/app/about/page.tsx @@ -1,25 +1,22 @@ -import { - ComingSoon, - GridContainer, - PageTitle, -} from '@/components/shared' +import { ComingSoon, GridContainer, PageTitle } from "@/components/shared"; export const metadata = { - title: 'About Us - Sahil App', - description: 'Discover our mission, vision, and the values that drive us to deliver top-notch services.', -} + title: "About Us - Sahil App", + description: + "Discover our mission, vision, and the values that drive us to deliver top-notch services.", +}; export default function AboutPage() { return ( <> - - ) -} \ No newline at end of file + ); +} diff --git a/apps/website/src/app/blog/page.tsx b/apps/website/src/app/blog/page.tsx index bed6d2ed..e8fbccce 100644 --- a/apps/website/src/app/blog/page.tsx +++ b/apps/website/src/app/blog/page.tsx @@ -1,25 +1,21 @@ -import { - ComingSoon, - GridContainer, - PageTitle, -} from '@/components/shared' +import { ComingSoon, GridContainer, PageTitle } from "@/components/shared"; export const metadata = { - title: 'Blog - Sahil App', - description: 'Stay updated with the latest news and insights from our team.', -} + title: "Blog - Sahil App", + description: "Stay updated with the latest news and insights from our team.", +}; export default function BlogPage() { return ( <> - - ) -} \ No newline at end of file + ); +} diff --git a/apps/website/src/app/contact/page.tsx b/apps/website/src/app/contact/page.tsx index a7922e34..2d81b046 100644 --- a/apps/website/src/app/contact/page.tsx +++ b/apps/website/src/app/contact/page.tsx @@ -1,25 +1,21 @@ -import { - ComingSoon, - GridContainer, - PageTitle, -} from '@/components/shared' +import { ComingSoon, GridContainer, PageTitle } from "@/components/shared"; export const metadata = { - title: 'Contact Us - Sahil App', - description: 'We’re here to help and would love to hear from you.', -} + title: "Contact Us - Sahil App", + description: "We’re here to help and would love to hear from you.", +}; export default function ContactPage() { return ( <> - - ) -} \ No newline at end of file + ); +} diff --git a/apps/website/src/app/features/page.tsx b/apps/website/src/app/features/page.tsx index 1bb3d7c3..dbde354a 100644 --- a/apps/website/src/app/features/page.tsx +++ b/apps/website/src/app/features/page.tsx @@ -1,25 +1,22 @@ -import { - PageTitle, - GridContainer, - ComingSoon, -} from '@/components/shared' +import { PageTitle, GridContainer, ComingSoon } from "@/components/shared"; export const metadata = { - title: 'Features - Sahil App', - description: 'Discover the wide range of services we offer. Our innovative solutions are designed to help you streamline your business operations.', -} + title: "Features - Sahil App", + description: + "Discover the wide range of services we offer. Our innovative solutions are designed to help you streamline your business operations.", +}; export default function FeaturesPage() { return ( <> - - ) -} \ No newline at end of file + ); +} diff --git a/apps/website/src/app/layout.tsx b/apps/website/src/app/layout.tsx index 1ab6bf19..1b239f00 100644 --- a/apps/website/src/app/layout.tsx +++ b/apps/website/src/app/layout.tsx @@ -1,25 +1,25 @@ -import "../styles/globals.css" -import type { Metadata } from 'next' -import { Alata, Plus_Jakarta_Sans } from 'next/font/google' +import "../styles/globals.css"; +import type { Metadata } from "next"; +import { Alata, Plus_Jakarta_Sans } from "next/font/google"; import { Navbar, Footer } from "@/components/layout"; const alata = Alata({ - weight: '400', - subsets: ['latin'], - variable: '--font-alata', - display: 'swap', + weight: "400", + subsets: ["latin"], + variable: "--font-alata", + display: "swap", }); const jakarta = Plus_Jakarta_Sans({ - subsets: ['latin'], - variable: '--font-jakarta', - display: 'swap', + subsets: ["latin"], + variable: "--font-jakarta", + display: "swap", }); export const metadata: Metadata = { - title: 'Home - Sahil App', - description: 'Connecting you with suppliers and customers', -} + title: "Home - Sahil App", + description: "Connecting you with suppliers and customers", +}; export default function RootLayout({ children, @@ -28,9 +28,11 @@ export default function RootLayout({ }) { return ( - + - {children} + {children}
    diff --git a/apps/website/src/app/page.tsx b/apps/website/src/app/page.tsx index 9525d464..b67fe4bc 100644 --- a/apps/website/src/app/page.tsx +++ b/apps/website/src/app/page.tsx @@ -1,4 +1,4 @@ -import { +import { Hero, Features, About, diff --git a/apps/website/src/app/privacy-policy/page.tsx b/apps/website/src/app/privacy-policy/page.tsx index 4f83ca77..f26e0963 100644 --- a/apps/website/src/app/privacy-policy/page.tsx +++ b/apps/website/src/app/privacy-policy/page.tsx @@ -1,24 +1,21 @@ -import { - PageTitle, - GridContainer, - ComingSoon, -} from '@/components/shared' +import { PageTitle, GridContainer, ComingSoon } from "@/components/shared"; export const metadata = { - title: 'Privacy Policy - Sahil App', - description: 'Discover the wide range of services we offer. Our innovative solutions are designed to help you streamline your business operations.', -} + title: "Privacy Policy - Sahil App", + description: + "Discover the wide range of services we offer. Our innovative solutions are designed to help you streamline your business operations.", +}; export default function privacyPolicy() { return ( <> - - ) -} \ No newline at end of file + ); +} diff --git a/apps/website/src/components/layout/Footer.tsx b/apps/website/src/components/layout/Footer.tsx index 363ffcf2..2a5d3aac 100644 --- a/apps/website/src/components/layout/Footer.tsx +++ b/apps/website/src/components/layout/Footer.tsx @@ -1,19 +1,19 @@ -import Link from 'next/link'; -import Image from 'next/image'; -import logo from '../../../public/logo.png'; -import { GridContainer } from '../shared'; +import Link from "next/link"; +import Image from "next/image"; +import logo from "../../../public/logo.png"; +import { GridContainer } from "../shared"; const quickLinks = [ - { name: 'Home', href: '/' }, - { name: 'About', href: '/about' }, - { name: 'Features', href: '/features' }, - { name: 'Blog', href: '/blog' }, + { name: "Home", href: "/" }, + { name: "About", href: "/about" }, + { name: "Features", href: "/features" }, + { name: "Blog", href: "/blog" }, ]; const companyLinks = [ - { name: 'Support Center', href: '/contact' }, - { name: 'Contact Us', href: '/contact' }, - { name: 'FAQs', href: '/about' }, - { name: 'Privacy Policy', href: '/privacy-policy' }, + { name: "Support Center", href: "/contact" }, + { name: "Contact Us", href: "/contact" }, + { name: "FAQs", href: "/about" }, + { name: "Privacy Policy", href: "/privacy-policy" }, ]; export const Footer = () => { @@ -22,11 +22,14 @@ export const Footer = () => {
    -

    © 2023 Sahil – Company Ltd. All Rights Reserved.

    +

    + © 2023 Sahil – Company Ltd. All Rights Reserved. +

    - ) -} \ No newline at end of file + ); +}; diff --git a/apps/website/src/components/layout/Navbar.tsx b/apps/website/src/components/layout/Navbar.tsx index 9b972d17..a0e55adb 100644 --- a/apps/website/src/components/layout/Navbar.tsx +++ b/apps/website/src/components/layout/Navbar.tsx @@ -1,48 +1,66 @@ -import Link from 'next/link'; -import Image from 'next/image'; -import logo from '../../../public/logo.png'; -import { GridContainer } from '../shared'; +import Link from "next/link"; +import Image from "next/image"; +import logo from "../../../public/logo.png"; +import { GridContainer } from "../shared"; const links = [ { - name: 'Home', - href: '/', + name: "Home", + href: "/", }, { - name: 'About', - href: '/about', + name: "About", + href: "/about", }, { - name: 'Features', - href: '/features', + name: "Features", + href: "/features", }, { - name: 'Blog', - href: '/blog', + name: "Blog", + href: "/blog", }, { - name: 'Contact', - href: '/contact', + name: "Contact", + href: "/contact", }, ]; export const Navbar = () => { return ( -
    - -
    - ) -} \ No newline at end of file + ); +}; diff --git a/apps/website/src/components/layout/index.tsx b/apps/website/src/components/layout/index.tsx index 35c0a21f..41717bbd 100644 --- a/apps/website/src/components/layout/index.tsx +++ b/apps/website/src/components/layout/index.tsx @@ -1,2 +1,2 @@ export * from "./Navbar"; -export * from "./Footer"; \ No newline at end of file +export * from "./Footer"; diff --git a/apps/website/src/components/segments/About.tsx b/apps/website/src/components/segments/About.tsx index 637f44ce..8062c76f 100644 --- a/apps/website/src/components/segments/About.tsx +++ b/apps/website/src/components/segments/About.tsx @@ -1,7 +1,4 @@ -import { - SectionWrapper, - GridContainer, -} from '@/components/shared'; +import { SectionWrapper, GridContainer } from "@/components/shared"; import Image from "next/image"; import about from "../../../public/about.png"; @@ -20,14 +17,23 @@ export const About = () => {

    - We are a dynamic platform that bridges the gap between businesses, suppliers, and customers. Our mission is to simplify procurement processes, foster market connections, and streamline delivery services. + We are a dynamic platform that bridges the gap between businesses, + suppliers, and customers. Our mission is to simplify procurement + processes, foster market connections, and streamline delivery + services.

    - We believe in the power of collaboration and aim to create a thriving ecosystem where businesses can connect with suppliers that match their needs, and customers can find products that meet their preferences. + We believe in the power of collaboration and aim to create a + thriving ecosystem where businesses can connect with suppliers + that match their needs, and customers can find products that meet + their preferences.

    - Our platform is designed to make transactions smoother, faster, and more efficient. We are committed to providing a seamless experience for all our users, ensuring they can focus on what matters - most - growing their business and satisfying their customers. + Our platform is designed to make transactions smoother, faster, + and more efficient. We are committed to providing a seamless + experience for all our users, ensuring they can focus on what + matters most - growing their business and satisfying their + customers.

    @@ -42,5 +48,5 @@ export const About = () => {
    - ) -} + ); +}; diff --git a/apps/website/src/components/segments/Benefits.tsx b/apps/website/src/components/segments/Benefits.tsx index 3722c0c0..4e60531d 100644 --- a/apps/website/src/components/segments/Benefits.tsx +++ b/apps/website/src/components/segments/Benefits.tsx @@ -1,8 +1,8 @@ -import { - SectionWrapper, +import { + SectionWrapper, GridContainer, - SectionTitle, -} from '@/components/shared'; + SectionTitle, +} from "@/components/shared"; import Image from "next/image"; import { benefitsData } from "@/lib/constants"; @@ -10,33 +10,32 @@ export const Benefits = () => { return ( - +
      - { benefitsData.map (({ id, image, title, desc }) => { - return( + {benefitsData.map(({ id, image, title, desc }) => { + return (
    • Benefits Icon
      -

      {title}

      +

      + {title} +

      {desc}

    • - )}) - } + ); + })}
    - ) -} + ); +}; diff --git a/apps/website/src/components/segments/Cta.tsx b/apps/website/src/components/segments/Cta.tsx index e6e56f6e..4a6db82d 100644 --- a/apps/website/src/components/segments/Cta.tsx +++ b/apps/website/src/components/segments/Cta.tsx @@ -1,16 +1,13 @@ -import { - SectionWrapper, - GridContainer -} from '@/components/shared'; -import Link from 'next/link' -import ctaYellow from '../../../public/cta-yellow.svg' -import Image from 'next/image' +import { SectionWrapper, GridContainer } from "@/components/shared"; +import Link from "next/link"; +import ctaYellow from "../../../public/cta-yellow.svg"; +import Image from "next/image"; export const Cta = () => { return ( -
    +

    @@ -32,7 +29,7 @@ export const Cta = () => { to grow your business.

    - + Get Started
    @@ -40,12 +37,12 @@ export const Cta = () => {
    {'cta-image'}
    - ) -} + ); +}; diff --git a/apps/website/src/components/segments/Faqs.tsx b/apps/website/src/components/segments/Faqs.tsx index 82bd9fad..1c5ec754 100644 --- a/apps/website/src/components/segments/Faqs.tsx +++ b/apps/website/src/components/segments/Faqs.tsx @@ -1,8 +1,5 @@ -import { - SectionWrapper, - GridContainer -} from '@/components/shared'; -import { faqData } from '@/lib/constants'; +import { SectionWrapper, GridContainer } from "@/components/shared"; +import { faqData } from "@/lib/constants"; export const Faqs = () => { return ( @@ -16,23 +13,22 @@ export const Faqs = () => {
    - {faqData.map (({ id, title, desc }) => { - return( -
    - + {faqData.map(({ id, title, desc }) => { + return ( +
    +
    -

    - {title} -

    +

    {title}

    -
    -

    - {desc} -

    +
    +

    {desc}

    - )}) - } + ); + })} ); diff --git a/apps/website/src/components/segments/Features.tsx b/apps/website/src/components/segments/Features.tsx index da011db7..4b2989b7 100644 --- a/apps/website/src/components/segments/Features.tsx +++ b/apps/website/src/components/segments/Features.tsx @@ -1,7 +1,4 @@ -import { - SectionWrapper, - GridContainer, -} from '@/components/shared'; +import { SectionWrapper, GridContainer } from "@/components/shared"; export const Features = () => { return ( @@ -10,51 +7,88 @@ export const Features = () => {

    - Navigate through our core features + Navigate through our{" "} + + core features +

    - These features make Sahil the perfect platform for your business. Each feature is designed with your business needs in mind. + These features make Sahil the perfect platform for your business. + Each feature is designed with your business needs in mind.

    1. - - + +

      User Registration

      - A seamless registration process. This feature ensures a smooth onboarding experience for all users by providing necessary details that help tailor the platform’s services to their specific needs. + A seamless registration process. This feature ensures a smooth + onboarding experience for all users by providing necessary + details that help tailor the platform’s services to their + specific needs.

    2. - - + +

      Matching Process

      - At the heart of Sahil is a sophisticated matching process. This feature connects businesses with the right suppliers and customers based on various factors such as product type, location, quantity, and price. + At the heart of Sahil is a sophisticated matching process. + This feature connects businesses with the right suppliers and + customers based on various factors such as product type, + location, quantity, and price.

    3. - - + +

      Delivery Process

      - Sahil is all about efficiency and reliability. We ensure goods are distributed from suppliers to businesses, and from businesses to customers in a timely manner. Users can monitor the progress of their deliveries from start to finish. + Sahil is all about efficiency and reliability. We ensure goods + are distributed from suppliers to businesses, and from + businesses to customers in a timely manner. Users can monitor + the progress of their deliveries from start to finish.

    @@ -62,5 +96,5 @@ export const Features = () => {
    - ) -} + ); +}; diff --git a/apps/website/src/components/segments/Hero.tsx b/apps/website/src/components/segments/Hero.tsx index f558ad4a..a9a21ff0 100644 --- a/apps/website/src/components/segments/Hero.tsx +++ b/apps/website/src/components/segments/Hero.tsx @@ -1,14 +1,14 @@ -import { GridContainer } from '../shared' -import Image from 'next/image' -import Link from 'next/link' -import RoundIcon from '../../../public/round.svg' -import Mockup from '../../../public/empty.svg' -import MockupMain from '../../../public/agent.png' +import { GridContainer } from "../shared"; +import Image from "next/image"; +import Link from "next/link"; +import RoundIcon from "../../../public/round.svg"; +import Mockup from "../../../public/empty.svg"; +import MockupMain from "../../../public/agent.png"; export const Hero = () => { return ( -
    - +
    +
    @@ -16,57 +16,62 @@ export const Hero = () => {
    -

    - Connecting businesses with suppliers & customers. +

    + Connecting businesses with{" "} + + {" "} + suppliers &{" "} + customers. +

    -

    - We simplify procurement processes, connect you with market, - and offer efficient delivery options. +

    + We simplify procurement processes, connect you with market, and + offer efficient delivery options.

    - + Get Started
    -
    +
    {'round-icon'} {'round-icon'}
    -
    -
    +
    +
    {'mockup-left'} {'mockup-center'} {'mockup-right'}
    - ) -} \ No newline at end of file + ); +}; diff --git a/apps/website/src/components/segments/RegistrationRole.tsx b/apps/website/src/components/segments/RegistrationRole.tsx index 00bc9bf2..bf35d08b 100644 --- a/apps/website/src/components/segments/RegistrationRole.tsx +++ b/apps/website/src/components/segments/RegistrationRole.tsx @@ -1,42 +1,44 @@ -import { - SectionWrapper, - GridContainer -} from '@/components/shared'; -import Image from 'next/image' -import Link from 'next/link' -import { registrationRoleData } from '@/lib/constants'; +import { SectionWrapper, GridContainer } from "@/components/shared"; +import Image from "next/image"; +import Link from "next/link"; +import { registrationRoleData } from "@/lib/constants"; export const RegistrationRole = () => { return (
      - {registrationRoleData.map (({ id, title, description, image, link, alt }) => { - return( -
    • -
      -

      - {title} -

      -

      - {description} -

      - - Register Here - -
      -
      - {alt} -
      -
    • - )}) - } + {registrationRoleData.map( + ({ id, title, description, image, link, alt }) => { + return ( +
    • +
      +

      + {title} +

      +

      + {description} +

      + + Register Here + +
      +
      + {alt} +
      +
    • + ); + } + )}
    - ) -} + ); +}; diff --git a/apps/website/src/components/segments/index.tsx b/apps/website/src/components/segments/index.tsx index 4ba6f5ff..4a492166 100644 --- a/apps/website/src/components/segments/index.tsx +++ b/apps/website/src/components/segments/index.tsx @@ -4,4 +4,4 @@ export * from "./About"; export * from "./Benefits"; export * from "./RegistrationRole"; export * from "./Cta"; -export * from "./Faqs"; \ No newline at end of file +export * from "./Faqs"; diff --git a/apps/website/src/components/shared/ComingSoon.tsx b/apps/website/src/components/shared/ComingSoon.tsx index 7bf81854..1f6a78a9 100644 --- a/apps/website/src/components/shared/ComingSoon.tsx +++ b/apps/website/src/components/shared/ComingSoon.tsx @@ -1,22 +1,28 @@ - export const ComingSoon = () => { return (
    -
    -

    - We're under construction. Please check back for an update soon. -

    -
    -

    Thank you for your patience!

    - - - - - - - -
    +
    +

    + We're under construction. Please check back for an update soon. +

    +
    +

    + Thank you for your patience! +

    + + + + + + +
    +
    - ) -} \ No newline at end of file + ); +}; diff --git a/apps/website/src/components/shared/GridContainer.tsx b/apps/website/src/components/shared/GridContainer.tsx index 8ef98d16..82df6979 100644 --- a/apps/website/src/components/shared/GridContainer.tsx +++ b/apps/website/src/components/shared/GridContainer.tsx @@ -1,17 +1,13 @@ -import { ReactNode } from 'react'; +import { ReactNode } from "react"; import { twMerge } from "tailwind-merge"; -interface GridContainerProps{ +interface GridContainerProps { children: ReactNode; className?: string; -}; +} -export const GridContainer = ({ children, className } : GridContainerProps) => { - const defaultClass = "w-full max-w-7xl mx-auto px-4 lg:px-8 lg:max-w-full" - const mergedClass = twMerge(defaultClass, className) - return ( -
    - {children} -
    - ); -}; \ No newline at end of file +export const GridContainer = ({ children, className }: GridContainerProps) => { + const defaultClass = "w-full max-w-7xl mx-auto px-4 lg:px-8 lg:max-w-full"; + const mergedClass = twMerge(defaultClass, className); + return
    {children}
    ; +}; diff --git a/apps/website/src/components/shared/PageTitle.tsx b/apps/website/src/components/shared/PageTitle.tsx index 9a337985..c8a24e1b 100644 --- a/apps/website/src/components/shared/PageTitle.tsx +++ b/apps/website/src/components/shared/PageTitle.tsx @@ -1,4 +1,4 @@ -import { GridContainer } from './GridContainer'; +import { GridContainer } from "./GridContainer"; interface PageTitleProps { title: string; @@ -12,7 +12,9 @@ export const PageTitle = ({ title, subtitle, description }: PageTitleProps) => {
    -

    {title}

    +

    + {title} +

    {subtitle}

    @@ -21,5 +23,5 @@ export const PageTitle = ({ title, subtitle, description }: PageTitleProps) => {

    - ) -} + ); +}; diff --git a/apps/website/src/components/shared/SectionTitle.tsx b/apps/website/src/components/shared/SectionTitle.tsx index 4ac335be..fcae67a7 100644 --- a/apps/website/src/components/shared/SectionTitle.tsx +++ b/apps/website/src/components/shared/SectionTitle.tsx @@ -9,23 +9,31 @@ interface SectionTitleProps { export const SectionTitle = ({ subtitle, title, link }: SectionTitleProps) => { return (
    -
    - {subtitle} -
    +
    {subtitle}

    {title}

    {link && ( - + View More - - + + )}
    - ) -} - + ); +}; diff --git a/apps/website/src/components/shared/SectionWrapper.tsx b/apps/website/src/components/shared/SectionWrapper.tsx index 70ab2933..31682cc9 100644 --- a/apps/website/src/components/shared/SectionWrapper.tsx +++ b/apps/website/src/components/shared/SectionWrapper.tsx @@ -1,17 +1,16 @@ -import { ReactNode } from 'react'; +import { ReactNode } from "react"; import { twMerge } from "tailwind-merge"; -interface SectionWrapperProps{ +interface SectionWrapperProps { children: ReactNode; className?: string; -}; +} -export const SectionWrapper = ({ children, className } : SectionWrapperProps) => { - const defaultClass = "pt-16 pb-8 px-0 lg:pt-24" - const mergedClass = twMerge(defaultClass, className) - return ( -
    - {children} -
    - ); -}; \ No newline at end of file +export const SectionWrapper = ({ + children, + className, +}: SectionWrapperProps) => { + const defaultClass = "pt-16 pb-8 px-0 lg:pt-24"; + const mergedClass = twMerge(defaultClass, className); + return
    {children}
    ; +}; diff --git a/apps/website/src/components/shared/index.tsx b/apps/website/src/components/shared/index.tsx index 53971739..db59849c 100644 --- a/apps/website/src/components/shared/index.tsx +++ b/apps/website/src/components/shared/index.tsx @@ -2,4 +2,4 @@ export * from "./ComingSoon"; export * from "./GridContainer"; export * from "./PageTitle"; export * from "./SectionWrapper"; -export * from "./SectionTitle"; \ No newline at end of file +export * from "./SectionTitle"; diff --git a/apps/website/src/lib/constants.tsx b/apps/website/src/lib/constants.tsx index aa77ac44..bdd9e586 100644 --- a/apps/website/src/lib/constants.tsx +++ b/apps/website/src/lib/constants.tsx @@ -1,117 +1,119 @@ -import { StaticImageData } from 'next/image' -import benefitOne from '../../public/benefits-1.svg' -import benefitTwo from '../../public/benefits-2.svg' -import benefitThree from '../../public/benefits-3.svg' -import benefitFour from '../../public/benefits-4.svg' -import benefitFive from '../../public/benefits-5.svg' -import benefitSix from '../../public/benefits-6.svg' -import agentSupplier from '../../public/agent-supplier.png' -import agentBusiness from '../../public/agent-business.png' +import { StaticImageData } from "next/image"; +import benefitOne from "../../public/benefits-1.svg"; +import benefitTwo from "../../public/benefits-2.svg"; +import benefitThree from "../../public/benefits-3.svg"; +import benefitFour from "../../public/benefits-4.svg"; +import benefitFive from "../../public/benefits-5.svg"; +import benefitSix from "../../public/benefits-6.svg"; +import agentSupplier from "../../public/agent-supplier.png"; +import agentBusiness from "../../public/agent-business.png"; interface BenefitsData { - id: number; - image: string; - title: string; - desc: string; + id: number; + image: string; + title: string; + desc: string; } interface RegistrationRoleData { - id: number; - title: string; - description: string; - image: StaticImageData; - link: string; - alt: string; + id: number; + title: string; + description: string; + image: StaticImageData; + link: string; + alt: string; } interface FaqData { - id: number; - title: string; - desc: string; + id: number; + title: string; + desc: string; } export const benefitsData: BenefitsData[] = [ - { - id: 1, - image: benefitOne, - title: 'Streamlined Operations', - desc: "Enhance efficiency, and notably cut time managing your supply chains for better operations.", - }, - { - id: 2, - image: benefitTwo, - title: 'Access to Wide Network', - desc: "Gain access to a vast network and new opportunities for growth and expansion.", - }, - { - id: 3, - image: benefitThree, - title: 'Secure Transactions', - desc: "We employ advanced measures safeguarding data integrity within our platform.", - }, - { - id: 4, - image: benefitFour, - title: 'Time Efficiency', - desc: "Save valuable time that can be better spent on other important aspects of your business.", - }, - { - id: 5, - image: benefitFive, - title: 'User-Friendly Interface', - desc: "Enjoy an intuitive interface for seamless navigation and a user-friendly experience.", - }, - { - id: 6, - image: benefitSix, - title: 'Data Analysis', - desc: "We provide valuable insights and data that can help businesses make informed decisions.", - }, + { + id: 1, + image: benefitOne, + title: "Streamlined Operations", + desc: "Enhance efficiency, and notably cut time managing your supply chains for better operations.", + }, + { + id: 2, + image: benefitTwo, + title: "Access to Wide Network", + desc: "Gain access to a vast network and new opportunities for growth and expansion.", + }, + { + id: 3, + image: benefitThree, + title: "Secure Transactions", + desc: "We employ advanced measures safeguarding data integrity within our platform.", + }, + { + id: 4, + image: benefitFour, + title: "Time Efficiency", + desc: "Save valuable time that can be better spent on other important aspects of your business.", + }, + { + id: 5, + image: benefitFive, + title: "User-Friendly Interface", + desc: "Enjoy an intuitive interface for seamless navigation and a user-friendly experience.", + }, + { + id: 6, + image: benefitSix, + title: "Data Analysis", + desc: "We provide valuable insights and data that can help businesses make informed decisions.", + }, ]; export const registrationRoleData: RegistrationRoleData[] = [ - { - id: 1, - title: 'Are You a Supplier Looking to Grow Your Business?', - description: "Sahil is not just a platform - it’s your partner in achieving growth and success. Join Sahil today and revolutionize your supply operations.", - image: agentSupplier, - link: '/', - alt: 'agent-supplier', - }, - { - id: 2, - title: 'Are You a Business in Need of Supplies?', - description: "Take your business to new heights, tap into a network of potential suppliers and customers. Join Sahil today and grow your business.", - image: agentBusiness, - link: '/', - alt: 'agent-business', - }, + { + id: 1, + title: "Are You a Supplier Looking to Grow Your Business?", + description: + "Sahil is not just a platform - it’s your partner in achieving growth and success. Join Sahil today and revolutionize your supply operations.", + image: agentSupplier, + link: "/", + alt: "agent-supplier", + }, + { + id: 2, + title: "Are You a Business in Need of Supplies?", + description: + "Take your business to new heights, tap into a network of potential suppliers and customers. Join Sahil today and grow your business.", + image: agentBusiness, + link: "/", + alt: "agent-business", + }, ]; export const faqData: FaqData[] = [ - { - id: 1, - title: 'How can I register as a business or supplier?', - desc: "You can register by creating an account on our platform. During registration, you'll be asked to provide necessary information about your business or the products/services you offer.", - }, - { - id: 2, - title: 'What type of businesses and suppliers can register?', - desc: "Our platform caters to a wide range of businesses and suppliers. Whether you're a startup, a small business, or a large corporation, you're welcome to register.", - }, - { - id: 3, - title: 'How does the application simplify procurement processes?', - desc: 'We streamline procurement by providing a platform where businesses can easily find and connect with suppliers that match their needs.', - }, - { - id: 4, - title: 'What delivery services are offered?', - desc: 'We facilitate the delivery of products from suppliers to businesses, and from businesses to customers. The specifics of these services can vary based on the supplier and the type of product.', - }, - { - id: 5, - title: 'How does the application connect with the market?', - desc: 'Our platform serves as a marketplace where businesses, suppliers, and customers can interact, exchange information, and conduct transactions.', - }, + { + id: 1, + title: "How can I register as a business or supplier?", + desc: "You can register by creating an account on our platform. During registration, you'll be asked to provide necessary information about your business or the products/services you offer.", + }, + { + id: 2, + title: "What type of businesses and suppliers can register?", + desc: "Our platform caters to a wide range of businesses and suppliers. Whether you're a startup, a small business, or a large corporation, you're welcome to register.", + }, + { + id: 3, + title: "How does the application simplify procurement processes?", + desc: "We streamline procurement by providing a platform where businesses can easily find and connect with suppliers that match their needs.", + }, + { + id: 4, + title: "What delivery services are offered?", + desc: "We facilitate the delivery of products from suppliers to businesses, and from businesses to customers. The specifics of these services can vary based on the supplier and the type of product.", + }, + { + id: 5, + title: "How does the application connect with the market?", + desc: "Our platform serves as a marketplace where businesses, suppliers, and customers can interact, exchange information, and conduct transactions.", + }, ]; diff --git a/apps/website/tailwind.config.ts b/apps/website/tailwind.config.ts index f9e1d174..2f1ebeca 100644 --- a/apps/website/tailwind.config.ts +++ b/apps/website/tailwind.config.ts @@ -1,43 +1,43 @@ -import type { Config } from 'tailwindcss'; +import type { Config } from "tailwindcss"; -const baseConfig: Config = require('@sahil/configs/tailwind/tailwind.config'); +const baseConfig: Config = require("@sahil/configs/tailwind/tailwind.config"); const config: Config = { ...baseConfig, theme: { ...baseConfig.theme, fontFamily: { - alata: ['var(--font-alata)'], - jakarta: ['var(--font-jakarta)'], + alata: ["var(--font-alata)"], + jakarta: ["var(--font-jakarta)"], }, extend: { ...baseConfig.theme?.extend, colors: { - 'primary': '#067a46', - 'secondary': '#056835', - 'accent': '#F1C40F', - 'lime': '#84faa1', + primary: "#067a46", + secondary: "#056835", + accent: "#F1C40F", + lime: "#84faa1", }, backgroundImage: { - 'hero': "url('/bg-hero.svg')", + hero: "url('/bg-hero.svg')", }, }, }, - plugins: [...(baseConfig.plugins || []), require('daisyui')], + plugins: [...(baseConfig.plugins || []), require("daisyui")], daisyui: { themes: [ { lemonade: { - ...require('daisyui/src/theming/themes')['[data-theme=lemonade]'], - 'primary': '#067a46', - 'secondary': '#056835', - 'accent': '#40efcf', - 'neutral': '#2d2f39', - 'base-100': '#ffffff', - 'info': '#76d1e5', - 'success': '#22a05b', - 'warning': '#f0bc2d', - 'error': '#e33631', + ...require("daisyui/src/theming/themes")["[data-theme=lemonade]"], + primary: "#067a46", + secondary: "#056835", + accent: "#40efcf", + neutral: "#2d2f39", + "base-100": "#ffffff", + info: "#76d1e5", + success: "#22a05b", + warning: "#f0bc2d", + error: "#e33631", }, }, ], diff --git a/codegen.ts b/codegen.ts new file mode 100644 index 00000000..2cf7334d --- /dev/null +++ b/codegen.ts @@ -0,0 +1,33 @@ +import type { CodegenConfig } from "@graphql-codegen/cli"; + +const HASURA_GRAPHQL_ADMIN_SECRET = process.env.HASURA_GRAPHQL_ADMIN_SECRET; +const HASURA_GRAPHQL_ENDPOINT = process.env.HASURA_GRAPHQL_ENDPOINT; + +const config: CodegenConfig = { + overwrite: true, + schema: [ + HASURA_GRAPHQL_ENDPOINT, + { + [HASURA_GRAPHQL_ENDPOINT]: { + headers: { + "x-hasura-access-key": HASURA_GRAPHQL_ADMIN_SECRET, + }, + }, + }, + ], + documents: ["packages/lib/graphql/**/*.{ts,tsx}"], + ignoreNoDocuments: true, + generates: { + "./packages/lib/graphql/__generated__/": { + preset: "client", + presetConfig: { + gqlTagName: "gql", + }, + }, + }, + hooks: { + afterOneFileWrite: ["prettier --write"], + }, +}; + +export default config; diff --git a/package.json b/package.json index 02552fa4..3582c58f 100644 --- a/package.json +++ b/package.json @@ -4,19 +4,36 @@ "build": "turbo run build", "dev": "turbo run dev", "lint": "turbo run lint", - "format": "prettier --write \"**/*.{ts,tsx,md}\"" + "format": "prettier --write \"**/*.{ts,tsx,md}\"", + "codegen": "dotenv -e .env -- graphql-codegen --config codegen.ts", + "prepare": "husky install" }, "devDependencies": { + "@graphql-codegen/cli": "^5.0.0", + "@graphql-codegen/client-preset": "^4.1.0", + "@graphql-codegen/introspection": "4.0.0", + "@graphql-codegen/typescript": "^4.0.1", + "@graphql-codegen/typescript-resolvers": "^4.0.1", + "@parcel/watcher": "^2.3.0", "@turbo/gen": "^1.9.7", + "add": "^2.0.6", + "dotenv-cli": "^7.3.0", "eslint": "^7.32.0", "eslint-config-custom": "*", + "husky": "^8.0.3", "prettier": "^2.5.1", - "turbo": "latest" + "ts-node": "^10.9.2", + "turbo": "latest", + "typescript": "^5.3.3", + "yarn": "^1.22.21" }, "name": "sahil", "packageManager": "yarn@1.22.19", "workspaces": [ "apps/*", "packages/*" - ] + ], + "dependencies": { + "graphql": "^16.8.1" + } } diff --git a/packages/configs/tailwind/tailwind.config.ts b/packages/configs/tailwind/tailwind.config.ts index c710c08d..b7731f89 100644 --- a/packages/configs/tailwind/tailwind.config.ts +++ b/packages/configs/tailwind/tailwind.config.ts @@ -1,17 +1,17 @@ -import type { Config } from 'tailwindcss'; +import type { Config } from "tailwindcss"; const config: Config = { content: [ - '../../packages/ui/**/*.{js,ts,jsx,tsx,mdx}', - './src/pages/**/*.{js,ts,jsx,tsx,mdx}', - './src/components/**/*.{js,ts,jsx,tsx,mdx}', - './src/app/**/*.{js,ts,jsx,tsx,mdx}', + "../../packages/ui/**/*.{js,ts,jsx,tsx,mdx}", + "./src/pages/**/*.{js,ts,jsx,tsx,mdx}", + "./src/components/**/*.{js,ts,jsx,tsx,mdx}", + "./src/app/**/*.{js,ts,jsx,tsx,mdx}", ], theme: { extend: { gridTemplateColumns: { // Auto column grid with a min of 250px - 'auto-250': 'repeat(auto-fit, minmax(250px, 1fr))', + "auto-250": "repeat(auto-fit, minmax(250px, 1fr))", }, }, }, diff --git a/packages/lib/currency.ts b/packages/lib/currency.ts index f2037b6c..6e8a682b 100644 --- a/packages/lib/currency.ts +++ b/packages/lib/currency.ts @@ -1,12 +1,10 @@ -export const formatCost = (cost) => cost.toLocaleString( - "en-SS", - { +export const formatCost = (cost) => + cost.toLocaleString("en-SS", { style: "currency", - currency: "SSP" - } -); + currency: "SSP", + }); export const formatCurrency = (number: number) => { - const formattedNumber = number.toFixed(2).replace(/\d(?=(\d{3})+\.)/g, '$&,'); + const formattedNumber = number.toFixed(2).replace(/\d(?=(\d{3})+\.)/g, "$&,"); return `${formattedNumber} SSP`; -}; \ No newline at end of file +}; diff --git a/packages/lib/dates.ts b/packages/lib/dates.ts index d61cae28..5a2b8011 100644 --- a/packages/lib/dates.ts +++ b/packages/lib/dates.ts @@ -1,12 +1,22 @@ import { parseISO, format } from "date-fns"; +export const formatDateTime = ( + dateISO: any, + formatPattern = "MMMM d, yyyy HH:mm" +) => { + const parsedDate = parseISO(dateISO); + return format(parsedDate, formatPattern); +}; -export const formatDateTime = (dateISO: any, formatPattern = "MMMM d, yyyy HH:mm") => { - const parsedDate = parseISO(dateISO); - return format(parsedDate, formatPattern); -} - -const weekDays = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"] as const; +const weekDays = [ + "Sunday", + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday", +] as const; type WeekDays = (typeof weekDays)[number]; type WeekDayIndex = 0 | 1 | 2 | 3 | 4 | 5 | 6; @@ -15,8 +25,11 @@ type WeekDayIndex = 0 | 1 | 2 | 3 | 4 | 5 | 6; * Also accepts a number as parameter (and straight returns that), and accepts * undefined as a parameter; returns 0 in that case. */ -export const weekdayToWeekIndex = (weekday: WeekDays | string | number | undefined) => { - if (typeof weekday === "undefined") return 0; - if (typeof weekday === "number") return weekday >= 0 && weekday >= 6 ? (weekday as WeekDayIndex) : 0; - return (weekDays.indexOf(weekday as WeekDays) as WeekDayIndex) || 0; - }; \ No newline at end of file +export const weekdayToWeekIndex = ( + weekday: WeekDays | string | number | undefined +) => { + if (typeof weekday === "undefined") return 0; + if (typeof weekday === "number") + return weekday >= 0 && weekday >= 6 ? (weekday as WeekDayIndex) : 0; + return (weekDays.indexOf(weekday as WeekDays) as WeekDayIndex) || 0; +}; diff --git a/packages/lib/graphql/__generated__/fragment-masking.ts b/packages/lib/graphql/__generated__/fragment-masking.ts new file mode 100644 index 00000000..4a5accd2 --- /dev/null +++ b/packages/lib/graphql/__generated__/fragment-masking.ts @@ -0,0 +1,85 @@ +import { + ResultOf, + DocumentTypeDecoration, + TypedDocumentNode, +} from "@graphql-typed-document-node/core"; +import { FragmentDefinitionNode } from "graphql"; +import { Incremental } from "./graphql"; + +export type FragmentType< + TDocumentType extends DocumentTypeDecoration +> = TDocumentType extends DocumentTypeDecoration + ? [TType] extends [{ " $fragmentName"?: infer TKey }] + ? TKey extends string + ? { " $fragmentRefs"?: { [key in TKey]: TType } } + : never + : never + : never; + +// return non-nullable if `fragmentType` is non-nullable +export function useFragment( + _documentNode: DocumentTypeDecoration, + fragmentType: FragmentType> +): TType; +// return nullable if `fragmentType` is nullable +export function useFragment( + _documentNode: DocumentTypeDecoration, + fragmentType: + | FragmentType> + | null + | undefined +): TType | null | undefined; +// return array of non-nullable if `fragmentType` is array of non-nullable +export function useFragment( + _documentNode: DocumentTypeDecoration, + fragmentType: ReadonlyArray>> +): ReadonlyArray; +// return array of nullable if `fragmentType` is array of nullable +export function useFragment( + _documentNode: DocumentTypeDecoration, + fragmentType: + | ReadonlyArray>> + | null + | undefined +): ReadonlyArray | null | undefined; +export function useFragment( + _documentNode: DocumentTypeDecoration, + fragmentType: + | FragmentType> + | ReadonlyArray>> + | null + | undefined +): TType | ReadonlyArray | null | undefined { + return fragmentType as any; +} + +export function makeFragmentData< + F extends DocumentTypeDecoration, + FT extends ResultOf +>(data: FT, _fragment: F): FragmentType { + return data as FragmentType; +} +export function isFragmentReady( + queryNode: DocumentTypeDecoration, + fragmentNode: TypedDocumentNode, + data: + | FragmentType, any>> + | null + | undefined +): data is FragmentType { + const deferredFields = ( + queryNode as { + __meta__?: { deferredFields: Record }; + } + ).__meta__?.deferredFields; + + if (!deferredFields) return true; + + const fragDef = fragmentNode.definitions[0] as + | FragmentDefinitionNode + | undefined; + const fragName = fragDef?.name?.value; + + const fields = (fragName && deferredFields[fragName]) || []; + return fields.length > 0 && fields.every((field) => data && field in data); +} diff --git a/packages/lib/graphql/__generated__/gql.ts b/packages/lib/graphql/__generated__/gql.ts new file mode 100644 index 00000000..f78eacf6 --- /dev/null +++ b/packages/lib/graphql/__generated__/gql.ts @@ -0,0 +1,262 @@ +/* eslint-disable */ +import * as types from "./graphql"; +import { TypedDocumentNode as DocumentNode } from "@graphql-typed-document-node/core"; + +/** + * Map of all GraphQL operations in the project. + * + * This map has several performance disadvantages: + * 1. It is not tree-shakeable, so it will include all operations in the project. + * 2. It is not minifiable, so the string of a GraphQL query will be multiple times inside the bundle. + * 3. It does not support dead code elimination, so it will add unused operations. + * + * Therefore it is highly recommended to use the babel or swc plugin for production. + */ +const documents = { + "\n mutation registerClient($object: business_insert_input!) {\n insert_business_one(object: $object) {\n id\n name\n }\n }\n": + types.RegisterClientDocument, + "\n mutation insertBusinessAddress($object: addresses_insert_input!) {\n insert_addresses_one(object: $object) {\n business_id\n city\n }\n }\n": + types.InsertBusinessAddressDocument, + "\n mutation insertNewCourier($object: couriers_insert_input = {}) {\n insert_couriers_one(object: $object) {\n id\n name\n }\n }\n": + types.InsertNewCourierDocument, + "\n mutation insertBusinessOrder($object: orders_insert_input!) {\n insert_orders_one(object: $object) {\n id\n }\n }\n": + types.InsertBusinessOrderDocument, + "\n mutation registerSupplier($object: suppliers_insert_input!) {\n insert_suppliers_one(object: $object) {\n id\n name\n }\n }\n": + types.RegisterSupplierDocument, + '\n mutation updateProductByPk(\n $id: uuid = ""\n $inStock: Boolean\n $name: String\n $price: Int\n $quantity: Int\n $description: String\n ) {\n update_products_by_pk(\n pk_columns: { id: $id }\n _set: {\n inStock: $inStock\n name: $name\n price: $price\n quantity: $quantity\n description: $description\n }\n ) {\n id\n inStock\n name\n price\n quantity\n description\n }\n }\n': + types.UpdateProductByPkDocument, + '\n mutation deleteProductByPk($id: uuid = "") {\n delete_products_by_pk(id: $id) {\n id\n }\n }\n': + types.DeleteProductByPkDocument, + "\n mutation addNewProduct($product: products_insert_input = {}) {\n insert_products_one(object: $product) {\n created_at\n description\n discount\n id\n inStock\n name\n price\n quantity\n supplier_id\n }\n }\n": + types.AddNewProductDocument, + "\n mutation registerUser($object: users_insert_input!) {\n insert_users_one(object: $object) {\n id\n name\n }\n }\n": + types.RegisterUserDocument, + "\n query getClients {\n business {\n created_at\n id\n updated_at\n name\n contactName\n type\n phoneNumber\n description\n contactEmail\n addresses {\n city\n created_at\n id\n latitude\n longitude\n updated_at\n street_address\n }\n }\n business_aggregate {\n aggregate {\n count(columns: id, distinct: true)\n }\n }\n }\n": + types.GetClientsDocument, + "\n query getBusinessOrders(\n $customerId: uuid\n $limit: Int = 4\n $offset: Int = 0\n ) {\n orders(\n where: {\n _or: [\n { customerId: { _eq: $customerId } }\n { customerId: { _is_null: true } }\n ]\n customerId: { _eq: $customerId }\n }\n limit: $limit\n offset: $offset\n ) {\n id\n created_at\n destination\n id\n orderId\n customerId\n origin\n status\n business {\n contactName\n phoneNumber\n name\n }\n }\n orders_aggregate(where: { customerId: { _eq: $customerId } }) {\n aggregate {\n count(columns: id, distinct: true)\n }\n }\n }\n": + types.GetBusinessOrdersDocument, + "\n query getBusinessByPK($id: uuid!) {\n business_by_pk(id: $id) {\n id\n name\n contactName\n phoneNumber\n description\n contactEmail\n type\n agent {\n name\n id\n }\n addresses {\n city\n street_address\n }\n }\n }\n": + types.GetBusinessByPkDocument, + "\n query getCouriers {\n couriers {\n id\n avatar\n name\n DOB\n phoneNumber\n gender\n email\n }\n couriers_aggregate {\n aggregate {\n count(columns: id, distinct: true)\n }\n }\n }\n": + types.GetCouriersDocument, + "\n query getCouriersByPK($id: uuid!) {\n couriers_by_pk(id: $id) {\n id\n name\n avatar\n }\n }\n": + types.GetCouriersByPkDocument, + "\n query fetchSahilZones {\n locations {\n id\n }\n }\n": + types.FetchSahilZonesDocument, + "\n query getOrders {\n orders {\n id\n created_at\n destination\n id\n orderId\n customerId\n origin\n status\n business {\n contactName\n phoneNumber\n name\n }\n }\n orders_aggregate {\n aggregate {\n count(columns: id, distinct: true)\n }\n }\n }\n": + types.GetOrdersDocument, + "\n query getorderByPK($id: uuid!) {\n orders_by_pk(id: $id) {\n id\n created_at\n destination\n id\n orderId\n customerId\n origin\n status\n order_items {\n id\n product {\n id\n name\n quantity\n price\n }\n }\n status\n agent {\n name\n }\n order_items_aggregate {\n aggregate {\n count\n }\n }\n }\n }\n": + types.GetorderByPkDocument, + "\n query getOrderDeliveries($orderId: uuid!) {\n delivery {\n orderId\n status\n orderId\n id\n created_at\n courierId\n }\n }\n": + types.GetOrderDeliveriesDocument, + "\n query getOrdersStats($startDate: timestamptz, $endDate: timestamptz) {\n orders_aggregate(\n where: { created_at: { _gte: $startDate, _lte: $endDate } }\n ) {\n aggregate {\n count\n }\n }\n }\n": + types.GetOrdersStatsDocument, + "\n query getProducts($offset: Int = 0, $limit: Int = 12) {\n products(\n limit: $limit\n order_by: { created_at: desc }\n offset: $offset\n where: { inStock: { _eq: true } }\n ) {\n discount\n id\n name\n price\n }\n products_aggregate {\n aggregate {\n count(columns: id, distinct: true)\n }\n }\n }\n": + types.GetProductsDocument, + '\n query getProductsByName(\n $offset: Int = 0\n $limit: Int = 12\n $name: String = ""\n ) {\n products(\n limit: $limit\n order_by: { created_at: desc }\n offset: $offset\n where: { inStock: { _eq: true }, name: { _ilike: $name } }\n ) {\n discount\n id\n name\n price\n }\n products_aggregate(\n where: { inStock: { _eq: true }, name: { _ilike: $name } }\n ) {\n aggregate {\n count(columns: id, distinct: true)\n }\n }\n }\n': + types.GetProductsByNameDocument, + "\n query getSuppliers($offset: Int = 0, $limit: Int = 10) {\n suppliers(offset: $offset, limit: $limit) {\n id\n name\n streetAddress\n phoneNumber\n contactName\n zone\n categories {\n category_name\n }\n }\n suppliers_aggregate {\n aggregate {\n count(columns: id, distinct: true)\n }\n }\n }\n": + types.GetSuppliersDocument, + "\n query getSupplierOrders($supplierId: uuid) {\n order_supplier(\n where: { supplierId: { _eq: $supplierId } }\n distinct_on: supplierId\n ) {\n id\n supplierId\n order {\n id\n created_at\n destination\n id\n orderId\n customerId\n origin\n status\n business {\n contactName\n phoneNumber\n name\n }\n }\n }\n }\n": + types.GetSupplierOrdersDocument, + "\n query getFilteredSuppliers(\n $category_name: supplier_categories_enum_enum\n $offset: Int = 0\n $limit: Int = 10\n ) {\n suppliers(\n where: { categories: { category_name: { _eq: $category_name } } }\n offset: $offset\n limit: $limit\n ) {\n id\n name\n streetAddress\n phoneNumber\n contactName\n zone\n categories {\n category_name\n }\n }\n }\n": + types.GetFilteredSuppliersDocument, + "\n query getSupplierByPK($id: uuid!) {\n suppliers_by_pk(id: $id) {\n created_at\n id\n name\n description\n phoneNumber\n contactName\n contactEmail\n streetAddress\n zone\n categories {\n category_name\n }\n products_aggregate {\n aggregate {\n count\n }\n }\n }\n }\n": + types.GetSupplierByPkDocument, + "\n query getSupplierProducts(\n $id: uuid!\n $offset: Int = 0\n $order_by: [products_order_by!] = {}\n ) {\n products(\n where: { supplier_id: { _eq: $id } }\n limit: 4\n offset: $offset\n order_by: $order_by\n ) {\n id\n name\n description\n inStock\n quantity\n price\n }\n }\n": + types.GetSupplierProductsDocument, + '\n query getSupplierProductByName(\n $id: uuid!\n $offset: Int = 0\n $name: String = ""\n $limit: Int = 4\n ) {\n products(\n where: { supplier_id: { _eq: $id }, name: { _ilike: $name } }\n limit: $limit\n offset: $offset\n ) {\n id\n name\n description\n inStock\n quantity\n price\n }\n }\n': + types.GetSupplierProductByNameDocument, + "\n query getUsers {\n users {\n id\n created_at\n role\n name\n }\n }\n": + types.GetUsersDocument, +}; + +/** + * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + * + * + * @example + * ```ts + * const query = gql(`query GetUser($id: ID!) { user(id: $id) { name } }`); + * ``` + * + * The query argument is unknown! + * Please regenerate the types. + */ +export function gql(source: string): unknown; + +/** + * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function gql( + source: "\n mutation registerClient($object: business_insert_input!) {\n insert_business_one(object: $object) {\n id\n name\n }\n }\n" +): (typeof documents)["\n mutation registerClient($object: business_insert_input!) {\n insert_business_one(object: $object) {\n id\n name\n }\n }\n"]; +/** + * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function gql( + source: "\n mutation insertBusinessAddress($object: addresses_insert_input!) {\n insert_addresses_one(object: $object) {\n business_id\n city\n }\n }\n" +): (typeof documents)["\n mutation insertBusinessAddress($object: addresses_insert_input!) {\n insert_addresses_one(object: $object) {\n business_id\n city\n }\n }\n"]; +/** + * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function gql( + source: "\n mutation insertNewCourier($object: couriers_insert_input = {}) {\n insert_couriers_one(object: $object) {\n id\n name\n }\n }\n" +): (typeof documents)["\n mutation insertNewCourier($object: couriers_insert_input = {}) {\n insert_couriers_one(object: $object) {\n id\n name\n }\n }\n"]; +/** + * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function gql( + source: "\n mutation insertBusinessOrder($object: orders_insert_input!) {\n insert_orders_one(object: $object) {\n id\n }\n }\n" +): (typeof documents)["\n mutation insertBusinessOrder($object: orders_insert_input!) {\n insert_orders_one(object: $object) {\n id\n }\n }\n"]; +/** + * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function gql( + source: "\n mutation registerSupplier($object: suppliers_insert_input!) {\n insert_suppliers_one(object: $object) {\n id\n name\n }\n }\n" +): (typeof documents)["\n mutation registerSupplier($object: suppliers_insert_input!) {\n insert_suppliers_one(object: $object) {\n id\n name\n }\n }\n"]; +/** + * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function gql( + source: '\n mutation updateProductByPk(\n $id: uuid = ""\n $inStock: Boolean\n $name: String\n $price: Int\n $quantity: Int\n $description: String\n ) {\n update_products_by_pk(\n pk_columns: { id: $id }\n _set: {\n inStock: $inStock\n name: $name\n price: $price\n quantity: $quantity\n description: $description\n }\n ) {\n id\n inStock\n name\n price\n quantity\n description\n }\n }\n' +): (typeof documents)['\n mutation updateProductByPk(\n $id: uuid = ""\n $inStock: Boolean\n $name: String\n $price: Int\n $quantity: Int\n $description: String\n ) {\n update_products_by_pk(\n pk_columns: { id: $id }\n _set: {\n inStock: $inStock\n name: $name\n price: $price\n quantity: $quantity\n description: $description\n }\n ) {\n id\n inStock\n name\n price\n quantity\n description\n }\n }\n']; +/** + * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function gql( + source: '\n mutation deleteProductByPk($id: uuid = "") {\n delete_products_by_pk(id: $id) {\n id\n }\n }\n' +): (typeof documents)['\n mutation deleteProductByPk($id: uuid = "") {\n delete_products_by_pk(id: $id) {\n id\n }\n }\n']; +/** + * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function gql( + source: "\n mutation addNewProduct($product: products_insert_input = {}) {\n insert_products_one(object: $product) {\n created_at\n description\n discount\n id\n inStock\n name\n price\n quantity\n supplier_id\n }\n }\n" +): (typeof documents)["\n mutation addNewProduct($product: products_insert_input = {}) {\n insert_products_one(object: $product) {\n created_at\n description\n discount\n id\n inStock\n name\n price\n quantity\n supplier_id\n }\n }\n"]; +/** + * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function gql( + source: "\n mutation registerUser($object: users_insert_input!) {\n insert_users_one(object: $object) {\n id\n name\n }\n }\n" +): (typeof documents)["\n mutation registerUser($object: users_insert_input!) {\n insert_users_one(object: $object) {\n id\n name\n }\n }\n"]; +/** + * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function gql( + source: "\n query getClients {\n business {\n created_at\n id\n updated_at\n name\n contactName\n type\n phoneNumber\n description\n contactEmail\n addresses {\n city\n created_at\n id\n latitude\n longitude\n updated_at\n street_address\n }\n }\n business_aggregate {\n aggregate {\n count(columns: id, distinct: true)\n }\n }\n }\n" +): (typeof documents)["\n query getClients {\n business {\n created_at\n id\n updated_at\n name\n contactName\n type\n phoneNumber\n description\n contactEmail\n addresses {\n city\n created_at\n id\n latitude\n longitude\n updated_at\n street_address\n }\n }\n business_aggregate {\n aggregate {\n count(columns: id, distinct: true)\n }\n }\n }\n"]; +/** + * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function gql( + source: "\n query getBusinessOrders(\n $customerId: uuid\n $limit: Int = 4\n $offset: Int = 0\n ) {\n orders(\n where: {\n _or: [\n { customerId: { _eq: $customerId } }\n { customerId: { _is_null: true } }\n ]\n customerId: { _eq: $customerId }\n }\n limit: $limit\n offset: $offset\n ) {\n id\n created_at\n destination\n id\n orderId\n customerId\n origin\n status\n business {\n contactName\n phoneNumber\n name\n }\n }\n orders_aggregate(where: { customerId: { _eq: $customerId } }) {\n aggregate {\n count(columns: id, distinct: true)\n }\n }\n }\n" +): (typeof documents)["\n query getBusinessOrders(\n $customerId: uuid\n $limit: Int = 4\n $offset: Int = 0\n ) {\n orders(\n where: {\n _or: [\n { customerId: { _eq: $customerId } }\n { customerId: { _is_null: true } }\n ]\n customerId: { _eq: $customerId }\n }\n limit: $limit\n offset: $offset\n ) {\n id\n created_at\n destination\n id\n orderId\n customerId\n origin\n status\n business {\n contactName\n phoneNumber\n name\n }\n }\n orders_aggregate(where: { customerId: { _eq: $customerId } }) {\n aggregate {\n count(columns: id, distinct: true)\n }\n }\n }\n"]; +/** + * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function gql( + source: "\n query getBusinessByPK($id: uuid!) {\n business_by_pk(id: $id) {\n id\n name\n contactName\n phoneNumber\n description\n contactEmail\n type\n agent {\n name\n id\n }\n addresses {\n city\n street_address\n }\n }\n }\n" +): (typeof documents)["\n query getBusinessByPK($id: uuid!) {\n business_by_pk(id: $id) {\n id\n name\n contactName\n phoneNumber\n description\n contactEmail\n type\n agent {\n name\n id\n }\n addresses {\n city\n street_address\n }\n }\n }\n"]; +/** + * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function gql( + source: "\n query getCouriers {\n couriers {\n id\n avatar\n name\n DOB\n phoneNumber\n gender\n email\n }\n couriers_aggregate {\n aggregate {\n count(columns: id, distinct: true)\n }\n }\n }\n" +): (typeof documents)["\n query getCouriers {\n couriers {\n id\n avatar\n name\n DOB\n phoneNumber\n gender\n email\n }\n couriers_aggregate {\n aggregate {\n count(columns: id, distinct: true)\n }\n }\n }\n"]; +/** + * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function gql( + source: "\n query getCouriersByPK($id: uuid!) {\n couriers_by_pk(id: $id) {\n id\n name\n avatar\n }\n }\n" +): (typeof documents)["\n query getCouriersByPK($id: uuid!) {\n couriers_by_pk(id: $id) {\n id\n name\n avatar\n }\n }\n"]; +/** + * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function gql( + source: "\n query fetchSahilZones {\n locations {\n id\n }\n }\n" +): (typeof documents)["\n query fetchSahilZones {\n locations {\n id\n }\n }\n"]; +/** + * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function gql( + source: "\n query getOrders {\n orders {\n id\n created_at\n destination\n id\n orderId\n customerId\n origin\n status\n business {\n contactName\n phoneNumber\n name\n }\n }\n orders_aggregate {\n aggregate {\n count(columns: id, distinct: true)\n }\n }\n }\n" +): (typeof documents)["\n query getOrders {\n orders {\n id\n created_at\n destination\n id\n orderId\n customerId\n origin\n status\n business {\n contactName\n phoneNumber\n name\n }\n }\n orders_aggregate {\n aggregate {\n count(columns: id, distinct: true)\n }\n }\n }\n"]; +/** + * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function gql( + source: "\n query getorderByPK($id: uuid!) {\n orders_by_pk(id: $id) {\n id\n created_at\n destination\n id\n orderId\n customerId\n origin\n status\n order_items {\n id\n product {\n id\n name\n quantity\n price\n }\n }\n status\n agent {\n name\n }\n order_items_aggregate {\n aggregate {\n count\n }\n }\n }\n }\n" +): (typeof documents)["\n query getorderByPK($id: uuid!) {\n orders_by_pk(id: $id) {\n id\n created_at\n destination\n id\n orderId\n customerId\n origin\n status\n order_items {\n id\n product {\n id\n name\n quantity\n price\n }\n }\n status\n agent {\n name\n }\n order_items_aggregate {\n aggregate {\n count\n }\n }\n }\n }\n"]; +/** + * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function gql( + source: "\n query getOrderDeliveries($orderId: uuid!) {\n delivery {\n orderId\n status\n orderId\n id\n created_at\n courierId\n }\n }\n" +): (typeof documents)["\n query getOrderDeliveries($orderId: uuid!) {\n delivery {\n orderId\n status\n orderId\n id\n created_at\n courierId\n }\n }\n"]; +/** + * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function gql( + source: "\n query getOrdersStats($startDate: timestamptz, $endDate: timestamptz) {\n orders_aggregate(\n where: { created_at: { _gte: $startDate, _lte: $endDate } }\n ) {\n aggregate {\n count\n }\n }\n }\n" +): (typeof documents)["\n query getOrdersStats($startDate: timestamptz, $endDate: timestamptz) {\n orders_aggregate(\n where: { created_at: { _gte: $startDate, _lte: $endDate } }\n ) {\n aggregate {\n count\n }\n }\n }\n"]; +/** + * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function gql( + source: "\n query getProducts($offset: Int = 0, $limit: Int = 12) {\n products(\n limit: $limit\n order_by: { created_at: desc }\n offset: $offset\n where: { inStock: { _eq: true } }\n ) {\n discount\n id\n name\n price\n }\n products_aggregate {\n aggregate {\n count(columns: id, distinct: true)\n }\n }\n }\n" +): (typeof documents)["\n query getProducts($offset: Int = 0, $limit: Int = 12) {\n products(\n limit: $limit\n order_by: { created_at: desc }\n offset: $offset\n where: { inStock: { _eq: true } }\n ) {\n discount\n id\n name\n price\n }\n products_aggregate {\n aggregate {\n count(columns: id, distinct: true)\n }\n }\n }\n"]; +/** + * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function gql( + source: '\n query getProductsByName(\n $offset: Int = 0\n $limit: Int = 12\n $name: String = ""\n ) {\n products(\n limit: $limit\n order_by: { created_at: desc }\n offset: $offset\n where: { inStock: { _eq: true }, name: { _ilike: $name } }\n ) {\n discount\n id\n name\n price\n }\n products_aggregate(\n where: { inStock: { _eq: true }, name: { _ilike: $name } }\n ) {\n aggregate {\n count(columns: id, distinct: true)\n }\n }\n }\n' +): (typeof documents)['\n query getProductsByName(\n $offset: Int = 0\n $limit: Int = 12\n $name: String = ""\n ) {\n products(\n limit: $limit\n order_by: { created_at: desc }\n offset: $offset\n where: { inStock: { _eq: true }, name: { _ilike: $name } }\n ) {\n discount\n id\n name\n price\n }\n products_aggregate(\n where: { inStock: { _eq: true }, name: { _ilike: $name } }\n ) {\n aggregate {\n count(columns: id, distinct: true)\n }\n }\n }\n']; +/** + * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function gql( + source: "\n query getSuppliers($offset: Int = 0, $limit: Int = 10) {\n suppliers(offset: $offset, limit: $limit) {\n id\n name\n streetAddress\n phoneNumber\n contactName\n zone\n categories {\n category_name\n }\n }\n suppliers_aggregate {\n aggregate {\n count(columns: id, distinct: true)\n }\n }\n }\n" +): (typeof documents)["\n query getSuppliers($offset: Int = 0, $limit: Int = 10) {\n suppliers(offset: $offset, limit: $limit) {\n id\n name\n streetAddress\n phoneNumber\n contactName\n zone\n categories {\n category_name\n }\n }\n suppliers_aggregate {\n aggregate {\n count(columns: id, distinct: true)\n }\n }\n }\n"]; +/** + * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function gql( + source: "\n query getSupplierOrders($supplierId: uuid) {\n order_supplier(\n where: { supplierId: { _eq: $supplierId } }\n distinct_on: supplierId\n ) {\n id\n supplierId\n order {\n id\n created_at\n destination\n id\n orderId\n customerId\n origin\n status\n business {\n contactName\n phoneNumber\n name\n }\n }\n }\n }\n" +): (typeof documents)["\n query getSupplierOrders($supplierId: uuid) {\n order_supplier(\n where: { supplierId: { _eq: $supplierId } }\n distinct_on: supplierId\n ) {\n id\n supplierId\n order {\n id\n created_at\n destination\n id\n orderId\n customerId\n origin\n status\n business {\n contactName\n phoneNumber\n name\n }\n }\n }\n }\n"]; +/** + * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function gql( + source: "\n query getFilteredSuppliers(\n $category_name: supplier_categories_enum_enum\n $offset: Int = 0\n $limit: Int = 10\n ) {\n suppliers(\n where: { categories: { category_name: { _eq: $category_name } } }\n offset: $offset\n limit: $limit\n ) {\n id\n name\n streetAddress\n phoneNumber\n contactName\n zone\n categories {\n category_name\n }\n }\n }\n" +): (typeof documents)["\n query getFilteredSuppliers(\n $category_name: supplier_categories_enum_enum\n $offset: Int = 0\n $limit: Int = 10\n ) {\n suppliers(\n where: { categories: { category_name: { _eq: $category_name } } }\n offset: $offset\n limit: $limit\n ) {\n id\n name\n streetAddress\n phoneNumber\n contactName\n zone\n categories {\n category_name\n }\n }\n }\n"]; +/** + * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function gql( + source: "\n query getSupplierByPK($id: uuid!) {\n suppliers_by_pk(id: $id) {\n created_at\n id\n name\n description\n phoneNumber\n contactName\n contactEmail\n streetAddress\n zone\n categories {\n category_name\n }\n products_aggregate {\n aggregate {\n count\n }\n }\n }\n }\n" +): (typeof documents)["\n query getSupplierByPK($id: uuid!) {\n suppliers_by_pk(id: $id) {\n created_at\n id\n name\n description\n phoneNumber\n contactName\n contactEmail\n streetAddress\n zone\n categories {\n category_name\n }\n products_aggregate {\n aggregate {\n count\n }\n }\n }\n }\n"]; +/** + * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function gql( + source: "\n query getSupplierProducts(\n $id: uuid!\n $offset: Int = 0\n $order_by: [products_order_by!] = {}\n ) {\n products(\n where: { supplier_id: { _eq: $id } }\n limit: 4\n offset: $offset\n order_by: $order_by\n ) {\n id\n name\n description\n inStock\n quantity\n price\n }\n }\n" +): (typeof documents)["\n query getSupplierProducts(\n $id: uuid!\n $offset: Int = 0\n $order_by: [products_order_by!] = {}\n ) {\n products(\n where: { supplier_id: { _eq: $id } }\n limit: 4\n offset: $offset\n order_by: $order_by\n ) {\n id\n name\n description\n inStock\n quantity\n price\n }\n }\n"]; +/** + * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function gql( + source: '\n query getSupplierProductByName(\n $id: uuid!\n $offset: Int = 0\n $name: String = ""\n $limit: Int = 4\n ) {\n products(\n where: { supplier_id: { _eq: $id }, name: { _ilike: $name } }\n limit: $limit\n offset: $offset\n ) {\n id\n name\n description\n inStock\n quantity\n price\n }\n }\n' +): (typeof documents)['\n query getSupplierProductByName(\n $id: uuid!\n $offset: Int = 0\n $name: String = ""\n $limit: Int = 4\n ) {\n products(\n where: { supplier_id: { _eq: $id }, name: { _ilike: $name } }\n limit: $limit\n offset: $offset\n ) {\n id\n name\n description\n inStock\n quantity\n price\n }\n }\n']; +/** + * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function gql( + source: "\n query getUsers {\n users {\n id\n created_at\n role\n name\n }\n }\n" +): (typeof documents)["\n query getUsers {\n users {\n id\n created_at\n role\n name\n }\n }\n"]; + +export function gql(source: string) { + return (documents as any)[source] ?? {}; +} + +export type DocumentType> = + TDocumentNode extends DocumentNode ? TType : never; diff --git a/packages/lib/graphql/__generated__/graphql.ts b/packages/lib/graphql/__generated__/graphql.ts new file mode 100644 index 00000000..c8fd36f6 --- /dev/null +++ b/packages/lib/graphql/__generated__/graphql.ts @@ -0,0 +1,14623 @@ +/* eslint-disable */ +import { TypedDocumentNode as DocumentNode } from "@graphql-typed-document-node/core"; +export type Maybe = T | null; +export type InputMaybe = Maybe; +export type Exact = { + [K in keyof T]: T[K]; +}; +export type MakeOptional = Omit & { + [SubKey in K]?: Maybe; +}; +export type MakeMaybe = Omit & { + [SubKey in K]: Maybe; +}; +export type MakeEmpty< + T extends { [key: string]: unknown }, + K extends keyof T +> = { [_ in K]?: never }; +export type Incremental = + | T + | { + [P in keyof T]?: P extends " $fragmentName" | "__typename" ? T[P] : never; + }; +/** All built-in and custom scalars, mapped to their actual values */ +export type Scalars = { + ID: { input: string; output: string }; + String: { input: string; output: string }; + Boolean: { input: boolean; output: boolean }; + Int: { input: number; output: number }; + Float: { input: number; output: number }; + date: { input: any; output: any }; + float8: { input: any; output: any }; + json: { input: any; output: any }; + name: { input: any; output: any }; + timestamptz: { input: any; output: any }; + uuid: { input: any; output: any }; +}; + +/** Boolean expression to compare columns of type "Boolean". All fields are combined with logical 'AND'. */ +export type Boolean_Comparison_Exp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +/** Boolean expression to compare columns of type "Int". All fields are combined with logical 'AND'. */ +export type Int_Comparison_Exp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +export type OrdersActionInput = { + created_at: Scalars["timestamptz"]["input"]; + customerId?: InputMaybe; + destination?: InputMaybe; + id: Scalars["uuid"]["input"]; + orderId?: InputMaybe; + origin?: InputMaybe; + processedBy?: InputMaybe; +}; + +export type OrdersActionType = { + __typename?: "OrdersActionType"; + created_at: Scalars["timestamptz"]["output"]; + customerId?: Maybe; + destination?: Maybe; + id: Scalars["uuid"]["output"]; + orderId?: Maybe; + origin?: Maybe; + processedBy?: Maybe; +}; + +/** Boolean expression to compare columns of type "String". All fields are combined with logical 'AND'. */ +export type String_Comparison_Exp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + /** does the column match the given case-insensitive pattern */ + _ilike?: InputMaybe; + _in?: InputMaybe>; + /** does the column match the given POSIX regular expression, case insensitive */ + _iregex?: InputMaybe; + _is_null?: InputMaybe; + /** does the column match the given pattern */ + _like?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + /** does the column NOT match the given case-insensitive pattern */ + _nilike?: InputMaybe; + _nin?: InputMaybe>; + /** does the column NOT match the given POSIX regular expression, case insensitive */ + _niregex?: InputMaybe; + /** does the column NOT match the given pattern */ + _nlike?: InputMaybe; + /** does the column NOT match the given POSIX regular expression, case sensitive */ + _nregex?: InputMaybe; + /** does the column NOT match the given SQL regular expression */ + _nsimilar?: InputMaybe; + /** does the column match the given POSIX regular expression, case sensitive */ + _regex?: InputMaybe; + /** does the column match the given SQL regular expression */ + _similar?: InputMaybe; +}; + +/** columns and relationships of "addresses" */ +export type Addresses = { + __typename?: "addresses"; + /** An object relationship */ + business?: Maybe; + business_id?: Maybe; + city?: Maybe; + created_at: Scalars["timestamptz"]["output"]; + id: Scalars["uuid"]["output"]; + latitude?: Maybe; + longitude?: Maybe; + street_address?: Maybe; + updated_at: Scalars["timestamptz"]["output"]; +}; + +/** aggregated selection of "addresses" */ +export type Addresses_Aggregate = { + __typename?: "addresses_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +export type Addresses_Aggregate_Bool_Exp = { + avg?: InputMaybe; + corr?: InputMaybe; + count?: InputMaybe; + covar_samp?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_samp?: InputMaybe; +}; + +export type Addresses_Aggregate_Bool_Exp_Avg = { + arguments: Addresses_Select_Column_Addresses_Aggregate_Bool_Exp_Avg_Arguments_Columns; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Float8_Comparison_Exp; +}; + +export type Addresses_Aggregate_Bool_Exp_Corr = { + arguments: Addresses_Aggregate_Bool_Exp_Corr_Arguments; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Float8_Comparison_Exp; +}; + +export type Addresses_Aggregate_Bool_Exp_Corr_Arguments = { + X: Addresses_Select_Column_Addresses_Aggregate_Bool_Exp_Corr_Arguments_Columns; + Y: Addresses_Select_Column_Addresses_Aggregate_Bool_Exp_Corr_Arguments_Columns; +}; + +export type Addresses_Aggregate_Bool_Exp_Count = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Int_Comparison_Exp; +}; + +export type Addresses_Aggregate_Bool_Exp_Covar_Samp = { + arguments: Addresses_Aggregate_Bool_Exp_Covar_Samp_Arguments; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Float8_Comparison_Exp; +}; + +export type Addresses_Aggregate_Bool_Exp_Covar_Samp_Arguments = { + X: Addresses_Select_Column_Addresses_Aggregate_Bool_Exp_Covar_Samp_Arguments_Columns; + Y: Addresses_Select_Column_Addresses_Aggregate_Bool_Exp_Covar_Samp_Arguments_Columns; +}; + +export type Addresses_Aggregate_Bool_Exp_Max = { + arguments: Addresses_Select_Column_Addresses_Aggregate_Bool_Exp_Max_Arguments_Columns; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Float8_Comparison_Exp; +}; + +export type Addresses_Aggregate_Bool_Exp_Min = { + arguments: Addresses_Select_Column_Addresses_Aggregate_Bool_Exp_Min_Arguments_Columns; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Float8_Comparison_Exp; +}; + +export type Addresses_Aggregate_Bool_Exp_Stddev_Samp = { + arguments: Addresses_Select_Column_Addresses_Aggregate_Bool_Exp_Stddev_Samp_Arguments_Columns; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Float8_Comparison_Exp; +}; + +export type Addresses_Aggregate_Bool_Exp_Sum = { + arguments: Addresses_Select_Column_Addresses_Aggregate_Bool_Exp_Sum_Arguments_Columns; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Float8_Comparison_Exp; +}; + +export type Addresses_Aggregate_Bool_Exp_Var_Samp = { + arguments: Addresses_Select_Column_Addresses_Aggregate_Bool_Exp_Var_Samp_Arguments_Columns; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Float8_Comparison_Exp; +}; + +/** aggregate fields of "addresses" */ +export type Addresses_Aggregate_Fields = { + __typename?: "addresses_aggregate_fields"; + avg?: Maybe; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; +}; + +/** aggregate fields of "addresses" */ +export type Addresses_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** order by aggregate values of table "addresses" */ +export type Addresses_Aggregate_Order_By = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; + +/** input type for inserting array relation for remote table "addresses" */ +export type Addresses_Arr_Rel_Insert_Input = { + data: Array; + /** upsert condition */ + on_conflict?: InputMaybe; +}; + +/** aggregate avg on columns */ +export type Addresses_Avg_Fields = { + __typename?: "addresses_avg_fields"; + latitude?: Maybe; + longitude?: Maybe; +}; + +/** order by avg() on columns of table "addresses" */ +export type Addresses_Avg_Order_By = { + latitude?: InputMaybe; + longitude?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "addresses". All fields are combined with a logical 'AND'. */ +export type Addresses_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + business?: InputMaybe; + business_id?: InputMaybe; + city?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + latitude?: InputMaybe; + longitude?: InputMaybe; + street_address?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** unique or primary key constraints on table "addresses" */ +export enum Addresses_Constraint { + /** unique or primary key constraint on columns "id" */ + AddressesPkey = "addresses_pkey", +} + +/** input type for incrementing numeric columns in table "addresses" */ +export type Addresses_Inc_Input = { + latitude?: InputMaybe; + longitude?: InputMaybe; +}; + +/** input type for inserting data into table "addresses" */ +export type Addresses_Insert_Input = { + business?: InputMaybe; + business_id?: InputMaybe; + city?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + latitude?: InputMaybe; + longitude?: InputMaybe; + street_address?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Addresses_Max_Fields = { + __typename?: "addresses_max_fields"; + business_id?: Maybe; + city?: Maybe; + created_at?: Maybe; + id?: Maybe; + latitude?: Maybe; + longitude?: Maybe; + street_address?: Maybe; + updated_at?: Maybe; +}; + +/** order by max() on columns of table "addresses" */ +export type Addresses_Max_Order_By = { + business_id?: InputMaybe; + city?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + latitude?: InputMaybe; + longitude?: InputMaybe; + street_address?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** aggregate min on columns */ +export type Addresses_Min_Fields = { + __typename?: "addresses_min_fields"; + business_id?: Maybe; + city?: Maybe; + created_at?: Maybe; + id?: Maybe; + latitude?: Maybe; + longitude?: Maybe; + street_address?: Maybe; + updated_at?: Maybe; +}; + +/** order by min() on columns of table "addresses" */ +export type Addresses_Min_Order_By = { + business_id?: InputMaybe; + city?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + latitude?: InputMaybe; + longitude?: InputMaybe; + street_address?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** response of any mutation on the table "addresses" */ +export type Addresses_Mutation_Response = { + __typename?: "addresses_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** on_conflict condition type for table "addresses" */ +export type Addresses_On_Conflict = { + constraint: Addresses_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "addresses". */ +export type Addresses_Order_By = { + business?: InputMaybe; + business_id?: InputMaybe; + city?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + latitude?: InputMaybe; + longitude?: InputMaybe; + street_address?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** primary key columns input for table: addresses */ +export type Addresses_Pk_Columns_Input = { + id: Scalars["uuid"]["input"]; +}; + +/** select columns of table "addresses" */ +export enum Addresses_Select_Column { + /** column name */ + BusinessId = "business_id", + /** column name */ + City = "city", + /** column name */ + CreatedAt = "created_at", + /** column name */ + Id = "id", + /** column name */ + Latitude = "latitude", + /** column name */ + Longitude = "longitude", + /** column name */ + StreetAddress = "street_address", + /** column name */ + UpdatedAt = "updated_at", +} + +/** select "addresses_aggregate_bool_exp_avg_arguments_columns" columns of table "addresses" */ +export enum Addresses_Select_Column_Addresses_Aggregate_Bool_Exp_Avg_Arguments_Columns { + /** column name */ + Latitude = "latitude", + /** column name */ + Longitude = "longitude", +} + +/** select "addresses_aggregate_bool_exp_corr_arguments_columns" columns of table "addresses" */ +export enum Addresses_Select_Column_Addresses_Aggregate_Bool_Exp_Corr_Arguments_Columns { + /** column name */ + Latitude = "latitude", + /** column name */ + Longitude = "longitude", +} + +/** select "addresses_aggregate_bool_exp_covar_samp_arguments_columns" columns of table "addresses" */ +export enum Addresses_Select_Column_Addresses_Aggregate_Bool_Exp_Covar_Samp_Arguments_Columns { + /** column name */ + Latitude = "latitude", + /** column name */ + Longitude = "longitude", +} + +/** select "addresses_aggregate_bool_exp_max_arguments_columns" columns of table "addresses" */ +export enum Addresses_Select_Column_Addresses_Aggregate_Bool_Exp_Max_Arguments_Columns { + /** column name */ + Latitude = "latitude", + /** column name */ + Longitude = "longitude", +} + +/** select "addresses_aggregate_bool_exp_min_arguments_columns" columns of table "addresses" */ +export enum Addresses_Select_Column_Addresses_Aggregate_Bool_Exp_Min_Arguments_Columns { + /** column name */ + Latitude = "latitude", + /** column name */ + Longitude = "longitude", +} + +/** select "addresses_aggregate_bool_exp_stddev_samp_arguments_columns" columns of table "addresses" */ +export enum Addresses_Select_Column_Addresses_Aggregate_Bool_Exp_Stddev_Samp_Arguments_Columns { + /** column name */ + Latitude = "latitude", + /** column name */ + Longitude = "longitude", +} + +/** select "addresses_aggregate_bool_exp_sum_arguments_columns" columns of table "addresses" */ +export enum Addresses_Select_Column_Addresses_Aggregate_Bool_Exp_Sum_Arguments_Columns { + /** column name */ + Latitude = "latitude", + /** column name */ + Longitude = "longitude", +} + +/** select "addresses_aggregate_bool_exp_var_samp_arguments_columns" columns of table "addresses" */ +export enum Addresses_Select_Column_Addresses_Aggregate_Bool_Exp_Var_Samp_Arguments_Columns { + /** column name */ + Latitude = "latitude", + /** column name */ + Longitude = "longitude", +} + +/** input type for updating data in table "addresses" */ +export type Addresses_Set_Input = { + business_id?: InputMaybe; + city?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + latitude?: InputMaybe; + longitude?: InputMaybe; + street_address?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** aggregate stddev on columns */ +export type Addresses_Stddev_Fields = { + __typename?: "addresses_stddev_fields"; + latitude?: Maybe; + longitude?: Maybe; +}; + +/** order by stddev() on columns of table "addresses" */ +export type Addresses_Stddev_Order_By = { + latitude?: InputMaybe; + longitude?: InputMaybe; +}; + +/** aggregate stddev_pop on columns */ +export type Addresses_Stddev_Pop_Fields = { + __typename?: "addresses_stddev_pop_fields"; + latitude?: Maybe; + longitude?: Maybe; +}; + +/** order by stddev_pop() on columns of table "addresses" */ +export type Addresses_Stddev_Pop_Order_By = { + latitude?: InputMaybe; + longitude?: InputMaybe; +}; + +/** aggregate stddev_samp on columns */ +export type Addresses_Stddev_Samp_Fields = { + __typename?: "addresses_stddev_samp_fields"; + latitude?: Maybe; + longitude?: Maybe; +}; + +/** order by stddev_samp() on columns of table "addresses" */ +export type Addresses_Stddev_Samp_Order_By = { + latitude?: InputMaybe; + longitude?: InputMaybe; +}; + +/** Streaming cursor of the table "addresses" */ +export type Addresses_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Addresses_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Addresses_Stream_Cursor_Value_Input = { + business_id?: InputMaybe; + city?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + latitude?: InputMaybe; + longitude?: InputMaybe; + street_address?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** aggregate sum on columns */ +export type Addresses_Sum_Fields = { + __typename?: "addresses_sum_fields"; + latitude?: Maybe; + longitude?: Maybe; +}; + +/** order by sum() on columns of table "addresses" */ +export type Addresses_Sum_Order_By = { + latitude?: InputMaybe; + longitude?: InputMaybe; +}; + +/** update columns of table "addresses" */ +export enum Addresses_Update_Column { + /** column name */ + BusinessId = "business_id", + /** column name */ + City = "city", + /** column name */ + CreatedAt = "created_at", + /** column name */ + Id = "id", + /** column name */ + Latitude = "latitude", + /** column name */ + Longitude = "longitude", + /** column name */ + StreetAddress = "street_address", + /** column name */ + UpdatedAt = "updated_at", +} + +export type Addresses_Updates = { + /** increments the numeric columns with given value of the filtered values */ + _inc?: InputMaybe; + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Addresses_Bool_Exp; +}; + +/** aggregate var_pop on columns */ +export type Addresses_Var_Pop_Fields = { + __typename?: "addresses_var_pop_fields"; + latitude?: Maybe; + longitude?: Maybe; +}; + +/** order by var_pop() on columns of table "addresses" */ +export type Addresses_Var_Pop_Order_By = { + latitude?: InputMaybe; + longitude?: InputMaybe; +}; + +/** aggregate var_samp on columns */ +export type Addresses_Var_Samp_Fields = { + __typename?: "addresses_var_samp_fields"; + latitude?: Maybe; + longitude?: Maybe; +}; + +/** order by var_samp() on columns of table "addresses" */ +export type Addresses_Var_Samp_Order_By = { + latitude?: InputMaybe; + longitude?: InputMaybe; +}; + +/** aggregate variance on columns */ +export type Addresses_Variance_Fields = { + __typename?: "addresses_variance_fields"; + latitude?: Maybe; + longitude?: Maybe; +}; + +/** order by variance() on columns of table "addresses" */ +export type Addresses_Variance_Order_By = { + latitude?: InputMaybe; + longitude?: InputMaybe; +}; + +/** columns and relationships of "agent" */ +export type Agent = { + __typename?: "agent"; + active: Scalars["Boolean"]["output"]; + agent_type: Scalars["String"]["output"]; + created_at: Scalars["timestamptz"]["output"]; + id: Scalars["uuid"]["output"]; + name: Scalars["String"]["output"]; + on_duty: Scalars["Boolean"]["output"]; +}; + +/** aggregated selection of "agent" */ +export type Agent_Aggregate = { + __typename?: "agent_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "agent" */ +export type Agent_Aggregate_Fields = { + __typename?: "agent_aggregate_fields"; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; +}; + +/** aggregate fields of "agent" */ +export type Agent_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "agent". All fields are combined with a logical 'AND'. */ +export type Agent_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + active?: InputMaybe; + agent_type?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + on_duty?: InputMaybe; +}; + +/** unique or primary key constraints on table "agent" */ +export enum Agent_Constraint { + /** unique or primary key constraint on columns "id" */ + AgentPkey = "agent_pkey", +} + +/** input type for inserting data into table "agent" */ +export type Agent_Insert_Input = { + active?: InputMaybe; + agent_type?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + on_duty?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Agent_Max_Fields = { + __typename?: "agent_max_fields"; + agent_type?: Maybe; + created_at?: Maybe; + id?: Maybe; + name?: Maybe; +}; + +/** aggregate min on columns */ +export type Agent_Min_Fields = { + __typename?: "agent_min_fields"; + agent_type?: Maybe; + created_at?: Maybe; + id?: Maybe; + name?: Maybe; +}; + +/** response of any mutation on the table "agent" */ +export type Agent_Mutation_Response = { + __typename?: "agent_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** input type for inserting object relation for remote table "agent" */ +export type Agent_Obj_Rel_Insert_Input = { + data: Agent_Insert_Input; + /** upsert condition */ + on_conflict?: InputMaybe; +}; + +/** on_conflict condition type for table "agent" */ +export type Agent_On_Conflict = { + constraint: Agent_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "agent". */ +export type Agent_Order_By = { + active?: InputMaybe; + agent_type?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + on_duty?: InputMaybe; +}; + +/** primary key columns input for table: agent */ +export type Agent_Pk_Columns_Input = { + id: Scalars["uuid"]["input"]; +}; + +/** select columns of table "agent" */ +export enum Agent_Select_Column { + /** column name */ + Active = "active", + /** column name */ + AgentType = "agent_type", + /** column name */ + CreatedAt = "created_at", + /** column name */ + Id = "id", + /** column name */ + Name = "name", + /** column name */ + OnDuty = "on_duty", +} + +/** input type for updating data in table "agent" */ +export type Agent_Set_Input = { + active?: InputMaybe; + agent_type?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + on_duty?: InputMaybe; +}; + +/** Streaming cursor of the table "agent" */ +export type Agent_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Agent_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Agent_Stream_Cursor_Value_Input = { + active?: InputMaybe; + agent_type?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + on_duty?: InputMaybe; +}; + +/** columns and relationships of "agent_type" */ +export type Agent_Type = { + __typename?: "agent_type"; + type: Scalars["String"]["output"]; +}; + +/** aggregated selection of "agent_type" */ +export type Agent_Type_Aggregate = { + __typename?: "agent_type_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "agent_type" */ +export type Agent_Type_Aggregate_Fields = { + __typename?: "agent_type_aggregate_fields"; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; +}; + +/** aggregate fields of "agent_type" */ +export type Agent_Type_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "agent_type". All fields are combined with a logical 'AND'. */ +export type Agent_Type_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + type?: InputMaybe; +}; + +/** unique or primary key constraints on table "agent_type" */ +export enum Agent_Type_Constraint { + /** unique or primary key constraint on columns "type" */ + AgentTypePkey = "agent_type_pkey", +} + +/** input type for inserting data into table "agent_type" */ +export type Agent_Type_Insert_Input = { + type?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Agent_Type_Max_Fields = { + __typename?: "agent_type_max_fields"; + type?: Maybe; +}; + +/** aggregate min on columns */ +export type Agent_Type_Min_Fields = { + __typename?: "agent_type_min_fields"; + type?: Maybe; +}; + +/** response of any mutation on the table "agent_type" */ +export type Agent_Type_Mutation_Response = { + __typename?: "agent_type_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** on_conflict condition type for table "agent_type" */ +export type Agent_Type_On_Conflict = { + constraint: Agent_Type_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "agent_type". */ +export type Agent_Type_Order_By = { + type?: InputMaybe; +}; + +/** primary key columns input for table: agent_type */ +export type Agent_Type_Pk_Columns_Input = { + type: Scalars["String"]["input"]; +}; + +/** select columns of table "agent_type" */ +export enum Agent_Type_Select_Column { + /** column name */ + Type = "type", +} + +/** input type for updating data in table "agent_type" */ +export type Agent_Type_Set_Input = { + type?: InputMaybe; +}; + +/** Streaming cursor of the table "agent_type" */ +export type Agent_Type_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Agent_Type_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Agent_Type_Stream_Cursor_Value_Input = { + type?: InputMaybe; +}; + +/** update columns of table "agent_type" */ +export enum Agent_Type_Update_Column { + /** column name */ + Type = "type", +} + +export type Agent_Type_Updates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Agent_Type_Bool_Exp; +}; + +/** update columns of table "agent" */ +export enum Agent_Update_Column { + /** column name */ + Active = "active", + /** column name */ + AgentType = "agent_type", + /** column name */ + CreatedAt = "created_at", + /** column name */ + Id = "id", + /** column name */ + Name = "name", + /** column name */ + OnDuty = "on_duty", +} + +export type Agent_Updates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Agent_Bool_Exp; +}; + +/** columns and relationships of "business" */ +export type Business = { + __typename?: "business"; + /** An array relationship */ + addresses: Array; + /** An aggregate relationship */ + addresses_aggregate: Addresses_Aggregate; + /** An object relationship */ + agent?: Maybe; + /** An object relationship */ + business_type?: Maybe; + contactEmail?: Maybe; + contactName?: Maybe; + created_at: Scalars["timestamptz"]["output"]; + description?: Maybe; + id: Scalars["uuid"]["output"]; + name?: Maybe; + /** An array relationship */ + orders: Array; + /** An aggregate relationship */ + orders_aggregate: Orders_Aggregate; + /** An object relationship */ + owner?: Maybe; + owner_id?: Maybe; + phoneNumber?: Maybe; + /** An object relationship */ + registeration_channel_type?: Maybe; + registered_by?: Maybe; + registration_channel?: Maybe; + type?: Maybe; + updated_at: Scalars["timestamptz"]["output"]; +}; + +/** columns and relationships of "business" */ +export type BusinessAddressesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** columns and relationships of "business" */ +export type BusinessAddresses_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** columns and relationships of "business" */ +export type BusinessOrdersArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** columns and relationships of "business" */ +export type BusinessOrders_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** aggregated selection of "business" */ +export type Business_Aggregate = { + __typename?: "business_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +export type Business_Aggregate_Bool_Exp = { + count?: InputMaybe; +}; + +export type Business_Aggregate_Bool_Exp_Count = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Int_Comparison_Exp; +}; + +/** aggregate fields of "business" */ +export type Business_Aggregate_Fields = { + __typename?: "business_aggregate_fields"; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; +}; + +/** aggregate fields of "business" */ +export type Business_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** order by aggregate values of table "business" */ +export type Business_Aggregate_Order_By = { + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; +}; + +/** input type for inserting array relation for remote table "business" */ +export type Business_Arr_Rel_Insert_Input = { + data: Array; + /** upsert condition */ + on_conflict?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "business". All fields are combined with a logical 'AND'. */ +export type Business_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + addresses?: InputMaybe; + addresses_aggregate?: InputMaybe; + agent?: InputMaybe; + business_type?: InputMaybe; + contactEmail?: InputMaybe; + contactName?: InputMaybe; + created_at?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + orders?: InputMaybe; + orders_aggregate?: InputMaybe; + owner?: InputMaybe; + owner_id?: InputMaybe; + phoneNumber?: InputMaybe; + registeration_channel_type?: InputMaybe; + registered_by?: InputMaybe; + registration_channel?: InputMaybe; + type?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** unique or primary key constraints on table "business" */ +export enum Business_Constraint { + /** unique or primary key constraint on columns "id" */ + BusinessPkey = "business_pkey", +} + +/** input type for inserting data into table "business" */ +export type Business_Insert_Input = { + addresses?: InputMaybe; + agent?: InputMaybe; + business_type?: InputMaybe; + contactEmail?: InputMaybe; + contactName?: InputMaybe; + created_at?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + orders?: InputMaybe; + owner?: InputMaybe; + owner_id?: InputMaybe; + phoneNumber?: InputMaybe; + registeration_channel_type?: InputMaybe; + registered_by?: InputMaybe; + registration_channel?: InputMaybe; + type?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Business_Max_Fields = { + __typename?: "business_max_fields"; + contactEmail?: Maybe; + contactName?: Maybe; + created_at?: Maybe; + description?: Maybe; + id?: Maybe; + name?: Maybe; + owner_id?: Maybe; + phoneNumber?: Maybe; + registered_by?: Maybe; + updated_at?: Maybe; +}; + +/** order by max() on columns of table "business" */ +export type Business_Max_Order_By = { + contactEmail?: InputMaybe; + contactName?: InputMaybe; + created_at?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + owner_id?: InputMaybe; + phoneNumber?: InputMaybe; + registered_by?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** aggregate min on columns */ +export type Business_Min_Fields = { + __typename?: "business_min_fields"; + contactEmail?: Maybe; + contactName?: Maybe; + created_at?: Maybe; + description?: Maybe; + id?: Maybe; + name?: Maybe; + owner_id?: Maybe; + phoneNumber?: Maybe; + registered_by?: Maybe; + updated_at?: Maybe; +}; + +/** order by min() on columns of table "business" */ +export type Business_Min_Order_By = { + contactEmail?: InputMaybe; + contactName?: InputMaybe; + created_at?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + owner_id?: InputMaybe; + phoneNumber?: InputMaybe; + registered_by?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** response of any mutation on the table "business" */ +export type Business_Mutation_Response = { + __typename?: "business_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** input type for inserting object relation for remote table "business" */ +export type Business_Obj_Rel_Insert_Input = { + data: Business_Insert_Input; + /** upsert condition */ + on_conflict?: InputMaybe; +}; + +/** on_conflict condition type for table "business" */ +export type Business_On_Conflict = { + constraint: Business_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "business". */ +export type Business_Order_By = { + addresses_aggregate?: InputMaybe; + agent?: InputMaybe; + business_type?: InputMaybe; + contactEmail?: InputMaybe; + contactName?: InputMaybe; + created_at?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + orders_aggregate?: InputMaybe; + owner?: InputMaybe; + owner_id?: InputMaybe; + phoneNumber?: InputMaybe; + registeration_channel_type?: InputMaybe; + registered_by?: InputMaybe; + registration_channel?: InputMaybe; + type?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** primary key columns input for table: business */ +export type Business_Pk_Columns_Input = { + id: Scalars["uuid"]["input"]; +}; + +/** columns and relationships of "business_sector" */ +export type Business_Sector = { + __typename?: "business_sector"; + text: Scalars["String"]["output"]; +}; + +/** aggregated selection of "business_sector" */ +export type Business_Sector_Aggregate = { + __typename?: "business_sector_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "business_sector" */ +export type Business_Sector_Aggregate_Fields = { + __typename?: "business_sector_aggregate_fields"; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; +}; + +/** aggregate fields of "business_sector" */ +export type Business_Sector_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "business_sector". All fields are combined with a logical 'AND'. */ +export type Business_Sector_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + text?: InputMaybe; +}; + +/** unique or primary key constraints on table "business_sector" */ +export enum Business_Sector_Constraint { + /** unique or primary key constraint on columns "text" */ + BusinessSectorPkey = "business_sector_pkey", +} + +/** input type for inserting data into table "business_sector" */ +export type Business_Sector_Insert_Input = { + text?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Business_Sector_Max_Fields = { + __typename?: "business_sector_max_fields"; + text?: Maybe; +}; + +/** aggregate min on columns */ +export type Business_Sector_Min_Fields = { + __typename?: "business_sector_min_fields"; + text?: Maybe; +}; + +/** response of any mutation on the table "business_sector" */ +export type Business_Sector_Mutation_Response = { + __typename?: "business_sector_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** on_conflict condition type for table "business_sector" */ +export type Business_Sector_On_Conflict = { + constraint: Business_Sector_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "business_sector". */ +export type Business_Sector_Order_By = { + text?: InputMaybe; +}; + +/** primary key columns input for table: business_sector */ +export type Business_Sector_Pk_Columns_Input = { + text: Scalars["String"]["input"]; +}; + +/** select columns of table "business_sector" */ +export enum Business_Sector_Select_Column { + /** column name */ + Text = "text", +} + +/** input type for updating data in table "business_sector" */ +export type Business_Sector_Set_Input = { + text?: InputMaybe; +}; + +/** Streaming cursor of the table "business_sector" */ +export type Business_Sector_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Business_Sector_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Business_Sector_Stream_Cursor_Value_Input = { + text?: InputMaybe; +}; + +/** update columns of table "business_sector" */ +export enum Business_Sector_Update_Column { + /** column name */ + Text = "text", +} + +export type Business_Sector_Updates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Business_Sector_Bool_Exp; +}; + +/** select columns of table "business" */ +export enum Business_Select_Column { + /** column name */ + ContactEmail = "contactEmail", + /** column name */ + ContactName = "contactName", + /** column name */ + CreatedAt = "created_at", + /** column name */ + Description = "description", + /** column name */ + Id = "id", + /** column name */ + Name = "name", + /** column name */ + OwnerId = "owner_id", + /** column name */ + PhoneNumber = "phoneNumber", + /** column name */ + RegisteredBy = "registered_by", + /** column name */ + RegistrationChannel = "registration_channel", + /** column name */ + Type = "type", + /** column name */ + UpdatedAt = "updated_at", +} + +/** input type for updating data in table "business" */ +export type Business_Set_Input = { + contactEmail?: InputMaybe; + contactName?: InputMaybe; + created_at?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + owner_id?: InputMaybe; + phoneNumber?: InputMaybe; + registered_by?: InputMaybe; + registration_channel?: InputMaybe; + type?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** Streaming cursor of the table "business" */ +export type Business_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Business_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Business_Stream_Cursor_Value_Input = { + contactEmail?: InputMaybe; + contactName?: InputMaybe; + created_at?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + owner_id?: InputMaybe; + phoneNumber?: InputMaybe; + registered_by?: InputMaybe; + registration_channel?: InputMaybe; + type?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** columns and relationships of "business_type" */ +export type Business_Type = { + __typename?: "business_type"; + /** An array relationship */ + businesses: Array; + /** An aggregate relationship */ + businesses_aggregate: Business_Aggregate; + type: Scalars["String"]["output"]; +}; + +/** columns and relationships of "business_type" */ +export type Business_TypeBusinessesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** columns and relationships of "business_type" */ +export type Business_TypeBusinesses_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** aggregated selection of "business_type" */ +export type Business_Type_Aggregate = { + __typename?: "business_type_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "business_type" */ +export type Business_Type_Aggregate_Fields = { + __typename?: "business_type_aggregate_fields"; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; +}; + +/** aggregate fields of "business_type" */ +export type Business_Type_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "business_type". All fields are combined with a logical 'AND'. */ +export type Business_Type_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + businesses?: InputMaybe; + businesses_aggregate?: InputMaybe; + type?: InputMaybe; +}; + +/** unique or primary key constraints on table "business_type" */ +export enum Business_Type_Constraint { + /** unique or primary key constraint on columns "type" */ + BusinessTypePkey = "business_type_pkey", +} + +export enum Business_Type_Enum { + Bar = "bar", + Hotel = "hotel", + Restaurant = "restaurant", +} + +/** Boolean expression to compare columns of type "business_type_enum". All fields are combined with logical 'AND'. */ +export type Business_Type_Enum_Comparison_Exp = { + _eq?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +/** input type for inserting data into table "business_type" */ +export type Business_Type_Insert_Input = { + businesses?: InputMaybe; + type?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Business_Type_Max_Fields = { + __typename?: "business_type_max_fields"; + type?: Maybe; +}; + +/** aggregate min on columns */ +export type Business_Type_Min_Fields = { + __typename?: "business_type_min_fields"; + type?: Maybe; +}; + +/** response of any mutation on the table "business_type" */ +export type Business_Type_Mutation_Response = { + __typename?: "business_type_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** input type for inserting object relation for remote table "business_type" */ +export type Business_Type_Obj_Rel_Insert_Input = { + data: Business_Type_Insert_Input; + /** upsert condition */ + on_conflict?: InputMaybe; +}; + +/** on_conflict condition type for table "business_type" */ +export type Business_Type_On_Conflict = { + constraint: Business_Type_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "business_type". */ +export type Business_Type_Order_By = { + businesses_aggregate?: InputMaybe; + type?: InputMaybe; +}; + +/** primary key columns input for table: business_type */ +export type Business_Type_Pk_Columns_Input = { + type: Scalars["String"]["input"]; +}; + +/** select columns of table "business_type" */ +export enum Business_Type_Select_Column { + /** column name */ + Type = "type", +} + +/** input type for updating data in table "business_type" */ +export type Business_Type_Set_Input = { + type?: InputMaybe; +}; + +/** Streaming cursor of the table "business_type" */ +export type Business_Type_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Business_Type_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Business_Type_Stream_Cursor_Value_Input = { + type?: InputMaybe; +}; + +/** update columns of table "business_type" */ +export enum Business_Type_Update_Column { + /** column name */ + Type = "type", +} + +export type Business_Type_Updates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Business_Type_Bool_Exp; +}; + +/** update columns of table "business" */ +export enum Business_Update_Column { + /** column name */ + ContactEmail = "contactEmail", + /** column name */ + ContactName = "contactName", + /** column name */ + CreatedAt = "created_at", + /** column name */ + Description = "description", + /** column name */ + Id = "id", + /** column name */ + Name = "name", + /** column name */ + OwnerId = "owner_id", + /** column name */ + PhoneNumber = "phoneNumber", + /** column name */ + RegisteredBy = "registered_by", + /** column name */ + RegistrationChannel = "registration_channel", + /** column name */ + Type = "type", + /** column name */ + UpdatedAt = "updated_at", +} + +export type Business_Updates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Business_Bool_Exp; +}; + +/** columns and relationships of "contact_details" */ +export type Contact_Details = { + __typename?: "contact_details"; + created_at: Scalars["timestamptz"]["output"]; + id: Scalars["uuid"]["output"]; + updated_at: Scalars["timestamptz"]["output"]; +}; + +/** aggregated selection of "contact_details" */ +export type Contact_Details_Aggregate = { + __typename?: "contact_details_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "contact_details" */ +export type Contact_Details_Aggregate_Fields = { + __typename?: "contact_details_aggregate_fields"; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; +}; + +/** aggregate fields of "contact_details" */ +export type Contact_Details_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "contact_details". All fields are combined with a logical 'AND'. */ +export type Contact_Details_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + created_at?: InputMaybe; + id?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** unique or primary key constraints on table "contact_details" */ +export enum Contact_Details_Constraint { + /** unique or primary key constraint on columns "id" */ + ContactDetailsPkey = "contact_details_pkey", +} + +/** input type for inserting data into table "contact_details" */ +export type Contact_Details_Insert_Input = { + created_at?: InputMaybe; + id?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Contact_Details_Max_Fields = { + __typename?: "contact_details_max_fields"; + created_at?: Maybe; + id?: Maybe; + updated_at?: Maybe; +}; + +/** aggregate min on columns */ +export type Contact_Details_Min_Fields = { + __typename?: "contact_details_min_fields"; + created_at?: Maybe; + id?: Maybe; + updated_at?: Maybe; +}; + +/** response of any mutation on the table "contact_details" */ +export type Contact_Details_Mutation_Response = { + __typename?: "contact_details_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** on_conflict condition type for table "contact_details" */ +export type Contact_Details_On_Conflict = { + constraint: Contact_Details_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "contact_details". */ +export type Contact_Details_Order_By = { + created_at?: InputMaybe; + id?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** primary key columns input for table: contact_details */ +export type Contact_Details_Pk_Columns_Input = { + id: Scalars["uuid"]["input"]; +}; + +/** select columns of table "contact_details" */ +export enum Contact_Details_Select_Column { + /** column name */ + CreatedAt = "created_at", + /** column name */ + Id = "id", + /** column name */ + UpdatedAt = "updated_at", +} + +/** input type for updating data in table "contact_details" */ +export type Contact_Details_Set_Input = { + created_at?: InputMaybe; + id?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** Streaming cursor of the table "contact_details" */ +export type Contact_Details_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Contact_Details_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Contact_Details_Stream_Cursor_Value_Input = { + created_at?: InputMaybe; + id?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** update columns of table "contact_details" */ +export enum Contact_Details_Update_Column { + /** column name */ + CreatedAt = "created_at", + /** column name */ + Id = "id", + /** column name */ + UpdatedAt = "updated_at", +} + +export type Contact_Details_Updates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Contact_Details_Bool_Exp; +}; + +/** columns and relationships of "courier_rides" */ +export type Courier_Rides = { + __typename?: "courier_rides"; + color: Scalars["String"]["output"]; + /** An object relationship */ + courier: Couriers; + courier_id: Scalars["uuid"]["output"]; + created_at: Scalars["timestamptz"]["output"]; + id: Scalars["uuid"]["output"]; + license_plate_number: Scalars["String"]["output"]; + model: Scalars["String"]["output"]; + /** An object relationship */ + ride_status: Ride_Status; + /** An object relationship */ + ride_type: Ride_Type; + status: Ride_Status_Enum; + type: Ride_Type_Enum; + updated_at: Scalars["timestamptz"]["output"]; +}; + +/** aggregated selection of "courier_rides" */ +export type Courier_Rides_Aggregate = { + __typename?: "courier_rides_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +export type Courier_Rides_Aggregate_Bool_Exp = { + count?: InputMaybe; +}; + +export type Courier_Rides_Aggregate_Bool_Exp_Count = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Int_Comparison_Exp; +}; + +/** aggregate fields of "courier_rides" */ +export type Courier_Rides_Aggregate_Fields = { + __typename?: "courier_rides_aggregate_fields"; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; +}; + +/** aggregate fields of "courier_rides" */ +export type Courier_Rides_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** order by aggregate values of table "courier_rides" */ +export type Courier_Rides_Aggregate_Order_By = { + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; +}; + +/** input type for inserting array relation for remote table "courier_rides" */ +export type Courier_Rides_Arr_Rel_Insert_Input = { + data: Array; + /** upsert condition */ + on_conflict?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "courier_rides". All fields are combined with a logical 'AND'. */ +export type Courier_Rides_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + color?: InputMaybe; + courier?: InputMaybe; + courier_id?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + license_plate_number?: InputMaybe; + model?: InputMaybe; + ride_status?: InputMaybe; + ride_type?: InputMaybe; + status?: InputMaybe; + type?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** unique or primary key constraints on table "courier_rides" */ +export enum Courier_Rides_Constraint { + /** unique or primary key constraint on columns "id" */ + CourierRidesPkey = "courier_rides_pkey", +} + +/** input type for inserting data into table "courier_rides" */ +export type Courier_Rides_Insert_Input = { + color?: InputMaybe; + courier?: InputMaybe; + courier_id?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + license_plate_number?: InputMaybe; + model?: InputMaybe; + ride_status?: InputMaybe; + ride_type?: InputMaybe; + status?: InputMaybe; + type?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Courier_Rides_Max_Fields = { + __typename?: "courier_rides_max_fields"; + color?: Maybe; + courier_id?: Maybe; + created_at?: Maybe; + id?: Maybe; + license_plate_number?: Maybe; + model?: Maybe; + updated_at?: Maybe; +}; + +/** order by max() on columns of table "courier_rides" */ +export type Courier_Rides_Max_Order_By = { + color?: InputMaybe; + courier_id?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + license_plate_number?: InputMaybe; + model?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** aggregate min on columns */ +export type Courier_Rides_Min_Fields = { + __typename?: "courier_rides_min_fields"; + color?: Maybe; + courier_id?: Maybe; + created_at?: Maybe; + id?: Maybe; + license_plate_number?: Maybe; + model?: Maybe; + updated_at?: Maybe; +}; + +/** order by min() on columns of table "courier_rides" */ +export type Courier_Rides_Min_Order_By = { + color?: InputMaybe; + courier_id?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + license_plate_number?: InputMaybe; + model?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** response of any mutation on the table "courier_rides" */ +export type Courier_Rides_Mutation_Response = { + __typename?: "courier_rides_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** on_conflict condition type for table "courier_rides" */ +export type Courier_Rides_On_Conflict = { + constraint: Courier_Rides_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "courier_rides". */ +export type Courier_Rides_Order_By = { + color?: InputMaybe; + courier?: InputMaybe; + courier_id?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + license_plate_number?: InputMaybe; + model?: InputMaybe; + ride_status?: InputMaybe; + ride_type?: InputMaybe; + status?: InputMaybe; + type?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** primary key columns input for table: courier_rides */ +export type Courier_Rides_Pk_Columns_Input = { + id: Scalars["uuid"]["input"]; +}; + +/** select columns of table "courier_rides" */ +export enum Courier_Rides_Select_Column { + /** column name */ + Color = "color", + /** column name */ + CourierId = "courier_id", + /** column name */ + CreatedAt = "created_at", + /** column name */ + Id = "id", + /** column name */ + LicensePlateNumber = "license_plate_number", + /** column name */ + Model = "model", + /** column name */ + Status = "status", + /** column name */ + Type = "type", + /** column name */ + UpdatedAt = "updated_at", +} + +/** input type for updating data in table "courier_rides" */ +export type Courier_Rides_Set_Input = { + color?: InputMaybe; + courier_id?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + license_plate_number?: InputMaybe; + model?: InputMaybe; + status?: InputMaybe; + type?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** Streaming cursor of the table "courier_rides" */ +export type Courier_Rides_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Courier_Rides_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Courier_Rides_Stream_Cursor_Value_Input = { + color?: InputMaybe; + courier_id?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + license_plate_number?: InputMaybe; + model?: InputMaybe; + status?: InputMaybe; + type?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** update columns of table "courier_rides" */ +export enum Courier_Rides_Update_Column { + /** column name */ + Color = "color", + /** column name */ + CourierId = "courier_id", + /** column name */ + CreatedAt = "created_at", + /** column name */ + Id = "id", + /** column name */ + LicensePlateNumber = "license_plate_number", + /** column name */ + Model = "model", + /** column name */ + Status = "status", + /** column name */ + Type = "type", + /** column name */ + UpdatedAt = "updated_at", +} + +export type Courier_Rides_Updates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Courier_Rides_Bool_Exp; +}; + +/** columns and relationships of "couriers" */ +export type Couriers = { + __typename?: "couriers"; + DOB?: Maybe; + assigned: Scalars["Boolean"]["output"]; + avatar?: Maybe; + created_at: Scalars["timestamptz"]["output"]; + /** An array relationship */ + deliveries: Array; + /** An aggregate relationship */ + deliveries_aggregate: Delivery_Aggregate; + email?: Maybe; + gender?: Maybe; + id: Scalars["uuid"]["output"]; + name: Scalars["String"]["output"]; + phoneNumber?: Maybe; + /** An array relationship */ + rides: Array; + /** An aggregate relationship */ + rides_aggregate: Courier_Rides_Aggregate; +}; + +/** columns and relationships of "couriers" */ +export type CouriersDeliveriesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** columns and relationships of "couriers" */ +export type CouriersDeliveries_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** columns and relationships of "couriers" */ +export type CouriersRidesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** columns and relationships of "couriers" */ +export type CouriersRides_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** aggregated selection of "couriers" */ +export type Couriers_Aggregate = { + __typename?: "couriers_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "couriers" */ +export type Couriers_Aggregate_Fields = { + __typename?: "couriers_aggregate_fields"; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; +}; + +/** aggregate fields of "couriers" */ +export type Couriers_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "couriers". All fields are combined with a logical 'AND'. */ +export type Couriers_Bool_Exp = { + DOB?: InputMaybe; + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + assigned?: InputMaybe; + avatar?: InputMaybe; + created_at?: InputMaybe; + deliveries?: InputMaybe; + deliveries_aggregate?: InputMaybe; + email?: InputMaybe; + gender?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + phoneNumber?: InputMaybe; + rides?: InputMaybe; + rides_aggregate?: InputMaybe; +}; + +/** unique or primary key constraints on table "couriers" */ +export enum Couriers_Constraint { + /** unique or primary key constraint on columns "id" */ + CouriersPkey = "couriers_pkey", +} + +/** input type for inserting data into table "couriers" */ +export type Couriers_Insert_Input = { + DOB?: InputMaybe; + assigned?: InputMaybe; + avatar?: InputMaybe; + created_at?: InputMaybe; + deliveries?: InputMaybe; + email?: InputMaybe; + gender?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + phoneNumber?: InputMaybe; + rides?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Couriers_Max_Fields = { + __typename?: "couriers_max_fields"; + DOB?: Maybe; + avatar?: Maybe; + created_at?: Maybe; + email?: Maybe; + gender?: Maybe; + id?: Maybe; + name?: Maybe; + phoneNumber?: Maybe; +}; + +/** aggregate min on columns */ +export type Couriers_Min_Fields = { + __typename?: "couriers_min_fields"; + DOB?: Maybe; + avatar?: Maybe; + created_at?: Maybe; + email?: Maybe; + gender?: Maybe; + id?: Maybe; + name?: Maybe; + phoneNumber?: Maybe; +}; + +/** response of any mutation on the table "couriers" */ +export type Couriers_Mutation_Response = { + __typename?: "couriers_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** input type for inserting object relation for remote table "couriers" */ +export type Couriers_Obj_Rel_Insert_Input = { + data: Couriers_Insert_Input; + /** upsert condition */ + on_conflict?: InputMaybe; +}; + +/** on_conflict condition type for table "couriers" */ +export type Couriers_On_Conflict = { + constraint: Couriers_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "couriers". */ +export type Couriers_Order_By = { + DOB?: InputMaybe; + assigned?: InputMaybe; + avatar?: InputMaybe; + created_at?: InputMaybe; + deliveries_aggregate?: InputMaybe; + email?: InputMaybe; + gender?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + phoneNumber?: InputMaybe; + rides_aggregate?: InputMaybe; +}; + +/** primary key columns input for table: couriers */ +export type Couriers_Pk_Columns_Input = { + id: Scalars["uuid"]["input"]; +}; + +/** select columns of table "couriers" */ +export enum Couriers_Select_Column { + /** column name */ + Dob = "DOB", + /** column name */ + Assigned = "assigned", + /** column name */ + Avatar = "avatar", + /** column name */ + CreatedAt = "created_at", + /** column name */ + Email = "email", + /** column name */ + Gender = "gender", + /** column name */ + Id = "id", + /** column name */ + Name = "name", + /** column name */ + PhoneNumber = "phoneNumber", +} + +/** input type for updating data in table "couriers" */ +export type Couriers_Set_Input = { + DOB?: InputMaybe; + assigned?: InputMaybe; + avatar?: InputMaybe; + created_at?: InputMaybe; + email?: InputMaybe; + gender?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + phoneNumber?: InputMaybe; +}; + +/** Streaming cursor of the table "couriers" */ +export type Couriers_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Couriers_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Couriers_Stream_Cursor_Value_Input = { + DOB?: InputMaybe; + assigned?: InputMaybe; + avatar?: InputMaybe; + created_at?: InputMaybe; + email?: InputMaybe; + gender?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + phoneNumber?: InputMaybe; +}; + +/** update columns of table "couriers" */ +export enum Couriers_Update_Column { + /** column name */ + Dob = "DOB", + /** column name */ + Assigned = "assigned", + /** column name */ + Avatar = "avatar", + /** column name */ + CreatedAt = "created_at", + /** column name */ + Email = "email", + /** column name */ + Gender = "gender", + /** column name */ + Id = "id", + /** column name */ + Name = "name", + /** column name */ + PhoneNumber = "phoneNumber", +} + +export type Couriers_Updates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Couriers_Bool_Exp; +}; + +/** ordering argument of a cursor */ +export enum Cursor_Ordering { + /** ascending ordering of the cursor */ + Asc = "ASC", + /** descending ordering of the cursor */ + Desc = "DESC", +} + +/** Boolean expression to compare columns of type "date". All fields are combined with logical 'AND'. */ +export type Date_Comparison_Exp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +/** columns and relationships of "delivery" */ +export type Delivery = { + __typename?: "delivery"; + /** An object relationship */ + courier: Couriers; + courierId: Scalars["uuid"]["output"]; + created_at: Scalars["timestamptz"]["output"]; + id: Scalars["uuid"]["output"]; + /** An object relationship */ + order: Orders; + orderId: Scalars["uuid"]["output"]; + status?: Maybe; +}; + +/** aggregated selection of "delivery" */ +export type Delivery_Aggregate = { + __typename?: "delivery_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +export type Delivery_Aggregate_Bool_Exp = { + count?: InputMaybe; +}; + +export type Delivery_Aggregate_Bool_Exp_Count = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Int_Comparison_Exp; +}; + +/** aggregate fields of "delivery" */ +export type Delivery_Aggregate_Fields = { + __typename?: "delivery_aggregate_fields"; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; +}; + +/** aggregate fields of "delivery" */ +export type Delivery_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** order by aggregate values of table "delivery" */ +export type Delivery_Aggregate_Order_By = { + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; +}; + +/** input type for inserting array relation for remote table "delivery" */ +export type Delivery_Arr_Rel_Insert_Input = { + data: Array; + /** upsert condition */ + on_conflict?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "delivery". All fields are combined with a logical 'AND'. */ +export type Delivery_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + courier?: InputMaybe; + courierId?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + order?: InputMaybe; + orderId?: InputMaybe; + status?: InputMaybe; +}; + +/** unique or primary key constraints on table "delivery" */ +export enum Delivery_Constraint { + /** unique or primary key constraint on columns "id" */ + DeliveryPkey = "delivery_pkey", +} + +/** input type for inserting data into table "delivery" */ +export type Delivery_Insert_Input = { + courier?: InputMaybe; + courierId?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + order?: InputMaybe; + orderId?: InputMaybe; + status?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Delivery_Max_Fields = { + __typename?: "delivery_max_fields"; + courierId?: Maybe; + created_at?: Maybe; + id?: Maybe; + orderId?: Maybe; +}; + +/** order by max() on columns of table "delivery" */ +export type Delivery_Max_Order_By = { + courierId?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + orderId?: InputMaybe; +}; + +/** aggregate min on columns */ +export type Delivery_Min_Fields = { + __typename?: "delivery_min_fields"; + courierId?: Maybe; + created_at?: Maybe; + id?: Maybe; + orderId?: Maybe; +}; + +/** order by min() on columns of table "delivery" */ +export type Delivery_Min_Order_By = { + courierId?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + orderId?: InputMaybe; +}; + +/** response of any mutation on the table "delivery" */ +export type Delivery_Mutation_Response = { + __typename?: "delivery_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** on_conflict condition type for table "delivery" */ +export type Delivery_On_Conflict = { + constraint: Delivery_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "delivery". */ +export type Delivery_Order_By = { + courier?: InputMaybe; + courierId?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + order?: InputMaybe; + orderId?: InputMaybe; + status?: InputMaybe; +}; + +/** columns and relationships of "delivery_personnel" */ +export type Delivery_Personnel = { + __typename?: "delivery_personnel"; + created_at: Scalars["timestamptz"]["output"]; + id: Scalars["uuid"]["output"]; + name: Scalars["String"]["output"]; + updated_at: Scalars["timestamptz"]["output"]; +}; + +/** aggregated selection of "delivery_personnel" */ +export type Delivery_Personnel_Aggregate = { + __typename?: "delivery_personnel_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "delivery_personnel" */ +export type Delivery_Personnel_Aggregate_Fields = { + __typename?: "delivery_personnel_aggregate_fields"; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; +}; + +/** aggregate fields of "delivery_personnel" */ +export type Delivery_Personnel_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "delivery_personnel". All fields are combined with a logical 'AND'. */ +export type Delivery_Personnel_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + created_at?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** unique or primary key constraints on table "delivery_personnel" */ +export enum Delivery_Personnel_Constraint { + /** unique or primary key constraint on columns "id" */ + DeliveryPersonnelPkey = "delivery_personnel_pkey", +} + +/** input type for inserting data into table "delivery_personnel" */ +export type Delivery_Personnel_Insert_Input = { + created_at?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Delivery_Personnel_Max_Fields = { + __typename?: "delivery_personnel_max_fields"; + created_at?: Maybe; + id?: Maybe; + name?: Maybe; + updated_at?: Maybe; +}; + +/** aggregate min on columns */ +export type Delivery_Personnel_Min_Fields = { + __typename?: "delivery_personnel_min_fields"; + created_at?: Maybe; + id?: Maybe; + name?: Maybe; + updated_at?: Maybe; +}; + +/** response of any mutation on the table "delivery_personnel" */ +export type Delivery_Personnel_Mutation_Response = { + __typename?: "delivery_personnel_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** on_conflict condition type for table "delivery_personnel" */ +export type Delivery_Personnel_On_Conflict = { + constraint: Delivery_Personnel_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "delivery_personnel". */ +export type Delivery_Personnel_Order_By = { + created_at?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** primary key columns input for table: delivery_personnel */ +export type Delivery_Personnel_Pk_Columns_Input = { + id: Scalars["uuid"]["input"]; +}; + +/** select columns of table "delivery_personnel" */ +export enum Delivery_Personnel_Select_Column { + /** column name */ + CreatedAt = "created_at", + /** column name */ + Id = "id", + /** column name */ + Name = "name", + /** column name */ + UpdatedAt = "updated_at", +} + +/** input type for updating data in table "delivery_personnel" */ +export type Delivery_Personnel_Set_Input = { + created_at?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** Streaming cursor of the table "delivery_personnel" */ +export type Delivery_Personnel_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Delivery_Personnel_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Delivery_Personnel_Stream_Cursor_Value_Input = { + created_at?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** update columns of table "delivery_personnel" */ +export enum Delivery_Personnel_Update_Column { + /** column name */ + CreatedAt = "created_at", + /** column name */ + Id = "id", + /** column name */ + Name = "name", + /** column name */ + UpdatedAt = "updated_at", +} + +export type Delivery_Personnel_Updates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Delivery_Personnel_Bool_Exp; +}; + +/** primary key columns input for table: delivery */ +export type Delivery_Pk_Columns_Input = { + id: Scalars["uuid"]["input"]; +}; + +/** columns and relationships of "delivery_request" */ +export type Delivery_Request = { + __typename?: "delivery_request"; + created_at: Scalars["timestamptz"]["output"]; + delivery_method?: Maybe; + id: Scalars["uuid"]["output"]; + updated_at: Scalars["timestamptz"]["output"]; +}; + +/** aggregated selection of "delivery_request" */ +export type Delivery_Request_Aggregate = { + __typename?: "delivery_request_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "delivery_request" */ +export type Delivery_Request_Aggregate_Fields = { + __typename?: "delivery_request_aggregate_fields"; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; +}; + +/** aggregate fields of "delivery_request" */ +export type Delivery_Request_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "delivery_request". All fields are combined with a logical 'AND'. */ +export type Delivery_Request_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + created_at?: InputMaybe; + delivery_method?: InputMaybe; + id?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** unique or primary key constraints on table "delivery_request" */ +export enum Delivery_Request_Constraint { + /** unique or primary key constraint on columns "id" */ + DeliveryRequestPkey = "delivery_request_pkey", +} + +/** input type for inserting data into table "delivery_request" */ +export type Delivery_Request_Insert_Input = { + created_at?: InputMaybe; + delivery_method?: InputMaybe; + id?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Delivery_Request_Max_Fields = { + __typename?: "delivery_request_max_fields"; + created_at?: Maybe; + delivery_method?: Maybe; + id?: Maybe; + updated_at?: Maybe; +}; + +/** aggregate min on columns */ +export type Delivery_Request_Min_Fields = { + __typename?: "delivery_request_min_fields"; + created_at?: Maybe; + delivery_method?: Maybe; + id?: Maybe; + updated_at?: Maybe; +}; + +/** response of any mutation on the table "delivery_request" */ +export type Delivery_Request_Mutation_Response = { + __typename?: "delivery_request_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** on_conflict condition type for table "delivery_request" */ +export type Delivery_Request_On_Conflict = { + constraint: Delivery_Request_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "delivery_request". */ +export type Delivery_Request_Order_By = { + created_at?: InputMaybe; + delivery_method?: InputMaybe; + id?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** primary key columns input for table: delivery_request */ +export type Delivery_Request_Pk_Columns_Input = { + id: Scalars["uuid"]["input"]; +}; + +/** select columns of table "delivery_request" */ +export enum Delivery_Request_Select_Column { + /** column name */ + CreatedAt = "created_at", + /** column name */ + DeliveryMethod = "delivery_method", + /** column name */ + Id = "id", + /** column name */ + UpdatedAt = "updated_at", +} + +/** input type for updating data in table "delivery_request" */ +export type Delivery_Request_Set_Input = { + created_at?: InputMaybe; + delivery_method?: InputMaybe; + id?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** Streaming cursor of the table "delivery_request" */ +export type Delivery_Request_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Delivery_Request_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Delivery_Request_Stream_Cursor_Value_Input = { + created_at?: InputMaybe; + delivery_method?: InputMaybe; + id?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** update columns of table "delivery_request" */ +export enum Delivery_Request_Update_Column { + /** column name */ + CreatedAt = "created_at", + /** column name */ + DeliveryMethod = "delivery_method", + /** column name */ + Id = "id", + /** column name */ + UpdatedAt = "updated_at", +} + +export type Delivery_Request_Updates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Delivery_Request_Bool_Exp; +}; + +/** select columns of table "delivery" */ +export enum Delivery_Select_Column { + /** column name */ + CourierId = "courierId", + /** column name */ + CreatedAt = "created_at", + /** column name */ + Id = "id", + /** column name */ + OrderId = "orderId", + /** column name */ + Status = "status", +} + +/** input type for updating data in table "delivery" */ +export type Delivery_Set_Input = { + courierId?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + orderId?: InputMaybe; + status?: InputMaybe; +}; + +/** columns and relationships of "delivery_status" */ +export type Delivery_Status = { + __typename?: "delivery_status"; + status: Scalars["String"]["output"]; +}; + +/** aggregated selection of "delivery_status" */ +export type Delivery_Status_Aggregate = { + __typename?: "delivery_status_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "delivery_status" */ +export type Delivery_Status_Aggregate_Fields = { + __typename?: "delivery_status_aggregate_fields"; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; +}; + +/** aggregate fields of "delivery_status" */ +export type Delivery_Status_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "delivery_status". All fields are combined with a logical 'AND'. */ +export type Delivery_Status_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + status?: InputMaybe; +}; + +/** unique or primary key constraints on table "delivery_status" */ +export enum Delivery_Status_Constraint { + /** unique or primary key constraint on columns "status" */ + DeliveryStatusPkey = "delivery_status_pkey", +} + +export enum Delivery_Status_Enum { + Active = "active", + Pending = "pending", +} + +/** Boolean expression to compare columns of type "delivery_status_enum". All fields are combined with logical 'AND'. */ +export type Delivery_Status_Enum_Comparison_Exp = { + _eq?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +/** input type for inserting data into table "delivery_status" */ +export type Delivery_Status_Insert_Input = { + status?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Delivery_Status_Max_Fields = { + __typename?: "delivery_status_max_fields"; + status?: Maybe; +}; + +/** aggregate min on columns */ +export type Delivery_Status_Min_Fields = { + __typename?: "delivery_status_min_fields"; + status?: Maybe; +}; + +/** response of any mutation on the table "delivery_status" */ +export type Delivery_Status_Mutation_Response = { + __typename?: "delivery_status_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** on_conflict condition type for table "delivery_status" */ +export type Delivery_Status_On_Conflict = { + constraint: Delivery_Status_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "delivery_status". */ +export type Delivery_Status_Order_By = { + status?: InputMaybe; +}; + +/** primary key columns input for table: delivery_status */ +export type Delivery_Status_Pk_Columns_Input = { + status: Scalars["String"]["input"]; +}; + +/** select columns of table "delivery_status" */ +export enum Delivery_Status_Select_Column { + /** column name */ + Status = "status", +} + +/** input type for updating data in table "delivery_status" */ +export type Delivery_Status_Set_Input = { + status?: InputMaybe; +}; + +/** Streaming cursor of the table "delivery_status" */ +export type Delivery_Status_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Delivery_Status_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Delivery_Status_Stream_Cursor_Value_Input = { + status?: InputMaybe; +}; + +/** update columns of table "delivery_status" */ +export enum Delivery_Status_Update_Column { + /** column name */ + Status = "status", +} + +export type Delivery_Status_Updates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Delivery_Status_Bool_Exp; +}; + +/** Streaming cursor of the table "delivery" */ +export type Delivery_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Delivery_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Delivery_Stream_Cursor_Value_Input = { + courierId?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + orderId?: InputMaybe; + status?: InputMaybe; +}; + +/** update columns of table "delivery" */ +export enum Delivery_Update_Column { + /** column name */ + CourierId = "courierId", + /** column name */ + CreatedAt = "created_at", + /** column name */ + Id = "id", + /** column name */ + OrderId = "orderId", + /** column name */ + Status = "status", +} + +export type Delivery_Updates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Delivery_Bool_Exp; +}; + +/** Boolean expression to compare columns of type "float8". All fields are combined with logical 'AND'. */ +export type Float8_Comparison_Exp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +/** columns and relationships of "geography_columns" */ +export type Geography_Columns = { + __typename?: "geography_columns"; + coord_dimension?: Maybe; + f_geography_column?: Maybe; + f_table_catalog?: Maybe; + f_table_name?: Maybe; + f_table_schema?: Maybe; + srid?: Maybe; + type?: Maybe; +}; + +/** aggregated selection of "geography_columns" */ +export type Geography_Columns_Aggregate = { + __typename?: "geography_columns_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "geography_columns" */ +export type Geography_Columns_Aggregate_Fields = { + __typename?: "geography_columns_aggregate_fields"; + avg?: Maybe; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; +}; + +/** aggregate fields of "geography_columns" */ +export type Geography_Columns_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** aggregate avg on columns */ +export type Geography_Columns_Avg_Fields = { + __typename?: "geography_columns_avg_fields"; + coord_dimension?: Maybe; + srid?: Maybe; +}; + +/** Boolean expression to filter rows from the table "geography_columns". All fields are combined with a logical 'AND'. */ +export type Geography_Columns_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + coord_dimension?: InputMaybe; + f_geography_column?: InputMaybe; + f_table_catalog?: InputMaybe; + f_table_name?: InputMaybe; + f_table_schema?: InputMaybe; + srid?: InputMaybe; + type?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Geography_Columns_Max_Fields = { + __typename?: "geography_columns_max_fields"; + coord_dimension?: Maybe; + srid?: Maybe; + type?: Maybe; +}; + +/** aggregate min on columns */ +export type Geography_Columns_Min_Fields = { + __typename?: "geography_columns_min_fields"; + coord_dimension?: Maybe; + srid?: Maybe; + type?: Maybe; +}; + +/** Ordering options when selecting data from "geography_columns". */ +export type Geography_Columns_Order_By = { + coord_dimension?: InputMaybe; + f_geography_column?: InputMaybe; + f_table_catalog?: InputMaybe; + f_table_name?: InputMaybe; + f_table_schema?: InputMaybe; + srid?: InputMaybe; + type?: InputMaybe; +}; + +/** select columns of table "geography_columns" */ +export enum Geography_Columns_Select_Column { + /** column name */ + CoordDimension = "coord_dimension", + /** column name */ + FGeographyColumn = "f_geography_column", + /** column name */ + FTableCatalog = "f_table_catalog", + /** column name */ + FTableName = "f_table_name", + /** column name */ + FTableSchema = "f_table_schema", + /** column name */ + Srid = "srid", + /** column name */ + Type = "type", +} + +/** aggregate stddev on columns */ +export type Geography_Columns_Stddev_Fields = { + __typename?: "geography_columns_stddev_fields"; + coord_dimension?: Maybe; + srid?: Maybe; +}; + +/** aggregate stddev_pop on columns */ +export type Geography_Columns_Stddev_Pop_Fields = { + __typename?: "geography_columns_stddev_pop_fields"; + coord_dimension?: Maybe; + srid?: Maybe; +}; + +/** aggregate stddev_samp on columns */ +export type Geography_Columns_Stddev_Samp_Fields = { + __typename?: "geography_columns_stddev_samp_fields"; + coord_dimension?: Maybe; + srid?: Maybe; +}; + +/** Streaming cursor of the table "geography_columns" */ +export type Geography_Columns_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Geography_Columns_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Geography_Columns_Stream_Cursor_Value_Input = { + coord_dimension?: InputMaybe; + f_geography_column?: InputMaybe; + f_table_catalog?: InputMaybe; + f_table_name?: InputMaybe; + f_table_schema?: InputMaybe; + srid?: InputMaybe; + type?: InputMaybe; +}; + +/** aggregate sum on columns */ +export type Geography_Columns_Sum_Fields = { + __typename?: "geography_columns_sum_fields"; + coord_dimension?: Maybe; + srid?: Maybe; +}; + +/** aggregate var_pop on columns */ +export type Geography_Columns_Var_Pop_Fields = { + __typename?: "geography_columns_var_pop_fields"; + coord_dimension?: Maybe; + srid?: Maybe; +}; + +/** aggregate var_samp on columns */ +export type Geography_Columns_Var_Samp_Fields = { + __typename?: "geography_columns_var_samp_fields"; + coord_dimension?: Maybe; + srid?: Maybe; +}; + +/** aggregate variance on columns */ +export type Geography_Columns_Variance_Fields = { + __typename?: "geography_columns_variance_fields"; + coord_dimension?: Maybe; + srid?: Maybe; +}; + +/** columns and relationships of "geometry_columns" */ +export type Geometry_Columns = { + __typename?: "geometry_columns"; + coord_dimension?: Maybe; + f_geometry_column?: Maybe; + f_table_catalog?: Maybe; + f_table_name?: Maybe; + f_table_schema?: Maybe; + srid?: Maybe; + type?: Maybe; +}; + +/** aggregated selection of "geometry_columns" */ +export type Geometry_Columns_Aggregate = { + __typename?: "geometry_columns_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "geometry_columns" */ +export type Geometry_Columns_Aggregate_Fields = { + __typename?: "geometry_columns_aggregate_fields"; + avg?: Maybe; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; +}; + +/** aggregate fields of "geometry_columns" */ +export type Geometry_Columns_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** aggregate avg on columns */ +export type Geometry_Columns_Avg_Fields = { + __typename?: "geometry_columns_avg_fields"; + coord_dimension?: Maybe; + srid?: Maybe; +}; + +/** Boolean expression to filter rows from the table "geometry_columns". All fields are combined with a logical 'AND'. */ +export type Geometry_Columns_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + coord_dimension?: InputMaybe; + f_geometry_column?: InputMaybe; + f_table_catalog?: InputMaybe; + f_table_name?: InputMaybe; + f_table_schema?: InputMaybe; + srid?: InputMaybe; + type?: InputMaybe; +}; + +/** input type for incrementing numeric columns in table "geometry_columns" */ +export type Geometry_Columns_Inc_Input = { + coord_dimension?: InputMaybe; + srid?: InputMaybe; +}; + +/** input type for inserting data into table "geometry_columns" */ +export type Geometry_Columns_Insert_Input = { + coord_dimension?: InputMaybe; + f_geometry_column?: InputMaybe; + f_table_catalog?: InputMaybe; + f_table_name?: InputMaybe; + f_table_schema?: InputMaybe; + srid?: InputMaybe; + type?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Geometry_Columns_Max_Fields = { + __typename?: "geometry_columns_max_fields"; + coord_dimension?: Maybe; + f_table_catalog?: Maybe; + srid?: Maybe; + type?: Maybe; +}; + +/** aggregate min on columns */ +export type Geometry_Columns_Min_Fields = { + __typename?: "geometry_columns_min_fields"; + coord_dimension?: Maybe; + f_table_catalog?: Maybe; + srid?: Maybe; + type?: Maybe; +}; + +/** response of any mutation on the table "geometry_columns" */ +export type Geometry_Columns_Mutation_Response = { + __typename?: "geometry_columns_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** Ordering options when selecting data from "geometry_columns". */ +export type Geometry_Columns_Order_By = { + coord_dimension?: InputMaybe; + f_geometry_column?: InputMaybe; + f_table_catalog?: InputMaybe; + f_table_name?: InputMaybe; + f_table_schema?: InputMaybe; + srid?: InputMaybe; + type?: InputMaybe; +}; + +/** select columns of table "geometry_columns" */ +export enum Geometry_Columns_Select_Column { + /** column name */ + CoordDimension = "coord_dimension", + /** column name */ + FGeometryColumn = "f_geometry_column", + /** column name */ + FTableCatalog = "f_table_catalog", + /** column name */ + FTableName = "f_table_name", + /** column name */ + FTableSchema = "f_table_schema", + /** column name */ + Srid = "srid", + /** column name */ + Type = "type", +} + +/** input type for updating data in table "geometry_columns" */ +export type Geometry_Columns_Set_Input = { + coord_dimension?: InputMaybe; + f_geometry_column?: InputMaybe; + f_table_catalog?: InputMaybe; + f_table_name?: InputMaybe; + f_table_schema?: InputMaybe; + srid?: InputMaybe; + type?: InputMaybe; +}; + +/** aggregate stddev on columns */ +export type Geometry_Columns_Stddev_Fields = { + __typename?: "geometry_columns_stddev_fields"; + coord_dimension?: Maybe; + srid?: Maybe; +}; + +/** aggregate stddev_pop on columns */ +export type Geometry_Columns_Stddev_Pop_Fields = { + __typename?: "geometry_columns_stddev_pop_fields"; + coord_dimension?: Maybe; + srid?: Maybe; +}; + +/** aggregate stddev_samp on columns */ +export type Geometry_Columns_Stddev_Samp_Fields = { + __typename?: "geometry_columns_stddev_samp_fields"; + coord_dimension?: Maybe; + srid?: Maybe; +}; + +/** Streaming cursor of the table "geometry_columns" */ +export type Geometry_Columns_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Geometry_Columns_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Geometry_Columns_Stream_Cursor_Value_Input = { + coord_dimension?: InputMaybe; + f_geometry_column?: InputMaybe; + f_table_catalog?: InputMaybe; + f_table_name?: InputMaybe; + f_table_schema?: InputMaybe; + srid?: InputMaybe; + type?: InputMaybe; +}; + +/** aggregate sum on columns */ +export type Geometry_Columns_Sum_Fields = { + __typename?: "geometry_columns_sum_fields"; + coord_dimension?: Maybe; + srid?: Maybe; +}; + +export type Geometry_Columns_Updates = { + /** increments the numeric columns with given value of the filtered values */ + _inc?: InputMaybe; + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Geometry_Columns_Bool_Exp; +}; + +/** aggregate var_pop on columns */ +export type Geometry_Columns_Var_Pop_Fields = { + __typename?: "geometry_columns_var_pop_fields"; + coord_dimension?: Maybe; + srid?: Maybe; +}; + +/** aggregate var_samp on columns */ +export type Geometry_Columns_Var_Samp_Fields = { + __typename?: "geometry_columns_var_samp_fields"; + coord_dimension?: Maybe; + srid?: Maybe; +}; + +/** aggregate variance on columns */ +export type Geometry_Columns_Variance_Fields = { + __typename?: "geometry_columns_variance_fields"; + coord_dimension?: Maybe; + srid?: Maybe; +}; + +/** fields of action: "initOrder" */ +export type InitOrder = { + __typename?: "initOrder"; + /** the time at which this action was created */ + created_at: Scalars["timestamptz"]["output"]; + /** errors related to the invocation */ + errors?: Maybe; + /** the unique id of an action */ + id: Scalars["uuid"]["output"]; + /** the output fields of this action */ + output?: Maybe; +}; + +/** columns and relationships of "locations" */ +export type Locations = { + __typename?: "locations"; + created_at: Scalars["timestamptz"]["output"]; + id: Scalars["uuid"]["output"]; + name: Scalars["String"]["output"]; +}; + +/** aggregated selection of "locations" */ +export type Locations_Aggregate = { + __typename?: "locations_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "locations" */ +export type Locations_Aggregate_Fields = { + __typename?: "locations_aggregate_fields"; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; +}; + +/** aggregate fields of "locations" */ +export type Locations_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "locations". All fields are combined with a logical 'AND'. */ +export type Locations_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + created_at?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; +}; + +/** unique or primary key constraints on table "locations" */ +export enum Locations_Constraint { + /** unique or primary key constraint on columns "id" */ + LocationsPkey = "locations_pkey", +} + +/** input type for inserting data into table "locations" */ +export type Locations_Insert_Input = { + created_at?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Locations_Max_Fields = { + __typename?: "locations_max_fields"; + created_at?: Maybe; + id?: Maybe; + name?: Maybe; +}; + +/** aggregate min on columns */ +export type Locations_Min_Fields = { + __typename?: "locations_min_fields"; + created_at?: Maybe; + id?: Maybe; + name?: Maybe; +}; + +/** response of any mutation on the table "locations" */ +export type Locations_Mutation_Response = { + __typename?: "locations_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** on_conflict condition type for table "locations" */ +export type Locations_On_Conflict = { + constraint: Locations_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "locations". */ +export type Locations_Order_By = { + created_at?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; +}; + +/** primary key columns input for table: locations */ +export type Locations_Pk_Columns_Input = { + id: Scalars["uuid"]["input"]; +}; + +/** select columns of table "locations" */ +export enum Locations_Select_Column { + /** column name */ + CreatedAt = "created_at", + /** column name */ + Id = "id", + /** column name */ + Name = "name", +} + +/** input type for updating data in table "locations" */ +export type Locations_Set_Input = { + created_at?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; +}; + +/** Streaming cursor of the table "locations" */ +export type Locations_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Locations_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Locations_Stream_Cursor_Value_Input = { + created_at?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; +}; + +/** update columns of table "locations" */ +export enum Locations_Update_Column { + /** column name */ + CreatedAt = "created_at", + /** column name */ + Id = "id", + /** column name */ + Name = "name", +} + +export type Locations_Updates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Locations_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_Root = { + __typename?: "mutation_root"; + /** delete data from the table: "addresses" */ + delete_addresses?: Maybe; + /** delete single row from the table: "addresses" */ + delete_addresses_by_pk?: Maybe; + /** delete data from the table: "agent" */ + delete_agent?: Maybe; + /** delete single row from the table: "agent" */ + delete_agent_by_pk?: Maybe; + /** delete data from the table: "agent_type" */ + delete_agent_type?: Maybe; + /** delete single row from the table: "agent_type" */ + delete_agent_type_by_pk?: Maybe; + /** delete data from the table: "business" */ + delete_business?: Maybe; + /** delete single row from the table: "business" */ + delete_business_by_pk?: Maybe; + /** delete data from the table: "business_sector" */ + delete_business_sector?: Maybe; + /** delete single row from the table: "business_sector" */ + delete_business_sector_by_pk?: Maybe; + /** delete data from the table: "business_type" */ + delete_business_type?: Maybe; + /** delete single row from the table: "business_type" */ + delete_business_type_by_pk?: Maybe; + /** delete data from the table: "contact_details" */ + delete_contact_details?: Maybe; + /** delete single row from the table: "contact_details" */ + delete_contact_details_by_pk?: Maybe; + /** delete data from the table: "courier_rides" */ + delete_courier_rides?: Maybe; + /** delete single row from the table: "courier_rides" */ + delete_courier_rides_by_pk?: Maybe; + /** delete data from the table: "couriers" */ + delete_couriers?: Maybe; + /** delete single row from the table: "couriers" */ + delete_couriers_by_pk?: Maybe; + /** delete data from the table: "delivery" */ + delete_delivery?: Maybe; + /** delete single row from the table: "delivery" */ + delete_delivery_by_pk?: Maybe; + /** delete data from the table: "delivery_personnel" */ + delete_delivery_personnel?: Maybe; + /** delete single row from the table: "delivery_personnel" */ + delete_delivery_personnel_by_pk?: Maybe; + /** delete data from the table: "delivery_request" */ + delete_delivery_request?: Maybe; + /** delete single row from the table: "delivery_request" */ + delete_delivery_request_by_pk?: Maybe; + /** delete data from the table: "delivery_status" */ + delete_delivery_status?: Maybe; + /** delete single row from the table: "delivery_status" */ + delete_delivery_status_by_pk?: Maybe; + /** delete data from the table: "geometry_columns" */ + delete_geometry_columns?: Maybe; + /** delete data from the table: "locations" */ + delete_locations?: Maybe; + /** delete single row from the table: "locations" */ + delete_locations_by_pk?: Maybe; + /** delete data from the table: "order_fulfillment_type" */ + delete_order_fulfillment_type?: Maybe; + /** delete single row from the table: "order_fulfillment_type" */ + delete_order_fulfillment_type_by_pk?: Maybe; + /** delete data from the table: "order_item" */ + delete_order_item?: Maybe; + /** delete single row from the table: "order_item" */ + delete_order_item_by_pk?: Maybe; + /** delete data from the table: "order_preference" */ + delete_order_preference?: Maybe; + /** delete single row from the table: "order_preference" */ + delete_order_preference_by_pk?: Maybe; + /** delete data from the table: "order_status" */ + delete_order_status?: Maybe; + /** delete single row from the table: "order_status" */ + delete_order_status_by_pk?: Maybe; + /** delete data from the table: "order_supplier" */ + delete_order_supplier?: Maybe; + /** delete single row from the table: "order_supplier" */ + delete_order_supplier_by_pk?: Maybe; + /** delete data from the table: "orders" */ + delete_orders?: Maybe; + /** delete single row from the table: "orders" */ + delete_orders_by_pk?: Maybe; + /** delete data from the table: "products" */ + delete_products?: Maybe; + /** delete single row from the table: "products" */ + delete_products_by_pk?: Maybe; + /** delete data from the table: "registeration_channel_type" */ + delete_registeration_channel_type?: Maybe; + /** delete single row from the table: "registeration_channel_type" */ + delete_registeration_channel_type_by_pk?: Maybe; + /** delete data from the table: "reports" */ + delete_reports?: Maybe; + /** delete single row from the table: "reports" */ + delete_reports_by_pk?: Maybe; + /** delete data from the table: "ride_status" */ + delete_ride_status?: Maybe; + /** delete single row from the table: "ride_status" */ + delete_ride_status_by_pk?: Maybe; + /** delete data from the table: "ride_type" */ + delete_ride_type?: Maybe; + /** delete single row from the table: "ride_type" */ + delete_ride_type_by_pk?: Maybe; + /** delete data from the table: "spatial_ref_sys" */ + delete_spatial_ref_sys?: Maybe; + /** delete single row from the table: "spatial_ref_sys" */ + delete_spatial_ref_sys_by_pk?: Maybe; + /** delete data from the table: "supplier_categories_enum" */ + delete_supplier_categories_enum?: Maybe; + /** delete single row from the table: "supplier_categories_enum" */ + delete_supplier_categories_enum_by_pk?: Maybe; + /** delete data from the table: "supplier_service_zone" */ + delete_supplier_service_zone?: Maybe; + /** delete single row from the table: "supplier_service_zone" */ + delete_supplier_service_zone_by_pk?: Maybe; + /** delete data from the table: "suppliers" */ + delete_suppliers?: Maybe; + /** delete single row from the table: "suppliers" */ + delete_suppliers_by_pk?: Maybe; + /** delete data from the table: "suppliers_categories" */ + delete_suppliers_categories?: Maybe; + /** delete single row from the table: "suppliers_categories" */ + delete_suppliers_categories_by_pk?: Maybe; + /** delete data from the table: "user_role" */ + delete_user_role?: Maybe; + /** delete single row from the table: "user_role" */ + delete_user_role_by_pk?: Maybe; + /** delete data from the table: "users" */ + delete_users?: Maybe; + /** delete single row from the table: "users" */ + delete_users_by_pk?: Maybe; + /** Validate and Process Orders */ + initOrder: Scalars["uuid"]["output"]; + /** insert data into the table: "addresses" */ + insert_addresses?: Maybe; + /** insert a single row into the table: "addresses" */ + insert_addresses_one?: Maybe; + /** insert data into the table: "agent" */ + insert_agent?: Maybe; + /** insert a single row into the table: "agent" */ + insert_agent_one?: Maybe; + /** insert data into the table: "agent_type" */ + insert_agent_type?: Maybe; + /** insert a single row into the table: "agent_type" */ + insert_agent_type_one?: Maybe; + /** insert data into the table: "business" */ + insert_business?: Maybe; + /** insert a single row into the table: "business" */ + insert_business_one?: Maybe; + /** insert data into the table: "business_sector" */ + insert_business_sector?: Maybe; + /** insert a single row into the table: "business_sector" */ + insert_business_sector_one?: Maybe; + /** insert data into the table: "business_type" */ + insert_business_type?: Maybe; + /** insert a single row into the table: "business_type" */ + insert_business_type_one?: Maybe; + /** insert data into the table: "contact_details" */ + insert_contact_details?: Maybe; + /** insert a single row into the table: "contact_details" */ + insert_contact_details_one?: Maybe; + /** insert data into the table: "courier_rides" */ + insert_courier_rides?: Maybe; + /** insert a single row into the table: "courier_rides" */ + insert_courier_rides_one?: Maybe; + /** insert data into the table: "couriers" */ + insert_couriers?: Maybe; + /** insert a single row into the table: "couriers" */ + insert_couriers_one?: Maybe; + /** insert data into the table: "delivery" */ + insert_delivery?: Maybe; + /** insert a single row into the table: "delivery" */ + insert_delivery_one?: Maybe; + /** insert data into the table: "delivery_personnel" */ + insert_delivery_personnel?: Maybe; + /** insert a single row into the table: "delivery_personnel" */ + insert_delivery_personnel_one?: Maybe; + /** insert data into the table: "delivery_request" */ + insert_delivery_request?: Maybe; + /** insert a single row into the table: "delivery_request" */ + insert_delivery_request_one?: Maybe; + /** insert data into the table: "delivery_status" */ + insert_delivery_status?: Maybe; + /** insert a single row into the table: "delivery_status" */ + insert_delivery_status_one?: Maybe; + /** insert data into the table: "geometry_columns" */ + insert_geometry_columns?: Maybe; + /** insert a single row into the table: "geometry_columns" */ + insert_geometry_columns_one?: Maybe; + /** insert data into the table: "locations" */ + insert_locations?: Maybe; + /** insert a single row into the table: "locations" */ + insert_locations_one?: Maybe; + /** insert data into the table: "order_fulfillment_type" */ + insert_order_fulfillment_type?: Maybe; + /** insert a single row into the table: "order_fulfillment_type" */ + insert_order_fulfillment_type_one?: Maybe; + /** insert data into the table: "order_item" */ + insert_order_item?: Maybe; + /** insert a single row into the table: "order_item" */ + insert_order_item_one?: Maybe; + /** insert data into the table: "order_preference" */ + insert_order_preference?: Maybe; + /** insert a single row into the table: "order_preference" */ + insert_order_preference_one?: Maybe; + /** insert data into the table: "order_status" */ + insert_order_status?: Maybe; + /** insert a single row into the table: "order_status" */ + insert_order_status_one?: Maybe; + /** insert data into the table: "order_supplier" */ + insert_order_supplier?: Maybe; + /** insert a single row into the table: "order_supplier" */ + insert_order_supplier_one?: Maybe; + /** insert data into the table: "orders" */ + insert_orders?: Maybe; + /** insert a single row into the table: "orders" */ + insert_orders_one?: Maybe; + /** insert data into the table: "products" */ + insert_products?: Maybe; + /** insert a single row into the table: "products" */ + insert_products_one?: Maybe; + /** insert data into the table: "registeration_channel_type" */ + insert_registeration_channel_type?: Maybe; + /** insert a single row into the table: "registeration_channel_type" */ + insert_registeration_channel_type_one?: Maybe; + /** insert data into the table: "reports" */ + insert_reports?: Maybe; + /** insert a single row into the table: "reports" */ + insert_reports_one?: Maybe; + /** insert data into the table: "ride_status" */ + insert_ride_status?: Maybe; + /** insert a single row into the table: "ride_status" */ + insert_ride_status_one?: Maybe; + /** insert data into the table: "ride_type" */ + insert_ride_type?: Maybe; + /** insert a single row into the table: "ride_type" */ + insert_ride_type_one?: Maybe; + /** insert data into the table: "spatial_ref_sys" */ + insert_spatial_ref_sys?: Maybe; + /** insert a single row into the table: "spatial_ref_sys" */ + insert_spatial_ref_sys_one?: Maybe; + /** insert data into the table: "supplier_categories_enum" */ + insert_supplier_categories_enum?: Maybe; + /** insert a single row into the table: "supplier_categories_enum" */ + insert_supplier_categories_enum_one?: Maybe; + /** insert data into the table: "supplier_service_zone" */ + insert_supplier_service_zone?: Maybe; + /** insert a single row into the table: "supplier_service_zone" */ + insert_supplier_service_zone_one?: Maybe; + /** insert data into the table: "suppliers" */ + insert_suppliers?: Maybe; + /** insert data into the table: "suppliers_categories" */ + insert_suppliers_categories?: Maybe; + /** insert a single row into the table: "suppliers_categories" */ + insert_suppliers_categories_one?: Maybe; + /** insert a single row into the table: "suppliers" */ + insert_suppliers_one?: Maybe; + /** insert data into the table: "user_role" */ + insert_user_role?: Maybe; + /** insert a single row into the table: "user_role" */ + insert_user_role_one?: Maybe; + /** insert data into the table: "users" */ + insert_users?: Maybe; + /** insert a single row into the table: "users" */ + insert_users_one?: Maybe; + /** update data of the table: "addresses" */ + update_addresses?: Maybe; + /** update single row of the table: "addresses" */ + update_addresses_by_pk?: Maybe; + /** update multiples rows of table: "addresses" */ + update_addresses_many?: Maybe>>; + /** update data of the table: "agent" */ + update_agent?: Maybe; + /** update single row of the table: "agent" */ + update_agent_by_pk?: Maybe; + /** update multiples rows of table: "agent" */ + update_agent_many?: Maybe>>; + /** update data of the table: "agent_type" */ + update_agent_type?: Maybe; + /** update single row of the table: "agent_type" */ + update_agent_type_by_pk?: Maybe; + /** update multiples rows of table: "agent_type" */ + update_agent_type_many?: Maybe>>; + /** update data of the table: "business" */ + update_business?: Maybe; + /** update single row of the table: "business" */ + update_business_by_pk?: Maybe; + /** update multiples rows of table: "business" */ + update_business_many?: Maybe>>; + /** update data of the table: "business_sector" */ + update_business_sector?: Maybe; + /** update single row of the table: "business_sector" */ + update_business_sector_by_pk?: Maybe; + /** update multiples rows of table: "business_sector" */ + update_business_sector_many?: Maybe< + Array> + >; + /** update data of the table: "business_type" */ + update_business_type?: Maybe; + /** update single row of the table: "business_type" */ + update_business_type_by_pk?: Maybe; + /** update multiples rows of table: "business_type" */ + update_business_type_many?: Maybe< + Array> + >; + /** update data of the table: "contact_details" */ + update_contact_details?: Maybe; + /** update single row of the table: "contact_details" */ + update_contact_details_by_pk?: Maybe; + /** update multiples rows of table: "contact_details" */ + update_contact_details_many?: Maybe< + Array> + >; + /** update data of the table: "courier_rides" */ + update_courier_rides?: Maybe; + /** update single row of the table: "courier_rides" */ + update_courier_rides_by_pk?: Maybe; + /** update multiples rows of table: "courier_rides" */ + update_courier_rides_many?: Maybe< + Array> + >; + /** update data of the table: "couriers" */ + update_couriers?: Maybe; + /** update single row of the table: "couriers" */ + update_couriers_by_pk?: Maybe; + /** update multiples rows of table: "couriers" */ + update_couriers_many?: Maybe>>; + /** update data of the table: "delivery" */ + update_delivery?: Maybe; + /** update single row of the table: "delivery" */ + update_delivery_by_pk?: Maybe; + /** update multiples rows of table: "delivery" */ + update_delivery_many?: Maybe>>; + /** update data of the table: "delivery_personnel" */ + update_delivery_personnel?: Maybe; + /** update single row of the table: "delivery_personnel" */ + update_delivery_personnel_by_pk?: Maybe; + /** update multiples rows of table: "delivery_personnel" */ + update_delivery_personnel_many?: Maybe< + Array> + >; + /** update data of the table: "delivery_request" */ + update_delivery_request?: Maybe; + /** update single row of the table: "delivery_request" */ + update_delivery_request_by_pk?: Maybe; + /** update multiples rows of table: "delivery_request" */ + update_delivery_request_many?: Maybe< + Array> + >; + /** update data of the table: "delivery_status" */ + update_delivery_status?: Maybe; + /** update single row of the table: "delivery_status" */ + update_delivery_status_by_pk?: Maybe; + /** update multiples rows of table: "delivery_status" */ + update_delivery_status_many?: Maybe< + Array> + >; + /** update data of the table: "geometry_columns" */ + update_geometry_columns?: Maybe; + /** update multiples rows of table: "geometry_columns" */ + update_geometry_columns_many?: Maybe< + Array> + >; + /** update data of the table: "locations" */ + update_locations?: Maybe; + /** update single row of the table: "locations" */ + update_locations_by_pk?: Maybe; + /** update multiples rows of table: "locations" */ + update_locations_many?: Maybe>>; + /** update data of the table: "order_fulfillment_type" */ + update_order_fulfillment_type?: Maybe; + /** update single row of the table: "order_fulfillment_type" */ + update_order_fulfillment_type_by_pk?: Maybe; + /** update multiples rows of table: "order_fulfillment_type" */ + update_order_fulfillment_type_many?: Maybe< + Array> + >; + /** update data of the table: "order_item" */ + update_order_item?: Maybe; + /** update single row of the table: "order_item" */ + update_order_item_by_pk?: Maybe; + /** update multiples rows of table: "order_item" */ + update_order_item_many?: Maybe>>; + /** update data of the table: "order_preference" */ + update_order_preference?: Maybe; + /** update single row of the table: "order_preference" */ + update_order_preference_by_pk?: Maybe; + /** update multiples rows of table: "order_preference" */ + update_order_preference_many?: Maybe< + Array> + >; + /** update data of the table: "order_status" */ + update_order_status?: Maybe; + /** update single row of the table: "order_status" */ + update_order_status_by_pk?: Maybe; + /** update multiples rows of table: "order_status" */ + update_order_status_many?: Maybe< + Array> + >; + /** update data of the table: "order_supplier" */ + update_order_supplier?: Maybe; + /** update single row of the table: "order_supplier" */ + update_order_supplier_by_pk?: Maybe; + /** update multiples rows of table: "order_supplier" */ + update_order_supplier_many?: Maybe< + Array> + >; + /** update data of the table: "orders" */ + update_orders?: Maybe; + /** update single row of the table: "orders" */ + update_orders_by_pk?: Maybe; + /** update multiples rows of table: "orders" */ + update_orders_many?: Maybe>>; + /** update data of the table: "products" */ + update_products?: Maybe; + /** update single row of the table: "products" */ + update_products_by_pk?: Maybe; + /** update multiples rows of table: "products" */ + update_products_many?: Maybe>>; + /** update data of the table: "registeration_channel_type" */ + update_registeration_channel_type?: Maybe; + /** update single row of the table: "registeration_channel_type" */ + update_registeration_channel_type_by_pk?: Maybe; + /** update multiples rows of table: "registeration_channel_type" */ + update_registeration_channel_type_many?: Maybe< + Array> + >; + /** update data of the table: "reports" */ + update_reports?: Maybe; + /** update single row of the table: "reports" */ + update_reports_by_pk?: Maybe; + /** update multiples rows of table: "reports" */ + update_reports_many?: Maybe>>; + /** update data of the table: "ride_status" */ + update_ride_status?: Maybe; + /** update single row of the table: "ride_status" */ + update_ride_status_by_pk?: Maybe; + /** update multiples rows of table: "ride_status" */ + update_ride_status_many?: Maybe>>; + /** update data of the table: "ride_type" */ + update_ride_type?: Maybe; + /** update single row of the table: "ride_type" */ + update_ride_type_by_pk?: Maybe; + /** update multiples rows of table: "ride_type" */ + update_ride_type_many?: Maybe>>; + /** update data of the table: "spatial_ref_sys" */ + update_spatial_ref_sys?: Maybe; + /** update single row of the table: "spatial_ref_sys" */ + update_spatial_ref_sys_by_pk?: Maybe; + /** update multiples rows of table: "spatial_ref_sys" */ + update_spatial_ref_sys_many?: Maybe< + Array> + >; + /** update data of the table: "supplier_categories_enum" */ + update_supplier_categories_enum?: Maybe; + /** update single row of the table: "supplier_categories_enum" */ + update_supplier_categories_enum_by_pk?: Maybe; + /** update multiples rows of table: "supplier_categories_enum" */ + update_supplier_categories_enum_many?: Maybe< + Array> + >; + /** update data of the table: "supplier_service_zone" */ + update_supplier_service_zone?: Maybe; + /** update single row of the table: "supplier_service_zone" */ + update_supplier_service_zone_by_pk?: Maybe; + /** update multiples rows of table: "supplier_service_zone" */ + update_supplier_service_zone_many?: Maybe< + Array> + >; + /** update data of the table: "suppliers" */ + update_suppliers?: Maybe; + /** update single row of the table: "suppliers" */ + update_suppliers_by_pk?: Maybe; + /** update data of the table: "suppliers_categories" */ + update_suppliers_categories?: Maybe; + /** update single row of the table: "suppliers_categories" */ + update_suppliers_categories_by_pk?: Maybe; + /** update multiples rows of table: "suppliers_categories" */ + update_suppliers_categories_many?: Maybe< + Array> + >; + /** update multiples rows of table: "suppliers" */ + update_suppliers_many?: Maybe>>; + /** update data of the table: "user_role" */ + update_user_role?: Maybe; + /** update single row of the table: "user_role" */ + update_user_role_by_pk?: Maybe; + /** update multiples rows of table: "user_role" */ + update_user_role_many?: Maybe>>; + /** update data of the table: "users" */ + update_users?: Maybe; + /** update single row of the table: "users" */ + update_users_by_pk?: Maybe; + /** update multiples rows of table: "users" */ + update_users_many?: Maybe>>; +}; + +/** mutation root */ +export type Mutation_RootDelete_AddressesArgs = { + where: Addresses_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Addresses_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +/** mutation root */ +export type Mutation_RootDelete_AgentArgs = { + where: Agent_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Agent_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +/** mutation root */ +export type Mutation_RootDelete_Agent_TypeArgs = { + where: Agent_Type_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Agent_Type_By_PkArgs = { + type: Scalars["String"]["input"]; +}; + +/** mutation root */ +export type Mutation_RootDelete_BusinessArgs = { + where: Business_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Business_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +/** mutation root */ +export type Mutation_RootDelete_Business_SectorArgs = { + where: Business_Sector_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Business_Sector_By_PkArgs = { + text: Scalars["String"]["input"]; +}; + +/** mutation root */ +export type Mutation_RootDelete_Business_TypeArgs = { + where: Business_Type_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Business_Type_By_PkArgs = { + type: Scalars["String"]["input"]; +}; + +/** mutation root */ +export type Mutation_RootDelete_Contact_DetailsArgs = { + where: Contact_Details_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Contact_Details_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +/** mutation root */ +export type Mutation_RootDelete_Courier_RidesArgs = { + where: Courier_Rides_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Courier_Rides_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +/** mutation root */ +export type Mutation_RootDelete_CouriersArgs = { + where: Couriers_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Couriers_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +/** mutation root */ +export type Mutation_RootDelete_DeliveryArgs = { + where: Delivery_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Delivery_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +/** mutation root */ +export type Mutation_RootDelete_Delivery_PersonnelArgs = { + where: Delivery_Personnel_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Delivery_Personnel_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +/** mutation root */ +export type Mutation_RootDelete_Delivery_RequestArgs = { + where: Delivery_Request_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Delivery_Request_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +/** mutation root */ +export type Mutation_RootDelete_Delivery_StatusArgs = { + where: Delivery_Status_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Delivery_Status_By_PkArgs = { + status: Scalars["String"]["input"]; +}; + +/** mutation root */ +export type Mutation_RootDelete_Geometry_ColumnsArgs = { + where: Geometry_Columns_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_LocationsArgs = { + where: Locations_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Locations_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +/** mutation root */ +export type Mutation_RootDelete_Order_Fulfillment_TypeArgs = { + where: Order_Fulfillment_Type_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Order_Fulfillment_Type_By_PkArgs = { + fulfillment_type: Scalars["String"]["input"]; +}; + +/** mutation root */ +export type Mutation_RootDelete_Order_ItemArgs = { + where: Order_Item_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Order_Item_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +/** mutation root */ +export type Mutation_RootDelete_Order_PreferenceArgs = { + where: Order_Preference_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Order_Preference_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +/** mutation root */ +export type Mutation_RootDelete_Order_StatusArgs = { + where: Order_Status_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Order_Status_By_PkArgs = { + status: Scalars["String"]["input"]; +}; + +/** mutation root */ +export type Mutation_RootDelete_Order_SupplierArgs = { + where: Order_Supplier_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Order_Supplier_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +/** mutation root */ +export type Mutation_RootDelete_OrdersArgs = { + where: Orders_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Orders_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +/** mutation root */ +export type Mutation_RootDelete_ProductsArgs = { + where: Products_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Products_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +/** mutation root */ +export type Mutation_RootDelete_Registeration_Channel_TypeArgs = { + where: Registeration_Channel_Type_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Registeration_Channel_Type_By_PkArgs = { + channel: Scalars["String"]["input"]; +}; + +/** mutation root */ +export type Mutation_RootDelete_ReportsArgs = { + where: Reports_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Reports_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +/** mutation root */ +export type Mutation_RootDelete_Ride_StatusArgs = { + where: Ride_Status_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Ride_Status_By_PkArgs = { + status: Scalars["String"]["input"]; +}; + +/** mutation root */ +export type Mutation_RootDelete_Ride_TypeArgs = { + where: Ride_Type_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Ride_Type_By_PkArgs = { + type: Scalars["String"]["input"]; +}; + +/** mutation root */ +export type Mutation_RootDelete_Spatial_Ref_SysArgs = { + where: Spatial_Ref_Sys_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Spatial_Ref_Sys_By_PkArgs = { + srid: Scalars["Int"]["input"]; +}; + +/** mutation root */ +export type Mutation_RootDelete_Supplier_Categories_EnumArgs = { + where: Supplier_Categories_Enum_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Supplier_Categories_Enum_By_PkArgs = { + name: Scalars["String"]["input"]; +}; + +/** mutation root */ +export type Mutation_RootDelete_Supplier_Service_ZoneArgs = { + where: Supplier_Service_Zone_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Supplier_Service_Zone_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +/** mutation root */ +export type Mutation_RootDelete_SuppliersArgs = { + where: Suppliers_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Suppliers_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +/** mutation root */ +export type Mutation_RootDelete_Suppliers_CategoriesArgs = { + where: Suppliers_Categories_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Suppliers_Categories_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +/** mutation root */ +export type Mutation_RootDelete_User_RoleArgs = { + where: User_Role_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_User_Role_By_PkArgs = { + role: Scalars["String"]["input"]; +}; + +/** mutation root */ +export type Mutation_RootDelete_UsersArgs = { + where: Users_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Users_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +/** mutation root */ +export type Mutation_RootInitOrderArgs = { + order?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_AddressesArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Addresses_OneArgs = { + object: Addresses_Insert_Input; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_AgentArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Agent_OneArgs = { + object: Agent_Insert_Input; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Agent_TypeArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Agent_Type_OneArgs = { + object: Agent_Type_Insert_Input; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_BusinessArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Business_OneArgs = { + object: Business_Insert_Input; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Business_SectorArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Business_Sector_OneArgs = { + object: Business_Sector_Insert_Input; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Business_TypeArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Business_Type_OneArgs = { + object: Business_Type_Insert_Input; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Contact_DetailsArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Contact_Details_OneArgs = { + object: Contact_Details_Insert_Input; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Courier_RidesArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Courier_Rides_OneArgs = { + object: Courier_Rides_Insert_Input; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_CouriersArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Couriers_OneArgs = { + object: Couriers_Insert_Input; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_DeliveryArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Delivery_OneArgs = { + object: Delivery_Insert_Input; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Delivery_PersonnelArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Delivery_Personnel_OneArgs = { + object: Delivery_Personnel_Insert_Input; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Delivery_RequestArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Delivery_Request_OneArgs = { + object: Delivery_Request_Insert_Input; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Delivery_StatusArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Delivery_Status_OneArgs = { + object: Delivery_Status_Insert_Input; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Geometry_ColumnsArgs = { + objects: Array; +}; + +/** mutation root */ +export type Mutation_RootInsert_Geometry_Columns_OneArgs = { + object: Geometry_Columns_Insert_Input; +}; + +/** mutation root */ +export type Mutation_RootInsert_LocationsArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Locations_OneArgs = { + object: Locations_Insert_Input; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Order_Fulfillment_TypeArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Order_Fulfillment_Type_OneArgs = { + object: Order_Fulfillment_Type_Insert_Input; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Order_ItemArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Order_Item_OneArgs = { + object: Order_Item_Insert_Input; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Order_PreferenceArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Order_Preference_OneArgs = { + object: Order_Preference_Insert_Input; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Order_StatusArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Order_Status_OneArgs = { + object: Order_Status_Insert_Input; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Order_SupplierArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Order_Supplier_OneArgs = { + object: Order_Supplier_Insert_Input; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_OrdersArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Orders_OneArgs = { + object: Orders_Insert_Input; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_ProductsArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Products_OneArgs = { + object: Products_Insert_Input; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Registeration_Channel_TypeArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Registeration_Channel_Type_OneArgs = { + object: Registeration_Channel_Type_Insert_Input; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_ReportsArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Reports_OneArgs = { + object: Reports_Insert_Input; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Ride_StatusArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Ride_Status_OneArgs = { + object: Ride_Status_Insert_Input; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Ride_TypeArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Ride_Type_OneArgs = { + object: Ride_Type_Insert_Input; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Spatial_Ref_SysArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Spatial_Ref_Sys_OneArgs = { + object: Spatial_Ref_Sys_Insert_Input; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Supplier_Categories_EnumArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Supplier_Categories_Enum_OneArgs = { + object: Supplier_Categories_Enum_Insert_Input; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Supplier_Service_ZoneArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Supplier_Service_Zone_OneArgs = { + object: Supplier_Service_Zone_Insert_Input; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_SuppliersArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Suppliers_CategoriesArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Suppliers_Categories_OneArgs = { + object: Suppliers_Categories_Insert_Input; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Suppliers_OneArgs = { + object: Suppliers_Insert_Input; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_User_RoleArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_User_Role_OneArgs = { + object: User_Role_Insert_Input; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_UsersArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Users_OneArgs = { + object: Users_Insert_Input; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootUpdate_AddressesArgs = { + _inc?: InputMaybe; + _set?: InputMaybe; + where: Addresses_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Addresses_By_PkArgs = { + _inc?: InputMaybe; + _set?: InputMaybe; + pk_columns: Addresses_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Addresses_ManyArgs = { + updates: Array; +}; + +/** mutation root */ +export type Mutation_RootUpdate_AgentArgs = { + _set?: InputMaybe; + where: Agent_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Agent_By_PkArgs = { + _set?: InputMaybe; + pk_columns: Agent_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Agent_ManyArgs = { + updates: Array; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Agent_TypeArgs = { + _set?: InputMaybe; + where: Agent_Type_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Agent_Type_By_PkArgs = { + _set?: InputMaybe; + pk_columns: Agent_Type_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Agent_Type_ManyArgs = { + updates: Array; +}; + +/** mutation root */ +export type Mutation_RootUpdate_BusinessArgs = { + _set?: InputMaybe; + where: Business_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Business_By_PkArgs = { + _set?: InputMaybe; + pk_columns: Business_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Business_ManyArgs = { + updates: Array; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Business_SectorArgs = { + _set?: InputMaybe; + where: Business_Sector_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Business_Sector_By_PkArgs = { + _set?: InputMaybe; + pk_columns: Business_Sector_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Business_Sector_ManyArgs = { + updates: Array; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Business_TypeArgs = { + _set?: InputMaybe; + where: Business_Type_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Business_Type_By_PkArgs = { + _set?: InputMaybe; + pk_columns: Business_Type_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Business_Type_ManyArgs = { + updates: Array; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Contact_DetailsArgs = { + _set?: InputMaybe; + where: Contact_Details_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Contact_Details_By_PkArgs = { + _set?: InputMaybe; + pk_columns: Contact_Details_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Contact_Details_ManyArgs = { + updates: Array; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Courier_RidesArgs = { + _set?: InputMaybe; + where: Courier_Rides_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Courier_Rides_By_PkArgs = { + _set?: InputMaybe; + pk_columns: Courier_Rides_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Courier_Rides_ManyArgs = { + updates: Array; +}; + +/** mutation root */ +export type Mutation_RootUpdate_CouriersArgs = { + _set?: InputMaybe; + where: Couriers_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Couriers_By_PkArgs = { + _set?: InputMaybe; + pk_columns: Couriers_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Couriers_ManyArgs = { + updates: Array; +}; + +/** mutation root */ +export type Mutation_RootUpdate_DeliveryArgs = { + _set?: InputMaybe; + where: Delivery_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Delivery_By_PkArgs = { + _set?: InputMaybe; + pk_columns: Delivery_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Delivery_ManyArgs = { + updates: Array; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Delivery_PersonnelArgs = { + _set?: InputMaybe; + where: Delivery_Personnel_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Delivery_Personnel_By_PkArgs = { + _set?: InputMaybe; + pk_columns: Delivery_Personnel_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Delivery_Personnel_ManyArgs = { + updates: Array; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Delivery_RequestArgs = { + _set?: InputMaybe; + where: Delivery_Request_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Delivery_Request_By_PkArgs = { + _set?: InputMaybe; + pk_columns: Delivery_Request_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Delivery_Request_ManyArgs = { + updates: Array; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Delivery_StatusArgs = { + _set?: InputMaybe; + where: Delivery_Status_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Delivery_Status_By_PkArgs = { + _set?: InputMaybe; + pk_columns: Delivery_Status_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Delivery_Status_ManyArgs = { + updates: Array; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Geometry_ColumnsArgs = { + _inc?: InputMaybe; + _set?: InputMaybe; + where: Geometry_Columns_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Geometry_Columns_ManyArgs = { + updates: Array; +}; + +/** mutation root */ +export type Mutation_RootUpdate_LocationsArgs = { + _set?: InputMaybe; + where: Locations_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Locations_By_PkArgs = { + _set?: InputMaybe; + pk_columns: Locations_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Locations_ManyArgs = { + updates: Array; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Order_Fulfillment_TypeArgs = { + _set?: InputMaybe; + where: Order_Fulfillment_Type_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Order_Fulfillment_Type_By_PkArgs = { + _set?: InputMaybe; + pk_columns: Order_Fulfillment_Type_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Order_Fulfillment_Type_ManyArgs = { + updates: Array; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Order_ItemArgs = { + _set?: InputMaybe; + where: Order_Item_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Order_Item_By_PkArgs = { + _set?: InputMaybe; + pk_columns: Order_Item_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Order_Item_ManyArgs = { + updates: Array; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Order_PreferenceArgs = { + _set?: InputMaybe; + where: Order_Preference_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Order_Preference_By_PkArgs = { + _set?: InputMaybe; + pk_columns: Order_Preference_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Order_Preference_ManyArgs = { + updates: Array; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Order_StatusArgs = { + _set?: InputMaybe; + where: Order_Status_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Order_Status_By_PkArgs = { + _set?: InputMaybe; + pk_columns: Order_Status_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Order_Status_ManyArgs = { + updates: Array; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Order_SupplierArgs = { + _set?: InputMaybe; + where: Order_Supplier_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Order_Supplier_By_PkArgs = { + _set?: InputMaybe; + pk_columns: Order_Supplier_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Order_Supplier_ManyArgs = { + updates: Array; +}; + +/** mutation root */ +export type Mutation_RootUpdate_OrdersArgs = { + _set?: InputMaybe; + where: Orders_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Orders_By_PkArgs = { + _set?: InputMaybe; + pk_columns: Orders_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Orders_ManyArgs = { + updates: Array; +}; + +/** mutation root */ +export type Mutation_RootUpdate_ProductsArgs = { + _inc?: InputMaybe; + _set?: InputMaybe; + where: Products_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Products_By_PkArgs = { + _inc?: InputMaybe; + _set?: InputMaybe; + pk_columns: Products_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Products_ManyArgs = { + updates: Array; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Registeration_Channel_TypeArgs = { + _set?: InputMaybe; + where: Registeration_Channel_Type_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Registeration_Channel_Type_By_PkArgs = { + _set?: InputMaybe; + pk_columns: Registeration_Channel_Type_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Registeration_Channel_Type_ManyArgs = { + updates: Array; +}; + +/** mutation root */ +export type Mutation_RootUpdate_ReportsArgs = { + _set?: InputMaybe; + where: Reports_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Reports_By_PkArgs = { + _set?: InputMaybe; + pk_columns: Reports_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Reports_ManyArgs = { + updates: Array; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Ride_StatusArgs = { + _set?: InputMaybe; + where: Ride_Status_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Ride_Status_By_PkArgs = { + _set?: InputMaybe; + pk_columns: Ride_Status_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Ride_Status_ManyArgs = { + updates: Array; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Ride_TypeArgs = { + _set?: InputMaybe; + where: Ride_Type_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Ride_Type_By_PkArgs = { + _set?: InputMaybe; + pk_columns: Ride_Type_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Ride_Type_ManyArgs = { + updates: Array; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Spatial_Ref_SysArgs = { + _inc?: InputMaybe; + _set?: InputMaybe; + where: Spatial_Ref_Sys_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Spatial_Ref_Sys_By_PkArgs = { + _inc?: InputMaybe; + _set?: InputMaybe; + pk_columns: Spatial_Ref_Sys_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Spatial_Ref_Sys_ManyArgs = { + updates: Array; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Supplier_Categories_EnumArgs = { + _set?: InputMaybe; + where: Supplier_Categories_Enum_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Supplier_Categories_Enum_By_PkArgs = { + _set?: InputMaybe; + pk_columns: Supplier_Categories_Enum_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Supplier_Categories_Enum_ManyArgs = { + updates: Array; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Supplier_Service_ZoneArgs = { + _inc?: InputMaybe; + _set?: InputMaybe; + where: Supplier_Service_Zone_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Supplier_Service_Zone_By_PkArgs = { + _inc?: InputMaybe; + _set?: InputMaybe; + pk_columns: Supplier_Service_Zone_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Supplier_Service_Zone_ManyArgs = { + updates: Array; +}; + +/** mutation root */ +export type Mutation_RootUpdate_SuppliersArgs = { + _set?: InputMaybe; + where: Suppliers_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Suppliers_By_PkArgs = { + _set?: InputMaybe; + pk_columns: Suppliers_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Suppliers_CategoriesArgs = { + _set?: InputMaybe; + where: Suppliers_Categories_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Suppliers_Categories_By_PkArgs = { + _set?: InputMaybe; + pk_columns: Suppliers_Categories_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Suppliers_Categories_ManyArgs = { + updates: Array; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Suppliers_ManyArgs = { + updates: Array; +}; + +/** mutation root */ +export type Mutation_RootUpdate_User_RoleArgs = { + _set?: InputMaybe; + where: User_Role_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_User_Role_By_PkArgs = { + _set?: InputMaybe; + pk_columns: User_Role_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_User_Role_ManyArgs = { + updates: Array; +}; + +/** mutation root */ +export type Mutation_RootUpdate_UsersArgs = { + _set?: InputMaybe; + where: Users_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Users_By_PkArgs = { + _set?: InputMaybe; + pk_columns: Users_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Users_ManyArgs = { + updates: Array; +}; + +/** Boolean expression to compare columns of type "name". All fields are combined with logical 'AND'. */ +export type Name_Comparison_Exp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +/** column ordering options */ +export enum Order_By { + /** in ascending order, nulls last */ + Asc = "asc", + /** in ascending order, nulls first */ + AscNullsFirst = "asc_nulls_first", + /** in ascending order, nulls last */ + AscNullsLast = "asc_nulls_last", + /** in descending order, nulls first */ + Desc = "desc", + /** in descending order, nulls first */ + DescNullsFirst = "desc_nulls_first", + /** in descending order, nulls last */ + DescNullsLast = "desc_nulls_last", +} + +/** columns and relationships of "order_fulfillment_type" */ +export type Order_Fulfillment_Type = { + __typename?: "order_fulfillment_type"; + fulfillment_type: Scalars["String"]["output"]; +}; + +/** aggregated selection of "order_fulfillment_type" */ +export type Order_Fulfillment_Type_Aggregate = { + __typename?: "order_fulfillment_type_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "order_fulfillment_type" */ +export type Order_Fulfillment_Type_Aggregate_Fields = { + __typename?: "order_fulfillment_type_aggregate_fields"; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; +}; + +/** aggregate fields of "order_fulfillment_type" */ +export type Order_Fulfillment_Type_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "order_fulfillment_type". All fields are combined with a logical 'AND'. */ +export type Order_Fulfillment_Type_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + fulfillment_type?: InputMaybe; +}; + +/** unique or primary key constraints on table "order_fulfillment_type" */ +export enum Order_Fulfillment_Type_Constraint { + /** unique or primary key constraint on columns "fulfillment_type" */ + OrderFulfillmentTypePkey = "order_fulfillment_type_pkey", +} + +export enum Order_Fulfillment_Type_Enum { + Full = "full", + Partial = "partial", +} + +/** Boolean expression to compare columns of type "order_fulfillment_type_enum". All fields are combined with logical 'AND'. */ +export type Order_Fulfillment_Type_Enum_Comparison_Exp = { + _eq?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +/** input type for inserting data into table "order_fulfillment_type" */ +export type Order_Fulfillment_Type_Insert_Input = { + fulfillment_type?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Order_Fulfillment_Type_Max_Fields = { + __typename?: "order_fulfillment_type_max_fields"; + fulfillment_type?: Maybe; +}; + +/** aggregate min on columns */ +export type Order_Fulfillment_Type_Min_Fields = { + __typename?: "order_fulfillment_type_min_fields"; + fulfillment_type?: Maybe; +}; + +/** response of any mutation on the table "order_fulfillment_type" */ +export type Order_Fulfillment_Type_Mutation_Response = { + __typename?: "order_fulfillment_type_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** on_conflict condition type for table "order_fulfillment_type" */ +export type Order_Fulfillment_Type_On_Conflict = { + constraint: Order_Fulfillment_Type_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "order_fulfillment_type". */ +export type Order_Fulfillment_Type_Order_By = { + fulfillment_type?: InputMaybe; +}; + +/** primary key columns input for table: order_fulfillment_type */ +export type Order_Fulfillment_Type_Pk_Columns_Input = { + fulfillment_type: Scalars["String"]["input"]; +}; + +/** select columns of table "order_fulfillment_type" */ +export enum Order_Fulfillment_Type_Select_Column { + /** column name */ + FulfillmentType = "fulfillment_type", +} + +/** input type for updating data in table "order_fulfillment_type" */ +export type Order_Fulfillment_Type_Set_Input = { + fulfillment_type?: InputMaybe; +}; + +/** Streaming cursor of the table "order_fulfillment_type" */ +export type Order_Fulfillment_Type_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Order_Fulfillment_Type_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Order_Fulfillment_Type_Stream_Cursor_Value_Input = { + fulfillment_type?: InputMaybe; +}; + +/** update columns of table "order_fulfillment_type" */ +export enum Order_Fulfillment_Type_Update_Column { + /** column name */ + FulfillmentType = "fulfillment_type", +} + +export type Order_Fulfillment_Type_Updates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Order_Fulfillment_Type_Bool_Exp; +}; + +/** columns and relationships of "order_item" */ +export type Order_Item = { + __typename?: "order_item"; + created_at: Scalars["timestamptz"]["output"]; + id: Scalars["uuid"]["output"]; + /** An object relationship */ + order?: Maybe; + orderId?: Maybe; + /** An object relationship */ + product?: Maybe; + productId?: Maybe; +}; + +/** aggregated selection of "order_item" */ +export type Order_Item_Aggregate = { + __typename?: "order_item_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +export type Order_Item_Aggregate_Bool_Exp = { + count?: InputMaybe; +}; + +export type Order_Item_Aggregate_Bool_Exp_Count = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Int_Comparison_Exp; +}; + +/** aggregate fields of "order_item" */ +export type Order_Item_Aggregate_Fields = { + __typename?: "order_item_aggregate_fields"; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; +}; + +/** aggregate fields of "order_item" */ +export type Order_Item_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** order by aggregate values of table "order_item" */ +export type Order_Item_Aggregate_Order_By = { + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; +}; + +/** input type for inserting array relation for remote table "order_item" */ +export type Order_Item_Arr_Rel_Insert_Input = { + data: Array; + /** upsert condition */ + on_conflict?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "order_item". All fields are combined with a logical 'AND'. */ +export type Order_Item_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + created_at?: InputMaybe; + id?: InputMaybe; + order?: InputMaybe; + orderId?: InputMaybe; + product?: InputMaybe; + productId?: InputMaybe; +}; + +/** unique or primary key constraints on table "order_item" */ +export enum Order_Item_Constraint { + /** unique or primary key constraint on columns "id" */ + OrderItemsPkey = "order_items_pkey", +} + +/** input type for inserting data into table "order_item" */ +export type Order_Item_Insert_Input = { + created_at?: InputMaybe; + id?: InputMaybe; + order?: InputMaybe; + orderId?: InputMaybe; + product?: InputMaybe; + productId?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Order_Item_Max_Fields = { + __typename?: "order_item_max_fields"; + created_at?: Maybe; + id?: Maybe; + orderId?: Maybe; + productId?: Maybe; +}; + +/** order by max() on columns of table "order_item" */ +export type Order_Item_Max_Order_By = { + created_at?: InputMaybe; + id?: InputMaybe; + orderId?: InputMaybe; + productId?: InputMaybe; +}; + +/** aggregate min on columns */ +export type Order_Item_Min_Fields = { + __typename?: "order_item_min_fields"; + created_at?: Maybe; + id?: Maybe; + orderId?: Maybe; + productId?: Maybe; +}; + +/** order by min() on columns of table "order_item" */ +export type Order_Item_Min_Order_By = { + created_at?: InputMaybe; + id?: InputMaybe; + orderId?: InputMaybe; + productId?: InputMaybe; +}; + +/** response of any mutation on the table "order_item" */ +export type Order_Item_Mutation_Response = { + __typename?: "order_item_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** on_conflict condition type for table "order_item" */ +export type Order_Item_On_Conflict = { + constraint: Order_Item_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "order_item". */ +export type Order_Item_Order_By = { + created_at?: InputMaybe; + id?: InputMaybe; + order?: InputMaybe; + orderId?: InputMaybe; + product?: InputMaybe; + productId?: InputMaybe; +}; + +/** primary key columns input for table: order_item */ +export type Order_Item_Pk_Columns_Input = { + id: Scalars["uuid"]["input"]; +}; + +/** select columns of table "order_item" */ +export enum Order_Item_Select_Column { + /** column name */ + CreatedAt = "created_at", + /** column name */ + Id = "id", + /** column name */ + OrderId = "orderId", + /** column name */ + ProductId = "productId", +} + +/** input type for updating data in table "order_item" */ +export type Order_Item_Set_Input = { + created_at?: InputMaybe; + id?: InputMaybe; + orderId?: InputMaybe; + productId?: InputMaybe; +}; + +/** Streaming cursor of the table "order_item" */ +export type Order_Item_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Order_Item_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Order_Item_Stream_Cursor_Value_Input = { + created_at?: InputMaybe; + id?: InputMaybe; + orderId?: InputMaybe; + productId?: InputMaybe; +}; + +/** update columns of table "order_item" */ +export enum Order_Item_Update_Column { + /** column name */ + CreatedAt = "created_at", + /** column name */ + Id = "id", + /** column name */ + OrderId = "orderId", + /** column name */ + ProductId = "productId", +} + +export type Order_Item_Updates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Order_Item_Bool_Exp; +}; + +/** columns and relationships of "order_preference" */ +export type Order_Preference = { + __typename?: "order_preference"; + created_at: Scalars["timestamptz"]["output"]; + id: Scalars["uuid"]["output"]; + updated_at: Scalars["timestamptz"]["output"]; +}; + +/** aggregated selection of "order_preference" */ +export type Order_Preference_Aggregate = { + __typename?: "order_preference_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "order_preference" */ +export type Order_Preference_Aggregate_Fields = { + __typename?: "order_preference_aggregate_fields"; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; +}; + +/** aggregate fields of "order_preference" */ +export type Order_Preference_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "order_preference". All fields are combined with a logical 'AND'. */ +export type Order_Preference_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + created_at?: InputMaybe; + id?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** unique or primary key constraints on table "order_preference" */ +export enum Order_Preference_Constraint { + /** unique or primary key constraint on columns "id" */ + PreferenceTablePkey = "preference_table_pkey", +} + +/** input type for inserting data into table "order_preference" */ +export type Order_Preference_Insert_Input = { + created_at?: InputMaybe; + id?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Order_Preference_Max_Fields = { + __typename?: "order_preference_max_fields"; + created_at?: Maybe; + id?: Maybe; + updated_at?: Maybe; +}; + +/** aggregate min on columns */ +export type Order_Preference_Min_Fields = { + __typename?: "order_preference_min_fields"; + created_at?: Maybe; + id?: Maybe; + updated_at?: Maybe; +}; + +/** response of any mutation on the table "order_preference" */ +export type Order_Preference_Mutation_Response = { + __typename?: "order_preference_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** on_conflict condition type for table "order_preference" */ +export type Order_Preference_On_Conflict = { + constraint: Order_Preference_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "order_preference". */ +export type Order_Preference_Order_By = { + created_at?: InputMaybe; + id?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** primary key columns input for table: order_preference */ +export type Order_Preference_Pk_Columns_Input = { + id: Scalars["uuid"]["input"]; +}; + +/** select columns of table "order_preference" */ +export enum Order_Preference_Select_Column { + /** column name */ + CreatedAt = "created_at", + /** column name */ + Id = "id", + /** column name */ + UpdatedAt = "updated_at", +} + +/** input type for updating data in table "order_preference" */ +export type Order_Preference_Set_Input = { + created_at?: InputMaybe; + id?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** Streaming cursor of the table "order_preference" */ +export type Order_Preference_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Order_Preference_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Order_Preference_Stream_Cursor_Value_Input = { + created_at?: InputMaybe; + id?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** update columns of table "order_preference" */ +export enum Order_Preference_Update_Column { + /** column name */ + CreatedAt = "created_at", + /** column name */ + Id = "id", + /** column name */ + UpdatedAt = "updated_at", +} + +export type Order_Preference_Updates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Order_Preference_Bool_Exp; +}; + +/** columns and relationships of "order_status" */ +export type Order_Status = { + __typename?: "order_status"; + /** An array relationship */ + orders: Array; + /** An aggregate relationship */ + orders_aggregate: Orders_Aggregate; + status: Scalars["String"]["output"]; +}; + +/** columns and relationships of "order_status" */ +export type Order_StatusOrdersArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** columns and relationships of "order_status" */ +export type Order_StatusOrders_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** aggregated selection of "order_status" */ +export type Order_Status_Aggregate = { + __typename?: "order_status_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "order_status" */ +export type Order_Status_Aggregate_Fields = { + __typename?: "order_status_aggregate_fields"; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; +}; + +/** aggregate fields of "order_status" */ +export type Order_Status_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "order_status". All fields are combined with a logical 'AND'. */ +export type Order_Status_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + orders?: InputMaybe; + orders_aggregate?: InputMaybe; + status?: InputMaybe; +}; + +/** unique or primary key constraints on table "order_status" */ +export enum Order_Status_Constraint { + /** unique or primary key constraint on columns "status" */ + OrderStatusPkey = "order_status_pkey", +} + +export enum Order_Status_Enum { + Canceled = "CANCELED", + Confirmed = "CONFIRMED", + Delivered = "DELIVERED", + Enroute = "ENROUTE", + Fulfilled = "FULFILLED", + Pending = "PENDING", +} + +/** Boolean expression to compare columns of type "order_status_enum". All fields are combined with logical 'AND'. */ +export type Order_Status_Enum_Comparison_Exp = { + _eq?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +/** input type for inserting data into table "order_status" */ +export type Order_Status_Insert_Input = { + orders?: InputMaybe; + status?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Order_Status_Max_Fields = { + __typename?: "order_status_max_fields"; + status?: Maybe; +}; + +/** aggregate min on columns */ +export type Order_Status_Min_Fields = { + __typename?: "order_status_min_fields"; + status?: Maybe; +}; + +/** response of any mutation on the table "order_status" */ +export type Order_Status_Mutation_Response = { + __typename?: "order_status_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** input type for inserting object relation for remote table "order_status" */ +export type Order_Status_Obj_Rel_Insert_Input = { + data: Order_Status_Insert_Input; + /** upsert condition */ + on_conflict?: InputMaybe; +}; + +/** on_conflict condition type for table "order_status" */ +export type Order_Status_On_Conflict = { + constraint: Order_Status_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "order_status". */ +export type Order_Status_Order_By = { + orders_aggregate?: InputMaybe; + status?: InputMaybe; +}; + +/** primary key columns input for table: order_status */ +export type Order_Status_Pk_Columns_Input = { + status: Scalars["String"]["input"]; +}; + +/** select columns of table "order_status" */ +export enum Order_Status_Select_Column { + /** column name */ + Status = "status", +} + +/** input type for updating data in table "order_status" */ +export type Order_Status_Set_Input = { + status?: InputMaybe; +}; + +/** Streaming cursor of the table "order_status" */ +export type Order_Status_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Order_Status_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Order_Status_Stream_Cursor_Value_Input = { + status?: InputMaybe; +}; + +/** update columns of table "order_status" */ +export enum Order_Status_Update_Column { + /** column name */ + Status = "status", +} + +export type Order_Status_Updates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Order_Status_Bool_Exp; +}; + +/** columns and relationships of "order_supplier" */ +export type Order_Supplier = { + __typename?: "order_supplier"; + created_at: Scalars["timestamptz"]["output"]; + id: Scalars["uuid"]["output"]; + /** An object relationship */ + order: Orders; + order_id: Scalars["uuid"]["output"]; + /** An object relationship */ + supplier: Suppliers; + supplierId: Scalars["uuid"]["output"]; +}; + +/** aggregated selection of "order_supplier" */ +export type Order_Supplier_Aggregate = { + __typename?: "order_supplier_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +export type Order_Supplier_Aggregate_Bool_Exp = { + count?: InputMaybe; +}; + +export type Order_Supplier_Aggregate_Bool_Exp_Count = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Int_Comparison_Exp; +}; + +/** aggregate fields of "order_supplier" */ +export type Order_Supplier_Aggregate_Fields = { + __typename?: "order_supplier_aggregate_fields"; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; +}; + +/** aggregate fields of "order_supplier" */ +export type Order_Supplier_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** order by aggregate values of table "order_supplier" */ +export type Order_Supplier_Aggregate_Order_By = { + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; +}; + +/** input type for inserting array relation for remote table "order_supplier" */ +export type Order_Supplier_Arr_Rel_Insert_Input = { + data: Array; + /** upsert condition */ + on_conflict?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "order_supplier". All fields are combined with a logical 'AND'. */ +export type Order_Supplier_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + created_at?: InputMaybe; + id?: InputMaybe; + order?: InputMaybe; + order_id?: InputMaybe; + supplier?: InputMaybe; + supplierId?: InputMaybe; +}; + +/** unique or primary key constraints on table "order_supplier" */ +export enum Order_Supplier_Constraint { + /** unique or primary key constraint on columns "id" */ + OrderSupplierPkey = "order_supplier_pkey", +} + +/** input type for inserting data into table "order_supplier" */ +export type Order_Supplier_Insert_Input = { + created_at?: InputMaybe; + id?: InputMaybe; + order?: InputMaybe; + order_id?: InputMaybe; + supplier?: InputMaybe; + supplierId?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Order_Supplier_Max_Fields = { + __typename?: "order_supplier_max_fields"; + created_at?: Maybe; + id?: Maybe; + order_id?: Maybe; + supplierId?: Maybe; +}; + +/** order by max() on columns of table "order_supplier" */ +export type Order_Supplier_Max_Order_By = { + created_at?: InputMaybe; + id?: InputMaybe; + order_id?: InputMaybe; + supplierId?: InputMaybe; +}; + +/** aggregate min on columns */ +export type Order_Supplier_Min_Fields = { + __typename?: "order_supplier_min_fields"; + created_at?: Maybe; + id?: Maybe; + order_id?: Maybe; + supplierId?: Maybe; +}; + +/** order by min() on columns of table "order_supplier" */ +export type Order_Supplier_Min_Order_By = { + created_at?: InputMaybe; + id?: InputMaybe; + order_id?: InputMaybe; + supplierId?: InputMaybe; +}; + +/** response of any mutation on the table "order_supplier" */ +export type Order_Supplier_Mutation_Response = { + __typename?: "order_supplier_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** on_conflict condition type for table "order_supplier" */ +export type Order_Supplier_On_Conflict = { + constraint: Order_Supplier_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "order_supplier". */ +export type Order_Supplier_Order_By = { + created_at?: InputMaybe; + id?: InputMaybe; + order?: InputMaybe; + order_id?: InputMaybe; + supplier?: InputMaybe; + supplierId?: InputMaybe; +}; + +/** primary key columns input for table: order_supplier */ +export type Order_Supplier_Pk_Columns_Input = { + id: Scalars["uuid"]["input"]; +}; + +/** select columns of table "order_supplier" */ +export enum Order_Supplier_Select_Column { + /** column name */ + CreatedAt = "created_at", + /** column name */ + Id = "id", + /** column name */ + OrderId = "order_id", + /** column name */ + SupplierId = "supplierId", +} + +/** input type for updating data in table "order_supplier" */ +export type Order_Supplier_Set_Input = { + created_at?: InputMaybe; + id?: InputMaybe; + order_id?: InputMaybe; + supplierId?: InputMaybe; +}; + +/** Streaming cursor of the table "order_supplier" */ +export type Order_Supplier_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Order_Supplier_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Order_Supplier_Stream_Cursor_Value_Input = { + created_at?: InputMaybe; + id?: InputMaybe; + order_id?: InputMaybe; + supplierId?: InputMaybe; +}; + +/** update columns of table "order_supplier" */ +export enum Order_Supplier_Update_Column { + /** column name */ + CreatedAt = "created_at", + /** column name */ + Id = "id", + /** column name */ + OrderId = "order_id", + /** column name */ + SupplierId = "supplierId", +} + +export type Order_Supplier_Updates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Order_Supplier_Bool_Exp; +}; + +/** columns and relationships of "orders" */ +export type Orders = { + __typename?: "orders"; + /** An object relationship */ + agent?: Maybe; + /** An object relationship */ + business?: Maybe; + created_at: Scalars["timestamptz"]["output"]; + customerId?: Maybe; + /** An array relationship */ + deliveries: Array; + /** An aggregate relationship */ + deliveries_aggregate: Delivery_Aggregate; + destination?: Maybe; + fulfillment_type?: Maybe; + id: Scalars["uuid"]["output"]; + orderId?: Maybe; + /** An array relationship */ + order_items: Array; + /** An aggregate relationship */ + order_items_aggregate: Order_Item_Aggregate; + /** An object relationship */ + order_status?: Maybe; + /** An array relationship */ + order_suppliers: Array; + /** An aggregate relationship */ + order_suppliers_aggregate: Order_Supplier_Aggregate; + origin?: Maybe; + processedBy?: Maybe; + status?: Maybe; +}; + +/** columns and relationships of "orders" */ +export type OrdersDeliveriesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** columns and relationships of "orders" */ +export type OrdersDeliveries_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** columns and relationships of "orders" */ +export type OrdersOrder_ItemsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** columns and relationships of "orders" */ +export type OrdersOrder_Items_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** columns and relationships of "orders" */ +export type OrdersOrder_SuppliersArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** columns and relationships of "orders" */ +export type OrdersOrder_Suppliers_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** aggregated selection of "orders" */ +export type Orders_Aggregate = { + __typename?: "orders_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +export type Orders_Aggregate_Bool_Exp = { + count?: InputMaybe; +}; + +export type Orders_Aggregate_Bool_Exp_Count = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Int_Comparison_Exp; +}; + +/** aggregate fields of "orders" */ +export type Orders_Aggregate_Fields = { + __typename?: "orders_aggregate_fields"; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; +}; + +/** aggregate fields of "orders" */ +export type Orders_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** order by aggregate values of table "orders" */ +export type Orders_Aggregate_Order_By = { + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; +}; + +/** input type for inserting array relation for remote table "orders" */ +export type Orders_Arr_Rel_Insert_Input = { + data: Array; + /** upsert condition */ + on_conflict?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "orders". All fields are combined with a logical 'AND'. */ +export type Orders_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + agent?: InputMaybe; + business?: InputMaybe; + created_at?: InputMaybe; + customerId?: InputMaybe; + deliveries?: InputMaybe; + deliveries_aggregate?: InputMaybe; + destination?: InputMaybe; + fulfillment_type?: InputMaybe; + id?: InputMaybe; + orderId?: InputMaybe; + order_items?: InputMaybe; + order_items_aggregate?: InputMaybe; + order_status?: InputMaybe; + order_suppliers?: InputMaybe; + order_suppliers_aggregate?: InputMaybe; + origin?: InputMaybe; + processedBy?: InputMaybe; + status?: InputMaybe; +}; + +/** unique or primary key constraints on table "orders" */ +export enum Orders_Constraint { + /** unique or primary key constraint on columns "id" */ + OrdersPkey = "orders_pkey", +} + +/** input type for inserting data into table "orders" */ +export type Orders_Insert_Input = { + agent?: InputMaybe; + business?: InputMaybe; + created_at?: InputMaybe; + customerId?: InputMaybe; + deliveries?: InputMaybe; + destination?: InputMaybe; + fulfillment_type?: InputMaybe; + id?: InputMaybe; + orderId?: InputMaybe; + order_items?: InputMaybe; + order_status?: InputMaybe; + order_suppliers?: InputMaybe; + origin?: InputMaybe; + processedBy?: InputMaybe; + status?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Orders_Max_Fields = { + __typename?: "orders_max_fields"; + created_at?: Maybe; + customerId?: Maybe; + destination?: Maybe; + id?: Maybe; + orderId?: Maybe; + origin?: Maybe; + processedBy?: Maybe; +}; + +/** order by max() on columns of table "orders" */ +export type Orders_Max_Order_By = { + created_at?: InputMaybe; + customerId?: InputMaybe; + destination?: InputMaybe; + id?: InputMaybe; + orderId?: InputMaybe; + origin?: InputMaybe; + processedBy?: InputMaybe; +}; + +/** aggregate min on columns */ +export type Orders_Min_Fields = { + __typename?: "orders_min_fields"; + created_at?: Maybe; + customerId?: Maybe; + destination?: Maybe; + id?: Maybe; + orderId?: Maybe; + origin?: Maybe; + processedBy?: Maybe; +}; + +/** order by min() on columns of table "orders" */ +export type Orders_Min_Order_By = { + created_at?: InputMaybe; + customerId?: InputMaybe; + destination?: InputMaybe; + id?: InputMaybe; + orderId?: InputMaybe; + origin?: InputMaybe; + processedBy?: InputMaybe; +}; + +/** response of any mutation on the table "orders" */ +export type Orders_Mutation_Response = { + __typename?: "orders_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** input type for inserting object relation for remote table "orders" */ +export type Orders_Obj_Rel_Insert_Input = { + data: Orders_Insert_Input; + /** upsert condition */ + on_conflict?: InputMaybe; +}; + +/** on_conflict condition type for table "orders" */ +export type Orders_On_Conflict = { + constraint: Orders_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "orders". */ +export type Orders_Order_By = { + agent?: InputMaybe; + business?: InputMaybe; + created_at?: InputMaybe; + customerId?: InputMaybe; + deliveries_aggregate?: InputMaybe; + destination?: InputMaybe; + fulfillment_type?: InputMaybe; + id?: InputMaybe; + orderId?: InputMaybe; + order_items_aggregate?: InputMaybe; + order_status?: InputMaybe; + order_suppliers_aggregate?: InputMaybe; + origin?: InputMaybe; + processedBy?: InputMaybe; + status?: InputMaybe; +}; + +/** primary key columns input for table: orders */ +export type Orders_Pk_Columns_Input = { + id: Scalars["uuid"]["input"]; +}; + +/** select columns of table "orders" */ +export enum Orders_Select_Column { + /** column name */ + CreatedAt = "created_at", + /** column name */ + CustomerId = "customerId", + /** column name */ + Destination = "destination", + /** column name */ + FulfillmentType = "fulfillment_type", + /** column name */ + Id = "id", + /** column name */ + OrderId = "orderId", + /** column name */ + Origin = "origin", + /** column name */ + ProcessedBy = "processedBy", + /** column name */ + Status = "status", +} + +/** input type for updating data in table "orders" */ +export type Orders_Set_Input = { + created_at?: InputMaybe; + customerId?: InputMaybe; + destination?: InputMaybe; + fulfillment_type?: InputMaybe; + id?: InputMaybe; + orderId?: InputMaybe; + origin?: InputMaybe; + processedBy?: InputMaybe; + status?: InputMaybe; +}; + +/** Streaming cursor of the table "orders" */ +export type Orders_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Orders_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Orders_Stream_Cursor_Value_Input = { + created_at?: InputMaybe; + customerId?: InputMaybe; + destination?: InputMaybe; + fulfillment_type?: InputMaybe; + id?: InputMaybe; + orderId?: InputMaybe; + origin?: InputMaybe; + processedBy?: InputMaybe; + status?: InputMaybe; +}; + +/** update columns of table "orders" */ +export enum Orders_Update_Column { + /** column name */ + CreatedAt = "created_at", + /** column name */ + CustomerId = "customerId", + /** column name */ + Destination = "destination", + /** column name */ + FulfillmentType = "fulfillment_type", + /** column name */ + Id = "id", + /** column name */ + OrderId = "orderId", + /** column name */ + Origin = "origin", + /** column name */ + ProcessedBy = "processedBy", + /** column name */ + Status = "status", +} + +export type Orders_Updates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Orders_Bool_Exp; +}; + +/** columns and relationships of "products" */ +export type Products = { + __typename?: "products"; + created_at: Scalars["timestamptz"]["output"]; + description?: Maybe; + discount?: Maybe; + id: Scalars["uuid"]["output"]; + inStock: Scalars["Boolean"]["output"]; + name?: Maybe; + /** An array relationship */ + order_items: Array; + /** An aggregate relationship */ + order_items_aggregate: Order_Item_Aggregate; + price?: Maybe; + quantity: Scalars["Int"]["output"]; + /** An object relationship */ + supplier?: Maybe; + supplier_id?: Maybe; +}; + +/** columns and relationships of "products" */ +export type ProductsOrder_ItemsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** columns and relationships of "products" */ +export type ProductsOrder_Items_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** aggregated selection of "products" */ +export type Products_Aggregate = { + __typename?: "products_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +export type Products_Aggregate_Bool_Exp = { + bool_and?: InputMaybe; + bool_or?: InputMaybe; + count?: InputMaybe; +}; + +export type Products_Aggregate_Bool_Exp_Bool_And = { + arguments: Products_Select_Column_Products_Aggregate_Bool_Exp_Bool_And_Arguments_Columns; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Boolean_Comparison_Exp; +}; + +export type Products_Aggregate_Bool_Exp_Bool_Or = { + arguments: Products_Select_Column_Products_Aggregate_Bool_Exp_Bool_Or_Arguments_Columns; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Boolean_Comparison_Exp; +}; + +export type Products_Aggregate_Bool_Exp_Count = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Int_Comparison_Exp; +}; + +/** aggregate fields of "products" */ +export type Products_Aggregate_Fields = { + __typename?: "products_aggregate_fields"; + avg?: Maybe; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; +}; + +/** aggregate fields of "products" */ +export type Products_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** order by aggregate values of table "products" */ +export type Products_Aggregate_Order_By = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; + +/** input type for inserting array relation for remote table "products" */ +export type Products_Arr_Rel_Insert_Input = { + data: Array; + /** upsert condition */ + on_conflict?: InputMaybe; +}; + +/** aggregate avg on columns */ +export type Products_Avg_Fields = { + __typename?: "products_avg_fields"; + discount?: Maybe; + price?: Maybe; + quantity?: Maybe; +}; + +/** order by avg() on columns of table "products" */ +export type Products_Avg_Order_By = { + discount?: InputMaybe; + price?: InputMaybe; + quantity?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "products". All fields are combined with a logical 'AND'. */ +export type Products_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + created_at?: InputMaybe; + description?: InputMaybe; + discount?: InputMaybe; + id?: InputMaybe; + inStock?: InputMaybe; + name?: InputMaybe; + order_items?: InputMaybe; + order_items_aggregate?: InputMaybe; + price?: InputMaybe; + quantity?: InputMaybe; + supplier?: InputMaybe; + supplier_id?: InputMaybe; +}; + +/** unique or primary key constraints on table "products" */ +export enum Products_Constraint { + /** unique or primary key constraint on columns "id" */ + ProductsPkey = "products_pkey", +} + +/** input type for incrementing numeric columns in table "products" */ +export type Products_Inc_Input = { + discount?: InputMaybe; + price?: InputMaybe; + quantity?: InputMaybe; +}; + +/** input type for inserting data into table "products" */ +export type Products_Insert_Input = { + created_at?: InputMaybe; + description?: InputMaybe; + discount?: InputMaybe; + id?: InputMaybe; + inStock?: InputMaybe; + name?: InputMaybe; + order_items?: InputMaybe; + price?: InputMaybe; + quantity?: InputMaybe; + supplier?: InputMaybe; + supplier_id?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Products_Max_Fields = { + __typename?: "products_max_fields"; + created_at?: Maybe; + description?: Maybe; + discount?: Maybe; + id?: Maybe; + name?: Maybe; + price?: Maybe; + quantity?: Maybe; + supplier_id?: Maybe; +}; + +/** order by max() on columns of table "products" */ +export type Products_Max_Order_By = { + created_at?: InputMaybe; + description?: InputMaybe; + discount?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + price?: InputMaybe; + quantity?: InputMaybe; + supplier_id?: InputMaybe; +}; + +/** aggregate min on columns */ +export type Products_Min_Fields = { + __typename?: "products_min_fields"; + created_at?: Maybe; + description?: Maybe; + discount?: Maybe; + id?: Maybe; + name?: Maybe; + price?: Maybe; + quantity?: Maybe; + supplier_id?: Maybe; +}; + +/** order by min() on columns of table "products" */ +export type Products_Min_Order_By = { + created_at?: InputMaybe; + description?: InputMaybe; + discount?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + price?: InputMaybe; + quantity?: InputMaybe; + supplier_id?: InputMaybe; +}; + +/** response of any mutation on the table "products" */ +export type Products_Mutation_Response = { + __typename?: "products_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** input type for inserting object relation for remote table "products" */ +export type Products_Obj_Rel_Insert_Input = { + data: Products_Insert_Input; + /** upsert condition */ + on_conflict?: InputMaybe; +}; + +/** on_conflict condition type for table "products" */ +export type Products_On_Conflict = { + constraint: Products_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "products". */ +export type Products_Order_By = { + created_at?: InputMaybe; + description?: InputMaybe; + discount?: InputMaybe; + id?: InputMaybe; + inStock?: InputMaybe; + name?: InputMaybe; + order_items_aggregate?: InputMaybe; + price?: InputMaybe; + quantity?: InputMaybe; + supplier?: InputMaybe; + supplier_id?: InputMaybe; +}; + +/** primary key columns input for table: products */ +export type Products_Pk_Columns_Input = { + id: Scalars["uuid"]["input"]; +}; + +/** select columns of table "products" */ +export enum Products_Select_Column { + /** column name */ + CreatedAt = "created_at", + /** column name */ + Description = "description", + /** column name */ + Discount = "discount", + /** column name */ + Id = "id", + /** column name */ + InStock = "inStock", + /** column name */ + Name = "name", + /** column name */ + Price = "price", + /** column name */ + Quantity = "quantity", + /** column name */ + SupplierId = "supplier_id", +} + +/** select "products_aggregate_bool_exp_bool_and_arguments_columns" columns of table "products" */ +export enum Products_Select_Column_Products_Aggregate_Bool_Exp_Bool_And_Arguments_Columns { + /** column name */ + InStock = "inStock", +} + +/** select "products_aggregate_bool_exp_bool_or_arguments_columns" columns of table "products" */ +export enum Products_Select_Column_Products_Aggregate_Bool_Exp_Bool_Or_Arguments_Columns { + /** column name */ + InStock = "inStock", +} + +/** input type for updating data in table "products" */ +export type Products_Set_Input = { + created_at?: InputMaybe; + description?: InputMaybe; + discount?: InputMaybe; + id?: InputMaybe; + inStock?: InputMaybe; + name?: InputMaybe; + price?: InputMaybe; + quantity?: InputMaybe; + supplier_id?: InputMaybe; +}; + +/** aggregate stddev on columns */ +export type Products_Stddev_Fields = { + __typename?: "products_stddev_fields"; + discount?: Maybe; + price?: Maybe; + quantity?: Maybe; +}; + +/** order by stddev() on columns of table "products" */ +export type Products_Stddev_Order_By = { + discount?: InputMaybe; + price?: InputMaybe; + quantity?: InputMaybe; +}; + +/** aggregate stddev_pop on columns */ +export type Products_Stddev_Pop_Fields = { + __typename?: "products_stddev_pop_fields"; + discount?: Maybe; + price?: Maybe; + quantity?: Maybe; +}; + +/** order by stddev_pop() on columns of table "products" */ +export type Products_Stddev_Pop_Order_By = { + discount?: InputMaybe; + price?: InputMaybe; + quantity?: InputMaybe; +}; + +/** aggregate stddev_samp on columns */ +export type Products_Stddev_Samp_Fields = { + __typename?: "products_stddev_samp_fields"; + discount?: Maybe; + price?: Maybe; + quantity?: Maybe; +}; + +/** order by stddev_samp() on columns of table "products" */ +export type Products_Stddev_Samp_Order_By = { + discount?: InputMaybe; + price?: InputMaybe; + quantity?: InputMaybe; +}; + +/** Streaming cursor of the table "products" */ +export type Products_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Products_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Products_Stream_Cursor_Value_Input = { + created_at?: InputMaybe; + description?: InputMaybe; + discount?: InputMaybe; + id?: InputMaybe; + inStock?: InputMaybe; + name?: InputMaybe; + price?: InputMaybe; + quantity?: InputMaybe; + supplier_id?: InputMaybe; +}; + +/** aggregate sum on columns */ +export type Products_Sum_Fields = { + __typename?: "products_sum_fields"; + discount?: Maybe; + price?: Maybe; + quantity?: Maybe; +}; + +/** order by sum() on columns of table "products" */ +export type Products_Sum_Order_By = { + discount?: InputMaybe; + price?: InputMaybe; + quantity?: InputMaybe; +}; + +/** update columns of table "products" */ +export enum Products_Update_Column { + /** column name */ + CreatedAt = "created_at", + /** column name */ + Description = "description", + /** column name */ + Discount = "discount", + /** column name */ + Id = "id", + /** column name */ + InStock = "inStock", + /** column name */ + Name = "name", + /** column name */ + Price = "price", + /** column name */ + Quantity = "quantity", + /** column name */ + SupplierId = "supplier_id", +} + +export type Products_Updates = { + /** increments the numeric columns with given value of the filtered values */ + _inc?: InputMaybe; + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Products_Bool_Exp; +}; + +/** aggregate var_pop on columns */ +export type Products_Var_Pop_Fields = { + __typename?: "products_var_pop_fields"; + discount?: Maybe; + price?: Maybe; + quantity?: Maybe; +}; + +/** order by var_pop() on columns of table "products" */ +export type Products_Var_Pop_Order_By = { + discount?: InputMaybe; + price?: InputMaybe; + quantity?: InputMaybe; +}; + +/** aggregate var_samp on columns */ +export type Products_Var_Samp_Fields = { + __typename?: "products_var_samp_fields"; + discount?: Maybe; + price?: Maybe; + quantity?: Maybe; +}; + +/** order by var_samp() on columns of table "products" */ +export type Products_Var_Samp_Order_By = { + discount?: InputMaybe; + price?: InputMaybe; + quantity?: InputMaybe; +}; + +/** aggregate variance on columns */ +export type Products_Variance_Fields = { + __typename?: "products_variance_fields"; + discount?: Maybe; + price?: Maybe; + quantity?: Maybe; +}; + +/** order by variance() on columns of table "products" */ +export type Products_Variance_Order_By = { + discount?: InputMaybe; + price?: InputMaybe; + quantity?: InputMaybe; +}; + +export type Query_Root = { + __typename?: "query_root"; + /** An array relationship */ + addresses: Array; + /** An aggregate relationship */ + addresses_aggregate: Addresses_Aggregate; + /** fetch data from the table: "addresses" using primary key columns */ + addresses_by_pk?: Maybe; + /** fetch data from the table: "agent" */ + agent: Array; + /** fetch aggregated fields from the table: "agent" */ + agent_aggregate: Agent_Aggregate; + /** fetch data from the table: "agent" using primary key columns */ + agent_by_pk?: Maybe; + /** fetch data from the table: "agent_type" */ + agent_type: Array; + /** fetch aggregated fields from the table: "agent_type" */ + agent_type_aggregate: Agent_Type_Aggregate; + /** fetch data from the table: "agent_type" using primary key columns */ + agent_type_by_pk?: Maybe; + /** fetch data from the table: "business" */ + business: Array; + /** fetch aggregated fields from the table: "business" */ + business_aggregate: Business_Aggregate; + /** fetch data from the table: "business" using primary key columns */ + business_by_pk?: Maybe; + /** fetch data from the table: "business_sector" */ + business_sector: Array; + /** fetch aggregated fields from the table: "business_sector" */ + business_sector_aggregate: Business_Sector_Aggregate; + /** fetch data from the table: "business_sector" using primary key columns */ + business_sector_by_pk?: Maybe; + /** fetch data from the table: "business_type" */ + business_type: Array; + /** fetch aggregated fields from the table: "business_type" */ + business_type_aggregate: Business_Type_Aggregate; + /** fetch data from the table: "business_type" using primary key columns */ + business_type_by_pk?: Maybe; + /** fetch data from the table: "contact_details" */ + contact_details: Array; + /** fetch aggregated fields from the table: "contact_details" */ + contact_details_aggregate: Contact_Details_Aggregate; + /** fetch data from the table: "contact_details" using primary key columns */ + contact_details_by_pk?: Maybe; + /** An array relationship */ + courier_rides: Array; + /** An aggregate relationship */ + courier_rides_aggregate: Courier_Rides_Aggregate; + /** fetch data from the table: "courier_rides" using primary key columns */ + courier_rides_by_pk?: Maybe; + /** fetch data from the table: "couriers" */ + couriers: Array; + /** fetch aggregated fields from the table: "couriers" */ + couriers_aggregate: Couriers_Aggregate; + /** fetch data from the table: "couriers" using primary key columns */ + couriers_by_pk?: Maybe; + /** fetch data from the table: "delivery" */ + delivery: Array; + /** fetch aggregated fields from the table: "delivery" */ + delivery_aggregate: Delivery_Aggregate; + /** fetch data from the table: "delivery" using primary key columns */ + delivery_by_pk?: Maybe; + /** fetch data from the table: "delivery_personnel" */ + delivery_personnel: Array; + /** fetch aggregated fields from the table: "delivery_personnel" */ + delivery_personnel_aggregate: Delivery_Personnel_Aggregate; + /** fetch data from the table: "delivery_personnel" using primary key columns */ + delivery_personnel_by_pk?: Maybe; + /** fetch data from the table: "delivery_request" */ + delivery_request: Array; + /** fetch aggregated fields from the table: "delivery_request" */ + delivery_request_aggregate: Delivery_Request_Aggregate; + /** fetch data from the table: "delivery_request" using primary key columns */ + delivery_request_by_pk?: Maybe; + /** fetch data from the table: "delivery_status" */ + delivery_status: Array; + /** fetch aggregated fields from the table: "delivery_status" */ + delivery_status_aggregate: Delivery_Status_Aggregate; + /** fetch data from the table: "delivery_status" using primary key columns */ + delivery_status_by_pk?: Maybe; + /** fetch data from the table: "geography_columns" */ + geography_columns: Array; + /** fetch aggregated fields from the table: "geography_columns" */ + geography_columns_aggregate: Geography_Columns_Aggregate; + /** fetch data from the table: "geometry_columns" */ + geometry_columns: Array; + /** fetch aggregated fields from the table: "geometry_columns" */ + geometry_columns_aggregate: Geometry_Columns_Aggregate; + /** Validate and Process Orders */ + initOrder?: Maybe; + /** fetch data from the table: "locations" */ + locations: Array; + /** fetch aggregated fields from the table: "locations" */ + locations_aggregate: Locations_Aggregate; + /** fetch data from the table: "locations" using primary key columns */ + locations_by_pk?: Maybe; + /** fetch data from the table: "order_fulfillment_type" */ + order_fulfillment_type: Array; + /** fetch aggregated fields from the table: "order_fulfillment_type" */ + order_fulfillment_type_aggregate: Order_Fulfillment_Type_Aggregate; + /** fetch data from the table: "order_fulfillment_type" using primary key columns */ + order_fulfillment_type_by_pk?: Maybe; + /** fetch data from the table: "order_item" */ + order_item: Array; + /** fetch aggregated fields from the table: "order_item" */ + order_item_aggregate: Order_Item_Aggregate; + /** fetch data from the table: "order_item" using primary key columns */ + order_item_by_pk?: Maybe; + /** fetch data from the table: "order_preference" */ + order_preference: Array; + /** fetch aggregated fields from the table: "order_preference" */ + order_preference_aggregate: Order_Preference_Aggregate; + /** fetch data from the table: "order_preference" using primary key columns */ + order_preference_by_pk?: Maybe; + /** fetch data from the table: "order_status" */ + order_status: Array; + /** fetch aggregated fields from the table: "order_status" */ + order_status_aggregate: Order_Status_Aggregate; + /** fetch data from the table: "order_status" using primary key columns */ + order_status_by_pk?: Maybe; + /** fetch data from the table: "order_supplier" */ + order_supplier: Array; + /** fetch aggregated fields from the table: "order_supplier" */ + order_supplier_aggregate: Order_Supplier_Aggregate; + /** fetch data from the table: "order_supplier" using primary key columns */ + order_supplier_by_pk?: Maybe; + /** An array relationship */ + orders: Array; + /** An aggregate relationship */ + orders_aggregate: Orders_Aggregate; + /** fetch data from the table: "orders" using primary key columns */ + orders_by_pk?: Maybe; + /** An array relationship */ + products: Array; + /** An aggregate relationship */ + products_aggregate: Products_Aggregate; + /** fetch data from the table: "products" using primary key columns */ + products_by_pk?: Maybe; + /** fetch data from the table: "registeration_channel_type" */ + registeration_channel_type: Array; + /** fetch aggregated fields from the table: "registeration_channel_type" */ + registeration_channel_type_aggregate: Registeration_Channel_Type_Aggregate; + /** fetch data from the table: "registeration_channel_type" using primary key columns */ + registeration_channel_type_by_pk?: Maybe; + /** fetch data from the table: "reports" */ + reports: Array; + /** fetch aggregated fields from the table: "reports" */ + reports_aggregate: Reports_Aggregate; + /** fetch data from the table: "reports" using primary key columns */ + reports_by_pk?: Maybe; + /** fetch data from the table: "ride_status" */ + ride_status: Array; + /** fetch aggregated fields from the table: "ride_status" */ + ride_status_aggregate: Ride_Status_Aggregate; + /** fetch data from the table: "ride_status" using primary key columns */ + ride_status_by_pk?: Maybe; + /** fetch data from the table: "ride_type" */ + ride_type: Array; + /** fetch aggregated fields from the table: "ride_type" */ + ride_type_aggregate: Ride_Type_Aggregate; + /** fetch data from the table: "ride_type" using primary key columns */ + ride_type_by_pk?: Maybe; + /** fetch data from the table: "spatial_ref_sys" */ + spatial_ref_sys: Array; + /** fetch aggregated fields from the table: "spatial_ref_sys" */ + spatial_ref_sys_aggregate: Spatial_Ref_Sys_Aggregate; + /** fetch data from the table: "spatial_ref_sys" using primary key columns */ + spatial_ref_sys_by_pk?: Maybe; + /** fetch data from the table: "supplier_categories_enum" */ + supplier_categories_enum: Array; + /** fetch aggregated fields from the table: "supplier_categories_enum" */ + supplier_categories_enum_aggregate: Supplier_Categories_Enum_Aggregate; + /** fetch data from the table: "supplier_categories_enum" using primary key columns */ + supplier_categories_enum_by_pk?: Maybe; + /** fetch data from the table: "supplier_service_zone" */ + supplier_service_zone: Array; + /** fetch aggregated fields from the table: "supplier_service_zone" */ + supplier_service_zone_aggregate: Supplier_Service_Zone_Aggregate; + /** fetch data from the table: "supplier_service_zone" using primary key columns */ + supplier_service_zone_by_pk?: Maybe; + /** fetch data from the table: "suppliers" */ + suppliers: Array; + /** fetch aggregated fields from the table: "suppliers" */ + suppliers_aggregate: Suppliers_Aggregate; + /** fetch data from the table: "suppliers" using primary key columns */ + suppliers_by_pk?: Maybe; + /** An array relationship */ + suppliers_categories: Array; + /** An aggregate relationship */ + suppliers_categories_aggregate: Suppliers_Categories_Aggregate; + /** fetch data from the table: "suppliers_categories" using primary key columns */ + suppliers_categories_by_pk?: Maybe; + /** fetch data from the table: "user_role" */ + user_role: Array; + /** fetch aggregated fields from the table: "user_role" */ + user_role_aggregate: User_Role_Aggregate; + /** fetch data from the table: "user_role" using primary key columns */ + user_role_by_pk?: Maybe; + /** An array relationship */ + users: Array; + /** An aggregate relationship */ + users_aggregate: Users_Aggregate; + /** fetch data from the table: "users" using primary key columns */ + users_by_pk?: Maybe; +}; + +export type Query_RootAddressesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootAddresses_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootAddresses_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Query_RootAgentArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootAgent_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootAgent_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Query_RootAgent_TypeArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootAgent_Type_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootAgent_Type_By_PkArgs = { + type: Scalars["String"]["input"]; +}; + +export type Query_RootBusinessArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootBusiness_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootBusiness_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Query_RootBusiness_SectorArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootBusiness_Sector_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootBusiness_Sector_By_PkArgs = { + text: Scalars["String"]["input"]; +}; + +export type Query_RootBusiness_TypeArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootBusiness_Type_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootBusiness_Type_By_PkArgs = { + type: Scalars["String"]["input"]; +}; + +export type Query_RootContact_DetailsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootContact_Details_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootContact_Details_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Query_RootCourier_RidesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootCourier_Rides_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootCourier_Rides_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Query_RootCouriersArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootCouriers_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootCouriers_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Query_RootDeliveryArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootDelivery_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootDelivery_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Query_RootDelivery_PersonnelArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootDelivery_Personnel_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootDelivery_Personnel_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Query_RootDelivery_RequestArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootDelivery_Request_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootDelivery_Request_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Query_RootDelivery_StatusArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootDelivery_Status_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootDelivery_Status_By_PkArgs = { + status: Scalars["String"]["input"]; +}; + +export type Query_RootGeography_ColumnsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootGeography_Columns_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootGeometry_ColumnsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootGeometry_Columns_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootInitOrderArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Query_RootLocationsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootLocations_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootLocations_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Query_RootOrder_Fulfillment_TypeArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootOrder_Fulfillment_Type_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootOrder_Fulfillment_Type_By_PkArgs = { + fulfillment_type: Scalars["String"]["input"]; +}; + +export type Query_RootOrder_ItemArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootOrder_Item_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootOrder_Item_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Query_RootOrder_PreferenceArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootOrder_Preference_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootOrder_Preference_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Query_RootOrder_StatusArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootOrder_Status_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootOrder_Status_By_PkArgs = { + status: Scalars["String"]["input"]; +}; + +export type Query_RootOrder_SupplierArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootOrder_Supplier_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootOrder_Supplier_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Query_RootOrdersArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootOrders_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootOrders_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Query_RootProductsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootProducts_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootProducts_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Query_RootRegisteration_Channel_TypeArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootRegisteration_Channel_Type_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootRegisteration_Channel_Type_By_PkArgs = { + channel: Scalars["String"]["input"]; +}; + +export type Query_RootReportsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootReports_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootReports_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Query_RootRide_StatusArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootRide_Status_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootRide_Status_By_PkArgs = { + status: Scalars["String"]["input"]; +}; + +export type Query_RootRide_TypeArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootRide_Type_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootRide_Type_By_PkArgs = { + type: Scalars["String"]["input"]; +}; + +export type Query_RootSpatial_Ref_SysArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootSpatial_Ref_Sys_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootSpatial_Ref_Sys_By_PkArgs = { + srid: Scalars["Int"]["input"]; +}; + +export type Query_RootSupplier_Categories_EnumArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootSupplier_Categories_Enum_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootSupplier_Categories_Enum_By_PkArgs = { + name: Scalars["String"]["input"]; +}; + +export type Query_RootSupplier_Service_ZoneArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootSupplier_Service_Zone_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootSupplier_Service_Zone_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Query_RootSuppliersArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootSuppliers_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootSuppliers_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Query_RootSuppliers_CategoriesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootSuppliers_Categories_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootSuppliers_Categories_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Query_RootUser_RoleArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootUser_Role_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootUser_Role_By_PkArgs = { + role: Scalars["String"]["input"]; +}; + +export type Query_RootUsersArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootUsers_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootUsers_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +/** columns and relationships of "registeration_channel_type" */ +export type Registeration_Channel_Type = { + __typename?: "registeration_channel_type"; + /** An array relationship */ + businesses: Array; + /** An aggregate relationship */ + businesses_aggregate: Business_Aggregate; + channel: Scalars["String"]["output"]; +}; + +/** columns and relationships of "registeration_channel_type" */ +export type Registeration_Channel_TypeBusinessesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** columns and relationships of "registeration_channel_type" */ +export type Registeration_Channel_TypeBusinesses_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** aggregated selection of "registeration_channel_type" */ +export type Registeration_Channel_Type_Aggregate = { + __typename?: "registeration_channel_type_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "registeration_channel_type" */ +export type Registeration_Channel_Type_Aggregate_Fields = { + __typename?: "registeration_channel_type_aggregate_fields"; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; +}; + +/** aggregate fields of "registeration_channel_type" */ +export type Registeration_Channel_Type_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "registeration_channel_type". All fields are combined with a logical 'AND'. */ +export type Registeration_Channel_Type_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + businesses?: InputMaybe; + businesses_aggregate?: InputMaybe; + channel?: InputMaybe; +}; + +/** unique or primary key constraints on table "registeration_channel_type" */ +export enum Registeration_Channel_Type_Constraint { + /** unique or primary key constraint on columns "channel" */ + RegisterationChannelPkey = "registeration_channel_pkey", +} + +export enum Registeration_Channel_Type_Enum { + Agent = "AGENT", + App = "APP", + Ussd = "USSD", +} + +/** Boolean expression to compare columns of type "registeration_channel_type_enum". All fields are combined with logical 'AND'. */ +export type Registeration_Channel_Type_Enum_Comparison_Exp = { + _eq?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +/** input type for inserting data into table "registeration_channel_type" */ +export type Registeration_Channel_Type_Insert_Input = { + businesses?: InputMaybe; + channel?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Registeration_Channel_Type_Max_Fields = { + __typename?: "registeration_channel_type_max_fields"; + channel?: Maybe; +}; + +/** aggregate min on columns */ +export type Registeration_Channel_Type_Min_Fields = { + __typename?: "registeration_channel_type_min_fields"; + channel?: Maybe; +}; + +/** response of any mutation on the table "registeration_channel_type" */ +export type Registeration_Channel_Type_Mutation_Response = { + __typename?: "registeration_channel_type_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** input type for inserting object relation for remote table "registeration_channel_type" */ +export type Registeration_Channel_Type_Obj_Rel_Insert_Input = { + data: Registeration_Channel_Type_Insert_Input; + /** upsert condition */ + on_conflict?: InputMaybe; +}; + +/** on_conflict condition type for table "registeration_channel_type" */ +export type Registeration_Channel_Type_On_Conflict = { + constraint: Registeration_Channel_Type_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "registeration_channel_type". */ +export type Registeration_Channel_Type_Order_By = { + businesses_aggregate?: InputMaybe; + channel?: InputMaybe; +}; + +/** primary key columns input for table: registeration_channel_type */ +export type Registeration_Channel_Type_Pk_Columns_Input = { + channel: Scalars["String"]["input"]; +}; + +/** select columns of table "registeration_channel_type" */ +export enum Registeration_Channel_Type_Select_Column { + /** column name */ + Channel = "channel", +} + +/** input type for updating data in table "registeration_channel_type" */ +export type Registeration_Channel_Type_Set_Input = { + channel?: InputMaybe; +}; + +/** Streaming cursor of the table "registeration_channel_type" */ +export type Registeration_Channel_Type_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Registeration_Channel_Type_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Registeration_Channel_Type_Stream_Cursor_Value_Input = { + channel?: InputMaybe; +}; + +/** update columns of table "registeration_channel_type" */ +export enum Registeration_Channel_Type_Update_Column { + /** column name */ + Channel = "channel", +} + +export type Registeration_Channel_Type_Updates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Registeration_Channel_Type_Bool_Exp; +}; + +/** columns and relationships of "reports" */ +export type Reports = { + __typename?: "reports"; + created_at: Scalars["timestamptz"]["output"]; + id: Scalars["uuid"]["output"]; +}; + +/** aggregated selection of "reports" */ +export type Reports_Aggregate = { + __typename?: "reports_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "reports" */ +export type Reports_Aggregate_Fields = { + __typename?: "reports_aggregate_fields"; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; +}; + +/** aggregate fields of "reports" */ +export type Reports_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "reports". All fields are combined with a logical 'AND'. */ +export type Reports_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + created_at?: InputMaybe; + id?: InputMaybe; +}; + +/** unique or primary key constraints on table "reports" */ +export enum Reports_Constraint { + /** unique or primary key constraint on columns "id" */ + ReportsPkey = "reports_pkey", +} + +/** input type for inserting data into table "reports" */ +export type Reports_Insert_Input = { + created_at?: InputMaybe; + id?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Reports_Max_Fields = { + __typename?: "reports_max_fields"; + created_at?: Maybe; + id?: Maybe; +}; + +/** aggregate min on columns */ +export type Reports_Min_Fields = { + __typename?: "reports_min_fields"; + created_at?: Maybe; + id?: Maybe; +}; + +/** response of any mutation on the table "reports" */ +export type Reports_Mutation_Response = { + __typename?: "reports_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** on_conflict condition type for table "reports" */ +export type Reports_On_Conflict = { + constraint: Reports_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "reports". */ +export type Reports_Order_By = { + created_at?: InputMaybe; + id?: InputMaybe; +}; + +/** primary key columns input for table: reports */ +export type Reports_Pk_Columns_Input = { + id: Scalars["uuid"]["input"]; +}; + +/** select columns of table "reports" */ +export enum Reports_Select_Column { + /** column name */ + CreatedAt = "created_at", + /** column name */ + Id = "id", +} + +/** input type for updating data in table "reports" */ +export type Reports_Set_Input = { + created_at?: InputMaybe; + id?: InputMaybe; +}; + +/** Streaming cursor of the table "reports" */ +export type Reports_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Reports_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Reports_Stream_Cursor_Value_Input = { + created_at?: InputMaybe; + id?: InputMaybe; +}; + +/** update columns of table "reports" */ +export enum Reports_Update_Column { + /** column name */ + CreatedAt = "created_at", + /** column name */ + Id = "id", +} + +export type Reports_Updates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Reports_Bool_Exp; +}; + +/** columns and relationships of "ride_status" */ +export type Ride_Status = { + __typename?: "ride_status"; + /** An array relationship */ + courier_rides: Array; + /** An aggregate relationship */ + courier_rides_aggregate: Courier_Rides_Aggregate; + status: Scalars["String"]["output"]; +}; + +/** columns and relationships of "ride_status" */ +export type Ride_StatusCourier_RidesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** columns and relationships of "ride_status" */ +export type Ride_StatusCourier_Rides_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** aggregated selection of "ride_status" */ +export type Ride_Status_Aggregate = { + __typename?: "ride_status_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "ride_status" */ +export type Ride_Status_Aggregate_Fields = { + __typename?: "ride_status_aggregate_fields"; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; +}; + +/** aggregate fields of "ride_status" */ +export type Ride_Status_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "ride_status". All fields are combined with a logical 'AND'. */ +export type Ride_Status_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + courier_rides?: InputMaybe; + courier_rides_aggregate?: InputMaybe; + status?: InputMaybe; +}; + +/** unique or primary key constraints on table "ride_status" */ +export enum Ride_Status_Constraint { + /** unique or primary key constraint on columns "status" */ + RideStatusPkey = "ride_status_pkey", +} + +export enum Ride_Status_Enum { + Active = "Active", + Inactive = "Inactive", + Maintenance = "Maintenance", +} + +/** Boolean expression to compare columns of type "ride_status_enum". All fields are combined with logical 'AND'. */ +export type Ride_Status_Enum_Comparison_Exp = { + _eq?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +/** input type for inserting data into table "ride_status" */ +export type Ride_Status_Insert_Input = { + courier_rides?: InputMaybe; + status?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Ride_Status_Max_Fields = { + __typename?: "ride_status_max_fields"; + status?: Maybe; +}; + +/** aggregate min on columns */ +export type Ride_Status_Min_Fields = { + __typename?: "ride_status_min_fields"; + status?: Maybe; +}; + +/** response of any mutation on the table "ride_status" */ +export type Ride_Status_Mutation_Response = { + __typename?: "ride_status_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** input type for inserting object relation for remote table "ride_status" */ +export type Ride_Status_Obj_Rel_Insert_Input = { + data: Ride_Status_Insert_Input; + /** upsert condition */ + on_conflict?: InputMaybe; +}; + +/** on_conflict condition type for table "ride_status" */ +export type Ride_Status_On_Conflict = { + constraint: Ride_Status_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "ride_status". */ +export type Ride_Status_Order_By = { + courier_rides_aggregate?: InputMaybe; + status?: InputMaybe; +}; + +/** primary key columns input for table: ride_status */ +export type Ride_Status_Pk_Columns_Input = { + status: Scalars["String"]["input"]; +}; + +/** select columns of table "ride_status" */ +export enum Ride_Status_Select_Column { + /** column name */ + Status = "status", +} + +/** input type for updating data in table "ride_status" */ +export type Ride_Status_Set_Input = { + status?: InputMaybe; +}; + +/** Streaming cursor of the table "ride_status" */ +export type Ride_Status_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Ride_Status_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Ride_Status_Stream_Cursor_Value_Input = { + status?: InputMaybe; +}; + +/** update columns of table "ride_status" */ +export enum Ride_Status_Update_Column { + /** column name */ + Status = "status", +} + +export type Ride_Status_Updates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Ride_Status_Bool_Exp; +}; + +/** columns and relationships of "ride_type" */ +export type Ride_Type = { + __typename?: "ride_type"; + /** An array relationship */ + courier_rides: Array; + /** An aggregate relationship */ + courier_rides_aggregate: Courier_Rides_Aggregate; + type: Scalars["String"]["output"]; +}; + +/** columns and relationships of "ride_type" */ +export type Ride_TypeCourier_RidesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** columns and relationships of "ride_type" */ +export type Ride_TypeCourier_Rides_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** aggregated selection of "ride_type" */ +export type Ride_Type_Aggregate = { + __typename?: "ride_type_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "ride_type" */ +export type Ride_Type_Aggregate_Fields = { + __typename?: "ride_type_aggregate_fields"; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; +}; + +/** aggregate fields of "ride_type" */ +export type Ride_Type_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "ride_type". All fields are combined with a logical 'AND'. */ +export type Ride_Type_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + courier_rides?: InputMaybe; + courier_rides_aggregate?: InputMaybe; + type?: InputMaybe; +}; + +/** unique or primary key constraints on table "ride_type" */ +export enum Ride_Type_Constraint { + /** unique or primary key constraint on columns "type" */ + RideTypePkey = "ride_type_pkey", +} + +export enum Ride_Type_Enum { + Bike = "Bike", + Car = "Car", +} + +/** Boolean expression to compare columns of type "ride_type_enum". All fields are combined with logical 'AND'. */ +export type Ride_Type_Enum_Comparison_Exp = { + _eq?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +/** input type for inserting data into table "ride_type" */ +export type Ride_Type_Insert_Input = { + courier_rides?: InputMaybe; + type?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Ride_Type_Max_Fields = { + __typename?: "ride_type_max_fields"; + type?: Maybe; +}; + +/** aggregate min on columns */ +export type Ride_Type_Min_Fields = { + __typename?: "ride_type_min_fields"; + type?: Maybe; +}; + +/** response of any mutation on the table "ride_type" */ +export type Ride_Type_Mutation_Response = { + __typename?: "ride_type_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** input type for inserting object relation for remote table "ride_type" */ +export type Ride_Type_Obj_Rel_Insert_Input = { + data: Ride_Type_Insert_Input; + /** upsert condition */ + on_conflict?: InputMaybe; +}; + +/** on_conflict condition type for table "ride_type" */ +export type Ride_Type_On_Conflict = { + constraint: Ride_Type_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "ride_type". */ +export type Ride_Type_Order_By = { + courier_rides_aggregate?: InputMaybe; + type?: InputMaybe; +}; + +/** primary key columns input for table: ride_type */ +export type Ride_Type_Pk_Columns_Input = { + type: Scalars["String"]["input"]; +}; + +/** select columns of table "ride_type" */ +export enum Ride_Type_Select_Column { + /** column name */ + Type = "type", +} + +/** input type for updating data in table "ride_type" */ +export type Ride_Type_Set_Input = { + type?: InputMaybe; +}; + +/** Streaming cursor of the table "ride_type" */ +export type Ride_Type_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Ride_Type_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Ride_Type_Stream_Cursor_Value_Input = { + type?: InputMaybe; +}; + +/** update columns of table "ride_type" */ +export enum Ride_Type_Update_Column { + /** column name */ + Type = "type", +} + +export type Ride_Type_Updates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Ride_Type_Bool_Exp; +}; + +/** columns and relationships of "spatial_ref_sys" */ +export type Spatial_Ref_Sys = { + __typename?: "spatial_ref_sys"; + auth_name?: Maybe; + auth_srid?: Maybe; + proj4text?: Maybe; + srid: Scalars["Int"]["output"]; + srtext?: Maybe; +}; + +/** aggregated selection of "spatial_ref_sys" */ +export type Spatial_Ref_Sys_Aggregate = { + __typename?: "spatial_ref_sys_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "spatial_ref_sys" */ +export type Spatial_Ref_Sys_Aggregate_Fields = { + __typename?: "spatial_ref_sys_aggregate_fields"; + avg?: Maybe; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; +}; + +/** aggregate fields of "spatial_ref_sys" */ +export type Spatial_Ref_Sys_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** aggregate avg on columns */ +export type Spatial_Ref_Sys_Avg_Fields = { + __typename?: "spatial_ref_sys_avg_fields"; + auth_srid?: Maybe; + srid?: Maybe; +}; + +/** Boolean expression to filter rows from the table "spatial_ref_sys". All fields are combined with a logical 'AND'. */ +export type Spatial_Ref_Sys_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + auth_name?: InputMaybe; + auth_srid?: InputMaybe; + proj4text?: InputMaybe; + srid?: InputMaybe; + srtext?: InputMaybe; +}; + +/** unique or primary key constraints on table "spatial_ref_sys" */ +export enum Spatial_Ref_Sys_Constraint { + /** unique or primary key constraint on columns "srid" */ + SpatialRefSysPkey = "spatial_ref_sys_pkey", +} + +/** input type for incrementing numeric columns in table "spatial_ref_sys" */ +export type Spatial_Ref_Sys_Inc_Input = { + auth_srid?: InputMaybe; + srid?: InputMaybe; +}; + +/** input type for inserting data into table "spatial_ref_sys" */ +export type Spatial_Ref_Sys_Insert_Input = { + auth_name?: InputMaybe; + auth_srid?: InputMaybe; + proj4text?: InputMaybe; + srid?: InputMaybe; + srtext?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Spatial_Ref_Sys_Max_Fields = { + __typename?: "spatial_ref_sys_max_fields"; + auth_name?: Maybe; + auth_srid?: Maybe; + proj4text?: Maybe; + srid?: Maybe; + srtext?: Maybe; +}; + +/** aggregate min on columns */ +export type Spatial_Ref_Sys_Min_Fields = { + __typename?: "spatial_ref_sys_min_fields"; + auth_name?: Maybe; + auth_srid?: Maybe; + proj4text?: Maybe; + srid?: Maybe; + srtext?: Maybe; +}; + +/** response of any mutation on the table "spatial_ref_sys" */ +export type Spatial_Ref_Sys_Mutation_Response = { + __typename?: "spatial_ref_sys_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** on_conflict condition type for table "spatial_ref_sys" */ +export type Spatial_Ref_Sys_On_Conflict = { + constraint: Spatial_Ref_Sys_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "spatial_ref_sys". */ +export type Spatial_Ref_Sys_Order_By = { + auth_name?: InputMaybe; + auth_srid?: InputMaybe; + proj4text?: InputMaybe; + srid?: InputMaybe; + srtext?: InputMaybe; +}; + +/** primary key columns input for table: spatial_ref_sys */ +export type Spatial_Ref_Sys_Pk_Columns_Input = { + srid: Scalars["Int"]["input"]; +}; + +/** select columns of table "spatial_ref_sys" */ +export enum Spatial_Ref_Sys_Select_Column { + /** column name */ + AuthName = "auth_name", + /** column name */ + AuthSrid = "auth_srid", + /** column name */ + Proj4text = "proj4text", + /** column name */ + Srid = "srid", + /** column name */ + Srtext = "srtext", +} + +/** input type for updating data in table "spatial_ref_sys" */ +export type Spatial_Ref_Sys_Set_Input = { + auth_name?: InputMaybe; + auth_srid?: InputMaybe; + proj4text?: InputMaybe; + srid?: InputMaybe; + srtext?: InputMaybe; +}; + +/** aggregate stddev on columns */ +export type Spatial_Ref_Sys_Stddev_Fields = { + __typename?: "spatial_ref_sys_stddev_fields"; + auth_srid?: Maybe; + srid?: Maybe; +}; + +/** aggregate stddev_pop on columns */ +export type Spatial_Ref_Sys_Stddev_Pop_Fields = { + __typename?: "spatial_ref_sys_stddev_pop_fields"; + auth_srid?: Maybe; + srid?: Maybe; +}; + +/** aggregate stddev_samp on columns */ +export type Spatial_Ref_Sys_Stddev_Samp_Fields = { + __typename?: "spatial_ref_sys_stddev_samp_fields"; + auth_srid?: Maybe; + srid?: Maybe; +}; + +/** Streaming cursor of the table "spatial_ref_sys" */ +export type Spatial_Ref_Sys_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Spatial_Ref_Sys_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Spatial_Ref_Sys_Stream_Cursor_Value_Input = { + auth_name?: InputMaybe; + auth_srid?: InputMaybe; + proj4text?: InputMaybe; + srid?: InputMaybe; + srtext?: InputMaybe; +}; + +/** aggregate sum on columns */ +export type Spatial_Ref_Sys_Sum_Fields = { + __typename?: "spatial_ref_sys_sum_fields"; + auth_srid?: Maybe; + srid?: Maybe; +}; + +/** update columns of table "spatial_ref_sys" */ +export enum Spatial_Ref_Sys_Update_Column { + /** column name */ + AuthName = "auth_name", + /** column name */ + AuthSrid = "auth_srid", + /** column name */ + Proj4text = "proj4text", + /** column name */ + Srid = "srid", + /** column name */ + Srtext = "srtext", +} + +export type Spatial_Ref_Sys_Updates = { + /** increments the numeric columns with given value of the filtered values */ + _inc?: InputMaybe; + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Spatial_Ref_Sys_Bool_Exp; +}; + +/** aggregate var_pop on columns */ +export type Spatial_Ref_Sys_Var_Pop_Fields = { + __typename?: "spatial_ref_sys_var_pop_fields"; + auth_srid?: Maybe; + srid?: Maybe; +}; + +/** aggregate var_samp on columns */ +export type Spatial_Ref_Sys_Var_Samp_Fields = { + __typename?: "spatial_ref_sys_var_samp_fields"; + auth_srid?: Maybe; + srid?: Maybe; +}; + +/** aggregate variance on columns */ +export type Spatial_Ref_Sys_Variance_Fields = { + __typename?: "spatial_ref_sys_variance_fields"; + auth_srid?: Maybe; + srid?: Maybe; +}; + +export type Subscription_Root = { + __typename?: "subscription_root"; + /** An array relationship */ + addresses: Array; + /** An aggregate relationship */ + addresses_aggregate: Addresses_Aggregate; + /** fetch data from the table: "addresses" using primary key columns */ + addresses_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "addresses" */ + addresses_stream: Array; + /** fetch data from the table: "agent" */ + agent: Array; + /** fetch aggregated fields from the table: "agent" */ + agent_aggregate: Agent_Aggregate; + /** fetch data from the table: "agent" using primary key columns */ + agent_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "agent" */ + agent_stream: Array; + /** fetch data from the table: "agent_type" */ + agent_type: Array; + /** fetch aggregated fields from the table: "agent_type" */ + agent_type_aggregate: Agent_Type_Aggregate; + /** fetch data from the table: "agent_type" using primary key columns */ + agent_type_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "agent_type" */ + agent_type_stream: Array; + /** fetch data from the table: "business" */ + business: Array; + /** fetch aggregated fields from the table: "business" */ + business_aggregate: Business_Aggregate; + /** fetch data from the table: "business" using primary key columns */ + business_by_pk?: Maybe; + /** fetch data from the table: "business_sector" */ + business_sector: Array; + /** fetch aggregated fields from the table: "business_sector" */ + business_sector_aggregate: Business_Sector_Aggregate; + /** fetch data from the table: "business_sector" using primary key columns */ + business_sector_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "business_sector" */ + business_sector_stream: Array; + /** fetch data from the table in a streaming manner: "business" */ + business_stream: Array; + /** fetch data from the table: "business_type" */ + business_type: Array; + /** fetch aggregated fields from the table: "business_type" */ + business_type_aggregate: Business_Type_Aggregate; + /** fetch data from the table: "business_type" using primary key columns */ + business_type_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "business_type" */ + business_type_stream: Array; + /** fetch data from the table: "contact_details" */ + contact_details: Array; + /** fetch aggregated fields from the table: "contact_details" */ + contact_details_aggregate: Contact_Details_Aggregate; + /** fetch data from the table: "contact_details" using primary key columns */ + contact_details_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "contact_details" */ + contact_details_stream: Array; + /** An array relationship */ + courier_rides: Array; + /** An aggregate relationship */ + courier_rides_aggregate: Courier_Rides_Aggregate; + /** fetch data from the table: "courier_rides" using primary key columns */ + courier_rides_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "courier_rides" */ + courier_rides_stream: Array; + /** fetch data from the table: "couriers" */ + couriers: Array; + /** fetch aggregated fields from the table: "couriers" */ + couriers_aggregate: Couriers_Aggregate; + /** fetch data from the table: "couriers" using primary key columns */ + couriers_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "couriers" */ + couriers_stream: Array; + /** fetch data from the table: "delivery" */ + delivery: Array; + /** fetch aggregated fields from the table: "delivery" */ + delivery_aggregate: Delivery_Aggregate; + /** fetch data from the table: "delivery" using primary key columns */ + delivery_by_pk?: Maybe; + /** fetch data from the table: "delivery_personnel" */ + delivery_personnel: Array; + /** fetch aggregated fields from the table: "delivery_personnel" */ + delivery_personnel_aggregate: Delivery_Personnel_Aggregate; + /** fetch data from the table: "delivery_personnel" using primary key columns */ + delivery_personnel_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "delivery_personnel" */ + delivery_personnel_stream: Array; + /** fetch data from the table: "delivery_request" */ + delivery_request: Array; + /** fetch aggregated fields from the table: "delivery_request" */ + delivery_request_aggregate: Delivery_Request_Aggregate; + /** fetch data from the table: "delivery_request" using primary key columns */ + delivery_request_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "delivery_request" */ + delivery_request_stream: Array; + /** fetch data from the table: "delivery_status" */ + delivery_status: Array; + /** fetch aggregated fields from the table: "delivery_status" */ + delivery_status_aggregate: Delivery_Status_Aggregate; + /** fetch data from the table: "delivery_status" using primary key columns */ + delivery_status_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "delivery_status" */ + delivery_status_stream: Array; + /** fetch data from the table in a streaming manner: "delivery" */ + delivery_stream: Array; + /** fetch data from the table: "geography_columns" */ + geography_columns: Array; + /** fetch aggregated fields from the table: "geography_columns" */ + geography_columns_aggregate: Geography_Columns_Aggregate; + /** fetch data from the table in a streaming manner: "geography_columns" */ + geography_columns_stream: Array; + /** fetch data from the table: "geometry_columns" */ + geometry_columns: Array; + /** fetch aggregated fields from the table: "geometry_columns" */ + geometry_columns_aggregate: Geometry_Columns_Aggregate; + /** fetch data from the table in a streaming manner: "geometry_columns" */ + geometry_columns_stream: Array; + /** Validate and Process Orders */ + initOrder?: Maybe; + /** fetch data from the table: "locations" */ + locations: Array; + /** fetch aggregated fields from the table: "locations" */ + locations_aggregate: Locations_Aggregate; + /** fetch data from the table: "locations" using primary key columns */ + locations_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "locations" */ + locations_stream: Array; + /** fetch data from the table: "order_fulfillment_type" */ + order_fulfillment_type: Array; + /** fetch aggregated fields from the table: "order_fulfillment_type" */ + order_fulfillment_type_aggregate: Order_Fulfillment_Type_Aggregate; + /** fetch data from the table: "order_fulfillment_type" using primary key columns */ + order_fulfillment_type_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "order_fulfillment_type" */ + order_fulfillment_type_stream: Array; + /** fetch data from the table: "order_item" */ + order_item: Array; + /** fetch aggregated fields from the table: "order_item" */ + order_item_aggregate: Order_Item_Aggregate; + /** fetch data from the table: "order_item" using primary key columns */ + order_item_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "order_item" */ + order_item_stream: Array; + /** fetch data from the table: "order_preference" */ + order_preference: Array; + /** fetch aggregated fields from the table: "order_preference" */ + order_preference_aggregate: Order_Preference_Aggregate; + /** fetch data from the table: "order_preference" using primary key columns */ + order_preference_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "order_preference" */ + order_preference_stream: Array; + /** fetch data from the table: "order_status" */ + order_status: Array; + /** fetch aggregated fields from the table: "order_status" */ + order_status_aggregate: Order_Status_Aggregate; + /** fetch data from the table: "order_status" using primary key columns */ + order_status_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "order_status" */ + order_status_stream: Array; + /** fetch data from the table: "order_supplier" */ + order_supplier: Array; + /** fetch aggregated fields from the table: "order_supplier" */ + order_supplier_aggregate: Order_Supplier_Aggregate; + /** fetch data from the table: "order_supplier" using primary key columns */ + order_supplier_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "order_supplier" */ + order_supplier_stream: Array; + /** An array relationship */ + orders: Array; + /** An aggregate relationship */ + orders_aggregate: Orders_Aggregate; + /** fetch data from the table: "orders" using primary key columns */ + orders_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "orders" */ + orders_stream: Array; + /** An array relationship */ + products: Array; + /** An aggregate relationship */ + products_aggregate: Products_Aggregate; + /** fetch data from the table: "products" using primary key columns */ + products_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "products" */ + products_stream: Array; + /** fetch data from the table: "registeration_channel_type" */ + registeration_channel_type: Array; + /** fetch aggregated fields from the table: "registeration_channel_type" */ + registeration_channel_type_aggregate: Registeration_Channel_Type_Aggregate; + /** fetch data from the table: "registeration_channel_type" using primary key columns */ + registeration_channel_type_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "registeration_channel_type" */ + registeration_channel_type_stream: Array; + /** fetch data from the table: "reports" */ + reports: Array; + /** fetch aggregated fields from the table: "reports" */ + reports_aggregate: Reports_Aggregate; + /** fetch data from the table: "reports" using primary key columns */ + reports_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "reports" */ + reports_stream: Array; + /** fetch data from the table: "ride_status" */ + ride_status: Array; + /** fetch aggregated fields from the table: "ride_status" */ + ride_status_aggregate: Ride_Status_Aggregate; + /** fetch data from the table: "ride_status" using primary key columns */ + ride_status_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "ride_status" */ + ride_status_stream: Array; + /** fetch data from the table: "ride_type" */ + ride_type: Array; + /** fetch aggregated fields from the table: "ride_type" */ + ride_type_aggregate: Ride_Type_Aggregate; + /** fetch data from the table: "ride_type" using primary key columns */ + ride_type_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "ride_type" */ + ride_type_stream: Array; + /** fetch data from the table: "spatial_ref_sys" */ + spatial_ref_sys: Array; + /** fetch aggregated fields from the table: "spatial_ref_sys" */ + spatial_ref_sys_aggregate: Spatial_Ref_Sys_Aggregate; + /** fetch data from the table: "spatial_ref_sys" using primary key columns */ + spatial_ref_sys_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "spatial_ref_sys" */ + spatial_ref_sys_stream: Array; + /** fetch data from the table: "supplier_categories_enum" */ + supplier_categories_enum: Array; + /** fetch aggregated fields from the table: "supplier_categories_enum" */ + supplier_categories_enum_aggregate: Supplier_Categories_Enum_Aggregate; + /** fetch data from the table: "supplier_categories_enum" using primary key columns */ + supplier_categories_enum_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "supplier_categories_enum" */ + supplier_categories_enum_stream: Array; + /** fetch data from the table: "supplier_service_zone" */ + supplier_service_zone: Array; + /** fetch aggregated fields from the table: "supplier_service_zone" */ + supplier_service_zone_aggregate: Supplier_Service_Zone_Aggregate; + /** fetch data from the table: "supplier_service_zone" using primary key columns */ + supplier_service_zone_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "supplier_service_zone" */ + supplier_service_zone_stream: Array; + /** fetch data from the table: "suppliers" */ + suppliers: Array; + /** fetch aggregated fields from the table: "suppliers" */ + suppliers_aggregate: Suppliers_Aggregate; + /** fetch data from the table: "suppliers" using primary key columns */ + suppliers_by_pk?: Maybe; + /** An array relationship */ + suppliers_categories: Array; + /** An aggregate relationship */ + suppliers_categories_aggregate: Suppliers_Categories_Aggregate; + /** fetch data from the table: "suppliers_categories" using primary key columns */ + suppliers_categories_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "suppliers_categories" */ + suppliers_categories_stream: Array; + /** fetch data from the table in a streaming manner: "suppliers" */ + suppliers_stream: Array; + /** fetch data from the table: "user_role" */ + user_role: Array; + /** fetch aggregated fields from the table: "user_role" */ + user_role_aggregate: User_Role_Aggregate; + /** fetch data from the table: "user_role" using primary key columns */ + user_role_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "user_role" */ + user_role_stream: Array; + /** An array relationship */ + users: Array; + /** An aggregate relationship */ + users_aggregate: Users_Aggregate; + /** fetch data from the table: "users" using primary key columns */ + users_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "users" */ + users_stream: Array; +}; + +export type Subscription_RootAddressesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootAddresses_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootAddresses_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Subscription_RootAddresses_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootAgentArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootAgent_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootAgent_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Subscription_RootAgent_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootAgent_TypeArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootAgent_Type_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootAgent_Type_By_PkArgs = { + type: Scalars["String"]["input"]; +}; + +export type Subscription_RootAgent_Type_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootBusinessArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootBusiness_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootBusiness_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Subscription_RootBusiness_SectorArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootBusiness_Sector_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootBusiness_Sector_By_PkArgs = { + text: Scalars["String"]["input"]; +}; + +export type Subscription_RootBusiness_Sector_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootBusiness_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootBusiness_TypeArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootBusiness_Type_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootBusiness_Type_By_PkArgs = { + type: Scalars["String"]["input"]; +}; + +export type Subscription_RootBusiness_Type_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootContact_DetailsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootContact_Details_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootContact_Details_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Subscription_RootContact_Details_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootCourier_RidesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootCourier_Rides_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootCourier_Rides_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Subscription_RootCourier_Rides_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootCouriersArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootCouriers_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootCouriers_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Subscription_RootCouriers_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootDeliveryArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootDelivery_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootDelivery_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Subscription_RootDelivery_PersonnelArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootDelivery_Personnel_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootDelivery_Personnel_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Subscription_RootDelivery_Personnel_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootDelivery_RequestArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootDelivery_Request_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootDelivery_Request_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Subscription_RootDelivery_Request_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootDelivery_StatusArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootDelivery_Status_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootDelivery_Status_By_PkArgs = { + status: Scalars["String"]["input"]; +}; + +export type Subscription_RootDelivery_Status_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootDelivery_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootGeography_ColumnsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootGeography_Columns_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootGeography_Columns_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootGeometry_ColumnsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootGeometry_Columns_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootGeometry_Columns_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootInitOrderArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Subscription_RootLocationsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootLocations_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootLocations_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Subscription_RootLocations_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootOrder_Fulfillment_TypeArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootOrder_Fulfillment_Type_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootOrder_Fulfillment_Type_By_PkArgs = { + fulfillment_type: Scalars["String"]["input"]; +}; + +export type Subscription_RootOrder_Fulfillment_Type_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootOrder_ItemArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootOrder_Item_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootOrder_Item_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Subscription_RootOrder_Item_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootOrder_PreferenceArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootOrder_Preference_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootOrder_Preference_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Subscription_RootOrder_Preference_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootOrder_StatusArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootOrder_Status_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootOrder_Status_By_PkArgs = { + status: Scalars["String"]["input"]; +}; + +export type Subscription_RootOrder_Status_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootOrder_SupplierArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootOrder_Supplier_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootOrder_Supplier_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Subscription_RootOrder_Supplier_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootOrdersArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootOrders_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootOrders_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Subscription_RootOrders_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootProductsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootProducts_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootProducts_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Subscription_RootProducts_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootRegisteration_Channel_TypeArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootRegisteration_Channel_Type_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootRegisteration_Channel_Type_By_PkArgs = { + channel: Scalars["String"]["input"]; +}; + +export type Subscription_RootRegisteration_Channel_Type_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootReportsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootReports_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootReports_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Subscription_RootReports_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootRide_StatusArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootRide_Status_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootRide_Status_By_PkArgs = { + status: Scalars["String"]["input"]; +}; + +export type Subscription_RootRide_Status_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootRide_TypeArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootRide_Type_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootRide_Type_By_PkArgs = { + type: Scalars["String"]["input"]; +}; + +export type Subscription_RootRide_Type_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootSpatial_Ref_SysArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootSpatial_Ref_Sys_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootSpatial_Ref_Sys_By_PkArgs = { + srid: Scalars["Int"]["input"]; +}; + +export type Subscription_RootSpatial_Ref_Sys_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootSupplier_Categories_EnumArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootSupplier_Categories_Enum_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootSupplier_Categories_Enum_By_PkArgs = { + name: Scalars["String"]["input"]; +}; + +export type Subscription_RootSupplier_Categories_Enum_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootSupplier_Service_ZoneArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootSupplier_Service_Zone_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootSupplier_Service_Zone_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Subscription_RootSupplier_Service_Zone_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootSuppliersArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootSuppliers_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootSuppliers_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Subscription_RootSuppliers_CategoriesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootSuppliers_Categories_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootSuppliers_Categories_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Subscription_RootSuppliers_Categories_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootSuppliers_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootUser_RoleArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootUser_Role_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootUser_Role_By_PkArgs = { + role: Scalars["String"]["input"]; +}; + +export type Subscription_RootUser_Role_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootUsersArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootUsers_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootUsers_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Subscription_RootUsers_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +/** columns and relationships of "supplier_categories_enum" */ +export type Supplier_Categories_Enum = { + __typename?: "supplier_categories_enum"; + description: Scalars["String"]["output"]; + name: Scalars["String"]["output"]; + /** An array relationship */ + suppliers_categories: Array; + /** An aggregate relationship */ + suppliers_categories_aggregate: Suppliers_Categories_Aggregate; +}; + +/** columns and relationships of "supplier_categories_enum" */ +export type Supplier_Categories_EnumSuppliers_CategoriesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** columns and relationships of "supplier_categories_enum" */ +export type Supplier_Categories_EnumSuppliers_Categories_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** aggregated selection of "supplier_categories_enum" */ +export type Supplier_Categories_Enum_Aggregate = { + __typename?: "supplier_categories_enum_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "supplier_categories_enum" */ +export type Supplier_Categories_Enum_Aggregate_Fields = { + __typename?: "supplier_categories_enum_aggregate_fields"; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; +}; + +/** aggregate fields of "supplier_categories_enum" */ +export type Supplier_Categories_Enum_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "supplier_categories_enum". All fields are combined with a logical 'AND'. */ +export type Supplier_Categories_Enum_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + description?: InputMaybe; + name?: InputMaybe; + suppliers_categories?: InputMaybe; + suppliers_categories_aggregate?: InputMaybe; +}; + +/** unique or primary key constraints on table "supplier_categories_enum" */ +export enum Supplier_Categories_Enum_Constraint { + /** unique or primary key constraint on columns "name" */ + SupplierCategoriesEnumPkey = "supplier_categories_enum_pkey", +} + +export enum Supplier_Categories_Enum_Enum { + /** Tools, seeds, and equipment for farmers, supporting agricultural productivity and local food production. */ + AgriculturalSupplies = "agricultural_supplies", + /** Cosmetics, skincare products, grooming essentials, and personal care items, supporting local beauty entrepreneurs and promoting self-care. */ + BeautyAndCare = "beauty_and_care", + /** Apparel, fabrics, and textiles, empowering local tailors and designers, fostering the textile industry */ + ClothingAndTextiles = "clothing_and_textiles", + /** Essential materials like cement, steel, and bricks for construction projects, fostering infrastructure development. */ + ConstructionMaterials = "construction_materials", + /** Books, educational tools, and e-learning resources, promoting education and literacy in the community. */ + EducationalMaterials = "educational_materials", + /** Electronic devices, wiring, and appliances, promoting technological access and local electronic businesses */ + ElectronicsAppliances = "electronics_appliances", + /** Solar panels, wind turbines, and energy-efficient appliances, promoting sustainable energy use and reducing the carbon footprint. */ + EnergySolutions = "energy_solutions", + /** Fresh produce, packaged foods, beverages, and culinary supplies, supporting local agriculture and culinary enterprises. */ + FoodAndBeverages = "food_and_beverages", + /** Medical supplies, safety equipment, and personal protective gear, ensuring the well-being of workers and communities. */ + HealthAndSafety = "health_and_safety", + /** Furniture, home appliances, decor items, and household essentials, improving living standards and supporting local artisans. */ + HomeAndLiving = "home_and_living", + /** Stationery, office materials, and supplies, supporting administrative functions of businesses and organizations. */ + OfficeSupplies = "office_supplies", + /** Vehicles, spare parts, and transportation services, enhancing mobility and logistics for businesses and individuals. */ + TransportationSolutions = "transportation_solutions", + /** Recycling equipment, waste bins, and eco-friendly products, encouraging responsible waste management practices. */ + WasteAndRecycling = "waste_and_recycling", + /** Water filters, sanitation kits, and plumbing supplies, ensuring access to clean water and promoting hygiene. */ + WaterAndSanitation = "water_and_sanitation", +} + +/** Boolean expression to compare columns of type "supplier_categories_enum_enum". All fields are combined with logical 'AND'. */ +export type Supplier_Categories_Enum_Enum_Comparison_Exp = { + _eq?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +/** input type for inserting data into table "supplier_categories_enum" */ +export type Supplier_Categories_Enum_Insert_Input = { + description?: InputMaybe; + name?: InputMaybe; + suppliers_categories?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Supplier_Categories_Enum_Max_Fields = { + __typename?: "supplier_categories_enum_max_fields"; + description?: Maybe; + name?: Maybe; +}; + +/** aggregate min on columns */ +export type Supplier_Categories_Enum_Min_Fields = { + __typename?: "supplier_categories_enum_min_fields"; + description?: Maybe; + name?: Maybe; +}; + +/** response of any mutation on the table "supplier_categories_enum" */ +export type Supplier_Categories_Enum_Mutation_Response = { + __typename?: "supplier_categories_enum_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** input type for inserting object relation for remote table "supplier_categories_enum" */ +export type Supplier_Categories_Enum_Obj_Rel_Insert_Input = { + data: Supplier_Categories_Enum_Insert_Input; + /** upsert condition */ + on_conflict?: InputMaybe; +}; + +/** on_conflict condition type for table "supplier_categories_enum" */ +export type Supplier_Categories_Enum_On_Conflict = { + constraint: Supplier_Categories_Enum_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "supplier_categories_enum". */ +export type Supplier_Categories_Enum_Order_By = { + description?: InputMaybe; + name?: InputMaybe; + suppliers_categories_aggregate?: InputMaybe; +}; + +/** primary key columns input for table: supplier_categories_enum */ +export type Supplier_Categories_Enum_Pk_Columns_Input = { + name: Scalars["String"]["input"]; +}; + +/** select columns of table "supplier_categories_enum" */ +export enum Supplier_Categories_Enum_Select_Column { + /** column name */ + Description = "description", + /** column name */ + Name = "name", +} + +/** input type for updating data in table "supplier_categories_enum" */ +export type Supplier_Categories_Enum_Set_Input = { + description?: InputMaybe; + name?: InputMaybe; +}; + +/** Streaming cursor of the table "supplier_categories_enum" */ +export type Supplier_Categories_Enum_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Supplier_Categories_Enum_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Supplier_Categories_Enum_Stream_Cursor_Value_Input = { + description?: InputMaybe; + name?: InputMaybe; +}; + +/** update columns of table "supplier_categories_enum" */ +export enum Supplier_Categories_Enum_Update_Column { + /** column name */ + Description = "description", + /** column name */ + Name = "name", +} + +export type Supplier_Categories_Enum_Updates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Supplier_Categories_Enum_Bool_Exp; +}; + +/** columns and relationships of "supplier_service_zone" */ +export type Supplier_Service_Zone = { + __typename?: "supplier_service_zone"; + coverage_area_radius: Scalars["Int"]["output"]; + created_at: Scalars["timestamptz"]["output"]; + id: Scalars["uuid"]["output"]; + location_id: Scalars["uuid"]["output"]; + supplier_id: Scalars["uuid"]["output"]; +}; + +/** aggregated selection of "supplier_service_zone" */ +export type Supplier_Service_Zone_Aggregate = { + __typename?: "supplier_service_zone_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +export type Supplier_Service_Zone_Aggregate_Bool_Exp = { + count?: InputMaybe; +}; + +export type Supplier_Service_Zone_Aggregate_Bool_Exp_Count = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Int_Comparison_Exp; +}; + +/** aggregate fields of "supplier_service_zone" */ +export type Supplier_Service_Zone_Aggregate_Fields = { + __typename?: "supplier_service_zone_aggregate_fields"; + avg?: Maybe; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; +}; + +/** aggregate fields of "supplier_service_zone" */ +export type Supplier_Service_Zone_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** order by aggregate values of table "supplier_service_zone" */ +export type Supplier_Service_Zone_Aggregate_Order_By = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; + +/** input type for inserting array relation for remote table "supplier_service_zone" */ +export type Supplier_Service_Zone_Arr_Rel_Insert_Input = { + data: Array; + /** upsert condition */ + on_conflict?: InputMaybe; +}; + +/** aggregate avg on columns */ +export type Supplier_Service_Zone_Avg_Fields = { + __typename?: "supplier_service_zone_avg_fields"; + coverage_area_radius?: Maybe; +}; + +/** order by avg() on columns of table "supplier_service_zone" */ +export type Supplier_Service_Zone_Avg_Order_By = { + coverage_area_radius?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "supplier_service_zone". All fields are combined with a logical 'AND'. */ +export type Supplier_Service_Zone_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + coverage_area_radius?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + location_id?: InputMaybe; + supplier_id?: InputMaybe; +}; + +/** unique or primary key constraints on table "supplier_service_zone" */ +export enum Supplier_Service_Zone_Constraint { + /** unique or primary key constraint on columns "id" */ + SupplierServiceZonePkey = "supplier_service_zone_pkey", +} + +/** input type for incrementing numeric columns in table "supplier_service_zone" */ +export type Supplier_Service_Zone_Inc_Input = { + coverage_area_radius?: InputMaybe; +}; + +/** input type for inserting data into table "supplier_service_zone" */ +export type Supplier_Service_Zone_Insert_Input = { + coverage_area_radius?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + location_id?: InputMaybe; + supplier_id?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Supplier_Service_Zone_Max_Fields = { + __typename?: "supplier_service_zone_max_fields"; + coverage_area_radius?: Maybe; + created_at?: Maybe; + id?: Maybe; + location_id?: Maybe; + supplier_id?: Maybe; +}; + +/** order by max() on columns of table "supplier_service_zone" */ +export type Supplier_Service_Zone_Max_Order_By = { + coverage_area_radius?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + location_id?: InputMaybe; + supplier_id?: InputMaybe; +}; + +/** aggregate min on columns */ +export type Supplier_Service_Zone_Min_Fields = { + __typename?: "supplier_service_zone_min_fields"; + coverage_area_radius?: Maybe; + created_at?: Maybe; + id?: Maybe; + location_id?: Maybe; + supplier_id?: Maybe; +}; + +/** order by min() on columns of table "supplier_service_zone" */ +export type Supplier_Service_Zone_Min_Order_By = { + coverage_area_radius?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + location_id?: InputMaybe; + supplier_id?: InputMaybe; +}; + +/** response of any mutation on the table "supplier_service_zone" */ +export type Supplier_Service_Zone_Mutation_Response = { + __typename?: "supplier_service_zone_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** on_conflict condition type for table "supplier_service_zone" */ +export type Supplier_Service_Zone_On_Conflict = { + constraint: Supplier_Service_Zone_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "supplier_service_zone". */ +export type Supplier_Service_Zone_Order_By = { + coverage_area_radius?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + location_id?: InputMaybe; + supplier_id?: InputMaybe; +}; + +/** primary key columns input for table: supplier_service_zone */ +export type Supplier_Service_Zone_Pk_Columns_Input = { + id: Scalars["uuid"]["input"]; +}; + +/** select columns of table "supplier_service_zone" */ +export enum Supplier_Service_Zone_Select_Column { + /** column name */ + CoverageAreaRadius = "coverage_area_radius", + /** column name */ + CreatedAt = "created_at", + /** column name */ + Id = "id", + /** column name */ + LocationId = "location_id", + /** column name */ + SupplierId = "supplier_id", +} + +/** input type for updating data in table "supplier_service_zone" */ +export type Supplier_Service_Zone_Set_Input = { + coverage_area_radius?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + location_id?: InputMaybe; + supplier_id?: InputMaybe; +}; + +/** aggregate stddev on columns */ +export type Supplier_Service_Zone_Stddev_Fields = { + __typename?: "supplier_service_zone_stddev_fields"; + coverage_area_radius?: Maybe; +}; + +/** order by stddev() on columns of table "supplier_service_zone" */ +export type Supplier_Service_Zone_Stddev_Order_By = { + coverage_area_radius?: InputMaybe; +}; + +/** aggregate stddev_pop on columns */ +export type Supplier_Service_Zone_Stddev_Pop_Fields = { + __typename?: "supplier_service_zone_stddev_pop_fields"; + coverage_area_radius?: Maybe; +}; + +/** order by stddev_pop() on columns of table "supplier_service_zone" */ +export type Supplier_Service_Zone_Stddev_Pop_Order_By = { + coverage_area_radius?: InputMaybe; +}; + +/** aggregate stddev_samp on columns */ +export type Supplier_Service_Zone_Stddev_Samp_Fields = { + __typename?: "supplier_service_zone_stddev_samp_fields"; + coverage_area_radius?: Maybe; +}; + +/** order by stddev_samp() on columns of table "supplier_service_zone" */ +export type Supplier_Service_Zone_Stddev_Samp_Order_By = { + coverage_area_radius?: InputMaybe; +}; + +/** Streaming cursor of the table "supplier_service_zone" */ +export type Supplier_Service_Zone_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Supplier_Service_Zone_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Supplier_Service_Zone_Stream_Cursor_Value_Input = { + coverage_area_radius?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + location_id?: InputMaybe; + supplier_id?: InputMaybe; +}; + +/** aggregate sum on columns */ +export type Supplier_Service_Zone_Sum_Fields = { + __typename?: "supplier_service_zone_sum_fields"; + coverage_area_radius?: Maybe; +}; + +/** order by sum() on columns of table "supplier_service_zone" */ +export type Supplier_Service_Zone_Sum_Order_By = { + coverage_area_radius?: InputMaybe; +}; + +/** update columns of table "supplier_service_zone" */ +export enum Supplier_Service_Zone_Update_Column { + /** column name */ + CoverageAreaRadius = "coverage_area_radius", + /** column name */ + CreatedAt = "created_at", + /** column name */ + Id = "id", + /** column name */ + LocationId = "location_id", + /** column name */ + SupplierId = "supplier_id", +} + +export type Supplier_Service_Zone_Updates = { + /** increments the numeric columns with given value of the filtered values */ + _inc?: InputMaybe; + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Supplier_Service_Zone_Bool_Exp; +}; + +/** aggregate var_pop on columns */ +export type Supplier_Service_Zone_Var_Pop_Fields = { + __typename?: "supplier_service_zone_var_pop_fields"; + coverage_area_radius?: Maybe; +}; + +/** order by var_pop() on columns of table "supplier_service_zone" */ +export type Supplier_Service_Zone_Var_Pop_Order_By = { + coverage_area_radius?: InputMaybe; +}; + +/** aggregate var_samp on columns */ +export type Supplier_Service_Zone_Var_Samp_Fields = { + __typename?: "supplier_service_zone_var_samp_fields"; + coverage_area_radius?: Maybe; +}; + +/** order by var_samp() on columns of table "supplier_service_zone" */ +export type Supplier_Service_Zone_Var_Samp_Order_By = { + coverage_area_radius?: InputMaybe; +}; + +/** aggregate variance on columns */ +export type Supplier_Service_Zone_Variance_Fields = { + __typename?: "supplier_service_zone_variance_fields"; + coverage_area_radius?: Maybe; +}; + +/** order by variance() on columns of table "supplier_service_zone" */ +export type Supplier_Service_Zone_Variance_Order_By = { + coverage_area_radius?: InputMaybe; +}; + +/** columns and relationships of "suppliers" */ +export type Suppliers = { + __typename?: "suppliers"; + /** An array relationship */ + categories: Array; + /** An aggregate relationship */ + categories_aggregate: Suppliers_Categories_Aggregate; + contactEmail?: Maybe; + contactName?: Maybe; + created_at: Scalars["timestamptz"]["output"]; + description?: Maybe; + id: Scalars["uuid"]["output"]; + name?: Maybe; + /** An array relationship */ + order_suppliers: Array; + /** An aggregate relationship */ + order_suppliers_aggregate: Order_Supplier_Aggregate; + phoneNumber?: Maybe; + /** An array relationship */ + products: Array; + /** An aggregate relationship */ + products_aggregate: Products_Aggregate; + /** An array relationship */ + service_zones: Array; + /** An aggregate relationship */ + service_zones_aggregate: Supplier_Service_Zone_Aggregate; + streetAddress?: Maybe; + user_id?: Maybe; + zone?: Maybe; +}; + +/** columns and relationships of "suppliers" */ +export type SuppliersCategoriesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** columns and relationships of "suppliers" */ +export type SuppliersCategories_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** columns and relationships of "suppliers" */ +export type SuppliersOrder_SuppliersArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** columns and relationships of "suppliers" */ +export type SuppliersOrder_Suppliers_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** columns and relationships of "suppliers" */ +export type SuppliersProductsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** columns and relationships of "suppliers" */ +export type SuppliersProducts_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** columns and relationships of "suppliers" */ +export type SuppliersService_ZonesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** columns and relationships of "suppliers" */ +export type SuppliersService_Zones_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** aggregated selection of "suppliers" */ +export type Suppliers_Aggregate = { + __typename?: "suppliers_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "suppliers" */ +export type Suppliers_Aggregate_Fields = { + __typename?: "suppliers_aggregate_fields"; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; +}; + +/** aggregate fields of "suppliers" */ +export type Suppliers_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "suppliers". All fields are combined with a logical 'AND'. */ +export type Suppliers_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + categories?: InputMaybe; + categories_aggregate?: InputMaybe; + contactEmail?: InputMaybe; + contactName?: InputMaybe; + created_at?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + order_suppliers?: InputMaybe; + order_suppliers_aggregate?: InputMaybe; + phoneNumber?: InputMaybe; + products?: InputMaybe; + products_aggregate?: InputMaybe; + service_zones?: InputMaybe; + service_zones_aggregate?: InputMaybe; + streetAddress?: InputMaybe; + user_id?: InputMaybe; + zone?: InputMaybe; +}; + +/** columns and relationships of "suppliers_categories" */ +export type Suppliers_Categories = { + __typename?: "suppliers_categories"; + category_name: Supplier_Categories_Enum_Enum; + id: Scalars["uuid"]["output"]; + /** An object relationship */ + supplier: Suppliers; + /** An object relationship */ + supplier_categories_enum: Supplier_Categories_Enum; + supplier_id: Scalars["uuid"]["output"]; +}; + +/** aggregated selection of "suppliers_categories" */ +export type Suppliers_Categories_Aggregate = { + __typename?: "suppliers_categories_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +export type Suppliers_Categories_Aggregate_Bool_Exp = { + count?: InputMaybe; +}; + +export type Suppliers_Categories_Aggregate_Bool_Exp_Count = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Int_Comparison_Exp; +}; + +/** aggregate fields of "suppliers_categories" */ +export type Suppliers_Categories_Aggregate_Fields = { + __typename?: "suppliers_categories_aggregate_fields"; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; +}; + +/** aggregate fields of "suppliers_categories" */ +export type Suppliers_Categories_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** order by aggregate values of table "suppliers_categories" */ +export type Suppliers_Categories_Aggregate_Order_By = { + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; +}; + +/** input type for inserting array relation for remote table "suppliers_categories" */ +export type Suppliers_Categories_Arr_Rel_Insert_Input = { + data: Array; + /** upsert condition */ + on_conflict?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "suppliers_categories". All fields are combined with a logical 'AND'. */ +export type Suppliers_Categories_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + category_name?: InputMaybe; + id?: InputMaybe; + supplier?: InputMaybe; + supplier_categories_enum?: InputMaybe; + supplier_id?: InputMaybe; +}; + +/** unique or primary key constraints on table "suppliers_categories" */ +export enum Suppliers_Categories_Constraint { + /** unique or primary key constraint on columns "id" */ + SuppliersCategoriesPkey = "suppliers_categories_pkey", +} + +/** input type for inserting data into table "suppliers_categories" */ +export type Suppliers_Categories_Insert_Input = { + category_name?: InputMaybe; + id?: InputMaybe; + supplier?: InputMaybe; + supplier_categories_enum?: InputMaybe; + supplier_id?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Suppliers_Categories_Max_Fields = { + __typename?: "suppliers_categories_max_fields"; + id?: Maybe; + supplier_id?: Maybe; +}; + +/** order by max() on columns of table "suppliers_categories" */ +export type Suppliers_Categories_Max_Order_By = { + id?: InputMaybe; + supplier_id?: InputMaybe; +}; + +/** aggregate min on columns */ +export type Suppliers_Categories_Min_Fields = { + __typename?: "suppliers_categories_min_fields"; + id?: Maybe; + supplier_id?: Maybe; +}; + +/** order by min() on columns of table "suppliers_categories" */ +export type Suppliers_Categories_Min_Order_By = { + id?: InputMaybe; + supplier_id?: InputMaybe; +}; + +/** response of any mutation on the table "suppliers_categories" */ +export type Suppliers_Categories_Mutation_Response = { + __typename?: "suppliers_categories_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** on_conflict condition type for table "suppliers_categories" */ +export type Suppliers_Categories_On_Conflict = { + constraint: Suppliers_Categories_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "suppliers_categories". */ +export type Suppliers_Categories_Order_By = { + category_name?: InputMaybe; + id?: InputMaybe; + supplier?: InputMaybe; + supplier_categories_enum?: InputMaybe; + supplier_id?: InputMaybe; +}; + +/** primary key columns input for table: suppliers_categories */ +export type Suppliers_Categories_Pk_Columns_Input = { + id: Scalars["uuid"]["input"]; +}; + +/** select columns of table "suppliers_categories" */ +export enum Suppliers_Categories_Select_Column { + /** column name */ + CategoryName = "category_name", + /** column name */ + Id = "id", + /** column name */ + SupplierId = "supplier_id", +} + +/** input type for updating data in table "suppliers_categories" */ +export type Suppliers_Categories_Set_Input = { + category_name?: InputMaybe; + id?: InputMaybe; + supplier_id?: InputMaybe; +}; + +/** Streaming cursor of the table "suppliers_categories" */ +export type Suppliers_Categories_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Suppliers_Categories_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Suppliers_Categories_Stream_Cursor_Value_Input = { + category_name?: InputMaybe; + id?: InputMaybe; + supplier_id?: InputMaybe; +}; + +/** update columns of table "suppliers_categories" */ +export enum Suppliers_Categories_Update_Column { + /** column name */ + CategoryName = "category_name", + /** column name */ + Id = "id", + /** column name */ + SupplierId = "supplier_id", +} + +export type Suppliers_Categories_Updates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Suppliers_Categories_Bool_Exp; +}; + +/** unique or primary key constraints on table "suppliers" */ +export enum Suppliers_Constraint { + /** unique or primary key constraint on columns "id" */ + SuppliersPkey = "suppliers_pkey", +} + +/** input type for inserting data into table "suppliers" */ +export type Suppliers_Insert_Input = { + categories?: InputMaybe; + contactEmail?: InputMaybe; + contactName?: InputMaybe; + created_at?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + order_suppliers?: InputMaybe; + phoneNumber?: InputMaybe; + products?: InputMaybe; + service_zones?: InputMaybe; + streetAddress?: InputMaybe; + user_id?: InputMaybe; + zone?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Suppliers_Max_Fields = { + __typename?: "suppliers_max_fields"; + contactEmail?: Maybe; + contactName?: Maybe; + created_at?: Maybe; + description?: Maybe; + id?: Maybe; + name?: Maybe; + phoneNumber?: Maybe; + streetAddress?: Maybe; + user_id?: Maybe; + zone?: Maybe; +}; + +/** aggregate min on columns */ +export type Suppliers_Min_Fields = { + __typename?: "suppliers_min_fields"; + contactEmail?: Maybe; + contactName?: Maybe; + created_at?: Maybe; + description?: Maybe; + id?: Maybe; + name?: Maybe; + phoneNumber?: Maybe; + streetAddress?: Maybe; + user_id?: Maybe; + zone?: Maybe; +}; + +/** response of any mutation on the table "suppliers" */ +export type Suppliers_Mutation_Response = { + __typename?: "suppliers_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** input type for inserting object relation for remote table "suppliers" */ +export type Suppliers_Obj_Rel_Insert_Input = { + data: Suppliers_Insert_Input; + /** upsert condition */ + on_conflict?: InputMaybe; +}; + +/** on_conflict condition type for table "suppliers" */ +export type Suppliers_On_Conflict = { + constraint: Suppliers_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "suppliers". */ +export type Suppliers_Order_By = { + categories_aggregate?: InputMaybe; + contactEmail?: InputMaybe; + contactName?: InputMaybe; + created_at?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + order_suppliers_aggregate?: InputMaybe; + phoneNumber?: InputMaybe; + products_aggregate?: InputMaybe; + service_zones_aggregate?: InputMaybe; + streetAddress?: InputMaybe; + user_id?: InputMaybe; + zone?: InputMaybe; +}; + +/** primary key columns input for table: suppliers */ +export type Suppliers_Pk_Columns_Input = { + id: Scalars["uuid"]["input"]; +}; + +/** select columns of table "suppliers" */ +export enum Suppliers_Select_Column { + /** column name */ + ContactEmail = "contactEmail", + /** column name */ + ContactName = "contactName", + /** column name */ + CreatedAt = "created_at", + /** column name */ + Description = "description", + /** column name */ + Id = "id", + /** column name */ + Name = "name", + /** column name */ + PhoneNumber = "phoneNumber", + /** column name */ + StreetAddress = "streetAddress", + /** column name */ + UserId = "user_id", + /** column name */ + Zone = "zone", +} + +/** input type for updating data in table "suppliers" */ +export type Suppliers_Set_Input = { + contactEmail?: InputMaybe; + contactName?: InputMaybe; + created_at?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + phoneNumber?: InputMaybe; + streetAddress?: InputMaybe; + user_id?: InputMaybe; + zone?: InputMaybe; +}; + +/** Streaming cursor of the table "suppliers" */ +export type Suppliers_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Suppliers_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Suppliers_Stream_Cursor_Value_Input = { + contactEmail?: InputMaybe; + contactName?: InputMaybe; + created_at?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + phoneNumber?: InputMaybe; + streetAddress?: InputMaybe; + user_id?: InputMaybe; + zone?: InputMaybe; +}; + +/** update columns of table "suppliers" */ +export enum Suppliers_Update_Column { + /** column name */ + ContactEmail = "contactEmail", + /** column name */ + ContactName = "contactName", + /** column name */ + CreatedAt = "created_at", + /** column name */ + Description = "description", + /** column name */ + Id = "id", + /** column name */ + Name = "name", + /** column name */ + PhoneNumber = "phoneNumber", + /** column name */ + StreetAddress = "streetAddress", + /** column name */ + UserId = "user_id", + /** column name */ + Zone = "zone", +} + +export type Suppliers_Updates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Suppliers_Bool_Exp; +}; + +/** Boolean expression to compare columns of type "timestamptz". All fields are combined with logical 'AND'. */ +export type Timestamptz_Comparison_Exp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +/** columns and relationships of "user_role" */ +export type User_Role = { + __typename?: "user_role"; + role: Scalars["String"]["output"]; + /** An array relationship */ + users: Array; + /** An aggregate relationship */ + users_aggregate: Users_Aggregate; +}; + +/** columns and relationships of "user_role" */ +export type User_RoleUsersArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** columns and relationships of "user_role" */ +export type User_RoleUsers_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** aggregated selection of "user_role" */ +export type User_Role_Aggregate = { + __typename?: "user_role_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "user_role" */ +export type User_Role_Aggregate_Fields = { + __typename?: "user_role_aggregate_fields"; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; +}; + +/** aggregate fields of "user_role" */ +export type User_Role_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "user_role". All fields are combined with a logical 'AND'. */ +export type User_Role_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + role?: InputMaybe; + users?: InputMaybe; + users_aggregate?: InputMaybe; +}; + +/** unique or primary key constraints on table "user_role" */ +export enum User_Role_Constraint { + /** unique or primary key constraint on columns "role" */ + UserRolePkey = "user_role_pkey", +} + +export enum User_Role_Enum { + Admin = "admin", + Agent = "agent", + Customer = "customer", + Supplier = "supplier", +} + +/** Boolean expression to compare columns of type "user_role_enum". All fields are combined with logical 'AND'. */ +export type User_Role_Enum_Comparison_Exp = { + _eq?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +/** input type for inserting data into table "user_role" */ +export type User_Role_Insert_Input = { + role?: InputMaybe; + users?: InputMaybe; +}; + +/** aggregate max on columns */ +export type User_Role_Max_Fields = { + __typename?: "user_role_max_fields"; + role?: Maybe; +}; + +/** aggregate min on columns */ +export type User_Role_Min_Fields = { + __typename?: "user_role_min_fields"; + role?: Maybe; +}; + +/** response of any mutation on the table "user_role" */ +export type User_Role_Mutation_Response = { + __typename?: "user_role_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** input type for inserting object relation for remote table "user_role" */ +export type User_Role_Obj_Rel_Insert_Input = { + data: User_Role_Insert_Input; + /** upsert condition */ + on_conflict?: InputMaybe; +}; + +/** on_conflict condition type for table "user_role" */ +export type User_Role_On_Conflict = { + constraint: User_Role_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "user_role". */ +export type User_Role_Order_By = { + role?: InputMaybe; + users_aggregate?: InputMaybe; +}; + +/** primary key columns input for table: user_role */ +export type User_Role_Pk_Columns_Input = { + role: Scalars["String"]["input"]; +}; + +/** select columns of table "user_role" */ +export enum User_Role_Select_Column { + /** column name */ + Role = "role", +} + +/** input type for updating data in table "user_role" */ +export type User_Role_Set_Input = { + role?: InputMaybe; +}; + +/** Streaming cursor of the table "user_role" */ +export type User_Role_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: User_Role_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type User_Role_Stream_Cursor_Value_Input = { + role?: InputMaybe; +}; + +/** update columns of table "user_role" */ +export enum User_Role_Update_Column { + /** column name */ + Role = "role", +} + +export type User_Role_Updates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: User_Role_Bool_Exp; +}; + +/** columns and relationships of "users" */ +export type Users = { + __typename?: "users"; + created_at: Scalars["timestamptz"]["output"]; + id: Scalars["uuid"]["output"]; + name?: Maybe; + role?: Maybe; + /** An object relationship */ + user_role?: Maybe; +}; + +/** aggregated selection of "users" */ +export type Users_Aggregate = { + __typename?: "users_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +export type Users_Aggregate_Bool_Exp = { + count?: InputMaybe; +}; + +export type Users_Aggregate_Bool_Exp_Count = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Int_Comparison_Exp; +}; + +/** aggregate fields of "users" */ +export type Users_Aggregate_Fields = { + __typename?: "users_aggregate_fields"; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; +}; + +/** aggregate fields of "users" */ +export type Users_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** order by aggregate values of table "users" */ +export type Users_Aggregate_Order_By = { + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; +}; + +/** input type for inserting array relation for remote table "users" */ +export type Users_Arr_Rel_Insert_Input = { + data: Array; + /** upsert condition */ + on_conflict?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "users". All fields are combined with a logical 'AND'. */ +export type Users_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + created_at?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + role?: InputMaybe; + user_role?: InputMaybe; +}; + +/** unique or primary key constraints on table "users" */ +export enum Users_Constraint { + /** unique or primary key constraint on columns "id" */ + UsersPkey = "users_pkey", +} + +/** input type for inserting data into table "users" */ +export type Users_Insert_Input = { + created_at?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + role?: InputMaybe; + user_role?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Users_Max_Fields = { + __typename?: "users_max_fields"; + created_at?: Maybe; + id?: Maybe; + name?: Maybe; +}; + +/** order by max() on columns of table "users" */ +export type Users_Max_Order_By = { + created_at?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; +}; + +/** aggregate min on columns */ +export type Users_Min_Fields = { + __typename?: "users_min_fields"; + created_at?: Maybe; + id?: Maybe; + name?: Maybe; +}; + +/** order by min() on columns of table "users" */ +export type Users_Min_Order_By = { + created_at?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; +}; + +/** response of any mutation on the table "users" */ +export type Users_Mutation_Response = { + __typename?: "users_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** input type for inserting object relation for remote table "users" */ +export type Users_Obj_Rel_Insert_Input = { + data: Users_Insert_Input; + /** upsert condition */ + on_conflict?: InputMaybe; +}; + +/** on_conflict condition type for table "users" */ +export type Users_On_Conflict = { + constraint: Users_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "users". */ +export type Users_Order_By = { + created_at?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + role?: InputMaybe; + user_role?: InputMaybe; +}; + +/** primary key columns input for table: users */ +export type Users_Pk_Columns_Input = { + id: Scalars["uuid"]["input"]; +}; + +/** select columns of table "users" */ +export enum Users_Select_Column { + /** column name */ + CreatedAt = "created_at", + /** column name */ + Id = "id", + /** column name */ + Name = "name", + /** column name */ + Role = "role", +} + +/** input type for updating data in table "users" */ +export type Users_Set_Input = { + created_at?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + role?: InputMaybe; +}; + +/** Streaming cursor of the table "users" */ +export type Users_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Users_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Users_Stream_Cursor_Value_Input = { + created_at?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + role?: InputMaybe; +}; + +/** update columns of table "users" */ +export enum Users_Update_Column { + /** column name */ + CreatedAt = "created_at", + /** column name */ + Id = "id", + /** column name */ + Name = "name", + /** column name */ + Role = "role", +} + +export type Users_Updates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Users_Bool_Exp; +}; + +/** Boolean expression to compare columns of type "uuid". All fields are combined with logical 'AND'. */ +export type Uuid_Comparison_Exp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +export type RegisterClientMutationVariables = Exact<{ + object: Business_Insert_Input; +}>; + +export type RegisterClientMutation = { + __typename?: "mutation_root"; + insert_business_one?: { + __typename?: "business"; + id: any; + name?: string | null; + } | null; +}; + +export type InsertBusinessAddressMutationVariables = Exact<{ + object: Addresses_Insert_Input; +}>; + +export type InsertBusinessAddressMutation = { + __typename?: "mutation_root"; + insert_addresses_one?: { + __typename?: "addresses"; + business_id?: any | null; + city?: string | null; + } | null; +}; + +export type InsertNewCourierMutationVariables = Exact<{ + object?: InputMaybe; +}>; + +export type InsertNewCourierMutation = { + __typename?: "mutation_root"; + insert_couriers_one?: { + __typename?: "couriers"; + id: any; + name: string; + } | null; +}; + +export type InsertBusinessOrderMutationVariables = Exact<{ + object: Orders_Insert_Input; +}>; + +export type InsertBusinessOrderMutation = { + __typename?: "mutation_root"; + insert_orders_one?: { __typename?: "orders"; id: any } | null; +}; + +export type RegisterSupplierMutationVariables = Exact<{ + object: Suppliers_Insert_Input; +}>; + +export type RegisterSupplierMutation = { + __typename?: "mutation_root"; + insert_suppliers_one?: { + __typename?: "suppliers"; + id: any; + name?: string | null; + } | null; +}; + +export type UpdateProductByPkMutationVariables = Exact<{ + id?: InputMaybe; + inStock?: InputMaybe; + name?: InputMaybe; + price?: InputMaybe; + quantity?: InputMaybe; + description?: InputMaybe; +}>; + +export type UpdateProductByPkMutation = { + __typename?: "mutation_root"; + update_products_by_pk?: { + __typename?: "products"; + id: any; + inStock: boolean; + name?: string | null; + price?: number | null; + quantity: number; + description?: string | null; + } | null; +}; + +export type DeleteProductByPkMutationVariables = Exact<{ + id?: InputMaybe; +}>; + +export type DeleteProductByPkMutation = { + __typename?: "mutation_root"; + delete_products_by_pk?: { __typename?: "products"; id: any } | null; +}; + +export type AddNewProductMutationVariables = Exact<{ + product?: InputMaybe; +}>; + +export type AddNewProductMutation = { + __typename?: "mutation_root"; + insert_products_one?: { + __typename?: "products"; + created_at: any; + description?: string | null; + discount?: number | null; + id: any; + inStock: boolean; + name?: string | null; + price?: number | null; + quantity: number; + supplier_id?: any | null; + } | null; +}; + +export type RegisterUserMutationVariables = Exact<{ + object: Users_Insert_Input; +}>; + +export type RegisterUserMutation = { + __typename?: "mutation_root"; + insert_users_one?: { + __typename?: "users"; + id: any; + name?: string | null; + } | null; +}; + +export type GetClientsQueryVariables = Exact<{ [key: string]: never }>; + +export type GetClientsQuery = { + __typename?: "query_root"; + business: Array<{ + __typename?: "business"; + created_at: any; + id: any; + updated_at: any; + name?: string | null; + contactName?: string | null; + type?: Business_Type_Enum | null; + phoneNumber?: string | null; + description?: string | null; + contactEmail?: string | null; + addresses: Array<{ + __typename?: "addresses"; + city?: string | null; + created_at: any; + id: any; + latitude?: any | null; + longitude?: any | null; + updated_at: any; + street_address?: string | null; + }>; + }>; + business_aggregate: { + __typename?: "business_aggregate"; + aggregate?: { + __typename?: "business_aggregate_fields"; + count: number; + } | null; + }; +}; + +export type GetBusinessOrdersQueryVariables = Exact<{ + customerId?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; +}>; + +export type GetBusinessOrdersQuery = { + __typename?: "query_root"; + orders: Array<{ + __typename?: "orders"; + id: any; + created_at: any; + destination?: string | null; + orderId?: string | null; + customerId?: any | null; + origin?: string | null; + status?: Order_Status_Enum | null; + business?: { + __typename?: "business"; + contactName?: string | null; + phoneNumber?: string | null; + name?: string | null; + } | null; + }>; + orders_aggregate: { + __typename?: "orders_aggregate"; + aggregate?: { + __typename?: "orders_aggregate_fields"; + count: number; + } | null; + }; +}; + +export type GetBusinessByPkQueryVariables = Exact<{ + id: Scalars["uuid"]["input"]; +}>; + +export type GetBusinessByPkQuery = { + __typename?: "query_root"; + business_by_pk?: { + __typename?: "business"; + id: any; + name?: string | null; + contactName?: string | null; + phoneNumber?: string | null; + description?: string | null; + contactEmail?: string | null; + type?: Business_Type_Enum | null; + agent?: { __typename?: "users"; name?: string | null; id: any } | null; + addresses: Array<{ + __typename?: "addresses"; + city?: string | null; + street_address?: string | null; + }>; + } | null; +}; + +export type GetCouriersQueryVariables = Exact<{ [key: string]: never }>; + +export type GetCouriersQuery = { + __typename?: "query_root"; + couriers: Array<{ + __typename?: "couriers"; + id: any; + avatar?: string | null; + name: string; + DOB?: any | null; + phoneNumber?: string | null; + gender?: string | null; + email?: string | null; + }>; + couriers_aggregate: { + __typename?: "couriers_aggregate"; + aggregate?: { + __typename?: "couriers_aggregate_fields"; + count: number; + } | null; + }; +}; + +export type GetCouriersByPkQueryVariables = Exact<{ + id: Scalars["uuid"]["input"]; +}>; + +export type GetCouriersByPkQuery = { + __typename?: "query_root"; + couriers_by_pk?: { + __typename?: "couriers"; + id: any; + name: string; + avatar?: string | null; + } | null; +}; + +export type FetchSahilZonesQueryVariables = Exact<{ [key: string]: never }>; + +export type FetchSahilZonesQuery = { + __typename?: "query_root"; + locations: Array<{ __typename?: "locations"; id: any }>; +}; + +export type GetOrdersQueryVariables = Exact<{ [key: string]: never }>; + +export type GetOrdersQuery = { + __typename?: "query_root"; + orders: Array<{ + __typename?: "orders"; + id: any; + created_at: any; + destination?: string | null; + orderId?: string | null; + customerId?: any | null; + origin?: string | null; + status?: Order_Status_Enum | null; + business?: { + __typename?: "business"; + contactName?: string | null; + phoneNumber?: string | null; + name?: string | null; + } | null; + }>; + orders_aggregate: { + __typename?: "orders_aggregate"; + aggregate?: { + __typename?: "orders_aggregate_fields"; + count: number; + } | null; + }; +}; + +export type GetorderByPkQueryVariables = Exact<{ + id: Scalars["uuid"]["input"]; +}>; + +export type GetorderByPkQuery = { + __typename?: "query_root"; + orders_by_pk?: { + __typename?: "orders"; + id: any; + created_at: any; + destination?: string | null; + orderId?: string | null; + customerId?: any | null; + origin?: string | null; + status?: Order_Status_Enum | null; + order_items: Array<{ + __typename?: "order_item"; + id: any; + product?: { + __typename?: "products"; + id: any; + name?: string | null; + quantity: number; + price?: number | null; + } | null; + }>; + agent?: { __typename?: "agent"; name: string } | null; + order_items_aggregate: { + __typename?: "order_item_aggregate"; + aggregate?: { + __typename?: "order_item_aggregate_fields"; + count: number; + } | null; + }; + } | null; +}; + +export type GetOrderDeliveriesQueryVariables = Exact<{ + orderId: Scalars["uuid"]["input"]; +}>; + +export type GetOrderDeliveriesQuery = { + __typename?: "query_root"; + delivery: Array<{ + __typename?: "delivery"; + orderId: any; + status?: Delivery_Status_Enum | null; + id: any; + created_at: any; + courierId: any; + }>; +}; + +export type GetOrdersStatsQueryVariables = Exact<{ + startDate?: InputMaybe; + endDate?: InputMaybe; +}>; + +export type GetOrdersStatsQuery = { + __typename?: "query_root"; + orders_aggregate: { + __typename?: "orders_aggregate"; + aggregate?: { + __typename?: "orders_aggregate_fields"; + count: number; + } | null; + }; +}; + +export type GetProductsQueryVariables = Exact<{ + offset?: InputMaybe; + limit?: InputMaybe; +}>; + +export type GetProductsQuery = { + __typename?: "query_root"; + products: Array<{ + __typename?: "products"; + discount?: number | null; + id: any; + name?: string | null; + price?: number | null; + }>; + products_aggregate: { + __typename?: "products_aggregate"; + aggregate?: { + __typename?: "products_aggregate_fields"; + count: number; + } | null; + }; +}; + +export type GetProductsByNameQueryVariables = Exact<{ + offset?: InputMaybe; + limit?: InputMaybe; + name?: InputMaybe; +}>; + +export type GetProductsByNameQuery = { + __typename?: "query_root"; + products: Array<{ + __typename?: "products"; + discount?: number | null; + id: any; + name?: string | null; + price?: number | null; + }>; + products_aggregate: { + __typename?: "products_aggregate"; + aggregate?: { + __typename?: "products_aggregate_fields"; + count: number; + } | null; + }; +}; + +export type GetSuppliersQueryVariables = Exact<{ + offset?: InputMaybe; + limit?: InputMaybe; +}>; + +export type GetSuppliersQuery = { + __typename?: "query_root"; + suppliers: Array<{ + __typename?: "suppliers"; + id: any; + name?: string | null; + streetAddress?: string | null; + phoneNumber?: string | null; + contactName?: string | null; + zone?: string | null; + categories: Array<{ + __typename?: "suppliers_categories"; + category_name: Supplier_Categories_Enum_Enum; + }>; + }>; + suppliers_aggregate: { + __typename?: "suppliers_aggregate"; + aggregate?: { + __typename?: "suppliers_aggregate_fields"; + count: number; + } | null; + }; +}; + +export type GetSupplierOrdersQueryVariables = Exact<{ + supplierId?: InputMaybe; +}>; + +export type GetSupplierOrdersQuery = { + __typename?: "query_root"; + order_supplier: Array<{ + __typename?: "order_supplier"; + id: any; + supplierId: any; + order: { + __typename?: "orders"; + id: any; + created_at: any; + destination?: string | null; + orderId?: string | null; + customerId?: any | null; + origin?: string | null; + status?: Order_Status_Enum | null; + business?: { + __typename?: "business"; + contactName?: string | null; + phoneNumber?: string | null; + name?: string | null; + } | null; + }; + }>; +}; + +export type GetFilteredSuppliersQueryVariables = Exact<{ + category_name?: InputMaybe; + offset?: InputMaybe; + limit?: InputMaybe; +}>; + +export type GetFilteredSuppliersQuery = { + __typename?: "query_root"; + suppliers: Array<{ + __typename?: "suppliers"; + id: any; + name?: string | null; + streetAddress?: string | null; + phoneNumber?: string | null; + contactName?: string | null; + zone?: string | null; + categories: Array<{ + __typename?: "suppliers_categories"; + category_name: Supplier_Categories_Enum_Enum; + }>; + }>; +}; + +export type GetSupplierByPkQueryVariables = Exact<{ + id: Scalars["uuid"]["input"]; +}>; + +export type GetSupplierByPkQuery = { + __typename?: "query_root"; + suppliers_by_pk?: { + __typename?: "suppliers"; + created_at: any; + id: any; + name?: string | null; + description?: string | null; + phoneNumber?: string | null; + contactName?: string | null; + contactEmail?: string | null; + streetAddress?: string | null; + zone?: string | null; + categories: Array<{ + __typename?: "suppliers_categories"; + category_name: Supplier_Categories_Enum_Enum; + }>; + products_aggregate: { + __typename?: "products_aggregate"; + aggregate?: { + __typename?: "products_aggregate_fields"; + count: number; + } | null; + }; + } | null; +}; + +export type GetSupplierProductsQueryVariables = Exact<{ + id: Scalars["uuid"]["input"]; + offset?: InputMaybe; + order_by?: InputMaybe | Products_Order_By>; +}>; + +export type GetSupplierProductsQuery = { + __typename?: "query_root"; + products: Array<{ + __typename?: "products"; + id: any; + name?: string | null; + description?: string | null; + inStock: boolean; + quantity: number; + price?: number | null; + }>; +}; + +export type GetSupplierProductByNameQueryVariables = Exact<{ + id: Scalars["uuid"]["input"]; + offset?: InputMaybe; + name?: InputMaybe; + limit?: InputMaybe; +}>; + +export type GetSupplierProductByNameQuery = { + __typename?: "query_root"; + products: Array<{ + __typename?: "products"; + id: any; + name?: string | null; + description?: string | null; + inStock: boolean; + quantity: number; + price?: number | null; + }>; +}; + +export type GetUsersQueryVariables = Exact<{ [key: string]: never }>; + +export type GetUsersQuery = { + __typename?: "query_root"; + users: Array<{ + __typename?: "users"; + id: any; + created_at: any; + role?: User_Role_Enum | null; + name?: string | null; + }>; +}; + +export const RegisterClientDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "registerClient" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "object" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "business_insert_input" }, + }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "insert_business_one" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "object" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "object" }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + RegisterClientMutation, + RegisterClientMutationVariables +>; +export const InsertBusinessAddressDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "insertBusinessAddress" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "object" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "addresses_insert_input" }, + }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "insert_addresses_one" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "object" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "object" }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "business_id" } }, + { kind: "Field", name: { kind: "Name", value: "city" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + InsertBusinessAddressMutation, + InsertBusinessAddressMutationVariables +>; +export const InsertNewCourierDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "insertNewCourier" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "object" }, + }, + type: { + kind: "NamedType", + name: { kind: "Name", value: "couriers_insert_input" }, + }, + defaultValue: { kind: "ObjectValue", fields: [] }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "insert_couriers_one" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "object" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "object" }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + InsertNewCourierMutation, + InsertNewCourierMutationVariables +>; +export const InsertBusinessOrderDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "insertBusinessOrder" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "object" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "orders_insert_input" }, + }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "insert_orders_one" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "object" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "object" }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + InsertBusinessOrderMutation, + InsertBusinessOrderMutationVariables +>; +export const RegisterSupplierDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "registerSupplier" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "object" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "suppliers_insert_input" }, + }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "insert_suppliers_one" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "object" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "object" }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + RegisterSupplierMutation, + RegisterSupplierMutationVariables +>; +export const UpdateProductByPkDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "updateProductByPk" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "id" } }, + type: { kind: "NamedType", name: { kind: "Name", value: "uuid" } }, + defaultValue: { kind: "StringValue", value: "", block: false }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "inStock" }, + }, + type: { kind: "NamedType", name: { kind: "Name", value: "Boolean" } }, + }, + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "name" } }, + type: { kind: "NamedType", name: { kind: "Name", value: "String" } }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "price" }, + }, + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "quantity" }, + }, + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "description" }, + }, + type: { kind: "NamedType", name: { kind: "Name", value: "String" } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "update_products_by_pk" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "pk_columns" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "id" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "id" }, + }, + }, + ], + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "_set" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "inStock" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "inStock" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "name" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "name" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "price" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "price" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "quantity" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "quantity" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "description" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "description" }, + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "inStock" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "price" } }, + { kind: "Field", name: { kind: "Name", value: "quantity" } }, + { kind: "Field", name: { kind: "Name", value: "description" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + UpdateProductByPkMutation, + UpdateProductByPkMutationVariables +>; +export const DeleteProductByPkDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "deleteProductByPk" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "id" } }, + type: { kind: "NamedType", name: { kind: "Name", value: "uuid" } }, + defaultValue: { kind: "StringValue", value: "", block: false }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "delete_products_by_pk" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "id" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "id" }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + DeleteProductByPkMutation, + DeleteProductByPkMutationVariables +>; +export const AddNewProductDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "addNewProduct" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "product" }, + }, + type: { + kind: "NamedType", + name: { kind: "Name", value: "products_insert_input" }, + }, + defaultValue: { kind: "ObjectValue", fields: [] }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "insert_products_one" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "object" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "product" }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "created_at" } }, + { kind: "Field", name: { kind: "Name", value: "description" } }, + { kind: "Field", name: { kind: "Name", value: "discount" } }, + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "inStock" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "price" } }, + { kind: "Field", name: { kind: "Name", value: "quantity" } }, + { kind: "Field", name: { kind: "Name", value: "supplier_id" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + AddNewProductMutation, + AddNewProductMutationVariables +>; +export const RegisterUserDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "registerUser" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "object" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "users_insert_input" }, + }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "insert_users_one" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "object" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "object" }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + RegisterUserMutation, + RegisterUserMutationVariables +>; +export const GetClientsDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "getClients" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "business" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "created_at" } }, + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "updated_at" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "contactName" } }, + { kind: "Field", name: { kind: "Name", value: "type" } }, + { kind: "Field", name: { kind: "Name", value: "phoneNumber" } }, + { kind: "Field", name: { kind: "Name", value: "description" } }, + { + kind: "Field", + name: { kind: "Name", value: "contactEmail" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "addresses" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "city" } }, + { + kind: "Field", + name: { kind: "Name", value: "created_at" }, + }, + { kind: "Field", name: { kind: "Name", value: "id" } }, + { + kind: "Field", + name: { kind: "Name", value: "latitude" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "longitude" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "updated_at" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "street_address" }, + }, + ], + }, + }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "business_aggregate" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "aggregate" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "count" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "columns" }, + value: { kind: "EnumValue", value: "id" }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "distinct" }, + value: { kind: "BooleanValue", value: true }, + }, + ], + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetBusinessOrdersDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "getBusinessOrders" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "customerId" }, + }, + type: { kind: "NamedType", name: { kind: "Name", value: "uuid" } }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "limit" }, + }, + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, + defaultValue: { kind: "IntValue", value: "4" }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "offset" }, + }, + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, + defaultValue: { kind: "IntValue", value: "0" }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "orders" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_or" }, + value: { + kind: "ListValue", + values: [ + { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "customerId" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { + kind: "Variable", + name: { + kind: "Name", + value: "customerId", + }, + }, + }, + ], + }, + }, + ], + }, + { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "customerId" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_is_null" }, + value: { + kind: "BooleanValue", + value: true, + }, + }, + ], + }, + }, + ], + }, + ], + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "customerId" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "customerId" }, + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "limit" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "limit" }, + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "offset" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "offset" }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "created_at" } }, + { kind: "Field", name: { kind: "Name", value: "destination" } }, + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "orderId" } }, + { kind: "Field", name: { kind: "Name", value: "customerId" } }, + { kind: "Field", name: { kind: "Name", value: "origin" } }, + { kind: "Field", name: { kind: "Name", value: "status" } }, + { + kind: "Field", + name: { kind: "Name", value: "business" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "contactName" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "phoneNumber" }, + }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + ], + }, + }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "orders_aggregate" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "customerId" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "customerId" }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "aggregate" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "count" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "columns" }, + value: { kind: "EnumValue", value: "id" }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "distinct" }, + value: { kind: "BooleanValue", value: true }, + }, + ], + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + GetBusinessOrdersQuery, + GetBusinessOrdersQueryVariables +>; +export const GetBusinessByPkDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "getBusinessByPK" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "id" } }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "uuid" } }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "business_by_pk" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "id" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "id" }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "contactName" } }, + { kind: "Field", name: { kind: "Name", value: "phoneNumber" } }, + { kind: "Field", name: { kind: "Name", value: "description" } }, + { + kind: "Field", + name: { kind: "Name", value: "contactEmail" }, + }, + { kind: "Field", name: { kind: "Name", value: "type" } }, + { + kind: "Field", + name: { kind: "Name", value: "agent" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "id" } }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "addresses" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "city" } }, + { + kind: "Field", + name: { kind: "Name", value: "street_address" }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + GetBusinessByPkQuery, + GetBusinessByPkQueryVariables +>; +export const GetCouriersDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "getCouriers" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "couriers" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "avatar" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "DOB" } }, + { kind: "Field", name: { kind: "Name", value: "phoneNumber" } }, + { kind: "Field", name: { kind: "Name", value: "gender" } }, + { kind: "Field", name: { kind: "Name", value: "email" } }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "couriers_aggregate" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "aggregate" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "count" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "columns" }, + value: { kind: "EnumValue", value: "id" }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "distinct" }, + value: { kind: "BooleanValue", value: true }, + }, + ], + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetCouriersByPkDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "getCouriersByPK" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "id" } }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "uuid" } }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "couriers_by_pk" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "id" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "id" }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "avatar" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + GetCouriersByPkQuery, + GetCouriersByPkQueryVariables +>; +export const FetchSahilZonesDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "fetchSahilZones" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "locations" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + FetchSahilZonesQuery, + FetchSahilZonesQueryVariables +>; +export const GetOrdersDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "getOrders" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "orders" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "created_at" } }, + { kind: "Field", name: { kind: "Name", value: "destination" } }, + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "orderId" } }, + { kind: "Field", name: { kind: "Name", value: "customerId" } }, + { kind: "Field", name: { kind: "Name", value: "origin" } }, + { kind: "Field", name: { kind: "Name", value: "status" } }, + { + kind: "Field", + name: { kind: "Name", value: "business" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "contactName" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "phoneNumber" }, + }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + ], + }, + }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "orders_aggregate" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "aggregate" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "count" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "columns" }, + value: { kind: "EnumValue", value: "id" }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "distinct" }, + value: { kind: "BooleanValue", value: true }, + }, + ], + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetorderByPkDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "getorderByPK" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "id" } }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "uuid" } }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "orders_by_pk" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "id" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "id" }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "created_at" } }, + { kind: "Field", name: { kind: "Name", value: "destination" } }, + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "orderId" } }, + { kind: "Field", name: { kind: "Name", value: "customerId" } }, + { kind: "Field", name: { kind: "Name", value: "origin" } }, + { kind: "Field", name: { kind: "Name", value: "status" } }, + { + kind: "Field", + name: { kind: "Name", value: "order_items" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { + kind: "Field", + name: { kind: "Name", value: "product" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "id" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "name" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "quantity" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "price" }, + }, + ], + }, + }, + ], + }, + }, + { kind: "Field", name: { kind: "Name", value: "status" } }, + { + kind: "Field", + name: { kind: "Name", value: "agent" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "name" } }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "order_items_aggregate" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "aggregate" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "count" }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetOrderDeliveriesDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "getOrderDeliveries" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "orderId" }, + }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "uuid" } }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "delivery" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "orderId" } }, + { kind: "Field", name: { kind: "Name", value: "status" } }, + { kind: "Field", name: { kind: "Name", value: "orderId" } }, + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "created_at" } }, + { kind: "Field", name: { kind: "Name", value: "courierId" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + GetOrderDeliveriesQuery, + GetOrderDeliveriesQueryVariables +>; +export const GetOrdersStatsDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "getOrdersStats" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "startDate" }, + }, + type: { + kind: "NamedType", + name: { kind: "Name", value: "timestamptz" }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "endDate" }, + }, + type: { + kind: "NamedType", + name: { kind: "Name", value: "timestamptz" }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "orders_aggregate" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "created_at" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_gte" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "startDate" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "_lte" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "endDate" }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "aggregate" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "count" } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetProductsDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "getProducts" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "offset" }, + }, + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, + defaultValue: { kind: "IntValue", value: "0" }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "limit" }, + }, + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, + defaultValue: { kind: "IntValue", value: "12" }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "products" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "limit" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "limit" }, + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "order_by" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "created_at" }, + value: { kind: "EnumValue", value: "desc" }, + }, + ], + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "offset" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "offset" }, + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "inStock" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { kind: "BooleanValue", value: true }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "discount" } }, + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "price" } }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "products_aggregate" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "aggregate" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "count" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "columns" }, + value: { kind: "EnumValue", value: "id" }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "distinct" }, + value: { kind: "BooleanValue", value: true }, + }, + ], + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetProductsByNameDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "getProductsByName" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "offset" }, + }, + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, + defaultValue: { kind: "IntValue", value: "0" }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "limit" }, + }, + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, + defaultValue: { kind: "IntValue", value: "12" }, + }, + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "name" } }, + type: { kind: "NamedType", name: { kind: "Name", value: "String" } }, + defaultValue: { kind: "StringValue", value: "", block: false }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "products" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "limit" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "limit" }, + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "order_by" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "created_at" }, + value: { kind: "EnumValue", value: "desc" }, + }, + ], + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "offset" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "offset" }, + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "inStock" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { kind: "BooleanValue", value: true }, + }, + ], + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "name" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_ilike" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "name" }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "discount" } }, + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "price" } }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "products_aggregate" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "inStock" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { kind: "BooleanValue", value: true }, + }, + ], + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "name" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_ilike" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "name" }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "aggregate" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "count" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "columns" }, + value: { kind: "EnumValue", value: "id" }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "distinct" }, + value: { kind: "BooleanValue", value: true }, + }, + ], + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + GetProductsByNameQuery, + GetProductsByNameQueryVariables +>; +export const GetSuppliersDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "getSuppliers" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "offset" }, + }, + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, + defaultValue: { kind: "IntValue", value: "0" }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "limit" }, + }, + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, + defaultValue: { kind: "IntValue", value: "10" }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "suppliers" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "offset" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "offset" }, + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "limit" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "limit" }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { + kind: "Field", + name: { kind: "Name", value: "streetAddress" }, + }, + { kind: "Field", name: { kind: "Name", value: "phoneNumber" } }, + { kind: "Field", name: { kind: "Name", value: "contactName" } }, + { kind: "Field", name: { kind: "Name", value: "zone" } }, + { + kind: "Field", + name: { kind: "Name", value: "categories" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "category_name" }, + }, + ], + }, + }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "suppliers_aggregate" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "aggregate" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "count" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "columns" }, + value: { kind: "EnumValue", value: "id" }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "distinct" }, + value: { kind: "BooleanValue", value: true }, + }, + ], + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetSupplierOrdersDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "getSupplierOrders" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "supplierId" }, + }, + type: { kind: "NamedType", name: { kind: "Name", value: "uuid" } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "order_supplier" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "supplierId" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "supplierId" }, + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "distinct_on" }, + value: { kind: "EnumValue", value: "supplierId" }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "supplierId" } }, + { + kind: "Field", + name: { kind: "Name", value: "order" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { + kind: "Field", + name: { kind: "Name", value: "created_at" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "destination" }, + }, + { kind: "Field", name: { kind: "Name", value: "id" } }, + { + kind: "Field", + name: { kind: "Name", value: "orderId" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "customerId" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "origin" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "status" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "business" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "contactName" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "phoneNumber" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "name" }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + GetSupplierOrdersQuery, + GetSupplierOrdersQueryVariables +>; +export const GetFilteredSuppliersDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "getFilteredSuppliers" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "category_name" }, + }, + type: { + kind: "NamedType", + name: { kind: "Name", value: "supplier_categories_enum_enum" }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "offset" }, + }, + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, + defaultValue: { kind: "IntValue", value: "0" }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "limit" }, + }, + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, + defaultValue: { kind: "IntValue", value: "10" }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "suppliers" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "categories" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "category_name" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { + kind: "Variable", + name: { + kind: "Name", + value: "category_name", + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "offset" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "offset" }, + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "limit" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "limit" }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { + kind: "Field", + name: { kind: "Name", value: "streetAddress" }, + }, + { kind: "Field", name: { kind: "Name", value: "phoneNumber" } }, + { kind: "Field", name: { kind: "Name", value: "contactName" } }, + { kind: "Field", name: { kind: "Name", value: "zone" } }, + { + kind: "Field", + name: { kind: "Name", value: "categories" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "category_name" }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + GetFilteredSuppliersQuery, + GetFilteredSuppliersQueryVariables +>; +export const GetSupplierByPkDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "getSupplierByPK" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "id" } }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "uuid" } }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "suppliers_by_pk" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "id" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "id" }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "created_at" } }, + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "description" } }, + { kind: "Field", name: { kind: "Name", value: "phoneNumber" } }, + { kind: "Field", name: { kind: "Name", value: "contactName" } }, + { + kind: "Field", + name: { kind: "Name", value: "contactEmail" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "streetAddress" }, + }, + { kind: "Field", name: { kind: "Name", value: "zone" } }, + { + kind: "Field", + name: { kind: "Name", value: "categories" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "category_name" }, + }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "products_aggregate" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "aggregate" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "count" }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + GetSupplierByPkQuery, + GetSupplierByPkQueryVariables +>; +export const GetSupplierProductsDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "getSupplierProducts" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "id" } }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "uuid" } }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "offset" }, + }, + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, + defaultValue: { kind: "IntValue", value: "0" }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "order_by" }, + }, + type: { + kind: "ListType", + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "products_order_by" }, + }, + }, + }, + defaultValue: { kind: "ObjectValue", fields: [] }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "products" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "supplier_id" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "id" }, + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "limit" }, + value: { kind: "IntValue", value: "4" }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "offset" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "offset" }, + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "order_by" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "order_by" }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "description" } }, + { kind: "Field", name: { kind: "Name", value: "inStock" } }, + { kind: "Field", name: { kind: "Name", value: "quantity" } }, + { kind: "Field", name: { kind: "Name", value: "price" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + GetSupplierProductsQuery, + GetSupplierProductsQueryVariables +>; +export const GetSupplierProductByNameDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "getSupplierProductByName" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "id" } }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "uuid" } }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "offset" }, + }, + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, + defaultValue: { kind: "IntValue", value: "0" }, + }, + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "name" } }, + type: { kind: "NamedType", name: { kind: "Name", value: "String" } }, + defaultValue: { kind: "StringValue", value: "", block: false }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "limit" }, + }, + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, + defaultValue: { kind: "IntValue", value: "4" }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "products" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "supplier_id" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "id" }, + }, + }, + ], + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "name" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_ilike" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "name" }, + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "limit" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "limit" }, + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "offset" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "offset" }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "description" } }, + { kind: "Field", name: { kind: "Name", value: "inStock" } }, + { kind: "Field", name: { kind: "Name", value: "quantity" } }, + { kind: "Field", name: { kind: "Name", value: "price" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + GetSupplierProductByNameQuery, + GetSupplierProductByNameQueryVariables +>; +export const GetUsersDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "getUsers" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "users" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "created_at" } }, + { kind: "Field", name: { kind: "Name", value: "role" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; diff --git a/packages/lib/graphql/__generated__/index.ts b/packages/lib/graphql/__generated__/index.ts new file mode 100644 index 00000000..0ea4a91c --- /dev/null +++ b/packages/lib/graphql/__generated__/index.ts @@ -0,0 +1,2 @@ +export * from "./fragment-masking"; +export * from "./gql"; diff --git a/packages/lib/graphql/createApolloClient.ts b/packages/lib/graphql/createApolloClient.ts index fd770000..0cde4a2a 100644 --- a/packages/lib/graphql/createApolloClient.ts +++ b/packages/lib/graphql/createApolloClient.ts @@ -3,15 +3,15 @@ import { InMemoryCache, createHttpLink, NormalizedCacheObject, -} from '@apollo/client'; +} from "@apollo/client"; -const isBrowser = typeof window !== 'undefined'; +const isBrowser = typeof window !== "undefined"; type HttpOptions = { headers?: { Authorization?: string; - 'x-hasura-admin-secret'?: string; - 'x-hasura-role'?: string; + "x-hasura-admin-secret"?: string; + "x-hasura-role"?: string; }; token?: string; }; @@ -28,11 +28,11 @@ export const createApolloClient = ({ const initialState: Record = {}; const link = createHttpLink({ uri, - credentials: 'include', + credentials: "include", headers: { ...httpOptions.headers, - 'x-hasura-admin-secret': - httpOptions.headers?.['x-hasura-admin-secret'] || '', + "x-hasura-admin-secret": + httpOptions.headers?.["x-hasura-admin-secret"] || "", }, }); @@ -43,7 +43,7 @@ export const createApolloClient = ({ cache: new InMemoryCache().restore(initialState || {}), defaultOptions: { watchQuery: { - fetchPolicy: 'cache-and-network', + fetchPolicy: "cache-and-network", }, }, }); diff --git a/packages/lib/graphql/generated/fragment-masking.ts b/packages/lib/graphql/generated/fragment-masking.ts new file mode 100644 index 00000000..4a5accd2 --- /dev/null +++ b/packages/lib/graphql/generated/fragment-masking.ts @@ -0,0 +1,85 @@ +import { + ResultOf, + DocumentTypeDecoration, + TypedDocumentNode, +} from "@graphql-typed-document-node/core"; +import { FragmentDefinitionNode } from "graphql"; +import { Incremental } from "./graphql"; + +export type FragmentType< + TDocumentType extends DocumentTypeDecoration +> = TDocumentType extends DocumentTypeDecoration + ? [TType] extends [{ " $fragmentName"?: infer TKey }] + ? TKey extends string + ? { " $fragmentRefs"?: { [key in TKey]: TType } } + : never + : never + : never; + +// return non-nullable if `fragmentType` is non-nullable +export function useFragment( + _documentNode: DocumentTypeDecoration, + fragmentType: FragmentType> +): TType; +// return nullable if `fragmentType` is nullable +export function useFragment( + _documentNode: DocumentTypeDecoration, + fragmentType: + | FragmentType> + | null + | undefined +): TType | null | undefined; +// return array of non-nullable if `fragmentType` is array of non-nullable +export function useFragment( + _documentNode: DocumentTypeDecoration, + fragmentType: ReadonlyArray>> +): ReadonlyArray; +// return array of nullable if `fragmentType` is array of nullable +export function useFragment( + _documentNode: DocumentTypeDecoration, + fragmentType: + | ReadonlyArray>> + | null + | undefined +): ReadonlyArray | null | undefined; +export function useFragment( + _documentNode: DocumentTypeDecoration, + fragmentType: + | FragmentType> + | ReadonlyArray>> + | null + | undefined +): TType | ReadonlyArray | null | undefined { + return fragmentType as any; +} + +export function makeFragmentData< + F extends DocumentTypeDecoration, + FT extends ResultOf +>(data: FT, _fragment: F): FragmentType { + return data as FragmentType; +} +export function isFragmentReady( + queryNode: DocumentTypeDecoration, + fragmentNode: TypedDocumentNode, + data: + | FragmentType, any>> + | null + | undefined +): data is FragmentType { + const deferredFields = ( + queryNode as { + __meta__?: { deferredFields: Record }; + } + ).__meta__?.deferredFields; + + if (!deferredFields) return true; + + const fragDef = fragmentNode.definitions[0] as + | FragmentDefinitionNode + | undefined; + const fragName = fragDef?.name?.value; + + const fields = (fragName && deferredFields[fragName]) || []; + return fields.length > 0 && fields.every((field) => data && field in data); +} diff --git a/packages/lib/graphql/generated/gql.ts b/packages/lib/graphql/generated/gql.ts new file mode 100644 index 00000000..aca2fdb1 --- /dev/null +++ b/packages/lib/graphql/generated/gql.ts @@ -0,0 +1,262 @@ +/* eslint-disable */ +import * as types from "./graphql"; +import { TypedDocumentNode as DocumentNode } from "@graphql-typed-document-node/core"; + +/** + * Map of all GraphQL operations in the project. + * + * This map has several performance disadvantages: + * 1. It is not tree-shakeable, so it will include all operations in the project. + * 2. It is not minifiable, so the string of a GraphQL query will be multiple times inside the bundle. + * 3. It does not support dead code elimination, so it will add unused operations. + * + * Therefore it is highly recommended to use the babel or swc plugin for production. + */ +const documents = { + "\nmutation registerClient($object: business_insert_input!) {\n insert_business_one(object: $object) {\n id\n name\n }\n }\n": + types.RegisterClientDocument, + "\nmutation insertBusinessAddress($object: addresses_insert_input!) {\n insert_addresses_one(object: $object) {\n business_id\n city\n }\n }\n": + types.InsertBusinessAddressDocument, + "\n mutation insertNewCourier($object: couriers_insert_input = {}) {\n insert_couriers_one(object: $object) {\n id\n name\n }\n }\n": + types.InsertNewCourierDocument, + "\nmutation insertBusinessOrder($object: orders_insert_input!) {\n insert_orders_one(object: $object) {\n id\n }\n }\n": + types.InsertBusinessOrderDocument, + "\n mutation registerSupplier($object: suppliers_insert_input!) {\n insert_suppliers_one(object: $object) {\n id\n name\n }\n }\n": + types.RegisterSupplierDocument, + '\n mutation updateProductByPk(\n $id: uuid = ""\n $inStock: Boolean\n $name: String\n $price: Int\n $quantity: Int\n $description: String\n ) {\n update_products_by_pk(\n pk_columns: { id: $id }\n _set: {\n inStock: $inStock\n name: $name\n price: $price\n quantity: $quantity\n description: $description\n }\n ) {\n id\n inStock\n name\n price\n quantity\n description\n }\n }\n': + types.UpdateProductByPkDocument, + '\n mutation deleteProductByPk($id: uuid = "") {\n delete_products_by_pk(id: $id) {\n id\n }\n }\n': + types.DeleteProductByPkDocument, + "\n mutation addNewProduct($product: products_insert_input = {}) {\n insert_products_one(object: $product) {\n created_at\n description\n discount\n id\n inStock\n name\n price\n quantity\n supplier_id\n }\n }\n": + types.AddNewProductDocument, + "\nmutation registerUser($object: users_insert_input!) {\n insert_users_one(object: $object) {\n id\n name\n }\n }\n": + types.RegisterUserDocument, + "\n query getClients {\n business {\n created_at\n id\n updated_at\n name\n contactName\n type\n phoneNumber\n description\n contactEmail\n addresses {\n city\n created_at\n id\n latitude\n longitude\n updated_at\n street_address\n }\n }\n business_aggregate {\n aggregate {\n count(columns: id, distinct: true)\n }\n }\n }\n": + types.GetClientsDocument, + "\n query getBusinessOrders(\n $customerId: uuid\n $limit: Int = 4\n $offset: Int = 0\n ) {\n orders(\n where: {\n _or: [\n { customerId: { _eq: $customerId } }\n { customerId: { _is_null: true } }\n ]\n customerId: { _eq: $customerId }\n }\n limit: $limit\n offset: $offset\n ) {\n id\n created_at\n destination\n id\n orderId\n customerId\n origin\n status\n business {\n contactName\n phoneNumber\n name\n }\n }\n orders_aggregate(where: { customerId: { _eq: $customerId } }) {\n aggregate {\n count(columns: id, distinct: true)\n }\n }\n }\n": + types.GetBusinessOrdersDocument, + "\n query getBusinessByPK($id: uuid!) {\n business_by_pk(id: $id) {\n id\n name\n contactName\n phoneNumber\n description\n contactEmail\n type\n agent {\n name\n id\n }\n addresses {\n city\n street_address\n }\n }\n }\n": + types.GetBusinessByPkDocument, + "\n query getCouriers {\n couriers {\n id\n avatar\n name\n DOB\n phoneNumber\n gender\n email\n }\n couriers_aggregate {\n aggregate {\n count(columns: id, distinct: true)\n }\n }\n }\n": + types.GetCouriersDocument, + "\n query getCouriersByPK($id: uuid!) {\n couriers_by_pk(id: $id) {\n id\n name\n avatar\n }\n }\n": + types.GetCouriersByPkDocument, + "\nquery fetchSahilZones {\n locations {\n id\n }\n }\n": + types.FetchSahilZonesDocument, + "\nquery getOrders {\n orders {\n id\n created_at\n destination\n id\n orderId\n customerId\n origin\n status\n business {\n contactName\n phoneNumber\n name\n }\n }\n orders_aggregate {\n aggregate {\n count(columns: id, distinct: true)\n }\n }\n}\n": + types.GetOrdersDocument, + "\nquery getorderByPK($id: uuid!) {\n orders_by_pk(id: $id) {\n id\n created_at\n destination\n id\n orderId\n customerId\n origin\n status\n order_items {\n id\n product {\n id\n name\n quantity\n price\n }\n }\n status\n agent {\n name\n }\n order_items_aggregate {\n aggregate {\n count\n }\n }\n }\n}\n": + types.GetorderByPkDocument, + "\nquery getOrderDeliveries($orderId: uuid!) {\n delivery {\n orderId\n status\n orderId\n id\n created_at\n courierId\n }\n }\n": + types.GetOrderDeliveriesDocument, + "\nquery getOrdersStats($startDate: timestamptz, $endDate: timestamptz) {\n orders_aggregate(where: {created_at: {_gte: $startDate, _lte: $endDate}}) {\n aggregate {\n count\n }\n }\n}\n": + types.GetOrdersStatsDocument, + "\n query getProducts($offset: Int = 0, $limit: Int = 12) {\n products(\n limit: $limit\n order_by: { created_at: desc }\n offset: $offset\n where: { inStock: { _eq: true } }\n ) {\n discount\n id\n name\n price\n }\n products_aggregate {\n aggregate {\n count(columns: id, distinct: true)\n }\n }\n }\n": + types.GetProductsDocument, + '\n query getProductsByName($offset: Int = 0, $limit: Int = 12, $name: String = "") {\n products(\n limit: $limit\n order_by: { created_at: desc }\n offset: $offset\n where: { inStock: { _eq: true }, name: { _ilike: $name } }\n ) {\n discount\n id\n name\n price\n }\n products_aggregate(\n where: { inStock: { _eq: true }, name: { _ilike: $name } }\n ) {\n aggregate {\n count(columns: id, distinct: true)\n }\n }\n }\n': + types.GetProductsByNameDocument, + "\n query getSuppliers($offset: Int = 0, $limit: Int = 10) {\n suppliers(offset: $offset, limit: $limit) {\n id\n name\n streetAddress\n phoneNumber\n contactName\n zone\n categories {\n category_name\n }\n }\n suppliers_aggregate {\n aggregate {\n count(columns: id, distinct: true)\n }\n }\n }\n": + types.GetSuppliersDocument, + "\nquery getSupplierOrders($supplierId: uuid) {\n order_supplier(where: {supplierId: {_eq: $supplierId}}, distinct_on: supplierId) {\n id\n supplierId\n order {\n id\n created_at\n destination\n id\n orderId\n customerId\n origin\n status\n business {\n contactName\n phoneNumber\n name\n }\n }\n}\n}\n": + types.GetSupplierOrdersDocument, + "\n query getFilteredSuppliers(\n $category_name: supplier_categories_enum_enum\n $offset: Int = 0\n $limit: Int = 10\n ) {\n suppliers(\n where: { categories: { category_name: { _eq: $category_name } } }\n offset: $offset\n limit: $limit\n ) {\n id\n name\n streetAddress\n phoneNumber\n contactName\n zone\n categories {\n category_name\n }\n }\n }\n": + types.GetFilteredSuppliersDocument, + "\n query getSupplierByPK($id: uuid!) {\n suppliers_by_pk(id: $id) {\n created_at\n id\n name\n description\n phoneNumber\n contactName\n contactEmail\n streetAddress\n zone\n categories {\n category_name\n }\n products_aggregate {\n aggregate {\n count\n }\n }\n }\n }\n": + types.GetSupplierByPkDocument, + "\n query getSupplierProducts(\n $id: uuid!\n $offset: Int = 0\n $order_by: [products_order_by!] = {}\n ) {\n products(\n where: { supplier_id: { _eq: $id } }\n limit: 4\n offset: $offset\n order_by: $order_by\n ) {\n id\n name\n description\n inStock\n quantity\n price\n }\n }\n": + types.GetSupplierProductsDocument, + '\n query getSupplierProductByName(\n $id: uuid!\n $offset: Int = 0\n $name: String = ""\n $limit: Int = 4\n ) {\n products(\n where: { supplier_id: { _eq: $id }, name: { _ilike: $name } }\n limit: $limit\n offset: $offset\n ) {\n id\n name\n description\n inStock\n quantity\n price\n }\n }\n': + types.GetSupplierProductByNameDocument, + "\nquery getUsers {\n users {\n id\n created_at\n role\n name\n }\n}\n": + types.GetUsersDocument, +}; + +/** + * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + * + * + * @example + * ```ts + * const query = graphql(`query GetUser($id: ID!) { user(id: $id) { name } }`); + * ``` + * + * The query argument is unknown! + * Please regenerate the types. + */ +export function graphql(source: string): unknown; + +/** + * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function graphql( + source: "\nmutation registerClient($object: business_insert_input!) {\n insert_business_one(object: $object) {\n id\n name\n }\n }\n" +): (typeof documents)["\nmutation registerClient($object: business_insert_input!) {\n insert_business_one(object: $object) {\n id\n name\n }\n }\n"]; +/** + * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function graphql( + source: "\nmutation insertBusinessAddress($object: addresses_insert_input!) {\n insert_addresses_one(object: $object) {\n business_id\n city\n }\n }\n" +): (typeof documents)["\nmutation insertBusinessAddress($object: addresses_insert_input!) {\n insert_addresses_one(object: $object) {\n business_id\n city\n }\n }\n"]; +/** + * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function graphql( + source: "\n mutation insertNewCourier($object: couriers_insert_input = {}) {\n insert_couriers_one(object: $object) {\n id\n name\n }\n }\n" +): (typeof documents)["\n mutation insertNewCourier($object: couriers_insert_input = {}) {\n insert_couriers_one(object: $object) {\n id\n name\n }\n }\n"]; +/** + * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function graphql( + source: "\nmutation insertBusinessOrder($object: orders_insert_input!) {\n insert_orders_one(object: $object) {\n id\n }\n }\n" +): (typeof documents)["\nmutation insertBusinessOrder($object: orders_insert_input!) {\n insert_orders_one(object: $object) {\n id\n }\n }\n"]; +/** + * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function graphql( + source: "\n mutation registerSupplier($object: suppliers_insert_input!) {\n insert_suppliers_one(object: $object) {\n id\n name\n }\n }\n" +): (typeof documents)["\n mutation registerSupplier($object: suppliers_insert_input!) {\n insert_suppliers_one(object: $object) {\n id\n name\n }\n }\n"]; +/** + * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function graphql( + source: '\n mutation updateProductByPk(\n $id: uuid = ""\n $inStock: Boolean\n $name: String\n $price: Int\n $quantity: Int\n $description: String\n ) {\n update_products_by_pk(\n pk_columns: { id: $id }\n _set: {\n inStock: $inStock\n name: $name\n price: $price\n quantity: $quantity\n description: $description\n }\n ) {\n id\n inStock\n name\n price\n quantity\n description\n }\n }\n' +): (typeof documents)['\n mutation updateProductByPk(\n $id: uuid = ""\n $inStock: Boolean\n $name: String\n $price: Int\n $quantity: Int\n $description: String\n ) {\n update_products_by_pk(\n pk_columns: { id: $id }\n _set: {\n inStock: $inStock\n name: $name\n price: $price\n quantity: $quantity\n description: $description\n }\n ) {\n id\n inStock\n name\n price\n quantity\n description\n }\n }\n']; +/** + * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function graphql( + source: '\n mutation deleteProductByPk($id: uuid = "") {\n delete_products_by_pk(id: $id) {\n id\n }\n }\n' +): (typeof documents)['\n mutation deleteProductByPk($id: uuid = "") {\n delete_products_by_pk(id: $id) {\n id\n }\n }\n']; +/** + * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function graphql( + source: "\n mutation addNewProduct($product: products_insert_input = {}) {\n insert_products_one(object: $product) {\n created_at\n description\n discount\n id\n inStock\n name\n price\n quantity\n supplier_id\n }\n }\n" +): (typeof documents)["\n mutation addNewProduct($product: products_insert_input = {}) {\n insert_products_one(object: $product) {\n created_at\n description\n discount\n id\n inStock\n name\n price\n quantity\n supplier_id\n }\n }\n"]; +/** + * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function graphql( + source: "\nmutation registerUser($object: users_insert_input!) {\n insert_users_one(object: $object) {\n id\n name\n }\n }\n" +): (typeof documents)["\nmutation registerUser($object: users_insert_input!) {\n insert_users_one(object: $object) {\n id\n name\n }\n }\n"]; +/** + * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function graphql( + source: "\n query getClients {\n business {\n created_at\n id\n updated_at\n name\n contactName\n type\n phoneNumber\n description\n contactEmail\n addresses {\n city\n created_at\n id\n latitude\n longitude\n updated_at\n street_address\n }\n }\n business_aggregate {\n aggregate {\n count(columns: id, distinct: true)\n }\n }\n }\n" +): (typeof documents)["\n query getClients {\n business {\n created_at\n id\n updated_at\n name\n contactName\n type\n phoneNumber\n description\n contactEmail\n addresses {\n city\n created_at\n id\n latitude\n longitude\n updated_at\n street_address\n }\n }\n business_aggregate {\n aggregate {\n count(columns: id, distinct: true)\n }\n }\n }\n"]; +/** + * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function graphql( + source: "\n query getBusinessOrders(\n $customerId: uuid\n $limit: Int = 4\n $offset: Int = 0\n ) {\n orders(\n where: {\n _or: [\n { customerId: { _eq: $customerId } }\n { customerId: { _is_null: true } }\n ]\n customerId: { _eq: $customerId }\n }\n limit: $limit\n offset: $offset\n ) {\n id\n created_at\n destination\n id\n orderId\n customerId\n origin\n status\n business {\n contactName\n phoneNumber\n name\n }\n }\n orders_aggregate(where: { customerId: { _eq: $customerId } }) {\n aggregate {\n count(columns: id, distinct: true)\n }\n }\n }\n" +): (typeof documents)["\n query getBusinessOrders(\n $customerId: uuid\n $limit: Int = 4\n $offset: Int = 0\n ) {\n orders(\n where: {\n _or: [\n { customerId: { _eq: $customerId } }\n { customerId: { _is_null: true } }\n ]\n customerId: { _eq: $customerId }\n }\n limit: $limit\n offset: $offset\n ) {\n id\n created_at\n destination\n id\n orderId\n customerId\n origin\n status\n business {\n contactName\n phoneNumber\n name\n }\n }\n orders_aggregate(where: { customerId: { _eq: $customerId } }) {\n aggregate {\n count(columns: id, distinct: true)\n }\n }\n }\n"]; +/** + * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function graphql( + source: "\n query getBusinessByPK($id: uuid!) {\n business_by_pk(id: $id) {\n id\n name\n contactName\n phoneNumber\n description\n contactEmail\n type\n agent {\n name\n id\n }\n addresses {\n city\n street_address\n }\n }\n }\n" +): (typeof documents)["\n query getBusinessByPK($id: uuid!) {\n business_by_pk(id: $id) {\n id\n name\n contactName\n phoneNumber\n description\n contactEmail\n type\n agent {\n name\n id\n }\n addresses {\n city\n street_address\n }\n }\n }\n"]; +/** + * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function graphql( + source: "\n query getCouriers {\n couriers {\n id\n avatar\n name\n DOB\n phoneNumber\n gender\n email\n }\n couriers_aggregate {\n aggregate {\n count(columns: id, distinct: true)\n }\n }\n }\n" +): (typeof documents)["\n query getCouriers {\n couriers {\n id\n avatar\n name\n DOB\n phoneNumber\n gender\n email\n }\n couriers_aggregate {\n aggregate {\n count(columns: id, distinct: true)\n }\n }\n }\n"]; +/** + * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function graphql( + source: "\n query getCouriersByPK($id: uuid!) {\n couriers_by_pk(id: $id) {\n id\n name\n avatar\n }\n }\n" +): (typeof documents)["\n query getCouriersByPK($id: uuid!) {\n couriers_by_pk(id: $id) {\n id\n name\n avatar\n }\n }\n"]; +/** + * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function graphql( + source: "\nquery fetchSahilZones {\n locations {\n id\n }\n }\n" +): (typeof documents)["\nquery fetchSahilZones {\n locations {\n id\n }\n }\n"]; +/** + * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function graphql( + source: "\nquery getOrders {\n orders {\n id\n created_at\n destination\n id\n orderId\n customerId\n origin\n status\n business {\n contactName\n phoneNumber\n name\n }\n }\n orders_aggregate {\n aggregate {\n count(columns: id, distinct: true)\n }\n }\n}\n" +): (typeof documents)["\nquery getOrders {\n orders {\n id\n created_at\n destination\n id\n orderId\n customerId\n origin\n status\n business {\n contactName\n phoneNumber\n name\n }\n }\n orders_aggregate {\n aggregate {\n count(columns: id, distinct: true)\n }\n }\n}\n"]; +/** + * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function graphql( + source: "\nquery getorderByPK($id: uuid!) {\n orders_by_pk(id: $id) {\n id\n created_at\n destination\n id\n orderId\n customerId\n origin\n status\n order_items {\n id\n product {\n id\n name\n quantity\n price\n }\n }\n status\n agent {\n name\n }\n order_items_aggregate {\n aggregate {\n count\n }\n }\n }\n}\n" +): (typeof documents)["\nquery getorderByPK($id: uuid!) {\n orders_by_pk(id: $id) {\n id\n created_at\n destination\n id\n orderId\n customerId\n origin\n status\n order_items {\n id\n product {\n id\n name\n quantity\n price\n }\n }\n status\n agent {\n name\n }\n order_items_aggregate {\n aggregate {\n count\n }\n }\n }\n}\n"]; +/** + * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function graphql( + source: "\nquery getOrderDeliveries($orderId: uuid!) {\n delivery {\n orderId\n status\n orderId\n id\n created_at\n courierId\n }\n }\n" +): (typeof documents)["\nquery getOrderDeliveries($orderId: uuid!) {\n delivery {\n orderId\n status\n orderId\n id\n created_at\n courierId\n }\n }\n"]; +/** + * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function graphql( + source: "\nquery getOrdersStats($startDate: timestamptz, $endDate: timestamptz) {\n orders_aggregate(where: {created_at: {_gte: $startDate, _lte: $endDate}}) {\n aggregate {\n count\n }\n }\n}\n" +): (typeof documents)["\nquery getOrdersStats($startDate: timestamptz, $endDate: timestamptz) {\n orders_aggregate(where: {created_at: {_gte: $startDate, _lte: $endDate}}) {\n aggregate {\n count\n }\n }\n}\n"]; +/** + * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function graphql( + source: "\n query getProducts($offset: Int = 0, $limit: Int = 12) {\n products(\n limit: $limit\n order_by: { created_at: desc }\n offset: $offset\n where: { inStock: { _eq: true } }\n ) {\n discount\n id\n name\n price\n }\n products_aggregate {\n aggregate {\n count(columns: id, distinct: true)\n }\n }\n }\n" +): (typeof documents)["\n query getProducts($offset: Int = 0, $limit: Int = 12) {\n products(\n limit: $limit\n order_by: { created_at: desc }\n offset: $offset\n where: { inStock: { _eq: true } }\n ) {\n discount\n id\n name\n price\n }\n products_aggregate {\n aggregate {\n count(columns: id, distinct: true)\n }\n }\n }\n"]; +/** + * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function graphql( + source: '\n query getProductsByName($offset: Int = 0, $limit: Int = 12, $name: String = "") {\n products(\n limit: $limit\n order_by: { created_at: desc }\n offset: $offset\n where: { inStock: { _eq: true }, name: { _ilike: $name } }\n ) {\n discount\n id\n name\n price\n }\n products_aggregate(\n where: { inStock: { _eq: true }, name: { _ilike: $name } }\n ) {\n aggregate {\n count(columns: id, distinct: true)\n }\n }\n }\n' +): (typeof documents)['\n query getProductsByName($offset: Int = 0, $limit: Int = 12, $name: String = "") {\n products(\n limit: $limit\n order_by: { created_at: desc }\n offset: $offset\n where: { inStock: { _eq: true }, name: { _ilike: $name } }\n ) {\n discount\n id\n name\n price\n }\n products_aggregate(\n where: { inStock: { _eq: true }, name: { _ilike: $name } }\n ) {\n aggregate {\n count(columns: id, distinct: true)\n }\n }\n }\n']; +/** + * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function graphql( + source: "\n query getSuppliers($offset: Int = 0, $limit: Int = 10) {\n suppliers(offset: $offset, limit: $limit) {\n id\n name\n streetAddress\n phoneNumber\n contactName\n zone\n categories {\n category_name\n }\n }\n suppliers_aggregate {\n aggregate {\n count(columns: id, distinct: true)\n }\n }\n }\n" +): (typeof documents)["\n query getSuppliers($offset: Int = 0, $limit: Int = 10) {\n suppliers(offset: $offset, limit: $limit) {\n id\n name\n streetAddress\n phoneNumber\n contactName\n zone\n categories {\n category_name\n }\n }\n suppliers_aggregate {\n aggregate {\n count(columns: id, distinct: true)\n }\n }\n }\n"]; +/** + * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function graphql( + source: "\nquery getSupplierOrders($supplierId: uuid) {\n order_supplier(where: {supplierId: {_eq: $supplierId}}, distinct_on: supplierId) {\n id\n supplierId\n order {\n id\n created_at\n destination\n id\n orderId\n customerId\n origin\n status\n business {\n contactName\n phoneNumber\n name\n }\n }\n}\n}\n" +): (typeof documents)["\nquery getSupplierOrders($supplierId: uuid) {\n order_supplier(where: {supplierId: {_eq: $supplierId}}, distinct_on: supplierId) {\n id\n supplierId\n order {\n id\n created_at\n destination\n id\n orderId\n customerId\n origin\n status\n business {\n contactName\n phoneNumber\n name\n }\n }\n}\n}\n"]; +/** + * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function graphql( + source: "\n query getFilteredSuppliers(\n $category_name: supplier_categories_enum_enum\n $offset: Int = 0\n $limit: Int = 10\n ) {\n suppliers(\n where: { categories: { category_name: { _eq: $category_name } } }\n offset: $offset\n limit: $limit\n ) {\n id\n name\n streetAddress\n phoneNumber\n contactName\n zone\n categories {\n category_name\n }\n }\n }\n" +): (typeof documents)["\n query getFilteredSuppliers(\n $category_name: supplier_categories_enum_enum\n $offset: Int = 0\n $limit: Int = 10\n ) {\n suppliers(\n where: { categories: { category_name: { _eq: $category_name } } }\n offset: $offset\n limit: $limit\n ) {\n id\n name\n streetAddress\n phoneNumber\n contactName\n zone\n categories {\n category_name\n }\n }\n }\n"]; +/** + * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function graphql( + source: "\n query getSupplierByPK($id: uuid!) {\n suppliers_by_pk(id: $id) {\n created_at\n id\n name\n description\n phoneNumber\n contactName\n contactEmail\n streetAddress\n zone\n categories {\n category_name\n }\n products_aggregate {\n aggregate {\n count\n }\n }\n }\n }\n" +): (typeof documents)["\n query getSupplierByPK($id: uuid!) {\n suppliers_by_pk(id: $id) {\n created_at\n id\n name\n description\n phoneNumber\n contactName\n contactEmail\n streetAddress\n zone\n categories {\n category_name\n }\n products_aggregate {\n aggregate {\n count\n }\n }\n }\n }\n"]; +/** + * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function graphql( + source: "\n query getSupplierProducts(\n $id: uuid!\n $offset: Int = 0\n $order_by: [products_order_by!] = {}\n ) {\n products(\n where: { supplier_id: { _eq: $id } }\n limit: 4\n offset: $offset\n order_by: $order_by\n ) {\n id\n name\n description\n inStock\n quantity\n price\n }\n }\n" +): (typeof documents)["\n query getSupplierProducts(\n $id: uuid!\n $offset: Int = 0\n $order_by: [products_order_by!] = {}\n ) {\n products(\n where: { supplier_id: { _eq: $id } }\n limit: 4\n offset: $offset\n order_by: $order_by\n ) {\n id\n name\n description\n inStock\n quantity\n price\n }\n }\n"]; +/** + * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function graphql( + source: '\n query getSupplierProductByName(\n $id: uuid!\n $offset: Int = 0\n $name: String = ""\n $limit: Int = 4\n ) {\n products(\n where: { supplier_id: { _eq: $id }, name: { _ilike: $name } }\n limit: $limit\n offset: $offset\n ) {\n id\n name\n description\n inStock\n quantity\n price\n }\n }\n' +): (typeof documents)['\n query getSupplierProductByName(\n $id: uuid!\n $offset: Int = 0\n $name: String = ""\n $limit: Int = 4\n ) {\n products(\n where: { supplier_id: { _eq: $id }, name: { _ilike: $name } }\n limit: $limit\n offset: $offset\n ) {\n id\n name\n description\n inStock\n quantity\n price\n }\n }\n']; +/** + * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function graphql( + source: "\nquery getUsers {\n users {\n id\n created_at\n role\n name\n }\n}\n" +): (typeof documents)["\nquery getUsers {\n users {\n id\n created_at\n role\n name\n }\n}\n"]; + +export function graphql(source: string) { + return (documents as any)[source] ?? {}; +} + +export type DocumentType> = + TDocumentNode extends DocumentNode ? TType : never; diff --git a/packages/lib/graphql/generated/graphql.ts b/packages/lib/graphql/generated/graphql.ts new file mode 100644 index 00000000..c8fd36f6 --- /dev/null +++ b/packages/lib/graphql/generated/graphql.ts @@ -0,0 +1,14623 @@ +/* eslint-disable */ +import { TypedDocumentNode as DocumentNode } from "@graphql-typed-document-node/core"; +export type Maybe = T | null; +export type InputMaybe = Maybe; +export type Exact = { + [K in keyof T]: T[K]; +}; +export type MakeOptional = Omit & { + [SubKey in K]?: Maybe; +}; +export type MakeMaybe = Omit & { + [SubKey in K]: Maybe; +}; +export type MakeEmpty< + T extends { [key: string]: unknown }, + K extends keyof T +> = { [_ in K]?: never }; +export type Incremental = + | T + | { + [P in keyof T]?: P extends " $fragmentName" | "__typename" ? T[P] : never; + }; +/** All built-in and custom scalars, mapped to their actual values */ +export type Scalars = { + ID: { input: string; output: string }; + String: { input: string; output: string }; + Boolean: { input: boolean; output: boolean }; + Int: { input: number; output: number }; + Float: { input: number; output: number }; + date: { input: any; output: any }; + float8: { input: any; output: any }; + json: { input: any; output: any }; + name: { input: any; output: any }; + timestamptz: { input: any; output: any }; + uuid: { input: any; output: any }; +}; + +/** Boolean expression to compare columns of type "Boolean". All fields are combined with logical 'AND'. */ +export type Boolean_Comparison_Exp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +/** Boolean expression to compare columns of type "Int". All fields are combined with logical 'AND'. */ +export type Int_Comparison_Exp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +export type OrdersActionInput = { + created_at: Scalars["timestamptz"]["input"]; + customerId?: InputMaybe; + destination?: InputMaybe; + id: Scalars["uuid"]["input"]; + orderId?: InputMaybe; + origin?: InputMaybe; + processedBy?: InputMaybe; +}; + +export type OrdersActionType = { + __typename?: "OrdersActionType"; + created_at: Scalars["timestamptz"]["output"]; + customerId?: Maybe; + destination?: Maybe; + id: Scalars["uuid"]["output"]; + orderId?: Maybe; + origin?: Maybe; + processedBy?: Maybe; +}; + +/** Boolean expression to compare columns of type "String". All fields are combined with logical 'AND'. */ +export type String_Comparison_Exp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + /** does the column match the given case-insensitive pattern */ + _ilike?: InputMaybe; + _in?: InputMaybe>; + /** does the column match the given POSIX regular expression, case insensitive */ + _iregex?: InputMaybe; + _is_null?: InputMaybe; + /** does the column match the given pattern */ + _like?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + /** does the column NOT match the given case-insensitive pattern */ + _nilike?: InputMaybe; + _nin?: InputMaybe>; + /** does the column NOT match the given POSIX regular expression, case insensitive */ + _niregex?: InputMaybe; + /** does the column NOT match the given pattern */ + _nlike?: InputMaybe; + /** does the column NOT match the given POSIX regular expression, case sensitive */ + _nregex?: InputMaybe; + /** does the column NOT match the given SQL regular expression */ + _nsimilar?: InputMaybe; + /** does the column match the given POSIX regular expression, case sensitive */ + _regex?: InputMaybe; + /** does the column match the given SQL regular expression */ + _similar?: InputMaybe; +}; + +/** columns and relationships of "addresses" */ +export type Addresses = { + __typename?: "addresses"; + /** An object relationship */ + business?: Maybe; + business_id?: Maybe; + city?: Maybe; + created_at: Scalars["timestamptz"]["output"]; + id: Scalars["uuid"]["output"]; + latitude?: Maybe; + longitude?: Maybe; + street_address?: Maybe; + updated_at: Scalars["timestamptz"]["output"]; +}; + +/** aggregated selection of "addresses" */ +export type Addresses_Aggregate = { + __typename?: "addresses_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +export type Addresses_Aggregate_Bool_Exp = { + avg?: InputMaybe; + corr?: InputMaybe; + count?: InputMaybe; + covar_samp?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_samp?: InputMaybe; +}; + +export type Addresses_Aggregate_Bool_Exp_Avg = { + arguments: Addresses_Select_Column_Addresses_Aggregate_Bool_Exp_Avg_Arguments_Columns; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Float8_Comparison_Exp; +}; + +export type Addresses_Aggregate_Bool_Exp_Corr = { + arguments: Addresses_Aggregate_Bool_Exp_Corr_Arguments; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Float8_Comparison_Exp; +}; + +export type Addresses_Aggregate_Bool_Exp_Corr_Arguments = { + X: Addresses_Select_Column_Addresses_Aggregate_Bool_Exp_Corr_Arguments_Columns; + Y: Addresses_Select_Column_Addresses_Aggregate_Bool_Exp_Corr_Arguments_Columns; +}; + +export type Addresses_Aggregate_Bool_Exp_Count = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Int_Comparison_Exp; +}; + +export type Addresses_Aggregate_Bool_Exp_Covar_Samp = { + arguments: Addresses_Aggregate_Bool_Exp_Covar_Samp_Arguments; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Float8_Comparison_Exp; +}; + +export type Addresses_Aggregate_Bool_Exp_Covar_Samp_Arguments = { + X: Addresses_Select_Column_Addresses_Aggregate_Bool_Exp_Covar_Samp_Arguments_Columns; + Y: Addresses_Select_Column_Addresses_Aggregate_Bool_Exp_Covar_Samp_Arguments_Columns; +}; + +export type Addresses_Aggregate_Bool_Exp_Max = { + arguments: Addresses_Select_Column_Addresses_Aggregate_Bool_Exp_Max_Arguments_Columns; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Float8_Comparison_Exp; +}; + +export type Addresses_Aggregate_Bool_Exp_Min = { + arguments: Addresses_Select_Column_Addresses_Aggregate_Bool_Exp_Min_Arguments_Columns; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Float8_Comparison_Exp; +}; + +export type Addresses_Aggregate_Bool_Exp_Stddev_Samp = { + arguments: Addresses_Select_Column_Addresses_Aggregate_Bool_Exp_Stddev_Samp_Arguments_Columns; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Float8_Comparison_Exp; +}; + +export type Addresses_Aggregate_Bool_Exp_Sum = { + arguments: Addresses_Select_Column_Addresses_Aggregate_Bool_Exp_Sum_Arguments_Columns; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Float8_Comparison_Exp; +}; + +export type Addresses_Aggregate_Bool_Exp_Var_Samp = { + arguments: Addresses_Select_Column_Addresses_Aggregate_Bool_Exp_Var_Samp_Arguments_Columns; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Float8_Comparison_Exp; +}; + +/** aggregate fields of "addresses" */ +export type Addresses_Aggregate_Fields = { + __typename?: "addresses_aggregate_fields"; + avg?: Maybe; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; +}; + +/** aggregate fields of "addresses" */ +export type Addresses_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** order by aggregate values of table "addresses" */ +export type Addresses_Aggregate_Order_By = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; + +/** input type for inserting array relation for remote table "addresses" */ +export type Addresses_Arr_Rel_Insert_Input = { + data: Array; + /** upsert condition */ + on_conflict?: InputMaybe; +}; + +/** aggregate avg on columns */ +export type Addresses_Avg_Fields = { + __typename?: "addresses_avg_fields"; + latitude?: Maybe; + longitude?: Maybe; +}; + +/** order by avg() on columns of table "addresses" */ +export type Addresses_Avg_Order_By = { + latitude?: InputMaybe; + longitude?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "addresses". All fields are combined with a logical 'AND'. */ +export type Addresses_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + business?: InputMaybe; + business_id?: InputMaybe; + city?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + latitude?: InputMaybe; + longitude?: InputMaybe; + street_address?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** unique or primary key constraints on table "addresses" */ +export enum Addresses_Constraint { + /** unique or primary key constraint on columns "id" */ + AddressesPkey = "addresses_pkey", +} + +/** input type for incrementing numeric columns in table "addresses" */ +export type Addresses_Inc_Input = { + latitude?: InputMaybe; + longitude?: InputMaybe; +}; + +/** input type for inserting data into table "addresses" */ +export type Addresses_Insert_Input = { + business?: InputMaybe; + business_id?: InputMaybe; + city?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + latitude?: InputMaybe; + longitude?: InputMaybe; + street_address?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Addresses_Max_Fields = { + __typename?: "addresses_max_fields"; + business_id?: Maybe; + city?: Maybe; + created_at?: Maybe; + id?: Maybe; + latitude?: Maybe; + longitude?: Maybe; + street_address?: Maybe; + updated_at?: Maybe; +}; + +/** order by max() on columns of table "addresses" */ +export type Addresses_Max_Order_By = { + business_id?: InputMaybe; + city?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + latitude?: InputMaybe; + longitude?: InputMaybe; + street_address?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** aggregate min on columns */ +export type Addresses_Min_Fields = { + __typename?: "addresses_min_fields"; + business_id?: Maybe; + city?: Maybe; + created_at?: Maybe; + id?: Maybe; + latitude?: Maybe; + longitude?: Maybe; + street_address?: Maybe; + updated_at?: Maybe; +}; + +/** order by min() on columns of table "addresses" */ +export type Addresses_Min_Order_By = { + business_id?: InputMaybe; + city?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + latitude?: InputMaybe; + longitude?: InputMaybe; + street_address?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** response of any mutation on the table "addresses" */ +export type Addresses_Mutation_Response = { + __typename?: "addresses_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** on_conflict condition type for table "addresses" */ +export type Addresses_On_Conflict = { + constraint: Addresses_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "addresses". */ +export type Addresses_Order_By = { + business?: InputMaybe; + business_id?: InputMaybe; + city?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + latitude?: InputMaybe; + longitude?: InputMaybe; + street_address?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** primary key columns input for table: addresses */ +export type Addresses_Pk_Columns_Input = { + id: Scalars["uuid"]["input"]; +}; + +/** select columns of table "addresses" */ +export enum Addresses_Select_Column { + /** column name */ + BusinessId = "business_id", + /** column name */ + City = "city", + /** column name */ + CreatedAt = "created_at", + /** column name */ + Id = "id", + /** column name */ + Latitude = "latitude", + /** column name */ + Longitude = "longitude", + /** column name */ + StreetAddress = "street_address", + /** column name */ + UpdatedAt = "updated_at", +} + +/** select "addresses_aggregate_bool_exp_avg_arguments_columns" columns of table "addresses" */ +export enum Addresses_Select_Column_Addresses_Aggregate_Bool_Exp_Avg_Arguments_Columns { + /** column name */ + Latitude = "latitude", + /** column name */ + Longitude = "longitude", +} + +/** select "addresses_aggregate_bool_exp_corr_arguments_columns" columns of table "addresses" */ +export enum Addresses_Select_Column_Addresses_Aggregate_Bool_Exp_Corr_Arguments_Columns { + /** column name */ + Latitude = "latitude", + /** column name */ + Longitude = "longitude", +} + +/** select "addresses_aggregate_bool_exp_covar_samp_arguments_columns" columns of table "addresses" */ +export enum Addresses_Select_Column_Addresses_Aggregate_Bool_Exp_Covar_Samp_Arguments_Columns { + /** column name */ + Latitude = "latitude", + /** column name */ + Longitude = "longitude", +} + +/** select "addresses_aggregate_bool_exp_max_arguments_columns" columns of table "addresses" */ +export enum Addresses_Select_Column_Addresses_Aggregate_Bool_Exp_Max_Arguments_Columns { + /** column name */ + Latitude = "latitude", + /** column name */ + Longitude = "longitude", +} + +/** select "addresses_aggregate_bool_exp_min_arguments_columns" columns of table "addresses" */ +export enum Addresses_Select_Column_Addresses_Aggregate_Bool_Exp_Min_Arguments_Columns { + /** column name */ + Latitude = "latitude", + /** column name */ + Longitude = "longitude", +} + +/** select "addresses_aggregate_bool_exp_stddev_samp_arguments_columns" columns of table "addresses" */ +export enum Addresses_Select_Column_Addresses_Aggregate_Bool_Exp_Stddev_Samp_Arguments_Columns { + /** column name */ + Latitude = "latitude", + /** column name */ + Longitude = "longitude", +} + +/** select "addresses_aggregate_bool_exp_sum_arguments_columns" columns of table "addresses" */ +export enum Addresses_Select_Column_Addresses_Aggregate_Bool_Exp_Sum_Arguments_Columns { + /** column name */ + Latitude = "latitude", + /** column name */ + Longitude = "longitude", +} + +/** select "addresses_aggregate_bool_exp_var_samp_arguments_columns" columns of table "addresses" */ +export enum Addresses_Select_Column_Addresses_Aggregate_Bool_Exp_Var_Samp_Arguments_Columns { + /** column name */ + Latitude = "latitude", + /** column name */ + Longitude = "longitude", +} + +/** input type for updating data in table "addresses" */ +export type Addresses_Set_Input = { + business_id?: InputMaybe; + city?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + latitude?: InputMaybe; + longitude?: InputMaybe; + street_address?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** aggregate stddev on columns */ +export type Addresses_Stddev_Fields = { + __typename?: "addresses_stddev_fields"; + latitude?: Maybe; + longitude?: Maybe; +}; + +/** order by stddev() on columns of table "addresses" */ +export type Addresses_Stddev_Order_By = { + latitude?: InputMaybe; + longitude?: InputMaybe; +}; + +/** aggregate stddev_pop on columns */ +export type Addresses_Stddev_Pop_Fields = { + __typename?: "addresses_stddev_pop_fields"; + latitude?: Maybe; + longitude?: Maybe; +}; + +/** order by stddev_pop() on columns of table "addresses" */ +export type Addresses_Stddev_Pop_Order_By = { + latitude?: InputMaybe; + longitude?: InputMaybe; +}; + +/** aggregate stddev_samp on columns */ +export type Addresses_Stddev_Samp_Fields = { + __typename?: "addresses_stddev_samp_fields"; + latitude?: Maybe; + longitude?: Maybe; +}; + +/** order by stddev_samp() on columns of table "addresses" */ +export type Addresses_Stddev_Samp_Order_By = { + latitude?: InputMaybe; + longitude?: InputMaybe; +}; + +/** Streaming cursor of the table "addresses" */ +export type Addresses_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Addresses_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Addresses_Stream_Cursor_Value_Input = { + business_id?: InputMaybe; + city?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + latitude?: InputMaybe; + longitude?: InputMaybe; + street_address?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** aggregate sum on columns */ +export type Addresses_Sum_Fields = { + __typename?: "addresses_sum_fields"; + latitude?: Maybe; + longitude?: Maybe; +}; + +/** order by sum() on columns of table "addresses" */ +export type Addresses_Sum_Order_By = { + latitude?: InputMaybe; + longitude?: InputMaybe; +}; + +/** update columns of table "addresses" */ +export enum Addresses_Update_Column { + /** column name */ + BusinessId = "business_id", + /** column name */ + City = "city", + /** column name */ + CreatedAt = "created_at", + /** column name */ + Id = "id", + /** column name */ + Latitude = "latitude", + /** column name */ + Longitude = "longitude", + /** column name */ + StreetAddress = "street_address", + /** column name */ + UpdatedAt = "updated_at", +} + +export type Addresses_Updates = { + /** increments the numeric columns with given value of the filtered values */ + _inc?: InputMaybe; + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Addresses_Bool_Exp; +}; + +/** aggregate var_pop on columns */ +export type Addresses_Var_Pop_Fields = { + __typename?: "addresses_var_pop_fields"; + latitude?: Maybe; + longitude?: Maybe; +}; + +/** order by var_pop() on columns of table "addresses" */ +export type Addresses_Var_Pop_Order_By = { + latitude?: InputMaybe; + longitude?: InputMaybe; +}; + +/** aggregate var_samp on columns */ +export type Addresses_Var_Samp_Fields = { + __typename?: "addresses_var_samp_fields"; + latitude?: Maybe; + longitude?: Maybe; +}; + +/** order by var_samp() on columns of table "addresses" */ +export type Addresses_Var_Samp_Order_By = { + latitude?: InputMaybe; + longitude?: InputMaybe; +}; + +/** aggregate variance on columns */ +export type Addresses_Variance_Fields = { + __typename?: "addresses_variance_fields"; + latitude?: Maybe; + longitude?: Maybe; +}; + +/** order by variance() on columns of table "addresses" */ +export type Addresses_Variance_Order_By = { + latitude?: InputMaybe; + longitude?: InputMaybe; +}; + +/** columns and relationships of "agent" */ +export type Agent = { + __typename?: "agent"; + active: Scalars["Boolean"]["output"]; + agent_type: Scalars["String"]["output"]; + created_at: Scalars["timestamptz"]["output"]; + id: Scalars["uuid"]["output"]; + name: Scalars["String"]["output"]; + on_duty: Scalars["Boolean"]["output"]; +}; + +/** aggregated selection of "agent" */ +export type Agent_Aggregate = { + __typename?: "agent_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "agent" */ +export type Agent_Aggregate_Fields = { + __typename?: "agent_aggregate_fields"; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; +}; + +/** aggregate fields of "agent" */ +export type Agent_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "agent". All fields are combined with a logical 'AND'. */ +export type Agent_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + active?: InputMaybe; + agent_type?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + on_duty?: InputMaybe; +}; + +/** unique or primary key constraints on table "agent" */ +export enum Agent_Constraint { + /** unique or primary key constraint on columns "id" */ + AgentPkey = "agent_pkey", +} + +/** input type for inserting data into table "agent" */ +export type Agent_Insert_Input = { + active?: InputMaybe; + agent_type?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + on_duty?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Agent_Max_Fields = { + __typename?: "agent_max_fields"; + agent_type?: Maybe; + created_at?: Maybe; + id?: Maybe; + name?: Maybe; +}; + +/** aggregate min on columns */ +export type Agent_Min_Fields = { + __typename?: "agent_min_fields"; + agent_type?: Maybe; + created_at?: Maybe; + id?: Maybe; + name?: Maybe; +}; + +/** response of any mutation on the table "agent" */ +export type Agent_Mutation_Response = { + __typename?: "agent_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** input type for inserting object relation for remote table "agent" */ +export type Agent_Obj_Rel_Insert_Input = { + data: Agent_Insert_Input; + /** upsert condition */ + on_conflict?: InputMaybe; +}; + +/** on_conflict condition type for table "agent" */ +export type Agent_On_Conflict = { + constraint: Agent_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "agent". */ +export type Agent_Order_By = { + active?: InputMaybe; + agent_type?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + on_duty?: InputMaybe; +}; + +/** primary key columns input for table: agent */ +export type Agent_Pk_Columns_Input = { + id: Scalars["uuid"]["input"]; +}; + +/** select columns of table "agent" */ +export enum Agent_Select_Column { + /** column name */ + Active = "active", + /** column name */ + AgentType = "agent_type", + /** column name */ + CreatedAt = "created_at", + /** column name */ + Id = "id", + /** column name */ + Name = "name", + /** column name */ + OnDuty = "on_duty", +} + +/** input type for updating data in table "agent" */ +export type Agent_Set_Input = { + active?: InputMaybe; + agent_type?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + on_duty?: InputMaybe; +}; + +/** Streaming cursor of the table "agent" */ +export type Agent_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Agent_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Agent_Stream_Cursor_Value_Input = { + active?: InputMaybe; + agent_type?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + on_duty?: InputMaybe; +}; + +/** columns and relationships of "agent_type" */ +export type Agent_Type = { + __typename?: "agent_type"; + type: Scalars["String"]["output"]; +}; + +/** aggregated selection of "agent_type" */ +export type Agent_Type_Aggregate = { + __typename?: "agent_type_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "agent_type" */ +export type Agent_Type_Aggregate_Fields = { + __typename?: "agent_type_aggregate_fields"; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; +}; + +/** aggregate fields of "agent_type" */ +export type Agent_Type_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "agent_type". All fields are combined with a logical 'AND'. */ +export type Agent_Type_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + type?: InputMaybe; +}; + +/** unique or primary key constraints on table "agent_type" */ +export enum Agent_Type_Constraint { + /** unique or primary key constraint on columns "type" */ + AgentTypePkey = "agent_type_pkey", +} + +/** input type for inserting data into table "agent_type" */ +export type Agent_Type_Insert_Input = { + type?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Agent_Type_Max_Fields = { + __typename?: "agent_type_max_fields"; + type?: Maybe; +}; + +/** aggregate min on columns */ +export type Agent_Type_Min_Fields = { + __typename?: "agent_type_min_fields"; + type?: Maybe; +}; + +/** response of any mutation on the table "agent_type" */ +export type Agent_Type_Mutation_Response = { + __typename?: "agent_type_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** on_conflict condition type for table "agent_type" */ +export type Agent_Type_On_Conflict = { + constraint: Agent_Type_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "agent_type". */ +export type Agent_Type_Order_By = { + type?: InputMaybe; +}; + +/** primary key columns input for table: agent_type */ +export type Agent_Type_Pk_Columns_Input = { + type: Scalars["String"]["input"]; +}; + +/** select columns of table "agent_type" */ +export enum Agent_Type_Select_Column { + /** column name */ + Type = "type", +} + +/** input type for updating data in table "agent_type" */ +export type Agent_Type_Set_Input = { + type?: InputMaybe; +}; + +/** Streaming cursor of the table "agent_type" */ +export type Agent_Type_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Agent_Type_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Agent_Type_Stream_Cursor_Value_Input = { + type?: InputMaybe; +}; + +/** update columns of table "agent_type" */ +export enum Agent_Type_Update_Column { + /** column name */ + Type = "type", +} + +export type Agent_Type_Updates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Agent_Type_Bool_Exp; +}; + +/** update columns of table "agent" */ +export enum Agent_Update_Column { + /** column name */ + Active = "active", + /** column name */ + AgentType = "agent_type", + /** column name */ + CreatedAt = "created_at", + /** column name */ + Id = "id", + /** column name */ + Name = "name", + /** column name */ + OnDuty = "on_duty", +} + +export type Agent_Updates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Agent_Bool_Exp; +}; + +/** columns and relationships of "business" */ +export type Business = { + __typename?: "business"; + /** An array relationship */ + addresses: Array; + /** An aggregate relationship */ + addresses_aggregate: Addresses_Aggregate; + /** An object relationship */ + agent?: Maybe; + /** An object relationship */ + business_type?: Maybe; + contactEmail?: Maybe; + contactName?: Maybe; + created_at: Scalars["timestamptz"]["output"]; + description?: Maybe; + id: Scalars["uuid"]["output"]; + name?: Maybe; + /** An array relationship */ + orders: Array; + /** An aggregate relationship */ + orders_aggregate: Orders_Aggregate; + /** An object relationship */ + owner?: Maybe; + owner_id?: Maybe; + phoneNumber?: Maybe; + /** An object relationship */ + registeration_channel_type?: Maybe; + registered_by?: Maybe; + registration_channel?: Maybe; + type?: Maybe; + updated_at: Scalars["timestamptz"]["output"]; +}; + +/** columns and relationships of "business" */ +export type BusinessAddressesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** columns and relationships of "business" */ +export type BusinessAddresses_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** columns and relationships of "business" */ +export type BusinessOrdersArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** columns and relationships of "business" */ +export type BusinessOrders_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** aggregated selection of "business" */ +export type Business_Aggregate = { + __typename?: "business_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +export type Business_Aggregate_Bool_Exp = { + count?: InputMaybe; +}; + +export type Business_Aggregate_Bool_Exp_Count = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Int_Comparison_Exp; +}; + +/** aggregate fields of "business" */ +export type Business_Aggregate_Fields = { + __typename?: "business_aggregate_fields"; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; +}; + +/** aggregate fields of "business" */ +export type Business_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** order by aggregate values of table "business" */ +export type Business_Aggregate_Order_By = { + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; +}; + +/** input type for inserting array relation for remote table "business" */ +export type Business_Arr_Rel_Insert_Input = { + data: Array; + /** upsert condition */ + on_conflict?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "business". All fields are combined with a logical 'AND'. */ +export type Business_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + addresses?: InputMaybe; + addresses_aggregate?: InputMaybe; + agent?: InputMaybe; + business_type?: InputMaybe; + contactEmail?: InputMaybe; + contactName?: InputMaybe; + created_at?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + orders?: InputMaybe; + orders_aggregate?: InputMaybe; + owner?: InputMaybe; + owner_id?: InputMaybe; + phoneNumber?: InputMaybe; + registeration_channel_type?: InputMaybe; + registered_by?: InputMaybe; + registration_channel?: InputMaybe; + type?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** unique or primary key constraints on table "business" */ +export enum Business_Constraint { + /** unique or primary key constraint on columns "id" */ + BusinessPkey = "business_pkey", +} + +/** input type for inserting data into table "business" */ +export type Business_Insert_Input = { + addresses?: InputMaybe; + agent?: InputMaybe; + business_type?: InputMaybe; + contactEmail?: InputMaybe; + contactName?: InputMaybe; + created_at?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + orders?: InputMaybe; + owner?: InputMaybe; + owner_id?: InputMaybe; + phoneNumber?: InputMaybe; + registeration_channel_type?: InputMaybe; + registered_by?: InputMaybe; + registration_channel?: InputMaybe; + type?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Business_Max_Fields = { + __typename?: "business_max_fields"; + contactEmail?: Maybe; + contactName?: Maybe; + created_at?: Maybe; + description?: Maybe; + id?: Maybe; + name?: Maybe; + owner_id?: Maybe; + phoneNumber?: Maybe; + registered_by?: Maybe; + updated_at?: Maybe; +}; + +/** order by max() on columns of table "business" */ +export type Business_Max_Order_By = { + contactEmail?: InputMaybe; + contactName?: InputMaybe; + created_at?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + owner_id?: InputMaybe; + phoneNumber?: InputMaybe; + registered_by?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** aggregate min on columns */ +export type Business_Min_Fields = { + __typename?: "business_min_fields"; + contactEmail?: Maybe; + contactName?: Maybe; + created_at?: Maybe; + description?: Maybe; + id?: Maybe; + name?: Maybe; + owner_id?: Maybe; + phoneNumber?: Maybe; + registered_by?: Maybe; + updated_at?: Maybe; +}; + +/** order by min() on columns of table "business" */ +export type Business_Min_Order_By = { + contactEmail?: InputMaybe; + contactName?: InputMaybe; + created_at?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + owner_id?: InputMaybe; + phoneNumber?: InputMaybe; + registered_by?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** response of any mutation on the table "business" */ +export type Business_Mutation_Response = { + __typename?: "business_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** input type for inserting object relation for remote table "business" */ +export type Business_Obj_Rel_Insert_Input = { + data: Business_Insert_Input; + /** upsert condition */ + on_conflict?: InputMaybe; +}; + +/** on_conflict condition type for table "business" */ +export type Business_On_Conflict = { + constraint: Business_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "business". */ +export type Business_Order_By = { + addresses_aggregate?: InputMaybe; + agent?: InputMaybe; + business_type?: InputMaybe; + contactEmail?: InputMaybe; + contactName?: InputMaybe; + created_at?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + orders_aggregate?: InputMaybe; + owner?: InputMaybe; + owner_id?: InputMaybe; + phoneNumber?: InputMaybe; + registeration_channel_type?: InputMaybe; + registered_by?: InputMaybe; + registration_channel?: InputMaybe; + type?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** primary key columns input for table: business */ +export type Business_Pk_Columns_Input = { + id: Scalars["uuid"]["input"]; +}; + +/** columns and relationships of "business_sector" */ +export type Business_Sector = { + __typename?: "business_sector"; + text: Scalars["String"]["output"]; +}; + +/** aggregated selection of "business_sector" */ +export type Business_Sector_Aggregate = { + __typename?: "business_sector_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "business_sector" */ +export type Business_Sector_Aggregate_Fields = { + __typename?: "business_sector_aggregate_fields"; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; +}; + +/** aggregate fields of "business_sector" */ +export type Business_Sector_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "business_sector". All fields are combined with a logical 'AND'. */ +export type Business_Sector_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + text?: InputMaybe; +}; + +/** unique or primary key constraints on table "business_sector" */ +export enum Business_Sector_Constraint { + /** unique or primary key constraint on columns "text" */ + BusinessSectorPkey = "business_sector_pkey", +} + +/** input type for inserting data into table "business_sector" */ +export type Business_Sector_Insert_Input = { + text?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Business_Sector_Max_Fields = { + __typename?: "business_sector_max_fields"; + text?: Maybe; +}; + +/** aggregate min on columns */ +export type Business_Sector_Min_Fields = { + __typename?: "business_sector_min_fields"; + text?: Maybe; +}; + +/** response of any mutation on the table "business_sector" */ +export type Business_Sector_Mutation_Response = { + __typename?: "business_sector_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** on_conflict condition type for table "business_sector" */ +export type Business_Sector_On_Conflict = { + constraint: Business_Sector_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "business_sector". */ +export type Business_Sector_Order_By = { + text?: InputMaybe; +}; + +/** primary key columns input for table: business_sector */ +export type Business_Sector_Pk_Columns_Input = { + text: Scalars["String"]["input"]; +}; + +/** select columns of table "business_sector" */ +export enum Business_Sector_Select_Column { + /** column name */ + Text = "text", +} + +/** input type for updating data in table "business_sector" */ +export type Business_Sector_Set_Input = { + text?: InputMaybe; +}; + +/** Streaming cursor of the table "business_sector" */ +export type Business_Sector_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Business_Sector_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Business_Sector_Stream_Cursor_Value_Input = { + text?: InputMaybe; +}; + +/** update columns of table "business_sector" */ +export enum Business_Sector_Update_Column { + /** column name */ + Text = "text", +} + +export type Business_Sector_Updates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Business_Sector_Bool_Exp; +}; + +/** select columns of table "business" */ +export enum Business_Select_Column { + /** column name */ + ContactEmail = "contactEmail", + /** column name */ + ContactName = "contactName", + /** column name */ + CreatedAt = "created_at", + /** column name */ + Description = "description", + /** column name */ + Id = "id", + /** column name */ + Name = "name", + /** column name */ + OwnerId = "owner_id", + /** column name */ + PhoneNumber = "phoneNumber", + /** column name */ + RegisteredBy = "registered_by", + /** column name */ + RegistrationChannel = "registration_channel", + /** column name */ + Type = "type", + /** column name */ + UpdatedAt = "updated_at", +} + +/** input type for updating data in table "business" */ +export type Business_Set_Input = { + contactEmail?: InputMaybe; + contactName?: InputMaybe; + created_at?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + owner_id?: InputMaybe; + phoneNumber?: InputMaybe; + registered_by?: InputMaybe; + registration_channel?: InputMaybe; + type?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** Streaming cursor of the table "business" */ +export type Business_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Business_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Business_Stream_Cursor_Value_Input = { + contactEmail?: InputMaybe; + contactName?: InputMaybe; + created_at?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + owner_id?: InputMaybe; + phoneNumber?: InputMaybe; + registered_by?: InputMaybe; + registration_channel?: InputMaybe; + type?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** columns and relationships of "business_type" */ +export type Business_Type = { + __typename?: "business_type"; + /** An array relationship */ + businesses: Array; + /** An aggregate relationship */ + businesses_aggregate: Business_Aggregate; + type: Scalars["String"]["output"]; +}; + +/** columns and relationships of "business_type" */ +export type Business_TypeBusinessesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** columns and relationships of "business_type" */ +export type Business_TypeBusinesses_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** aggregated selection of "business_type" */ +export type Business_Type_Aggregate = { + __typename?: "business_type_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "business_type" */ +export type Business_Type_Aggregate_Fields = { + __typename?: "business_type_aggregate_fields"; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; +}; + +/** aggregate fields of "business_type" */ +export type Business_Type_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "business_type". All fields are combined with a logical 'AND'. */ +export type Business_Type_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + businesses?: InputMaybe; + businesses_aggregate?: InputMaybe; + type?: InputMaybe; +}; + +/** unique or primary key constraints on table "business_type" */ +export enum Business_Type_Constraint { + /** unique or primary key constraint on columns "type" */ + BusinessTypePkey = "business_type_pkey", +} + +export enum Business_Type_Enum { + Bar = "bar", + Hotel = "hotel", + Restaurant = "restaurant", +} + +/** Boolean expression to compare columns of type "business_type_enum". All fields are combined with logical 'AND'. */ +export type Business_Type_Enum_Comparison_Exp = { + _eq?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +/** input type for inserting data into table "business_type" */ +export type Business_Type_Insert_Input = { + businesses?: InputMaybe; + type?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Business_Type_Max_Fields = { + __typename?: "business_type_max_fields"; + type?: Maybe; +}; + +/** aggregate min on columns */ +export type Business_Type_Min_Fields = { + __typename?: "business_type_min_fields"; + type?: Maybe; +}; + +/** response of any mutation on the table "business_type" */ +export type Business_Type_Mutation_Response = { + __typename?: "business_type_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** input type for inserting object relation for remote table "business_type" */ +export type Business_Type_Obj_Rel_Insert_Input = { + data: Business_Type_Insert_Input; + /** upsert condition */ + on_conflict?: InputMaybe; +}; + +/** on_conflict condition type for table "business_type" */ +export type Business_Type_On_Conflict = { + constraint: Business_Type_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "business_type". */ +export type Business_Type_Order_By = { + businesses_aggregate?: InputMaybe; + type?: InputMaybe; +}; + +/** primary key columns input for table: business_type */ +export type Business_Type_Pk_Columns_Input = { + type: Scalars["String"]["input"]; +}; + +/** select columns of table "business_type" */ +export enum Business_Type_Select_Column { + /** column name */ + Type = "type", +} + +/** input type for updating data in table "business_type" */ +export type Business_Type_Set_Input = { + type?: InputMaybe; +}; + +/** Streaming cursor of the table "business_type" */ +export type Business_Type_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Business_Type_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Business_Type_Stream_Cursor_Value_Input = { + type?: InputMaybe; +}; + +/** update columns of table "business_type" */ +export enum Business_Type_Update_Column { + /** column name */ + Type = "type", +} + +export type Business_Type_Updates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Business_Type_Bool_Exp; +}; + +/** update columns of table "business" */ +export enum Business_Update_Column { + /** column name */ + ContactEmail = "contactEmail", + /** column name */ + ContactName = "contactName", + /** column name */ + CreatedAt = "created_at", + /** column name */ + Description = "description", + /** column name */ + Id = "id", + /** column name */ + Name = "name", + /** column name */ + OwnerId = "owner_id", + /** column name */ + PhoneNumber = "phoneNumber", + /** column name */ + RegisteredBy = "registered_by", + /** column name */ + RegistrationChannel = "registration_channel", + /** column name */ + Type = "type", + /** column name */ + UpdatedAt = "updated_at", +} + +export type Business_Updates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Business_Bool_Exp; +}; + +/** columns and relationships of "contact_details" */ +export type Contact_Details = { + __typename?: "contact_details"; + created_at: Scalars["timestamptz"]["output"]; + id: Scalars["uuid"]["output"]; + updated_at: Scalars["timestamptz"]["output"]; +}; + +/** aggregated selection of "contact_details" */ +export type Contact_Details_Aggregate = { + __typename?: "contact_details_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "contact_details" */ +export type Contact_Details_Aggregate_Fields = { + __typename?: "contact_details_aggregate_fields"; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; +}; + +/** aggregate fields of "contact_details" */ +export type Contact_Details_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "contact_details". All fields are combined with a logical 'AND'. */ +export type Contact_Details_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + created_at?: InputMaybe; + id?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** unique or primary key constraints on table "contact_details" */ +export enum Contact_Details_Constraint { + /** unique or primary key constraint on columns "id" */ + ContactDetailsPkey = "contact_details_pkey", +} + +/** input type for inserting data into table "contact_details" */ +export type Contact_Details_Insert_Input = { + created_at?: InputMaybe; + id?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Contact_Details_Max_Fields = { + __typename?: "contact_details_max_fields"; + created_at?: Maybe; + id?: Maybe; + updated_at?: Maybe; +}; + +/** aggregate min on columns */ +export type Contact_Details_Min_Fields = { + __typename?: "contact_details_min_fields"; + created_at?: Maybe; + id?: Maybe; + updated_at?: Maybe; +}; + +/** response of any mutation on the table "contact_details" */ +export type Contact_Details_Mutation_Response = { + __typename?: "contact_details_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** on_conflict condition type for table "contact_details" */ +export type Contact_Details_On_Conflict = { + constraint: Contact_Details_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "contact_details". */ +export type Contact_Details_Order_By = { + created_at?: InputMaybe; + id?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** primary key columns input for table: contact_details */ +export type Contact_Details_Pk_Columns_Input = { + id: Scalars["uuid"]["input"]; +}; + +/** select columns of table "contact_details" */ +export enum Contact_Details_Select_Column { + /** column name */ + CreatedAt = "created_at", + /** column name */ + Id = "id", + /** column name */ + UpdatedAt = "updated_at", +} + +/** input type for updating data in table "contact_details" */ +export type Contact_Details_Set_Input = { + created_at?: InputMaybe; + id?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** Streaming cursor of the table "contact_details" */ +export type Contact_Details_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Contact_Details_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Contact_Details_Stream_Cursor_Value_Input = { + created_at?: InputMaybe; + id?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** update columns of table "contact_details" */ +export enum Contact_Details_Update_Column { + /** column name */ + CreatedAt = "created_at", + /** column name */ + Id = "id", + /** column name */ + UpdatedAt = "updated_at", +} + +export type Contact_Details_Updates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Contact_Details_Bool_Exp; +}; + +/** columns and relationships of "courier_rides" */ +export type Courier_Rides = { + __typename?: "courier_rides"; + color: Scalars["String"]["output"]; + /** An object relationship */ + courier: Couriers; + courier_id: Scalars["uuid"]["output"]; + created_at: Scalars["timestamptz"]["output"]; + id: Scalars["uuid"]["output"]; + license_plate_number: Scalars["String"]["output"]; + model: Scalars["String"]["output"]; + /** An object relationship */ + ride_status: Ride_Status; + /** An object relationship */ + ride_type: Ride_Type; + status: Ride_Status_Enum; + type: Ride_Type_Enum; + updated_at: Scalars["timestamptz"]["output"]; +}; + +/** aggregated selection of "courier_rides" */ +export type Courier_Rides_Aggregate = { + __typename?: "courier_rides_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +export type Courier_Rides_Aggregate_Bool_Exp = { + count?: InputMaybe; +}; + +export type Courier_Rides_Aggregate_Bool_Exp_Count = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Int_Comparison_Exp; +}; + +/** aggregate fields of "courier_rides" */ +export type Courier_Rides_Aggregate_Fields = { + __typename?: "courier_rides_aggregate_fields"; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; +}; + +/** aggregate fields of "courier_rides" */ +export type Courier_Rides_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** order by aggregate values of table "courier_rides" */ +export type Courier_Rides_Aggregate_Order_By = { + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; +}; + +/** input type for inserting array relation for remote table "courier_rides" */ +export type Courier_Rides_Arr_Rel_Insert_Input = { + data: Array; + /** upsert condition */ + on_conflict?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "courier_rides". All fields are combined with a logical 'AND'. */ +export type Courier_Rides_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + color?: InputMaybe; + courier?: InputMaybe; + courier_id?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + license_plate_number?: InputMaybe; + model?: InputMaybe; + ride_status?: InputMaybe; + ride_type?: InputMaybe; + status?: InputMaybe; + type?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** unique or primary key constraints on table "courier_rides" */ +export enum Courier_Rides_Constraint { + /** unique or primary key constraint on columns "id" */ + CourierRidesPkey = "courier_rides_pkey", +} + +/** input type for inserting data into table "courier_rides" */ +export type Courier_Rides_Insert_Input = { + color?: InputMaybe; + courier?: InputMaybe; + courier_id?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + license_plate_number?: InputMaybe; + model?: InputMaybe; + ride_status?: InputMaybe; + ride_type?: InputMaybe; + status?: InputMaybe; + type?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Courier_Rides_Max_Fields = { + __typename?: "courier_rides_max_fields"; + color?: Maybe; + courier_id?: Maybe; + created_at?: Maybe; + id?: Maybe; + license_plate_number?: Maybe; + model?: Maybe; + updated_at?: Maybe; +}; + +/** order by max() on columns of table "courier_rides" */ +export type Courier_Rides_Max_Order_By = { + color?: InputMaybe; + courier_id?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + license_plate_number?: InputMaybe; + model?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** aggregate min on columns */ +export type Courier_Rides_Min_Fields = { + __typename?: "courier_rides_min_fields"; + color?: Maybe; + courier_id?: Maybe; + created_at?: Maybe; + id?: Maybe; + license_plate_number?: Maybe; + model?: Maybe; + updated_at?: Maybe; +}; + +/** order by min() on columns of table "courier_rides" */ +export type Courier_Rides_Min_Order_By = { + color?: InputMaybe; + courier_id?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + license_plate_number?: InputMaybe; + model?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** response of any mutation on the table "courier_rides" */ +export type Courier_Rides_Mutation_Response = { + __typename?: "courier_rides_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** on_conflict condition type for table "courier_rides" */ +export type Courier_Rides_On_Conflict = { + constraint: Courier_Rides_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "courier_rides". */ +export type Courier_Rides_Order_By = { + color?: InputMaybe; + courier?: InputMaybe; + courier_id?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + license_plate_number?: InputMaybe; + model?: InputMaybe; + ride_status?: InputMaybe; + ride_type?: InputMaybe; + status?: InputMaybe; + type?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** primary key columns input for table: courier_rides */ +export type Courier_Rides_Pk_Columns_Input = { + id: Scalars["uuid"]["input"]; +}; + +/** select columns of table "courier_rides" */ +export enum Courier_Rides_Select_Column { + /** column name */ + Color = "color", + /** column name */ + CourierId = "courier_id", + /** column name */ + CreatedAt = "created_at", + /** column name */ + Id = "id", + /** column name */ + LicensePlateNumber = "license_plate_number", + /** column name */ + Model = "model", + /** column name */ + Status = "status", + /** column name */ + Type = "type", + /** column name */ + UpdatedAt = "updated_at", +} + +/** input type for updating data in table "courier_rides" */ +export type Courier_Rides_Set_Input = { + color?: InputMaybe; + courier_id?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + license_plate_number?: InputMaybe; + model?: InputMaybe; + status?: InputMaybe; + type?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** Streaming cursor of the table "courier_rides" */ +export type Courier_Rides_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Courier_Rides_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Courier_Rides_Stream_Cursor_Value_Input = { + color?: InputMaybe; + courier_id?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + license_plate_number?: InputMaybe; + model?: InputMaybe; + status?: InputMaybe; + type?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** update columns of table "courier_rides" */ +export enum Courier_Rides_Update_Column { + /** column name */ + Color = "color", + /** column name */ + CourierId = "courier_id", + /** column name */ + CreatedAt = "created_at", + /** column name */ + Id = "id", + /** column name */ + LicensePlateNumber = "license_plate_number", + /** column name */ + Model = "model", + /** column name */ + Status = "status", + /** column name */ + Type = "type", + /** column name */ + UpdatedAt = "updated_at", +} + +export type Courier_Rides_Updates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Courier_Rides_Bool_Exp; +}; + +/** columns and relationships of "couriers" */ +export type Couriers = { + __typename?: "couriers"; + DOB?: Maybe; + assigned: Scalars["Boolean"]["output"]; + avatar?: Maybe; + created_at: Scalars["timestamptz"]["output"]; + /** An array relationship */ + deliveries: Array; + /** An aggregate relationship */ + deliveries_aggregate: Delivery_Aggregate; + email?: Maybe; + gender?: Maybe; + id: Scalars["uuid"]["output"]; + name: Scalars["String"]["output"]; + phoneNumber?: Maybe; + /** An array relationship */ + rides: Array; + /** An aggregate relationship */ + rides_aggregate: Courier_Rides_Aggregate; +}; + +/** columns and relationships of "couriers" */ +export type CouriersDeliveriesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** columns and relationships of "couriers" */ +export type CouriersDeliveries_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** columns and relationships of "couriers" */ +export type CouriersRidesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** columns and relationships of "couriers" */ +export type CouriersRides_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** aggregated selection of "couriers" */ +export type Couriers_Aggregate = { + __typename?: "couriers_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "couriers" */ +export type Couriers_Aggregate_Fields = { + __typename?: "couriers_aggregate_fields"; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; +}; + +/** aggregate fields of "couriers" */ +export type Couriers_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "couriers". All fields are combined with a logical 'AND'. */ +export type Couriers_Bool_Exp = { + DOB?: InputMaybe; + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + assigned?: InputMaybe; + avatar?: InputMaybe; + created_at?: InputMaybe; + deliveries?: InputMaybe; + deliveries_aggregate?: InputMaybe; + email?: InputMaybe; + gender?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + phoneNumber?: InputMaybe; + rides?: InputMaybe; + rides_aggregate?: InputMaybe; +}; + +/** unique or primary key constraints on table "couriers" */ +export enum Couriers_Constraint { + /** unique or primary key constraint on columns "id" */ + CouriersPkey = "couriers_pkey", +} + +/** input type for inserting data into table "couriers" */ +export type Couriers_Insert_Input = { + DOB?: InputMaybe; + assigned?: InputMaybe; + avatar?: InputMaybe; + created_at?: InputMaybe; + deliveries?: InputMaybe; + email?: InputMaybe; + gender?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + phoneNumber?: InputMaybe; + rides?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Couriers_Max_Fields = { + __typename?: "couriers_max_fields"; + DOB?: Maybe; + avatar?: Maybe; + created_at?: Maybe; + email?: Maybe; + gender?: Maybe; + id?: Maybe; + name?: Maybe; + phoneNumber?: Maybe; +}; + +/** aggregate min on columns */ +export type Couriers_Min_Fields = { + __typename?: "couriers_min_fields"; + DOB?: Maybe; + avatar?: Maybe; + created_at?: Maybe; + email?: Maybe; + gender?: Maybe; + id?: Maybe; + name?: Maybe; + phoneNumber?: Maybe; +}; + +/** response of any mutation on the table "couriers" */ +export type Couriers_Mutation_Response = { + __typename?: "couriers_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** input type for inserting object relation for remote table "couriers" */ +export type Couriers_Obj_Rel_Insert_Input = { + data: Couriers_Insert_Input; + /** upsert condition */ + on_conflict?: InputMaybe; +}; + +/** on_conflict condition type for table "couriers" */ +export type Couriers_On_Conflict = { + constraint: Couriers_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "couriers". */ +export type Couriers_Order_By = { + DOB?: InputMaybe; + assigned?: InputMaybe; + avatar?: InputMaybe; + created_at?: InputMaybe; + deliveries_aggregate?: InputMaybe; + email?: InputMaybe; + gender?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + phoneNumber?: InputMaybe; + rides_aggregate?: InputMaybe; +}; + +/** primary key columns input for table: couriers */ +export type Couriers_Pk_Columns_Input = { + id: Scalars["uuid"]["input"]; +}; + +/** select columns of table "couriers" */ +export enum Couriers_Select_Column { + /** column name */ + Dob = "DOB", + /** column name */ + Assigned = "assigned", + /** column name */ + Avatar = "avatar", + /** column name */ + CreatedAt = "created_at", + /** column name */ + Email = "email", + /** column name */ + Gender = "gender", + /** column name */ + Id = "id", + /** column name */ + Name = "name", + /** column name */ + PhoneNumber = "phoneNumber", +} + +/** input type for updating data in table "couriers" */ +export type Couriers_Set_Input = { + DOB?: InputMaybe; + assigned?: InputMaybe; + avatar?: InputMaybe; + created_at?: InputMaybe; + email?: InputMaybe; + gender?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + phoneNumber?: InputMaybe; +}; + +/** Streaming cursor of the table "couriers" */ +export type Couriers_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Couriers_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Couriers_Stream_Cursor_Value_Input = { + DOB?: InputMaybe; + assigned?: InputMaybe; + avatar?: InputMaybe; + created_at?: InputMaybe; + email?: InputMaybe; + gender?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + phoneNumber?: InputMaybe; +}; + +/** update columns of table "couriers" */ +export enum Couriers_Update_Column { + /** column name */ + Dob = "DOB", + /** column name */ + Assigned = "assigned", + /** column name */ + Avatar = "avatar", + /** column name */ + CreatedAt = "created_at", + /** column name */ + Email = "email", + /** column name */ + Gender = "gender", + /** column name */ + Id = "id", + /** column name */ + Name = "name", + /** column name */ + PhoneNumber = "phoneNumber", +} + +export type Couriers_Updates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Couriers_Bool_Exp; +}; + +/** ordering argument of a cursor */ +export enum Cursor_Ordering { + /** ascending ordering of the cursor */ + Asc = "ASC", + /** descending ordering of the cursor */ + Desc = "DESC", +} + +/** Boolean expression to compare columns of type "date". All fields are combined with logical 'AND'. */ +export type Date_Comparison_Exp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +/** columns and relationships of "delivery" */ +export type Delivery = { + __typename?: "delivery"; + /** An object relationship */ + courier: Couriers; + courierId: Scalars["uuid"]["output"]; + created_at: Scalars["timestamptz"]["output"]; + id: Scalars["uuid"]["output"]; + /** An object relationship */ + order: Orders; + orderId: Scalars["uuid"]["output"]; + status?: Maybe; +}; + +/** aggregated selection of "delivery" */ +export type Delivery_Aggregate = { + __typename?: "delivery_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +export type Delivery_Aggregate_Bool_Exp = { + count?: InputMaybe; +}; + +export type Delivery_Aggregate_Bool_Exp_Count = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Int_Comparison_Exp; +}; + +/** aggregate fields of "delivery" */ +export type Delivery_Aggregate_Fields = { + __typename?: "delivery_aggregate_fields"; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; +}; + +/** aggregate fields of "delivery" */ +export type Delivery_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** order by aggregate values of table "delivery" */ +export type Delivery_Aggregate_Order_By = { + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; +}; + +/** input type for inserting array relation for remote table "delivery" */ +export type Delivery_Arr_Rel_Insert_Input = { + data: Array; + /** upsert condition */ + on_conflict?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "delivery". All fields are combined with a logical 'AND'. */ +export type Delivery_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + courier?: InputMaybe; + courierId?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + order?: InputMaybe; + orderId?: InputMaybe; + status?: InputMaybe; +}; + +/** unique or primary key constraints on table "delivery" */ +export enum Delivery_Constraint { + /** unique or primary key constraint on columns "id" */ + DeliveryPkey = "delivery_pkey", +} + +/** input type for inserting data into table "delivery" */ +export type Delivery_Insert_Input = { + courier?: InputMaybe; + courierId?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + order?: InputMaybe; + orderId?: InputMaybe; + status?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Delivery_Max_Fields = { + __typename?: "delivery_max_fields"; + courierId?: Maybe; + created_at?: Maybe; + id?: Maybe; + orderId?: Maybe; +}; + +/** order by max() on columns of table "delivery" */ +export type Delivery_Max_Order_By = { + courierId?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + orderId?: InputMaybe; +}; + +/** aggregate min on columns */ +export type Delivery_Min_Fields = { + __typename?: "delivery_min_fields"; + courierId?: Maybe; + created_at?: Maybe; + id?: Maybe; + orderId?: Maybe; +}; + +/** order by min() on columns of table "delivery" */ +export type Delivery_Min_Order_By = { + courierId?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + orderId?: InputMaybe; +}; + +/** response of any mutation on the table "delivery" */ +export type Delivery_Mutation_Response = { + __typename?: "delivery_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** on_conflict condition type for table "delivery" */ +export type Delivery_On_Conflict = { + constraint: Delivery_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "delivery". */ +export type Delivery_Order_By = { + courier?: InputMaybe; + courierId?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + order?: InputMaybe; + orderId?: InputMaybe; + status?: InputMaybe; +}; + +/** columns and relationships of "delivery_personnel" */ +export type Delivery_Personnel = { + __typename?: "delivery_personnel"; + created_at: Scalars["timestamptz"]["output"]; + id: Scalars["uuid"]["output"]; + name: Scalars["String"]["output"]; + updated_at: Scalars["timestamptz"]["output"]; +}; + +/** aggregated selection of "delivery_personnel" */ +export type Delivery_Personnel_Aggregate = { + __typename?: "delivery_personnel_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "delivery_personnel" */ +export type Delivery_Personnel_Aggregate_Fields = { + __typename?: "delivery_personnel_aggregate_fields"; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; +}; + +/** aggregate fields of "delivery_personnel" */ +export type Delivery_Personnel_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "delivery_personnel". All fields are combined with a logical 'AND'. */ +export type Delivery_Personnel_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + created_at?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** unique or primary key constraints on table "delivery_personnel" */ +export enum Delivery_Personnel_Constraint { + /** unique or primary key constraint on columns "id" */ + DeliveryPersonnelPkey = "delivery_personnel_pkey", +} + +/** input type for inserting data into table "delivery_personnel" */ +export type Delivery_Personnel_Insert_Input = { + created_at?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Delivery_Personnel_Max_Fields = { + __typename?: "delivery_personnel_max_fields"; + created_at?: Maybe; + id?: Maybe; + name?: Maybe; + updated_at?: Maybe; +}; + +/** aggregate min on columns */ +export type Delivery_Personnel_Min_Fields = { + __typename?: "delivery_personnel_min_fields"; + created_at?: Maybe; + id?: Maybe; + name?: Maybe; + updated_at?: Maybe; +}; + +/** response of any mutation on the table "delivery_personnel" */ +export type Delivery_Personnel_Mutation_Response = { + __typename?: "delivery_personnel_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** on_conflict condition type for table "delivery_personnel" */ +export type Delivery_Personnel_On_Conflict = { + constraint: Delivery_Personnel_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "delivery_personnel". */ +export type Delivery_Personnel_Order_By = { + created_at?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** primary key columns input for table: delivery_personnel */ +export type Delivery_Personnel_Pk_Columns_Input = { + id: Scalars["uuid"]["input"]; +}; + +/** select columns of table "delivery_personnel" */ +export enum Delivery_Personnel_Select_Column { + /** column name */ + CreatedAt = "created_at", + /** column name */ + Id = "id", + /** column name */ + Name = "name", + /** column name */ + UpdatedAt = "updated_at", +} + +/** input type for updating data in table "delivery_personnel" */ +export type Delivery_Personnel_Set_Input = { + created_at?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** Streaming cursor of the table "delivery_personnel" */ +export type Delivery_Personnel_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Delivery_Personnel_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Delivery_Personnel_Stream_Cursor_Value_Input = { + created_at?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** update columns of table "delivery_personnel" */ +export enum Delivery_Personnel_Update_Column { + /** column name */ + CreatedAt = "created_at", + /** column name */ + Id = "id", + /** column name */ + Name = "name", + /** column name */ + UpdatedAt = "updated_at", +} + +export type Delivery_Personnel_Updates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Delivery_Personnel_Bool_Exp; +}; + +/** primary key columns input for table: delivery */ +export type Delivery_Pk_Columns_Input = { + id: Scalars["uuid"]["input"]; +}; + +/** columns and relationships of "delivery_request" */ +export type Delivery_Request = { + __typename?: "delivery_request"; + created_at: Scalars["timestamptz"]["output"]; + delivery_method?: Maybe; + id: Scalars["uuid"]["output"]; + updated_at: Scalars["timestamptz"]["output"]; +}; + +/** aggregated selection of "delivery_request" */ +export type Delivery_Request_Aggregate = { + __typename?: "delivery_request_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "delivery_request" */ +export type Delivery_Request_Aggregate_Fields = { + __typename?: "delivery_request_aggregate_fields"; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; +}; + +/** aggregate fields of "delivery_request" */ +export type Delivery_Request_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "delivery_request". All fields are combined with a logical 'AND'. */ +export type Delivery_Request_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + created_at?: InputMaybe; + delivery_method?: InputMaybe; + id?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** unique or primary key constraints on table "delivery_request" */ +export enum Delivery_Request_Constraint { + /** unique or primary key constraint on columns "id" */ + DeliveryRequestPkey = "delivery_request_pkey", +} + +/** input type for inserting data into table "delivery_request" */ +export type Delivery_Request_Insert_Input = { + created_at?: InputMaybe; + delivery_method?: InputMaybe; + id?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Delivery_Request_Max_Fields = { + __typename?: "delivery_request_max_fields"; + created_at?: Maybe; + delivery_method?: Maybe; + id?: Maybe; + updated_at?: Maybe; +}; + +/** aggregate min on columns */ +export type Delivery_Request_Min_Fields = { + __typename?: "delivery_request_min_fields"; + created_at?: Maybe; + delivery_method?: Maybe; + id?: Maybe; + updated_at?: Maybe; +}; + +/** response of any mutation on the table "delivery_request" */ +export type Delivery_Request_Mutation_Response = { + __typename?: "delivery_request_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** on_conflict condition type for table "delivery_request" */ +export type Delivery_Request_On_Conflict = { + constraint: Delivery_Request_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "delivery_request". */ +export type Delivery_Request_Order_By = { + created_at?: InputMaybe; + delivery_method?: InputMaybe; + id?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** primary key columns input for table: delivery_request */ +export type Delivery_Request_Pk_Columns_Input = { + id: Scalars["uuid"]["input"]; +}; + +/** select columns of table "delivery_request" */ +export enum Delivery_Request_Select_Column { + /** column name */ + CreatedAt = "created_at", + /** column name */ + DeliveryMethod = "delivery_method", + /** column name */ + Id = "id", + /** column name */ + UpdatedAt = "updated_at", +} + +/** input type for updating data in table "delivery_request" */ +export type Delivery_Request_Set_Input = { + created_at?: InputMaybe; + delivery_method?: InputMaybe; + id?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** Streaming cursor of the table "delivery_request" */ +export type Delivery_Request_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Delivery_Request_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Delivery_Request_Stream_Cursor_Value_Input = { + created_at?: InputMaybe; + delivery_method?: InputMaybe; + id?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** update columns of table "delivery_request" */ +export enum Delivery_Request_Update_Column { + /** column name */ + CreatedAt = "created_at", + /** column name */ + DeliveryMethod = "delivery_method", + /** column name */ + Id = "id", + /** column name */ + UpdatedAt = "updated_at", +} + +export type Delivery_Request_Updates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Delivery_Request_Bool_Exp; +}; + +/** select columns of table "delivery" */ +export enum Delivery_Select_Column { + /** column name */ + CourierId = "courierId", + /** column name */ + CreatedAt = "created_at", + /** column name */ + Id = "id", + /** column name */ + OrderId = "orderId", + /** column name */ + Status = "status", +} + +/** input type for updating data in table "delivery" */ +export type Delivery_Set_Input = { + courierId?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + orderId?: InputMaybe; + status?: InputMaybe; +}; + +/** columns and relationships of "delivery_status" */ +export type Delivery_Status = { + __typename?: "delivery_status"; + status: Scalars["String"]["output"]; +}; + +/** aggregated selection of "delivery_status" */ +export type Delivery_Status_Aggregate = { + __typename?: "delivery_status_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "delivery_status" */ +export type Delivery_Status_Aggregate_Fields = { + __typename?: "delivery_status_aggregate_fields"; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; +}; + +/** aggregate fields of "delivery_status" */ +export type Delivery_Status_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "delivery_status". All fields are combined with a logical 'AND'. */ +export type Delivery_Status_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + status?: InputMaybe; +}; + +/** unique or primary key constraints on table "delivery_status" */ +export enum Delivery_Status_Constraint { + /** unique or primary key constraint on columns "status" */ + DeliveryStatusPkey = "delivery_status_pkey", +} + +export enum Delivery_Status_Enum { + Active = "active", + Pending = "pending", +} + +/** Boolean expression to compare columns of type "delivery_status_enum". All fields are combined with logical 'AND'. */ +export type Delivery_Status_Enum_Comparison_Exp = { + _eq?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +/** input type for inserting data into table "delivery_status" */ +export type Delivery_Status_Insert_Input = { + status?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Delivery_Status_Max_Fields = { + __typename?: "delivery_status_max_fields"; + status?: Maybe; +}; + +/** aggregate min on columns */ +export type Delivery_Status_Min_Fields = { + __typename?: "delivery_status_min_fields"; + status?: Maybe; +}; + +/** response of any mutation on the table "delivery_status" */ +export type Delivery_Status_Mutation_Response = { + __typename?: "delivery_status_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** on_conflict condition type for table "delivery_status" */ +export type Delivery_Status_On_Conflict = { + constraint: Delivery_Status_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "delivery_status". */ +export type Delivery_Status_Order_By = { + status?: InputMaybe; +}; + +/** primary key columns input for table: delivery_status */ +export type Delivery_Status_Pk_Columns_Input = { + status: Scalars["String"]["input"]; +}; + +/** select columns of table "delivery_status" */ +export enum Delivery_Status_Select_Column { + /** column name */ + Status = "status", +} + +/** input type for updating data in table "delivery_status" */ +export type Delivery_Status_Set_Input = { + status?: InputMaybe; +}; + +/** Streaming cursor of the table "delivery_status" */ +export type Delivery_Status_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Delivery_Status_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Delivery_Status_Stream_Cursor_Value_Input = { + status?: InputMaybe; +}; + +/** update columns of table "delivery_status" */ +export enum Delivery_Status_Update_Column { + /** column name */ + Status = "status", +} + +export type Delivery_Status_Updates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Delivery_Status_Bool_Exp; +}; + +/** Streaming cursor of the table "delivery" */ +export type Delivery_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Delivery_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Delivery_Stream_Cursor_Value_Input = { + courierId?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + orderId?: InputMaybe; + status?: InputMaybe; +}; + +/** update columns of table "delivery" */ +export enum Delivery_Update_Column { + /** column name */ + CourierId = "courierId", + /** column name */ + CreatedAt = "created_at", + /** column name */ + Id = "id", + /** column name */ + OrderId = "orderId", + /** column name */ + Status = "status", +} + +export type Delivery_Updates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Delivery_Bool_Exp; +}; + +/** Boolean expression to compare columns of type "float8". All fields are combined with logical 'AND'. */ +export type Float8_Comparison_Exp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +/** columns and relationships of "geography_columns" */ +export type Geography_Columns = { + __typename?: "geography_columns"; + coord_dimension?: Maybe; + f_geography_column?: Maybe; + f_table_catalog?: Maybe; + f_table_name?: Maybe; + f_table_schema?: Maybe; + srid?: Maybe; + type?: Maybe; +}; + +/** aggregated selection of "geography_columns" */ +export type Geography_Columns_Aggregate = { + __typename?: "geography_columns_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "geography_columns" */ +export type Geography_Columns_Aggregate_Fields = { + __typename?: "geography_columns_aggregate_fields"; + avg?: Maybe; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; +}; + +/** aggregate fields of "geography_columns" */ +export type Geography_Columns_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** aggregate avg on columns */ +export type Geography_Columns_Avg_Fields = { + __typename?: "geography_columns_avg_fields"; + coord_dimension?: Maybe; + srid?: Maybe; +}; + +/** Boolean expression to filter rows from the table "geography_columns". All fields are combined with a logical 'AND'. */ +export type Geography_Columns_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + coord_dimension?: InputMaybe; + f_geography_column?: InputMaybe; + f_table_catalog?: InputMaybe; + f_table_name?: InputMaybe; + f_table_schema?: InputMaybe; + srid?: InputMaybe; + type?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Geography_Columns_Max_Fields = { + __typename?: "geography_columns_max_fields"; + coord_dimension?: Maybe; + srid?: Maybe; + type?: Maybe; +}; + +/** aggregate min on columns */ +export type Geography_Columns_Min_Fields = { + __typename?: "geography_columns_min_fields"; + coord_dimension?: Maybe; + srid?: Maybe; + type?: Maybe; +}; + +/** Ordering options when selecting data from "geography_columns". */ +export type Geography_Columns_Order_By = { + coord_dimension?: InputMaybe; + f_geography_column?: InputMaybe; + f_table_catalog?: InputMaybe; + f_table_name?: InputMaybe; + f_table_schema?: InputMaybe; + srid?: InputMaybe; + type?: InputMaybe; +}; + +/** select columns of table "geography_columns" */ +export enum Geography_Columns_Select_Column { + /** column name */ + CoordDimension = "coord_dimension", + /** column name */ + FGeographyColumn = "f_geography_column", + /** column name */ + FTableCatalog = "f_table_catalog", + /** column name */ + FTableName = "f_table_name", + /** column name */ + FTableSchema = "f_table_schema", + /** column name */ + Srid = "srid", + /** column name */ + Type = "type", +} + +/** aggregate stddev on columns */ +export type Geography_Columns_Stddev_Fields = { + __typename?: "geography_columns_stddev_fields"; + coord_dimension?: Maybe; + srid?: Maybe; +}; + +/** aggregate stddev_pop on columns */ +export type Geography_Columns_Stddev_Pop_Fields = { + __typename?: "geography_columns_stddev_pop_fields"; + coord_dimension?: Maybe; + srid?: Maybe; +}; + +/** aggregate stddev_samp on columns */ +export type Geography_Columns_Stddev_Samp_Fields = { + __typename?: "geography_columns_stddev_samp_fields"; + coord_dimension?: Maybe; + srid?: Maybe; +}; + +/** Streaming cursor of the table "geography_columns" */ +export type Geography_Columns_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Geography_Columns_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Geography_Columns_Stream_Cursor_Value_Input = { + coord_dimension?: InputMaybe; + f_geography_column?: InputMaybe; + f_table_catalog?: InputMaybe; + f_table_name?: InputMaybe; + f_table_schema?: InputMaybe; + srid?: InputMaybe; + type?: InputMaybe; +}; + +/** aggregate sum on columns */ +export type Geography_Columns_Sum_Fields = { + __typename?: "geography_columns_sum_fields"; + coord_dimension?: Maybe; + srid?: Maybe; +}; + +/** aggregate var_pop on columns */ +export type Geography_Columns_Var_Pop_Fields = { + __typename?: "geography_columns_var_pop_fields"; + coord_dimension?: Maybe; + srid?: Maybe; +}; + +/** aggregate var_samp on columns */ +export type Geography_Columns_Var_Samp_Fields = { + __typename?: "geography_columns_var_samp_fields"; + coord_dimension?: Maybe; + srid?: Maybe; +}; + +/** aggregate variance on columns */ +export type Geography_Columns_Variance_Fields = { + __typename?: "geography_columns_variance_fields"; + coord_dimension?: Maybe; + srid?: Maybe; +}; + +/** columns and relationships of "geometry_columns" */ +export type Geometry_Columns = { + __typename?: "geometry_columns"; + coord_dimension?: Maybe; + f_geometry_column?: Maybe; + f_table_catalog?: Maybe; + f_table_name?: Maybe; + f_table_schema?: Maybe; + srid?: Maybe; + type?: Maybe; +}; + +/** aggregated selection of "geometry_columns" */ +export type Geometry_Columns_Aggregate = { + __typename?: "geometry_columns_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "geometry_columns" */ +export type Geometry_Columns_Aggregate_Fields = { + __typename?: "geometry_columns_aggregate_fields"; + avg?: Maybe; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; +}; + +/** aggregate fields of "geometry_columns" */ +export type Geometry_Columns_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** aggregate avg on columns */ +export type Geometry_Columns_Avg_Fields = { + __typename?: "geometry_columns_avg_fields"; + coord_dimension?: Maybe; + srid?: Maybe; +}; + +/** Boolean expression to filter rows from the table "geometry_columns". All fields are combined with a logical 'AND'. */ +export type Geometry_Columns_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + coord_dimension?: InputMaybe; + f_geometry_column?: InputMaybe; + f_table_catalog?: InputMaybe; + f_table_name?: InputMaybe; + f_table_schema?: InputMaybe; + srid?: InputMaybe; + type?: InputMaybe; +}; + +/** input type for incrementing numeric columns in table "geometry_columns" */ +export type Geometry_Columns_Inc_Input = { + coord_dimension?: InputMaybe; + srid?: InputMaybe; +}; + +/** input type for inserting data into table "geometry_columns" */ +export type Geometry_Columns_Insert_Input = { + coord_dimension?: InputMaybe; + f_geometry_column?: InputMaybe; + f_table_catalog?: InputMaybe; + f_table_name?: InputMaybe; + f_table_schema?: InputMaybe; + srid?: InputMaybe; + type?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Geometry_Columns_Max_Fields = { + __typename?: "geometry_columns_max_fields"; + coord_dimension?: Maybe; + f_table_catalog?: Maybe; + srid?: Maybe; + type?: Maybe; +}; + +/** aggregate min on columns */ +export type Geometry_Columns_Min_Fields = { + __typename?: "geometry_columns_min_fields"; + coord_dimension?: Maybe; + f_table_catalog?: Maybe; + srid?: Maybe; + type?: Maybe; +}; + +/** response of any mutation on the table "geometry_columns" */ +export type Geometry_Columns_Mutation_Response = { + __typename?: "geometry_columns_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** Ordering options when selecting data from "geometry_columns". */ +export type Geometry_Columns_Order_By = { + coord_dimension?: InputMaybe; + f_geometry_column?: InputMaybe; + f_table_catalog?: InputMaybe; + f_table_name?: InputMaybe; + f_table_schema?: InputMaybe; + srid?: InputMaybe; + type?: InputMaybe; +}; + +/** select columns of table "geometry_columns" */ +export enum Geometry_Columns_Select_Column { + /** column name */ + CoordDimension = "coord_dimension", + /** column name */ + FGeometryColumn = "f_geometry_column", + /** column name */ + FTableCatalog = "f_table_catalog", + /** column name */ + FTableName = "f_table_name", + /** column name */ + FTableSchema = "f_table_schema", + /** column name */ + Srid = "srid", + /** column name */ + Type = "type", +} + +/** input type for updating data in table "geometry_columns" */ +export type Geometry_Columns_Set_Input = { + coord_dimension?: InputMaybe; + f_geometry_column?: InputMaybe; + f_table_catalog?: InputMaybe; + f_table_name?: InputMaybe; + f_table_schema?: InputMaybe; + srid?: InputMaybe; + type?: InputMaybe; +}; + +/** aggregate stddev on columns */ +export type Geometry_Columns_Stddev_Fields = { + __typename?: "geometry_columns_stddev_fields"; + coord_dimension?: Maybe; + srid?: Maybe; +}; + +/** aggregate stddev_pop on columns */ +export type Geometry_Columns_Stddev_Pop_Fields = { + __typename?: "geometry_columns_stddev_pop_fields"; + coord_dimension?: Maybe; + srid?: Maybe; +}; + +/** aggregate stddev_samp on columns */ +export type Geometry_Columns_Stddev_Samp_Fields = { + __typename?: "geometry_columns_stddev_samp_fields"; + coord_dimension?: Maybe; + srid?: Maybe; +}; + +/** Streaming cursor of the table "geometry_columns" */ +export type Geometry_Columns_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Geometry_Columns_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Geometry_Columns_Stream_Cursor_Value_Input = { + coord_dimension?: InputMaybe; + f_geometry_column?: InputMaybe; + f_table_catalog?: InputMaybe; + f_table_name?: InputMaybe; + f_table_schema?: InputMaybe; + srid?: InputMaybe; + type?: InputMaybe; +}; + +/** aggregate sum on columns */ +export type Geometry_Columns_Sum_Fields = { + __typename?: "geometry_columns_sum_fields"; + coord_dimension?: Maybe; + srid?: Maybe; +}; + +export type Geometry_Columns_Updates = { + /** increments the numeric columns with given value of the filtered values */ + _inc?: InputMaybe; + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Geometry_Columns_Bool_Exp; +}; + +/** aggregate var_pop on columns */ +export type Geometry_Columns_Var_Pop_Fields = { + __typename?: "geometry_columns_var_pop_fields"; + coord_dimension?: Maybe; + srid?: Maybe; +}; + +/** aggregate var_samp on columns */ +export type Geometry_Columns_Var_Samp_Fields = { + __typename?: "geometry_columns_var_samp_fields"; + coord_dimension?: Maybe; + srid?: Maybe; +}; + +/** aggregate variance on columns */ +export type Geometry_Columns_Variance_Fields = { + __typename?: "geometry_columns_variance_fields"; + coord_dimension?: Maybe; + srid?: Maybe; +}; + +/** fields of action: "initOrder" */ +export type InitOrder = { + __typename?: "initOrder"; + /** the time at which this action was created */ + created_at: Scalars["timestamptz"]["output"]; + /** errors related to the invocation */ + errors?: Maybe; + /** the unique id of an action */ + id: Scalars["uuid"]["output"]; + /** the output fields of this action */ + output?: Maybe; +}; + +/** columns and relationships of "locations" */ +export type Locations = { + __typename?: "locations"; + created_at: Scalars["timestamptz"]["output"]; + id: Scalars["uuid"]["output"]; + name: Scalars["String"]["output"]; +}; + +/** aggregated selection of "locations" */ +export type Locations_Aggregate = { + __typename?: "locations_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "locations" */ +export type Locations_Aggregate_Fields = { + __typename?: "locations_aggregate_fields"; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; +}; + +/** aggregate fields of "locations" */ +export type Locations_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "locations". All fields are combined with a logical 'AND'. */ +export type Locations_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + created_at?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; +}; + +/** unique or primary key constraints on table "locations" */ +export enum Locations_Constraint { + /** unique or primary key constraint on columns "id" */ + LocationsPkey = "locations_pkey", +} + +/** input type for inserting data into table "locations" */ +export type Locations_Insert_Input = { + created_at?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Locations_Max_Fields = { + __typename?: "locations_max_fields"; + created_at?: Maybe; + id?: Maybe; + name?: Maybe; +}; + +/** aggregate min on columns */ +export type Locations_Min_Fields = { + __typename?: "locations_min_fields"; + created_at?: Maybe; + id?: Maybe; + name?: Maybe; +}; + +/** response of any mutation on the table "locations" */ +export type Locations_Mutation_Response = { + __typename?: "locations_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** on_conflict condition type for table "locations" */ +export type Locations_On_Conflict = { + constraint: Locations_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "locations". */ +export type Locations_Order_By = { + created_at?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; +}; + +/** primary key columns input for table: locations */ +export type Locations_Pk_Columns_Input = { + id: Scalars["uuid"]["input"]; +}; + +/** select columns of table "locations" */ +export enum Locations_Select_Column { + /** column name */ + CreatedAt = "created_at", + /** column name */ + Id = "id", + /** column name */ + Name = "name", +} + +/** input type for updating data in table "locations" */ +export type Locations_Set_Input = { + created_at?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; +}; + +/** Streaming cursor of the table "locations" */ +export type Locations_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Locations_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Locations_Stream_Cursor_Value_Input = { + created_at?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; +}; + +/** update columns of table "locations" */ +export enum Locations_Update_Column { + /** column name */ + CreatedAt = "created_at", + /** column name */ + Id = "id", + /** column name */ + Name = "name", +} + +export type Locations_Updates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Locations_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_Root = { + __typename?: "mutation_root"; + /** delete data from the table: "addresses" */ + delete_addresses?: Maybe; + /** delete single row from the table: "addresses" */ + delete_addresses_by_pk?: Maybe; + /** delete data from the table: "agent" */ + delete_agent?: Maybe; + /** delete single row from the table: "agent" */ + delete_agent_by_pk?: Maybe; + /** delete data from the table: "agent_type" */ + delete_agent_type?: Maybe; + /** delete single row from the table: "agent_type" */ + delete_agent_type_by_pk?: Maybe; + /** delete data from the table: "business" */ + delete_business?: Maybe; + /** delete single row from the table: "business" */ + delete_business_by_pk?: Maybe; + /** delete data from the table: "business_sector" */ + delete_business_sector?: Maybe; + /** delete single row from the table: "business_sector" */ + delete_business_sector_by_pk?: Maybe; + /** delete data from the table: "business_type" */ + delete_business_type?: Maybe; + /** delete single row from the table: "business_type" */ + delete_business_type_by_pk?: Maybe; + /** delete data from the table: "contact_details" */ + delete_contact_details?: Maybe; + /** delete single row from the table: "contact_details" */ + delete_contact_details_by_pk?: Maybe; + /** delete data from the table: "courier_rides" */ + delete_courier_rides?: Maybe; + /** delete single row from the table: "courier_rides" */ + delete_courier_rides_by_pk?: Maybe; + /** delete data from the table: "couriers" */ + delete_couriers?: Maybe; + /** delete single row from the table: "couriers" */ + delete_couriers_by_pk?: Maybe; + /** delete data from the table: "delivery" */ + delete_delivery?: Maybe; + /** delete single row from the table: "delivery" */ + delete_delivery_by_pk?: Maybe; + /** delete data from the table: "delivery_personnel" */ + delete_delivery_personnel?: Maybe; + /** delete single row from the table: "delivery_personnel" */ + delete_delivery_personnel_by_pk?: Maybe; + /** delete data from the table: "delivery_request" */ + delete_delivery_request?: Maybe; + /** delete single row from the table: "delivery_request" */ + delete_delivery_request_by_pk?: Maybe; + /** delete data from the table: "delivery_status" */ + delete_delivery_status?: Maybe; + /** delete single row from the table: "delivery_status" */ + delete_delivery_status_by_pk?: Maybe; + /** delete data from the table: "geometry_columns" */ + delete_geometry_columns?: Maybe; + /** delete data from the table: "locations" */ + delete_locations?: Maybe; + /** delete single row from the table: "locations" */ + delete_locations_by_pk?: Maybe; + /** delete data from the table: "order_fulfillment_type" */ + delete_order_fulfillment_type?: Maybe; + /** delete single row from the table: "order_fulfillment_type" */ + delete_order_fulfillment_type_by_pk?: Maybe; + /** delete data from the table: "order_item" */ + delete_order_item?: Maybe; + /** delete single row from the table: "order_item" */ + delete_order_item_by_pk?: Maybe; + /** delete data from the table: "order_preference" */ + delete_order_preference?: Maybe; + /** delete single row from the table: "order_preference" */ + delete_order_preference_by_pk?: Maybe; + /** delete data from the table: "order_status" */ + delete_order_status?: Maybe; + /** delete single row from the table: "order_status" */ + delete_order_status_by_pk?: Maybe; + /** delete data from the table: "order_supplier" */ + delete_order_supplier?: Maybe; + /** delete single row from the table: "order_supplier" */ + delete_order_supplier_by_pk?: Maybe; + /** delete data from the table: "orders" */ + delete_orders?: Maybe; + /** delete single row from the table: "orders" */ + delete_orders_by_pk?: Maybe; + /** delete data from the table: "products" */ + delete_products?: Maybe; + /** delete single row from the table: "products" */ + delete_products_by_pk?: Maybe; + /** delete data from the table: "registeration_channel_type" */ + delete_registeration_channel_type?: Maybe; + /** delete single row from the table: "registeration_channel_type" */ + delete_registeration_channel_type_by_pk?: Maybe; + /** delete data from the table: "reports" */ + delete_reports?: Maybe; + /** delete single row from the table: "reports" */ + delete_reports_by_pk?: Maybe; + /** delete data from the table: "ride_status" */ + delete_ride_status?: Maybe; + /** delete single row from the table: "ride_status" */ + delete_ride_status_by_pk?: Maybe; + /** delete data from the table: "ride_type" */ + delete_ride_type?: Maybe; + /** delete single row from the table: "ride_type" */ + delete_ride_type_by_pk?: Maybe; + /** delete data from the table: "spatial_ref_sys" */ + delete_spatial_ref_sys?: Maybe; + /** delete single row from the table: "spatial_ref_sys" */ + delete_spatial_ref_sys_by_pk?: Maybe; + /** delete data from the table: "supplier_categories_enum" */ + delete_supplier_categories_enum?: Maybe; + /** delete single row from the table: "supplier_categories_enum" */ + delete_supplier_categories_enum_by_pk?: Maybe; + /** delete data from the table: "supplier_service_zone" */ + delete_supplier_service_zone?: Maybe; + /** delete single row from the table: "supplier_service_zone" */ + delete_supplier_service_zone_by_pk?: Maybe; + /** delete data from the table: "suppliers" */ + delete_suppliers?: Maybe; + /** delete single row from the table: "suppliers" */ + delete_suppliers_by_pk?: Maybe; + /** delete data from the table: "suppliers_categories" */ + delete_suppliers_categories?: Maybe; + /** delete single row from the table: "suppliers_categories" */ + delete_suppliers_categories_by_pk?: Maybe; + /** delete data from the table: "user_role" */ + delete_user_role?: Maybe; + /** delete single row from the table: "user_role" */ + delete_user_role_by_pk?: Maybe; + /** delete data from the table: "users" */ + delete_users?: Maybe; + /** delete single row from the table: "users" */ + delete_users_by_pk?: Maybe; + /** Validate and Process Orders */ + initOrder: Scalars["uuid"]["output"]; + /** insert data into the table: "addresses" */ + insert_addresses?: Maybe; + /** insert a single row into the table: "addresses" */ + insert_addresses_one?: Maybe; + /** insert data into the table: "agent" */ + insert_agent?: Maybe; + /** insert a single row into the table: "agent" */ + insert_agent_one?: Maybe; + /** insert data into the table: "agent_type" */ + insert_agent_type?: Maybe; + /** insert a single row into the table: "agent_type" */ + insert_agent_type_one?: Maybe; + /** insert data into the table: "business" */ + insert_business?: Maybe; + /** insert a single row into the table: "business" */ + insert_business_one?: Maybe; + /** insert data into the table: "business_sector" */ + insert_business_sector?: Maybe; + /** insert a single row into the table: "business_sector" */ + insert_business_sector_one?: Maybe; + /** insert data into the table: "business_type" */ + insert_business_type?: Maybe; + /** insert a single row into the table: "business_type" */ + insert_business_type_one?: Maybe; + /** insert data into the table: "contact_details" */ + insert_contact_details?: Maybe; + /** insert a single row into the table: "contact_details" */ + insert_contact_details_one?: Maybe; + /** insert data into the table: "courier_rides" */ + insert_courier_rides?: Maybe; + /** insert a single row into the table: "courier_rides" */ + insert_courier_rides_one?: Maybe; + /** insert data into the table: "couriers" */ + insert_couriers?: Maybe; + /** insert a single row into the table: "couriers" */ + insert_couriers_one?: Maybe; + /** insert data into the table: "delivery" */ + insert_delivery?: Maybe; + /** insert a single row into the table: "delivery" */ + insert_delivery_one?: Maybe; + /** insert data into the table: "delivery_personnel" */ + insert_delivery_personnel?: Maybe; + /** insert a single row into the table: "delivery_personnel" */ + insert_delivery_personnel_one?: Maybe; + /** insert data into the table: "delivery_request" */ + insert_delivery_request?: Maybe; + /** insert a single row into the table: "delivery_request" */ + insert_delivery_request_one?: Maybe; + /** insert data into the table: "delivery_status" */ + insert_delivery_status?: Maybe; + /** insert a single row into the table: "delivery_status" */ + insert_delivery_status_one?: Maybe; + /** insert data into the table: "geometry_columns" */ + insert_geometry_columns?: Maybe; + /** insert a single row into the table: "geometry_columns" */ + insert_geometry_columns_one?: Maybe; + /** insert data into the table: "locations" */ + insert_locations?: Maybe; + /** insert a single row into the table: "locations" */ + insert_locations_one?: Maybe; + /** insert data into the table: "order_fulfillment_type" */ + insert_order_fulfillment_type?: Maybe; + /** insert a single row into the table: "order_fulfillment_type" */ + insert_order_fulfillment_type_one?: Maybe; + /** insert data into the table: "order_item" */ + insert_order_item?: Maybe; + /** insert a single row into the table: "order_item" */ + insert_order_item_one?: Maybe; + /** insert data into the table: "order_preference" */ + insert_order_preference?: Maybe; + /** insert a single row into the table: "order_preference" */ + insert_order_preference_one?: Maybe; + /** insert data into the table: "order_status" */ + insert_order_status?: Maybe; + /** insert a single row into the table: "order_status" */ + insert_order_status_one?: Maybe; + /** insert data into the table: "order_supplier" */ + insert_order_supplier?: Maybe; + /** insert a single row into the table: "order_supplier" */ + insert_order_supplier_one?: Maybe; + /** insert data into the table: "orders" */ + insert_orders?: Maybe; + /** insert a single row into the table: "orders" */ + insert_orders_one?: Maybe; + /** insert data into the table: "products" */ + insert_products?: Maybe; + /** insert a single row into the table: "products" */ + insert_products_one?: Maybe; + /** insert data into the table: "registeration_channel_type" */ + insert_registeration_channel_type?: Maybe; + /** insert a single row into the table: "registeration_channel_type" */ + insert_registeration_channel_type_one?: Maybe; + /** insert data into the table: "reports" */ + insert_reports?: Maybe; + /** insert a single row into the table: "reports" */ + insert_reports_one?: Maybe; + /** insert data into the table: "ride_status" */ + insert_ride_status?: Maybe; + /** insert a single row into the table: "ride_status" */ + insert_ride_status_one?: Maybe; + /** insert data into the table: "ride_type" */ + insert_ride_type?: Maybe; + /** insert a single row into the table: "ride_type" */ + insert_ride_type_one?: Maybe; + /** insert data into the table: "spatial_ref_sys" */ + insert_spatial_ref_sys?: Maybe; + /** insert a single row into the table: "spatial_ref_sys" */ + insert_spatial_ref_sys_one?: Maybe; + /** insert data into the table: "supplier_categories_enum" */ + insert_supplier_categories_enum?: Maybe; + /** insert a single row into the table: "supplier_categories_enum" */ + insert_supplier_categories_enum_one?: Maybe; + /** insert data into the table: "supplier_service_zone" */ + insert_supplier_service_zone?: Maybe; + /** insert a single row into the table: "supplier_service_zone" */ + insert_supplier_service_zone_one?: Maybe; + /** insert data into the table: "suppliers" */ + insert_suppliers?: Maybe; + /** insert data into the table: "suppliers_categories" */ + insert_suppliers_categories?: Maybe; + /** insert a single row into the table: "suppliers_categories" */ + insert_suppliers_categories_one?: Maybe; + /** insert a single row into the table: "suppliers" */ + insert_suppliers_one?: Maybe; + /** insert data into the table: "user_role" */ + insert_user_role?: Maybe; + /** insert a single row into the table: "user_role" */ + insert_user_role_one?: Maybe; + /** insert data into the table: "users" */ + insert_users?: Maybe; + /** insert a single row into the table: "users" */ + insert_users_one?: Maybe; + /** update data of the table: "addresses" */ + update_addresses?: Maybe; + /** update single row of the table: "addresses" */ + update_addresses_by_pk?: Maybe; + /** update multiples rows of table: "addresses" */ + update_addresses_many?: Maybe>>; + /** update data of the table: "agent" */ + update_agent?: Maybe; + /** update single row of the table: "agent" */ + update_agent_by_pk?: Maybe; + /** update multiples rows of table: "agent" */ + update_agent_many?: Maybe>>; + /** update data of the table: "agent_type" */ + update_agent_type?: Maybe; + /** update single row of the table: "agent_type" */ + update_agent_type_by_pk?: Maybe; + /** update multiples rows of table: "agent_type" */ + update_agent_type_many?: Maybe>>; + /** update data of the table: "business" */ + update_business?: Maybe; + /** update single row of the table: "business" */ + update_business_by_pk?: Maybe; + /** update multiples rows of table: "business" */ + update_business_many?: Maybe>>; + /** update data of the table: "business_sector" */ + update_business_sector?: Maybe; + /** update single row of the table: "business_sector" */ + update_business_sector_by_pk?: Maybe; + /** update multiples rows of table: "business_sector" */ + update_business_sector_many?: Maybe< + Array> + >; + /** update data of the table: "business_type" */ + update_business_type?: Maybe; + /** update single row of the table: "business_type" */ + update_business_type_by_pk?: Maybe; + /** update multiples rows of table: "business_type" */ + update_business_type_many?: Maybe< + Array> + >; + /** update data of the table: "contact_details" */ + update_contact_details?: Maybe; + /** update single row of the table: "contact_details" */ + update_contact_details_by_pk?: Maybe; + /** update multiples rows of table: "contact_details" */ + update_contact_details_many?: Maybe< + Array> + >; + /** update data of the table: "courier_rides" */ + update_courier_rides?: Maybe; + /** update single row of the table: "courier_rides" */ + update_courier_rides_by_pk?: Maybe; + /** update multiples rows of table: "courier_rides" */ + update_courier_rides_many?: Maybe< + Array> + >; + /** update data of the table: "couriers" */ + update_couriers?: Maybe; + /** update single row of the table: "couriers" */ + update_couriers_by_pk?: Maybe; + /** update multiples rows of table: "couriers" */ + update_couriers_many?: Maybe>>; + /** update data of the table: "delivery" */ + update_delivery?: Maybe; + /** update single row of the table: "delivery" */ + update_delivery_by_pk?: Maybe; + /** update multiples rows of table: "delivery" */ + update_delivery_many?: Maybe>>; + /** update data of the table: "delivery_personnel" */ + update_delivery_personnel?: Maybe; + /** update single row of the table: "delivery_personnel" */ + update_delivery_personnel_by_pk?: Maybe; + /** update multiples rows of table: "delivery_personnel" */ + update_delivery_personnel_many?: Maybe< + Array> + >; + /** update data of the table: "delivery_request" */ + update_delivery_request?: Maybe; + /** update single row of the table: "delivery_request" */ + update_delivery_request_by_pk?: Maybe; + /** update multiples rows of table: "delivery_request" */ + update_delivery_request_many?: Maybe< + Array> + >; + /** update data of the table: "delivery_status" */ + update_delivery_status?: Maybe; + /** update single row of the table: "delivery_status" */ + update_delivery_status_by_pk?: Maybe; + /** update multiples rows of table: "delivery_status" */ + update_delivery_status_many?: Maybe< + Array> + >; + /** update data of the table: "geometry_columns" */ + update_geometry_columns?: Maybe; + /** update multiples rows of table: "geometry_columns" */ + update_geometry_columns_many?: Maybe< + Array> + >; + /** update data of the table: "locations" */ + update_locations?: Maybe; + /** update single row of the table: "locations" */ + update_locations_by_pk?: Maybe; + /** update multiples rows of table: "locations" */ + update_locations_many?: Maybe>>; + /** update data of the table: "order_fulfillment_type" */ + update_order_fulfillment_type?: Maybe; + /** update single row of the table: "order_fulfillment_type" */ + update_order_fulfillment_type_by_pk?: Maybe; + /** update multiples rows of table: "order_fulfillment_type" */ + update_order_fulfillment_type_many?: Maybe< + Array> + >; + /** update data of the table: "order_item" */ + update_order_item?: Maybe; + /** update single row of the table: "order_item" */ + update_order_item_by_pk?: Maybe; + /** update multiples rows of table: "order_item" */ + update_order_item_many?: Maybe>>; + /** update data of the table: "order_preference" */ + update_order_preference?: Maybe; + /** update single row of the table: "order_preference" */ + update_order_preference_by_pk?: Maybe; + /** update multiples rows of table: "order_preference" */ + update_order_preference_many?: Maybe< + Array> + >; + /** update data of the table: "order_status" */ + update_order_status?: Maybe; + /** update single row of the table: "order_status" */ + update_order_status_by_pk?: Maybe; + /** update multiples rows of table: "order_status" */ + update_order_status_many?: Maybe< + Array> + >; + /** update data of the table: "order_supplier" */ + update_order_supplier?: Maybe; + /** update single row of the table: "order_supplier" */ + update_order_supplier_by_pk?: Maybe; + /** update multiples rows of table: "order_supplier" */ + update_order_supplier_many?: Maybe< + Array> + >; + /** update data of the table: "orders" */ + update_orders?: Maybe; + /** update single row of the table: "orders" */ + update_orders_by_pk?: Maybe; + /** update multiples rows of table: "orders" */ + update_orders_many?: Maybe>>; + /** update data of the table: "products" */ + update_products?: Maybe; + /** update single row of the table: "products" */ + update_products_by_pk?: Maybe; + /** update multiples rows of table: "products" */ + update_products_many?: Maybe>>; + /** update data of the table: "registeration_channel_type" */ + update_registeration_channel_type?: Maybe; + /** update single row of the table: "registeration_channel_type" */ + update_registeration_channel_type_by_pk?: Maybe; + /** update multiples rows of table: "registeration_channel_type" */ + update_registeration_channel_type_many?: Maybe< + Array> + >; + /** update data of the table: "reports" */ + update_reports?: Maybe; + /** update single row of the table: "reports" */ + update_reports_by_pk?: Maybe; + /** update multiples rows of table: "reports" */ + update_reports_many?: Maybe>>; + /** update data of the table: "ride_status" */ + update_ride_status?: Maybe; + /** update single row of the table: "ride_status" */ + update_ride_status_by_pk?: Maybe; + /** update multiples rows of table: "ride_status" */ + update_ride_status_many?: Maybe>>; + /** update data of the table: "ride_type" */ + update_ride_type?: Maybe; + /** update single row of the table: "ride_type" */ + update_ride_type_by_pk?: Maybe; + /** update multiples rows of table: "ride_type" */ + update_ride_type_many?: Maybe>>; + /** update data of the table: "spatial_ref_sys" */ + update_spatial_ref_sys?: Maybe; + /** update single row of the table: "spatial_ref_sys" */ + update_spatial_ref_sys_by_pk?: Maybe; + /** update multiples rows of table: "spatial_ref_sys" */ + update_spatial_ref_sys_many?: Maybe< + Array> + >; + /** update data of the table: "supplier_categories_enum" */ + update_supplier_categories_enum?: Maybe; + /** update single row of the table: "supplier_categories_enum" */ + update_supplier_categories_enum_by_pk?: Maybe; + /** update multiples rows of table: "supplier_categories_enum" */ + update_supplier_categories_enum_many?: Maybe< + Array> + >; + /** update data of the table: "supplier_service_zone" */ + update_supplier_service_zone?: Maybe; + /** update single row of the table: "supplier_service_zone" */ + update_supplier_service_zone_by_pk?: Maybe; + /** update multiples rows of table: "supplier_service_zone" */ + update_supplier_service_zone_many?: Maybe< + Array> + >; + /** update data of the table: "suppliers" */ + update_suppliers?: Maybe; + /** update single row of the table: "suppliers" */ + update_suppliers_by_pk?: Maybe; + /** update data of the table: "suppliers_categories" */ + update_suppliers_categories?: Maybe; + /** update single row of the table: "suppliers_categories" */ + update_suppliers_categories_by_pk?: Maybe; + /** update multiples rows of table: "suppliers_categories" */ + update_suppliers_categories_many?: Maybe< + Array> + >; + /** update multiples rows of table: "suppliers" */ + update_suppliers_many?: Maybe>>; + /** update data of the table: "user_role" */ + update_user_role?: Maybe; + /** update single row of the table: "user_role" */ + update_user_role_by_pk?: Maybe; + /** update multiples rows of table: "user_role" */ + update_user_role_many?: Maybe>>; + /** update data of the table: "users" */ + update_users?: Maybe; + /** update single row of the table: "users" */ + update_users_by_pk?: Maybe; + /** update multiples rows of table: "users" */ + update_users_many?: Maybe>>; +}; + +/** mutation root */ +export type Mutation_RootDelete_AddressesArgs = { + where: Addresses_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Addresses_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +/** mutation root */ +export type Mutation_RootDelete_AgentArgs = { + where: Agent_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Agent_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +/** mutation root */ +export type Mutation_RootDelete_Agent_TypeArgs = { + where: Agent_Type_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Agent_Type_By_PkArgs = { + type: Scalars["String"]["input"]; +}; + +/** mutation root */ +export type Mutation_RootDelete_BusinessArgs = { + where: Business_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Business_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +/** mutation root */ +export type Mutation_RootDelete_Business_SectorArgs = { + where: Business_Sector_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Business_Sector_By_PkArgs = { + text: Scalars["String"]["input"]; +}; + +/** mutation root */ +export type Mutation_RootDelete_Business_TypeArgs = { + where: Business_Type_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Business_Type_By_PkArgs = { + type: Scalars["String"]["input"]; +}; + +/** mutation root */ +export type Mutation_RootDelete_Contact_DetailsArgs = { + where: Contact_Details_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Contact_Details_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +/** mutation root */ +export type Mutation_RootDelete_Courier_RidesArgs = { + where: Courier_Rides_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Courier_Rides_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +/** mutation root */ +export type Mutation_RootDelete_CouriersArgs = { + where: Couriers_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Couriers_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +/** mutation root */ +export type Mutation_RootDelete_DeliveryArgs = { + where: Delivery_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Delivery_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +/** mutation root */ +export type Mutation_RootDelete_Delivery_PersonnelArgs = { + where: Delivery_Personnel_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Delivery_Personnel_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +/** mutation root */ +export type Mutation_RootDelete_Delivery_RequestArgs = { + where: Delivery_Request_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Delivery_Request_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +/** mutation root */ +export type Mutation_RootDelete_Delivery_StatusArgs = { + where: Delivery_Status_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Delivery_Status_By_PkArgs = { + status: Scalars["String"]["input"]; +}; + +/** mutation root */ +export type Mutation_RootDelete_Geometry_ColumnsArgs = { + where: Geometry_Columns_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_LocationsArgs = { + where: Locations_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Locations_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +/** mutation root */ +export type Mutation_RootDelete_Order_Fulfillment_TypeArgs = { + where: Order_Fulfillment_Type_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Order_Fulfillment_Type_By_PkArgs = { + fulfillment_type: Scalars["String"]["input"]; +}; + +/** mutation root */ +export type Mutation_RootDelete_Order_ItemArgs = { + where: Order_Item_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Order_Item_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +/** mutation root */ +export type Mutation_RootDelete_Order_PreferenceArgs = { + where: Order_Preference_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Order_Preference_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +/** mutation root */ +export type Mutation_RootDelete_Order_StatusArgs = { + where: Order_Status_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Order_Status_By_PkArgs = { + status: Scalars["String"]["input"]; +}; + +/** mutation root */ +export type Mutation_RootDelete_Order_SupplierArgs = { + where: Order_Supplier_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Order_Supplier_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +/** mutation root */ +export type Mutation_RootDelete_OrdersArgs = { + where: Orders_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Orders_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +/** mutation root */ +export type Mutation_RootDelete_ProductsArgs = { + where: Products_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Products_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +/** mutation root */ +export type Mutation_RootDelete_Registeration_Channel_TypeArgs = { + where: Registeration_Channel_Type_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Registeration_Channel_Type_By_PkArgs = { + channel: Scalars["String"]["input"]; +}; + +/** mutation root */ +export type Mutation_RootDelete_ReportsArgs = { + where: Reports_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Reports_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +/** mutation root */ +export type Mutation_RootDelete_Ride_StatusArgs = { + where: Ride_Status_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Ride_Status_By_PkArgs = { + status: Scalars["String"]["input"]; +}; + +/** mutation root */ +export type Mutation_RootDelete_Ride_TypeArgs = { + where: Ride_Type_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Ride_Type_By_PkArgs = { + type: Scalars["String"]["input"]; +}; + +/** mutation root */ +export type Mutation_RootDelete_Spatial_Ref_SysArgs = { + where: Spatial_Ref_Sys_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Spatial_Ref_Sys_By_PkArgs = { + srid: Scalars["Int"]["input"]; +}; + +/** mutation root */ +export type Mutation_RootDelete_Supplier_Categories_EnumArgs = { + where: Supplier_Categories_Enum_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Supplier_Categories_Enum_By_PkArgs = { + name: Scalars["String"]["input"]; +}; + +/** mutation root */ +export type Mutation_RootDelete_Supplier_Service_ZoneArgs = { + where: Supplier_Service_Zone_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Supplier_Service_Zone_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +/** mutation root */ +export type Mutation_RootDelete_SuppliersArgs = { + where: Suppliers_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Suppliers_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +/** mutation root */ +export type Mutation_RootDelete_Suppliers_CategoriesArgs = { + where: Suppliers_Categories_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Suppliers_Categories_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +/** mutation root */ +export type Mutation_RootDelete_User_RoleArgs = { + where: User_Role_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_User_Role_By_PkArgs = { + role: Scalars["String"]["input"]; +}; + +/** mutation root */ +export type Mutation_RootDelete_UsersArgs = { + where: Users_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootDelete_Users_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +/** mutation root */ +export type Mutation_RootInitOrderArgs = { + order?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_AddressesArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Addresses_OneArgs = { + object: Addresses_Insert_Input; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_AgentArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Agent_OneArgs = { + object: Agent_Insert_Input; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Agent_TypeArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Agent_Type_OneArgs = { + object: Agent_Type_Insert_Input; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_BusinessArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Business_OneArgs = { + object: Business_Insert_Input; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Business_SectorArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Business_Sector_OneArgs = { + object: Business_Sector_Insert_Input; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Business_TypeArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Business_Type_OneArgs = { + object: Business_Type_Insert_Input; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Contact_DetailsArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Contact_Details_OneArgs = { + object: Contact_Details_Insert_Input; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Courier_RidesArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Courier_Rides_OneArgs = { + object: Courier_Rides_Insert_Input; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_CouriersArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Couriers_OneArgs = { + object: Couriers_Insert_Input; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_DeliveryArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Delivery_OneArgs = { + object: Delivery_Insert_Input; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Delivery_PersonnelArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Delivery_Personnel_OneArgs = { + object: Delivery_Personnel_Insert_Input; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Delivery_RequestArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Delivery_Request_OneArgs = { + object: Delivery_Request_Insert_Input; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Delivery_StatusArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Delivery_Status_OneArgs = { + object: Delivery_Status_Insert_Input; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Geometry_ColumnsArgs = { + objects: Array; +}; + +/** mutation root */ +export type Mutation_RootInsert_Geometry_Columns_OneArgs = { + object: Geometry_Columns_Insert_Input; +}; + +/** mutation root */ +export type Mutation_RootInsert_LocationsArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Locations_OneArgs = { + object: Locations_Insert_Input; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Order_Fulfillment_TypeArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Order_Fulfillment_Type_OneArgs = { + object: Order_Fulfillment_Type_Insert_Input; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Order_ItemArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Order_Item_OneArgs = { + object: Order_Item_Insert_Input; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Order_PreferenceArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Order_Preference_OneArgs = { + object: Order_Preference_Insert_Input; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Order_StatusArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Order_Status_OneArgs = { + object: Order_Status_Insert_Input; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Order_SupplierArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Order_Supplier_OneArgs = { + object: Order_Supplier_Insert_Input; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_OrdersArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Orders_OneArgs = { + object: Orders_Insert_Input; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_ProductsArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Products_OneArgs = { + object: Products_Insert_Input; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Registeration_Channel_TypeArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Registeration_Channel_Type_OneArgs = { + object: Registeration_Channel_Type_Insert_Input; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_ReportsArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Reports_OneArgs = { + object: Reports_Insert_Input; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Ride_StatusArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Ride_Status_OneArgs = { + object: Ride_Status_Insert_Input; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Ride_TypeArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Ride_Type_OneArgs = { + object: Ride_Type_Insert_Input; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Spatial_Ref_SysArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Spatial_Ref_Sys_OneArgs = { + object: Spatial_Ref_Sys_Insert_Input; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Supplier_Categories_EnumArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Supplier_Categories_Enum_OneArgs = { + object: Supplier_Categories_Enum_Insert_Input; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Supplier_Service_ZoneArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Supplier_Service_Zone_OneArgs = { + object: Supplier_Service_Zone_Insert_Input; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_SuppliersArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Suppliers_CategoriesArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Suppliers_Categories_OneArgs = { + object: Suppliers_Categories_Insert_Input; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Suppliers_OneArgs = { + object: Suppliers_Insert_Input; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_User_RoleArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_User_Role_OneArgs = { + object: User_Role_Insert_Input; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_UsersArgs = { + objects: Array; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootInsert_Users_OneArgs = { + object: Users_Insert_Input; + on_conflict?: InputMaybe; +}; + +/** mutation root */ +export type Mutation_RootUpdate_AddressesArgs = { + _inc?: InputMaybe; + _set?: InputMaybe; + where: Addresses_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Addresses_By_PkArgs = { + _inc?: InputMaybe; + _set?: InputMaybe; + pk_columns: Addresses_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Addresses_ManyArgs = { + updates: Array; +}; + +/** mutation root */ +export type Mutation_RootUpdate_AgentArgs = { + _set?: InputMaybe; + where: Agent_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Agent_By_PkArgs = { + _set?: InputMaybe; + pk_columns: Agent_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Agent_ManyArgs = { + updates: Array; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Agent_TypeArgs = { + _set?: InputMaybe; + where: Agent_Type_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Agent_Type_By_PkArgs = { + _set?: InputMaybe; + pk_columns: Agent_Type_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Agent_Type_ManyArgs = { + updates: Array; +}; + +/** mutation root */ +export type Mutation_RootUpdate_BusinessArgs = { + _set?: InputMaybe; + where: Business_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Business_By_PkArgs = { + _set?: InputMaybe; + pk_columns: Business_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Business_ManyArgs = { + updates: Array; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Business_SectorArgs = { + _set?: InputMaybe; + where: Business_Sector_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Business_Sector_By_PkArgs = { + _set?: InputMaybe; + pk_columns: Business_Sector_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Business_Sector_ManyArgs = { + updates: Array; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Business_TypeArgs = { + _set?: InputMaybe; + where: Business_Type_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Business_Type_By_PkArgs = { + _set?: InputMaybe; + pk_columns: Business_Type_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Business_Type_ManyArgs = { + updates: Array; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Contact_DetailsArgs = { + _set?: InputMaybe; + where: Contact_Details_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Contact_Details_By_PkArgs = { + _set?: InputMaybe; + pk_columns: Contact_Details_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Contact_Details_ManyArgs = { + updates: Array; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Courier_RidesArgs = { + _set?: InputMaybe; + where: Courier_Rides_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Courier_Rides_By_PkArgs = { + _set?: InputMaybe; + pk_columns: Courier_Rides_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Courier_Rides_ManyArgs = { + updates: Array; +}; + +/** mutation root */ +export type Mutation_RootUpdate_CouriersArgs = { + _set?: InputMaybe; + where: Couriers_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Couriers_By_PkArgs = { + _set?: InputMaybe; + pk_columns: Couriers_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Couriers_ManyArgs = { + updates: Array; +}; + +/** mutation root */ +export type Mutation_RootUpdate_DeliveryArgs = { + _set?: InputMaybe; + where: Delivery_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Delivery_By_PkArgs = { + _set?: InputMaybe; + pk_columns: Delivery_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Delivery_ManyArgs = { + updates: Array; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Delivery_PersonnelArgs = { + _set?: InputMaybe; + where: Delivery_Personnel_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Delivery_Personnel_By_PkArgs = { + _set?: InputMaybe; + pk_columns: Delivery_Personnel_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Delivery_Personnel_ManyArgs = { + updates: Array; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Delivery_RequestArgs = { + _set?: InputMaybe; + where: Delivery_Request_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Delivery_Request_By_PkArgs = { + _set?: InputMaybe; + pk_columns: Delivery_Request_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Delivery_Request_ManyArgs = { + updates: Array; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Delivery_StatusArgs = { + _set?: InputMaybe; + where: Delivery_Status_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Delivery_Status_By_PkArgs = { + _set?: InputMaybe; + pk_columns: Delivery_Status_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Delivery_Status_ManyArgs = { + updates: Array; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Geometry_ColumnsArgs = { + _inc?: InputMaybe; + _set?: InputMaybe; + where: Geometry_Columns_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Geometry_Columns_ManyArgs = { + updates: Array; +}; + +/** mutation root */ +export type Mutation_RootUpdate_LocationsArgs = { + _set?: InputMaybe; + where: Locations_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Locations_By_PkArgs = { + _set?: InputMaybe; + pk_columns: Locations_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Locations_ManyArgs = { + updates: Array; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Order_Fulfillment_TypeArgs = { + _set?: InputMaybe; + where: Order_Fulfillment_Type_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Order_Fulfillment_Type_By_PkArgs = { + _set?: InputMaybe; + pk_columns: Order_Fulfillment_Type_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Order_Fulfillment_Type_ManyArgs = { + updates: Array; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Order_ItemArgs = { + _set?: InputMaybe; + where: Order_Item_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Order_Item_By_PkArgs = { + _set?: InputMaybe; + pk_columns: Order_Item_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Order_Item_ManyArgs = { + updates: Array; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Order_PreferenceArgs = { + _set?: InputMaybe; + where: Order_Preference_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Order_Preference_By_PkArgs = { + _set?: InputMaybe; + pk_columns: Order_Preference_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Order_Preference_ManyArgs = { + updates: Array; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Order_StatusArgs = { + _set?: InputMaybe; + where: Order_Status_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Order_Status_By_PkArgs = { + _set?: InputMaybe; + pk_columns: Order_Status_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Order_Status_ManyArgs = { + updates: Array; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Order_SupplierArgs = { + _set?: InputMaybe; + where: Order_Supplier_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Order_Supplier_By_PkArgs = { + _set?: InputMaybe; + pk_columns: Order_Supplier_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Order_Supplier_ManyArgs = { + updates: Array; +}; + +/** mutation root */ +export type Mutation_RootUpdate_OrdersArgs = { + _set?: InputMaybe; + where: Orders_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Orders_By_PkArgs = { + _set?: InputMaybe; + pk_columns: Orders_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Orders_ManyArgs = { + updates: Array; +}; + +/** mutation root */ +export type Mutation_RootUpdate_ProductsArgs = { + _inc?: InputMaybe; + _set?: InputMaybe; + where: Products_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Products_By_PkArgs = { + _inc?: InputMaybe; + _set?: InputMaybe; + pk_columns: Products_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Products_ManyArgs = { + updates: Array; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Registeration_Channel_TypeArgs = { + _set?: InputMaybe; + where: Registeration_Channel_Type_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Registeration_Channel_Type_By_PkArgs = { + _set?: InputMaybe; + pk_columns: Registeration_Channel_Type_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Registeration_Channel_Type_ManyArgs = { + updates: Array; +}; + +/** mutation root */ +export type Mutation_RootUpdate_ReportsArgs = { + _set?: InputMaybe; + where: Reports_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Reports_By_PkArgs = { + _set?: InputMaybe; + pk_columns: Reports_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Reports_ManyArgs = { + updates: Array; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Ride_StatusArgs = { + _set?: InputMaybe; + where: Ride_Status_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Ride_Status_By_PkArgs = { + _set?: InputMaybe; + pk_columns: Ride_Status_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Ride_Status_ManyArgs = { + updates: Array; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Ride_TypeArgs = { + _set?: InputMaybe; + where: Ride_Type_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Ride_Type_By_PkArgs = { + _set?: InputMaybe; + pk_columns: Ride_Type_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Ride_Type_ManyArgs = { + updates: Array; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Spatial_Ref_SysArgs = { + _inc?: InputMaybe; + _set?: InputMaybe; + where: Spatial_Ref_Sys_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Spatial_Ref_Sys_By_PkArgs = { + _inc?: InputMaybe; + _set?: InputMaybe; + pk_columns: Spatial_Ref_Sys_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Spatial_Ref_Sys_ManyArgs = { + updates: Array; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Supplier_Categories_EnumArgs = { + _set?: InputMaybe; + where: Supplier_Categories_Enum_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Supplier_Categories_Enum_By_PkArgs = { + _set?: InputMaybe; + pk_columns: Supplier_Categories_Enum_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Supplier_Categories_Enum_ManyArgs = { + updates: Array; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Supplier_Service_ZoneArgs = { + _inc?: InputMaybe; + _set?: InputMaybe; + where: Supplier_Service_Zone_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Supplier_Service_Zone_By_PkArgs = { + _inc?: InputMaybe; + _set?: InputMaybe; + pk_columns: Supplier_Service_Zone_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Supplier_Service_Zone_ManyArgs = { + updates: Array; +}; + +/** mutation root */ +export type Mutation_RootUpdate_SuppliersArgs = { + _set?: InputMaybe; + where: Suppliers_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Suppliers_By_PkArgs = { + _set?: InputMaybe; + pk_columns: Suppliers_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Suppliers_CategoriesArgs = { + _set?: InputMaybe; + where: Suppliers_Categories_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Suppliers_Categories_By_PkArgs = { + _set?: InputMaybe; + pk_columns: Suppliers_Categories_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Suppliers_Categories_ManyArgs = { + updates: Array; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Suppliers_ManyArgs = { + updates: Array; +}; + +/** mutation root */ +export type Mutation_RootUpdate_User_RoleArgs = { + _set?: InputMaybe; + where: User_Role_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_User_Role_By_PkArgs = { + _set?: InputMaybe; + pk_columns: User_Role_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_User_Role_ManyArgs = { + updates: Array; +}; + +/** mutation root */ +export type Mutation_RootUpdate_UsersArgs = { + _set?: InputMaybe; + where: Users_Bool_Exp; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Users_By_PkArgs = { + _set?: InputMaybe; + pk_columns: Users_Pk_Columns_Input; +}; + +/** mutation root */ +export type Mutation_RootUpdate_Users_ManyArgs = { + updates: Array; +}; + +/** Boolean expression to compare columns of type "name". All fields are combined with logical 'AND'. */ +export type Name_Comparison_Exp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +/** column ordering options */ +export enum Order_By { + /** in ascending order, nulls last */ + Asc = "asc", + /** in ascending order, nulls first */ + AscNullsFirst = "asc_nulls_first", + /** in ascending order, nulls last */ + AscNullsLast = "asc_nulls_last", + /** in descending order, nulls first */ + Desc = "desc", + /** in descending order, nulls first */ + DescNullsFirst = "desc_nulls_first", + /** in descending order, nulls last */ + DescNullsLast = "desc_nulls_last", +} + +/** columns and relationships of "order_fulfillment_type" */ +export type Order_Fulfillment_Type = { + __typename?: "order_fulfillment_type"; + fulfillment_type: Scalars["String"]["output"]; +}; + +/** aggregated selection of "order_fulfillment_type" */ +export type Order_Fulfillment_Type_Aggregate = { + __typename?: "order_fulfillment_type_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "order_fulfillment_type" */ +export type Order_Fulfillment_Type_Aggregate_Fields = { + __typename?: "order_fulfillment_type_aggregate_fields"; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; +}; + +/** aggregate fields of "order_fulfillment_type" */ +export type Order_Fulfillment_Type_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "order_fulfillment_type". All fields are combined with a logical 'AND'. */ +export type Order_Fulfillment_Type_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + fulfillment_type?: InputMaybe; +}; + +/** unique or primary key constraints on table "order_fulfillment_type" */ +export enum Order_Fulfillment_Type_Constraint { + /** unique or primary key constraint on columns "fulfillment_type" */ + OrderFulfillmentTypePkey = "order_fulfillment_type_pkey", +} + +export enum Order_Fulfillment_Type_Enum { + Full = "full", + Partial = "partial", +} + +/** Boolean expression to compare columns of type "order_fulfillment_type_enum". All fields are combined with logical 'AND'. */ +export type Order_Fulfillment_Type_Enum_Comparison_Exp = { + _eq?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +/** input type for inserting data into table "order_fulfillment_type" */ +export type Order_Fulfillment_Type_Insert_Input = { + fulfillment_type?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Order_Fulfillment_Type_Max_Fields = { + __typename?: "order_fulfillment_type_max_fields"; + fulfillment_type?: Maybe; +}; + +/** aggregate min on columns */ +export type Order_Fulfillment_Type_Min_Fields = { + __typename?: "order_fulfillment_type_min_fields"; + fulfillment_type?: Maybe; +}; + +/** response of any mutation on the table "order_fulfillment_type" */ +export type Order_Fulfillment_Type_Mutation_Response = { + __typename?: "order_fulfillment_type_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** on_conflict condition type for table "order_fulfillment_type" */ +export type Order_Fulfillment_Type_On_Conflict = { + constraint: Order_Fulfillment_Type_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "order_fulfillment_type". */ +export type Order_Fulfillment_Type_Order_By = { + fulfillment_type?: InputMaybe; +}; + +/** primary key columns input for table: order_fulfillment_type */ +export type Order_Fulfillment_Type_Pk_Columns_Input = { + fulfillment_type: Scalars["String"]["input"]; +}; + +/** select columns of table "order_fulfillment_type" */ +export enum Order_Fulfillment_Type_Select_Column { + /** column name */ + FulfillmentType = "fulfillment_type", +} + +/** input type for updating data in table "order_fulfillment_type" */ +export type Order_Fulfillment_Type_Set_Input = { + fulfillment_type?: InputMaybe; +}; + +/** Streaming cursor of the table "order_fulfillment_type" */ +export type Order_Fulfillment_Type_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Order_Fulfillment_Type_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Order_Fulfillment_Type_Stream_Cursor_Value_Input = { + fulfillment_type?: InputMaybe; +}; + +/** update columns of table "order_fulfillment_type" */ +export enum Order_Fulfillment_Type_Update_Column { + /** column name */ + FulfillmentType = "fulfillment_type", +} + +export type Order_Fulfillment_Type_Updates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Order_Fulfillment_Type_Bool_Exp; +}; + +/** columns and relationships of "order_item" */ +export type Order_Item = { + __typename?: "order_item"; + created_at: Scalars["timestamptz"]["output"]; + id: Scalars["uuid"]["output"]; + /** An object relationship */ + order?: Maybe; + orderId?: Maybe; + /** An object relationship */ + product?: Maybe; + productId?: Maybe; +}; + +/** aggregated selection of "order_item" */ +export type Order_Item_Aggregate = { + __typename?: "order_item_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +export type Order_Item_Aggregate_Bool_Exp = { + count?: InputMaybe; +}; + +export type Order_Item_Aggregate_Bool_Exp_Count = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Int_Comparison_Exp; +}; + +/** aggregate fields of "order_item" */ +export type Order_Item_Aggregate_Fields = { + __typename?: "order_item_aggregate_fields"; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; +}; + +/** aggregate fields of "order_item" */ +export type Order_Item_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** order by aggregate values of table "order_item" */ +export type Order_Item_Aggregate_Order_By = { + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; +}; + +/** input type for inserting array relation for remote table "order_item" */ +export type Order_Item_Arr_Rel_Insert_Input = { + data: Array; + /** upsert condition */ + on_conflict?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "order_item". All fields are combined with a logical 'AND'. */ +export type Order_Item_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + created_at?: InputMaybe; + id?: InputMaybe; + order?: InputMaybe; + orderId?: InputMaybe; + product?: InputMaybe; + productId?: InputMaybe; +}; + +/** unique or primary key constraints on table "order_item" */ +export enum Order_Item_Constraint { + /** unique or primary key constraint on columns "id" */ + OrderItemsPkey = "order_items_pkey", +} + +/** input type for inserting data into table "order_item" */ +export type Order_Item_Insert_Input = { + created_at?: InputMaybe; + id?: InputMaybe; + order?: InputMaybe; + orderId?: InputMaybe; + product?: InputMaybe; + productId?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Order_Item_Max_Fields = { + __typename?: "order_item_max_fields"; + created_at?: Maybe; + id?: Maybe; + orderId?: Maybe; + productId?: Maybe; +}; + +/** order by max() on columns of table "order_item" */ +export type Order_Item_Max_Order_By = { + created_at?: InputMaybe; + id?: InputMaybe; + orderId?: InputMaybe; + productId?: InputMaybe; +}; + +/** aggregate min on columns */ +export type Order_Item_Min_Fields = { + __typename?: "order_item_min_fields"; + created_at?: Maybe; + id?: Maybe; + orderId?: Maybe; + productId?: Maybe; +}; + +/** order by min() on columns of table "order_item" */ +export type Order_Item_Min_Order_By = { + created_at?: InputMaybe; + id?: InputMaybe; + orderId?: InputMaybe; + productId?: InputMaybe; +}; + +/** response of any mutation on the table "order_item" */ +export type Order_Item_Mutation_Response = { + __typename?: "order_item_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** on_conflict condition type for table "order_item" */ +export type Order_Item_On_Conflict = { + constraint: Order_Item_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "order_item". */ +export type Order_Item_Order_By = { + created_at?: InputMaybe; + id?: InputMaybe; + order?: InputMaybe; + orderId?: InputMaybe; + product?: InputMaybe; + productId?: InputMaybe; +}; + +/** primary key columns input for table: order_item */ +export type Order_Item_Pk_Columns_Input = { + id: Scalars["uuid"]["input"]; +}; + +/** select columns of table "order_item" */ +export enum Order_Item_Select_Column { + /** column name */ + CreatedAt = "created_at", + /** column name */ + Id = "id", + /** column name */ + OrderId = "orderId", + /** column name */ + ProductId = "productId", +} + +/** input type for updating data in table "order_item" */ +export type Order_Item_Set_Input = { + created_at?: InputMaybe; + id?: InputMaybe; + orderId?: InputMaybe; + productId?: InputMaybe; +}; + +/** Streaming cursor of the table "order_item" */ +export type Order_Item_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Order_Item_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Order_Item_Stream_Cursor_Value_Input = { + created_at?: InputMaybe; + id?: InputMaybe; + orderId?: InputMaybe; + productId?: InputMaybe; +}; + +/** update columns of table "order_item" */ +export enum Order_Item_Update_Column { + /** column name */ + CreatedAt = "created_at", + /** column name */ + Id = "id", + /** column name */ + OrderId = "orderId", + /** column name */ + ProductId = "productId", +} + +export type Order_Item_Updates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Order_Item_Bool_Exp; +}; + +/** columns and relationships of "order_preference" */ +export type Order_Preference = { + __typename?: "order_preference"; + created_at: Scalars["timestamptz"]["output"]; + id: Scalars["uuid"]["output"]; + updated_at: Scalars["timestamptz"]["output"]; +}; + +/** aggregated selection of "order_preference" */ +export type Order_Preference_Aggregate = { + __typename?: "order_preference_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "order_preference" */ +export type Order_Preference_Aggregate_Fields = { + __typename?: "order_preference_aggregate_fields"; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; +}; + +/** aggregate fields of "order_preference" */ +export type Order_Preference_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "order_preference". All fields are combined with a logical 'AND'. */ +export type Order_Preference_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + created_at?: InputMaybe; + id?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** unique or primary key constraints on table "order_preference" */ +export enum Order_Preference_Constraint { + /** unique or primary key constraint on columns "id" */ + PreferenceTablePkey = "preference_table_pkey", +} + +/** input type for inserting data into table "order_preference" */ +export type Order_Preference_Insert_Input = { + created_at?: InputMaybe; + id?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Order_Preference_Max_Fields = { + __typename?: "order_preference_max_fields"; + created_at?: Maybe; + id?: Maybe; + updated_at?: Maybe; +}; + +/** aggregate min on columns */ +export type Order_Preference_Min_Fields = { + __typename?: "order_preference_min_fields"; + created_at?: Maybe; + id?: Maybe; + updated_at?: Maybe; +}; + +/** response of any mutation on the table "order_preference" */ +export type Order_Preference_Mutation_Response = { + __typename?: "order_preference_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** on_conflict condition type for table "order_preference" */ +export type Order_Preference_On_Conflict = { + constraint: Order_Preference_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "order_preference". */ +export type Order_Preference_Order_By = { + created_at?: InputMaybe; + id?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** primary key columns input for table: order_preference */ +export type Order_Preference_Pk_Columns_Input = { + id: Scalars["uuid"]["input"]; +}; + +/** select columns of table "order_preference" */ +export enum Order_Preference_Select_Column { + /** column name */ + CreatedAt = "created_at", + /** column name */ + Id = "id", + /** column name */ + UpdatedAt = "updated_at", +} + +/** input type for updating data in table "order_preference" */ +export type Order_Preference_Set_Input = { + created_at?: InputMaybe; + id?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** Streaming cursor of the table "order_preference" */ +export type Order_Preference_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Order_Preference_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Order_Preference_Stream_Cursor_Value_Input = { + created_at?: InputMaybe; + id?: InputMaybe; + updated_at?: InputMaybe; +}; + +/** update columns of table "order_preference" */ +export enum Order_Preference_Update_Column { + /** column name */ + CreatedAt = "created_at", + /** column name */ + Id = "id", + /** column name */ + UpdatedAt = "updated_at", +} + +export type Order_Preference_Updates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Order_Preference_Bool_Exp; +}; + +/** columns and relationships of "order_status" */ +export type Order_Status = { + __typename?: "order_status"; + /** An array relationship */ + orders: Array; + /** An aggregate relationship */ + orders_aggregate: Orders_Aggregate; + status: Scalars["String"]["output"]; +}; + +/** columns and relationships of "order_status" */ +export type Order_StatusOrdersArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** columns and relationships of "order_status" */ +export type Order_StatusOrders_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** aggregated selection of "order_status" */ +export type Order_Status_Aggregate = { + __typename?: "order_status_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "order_status" */ +export type Order_Status_Aggregate_Fields = { + __typename?: "order_status_aggregate_fields"; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; +}; + +/** aggregate fields of "order_status" */ +export type Order_Status_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "order_status". All fields are combined with a logical 'AND'. */ +export type Order_Status_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + orders?: InputMaybe; + orders_aggregate?: InputMaybe; + status?: InputMaybe; +}; + +/** unique or primary key constraints on table "order_status" */ +export enum Order_Status_Constraint { + /** unique or primary key constraint on columns "status" */ + OrderStatusPkey = "order_status_pkey", +} + +export enum Order_Status_Enum { + Canceled = "CANCELED", + Confirmed = "CONFIRMED", + Delivered = "DELIVERED", + Enroute = "ENROUTE", + Fulfilled = "FULFILLED", + Pending = "PENDING", +} + +/** Boolean expression to compare columns of type "order_status_enum". All fields are combined with logical 'AND'. */ +export type Order_Status_Enum_Comparison_Exp = { + _eq?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +/** input type for inserting data into table "order_status" */ +export type Order_Status_Insert_Input = { + orders?: InputMaybe; + status?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Order_Status_Max_Fields = { + __typename?: "order_status_max_fields"; + status?: Maybe; +}; + +/** aggregate min on columns */ +export type Order_Status_Min_Fields = { + __typename?: "order_status_min_fields"; + status?: Maybe; +}; + +/** response of any mutation on the table "order_status" */ +export type Order_Status_Mutation_Response = { + __typename?: "order_status_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** input type for inserting object relation for remote table "order_status" */ +export type Order_Status_Obj_Rel_Insert_Input = { + data: Order_Status_Insert_Input; + /** upsert condition */ + on_conflict?: InputMaybe; +}; + +/** on_conflict condition type for table "order_status" */ +export type Order_Status_On_Conflict = { + constraint: Order_Status_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "order_status". */ +export type Order_Status_Order_By = { + orders_aggregate?: InputMaybe; + status?: InputMaybe; +}; + +/** primary key columns input for table: order_status */ +export type Order_Status_Pk_Columns_Input = { + status: Scalars["String"]["input"]; +}; + +/** select columns of table "order_status" */ +export enum Order_Status_Select_Column { + /** column name */ + Status = "status", +} + +/** input type for updating data in table "order_status" */ +export type Order_Status_Set_Input = { + status?: InputMaybe; +}; + +/** Streaming cursor of the table "order_status" */ +export type Order_Status_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Order_Status_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Order_Status_Stream_Cursor_Value_Input = { + status?: InputMaybe; +}; + +/** update columns of table "order_status" */ +export enum Order_Status_Update_Column { + /** column name */ + Status = "status", +} + +export type Order_Status_Updates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Order_Status_Bool_Exp; +}; + +/** columns and relationships of "order_supplier" */ +export type Order_Supplier = { + __typename?: "order_supplier"; + created_at: Scalars["timestamptz"]["output"]; + id: Scalars["uuid"]["output"]; + /** An object relationship */ + order: Orders; + order_id: Scalars["uuid"]["output"]; + /** An object relationship */ + supplier: Suppliers; + supplierId: Scalars["uuid"]["output"]; +}; + +/** aggregated selection of "order_supplier" */ +export type Order_Supplier_Aggregate = { + __typename?: "order_supplier_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +export type Order_Supplier_Aggregate_Bool_Exp = { + count?: InputMaybe; +}; + +export type Order_Supplier_Aggregate_Bool_Exp_Count = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Int_Comparison_Exp; +}; + +/** aggregate fields of "order_supplier" */ +export type Order_Supplier_Aggregate_Fields = { + __typename?: "order_supplier_aggregate_fields"; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; +}; + +/** aggregate fields of "order_supplier" */ +export type Order_Supplier_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** order by aggregate values of table "order_supplier" */ +export type Order_Supplier_Aggregate_Order_By = { + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; +}; + +/** input type for inserting array relation for remote table "order_supplier" */ +export type Order_Supplier_Arr_Rel_Insert_Input = { + data: Array; + /** upsert condition */ + on_conflict?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "order_supplier". All fields are combined with a logical 'AND'. */ +export type Order_Supplier_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + created_at?: InputMaybe; + id?: InputMaybe; + order?: InputMaybe; + order_id?: InputMaybe; + supplier?: InputMaybe; + supplierId?: InputMaybe; +}; + +/** unique or primary key constraints on table "order_supplier" */ +export enum Order_Supplier_Constraint { + /** unique or primary key constraint on columns "id" */ + OrderSupplierPkey = "order_supplier_pkey", +} + +/** input type for inserting data into table "order_supplier" */ +export type Order_Supplier_Insert_Input = { + created_at?: InputMaybe; + id?: InputMaybe; + order?: InputMaybe; + order_id?: InputMaybe; + supplier?: InputMaybe; + supplierId?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Order_Supplier_Max_Fields = { + __typename?: "order_supplier_max_fields"; + created_at?: Maybe; + id?: Maybe; + order_id?: Maybe; + supplierId?: Maybe; +}; + +/** order by max() on columns of table "order_supplier" */ +export type Order_Supplier_Max_Order_By = { + created_at?: InputMaybe; + id?: InputMaybe; + order_id?: InputMaybe; + supplierId?: InputMaybe; +}; + +/** aggregate min on columns */ +export type Order_Supplier_Min_Fields = { + __typename?: "order_supplier_min_fields"; + created_at?: Maybe; + id?: Maybe; + order_id?: Maybe; + supplierId?: Maybe; +}; + +/** order by min() on columns of table "order_supplier" */ +export type Order_Supplier_Min_Order_By = { + created_at?: InputMaybe; + id?: InputMaybe; + order_id?: InputMaybe; + supplierId?: InputMaybe; +}; + +/** response of any mutation on the table "order_supplier" */ +export type Order_Supplier_Mutation_Response = { + __typename?: "order_supplier_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** on_conflict condition type for table "order_supplier" */ +export type Order_Supplier_On_Conflict = { + constraint: Order_Supplier_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "order_supplier". */ +export type Order_Supplier_Order_By = { + created_at?: InputMaybe; + id?: InputMaybe; + order?: InputMaybe; + order_id?: InputMaybe; + supplier?: InputMaybe; + supplierId?: InputMaybe; +}; + +/** primary key columns input for table: order_supplier */ +export type Order_Supplier_Pk_Columns_Input = { + id: Scalars["uuid"]["input"]; +}; + +/** select columns of table "order_supplier" */ +export enum Order_Supplier_Select_Column { + /** column name */ + CreatedAt = "created_at", + /** column name */ + Id = "id", + /** column name */ + OrderId = "order_id", + /** column name */ + SupplierId = "supplierId", +} + +/** input type for updating data in table "order_supplier" */ +export type Order_Supplier_Set_Input = { + created_at?: InputMaybe; + id?: InputMaybe; + order_id?: InputMaybe; + supplierId?: InputMaybe; +}; + +/** Streaming cursor of the table "order_supplier" */ +export type Order_Supplier_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Order_Supplier_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Order_Supplier_Stream_Cursor_Value_Input = { + created_at?: InputMaybe; + id?: InputMaybe; + order_id?: InputMaybe; + supplierId?: InputMaybe; +}; + +/** update columns of table "order_supplier" */ +export enum Order_Supplier_Update_Column { + /** column name */ + CreatedAt = "created_at", + /** column name */ + Id = "id", + /** column name */ + OrderId = "order_id", + /** column name */ + SupplierId = "supplierId", +} + +export type Order_Supplier_Updates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Order_Supplier_Bool_Exp; +}; + +/** columns and relationships of "orders" */ +export type Orders = { + __typename?: "orders"; + /** An object relationship */ + agent?: Maybe; + /** An object relationship */ + business?: Maybe; + created_at: Scalars["timestamptz"]["output"]; + customerId?: Maybe; + /** An array relationship */ + deliveries: Array; + /** An aggregate relationship */ + deliveries_aggregate: Delivery_Aggregate; + destination?: Maybe; + fulfillment_type?: Maybe; + id: Scalars["uuid"]["output"]; + orderId?: Maybe; + /** An array relationship */ + order_items: Array; + /** An aggregate relationship */ + order_items_aggregate: Order_Item_Aggregate; + /** An object relationship */ + order_status?: Maybe; + /** An array relationship */ + order_suppliers: Array; + /** An aggregate relationship */ + order_suppliers_aggregate: Order_Supplier_Aggregate; + origin?: Maybe; + processedBy?: Maybe; + status?: Maybe; +}; + +/** columns and relationships of "orders" */ +export type OrdersDeliveriesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** columns and relationships of "orders" */ +export type OrdersDeliveries_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** columns and relationships of "orders" */ +export type OrdersOrder_ItemsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** columns and relationships of "orders" */ +export type OrdersOrder_Items_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** columns and relationships of "orders" */ +export type OrdersOrder_SuppliersArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** columns and relationships of "orders" */ +export type OrdersOrder_Suppliers_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** aggregated selection of "orders" */ +export type Orders_Aggregate = { + __typename?: "orders_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +export type Orders_Aggregate_Bool_Exp = { + count?: InputMaybe; +}; + +export type Orders_Aggregate_Bool_Exp_Count = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Int_Comparison_Exp; +}; + +/** aggregate fields of "orders" */ +export type Orders_Aggregate_Fields = { + __typename?: "orders_aggregate_fields"; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; +}; + +/** aggregate fields of "orders" */ +export type Orders_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** order by aggregate values of table "orders" */ +export type Orders_Aggregate_Order_By = { + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; +}; + +/** input type for inserting array relation for remote table "orders" */ +export type Orders_Arr_Rel_Insert_Input = { + data: Array; + /** upsert condition */ + on_conflict?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "orders". All fields are combined with a logical 'AND'. */ +export type Orders_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + agent?: InputMaybe; + business?: InputMaybe; + created_at?: InputMaybe; + customerId?: InputMaybe; + deliveries?: InputMaybe; + deliveries_aggregate?: InputMaybe; + destination?: InputMaybe; + fulfillment_type?: InputMaybe; + id?: InputMaybe; + orderId?: InputMaybe; + order_items?: InputMaybe; + order_items_aggregate?: InputMaybe; + order_status?: InputMaybe; + order_suppliers?: InputMaybe; + order_suppliers_aggregate?: InputMaybe; + origin?: InputMaybe; + processedBy?: InputMaybe; + status?: InputMaybe; +}; + +/** unique or primary key constraints on table "orders" */ +export enum Orders_Constraint { + /** unique or primary key constraint on columns "id" */ + OrdersPkey = "orders_pkey", +} + +/** input type for inserting data into table "orders" */ +export type Orders_Insert_Input = { + agent?: InputMaybe; + business?: InputMaybe; + created_at?: InputMaybe; + customerId?: InputMaybe; + deliveries?: InputMaybe; + destination?: InputMaybe; + fulfillment_type?: InputMaybe; + id?: InputMaybe; + orderId?: InputMaybe; + order_items?: InputMaybe; + order_status?: InputMaybe; + order_suppliers?: InputMaybe; + origin?: InputMaybe; + processedBy?: InputMaybe; + status?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Orders_Max_Fields = { + __typename?: "orders_max_fields"; + created_at?: Maybe; + customerId?: Maybe; + destination?: Maybe; + id?: Maybe; + orderId?: Maybe; + origin?: Maybe; + processedBy?: Maybe; +}; + +/** order by max() on columns of table "orders" */ +export type Orders_Max_Order_By = { + created_at?: InputMaybe; + customerId?: InputMaybe; + destination?: InputMaybe; + id?: InputMaybe; + orderId?: InputMaybe; + origin?: InputMaybe; + processedBy?: InputMaybe; +}; + +/** aggregate min on columns */ +export type Orders_Min_Fields = { + __typename?: "orders_min_fields"; + created_at?: Maybe; + customerId?: Maybe; + destination?: Maybe; + id?: Maybe; + orderId?: Maybe; + origin?: Maybe; + processedBy?: Maybe; +}; + +/** order by min() on columns of table "orders" */ +export type Orders_Min_Order_By = { + created_at?: InputMaybe; + customerId?: InputMaybe; + destination?: InputMaybe; + id?: InputMaybe; + orderId?: InputMaybe; + origin?: InputMaybe; + processedBy?: InputMaybe; +}; + +/** response of any mutation on the table "orders" */ +export type Orders_Mutation_Response = { + __typename?: "orders_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** input type for inserting object relation for remote table "orders" */ +export type Orders_Obj_Rel_Insert_Input = { + data: Orders_Insert_Input; + /** upsert condition */ + on_conflict?: InputMaybe; +}; + +/** on_conflict condition type for table "orders" */ +export type Orders_On_Conflict = { + constraint: Orders_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "orders". */ +export type Orders_Order_By = { + agent?: InputMaybe; + business?: InputMaybe; + created_at?: InputMaybe; + customerId?: InputMaybe; + deliveries_aggregate?: InputMaybe; + destination?: InputMaybe; + fulfillment_type?: InputMaybe; + id?: InputMaybe; + orderId?: InputMaybe; + order_items_aggregate?: InputMaybe; + order_status?: InputMaybe; + order_suppliers_aggregate?: InputMaybe; + origin?: InputMaybe; + processedBy?: InputMaybe; + status?: InputMaybe; +}; + +/** primary key columns input for table: orders */ +export type Orders_Pk_Columns_Input = { + id: Scalars["uuid"]["input"]; +}; + +/** select columns of table "orders" */ +export enum Orders_Select_Column { + /** column name */ + CreatedAt = "created_at", + /** column name */ + CustomerId = "customerId", + /** column name */ + Destination = "destination", + /** column name */ + FulfillmentType = "fulfillment_type", + /** column name */ + Id = "id", + /** column name */ + OrderId = "orderId", + /** column name */ + Origin = "origin", + /** column name */ + ProcessedBy = "processedBy", + /** column name */ + Status = "status", +} + +/** input type for updating data in table "orders" */ +export type Orders_Set_Input = { + created_at?: InputMaybe; + customerId?: InputMaybe; + destination?: InputMaybe; + fulfillment_type?: InputMaybe; + id?: InputMaybe; + orderId?: InputMaybe; + origin?: InputMaybe; + processedBy?: InputMaybe; + status?: InputMaybe; +}; + +/** Streaming cursor of the table "orders" */ +export type Orders_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Orders_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Orders_Stream_Cursor_Value_Input = { + created_at?: InputMaybe; + customerId?: InputMaybe; + destination?: InputMaybe; + fulfillment_type?: InputMaybe; + id?: InputMaybe; + orderId?: InputMaybe; + origin?: InputMaybe; + processedBy?: InputMaybe; + status?: InputMaybe; +}; + +/** update columns of table "orders" */ +export enum Orders_Update_Column { + /** column name */ + CreatedAt = "created_at", + /** column name */ + CustomerId = "customerId", + /** column name */ + Destination = "destination", + /** column name */ + FulfillmentType = "fulfillment_type", + /** column name */ + Id = "id", + /** column name */ + OrderId = "orderId", + /** column name */ + Origin = "origin", + /** column name */ + ProcessedBy = "processedBy", + /** column name */ + Status = "status", +} + +export type Orders_Updates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Orders_Bool_Exp; +}; + +/** columns and relationships of "products" */ +export type Products = { + __typename?: "products"; + created_at: Scalars["timestamptz"]["output"]; + description?: Maybe; + discount?: Maybe; + id: Scalars["uuid"]["output"]; + inStock: Scalars["Boolean"]["output"]; + name?: Maybe; + /** An array relationship */ + order_items: Array; + /** An aggregate relationship */ + order_items_aggregate: Order_Item_Aggregate; + price?: Maybe; + quantity: Scalars["Int"]["output"]; + /** An object relationship */ + supplier?: Maybe; + supplier_id?: Maybe; +}; + +/** columns and relationships of "products" */ +export type ProductsOrder_ItemsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** columns and relationships of "products" */ +export type ProductsOrder_Items_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** aggregated selection of "products" */ +export type Products_Aggregate = { + __typename?: "products_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +export type Products_Aggregate_Bool_Exp = { + bool_and?: InputMaybe; + bool_or?: InputMaybe; + count?: InputMaybe; +}; + +export type Products_Aggregate_Bool_Exp_Bool_And = { + arguments: Products_Select_Column_Products_Aggregate_Bool_Exp_Bool_And_Arguments_Columns; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Boolean_Comparison_Exp; +}; + +export type Products_Aggregate_Bool_Exp_Bool_Or = { + arguments: Products_Select_Column_Products_Aggregate_Bool_Exp_Bool_Or_Arguments_Columns; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Boolean_Comparison_Exp; +}; + +export type Products_Aggregate_Bool_Exp_Count = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Int_Comparison_Exp; +}; + +/** aggregate fields of "products" */ +export type Products_Aggregate_Fields = { + __typename?: "products_aggregate_fields"; + avg?: Maybe; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; +}; + +/** aggregate fields of "products" */ +export type Products_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** order by aggregate values of table "products" */ +export type Products_Aggregate_Order_By = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; + +/** input type for inserting array relation for remote table "products" */ +export type Products_Arr_Rel_Insert_Input = { + data: Array; + /** upsert condition */ + on_conflict?: InputMaybe; +}; + +/** aggregate avg on columns */ +export type Products_Avg_Fields = { + __typename?: "products_avg_fields"; + discount?: Maybe; + price?: Maybe; + quantity?: Maybe; +}; + +/** order by avg() on columns of table "products" */ +export type Products_Avg_Order_By = { + discount?: InputMaybe; + price?: InputMaybe; + quantity?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "products". All fields are combined with a logical 'AND'. */ +export type Products_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + created_at?: InputMaybe; + description?: InputMaybe; + discount?: InputMaybe; + id?: InputMaybe; + inStock?: InputMaybe; + name?: InputMaybe; + order_items?: InputMaybe; + order_items_aggregate?: InputMaybe; + price?: InputMaybe; + quantity?: InputMaybe; + supplier?: InputMaybe; + supplier_id?: InputMaybe; +}; + +/** unique or primary key constraints on table "products" */ +export enum Products_Constraint { + /** unique or primary key constraint on columns "id" */ + ProductsPkey = "products_pkey", +} + +/** input type for incrementing numeric columns in table "products" */ +export type Products_Inc_Input = { + discount?: InputMaybe; + price?: InputMaybe; + quantity?: InputMaybe; +}; + +/** input type for inserting data into table "products" */ +export type Products_Insert_Input = { + created_at?: InputMaybe; + description?: InputMaybe; + discount?: InputMaybe; + id?: InputMaybe; + inStock?: InputMaybe; + name?: InputMaybe; + order_items?: InputMaybe; + price?: InputMaybe; + quantity?: InputMaybe; + supplier?: InputMaybe; + supplier_id?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Products_Max_Fields = { + __typename?: "products_max_fields"; + created_at?: Maybe; + description?: Maybe; + discount?: Maybe; + id?: Maybe; + name?: Maybe; + price?: Maybe; + quantity?: Maybe; + supplier_id?: Maybe; +}; + +/** order by max() on columns of table "products" */ +export type Products_Max_Order_By = { + created_at?: InputMaybe; + description?: InputMaybe; + discount?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + price?: InputMaybe; + quantity?: InputMaybe; + supplier_id?: InputMaybe; +}; + +/** aggregate min on columns */ +export type Products_Min_Fields = { + __typename?: "products_min_fields"; + created_at?: Maybe; + description?: Maybe; + discount?: Maybe; + id?: Maybe; + name?: Maybe; + price?: Maybe; + quantity?: Maybe; + supplier_id?: Maybe; +}; + +/** order by min() on columns of table "products" */ +export type Products_Min_Order_By = { + created_at?: InputMaybe; + description?: InputMaybe; + discount?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + price?: InputMaybe; + quantity?: InputMaybe; + supplier_id?: InputMaybe; +}; + +/** response of any mutation on the table "products" */ +export type Products_Mutation_Response = { + __typename?: "products_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** input type for inserting object relation for remote table "products" */ +export type Products_Obj_Rel_Insert_Input = { + data: Products_Insert_Input; + /** upsert condition */ + on_conflict?: InputMaybe; +}; + +/** on_conflict condition type for table "products" */ +export type Products_On_Conflict = { + constraint: Products_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "products". */ +export type Products_Order_By = { + created_at?: InputMaybe; + description?: InputMaybe; + discount?: InputMaybe; + id?: InputMaybe; + inStock?: InputMaybe; + name?: InputMaybe; + order_items_aggregate?: InputMaybe; + price?: InputMaybe; + quantity?: InputMaybe; + supplier?: InputMaybe; + supplier_id?: InputMaybe; +}; + +/** primary key columns input for table: products */ +export type Products_Pk_Columns_Input = { + id: Scalars["uuid"]["input"]; +}; + +/** select columns of table "products" */ +export enum Products_Select_Column { + /** column name */ + CreatedAt = "created_at", + /** column name */ + Description = "description", + /** column name */ + Discount = "discount", + /** column name */ + Id = "id", + /** column name */ + InStock = "inStock", + /** column name */ + Name = "name", + /** column name */ + Price = "price", + /** column name */ + Quantity = "quantity", + /** column name */ + SupplierId = "supplier_id", +} + +/** select "products_aggregate_bool_exp_bool_and_arguments_columns" columns of table "products" */ +export enum Products_Select_Column_Products_Aggregate_Bool_Exp_Bool_And_Arguments_Columns { + /** column name */ + InStock = "inStock", +} + +/** select "products_aggregate_bool_exp_bool_or_arguments_columns" columns of table "products" */ +export enum Products_Select_Column_Products_Aggregate_Bool_Exp_Bool_Or_Arguments_Columns { + /** column name */ + InStock = "inStock", +} + +/** input type for updating data in table "products" */ +export type Products_Set_Input = { + created_at?: InputMaybe; + description?: InputMaybe; + discount?: InputMaybe; + id?: InputMaybe; + inStock?: InputMaybe; + name?: InputMaybe; + price?: InputMaybe; + quantity?: InputMaybe; + supplier_id?: InputMaybe; +}; + +/** aggregate stddev on columns */ +export type Products_Stddev_Fields = { + __typename?: "products_stddev_fields"; + discount?: Maybe; + price?: Maybe; + quantity?: Maybe; +}; + +/** order by stddev() on columns of table "products" */ +export type Products_Stddev_Order_By = { + discount?: InputMaybe; + price?: InputMaybe; + quantity?: InputMaybe; +}; + +/** aggregate stddev_pop on columns */ +export type Products_Stddev_Pop_Fields = { + __typename?: "products_stddev_pop_fields"; + discount?: Maybe; + price?: Maybe; + quantity?: Maybe; +}; + +/** order by stddev_pop() on columns of table "products" */ +export type Products_Stddev_Pop_Order_By = { + discount?: InputMaybe; + price?: InputMaybe; + quantity?: InputMaybe; +}; + +/** aggregate stddev_samp on columns */ +export type Products_Stddev_Samp_Fields = { + __typename?: "products_stddev_samp_fields"; + discount?: Maybe; + price?: Maybe; + quantity?: Maybe; +}; + +/** order by stddev_samp() on columns of table "products" */ +export type Products_Stddev_Samp_Order_By = { + discount?: InputMaybe; + price?: InputMaybe; + quantity?: InputMaybe; +}; + +/** Streaming cursor of the table "products" */ +export type Products_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Products_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Products_Stream_Cursor_Value_Input = { + created_at?: InputMaybe; + description?: InputMaybe; + discount?: InputMaybe; + id?: InputMaybe; + inStock?: InputMaybe; + name?: InputMaybe; + price?: InputMaybe; + quantity?: InputMaybe; + supplier_id?: InputMaybe; +}; + +/** aggregate sum on columns */ +export type Products_Sum_Fields = { + __typename?: "products_sum_fields"; + discount?: Maybe; + price?: Maybe; + quantity?: Maybe; +}; + +/** order by sum() on columns of table "products" */ +export type Products_Sum_Order_By = { + discount?: InputMaybe; + price?: InputMaybe; + quantity?: InputMaybe; +}; + +/** update columns of table "products" */ +export enum Products_Update_Column { + /** column name */ + CreatedAt = "created_at", + /** column name */ + Description = "description", + /** column name */ + Discount = "discount", + /** column name */ + Id = "id", + /** column name */ + InStock = "inStock", + /** column name */ + Name = "name", + /** column name */ + Price = "price", + /** column name */ + Quantity = "quantity", + /** column name */ + SupplierId = "supplier_id", +} + +export type Products_Updates = { + /** increments the numeric columns with given value of the filtered values */ + _inc?: InputMaybe; + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Products_Bool_Exp; +}; + +/** aggregate var_pop on columns */ +export type Products_Var_Pop_Fields = { + __typename?: "products_var_pop_fields"; + discount?: Maybe; + price?: Maybe; + quantity?: Maybe; +}; + +/** order by var_pop() on columns of table "products" */ +export type Products_Var_Pop_Order_By = { + discount?: InputMaybe; + price?: InputMaybe; + quantity?: InputMaybe; +}; + +/** aggregate var_samp on columns */ +export type Products_Var_Samp_Fields = { + __typename?: "products_var_samp_fields"; + discount?: Maybe; + price?: Maybe; + quantity?: Maybe; +}; + +/** order by var_samp() on columns of table "products" */ +export type Products_Var_Samp_Order_By = { + discount?: InputMaybe; + price?: InputMaybe; + quantity?: InputMaybe; +}; + +/** aggregate variance on columns */ +export type Products_Variance_Fields = { + __typename?: "products_variance_fields"; + discount?: Maybe; + price?: Maybe; + quantity?: Maybe; +}; + +/** order by variance() on columns of table "products" */ +export type Products_Variance_Order_By = { + discount?: InputMaybe; + price?: InputMaybe; + quantity?: InputMaybe; +}; + +export type Query_Root = { + __typename?: "query_root"; + /** An array relationship */ + addresses: Array; + /** An aggregate relationship */ + addresses_aggregate: Addresses_Aggregate; + /** fetch data from the table: "addresses" using primary key columns */ + addresses_by_pk?: Maybe; + /** fetch data from the table: "agent" */ + agent: Array; + /** fetch aggregated fields from the table: "agent" */ + agent_aggregate: Agent_Aggregate; + /** fetch data from the table: "agent" using primary key columns */ + agent_by_pk?: Maybe; + /** fetch data from the table: "agent_type" */ + agent_type: Array; + /** fetch aggregated fields from the table: "agent_type" */ + agent_type_aggregate: Agent_Type_Aggregate; + /** fetch data from the table: "agent_type" using primary key columns */ + agent_type_by_pk?: Maybe; + /** fetch data from the table: "business" */ + business: Array; + /** fetch aggregated fields from the table: "business" */ + business_aggregate: Business_Aggregate; + /** fetch data from the table: "business" using primary key columns */ + business_by_pk?: Maybe; + /** fetch data from the table: "business_sector" */ + business_sector: Array; + /** fetch aggregated fields from the table: "business_sector" */ + business_sector_aggregate: Business_Sector_Aggregate; + /** fetch data from the table: "business_sector" using primary key columns */ + business_sector_by_pk?: Maybe; + /** fetch data from the table: "business_type" */ + business_type: Array; + /** fetch aggregated fields from the table: "business_type" */ + business_type_aggregate: Business_Type_Aggregate; + /** fetch data from the table: "business_type" using primary key columns */ + business_type_by_pk?: Maybe; + /** fetch data from the table: "contact_details" */ + contact_details: Array; + /** fetch aggregated fields from the table: "contact_details" */ + contact_details_aggregate: Contact_Details_Aggregate; + /** fetch data from the table: "contact_details" using primary key columns */ + contact_details_by_pk?: Maybe; + /** An array relationship */ + courier_rides: Array; + /** An aggregate relationship */ + courier_rides_aggregate: Courier_Rides_Aggregate; + /** fetch data from the table: "courier_rides" using primary key columns */ + courier_rides_by_pk?: Maybe; + /** fetch data from the table: "couriers" */ + couriers: Array; + /** fetch aggregated fields from the table: "couriers" */ + couriers_aggregate: Couriers_Aggregate; + /** fetch data from the table: "couriers" using primary key columns */ + couriers_by_pk?: Maybe; + /** fetch data from the table: "delivery" */ + delivery: Array; + /** fetch aggregated fields from the table: "delivery" */ + delivery_aggregate: Delivery_Aggregate; + /** fetch data from the table: "delivery" using primary key columns */ + delivery_by_pk?: Maybe; + /** fetch data from the table: "delivery_personnel" */ + delivery_personnel: Array; + /** fetch aggregated fields from the table: "delivery_personnel" */ + delivery_personnel_aggregate: Delivery_Personnel_Aggregate; + /** fetch data from the table: "delivery_personnel" using primary key columns */ + delivery_personnel_by_pk?: Maybe; + /** fetch data from the table: "delivery_request" */ + delivery_request: Array; + /** fetch aggregated fields from the table: "delivery_request" */ + delivery_request_aggregate: Delivery_Request_Aggregate; + /** fetch data from the table: "delivery_request" using primary key columns */ + delivery_request_by_pk?: Maybe; + /** fetch data from the table: "delivery_status" */ + delivery_status: Array; + /** fetch aggregated fields from the table: "delivery_status" */ + delivery_status_aggregate: Delivery_Status_Aggregate; + /** fetch data from the table: "delivery_status" using primary key columns */ + delivery_status_by_pk?: Maybe; + /** fetch data from the table: "geography_columns" */ + geography_columns: Array; + /** fetch aggregated fields from the table: "geography_columns" */ + geography_columns_aggregate: Geography_Columns_Aggregate; + /** fetch data from the table: "geometry_columns" */ + geometry_columns: Array; + /** fetch aggregated fields from the table: "geometry_columns" */ + geometry_columns_aggregate: Geometry_Columns_Aggregate; + /** Validate and Process Orders */ + initOrder?: Maybe; + /** fetch data from the table: "locations" */ + locations: Array; + /** fetch aggregated fields from the table: "locations" */ + locations_aggregate: Locations_Aggregate; + /** fetch data from the table: "locations" using primary key columns */ + locations_by_pk?: Maybe; + /** fetch data from the table: "order_fulfillment_type" */ + order_fulfillment_type: Array; + /** fetch aggregated fields from the table: "order_fulfillment_type" */ + order_fulfillment_type_aggregate: Order_Fulfillment_Type_Aggregate; + /** fetch data from the table: "order_fulfillment_type" using primary key columns */ + order_fulfillment_type_by_pk?: Maybe; + /** fetch data from the table: "order_item" */ + order_item: Array; + /** fetch aggregated fields from the table: "order_item" */ + order_item_aggregate: Order_Item_Aggregate; + /** fetch data from the table: "order_item" using primary key columns */ + order_item_by_pk?: Maybe; + /** fetch data from the table: "order_preference" */ + order_preference: Array; + /** fetch aggregated fields from the table: "order_preference" */ + order_preference_aggregate: Order_Preference_Aggregate; + /** fetch data from the table: "order_preference" using primary key columns */ + order_preference_by_pk?: Maybe; + /** fetch data from the table: "order_status" */ + order_status: Array; + /** fetch aggregated fields from the table: "order_status" */ + order_status_aggregate: Order_Status_Aggregate; + /** fetch data from the table: "order_status" using primary key columns */ + order_status_by_pk?: Maybe; + /** fetch data from the table: "order_supplier" */ + order_supplier: Array; + /** fetch aggregated fields from the table: "order_supplier" */ + order_supplier_aggregate: Order_Supplier_Aggregate; + /** fetch data from the table: "order_supplier" using primary key columns */ + order_supplier_by_pk?: Maybe; + /** An array relationship */ + orders: Array; + /** An aggregate relationship */ + orders_aggregate: Orders_Aggregate; + /** fetch data from the table: "orders" using primary key columns */ + orders_by_pk?: Maybe; + /** An array relationship */ + products: Array; + /** An aggregate relationship */ + products_aggregate: Products_Aggregate; + /** fetch data from the table: "products" using primary key columns */ + products_by_pk?: Maybe; + /** fetch data from the table: "registeration_channel_type" */ + registeration_channel_type: Array; + /** fetch aggregated fields from the table: "registeration_channel_type" */ + registeration_channel_type_aggregate: Registeration_Channel_Type_Aggregate; + /** fetch data from the table: "registeration_channel_type" using primary key columns */ + registeration_channel_type_by_pk?: Maybe; + /** fetch data from the table: "reports" */ + reports: Array; + /** fetch aggregated fields from the table: "reports" */ + reports_aggregate: Reports_Aggregate; + /** fetch data from the table: "reports" using primary key columns */ + reports_by_pk?: Maybe; + /** fetch data from the table: "ride_status" */ + ride_status: Array; + /** fetch aggregated fields from the table: "ride_status" */ + ride_status_aggregate: Ride_Status_Aggregate; + /** fetch data from the table: "ride_status" using primary key columns */ + ride_status_by_pk?: Maybe; + /** fetch data from the table: "ride_type" */ + ride_type: Array; + /** fetch aggregated fields from the table: "ride_type" */ + ride_type_aggregate: Ride_Type_Aggregate; + /** fetch data from the table: "ride_type" using primary key columns */ + ride_type_by_pk?: Maybe; + /** fetch data from the table: "spatial_ref_sys" */ + spatial_ref_sys: Array; + /** fetch aggregated fields from the table: "spatial_ref_sys" */ + spatial_ref_sys_aggregate: Spatial_Ref_Sys_Aggregate; + /** fetch data from the table: "spatial_ref_sys" using primary key columns */ + spatial_ref_sys_by_pk?: Maybe; + /** fetch data from the table: "supplier_categories_enum" */ + supplier_categories_enum: Array; + /** fetch aggregated fields from the table: "supplier_categories_enum" */ + supplier_categories_enum_aggregate: Supplier_Categories_Enum_Aggregate; + /** fetch data from the table: "supplier_categories_enum" using primary key columns */ + supplier_categories_enum_by_pk?: Maybe; + /** fetch data from the table: "supplier_service_zone" */ + supplier_service_zone: Array; + /** fetch aggregated fields from the table: "supplier_service_zone" */ + supplier_service_zone_aggregate: Supplier_Service_Zone_Aggregate; + /** fetch data from the table: "supplier_service_zone" using primary key columns */ + supplier_service_zone_by_pk?: Maybe; + /** fetch data from the table: "suppliers" */ + suppliers: Array; + /** fetch aggregated fields from the table: "suppliers" */ + suppliers_aggregate: Suppliers_Aggregate; + /** fetch data from the table: "suppliers" using primary key columns */ + suppliers_by_pk?: Maybe; + /** An array relationship */ + suppliers_categories: Array; + /** An aggregate relationship */ + suppliers_categories_aggregate: Suppliers_Categories_Aggregate; + /** fetch data from the table: "suppliers_categories" using primary key columns */ + suppliers_categories_by_pk?: Maybe; + /** fetch data from the table: "user_role" */ + user_role: Array; + /** fetch aggregated fields from the table: "user_role" */ + user_role_aggregate: User_Role_Aggregate; + /** fetch data from the table: "user_role" using primary key columns */ + user_role_by_pk?: Maybe; + /** An array relationship */ + users: Array; + /** An aggregate relationship */ + users_aggregate: Users_Aggregate; + /** fetch data from the table: "users" using primary key columns */ + users_by_pk?: Maybe; +}; + +export type Query_RootAddressesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootAddresses_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootAddresses_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Query_RootAgentArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootAgent_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootAgent_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Query_RootAgent_TypeArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootAgent_Type_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootAgent_Type_By_PkArgs = { + type: Scalars["String"]["input"]; +}; + +export type Query_RootBusinessArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootBusiness_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootBusiness_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Query_RootBusiness_SectorArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootBusiness_Sector_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootBusiness_Sector_By_PkArgs = { + text: Scalars["String"]["input"]; +}; + +export type Query_RootBusiness_TypeArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootBusiness_Type_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootBusiness_Type_By_PkArgs = { + type: Scalars["String"]["input"]; +}; + +export type Query_RootContact_DetailsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootContact_Details_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootContact_Details_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Query_RootCourier_RidesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootCourier_Rides_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootCourier_Rides_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Query_RootCouriersArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootCouriers_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootCouriers_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Query_RootDeliveryArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootDelivery_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootDelivery_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Query_RootDelivery_PersonnelArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootDelivery_Personnel_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootDelivery_Personnel_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Query_RootDelivery_RequestArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootDelivery_Request_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootDelivery_Request_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Query_RootDelivery_StatusArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootDelivery_Status_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootDelivery_Status_By_PkArgs = { + status: Scalars["String"]["input"]; +}; + +export type Query_RootGeography_ColumnsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootGeography_Columns_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootGeometry_ColumnsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootGeometry_Columns_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootInitOrderArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Query_RootLocationsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootLocations_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootLocations_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Query_RootOrder_Fulfillment_TypeArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootOrder_Fulfillment_Type_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootOrder_Fulfillment_Type_By_PkArgs = { + fulfillment_type: Scalars["String"]["input"]; +}; + +export type Query_RootOrder_ItemArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootOrder_Item_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootOrder_Item_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Query_RootOrder_PreferenceArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootOrder_Preference_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootOrder_Preference_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Query_RootOrder_StatusArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootOrder_Status_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootOrder_Status_By_PkArgs = { + status: Scalars["String"]["input"]; +}; + +export type Query_RootOrder_SupplierArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootOrder_Supplier_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootOrder_Supplier_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Query_RootOrdersArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootOrders_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootOrders_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Query_RootProductsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootProducts_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootProducts_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Query_RootRegisteration_Channel_TypeArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootRegisteration_Channel_Type_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootRegisteration_Channel_Type_By_PkArgs = { + channel: Scalars["String"]["input"]; +}; + +export type Query_RootReportsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootReports_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootReports_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Query_RootRide_StatusArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootRide_Status_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootRide_Status_By_PkArgs = { + status: Scalars["String"]["input"]; +}; + +export type Query_RootRide_TypeArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootRide_Type_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootRide_Type_By_PkArgs = { + type: Scalars["String"]["input"]; +}; + +export type Query_RootSpatial_Ref_SysArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootSpatial_Ref_Sys_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootSpatial_Ref_Sys_By_PkArgs = { + srid: Scalars["Int"]["input"]; +}; + +export type Query_RootSupplier_Categories_EnumArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootSupplier_Categories_Enum_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootSupplier_Categories_Enum_By_PkArgs = { + name: Scalars["String"]["input"]; +}; + +export type Query_RootSupplier_Service_ZoneArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootSupplier_Service_Zone_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootSupplier_Service_Zone_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Query_RootSuppliersArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootSuppliers_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootSuppliers_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Query_RootSuppliers_CategoriesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootSuppliers_Categories_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootSuppliers_Categories_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Query_RootUser_RoleArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootUser_Role_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootUser_Role_By_PkArgs = { + role: Scalars["String"]["input"]; +}; + +export type Query_RootUsersArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootUsers_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Query_RootUsers_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +/** columns and relationships of "registeration_channel_type" */ +export type Registeration_Channel_Type = { + __typename?: "registeration_channel_type"; + /** An array relationship */ + businesses: Array; + /** An aggregate relationship */ + businesses_aggregate: Business_Aggregate; + channel: Scalars["String"]["output"]; +}; + +/** columns and relationships of "registeration_channel_type" */ +export type Registeration_Channel_TypeBusinessesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** columns and relationships of "registeration_channel_type" */ +export type Registeration_Channel_TypeBusinesses_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** aggregated selection of "registeration_channel_type" */ +export type Registeration_Channel_Type_Aggregate = { + __typename?: "registeration_channel_type_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "registeration_channel_type" */ +export type Registeration_Channel_Type_Aggregate_Fields = { + __typename?: "registeration_channel_type_aggregate_fields"; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; +}; + +/** aggregate fields of "registeration_channel_type" */ +export type Registeration_Channel_Type_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "registeration_channel_type". All fields are combined with a logical 'AND'. */ +export type Registeration_Channel_Type_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + businesses?: InputMaybe; + businesses_aggregate?: InputMaybe; + channel?: InputMaybe; +}; + +/** unique or primary key constraints on table "registeration_channel_type" */ +export enum Registeration_Channel_Type_Constraint { + /** unique or primary key constraint on columns "channel" */ + RegisterationChannelPkey = "registeration_channel_pkey", +} + +export enum Registeration_Channel_Type_Enum { + Agent = "AGENT", + App = "APP", + Ussd = "USSD", +} + +/** Boolean expression to compare columns of type "registeration_channel_type_enum". All fields are combined with logical 'AND'. */ +export type Registeration_Channel_Type_Enum_Comparison_Exp = { + _eq?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +/** input type for inserting data into table "registeration_channel_type" */ +export type Registeration_Channel_Type_Insert_Input = { + businesses?: InputMaybe; + channel?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Registeration_Channel_Type_Max_Fields = { + __typename?: "registeration_channel_type_max_fields"; + channel?: Maybe; +}; + +/** aggregate min on columns */ +export type Registeration_Channel_Type_Min_Fields = { + __typename?: "registeration_channel_type_min_fields"; + channel?: Maybe; +}; + +/** response of any mutation on the table "registeration_channel_type" */ +export type Registeration_Channel_Type_Mutation_Response = { + __typename?: "registeration_channel_type_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** input type for inserting object relation for remote table "registeration_channel_type" */ +export type Registeration_Channel_Type_Obj_Rel_Insert_Input = { + data: Registeration_Channel_Type_Insert_Input; + /** upsert condition */ + on_conflict?: InputMaybe; +}; + +/** on_conflict condition type for table "registeration_channel_type" */ +export type Registeration_Channel_Type_On_Conflict = { + constraint: Registeration_Channel_Type_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "registeration_channel_type". */ +export type Registeration_Channel_Type_Order_By = { + businesses_aggregate?: InputMaybe; + channel?: InputMaybe; +}; + +/** primary key columns input for table: registeration_channel_type */ +export type Registeration_Channel_Type_Pk_Columns_Input = { + channel: Scalars["String"]["input"]; +}; + +/** select columns of table "registeration_channel_type" */ +export enum Registeration_Channel_Type_Select_Column { + /** column name */ + Channel = "channel", +} + +/** input type for updating data in table "registeration_channel_type" */ +export type Registeration_Channel_Type_Set_Input = { + channel?: InputMaybe; +}; + +/** Streaming cursor of the table "registeration_channel_type" */ +export type Registeration_Channel_Type_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Registeration_Channel_Type_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Registeration_Channel_Type_Stream_Cursor_Value_Input = { + channel?: InputMaybe; +}; + +/** update columns of table "registeration_channel_type" */ +export enum Registeration_Channel_Type_Update_Column { + /** column name */ + Channel = "channel", +} + +export type Registeration_Channel_Type_Updates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Registeration_Channel_Type_Bool_Exp; +}; + +/** columns and relationships of "reports" */ +export type Reports = { + __typename?: "reports"; + created_at: Scalars["timestamptz"]["output"]; + id: Scalars["uuid"]["output"]; +}; + +/** aggregated selection of "reports" */ +export type Reports_Aggregate = { + __typename?: "reports_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "reports" */ +export type Reports_Aggregate_Fields = { + __typename?: "reports_aggregate_fields"; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; +}; + +/** aggregate fields of "reports" */ +export type Reports_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "reports". All fields are combined with a logical 'AND'. */ +export type Reports_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + created_at?: InputMaybe; + id?: InputMaybe; +}; + +/** unique or primary key constraints on table "reports" */ +export enum Reports_Constraint { + /** unique or primary key constraint on columns "id" */ + ReportsPkey = "reports_pkey", +} + +/** input type for inserting data into table "reports" */ +export type Reports_Insert_Input = { + created_at?: InputMaybe; + id?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Reports_Max_Fields = { + __typename?: "reports_max_fields"; + created_at?: Maybe; + id?: Maybe; +}; + +/** aggregate min on columns */ +export type Reports_Min_Fields = { + __typename?: "reports_min_fields"; + created_at?: Maybe; + id?: Maybe; +}; + +/** response of any mutation on the table "reports" */ +export type Reports_Mutation_Response = { + __typename?: "reports_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** on_conflict condition type for table "reports" */ +export type Reports_On_Conflict = { + constraint: Reports_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "reports". */ +export type Reports_Order_By = { + created_at?: InputMaybe; + id?: InputMaybe; +}; + +/** primary key columns input for table: reports */ +export type Reports_Pk_Columns_Input = { + id: Scalars["uuid"]["input"]; +}; + +/** select columns of table "reports" */ +export enum Reports_Select_Column { + /** column name */ + CreatedAt = "created_at", + /** column name */ + Id = "id", +} + +/** input type for updating data in table "reports" */ +export type Reports_Set_Input = { + created_at?: InputMaybe; + id?: InputMaybe; +}; + +/** Streaming cursor of the table "reports" */ +export type Reports_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Reports_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Reports_Stream_Cursor_Value_Input = { + created_at?: InputMaybe; + id?: InputMaybe; +}; + +/** update columns of table "reports" */ +export enum Reports_Update_Column { + /** column name */ + CreatedAt = "created_at", + /** column name */ + Id = "id", +} + +export type Reports_Updates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Reports_Bool_Exp; +}; + +/** columns and relationships of "ride_status" */ +export type Ride_Status = { + __typename?: "ride_status"; + /** An array relationship */ + courier_rides: Array; + /** An aggregate relationship */ + courier_rides_aggregate: Courier_Rides_Aggregate; + status: Scalars["String"]["output"]; +}; + +/** columns and relationships of "ride_status" */ +export type Ride_StatusCourier_RidesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** columns and relationships of "ride_status" */ +export type Ride_StatusCourier_Rides_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** aggregated selection of "ride_status" */ +export type Ride_Status_Aggregate = { + __typename?: "ride_status_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "ride_status" */ +export type Ride_Status_Aggregate_Fields = { + __typename?: "ride_status_aggregate_fields"; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; +}; + +/** aggregate fields of "ride_status" */ +export type Ride_Status_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "ride_status". All fields are combined with a logical 'AND'. */ +export type Ride_Status_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + courier_rides?: InputMaybe; + courier_rides_aggregate?: InputMaybe; + status?: InputMaybe; +}; + +/** unique or primary key constraints on table "ride_status" */ +export enum Ride_Status_Constraint { + /** unique or primary key constraint on columns "status" */ + RideStatusPkey = "ride_status_pkey", +} + +export enum Ride_Status_Enum { + Active = "Active", + Inactive = "Inactive", + Maintenance = "Maintenance", +} + +/** Boolean expression to compare columns of type "ride_status_enum". All fields are combined with logical 'AND'. */ +export type Ride_Status_Enum_Comparison_Exp = { + _eq?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +/** input type for inserting data into table "ride_status" */ +export type Ride_Status_Insert_Input = { + courier_rides?: InputMaybe; + status?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Ride_Status_Max_Fields = { + __typename?: "ride_status_max_fields"; + status?: Maybe; +}; + +/** aggregate min on columns */ +export type Ride_Status_Min_Fields = { + __typename?: "ride_status_min_fields"; + status?: Maybe; +}; + +/** response of any mutation on the table "ride_status" */ +export type Ride_Status_Mutation_Response = { + __typename?: "ride_status_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** input type for inserting object relation for remote table "ride_status" */ +export type Ride_Status_Obj_Rel_Insert_Input = { + data: Ride_Status_Insert_Input; + /** upsert condition */ + on_conflict?: InputMaybe; +}; + +/** on_conflict condition type for table "ride_status" */ +export type Ride_Status_On_Conflict = { + constraint: Ride_Status_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "ride_status". */ +export type Ride_Status_Order_By = { + courier_rides_aggregate?: InputMaybe; + status?: InputMaybe; +}; + +/** primary key columns input for table: ride_status */ +export type Ride_Status_Pk_Columns_Input = { + status: Scalars["String"]["input"]; +}; + +/** select columns of table "ride_status" */ +export enum Ride_Status_Select_Column { + /** column name */ + Status = "status", +} + +/** input type for updating data in table "ride_status" */ +export type Ride_Status_Set_Input = { + status?: InputMaybe; +}; + +/** Streaming cursor of the table "ride_status" */ +export type Ride_Status_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Ride_Status_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Ride_Status_Stream_Cursor_Value_Input = { + status?: InputMaybe; +}; + +/** update columns of table "ride_status" */ +export enum Ride_Status_Update_Column { + /** column name */ + Status = "status", +} + +export type Ride_Status_Updates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Ride_Status_Bool_Exp; +}; + +/** columns and relationships of "ride_type" */ +export type Ride_Type = { + __typename?: "ride_type"; + /** An array relationship */ + courier_rides: Array; + /** An aggregate relationship */ + courier_rides_aggregate: Courier_Rides_Aggregate; + type: Scalars["String"]["output"]; +}; + +/** columns and relationships of "ride_type" */ +export type Ride_TypeCourier_RidesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** columns and relationships of "ride_type" */ +export type Ride_TypeCourier_Rides_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** aggregated selection of "ride_type" */ +export type Ride_Type_Aggregate = { + __typename?: "ride_type_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "ride_type" */ +export type Ride_Type_Aggregate_Fields = { + __typename?: "ride_type_aggregate_fields"; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; +}; + +/** aggregate fields of "ride_type" */ +export type Ride_Type_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "ride_type". All fields are combined with a logical 'AND'. */ +export type Ride_Type_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + courier_rides?: InputMaybe; + courier_rides_aggregate?: InputMaybe; + type?: InputMaybe; +}; + +/** unique or primary key constraints on table "ride_type" */ +export enum Ride_Type_Constraint { + /** unique or primary key constraint on columns "type" */ + RideTypePkey = "ride_type_pkey", +} + +export enum Ride_Type_Enum { + Bike = "Bike", + Car = "Car", +} + +/** Boolean expression to compare columns of type "ride_type_enum". All fields are combined with logical 'AND'. */ +export type Ride_Type_Enum_Comparison_Exp = { + _eq?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +/** input type for inserting data into table "ride_type" */ +export type Ride_Type_Insert_Input = { + courier_rides?: InputMaybe; + type?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Ride_Type_Max_Fields = { + __typename?: "ride_type_max_fields"; + type?: Maybe; +}; + +/** aggregate min on columns */ +export type Ride_Type_Min_Fields = { + __typename?: "ride_type_min_fields"; + type?: Maybe; +}; + +/** response of any mutation on the table "ride_type" */ +export type Ride_Type_Mutation_Response = { + __typename?: "ride_type_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** input type for inserting object relation for remote table "ride_type" */ +export type Ride_Type_Obj_Rel_Insert_Input = { + data: Ride_Type_Insert_Input; + /** upsert condition */ + on_conflict?: InputMaybe; +}; + +/** on_conflict condition type for table "ride_type" */ +export type Ride_Type_On_Conflict = { + constraint: Ride_Type_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "ride_type". */ +export type Ride_Type_Order_By = { + courier_rides_aggregate?: InputMaybe; + type?: InputMaybe; +}; + +/** primary key columns input for table: ride_type */ +export type Ride_Type_Pk_Columns_Input = { + type: Scalars["String"]["input"]; +}; + +/** select columns of table "ride_type" */ +export enum Ride_Type_Select_Column { + /** column name */ + Type = "type", +} + +/** input type for updating data in table "ride_type" */ +export type Ride_Type_Set_Input = { + type?: InputMaybe; +}; + +/** Streaming cursor of the table "ride_type" */ +export type Ride_Type_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Ride_Type_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Ride_Type_Stream_Cursor_Value_Input = { + type?: InputMaybe; +}; + +/** update columns of table "ride_type" */ +export enum Ride_Type_Update_Column { + /** column name */ + Type = "type", +} + +export type Ride_Type_Updates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Ride_Type_Bool_Exp; +}; + +/** columns and relationships of "spatial_ref_sys" */ +export type Spatial_Ref_Sys = { + __typename?: "spatial_ref_sys"; + auth_name?: Maybe; + auth_srid?: Maybe; + proj4text?: Maybe; + srid: Scalars["Int"]["output"]; + srtext?: Maybe; +}; + +/** aggregated selection of "spatial_ref_sys" */ +export type Spatial_Ref_Sys_Aggregate = { + __typename?: "spatial_ref_sys_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "spatial_ref_sys" */ +export type Spatial_Ref_Sys_Aggregate_Fields = { + __typename?: "spatial_ref_sys_aggregate_fields"; + avg?: Maybe; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; +}; + +/** aggregate fields of "spatial_ref_sys" */ +export type Spatial_Ref_Sys_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** aggregate avg on columns */ +export type Spatial_Ref_Sys_Avg_Fields = { + __typename?: "spatial_ref_sys_avg_fields"; + auth_srid?: Maybe; + srid?: Maybe; +}; + +/** Boolean expression to filter rows from the table "spatial_ref_sys". All fields are combined with a logical 'AND'. */ +export type Spatial_Ref_Sys_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + auth_name?: InputMaybe; + auth_srid?: InputMaybe; + proj4text?: InputMaybe; + srid?: InputMaybe; + srtext?: InputMaybe; +}; + +/** unique or primary key constraints on table "spatial_ref_sys" */ +export enum Spatial_Ref_Sys_Constraint { + /** unique or primary key constraint on columns "srid" */ + SpatialRefSysPkey = "spatial_ref_sys_pkey", +} + +/** input type for incrementing numeric columns in table "spatial_ref_sys" */ +export type Spatial_Ref_Sys_Inc_Input = { + auth_srid?: InputMaybe; + srid?: InputMaybe; +}; + +/** input type for inserting data into table "spatial_ref_sys" */ +export type Spatial_Ref_Sys_Insert_Input = { + auth_name?: InputMaybe; + auth_srid?: InputMaybe; + proj4text?: InputMaybe; + srid?: InputMaybe; + srtext?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Spatial_Ref_Sys_Max_Fields = { + __typename?: "spatial_ref_sys_max_fields"; + auth_name?: Maybe; + auth_srid?: Maybe; + proj4text?: Maybe; + srid?: Maybe; + srtext?: Maybe; +}; + +/** aggregate min on columns */ +export type Spatial_Ref_Sys_Min_Fields = { + __typename?: "spatial_ref_sys_min_fields"; + auth_name?: Maybe; + auth_srid?: Maybe; + proj4text?: Maybe; + srid?: Maybe; + srtext?: Maybe; +}; + +/** response of any mutation on the table "spatial_ref_sys" */ +export type Spatial_Ref_Sys_Mutation_Response = { + __typename?: "spatial_ref_sys_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** on_conflict condition type for table "spatial_ref_sys" */ +export type Spatial_Ref_Sys_On_Conflict = { + constraint: Spatial_Ref_Sys_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "spatial_ref_sys". */ +export type Spatial_Ref_Sys_Order_By = { + auth_name?: InputMaybe; + auth_srid?: InputMaybe; + proj4text?: InputMaybe; + srid?: InputMaybe; + srtext?: InputMaybe; +}; + +/** primary key columns input for table: spatial_ref_sys */ +export type Spatial_Ref_Sys_Pk_Columns_Input = { + srid: Scalars["Int"]["input"]; +}; + +/** select columns of table "spatial_ref_sys" */ +export enum Spatial_Ref_Sys_Select_Column { + /** column name */ + AuthName = "auth_name", + /** column name */ + AuthSrid = "auth_srid", + /** column name */ + Proj4text = "proj4text", + /** column name */ + Srid = "srid", + /** column name */ + Srtext = "srtext", +} + +/** input type for updating data in table "spatial_ref_sys" */ +export type Spatial_Ref_Sys_Set_Input = { + auth_name?: InputMaybe; + auth_srid?: InputMaybe; + proj4text?: InputMaybe; + srid?: InputMaybe; + srtext?: InputMaybe; +}; + +/** aggregate stddev on columns */ +export type Spatial_Ref_Sys_Stddev_Fields = { + __typename?: "spatial_ref_sys_stddev_fields"; + auth_srid?: Maybe; + srid?: Maybe; +}; + +/** aggregate stddev_pop on columns */ +export type Spatial_Ref_Sys_Stddev_Pop_Fields = { + __typename?: "spatial_ref_sys_stddev_pop_fields"; + auth_srid?: Maybe; + srid?: Maybe; +}; + +/** aggregate stddev_samp on columns */ +export type Spatial_Ref_Sys_Stddev_Samp_Fields = { + __typename?: "spatial_ref_sys_stddev_samp_fields"; + auth_srid?: Maybe; + srid?: Maybe; +}; + +/** Streaming cursor of the table "spatial_ref_sys" */ +export type Spatial_Ref_Sys_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Spatial_Ref_Sys_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Spatial_Ref_Sys_Stream_Cursor_Value_Input = { + auth_name?: InputMaybe; + auth_srid?: InputMaybe; + proj4text?: InputMaybe; + srid?: InputMaybe; + srtext?: InputMaybe; +}; + +/** aggregate sum on columns */ +export type Spatial_Ref_Sys_Sum_Fields = { + __typename?: "spatial_ref_sys_sum_fields"; + auth_srid?: Maybe; + srid?: Maybe; +}; + +/** update columns of table "spatial_ref_sys" */ +export enum Spatial_Ref_Sys_Update_Column { + /** column name */ + AuthName = "auth_name", + /** column name */ + AuthSrid = "auth_srid", + /** column name */ + Proj4text = "proj4text", + /** column name */ + Srid = "srid", + /** column name */ + Srtext = "srtext", +} + +export type Spatial_Ref_Sys_Updates = { + /** increments the numeric columns with given value of the filtered values */ + _inc?: InputMaybe; + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Spatial_Ref_Sys_Bool_Exp; +}; + +/** aggregate var_pop on columns */ +export type Spatial_Ref_Sys_Var_Pop_Fields = { + __typename?: "spatial_ref_sys_var_pop_fields"; + auth_srid?: Maybe; + srid?: Maybe; +}; + +/** aggregate var_samp on columns */ +export type Spatial_Ref_Sys_Var_Samp_Fields = { + __typename?: "spatial_ref_sys_var_samp_fields"; + auth_srid?: Maybe; + srid?: Maybe; +}; + +/** aggregate variance on columns */ +export type Spatial_Ref_Sys_Variance_Fields = { + __typename?: "spatial_ref_sys_variance_fields"; + auth_srid?: Maybe; + srid?: Maybe; +}; + +export type Subscription_Root = { + __typename?: "subscription_root"; + /** An array relationship */ + addresses: Array; + /** An aggregate relationship */ + addresses_aggregate: Addresses_Aggregate; + /** fetch data from the table: "addresses" using primary key columns */ + addresses_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "addresses" */ + addresses_stream: Array; + /** fetch data from the table: "agent" */ + agent: Array; + /** fetch aggregated fields from the table: "agent" */ + agent_aggregate: Agent_Aggregate; + /** fetch data from the table: "agent" using primary key columns */ + agent_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "agent" */ + agent_stream: Array; + /** fetch data from the table: "agent_type" */ + agent_type: Array; + /** fetch aggregated fields from the table: "agent_type" */ + agent_type_aggregate: Agent_Type_Aggregate; + /** fetch data from the table: "agent_type" using primary key columns */ + agent_type_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "agent_type" */ + agent_type_stream: Array; + /** fetch data from the table: "business" */ + business: Array; + /** fetch aggregated fields from the table: "business" */ + business_aggregate: Business_Aggregate; + /** fetch data from the table: "business" using primary key columns */ + business_by_pk?: Maybe; + /** fetch data from the table: "business_sector" */ + business_sector: Array; + /** fetch aggregated fields from the table: "business_sector" */ + business_sector_aggregate: Business_Sector_Aggregate; + /** fetch data from the table: "business_sector" using primary key columns */ + business_sector_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "business_sector" */ + business_sector_stream: Array; + /** fetch data from the table in a streaming manner: "business" */ + business_stream: Array; + /** fetch data from the table: "business_type" */ + business_type: Array; + /** fetch aggregated fields from the table: "business_type" */ + business_type_aggregate: Business_Type_Aggregate; + /** fetch data from the table: "business_type" using primary key columns */ + business_type_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "business_type" */ + business_type_stream: Array; + /** fetch data from the table: "contact_details" */ + contact_details: Array; + /** fetch aggregated fields from the table: "contact_details" */ + contact_details_aggregate: Contact_Details_Aggregate; + /** fetch data from the table: "contact_details" using primary key columns */ + contact_details_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "contact_details" */ + contact_details_stream: Array; + /** An array relationship */ + courier_rides: Array; + /** An aggregate relationship */ + courier_rides_aggregate: Courier_Rides_Aggregate; + /** fetch data from the table: "courier_rides" using primary key columns */ + courier_rides_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "courier_rides" */ + courier_rides_stream: Array; + /** fetch data from the table: "couriers" */ + couriers: Array; + /** fetch aggregated fields from the table: "couriers" */ + couriers_aggregate: Couriers_Aggregate; + /** fetch data from the table: "couriers" using primary key columns */ + couriers_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "couriers" */ + couriers_stream: Array; + /** fetch data from the table: "delivery" */ + delivery: Array; + /** fetch aggregated fields from the table: "delivery" */ + delivery_aggregate: Delivery_Aggregate; + /** fetch data from the table: "delivery" using primary key columns */ + delivery_by_pk?: Maybe; + /** fetch data from the table: "delivery_personnel" */ + delivery_personnel: Array; + /** fetch aggregated fields from the table: "delivery_personnel" */ + delivery_personnel_aggregate: Delivery_Personnel_Aggregate; + /** fetch data from the table: "delivery_personnel" using primary key columns */ + delivery_personnel_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "delivery_personnel" */ + delivery_personnel_stream: Array; + /** fetch data from the table: "delivery_request" */ + delivery_request: Array; + /** fetch aggregated fields from the table: "delivery_request" */ + delivery_request_aggregate: Delivery_Request_Aggregate; + /** fetch data from the table: "delivery_request" using primary key columns */ + delivery_request_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "delivery_request" */ + delivery_request_stream: Array; + /** fetch data from the table: "delivery_status" */ + delivery_status: Array; + /** fetch aggregated fields from the table: "delivery_status" */ + delivery_status_aggregate: Delivery_Status_Aggregate; + /** fetch data from the table: "delivery_status" using primary key columns */ + delivery_status_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "delivery_status" */ + delivery_status_stream: Array; + /** fetch data from the table in a streaming manner: "delivery" */ + delivery_stream: Array; + /** fetch data from the table: "geography_columns" */ + geography_columns: Array; + /** fetch aggregated fields from the table: "geography_columns" */ + geography_columns_aggregate: Geography_Columns_Aggregate; + /** fetch data from the table in a streaming manner: "geography_columns" */ + geography_columns_stream: Array; + /** fetch data from the table: "geometry_columns" */ + geometry_columns: Array; + /** fetch aggregated fields from the table: "geometry_columns" */ + geometry_columns_aggregate: Geometry_Columns_Aggregate; + /** fetch data from the table in a streaming manner: "geometry_columns" */ + geometry_columns_stream: Array; + /** Validate and Process Orders */ + initOrder?: Maybe; + /** fetch data from the table: "locations" */ + locations: Array; + /** fetch aggregated fields from the table: "locations" */ + locations_aggregate: Locations_Aggregate; + /** fetch data from the table: "locations" using primary key columns */ + locations_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "locations" */ + locations_stream: Array; + /** fetch data from the table: "order_fulfillment_type" */ + order_fulfillment_type: Array; + /** fetch aggregated fields from the table: "order_fulfillment_type" */ + order_fulfillment_type_aggregate: Order_Fulfillment_Type_Aggregate; + /** fetch data from the table: "order_fulfillment_type" using primary key columns */ + order_fulfillment_type_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "order_fulfillment_type" */ + order_fulfillment_type_stream: Array; + /** fetch data from the table: "order_item" */ + order_item: Array; + /** fetch aggregated fields from the table: "order_item" */ + order_item_aggregate: Order_Item_Aggregate; + /** fetch data from the table: "order_item" using primary key columns */ + order_item_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "order_item" */ + order_item_stream: Array; + /** fetch data from the table: "order_preference" */ + order_preference: Array; + /** fetch aggregated fields from the table: "order_preference" */ + order_preference_aggregate: Order_Preference_Aggregate; + /** fetch data from the table: "order_preference" using primary key columns */ + order_preference_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "order_preference" */ + order_preference_stream: Array; + /** fetch data from the table: "order_status" */ + order_status: Array; + /** fetch aggregated fields from the table: "order_status" */ + order_status_aggregate: Order_Status_Aggregate; + /** fetch data from the table: "order_status" using primary key columns */ + order_status_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "order_status" */ + order_status_stream: Array; + /** fetch data from the table: "order_supplier" */ + order_supplier: Array; + /** fetch aggregated fields from the table: "order_supplier" */ + order_supplier_aggregate: Order_Supplier_Aggregate; + /** fetch data from the table: "order_supplier" using primary key columns */ + order_supplier_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "order_supplier" */ + order_supplier_stream: Array; + /** An array relationship */ + orders: Array; + /** An aggregate relationship */ + orders_aggregate: Orders_Aggregate; + /** fetch data from the table: "orders" using primary key columns */ + orders_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "orders" */ + orders_stream: Array; + /** An array relationship */ + products: Array; + /** An aggregate relationship */ + products_aggregate: Products_Aggregate; + /** fetch data from the table: "products" using primary key columns */ + products_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "products" */ + products_stream: Array; + /** fetch data from the table: "registeration_channel_type" */ + registeration_channel_type: Array; + /** fetch aggregated fields from the table: "registeration_channel_type" */ + registeration_channel_type_aggregate: Registeration_Channel_Type_Aggregate; + /** fetch data from the table: "registeration_channel_type" using primary key columns */ + registeration_channel_type_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "registeration_channel_type" */ + registeration_channel_type_stream: Array; + /** fetch data from the table: "reports" */ + reports: Array; + /** fetch aggregated fields from the table: "reports" */ + reports_aggregate: Reports_Aggregate; + /** fetch data from the table: "reports" using primary key columns */ + reports_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "reports" */ + reports_stream: Array; + /** fetch data from the table: "ride_status" */ + ride_status: Array; + /** fetch aggregated fields from the table: "ride_status" */ + ride_status_aggregate: Ride_Status_Aggregate; + /** fetch data from the table: "ride_status" using primary key columns */ + ride_status_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "ride_status" */ + ride_status_stream: Array; + /** fetch data from the table: "ride_type" */ + ride_type: Array; + /** fetch aggregated fields from the table: "ride_type" */ + ride_type_aggregate: Ride_Type_Aggregate; + /** fetch data from the table: "ride_type" using primary key columns */ + ride_type_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "ride_type" */ + ride_type_stream: Array; + /** fetch data from the table: "spatial_ref_sys" */ + spatial_ref_sys: Array; + /** fetch aggregated fields from the table: "spatial_ref_sys" */ + spatial_ref_sys_aggregate: Spatial_Ref_Sys_Aggregate; + /** fetch data from the table: "spatial_ref_sys" using primary key columns */ + spatial_ref_sys_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "spatial_ref_sys" */ + spatial_ref_sys_stream: Array; + /** fetch data from the table: "supplier_categories_enum" */ + supplier_categories_enum: Array; + /** fetch aggregated fields from the table: "supplier_categories_enum" */ + supplier_categories_enum_aggregate: Supplier_Categories_Enum_Aggregate; + /** fetch data from the table: "supplier_categories_enum" using primary key columns */ + supplier_categories_enum_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "supplier_categories_enum" */ + supplier_categories_enum_stream: Array; + /** fetch data from the table: "supplier_service_zone" */ + supplier_service_zone: Array; + /** fetch aggregated fields from the table: "supplier_service_zone" */ + supplier_service_zone_aggregate: Supplier_Service_Zone_Aggregate; + /** fetch data from the table: "supplier_service_zone" using primary key columns */ + supplier_service_zone_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "supplier_service_zone" */ + supplier_service_zone_stream: Array; + /** fetch data from the table: "suppliers" */ + suppliers: Array; + /** fetch aggregated fields from the table: "suppliers" */ + suppliers_aggregate: Suppliers_Aggregate; + /** fetch data from the table: "suppliers" using primary key columns */ + suppliers_by_pk?: Maybe; + /** An array relationship */ + suppliers_categories: Array; + /** An aggregate relationship */ + suppliers_categories_aggregate: Suppliers_Categories_Aggregate; + /** fetch data from the table: "suppliers_categories" using primary key columns */ + suppliers_categories_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "suppliers_categories" */ + suppliers_categories_stream: Array; + /** fetch data from the table in a streaming manner: "suppliers" */ + suppliers_stream: Array; + /** fetch data from the table: "user_role" */ + user_role: Array; + /** fetch aggregated fields from the table: "user_role" */ + user_role_aggregate: User_Role_Aggregate; + /** fetch data from the table: "user_role" using primary key columns */ + user_role_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "user_role" */ + user_role_stream: Array; + /** An array relationship */ + users: Array; + /** An aggregate relationship */ + users_aggregate: Users_Aggregate; + /** fetch data from the table: "users" using primary key columns */ + users_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "users" */ + users_stream: Array; +}; + +export type Subscription_RootAddressesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootAddresses_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootAddresses_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Subscription_RootAddresses_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootAgentArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootAgent_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootAgent_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Subscription_RootAgent_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootAgent_TypeArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootAgent_Type_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootAgent_Type_By_PkArgs = { + type: Scalars["String"]["input"]; +}; + +export type Subscription_RootAgent_Type_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootBusinessArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootBusiness_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootBusiness_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Subscription_RootBusiness_SectorArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootBusiness_Sector_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootBusiness_Sector_By_PkArgs = { + text: Scalars["String"]["input"]; +}; + +export type Subscription_RootBusiness_Sector_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootBusiness_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootBusiness_TypeArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootBusiness_Type_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootBusiness_Type_By_PkArgs = { + type: Scalars["String"]["input"]; +}; + +export type Subscription_RootBusiness_Type_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootContact_DetailsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootContact_Details_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootContact_Details_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Subscription_RootContact_Details_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootCourier_RidesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootCourier_Rides_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootCourier_Rides_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Subscription_RootCourier_Rides_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootCouriersArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootCouriers_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootCouriers_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Subscription_RootCouriers_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootDeliveryArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootDelivery_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootDelivery_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Subscription_RootDelivery_PersonnelArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootDelivery_Personnel_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootDelivery_Personnel_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Subscription_RootDelivery_Personnel_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootDelivery_RequestArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootDelivery_Request_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootDelivery_Request_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Subscription_RootDelivery_Request_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootDelivery_StatusArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootDelivery_Status_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootDelivery_Status_By_PkArgs = { + status: Scalars["String"]["input"]; +}; + +export type Subscription_RootDelivery_Status_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootDelivery_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootGeography_ColumnsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootGeography_Columns_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootGeography_Columns_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootGeometry_ColumnsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootGeometry_Columns_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootGeometry_Columns_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootInitOrderArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Subscription_RootLocationsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootLocations_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootLocations_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Subscription_RootLocations_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootOrder_Fulfillment_TypeArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootOrder_Fulfillment_Type_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootOrder_Fulfillment_Type_By_PkArgs = { + fulfillment_type: Scalars["String"]["input"]; +}; + +export type Subscription_RootOrder_Fulfillment_Type_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootOrder_ItemArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootOrder_Item_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootOrder_Item_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Subscription_RootOrder_Item_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootOrder_PreferenceArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootOrder_Preference_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootOrder_Preference_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Subscription_RootOrder_Preference_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootOrder_StatusArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootOrder_Status_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootOrder_Status_By_PkArgs = { + status: Scalars["String"]["input"]; +}; + +export type Subscription_RootOrder_Status_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootOrder_SupplierArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootOrder_Supplier_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootOrder_Supplier_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Subscription_RootOrder_Supplier_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootOrdersArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootOrders_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootOrders_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Subscription_RootOrders_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootProductsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootProducts_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootProducts_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Subscription_RootProducts_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootRegisteration_Channel_TypeArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootRegisteration_Channel_Type_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootRegisteration_Channel_Type_By_PkArgs = { + channel: Scalars["String"]["input"]; +}; + +export type Subscription_RootRegisteration_Channel_Type_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootReportsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootReports_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootReports_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Subscription_RootReports_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootRide_StatusArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootRide_Status_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootRide_Status_By_PkArgs = { + status: Scalars["String"]["input"]; +}; + +export type Subscription_RootRide_Status_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootRide_TypeArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootRide_Type_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootRide_Type_By_PkArgs = { + type: Scalars["String"]["input"]; +}; + +export type Subscription_RootRide_Type_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootSpatial_Ref_SysArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootSpatial_Ref_Sys_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootSpatial_Ref_Sys_By_PkArgs = { + srid: Scalars["Int"]["input"]; +}; + +export type Subscription_RootSpatial_Ref_Sys_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootSupplier_Categories_EnumArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootSupplier_Categories_Enum_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootSupplier_Categories_Enum_By_PkArgs = { + name: Scalars["String"]["input"]; +}; + +export type Subscription_RootSupplier_Categories_Enum_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootSupplier_Service_ZoneArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootSupplier_Service_Zone_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootSupplier_Service_Zone_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Subscription_RootSupplier_Service_Zone_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootSuppliersArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootSuppliers_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootSuppliers_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Subscription_RootSuppliers_CategoriesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootSuppliers_Categories_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootSuppliers_Categories_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Subscription_RootSuppliers_Categories_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootSuppliers_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootUser_RoleArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootUser_Role_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootUser_Role_By_PkArgs = { + role: Scalars["String"]["input"]; +}; + +export type Subscription_RootUser_Role_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +export type Subscription_RootUsersArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootUsers_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +export type Subscription_RootUsers_By_PkArgs = { + id: Scalars["uuid"]["input"]; +}; + +export type Subscription_RootUsers_StreamArgs = { + batch_size: Scalars["Int"]["input"]; + cursor: Array>; + where?: InputMaybe; +}; + +/** columns and relationships of "supplier_categories_enum" */ +export type Supplier_Categories_Enum = { + __typename?: "supplier_categories_enum"; + description: Scalars["String"]["output"]; + name: Scalars["String"]["output"]; + /** An array relationship */ + suppliers_categories: Array; + /** An aggregate relationship */ + suppliers_categories_aggregate: Suppliers_Categories_Aggregate; +}; + +/** columns and relationships of "supplier_categories_enum" */ +export type Supplier_Categories_EnumSuppliers_CategoriesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** columns and relationships of "supplier_categories_enum" */ +export type Supplier_Categories_EnumSuppliers_Categories_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** aggregated selection of "supplier_categories_enum" */ +export type Supplier_Categories_Enum_Aggregate = { + __typename?: "supplier_categories_enum_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "supplier_categories_enum" */ +export type Supplier_Categories_Enum_Aggregate_Fields = { + __typename?: "supplier_categories_enum_aggregate_fields"; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; +}; + +/** aggregate fields of "supplier_categories_enum" */ +export type Supplier_Categories_Enum_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "supplier_categories_enum". All fields are combined with a logical 'AND'. */ +export type Supplier_Categories_Enum_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + description?: InputMaybe; + name?: InputMaybe; + suppliers_categories?: InputMaybe; + suppliers_categories_aggregate?: InputMaybe; +}; + +/** unique or primary key constraints on table "supplier_categories_enum" */ +export enum Supplier_Categories_Enum_Constraint { + /** unique or primary key constraint on columns "name" */ + SupplierCategoriesEnumPkey = "supplier_categories_enum_pkey", +} + +export enum Supplier_Categories_Enum_Enum { + /** Tools, seeds, and equipment for farmers, supporting agricultural productivity and local food production. */ + AgriculturalSupplies = "agricultural_supplies", + /** Cosmetics, skincare products, grooming essentials, and personal care items, supporting local beauty entrepreneurs and promoting self-care. */ + BeautyAndCare = "beauty_and_care", + /** Apparel, fabrics, and textiles, empowering local tailors and designers, fostering the textile industry */ + ClothingAndTextiles = "clothing_and_textiles", + /** Essential materials like cement, steel, and bricks for construction projects, fostering infrastructure development. */ + ConstructionMaterials = "construction_materials", + /** Books, educational tools, and e-learning resources, promoting education and literacy in the community. */ + EducationalMaterials = "educational_materials", + /** Electronic devices, wiring, and appliances, promoting technological access and local electronic businesses */ + ElectronicsAppliances = "electronics_appliances", + /** Solar panels, wind turbines, and energy-efficient appliances, promoting sustainable energy use and reducing the carbon footprint. */ + EnergySolutions = "energy_solutions", + /** Fresh produce, packaged foods, beverages, and culinary supplies, supporting local agriculture and culinary enterprises. */ + FoodAndBeverages = "food_and_beverages", + /** Medical supplies, safety equipment, and personal protective gear, ensuring the well-being of workers and communities. */ + HealthAndSafety = "health_and_safety", + /** Furniture, home appliances, decor items, and household essentials, improving living standards and supporting local artisans. */ + HomeAndLiving = "home_and_living", + /** Stationery, office materials, and supplies, supporting administrative functions of businesses and organizations. */ + OfficeSupplies = "office_supplies", + /** Vehicles, spare parts, and transportation services, enhancing mobility and logistics for businesses and individuals. */ + TransportationSolutions = "transportation_solutions", + /** Recycling equipment, waste bins, and eco-friendly products, encouraging responsible waste management practices. */ + WasteAndRecycling = "waste_and_recycling", + /** Water filters, sanitation kits, and plumbing supplies, ensuring access to clean water and promoting hygiene. */ + WaterAndSanitation = "water_and_sanitation", +} + +/** Boolean expression to compare columns of type "supplier_categories_enum_enum". All fields are combined with logical 'AND'. */ +export type Supplier_Categories_Enum_Enum_Comparison_Exp = { + _eq?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +/** input type for inserting data into table "supplier_categories_enum" */ +export type Supplier_Categories_Enum_Insert_Input = { + description?: InputMaybe; + name?: InputMaybe; + suppliers_categories?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Supplier_Categories_Enum_Max_Fields = { + __typename?: "supplier_categories_enum_max_fields"; + description?: Maybe; + name?: Maybe; +}; + +/** aggregate min on columns */ +export type Supplier_Categories_Enum_Min_Fields = { + __typename?: "supplier_categories_enum_min_fields"; + description?: Maybe; + name?: Maybe; +}; + +/** response of any mutation on the table "supplier_categories_enum" */ +export type Supplier_Categories_Enum_Mutation_Response = { + __typename?: "supplier_categories_enum_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** input type for inserting object relation for remote table "supplier_categories_enum" */ +export type Supplier_Categories_Enum_Obj_Rel_Insert_Input = { + data: Supplier_Categories_Enum_Insert_Input; + /** upsert condition */ + on_conflict?: InputMaybe; +}; + +/** on_conflict condition type for table "supplier_categories_enum" */ +export type Supplier_Categories_Enum_On_Conflict = { + constraint: Supplier_Categories_Enum_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "supplier_categories_enum". */ +export type Supplier_Categories_Enum_Order_By = { + description?: InputMaybe; + name?: InputMaybe; + suppliers_categories_aggregate?: InputMaybe; +}; + +/** primary key columns input for table: supplier_categories_enum */ +export type Supplier_Categories_Enum_Pk_Columns_Input = { + name: Scalars["String"]["input"]; +}; + +/** select columns of table "supplier_categories_enum" */ +export enum Supplier_Categories_Enum_Select_Column { + /** column name */ + Description = "description", + /** column name */ + Name = "name", +} + +/** input type for updating data in table "supplier_categories_enum" */ +export type Supplier_Categories_Enum_Set_Input = { + description?: InputMaybe; + name?: InputMaybe; +}; + +/** Streaming cursor of the table "supplier_categories_enum" */ +export type Supplier_Categories_Enum_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Supplier_Categories_Enum_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Supplier_Categories_Enum_Stream_Cursor_Value_Input = { + description?: InputMaybe; + name?: InputMaybe; +}; + +/** update columns of table "supplier_categories_enum" */ +export enum Supplier_Categories_Enum_Update_Column { + /** column name */ + Description = "description", + /** column name */ + Name = "name", +} + +export type Supplier_Categories_Enum_Updates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Supplier_Categories_Enum_Bool_Exp; +}; + +/** columns and relationships of "supplier_service_zone" */ +export type Supplier_Service_Zone = { + __typename?: "supplier_service_zone"; + coverage_area_radius: Scalars["Int"]["output"]; + created_at: Scalars["timestamptz"]["output"]; + id: Scalars["uuid"]["output"]; + location_id: Scalars["uuid"]["output"]; + supplier_id: Scalars["uuid"]["output"]; +}; + +/** aggregated selection of "supplier_service_zone" */ +export type Supplier_Service_Zone_Aggregate = { + __typename?: "supplier_service_zone_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +export type Supplier_Service_Zone_Aggregate_Bool_Exp = { + count?: InputMaybe; +}; + +export type Supplier_Service_Zone_Aggregate_Bool_Exp_Count = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Int_Comparison_Exp; +}; + +/** aggregate fields of "supplier_service_zone" */ +export type Supplier_Service_Zone_Aggregate_Fields = { + __typename?: "supplier_service_zone_aggregate_fields"; + avg?: Maybe; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; + stddev?: Maybe; + stddev_pop?: Maybe; + stddev_samp?: Maybe; + sum?: Maybe; + var_pop?: Maybe; + var_samp?: Maybe; + variance?: Maybe; +}; + +/** aggregate fields of "supplier_service_zone" */ +export type Supplier_Service_Zone_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** order by aggregate values of table "supplier_service_zone" */ +export type Supplier_Service_Zone_Aggregate_Order_By = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; + +/** input type for inserting array relation for remote table "supplier_service_zone" */ +export type Supplier_Service_Zone_Arr_Rel_Insert_Input = { + data: Array; + /** upsert condition */ + on_conflict?: InputMaybe; +}; + +/** aggregate avg on columns */ +export type Supplier_Service_Zone_Avg_Fields = { + __typename?: "supplier_service_zone_avg_fields"; + coverage_area_radius?: Maybe; +}; + +/** order by avg() on columns of table "supplier_service_zone" */ +export type Supplier_Service_Zone_Avg_Order_By = { + coverage_area_radius?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "supplier_service_zone". All fields are combined with a logical 'AND'. */ +export type Supplier_Service_Zone_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + coverage_area_radius?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + location_id?: InputMaybe; + supplier_id?: InputMaybe; +}; + +/** unique or primary key constraints on table "supplier_service_zone" */ +export enum Supplier_Service_Zone_Constraint { + /** unique or primary key constraint on columns "id" */ + SupplierServiceZonePkey = "supplier_service_zone_pkey", +} + +/** input type for incrementing numeric columns in table "supplier_service_zone" */ +export type Supplier_Service_Zone_Inc_Input = { + coverage_area_radius?: InputMaybe; +}; + +/** input type for inserting data into table "supplier_service_zone" */ +export type Supplier_Service_Zone_Insert_Input = { + coverage_area_radius?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + location_id?: InputMaybe; + supplier_id?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Supplier_Service_Zone_Max_Fields = { + __typename?: "supplier_service_zone_max_fields"; + coverage_area_radius?: Maybe; + created_at?: Maybe; + id?: Maybe; + location_id?: Maybe; + supplier_id?: Maybe; +}; + +/** order by max() on columns of table "supplier_service_zone" */ +export type Supplier_Service_Zone_Max_Order_By = { + coverage_area_radius?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + location_id?: InputMaybe; + supplier_id?: InputMaybe; +}; + +/** aggregate min on columns */ +export type Supplier_Service_Zone_Min_Fields = { + __typename?: "supplier_service_zone_min_fields"; + coverage_area_radius?: Maybe; + created_at?: Maybe; + id?: Maybe; + location_id?: Maybe; + supplier_id?: Maybe; +}; + +/** order by min() on columns of table "supplier_service_zone" */ +export type Supplier_Service_Zone_Min_Order_By = { + coverage_area_radius?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + location_id?: InputMaybe; + supplier_id?: InputMaybe; +}; + +/** response of any mutation on the table "supplier_service_zone" */ +export type Supplier_Service_Zone_Mutation_Response = { + __typename?: "supplier_service_zone_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** on_conflict condition type for table "supplier_service_zone" */ +export type Supplier_Service_Zone_On_Conflict = { + constraint: Supplier_Service_Zone_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "supplier_service_zone". */ +export type Supplier_Service_Zone_Order_By = { + coverage_area_radius?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + location_id?: InputMaybe; + supplier_id?: InputMaybe; +}; + +/** primary key columns input for table: supplier_service_zone */ +export type Supplier_Service_Zone_Pk_Columns_Input = { + id: Scalars["uuid"]["input"]; +}; + +/** select columns of table "supplier_service_zone" */ +export enum Supplier_Service_Zone_Select_Column { + /** column name */ + CoverageAreaRadius = "coverage_area_radius", + /** column name */ + CreatedAt = "created_at", + /** column name */ + Id = "id", + /** column name */ + LocationId = "location_id", + /** column name */ + SupplierId = "supplier_id", +} + +/** input type for updating data in table "supplier_service_zone" */ +export type Supplier_Service_Zone_Set_Input = { + coverage_area_radius?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + location_id?: InputMaybe; + supplier_id?: InputMaybe; +}; + +/** aggregate stddev on columns */ +export type Supplier_Service_Zone_Stddev_Fields = { + __typename?: "supplier_service_zone_stddev_fields"; + coverage_area_radius?: Maybe; +}; + +/** order by stddev() on columns of table "supplier_service_zone" */ +export type Supplier_Service_Zone_Stddev_Order_By = { + coverage_area_radius?: InputMaybe; +}; + +/** aggregate stddev_pop on columns */ +export type Supplier_Service_Zone_Stddev_Pop_Fields = { + __typename?: "supplier_service_zone_stddev_pop_fields"; + coverage_area_radius?: Maybe; +}; + +/** order by stddev_pop() on columns of table "supplier_service_zone" */ +export type Supplier_Service_Zone_Stddev_Pop_Order_By = { + coverage_area_radius?: InputMaybe; +}; + +/** aggregate stddev_samp on columns */ +export type Supplier_Service_Zone_Stddev_Samp_Fields = { + __typename?: "supplier_service_zone_stddev_samp_fields"; + coverage_area_radius?: Maybe; +}; + +/** order by stddev_samp() on columns of table "supplier_service_zone" */ +export type Supplier_Service_Zone_Stddev_Samp_Order_By = { + coverage_area_radius?: InputMaybe; +}; + +/** Streaming cursor of the table "supplier_service_zone" */ +export type Supplier_Service_Zone_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Supplier_Service_Zone_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Supplier_Service_Zone_Stream_Cursor_Value_Input = { + coverage_area_radius?: InputMaybe; + created_at?: InputMaybe; + id?: InputMaybe; + location_id?: InputMaybe; + supplier_id?: InputMaybe; +}; + +/** aggregate sum on columns */ +export type Supplier_Service_Zone_Sum_Fields = { + __typename?: "supplier_service_zone_sum_fields"; + coverage_area_radius?: Maybe; +}; + +/** order by sum() on columns of table "supplier_service_zone" */ +export type Supplier_Service_Zone_Sum_Order_By = { + coverage_area_radius?: InputMaybe; +}; + +/** update columns of table "supplier_service_zone" */ +export enum Supplier_Service_Zone_Update_Column { + /** column name */ + CoverageAreaRadius = "coverage_area_radius", + /** column name */ + CreatedAt = "created_at", + /** column name */ + Id = "id", + /** column name */ + LocationId = "location_id", + /** column name */ + SupplierId = "supplier_id", +} + +export type Supplier_Service_Zone_Updates = { + /** increments the numeric columns with given value of the filtered values */ + _inc?: InputMaybe; + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Supplier_Service_Zone_Bool_Exp; +}; + +/** aggregate var_pop on columns */ +export type Supplier_Service_Zone_Var_Pop_Fields = { + __typename?: "supplier_service_zone_var_pop_fields"; + coverage_area_radius?: Maybe; +}; + +/** order by var_pop() on columns of table "supplier_service_zone" */ +export type Supplier_Service_Zone_Var_Pop_Order_By = { + coverage_area_radius?: InputMaybe; +}; + +/** aggregate var_samp on columns */ +export type Supplier_Service_Zone_Var_Samp_Fields = { + __typename?: "supplier_service_zone_var_samp_fields"; + coverage_area_radius?: Maybe; +}; + +/** order by var_samp() on columns of table "supplier_service_zone" */ +export type Supplier_Service_Zone_Var_Samp_Order_By = { + coverage_area_radius?: InputMaybe; +}; + +/** aggregate variance on columns */ +export type Supplier_Service_Zone_Variance_Fields = { + __typename?: "supplier_service_zone_variance_fields"; + coverage_area_radius?: Maybe; +}; + +/** order by variance() on columns of table "supplier_service_zone" */ +export type Supplier_Service_Zone_Variance_Order_By = { + coverage_area_radius?: InputMaybe; +}; + +/** columns and relationships of "suppliers" */ +export type Suppliers = { + __typename?: "suppliers"; + /** An array relationship */ + categories: Array; + /** An aggregate relationship */ + categories_aggregate: Suppliers_Categories_Aggregate; + contactEmail?: Maybe; + contactName?: Maybe; + created_at: Scalars["timestamptz"]["output"]; + description?: Maybe; + id: Scalars["uuid"]["output"]; + name?: Maybe; + /** An array relationship */ + order_suppliers: Array; + /** An aggregate relationship */ + order_suppliers_aggregate: Order_Supplier_Aggregate; + phoneNumber?: Maybe; + /** An array relationship */ + products: Array; + /** An aggregate relationship */ + products_aggregate: Products_Aggregate; + /** An array relationship */ + service_zones: Array; + /** An aggregate relationship */ + service_zones_aggregate: Supplier_Service_Zone_Aggregate; + streetAddress?: Maybe; + user_id?: Maybe; + zone?: Maybe; +}; + +/** columns and relationships of "suppliers" */ +export type SuppliersCategoriesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** columns and relationships of "suppliers" */ +export type SuppliersCategories_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** columns and relationships of "suppliers" */ +export type SuppliersOrder_SuppliersArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** columns and relationships of "suppliers" */ +export type SuppliersOrder_Suppliers_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** columns and relationships of "suppliers" */ +export type SuppliersProductsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** columns and relationships of "suppliers" */ +export type SuppliersProducts_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** columns and relationships of "suppliers" */ +export type SuppliersService_ZonesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** columns and relationships of "suppliers" */ +export type SuppliersService_Zones_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** aggregated selection of "suppliers" */ +export type Suppliers_Aggregate = { + __typename?: "suppliers_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "suppliers" */ +export type Suppliers_Aggregate_Fields = { + __typename?: "suppliers_aggregate_fields"; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; +}; + +/** aggregate fields of "suppliers" */ +export type Suppliers_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "suppliers". All fields are combined with a logical 'AND'. */ +export type Suppliers_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + categories?: InputMaybe; + categories_aggregate?: InputMaybe; + contactEmail?: InputMaybe; + contactName?: InputMaybe; + created_at?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + order_suppliers?: InputMaybe; + order_suppliers_aggregate?: InputMaybe; + phoneNumber?: InputMaybe; + products?: InputMaybe; + products_aggregate?: InputMaybe; + service_zones?: InputMaybe; + service_zones_aggregate?: InputMaybe; + streetAddress?: InputMaybe; + user_id?: InputMaybe; + zone?: InputMaybe; +}; + +/** columns and relationships of "suppliers_categories" */ +export type Suppliers_Categories = { + __typename?: "suppliers_categories"; + category_name: Supplier_Categories_Enum_Enum; + id: Scalars["uuid"]["output"]; + /** An object relationship */ + supplier: Suppliers; + /** An object relationship */ + supplier_categories_enum: Supplier_Categories_Enum; + supplier_id: Scalars["uuid"]["output"]; +}; + +/** aggregated selection of "suppliers_categories" */ +export type Suppliers_Categories_Aggregate = { + __typename?: "suppliers_categories_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +export type Suppliers_Categories_Aggregate_Bool_Exp = { + count?: InputMaybe; +}; + +export type Suppliers_Categories_Aggregate_Bool_Exp_Count = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Int_Comparison_Exp; +}; + +/** aggregate fields of "suppliers_categories" */ +export type Suppliers_Categories_Aggregate_Fields = { + __typename?: "suppliers_categories_aggregate_fields"; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; +}; + +/** aggregate fields of "suppliers_categories" */ +export type Suppliers_Categories_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** order by aggregate values of table "suppliers_categories" */ +export type Suppliers_Categories_Aggregate_Order_By = { + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; +}; + +/** input type for inserting array relation for remote table "suppliers_categories" */ +export type Suppliers_Categories_Arr_Rel_Insert_Input = { + data: Array; + /** upsert condition */ + on_conflict?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "suppliers_categories". All fields are combined with a logical 'AND'. */ +export type Suppliers_Categories_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + category_name?: InputMaybe; + id?: InputMaybe; + supplier?: InputMaybe; + supplier_categories_enum?: InputMaybe; + supplier_id?: InputMaybe; +}; + +/** unique or primary key constraints on table "suppliers_categories" */ +export enum Suppliers_Categories_Constraint { + /** unique or primary key constraint on columns "id" */ + SuppliersCategoriesPkey = "suppliers_categories_pkey", +} + +/** input type for inserting data into table "suppliers_categories" */ +export type Suppliers_Categories_Insert_Input = { + category_name?: InputMaybe; + id?: InputMaybe; + supplier?: InputMaybe; + supplier_categories_enum?: InputMaybe; + supplier_id?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Suppliers_Categories_Max_Fields = { + __typename?: "suppliers_categories_max_fields"; + id?: Maybe; + supplier_id?: Maybe; +}; + +/** order by max() on columns of table "suppliers_categories" */ +export type Suppliers_Categories_Max_Order_By = { + id?: InputMaybe; + supplier_id?: InputMaybe; +}; + +/** aggregate min on columns */ +export type Suppliers_Categories_Min_Fields = { + __typename?: "suppliers_categories_min_fields"; + id?: Maybe; + supplier_id?: Maybe; +}; + +/** order by min() on columns of table "suppliers_categories" */ +export type Suppliers_Categories_Min_Order_By = { + id?: InputMaybe; + supplier_id?: InputMaybe; +}; + +/** response of any mutation on the table "suppliers_categories" */ +export type Suppliers_Categories_Mutation_Response = { + __typename?: "suppliers_categories_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** on_conflict condition type for table "suppliers_categories" */ +export type Suppliers_Categories_On_Conflict = { + constraint: Suppliers_Categories_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "suppliers_categories". */ +export type Suppliers_Categories_Order_By = { + category_name?: InputMaybe; + id?: InputMaybe; + supplier?: InputMaybe; + supplier_categories_enum?: InputMaybe; + supplier_id?: InputMaybe; +}; + +/** primary key columns input for table: suppliers_categories */ +export type Suppliers_Categories_Pk_Columns_Input = { + id: Scalars["uuid"]["input"]; +}; + +/** select columns of table "suppliers_categories" */ +export enum Suppliers_Categories_Select_Column { + /** column name */ + CategoryName = "category_name", + /** column name */ + Id = "id", + /** column name */ + SupplierId = "supplier_id", +} + +/** input type for updating data in table "suppliers_categories" */ +export type Suppliers_Categories_Set_Input = { + category_name?: InputMaybe; + id?: InputMaybe; + supplier_id?: InputMaybe; +}; + +/** Streaming cursor of the table "suppliers_categories" */ +export type Suppliers_Categories_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Suppliers_Categories_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Suppliers_Categories_Stream_Cursor_Value_Input = { + category_name?: InputMaybe; + id?: InputMaybe; + supplier_id?: InputMaybe; +}; + +/** update columns of table "suppliers_categories" */ +export enum Suppliers_Categories_Update_Column { + /** column name */ + CategoryName = "category_name", + /** column name */ + Id = "id", + /** column name */ + SupplierId = "supplier_id", +} + +export type Suppliers_Categories_Updates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Suppliers_Categories_Bool_Exp; +}; + +/** unique or primary key constraints on table "suppliers" */ +export enum Suppliers_Constraint { + /** unique or primary key constraint on columns "id" */ + SuppliersPkey = "suppliers_pkey", +} + +/** input type for inserting data into table "suppliers" */ +export type Suppliers_Insert_Input = { + categories?: InputMaybe; + contactEmail?: InputMaybe; + contactName?: InputMaybe; + created_at?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + order_suppliers?: InputMaybe; + phoneNumber?: InputMaybe; + products?: InputMaybe; + service_zones?: InputMaybe; + streetAddress?: InputMaybe; + user_id?: InputMaybe; + zone?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Suppliers_Max_Fields = { + __typename?: "suppliers_max_fields"; + contactEmail?: Maybe; + contactName?: Maybe; + created_at?: Maybe; + description?: Maybe; + id?: Maybe; + name?: Maybe; + phoneNumber?: Maybe; + streetAddress?: Maybe; + user_id?: Maybe; + zone?: Maybe; +}; + +/** aggregate min on columns */ +export type Suppliers_Min_Fields = { + __typename?: "suppliers_min_fields"; + contactEmail?: Maybe; + contactName?: Maybe; + created_at?: Maybe; + description?: Maybe; + id?: Maybe; + name?: Maybe; + phoneNumber?: Maybe; + streetAddress?: Maybe; + user_id?: Maybe; + zone?: Maybe; +}; + +/** response of any mutation on the table "suppliers" */ +export type Suppliers_Mutation_Response = { + __typename?: "suppliers_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** input type for inserting object relation for remote table "suppliers" */ +export type Suppliers_Obj_Rel_Insert_Input = { + data: Suppliers_Insert_Input; + /** upsert condition */ + on_conflict?: InputMaybe; +}; + +/** on_conflict condition type for table "suppliers" */ +export type Suppliers_On_Conflict = { + constraint: Suppliers_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "suppliers". */ +export type Suppliers_Order_By = { + categories_aggregate?: InputMaybe; + contactEmail?: InputMaybe; + contactName?: InputMaybe; + created_at?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + order_suppliers_aggregate?: InputMaybe; + phoneNumber?: InputMaybe; + products_aggregate?: InputMaybe; + service_zones_aggregate?: InputMaybe; + streetAddress?: InputMaybe; + user_id?: InputMaybe; + zone?: InputMaybe; +}; + +/** primary key columns input for table: suppliers */ +export type Suppliers_Pk_Columns_Input = { + id: Scalars["uuid"]["input"]; +}; + +/** select columns of table "suppliers" */ +export enum Suppliers_Select_Column { + /** column name */ + ContactEmail = "contactEmail", + /** column name */ + ContactName = "contactName", + /** column name */ + CreatedAt = "created_at", + /** column name */ + Description = "description", + /** column name */ + Id = "id", + /** column name */ + Name = "name", + /** column name */ + PhoneNumber = "phoneNumber", + /** column name */ + StreetAddress = "streetAddress", + /** column name */ + UserId = "user_id", + /** column name */ + Zone = "zone", +} + +/** input type for updating data in table "suppliers" */ +export type Suppliers_Set_Input = { + contactEmail?: InputMaybe; + contactName?: InputMaybe; + created_at?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + phoneNumber?: InputMaybe; + streetAddress?: InputMaybe; + user_id?: InputMaybe; + zone?: InputMaybe; +}; + +/** Streaming cursor of the table "suppliers" */ +export type Suppliers_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Suppliers_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Suppliers_Stream_Cursor_Value_Input = { + contactEmail?: InputMaybe; + contactName?: InputMaybe; + created_at?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + phoneNumber?: InputMaybe; + streetAddress?: InputMaybe; + user_id?: InputMaybe; + zone?: InputMaybe; +}; + +/** update columns of table "suppliers" */ +export enum Suppliers_Update_Column { + /** column name */ + ContactEmail = "contactEmail", + /** column name */ + ContactName = "contactName", + /** column name */ + CreatedAt = "created_at", + /** column name */ + Description = "description", + /** column name */ + Id = "id", + /** column name */ + Name = "name", + /** column name */ + PhoneNumber = "phoneNumber", + /** column name */ + StreetAddress = "streetAddress", + /** column name */ + UserId = "user_id", + /** column name */ + Zone = "zone", +} + +export type Suppliers_Updates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Suppliers_Bool_Exp; +}; + +/** Boolean expression to compare columns of type "timestamptz". All fields are combined with logical 'AND'. */ +export type Timestamptz_Comparison_Exp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +/** columns and relationships of "user_role" */ +export type User_Role = { + __typename?: "user_role"; + role: Scalars["String"]["output"]; + /** An array relationship */ + users: Array; + /** An aggregate relationship */ + users_aggregate: Users_Aggregate; +}; + +/** columns and relationships of "user_role" */ +export type User_RoleUsersArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** columns and relationships of "user_role" */ +export type User_RoleUsers_AggregateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** aggregated selection of "user_role" */ +export type User_Role_Aggregate = { + __typename?: "user_role_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +/** aggregate fields of "user_role" */ +export type User_Role_Aggregate_Fields = { + __typename?: "user_role_aggregate_fields"; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; +}; + +/** aggregate fields of "user_role" */ +export type User_Role_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "user_role". All fields are combined with a logical 'AND'. */ +export type User_Role_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + role?: InputMaybe; + users?: InputMaybe; + users_aggregate?: InputMaybe; +}; + +/** unique or primary key constraints on table "user_role" */ +export enum User_Role_Constraint { + /** unique or primary key constraint on columns "role" */ + UserRolePkey = "user_role_pkey", +} + +export enum User_Role_Enum { + Admin = "admin", + Agent = "agent", + Customer = "customer", + Supplier = "supplier", +} + +/** Boolean expression to compare columns of type "user_role_enum". All fields are combined with logical 'AND'. */ +export type User_Role_Enum_Comparison_Exp = { + _eq?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +/** input type for inserting data into table "user_role" */ +export type User_Role_Insert_Input = { + role?: InputMaybe; + users?: InputMaybe; +}; + +/** aggregate max on columns */ +export type User_Role_Max_Fields = { + __typename?: "user_role_max_fields"; + role?: Maybe; +}; + +/** aggregate min on columns */ +export type User_Role_Min_Fields = { + __typename?: "user_role_min_fields"; + role?: Maybe; +}; + +/** response of any mutation on the table "user_role" */ +export type User_Role_Mutation_Response = { + __typename?: "user_role_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** input type for inserting object relation for remote table "user_role" */ +export type User_Role_Obj_Rel_Insert_Input = { + data: User_Role_Insert_Input; + /** upsert condition */ + on_conflict?: InputMaybe; +}; + +/** on_conflict condition type for table "user_role" */ +export type User_Role_On_Conflict = { + constraint: User_Role_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "user_role". */ +export type User_Role_Order_By = { + role?: InputMaybe; + users_aggregate?: InputMaybe; +}; + +/** primary key columns input for table: user_role */ +export type User_Role_Pk_Columns_Input = { + role: Scalars["String"]["input"]; +}; + +/** select columns of table "user_role" */ +export enum User_Role_Select_Column { + /** column name */ + Role = "role", +} + +/** input type for updating data in table "user_role" */ +export type User_Role_Set_Input = { + role?: InputMaybe; +}; + +/** Streaming cursor of the table "user_role" */ +export type User_Role_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: User_Role_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type User_Role_Stream_Cursor_Value_Input = { + role?: InputMaybe; +}; + +/** update columns of table "user_role" */ +export enum User_Role_Update_Column { + /** column name */ + Role = "role", +} + +export type User_Role_Updates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: User_Role_Bool_Exp; +}; + +/** columns and relationships of "users" */ +export type Users = { + __typename?: "users"; + created_at: Scalars["timestamptz"]["output"]; + id: Scalars["uuid"]["output"]; + name?: Maybe; + role?: Maybe; + /** An object relationship */ + user_role?: Maybe; +}; + +/** aggregated selection of "users" */ +export type Users_Aggregate = { + __typename?: "users_aggregate"; + aggregate?: Maybe; + nodes: Array; +}; + +export type Users_Aggregate_Bool_Exp = { + count?: InputMaybe; +}; + +export type Users_Aggregate_Bool_Exp_Count = { + arguments?: InputMaybe>; + distinct?: InputMaybe; + filter?: InputMaybe; + predicate: Int_Comparison_Exp; +}; + +/** aggregate fields of "users" */ +export type Users_Aggregate_Fields = { + __typename?: "users_aggregate_fields"; + count: Scalars["Int"]["output"]; + max?: Maybe; + min?: Maybe; +}; + +/** aggregate fields of "users" */ +export type Users_Aggregate_FieldsCountArgs = { + columns?: InputMaybe>; + distinct?: InputMaybe; +}; + +/** order by aggregate values of table "users" */ +export type Users_Aggregate_Order_By = { + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; +}; + +/** input type for inserting array relation for remote table "users" */ +export type Users_Arr_Rel_Insert_Input = { + data: Array; + /** upsert condition */ + on_conflict?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "users". All fields are combined with a logical 'AND'. */ +export type Users_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + created_at?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + role?: InputMaybe; + user_role?: InputMaybe; +}; + +/** unique or primary key constraints on table "users" */ +export enum Users_Constraint { + /** unique or primary key constraint on columns "id" */ + UsersPkey = "users_pkey", +} + +/** input type for inserting data into table "users" */ +export type Users_Insert_Input = { + created_at?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + role?: InputMaybe; + user_role?: InputMaybe; +}; + +/** aggregate max on columns */ +export type Users_Max_Fields = { + __typename?: "users_max_fields"; + created_at?: Maybe; + id?: Maybe; + name?: Maybe; +}; + +/** order by max() on columns of table "users" */ +export type Users_Max_Order_By = { + created_at?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; +}; + +/** aggregate min on columns */ +export type Users_Min_Fields = { + __typename?: "users_min_fields"; + created_at?: Maybe; + id?: Maybe; + name?: Maybe; +}; + +/** order by min() on columns of table "users" */ +export type Users_Min_Order_By = { + created_at?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; +}; + +/** response of any mutation on the table "users" */ +export type Users_Mutation_Response = { + __typename?: "users_mutation_response"; + /** number of rows affected by the mutation */ + affected_rows: Scalars["Int"]["output"]; + /** data from the rows affected by the mutation */ + returning: Array; +}; + +/** input type for inserting object relation for remote table "users" */ +export type Users_Obj_Rel_Insert_Input = { + data: Users_Insert_Input; + /** upsert condition */ + on_conflict?: InputMaybe; +}; + +/** on_conflict condition type for table "users" */ +export type Users_On_Conflict = { + constraint: Users_Constraint; + update_columns?: Array; + where?: InputMaybe; +}; + +/** Ordering options when selecting data from "users". */ +export type Users_Order_By = { + created_at?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + role?: InputMaybe; + user_role?: InputMaybe; +}; + +/** primary key columns input for table: users */ +export type Users_Pk_Columns_Input = { + id: Scalars["uuid"]["input"]; +}; + +/** select columns of table "users" */ +export enum Users_Select_Column { + /** column name */ + CreatedAt = "created_at", + /** column name */ + Id = "id", + /** column name */ + Name = "name", + /** column name */ + Role = "role", +} + +/** input type for updating data in table "users" */ +export type Users_Set_Input = { + created_at?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + role?: InputMaybe; +}; + +/** Streaming cursor of the table "users" */ +export type Users_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Users_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Users_Stream_Cursor_Value_Input = { + created_at?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + role?: InputMaybe; +}; + +/** update columns of table "users" */ +export enum Users_Update_Column { + /** column name */ + CreatedAt = "created_at", + /** column name */ + Id = "id", + /** column name */ + Name = "name", + /** column name */ + Role = "role", +} + +export type Users_Updates = { + /** sets the columns of the filtered rows to the given values */ + _set?: InputMaybe; + /** filter the rows which have to be updated */ + where: Users_Bool_Exp; +}; + +/** Boolean expression to compare columns of type "uuid". All fields are combined with logical 'AND'. */ +export type Uuid_Comparison_Exp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +export type RegisterClientMutationVariables = Exact<{ + object: Business_Insert_Input; +}>; + +export type RegisterClientMutation = { + __typename?: "mutation_root"; + insert_business_one?: { + __typename?: "business"; + id: any; + name?: string | null; + } | null; +}; + +export type InsertBusinessAddressMutationVariables = Exact<{ + object: Addresses_Insert_Input; +}>; + +export type InsertBusinessAddressMutation = { + __typename?: "mutation_root"; + insert_addresses_one?: { + __typename?: "addresses"; + business_id?: any | null; + city?: string | null; + } | null; +}; + +export type InsertNewCourierMutationVariables = Exact<{ + object?: InputMaybe; +}>; + +export type InsertNewCourierMutation = { + __typename?: "mutation_root"; + insert_couriers_one?: { + __typename?: "couriers"; + id: any; + name: string; + } | null; +}; + +export type InsertBusinessOrderMutationVariables = Exact<{ + object: Orders_Insert_Input; +}>; + +export type InsertBusinessOrderMutation = { + __typename?: "mutation_root"; + insert_orders_one?: { __typename?: "orders"; id: any } | null; +}; + +export type RegisterSupplierMutationVariables = Exact<{ + object: Suppliers_Insert_Input; +}>; + +export type RegisterSupplierMutation = { + __typename?: "mutation_root"; + insert_suppliers_one?: { + __typename?: "suppliers"; + id: any; + name?: string | null; + } | null; +}; + +export type UpdateProductByPkMutationVariables = Exact<{ + id?: InputMaybe; + inStock?: InputMaybe; + name?: InputMaybe; + price?: InputMaybe; + quantity?: InputMaybe; + description?: InputMaybe; +}>; + +export type UpdateProductByPkMutation = { + __typename?: "mutation_root"; + update_products_by_pk?: { + __typename?: "products"; + id: any; + inStock: boolean; + name?: string | null; + price?: number | null; + quantity: number; + description?: string | null; + } | null; +}; + +export type DeleteProductByPkMutationVariables = Exact<{ + id?: InputMaybe; +}>; + +export type DeleteProductByPkMutation = { + __typename?: "mutation_root"; + delete_products_by_pk?: { __typename?: "products"; id: any } | null; +}; + +export type AddNewProductMutationVariables = Exact<{ + product?: InputMaybe; +}>; + +export type AddNewProductMutation = { + __typename?: "mutation_root"; + insert_products_one?: { + __typename?: "products"; + created_at: any; + description?: string | null; + discount?: number | null; + id: any; + inStock: boolean; + name?: string | null; + price?: number | null; + quantity: number; + supplier_id?: any | null; + } | null; +}; + +export type RegisterUserMutationVariables = Exact<{ + object: Users_Insert_Input; +}>; + +export type RegisterUserMutation = { + __typename?: "mutation_root"; + insert_users_one?: { + __typename?: "users"; + id: any; + name?: string | null; + } | null; +}; + +export type GetClientsQueryVariables = Exact<{ [key: string]: never }>; + +export type GetClientsQuery = { + __typename?: "query_root"; + business: Array<{ + __typename?: "business"; + created_at: any; + id: any; + updated_at: any; + name?: string | null; + contactName?: string | null; + type?: Business_Type_Enum | null; + phoneNumber?: string | null; + description?: string | null; + contactEmail?: string | null; + addresses: Array<{ + __typename?: "addresses"; + city?: string | null; + created_at: any; + id: any; + latitude?: any | null; + longitude?: any | null; + updated_at: any; + street_address?: string | null; + }>; + }>; + business_aggregate: { + __typename?: "business_aggregate"; + aggregate?: { + __typename?: "business_aggregate_fields"; + count: number; + } | null; + }; +}; + +export type GetBusinessOrdersQueryVariables = Exact<{ + customerId?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; +}>; + +export type GetBusinessOrdersQuery = { + __typename?: "query_root"; + orders: Array<{ + __typename?: "orders"; + id: any; + created_at: any; + destination?: string | null; + orderId?: string | null; + customerId?: any | null; + origin?: string | null; + status?: Order_Status_Enum | null; + business?: { + __typename?: "business"; + contactName?: string | null; + phoneNumber?: string | null; + name?: string | null; + } | null; + }>; + orders_aggregate: { + __typename?: "orders_aggregate"; + aggregate?: { + __typename?: "orders_aggregate_fields"; + count: number; + } | null; + }; +}; + +export type GetBusinessByPkQueryVariables = Exact<{ + id: Scalars["uuid"]["input"]; +}>; + +export type GetBusinessByPkQuery = { + __typename?: "query_root"; + business_by_pk?: { + __typename?: "business"; + id: any; + name?: string | null; + contactName?: string | null; + phoneNumber?: string | null; + description?: string | null; + contactEmail?: string | null; + type?: Business_Type_Enum | null; + agent?: { __typename?: "users"; name?: string | null; id: any } | null; + addresses: Array<{ + __typename?: "addresses"; + city?: string | null; + street_address?: string | null; + }>; + } | null; +}; + +export type GetCouriersQueryVariables = Exact<{ [key: string]: never }>; + +export type GetCouriersQuery = { + __typename?: "query_root"; + couriers: Array<{ + __typename?: "couriers"; + id: any; + avatar?: string | null; + name: string; + DOB?: any | null; + phoneNumber?: string | null; + gender?: string | null; + email?: string | null; + }>; + couriers_aggregate: { + __typename?: "couriers_aggregate"; + aggregate?: { + __typename?: "couriers_aggregate_fields"; + count: number; + } | null; + }; +}; + +export type GetCouriersByPkQueryVariables = Exact<{ + id: Scalars["uuid"]["input"]; +}>; + +export type GetCouriersByPkQuery = { + __typename?: "query_root"; + couriers_by_pk?: { + __typename?: "couriers"; + id: any; + name: string; + avatar?: string | null; + } | null; +}; + +export type FetchSahilZonesQueryVariables = Exact<{ [key: string]: never }>; + +export type FetchSahilZonesQuery = { + __typename?: "query_root"; + locations: Array<{ __typename?: "locations"; id: any }>; +}; + +export type GetOrdersQueryVariables = Exact<{ [key: string]: never }>; + +export type GetOrdersQuery = { + __typename?: "query_root"; + orders: Array<{ + __typename?: "orders"; + id: any; + created_at: any; + destination?: string | null; + orderId?: string | null; + customerId?: any | null; + origin?: string | null; + status?: Order_Status_Enum | null; + business?: { + __typename?: "business"; + contactName?: string | null; + phoneNumber?: string | null; + name?: string | null; + } | null; + }>; + orders_aggregate: { + __typename?: "orders_aggregate"; + aggregate?: { + __typename?: "orders_aggregate_fields"; + count: number; + } | null; + }; +}; + +export type GetorderByPkQueryVariables = Exact<{ + id: Scalars["uuid"]["input"]; +}>; + +export type GetorderByPkQuery = { + __typename?: "query_root"; + orders_by_pk?: { + __typename?: "orders"; + id: any; + created_at: any; + destination?: string | null; + orderId?: string | null; + customerId?: any | null; + origin?: string | null; + status?: Order_Status_Enum | null; + order_items: Array<{ + __typename?: "order_item"; + id: any; + product?: { + __typename?: "products"; + id: any; + name?: string | null; + quantity: number; + price?: number | null; + } | null; + }>; + agent?: { __typename?: "agent"; name: string } | null; + order_items_aggregate: { + __typename?: "order_item_aggregate"; + aggregate?: { + __typename?: "order_item_aggregate_fields"; + count: number; + } | null; + }; + } | null; +}; + +export type GetOrderDeliveriesQueryVariables = Exact<{ + orderId: Scalars["uuid"]["input"]; +}>; + +export type GetOrderDeliveriesQuery = { + __typename?: "query_root"; + delivery: Array<{ + __typename?: "delivery"; + orderId: any; + status?: Delivery_Status_Enum | null; + id: any; + created_at: any; + courierId: any; + }>; +}; + +export type GetOrdersStatsQueryVariables = Exact<{ + startDate?: InputMaybe; + endDate?: InputMaybe; +}>; + +export type GetOrdersStatsQuery = { + __typename?: "query_root"; + orders_aggregate: { + __typename?: "orders_aggregate"; + aggregate?: { + __typename?: "orders_aggregate_fields"; + count: number; + } | null; + }; +}; + +export type GetProductsQueryVariables = Exact<{ + offset?: InputMaybe; + limit?: InputMaybe; +}>; + +export type GetProductsQuery = { + __typename?: "query_root"; + products: Array<{ + __typename?: "products"; + discount?: number | null; + id: any; + name?: string | null; + price?: number | null; + }>; + products_aggregate: { + __typename?: "products_aggregate"; + aggregate?: { + __typename?: "products_aggregate_fields"; + count: number; + } | null; + }; +}; + +export type GetProductsByNameQueryVariables = Exact<{ + offset?: InputMaybe; + limit?: InputMaybe; + name?: InputMaybe; +}>; + +export type GetProductsByNameQuery = { + __typename?: "query_root"; + products: Array<{ + __typename?: "products"; + discount?: number | null; + id: any; + name?: string | null; + price?: number | null; + }>; + products_aggregate: { + __typename?: "products_aggregate"; + aggregate?: { + __typename?: "products_aggregate_fields"; + count: number; + } | null; + }; +}; + +export type GetSuppliersQueryVariables = Exact<{ + offset?: InputMaybe; + limit?: InputMaybe; +}>; + +export type GetSuppliersQuery = { + __typename?: "query_root"; + suppliers: Array<{ + __typename?: "suppliers"; + id: any; + name?: string | null; + streetAddress?: string | null; + phoneNumber?: string | null; + contactName?: string | null; + zone?: string | null; + categories: Array<{ + __typename?: "suppliers_categories"; + category_name: Supplier_Categories_Enum_Enum; + }>; + }>; + suppliers_aggregate: { + __typename?: "suppliers_aggregate"; + aggregate?: { + __typename?: "suppliers_aggregate_fields"; + count: number; + } | null; + }; +}; + +export type GetSupplierOrdersQueryVariables = Exact<{ + supplierId?: InputMaybe; +}>; + +export type GetSupplierOrdersQuery = { + __typename?: "query_root"; + order_supplier: Array<{ + __typename?: "order_supplier"; + id: any; + supplierId: any; + order: { + __typename?: "orders"; + id: any; + created_at: any; + destination?: string | null; + orderId?: string | null; + customerId?: any | null; + origin?: string | null; + status?: Order_Status_Enum | null; + business?: { + __typename?: "business"; + contactName?: string | null; + phoneNumber?: string | null; + name?: string | null; + } | null; + }; + }>; +}; + +export type GetFilteredSuppliersQueryVariables = Exact<{ + category_name?: InputMaybe; + offset?: InputMaybe; + limit?: InputMaybe; +}>; + +export type GetFilteredSuppliersQuery = { + __typename?: "query_root"; + suppliers: Array<{ + __typename?: "suppliers"; + id: any; + name?: string | null; + streetAddress?: string | null; + phoneNumber?: string | null; + contactName?: string | null; + zone?: string | null; + categories: Array<{ + __typename?: "suppliers_categories"; + category_name: Supplier_Categories_Enum_Enum; + }>; + }>; +}; + +export type GetSupplierByPkQueryVariables = Exact<{ + id: Scalars["uuid"]["input"]; +}>; + +export type GetSupplierByPkQuery = { + __typename?: "query_root"; + suppliers_by_pk?: { + __typename?: "suppliers"; + created_at: any; + id: any; + name?: string | null; + description?: string | null; + phoneNumber?: string | null; + contactName?: string | null; + contactEmail?: string | null; + streetAddress?: string | null; + zone?: string | null; + categories: Array<{ + __typename?: "suppliers_categories"; + category_name: Supplier_Categories_Enum_Enum; + }>; + products_aggregate: { + __typename?: "products_aggregate"; + aggregate?: { + __typename?: "products_aggregate_fields"; + count: number; + } | null; + }; + } | null; +}; + +export type GetSupplierProductsQueryVariables = Exact<{ + id: Scalars["uuid"]["input"]; + offset?: InputMaybe; + order_by?: InputMaybe | Products_Order_By>; +}>; + +export type GetSupplierProductsQuery = { + __typename?: "query_root"; + products: Array<{ + __typename?: "products"; + id: any; + name?: string | null; + description?: string | null; + inStock: boolean; + quantity: number; + price?: number | null; + }>; +}; + +export type GetSupplierProductByNameQueryVariables = Exact<{ + id: Scalars["uuid"]["input"]; + offset?: InputMaybe; + name?: InputMaybe; + limit?: InputMaybe; +}>; + +export type GetSupplierProductByNameQuery = { + __typename?: "query_root"; + products: Array<{ + __typename?: "products"; + id: any; + name?: string | null; + description?: string | null; + inStock: boolean; + quantity: number; + price?: number | null; + }>; +}; + +export type GetUsersQueryVariables = Exact<{ [key: string]: never }>; + +export type GetUsersQuery = { + __typename?: "query_root"; + users: Array<{ + __typename?: "users"; + id: any; + created_at: any; + role?: User_Role_Enum | null; + name?: string | null; + }>; +}; + +export const RegisterClientDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "registerClient" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "object" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "business_insert_input" }, + }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "insert_business_one" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "object" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "object" }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + RegisterClientMutation, + RegisterClientMutationVariables +>; +export const InsertBusinessAddressDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "insertBusinessAddress" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "object" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "addresses_insert_input" }, + }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "insert_addresses_one" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "object" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "object" }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "business_id" } }, + { kind: "Field", name: { kind: "Name", value: "city" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + InsertBusinessAddressMutation, + InsertBusinessAddressMutationVariables +>; +export const InsertNewCourierDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "insertNewCourier" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "object" }, + }, + type: { + kind: "NamedType", + name: { kind: "Name", value: "couriers_insert_input" }, + }, + defaultValue: { kind: "ObjectValue", fields: [] }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "insert_couriers_one" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "object" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "object" }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + InsertNewCourierMutation, + InsertNewCourierMutationVariables +>; +export const InsertBusinessOrderDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "insertBusinessOrder" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "object" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "orders_insert_input" }, + }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "insert_orders_one" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "object" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "object" }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + InsertBusinessOrderMutation, + InsertBusinessOrderMutationVariables +>; +export const RegisterSupplierDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "registerSupplier" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "object" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "suppliers_insert_input" }, + }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "insert_suppliers_one" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "object" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "object" }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + RegisterSupplierMutation, + RegisterSupplierMutationVariables +>; +export const UpdateProductByPkDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "updateProductByPk" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "id" } }, + type: { kind: "NamedType", name: { kind: "Name", value: "uuid" } }, + defaultValue: { kind: "StringValue", value: "", block: false }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "inStock" }, + }, + type: { kind: "NamedType", name: { kind: "Name", value: "Boolean" } }, + }, + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "name" } }, + type: { kind: "NamedType", name: { kind: "Name", value: "String" } }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "price" }, + }, + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "quantity" }, + }, + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "description" }, + }, + type: { kind: "NamedType", name: { kind: "Name", value: "String" } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "update_products_by_pk" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "pk_columns" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "id" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "id" }, + }, + }, + ], + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "_set" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "inStock" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "inStock" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "name" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "name" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "price" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "price" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "quantity" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "quantity" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "description" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "description" }, + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "inStock" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "price" } }, + { kind: "Field", name: { kind: "Name", value: "quantity" } }, + { kind: "Field", name: { kind: "Name", value: "description" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + UpdateProductByPkMutation, + UpdateProductByPkMutationVariables +>; +export const DeleteProductByPkDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "deleteProductByPk" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "id" } }, + type: { kind: "NamedType", name: { kind: "Name", value: "uuid" } }, + defaultValue: { kind: "StringValue", value: "", block: false }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "delete_products_by_pk" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "id" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "id" }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + DeleteProductByPkMutation, + DeleteProductByPkMutationVariables +>; +export const AddNewProductDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "addNewProduct" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "product" }, + }, + type: { + kind: "NamedType", + name: { kind: "Name", value: "products_insert_input" }, + }, + defaultValue: { kind: "ObjectValue", fields: [] }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "insert_products_one" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "object" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "product" }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "created_at" } }, + { kind: "Field", name: { kind: "Name", value: "description" } }, + { kind: "Field", name: { kind: "Name", value: "discount" } }, + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "inStock" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "price" } }, + { kind: "Field", name: { kind: "Name", value: "quantity" } }, + { kind: "Field", name: { kind: "Name", value: "supplier_id" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + AddNewProductMutation, + AddNewProductMutationVariables +>; +export const RegisterUserDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "registerUser" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "object" }, + }, + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "users_insert_input" }, + }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "insert_users_one" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "object" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "object" }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + RegisterUserMutation, + RegisterUserMutationVariables +>; +export const GetClientsDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "getClients" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "business" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "created_at" } }, + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "updated_at" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "contactName" } }, + { kind: "Field", name: { kind: "Name", value: "type" } }, + { kind: "Field", name: { kind: "Name", value: "phoneNumber" } }, + { kind: "Field", name: { kind: "Name", value: "description" } }, + { + kind: "Field", + name: { kind: "Name", value: "contactEmail" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "addresses" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "city" } }, + { + kind: "Field", + name: { kind: "Name", value: "created_at" }, + }, + { kind: "Field", name: { kind: "Name", value: "id" } }, + { + kind: "Field", + name: { kind: "Name", value: "latitude" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "longitude" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "updated_at" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "street_address" }, + }, + ], + }, + }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "business_aggregate" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "aggregate" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "count" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "columns" }, + value: { kind: "EnumValue", value: "id" }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "distinct" }, + value: { kind: "BooleanValue", value: true }, + }, + ], + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetBusinessOrdersDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "getBusinessOrders" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "customerId" }, + }, + type: { kind: "NamedType", name: { kind: "Name", value: "uuid" } }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "limit" }, + }, + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, + defaultValue: { kind: "IntValue", value: "4" }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "offset" }, + }, + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, + defaultValue: { kind: "IntValue", value: "0" }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "orders" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_or" }, + value: { + kind: "ListValue", + values: [ + { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "customerId" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { + kind: "Variable", + name: { + kind: "Name", + value: "customerId", + }, + }, + }, + ], + }, + }, + ], + }, + { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "customerId" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_is_null" }, + value: { + kind: "BooleanValue", + value: true, + }, + }, + ], + }, + }, + ], + }, + ], + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "customerId" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "customerId" }, + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "limit" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "limit" }, + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "offset" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "offset" }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "created_at" } }, + { kind: "Field", name: { kind: "Name", value: "destination" } }, + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "orderId" } }, + { kind: "Field", name: { kind: "Name", value: "customerId" } }, + { kind: "Field", name: { kind: "Name", value: "origin" } }, + { kind: "Field", name: { kind: "Name", value: "status" } }, + { + kind: "Field", + name: { kind: "Name", value: "business" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "contactName" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "phoneNumber" }, + }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + ], + }, + }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "orders_aggregate" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "customerId" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "customerId" }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "aggregate" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "count" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "columns" }, + value: { kind: "EnumValue", value: "id" }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "distinct" }, + value: { kind: "BooleanValue", value: true }, + }, + ], + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + GetBusinessOrdersQuery, + GetBusinessOrdersQueryVariables +>; +export const GetBusinessByPkDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "getBusinessByPK" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "id" } }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "uuid" } }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "business_by_pk" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "id" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "id" }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "contactName" } }, + { kind: "Field", name: { kind: "Name", value: "phoneNumber" } }, + { kind: "Field", name: { kind: "Name", value: "description" } }, + { + kind: "Field", + name: { kind: "Name", value: "contactEmail" }, + }, + { kind: "Field", name: { kind: "Name", value: "type" } }, + { + kind: "Field", + name: { kind: "Name", value: "agent" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "id" } }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "addresses" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "city" } }, + { + kind: "Field", + name: { kind: "Name", value: "street_address" }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + GetBusinessByPkQuery, + GetBusinessByPkQueryVariables +>; +export const GetCouriersDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "getCouriers" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "couriers" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "avatar" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "DOB" } }, + { kind: "Field", name: { kind: "Name", value: "phoneNumber" } }, + { kind: "Field", name: { kind: "Name", value: "gender" } }, + { kind: "Field", name: { kind: "Name", value: "email" } }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "couriers_aggregate" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "aggregate" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "count" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "columns" }, + value: { kind: "EnumValue", value: "id" }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "distinct" }, + value: { kind: "BooleanValue", value: true }, + }, + ], + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetCouriersByPkDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "getCouriersByPK" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "id" } }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "uuid" } }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "couriers_by_pk" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "id" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "id" }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "avatar" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + GetCouriersByPkQuery, + GetCouriersByPkQueryVariables +>; +export const FetchSahilZonesDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "fetchSahilZones" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "locations" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + FetchSahilZonesQuery, + FetchSahilZonesQueryVariables +>; +export const GetOrdersDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "getOrders" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "orders" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "created_at" } }, + { kind: "Field", name: { kind: "Name", value: "destination" } }, + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "orderId" } }, + { kind: "Field", name: { kind: "Name", value: "customerId" } }, + { kind: "Field", name: { kind: "Name", value: "origin" } }, + { kind: "Field", name: { kind: "Name", value: "status" } }, + { + kind: "Field", + name: { kind: "Name", value: "business" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "contactName" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "phoneNumber" }, + }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + ], + }, + }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "orders_aggregate" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "aggregate" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "count" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "columns" }, + value: { kind: "EnumValue", value: "id" }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "distinct" }, + value: { kind: "BooleanValue", value: true }, + }, + ], + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetorderByPkDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "getorderByPK" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "id" } }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "uuid" } }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "orders_by_pk" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "id" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "id" }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "created_at" } }, + { kind: "Field", name: { kind: "Name", value: "destination" } }, + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "orderId" } }, + { kind: "Field", name: { kind: "Name", value: "customerId" } }, + { kind: "Field", name: { kind: "Name", value: "origin" } }, + { kind: "Field", name: { kind: "Name", value: "status" } }, + { + kind: "Field", + name: { kind: "Name", value: "order_items" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { + kind: "Field", + name: { kind: "Name", value: "product" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "id" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "name" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "quantity" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "price" }, + }, + ], + }, + }, + ], + }, + }, + { kind: "Field", name: { kind: "Name", value: "status" } }, + { + kind: "Field", + name: { kind: "Name", value: "agent" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "name" } }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "order_items_aggregate" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "aggregate" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "count" }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetOrderDeliveriesDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "getOrderDeliveries" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "orderId" }, + }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "uuid" } }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "delivery" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "orderId" } }, + { kind: "Field", name: { kind: "Name", value: "status" } }, + { kind: "Field", name: { kind: "Name", value: "orderId" } }, + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "created_at" } }, + { kind: "Field", name: { kind: "Name", value: "courierId" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + GetOrderDeliveriesQuery, + GetOrderDeliveriesQueryVariables +>; +export const GetOrdersStatsDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "getOrdersStats" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "startDate" }, + }, + type: { + kind: "NamedType", + name: { kind: "Name", value: "timestamptz" }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "endDate" }, + }, + type: { + kind: "NamedType", + name: { kind: "Name", value: "timestamptz" }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "orders_aggregate" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "created_at" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_gte" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "startDate" }, + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "_lte" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "endDate" }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "aggregate" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "count" } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetProductsDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "getProducts" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "offset" }, + }, + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, + defaultValue: { kind: "IntValue", value: "0" }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "limit" }, + }, + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, + defaultValue: { kind: "IntValue", value: "12" }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "products" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "limit" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "limit" }, + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "order_by" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "created_at" }, + value: { kind: "EnumValue", value: "desc" }, + }, + ], + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "offset" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "offset" }, + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "inStock" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { kind: "BooleanValue", value: true }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "discount" } }, + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "price" } }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "products_aggregate" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "aggregate" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "count" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "columns" }, + value: { kind: "EnumValue", value: "id" }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "distinct" }, + value: { kind: "BooleanValue", value: true }, + }, + ], + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetProductsByNameDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "getProductsByName" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "offset" }, + }, + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, + defaultValue: { kind: "IntValue", value: "0" }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "limit" }, + }, + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, + defaultValue: { kind: "IntValue", value: "12" }, + }, + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "name" } }, + type: { kind: "NamedType", name: { kind: "Name", value: "String" } }, + defaultValue: { kind: "StringValue", value: "", block: false }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "products" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "limit" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "limit" }, + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "order_by" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "created_at" }, + value: { kind: "EnumValue", value: "desc" }, + }, + ], + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "offset" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "offset" }, + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "inStock" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { kind: "BooleanValue", value: true }, + }, + ], + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "name" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_ilike" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "name" }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "discount" } }, + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "price" } }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "products_aggregate" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "inStock" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { kind: "BooleanValue", value: true }, + }, + ], + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "name" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_ilike" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "name" }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "aggregate" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "count" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "columns" }, + value: { kind: "EnumValue", value: "id" }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "distinct" }, + value: { kind: "BooleanValue", value: true }, + }, + ], + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + GetProductsByNameQuery, + GetProductsByNameQueryVariables +>; +export const GetSuppliersDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "getSuppliers" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "offset" }, + }, + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, + defaultValue: { kind: "IntValue", value: "0" }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "limit" }, + }, + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, + defaultValue: { kind: "IntValue", value: "10" }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "suppliers" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "offset" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "offset" }, + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "limit" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "limit" }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { + kind: "Field", + name: { kind: "Name", value: "streetAddress" }, + }, + { kind: "Field", name: { kind: "Name", value: "phoneNumber" } }, + { kind: "Field", name: { kind: "Name", value: "contactName" } }, + { kind: "Field", name: { kind: "Name", value: "zone" } }, + { + kind: "Field", + name: { kind: "Name", value: "categories" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "category_name" }, + }, + ], + }, + }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "suppliers_aggregate" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "aggregate" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "count" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "columns" }, + value: { kind: "EnumValue", value: "id" }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "distinct" }, + value: { kind: "BooleanValue", value: true }, + }, + ], + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetSupplierOrdersDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "getSupplierOrders" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "supplierId" }, + }, + type: { kind: "NamedType", name: { kind: "Name", value: "uuid" } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "order_supplier" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "supplierId" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "supplierId" }, + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "distinct_on" }, + value: { kind: "EnumValue", value: "supplierId" }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "supplierId" } }, + { + kind: "Field", + name: { kind: "Name", value: "order" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { + kind: "Field", + name: { kind: "Name", value: "created_at" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "destination" }, + }, + { kind: "Field", name: { kind: "Name", value: "id" } }, + { + kind: "Field", + name: { kind: "Name", value: "orderId" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "customerId" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "origin" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "status" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "business" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "contactName" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "phoneNumber" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "name" }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + GetSupplierOrdersQuery, + GetSupplierOrdersQueryVariables +>; +export const GetFilteredSuppliersDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "getFilteredSuppliers" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "category_name" }, + }, + type: { + kind: "NamedType", + name: { kind: "Name", value: "supplier_categories_enum_enum" }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "offset" }, + }, + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, + defaultValue: { kind: "IntValue", value: "0" }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "limit" }, + }, + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, + defaultValue: { kind: "IntValue", value: "10" }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "suppliers" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "categories" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "category_name" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { + kind: "Variable", + name: { + kind: "Name", + value: "category_name", + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "offset" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "offset" }, + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "limit" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "limit" }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { + kind: "Field", + name: { kind: "Name", value: "streetAddress" }, + }, + { kind: "Field", name: { kind: "Name", value: "phoneNumber" } }, + { kind: "Field", name: { kind: "Name", value: "contactName" } }, + { kind: "Field", name: { kind: "Name", value: "zone" } }, + { + kind: "Field", + name: { kind: "Name", value: "categories" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "category_name" }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + GetFilteredSuppliersQuery, + GetFilteredSuppliersQueryVariables +>; +export const GetSupplierByPkDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "getSupplierByPK" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "id" } }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "uuid" } }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "suppliers_by_pk" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "id" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "id" }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "created_at" } }, + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "description" } }, + { kind: "Field", name: { kind: "Name", value: "phoneNumber" } }, + { kind: "Field", name: { kind: "Name", value: "contactName" } }, + { + kind: "Field", + name: { kind: "Name", value: "contactEmail" }, + }, + { + kind: "Field", + name: { kind: "Name", value: "streetAddress" }, + }, + { kind: "Field", name: { kind: "Name", value: "zone" } }, + { + kind: "Field", + name: { kind: "Name", value: "categories" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "category_name" }, + }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "products_aggregate" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "aggregate" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "count" }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + GetSupplierByPkQuery, + GetSupplierByPkQueryVariables +>; +export const GetSupplierProductsDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "getSupplierProducts" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "id" } }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "uuid" } }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "offset" }, + }, + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, + defaultValue: { kind: "IntValue", value: "0" }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "order_by" }, + }, + type: { + kind: "ListType", + type: { + kind: "NonNullType", + type: { + kind: "NamedType", + name: { kind: "Name", value: "products_order_by" }, + }, + }, + }, + defaultValue: { kind: "ObjectValue", fields: [] }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "products" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "supplier_id" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "id" }, + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "limit" }, + value: { kind: "IntValue", value: "4" }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "offset" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "offset" }, + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "order_by" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "order_by" }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "description" } }, + { kind: "Field", name: { kind: "Name", value: "inStock" } }, + { kind: "Field", name: { kind: "Name", value: "quantity" } }, + { kind: "Field", name: { kind: "Name", value: "price" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + GetSupplierProductsQuery, + GetSupplierProductsQueryVariables +>; +export const GetSupplierProductByNameDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "getSupplierProductByName" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "id" } }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "uuid" } }, + }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "offset" }, + }, + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, + defaultValue: { kind: "IntValue", value: "0" }, + }, + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "name" } }, + type: { kind: "NamedType", name: { kind: "Name", value: "String" } }, + defaultValue: { kind: "StringValue", value: "", block: false }, + }, + { + kind: "VariableDefinition", + variable: { + kind: "Variable", + name: { kind: "Name", value: "limit" }, + }, + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, + defaultValue: { kind: "IntValue", value: "4" }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "products" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "where" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "supplier_id" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_eq" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "id" }, + }, + }, + ], + }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "name" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "_ilike" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "name" }, + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "limit" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "limit" }, + }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "offset" }, + value: { + kind: "Variable", + name: { kind: "Name", value: "offset" }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "description" } }, + { kind: "Field", name: { kind: "Name", value: "inStock" } }, + { kind: "Field", name: { kind: "Name", value: "quantity" } }, + { kind: "Field", name: { kind: "Name", value: "price" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + GetSupplierProductByNameQuery, + GetSupplierProductByNameQueryVariables +>; +export const GetUsersDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "getUsers" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "users" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "created_at" } }, + { kind: "Field", name: { kind: "Name", value: "role" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; diff --git a/packages/lib/graphql/generated/index.ts b/packages/lib/graphql/generated/index.ts new file mode 100644 index 00000000..0ea4a91c --- /dev/null +++ b/packages/lib/graphql/generated/index.ts @@ -0,0 +1,2 @@ +export * from "./fragment-masking"; +export * from "./gql"; diff --git a/packages/lib/graphql/index.ts b/packages/lib/graphql/index.ts index 5249c7db..f56b9acf 100644 --- a/packages/lib/graphql/index.ts +++ b/packages/lib/graphql/index.ts @@ -1,19 +1,19 @@ -export * from './queries/momo'; -export * from './queries/businesses'; -export * from './queries/couriers'; -export * from './queries/locations'; -export * from './queries/orders'; -export * from './queries/payments'; -export * from './queries/products'; -export * from './queries/suppliers'; -export * from './queries/users'; +export * from "./queries/momo"; +export * from "./queries/businesses"; +export * from "./queries/couriers"; +export * from "./queries/locations"; +export * from "./queries/orders"; +export * from "./queries/payments"; +export * from "./queries/products"; +export * from "./queries/suppliers"; +export * from "./queries/users"; -export * from './mutations/businesses'; -export * from './mutations/couriers'; -export * from './mutations/orders'; -export * from './mutations/payments'; -export * from './mutations/suppliers'; -export * from './mutations/users'; +export * from "./mutations/businesses"; +export * from "./mutations/couriers"; +export * from "./mutations/orders"; +export * from "./mutations/payments"; +export * from "./mutations/suppliers"; +export * from "./mutations/users"; // export * from './mutations/locations' -export * from './createApolloClient'; +export * from "./createApolloClient"; diff --git a/packages/lib/graphql/mutations/businesses.ts b/packages/lib/graphql/mutations/businesses.ts index c9a8b87c..a9638236 100644 --- a/packages/lib/graphql/mutations/businesses.ts +++ b/packages/lib/graphql/mutations/businesses.ts @@ -1,9 +1,7 @@ -import { - gql, -} from "@apollo/client"; +import { gql } from "@apollo/client"; export const INSERT_NEW_BUSINESS = gql` -mutation registerClient($object: business_insert_input!) { + mutation registerClient($object: business_insert_input!) { insert_business_one(object: $object) { id name @@ -12,7 +10,7 @@ mutation registerClient($object: business_insert_input!) { `; export const INSERT_BUSINESS_ADDRESS = gql` -mutation insertBusinessAddress($object: addresses_insert_input!) { + mutation insertBusinessAddress($object: addresses_insert_input!) { insert_addresses_one(object: $object) { business_id city diff --git a/packages/lib/graphql/mutations/couriers.ts b/packages/lib/graphql/mutations/couriers.ts index 1dc5ab17..7035f05d 100644 --- a/packages/lib/graphql/mutations/couriers.ts +++ b/packages/lib/graphql/mutations/couriers.ts @@ -1,4 +1,4 @@ -import { gql } from '@apollo/client'; +import { gql } from "@apollo/client"; export const INSERT_NEW_COURIER = gql` mutation insertNewCourier($object: couriers_insert_input = {}) { diff --git a/packages/lib/graphql/mutations/orders.ts b/packages/lib/graphql/mutations/orders.ts index 0d1e9ef4..5bf613bb 100644 --- a/packages/lib/graphql/mutations/orders.ts +++ b/packages/lib/graphql/mutations/orders.ts @@ -1,11 +1,9 @@ -import { - gql, -} from "@apollo/client"; +import { gql } from "@apollo/client"; export const INSERT_NEW_ORDER = gql` -mutation insertBusinessOrder($object: orders_insert_input!) { + mutation insertBusinessOrder($object: orders_insert_input!) { insert_orders_one(object: $object) { id } } -`; \ No newline at end of file +`; diff --git a/packages/lib/graphql/mutations/payments.ts b/packages/lib/graphql/mutations/payments.ts index 2e8ccb64..e69de29b 100644 --- a/packages/lib/graphql/mutations/payments.ts +++ b/packages/lib/graphql/mutations/payments.ts @@ -1,12 +0,0 @@ -import { - gql, - } from "@apollo/client"; - - export const REQUEST_TO_PAY = gql` - mutation requesTtoPay($object: RequestToPayInput!) { - requestToPay(object: $object) { - message - status - } - } - `; \ No newline at end of file diff --git a/packages/lib/graphql/mutations/suppliers.ts b/packages/lib/graphql/mutations/suppliers.ts index 4363dfce..c7dedaa1 100644 --- a/packages/lib/graphql/mutations/suppliers.ts +++ b/packages/lib/graphql/mutations/suppliers.ts @@ -1,4 +1,4 @@ -import { gql } from '@apollo/client'; +import { gql } from "@apollo/client"; export const INSERT_NEW_SUPPLIER = gql` mutation registerSupplier($object: suppliers_insert_input!) { diff --git a/packages/lib/graphql/mutations/users.ts b/packages/lib/graphql/mutations/users.ts index f1743fc6..ca8f65cf 100644 --- a/packages/lib/graphql/mutations/users.ts +++ b/packages/lib/graphql/mutations/users.ts @@ -1,12 +1,10 @@ -import { - gql, -} from "@apollo/client"; +import { gql } from "@apollo/client"; export const INSERT_NEW_USER = gql` -mutation registerUser($object: users_insert_input!) { + mutation registerUser($object: users_insert_input!) { insert_users_one(object: $object) { id name } } -`; \ No newline at end of file +`; diff --git a/packages/lib/graphql/queries/businesses.ts b/packages/lib/graphql/queries/businesses.ts index 8e1a8134..eecec2a9 100644 --- a/packages/lib/graphql/queries/businesses.ts +++ b/packages/lib/graphql/queries/businesses.ts @@ -1,4 +1,4 @@ -import { gql } from '@apollo/client'; +import { gql } from "@apollo/client"; export const FETCH_BUSINESSES = gql` query getClients { diff --git a/packages/lib/graphql/queries/couriers.ts b/packages/lib/graphql/queries/couriers.ts index 3ae8d7c5..71a28395 100644 --- a/packages/lib/graphql/queries/couriers.ts +++ b/packages/lib/graphql/queries/couriers.ts @@ -1,4 +1,4 @@ -import { gql } from '@apollo/client'; +import { gql } from "@apollo/client"; export const FETCH_COURIERS = gql` query getCouriers { diff --git a/packages/lib/graphql/queries/locations.ts b/packages/lib/graphql/queries/locations.ts index 4826eaa9..5e11f817 100644 --- a/packages/lib/graphql/queries/locations.ts +++ b/packages/lib/graphql/queries/locations.ts @@ -1,11 +1,9 @@ -import { - gql, -} from "@apollo/client"; +import { gql } from "@apollo/client"; export const FETCH_SAHIL_ZONES = gql` -query fetchSahilZones { + query fetchSahilZones { locations { id } } -`; \ No newline at end of file +`; diff --git a/packages/lib/graphql/queries/momo.ts b/packages/lib/graphql/queries/momo.ts index 2c86ac12..e69de29b 100644 --- a/packages/lib/graphql/queries/momo.ts +++ b/packages/lib/graphql/queries/momo.ts @@ -1,65 +0,0 @@ -import { gql } from '@apollo/client'; - -export const GET_ACCOUNT_BALANCE = gql` - query accountBalance { - accountBalance { - availableBalance - currency - } - } -`; - -export const GET_MOMO_ACCOUNT_INFO = gql` - query getMomoAccountInfo($accountHolderMSISDN: String = "56733123453") { - basicUserInfo(accountHolderMSISDN: $accountHolderMSISDN) { - given_name - family_name - gender - status - } - } -`; - -export const GET_MOMO_USER_BASIC_INFO = gql` - query basicUserInfo { - basicUserInfo(accountHolderMSISDN: $accountHolderMsisdn) { - given_name - family_name - birthdate - locale - gender - status - } - } -`; - -export const GET_MOMO_USER_INFO_WITH_CONSENT = gql` - query userInfoWithConsent { - userInfoWithConsent { - sub - name - given_name - family_name - middle_name - email - email_verified - gender - locale - phone_number - phone_number_verified - address - updated_at - status - birthdate - credit_score - active - country_of_birth - region_of_birth - city_of_birth - occupation - employer_name - identification_type - identification_value - } - } -`; diff --git a/packages/lib/graphql/queries/orders.ts b/packages/lib/graphql/queries/orders.ts index fbbc23cf..fe1eed4d 100644 --- a/packages/lib/graphql/queries/orders.ts +++ b/packages/lib/graphql/queries/orders.ts @@ -1,9 +1,7 @@ -import { - gql, -} from "@apollo/client"; +import { gql } from "@apollo/client"; export const FETCH_ORDERS = gql` -query getOrders { + query getOrders { orders { id created_at @@ -14,71 +12,73 @@ query getOrders { origin status business { - contactName - phoneNumber - name - } + contactName + phoneNumber + name + } } orders_aggregate { aggregate { count(columns: id, distinct: true) } } -} + } `; export const FETCH_ORDER_BY_PK = gql` -query getorderByPK($id: uuid!) { - orders_by_pk(id: $id) { - id - created_at - destination - id - orderId - customerId - origin - status - order_items { + query getorderByPK($id: uuid!) { + orders_by_pk(id: $id) { + id + created_at + destination id - product { + orderId + customerId + origin + status + order_items { id + product { + id + name + quantity + price + } + } + status + agent { name - quantity - price } - } - status - agent { - name - } - order_items_aggregate { - aggregate { - count + order_items_aggregate { + aggregate { + count + } } } } -} `; export const FETCH_ORDER_DELIVERIES = gql` -query getOrderDeliveries($orderId: uuid!) { - delivery { - orderId - status - orderId - id - created_at - courierId - } + query getOrderDeliveries($orderId: uuid!) { + delivery { + orderId + status + orderId + id + created_at + courierId + } } `; export const FETCH_ORDERS_STATS = gql` -query getOrdersStats($startDate: timestamptz, $endDate: timestamptz) { - orders_aggregate(where: {created_at: {_gte: $startDate, _lte: $endDate}}) { - aggregate { - count + query getOrdersStats($startDate: timestamptz, $endDate: timestamptz) { + orders_aggregate( + where: { created_at: { _gte: $startDate, _lte: $endDate } } + ) { + aggregate { + count + } } } -} -`; \ No newline at end of file +`; diff --git a/packages/lib/graphql/queries/payments.ts b/packages/lib/graphql/queries/payments.ts index 93adf81d..e69de29b 100644 --- a/packages/lib/graphql/queries/payments.ts +++ b/packages/lib/graphql/queries/payments.ts @@ -1,43 +0,0 @@ -import { - gql, -} from "@apollo/client"; - -export const GET_PAYMENT_STATUS = gql` -query paymentStatus{ - paymentStatus(referenceId: $referenceId) { - referenceId - status - financialTransactionId - reason - } -} -`; - -export const GET_PREAPPROVAL_STATUS = gql` -query preApprovalStatus{ - preApprovalStatus(referenceId: $referenceId) { - payer - payerCurrency - payerMessage - status - expirationDateTime - reason - } -} -`; - -export const REQUEST_TO_PAY_STATUS = gql` -query requestToPayTransactionStatus{ - requestToPayTransactionStatus(referenceId: $referenceId) { - amount - currency - financialTransactionId - externalId - payer - payerMessage - payeeNote - status - reason - } -} -`; \ No newline at end of file diff --git a/packages/lib/graphql/queries/products.ts b/packages/lib/graphql/queries/products.ts index fa22ab4b..325376b7 100644 --- a/packages/lib/graphql/queries/products.ts +++ b/packages/lib/graphql/queries/products.ts @@ -1,4 +1,4 @@ -import { gql } from '@apollo/client'; +import { gql } from "@apollo/client"; export const FETCH_PRODUCTS = gql` query getProducts($offset: Int = 0, $limit: Int = 12) { @@ -22,7 +22,11 @@ export const FETCH_PRODUCTS = gql` `; export const FETCH_PRODUCTS_BY_NAME = gql` - query getProducts($offset: Int = 0, $limit: Int = 12, $name: String = "") { + query getProductsByName( + $offset: Int = 0 + $limit: Int = 12 + $name: String = "" + ) { products( limit: $limit order_by: { created_at: desc } diff --git a/packages/lib/graphql/queries/suppliers.ts b/packages/lib/graphql/queries/suppliers.ts index 0c32f2c1..163b2df1 100644 --- a/packages/lib/graphql/queries/suppliers.ts +++ b/packages/lib/graphql/queries/suppliers.ts @@ -1,4 +1,4 @@ -import { gql } from '@apollo/client'; +import { gql } from "@apollo/client"; export const FETCH_SUPPLIERS = gql` query getSuppliers($offset: Int = 0, $limit: Int = 10) { @@ -22,27 +22,30 @@ export const FETCH_SUPPLIERS = gql` `; export const FETCH_SUPPLIER_ORDERS = gql` -query getSupplierOrders($supplierId: uuid) { - order_supplier(where: {supplierId: {_eq: $supplierId}}, distinct_on: supplierId) { - id - supplierId - order { - id - created_at - destination + query getSupplierOrders($supplierId: uuid) { + order_supplier( + where: { supplierId: { _eq: $supplierId } } + distinct_on: supplierId + ) { id - orderId - customerId - origin - status - business { - contactName - phoneNumber - name + supplierId + order { + id + created_at + destination + id + orderId + customerId + origin + status + business { + contactName + phoneNumber + name + } + } } } -} -} `; export const FETCH_FILTERED_SUPPLIERS = gql` diff --git a/packages/lib/graphql/queries/users.ts b/packages/lib/graphql/queries/users.ts index 25b8fe68..a6098a66 100644 --- a/packages/lib/graphql/queries/users.ts +++ b/packages/lib/graphql/queries/users.ts @@ -1,14 +1,12 @@ -import { - gql, -} from "@apollo/client"; +import { gql } from "@apollo/client"; export const GET_USERS = gql` -query getUsers { - users { - id - created_at - role - name + query getUsers { + users { + id + created_at + role + name + } } -} -`; \ No newline at end of file +`; diff --git a/packages/lib/hooks/payments.ts b/packages/lib/hooks/payments.ts index 17eab0be..f444c77c 100644 --- a/packages/lib/hooks/payments.ts +++ b/packages/lib/hooks/payments.ts @@ -1,24 +1,28 @@ import { useMutation, useQuery } from "@apollo/client"; -import { GET_PAYMENT_STATUS, GET_PREAPPROVAL_STATUS, REQUEST_TO_PAY_STATUS } from "../graphql/queries/payments"; +import { + GET_PAYMENT_STATUS, + GET_PREAPPROVAL_STATUS, + REQUEST_TO_PAY_STATUS, +} from "../graphql/queries/payments"; import { REQUEST_TO_PAY } from "../graphql/mutations/payments"; export const useGetPaymentStatus = () => { - const { error, data, loading } = useQuery(GET_PAYMENT_STATUS); - return { error, data: data, loading }; + const { error, data, loading } = useQuery(GET_PAYMENT_STATUS); + return { error, data: data, loading }; }; export const useGetPreApprovalStatus = () => { - const { error, data, loading } = useQuery(GET_PREAPPROVAL_STATUS); - return { error, data: data, loading }; + const { error, data, loading } = useQuery(GET_PREAPPROVAL_STATUS); + return { error, data: data, loading }; }; export const useGetRequesTtoPayStatus = () => { - const { error, data, loading } = useQuery(REQUEST_TO_PAY_STATUS); - return { error, data: data, loading }; + const { error, data, loading } = useQuery(REQUEST_TO_PAY_STATUS); + return { error, data: data, loading }; }; export const useRequesTtoPay = () => { - const [requesTtoPay, { data, loading, error }] = useMutation(REQUEST_TO_PAY); + const [requesTtoPay, { data, loading, error }] = useMutation(REQUEST_TO_PAY); - return {loading, requesTtoPay, error}; -} \ No newline at end of file + return { loading, requesTtoPay, error }; +}; diff --git a/packages/lib/hooks/useCreateFormStore.ts b/packages/lib/hooks/useCreateFormStore.ts index 59e97c61..10ce2ef3 100644 --- a/packages/lib/hooks/useCreateFormStore.ts +++ b/packages/lib/hooks/useCreateFormStore.ts @@ -1,6 +1,6 @@ -import { create } from 'zustand'; +import { create } from "zustand"; -type StepDirection = 'prev' | 'next'; +type StepDirection = "prev" | "next"; type FormState = Record; @@ -23,27 +23,30 @@ export const useCreateFormStore = ( currentStep: initialStep, formData: {}, steps, - goToStep: (direction: StepDirection) => set((state: FormState) => { - const currentIndex = steps.indexOf(state.currentStep); - const nextStep = - direction === 'next' - ? steps[currentIndex + 1] - : steps[currentIndex - 1]; - return nextStep ? { ...state, currentStep: nextStep } : state; - }), - updateStepByIndex: (stepIndex: number) => set((state) => { - const currentStep = steps[stepIndex]; // what if stepIndex is out of bounds? - // also, stepIndex refers to the step we wanna go to but we wanna get the current step and our state should be the single source of truth. - // what's gonna happen if stepIndex === 2 but state.currentStep === 1? - // whom do you believe? State or user input? - return currentStep ? { ...state, currentStep } : state; - }), - updateStepFormData: (formData: Record) => set((state) => ({ - ...state, - formData: { - ...state.formData, - ...formData, - }, - })), + goToStep: (direction: StepDirection) => + set((state: FormState) => { + const currentIndex = steps.indexOf(state.currentStep); + const nextStep = + direction === "next" + ? steps[currentIndex + 1] + : steps[currentIndex - 1]; + return nextStep ? { ...state, currentStep: nextStep } : state; + }), + updateStepByIndex: (stepIndex: number) => + set((state) => { + const currentStep = steps[stepIndex]; // what if stepIndex is out of bounds? + // also, stepIndex refers to the step we wanna go to but we wanna get the current step and our state should be the single source of truth. + // what's gonna happen if stepIndex === 2 but state.currentStep === 1? + // whom do you believe? State or user input? + return currentStep ? { ...state, currentStep } : state; + }), + updateStepFormData: (formData: Record) => + set((state) => ({ + ...state, + formData: { + ...state.formData, + ...formData, + }, + })), })); }; diff --git a/packages/lib/index.ts b/packages/lib/index.ts index a95c2299..23373e07 100644 --- a/packages/lib/index.ts +++ b/packages/lib/index.ts @@ -1,2 +1,2 @@ -export * from './currency'; -export * from './hooks/useCreateFormStore'; +export * from "./currency"; +export * from "./hooks/useCreateFormStore"; diff --git a/packages/lib/orders.ts b/packages/lib/orders.ts index 665947a3..cf88b372 100644 --- a/packages/lib/orders.ts +++ b/packages/lib/orders.ts @@ -1,28 +1,27 @@ export type OrderItemsTotal = { - totalCost?: number | string; - totalItems?: number | string; -} + totalCost?: number | string; + totalItems?: number | string; +}; export type OrderItemsOptions = { - code?: string; - currency?: string; - formatted?: boolean; + code?: string; + currency?: string; + formatted?: boolean; }; -export const getOrderItemsTotal = (orderItems: any[], { - code = "SS", - currency = "SSP", - formatted = false -}: OrderItemsOptions): OrderItemsTotal => { - const { totalItems, totalCost } = orderItems?.reduce( - (totals, product) => ({ - totalItems: totals.totalItems + product.quantity, - totalCost: totals.totalCost + product.price * product.quantity, - }), - { - totalItems: 0, - totalCost: 0, - } - ); - return { totalCost, totalItems }; -} \ No newline at end of file +export const getOrderItemsTotal = ( + orderItems: any[], + { code = "SS", currency = "SSP", formatted = false }: OrderItemsOptions +): OrderItemsTotal => { + const { totalItems, totalCost } = orderItems?.reduce( + (totals, product) => ({ + totalItems: totals.totalItems + product.quantity, + totalCost: totals.totalCost + product.price * product.quantity, + }), + { + totalItems: 0, + totalCost: 0, + } + ); + return { totalCost, totalItems }; +}; diff --git a/packages/lib/strings.ts b/packages/lib/strings.ts index 876332fd..9be7850a 100644 --- a/packages/lib/strings.ts +++ b/packages/lib/strings.ts @@ -1,18 +1,17 @@ export const formatCategoryName = (categoryName: string) => { - // Replace "_and_" with " & ", split the category name by underscores, - // capitalize each word, and join them back with spaces - return categoryName - .replace(/_and_/g, ' & ') - .split('_') - .map((word) => word.charAt(0).toUpperCase() + word.slice(1)) - .join(' '); - }; - + // Replace "_and_" with " & ", split the category name by underscores, + // capitalize each word, and join them back with spaces + return categoryName + .replace(/_and_/g, " & ") + .split("_") + .map((word) => word.charAt(0).toUpperCase() + word.slice(1)) + .join(" "); +}; + export const generateInitials = (name: string) => { - return name - .split(' ') - .slice(0, 3) - .map((word) => word.charAt(0).toUpperCase()) - .join(''); - }; - \ No newline at end of file + return name + .split(" ") + .slice(0, 3) + .map((word) => word.charAt(0).toUpperCase()) + .join(""); +}; diff --git a/packages/lib/tailwindConfig.ts b/packages/lib/tailwindConfig.ts index c710c08d..b7731f89 100644 --- a/packages/lib/tailwindConfig.ts +++ b/packages/lib/tailwindConfig.ts @@ -1,17 +1,17 @@ -import type { Config } from 'tailwindcss'; +import type { Config } from "tailwindcss"; const config: Config = { content: [ - '../../packages/ui/**/*.{js,ts,jsx,tsx,mdx}', - './src/pages/**/*.{js,ts,jsx,tsx,mdx}', - './src/components/**/*.{js,ts,jsx,tsx,mdx}', - './src/app/**/*.{js,ts,jsx,tsx,mdx}', + "../../packages/ui/**/*.{js,ts,jsx,tsx,mdx}", + "./src/pages/**/*.{js,ts,jsx,tsx,mdx}", + "./src/components/**/*.{js,ts,jsx,tsx,mdx}", + "./src/app/**/*.{js,ts,jsx,tsx,mdx}", ], theme: { extend: { gridTemplateColumns: { // Auto column grid with a min of 250px - 'auto-250': 'repeat(auto-fit, minmax(250px, 1fr))', + "auto-250": "repeat(auto-fit, minmax(250px, 1fr))", }, }, }, diff --git a/packages/lib/web-push/index.ts b/packages/lib/web-push/index.ts index 6cdcfb20..f780df5e 100644 --- a/packages/lib/web-push/index.ts +++ b/packages/lib/web-push/index.ts @@ -1,9 +1,9 @@ // Converts a URL-safe base64 string to a Uint8Array const urlBase64ToUint8Array = (base64String: string) => { - const padding = '='.repeat((4 - (base64String.length % 4)) % 4); + const padding = "=".repeat((4 - (base64String.length % 4)) % 4); const base64 = (base64String + padding) - .replace(/\-/g, '+') - .replace(/_/g, '/'); + .replace(/\-/g, "+") + .replace(/_/g, "/"); const rawData = window.atob(base64); const outputArray = new Uint8Array(rawData.length); @@ -19,16 +19,16 @@ export const registerServiceWorker = async ( workerURL: string, options?: {} ) => { - if ('serviceWorker' in navigator && 'PushManager' in window) { + if ("serviceWorker" in navigator && "PushManager" in window) { const registration = await navigator.serviceWorker.register(workerURL, { - scope: '/', + scope: "/", ...options, }); - console.log('Service Worker Registered'); + console.log("Service Worker Registered"); return registration; } else { - console.error('Service Worker or Push Messaging not supported'); - throw new Error('Service Worker or Push Messaging not supported'); + console.error("Service Worker or Push Messaging not supported"); + throw new Error("Service Worker or Push Messaging not supported"); } }; @@ -41,7 +41,7 @@ export const subscribeToPush = async ( userVisibleOnly: true, applicationServerKey: urlBase64ToUint8Array(publicVapidKey), }); - console.log('Push Subscribed'); + console.log("Push Subscribed"); return subscription; }; @@ -49,9 +49,9 @@ export const subscribeToPush = async ( export const unsubscribeFromPush = async (subscription: PushSubscription) => { const successful = await subscription.unsubscribe(); if (successful) { - console.log('Unsubscribed from Push Notifications'); + console.log("Unsubscribed from Push Notifications"); } else { - console.error('Failed to unsubscribe from Push Notifications'); + console.error("Failed to unsubscribe from Push Notifications"); } return successful; }; @@ -72,45 +72,45 @@ export const sendNotification = async ({ }; const response = await fetch(serverUrl, { - method: 'POST', + method: "POST", body: JSON.stringify(requestBody), headers: { - 'Content-Type': 'application/json', + "Content-Type": "application/json", }, }); if (!response.ok) { - throw new Error('Failed to send notification request to server'); + throw new Error("Failed to send notification request to server"); } - console.log('Notification request sent to server'); + console.log("Notification request sent to server"); }; // Request Notifications Permissions export const requestNotificationPermission = async (): Promise => { - if (!('Notification' in window)) { - alert('This browser does not support notifications.'); - return 'denied'; + if (!("Notification" in window)) { + alert("This browser does not support notifications."); + return "denied"; } - if (Notification.permission === 'granted') { - console.log('Permission to receive notifications has been granted'); - return 'granted'; + if (Notification.permission === "granted") { + console.log("Permission to receive notifications has been granted"); + return "granted"; } try { const permission = await Notification.requestPermission(); - if (permission === 'granted') { - console.log('Permission to receive notifications has been granted'); + if (permission === "granted") { + console.log("Permission to receive notifications has been granted"); } else { - console.log('Permission to receive notifications has been denied'); + console.log("Permission to receive notifications has been denied"); } return permission; } catch (error) { console.error( - 'An error occurred while requesting notification permission', + "An error occurred while requesting notification permission", error ); - return 'denied'; + return "denied"; } }; diff --git a/packages/ui/Select.tsx b/packages/ui/Select.tsx index bbd3bf8d..6e241a79 100644 --- a/packages/ui/Select.tsx +++ b/packages/ui/Select.tsx @@ -1,11 +1,11 @@ -import { FormControl, FormControlError } from './FormControl'; +import { FormControl, FormControlError } from "./FormControl"; import { DeepMap, FieldError, FieldValues, Path, UseFormRegister, -} from 'react-hook-form'; +} from "react-hook-form"; type SelectProps = { options: any[]; @@ -17,7 +17,7 @@ type SelectProps = { export const Select = ({ options, - label = 'Select Input', + label = "Select Input", name, register, errors, @@ -25,7 +25,7 @@ export const Select = ({ return ( - {errors[name] && } + {errors[name] && } ); }; diff --git a/packages/ui/components/JoinGrid.tsx b/packages/ui/components/JoinGrid.tsx index 8c82740d..a76d1c37 100644 --- a/packages/ui/components/JoinGrid.tsx +++ b/packages/ui/components/JoinGrid.tsx @@ -1,4 +1,4 @@ -import { FC } from 'react'; +import { FC } from "react"; export type JoinGridProps = { children: any; @@ -6,7 +6,7 @@ export type JoinGridProps = { }; export const JoinGrid: FC = ({ children, cols = 2 }) => { return ( -
    +
    {children}
    ); diff --git a/packages/ui/components/List/List.tsx b/packages/ui/components/List/List.tsx index 95c1c584..0336fe2e 100644 --- a/packages/ui/components/List/List.tsx +++ b/packages/ui/components/List/List.tsx @@ -1,8 +1,8 @@ -import { FC, Fragment } from 'react'; -import { useAutoAnimate } from '@formkit/auto-animate/react'; -import { Card } from '../Card'; -import type { ApolloError } from '@apollo/client'; -import { ListEmptyState } from './ListEmptyState'; +import { FC, Fragment } from "react"; +import { useAutoAnimate } from "@formkit/auto-animate/react"; +import { Card } from "../Card"; +import type { ApolloError } from "@apollo/client"; +import { ListEmptyState } from "./ListEmptyState"; type ListProps = { data: T[]; @@ -22,20 +22,20 @@ export const ListErrorState: FC = ({ heading, message, }) => ( - +

    {message}

    -
    - - +
    + +
    ); export const ListLoadingState: FC = ({ - heading = 'Loading Data', + heading = "Loading Data", message, }) => ( - - + + ); @@ -51,7 +51,7 @@ export const List = ({ if (error) { return ( diff --git a/packages/ui/components/List/ListHeader.tsx b/packages/ui/components/List/ListHeader.tsx index 61642ca8..2c1b1fb9 100644 --- a/packages/ui/components/List/ListHeader.tsx +++ b/packages/ui/components/List/ListHeader.tsx @@ -1,5 +1,5 @@ -import { JoinGrid } from 'ui'; -import { HiArrowSmallLeft, HiArrowSmallRight } from 'react-icons/hi2'; +import { JoinGrid } from "ui"; +import { HiArrowSmallLeft, HiArrowSmallRight } from "react-icons/hi2"; export type ListHeaderProps = { onPreviousPage?: () => void; @@ -22,10 +22,10 @@ export const ListHeader = ({ title, }: ListHeaderProps) => { return ( -
    -
    -

    {title}

    -
    +
    +
    +

    {title}

    +
    {size} {sizeLabel}
    @@ -33,16 +33,16 @@ export const ListHeader = ({ {size > limit && ( - -
    - + +
    + {/* if there is a button in form, it will close the modal */} -

    {title}

    +

    {title}

    {children}
    diff --git a/packages/ui/components/MultiStepForm/FormSteps.tsx b/packages/ui/components/MultiStepForm/FormSteps.tsx index 258d9f89..aa5306b2 100644 --- a/packages/ui/components/MultiStepForm/FormSteps.tsx +++ b/packages/ui/components/MultiStepForm/FormSteps.tsx @@ -1,7 +1,7 @@ export const FormSteps = () => { - return ( -
      -
    • Hi
    • -
    - ) -} \ No newline at end of file + return ( +
      +
    • Hi
    • +
    + ); +}; diff --git a/packages/ui/components/MultiStepForm/StepsPaginator.tsx b/packages/ui/components/MultiStepForm/StepsPaginator.tsx index 3c68e242..6993d86a 100644 --- a/packages/ui/components/MultiStepForm/StepsPaginator.tsx +++ b/packages/ui/components/MultiStepForm/StepsPaginator.tsx @@ -1,7 +1,7 @@ export const FormStepsPaginator = () => { - return ( -
      -
    • Hi
    • -
    - ) -} \ No newline at end of file + return ( +
      +
    • Hi
    • +
    + ); +}; diff --git a/packages/ui/components/MultiStepForm/index.ts b/packages/ui/components/MultiStepForm/index.ts index 8fc63b2e..91ec0baa 100644 --- a/packages/ui/components/MultiStepForm/index.ts +++ b/packages/ui/components/MultiStepForm/index.ts @@ -1,3 +1,3 @@ export * from "./FormSteps"; export * from "./StepsPaginator"; -export * from "./types"; \ No newline at end of file +export * from "./types"; diff --git a/packages/ui/components/MultiStepForm/types.ts b/packages/ui/components/MultiStepForm/types.ts index 9505849d..ca228287 100644 --- a/packages/ui/components/MultiStepForm/types.ts +++ b/packages/ui/components/MultiStepForm/types.ts @@ -11,8 +11,8 @@ export type FormDataState = Record; export type SahilBusinessPartner = Record; export type StepItem = { - title: string; - step: StepDirection; - icon?: IconType; - completed?: boolean; -} \ No newline at end of file + title: string; + step: StepDirection; + icon?: IconType; + completed?: boolean; +}; diff --git a/packages/ui/components/Navbar.tsx b/packages/ui/components/Navbar.tsx index c1ae358c..97773127 100644 --- a/packages/ui/components/Navbar.tsx +++ b/packages/ui/components/Navbar.tsx @@ -16,7 +16,7 @@ export type NavbarProps = { header?: string; }; -export const Navbar: FC = ({ links, logo, header = "Sahil"}) => { +export const Navbar: FC = ({ links, logo, header = "Sahil" }) => { return (
    diff --git a/packages/ui/components/ProfileOverviewCard.tsx b/packages/ui/components/ProfileOverviewCard.tsx index 773a37dd..0159d2ee 100644 --- a/packages/ui/components/ProfileOverviewCard.tsx +++ b/packages/ui/components/ProfileOverviewCard.tsx @@ -1,5 +1,3 @@ export const ProfileOverviewCard = () => { - return ( -

    Hi

    - ) -} \ No newline at end of file + return

    Hi

    ; +}; diff --git a/packages/ui/components/Select.tsx b/packages/ui/components/Select.tsx index 01a7164d..b76677e4 100644 --- a/packages/ui/components/Select.tsx +++ b/packages/ui/components/Select.tsx @@ -1,5 +1,5 @@ -import { FormControl, FormControlError } from './FormControl'; -import { BaseInputProps } from '../types'; +import { FormControl, FormControlError } from "./FormControl"; +import { BaseInputProps } from "../types"; type SelectProps = BaseInputProps & { options: any[]; @@ -7,7 +7,7 @@ type SelectProps = BaseInputProps & { export const Select = ({ options, - label = 'Select Input', + label = "Select Input", name, register, errors, @@ -15,7 +15,7 @@ export const Select = ({ return ( - {errors[name] && } + {errors[name] && } ); }; diff --git a/packages/ui/components/SidebarWrapper.tsx b/packages/ui/components/SidebarWrapper.tsx index 554fa9ab..4aa1cc93 100644 --- a/packages/ui/components/SidebarWrapper.tsx +++ b/packages/ui/components/SidebarWrapper.tsx @@ -5,9 +5,5 @@ export type SidebarWrapperProps = { }; export const SidebarWrapper = ({ children }: SidebarWrapperProps) => { - return ( -
    - {children} -
    - ); -}; \ No newline at end of file + return
    {children}
    ; +}; diff --git a/packages/ui/components/Steps.tsx b/packages/ui/components/Steps.tsx index c66667f1..a08c1c0f 100644 --- a/packages/ui/components/Steps.tsx +++ b/packages/ui/components/Steps.tsx @@ -30,7 +30,7 @@ export const Step: FC = ({ currentStep === step ? "bg-primary-content text-primary-focus" : null } hover:bg-gray-100 cursor-pointer`} > - { icon && } {title} + {icon && } {title}
    ); diff --git a/packages/ui/components/Wrapper.tsx b/packages/ui/components/Wrapper.tsx index 71ff0c6f..65ec9132 100644 --- a/packages/ui/components/Wrapper.tsx +++ b/packages/ui/components/Wrapper.tsx @@ -5,9 +5,5 @@ export type WrapperProps = { }; export const Wrapper = ({ children }: WrapperProps) => { - return ( -
    - {children} -
    - ); -}; \ No newline at end of file + return
    {children}
    ; +}; diff --git a/packages/ui/index.tsx b/packages/ui/index.tsx index 64f1ca0e..98b44950 100644 --- a/packages/ui/index.tsx +++ b/packages/ui/index.tsx @@ -1,25 +1,24 @@ -import * as React from 'react'; +import * as React from "react"; // component exports -export * from './components/Avatar'; -export * from './components/Button'; -export * from './components/Card'; -export * from './components/FormControl'; -export * from './components/Header'; -export * from './components/Icon'; -export * from './components/IconButton'; -export * from './components/Input'; -export * from './components/JoinGrid'; -export * from './components/List/List'; -export * from './components/List/ListHeader'; -export * from './components/Navbar'; +export * from "./components/Avatar"; +export * from "./components/Button"; +export * from "./components/Card"; +export * from "./components/FormControl"; +export * from "./components/Header"; +export * from "./components/Icon"; +export * from "./components/IconButton"; +export * from "./components/Input"; +export * from "./components/JoinGrid"; +export * from "./components/List/List"; +export * from "./components/List/ListHeader"; +export * from "./components/Navbar"; export * from "./components/ProfileOverviewCard"; -export * from './components/Stats'; -export * from './components/Select'; -export * from './components/Steps'; -export * from './components/Modal'; +export * from "./components/Stats"; +export * from "./components/Select"; +export * from "./components/Steps"; +export * from "./components/Modal"; export * from "./components/Tabs"; -export * from './components/Toggle'; -export * from './components/Wrapper'; -export * from './components/SidebarWrapper'; - +export * from "./components/Toggle"; +export * from "./components/Wrapper"; +export * from "./components/SidebarWrapper"; diff --git a/packages/ui/types.tsx b/packages/ui/types.tsx index ed983bd7..a4e9058b 100644 --- a/packages/ui/types.tsx +++ b/packages/ui/types.tsx @@ -1,10 +1,10 @@ import { - DeepMap, - FieldError, - FieldValues, - UseFormRegister, - Path, - } from 'react-hook-form'; + DeepMap, + FieldError, + FieldValues, + UseFormRegister, + Path, +} from "react-hook-form"; export type FormErrors = DeepMap; @@ -14,4 +14,4 @@ export type BaseInputProps = { errors: FormErrors; defaultValue?: string | number; register: UseFormRegister; -} \ No newline at end of file +}; diff --git a/turbo.json b/turbo.json index ec4d016d..91f44f5e 100644 --- a/turbo.json +++ b/turbo.json @@ -1,4 +1,5 @@ { + "globalDotEnv": [".env"], "$schema": "https://turbo.build/schema.json", "globalDependencies": ["**/.env.*local"], "pipeline": { diff --git a/yarn.lock b/yarn.lock index 5c77c1e9..80e1e4be 100644 --- a/yarn.lock +++ b/yarn.lock @@ -12,6 +12,14 @@ resolved "https://registry.yarnpkg.com/@alloc/quick-lru/-/quick-lru-5.2.0.tgz#7bf68b20c0a350f936915fcae06f58e32007ce30" integrity sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw== +"@ampproject/remapping@^2.2.0": + version "2.2.1" + resolved "https://registry.yarnpkg.com/@ampproject/remapping/-/remapping-2.2.1.tgz#99e8e11851128b8702cd57c33684f1d0f260b630" + integrity sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO96zhkjwtg== + dependencies: + "@jridgewell/gen-mapping" "^0.3.0" + "@jridgewell/trace-mapping" "^0.3.9" + "@apollo/cache-control-types@^1.0.3": version "1.0.3" resolved "https://registry.yarnpkg.com/@apollo/cache-control-types/-/cache-control-types-1.0.3.tgz#5da62cf64c3b4419dabfef4536b57a40c8ff0b47" @@ -314,6 +322,36 @@ dependencies: xss "^1.0.8" +"@ardatan/relay-compiler@12.0.0": + version "12.0.0" + resolved "https://registry.yarnpkg.com/@ardatan/relay-compiler/-/relay-compiler-12.0.0.tgz#2e4cca43088e807adc63450e8cab037020e91106" + integrity sha512-9anThAaj1dQr6IGmzBMcfzOQKTa5artjuPmw8NYK/fiGEMjADbSguBY2FMDykt+QhilR3wc9VA/3yVju7JHg7Q== + dependencies: + "@babel/core" "^7.14.0" + "@babel/generator" "^7.14.0" + "@babel/parser" "^7.14.0" + "@babel/runtime" "^7.0.0" + "@babel/traverse" "^7.14.0" + "@babel/types" "^7.0.0" + babel-preset-fbjs "^3.4.0" + chalk "^4.0.0" + fb-watchman "^2.0.0" + fbjs "^3.0.0" + glob "^7.1.1" + immutable "~3.7.6" + invariant "^2.2.4" + nullthrows "^1.1.1" + relay-runtime "12.0.0" + signedsource "^1.0.0" + yargs "^15.3.1" + +"@ardatan/sync-fetch@^0.0.1": + version "0.0.1" + resolved "https://registry.yarnpkg.com/@ardatan/sync-fetch/-/sync-fetch-0.0.1.tgz#3385d3feedceb60a896518a1db857ec1e945348f" + integrity sha512-xhlTqH0m31mnsG0tIP4ETgfSB6gXDaYYsUWTrlUV93fFQPI9dd8hE0Ot6MHLCtqgB32hwJAC3YZMWlXZw7AleA== + dependencies: + node-fetch "^2.6.1" + "@babel/code-frame@7.12.11": version "7.12.11" resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.12.11.tgz#f4ad435aa263db935b8f10f2c552d23fb716a63f" @@ -321,11 +359,194 @@ dependencies: "@babel/highlight" "^7.10.4" +"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.22.13", "@babel/code-frame@^7.23.5": + version "7.23.5" + resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.23.5.tgz#9009b69a8c602293476ad598ff53e4562e15c244" + integrity sha512-CgH3s1a96LipHCmSUmYFPwY7MNx8C3avkq7i4Wl3cfa662ldtUe4VM1TPXX70pfmrlWTb6jLqTYrZyT2ZTJBgA== + dependencies: + "@babel/highlight" "^7.23.4" + chalk "^2.4.2" + +"@babel/compat-data@^7.20.5", "@babel/compat-data@^7.23.5": + version "7.23.5" + resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.23.5.tgz#ffb878728bb6bdcb6f4510aa51b1be9afb8cfd98" + integrity sha512-uU27kfDRlhfKl+w1U6vp16IuvSLtjAxdArVXPa9BvLkrr7CYIsxH5adpHObeAGY/41+syctUWOZ140a2Rvkgjw== + +"@babel/core@^7.14.0", "@babel/core@^7.22.9": + version "7.23.7" + resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.23.7.tgz#4d8016e06a14b5f92530a13ed0561730b5c6483f" + integrity sha512-+UpDgowcmqe36d4NwqvKsyPMlOLNGMsfMmQ5WGCu+siCe3t3dfe9njrzGfdN4qq+bcNUt0+Vw6haRxBOycs4dw== + dependencies: + "@ampproject/remapping" "^2.2.0" + "@babel/code-frame" "^7.23.5" + "@babel/generator" "^7.23.6" + "@babel/helper-compilation-targets" "^7.23.6" + "@babel/helper-module-transforms" "^7.23.3" + "@babel/helpers" "^7.23.7" + "@babel/parser" "^7.23.6" + "@babel/template" "^7.22.15" + "@babel/traverse" "^7.23.7" + "@babel/types" "^7.23.6" + convert-source-map "^2.0.0" + debug "^4.1.0" + gensync "^1.0.0-beta.2" + json5 "^2.2.3" + semver "^6.3.1" + +"@babel/generator@^7.14.0", "@babel/generator@^7.18.13", "@babel/generator@^7.23.6": + version "7.23.6" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.23.6.tgz#9e1fca4811c77a10580d17d26b57b036133f3c2e" + integrity sha512-qrSfCYxYQB5owCmGLbl8XRpX1ytXlpueOb0N0UmQwA073KZxejgQTzAmJezxvpwQD9uGtK2shHdi55QT+MbjIw== + dependencies: + "@babel/types" "^7.23.6" + "@jridgewell/gen-mapping" "^0.3.2" + "@jridgewell/trace-mapping" "^0.3.17" + jsesc "^2.5.1" + +"@babel/helper-annotate-as-pure@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.22.5.tgz#e7f06737b197d580a01edf75d97e2c8be99d3882" + integrity sha512-LvBTxu8bQSQkcyKOU+a1btnNFQ1dMAd0R6PyW3arXes06F6QLWLIrd681bxRPIXlrMGR3XYnW9JyML7dP3qgxg== + dependencies: + "@babel/types" "^7.22.5" + +"@babel/helper-compilation-targets@^7.20.7", "@babel/helper-compilation-targets@^7.22.15", "@babel/helper-compilation-targets@^7.23.6": + version "7.23.6" + resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.23.6.tgz#4d79069b16cbcf1461289eccfbbd81501ae39991" + integrity sha512-9JB548GZoQVmzrFgp8o7KxdgkTGm6xs9DW0o/Pim72UDjzr5ObUQ6ZzYPqA+g9OTS2bBQoctLJrky0RDCAWRgQ== + dependencies: + "@babel/compat-data" "^7.23.5" + "@babel/helper-validator-option" "^7.23.5" + browserslist "^4.22.2" + lru-cache "^5.1.1" + semver "^6.3.1" + +"@babel/helper-create-class-features-plugin@^7.18.6": + version "7.23.7" + resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.23.7.tgz#b2e6826e0e20d337143655198b79d58fdc9bd43d" + integrity sha512-xCoqR/8+BoNnXOY7RVSgv6X+o7pmT5q1d+gGcRlXYkI+9B31glE4jeejhKVpA04O1AtzOt7OSQ6VYKP5FcRl9g== + dependencies: + "@babel/helper-annotate-as-pure" "^7.22.5" + "@babel/helper-environment-visitor" "^7.22.20" + "@babel/helper-function-name" "^7.23.0" + "@babel/helper-member-expression-to-functions" "^7.23.0" + "@babel/helper-optimise-call-expression" "^7.22.5" + "@babel/helper-replace-supers" "^7.22.20" + "@babel/helper-skip-transparent-expression-wrappers" "^7.22.5" + "@babel/helper-split-export-declaration" "^7.22.6" + semver "^6.3.1" + +"@babel/helper-environment-visitor@^7.22.20": + version "7.22.20" + resolved "https://registry.yarnpkg.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz#96159db61d34a29dba454c959f5ae4a649ba9167" + integrity sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA== + +"@babel/helper-function-name@^7.23.0": + version "7.23.0" + resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz#1f9a3cdbd5b2698a670c30d2735f9af95ed52759" + integrity sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw== + dependencies: + "@babel/template" "^7.22.15" + "@babel/types" "^7.23.0" + +"@babel/helper-hoist-variables@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz#c01a007dac05c085914e8fb652b339db50d823bb" + integrity sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw== + dependencies: + "@babel/types" "^7.22.5" + +"@babel/helper-member-expression-to-functions@^7.22.15", "@babel/helper-member-expression-to-functions@^7.23.0": + version "7.23.0" + resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.23.0.tgz#9263e88cc5e41d39ec18c9a3e0eced59a3e7d366" + integrity sha512-6gfrPwh7OuT6gZyJZvd6WbTfrqAo7vm4xCzAXOusKqq/vWdKXphTpj5klHKNmRUU6/QRGlBsyU9mAIPaWHlqJA== + dependencies: + "@babel/types" "^7.23.0" + +"@babel/helper-module-imports@^7.22.15": + version "7.22.15" + resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.22.15.tgz#16146307acdc40cc00c3b2c647713076464bdbf0" + integrity sha512-0pYVBnDKZO2fnSPCrgM/6WMc7eS20Fbok+0r88fp+YtWVLZrp4CkafFGIp+W0VKw4a22sgebPT99y+FDNMdP4w== + dependencies: + "@babel/types" "^7.22.15" + +"@babel/helper-module-transforms@^7.23.3": + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.23.3.tgz#d7d12c3c5d30af5b3c0fcab2a6d5217773e2d0f1" + integrity sha512-7bBs4ED9OmswdfDzpz4MpWgSrV7FXlc3zIagvLFjS5H+Mk7Snr21vQ6QwrsoCGMfNC4e4LQPdoULEt4ykz0SRQ== + dependencies: + "@babel/helper-environment-visitor" "^7.22.20" + "@babel/helper-module-imports" "^7.22.15" + "@babel/helper-simple-access" "^7.22.5" + "@babel/helper-split-export-declaration" "^7.22.6" + "@babel/helper-validator-identifier" "^7.22.20" + +"@babel/helper-optimise-call-expression@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.22.5.tgz#f21531a9ccbff644fdd156b4077c16ff0c3f609e" + integrity sha512-HBwaojN0xFRx4yIvpwGqxiV2tUfl7401jlok564NgB9EHS1y6QT17FmKWm4ztqjeVdXLuC4fSvHc5ePpQjoTbw== + dependencies: + "@babel/types" "^7.22.5" + +"@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.18.6", "@babel/helper-plugin-utils@^7.20.2", "@babel/helper-plugin-utils@^7.22.5", "@babel/helper-plugin-utils@^7.8.0": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.22.5.tgz#dd7ee3735e8a313b9f7b05a773d892e88e6d7295" + integrity sha512-uLls06UVKgFG9QD4OeFYLEGteMIAa5kpTPcFL28yuCIIzsf6ZyKZMllKVOCZFhiZ5ptnwX4mtKdWCBE/uT4amg== + +"@babel/helper-replace-supers@^7.22.20": + version "7.22.20" + resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.22.20.tgz#e37d367123ca98fe455a9887734ed2e16eb7a793" + integrity sha512-qsW0In3dbwQUbK8kejJ4R7IHVGwHJlV6lpG6UA7a9hSa2YEiAib+N1T2kr6PEeUT+Fl7najmSOS6SmAwCHK6Tw== + dependencies: + "@babel/helper-environment-visitor" "^7.22.20" + "@babel/helper-member-expression-to-functions" "^7.22.15" + "@babel/helper-optimise-call-expression" "^7.22.5" + +"@babel/helper-simple-access@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.22.5.tgz#4938357dc7d782b80ed6dbb03a0fba3d22b1d5de" + integrity sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w== + dependencies: + "@babel/types" "^7.22.5" + +"@babel/helper-skip-transparent-expression-wrappers@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.22.5.tgz#007f15240b5751c537c40e77abb4e89eeaaa8847" + integrity sha512-tK14r66JZKiC43p8Ki33yLBVJKlQDFoA8GYN67lWCDCqoL6EMMSuM9b+Iff2jHaM/RRFYl7K+iiru7hbRqNx8Q== + dependencies: + "@babel/types" "^7.22.5" + +"@babel/helper-split-export-declaration@^7.22.6": + version "7.22.6" + resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz#322c61b7310c0997fe4c323955667f18fcefb91c" + integrity sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g== + dependencies: + "@babel/types" "^7.22.5" + +"@babel/helper-string-parser@^7.23.4": + version "7.23.4" + resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.23.4.tgz#9478c707febcbbe1ddb38a3d91a2e054ae622d83" + integrity sha512-803gmbQdqwdf4olxrX4AJyFBV/RTr3rSmOj0rKwesmzlfhYNDEs+/iOcznzpNWlJlIlTJC2QfPFcHB6DlzdVLQ== + "@babel/helper-validator-identifier@^7.22.20": version "7.22.20" resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz#c4ae002c61d2879e724581d96665583dbc1dc0e0" integrity sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A== +"@babel/helper-validator-option@^7.23.5": + version "7.23.5" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.23.5.tgz#907a3fbd4523426285365d1206c423c4c5520307" + integrity sha512-85ttAOMLsr53VgXkTbkx8oA6YTfT4q7/HzXSLEYmjcSTJPMPQtvq1BD79Byep5xMUYbGRzEpDsjUf3dyp54IKw== + +"@babel/helpers@^7.23.7": + version "7.23.8" + resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.23.8.tgz#fc6b2d65b16847fd50adddbd4232c76378959e34" + integrity sha512-KDqYz4PiOWvDFrdHLPhKtCThtIcKVy6avWD2oG4GEvyQ+XDZwHD4YQd+H2vNMnq2rkdxsDkU82T+Vk8U/WXHRQ== + dependencies: + "@babel/template" "^7.22.15" + "@babel/traverse" "^7.23.7" + "@babel/types" "^7.23.6" + "@babel/highlight@^7.10.4": version "7.22.20" resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.22.20.tgz#4ca92b71d80554b01427815e06f2df965b9c1f54" @@ -335,6 +556,234 @@ chalk "^2.4.2" js-tokens "^4.0.0" +"@babel/highlight@^7.23.4": + version "7.23.4" + resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.23.4.tgz#edaadf4d8232e1a961432db785091207ead0621b" + integrity sha512-acGdbYSfp2WheJoJm/EBBBLh/ID8KDc64ISZ9DYtBmC8/Q204PZJLHyzeB5qMzJ5trcOkybd78M4x2KWsUq++A== + dependencies: + "@babel/helper-validator-identifier" "^7.22.20" + chalk "^2.4.2" + js-tokens "^4.0.0" + +"@babel/parser@^7.14.0", "@babel/parser@^7.16.8", "@babel/parser@^7.22.15", "@babel/parser@^7.23.6": + version "7.23.6" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.23.6.tgz#ba1c9e512bda72a47e285ae42aff9d2a635a9e3b" + integrity sha512-Z2uID7YJ7oNvAI20O9X0bblw7Qqs8Q2hFy0R9tAfnfLkp5MW0UH9eUvnDSnFwKZ0AvgS1ucqR4KzvVHgnke1VQ== + +"@babel/plugin-proposal-class-properties@^7.0.0": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.18.6.tgz#b110f59741895f7ec21a6fff696ec46265c446a3" + integrity sha512-cumfXOF0+nzZrrN8Rf0t7M+tF6sZc7vhQwYQck9q1/5w2OExlD+b4v4RpMJFaV1Z7WcDRgO6FqvxqxGlwo+RHQ== + dependencies: + "@babel/helper-create-class-features-plugin" "^7.18.6" + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-proposal-object-rest-spread@^7.0.0": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.20.7.tgz#aa662940ef425779c75534a5c41e9d936edc390a" + integrity sha512-d2S98yCiLxDVmBmE8UjGcfPvNEUbA1U5q5WxaWFUGRzJSVAZqm5W6MbPct0jxnegUZ0niLeNX+IOzEs7wYg9Dg== + dependencies: + "@babel/compat-data" "^7.20.5" + "@babel/helper-compilation-targets" "^7.20.7" + "@babel/helper-plugin-utils" "^7.20.2" + "@babel/plugin-syntax-object-rest-spread" "^7.8.3" + "@babel/plugin-transform-parameters" "^7.20.7" + +"@babel/plugin-syntax-class-properties@^7.0.0": + version "7.12.13" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz#b5c987274c4a3a82b89714796931a6b53544ae10" + integrity sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA== + dependencies: + "@babel/helper-plugin-utils" "^7.12.13" + +"@babel/plugin-syntax-flow@^7.0.0", "@babel/plugin-syntax-flow@^7.23.3": + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-flow/-/plugin-syntax-flow-7.23.3.tgz#084564e0f3cc21ea6c70c44cff984a1c0509729a" + integrity sha512-YZiAIpkJAwQXBJLIQbRFayR5c+gJ35Vcz3bg954k7cd73zqjvhacJuL9RbrzPz8qPmZdgqP6EUKwy0PCNhaaPA== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/plugin-syntax-import-assertions@^7.20.0": + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.23.3.tgz#9c05a7f592982aff1a2768260ad84bcd3f0c77fc" + integrity sha512-lPgDSU+SJLK3xmFDTV2ZRQAiM7UuUjGidwBywFavObCiZc1BeAAcMtHJKUya92hPHO+at63JJPLygilZard8jw== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/plugin-syntax-jsx@^7.0.0", "@babel/plugin-syntax-jsx@^7.23.3": + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.23.3.tgz#8f2e4f8a9b5f9aa16067e142c1ac9cd9f810f473" + integrity sha512-EB2MELswq55OHUoRZLGg/zC7QWUKfNLpE57m/S2yr1uEneIgsTgrSzXP3NXEsMkVn76OlaVVnzN+ugObuYGwhg== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/plugin-syntax-object-rest-spread@^7.0.0", "@babel/plugin-syntax-object-rest-spread@^7.8.3": + version "7.8.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz#60e225edcbd98a640332a2e72dd3e66f1af55871" + integrity sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA== + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-transform-arrow-functions@^7.0.0": + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.23.3.tgz#94c6dcfd731af90f27a79509f9ab7fb2120fc38b" + integrity sha512-NzQcQrzaQPkaEwoTm4Mhyl8jI1huEL/WWIEvudjTCMJ9aBZNpsJbMASx7EQECtQQPS/DcnFpo0FIh3LvEO9cxQ== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/plugin-transform-block-scoped-functions@^7.0.0": + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.23.3.tgz#fe1177d715fb569663095e04f3598525d98e8c77" + integrity sha512-vI+0sIaPIO6CNuM9Kk5VmXcMVRiOpDh7w2zZt9GXzmE/9KD70CUEVhvPR/etAeNK/FAEkhxQtXOzVF3EuRL41A== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/plugin-transform-block-scoping@^7.0.0": + version "7.23.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.23.4.tgz#b2d38589531c6c80fbe25e6b58e763622d2d3cf5" + integrity sha512-0QqbP6B6HOh7/8iNR4CQU2Th/bbRtBp4KS9vcaZd1fZ0wSh5Fyssg0UCIHwxh+ka+pNDREbVLQnHCMHKZfPwfw== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/plugin-transform-classes@^7.0.0": + version "7.23.8" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.23.8.tgz#d08ae096c240347badd68cdf1b6d1624a6435d92" + integrity sha512-yAYslGsY1bX6Knmg46RjiCiNSwJKv2IUC8qOdYKqMMr0491SXFhcHqOdRDeCRohOOIzwN/90C6mQ9qAKgrP7dg== + dependencies: + "@babel/helper-annotate-as-pure" "^7.22.5" + "@babel/helper-compilation-targets" "^7.23.6" + "@babel/helper-environment-visitor" "^7.22.20" + "@babel/helper-function-name" "^7.23.0" + "@babel/helper-plugin-utils" "^7.22.5" + "@babel/helper-replace-supers" "^7.22.20" + "@babel/helper-split-export-declaration" "^7.22.6" + globals "^11.1.0" + +"@babel/plugin-transform-computed-properties@^7.0.0": + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.23.3.tgz#652e69561fcc9d2b50ba4f7ac7f60dcf65e86474" + integrity sha512-dTj83UVTLw/+nbiHqQSFdwO9CbTtwq1DsDqm3CUEtDrZNET5rT5E6bIdTlOftDTDLMYxvxHNEYO4B9SLl8SLZw== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + "@babel/template" "^7.22.15" + +"@babel/plugin-transform-destructuring@^7.0.0": + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.23.3.tgz#8c9ee68228b12ae3dff986e56ed1ba4f3c446311" + integrity sha512-n225npDqjDIr967cMScVKHXJs7rout1q+tt50inyBCPkyZ8KxeI6d+GIbSBTT/w/9WdlWDOej3V9HE5Lgk57gw== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/plugin-transform-flow-strip-types@^7.0.0": + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-flow-strip-types/-/plugin-transform-flow-strip-types-7.23.3.tgz#cfa7ca159cc3306fab526fc67091556b51af26ff" + integrity sha512-26/pQTf9nQSNVJCrLB1IkHUKyPxR+lMrH2QDPG89+Znu9rAMbtrybdbWeE9bb7gzjmE5iXHEY+e0HUwM6Co93Q== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + "@babel/plugin-syntax-flow" "^7.23.3" + +"@babel/plugin-transform-for-of@^7.0.0": + version "7.23.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.23.6.tgz#81c37e24171b37b370ba6aaffa7ac86bcb46f94e" + integrity sha512-aYH4ytZ0qSuBbpfhuofbg/e96oQ7U2w1Aw/UQmKT+1l39uEhUPoFS3fHevDc1G0OvewyDudfMKY1OulczHzWIw== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + "@babel/helper-skip-transparent-expression-wrappers" "^7.22.5" + +"@babel/plugin-transform-function-name@^7.0.0": + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.23.3.tgz#8f424fcd862bf84cb9a1a6b42bc2f47ed630f8dc" + integrity sha512-I1QXp1LxIvt8yLaib49dRW5Okt7Q4oaxao6tFVKS/anCdEOMtYwWVKoiOA1p34GOWIZjUK0E+zCp7+l1pfQyiw== + dependencies: + "@babel/helper-compilation-targets" "^7.22.15" + "@babel/helper-function-name" "^7.23.0" + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/plugin-transform-literals@^7.0.0": + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-literals/-/plugin-transform-literals-7.23.3.tgz#8214665f00506ead73de157eba233e7381f3beb4" + integrity sha512-wZ0PIXRxnwZvl9AYpqNUxpZ5BiTGrYt7kueGQ+N5FiQ7RCOD4cm8iShd6S6ggfVIWaJf2EMk8eRzAh52RfP4rQ== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/plugin-transform-member-expression-literals@^7.0.0": + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.23.3.tgz#e37b3f0502289f477ac0e776b05a833d853cabcc" + integrity sha512-sC3LdDBDi5x96LA+Ytekz2ZPk8i/Ck+DEuDbRAll5rknJ5XRTSaPKEYwomLcs1AA8wg9b3KjIQRsnApj+q51Ag== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/plugin-transform-modules-commonjs@^7.0.0": + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.23.3.tgz#661ae831b9577e52be57dd8356b734f9700b53b4" + integrity sha512-aVS0F65LKsdNOtcz6FRCpE4OgsP2OFnW46qNxNIX9h3wuzaNcSQsJysuMwqSibC98HPrf2vCgtxKNwS0DAlgcA== + dependencies: + "@babel/helper-module-transforms" "^7.23.3" + "@babel/helper-plugin-utils" "^7.22.5" + "@babel/helper-simple-access" "^7.22.5" + +"@babel/plugin-transform-object-super@^7.0.0": + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.23.3.tgz#81fdb636dcb306dd2e4e8fd80db5b2362ed2ebcd" + integrity sha512-BwQ8q0x2JG+3lxCVFohg+KbQM7plfpBwThdW9A6TMtWwLsbDA01Ek2Zb/AgDN39BiZsExm4qrXxjk+P1/fzGrA== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + "@babel/helper-replace-supers" "^7.22.20" + +"@babel/plugin-transform-parameters@^7.0.0", "@babel/plugin-transform-parameters@^7.20.7": + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.23.3.tgz#83ef5d1baf4b1072fa6e54b2b0999a7b2527e2af" + integrity sha512-09lMt6UsUb3/34BbECKVbVwrT9bO6lILWln237z7sLaWnMsTi7Yc9fhX5DLpkJzAGfaReXI22wP41SZmnAA3Vw== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/plugin-transform-property-literals@^7.0.0": + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.23.3.tgz#54518f14ac4755d22b92162e4a852d308a560875" + integrity sha512-jR3Jn3y7cZp4oEWPFAlRsSWjxKe4PZILGBSd4nis1TsC5qeSpb+nrtihJuDhNI7QHiVbUaiXa0X2RZY3/TI6Nw== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/plugin-transform-react-display-name@^7.0.0": + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.23.3.tgz#70529f034dd1e561045ad3c8152a267f0d7b6200" + integrity sha512-GnvhtVfA2OAtzdX58FJxU19rhoGeQzyVndw3GgtdECQvQFXPEZIOVULHVZGAYmOgmqjXpVpfocAbSjh99V/Fqw== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/plugin-transform-react-jsx@^7.0.0": + version "7.23.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.23.4.tgz#393f99185110cea87184ea47bcb4a7b0c2e39312" + integrity sha512-5xOpoPguCZCRbo/JeHlloSkTA8Bld1J/E1/kLfD1nsuiW1m8tduTA1ERCgIZokDflX/IBzKcqR3l7VlRgiIfHA== + dependencies: + "@babel/helper-annotate-as-pure" "^7.22.5" + "@babel/helper-module-imports" "^7.22.15" + "@babel/helper-plugin-utils" "^7.22.5" + "@babel/plugin-syntax-jsx" "^7.23.3" + "@babel/types" "^7.23.4" + +"@babel/plugin-transform-shorthand-properties@^7.0.0": + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.23.3.tgz#97d82a39b0e0c24f8a981568a8ed851745f59210" + integrity sha512-ED2fgqZLmexWiN+YNFX26fx4gh5qHDhn1O2gvEhreLW2iI63Sqm4llRLCXALKrCnbN4Jy0VcMQZl/SAzqug/jg== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/plugin-transform-spread@^7.0.0": + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-spread/-/plugin-transform-spread-7.23.3.tgz#41d17aacb12bde55168403c6f2d6bdca563d362c" + integrity sha512-VvfVYlrlBVu+77xVTOAoxQ6mZbnIq5FM0aGBSFEcIh03qHf+zNqA4DC/3XMUozTg7bZV3e3mZQ0i13VB6v5yUg== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + "@babel/helper-skip-transparent-expression-wrappers" "^7.22.5" + +"@babel/plugin-transform-template-literals@^7.0.0": + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.23.3.tgz#5f0f028eb14e50b5d0f76be57f90045757539d07" + integrity sha512-Flok06AYNp7GV2oJPZZcP9vZdszev6vPBkHLwxwSpaIqx75wn6mUd3UFWsSsA0l8nXAKkyCmL/sR02m8RYGeHg== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + "@babel/runtime-corejs3@^7.9.2": version "7.23.2" resolved "https://registry.yarnpkg.com/@babel/runtime-corejs3/-/runtime-corejs3-7.23.2.tgz#a5cd9d8b408fb946b2f074b21ea40c04e516795c" @@ -343,6 +792,13 @@ core-js-pure "^3.30.2" regenerator-runtime "^0.14.0" +"@babel/runtime@^7.0.0": + version "7.23.8" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.23.8.tgz#8ee6fe1ac47add7122902f257b8ddf55c898f650" + integrity sha512-Y7KbAP984rn1VGMbGqKmBLio9V7y5Je9GvU4rQPCPinCyNfUcToxIXl06d59URp/F3LwinvODxab5N/G6qggkw== + dependencies: + regenerator-runtime "^0.14.0" + "@babel/runtime@^7.20.13", "@babel/runtime@^7.21.0", "@babel/runtime@^7.23.1", "@babel/runtime@^7.23.2": version "7.23.2" resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.23.2.tgz#062b0ac103261d68a966c4c7baf2ae3e62ec3885" @@ -357,6 +813,40 @@ dependencies: regenerator-runtime "^0.14.0" +"@babel/template@^7.18.10", "@babel/template@^7.20.7", "@babel/template@^7.22.15": + version "7.22.15" + resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.22.15.tgz#09576efc3830f0430f4548ef971dde1350ef2f38" + integrity sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w== + dependencies: + "@babel/code-frame" "^7.22.13" + "@babel/parser" "^7.22.15" + "@babel/types" "^7.22.15" + +"@babel/traverse@^7.14.0", "@babel/traverse@^7.16.8", "@babel/traverse@^7.23.7": + version "7.23.7" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.23.7.tgz#9a7bf285c928cb99b5ead19c3b1ce5b310c9c305" + integrity sha512-tY3mM8rH9jM0YHFGyfC0/xf+SB5eKUu7HPj7/k3fpi9dAlsMc5YbQvDi0Sh2QTPXqMhyaAtzAr807TIyfQrmyg== + dependencies: + "@babel/code-frame" "^7.23.5" + "@babel/generator" "^7.23.6" + "@babel/helper-environment-visitor" "^7.22.20" + "@babel/helper-function-name" "^7.23.0" + "@babel/helper-hoist-variables" "^7.22.5" + "@babel/helper-split-export-declaration" "^7.22.6" + "@babel/parser" "^7.23.6" + "@babel/types" "^7.23.6" + debug "^4.3.1" + globals "^11.1.0" + +"@babel/types@^7.0.0", "@babel/types@^7.16.8", "@babel/types@^7.18.13", "@babel/types@^7.22.15", "@babel/types@^7.22.5", "@babel/types@^7.23.0", "@babel/types@^7.23.4", "@babel/types@^7.23.6": + version "7.23.6" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.23.6.tgz#be33fdb151e1f5a56877d704492c240fc71c7ccd" + integrity sha512-+uarb83brBzPKN38NX1MkB6vb6+mwvR6amUulqAE7ccQw1pEl+bCia9TbdG1lsnFP7lZySvUn37CHyXQdfTwzg== + dependencies: + "@babel/helper-string-parser" "^7.23.4" + "@babel/helper-validator-identifier" "^7.22.20" + to-fast-properties "^2.0.0" + "@colors/colors@1.6.0", "@colors/colors@^1.6.0": version "1.6.0" resolved "https://registry.yarnpkg.com/@colors/colors/-/colors-1.6.0.tgz#ec6cd237440700bc23ca23087f513c75508958b0" @@ -463,6 +953,361 @@ dependencies: crypto-js "^4.1.1" +"@graphql-codegen/add@^5.0.0": + version "5.0.0" + resolved "https://registry.yarnpkg.com/@graphql-codegen/add/-/add-5.0.0.tgz#578ebaf4fa87c1e934c381cd679bcedcf79feaba" + integrity sha512-ynWDOsK2yxtFHwcJTB9shoSkUd7YXd6ZE57f0nk7W5cu/nAgxZZpEsnTPEpZB/Mjf14YRGe2uJHQ7AfElHjqUQ== + dependencies: + "@graphql-codegen/plugin-helpers" "^5.0.0" + tslib "~2.5.0" + +"@graphql-codegen/cli@^5.0.0": + version "5.0.0" + resolved "https://registry.yarnpkg.com/@graphql-codegen/cli/-/cli-5.0.0.tgz#761dcf08cfee88bbdd9cdf8097b2343445ec6f0a" + integrity sha512-A7J7+be/a6e+/ul2KI5sfJlpoqeqwX8EzktaKCeduyVKgOLA6W5t+NUGf6QumBDXU8PEOqXk3o3F+RAwCWOiqA== + dependencies: + "@babel/generator" "^7.18.13" + "@babel/template" "^7.18.10" + "@babel/types" "^7.18.13" + "@graphql-codegen/core" "^4.0.0" + "@graphql-codegen/plugin-helpers" "^5.0.1" + "@graphql-tools/apollo-engine-loader" "^8.0.0" + "@graphql-tools/code-file-loader" "^8.0.0" + "@graphql-tools/git-loader" "^8.0.0" + "@graphql-tools/github-loader" "^8.0.0" + "@graphql-tools/graphql-file-loader" "^8.0.0" + "@graphql-tools/json-file-loader" "^8.0.0" + "@graphql-tools/load" "^8.0.0" + "@graphql-tools/prisma-loader" "^8.0.0" + "@graphql-tools/url-loader" "^8.0.0" + "@graphql-tools/utils" "^10.0.0" + "@whatwg-node/fetch" "^0.8.0" + chalk "^4.1.0" + cosmiconfig "^8.1.3" + debounce "^1.2.0" + detect-indent "^6.0.0" + graphql-config "^5.0.2" + inquirer "^8.0.0" + is-glob "^4.0.1" + jiti "^1.17.1" + json-to-pretty-yaml "^1.2.2" + listr2 "^4.0.5" + log-symbols "^4.0.0" + micromatch "^4.0.5" + shell-quote "^1.7.3" + string-env-interpolation "^1.0.1" + ts-log "^2.2.3" + tslib "^2.4.0" + yaml "^2.3.1" + yargs "^17.0.0" + +"@graphql-codegen/client-preset@^4.1.0": + version "4.1.0" + resolved "https://registry.yarnpkg.com/@graphql-codegen/client-preset/-/client-preset-4.1.0.tgz#81becd32b78b207b0e966876900537ec172d8df1" + integrity sha512-/3Ymb/fjxIF1+HGmaI1YwSZbWsrZAWMSQjh3dU425eBjctjsVQ6gzGRr+l/gE5F1mtmCf+vlbTAT03heAc/QIw== + dependencies: + "@babel/helper-plugin-utils" "^7.20.2" + "@babel/template" "^7.20.7" + "@graphql-codegen/add" "^5.0.0" + "@graphql-codegen/gql-tag-operations" "4.0.1" + "@graphql-codegen/plugin-helpers" "^5.0.1" + "@graphql-codegen/typed-document-node" "^5.0.1" + "@graphql-codegen/typescript" "^4.0.1" + "@graphql-codegen/typescript-operations" "^4.0.1" + "@graphql-codegen/visitor-plugin-common" "^4.0.1" + "@graphql-tools/documents" "^1.0.0" + "@graphql-tools/utils" "^10.0.0" + "@graphql-typed-document-node/core" "3.2.0" + tslib "~2.5.0" + +"@graphql-codegen/core@^4.0.0": + version "4.0.0" + resolved "https://registry.yarnpkg.com/@graphql-codegen/core/-/core-4.0.0.tgz#b29c911746a532a675e33720acb4eb2119823e01" + integrity sha512-JAGRn49lEtSsZVxeIlFVIRxts2lWObR+OQo7V2LHDJ7ohYYw3ilv7nJ8pf8P4GTg/w6ptcYdSdVVdkI8kUHB/Q== + dependencies: + "@graphql-codegen/plugin-helpers" "^5.0.0" + "@graphql-tools/schema" "^10.0.0" + "@graphql-tools/utils" "^10.0.0" + tslib "~2.5.0" + +"@graphql-codegen/gql-tag-operations@4.0.1": + version "4.0.1" + resolved "https://registry.yarnpkg.com/@graphql-codegen/gql-tag-operations/-/gql-tag-operations-4.0.1.tgz#36c7d40a135b9889d7f225166be323c3d48cee87" + integrity sha512-qF6wIbBzW8BNT+wiVsBxrYOs2oYcsxQ7mRvCpfEI3HnNZMAST/uX76W8MqFEJvj4mw7NIDv7xYJAcAZIWM5LWw== + dependencies: + "@graphql-codegen/plugin-helpers" "^5.0.0" + "@graphql-codegen/visitor-plugin-common" "4.0.1" + "@graphql-tools/utils" "^10.0.0" + auto-bind "~4.0.0" + tslib "~2.5.0" + +"@graphql-codegen/introspection@4.0.0": + version "4.0.0" + resolved "https://registry.yarnpkg.com/@graphql-codegen/introspection/-/introspection-4.0.0.tgz#1d851d8fb38efbeaf45128456e3010a16e6c9708" + integrity sha512-t9g3AkK99dfHblMWtG4ynUM9+A7JrWq5110zSpNV2wlSnv0+bRKagDW8gozwgXfR5i1IIG8QDjJZ6VgXQVqCZw== + dependencies: + "@graphql-codegen/plugin-helpers" "^5.0.0" + "@graphql-codegen/visitor-plugin-common" "^4.0.0" + tslib "~2.5.0" + +"@graphql-codegen/plugin-helpers@^5.0.0", "@graphql-codegen/plugin-helpers@^5.0.1": + version "5.0.1" + resolved "https://registry.yarnpkg.com/@graphql-codegen/plugin-helpers/-/plugin-helpers-5.0.1.tgz#e2429fcfba3f078d5aa18aa062d46c922bbb0d55" + integrity sha512-6L5sb9D8wptZhnhLLBcheSPU7Tg//DGWgc5tQBWX46KYTOTQHGqDpv50FxAJJOyFVJrveN9otWk9UT9/yfY4ww== + dependencies: + "@graphql-tools/utils" "^10.0.0" + change-case-all "1.0.15" + common-tags "1.8.2" + import-from "4.0.0" + lodash "~4.17.0" + tslib "~2.5.0" + +"@graphql-codegen/schema-ast@^4.0.0": + version "4.0.0" + resolved "https://registry.yarnpkg.com/@graphql-codegen/schema-ast/-/schema-ast-4.0.0.tgz#5d60996c87b64f81847da8fcb2d8ef50ede89755" + integrity sha512-WIzkJFa9Gz28FITAPILbt+7A8+yzOyd1NxgwFh7ie+EmO9a5zQK6UQ3U/BviirguXCYnn+AR4dXsoDrSrtRA1g== + dependencies: + "@graphql-codegen/plugin-helpers" "^5.0.0" + "@graphql-tools/utils" "^10.0.0" + tslib "~2.5.0" + +"@graphql-codegen/typed-document-node@^5.0.1": + version "5.0.1" + resolved "https://registry.yarnpkg.com/@graphql-codegen/typed-document-node/-/typed-document-node-5.0.1.tgz#ac90cf67c61554f63ec100d6076b47c9f0b18b27" + integrity sha512-VFkhCuJnkgtbbgzoCAwTdJe2G1H6sd3LfCrDqWUrQe53y2ukfSb5Ov1PhAIkCBStKCMQBUY9YgGz9GKR40qQ8g== + dependencies: + "@graphql-codegen/plugin-helpers" "^5.0.0" + "@graphql-codegen/visitor-plugin-common" "4.0.1" + auto-bind "~4.0.0" + change-case-all "1.0.15" + tslib "~2.5.0" + +"@graphql-codegen/typescript-operations@^4.0.1": + version "4.0.1" + resolved "https://registry.yarnpkg.com/@graphql-codegen/typescript-operations/-/typescript-operations-4.0.1.tgz#930af3e2d2ae8ff06de696291be28fe7046a2fef" + integrity sha512-GpUWWdBVUec/Zqo23aFLBMrXYxN2irypHqDcKjN78JclDPdreasAEPcIpMfqf4MClvpmvDLy4ql+djVAwmkjbw== + dependencies: + "@graphql-codegen/plugin-helpers" "^5.0.0" + "@graphql-codegen/typescript" "^4.0.1" + "@graphql-codegen/visitor-plugin-common" "4.0.1" + auto-bind "~4.0.0" + tslib "~2.5.0" + +"@graphql-codegen/typescript-resolvers@^4.0.1": + version "4.0.1" + resolved "https://registry.yarnpkg.com/@graphql-codegen/typescript-resolvers/-/typescript-resolvers-4.0.1.tgz#e75aa2be18a76f8655f8ab85763d09b5ea722c40" + integrity sha512-dydE2VsNud/gZZG9FV0DldPA7voExCn7FQE3V9ZAjhqCDjCcSDHUIWxG5JoaW0G75ooPEDmN7ZFd+uaJ2BEqzQ== + dependencies: + "@graphql-codegen/plugin-helpers" "^5.0.0" + "@graphql-codegen/typescript" "^4.0.1" + "@graphql-codegen/visitor-plugin-common" "4.0.1" + "@graphql-tools/utils" "^10.0.0" + auto-bind "~4.0.0" + tslib "~2.5.0" + +"@graphql-codegen/typescript@^4.0.1": + version "4.0.1" + resolved "https://registry.yarnpkg.com/@graphql-codegen/typescript/-/typescript-4.0.1.tgz#7481d68f59bea802dd10e278dce73c8a1552b2a4" + integrity sha512-3YziQ21dCVdnHb+Us1uDb3pA6eG5Chjv0uTK+bt9dXeMlwYBU8MbtzvQTo4qvzWVC1AxSOKj0rgfNu1xCXqJyA== + dependencies: + "@graphql-codegen/plugin-helpers" "^5.0.0" + "@graphql-codegen/schema-ast" "^4.0.0" + "@graphql-codegen/visitor-plugin-common" "4.0.1" + auto-bind "~4.0.0" + tslib "~2.5.0" + +"@graphql-codegen/visitor-plugin-common@4.0.1", "@graphql-codegen/visitor-plugin-common@^4.0.0", "@graphql-codegen/visitor-plugin-common@^4.0.1": + version "4.0.1" + resolved "https://registry.yarnpkg.com/@graphql-codegen/visitor-plugin-common/-/visitor-plugin-common-4.0.1.tgz#64e293728b3c186f6767141e41fcdb310e50d367" + integrity sha512-Bi/1z0nHg4QMsAqAJhds+ForyLtk7A3HQOlkrZNm3xEkY7lcBzPtiOTLBtvziwopBsXUxqeSwVjOOFPLS5Yw1Q== + dependencies: + "@graphql-codegen/plugin-helpers" "^5.0.0" + "@graphql-tools/optimize" "^2.0.0" + "@graphql-tools/relay-operation-optimizer" "^7.0.0" + "@graphql-tools/utils" "^10.0.0" + auto-bind "~4.0.0" + change-case-all "1.0.15" + dependency-graph "^0.11.0" + graphql-tag "^2.11.0" + parse-filepath "^1.0.2" + tslib "~2.5.0" + +"@graphql-tools/apollo-engine-loader@^8.0.0": + version "8.0.0" + resolved "https://registry.yarnpkg.com/@graphql-tools/apollo-engine-loader/-/apollo-engine-loader-8.0.0.tgz#ac1f351cbe41508411784f25757f5557b0f27489" + integrity sha512-axQTbN5+Yxs1rJ6cWQBOfw3AEeC+fvIuZSfJLPLLvFJLj4pUm9fhxey/g6oQZAAQJqKPfw+tLDUQvnfvRK8Kmg== + dependencies: + "@ardatan/sync-fetch" "^0.0.1" + "@graphql-tools/utils" "^10.0.0" + "@whatwg-node/fetch" "^0.9.0" + tslib "^2.4.0" + +"@graphql-tools/batch-execute@^9.0.1": + version "9.0.2" + resolved "https://registry.yarnpkg.com/@graphql-tools/batch-execute/-/batch-execute-9.0.2.tgz#5ac3257501e7941fad40661bb5e1110d6312f58b" + integrity sha512-Y2uwdZI6ZnatopD/SYfZ1eGuQFI7OU2KGZ2/B/7G9ISmgMl5K+ZZWz/PfIEXeiHirIDhyk54s4uka5rj2xwKqQ== + dependencies: + "@graphql-tools/utils" "^10.0.5" + dataloader "^2.2.2" + tslib "^2.4.0" + value-or-promise "^1.0.12" + +"@graphql-tools/code-file-loader@^8.0.0": + version "8.0.3" + resolved "https://registry.yarnpkg.com/@graphql-tools/code-file-loader/-/code-file-loader-8.0.3.tgz#8e1e8c2fc05c94614ce25c3cee36b3b4ec08bb64" + integrity sha512-gVnnlWs0Ua+5FkuHHEriFUOI3OIbHv6DS1utxf28n6NkfGMJldC4j0xlJRY0LS6dWK34IGYgD4HelKYz2l8KiA== + dependencies: + "@graphql-tools/graphql-tag-pluck" "8.1.0" + "@graphql-tools/utils" "^10.0.0" + globby "^11.0.3" + tslib "^2.4.0" + unixify "^1.0.0" + +"@graphql-tools/delegate@^10.0.0", "@graphql-tools/delegate@^10.0.3": + version "10.0.3" + resolved "https://registry.yarnpkg.com/@graphql-tools/delegate/-/delegate-10.0.3.tgz#2d0e133da94ca92c24e0c7360414e5592321cf2d" + integrity sha512-Jor9oazZ07zuWkykD3OOhT/2XD74Zm6Ar0ENZMk75MDD51wB2UWUIMljtHxbJhV5A6UBC2v8x6iY0xdCGiIlyw== + dependencies: + "@graphql-tools/batch-execute" "^9.0.1" + "@graphql-tools/executor" "^1.0.0" + "@graphql-tools/schema" "^10.0.0" + "@graphql-tools/utils" "^10.0.5" + dataloader "^2.2.2" + tslib "^2.5.0" + +"@graphql-tools/documents@^1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@graphql-tools/documents/-/documents-1.0.0.tgz#e3ed97197cc22ec830ca227fd7d17e86d8424bdf" + integrity sha512-rHGjX1vg/nZ2DKqRGfDPNC55CWZBMldEVcH+91BThRa6JeT80NqXknffLLEZLRUxyikCfkwMsk6xR3UNMqG0Rg== + dependencies: + lodash.sortby "^4.7.0" + tslib "^2.4.0" + +"@graphql-tools/executor-graphql-ws@^1.0.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@graphql-tools/executor-graphql-ws/-/executor-graphql-ws-1.1.0.tgz#7727159ebaa9df4dc793d0d02e74dd1ca4a7cc60" + integrity sha512-yM67SzwE8rYRpm4z4AuGtABlOp9mXXVy6sxXnTJRoYIdZrmDbKVfIY+CpZUJCqS0FX3xf2+GoHlsj7Qswaxgcg== + dependencies: + "@graphql-tools/utils" "^10.0.2" + "@types/ws" "^8.0.0" + graphql-ws "^5.14.0" + isomorphic-ws "^5.0.0" + tslib "^2.4.0" + ws "^8.13.0" + +"@graphql-tools/executor-http@^1.0.0", "@graphql-tools/executor-http@^1.0.5": + version "1.0.7" + resolved "https://registry.yarnpkg.com/@graphql-tools/executor-http/-/executor-http-1.0.7.tgz#c358f91d4f88e49b9be7408a517f77a3079b2d91" + integrity sha512-/MoRYzQS50Tz5mxRfq3ZmeZ2SOins9wGZAGetsJ55F3PxL0PmHdSGlCq12KzffZDbwHV5YMlwigBsSGWq4y9Iw== + dependencies: + "@graphql-tools/utils" "^10.0.2" + "@repeaterjs/repeater" "^3.0.4" + "@whatwg-node/fetch" "^0.9.0" + extract-files "^11.0.0" + meros "^1.2.1" + tslib "^2.4.0" + value-or-promise "^1.0.12" + +"@graphql-tools/executor-legacy-ws@^1.0.0": + version "1.0.5" + resolved "https://registry.yarnpkg.com/@graphql-tools/executor-legacy-ws/-/executor-legacy-ws-1.0.5.tgz#07de9d6e0e49febbcb87d6558bbeebf3940ff25a" + integrity sha512-w54AZ7zkNuvpyV09FH+eGHnnAmaxhBVHg4Yh2ICcsMfRg0brkLt77PlbjBuxZ4HY8XZnKJaYWf+tKazQZtkQtg== + dependencies: + "@graphql-tools/utils" "^10.0.0" + "@types/ws" "^8.0.0" + isomorphic-ws "^5.0.0" + tslib "^2.4.0" + ws "^8.15.0" + +"@graphql-tools/executor@^1.0.0": + version "1.2.0" + resolved "https://registry.yarnpkg.com/@graphql-tools/executor/-/executor-1.2.0.tgz#6c45f4add765769d9820c4c4405b76957ba39c79" + integrity sha512-SKlIcMA71Dha5JnEWlw4XxcaJ+YupuXg0QCZgl2TOLFz4SkGCwU/geAsJvUJFwK2RbVLpQv/UMq67lOaBuwDtg== + dependencies: + "@graphql-tools/utils" "^10.0.0" + "@graphql-typed-document-node/core" "3.2.0" + "@repeaterjs/repeater" "^3.0.4" + tslib "^2.4.0" + value-or-promise "^1.0.12" + +"@graphql-tools/git-loader@^8.0.0": + version "8.0.3" + resolved "https://registry.yarnpkg.com/@graphql-tools/git-loader/-/git-loader-8.0.3.tgz#a86d352b23a646c28d27282fef7694b846b31c44" + integrity sha512-Iz9KbRUAkuOe8JGTS0qssyJ+D5Snle17W+z9anwWrLFrkBhHrRFUy5AdjZqgJuhls0x30QkZBnnCtnHDBdQ4nA== + dependencies: + "@graphql-tools/graphql-tag-pluck" "8.1.0" + "@graphql-tools/utils" "^10.0.0" + is-glob "4.0.3" + micromatch "^4.0.4" + tslib "^2.4.0" + unixify "^1.0.0" + +"@graphql-tools/github-loader@^8.0.0": + version "8.0.0" + resolved "https://registry.yarnpkg.com/@graphql-tools/github-loader/-/github-loader-8.0.0.tgz#683195800618364701cfea9bc6f88674486f053b" + integrity sha512-VuroArWKcG4yaOWzV0r19ElVIV6iH6UKDQn1MXemND0xu5TzrFme0kf3U9o0YwNo0kUYEk9CyFM0BYg4he17FA== + dependencies: + "@ardatan/sync-fetch" "^0.0.1" + "@graphql-tools/executor-http" "^1.0.0" + "@graphql-tools/graphql-tag-pluck" "^8.0.0" + "@graphql-tools/utils" "^10.0.0" + "@whatwg-node/fetch" "^0.9.0" + tslib "^2.4.0" + value-or-promise "^1.0.12" + +"@graphql-tools/graphql-file-loader@^8.0.0": + version "8.0.0" + resolved "https://registry.yarnpkg.com/@graphql-tools/graphql-file-loader/-/graphql-file-loader-8.0.0.tgz#a2026405bce86d974000455647511bf65df4f211" + integrity sha512-wRXj9Z1IFL3+zJG1HWEY0S4TXal7+s1vVhbZva96MSp0kbb/3JBF7j0cnJ44Eq0ClccMgGCDFqPFXty4JlpaPg== + dependencies: + "@graphql-tools/import" "7.0.0" + "@graphql-tools/utils" "^10.0.0" + globby "^11.0.3" + tslib "^2.4.0" + unixify "^1.0.0" + +"@graphql-tools/graphql-tag-pluck@8.1.0", "@graphql-tools/graphql-tag-pluck@^8.0.0": + version "8.1.0" + resolved "https://registry.yarnpkg.com/@graphql-tools/graphql-tag-pluck/-/graphql-tag-pluck-8.1.0.tgz#0745b6f0103eb725f10c5d4c1a9438670bb8e05b" + integrity sha512-kt5l6H/7QxQcIaewInTcune6NpATojdFEW98/8xWcgmy7dgXx5vU9e0AicFZIH+ewGyZzTpwFqO2RI03roxj2w== + dependencies: + "@babel/core" "^7.22.9" + "@babel/parser" "^7.16.8" + "@babel/plugin-syntax-import-assertions" "^7.20.0" + "@babel/traverse" "^7.16.8" + "@babel/types" "^7.16.8" + "@graphql-tools/utils" "^10.0.0" + tslib "^2.4.0" + +"@graphql-tools/import@7.0.0": + version "7.0.0" + resolved "https://registry.yarnpkg.com/@graphql-tools/import/-/import-7.0.0.tgz#a6a91a90a707d5f46bad0fd3fde2f407b548b2be" + integrity sha512-NVZiTO8o1GZs6OXzNfjB+5CtQtqsZZpQOq+Uu0w57kdUkT4RlQKlwhT8T81arEsbV55KpzkpFsOZP7J1wdmhBw== + dependencies: + "@graphql-tools/utils" "^10.0.0" + resolve-from "5.0.0" + tslib "^2.4.0" + +"@graphql-tools/json-file-loader@^8.0.0": + version "8.0.0" + resolved "https://registry.yarnpkg.com/@graphql-tools/json-file-loader/-/json-file-loader-8.0.0.tgz#9b1b62902f766ef3f1c9cd1c192813ea4f48109c" + integrity sha512-ki6EF/mobBWJjAAC84xNrFMhNfnUFD6Y0rQMGXekrUgY0NdeYXHU0ZUgHzC9O5+55FslqUmAUHABePDHTyZsLg== + dependencies: + "@graphql-tools/utils" "^10.0.0" + globby "^11.0.3" + tslib "^2.4.0" + unixify "^1.0.0" + +"@graphql-tools/load@^8.0.0": + version "8.0.1" + resolved "https://registry.yarnpkg.com/@graphql-tools/load/-/load-8.0.1.tgz#498f2230448601cb87894b8a93df7867daef69ea" + integrity sha512-qSMsKngJhDqRbuWyo3NvakEFqFL6+eSjy8ooJ1o5qYD26N7dqXkKzIMycQsX7rBK19hOuINAUSaRcVWH6hTccw== + dependencies: + "@graphql-tools/schema" "^10.0.0" + "@graphql-tools/utils" "^10.0.11" + p-limit "3.1.0" + tslib "^2.4.0" + "@graphql-tools/merge@8.3.1": version "8.3.1" resolved "https://registry.yarnpkg.com/@graphql-tools/merge/-/merge-8.3.1.tgz#06121942ad28982a14635dbc87b5d488a041d722" @@ -479,6 +1324,14 @@ "@graphql-tools/utils" "^9.2.1" tslib "^2.4.0" +"@graphql-tools/merge@^9.0.0", "@graphql-tools/merge@^9.0.1": + version "9.0.1" + resolved "https://registry.yarnpkg.com/@graphql-tools/merge/-/merge-9.0.1.tgz#693f15da152339284469b1ce5c6827e3ae350a29" + integrity sha512-hIEExWO9fjA6vzsVjJ3s0cCQ+Q/BEeMVJZtMXd7nbaVefVy0YDyYlEkeoYYNV3NVVvu1G9lr6DM1Qd0DGo9Caw== + dependencies: + "@graphql-tools/utils" "^10.0.10" + tslib "^2.4.0" + "@graphql-tools/mock@^8.1.2": version "8.7.20" resolved "https://registry.yarnpkg.com/@graphql-tools/mock/-/mock-8.7.20.tgz#c83ae0f1940d194a3982120c9c85f3ac6b4f7f20" @@ -489,6 +1342,56 @@ fast-json-stable-stringify "^2.1.0" tslib "^2.4.0" +"@graphql-tools/optimize@^2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@graphql-tools/optimize/-/optimize-2.0.0.tgz#7a9779d180824511248a50c5a241eff6e7a2d906" + integrity sha512-nhdT+CRGDZ+bk68ic+Jw1OZ99YCDIKYA5AlVAnBHJvMawSx9YQqQAIj4refNc1/LRieGiuWvhbG3jvPVYho0Dg== + dependencies: + tslib "^2.4.0" + +"@graphql-tools/prisma-loader@^8.0.0": + version "8.0.2" + resolved "https://registry.yarnpkg.com/@graphql-tools/prisma-loader/-/prisma-loader-8.0.2.tgz#3a7126ec2389a7aa7846bd0e441629ac5a1934fc" + integrity sha512-8d28bIB0bZ9Bj0UOz9sHagVPW+6AHeqvGljjERtwCnWl8OCQw2c2pNboYXISLYUG5ub76r4lDciLLTU+Ks7Q0w== + dependencies: + "@graphql-tools/url-loader" "^8.0.0" + "@graphql-tools/utils" "^10.0.8" + "@types/js-yaml" "^4.0.0" + "@types/json-stable-stringify" "^1.0.32" + "@whatwg-node/fetch" "^0.9.0" + chalk "^4.1.0" + debug "^4.3.1" + dotenv "^16.0.0" + graphql-request "^6.0.0" + http-proxy-agent "^7.0.0" + https-proxy-agent "^7.0.0" + jose "^5.0.0" + js-yaml "^4.0.0" + json-stable-stringify "^1.0.1" + lodash "^4.17.20" + scuid "^1.1.0" + tslib "^2.4.0" + yaml-ast-parser "^0.0.43" + +"@graphql-tools/relay-operation-optimizer@^7.0.0": + version "7.0.0" + resolved "https://registry.yarnpkg.com/@graphql-tools/relay-operation-optimizer/-/relay-operation-optimizer-7.0.0.tgz#24367666af87bc5a81748de5e8e9b3c523fd4207" + integrity sha512-UNlJi5y3JylhVWU4MBpL0Hun4Q7IoJwv9xYtmAz+CgRa066szzY7dcuPfxrA7cIGgG/Q6TVsKsYaiF4OHPs1Fw== + dependencies: + "@ardatan/relay-compiler" "12.0.0" + "@graphql-tools/utils" "^10.0.0" + tslib "^2.4.0" + +"@graphql-tools/schema@^10.0.0": + version "10.0.2" + resolved "https://registry.yarnpkg.com/@graphql-tools/schema/-/schema-10.0.2.tgz#21bc2ee25a65fb4890d2e5f9f22ef1f733aa81da" + integrity sha512-TbPsIZnWyDCLhgPGnDjt4hosiNU2mF/rNtSk5BVaXWnZqvKJ6gzJV4fcHcvhRIwtscDMW2/YTnK6dLVnk8pc4w== + dependencies: + "@graphql-tools/merge" "^9.0.1" + "@graphql-tools/utils" "^10.0.10" + tslib "^2.4.0" + value-or-promise "^1.0.12" + "@graphql-tools/schema@^8.0.0": version "8.5.1" resolved "https://registry.yarnpkg.com/@graphql-tools/schema/-/schema-8.5.1.tgz#c2f2ff1448380919a330312399c9471db2580b58" @@ -509,6 +1412,25 @@ tslib "^2.4.0" value-or-promise "^1.0.12" +"@graphql-tools/url-loader@^8.0.0": + version "8.0.1" + resolved "https://registry.yarnpkg.com/@graphql-tools/url-loader/-/url-loader-8.0.1.tgz#91247247d253c538c4c28376ca74d944fa8cfb82" + integrity sha512-B2k8KQEkEQmfV1zhurT5GLoXo8jbXP+YQHUayhCSxKYlRV7j/1Fhp1b21PDM8LXIDGlDRXaZ0FbWKOs7eYXDuQ== + dependencies: + "@ardatan/sync-fetch" "^0.0.1" + "@graphql-tools/delegate" "^10.0.0" + "@graphql-tools/executor-graphql-ws" "^1.0.0" + "@graphql-tools/executor-http" "^1.0.5" + "@graphql-tools/executor-legacy-ws" "^1.0.0" + "@graphql-tools/utils" "^10.0.0" + "@graphql-tools/wrap" "^10.0.0" + "@types/ws" "^8.0.0" + "@whatwg-node/fetch" "^0.9.0" + isomorphic-ws "^5.0.0" + tslib "^2.4.0" + value-or-promise "^1.0.11" + ws "^8.12.0" + "@graphql-tools/utils@8.9.0": version "8.9.0" resolved "https://registry.yarnpkg.com/@graphql-tools/utils/-/utils-8.9.0.tgz#c6aa5f651c9c99e1aca55510af21b56ec296cdb7" @@ -516,6 +1438,16 @@ dependencies: tslib "^2.4.0" +"@graphql-tools/utils@^10.0.0", "@graphql-tools/utils@^10.0.10", "@graphql-tools/utils@^10.0.11", "@graphql-tools/utils@^10.0.2", "@graphql-tools/utils@^10.0.5", "@graphql-tools/utils@^10.0.8": + version "10.0.12" + resolved "https://registry.yarnpkg.com/@graphql-tools/utils/-/utils-10.0.12.tgz#c90b19bf8e038ea4c9b5c3715deb4553f572d8d4" + integrity sha512-+yS1qlFwXlwU3Gv8ek/h2aJ95quog4yF22haC11M0zReMSTddbGJZ5yXKkE3sXoY2BcL1utilSFjylJ9uXpSNQ== + dependencies: + "@graphql-typed-document-node/core" "^3.1.1" + cross-inspect "1.0.0" + dset "^3.1.2" + tslib "^2.4.0" + "@graphql-tools/utils@^9.2.1": version "9.2.1" resolved "https://registry.yarnpkg.com/@graphql-tools/utils/-/utils-9.2.1.tgz#1b3df0ef166cfa3eae706e3518b17d5922721c57" @@ -524,7 +1456,18 @@ "@graphql-typed-document-node/core" "^3.1.1" tslib "^2.4.0" -"@graphql-typed-document-node/core@^3.1.1": +"@graphql-tools/wrap@^10.0.0": + version "10.0.1" + resolved "https://registry.yarnpkg.com/@graphql-tools/wrap/-/wrap-10.0.1.tgz#9e3d27d2723962c26c4377d5d7ab0d3038bf728c" + integrity sha512-Cw6hVrKGM2OKBXeuAGltgy4tzuqQE0Nt7t/uAqnuokSXZhMHXJUb124Bnvxc2gPZn5chfJSDafDe4Cp8ZAVJgg== + dependencies: + "@graphql-tools/delegate" "^10.0.3" + "@graphql-tools/schema" "^10.0.0" + "@graphql-tools/utils" "^10.0.0" + tslib "^2.4.0" + value-or-promise "^1.0.12" + +"@graphql-typed-document-node/core@3.2.0", "@graphql-typed-document-node/core@^3.1.1", "@graphql-typed-document-node/core@^3.2.0": version "3.2.0" resolved "https://registry.yarnpkg.com/@graphql-typed-document-node/core/-/core-3.2.0.tgz#5f3d96ec6b2354ad6d8a28bf216a1d97b5426861" integrity sha512-mB9oAsNCm9aM3/SOv4YtBMqZbYj10R7dkq8byBqxGY/ncFwhf2oQzMV+LCRlWoDSEBJ3COiR1yeDvMtsoOsuFQ== @@ -577,7 +1520,7 @@ resolved "https://registry.yarnpkg.com/@josephg/resolvable/-/resolvable-1.0.1.tgz#69bc4db754d79e1a2f17a650d3466e038d94a5eb" integrity sha512-CtzORUwWTTOTqfVtHaKRJ0I1kNQd1bpn3sUh8I3nJDVY+5/M/Oe1DnEWzPQvqq/xPIIkzzzIP7mfCoAjFRvDhg== -"@jridgewell/gen-mapping@^0.3.2": +"@jridgewell/gen-mapping@^0.3.0", "@jridgewell/gen-mapping@^0.3.2": version "0.3.3" resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz#7e02e6eb5df901aaedb08514203b096614024098" integrity sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ== @@ -609,7 +1552,7 @@ "@jridgewell/resolve-uri" "^3.0.3" "@jridgewell/sourcemap-codec" "^1.4.10" -"@jridgewell/trace-mapping@^0.3.9": +"@jridgewell/trace-mapping@^0.3.17", "@jridgewell/trace-mapping@^0.3.9": version "0.3.20" resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.20.tgz#72e45707cf240fa6b081d0366f8265b0cd10197f" integrity sha512-R8LcPeWZol2zR8mmH3JeKQ6QRCFb7XgUhV9ZlGhHLGyg4wpPiPZNQOOWhFZhxKw8u//yTbNGI42Bx/3paXEQ+Q== @@ -617,6 +1560,11 @@ "@jridgewell/resolve-uri" "^3.1.0" "@jridgewell/sourcemap-codec" "^1.4.14" +"@kamilkisiela/fast-url-parser@^1.1.4": + version "1.1.4" + resolved "https://registry.yarnpkg.com/@kamilkisiela/fast-url-parser/-/fast-url-parser-1.1.4.tgz#9d68877a489107411b953c54ea65d0658b515809" + integrity sha512-gbkePEBupNydxCelHCESvFSFM8XPh1Zs/OAVRW/rKpEqPAl5PbOM90Si8mv9bvnR53uPD2s/FiRxdvSejpRJew== + "@msgpackr-extract/msgpackr-extract-darwin-arm64@3.0.2": version "3.0.2" resolved "https://registry.yarnpkg.com/@msgpackr-extract/msgpackr-extract-darwin-arm64/-/msgpackr-extract-darwin-arm64-3.0.2.tgz#44d752c1a2dc113f15f781b7cc4f53a307e3fa38" @@ -901,6 +1849,116 @@ resolved "https://registry.yarnpkg.com/@panva/hkdf/-/hkdf-1.1.1.tgz#ab9cd8755d1976e72fc77a00f7655a64efe6cd5d" integrity sha512-dhPeilub1NuIG0X5Kvhh9lH4iW3ZsHlnzwgwbOlgwQ2wG1IqFzsgHqmKPk3WzsdWAeaxKJxgM0+W433RmN45GA== +"@parcel/watcher-android-arm64@2.3.0": + version "2.3.0" + resolved "https://registry.yarnpkg.com/@parcel/watcher-android-arm64/-/watcher-android-arm64-2.3.0.tgz#d82e74bb564ebd4d8a88791d273a3d2bd61e27ab" + integrity sha512-f4o9eA3dgk0XRT3XhB0UWpWpLnKgrh1IwNJKJ7UJek7eTYccQ8LR7XUWFKqw6aEq5KUNlCcGvSzKqSX/vtWVVA== + +"@parcel/watcher-darwin-arm64@2.3.0": + version "2.3.0" + resolved "https://registry.yarnpkg.com/@parcel/watcher-darwin-arm64/-/watcher-darwin-arm64-2.3.0.tgz#c9cd03f8f233d512fcfc873d5b4e23f1569a82ad" + integrity sha512-mKY+oijI4ahBMc/GygVGvEdOq0L4DxhYgwQqYAz/7yPzuGi79oXrZG52WdpGA1wLBPrYb0T8uBaGFo7I6rvSKw== + +"@parcel/watcher-darwin-x64@2.3.0": + version "2.3.0" + resolved "https://registry.yarnpkg.com/@parcel/watcher-darwin-x64/-/watcher-darwin-x64-2.3.0.tgz#83c902994a2a49b9e1ab5050dba24876fdc2c219" + integrity sha512-20oBj8LcEOnLE3mgpy6zuOq8AplPu9NcSSSfyVKgfOhNAc4eF4ob3ldj0xWjGGbOF7Dcy1Tvm6ytvgdjlfUeow== + +"@parcel/watcher-freebsd-x64@2.3.0": + version "2.3.0" + resolved "https://registry.yarnpkg.com/@parcel/watcher-freebsd-x64/-/watcher-freebsd-x64-2.3.0.tgz#7a0f4593a887e2752b706aff2dae509aef430cf6" + integrity sha512-7LftKlaHunueAEiojhCn+Ef2CTXWsLgTl4hq0pkhkTBFI3ssj2bJXmH2L67mKpiAD5dz66JYk4zS66qzdnIOgw== + +"@parcel/watcher-linux-arm-glibc@2.3.0": + version "2.3.0" + resolved "https://registry.yarnpkg.com/@parcel/watcher-linux-arm-glibc/-/watcher-linux-arm-glibc-2.3.0.tgz#3fc90c3ebe67de3648ed2f138068722f9b1d47da" + integrity sha512-1apPw5cD2xBv1XIHPUlq0cO6iAaEUQ3BcY0ysSyD9Kuyw4MoWm1DV+W9mneWI+1g6OeP6dhikiFE6BlU+AToTQ== + +"@parcel/watcher-linux-arm64-glibc@2.3.0": + version "2.3.0" + resolved "https://registry.yarnpkg.com/@parcel/watcher-linux-arm64-glibc/-/watcher-linux-arm64-glibc-2.3.0.tgz#f7bbbf2497d85fd11e4c9e9c26ace8f10ea9bcbc" + integrity sha512-mQ0gBSQEiq1k/MMkgcSB0Ic47UORZBmWoAWlMrTW6nbAGoLZP+h7AtUM7H3oDu34TBFFvjy4JCGP43JlylkTQA== + +"@parcel/watcher-linux-arm64-musl@2.3.0": + version "2.3.0" + resolved "https://registry.yarnpkg.com/@parcel/watcher-linux-arm64-musl/-/watcher-linux-arm64-musl-2.3.0.tgz#de131a9fcbe1fa0854e9cbf4c55bed3b35bcff43" + integrity sha512-LXZAExpepJew0Gp8ZkJ+xDZaTQjLHv48h0p0Vw2VMFQ8A+RKrAvpFuPVCVwKJCr5SE+zvaG+Etg56qXvTDIedw== + +"@parcel/watcher-linux-x64-glibc@2.3.0": + version "2.3.0" + resolved "https://registry.yarnpkg.com/@parcel/watcher-linux-x64-glibc/-/watcher-linux-x64-glibc-2.3.0.tgz#193dd1c798003cdb5a1e59470ff26300f418a943" + integrity sha512-P7Wo91lKSeSgMTtG7CnBS6WrA5otr1K7shhSjKHNePVmfBHDoAOHYRXgUmhiNfbcGk0uMCHVcdbfxtuiZCHVow== + +"@parcel/watcher-linux-x64-musl@2.3.0": + version "2.3.0" + resolved "https://registry.yarnpkg.com/@parcel/watcher-linux-x64-musl/-/watcher-linux-x64-musl-2.3.0.tgz#6dbdb86d96e955ab0fe4a4b60734ec0025a689dd" + integrity sha512-+kiRE1JIq8QdxzwoYY+wzBs9YbJ34guBweTK8nlzLKimn5EQ2b2FSC+tAOpq302BuIMjyuUGvBiUhEcLIGMQ5g== + +"@parcel/watcher-win32-arm64@2.3.0": + version "2.3.0" + resolved "https://registry.yarnpkg.com/@parcel/watcher-win32-arm64/-/watcher-win32-arm64-2.3.0.tgz#59da26a431da946e6c74fa6b0f30b120ea6650b6" + integrity sha512-35gXCnaz1AqIXpG42evcoP2+sNL62gZTMZne3IackM+6QlfMcJLy3DrjuL6Iks7Czpd3j4xRBzez3ADCj1l7Aw== + +"@parcel/watcher-win32-ia32@2.3.0": + version "2.3.0" + resolved "https://registry.yarnpkg.com/@parcel/watcher-win32-ia32/-/watcher-win32-ia32-2.3.0.tgz#3ee6a18b08929cd3b788e8cc9547fd9a540c013a" + integrity sha512-FJS/IBQHhRpZ6PiCjFt1UAcPr0YmCLHRbTc00IBTrelEjlmmgIVLeOx4MSXzx2HFEy5Jo5YdhGpxCuqCyDJ5ow== + +"@parcel/watcher-win32-x64@2.3.0": + version "2.3.0" + resolved "https://registry.yarnpkg.com/@parcel/watcher-win32-x64/-/watcher-win32-x64-2.3.0.tgz#14e7246289861acc589fd608de39fe5d8b4bb0a7" + integrity sha512-dLx+0XRdMnVI62kU3wbXvbIRhLck4aE28bIGKbRGS7BJNt54IIj9+c/Dkqb+7DJEbHUZAX1bwaoM8PqVlHJmCA== + +"@parcel/watcher@^2.3.0": + version "2.3.0" + resolved "https://registry.yarnpkg.com/@parcel/watcher/-/watcher-2.3.0.tgz#803517abbc3981a1a1221791d9f59dc0590d50f9" + integrity sha512-pW7QaFiL11O0BphO+bq3MgqeX/INAk9jgBldVDYjlQPO4VddoZnF22TcF9onMhnLVHuNqBJeRf+Fj7eezi/+rQ== + dependencies: + detect-libc "^1.0.3" + is-glob "^4.0.3" + micromatch "^4.0.5" + node-addon-api "^7.0.0" + optionalDependencies: + "@parcel/watcher-android-arm64" "2.3.0" + "@parcel/watcher-darwin-arm64" "2.3.0" + "@parcel/watcher-darwin-x64" "2.3.0" + "@parcel/watcher-freebsd-x64" "2.3.0" + "@parcel/watcher-linux-arm-glibc" "2.3.0" + "@parcel/watcher-linux-arm64-glibc" "2.3.0" + "@parcel/watcher-linux-arm64-musl" "2.3.0" + "@parcel/watcher-linux-x64-glibc" "2.3.0" + "@parcel/watcher-linux-x64-musl" "2.3.0" + "@parcel/watcher-win32-arm64" "2.3.0" + "@parcel/watcher-win32-ia32" "2.3.0" + "@parcel/watcher-win32-x64" "2.3.0" + +"@peculiar/asn1-schema@^2.3.6": + version "2.3.8" + resolved "https://registry.yarnpkg.com/@peculiar/asn1-schema/-/asn1-schema-2.3.8.tgz#04b38832a814e25731232dd5be883460a156da3b" + integrity sha512-ULB1XqHKx1WBU/tTFIA+uARuRoBVZ4pNdOA878RDrRbBfBGcSzi5HBkdScC6ZbHn8z7L8gmKCgPC1LHRrP46tA== + dependencies: + asn1js "^3.0.5" + pvtsutils "^1.3.5" + tslib "^2.6.2" + +"@peculiar/json-schema@^1.1.12": + version "1.1.12" + resolved "https://registry.yarnpkg.com/@peculiar/json-schema/-/json-schema-1.1.12.tgz#fe61e85259e3b5ba5ad566cb62ca75b3d3cd5339" + integrity sha512-coUfuoMeIB7B8/NMekxaDzLhaYmp0HZNPEjYRm9goRou8UZIC3z21s0sL9AWoCw4EG876QyO3kYrc61WNF9B/w== + dependencies: + tslib "^2.0.0" + +"@peculiar/webcrypto@^1.4.0": + version "1.4.3" + resolved "https://registry.yarnpkg.com/@peculiar/webcrypto/-/webcrypto-1.4.3.tgz#078b3e8f598e847b78683dc3ba65feb5029b93a7" + integrity sha512-VtaY4spKTdN5LjJ04im/d/joXuvLbQdgy5Z4DXF4MFZhQ+MTrejbNMkfZBp1Bs3O5+bFqnJgyGdPuZQflvIa5A== + dependencies: + "@peculiar/asn1-schema" "^2.3.6" + "@peculiar/json-schema" "^1.1.12" + pvtsutils "^1.3.2" + tslib "^2.5.0" + webcrypto-core "^1.7.7" + "@protobufjs/aspromise@^1.1.1", "@protobufjs/aspromise@^1.1.2": version "1.1.2" resolved "https://registry.yarnpkg.com/@protobufjs/aspromise/-/aspromise-1.1.2.tgz#9b8b0cc663d669a7d8f6f5d0893a14d348f30fbf" @@ -976,6 +2034,11 @@ resolved "https://registry.yarnpkg.com/@react-google-maps/marker-clusterer/-/marker-clusterer-2.19.2.tgz#24d9fb9aa555bb063ba5fe82f80fcd7d48662184" integrity sha512-x9ibmsP0ZVqzyCo1Pitbw+4b6iEXRw/r1TCy3vOUR3eKrzWLnHYZMR325BkZW2r8fnuWE/V3Fp4QZOP9qYORCw== +"@repeaterjs/repeater@^3.0.4": + version "3.0.5" + resolved "https://registry.yarnpkg.com/@repeaterjs/repeater/-/repeater-3.0.5.tgz#b77571685410217a548a9c753aa3cdfc215bfc78" + integrity sha512-l3YHBLAol6d/IKnB9LhpD0cEZWAoe3eFKUyTYWmFmCO2Q/WOckxLQAUyMZWwZV2M/m3+4vgRoaolFqaII82/TA== + "@rushstack/eslint-patch@^1.1.3", "@rushstack/eslint-patch@^1.3.3": version "1.5.1" resolved "https://registry.yarnpkg.com/@rushstack/eslint-patch/-/eslint-patch-1.5.1.tgz#5f1b518ec5fa54437c0b7c4a821546c64fed6922" @@ -1207,6 +2270,16 @@ "@types/through" "*" rxjs "^6.4.0" +"@types/js-yaml@^4.0.0": + version "4.0.9" + resolved "https://registry.yarnpkg.com/@types/js-yaml/-/js-yaml-4.0.9.tgz#cd82382c4f902fed9691a2ed79ec68c5898af4c2" + integrity sha512-k4MGaQl5TGo/iipqb2UDG2UwjXziSWkh0uysQelTlJpX1qGlpUZYm8PnO4DxG1qBomtJUdYJ6qR6xdIah10JLg== + +"@types/json-stable-stringify@^1.0.32": + version "1.0.36" + resolved "https://registry.yarnpkg.com/@types/json-stable-stringify/-/json-stable-stringify-1.0.36.tgz#fe6c6001a69ff8160a772da08779448a333c7ddd" + integrity sha512-b7bq23s4fgBB76n34m2b3RBf6M369B0Z9uRR8aHTMd8kZISRkmDEpPD8hhpYvDFzr3bJCPES96cm3Q6qRNDbQw== + "@types/json5@^0.0.29": version "0.0.29" resolved "https://registry.yarnpkg.com/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee" @@ -1334,6 +2407,13 @@ resolved "https://registry.yarnpkg.com/@types/triple-beam/-/triple-beam-1.3.5.tgz#74fef9ffbaa198eb8b588be029f38b00299caa2c" integrity sha512-6WaYesThRMCl19iryMYP7/x2OVgCtbIVflDGFpWnb9irXI3UjYE4AzmYuiUKY1AJstGijoY+MgUszMgRxIYTYw== +"@types/ws@^8.0.0": + version "8.5.10" + resolved "https://registry.yarnpkg.com/@types/ws/-/ws-8.5.10.tgz#4acfb517970853fa6574a3a6886791d04a396787" + integrity sha512-vmQSUcfalpIq0R9q7uTo2lXs6eGIpt9wtnLdMv9LVpIjCA/+ufZRozlVoVelIYixx1ugCBKDhn89vnsEGOCx9A== + dependencies: + "@types/node" "*" + "@typescript-eslint/parser@^5.4.2 || ^6.0.0": version "6.9.1" resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-6.9.1.tgz#4f685f672f8b9580beb38d5fb99d52fc3e34f7a3" @@ -1384,6 +2464,57 @@ resolved "https://registry.yarnpkg.com/@ungap/structured-clone/-/structured-clone-1.2.0.tgz#756641adb587851b5ccb3e095daf27ae581c8406" integrity sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ== +"@whatwg-node/events@^0.0.3": + version "0.0.3" + resolved "https://registry.yarnpkg.com/@whatwg-node/events/-/events-0.0.3.tgz#13a65dd4f5893f55280f766e29ae48074927acad" + integrity sha512-IqnKIDWfXBJkvy/k6tzskWTc2NK3LcqHlb+KHGCrjOCH4jfQckRX0NAiIcC/vIqQkzLYw2r2CTSwAxcrtcD6lA== + +"@whatwg-node/events@^0.1.0": + version "0.1.1" + resolved "https://registry.yarnpkg.com/@whatwg-node/events/-/events-0.1.1.tgz#0ca718508249419587e130da26d40e29d99b5356" + integrity sha512-AyQEn5hIPV7Ze+xFoXVU3QTHXVbWPrzaOkxtENMPMuNL6VVHrp4hHfDt9nrQpjO7BgvuM95dMtkycX5M/DZR3w== + +"@whatwg-node/fetch@^0.8.0": + version "0.8.8" + resolved "https://registry.yarnpkg.com/@whatwg-node/fetch/-/fetch-0.8.8.tgz#48c6ad0c6b7951a73e812f09dd22d75e9fa18cae" + integrity sha512-CdcjGC2vdKhc13KKxgsc6/616BQ7ooDIgPeTuAiE8qfCnS0mGzcfCOoZXypQSz73nxI+GWc7ZReIAVhxoE1KCg== + dependencies: + "@peculiar/webcrypto" "^1.4.0" + "@whatwg-node/node-fetch" "^0.3.6" + busboy "^1.6.0" + urlpattern-polyfill "^8.0.0" + web-streams-polyfill "^3.2.1" + +"@whatwg-node/fetch@^0.9.0": + version "0.9.15" + resolved "https://registry.yarnpkg.com/@whatwg-node/fetch/-/fetch-0.9.15.tgz#77d300894c9a51400b19e95c74bfbd219a05f40b" + integrity sha512-2wIUcolUthZt0nsPRj+pT7K9h/EO3t/j09IBuq0FtITCsASc2fRCmRw2JHS6hk9fzUQrz2+YYrA1ZDpV7+vLsQ== + dependencies: + "@whatwg-node/node-fetch" "^0.5.0" + urlpattern-polyfill "^9.0.0" + +"@whatwg-node/node-fetch@^0.3.6": + version "0.3.6" + resolved "https://registry.yarnpkg.com/@whatwg-node/node-fetch/-/node-fetch-0.3.6.tgz#e28816955f359916e2d830b68a64493124faa6d0" + integrity sha512-w9wKgDO4C95qnXZRwZTfCmLWqyRnooGjcIwG0wADWjw9/HN0p7dtvtgSvItZtUyNteEvgTrd8QojNEqV6DAGTA== + dependencies: + "@whatwg-node/events" "^0.0.3" + busboy "^1.6.0" + fast-querystring "^1.1.1" + fast-url-parser "^1.1.3" + tslib "^2.3.1" + +"@whatwg-node/node-fetch@^0.5.0": + version "0.5.3" + resolved "https://registry.yarnpkg.com/@whatwg-node/node-fetch/-/node-fetch-0.5.3.tgz#2fa19211695c1e89f3f15bf9c92edadcb5435873" + integrity sha512-toMC8N53RxgprcuU7Fc05KOrJhZV49njJCHPZvXBsjZMQBKrDm9o14Y56CsrUC85cvjQu862MaYOjd8rKgHdDw== + dependencies: + "@kamilkisiela/fast-url-parser" "^1.1.4" + "@whatwg-node/events" "^0.1.0" + busboy "^1.6.0" + fast-querystring "^1.1.1" + tslib "^2.3.1" + "@wry/context@^0.7.0", "@wry/context@^0.7.3": version "0.7.4" resolved "https://registry.yarnpkg.com/@wry/context/-/context-0.7.4.tgz#e32d750fa075955c4ab2cfb8c48095e1d42d5990" @@ -1445,6 +2576,11 @@ acorn@^8.4.1, acorn@^8.9.0: resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.11.2.tgz#ca0d78b51895be5390a5903c5b3bdcdaf78ae40b" integrity sha512-nc0Axzp/0FILLEVsm4fNwLCwMttvhEI263QtVPQcbpfZZ3ts0hLsZGOpE6czNlid7CJ9MlyH8reXkpsf3YUY4w== +add@^2.0.6: + version "2.0.6" + resolved "https://registry.yarnpkg.com/add/-/add-2.0.6.tgz#248f0a9f6e5a528ef2295dbeec30532130ae2235" + integrity sha512-j5QzrmsokwWWp6kUcJQySpbG+xfOBqqKnup3OIk1pz+kB/80SLorZ9V8zHFLO92Lcd+hbvq8bT+zOGoPkmBV0Q== + agent-base@^7.0.2, agent-base@^7.1.0: version "7.1.0" resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-7.1.0.tgz#536802b76bc0b34aa50195eb2442276d613e3434" @@ -1492,7 +2628,7 @@ ansi-colors@^4.1.1: resolved "https://registry.yarnpkg.com/ansi-colors/-/ansi-colors-4.1.3.tgz#37611340eb2243e70cc604cad35d63270d48781b" integrity sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw== -ansi-escapes@^4.2.1: +ansi-escapes@^4.2.1, ansi-escapes@^4.3.0: version "4.3.2" resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-4.3.2.tgz#6b2291d1db7d98b6521d5f1efa42d0f3a9feb65e" integrity sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ== @@ -1762,6 +2898,11 @@ arraybuffer.prototype.slice@^1.0.2: is-array-buffer "^3.0.2" is-shared-array-buffer "^1.0.2" +asap@~2.0.3: + version "2.0.6" + resolved "https://registry.yarnpkg.com/asap/-/asap-2.0.6.tgz#e50347611d7e690943208bbdafebcbc2fb866d46" + integrity sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA== + asn1.js@^5.3.0: version "5.4.1" resolved "https://registry.yarnpkg.com/asn1.js/-/asn1.js-5.4.1.tgz#11a980b84ebb91781ce35b0fdc2ee294e3783f07" @@ -1772,6 +2913,15 @@ asn1.js@^5.3.0: minimalistic-assert "^1.0.0" safer-buffer "^2.1.0" +asn1js@^3.0.1, asn1js@^3.0.5: + version "3.0.5" + resolved "https://registry.yarnpkg.com/asn1js/-/asn1js-3.0.5.tgz#5ea36820443dbefb51cc7f88a2ebb5b462114f38" + integrity sha512-FVnvrKJwpt9LP2lAMl8qZswRNm3T4q9CON+bxldk2iwk3FFpuwhx2FfinyitizWHsVYyaY+y5JzDR0rCMV5yTQ== + dependencies: + pvtsutils "^1.3.2" + pvutils "^1.1.3" + tslib "^2.4.0" + ast-types-flow@^0.0.8: version "0.0.8" resolved "https://registry.yarnpkg.com/ast-types-flow/-/ast-types-flow-0.0.8.tgz#0a85e1c92695769ac13a428bb653e7538bea27d6" @@ -1813,6 +2963,11 @@ asynckit@^0.4.0: resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" integrity sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q== +auto-bind@~4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/auto-bind/-/auto-bind-4.0.0.tgz#e3589fc6c2da8f7ca43ba9f84fa52a744fc997fb" + integrity sha512-Hdw8qdNiqdJ8LqT0iK0sVzkFbzg6fhnQqqfWhBDxcHZvU75+B+ayzTy8x+k5Ix0Y92XOhOUlx74ps+bA6BeYMQ== + autoprefixer@10.4.15: version "10.4.15" resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-10.4.15.tgz#a1230f4aeb3636b89120b34a1f513e2f6834d530" @@ -1863,6 +3018,44 @@ axobject-query@^3.2.1: dependencies: dequal "^2.0.3" +babel-plugin-syntax-trailing-function-commas@^7.0.0-beta.0: + version "7.0.0-beta.0" + resolved "https://registry.yarnpkg.com/babel-plugin-syntax-trailing-function-commas/-/babel-plugin-syntax-trailing-function-commas-7.0.0-beta.0.tgz#aa213c1435e2bffeb6fca842287ef534ad05d5cf" + integrity sha512-Xj9XuRuz3nTSbaTXWv3itLOcxyF4oPD8douBBmj7U9BBC6nEBYfyOJYQMf/8PJAFotC62UY5dFfIGEPr7WswzQ== + +babel-preset-fbjs@^3.4.0: + version "3.4.0" + resolved "https://registry.yarnpkg.com/babel-preset-fbjs/-/babel-preset-fbjs-3.4.0.tgz#38a14e5a7a3b285a3f3a86552d650dca5cf6111c" + integrity sha512-9ywCsCvo1ojrw0b+XYk7aFvTH6D9064t0RIL1rtMf3nsa02Xw41MS7sZw216Im35xj/UY0PDBQsa1brUDDF1Ow== + dependencies: + "@babel/plugin-proposal-class-properties" "^7.0.0" + "@babel/plugin-proposal-object-rest-spread" "^7.0.0" + "@babel/plugin-syntax-class-properties" "^7.0.0" + "@babel/plugin-syntax-flow" "^7.0.0" + "@babel/plugin-syntax-jsx" "^7.0.0" + "@babel/plugin-syntax-object-rest-spread" "^7.0.0" + "@babel/plugin-transform-arrow-functions" "^7.0.0" + "@babel/plugin-transform-block-scoped-functions" "^7.0.0" + "@babel/plugin-transform-block-scoping" "^7.0.0" + "@babel/plugin-transform-classes" "^7.0.0" + "@babel/plugin-transform-computed-properties" "^7.0.0" + "@babel/plugin-transform-destructuring" "^7.0.0" + "@babel/plugin-transform-flow-strip-types" "^7.0.0" + "@babel/plugin-transform-for-of" "^7.0.0" + "@babel/plugin-transform-function-name" "^7.0.0" + "@babel/plugin-transform-literals" "^7.0.0" + "@babel/plugin-transform-member-expression-literals" "^7.0.0" + "@babel/plugin-transform-modules-commonjs" "^7.0.0" + "@babel/plugin-transform-object-super" "^7.0.0" + "@babel/plugin-transform-parameters" "^7.0.0" + "@babel/plugin-transform-property-literals" "^7.0.0" + "@babel/plugin-transform-react-display-name" "^7.0.0" + "@babel/plugin-transform-react-jsx" "^7.0.0" + "@babel/plugin-transform-shorthand-properties" "^7.0.0" + "@babel/plugin-transform-spread" "^7.0.0" + "@babel/plugin-transform-template-literals" "^7.0.0" + babel-plugin-syntax-trailing-function-commas "^7.0.0-beta.0" + backo2@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/backo2/-/backo2-1.0.2.tgz#31ab1ac8b129363463e35b3ebb69f4dfcfba7947" @@ -1977,6 +3170,23 @@ browserslist@^4.21.10: node-releases "^2.0.13" update-browserslist-db "^1.0.13" +browserslist@^4.22.2: + version "4.22.2" + resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.22.2.tgz#704c4943072bd81ea18997f3bd2180e89c77874b" + integrity sha512-0UgcrvQmBDvZHFGdYUehrCNIazki7/lUP3kkoi/r3YB2amZbFM9J43ZRkJTXBUZK4gmx56+Sqk9+Vs9mwZx9+A== + dependencies: + caniuse-lite "^1.0.30001565" + electron-to-chromium "^1.4.601" + node-releases "^2.0.14" + update-browserslist-db "^1.0.13" + +bser@2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/bser/-/bser-2.1.1.tgz#e6787da20ece9d07998533cfd9de6f5c38f4bc05" + integrity sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ== + dependencies: + node-int64 "^0.4.0" + buffer-equal-constant-time@1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz#f8e71132f7ffe6e01a5c9697a4c6f3e48d5cc819" @@ -2017,7 +3227,7 @@ bullmq@^5.1.0: tslib "^2.0.0" uuid "^9.0.0" -busboy@1.6.0: +busboy@1.6.0, busboy@^1.6.0: version "1.6.0" resolved "https://registry.yarnpkg.com/busboy/-/busboy-1.6.0.tgz#966ea36a9502e43cdb9146962523b92f531f6893" integrity sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA== @@ -2056,16 +3266,43 @@ camel-case@^3.0.0: no-case "^2.2.0" upper-case "^1.1.1" +camel-case@^4.1.2: + version "4.1.2" + resolved "https://registry.yarnpkg.com/camel-case/-/camel-case-4.1.2.tgz#9728072a954f805228225a6deea6b38461e1bd5a" + integrity sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw== + dependencies: + pascal-case "^3.1.2" + tslib "^2.0.3" + camelcase-css@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/camelcase-css/-/camelcase-css-2.0.1.tgz#ee978f6947914cc30c6b44741b6ed1df7f043fd5" integrity sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA== +camelcase@^5.0.0: + version "5.3.1" + resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320" + integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg== + caniuse-lite@^1.0.30001406, caniuse-lite@^1.0.30001520, caniuse-lite@^1.0.30001538, caniuse-lite@^1.0.30001541: version "1.0.30001561" resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001561.tgz#752f21f56f96f1b1a52e97aae98c57c562d5d9da" integrity sha512-NTt0DNoKe958Q0BE0j0c1V9jbUzhBxHIEJy7asmGrpE0yG63KTV7PLHPnK2E1O9RsQrQ081I3NLuXGS6zht3cw== +caniuse-lite@^1.0.30001565: + version "1.0.30001576" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001576.tgz#893be772cf8ee6056d6c1e2d07df365b9ec0a5c4" + integrity sha512-ff5BdakGe2P3SQsMsiqmt1Lc8221NR1VzHj5jXN5vBny9A6fpze94HiVV/n7XRosOlsShJcvMv5mdnpjOGCEgg== + +capital-case@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/capital-case/-/capital-case-1.0.4.tgz#9d130292353c9249f6b00fa5852bee38a717e669" + integrity sha512-ds37W8CytHgwnhGGTi88pcPyR15qoNkOpYwmMMfnWqqWgESapLqvDx6huFjQ5vqWSn2Z06173XNA7LtMOeUh1A== + dependencies: + no-case "^3.0.4" + tslib "^2.0.3" + upper-case-first "^2.0.2" + chalk@2.4.2, chalk@^2.4.2: version "2.4.2" resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" @@ -2096,6 +3333,22 @@ chalk@^5.3.0: resolved "https://registry.yarnpkg.com/chalk/-/chalk-5.3.0.tgz#67c20a7ebef70e7f3970a01f90fa210cb6860385" integrity sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w== +change-case-all@1.0.15: + version "1.0.15" + resolved "https://registry.yarnpkg.com/change-case-all/-/change-case-all-1.0.15.tgz#de29393167fc101d646cd76b0ef23e27d09756ad" + integrity sha512-3+GIFhk3sNuvFAJKU46o26OdzudQlPNBCu1ZQi3cMeMHhty1bhDxu2WrEilVNYaGvqUtR1VSigFcJOiS13dRhQ== + dependencies: + change-case "^4.1.2" + is-lower-case "^2.0.2" + is-upper-case "^2.0.2" + lower-case "^2.0.2" + lower-case-first "^2.0.2" + sponge-case "^1.0.1" + swap-case "^2.0.2" + title-case "^3.0.3" + upper-case "^2.0.2" + upper-case-first "^2.0.2" + change-case@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/change-case/-/change-case-3.1.0.tgz#0e611b7edc9952df2e8513b27b42de72647dd17e" @@ -2120,6 +3373,24 @@ change-case@^3.1.0: upper-case "^1.1.1" upper-case-first "^1.1.0" +change-case@^4.1.2: + version "4.1.2" + resolved "https://registry.yarnpkg.com/change-case/-/change-case-4.1.2.tgz#fedfc5f136045e2398c0410ee441f95704641e12" + integrity sha512-bSxY2ws9OtviILG1EiY5K7NNxkqg/JnRnFxLtKQ96JaviiIxi7djMrSd0ECT9AC+lttClmYwKw53BWpOMblo7A== + dependencies: + camel-case "^4.1.2" + capital-case "^1.0.4" + constant-case "^3.0.4" + dot-case "^3.0.4" + header-case "^2.0.4" + no-case "^3.0.4" + param-case "^3.0.4" + pascal-case "^3.1.2" + path-case "^3.0.4" + sentence-case "^3.0.4" + snake-case "^3.0.4" + tslib "^2.0.3" + chardet@^0.7.0: version "0.7.0" resolved "https://registry.yarnpkg.com/chardet/-/chardet-0.7.0.tgz#90094849f0937f2eedc2425d0d28a9e5f0cbad9e" @@ -2157,6 +3428,14 @@ cli-spinners@^2.2.0, cli-spinners@^2.5.0: resolved "https://registry.yarnpkg.com/cli-spinners/-/cli-spinners-2.9.1.tgz#9c0b9dad69a6d47cbb4333c14319b060ed395a35" integrity sha512-jHgecW0pxkonBJdrKsqxgRX9AcG+u/5k0Q7WPDfi8AogLAdwxEkyYYNWwZ5GvVFoFx2uiY1eNcSK00fh+1+FyQ== +cli-truncate@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/cli-truncate/-/cli-truncate-2.1.0.tgz#c39e28bf05edcde5be3b98992a22deed5a2b93c7" + integrity sha512-n8fOixwDD6b/ObinzTrp1ZKFzbgvKZvuz/TvejnLn1aQfC6r52XEx85FmuC+3HI+JM7coBRXUvNqEU2PHVrHpg== + dependencies: + slice-ansi "^3.0.0" + string-width "^4.2.0" + cli-width@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-3.0.0.tgz#a2f48437a2caa9a22436e794bf071ec9e61cedf6" @@ -2167,6 +3446,15 @@ client-only@0.0.1, client-only@^0.0.1: resolved "https://registry.yarnpkg.com/client-only/-/client-only-0.0.1.tgz#38bba5d403c41ab150bff64a95c85013cf73bca1" integrity sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA== +cliui@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/cliui/-/cliui-6.0.0.tgz#511d702c0c4e41ca156d7d0e96021f23e13225b1" + integrity sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ== + dependencies: + string-width "^4.2.0" + strip-ansi "^6.0.0" + wrap-ansi "^6.2.0" + cliui@^8.0.1: version "8.0.1" resolved "https://registry.yarnpkg.com/cliui/-/cliui-8.0.1.tgz#0c04b075db02cbfe60dc8e6cf2f5486b1a3608aa" @@ -2231,6 +3519,11 @@ colord@^2.9: resolved "https://registry.yarnpkg.com/colord/-/colord-2.9.3.tgz#4f8ce919de456f1d5c1c368c307fe20f3e59fb43" integrity sha512-jeC1axXpnb0/2nn/Y1LPuLdgXBLH7aDcHu4KEKfqw3CUhX7ZpfBSlPKyqXE6btIgEzfWtrX3/tyBCaCvXvMkOw== +colorette@^2.0.16: + version "2.0.20" + resolved "https://registry.yarnpkg.com/colorette/-/colorette-2.0.20.tgz#9eb793e6833067f7235902fcd3b09917a000a95a" + integrity sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w== + colorspace@1.1.x: version "1.1.4" resolved "https://registry.yarnpkg.com/colorspace/-/colorspace-1.1.4.tgz#8d442d1186152f60453bf8070cd66eb364e59243" @@ -2261,6 +3554,11 @@ commander@^4.0.0: resolved "https://registry.yarnpkg.com/commander/-/commander-4.1.1.tgz#9fd602bd936294e9e9ef46a3f4d6964044b18068" integrity sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA== +common-tags@1.8.2: + version "1.8.2" + resolved "https://registry.yarnpkg.com/common-tags/-/common-tags-1.8.2.tgz#94ebb3c076d26032745fd54face7f688ef5ac9c6" + integrity sha512-gk/Z852D2Wtb//0I+kRFNKKE9dIIVirjoqPoA1wJU+XePVXZfGeBpk45+A1rKO4Q43prqWBNY/MiIeRLbPWUaA== + compressible@~2.0.16: version "2.0.18" resolved "https://registry.yarnpkg.com/compressible/-/compressible-2.0.18.tgz#af53cca6b070d4c3c0750fbd77286a6d7cc46fba" @@ -2309,6 +3607,15 @@ constant-case@^2.0.0: snake-case "^2.1.0" upper-case "^1.1.1" +constant-case@^3.0.4: + version "3.0.4" + resolved "https://registry.yarnpkg.com/constant-case/-/constant-case-3.0.4.tgz#3b84a9aeaf4cf31ec45e6bf5de91bdfb0589faf1" + integrity sha512-I2hSBi7Vvs7BEuJDr5dDHfzb/Ruj3FyvFyh7KLilAjNQw3Be+xgqUBA2W6scVEcL0hL1dwPRtIqEPVUCKkSsyQ== + dependencies: + no-case "^3.0.4" + tslib "^2.0.3" + upper-case "^2.0.2" + content-disposition@0.5.4: version "0.5.4" resolved "https://registry.yarnpkg.com/content-disposition/-/content-disposition-0.5.4.tgz#8b82b4efac82512a02bb0b1dcec9d2c5e8eb5bfe" @@ -2321,6 +3628,11 @@ content-type@~1.0.4, content-type@~1.0.5: resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.5.tgz#8b773162656d1d1086784c8f23a54ce6d73d7918" integrity sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA== +convert-source-map@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-2.0.0.tgz#4b560f649fc4e918dd0ab75cf4961e8bc882d82a" + integrity sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg== + cookie-signature@1.0.6: version "1.0.6" resolved "https://registry.yarnpkg.com/cookie-signature/-/cookie-signature-1.0.6.tgz#e303a882b342cc3ee8ca513a79999734dab3ae2c" @@ -2344,6 +3656,16 @@ cors@^2.8.5: object-assign "^4" vary "^1" +cosmiconfig@^8.1.0, cosmiconfig@^8.1.3: + version "8.3.6" + resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-8.3.6.tgz#060a2b871d66dba6c8538ea1118ba1ac16f5fae3" + integrity sha512-kcZ6+W5QzcJ3P1Mt+83OUv/oHFqZHIx8DuxG6eZ5RGMERoLqp4BuGjhHLYGK+Kf5XVkQvqBSmAy/nGWN3qDgEA== + dependencies: + import-fresh "^3.3.0" + js-yaml "^4.1.0" + parse-json "^5.2.0" + path-type "^4.0.0" + create-require@^1.1.0: version "1.1.1" resolved "https://registry.yarnpkg.com/create-require/-/create-require-1.1.1.tgz#c1d7e8f1e5f6cfc9ff65f9cd352d37348756c333" @@ -2356,6 +3678,20 @@ cron-parser@^4.6.0: dependencies: luxon "^3.2.1" +cross-fetch@^3.1.5: + version "3.1.8" + resolved "https://registry.yarnpkg.com/cross-fetch/-/cross-fetch-3.1.8.tgz#0327eba65fd68a7d119f8fb2bf9334a1a7956f82" + integrity sha512-cvA+JwZoU0Xq+h6WkMvAUqPEYy92Obet6UdKLfW60qn99ftItKjB5T+BkyWOFWe2pUyfQ+IJHmpOTznqk1M6Kg== + dependencies: + node-fetch "^2.6.12" + +cross-inspect@1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/cross-inspect/-/cross-inspect-1.0.0.tgz#5fda1af759a148594d2d58394a9e21364f6849af" + integrity sha512-4PFfn4b5ZN6FMNGSZlyb7wUhuN8wvj8t/VQHZdM4JsDcruGJ8L2kf9zao98QIrBPFCpdk27qst/AGTl7pL3ypQ== + dependencies: + tslib "^2.4.0" + cross-spawn@^7.0.2, cross-spawn@^7.0.3: version "7.0.3" resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" @@ -2429,6 +3765,11 @@ data-uri-to-buffer@^6.0.0: resolved "https://registry.yarnpkg.com/data-uri-to-buffer/-/data-uri-to-buffer-6.0.1.tgz#540bd4c8753a25ee129035aebdedf63b078703c7" integrity sha512-MZd3VlchQkp8rdend6vrx7MmVDJzSNTBvghvKjirLkD+WTChA3KUf0jkE68Q4UyctNqI11zZO9/x2Yx+ub5Cvg== +dataloader@^2.2.2: + version "2.2.2" + resolved "https://registry.yarnpkg.com/dataloader/-/dataloader-2.2.2.tgz#216dc509b5abe39d43a9b9d97e6e5e473dfbe3e0" + integrity sha512-8YnDaaf7N3k/q5HnTJVuzSyLETjoZjVmHc4AeKAzOvKHEFQKcn64OKBfzHYtE9zGjctNM7V9I0MfnUVLpi7M5g== + date-fns@^2.30.0: version "2.30.0" resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-2.30.0.tgz#f367e644839ff57894ec6ac480de40cae4b0f4d0" @@ -2436,6 +3777,11 @@ date-fns@^2.30.0: dependencies: "@babel/runtime" "^7.21.0" +debounce@^1.2.0: + version "1.2.1" + resolved "https://registry.yarnpkg.com/debounce/-/debounce-1.2.1.tgz#38881d8f4166a5c5848020c11827b834bcb3e0a5" + integrity sha512-XRRe6Glud4rd/ZGQfiV1ruXSfbvfJedlV9Y6zOlP+2K04vBYiJEte6stfFkCP03aMnY5tsipamumUjL14fofug== + debug@2.6.9: version "2.6.9" resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" @@ -2443,7 +3789,7 @@ debug@2.6.9: dependencies: ms "2.0.0" -debug@4, debug@^4, debug@^4.0.1, debug@^4.1.1, debug@^4.3.2, debug@^4.3.4: +debug@4, debug@^4, debug@^4.0.1, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1, debug@^4.3.2, debug@^4.3.4: version "4.3.4" resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== @@ -2457,6 +3803,11 @@ debug@^3.2.7: dependencies: ms "^2.1.1" +decamelize@^1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" + integrity sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA== + decode-uri-component@^0.2.2: version "0.2.2" resolved "https://registry.yarnpkg.com/decode-uri-component/-/decode-uri-component-0.2.2.tgz#e69dbe25d37941171dd540e024c444cd5188e1e9" @@ -2540,6 +3891,11 @@ depd@2.0.0, depd@~2.0.0: resolved "https://registry.yarnpkg.com/depd/-/depd-2.0.0.tgz#b696163cc757560d09cf22cc8fad1571b79e76df" integrity sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw== +dependency-graph@^0.11.0: + version "0.11.0" + resolved "https://registry.yarnpkg.com/dependency-graph/-/dependency-graph-0.11.0.tgz#ac0ce7ed68a54da22165a85e97a01d53f5eb2e27" + integrity sha512-JeMq7fEshyepOWDfcfHK06N3MhyPhz++vtqWhMT5O9A3K42rdsEDpfdVqjaqaAhsw6a+ZqeDvQVtD0hFHQWrzg== + dequal@^2.0.3: version "2.0.3" resolved "https://registry.yarnpkg.com/dequal/-/dequal-2.0.3.tgz#2644214f1997d39ed0ee0ece72335490a7ac67be" @@ -2550,6 +3906,16 @@ destroy@1.2.0: resolved "https://registry.yarnpkg.com/destroy/-/destroy-1.2.0.tgz#4803735509ad8be552934c67df614f94e66fa015" integrity sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg== +detect-indent@^6.0.0: + version "6.1.0" + resolved "https://registry.yarnpkg.com/detect-indent/-/detect-indent-6.1.0.tgz#592485ebbbf6b3b1ab2be175c8393d04ca0d57e6" + integrity sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA== + +detect-libc@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-1.0.3.tgz#fa137c4bd698edf55cd5cd02ac559f91a4c4ba9b" + integrity sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg== + didyoumean@^1.2.2: version "1.2.2" resolved "https://registry.yarnpkg.com/didyoumean/-/didyoumean-1.2.2.tgz#989346ffe9e839b4555ecf5666edea0d3e8ad037" @@ -2593,16 +3959,44 @@ dot-case@^2.1.0: dependencies: no-case "^2.2.0" +dot-case@^3.0.4: + version "3.0.4" + resolved "https://registry.yarnpkg.com/dot-case/-/dot-case-3.0.4.tgz#9b2b670d00a431667a8a75ba29cd1b98809ce751" + integrity sha512-Kv5nKlh6yRrdrGvxeJ2e5y2eRUpkUosIW4A2AS38zwSz27zu7ufDwQPi5Jhs3XAlGNetl3bmnGhQsMtkKJnj3w== + dependencies: + no-case "^3.0.4" + tslib "^2.0.3" + +dotenv-cli@^7.3.0: + version "7.3.0" + resolved "https://registry.yarnpkg.com/dotenv-cli/-/dotenv-cli-7.3.0.tgz#21e33e7944713001677658d68856063968edfbd2" + integrity sha512-314CA4TyK34YEJ6ntBf80eUY+t1XaFLyem1k9P0sX1gn30qThZ5qZr/ZwE318gEnzyYP9yj9HJk6SqwE0upkfw== + dependencies: + cross-spawn "^7.0.3" + dotenv "^16.3.0" + dotenv-expand "^10.0.0" + minimist "^1.2.6" + +dotenv-expand@^10.0.0: + version "10.0.0" + resolved "https://registry.yarnpkg.com/dotenv-expand/-/dotenv-expand-10.0.0.tgz#12605d00fb0af6d0a592e6558585784032e4ef37" + integrity sha512-GopVGCpVS1UKH75VKHGuQFqS1Gusej0z4FyQkPdwjil2gNIv+LNsqBlboOzpJFZKVT95GkCyWJbBSdFEFUWI2A== + dotenv@16.0.3: version "16.0.3" resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-16.0.3.tgz#115aec42bac5053db3c456db30cc243a5a836a07" integrity sha512-7GO6HghkA5fYG9TYnNxi14/7K9f5occMlp3zXAuSxn7CKCxt9xbNWG7yF8hTCSUchlfWSe3uLmlPfigevRItzQ== -dotenv@^16.3.1: +dotenv@^16.0.0, dotenv@^16.3.0, dotenv@^16.3.1: version "16.3.1" resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-16.3.1.tgz#369034de7d7e5b120972693352a3bf112172cc3e" integrity sha512-IPzF4w4/Rd94bA9imS68tZBaYyBWSCE47V1RGuMrB94iyTOIEwRmVL2x/4An+6mETpLrKJ5hQkB8W4kFAadeIQ== +dset@^3.1.2: + version "3.1.3" + resolved "https://registry.yarnpkg.com/dset/-/dset-3.1.3.tgz#c194147f159841148e8e34ca41f638556d9542d2" + integrity sha512-20TuZZHCEZ2O71q9/+8BwKwZ0QtD9D8ObhrihJPr+vLLYlSuAU3/zL4cSlgbfeoGHTjCSJBa7NGcrF9/Bx/WJQ== + ecdsa-sig-formatter@1.0.11: version "1.0.11" resolved "https://registry.yarnpkg.com/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz#ae0f0fa2d85045ef14a817daa3ce9acd0489e5bf" @@ -2620,6 +4014,11 @@ electron-to-chromium@^1.4.535: resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.576.tgz#0c6940fdc0d60f7e34bd742b29d8fa847c9294d1" integrity sha512-yXsZyXJfAqzWk1WKryr0Wl0MN2D47xodPvEEwlVePBnhU5E7raevLQR+E6b9JAD3GfL/7MbAL9ZtWQQPcLx7wA== +electron-to-chromium@^1.4.601: + version "1.4.626" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.626.tgz#c20e1706354a31721b65e81496800534dd04b222" + integrity sha512-f7/be56VjRRQk+Ric6PmIrEtPcIqsn3tElyAu9Sh6egha2VLJ82qwkcOdcnT06W+Pb6RUulV1ckzrGbKzVcTHg== + emoji-regex@^8.0.0: version "8.0.0" resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" @@ -2656,6 +4055,13 @@ enquirer@^2.3.5: ansi-colors "^4.1.1" strip-ansi "^6.0.1" +error-ex@^1.3.1: + version "1.3.2" + resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf" + integrity sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g== + dependencies: + is-arrayish "^0.2.1" + es-abstract@^1.22.1: version "1.22.3" resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.22.3.tgz#48e79f5573198de6dee3589195727f4f74bc4f32" @@ -3276,6 +4682,16 @@ external-editor@^3.0.3: iconv-lite "^0.4.24" tmp "^0.0.33" +extract-files@^11.0.0: + version "11.0.0" + resolved "https://registry.yarnpkg.com/extract-files/-/extract-files-11.0.0.tgz#b72d428712f787eef1f5193aff8ab5351ca8469a" + integrity sha512-FuoE1qtbJ4bBVvv94CC7s0oTnKUGvQs+Rjf1L2SJFfS+HTVVjhPFtehPdQ0JiGPqVNfSSZvL5yzHHQq2Z4WNhQ== + +fast-decode-uri-component@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/fast-decode-uri-component/-/fast-decode-uri-component-1.0.1.tgz#46f8b6c22b30ff7a81357d4f59abfae938202543" + integrity sha512-WKgKWg5eUxvRZGwW8FvfbaH7AXSh2cL+3j5fMGzUMCxWBJ3dV3a7Wz8y2f/uQ0e3B6WmodD3oS54jTQ9HVTIIg== + fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3: version "3.1.3" resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525" @@ -3302,6 +4718,20 @@ fast-levenshtein@^2.0.6: resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917" integrity sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw== +fast-querystring@^1.1.1: + version "1.1.2" + resolved "https://registry.yarnpkg.com/fast-querystring/-/fast-querystring-1.1.2.tgz#a6d24937b4fc6f791b4ee31dcb6f53aeafb89f53" + integrity sha512-g6KuKWmFXc0fID8WWH0jit4g0AGBoJhCkJMb1RmbsSEUNvQ+ZC8D6CUZ+GtF8nMzSPXnhiePyyqqipzNNEnHjg== + dependencies: + fast-decode-uri-component "^1.0.1" + +fast-url-parser@^1.1.3: + version "1.1.3" + resolved "https://registry.yarnpkg.com/fast-url-parser/-/fast-url-parser-1.1.3.tgz#f4af3ea9f34d8a271cf58ad2b3759f431f0b318d" + integrity sha512-5jOCVXADYNuRkKFzNJ0dCCewsZiYo0dz8QNYljkOpFC6r2U4OBmKtvm/Tsuh4w1YYdDqDb31a8TVhBJ2OJKdqQ== + dependencies: + punycode "^1.3.2" + fastparse@^1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/fastparse/-/fastparse-1.1.2.tgz#91728c5a5942eced8531283c79441ee4122c35a9" @@ -3314,6 +4744,31 @@ fastq@^1.6.0: dependencies: reusify "^1.0.4" +fb-watchman@^2.0.0: + version "2.0.2" + resolved "https://registry.yarnpkg.com/fb-watchman/-/fb-watchman-2.0.2.tgz#e9524ee6b5c77e9e5001af0f85f3adbb8623255c" + integrity sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA== + dependencies: + bser "2.1.1" + +fbjs-css-vars@^1.0.0: + version "1.0.2" + resolved "https://registry.yarnpkg.com/fbjs-css-vars/-/fbjs-css-vars-1.0.2.tgz#216551136ae02fe255932c3ec8775f18e2c078b8" + integrity sha512-b2XGFAFdWZWg0phtAWLHCk836A1Xann+I+Dgd3Gk64MHKZO44FfoD1KxyvbSh0qZsIoXQGGlVztIY+oitJPpRQ== + +fbjs@^3.0.0: + version "3.0.5" + resolved "https://registry.yarnpkg.com/fbjs/-/fbjs-3.0.5.tgz#aa0edb7d5caa6340011790bd9249dbef8a81128d" + integrity sha512-ztsSx77JBtkuMrEypfhgc3cI0+0h+svqeie7xHbh1k/IKdcydnvadp/mUaGgjAOXQmQSxsqgaRhS3q9fy+1kxg== + dependencies: + cross-fetch "^3.1.5" + fbjs-css-vars "^1.0.0" + loose-envify "^1.0.0" + object-assign "^4.1.0" + promise "^7.1.1" + setimmediate "^1.0.5" + ua-parser-js "^1.0.35" + fecha@^4.2.0: version "4.2.3" resolved "https://registry.yarnpkg.com/fecha/-/fecha-4.2.3.tgz#4d9ccdbc61e8629b259fdca67e65891448d569fd" @@ -3358,6 +4813,14 @@ finalhandler@1.2.0: statuses "2.0.1" unpipe "~1.0.0" +find-up@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/find-up/-/find-up-4.1.0.tgz#97afe7d6cdc0bc5928584b7c8d7b16e8a9aa5d19" + integrity sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw== + dependencies: + locate-path "^5.0.0" + path-exists "^4.0.0" + find-up@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/find-up/-/find-up-5.0.0.tgz#4c92819ecb7083561e4f4a240a86be5198f536fc" @@ -3474,7 +4937,12 @@ functions-have-names@^1.2.3: resolved "https://registry.yarnpkg.com/functions-have-names/-/functions-have-names-1.2.3.tgz#0404fe4ee2ba2f607f0e0ec3c80bae994133b834" integrity sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ== -get-caller-file@^2.0.5: +gensync@^1.0.0-beta.2: + version "1.0.0-beta.2" + resolved "https://registry.yarnpkg.com/gensync/-/gensync-1.0.0-beta.2.tgz#32a6ee76c3d7f52d46b2b1ae5d93fea8580a25e0" + integrity sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg== + +get-caller-file@^2.0.1, get-caller-file@^2.0.5: version "2.0.5" resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== @@ -3562,7 +5030,7 @@ glob@7.1.7: once "^1.3.0" path-is-absolute "^1.0.0" -glob@^7.1.3: +glob@^7.1.1, glob@^7.1.3: version "7.2.3" resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b" integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== @@ -3585,6 +5053,11 @@ glob@^8.0.3: minimatch "^5.0.1" once "^1.3.0" +globals@^11.1.0: + version "11.12.0" + resolved "https://registry.yarnpkg.com/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e" + integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA== + globals@^13.19.0, globals@^13.6.0, globals@^13.9.0: version "13.23.0" resolved "https://registry.yarnpkg.com/globals/-/globals-13.23.0.tgz#ef31673c926a0976e1f61dab4dca57e0c0a8af02" @@ -3613,7 +5086,7 @@ globby@^10.0.1: merge2 "^1.2.3" slash "^3.0.0" -globby@^11.1.0: +globby@^11.0.3, globby@^11.1.0: version "11.1.0" resolved "https://registry.yarnpkg.com/globby/-/globby-11.1.0.tgz#bd4be98bb042f83d796f7e3811991fbe82a0d34b" integrity sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g== @@ -3655,6 +5128,31 @@ graphemer@^1.4.0: resolved "https://registry.yarnpkg.com/graphemer/-/graphemer-1.4.0.tgz#fb2f1d55e0e3a1849aeffc90c4fa0dd53a0e66c6" integrity sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag== +graphql-config@^5.0.2: + version "5.0.3" + resolved "https://registry.yarnpkg.com/graphql-config/-/graphql-config-5.0.3.tgz#d9aa2954cf47a927f9cb83cdc4e42ae55d0b321e" + integrity sha512-BNGZaoxIBkv9yy6Y7omvsaBUHOzfFcII3UN++tpH8MGOKFPFkCPZuwx09ggANMt8FgyWP1Od8SWPmrUEZca4NQ== + dependencies: + "@graphql-tools/graphql-file-loader" "^8.0.0" + "@graphql-tools/json-file-loader" "^8.0.0" + "@graphql-tools/load" "^8.0.0" + "@graphql-tools/merge" "^9.0.0" + "@graphql-tools/url-loader" "^8.0.0" + "@graphql-tools/utils" "^10.0.0" + cosmiconfig "^8.1.0" + jiti "^1.18.2" + minimatch "^4.2.3" + string-env-interpolation "^1.0.1" + tslib "^2.4.0" + +graphql-request@^6.0.0: + version "6.1.0" + resolved "https://registry.yarnpkg.com/graphql-request/-/graphql-request-6.1.0.tgz#f4eb2107967af3c7a5907eb3131c671eac89be4f" + integrity sha512-p+XPfS4q7aIpKVcgmnZKhMNqhltk20hfXtkaIkTfjjmiKMJ5xrt5c743cL03y/K7y1rg3WrIC49xGiEQ4mxdNw== + dependencies: + "@graphql-typed-document-node/core" "^3.2.0" + cross-fetch "^3.1.5" + graphql-tag@^2.11.0, graphql-tag@^2.12.6: version "2.12.6" resolved "https://registry.yarnpkg.com/graphql-tag/-/graphql-tag-2.12.6.tgz#d441a569c1d2537ef10ca3d1633b48725329b5f1" @@ -3738,6 +5236,14 @@ header-case@^1.0.0: no-case "^2.2.0" upper-case "^1.1.3" +header-case@^2.0.4: + version "2.0.4" + resolved "https://registry.yarnpkg.com/header-case/-/header-case-2.0.4.tgz#5a42e63b55177349cf405beb8d775acabb92c063" + integrity sha512-H/vuk5TEEVZwrR0lp2zed9OCo1uAILMlx0JEMgC26rzyJJ3N1v6XkwHHXJQdR2doSjcGPM6OKPYoJgf0plJ11Q== + dependencies: + capital-case "^1.0.4" + tslib "^2.0.3" + helmet@^7.1.0: version "7.1.0" resolved "https://registry.yarnpkg.com/helmet/-/helmet-7.1.0.tgz#287279e00f8a3763d5dccbaf1e5ee39b8c3784ca" @@ -3801,6 +5307,11 @@ humanize-ms@^1.2.1: dependencies: ms "^2.0.0" +husky@^8.0.3: + version "8.0.3" + resolved "https://registry.yarnpkg.com/husky/-/husky-8.0.3.tgz#4936d7212e46d1dea28fef29bb3a108872cd9184" + integrity sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg== + iconv-lite@0.4.24, iconv-lite@^0.4.24: version "0.4.24" resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b" @@ -3828,7 +5339,12 @@ ignore@^5.1.1, ignore@^5.2.0: resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.2.4.tgz#a291c0c6178ff1b960befe47fcdec301674a6324" integrity sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ== -import-fresh@^3.0.0, import-fresh@^3.2.1: +immutable@~3.7.6: + version "3.7.6" + resolved "https://registry.yarnpkg.com/immutable/-/immutable-3.7.6.tgz#13b4d3cb12befa15482a26fe1b2ebae640071e4b" + integrity sha512-AizQPcaofEtO11RZhPPHBOJRdo/20MKQF9mBLnVkBoyHi1/zXK8fzVdnEpSV9gxqtnh6Qomfp3F0xT5qP/vThw== + +import-fresh@^3.0.0, import-fresh@^3.2.1, import-fresh@^3.3.0: version "3.3.0" resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-3.3.0.tgz#37162c25fcb9ebaa2e6e53d5b4d88ce17d9e0c2b" integrity sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw== @@ -3836,6 +5352,11 @@ import-fresh@^3.0.0, import-fresh@^3.2.1: parent-module "^1.0.0" resolve-from "^4.0.0" +import-from@4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/import-from/-/import-from-4.0.0.tgz#2710b8d66817d232e16f4166e319248d3d5492e2" + integrity sha512-P9J71vT5nLlDeV8FHs5nNxaLbrpfAV5cF5srvbZfpwpcJoM/xZR3hiv+q+SAnuSmuGbXMWud063iIMx/V/EWZQ== + imurmurhash@^0.1.4: version "0.1.4" resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" @@ -3913,7 +5434,7 @@ internal-slot@^1.0.5: hasown "^2.0.0" side-channel "^1.0.4" -invariant@2.2.4: +invariant@2.2.4, invariant@^2.2.4: version "2.2.4" resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6" integrity sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA== @@ -3950,6 +5471,14 @@ ipaddr.js@1.9.1: resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-1.9.1.tgz#bff38543eeb8984825079ff3a2a8e6cbd46781b3" integrity sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g== +is-absolute@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-absolute/-/is-absolute-1.0.0.tgz#395e1ae84b11f26ad1795e73c17378e48a301576" + integrity sha512-dOWoqflvcydARa360Gvv18DZ/gRuHKi2NU/wU5X1ZFzdYfH29nkiNZsF3mp4OJ3H4yo9Mx8A/uAGNzpzPN3yBA== + dependencies: + is-relative "^1.0.0" + is-windows "^1.0.1" + is-array-buffer@^3.0.1, is-array-buffer@^3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/is-array-buffer/-/is-array-buffer-3.0.2.tgz#f2653ced8412081638ecb0ebbd0c41c6e0aecbbe" @@ -3959,6 +5488,11 @@ is-array-buffer@^3.0.1, is-array-buffer@^3.0.2: get-intrinsic "^1.2.0" is-typed-array "^1.1.10" +is-arrayish@^0.2.1: + version "0.2.1" + resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" + integrity sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg== + is-arrayish@^0.3.1: version "0.3.2" resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.3.2.tgz#4574a2ae56f7ab206896fb431eaeed066fdf8f03" @@ -4036,7 +5570,7 @@ is-generator-function@^1.0.10: dependencies: has-tostringtag "^1.0.0" -is-glob@^4.0.0, is-glob@^4.0.1, is-glob@^4.0.3, is-glob@~4.0.1: +is-glob@4.0.3, is-glob@^4.0.0, is-glob@^4.0.1, is-glob@^4.0.3, is-glob@~4.0.1: version "4.0.3" resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.3.tgz#64f61e42cbbb2eec2071a9dac0b28ba1e65d5084" integrity sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg== @@ -4055,6 +5589,13 @@ is-lower-case@^1.1.0: dependencies: lower-case "^1.1.0" +is-lower-case@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/is-lower-case/-/is-lower-case-2.0.2.tgz#1c0884d3012c841556243483aa5d522f47396d2a" + integrity sha512-bVcMJy4X5Og6VZfdOZstSexlEy20Sr0k/p/b2IlQJlfdKAQuMpiv5w2Ccxb8sKdRUNAG1PnHVHjFSdRDVS6NlQ== + dependencies: + tslib "^2.0.3" + is-map@^2.0.1: version "2.0.2" resolved "https://registry.yarnpkg.com/is-map/-/is-map-2.0.2.tgz#00922db8c9bf73e81b7a335827bc2a43f2b91127" @@ -4095,6 +5636,13 @@ is-regex@^1.1.4: call-bind "^1.0.2" has-tostringtag "^1.0.0" +is-relative@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-relative/-/is-relative-1.0.0.tgz#a1bb6935ce8c5dba1e8b9754b9b2dcc020e2260d" + integrity sha512-Kw/ReK0iqwKeu0MITLFuj0jbPAmEiOsIwyIXvvbfa6QfmN9pkD1M+8pdk7Rl/dTKbH34/XBFMbgD4iMJhLQbGA== + dependencies: + is-unc-path "^1.0.0" + is-set@^2.0.1: version "2.0.2" resolved "https://registry.yarnpkg.com/is-set/-/is-set-2.0.2.tgz#90755fa4c2562dc1c5d4024760d6119b94ca18ec" @@ -4133,6 +5681,13 @@ is-typed-array@^1.1.10, is-typed-array@^1.1.12, is-typed-array@^1.1.9: dependencies: which-typed-array "^1.1.11" +is-unc-path@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-unc-path/-/is-unc-path-1.0.0.tgz#d731e8898ed090a12c352ad2eaed5095ad322c9d" + integrity sha512-mrGpVd0fs7WWLfVsStvgF6iEJnbjDFZh9/emhRDcGWTduTfNHd9CHeUwH3gYIjdbwo4On6hunkztwOaAw0yllQ== + dependencies: + unc-path-regex "^0.1.2" + is-unicode-supported@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz#3f26c76a809593b52bfa2ecb5710ed2779b522a7" @@ -4145,6 +5700,13 @@ is-upper-case@^1.1.0: dependencies: upper-case "^1.1.0" +is-upper-case@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/is-upper-case/-/is-upper-case-2.0.2.tgz#f1105ced1fe4de906a5f39553e7d3803fd804649" + integrity sha512-44pxmxAvnnAOwBg4tHPnkfvgjPwbc5QIsSstNU+YcJ1ovxVzCWpSGosPJOZh/a1tdl81fbgnLc9LLv+x2ywbPQ== + dependencies: + tslib "^2.0.3" + is-weakmap@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/is-weakmap/-/is-weakmap-2.0.1.tgz#5008b59bdc43b698201d18f62b37b2ca243e8cf2" @@ -4165,6 +5727,11 @@ is-weakset@^2.0.1: call-bind "^1.0.2" get-intrinsic "^1.1.1" +is-windows@^1.0.1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/is-windows/-/is-windows-1.0.2.tgz#d1850eb9791ecd18e6182ce12a30f396634bb19d" + integrity sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA== + isarray@^2.0.5: version "2.0.5" resolved "https://registry.yarnpkg.com/isarray/-/isarray-2.0.5.tgz#8af1e4c1221244cc62459faf38940d4e644a5723" @@ -4180,6 +5747,11 @@ isexe@^2.0.0: resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" integrity sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw== +isomorphic-ws@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/isomorphic-ws/-/isomorphic-ws-5.0.0.tgz#e5529148912ecb9b451b46ed44d53dae1ce04bbf" + integrity sha512-muId7Zzn9ywDsyXgTIafTry2sV3nySZeUDe6YedVd1Hvuuep5AsIlqK+XefWpYTyJG5e503F2xIuT2lcU6rCSw== + iterall@^1.2.1: version "1.3.0" resolved "https://registry.yarnpkg.com/iterall/-/iterall-1.3.0.tgz#afcb08492e2915cbd8a0884eb93a8c94d0d72fea" @@ -4196,7 +5768,7 @@ iterator.prototype@^1.1.2: reflect.getprototypeof "^1.0.4" set-function-name "^2.0.1" -jiti@^1.18.2, jiti@^1.19.1: +jiti@^1.17.1, jiti@^1.18.2, jiti@^1.19.1: version "1.21.0" resolved "https://registry.yarnpkg.com/jiti/-/jiti-1.21.0.tgz#7c97f8fe045724e136a397f7340475244156105d" integrity sha512-gFqAIbuKyyso/3G2qhiO2OM6shY6EPP/R0+mkDbyspxKazh8BXDC5FiFsUjlczgdNz/vfra0da2y+aHrusLG/Q== @@ -4206,6 +5778,11 @@ jose@^4.11.4, jose@^4.15.1: resolved "https://registry.yarnpkg.com/jose/-/jose-4.15.4.tgz#02a9a763803e3872cf55f29ecef0dfdcc218cc03" integrity sha512-W+oqK4H+r5sITxfxpSU+MMdr/YSWGvgZMQDIsNoBDGGy4i7GBPTtvFKibQzW06n3U3TqHjhvBJsirShsEJ6eeQ== +jose@^5.0.0: + version "5.2.0" + resolved "https://registry.yarnpkg.com/jose/-/jose-5.2.0.tgz#d0ffd7f7e31253f633eefb190a930cd14a916995" + integrity sha512-oW3PCnvyrcm1HMvGTzqjxxfnEs9EoFOFWi2HsEGhlFVOXxTE3K9GKWVMFoFw06yPUqwpvEWic1BmtUZBI/tIjw== + "js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" @@ -4219,18 +5796,28 @@ js-yaml@^3.13.1: argparse "^1.0.7" esprima "^4.0.0" -js-yaml@^4.1.0: +js-yaml@^4.0.0, js-yaml@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.1.0.tgz#c1fb65f8f5017901cdd2c951864ba18458a10602" integrity sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA== dependencies: argparse "^2.0.1" +jsesc@^2.5.1: + version "2.5.2" + resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-2.5.2.tgz#80564d2e483dacf6e8ef209650a67df3f0c283a4" + integrity sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA== + json-buffer@3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/json-buffer/-/json-buffer-3.0.1.tgz#9338802a30d3b6605fbe0613e094008ca8c05a13" integrity sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ== +json-parse-even-better-errors@^2.3.0: + version "2.3.1" + resolved "https://registry.yarnpkg.com/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz#7c47805a94319928e05777405dc12e1f7a4ee02d" + integrity sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w== + json-schema-traverse@^0.4.1: version "0.4.1" resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660" @@ -4246,6 +5833,24 @@ json-stable-stringify-without-jsonify@^1.0.1: resolved "https://registry.yarnpkg.com/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz#9db7b59496ad3f3cfef30a75142d2d930ad72651" integrity sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw== +json-stable-stringify@^1.0.1: + version "1.1.0" + resolved "https://registry.yarnpkg.com/json-stable-stringify/-/json-stable-stringify-1.1.0.tgz#43d39c7c8da34bfaf785a61a56808b0def9f747d" + integrity sha512-zfA+5SuwYN2VWqN1/5HZaDzQKLJHaBVMZIIM+wuYjdptkaQsqzDdqjqf+lZZJUuJq1aanHiY8LhH8LmH+qBYJA== + dependencies: + call-bind "^1.0.5" + isarray "^2.0.5" + jsonify "^0.0.1" + object-keys "^1.1.1" + +json-to-pretty-yaml@^1.2.2: + version "1.2.2" + resolved "https://registry.yarnpkg.com/json-to-pretty-yaml/-/json-to-pretty-yaml-1.2.2.tgz#f4cd0bd0a5e8fe1df25aaf5ba118b099fd992d5b" + integrity sha512-rvm6hunfCcqegwYaG5T4yKJWxc9FXFgBVrcTZ4XfSVRwa5HA/Xs+vB/Eo9treYYHCeNM0nrSUr82V/M31Urc7A== + dependencies: + remedial "^1.0.7" + remove-trailing-spaces "^1.0.6" + json5@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/json5/-/json5-1.0.2.tgz#63d98d60f21b313b77c4d6da18bfa69d80e1d593" @@ -4253,6 +5858,11 @@ json5@^1.0.2: dependencies: minimist "^1.2.0" +json5@^2.2.3: + version "2.2.3" + resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283" + integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg== + jsonfile@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-4.0.0.tgz#8771aae0799b64076b76640fca058f9c10e33ecb" @@ -4269,6 +5879,11 @@ jsonfile@^6.0.1: optionalDependencies: graceful-fs "^4.1.6" +jsonify@^0.0.1: + version "0.0.1" + resolved "https://registry.yarnpkg.com/jsonify/-/jsonify-0.0.1.tgz#2aa3111dae3d34a0f151c63f3a45d995d9420978" + integrity sha512-2/Ki0GcmuqSrgFyelQq9M05y7PS0mEwuIzrf3f1fPqkVDVRvZrPZtVSMHxdgo8Aq0sxAOb/cr2aqqA3LeWHVPg== + "jsx-ast-utils@^2.4.1 || ^3.0.0", jsx-ast-utils@^3.3.5: version "3.3.5" resolved "https://registry.yarnpkg.com/jsx-ast-utils/-/jsx-ast-utils-3.3.5.tgz#4766bd05a8e2a11af222becd19e15575e52a853a" @@ -4343,6 +5958,27 @@ lines-and-columns@^1.1.6: resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632" integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg== +listr2@^4.0.5: + version "4.0.5" + resolved "https://registry.yarnpkg.com/listr2/-/listr2-4.0.5.tgz#9dcc50221583e8b4c71c43f9c7dfd0ef546b75d5" + integrity sha512-juGHV1doQdpNT3GSTs9IUN43QJb7KHdF9uqg7Vufs/tG9VTzpFphqF4pm/ICdAABGQxsyNn9CiYA3StkI6jpwA== + dependencies: + cli-truncate "^2.1.0" + colorette "^2.0.16" + log-update "^4.0.0" + p-map "^4.0.0" + rfdc "^1.3.0" + rxjs "^7.5.5" + through "^2.3.8" + wrap-ansi "^7.0.0" + +locate-path@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-5.0.0.tgz#1afba396afd676a6d42504d0a67a3a7eb9f62aa0" + integrity sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g== + dependencies: + p-locate "^4.1.0" + locate-path@^6.0.0: version "6.0.0" resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-6.0.0.tgz#55321eb309febbc59c4801d931a72452a681d286" @@ -4390,7 +6026,7 @@ lodash.truncate@^4.4.2: resolved "https://registry.yarnpkg.com/lodash.truncate/-/lodash.truncate-4.4.2.tgz#5a350da0b1113b837ecfffd5812cbe58d6eae193" integrity sha512-jttmRe7bRse52OsWIMDLaXxWqRAmtIUccAQ3garviCqJjafXOfNMO0yMfNpdD6zbGaTU0P5Nz7e7gAT6cKmJRw== -lodash@^4.17.19, lodash@^4.17.21: +lodash@^4.17.19, lodash@^4.17.20, lodash@^4.17.21, lodash@~4.17.0: version "4.17.21" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== @@ -4402,7 +6038,7 @@ log-symbols@^3.0.0: dependencies: chalk "^2.4.2" -log-symbols@^4.1.0: +log-symbols@^4.0.0, log-symbols@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-4.1.0.tgz#3fbdbb95b4683ac9fc785111e792e558d4abd503" integrity sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg== @@ -4410,6 +6046,16 @@ log-symbols@^4.1.0: chalk "^4.1.0" is-unicode-supported "^0.1.0" +log-update@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/log-update/-/log-update-4.0.0.tgz#589ecd352471f2a1c0c570287543a64dfd20e0a1" + integrity sha512-9fkkDevMefjg0mmzWFBW8YkFP91OrizzkW3diF7CpG+S2EYdy4+TVfGwz1zeF8x7hCx1ovSPTOE9Ngib74qqUg== + dependencies: + ansi-escapes "^4.3.0" + cli-cursor "^3.1.0" + slice-ansi "^4.0.0" + wrap-ansi "^6.2.0" + logform@^2.3.2, logform@^2.4.0: version "2.6.0" resolved "https://registry.yarnpkg.com/logform/-/logform-2.6.0.tgz#8c82a983f05d6eaeb2d75e3decae7a768b2bf9b5" @@ -4446,11 +6092,25 @@ lower-case-first@^1.0.0: dependencies: lower-case "^1.1.2" +lower-case-first@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/lower-case-first/-/lower-case-first-2.0.2.tgz#64c2324a2250bf7c37c5901e76a5b5309301160b" + integrity sha512-EVm/rR94FJTZi3zefZ82fLWab+GX14LJN4HrWBcuo6Evmsl9hEfnqxgcHCKb9q+mNf6EVdsjx/qucYFIIB84pg== + dependencies: + tslib "^2.0.3" + lower-case@^1.1.0, lower-case@^1.1.1, lower-case@^1.1.2: version "1.1.4" resolved "https://registry.yarnpkg.com/lower-case/-/lower-case-1.1.4.tgz#9a2cabd1b9e8e0ae993a4bf7d5875c39c42e8eac" integrity sha512-2Fgx1Ycm599x+WGpIYwJOvsjmXFzTSc34IwDWALRA/8AopUKAVPwfJ+h5+f85BCp0PWmmJcWzEpxOpoXycMpdA== +lower-case@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/lower-case/-/lower-case-2.0.2.tgz#6fa237c63dbdc4a82ca0fd882e4722dc5e634e28" + integrity sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg== + dependencies: + tslib "^2.0.3" + "lru-cache@7.10.1 - 7.13.1": version "7.13.1" resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-7.13.1.tgz#267a81fbd0881327c46a81c5922606a2cfe336c4" @@ -4461,6 +6121,13 @@ lru-cache@^10.0.0: resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-10.0.1.tgz#0a3be479df549cca0e5d693ac402ff19537a6b7a" integrity sha512-IJ4uwUTi2qCccrioU6g9g/5rvvVl13bsdczUUcqbciD9iLr095yj8DQKdObriEvuNSx325N1rV1O0sJFszx75g== +lru-cache@^5.1.1: + version "5.1.1" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-5.1.1.tgz#1da27e6710271947695daf6848e847f01d84b920" + integrity sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w== + dependencies: + yallist "^3.0.2" + lru-cache@^6.0.0: version "6.0.0" resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94" @@ -4483,6 +6150,11 @@ make-error@^1.1.1: resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.3.6.tgz#2eb2e37ea9b67c4891f684a1394799af484cf7a2" integrity sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw== +map-cache@^0.2.0: + version "0.2.2" + resolved "https://registry.yarnpkg.com/map-cache/-/map-cache-0.2.2.tgz#c32abd0bd6525d9b051645bb4f26ac5dc98a0dbf" + integrity sha512-8y/eV9QQZCiyn1SprXSrCmqJN0yNRATe+PO8ztwqrvrbdRLA3eYJF0yaR0YayLWkMbsQSKWS9N2gPcGEc4UsZg== + media-typer@0.3.0: version "0.3.0" resolved "https://registry.yarnpkg.com/media-typer/-/media-typer-0.3.0.tgz#8710d7af0aa626f8fffa1ce00168545263255748" @@ -4503,6 +6175,11 @@ merge2@^1.2.3, merge2@^1.3.0, merge2@^1.4.1: resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae" integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg== +meros@^1.2.1: + version "1.3.0" + resolved "https://registry.yarnpkg.com/meros/-/meros-1.3.0.tgz#c617d2092739d55286bf618129280f362e6242f2" + integrity sha512-2BNGOimxEz5hmjUG2FwoxCt5HN7BXdaWyFqEwxPTrJzVdABtrL4TiHTcsWSFAxPQ/tOnEaQEJh3qWq71QRMY+w== + methods@~1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/methods/-/methods-1.1.2.tgz#5529a4d67654134edcc5266656835b0f851afcee" @@ -4550,6 +6227,13 @@ minimatch@^3.0.4, minimatch@^3.0.5, minimatch@^3.1.1, minimatch@^3.1.2: dependencies: brace-expansion "^1.1.7" +minimatch@^4.2.3: + version "4.2.3" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-4.2.3.tgz#b4dcece1d674dee104bb0fb833ebb85a78cbbca6" + integrity sha512-lIUdtK5hdofgCTu3aT0sOaHsYR37viUuIc0rwnnDXImbwFRcumyLMeZaM0t0I/fgxS6s6JMfu0rLD1Wz9pv1ng== + dependencies: + brace-expansion "^1.1.7" + minimatch@^5.0.1: version "5.1.6" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-5.1.6.tgz#1cfcb8cf5522ea69952cd2af95ae09477f122a96" @@ -4778,12 +6462,25 @@ no-case@^2.2.0, no-case@^2.3.2: dependencies: lower-case "^1.1.1" +no-case@^3.0.4: + version "3.0.4" + resolved "https://registry.yarnpkg.com/no-case/-/no-case-3.0.4.tgz#d361fd5c9800f558551a8369fc0dcd4662b6124d" + integrity sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg== + dependencies: + lower-case "^2.0.2" + tslib "^2.0.3" + node-abort-controller@^3.0.1, node-abort-controller@^3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/node-abort-controller/-/node-abort-controller-3.1.1.tgz#a94377e964a9a37ac3976d848cb5c765833b8548" integrity sha512-AGK2yQKIjRuqnc6VkX2Xj5d+QW8xZ87pa1UK6yA6ouUyuxfHuMP6umE5QK7UmTeOAymo+Zx1Fxiuw9rVx8taHQ== -node-fetch@^2.6.7: +node-addon-api@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-7.0.0.tgz#8136add2f510997b3b94814f4af1cce0b0e3962e" + integrity sha512-vgbBJTS4m5/KkE16t5Ly0WW9hz46swAstv0hYYwMtbG7AznRhNyfLRe8HZAiWIpcHzoO7HxhLuBQj9rJ/Ho0ZA== + +node-fetch@^2.6.1, node-fetch@^2.6.12, node-fetch@^2.6.7: version "2.7.0" resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.7.0.tgz#d0f0fa6e3e2dc1d27efcd8ad99d550bda94d187d" integrity sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A== @@ -4795,6 +6492,11 @@ node-gyp-build-optional-packages@5.0.7: resolved "https://registry.yarnpkg.com/node-gyp-build-optional-packages/-/node-gyp-build-optional-packages-5.0.7.tgz#5d2632bbde0ab2f6e22f1bbac2199b07244ae0b3" integrity sha512-YlCCc6Wffkx0kHkmam79GKvDQ6x+QZkMjFGrIMxgFNILFvGSbCp2fCBC55pGTT9gVaz8Na5CLmxt/urtzRv36w== +node-int64@^0.4.0: + version "0.4.0" + resolved "https://registry.yarnpkg.com/node-int64/-/node-int64-0.4.0.tgz#87a9065cdb355d3182d8f94ce11188b825c68a3b" + integrity sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw== + node-plop@^0.26.3: version "0.26.3" resolved "https://registry.yarnpkg.com/node-plop/-/node-plop-0.26.3.tgz#d6fa7e71393c8b940513ba8c4868f8aaa6dea9df" @@ -4817,6 +6519,11 @@ node-releases@^2.0.13: resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.13.tgz#d5ed1627c23e3461e819b02e57b75e4899b1c81d" integrity sha512-uYr7J37ae/ORWdZeQ1xxMJe3NtdmqMC/JZK+geofDrkLUApKRHPd18/TxtBOJ4A0/+uUIliorNrfYV6s1b02eQ== +node-releases@^2.0.14: + version "2.0.14" + resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.14.tgz#2ffb053bceb8b2be8495ece1ab6ce600c4461b0b" + integrity sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw== + nodemon@^3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/nodemon/-/nodemon-3.0.1.tgz#affe822a2c5f21354466b2fc8ae83277d27dadc7" @@ -4856,6 +6563,13 @@ nopt@~1.0.10: dependencies: abbrev "1" +normalize-path@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-2.1.1.tgz#1ab28b556e198363a8c1a6f7e6fa20137fe6aed9" + integrity sha512-3pKJwH184Xo/lnH6oyP1q2pMd7HcypqqmRs91/6/i2CGtWwIKGCkOOMTm/zXbgTEWHw1uNpNi/igc3ePOYHb6w== + dependencies: + remove-trailing-separator "^1.0.1" + normalize-path@^3.0.0, normalize-path@~3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" @@ -4873,12 +6587,17 @@ npm-run-path@^4.0.1: dependencies: path-key "^3.0.0" +nullthrows@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/nullthrows/-/nullthrows-1.1.1.tgz#7818258843856ae971eae4208ad7d7eb19a431b1" + integrity sha512-2vPPEi+Z7WqML2jZYddDIfy5Dqb0r2fze2zTxNNknZaFpVHU3mFB3R+DWeJWGVx0ecvttSGlJTI+WG+8Z4cDWw== + oauth@^0.9.15: version "0.9.15" resolved "https://registry.yarnpkg.com/oauth/-/oauth-0.9.15.tgz#bd1fefaf686c96b75475aed5196412ff60cfb9c1" integrity sha512-a5ERWK1kh38ExDEfoO6qUHJb32rd7aYmPHuyCu3Fta/cnICvYmgd2uhuKXvPD+PXB+gCEYYEaQdIRAjCOwAKNA== -object-assign@^4, object-assign@^4.0.1, object-assign@^4.1.1: +object-assign@^4, object-assign@^4.0.1, object-assign@^4.1.0, object-assign@^4.1.1: version "4.1.1" resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg== @@ -5068,13 +6787,27 @@ os-tmpdir@~1.0.2: resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" integrity sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g== -p-limit@^3.0.2: +p-limit@3.1.0, p-limit@^3.0.2: version "3.1.0" resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-3.1.0.tgz#e1daccbe78d0d1388ca18c64fea38e3e57e3706b" integrity sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ== dependencies: yocto-queue "^0.1.0" +p-limit@^2.2.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-2.3.0.tgz#3dd33c647a214fdfffd835933eb086da0dc21db1" + integrity sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w== + dependencies: + p-try "^2.0.0" + +p-locate@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-4.1.0.tgz#a3428bb7088b3a60292f66919278b7c297ad4f07" + integrity sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A== + dependencies: + p-limit "^2.2.0" + p-locate@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-5.0.0.tgz#83c8315c6785005e3bd021839411c9e110e6d834" @@ -5089,6 +6822,18 @@ p-map@^3.0.0: dependencies: aggregate-error "^3.0.0" +p-map@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/p-map/-/p-map-4.0.0.tgz#bb2f95a5eda2ec168ec9274e06a747c3e2904d2b" + integrity sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ== + dependencies: + aggregate-error "^3.0.0" + +p-try@^2.0.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6" + integrity sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ== + pac-proxy-agent@^7.0.1: version "7.0.1" resolved "https://registry.yarnpkg.com/pac-proxy-agent/-/pac-proxy-agent-7.0.1.tgz#6b9ddc002ec3ff0ba5fdf4a8a21d363bcc612d75" @@ -5124,6 +6869,14 @@ param-case@^2.1.0: dependencies: no-case "^2.2.0" +param-case@^3.0.4: + version "3.0.4" + resolved "https://registry.yarnpkg.com/param-case/-/param-case-3.0.4.tgz#7d17fe4aa12bde34d4a77d91acfb6219caad01c5" + integrity sha512-RXlj7zCYokReqWpOPH9oYivUzLYZ5vAPIfEmCTNViosC78F8F0H9y7T7gG2M39ymgutxF5gcFEsyZQSph9Bp3A== + dependencies: + dot-case "^3.0.4" + tslib "^2.0.3" + parent-module@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/parent-module/-/parent-module-1.0.1.tgz#691d2709e78c79fae3a156622452d00762caaaa2" @@ -5131,6 +6884,25 @@ parent-module@^1.0.0: dependencies: callsites "^3.0.0" +parse-filepath@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/parse-filepath/-/parse-filepath-1.0.2.tgz#a632127f53aaf3d15876f5872f3ffac763d6c891" + integrity sha512-FwdRXKCohSVeXqwtYonZTXtbGJKrn+HNyWDYVcp5yuJlesTwNH4rsmRZ+GrKAPJ5bLpRxESMeS+Rl0VCHRvB2Q== + dependencies: + is-absolute "^1.0.0" + map-cache "^0.2.0" + path-root "^0.1.1" + +parse-json@^5.2.0: + version "5.2.0" + resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-5.2.0.tgz#c76fc66dee54231c962b22bcc8a72cf2f99753cd" + integrity sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg== + dependencies: + "@babel/code-frame" "^7.0.0" + error-ex "^1.3.1" + json-parse-even-better-errors "^2.3.0" + lines-and-columns "^1.1.6" + parseurl@^1.3.3, parseurl@~1.3.3: version "1.3.3" resolved "https://registry.yarnpkg.com/parseurl/-/parseurl-1.3.3.tgz#9da19e7bee8d12dff0513ed5b76957793bc2e8d4" @@ -5144,6 +6916,14 @@ pascal-case@^2.0.0: camel-case "^3.0.0" upper-case-first "^1.1.0" +pascal-case@^3.1.2: + version "3.1.2" + resolved "https://registry.yarnpkg.com/pascal-case/-/pascal-case-3.1.2.tgz#b48e0ef2b98e205e7c1dae747d0b1508237660eb" + integrity sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g== + dependencies: + no-case "^3.0.4" + tslib "^2.0.3" + path-case@^2.1.0: version "2.1.1" resolved "https://registry.yarnpkg.com/path-case/-/path-case-2.1.1.tgz#94b8037c372d3fe2906e465bb45e25d226e8eea5" @@ -5151,6 +6931,14 @@ path-case@^2.1.0: dependencies: no-case "^2.2.0" +path-case@^3.0.4: + version "3.0.4" + resolved "https://registry.yarnpkg.com/path-case/-/path-case-3.0.4.tgz#9168645334eb942658375c56f80b4c0cb5f82c6f" + integrity sha512-qO4qCFjXqVTrcbPt/hQfhTQ+VhFsqNKOPtytgNKkKxSoEp3XPUQ8ObFuePylOIok5gjn69ry8XiULxCwot3Wfg== + dependencies: + dot-case "^3.0.4" + tslib "^2.0.3" + path-exists@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3" @@ -5171,6 +6959,18 @@ path-parse@^1.0.7: resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== +path-root-regex@^0.1.0: + version "0.1.2" + resolved "https://registry.yarnpkg.com/path-root-regex/-/path-root-regex-0.1.2.tgz#bfccdc8df5b12dc52c8b43ec38d18d72c04ba96d" + integrity sha512-4GlJ6rZDhQZFE0DPVKh0e9jmZ5egZfxTkp7bcRDuPlJXbAwhxcl2dINPUAsjLdejqaLsCeg8axcLjIbvBjN4pQ== + +path-root@^0.1.1: + version "0.1.1" + resolved "https://registry.yarnpkg.com/path-root/-/path-root-0.1.1.tgz#9a4a6814cac1c0cd73360a95f32083c8ea4745b7" + integrity sha512-QLcPegTHF11axjfojBIoDygmS2E3Lf+8+jI6wOVmNVenrKSo3mFdSGiIgdSHenczw3wPtlVMQaFVwGmM7BJdtg== + dependencies: + path-root-regex "^0.1.0" + path-to-regexp@0.1.7: version "0.1.7" resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-0.1.7.tgz#df604178005f522f15eb4490e7247a1bfaa67f8c" @@ -5384,6 +7184,13 @@ progress@^2.0.0: resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.3.tgz#7e8cf8d8f5b8f239c1bc68beb4eb78567d572ef8" integrity sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA== +promise@^7.1.1: + version "7.3.1" + resolved "https://registry.yarnpkg.com/promise/-/promise-7.3.1.tgz#064b72602b18f90f29192b8b1bc418ffd1ebd3bf" + integrity sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg== + dependencies: + asap "~2.0.3" + prop-types@^15.7.2, prop-types@^15.8.1: version "15.8.1" resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.8.1.tgz#67d87bf1a694f48435cf332c24af10214a3140b5" @@ -5425,11 +7232,28 @@ pstree.remy@^1.1.8: resolved "https://registry.yarnpkg.com/pstree.remy/-/pstree.remy-1.1.8.tgz#c242224f4a67c21f686839bbdb4ac282b8373d3a" integrity sha512-77DZwxQmxKnu3aR542U+X8FypNzbfJ+C5XQDk3uWjWxn6151aIMGthWYRXTqT1E5oJvg+ljaa2OJi+VfvCOQ8w== +punycode@^1.3.2: + version "1.4.1" + resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e" + integrity sha512-jmYNElW7yvO7TV33CjSmvSiE2yco3bV2czu/OzDKdMNVZQWfxCblURLhf+47syQRBntjfLdd/H0egrzIG+oaFQ== + punycode@^2.1.0: version "2.3.1" resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.3.1.tgz#027422e2faec0b25e1549c3e1bd8309b9133b6e5" integrity sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg== +pvtsutils@^1.3.2, pvtsutils@^1.3.5: + version "1.3.5" + resolved "https://registry.yarnpkg.com/pvtsutils/-/pvtsutils-1.3.5.tgz#b8705b437b7b134cd7fd858f025a23456f1ce910" + integrity sha512-ARvb14YB9Nm2Xi6nBq1ZX6dAM0FsJnuk+31aUp4TrcZEdKUlSqOqsxJHUPJDNE3qiIp+iUPEIeR6Je/tgV7zsA== + dependencies: + tslib "^2.6.1" + +pvutils@^1.1.3: + version "1.1.3" + resolved "https://registry.yarnpkg.com/pvutils/-/pvutils-1.1.3.tgz#f35fc1d27e7cd3dfbd39c0826d173e806a03f5a3" + integrity sha512-pMpnA0qRdFp32b1sJl1wOJNxZLQ2cbQx+k6tjNtZ8CpvVhNqEPRgivZ2WOUev2YMajecdH7ctUPDvEe87nariQ== + qs@6.11.0: version "6.11.0" resolved "https://registry.yarnpkg.com/qs/-/qs-6.11.0.tgz#fd0d963446f7a65e1367e01abd85429453f0c37a" @@ -5613,6 +7437,30 @@ registry-url@3.1.0: dependencies: rc "^1.0.1" +relay-runtime@12.0.0: + version "12.0.0" + resolved "https://registry.yarnpkg.com/relay-runtime/-/relay-runtime-12.0.0.tgz#1e039282bdb5e0c1b9a7dc7f6b9a09d4f4ff8237" + integrity sha512-QU6JKr1tMsry22DXNy9Whsq5rmvwr3LSZiiWV/9+DFpuTWvp+WFhobWMc8TC4OjKFfNhEZy7mOiqUAn5atQtug== + dependencies: + "@babel/runtime" "^7.0.0" + fbjs "^3.0.0" + invariant "^2.2.4" + +remedial@^1.0.7: + version "1.0.8" + resolved "https://registry.yarnpkg.com/remedial/-/remedial-1.0.8.tgz#a5e4fd52a0e4956adbaf62da63a5a46a78c578a0" + integrity sha512-/62tYiOe6DzS5BqVsNpH/nkGlX45C/Sp6V+NtiN6JQNS1Viay7cWkazmRkrQrdFj2eshDe96SIQNIoMxqhzBOg== + +remove-trailing-separator@^1.0.1: + version "1.1.0" + resolved "https://registry.yarnpkg.com/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz#c24bce2a283adad5bc3f58e0d48249b92379d8ef" + integrity sha512-/hS+Y0u3aOfIETiaiirUFwDBDzmXPvO+jAfKTitUngIPzdKc6Z0LoFjM/CK5PL4C+eKwHohlHAb6H0VFfmmUsw== + +remove-trailing-spaces@^1.0.6: + version "1.0.8" + resolved "https://registry.yarnpkg.com/remove-trailing-spaces/-/remove-trailing-spaces-1.0.8.tgz#4354d22f3236374702f58ee373168f6d6887ada7" + integrity sha512-O3vsMYfWighyFbTd8hk8VaSj9UAGENxAtX+//ugIst2RMk5e03h6RoIS+0ylsFxY1gvmPuAY/PO4It+gPEeySA== + require-directory@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" @@ -5623,6 +7471,16 @@ require-from-string@^2.0.2: resolved "https://registry.yarnpkg.com/require-from-string/-/require-from-string-2.0.2.tgz#89a7fdd938261267318eafe14f9c32e598c36909" integrity sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw== +require-main-filename@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-2.0.0.tgz#d0b329ecc7cc0f61649f62215be69af54aa8989b" + integrity sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg== + +resolve-from@5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-5.0.0.tgz#c35225843df8f776df21c57557bc087e9dfdfc69" + integrity sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw== + resolve-from@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6" @@ -5679,6 +7537,11 @@ reusify@^1.0.4: resolved "https://registry.yarnpkg.com/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76" integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw== +rfdc@^1.3.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/rfdc/-/rfdc-1.3.0.tgz#d0b7c441ab2720d05dc4cf26e01c89631d9da08b" + integrity sha512-V2hovdzFbOi77/WajaSMXk2OLm+xNIeQdMMuB7icj7bk6zi2F8GGAxigcnDFpJHbNyNcgyJDiP+8nOrY5cZGrA== + rimraf@^3.0.0, rimraf@^3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a" @@ -5765,6 +7628,11 @@ scheduler@^0.23.0: dependencies: loose-envify "^1.1.0" +scuid@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/scuid/-/scuid-1.1.0.tgz#d3f9f920956e737a60f72d0e4ad280bf324d5dab" + integrity sha512-MuCAyrGZcTLfQoH2XoBlQ8C6bzwN88XT/0slOGz0pn8+gIP85BOAfYa44ZXQUTOwRwPU0QvgU+V+OSajl/59Xg== + semver@^6.3.0, semver@^6.3.1: version "6.3.1" resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.1.tgz#556d2ef8689146e46dcea4bfdd095f3434dffcb4" @@ -5804,6 +7672,15 @@ sentence-case@^2.1.0: no-case "^2.2.0" upper-case-first "^1.1.2" +sentence-case@^3.0.4: + version "3.0.4" + resolved "https://registry.yarnpkg.com/sentence-case/-/sentence-case-3.0.4.tgz#3645a7b8c117c787fde8702056225bb62a45131f" + integrity sha512-8LS0JInaQMCRoQ7YUytAo/xUu5W2XnQxV2HI/6uM6U7CITS1RqPElr30V6uIqyMKM9lJGRVFy5/4CuzcixNYSg== + dependencies: + no-case "^3.0.4" + tslib "^2.0.3" + upper-case-first "^2.0.2" + serve-static@1.15.0: version "1.15.0" resolved "https://registry.yarnpkg.com/serve-static/-/serve-static-1.15.0.tgz#faaef08cffe0a1a62f60cad0c4e513cff0ac9540" @@ -5814,6 +7691,11 @@ serve-static@1.15.0: parseurl "~1.3.3" send "0.18.0" +set-blocking@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" + integrity sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw== + set-function-length@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/set-function-length/-/set-function-length-1.1.1.tgz#4bc39fafb0307224a33e106a7d35ca1218d659ed" @@ -5833,6 +7715,11 @@ set-function-name@^2.0.0, set-function-name@^2.0.1: functions-have-names "^1.2.3" has-property-descriptors "^1.0.0" +setimmediate@^1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/setimmediate/-/setimmediate-1.0.5.tgz#290cbb232e306942d7d7ea9b83732ab7856f8285" + integrity sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA== + setprototypeof@1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.2.0.tgz#66c9a24a73f9fc28cbe66b09fed3d33dcaf1b424" @@ -5858,7 +7745,7 @@ shebang-regex@^3.0.0: resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== -shell-quote@^1.8.1: +shell-quote@^1.7.3, shell-quote@^1.8.1: version "1.8.1" resolved "https://registry.yarnpkg.com/shell-quote/-/shell-quote-1.8.1.tgz#6dbf4db75515ad5bac63b4f1894c3a154c766680" integrity sha512-6j1W9l1iAs/4xYBI1SYOVZyFcCis9b4KCLQ8fgAGG07QvzaRLVVRQvAy85yNmmZSjYjg4MWh4gNvlPujU/5LpA== @@ -5877,6 +7764,11 @@ signal-exit@^3.0.2, signal-exit@^3.0.3: resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9" integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ== +signedsource@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/signedsource/-/signedsource-1.0.0.tgz#1ddace4981798f93bd833973803d80d52e93ad6a" + integrity sha512-6+eerH9fEnNmi/hyM1DXcRK3pWdoMQtlkQ+ns0ntzunjKqp5i3sKCc80ym8Fib3iaYhdJUOPdhlJWj1tvge2Ww== + simple-swizzle@^0.2.2: version "0.2.2" resolved "https://registry.yarnpkg.com/simple-swizzle/-/simple-swizzle-0.2.2.tgz#a4da6b635ffcccca33f70d17cb92592de95e557a" @@ -5896,6 +7788,15 @@ slash@^3.0.0: resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634" integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q== +slice-ansi@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-3.0.0.tgz#31ddc10930a1b7e0b67b08c96c2f49b77a789787" + integrity sha512-pSyv7bSTC7ig9Dcgbw9AuRNUb5k5V6oDudjZoMBSr13qpLBG7tB+zgCkARjq7xIUgdz5P1Qe8u+rSGdouOOIyQ== + dependencies: + ansi-styles "^4.0.0" + astral-regex "^2.0.0" + is-fullwidth-code-point "^3.0.0" + slice-ansi@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-4.0.0.tgz#500e8dd0fd55b05815086255b3195adf2a45fe6b" @@ -5917,6 +7818,14 @@ snake-case@^2.1.0: dependencies: no-case "^2.2.0" +snake-case@^3.0.4: + version "3.0.4" + resolved "https://registry.yarnpkg.com/snake-case/-/snake-case-3.0.4.tgz#4f2bbd568e9935abdfd593f34c691dadb49c452c" + integrity sha512-LAOh4z89bGQvl9pFfNF8V146i7o7/CqFPbqzYgP+yYzDIDeS9HaNFtXABamRW+AQzEVODcvE79ljJ+8a9YSdMg== + dependencies: + dot-case "^3.0.4" + tslib "^2.0.3" + socks-proxy-agent@^8.0.2: version "8.0.2" resolved "https://registry.yarnpkg.com/socks-proxy-agent/-/socks-proxy-agent-8.0.2.tgz#5acbd7be7baf18c46a3f293a840109a430a640ad" @@ -5959,6 +7868,13 @@ split2@^4.1.0: resolved "https://registry.yarnpkg.com/split2/-/split2-4.2.0.tgz#c9c5920904d148bab0b9f67145f245a86aadbfa4" integrity sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg== +sponge-case@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/sponge-case/-/sponge-case-1.0.1.tgz#260833b86453883d974f84854cdb63aecc5aef4c" + integrity sha512-dblb9Et4DAtiZ5YSUZHLl4XhH4uK80GhAZrVXdN4O2P4gQ40Wa5UIOPUHlA/nFd2PLblBZWUioLMMAVrgpoYcA== + dependencies: + tslib "^2.0.3" + sprintf-js@~1.0.2: version "1.0.3" resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" @@ -5989,6 +7905,11 @@ strict-uri-encode@^2.0.0: resolved "https://registry.yarnpkg.com/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz#b9c7330c7042862f6b142dc274bbcc5866ce3546" integrity sha512-QwiXZgpRcKkhTj2Scnn++4PKtWsH0kpzZ62L2R6c/LUVYv7hVnZqcg2+sMuT6R7Jusu1vviK/MFsu6kNJfWlEQ== +string-env-interpolation@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/string-env-interpolation/-/string-env-interpolation-1.0.1.tgz#ad4397ae4ac53fe6c91d1402ad6f6a52862c7152" + integrity sha512-78lwMoCcn0nNu8LszbP1UA7g55OeE4v7rCeWnM5B453rnNr4aq+5it3FEYtZrSEiMvHZOZ9Jlqb0OD0M2VInqg== + string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: version "4.2.3" resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" @@ -6146,6 +8067,13 @@ swap-case@^1.1.0: lower-case "^1.1.1" upper-case "^1.1.1" +swap-case@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/swap-case/-/swap-case-2.0.2.tgz#671aedb3c9c137e2985ef51c51f9e98445bf70d9" + integrity sha512-kc6S2YS/2yXbtkSMunBtKdah4VFETZ8Oh6ONSmSd9bRxhqTrtARUCBUiWXH3xVPpvR7tz2CSnkuXVE42EcGnMw== + dependencies: + tslib "^2.0.3" + swr@^2.2.1: version "2.2.4" resolved "https://registry.yarnpkg.com/swr/-/swr-2.2.4.tgz#03ec4c56019902fbdc904d78544bd7a9a6fa3f07" @@ -6274,7 +8202,7 @@ thenify-all@^1.0.0: dependencies: any-promise "^1.0.0" -through@^2.3.6: +through@^2.3.6, through@^2.3.8: version "2.3.8" resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" integrity sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg== @@ -6300,6 +8228,13 @@ title-case@^2.1.0: no-case "^2.2.0" upper-case "^1.0.3" +title-case@^3.0.3: + version "3.0.3" + resolved "https://registry.yarnpkg.com/title-case/-/title-case-3.0.3.tgz#bc689b46f02e411f1d1e1d081f7c3deca0489982" + integrity sha512-e1zGYRvbffpcHIrnuqT0Dh+gEJtDaxDSoG4JAIpq4oDFyooziLBIiYQv0GBT4FUAnUop5uZ1hiIAj7oAF6sOCA== + dependencies: + tslib "^2.0.3" + tmp@^0.0.33: version "0.0.33" resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.0.33.tgz#6d34335889768d21b2bcda0aa277ced3b1bfadf9" @@ -6307,6 +8242,11 @@ tmp@^0.0.33: dependencies: os-tmpdir "~1.0.2" +to-fast-properties@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e" + integrity sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog== + to-regex-range@^5.0.1: version "5.0.1" resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-5.0.1.tgz#1648c44aae7c8d988a326018ed72f5b4dd0392e4" @@ -6365,6 +8305,11 @@ ts-invariant@^0.4.0: dependencies: tslib "^1.9.3" +ts-log@^2.2.3: + version "2.2.5" + resolved "https://registry.yarnpkg.com/ts-log/-/ts-log-2.2.5.tgz#aef3252f1143d11047e2cb6f7cfaac7408d96623" + integrity sha512-PGcnJoTBnVGy6yYNFxWVNkdcAuAMstvutN9MgDJIV6L0oG8fB+ZNNy1T+wJzah8RPGor1mZuPQkVfXNDpy9eHA== + ts-node@^10.9.1: version "10.9.1" resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-10.9.1.tgz#e73de9102958af9e1f0b168a6ff320e25adcff4b" @@ -6384,6 +8329,25 @@ ts-node@^10.9.1: v8-compile-cache-lib "^3.0.1" yn "3.1.1" +ts-node@^10.9.2: + version "10.9.2" + resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-10.9.2.tgz#70f021c9e185bccdca820e26dc413805c101c71f" + integrity sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ== + dependencies: + "@cspotcode/source-map-support" "^0.8.0" + "@tsconfig/node10" "^1.0.7" + "@tsconfig/node12" "^1.0.7" + "@tsconfig/node14" "^1.0.0" + "@tsconfig/node16" "^1.0.2" + acorn "^8.4.1" + acorn-walk "^8.1.1" + arg "^4.1.0" + create-require "^1.1.0" + diff "^4.0.1" + make-error "^1.1.1" + v8-compile-cache-lib "^3.0.1" + yn "3.1.1" + tsconfig-paths@^3.14.2: version "3.14.2" resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-3.14.2.tgz#6e32f1f79412decd261f92d633a9dc1cfa99f088" @@ -6399,11 +8363,16 @@ tslib@^1.10.0, tslib@^1.9.0, tslib@^1.9.3: resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== -tslib@^2.0.0, tslib@^2.0.1, tslib@^2.1.0, tslib@^2.3.0, tslib@^2.4.0: +tslib@^2.0.0, tslib@^2.0.1, tslib@^2.0.3, tslib@^2.1.0, tslib@^2.3.0, tslib@^2.3.1, tslib@^2.4.0, tslib@^2.5.0, tslib@^2.6.1, tslib@^2.6.2: version "2.6.2" resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.2.tgz#703ac29425e7b37cd6fd456e92404d46d1f3e4ae" integrity sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q== +tslib@~2.5.0: + version "2.5.3" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.5.3.tgz#24944ba2d990940e6e982c4bea147aba80209913" + integrity sha512-mSxlJJwl3BMEQCUNnxXBU9jP4JBktcEGhURcPR6VQVlnP0FdDEsIaz0C35dXNGLyRfrATNofF0F5p2KPxQgB+w== + turbo-darwin-64@1.10.16: version "1.10.16" resolved "https://registry.yarnpkg.com/turbo-darwin-64/-/turbo-darwin-64-1.10.16.tgz#5a8717c1372f2a75e8cfe0b4b6455119ce410b19" @@ -6525,6 +8494,11 @@ typescript@^5.3.3: resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.3.3.tgz#b3ce6ba258e72e6305ba66f5c9b452aaee3ffe37" integrity sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw== +ua-parser-js@^1.0.35: + version "1.0.37" + resolved "https://registry.yarnpkg.com/ua-parser-js/-/ua-parser-js-1.0.37.tgz#b5dc7b163a5c1f0c510b08446aed4da92c46373f" + integrity sha512-bhTyI94tZofjo+Dn8SN6Zv8nBDvyXTymAdM3LDI/0IboIUwTu1rEhW7v2TfiVsoYWgkQ4kOVqnI8APUFbIQIFQ== + uglify-js@^3.1.4: version "3.17.4" resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.17.4.tgz#61678cf5fa3f5b7eb789bb345df29afb8257c22c" @@ -6540,6 +8514,11 @@ unbox-primitive@^1.0.2: has-symbols "^1.0.3" which-boxed-primitive "^1.0.2" +unc-path-regex@^0.1.2: + version "0.1.2" + resolved "https://registry.yarnpkg.com/unc-path-regex/-/unc-path-regex-0.1.2.tgz#e73dd3d7b0d7c5ed86fbac6b0ae7d8c6a69d50fa" + integrity sha512-eXL4nmJT7oCpkZsHZUOJo8hcX3GbsiDOa0Qu9F646fi8dT3XuSVopVqAcEiVzSKKH7UoDti23wNX3qGFxcW5Qg== + undefsafe@^2.0.5: version "2.0.5" resolved "https://registry.yarnpkg.com/undefsafe/-/undefsafe-2.0.5.tgz#38733b9327bdcd226db889fb723a6efd162e6e2c" @@ -6560,6 +8539,13 @@ universalify@^2.0.0: resolved "https://registry.yarnpkg.com/universalify/-/universalify-2.0.1.tgz#168efc2180964e6386d061e094df61afe239b18d" integrity sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw== +unixify@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/unixify/-/unixify-1.0.0.tgz#3a641c8c2ffbce4da683a5c70f03a462940c2090" + integrity sha512-6bc58dPYhCMHHuwxldQxO3RRNZ4eCogZ/st++0+fcC1nr0jiGUtAdBJ2qzmLQWSxbtz42pWt4QQMiZ9HvZf5cg== + dependencies: + normalize-path "^2.1.1" + unpipe@1.0.0, unpipe@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec" @@ -6588,11 +8574,25 @@ upper-case-first@^1.1.0, upper-case-first@^1.1.2: dependencies: upper-case "^1.1.1" +upper-case-first@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/upper-case-first/-/upper-case-first-2.0.2.tgz#992c3273f882abd19d1e02894cc147117f844324" + integrity sha512-514ppYHBaKwfJRK/pNC6c/OxfGa0obSnAl106u97Ed0I625Nin96KAjttZF6ZL3e1XLtphxnqrOi9iWgm+u+bg== + dependencies: + tslib "^2.0.3" + upper-case@^1.0.3, upper-case@^1.1.0, upper-case@^1.1.1, upper-case@^1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/upper-case/-/upper-case-1.1.3.tgz#f6b4501c2ec4cdd26ba78be7222961de77621598" integrity sha512-WRbjgmYzgXkCV7zNVpy5YgrHgbBv126rMALQQMrmzOVC4GM2waQ9x7xtm8VU+1yF2kWyPzI9zbZ48n4vSxwfSA== +upper-case@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/upper-case/-/upper-case-2.0.2.tgz#d89810823faab1df1549b7d97a76f8662bae6f7a" + integrity sha512-KgdgDGJt2TpuwBUIjgG6lzw2GWFRCW9Qkfkiv0DxqHHLYJHmtmdUIKcZd8rHgFSjopVTlw6ggzCm1b8MFQwikg== + dependencies: + tslib "^2.0.3" + uri-js@^4.2.2: version "4.4.1" resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-4.4.1.tgz#9b1a52595225859e55f669d928f88c6c57f2a77e" @@ -6600,6 +8600,16 @@ uri-js@^4.2.2: dependencies: punycode "^2.1.0" +urlpattern-polyfill@^8.0.0: + version "8.0.2" + resolved "https://registry.yarnpkg.com/urlpattern-polyfill/-/urlpattern-polyfill-8.0.2.tgz#99f096e35eff8bf4b5a2aa7d58a1523d6ebc7ce5" + integrity sha512-Qp95D4TPJl1kC9SKigDcqgyM2VDVO4RiJc2d4qe5GrYm+zbIQCWWKAFaJNQ4BhdFeDGwBmAxqJBwWSJDb9T3BQ== + +urlpattern-polyfill@^9.0.0: + version "9.0.0" + resolved "https://registry.yarnpkg.com/urlpattern-polyfill/-/urlpattern-polyfill-9.0.0.tgz#bc7e386bb12fd7898b58d1509df21d3c29ab3460" + integrity sha512-WHN8KDQblxd32odxeIgo83rdVDE2bvdkb86it7bMhYZwWKJz0+O0RK/eZiHYnM+zgt/U7hAHOlCQGfjjvSkw2g== + urlsafe-base64@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/urlsafe-base64/-/urlsafe-base64-1.0.0.tgz#23f89069a6c62f46cf3a1d3b00169cefb90be0c6" @@ -6652,7 +8662,7 @@ value-or-promise@1.0.11: resolved "https://registry.yarnpkg.com/value-or-promise/-/value-or-promise-1.0.11.tgz#3e90299af31dd014fe843fe309cefa7c1d94b140" integrity sha512-41BrgH+dIbCFXClcSapVs5M6GkENd3gQOJpEfPDNa71LsUGMXDL0jMWpI/Rh7WhX+Aalfz2TTS3Zt5pUsbnhLg== -value-or-promise@^1.0.12: +value-or-promise@^1.0.11, value-or-promise@^1.0.12: version "1.0.12" resolved "https://registry.yarnpkg.com/value-or-promise/-/value-or-promise-1.0.12.tgz#0e5abfeec70148c78460a849f6b003ea7986f15c" integrity sha512-Z6Uz+TYwEqE7ZN50gwn+1LCVo9ZVrpxRPOhOLnncYkY1ZzOYtrX8Fwf/rFktZ8R5mJms6EZf5TqNOMeZmnPq9Q== @@ -6688,6 +8698,22 @@ web-push@^3.6.6: jws "^4.0.0" minimist "^1.2.5" +web-streams-polyfill@^3.2.1: + version "3.3.2" + resolved "https://registry.yarnpkg.com/web-streams-polyfill/-/web-streams-polyfill-3.3.2.tgz#32e26522e05128203a7de59519be3c648004343b" + integrity sha512-3pRGuxRF5gpuZc0W+EpwQRmCD7gRqcDOMt688KmdlDAgAyaB1XlN0zq2njfDNm44XVdIouE7pZ6GzbdyH47uIQ== + +webcrypto-core@^1.7.7: + version "1.7.7" + resolved "https://registry.yarnpkg.com/webcrypto-core/-/webcrypto-core-1.7.7.tgz#06f24b3498463e570fed64d7cab149e5437b162c" + integrity sha512-7FjigXNsBfopEj+5DV2nhNpfic2vumtjjgPmeDKk45z+MJwXKKfhPB7118Pfzrmh4jqOMST6Ch37iPAHoImg5g== + dependencies: + "@peculiar/asn1-schema" "^2.3.6" + "@peculiar/json-schema" "^1.1.12" + asn1js "^3.0.1" + pvtsutils "^1.3.2" + tslib "^2.4.0" + webidl-conversions@^3.0.0: version "3.0.1" resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871" @@ -6745,6 +8771,11 @@ which-collection@^1.0.1: is-weakmap "^2.0.1" is-weakset "^2.0.1" +which-module@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.1.tgz#776b1fe35d90aebe99e8ac15eb24093389a4a409" + integrity sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ== + which-typed-array@^1.1.11, which-typed-array@^1.1.13, which-typed-array@^1.1.9: version "1.1.13" resolved "https://registry.yarnpkg.com/which-typed-array/-/which-typed-array-1.1.13.tgz#870cd5be06ddb616f504e7b039c4c24898184d36" @@ -6794,7 +8825,7 @@ wordwrap@^1.0.0: resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb" integrity sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q== -wrap-ansi@^6.0.1: +wrap-ansi@^6.0.1, wrap-ansi@^6.2.0: version "6.2.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-6.2.0.tgz#e9393ba07102e6c91a3b221478f0257cd2856e53" integrity sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA== @@ -6822,6 +8853,11 @@ wrappy@1: resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.9.tgz#54fa7db29f4c7cec68b1ddd3a89de099942bb591" integrity sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q== +ws@^8.12.0, ws@^8.13.0, ws@^8.15.0: + version "8.16.0" + resolved "https://registry.yarnpkg.com/ws/-/ws-8.16.0.tgz#d1cd774f36fbc07165066a60e40323eab6446fd4" + integrity sha512-HS0c//TP7Ina87TfiPUz1rQzMhHrl/SG2guqRcTOIUYD2q8uhUdNHZYJUaQ8aTGPzCh+c6oawMKW35nFl1dxyQ== + xss@^1.0.8: version "1.0.14" resolved "https://registry.yarnpkg.com/xss/-/xss-1.0.14.tgz#4f3efbde75ad0d82e9921cc3c95e6590dd336694" @@ -6835,27 +8871,67 @@ xtend@^4.0.0: resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.2.tgz#bb72779f5fa465186b1f438f674fa347fdb5db54" integrity sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ== +y18n@^4.0.0: + version "4.0.3" + resolved "https://registry.yarnpkg.com/y18n/-/y18n-4.0.3.tgz#b5f259c82cd6e336921efd7bfd8bf560de9eeedf" + integrity sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ== + y18n@^5.0.5: version "5.0.8" resolved "https://registry.yarnpkg.com/y18n/-/y18n-5.0.8.tgz#7f4934d0f7ca8c56f95314939ddcd2dd91ce1d55" integrity sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA== +yallist@^3.0.2: + version "3.1.1" + resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd" + integrity sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g== + yallist@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== -yaml@^2.1.1: +yaml-ast-parser@^0.0.43: + version "0.0.43" + resolved "https://registry.yarnpkg.com/yaml-ast-parser/-/yaml-ast-parser-0.0.43.tgz#e8a23e6fb4c38076ab92995c5dca33f3d3d7c9bb" + integrity sha512-2PTINUwsRqSd+s8XxKaJWQlUuEMHJQyEuh2edBbW8KNJz0SJPwUSD2zRWqezFEdN7IzAgeuYHFUCF7o8zRdZ0A== + +yaml@^2.1.1, yaml@^2.3.1: version "2.3.4" resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.3.4.tgz#53fc1d514be80aabf386dc6001eb29bf3b7523b2" integrity sha512-8aAvwVUSHpfEqTQ4w/KMlf3HcRdt50E5ODIQJBw1fQ5RL34xabzxtUlzTXVqc4rkZsPbvrXKWnABCD7kWSmocA== +yargs-parser@^18.1.2: + version "18.1.3" + resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-18.1.3.tgz#be68c4975c6b2abf469236b0c870362fab09a7b0" + integrity sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ== + dependencies: + camelcase "^5.0.0" + decamelize "^1.2.0" + yargs-parser@^21.1.1: version "21.1.1" resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-21.1.1.tgz#9096bceebf990d21bb31fa9516e0ede294a77d35" integrity sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw== -yargs@^17.7.2: +yargs@^15.3.1: + version "15.4.1" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-15.4.1.tgz#0d87a16de01aee9d8bec2bfbf74f67851730f4f8" + integrity sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A== + dependencies: + cliui "^6.0.0" + decamelize "^1.2.0" + find-up "^4.1.0" + get-caller-file "^2.0.1" + require-directory "^2.1.1" + require-main-filename "^2.0.0" + set-blocking "^2.0.0" + string-width "^4.2.0" + which-module "^2.0.0" + y18n "^4.0.0" + yargs-parser "^18.1.2" + +yargs@^17.0.0, yargs@^17.7.2: version "17.7.2" resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.7.2.tgz#991df39aca675a192b816e1e0363f9d75d2aa269" integrity sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w== @@ -6868,6 +8944,11 @@ yargs@^17.7.2: y18n "^5.0.5" yargs-parser "^21.1.1" +yarn@^1.22.21: + version "1.22.21" + resolved "https://registry.yarnpkg.com/yarn/-/yarn-1.22.21.tgz#1959a18351b811cdeedbd484a8f86c3cc3bbaf72" + integrity sha512-ynXaJsADJ9JiZ84zU25XkPGOvVMmZ5b7tmTSpKURYwgELdjucAOydqIOrOfTxVYcNXe91xvLZwcRh68SR3liCg== + yn@3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/yn/-/yn-3.1.1.tgz#1e87401a09d767c1d5eab26a6e4c185182d2eb50"