Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

feat: add scrapReason CRUD

Rob Carrington9469555f54aa
diff --git a/apps/carbon/app/components/Form/ScrapReason.tsx b/apps/carbon/app/components/Form/ScrapReason.tsx
new file mode 100644
index 0000000000..be30133ec9
--- /dev/null
+++ b/apps/carbon/app/components/Form/ScrapReason.tsx
@@ -0,0 +1,86 @@
+import type { ComboboxProps } from "@carbon/form";
+import { CreatableCombobox } from "@carbon/form";
+import { useDisclosure, useMount } from "@carbon/react";
+import { useFetcher } from "@remix-run/react";
+import { useMemo, useRef, useState } from "react";
+import { useRouteData } from "~/hooks";
+import type {
+ getScrapReasonsList,
+ ScrapReason as ScrapReasonType,
+} from "~/modules/production";
+import ScrapReasonForm from "~/modules/production/ui/ScrapReasonCodes/ScrapReasonForm";
+import { path } from "~/utils/path";
+type ScrapReasonSelectProps = Omit<ComboboxProps, "options">;
+
+const ScrapReason = (props: ScrapReasonSelectProps) => {
+ const newScrapReasonModal = useDisclosure();
+ const [created, setCreated] = useState<string>("");
+ const triggerRef = useRef<HTMLButtonElement>(null);
+
+ const options = useScrapReasons();
+
+ return (
+ <>
+ <CreatableCombobox
+ ref={triggerRef}
+ options={options}
+ {...props}
+ label={props?.label ?? "CustomerStatus"}
+ onCreateOption={(option) => {
+ newScrapReasonModal.onOpen();
+ setCreated(option);
+ }}
+ />
+ {newScrapReasonModal.isOpen && (
+ <ScrapReasonForm
+ type="modal"
+ onClose={() => {
+ setCreated("");
+ newScrapReasonModal.onClose();
+ triggerRef.current?.click();
+ }}
+ initialValues={{
+ name: created,
+ }}
+ />
+ )}
+ </>
+ );
+};
+
+ScrapReason.displayName = "ScrapReason";
+
+export default ScrapReason;
+
+export const useScrapReasons = () => {
+ const scrapReasonFetcher =
+ useFetcher<Awaited<ReturnType<typeof getScrapReasonsList>>>();
+
+ const sharedProductionData = useRouteData<{
+ scrapReasons: ScrapReasonType[];
+ }>(path.to.production);
+
+ const hasScrapReasonData = sharedProductionData?.scrapReasons;
+
+ useMount(() => {
+ if (!hasScrapReasonData) scrapReasonFetcher.load(path.to.api.scrapReasons);
+ });
+
+ const options = useMemo(() => {
+ const dataSource =
+ (hasScrapReasonData
+ ? sharedProductionData.scrapReasons
+ : scrapReasonFetcher.data?.data) ?? [];
+
+ return dataSource.map((c) => ({
+ value: c.id,
+ label: c.name,
+ }));
+ }, [
+ scrapReasonFetcher.data?.data,
+ hasScrapReasonData,
+ sharedProductionData?.scrapReasons,
+ ]);
+
+ return options;
+};
diff --git a/apps/carbon/app/modules/production/production.models.ts b/apps/carbon/app/modules/production/production.models.ts
index c583d3a541..61399aa1b4 100644
--- a/apps/carbon/app/modules/production/production.models.ts
+++ b/apps/carbon/app/modules/production/production.models.ts
@@ -431,3 +431,8 @@ export const scheduleOperationUpdateValidator = z.object({
columnId: z.string().min(1, { message: "Column is required" }),
priority: zfd.numeric(z.number().min(0).optional()),
});
+
+export const scrapReasonValidator = z.object({
+ id: zfd.text(z.string().optional()),
+ name: z.string().min(1, { message: "Name is required" }),
+});
diff --git a/apps/carbon/app/modules/production/production.service.ts b/apps/carbon/app/modules/production/production.service.ts
index 45c186f458..04717e088d 100644
--- a/apps/carbon/app/modules/production/production.service.ts
+++ b/apps/carbon/app/modules/production/production.service.ts
@@ -13,6 +13,7 @@ import type {
jobValidator,
productionEventValidator,
productionQuantityValidator,
+ scrapReasonValidator,
} from "./production.models";
import type { Job } from "./types";
@@ -69,6 +70,13 @@ export async function getActiveJobOperationsByLocation(
});
}
+export async function deleteScrapReason(
+ client: SupabaseClient<Database>,
+ scrapReasonId: string
+) {
+ return client.from("scrapReason").delete().eq("id", scrapReasonId);
+}
+
export async function getJobDocuments(
client: SupabaseClient<Database>,
companyId: string,
@@ -438,6 +446,51 @@ export async function getProductionQuantities(
return query;
}
+export async function getScrapReasonsList(
+ client: SupabaseClient<Database>,
+ companyId: string
+) {
+ return client
+ .from("scrapReason")
+ .select("id, name")
+ .eq("companyId", companyId)
+ .order("name");
+}
+
+export async function getScrapReason(
+ client: SupabaseClient<Database>,
+ scrapReasonId: string
+) {
+ return client
+ .from("scrapReason")
+ .select("*")
+ .eq("id", scrapReasonId)
+ .single();
+}
+
+export async function getScrapReasons(
+ client: SupabaseClient<Database>,
+ companyId: string,
+ args?: GenericQueryFilters & { search: string | null }
+) {
+ let query = client
+ .from("scrapReason")
+ .select("id, name, customFields", { count: "exact" })
+ .eq("companyId", companyId);
+
+ if (args?.search) {
+ query = query.ilike("name", `%${args.search}%`);
+ }
+
+ if (args) {
+ query = setGenericQueryFilters(query, args, [
+ { column: "name", ascending: true },
+ ]);
+ }
+
+ return query;
+}
+
export async function recalculateJobRequirements(
client: SupabaseClient<Database>,
params: {
@@ -789,3 +842,27 @@ export async function upsertMakeMethodFromJobMethod(
return { data: null, error: null };
}
+
+export async function upsertScrapReason(
+ client: SupabaseClient<Database>,
+ scrapReason:
+ | (Omit<z.infer<typeof scrapReasonValidator>, "id"> & {
+ companyId: string;
+ createdBy: string;
+ customFields?: Json;
+ })
+ | (Omit<z.infer<typeof scrapReasonValidator>, "id"> & {
+ id: string;
+ updatedBy: string;
+ customFields?: Json;
+ })
+) {
+ if ("createdBy" in scrapReason) {
+ return client.from("scrapReason").insert([scrapReason]).select("id");
+ } else {
+ return client
+ .from("scrapReason")
+ .update(sanitize(scrapReason))
+ .eq("id", scrapReason.id);
+ }
+}
diff --git a/apps/carbon/app/modules/production/types.ts b/apps/carbon/app/modules/production/types.ts
index fa7b6fea9f..673ba7d8e0 100644
--- a/apps/carbon/app/modules/production/types.ts
+++ b/apps/carbon/app/modules/production/types.ts
@@ -5,6 +5,7 @@ import type {
getJobOperations,
getProductionEvents,
getProductionQuantities,
+ getScrapReasons,
} from "./production.service";
export type Job = NonNullable<Awaited<ReturnType<typeof getJob>>["data"]>;
@@ -28,3 +29,7 @@ export type ProductionEvent = NonNullable<
export type ProductionQuantity = NonNullable<
Awaited<ReturnType<typeof getProductionQuantities>>["data"]
>[number];
+
+export type ScrapReason = NonNullable<
+ Awaited<ReturnType<typeof getScrapReasons>>["data"]
+>[number];
diff --git a/apps/carbon/app/modules/production/ui/ScrapReasonCodes/ScrapReasonForm.tsx b/apps/carbon/app/modules/production/ui/ScrapReasonCodes/ScrapReasonForm.tsx
new file mode 100644
index 0000000000..a8f27b7af2
--- /dev/null
+++ b/apps/carbon/app/modules/production/ui/ScrapReasonCodes/ScrapReasonForm.tsx
@@ -0,0 +1,107 @@
+import { ValidatedForm } from "@carbon/form";
+import {
+ Button,
+ HStack,
+ ModalDrawer,
+ ModalDrawerBody,
+ ModalDrawerContent,
+ ModalDrawerFooter,
+ ModalDrawerHeader,
+ ModalDrawerProvider,
+ ModalDrawerTitle,
+ VStack,
+ toast,
+} from "@carbon/react";
+import { useFetcher } from "@remix-run/react";
+import type { PostgrestResponse } from "@supabase/supabase-js";
+import { useEffect } from "react";
+import type { z } from "zod";
+import { CustomFormFields, Hidden, Input, Submit } from "~/components/Form";
+import { usePermissions } from "~/hooks";
+import { path } from "~/utils/path";
+import { scrapReasonValidator } from "../../production.models";
+
+type ScrapReasonFormProps = {
+ initialValues: z.infer<typeof scrapReasonValidator>;
+ type?: "modal" | "drawer";
+ open?: boolean;
+ onClose: () => void;
+};
+
+const ScrapReasonForm = ({
+ initialValues,
+ open = true,
+ type = "drawer",
+ onClose,
+}: ScrapReasonFormProps) => {
+ const permissions = usePermissions();
+ const fetcher = useFetcher<PostgrestResponse<{ id: string }>>();
+
+ useEffect(() => {
+ if (type !== "modal") return;
+
+ if (fetcher.state === "loading" && fetcher.data?.data) {
+ onClose?.();
+ toast.success(`Created scrap reason`);
+ } else if (fetcher.state === "idle" && fetcher.data?.error) {
+ toast.error(
+ `Failed to create scrap reason: ${fetcher.data.error.message}`
+ );
+ }
+ }, [fetcher.data, fetcher.state, onClose, type]);
+
+ const isEditing = initialValues.id !== undefined;
+ const isDisabled = isEditing
+ ? !permissions.can("update", "production")
+ : !permissions.can("create", "production");
+
+ return (
+ <ModalDrawerProvider type={type}>
+ <ModalDrawer
+ open={open}
+ onOpenChange={(open) => {
+ if (!open) onClose?.();
+ }}
+ >
+ <ModalDrawerContent>
+ <ValidatedForm
+ validator={scrapReasonValidator}
+ method="post"
+ action={
+ isEditing
+ ? path.to.scrapReason(initialValues.id!)
+ : path.to.newScrapReason
+ }
+ defaultValues={initialValues}
+ fetcher={fetcher}
+ className="flex flex-col h-full"
+ >
+ <ModalDrawerHeader>
+ <ModalDrawerTitle>
+ {isEditing ? "Edit" : "New"} Scrap Reason
+ </ModalDrawerTitle>
+ </ModalDrawerHeader>
+ <ModalDrawerBody>
+ <Hidden name="id" />
+ <Hidden name="type" value={type} />
+ <VStack spacing={4}>
+ <Input name="name" label="Scrap Reason" />
+ <CustomFormFields table="scrapReason" />
+ </VStack>
+ </ModalDrawerBody>
+ <ModalDrawerFooter>
+ <HStack>
+ <Submit isDisabled={isDisabled}>Save</Submit>
+ <Button size="md" variant="solid" onClick={() => onClose()}>
+ Cancel
+ </Button>
+ </HStack>
+ </ModalDrawerFooter>
+ </ValidatedForm>
+ </ModalDrawerContent>
+ </ModalDrawer>
+ </ModalDrawerProvider>
+ );
+};
+
+export default ScrapReasonForm;
diff --git a/apps/carbon/app/modules/production/ui/ScrapReasonCodes/ScrapReasonsTable.tsx b/apps/carbon/app/modules/production/ui/ScrapReasonCodes/ScrapReasonsTable.tsx
new file mode 100644
index 0000000000..18f89bd5ab
--- /dev/null
+++ b/apps/carbon/app/modules/production/ui/ScrapReasonCodes/ScrapReasonsTable.tsx
@@ -0,0 +1,89 @@
+import { MenuIcon, MenuItem } from "@carbon/react";
+import { useNavigate } from "@remix-run/react";
+import type { ColumnDef } from "@tanstack/react-table";
+import { memo, useCallback, useMemo } from "react";
+import { LuPencil, LuTrash } from "react-icons/lu";
+import { New, Table } from "~/components";
+import { Enumerable } from "~/components/Enumerable";
+import { usePermissions, useUrlParams } from "~/hooks";
+import { useCustomColumns } from "~/hooks/useCustomColumns";
+import { path } from "~/utils/path";
+import type { ScrapReason } from "../../types";
+
+type ScrapReasonsTableProps = {
+ data: ScrapReason[];
+ count: number;
+};
+
+const ScrapReasonsTable = memo(({ data, count }: ScrapReasonsTableProps) => {
+ const [params] = useUrlParams();
+ const navigate = useNavigate();
+ const permissions = usePermissions();
+
+ const customColumns = useCustomColumns<ScrapReason>("scrapReason");
+ const columns = useMemo<ColumnDef<ScrapReason>[]>(() => {
+ const defaultColumns: ColumnDef<ScrapReason>[] = [
+ {
+ accessorKey: "name",
+ header: "Scrap Reason",
+ cell: ({ row }) => (
+ <Enumerable
+ value={row.original.name}
+ onClick={() => navigate(row.original.id)}
+ className="cursor-pointer"
+ />
+ ),
+ },
+ ];
+ return [...defaultColumns, ...customColumns];
+ }, [navigate, customColumns]);
+
+ const renderContextMenu = useCallback(
+ (row: ScrapReason) => {
+ return (
+ <>
+ <MenuItem
+ onClick={() => {
+ navigate(`${path.to.scrapReason(row.id)}?${params.toString()}`);
+ }}
+ >
+ <MenuIcon icon={<LuPencil />} />
+ Edit Scrap Reason
+ </MenuItem>
+ <MenuItem
+ disabled={!permissions.can("delete", "sales")}
+ onClick={() => {
+ navigate(
+ `${path.to.deleteScrapReason(row.id)}?${params.toString()}`
+ );
+ }}
+ >
+ <MenuIcon icon={<LuTrash />} />
+ Delete Scrap Reason
+ </MenuItem>
+ </>
+ );
+ },
+ [navigate, params, permissions]
+ );
+
+ return (
+ <Table<ScrapReason>
+ data={data}
+ columns={columns}
+ count={count}
+ primaryAction={
+ permissions.can("create", "sales") && (
+ <New
+ label="Scrap Reason"
+ to={`${path.to.newScrapReason}?${params.toString()}`}
+ />
+ )
+ }
+ renderContextMenu={renderContextMenu}
+ />
+ );
+});
+
+ScrapReasonsTable.displayName = "ScrapReasonsTable";
+export default ScrapReasonsTable;
diff --git a/apps/carbon/app/modules/production/ui/ScrapReasonCodes/index.ts b/apps/carbon/app/modules/production/ui/ScrapReasonCodes/index.ts
new file mode 100644
index 0000000000..600e0328f5
--- /dev/null
+++ b/apps/carbon/app/modules/production/ui/ScrapReasonCodes/index.ts
@@ -0,0 +1,4 @@
+import ScrapReasonCodeForm from "./ScrapReasonCodeForm";
+import ScrapReasonCodesTable from "./ScrapReasonCodesTable";
+
+export { ScrapReasonCodeForm, ScrapReasonCodesTable };
diff --git a/apps/carbon/app/modules/production/ui/useProductionSubmodules.tsx b/apps/carbon/app/modules/production/ui/useProductionSubmodules.tsx
index e3bac18c32..7b16138422 100644
--- a/apps/carbon/app/modules/production/ui/useProductionSubmodules.tsx
+++ b/apps/carbon/app/modules/production/ui/useProductionSubmodules.tsx
@@ -1,8 +1,10 @@
+import { FaTrash } from "react-icons/fa";
import { LuCalendarClock, LuHardHat } from "react-icons/lu";
-import type { RouteGroup } from "~/types";
+import { usePermissions } from "~/hooks";
+import type { AuthenticatedRouteGroup } from "~/types";
import { path } from "~/utils/path";
-const productionRoutes: RouteGroup[] = [
+const productionRoutes: AuthenticatedRouteGroup[] = [
{
name: "Manage",
routes: [
@@ -18,8 +20,44 @@ const productionRoutes: RouteGroup[] = [
},
],
},
+ {
+ name: "Configure",
+ routes: [
+ {
+ name: "Scrap Reasons",
+ to: path.to.scrapReasons,
+ role: "employee",
+ icon: <FaTrash />,
+ },
+ ],
+ },
];
export default function useProductionSubmodules() {
- return { groups: productionRoutes };
+ const permissions = usePermissions();
+ // to modify
+ return {
+ groups: productionRoutes
+ .filter((group) => {
+ const filteredRoutes = group.routes.filter((route) => {
+ if (route.role) {
+ return permissions.is(route.role);
+ } else {
+ return true;
+ }
+ });
+
+ return filteredRoutes.length > 0;
+ })
+ .map((group) => ({
+ ...group,
+ routes: group.routes.filter((route) => {
+ if (route.role) {
+ return permissions.is(route.role);
+ } else {
+ return true;
+ }
+ }),
+ })),
+ };
}
diff --git a/apps/carbon/app/routes/api+/production.scrap-reason-codes.ts b/apps/carbon/app/routes/api+/production.scrap-reason-codes.ts
new file mode 100644
index 0000000000..6d0bf214c2
--- /dev/null
+++ b/apps/carbon/app/routes/api+/production.scrap-reason-codes.ts
@@ -0,0 +1,12 @@
+import { requirePermissions } from "@carbon/auth/auth.server";
+import type { LoaderFunctionArgs } from "@vercel/remix";
+import { json } from "@vercel/remix";
+import { getScrapReasonsList } from "~/modules/production";
+
+export async function loader({ request }: LoaderFunctionArgs) {
+ const { client, companyId } = await requirePermissions(request, {
+ view: "production",
+ });
+
+ return json(await getScrapReasonsList(client, companyId));
+}
diff --git a/apps/carbon/app/routes/x+/production+/scrap-reasons.$scrapReasonId.tsx b/apps/carbon/app/routes/x+/production+/scrap-reasons.$scrapReasonId.tsx
new file mode 100644
index 0000000000..6efd2b7570
--- /dev/null
+++ b/apps/carbon/app/routes/x+/production+/scrap-reasons.$scrapReasonId.tsx
@@ -0,0 +1,99 @@
+import { assertIsPost, error, notFound, success } from "@carbon/auth";
+import { requirePermissions } from "@carbon/auth/auth.server";
+import { flash } from "@carbon/auth/session.server";
+import { validationError, validator } from "@carbon/form";
+import { useLoaderData, useNavigate } from "@remix-run/react";
+import type { ActionFunctionArgs, LoaderFunctionArgs } from "@vercel/remix";
+import { json, redirect } from "@vercel/remix";
+import {
+ getScrapReason,
+ scrapReasonValidator,
+ upsertScrapReason,
+} from "~/modules/production";
+import ScrapReasonForm from "~/modules/production/ui/ScrapReasonCodes/ScrapReasonForm";
+import { getCustomFields, setCustomFields } from "~/utils/form";
+import { path } from "~/utils/path";
+
+export async function loader({ request, params }: LoaderFunctionArgs) {
+ const { client } = await requirePermissions(request, {
+ view: "production",
+ role: "employee",
+ });
+
+ const { scrapReasonId } = params;
+ if (!scrapReasonId) throw notFound("scrapReasonId not found");
+
+ const scrapReason = await getScrapReason(client, scrapReasonId);
+
+ if (scrapReason.error) {
+ throw redirect(
+ path.to.scrapReasons,
+ await flash(
+ request,
+ error(scrapReason.error, "Failed to get scrap reason")
+ )
+ );
+ }
+
+ return json({
+ scrapReason: scrapReason.data,
+ });
+}
+
+export async function action({ request }: ActionFunctionArgs) {
+ assertIsPost(request);
+ const { client, userId } = await requirePermissions(request, {
+ update: "production",
+ });
+
+ const formData = await request.formData();
+ const validation = await validator(scrapReasonValidator).validate(formData);
+
+ if (validation.error) {
+ return validationError(validation.error);
+ }
+
+ const { id, ...data } = validation.data;
+ if (!id) throw new Error("id not found");
+
+ const updateScrapReason = await upsertScrapReason(client, {
+ id,
+ ...data,
+ updatedBy: userId,
+ customFields: setCustomFields(formData),
+ });
+
+ if (updateScrapReason.error) {
+ return json(
+ {},
+ await flash(
+ request,
+ error(updateScrapReason.error, "Failed to update scrap reason")
+ )
+ );
+ }
+
+ throw redirect(
+ path.to.scrapReasons,
+ await flash(request, success("Updated scrap reason"))
+ );
+}
+
+export default function EditScrapReasonRoute() {
+ const { scrapReason } = useLoaderData<typeof loader>();
+ const navigate = useNavigate();
+
+ const initialValues = {
+ id: scrapReason.id ?? undefined,
+ name: scrapReason.name ?? "",
+ ...getCustomFields(scrapReason.customFields),
+ };
+
+ return (
+ <ScrapReasonForm
+ key={initialValues.id}
+ initialValues={initialValues}
+ onClose={() => navigate(-1)}
+ />
+ );
+}
diff --git a/apps/carbon/app/routes/x+/production+/scrap-reasons.delete.$scrapReasonId.tsx b/apps/carbon/app/routes/x+/production+/scrap-reasons.delete.$scrapReasonId.tsx
new file mode 100644
index 0000000000..53929f3767
--- /dev/null
+++ b/apps/carbon/app/routes/x+/production+/scrap-reasons.delete.$scrapReasonId.tsx
@@ -0,0 +1,83 @@
+import { error, notFound, success } from "@carbon/auth";
+import { requirePermissions } from "@carbon/auth/auth.server";
+import { flash } from "@carbon/auth/session.server";
+import { useLoaderData, useNavigate, useParams } from "@remix-run/react";
+import type { ActionFunctionArgs, LoaderFunctionArgs } from "@vercel/remix";
+import { json, redirect } from "@vercel/remix";
+import { ConfirmDelete } from "~/components/Modals";
+import { deleteScrapReason, getScrapReason } from "~/modules/production";
+import { getParams, path } from "~/utils/path";
+
+export async function loader({ request, params }: LoaderFunctionArgs) {
+ const { client } = await requirePermissions(request, {
+ view: "production",
+ role: "employee",
+ });
+ const { scrapReasonId } = params;
+ if (!scrapReasonId) throw notFound("scrapReasonId not found");
+
+ const scrapReason = await getScrapReason(client, scrapReasonId);
+ if (scrapReason.error) {
+ throw redirect(
+ `${path.to.customerStatuses}?${getParams(request)}`,
+ await flash(
+ request,
+ error(scrapReason.error, "Failed to get scrap reason")
+ )
+ );
+ }
+
+ return json({ scrapReason: scrapReason.data });
+}
+
+export async function action({ request, params }: ActionFunctionArgs) {
+ const { client } = await requirePermissions(request, {
+ delete: "production",
+ });
+
+ const { scrapReasonId } = params;
+ if (!scrapReasonId) {
+ throw redirect(
+ `${path.to.scrapReasons}?${getParams(request)}`,
+ await flash(request, error(params, "Failed to get an scrap reason id"))
+ );
+ }
+
+ const { error: deleteScrapReasonError } = await deleteScrapReason(
+ client,
+ scrapReasonId
+ );
+ if (deleteScrapReasonError) {
+ throw redirect(
+ `${path.to.scrapReasons}?${getParams(request)}`,
+ await flash(
+ request,
+ error(deleteScrapReasonError, "Failed to delete scrap reason")
+ )
+ );
+ }
+
+ throw redirect(
+ `${path.to.scrapReasons}?${getParams(request)}`,
+ await flash(request, success("Successfully deleted scrap reason"))
+ );
+}
+
+export default function DeleteScrapReasonRoute() {
+ const { scrapReasonId } = useParams();
+ const { scrapReason } = useLoaderData<typeof loader>();
+ const navigate = useNavigate();
+
+ if (!scrapReason) return null;
+ if (!scrapReasonId) throw notFound("scrapReasonId not found");
+
+ const onCancel = () => navigate(path.to.scrapReasons);
+ return (
+ <ConfirmDelete
+ action={path.to.deleteScrapReason(scrapReasonId)}
+ name={scrapReason.name}
+ text={`Are you sure you want to delete the scrap reason: ${scrapReason.name}? This cannot be undone.`}
+ onCancel={onCancel}
+ />
+ );
+}
diff --git a/apps/carbon/app/routes/x+/production+/scrap-reasons.new.tsx b/apps/carbon/app/routes/x+/production+/scrap-reasons.new.tsx
new file mode 100644
index 0000000000..b1aadb583c
--- /dev/null
+++ b/apps/carbon/app/routes/x+/production+/scrap-reasons.new.tsx
@@ -0,0 +1,77 @@
+import { assertIsPost, error, success } from "@carbon/auth";
+import { requirePermissions } from "@carbon/auth/auth.server";
+import { flash } from "@carbon/auth/session.server";
+import { validationError, validator } from "@carbon/form";
+import { useNavigate } from "@remix-run/react";
+import type { ActionFunctionArgs, LoaderFunctionArgs } from "@vercel/remix";
+import { json, redirect } from "@vercel/remix";
+import { scrapReasonValidator, upsertScrapReason } from "~/modules/production";
+import ScrapReasonForm from "~/modules/production/ui/ScrapReasonCodes/ScrapReasonForm";
+import { setCustomFields } from "~/utils/form";
+import { getParams, path, requestReferrer } from "~/utils/path";
+
+export async function loader({ request }: LoaderFunctionArgs) {
+ await requirePermissions(request, {
+ create: "production",
+ });
+
+ return null;
+}
+
+export async function action({ request }: ActionFunctionArgs) {
+ assertIsPost(request);
+ const { client, companyId, userId } = await requirePermissions(request, {
+ create: "production",
+ });
+
+ const formData = await request.formData();
+ const modal = formData.get("type") === "modal";
+
+ const validation = await validator(scrapReasonValidator).validate(formData);
+
+ if (validation.error) {
+ return validationError(validation.error);
+ }
+
+ const { id, ...data } = validation.data;
+
+ const insertScrapReason = await upsertScrapReason(client, {
+ ...data,
+ companyId,
+ createdBy: userId,
+ customFields: setCustomFields(formData),
+ });
+ if (insertScrapReason.error) {
+ return modal
+ ? json(insertScrapReason)
+ : redirect(
+ requestReferrer(request) ??
+ `${path.to.scrapReasons}?${getParams(request)}`,
+ await flash(
+ request,
+ error(insertScrapReason.error, "Failed to insert scrap reason")
+ )
+ );
+ }
+
+ return modal
+ ? json(insertScrapReason)
+ : redirect(
+ `${path.to.scrapReasons}?${getParams(request)}`,
+ await flash(request, success("Scrap reason created"))
+ );
+}
+
+export default function NewCustomerStatusesRoute() {
+ const navigate = useNavigate();
+ const initialValues = {
+ name: "",
+ };
+
+ return (
+ <ScrapReasonForm
+ initialValues={initialValues}
+ onClose={() => navigate(-1)}
+ />
+ );
+}
diff --git a/apps/carbon/app/routes/x+/production+/scrap-reasons.tsx b/apps/carbon/app/routes/x+/production+/scrap-reasons.tsx
new file mode 100644
index 0000000000..aa45db2449
--- /dev/null
+++ b/apps/carbon/app/routes/x+/production+/scrap-reasons.tsx
@@ -0,0 +1,49 @@
+import { requirePermissions } from "@carbon/auth/auth.server";
+import { VStack } from "@carbon/react";
+import { Outlet, useLoaderData } from "@remix-run/react";
+import type { LoaderFunctionArgs } from "@vercel/remix";
+import { json } from "@vercel/remix";
+import { getScrapReasons } from "~/modules/production";
+import ScrapReasonsTable from "~/modules/production/ui/ScrapReasonCodes/ScrapReasonsTable";
+import type { Handle } from "~/utils/handle";
+import { path } from "~/utils/path";
+import { getGenericQueryFilters } from "~/utils/query";
+
+export const handle: Handle = {
+ breadcrumb: "Scrap Reasons",
+ to: path.to.scrapReasons,
+};
+
+export async function loader({ request }: LoaderFunctionArgs) {
+ const { client, companyId } = await requirePermissions(request, {
+ view: "production",
+ role: "employee",
+ });
+
+ const url = new URL(request.url);
+ const searchParams = new URLSearchParams(url.search);
+ const search = searchParams.get("search");
+ const { limit, offset, sorts, filters } =
+ getGenericQueryFilters(searchParams);
+
+ return json(
+ await getScrapReasons(client, companyId, {
+ search,
+ limit,
+ offset,
+ sorts,
+ filters,
+ })
+ );
+}
+
+export default function ScrapReasonsRoute() {
+ const { data, count } = useLoaderData<typeof loader>();
+
+ return (
+ <VStack spacing={0} className="h-full">
+ <ScrapReasonsTable data={data ?? []} count={count ?? 0} />
+ <Outlet />
+ </VStack>
+ );
+}
diff --git a/apps/carbon/app/utils/path.ts b/apps/carbon/app/utils/path.ts
index fe62dd77f8..4b13f39c1e 100644
--- a/apps/carbon/app/utils/path.ts
+++ b/apps/carbon/app/utils/path.ts
@@ -46,6 +46,7 @@ export const path = {
generatePath(
`${api}/settings/sequence/rollback?table=${table}&currentSequence=${id}`
),
+ scrapReasons: `${api}/production/scrap-reason-codes`,
sequences: (table: string) => `${api}/settings/sequences?table=${table}`,
services: `${api}/items/services`,
@@ -285,6 +286,8 @@ export const path = {
deleteSalesRfq: (id: string) => generatePath(`${x}/sales-rfq/${id}/delete`),
deleteSalesRfqLine: (id: string, lineId: string) =>
generatePath(`${x}/sales-rfq/${id}/${lineId}/delete`),
+ deleteScrapReason: (id: string) =>
+ generatePath(`${x}/production/scrap-reasons/delete/${id}`),
deleteShift: (id: string) =>
generatePath(`${x}/people/shifts/delete/${id}`),
deleteShippingMethod: (id: string) =>
@@ -533,6 +536,7 @@ export const path = {
generatePath(`${x}/sales-order/${id}/new`),
newSalesRFQ: `${x}/sales-rfq/new`,
newSalesRFQLine: (id: string) => generatePath(`${x}/sales-rfq/${id}/new`),
+ newScrapReason: `${x}/production/scrap-reasons/new`,
newShelf: `${x}/inventory/shelves/new`,
newShift: `${x}/people/shifts/new`,
newShippingMethod: `${x}/inventory/shipping-methods/new`,
@@ -737,6 +741,9 @@ export const path = {
salesRfqs: `${x}/sales/rfqs`,
schedule: `${x}/schedule`,
scheduleOperationUpdate: `${x}/schedule/operation/update`,
+ scrapReason: (id: string) =>
+ generatePath(`${x}/production/scrap-reasons/${id}`),
+ scrapReasons: `${x}/production/scrap-reasons`,
service: (id: string) => generatePath(`${x}/service/${id}`),
services: `${x}/items/services`,
serviceDetails: (id: string) => `${x}/service/${id}/details`,
diff --git a/packages/database/src/swagger-docs-schema.ts b/packages/database/src/swagger-docs-schema.ts
index e01e748278..420eb7243d 100644
--- a/packages/database/src/swagger-docs-schema.ts
+++ b/packages/database/src/swagger-docs-schema.ts
@@ -552,38 +552,17 @@ export default {
description: "No Content",
},
},
- tags: ["supplierAccount"],
+ tags: ["salesOrderShipment"],
},
},
- "/supplierType": {
+ "/documentLabels": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.supplierType.id",
- },
- {
- $ref: "#/parameters/rowFilter.supplierType.name",
- },
- {
- $ref: "#/parameters/rowFilter.supplierType.protected",
- },
- {
- $ref: "#/parameters/rowFilter.supplierType.companyId",
- },
- {
- $ref: "#/parameters/rowFilter.supplierType.createdAt",
- },
- {
- $ref: "#/parameters/rowFilter.supplierType.createdBy",
- },
- {
- $ref: "#/parameters/rowFilter.supplierType.updatedBy",
- },
- {
- $ref: "#/parameters/rowFilter.supplierType.updatedAt",
+ $ref: "#/parameters/rowFilter.documentLabels.label",
},
{
- $ref: "#/parameters/rowFilter.supplierType.customFields",
+ $ref: "#/parameters/rowFilter.documentLabels.userId",
},
{
$ref: "#/parameters/select",
@@ -612,7 +591,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/supplierType",
+ $ref: "#/definitions/documentLabels",
},
type: "array",
},
@@ -621,140 +600,191 @@ export default {
description: "Partial Content",
},
},
- tags: ["supplierType"],
+ tags: ["documentLabels"],
},
- post: {
+ },
+ "/consumables": {
+ get: {
parameters: [
{
- $ref: "#/parameters/body.supplierType",
+ $ref: "#/parameters/rowFilter.consumables.active",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.consumables.assignee",
},
{
- $ref: "#/parameters/preferPost",
+ $ref: "#/parameters/rowFilter.consumables.defaultMethodType",
},
- ],
- responses: {
- "201": {
- description: "Created",
+ {
+ $ref: "#/parameters/rowFilter.consumables.description",
},
- },
- tags: ["supplierType"],
- },
- delete: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.supplierType.id",
+ $ref: "#/parameters/rowFilter.consumables.itemTrackingType",
},
{
- $ref: "#/parameters/rowFilter.supplierType.name",
+ $ref: "#/parameters/rowFilter.consumables.name",
},
{
- $ref: "#/parameters/rowFilter.supplierType.protected",
+ $ref: "#/parameters/rowFilter.consumables.replenishmentSystem",
},
{
- $ref: "#/parameters/rowFilter.supplierType.companyId",
+ $ref: "#/parameters/rowFilter.consumables.thumbnailPath",
},
{
- $ref: "#/parameters/rowFilter.supplierType.createdAt",
+ $ref: "#/parameters/rowFilter.consumables.unitOfMeasureCode",
},
{
- $ref: "#/parameters/rowFilter.supplierType.createdBy",
+ $ref: "#/parameters/rowFilter.consumables.id",
},
{
- $ref: "#/parameters/rowFilter.supplierType.updatedBy",
+ $ref: "#/parameters/rowFilter.consumables.itemId",
},
{
- $ref: "#/parameters/rowFilter.supplierType.updatedAt",
+ $ref: "#/parameters/rowFilter.consumables.approved",
},
{
- $ref: "#/parameters/rowFilter.supplierType.customFields",
+ $ref: "#/parameters/rowFilter.consumables.approvedBy",
},
{
- $ref: "#/parameters/preferReturn",
+ $ref: "#/parameters/rowFilter.consumables.customFields",
},
- ],
- responses: {
- "204": {
- description: "No Content",
+ {
+ $ref: "#/parameters/rowFilter.consumables.companyId",
},
- },
- tags: ["supplierType"],
- },
- patch: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.supplierType.id",
+ $ref: "#/parameters/rowFilter.consumables.createdBy",
},
{
- $ref: "#/parameters/rowFilter.supplierType.name",
+ $ref: "#/parameters/rowFilter.consumables.createdAt",
},
{
- $ref: "#/parameters/rowFilter.supplierType.protected",
+ $ref: "#/parameters/rowFilter.consumables.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.supplierType.companyId",
+ $ref: "#/parameters/rowFilter.consumables.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.supplierType.createdAt",
+ $ref: "#/parameters/rowFilter.consumables.externalId",
},
{
- $ref: "#/parameters/rowFilter.supplierType.createdBy",
+ $ref: "#/parameters/rowFilter.consumables.supplierIds",
},
{
- $ref: "#/parameters/rowFilter.supplierType.updatedBy",
+ $ref: "#/parameters/rowFilter.consumables.unitOfMeasure",
},
{
- $ref: "#/parameters/rowFilter.supplierType.updatedAt",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.supplierType.customFields",
+ $ref: "#/parameters/order",
},
{
- $ref: "#/parameters/body.supplierType",
+ $ref: "#/parameters/range",
},
{
- $ref: "#/parameters/preferReturn",
+ $ref: "#/parameters/rangeUnit",
+ },
+ {
+ $ref: "#/parameters/offset",
+ },
+ {
+ $ref: "#/parameters/limit",
+ },
+ {
+ $ref: "#/parameters/preferCount",
},
],
responses: {
- "204": {
- description: "No Content",
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/consumables",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
},
},
- tags: ["supplierType"],
+ tags: ["consumables"],
},
},
- "/customerType": {
+ "/quoteLine": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.customerType.id",
+ $ref: "#/parameters/rowFilter.quoteLine.id",
},
{
- $ref: "#/parameters/rowFilter.customerType.name",
+ $ref: "#/parameters/rowFilter.quoteLine.quoteId",
},
{
- $ref: "#/parameters/rowFilter.customerType.protected",
+ $ref: "#/parameters/rowFilter.quoteLine.quoteRevisionId",
},
{
- $ref: "#/parameters/rowFilter.customerType.companyId",
+ $ref: "#/parameters/rowFilter.quoteLine.status",
},
{
- $ref: "#/parameters/rowFilter.customerType.createdAt",
+ $ref: "#/parameters/rowFilter.quoteLine.estimatorId",
},
{
- $ref: "#/parameters/rowFilter.customerType.createdBy",
+ $ref: "#/parameters/rowFilter.quoteLine.itemId",
},
{
- $ref: "#/parameters/rowFilter.customerType.updatedBy",
+ $ref: "#/parameters/rowFilter.quoteLine.itemReadableId",
},
{
- $ref: "#/parameters/rowFilter.customerType.updatedAt",
+ $ref: "#/parameters/rowFilter.quoteLine.itemType",
},
{
- $ref: "#/parameters/rowFilter.customerType.customFields",
+ $ref: "#/parameters/rowFilter.quoteLine.description",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.customerPartId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.customerPartRevision",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.methodType",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.unitOfMeasureCode",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.notes",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.customFields",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.modelUploadId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.quantity",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.additionalCharges",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.locationId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.noQuoteReason",
},
{
$ref: "#/parameters/select",
@@ -783,7 +813,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/customerType",
+ $ref: "#/definitions/quoteLine",
},
type: "array",
},
@@ -792,12 +822,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["customerType"],
+ tags: ["quoteLine"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.customerType",
+ $ref: "#/parameters/body.quoteLine",
},
{
$ref: "#/parameters/select",
@@ -811,36 +841,81 @@ export default {
description: "Created",
},
},
- tags: ["customerType"],
+ tags: ["quoteLine"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.customerType.id",
+ $ref: "#/parameters/rowFilter.quoteLine.id",
},
{
- $ref: "#/parameters/rowFilter.customerType.name",
+ $ref: "#/parameters/rowFilter.quoteLine.quoteId",
},
{
- $ref: "#/parameters/rowFilter.customerType.protected",
+ $ref: "#/parameters/rowFilter.quoteLine.quoteRevisionId",
},
{
- $ref: "#/parameters/rowFilter.customerType.companyId",
+ $ref: "#/parameters/rowFilter.quoteLine.status",
},
{
- $ref: "#/parameters/rowFilter.customerType.createdAt",
+ $ref: "#/parameters/rowFilter.quoteLine.estimatorId",
},
{
- $ref: "#/parameters/rowFilter.customerType.createdBy",
+ $ref: "#/parameters/rowFilter.quoteLine.itemId",
},
{
- $ref: "#/parameters/rowFilter.customerType.updatedBy",
+ $ref: "#/parameters/rowFilter.quoteLine.itemReadableId",
},
{
- $ref: "#/parameters/rowFilter.customerType.updatedAt",
+ $ref: "#/parameters/rowFilter.quoteLine.itemType",
},
{
- $ref: "#/parameters/rowFilter.customerType.customFields",
+ $ref: "#/parameters/rowFilter.quoteLine.description",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.customerPartId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.customerPartRevision",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.methodType",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.unitOfMeasureCode",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.notes",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.customFields",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.modelUploadId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.quantity",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.additionalCharges",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.locationId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.noQuoteReason",
},
{
$ref: "#/parameters/preferReturn",
@@ -851,39 +926,84 @@ export default {
description: "No Content",
},
},
- tags: ["customerType"],
+ tags: ["quoteLine"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.customerType.id",
+ $ref: "#/parameters/rowFilter.quoteLine.id",
},
{
- $ref: "#/parameters/rowFilter.customerType.name",
+ $ref: "#/parameters/rowFilter.quoteLine.quoteId",
},
{
- $ref: "#/parameters/rowFilter.customerType.protected",
+ $ref: "#/parameters/rowFilter.quoteLine.quoteRevisionId",
},
{
- $ref: "#/parameters/rowFilter.customerType.companyId",
+ $ref: "#/parameters/rowFilter.quoteLine.status",
},
{
- $ref: "#/parameters/rowFilter.customerType.createdAt",
+ $ref: "#/parameters/rowFilter.quoteLine.estimatorId",
},
{
- $ref: "#/parameters/rowFilter.customerType.createdBy",
+ $ref: "#/parameters/rowFilter.quoteLine.itemId",
},
{
- $ref: "#/parameters/rowFilter.customerType.updatedBy",
+ $ref: "#/parameters/rowFilter.quoteLine.itemReadableId",
},
{
- $ref: "#/parameters/rowFilter.customerType.updatedAt",
+ $ref: "#/parameters/rowFilter.quoteLine.itemType",
},
{
- $ref: "#/parameters/rowFilter.customerType.customFields",
+ $ref: "#/parameters/rowFilter.quoteLine.description",
},
{
- $ref: "#/parameters/body.customerType",
+ $ref: "#/parameters/rowFilter.quoteLine.customerPartId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.customerPartRevision",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.methodType",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.unitOfMeasureCode",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.notes",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.customFields",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.modelUploadId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.quantity",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.additionalCharges",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.locationId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.noQuoteReason",
+ },
+ {
+ $ref: "#/parameters/body.quoteLine",
},
{
$ref: "#/parameters/preferReturn",
@@ -894,35 +1014,38 @@ export default {
description: "No Content",
},
},
- tags: ["customerType"],
+ tags: ["quoteLine"],
},
},
- "/shippingTerm": {
+ "/employeeSummary": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.shippingTerm.id",
+ $ref: "#/parameters/rowFilter.employeeSummary.id",
},
{
- $ref: "#/parameters/rowFilter.shippingTerm.name",
+ $ref: "#/parameters/rowFilter.employeeSummary.name",
},
{
- $ref: "#/parameters/rowFilter.shippingTerm.active",
+ $ref: "#/parameters/rowFilter.employeeSummary.avatarUrl",
},
{
- $ref: "#/parameters/rowFilter.shippingTerm.companyId",
+ $ref: "#/parameters/rowFilter.employeeSummary.companyId",
},
{
- $ref: "#/parameters/rowFilter.shippingTerm.createdAt",
+ $ref: "#/parameters/rowFilter.employeeSummary.title",
},
{
- $ref: "#/parameters/rowFilter.shippingTerm.createdBy",
+ $ref: "#/parameters/rowFilter.employeeSummary.startDate",
},
{
- $ref: "#/parameters/rowFilter.shippingTerm.updatedAt",
+ $ref: "#/parameters/rowFilter.employeeSummary.departmentName",
},
{
- $ref: "#/parameters/rowFilter.shippingTerm.updatedBy",
+ $ref: "#/parameters/rowFilter.employeeSummary.locationName",
+ },
+ {
+ $ref: "#/parameters/rowFilter.employeeSummary.managerName",
},
{
$ref: "#/parameters/select",
@@ -951,7 +1074,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/shippingTerm",
+ $ref: "#/definitions/employeeSummary",
},
type: "array",
},
@@ -960,116 +1083,92 @@ export default {
description: "Partial Content",
},
},
- tags: ["shippingTerm"],
+ tags: ["employeeSummary"],
},
- post: {
+ },
+ "/integrations": {
+ get: {
parameters: [
{
- $ref: "#/parameters/body.shippingTerm",
+ $ref: "#/parameters/rowFilter.integrations.id",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.integrations.jsonschema",
},
{
- $ref: "#/parameters/preferPost",
- },
- ],
- responses: {
- "201": {
- description: "Created",
+ $ref: "#/parameters/rowFilter.integrations.companyId",
},
- },
- tags: ["shippingTerm"],
- },
- delete: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.shippingTerm.id",
+ $ref: "#/parameters/rowFilter.integrations.metadata",
},
{
- $ref: "#/parameters/rowFilter.shippingTerm.name",
+ $ref: "#/parameters/rowFilter.integrations.active",
},
{
- $ref: "#/parameters/rowFilter.shippingTerm.active",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.shippingTerm.companyId",
+ $ref: "#/parameters/order",
},
{
- $ref: "#/parameters/rowFilter.shippingTerm.createdAt",
+ $ref: "#/parameters/range",
},
{
- $ref: "#/parameters/rowFilter.shippingTerm.createdBy",
+ $ref: "#/parameters/rangeUnit",
},
{
- $ref: "#/parameters/rowFilter.shippingTerm.updatedAt",
+ $ref: "#/parameters/offset",
},
{
- $ref: "#/parameters/rowFilter.shippingTerm.updatedBy",
+ $ref: "#/parameters/limit",
},
{
- $ref: "#/parameters/preferReturn",
+ $ref: "#/parameters/preferCount",
},
],
responses: {
- "204": {
- description: "No Content",
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/integrations",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
},
},
- tags: ["shippingTerm"],
+ tags: ["integrations"],
},
- patch: {
+ },
+ "/quoteShipment": {
+ get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.shippingTerm.id",
- },
- {
- $ref: "#/parameters/rowFilter.shippingTerm.name",
- },
- {
- $ref: "#/parameters/rowFilter.shippingTerm.active",
- },
- {
- $ref: "#/parameters/rowFilter.shippingTerm.companyId",
- },
- {
- $ref: "#/parameters/rowFilter.shippingTerm.createdAt",
- },
- {
- $ref: "#/parameters/rowFilter.shippingTerm.createdBy",
+ $ref: "#/parameters/rowFilter.quoteShipment.id",
},
{
- $ref: "#/parameters/rowFilter.shippingTerm.updatedAt",
+ $ref: "#/parameters/rowFilter.quoteShipment.locationId",
},
{
- $ref: "#/parameters/rowFilter.shippingTerm.updatedBy",
+ $ref: "#/parameters/rowFilter.quoteShipment.shippingMethodId",
},
{
- $ref: "#/parameters/body.shippingTerm",
+ $ref: "#/parameters/rowFilter.quoteShipment.shippingTermId",
},
{
- $ref: "#/parameters/preferReturn",
- },
- ],
- responses: {
- "204": {
- description: "No Content",
+ $ref: "#/parameters/rowFilter.quoteShipment.receiptRequestedDate",
},
- },
- tags: ["shippingTerm"],
- },
- },
- "/customerAccount": {
- get: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.customerAccount.id",
+ $ref: "#/parameters/rowFilter.quoteShipment.companyId",
},
{
- $ref: "#/parameters/rowFilter.customerAccount.customerId",
+ $ref: "#/parameters/rowFilter.quoteShipment.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.customerAccount.companyId",
+ $ref: "#/parameters/rowFilter.quoteShipment.updatedAt",
},
{
$ref: "#/parameters/select",
@@ -1098,7 +1197,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/customerAccount",
+ $ref: "#/definitions/quoteShipment",
},
type: "array",
},
@@ -1107,12 +1206,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["customerAccount"],
+ tags: ["quoteShipment"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.customerAccount",
+ $ref: "#/parameters/body.quoteShipment",
},
{
$ref: "#/parameters/select",
@@ -1126,43 +1225,33 @@ export default {
description: "Created",
},
},
- tags: ["customerAccount"],
+ tags: ["quoteShipment"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.customerAccount.id",
+ $ref: "#/parameters/rowFilter.quoteShipment.id",
},
{
- $ref: "#/parameters/rowFilter.customerAccount.customerId",
+ $ref: "#/parameters/rowFilter.quoteShipment.locationId",
},
{
- $ref: "#/parameters/rowFilter.customerAccount.companyId",
+ $ref: "#/parameters/rowFilter.quoteShipment.shippingMethodId",
},
{
- $ref: "#/parameters/preferReturn",
- },
- ],
- responses: {
- "204": {
- description: "No Content",
+ $ref: "#/parameters/rowFilter.quoteShipment.shippingTermId",
},
- },
- tags: ["customerAccount"],
- },
- patch: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.customerAccount.id",
+ $ref: "#/parameters/rowFilter.quoteShipment.receiptRequestedDate",
},
{
- $ref: "#/parameters/rowFilter.customerAccount.customerId",
+ $ref: "#/parameters/rowFilter.quoteShipment.companyId",
},
{
- $ref: "#/parameters/rowFilter.customerAccount.companyId",
+ $ref: "#/parameters/rowFilter.quoteShipment.updatedBy",
},
{
- $ref: "#/parameters/body.customerAccount",
+ $ref: "#/parameters/rowFilter.quoteShipment.updatedAt",
},
{
$ref: "#/parameters/preferReturn",
@@ -1173,134 +1262,210 @@ export default {
description: "No Content",
},
},
- tags: ["customerAccount"],
+ tags: ["quoteShipment"],
},
- },
- "/accountDefault": {
- get: {
+ patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.accountDefault.companyId",
+ $ref: "#/parameters/rowFilter.quoteShipment.id",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.salesAccount",
+ $ref: "#/parameters/rowFilter.quoteShipment.locationId",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.salesDiscountAccount",
+ $ref: "#/parameters/rowFilter.quoteShipment.shippingMethodId",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.costOfGoodsSoldAccount",
+ $ref: "#/parameters/rowFilter.quoteShipment.shippingTermId",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.purchaseAccount",
+ $ref: "#/parameters/rowFilter.quoteShipment.receiptRequestedDate",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.directCostAppliedAccount",
+ $ref: "#/parameters/rowFilter.quoteShipment.companyId",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.overheadCostAppliedAccount",
+ $ref: "#/parameters/rowFilter.quoteShipment.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.purchaseVarianceAccount",
+ $ref: "#/parameters/rowFilter.quoteShipment.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.inventoryAdjustmentVarianceAccount",
+ $ref: "#/parameters/body.quoteShipment",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.materialVarianceAccount",
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
},
+ },
+ tags: ["quoteShipment"],
+ },
+ },
+ "/customerLocation": {
+ get: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.accountDefault.capacityVarianceAccount",
+ $ref: "#/parameters/rowFilter.customerLocation.id",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.overheadAccount",
+ $ref: "#/parameters/rowFilter.customerLocation.customerId",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.maintenanceAccount",
+ $ref: "#/parameters/rowFilter.customerLocation.addressId",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.assetDepreciationExpenseAccount",
+ $ref: "#/parameters/rowFilter.customerLocation.customFields",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.assetGainsAndLossesAccount",
+ $ref: "#/parameters/rowFilter.customerLocation.name",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.serviceChargeAccount",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.interestAccount",
+ $ref: "#/parameters/order",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.supplierPaymentDiscountAccount",
+ $ref: "#/parameters/range",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.customerPaymentDiscountAccount",
+ $ref: "#/parameters/rangeUnit",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.roundingAccount",
+ $ref: "#/parameters/offset",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.assetAquisitionCostAccount",
+ $ref: "#/parameters/limit",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.assetAquisitionCostOnDisposalAccount",
+ $ref: "#/parameters/preferCount",
+ },
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/customerLocation",
+ },
+ type: "array",
+ },
},
+ "206": {
+ description: "Partial Content",
+ },
+ },
+ tags: ["customerLocation"],
+ },
+ post: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.accountDefault.accumulatedDepreciationAccount",
+ $ref: "#/parameters/body.customerLocation",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.accumulatedDepreciationOnDisposalAccount",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.inventoryAccount",
+ $ref: "#/parameters/preferPost",
+ },
+ ],
+ responses: {
+ "201": {
+ description: "Created",
},
+ },
+ tags: ["customerLocation"],
+ },
+ delete: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.accountDefault.inventoryInterimAccrualAccount",
+ $ref: "#/parameters/rowFilter.customerLocation.id",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.workInProgressAccount",
+ $ref: "#/parameters/rowFilter.customerLocation.customerId",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.receivablesAccount",
+ $ref: "#/parameters/rowFilter.customerLocation.addressId",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.inventoryShippedNotInvoicedAccount",
+ $ref: "#/parameters/rowFilter.customerLocation.customFields",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.inventoryInvoicedNotReceivedAccount",
+ $ref: "#/parameters/rowFilter.customerLocation.name",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.bankCashAccount",
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
},
+ },
+ tags: ["customerLocation"],
+ },
+ patch: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.accountDefault.bankLocalCurrencyAccount",
+ $ref: "#/parameters/rowFilter.customerLocation.id",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.bankForeignCurrencyAccount",
+ $ref: "#/parameters/rowFilter.customerLocation.customerId",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.prepaymentAccount",
+ $ref: "#/parameters/rowFilter.customerLocation.addressId",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.payablesAccount",
+ $ref: "#/parameters/rowFilter.customerLocation.customFields",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.inventoryReceivedNotInvoicedAccount",
+ $ref: "#/parameters/rowFilter.customerLocation.name",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.salesTaxPayableAccount",
+ $ref: "#/parameters/body.customerLocation",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.purchaseTaxPayableAccount",
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
+ },
+ },
+ tags: ["customerLocation"],
+ },
+ },
+ "/oauthToken": {
+ get: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.oauthToken.id",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.reverseChargeSalesTaxPayableAccount",
+ $ref: "#/parameters/rowFilter.oauthToken.accessToken",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.retainedEarningsAccount",
+ $ref: "#/parameters/rowFilter.oauthToken.refreshToken",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.updatedBy",
+ $ref: "#/parameters/rowFilter.oauthToken.clientId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.oauthToken.userId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.oauthToken.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.oauthToken.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.oauthToken.expiresAt",
},
{
$ref: "#/parameters/select",
@@ -1329,7 +1494,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/accountDefault",
+ $ref: "#/definitions/oauthToken",
},
type: "array",
},
@@ -1338,12 +1503,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["accountDefault"],
+ tags: ["oauthToken"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.accountDefault",
+ $ref: "#/parameters/body.oauthToken",
},
{
$ref: "#/parameters/select",
@@ -1357,271 +1522,316 @@ export default {
description: "Created",
},
},
- tags: ["accountDefault"],
+ tags: ["oauthToken"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.accountDefault.companyId",
- },
- {
- $ref: "#/parameters/rowFilter.accountDefault.salesAccount",
- },
- {
- $ref: "#/parameters/rowFilter.accountDefault.salesDiscountAccount",
- },
- {
- $ref: "#/parameters/rowFilter.accountDefault.costOfGoodsSoldAccount",
- },
- {
- $ref: "#/parameters/rowFilter.accountDefault.purchaseAccount",
+ $ref: "#/parameters/rowFilter.oauthToken.id",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.directCostAppliedAccount",
+ $ref: "#/parameters/rowFilter.oauthToken.accessToken",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.overheadCostAppliedAccount",
+ $ref: "#/parameters/rowFilter.oauthToken.refreshToken",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.purchaseVarianceAccount",
+ $ref: "#/parameters/rowFilter.oauthToken.clientId",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.inventoryAdjustmentVarianceAccount",
+ $ref: "#/parameters/rowFilter.oauthToken.userId",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.materialVarianceAccount",
+ $ref: "#/parameters/rowFilter.oauthToken.companyId",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.capacityVarianceAccount",
+ $ref: "#/parameters/rowFilter.oauthToken.createdAt",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.overheadAccount",
+ $ref: "#/parameters/rowFilter.oauthToken.expiresAt",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.maintenanceAccount",
+ $ref: "#/parameters/preferReturn",
},
- {
- $ref: "#/parameters/rowFilter.accountDefault.assetDepreciationExpenseAccount",
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
},
+ },
+ tags: ["oauthToken"],
+ },
+ patch: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.accountDefault.assetGainsAndLossesAccount",
+ $ref: "#/parameters/rowFilter.oauthToken.id",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.serviceChargeAccount",
+ $ref: "#/parameters/rowFilter.oauthToken.accessToken",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.interestAccount",
+ $ref: "#/parameters/rowFilter.oauthToken.refreshToken",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.supplierPaymentDiscountAccount",
+ $ref: "#/parameters/rowFilter.oauthToken.clientId",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.customerPaymentDiscountAccount",
+ $ref: "#/parameters/rowFilter.oauthToken.userId",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.roundingAccount",
+ $ref: "#/parameters/rowFilter.oauthToken.companyId",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.assetAquisitionCostAccount",
+ $ref: "#/parameters/rowFilter.oauthToken.createdAt",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.assetAquisitionCostOnDisposalAccount",
+ $ref: "#/parameters/rowFilter.oauthToken.expiresAt",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.accumulatedDepreciationAccount",
+ $ref: "#/parameters/body.oauthToken",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.accumulatedDepreciationOnDisposalAccount",
+ $ref: "#/parameters/preferReturn",
},
- {
- $ref: "#/parameters/rowFilter.accountDefault.inventoryAccount",
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
},
+ },
+ tags: ["oauthToken"],
+ },
+ },
+ "/groups": {
+ get: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.accountDefault.inventoryInterimAccrualAccount",
+ $ref: "#/parameters/rowFilter.groups.id",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.workInProgressAccount",
+ $ref: "#/parameters/rowFilter.groups.isEmployeeTypeGroup",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.receivablesAccount",
+ $ref: "#/parameters/rowFilter.groups.isCustomerOrgGroup",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.inventoryShippedNotInvoicedAccount",
+ $ref: "#/parameters/rowFilter.groups.isCustomerTypeGroup",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.inventoryInvoicedNotReceivedAccount",
+ $ref: "#/parameters/rowFilter.groups.isSupplierOrgGroup",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.bankCashAccount",
+ $ref: "#/parameters/rowFilter.groups.isSupplierTypeGroup",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.bankLocalCurrencyAccount",
+ $ref: "#/parameters/rowFilter.groups.name",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.bankForeignCurrencyAccount",
+ $ref: "#/parameters/rowFilter.groups.companyId",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.prepaymentAccount",
+ $ref: "#/parameters/rowFilter.groups.parentId",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.payablesAccount",
+ $ref: "#/parameters/rowFilter.groups.users",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.inventoryReceivedNotInvoicedAccount",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.salesTaxPayableAccount",
+ $ref: "#/parameters/order",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.purchaseTaxPayableAccount",
+ $ref: "#/parameters/range",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.reverseChargeSalesTaxPayableAccount",
+ $ref: "#/parameters/rangeUnit",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.retainedEarningsAccount",
+ $ref: "#/parameters/offset",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.updatedBy",
+ $ref: "#/parameters/limit",
},
{
- $ref: "#/parameters/preferReturn",
+ $ref: "#/parameters/preferCount",
},
],
responses: {
- "204": {
- description: "No Content",
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/groups",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
},
},
- tags: ["accountDefault"],
+ tags: ["groups"],
},
- patch: {
+ },
+ "/customerShipping": {
+ get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.accountDefault.companyId",
+ $ref: "#/parameters/rowFilter.customerShipping.customerId",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.salesAccount",
+ $ref: "#/parameters/rowFilter.customerShipping.shippingCustomerId",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.salesDiscountAccount",
+ $ref: "#/parameters/rowFilter.customerShipping.shippingCustomerLocationId",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.costOfGoodsSoldAccount",
+ $ref: "#/parameters/rowFilter.customerShipping.shippingCustomerContactId",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.purchaseAccount",
+ $ref: "#/parameters/rowFilter.customerShipping.shippingTermId",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.directCostAppliedAccount",
+ $ref: "#/parameters/rowFilter.customerShipping.shippingMethodId",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.overheadCostAppliedAccount",
+ $ref: "#/parameters/rowFilter.customerShipping.companyId",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.purchaseVarianceAccount",
+ $ref: "#/parameters/rowFilter.customerShipping.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.inventoryAdjustmentVarianceAccount",
+ $ref: "#/parameters/rowFilter.customerShipping.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.materialVarianceAccount",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.capacityVarianceAccount",
+ $ref: "#/parameters/order",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.overheadAccount",
+ $ref: "#/parameters/range",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.maintenanceAccount",
+ $ref: "#/parameters/rangeUnit",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.assetDepreciationExpenseAccount",
+ $ref: "#/parameters/offset",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.assetGainsAndLossesAccount",
+ $ref: "#/parameters/limit",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.serviceChargeAccount",
+ $ref: "#/parameters/preferCount",
},
- {
- $ref: "#/parameters/rowFilter.accountDefault.interestAccount",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/customerShipping",
+ },
+ type: "array",
+ },
},
- {
- $ref: "#/parameters/rowFilter.accountDefault.supplierPaymentDiscountAccount",
+ "206": {
+ description: "Partial Content",
},
+ },
+ tags: ["customerShipping"],
+ },
+ post: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.accountDefault.customerPaymentDiscountAccount",
+ $ref: "#/parameters/body.customerShipping",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.roundingAccount",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.assetAquisitionCostAccount",
+ $ref: "#/parameters/preferPost",
},
- {
- $ref: "#/parameters/rowFilter.accountDefault.assetAquisitionCostOnDisposalAccount",
+ ],
+ responses: {
+ "201": {
+ description: "Created",
},
+ },
+ tags: ["customerShipping"],
+ },
+ delete: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.accountDefault.accumulatedDepreciationAccount",
+ $ref: "#/parameters/rowFilter.customerShipping.customerId",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.accumulatedDepreciationOnDisposalAccount",
+ $ref: "#/parameters/rowFilter.customerShipping.shippingCustomerId",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.inventoryAccount",
+ $ref: "#/parameters/rowFilter.customerShipping.shippingCustomerLocationId",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.inventoryInterimAccrualAccount",
+ $ref: "#/parameters/rowFilter.customerShipping.shippingCustomerContactId",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.workInProgressAccount",
+ $ref: "#/parameters/rowFilter.customerShipping.shippingTermId",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.receivablesAccount",
+ $ref: "#/parameters/rowFilter.customerShipping.shippingMethodId",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.inventoryShippedNotInvoicedAccount",
+ $ref: "#/parameters/rowFilter.customerShipping.companyId",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.inventoryInvoicedNotReceivedAccount",
+ $ref: "#/parameters/rowFilter.customerShipping.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.bankCashAccount",
+ $ref: "#/parameters/rowFilter.customerShipping.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.bankLocalCurrencyAccount",
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
},
+ },
+ tags: ["customerShipping"],
+ },
+ patch: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.accountDefault.bankForeignCurrencyAccount",
+ $ref: "#/parameters/rowFilter.customerShipping.customerId",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.prepaymentAccount",
+ $ref: "#/parameters/rowFilter.customerShipping.shippingCustomerId",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.payablesAccount",
+ $ref: "#/parameters/rowFilter.customerShipping.shippingCustomerLocationId",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.inventoryReceivedNotInvoicedAccount",
+ $ref: "#/parameters/rowFilter.customerShipping.shippingCustomerContactId",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.salesTaxPayableAccount",
+ $ref: "#/parameters/rowFilter.customerShipping.shippingTermId",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.purchaseTaxPayableAccount",
+ $ref: "#/parameters/rowFilter.customerShipping.shippingMethodId",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.reverseChargeSalesTaxPayableAccount",
+ $ref: "#/parameters/rowFilter.customerShipping.companyId",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.retainedEarningsAccount",
+ $ref: "#/parameters/rowFilter.customerShipping.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.accountDefault.updatedBy",
+ $ref: "#/parameters/rowFilter.customerShipping.updatedBy",
},
{
- $ref: "#/parameters/body.accountDefault",
+ $ref: "#/parameters/body.customerShipping",
},
{
$ref: "#/parameters/preferReturn",
@@ -1632,50 +1842,35 @@ export default {
description: "No Content",
},
},
- tags: ["accountDefault"],
+ tags: ["customerShipping"],
},
},
- "/service": {
+ "/scrapReason": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.service.id",
- },
- {
- $ref: "#/parameters/rowFilter.service.itemId",
- },
- {
- $ref: "#/parameters/rowFilter.service.serviceType",
- },
- {
- $ref: "#/parameters/rowFilter.service.approved",
- },
- {
- $ref: "#/parameters/rowFilter.service.approvedBy",
+ $ref: "#/parameters/rowFilter.scrapReason.id",
},
{
- $ref: "#/parameters/rowFilter.service.fromDate",
- },
- {
- $ref: "#/parameters/rowFilter.service.toDate",
+ $ref: "#/parameters/rowFilter.scrapReason.name",
},
{
- $ref: "#/parameters/rowFilter.service.customFields",
+ $ref: "#/parameters/rowFilter.scrapReason.companyId",
},
{
- $ref: "#/parameters/rowFilter.service.companyId",
+ $ref: "#/parameters/rowFilter.scrapReason.createdAt",
},
{
- $ref: "#/parameters/rowFilter.service.createdBy",
+ $ref: "#/parameters/rowFilter.scrapReason.createdBy",
},
{
- $ref: "#/parameters/rowFilter.service.createdAt",
+ $ref: "#/parameters/rowFilter.scrapReason.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.service.updatedBy",
+ $ref: "#/parameters/rowFilter.scrapReason.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.service.updatedAt",
+ $ref: "#/parameters/rowFilter.scrapReason.customFields",
},
{
$ref: "#/parameters/select",
@@ -1704,7 +1899,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/service",
+ $ref: "#/definitions/scrapReason",
},
type: "array",
},
@@ -1713,12 +1908,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["service"],
+ tags: ["scrapReason"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.service",
+ $ref: "#/parameters/body.scrapReason",
},
{
$ref: "#/parameters/select",
@@ -1732,48 +1927,33 @@ export default {
description: "Created",
},
},
- tags: ["service"],
+ tags: ["scrapReason"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.service.id",
- },
- {
- $ref: "#/parameters/rowFilter.service.itemId",
- },
- {
- $ref: "#/parameters/rowFilter.service.serviceType",
- },
- {
- $ref: "#/parameters/rowFilter.service.approved",
- },
- {
- $ref: "#/parameters/rowFilter.service.approvedBy",
- },
- {
- $ref: "#/parameters/rowFilter.service.fromDate",
+ $ref: "#/parameters/rowFilter.scrapReason.id",
},
{
- $ref: "#/parameters/rowFilter.service.toDate",
+ $ref: "#/parameters/rowFilter.scrapReason.name",
},
{
- $ref: "#/parameters/rowFilter.service.customFields",
+ $ref: "#/parameters/rowFilter.scrapReason.companyId",
},
{
- $ref: "#/parameters/rowFilter.service.companyId",
+ $ref: "#/parameters/rowFilter.scrapReason.createdAt",
},
{
- $ref: "#/parameters/rowFilter.service.createdBy",
+ $ref: "#/parameters/rowFilter.scrapReason.createdBy",
},
{
- $ref: "#/parameters/rowFilter.service.createdAt",
+ $ref: "#/parameters/rowFilter.scrapReason.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.service.updatedBy",
+ $ref: "#/parameters/rowFilter.scrapReason.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.service.updatedAt",
+ $ref: "#/parameters/rowFilter.scrapReason.customFields",
},
{
$ref: "#/parameters/preferReturn",
@@ -1784,51 +1964,36 @@ export default {
description: "No Content",
},
},
- tags: ["service"],
+ tags: ["scrapReason"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.service.id",
- },
- {
- $ref: "#/parameters/rowFilter.service.itemId",
- },
- {
- $ref: "#/parameters/rowFilter.service.serviceType",
- },
- {
- $ref: "#/parameters/rowFilter.service.approved",
- },
- {
- $ref: "#/parameters/rowFilter.service.approvedBy",
- },
- {
- $ref: "#/parameters/rowFilter.service.fromDate",
+ $ref: "#/parameters/rowFilter.scrapReason.id",
},
{
- $ref: "#/parameters/rowFilter.service.toDate",
+ $ref: "#/parameters/rowFilter.scrapReason.name",
},
{
- $ref: "#/parameters/rowFilter.service.customFields",
+ $ref: "#/parameters/rowFilter.scrapReason.companyId",
},
{
- $ref: "#/parameters/rowFilter.service.companyId",
+ $ref: "#/parameters/rowFilter.scrapReason.createdAt",
},
{
- $ref: "#/parameters/rowFilter.service.createdBy",
+ $ref: "#/parameters/rowFilter.scrapReason.createdBy",
},
{
- $ref: "#/parameters/rowFilter.service.createdAt",
+ $ref: "#/parameters/rowFilter.scrapReason.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.service.updatedBy",
+ $ref: "#/parameters/rowFilter.scrapReason.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.service.updatedAt",
+ $ref: "#/parameters/rowFilter.scrapReason.customFields",
},
{
- $ref: "#/parameters/body.service",
+ $ref: "#/parameters/body.scrapReason",
},
{
$ref: "#/parameters/preferReturn",
@@ -1839,35 +2004,35 @@ export default {
description: "No Content",
},
},
- tags: ["service"],
+ tags: ["scrapReason"],
},
},
- "/employeeTypePermission": {
+ "/purchaseInvoicePriceChange": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.employeeTypePermission.employeeTypeId",
+ $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.id",
},
{
- $ref: "#/parameters/rowFilter.employeeTypePermission.module",
+ $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.invoiceId",
},
{
- $ref: "#/parameters/rowFilter.employeeTypePermission.create",
+ $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.invoiceLineId",
},
{
- $ref: "#/parameters/rowFilter.employeeTypePermission.delete",
+ $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.previousPrice",
},
{
- $ref: "#/parameters/rowFilter.employeeTypePermission.update",
+ $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.newPrice",
},
{
- $ref: "#/parameters/rowFilter.employeeTypePermission.view",
+ $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.previousQuantity",
},
{
- $ref: "#/parameters/rowFilter.employeeTypePermission.createdAt",
+ $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.newQuantity",
},
{
- $ref: "#/parameters/rowFilter.employeeTypePermission.updatedAt",
+ $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.updatedBy",
},
{
$ref: "#/parameters/select",
@@ -1896,7 +2061,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/employeeTypePermission",
+ $ref: "#/definitions/purchaseInvoicePriceChange",
},
type: "array",
},
@@ -1905,12 +2070,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["employeeTypePermission"],
+ tags: ["purchaseInvoicePriceChange"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.employeeTypePermission",
+ $ref: "#/parameters/body.purchaseInvoicePriceChange",
},
{
$ref: "#/parameters/select",
@@ -1924,33 +2089,33 @@ export default {
description: "Created",
},
},
- tags: ["employeeTypePermission"],
+ tags: ["purchaseInvoicePriceChange"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.employeeTypePermission.employeeTypeId",
+ $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.id",
},
{
- $ref: "#/parameters/rowFilter.employeeTypePermission.module",
+ $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.invoiceId",
},
{
- $ref: "#/parameters/rowFilter.employeeTypePermission.create",
+ $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.invoiceLineId",
},
{
- $ref: "#/parameters/rowFilter.employeeTypePermission.delete",
+ $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.previousPrice",
},
{
- $ref: "#/parameters/rowFilter.employeeTypePermission.update",
+ $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.newPrice",
},
{
- $ref: "#/parameters/rowFilter.employeeTypePermission.view",
+ $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.previousQuantity",
},
{
- $ref: "#/parameters/rowFilter.employeeTypePermission.createdAt",
+ $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.newQuantity",
},
{
- $ref: "#/parameters/rowFilter.employeeTypePermission.updatedAt",
+ $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.updatedBy",
},
{
$ref: "#/parameters/preferReturn",
@@ -1961,36 +2126,36 @@ export default {
description: "No Content",
},
},
- tags: ["employeeTypePermission"],
+ tags: ["purchaseInvoicePriceChange"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.employeeTypePermission.employeeTypeId",
+ $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.id",
},
{
- $ref: "#/parameters/rowFilter.employeeTypePermission.module",
+ $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.invoiceId",
},
{
- $ref: "#/parameters/rowFilter.employeeTypePermission.create",
+ $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.invoiceLineId",
},
{
- $ref: "#/parameters/rowFilter.employeeTypePermission.delete",
+ $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.previousPrice",
},
{
- $ref: "#/parameters/rowFilter.employeeTypePermission.update",
+ $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.newPrice",
},
{
- $ref: "#/parameters/rowFilter.employeeTypePermission.view",
+ $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.previousQuantity",
},
{
- $ref: "#/parameters/rowFilter.employeeTypePermission.createdAt",
+ $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.newQuantity",
},
{
- $ref: "#/parameters/rowFilter.employeeTypePermission.updatedAt",
+ $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.updatedBy",
},
{
- $ref: "#/parameters/body.employeeTypePermission",
+ $ref: "#/parameters/body.purchaseInvoicePriceChange",
},
{
$ref: "#/parameters/preferReturn",
@@ -2001,41 +2166,35 @@ export default {
description: "No Content",
},
},
- tags: ["employeeTypePermission"],
+ tags: ["purchaseInvoicePriceChange"],
},
},
- "/purchaseOrderPayment": {
+ "/makeMethod": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.purchaseOrderPayment.id",
- },
- {
- $ref: "#/parameters/rowFilter.purchaseOrderPayment.invoiceSupplierId",
- },
- {
- $ref: "#/parameters/rowFilter.purchaseOrderPayment.invoiceSupplierLocationId",
+ $ref: "#/parameters/rowFilter.makeMethod.id",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderPayment.invoiceSupplierContactId",
+ $ref: "#/parameters/rowFilter.makeMethod.itemId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderPayment.paymentTermId",
+ $ref: "#/parameters/rowFilter.makeMethod.companyId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderPayment.paymentComplete",
+ $ref: "#/parameters/rowFilter.makeMethod.createdAt",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderPayment.companyId",
+ $ref: "#/parameters/rowFilter.makeMethod.createdBy",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderPayment.updatedAt",
+ $ref: "#/parameters/rowFilter.makeMethod.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderPayment.updatedBy",
+ $ref: "#/parameters/rowFilter.makeMethod.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderPayment.customFields",
+ $ref: "#/parameters/rowFilter.makeMethod.customFields",
},
{
$ref: "#/parameters/select",
@@ -2064,7 +2223,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/purchaseOrderPayment",
+ $ref: "#/definitions/makeMethod",
},
type: "array",
},
@@ -2073,12 +2232,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["purchaseOrderPayment"],
+ tags: ["makeMethod"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.purchaseOrderPayment",
+ $ref: "#/parameters/body.makeMethod",
},
{
$ref: "#/parameters/select",
@@ -2092,39 +2251,33 @@ export default {
description: "Created",
},
},
- tags: ["purchaseOrderPayment"],
+ tags: ["makeMethod"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.purchaseOrderPayment.id",
- },
- {
- $ref: "#/parameters/rowFilter.purchaseOrderPayment.invoiceSupplierId",
- },
- {
- $ref: "#/parameters/rowFilter.purchaseOrderPayment.invoiceSupplierLocationId",
+ $ref: "#/parameters/rowFilter.makeMethod.id",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderPayment.invoiceSupplierContactId",
+ $ref: "#/parameters/rowFilter.makeMethod.itemId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderPayment.paymentTermId",
+ $ref: "#/parameters/rowFilter.makeMethod.companyId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderPayment.paymentComplete",
+ $ref: "#/parameters/rowFilter.makeMethod.createdAt",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderPayment.companyId",
+ $ref: "#/parameters/rowFilter.makeMethod.createdBy",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderPayment.updatedAt",
+ $ref: "#/parameters/rowFilter.makeMethod.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderPayment.updatedBy",
+ $ref: "#/parameters/rowFilter.makeMethod.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderPayment.customFields",
+ $ref: "#/parameters/rowFilter.makeMethod.customFields",
},
{
$ref: "#/parameters/preferReturn",
@@ -2135,42 +2288,36 @@ export default {
description: "No Content",
},
},
- tags: ["purchaseOrderPayment"],
+ tags: ["makeMethod"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.purchaseOrderPayment.id",
- },
- {
- $ref: "#/parameters/rowFilter.purchaseOrderPayment.invoiceSupplierId",
- },
- {
- $ref: "#/parameters/rowFilter.purchaseOrderPayment.invoiceSupplierLocationId",
+ $ref: "#/parameters/rowFilter.makeMethod.id",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderPayment.invoiceSupplierContactId",
+ $ref: "#/parameters/rowFilter.makeMethod.itemId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderPayment.paymentTermId",
+ $ref: "#/parameters/rowFilter.makeMethod.companyId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderPayment.paymentComplete",
+ $ref: "#/parameters/rowFilter.makeMethod.createdAt",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderPayment.companyId",
+ $ref: "#/parameters/rowFilter.makeMethod.createdBy",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderPayment.updatedAt",
+ $ref: "#/parameters/rowFilter.makeMethod.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderPayment.updatedBy",
+ $ref: "#/parameters/rowFilter.makeMethod.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderPayment.customFields",
+ $ref: "#/parameters/rowFilter.makeMethod.customFields",
},
{
- $ref: "#/parameters/body.purchaseOrderPayment",
+ $ref: "#/parameters/body.makeMethod",
},
{
$ref: "#/parameters/preferReturn",
@@ -2181,41 +2328,68 @@ export default {
description: "No Content",
},
},
- tags: ["purchaseOrderPayment"],
+ tags: ["makeMethod"],
},
},
- "/holiday": {
+ "/shift": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.holiday.id",
+ $ref: "#/parameters/rowFilter.shift.id",
},
{
- $ref: "#/parameters/rowFilter.holiday.name",
+ $ref: "#/parameters/rowFilter.shift.name",
},
{
- $ref: "#/parameters/rowFilter.holiday.date",
+ $ref: "#/parameters/rowFilter.shift.startTime",
},
{
- $ref: "#/parameters/rowFilter.holiday.year",
+ $ref: "#/parameters/rowFilter.shift.endTime",
},
{
- $ref: "#/parameters/rowFilter.holiday.companyId",
+ $ref: "#/parameters/rowFilter.shift.locationId",
},
{
- $ref: "#/parameters/rowFilter.holiday.createdBy",
+ $ref: "#/parameters/rowFilter.shift.sunday",
},
{
- $ref: "#/parameters/rowFilter.holiday.createdAt",
+ $ref: "#/parameters/rowFilter.shift.monday",
},
{
- $ref: "#/parameters/rowFilter.holiday.updatedBy",
+ $ref: "#/parameters/rowFilter.shift.tuesday",
},
{
- $ref: "#/parameters/rowFilter.holiday.updatedAt",
+ $ref: "#/parameters/rowFilter.shift.wednesday",
},
{
- $ref: "#/parameters/rowFilter.holiday.customFields",
+ $ref: "#/parameters/rowFilter.shift.thursday",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shift.friday",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shift.saturday",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shift.active",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shift.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shift.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shift.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shift.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shift.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shift.customFields",
},
{
$ref: "#/parameters/select",
@@ -2244,7 +2418,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/holiday",
+ $ref: "#/definitions/shift",
},
type: "array",
},
@@ -2253,12 +2427,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["holiday"],
+ tags: ["shift"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.holiday",
+ $ref: "#/parameters/body.shift",
},
{
$ref: "#/parameters/select",
@@ -2272,39 +2446,66 @@ export default {
description: "Created",
},
},
- tags: ["holiday"],
+ tags: ["shift"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.holiday.id",
+ $ref: "#/parameters/rowFilter.shift.id",
},
{
- $ref: "#/parameters/rowFilter.holiday.name",
+ $ref: "#/parameters/rowFilter.shift.name",
},
{
- $ref: "#/parameters/rowFilter.holiday.date",
+ $ref: "#/parameters/rowFilter.shift.startTime",
},
{
- $ref: "#/parameters/rowFilter.holiday.year",
+ $ref: "#/parameters/rowFilter.shift.endTime",
},
{
- $ref: "#/parameters/rowFilter.holiday.companyId",
+ $ref: "#/parameters/rowFilter.shift.locationId",
},
{
- $ref: "#/parameters/rowFilter.holiday.createdBy",
+ $ref: "#/parameters/rowFilter.shift.sunday",
},
{
- $ref: "#/parameters/rowFilter.holiday.createdAt",
+ $ref: "#/parameters/rowFilter.shift.monday",
},
{
- $ref: "#/parameters/rowFilter.holiday.updatedBy",
+ $ref: "#/parameters/rowFilter.shift.tuesday",
},
{
- $ref: "#/parameters/rowFilter.holiday.updatedAt",
+ $ref: "#/parameters/rowFilter.shift.wednesday",
},
{
- $ref: "#/parameters/rowFilter.holiday.customFields",
+ $ref: "#/parameters/rowFilter.shift.thursday",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shift.friday",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shift.saturday",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shift.active",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shift.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shift.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shift.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shift.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shift.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shift.customFields",
},
{
$ref: "#/parameters/preferReturn",
@@ -2315,42 +2516,69 @@ export default {
description: "No Content",
},
},
- tags: ["holiday"],
+ tags: ["shift"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.holiday.id",
+ $ref: "#/parameters/rowFilter.shift.id",
},
{
- $ref: "#/parameters/rowFilter.holiday.name",
+ $ref: "#/parameters/rowFilter.shift.name",
},
{
- $ref: "#/parameters/rowFilter.holiday.date",
+ $ref: "#/parameters/rowFilter.shift.startTime",
},
{
- $ref: "#/parameters/rowFilter.holiday.year",
+ $ref: "#/parameters/rowFilter.shift.endTime",
},
{
- $ref: "#/parameters/rowFilter.holiday.companyId",
+ $ref: "#/parameters/rowFilter.shift.locationId",
},
{
- $ref: "#/parameters/rowFilter.holiday.createdBy",
+ $ref: "#/parameters/rowFilter.shift.sunday",
},
{
- $ref: "#/parameters/rowFilter.holiday.createdAt",
+ $ref: "#/parameters/rowFilter.shift.monday",
},
{
- $ref: "#/parameters/rowFilter.holiday.updatedBy",
+ $ref: "#/parameters/rowFilter.shift.tuesday",
},
{
- $ref: "#/parameters/rowFilter.holiday.updatedAt",
+ $ref: "#/parameters/rowFilter.shift.wednesday",
},
{
- $ref: "#/parameters/rowFilter.holiday.customFields",
+ $ref: "#/parameters/rowFilter.shift.thursday",
},
{
- $ref: "#/parameters/body.holiday",
+ $ref: "#/parameters/rowFilter.shift.friday",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shift.saturday",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shift.active",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shift.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shift.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shift.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shift.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shift.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shift.customFields",
+ },
+ {
+ $ref: "#/parameters/body.shift",
},
{
$ref: "#/parameters/preferReturn",
@@ -2361,104 +2589,113 @@ export default {
description: "No Content",
},
},
- tags: ["holiday"],
+ tags: ["shift"],
},
},
- "/quotes": {
+ "/documentExtensions": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.quotes.id",
- },
- {
- $ref: "#/parameters/rowFilter.quotes.quoteId",
- },
- {
- $ref: "#/parameters/rowFilter.quotes.revisionId",
+ $ref: "#/parameters/rowFilter.documentExtensions.extension",
},
{
- $ref: "#/parameters/rowFilter.quotes.dueDate",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.quotes.expirationDate",
+ $ref: "#/parameters/order",
},
{
- $ref: "#/parameters/rowFilter.quotes.status",
+ $ref: "#/parameters/range",
},
{
- $ref: "#/parameters/rowFilter.quotes.salesPersonId",
+ $ref: "#/parameters/rangeUnit",
},
{
- $ref: "#/parameters/rowFilter.quotes.estimatorId",
+ $ref: "#/parameters/offset",
},
{
- $ref: "#/parameters/rowFilter.quotes.customerId",
+ $ref: "#/parameters/limit",
},
{
- $ref: "#/parameters/rowFilter.quotes.customerLocationId",
+ $ref: "#/parameters/preferCount",
},
- {
- $ref: "#/parameters/rowFilter.quotes.customerContactId",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/documentExtensions",
+ },
+ type: "array",
+ },
},
- {
- $ref: "#/parameters/rowFilter.quotes.customerReference",
+ "206": {
+ description: "Partial Content",
},
+ },
+ tags: ["documentExtensions"],
+ },
+ },
+ "/receipts": {
+ get: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.quotes.locationId",
+ $ref: "#/parameters/rowFilter.receipts.id",
},
{
- $ref: "#/parameters/rowFilter.quotes.assignee",
+ $ref: "#/parameters/rowFilter.receipts.receiptId",
},
{
- $ref: "#/parameters/rowFilter.quotes.customFields",
+ $ref: "#/parameters/rowFilter.receipts.locationId",
},
{
- $ref: "#/parameters/rowFilter.quotes.companyId",
+ $ref: "#/parameters/rowFilter.receipts.sourceDocument",
},
{
- $ref: "#/parameters/rowFilter.quotes.createdAt",
+ $ref: "#/parameters/rowFilter.receipts.sourceDocumentId",
},
{
- $ref: "#/parameters/rowFilter.quotes.createdBy",
+ $ref: "#/parameters/rowFilter.receipts.sourceDocumentReadableId",
},
{
- $ref: "#/parameters/rowFilter.quotes.updatedAt",
+ $ref: "#/parameters/rowFilter.receipts.externalDocumentId",
},
{
- $ref: "#/parameters/rowFilter.quotes.updatedBy",
+ $ref: "#/parameters/rowFilter.receipts.supplierId",
},
{
- $ref: "#/parameters/rowFilter.quotes.externalNotes",
+ $ref: "#/parameters/rowFilter.receipts.status",
},
{
- $ref: "#/parameters/rowFilter.quotes.internalNotes",
+ $ref: "#/parameters/rowFilter.receipts.postingDate",
},
{
- $ref: "#/parameters/rowFilter.quotes.currencyCode",
+ $ref: "#/parameters/rowFilter.receipts.invoiced",
},
{
- $ref: "#/parameters/rowFilter.quotes.exchangeRate",
+ $ref: "#/parameters/rowFilter.receipts.assignee",
},
{
- $ref: "#/parameters/rowFilter.quotes.exchangeRateUpdatedAt",
+ $ref: "#/parameters/rowFilter.receipts.companyId",
},
{
- $ref: "#/parameters/rowFilter.quotes.locationName",
+ $ref: "#/parameters/rowFilter.receipts.createdAt",
},
{
- $ref: "#/parameters/rowFilter.quotes.lines",
+ $ref: "#/parameters/rowFilter.receipts.createdBy",
},
{
- $ref: "#/parameters/rowFilter.quotes.completedLines",
+ $ref: "#/parameters/rowFilter.receipts.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.quotes.favorite",
+ $ref: "#/parameters/rowFilter.receipts.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.quotes.salesRfqId",
+ $ref: "#/parameters/rowFilter.receipts.customFields",
},
{
- $ref: "#/parameters/rowFilter.quotes.salesOrderId",
+ $ref: "#/parameters/rowFilter.receipts.locationName",
},
{
$ref: "#/parameters/select",
@@ -2487,7 +2724,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/quotes",
+ $ref: "#/definitions/receipts",
},
type: "array",
},
@@ -2496,14 +2733,89 @@ export default {
description: "Partial Content",
},
},
- tags: ["quotes"],
+ tags: ["receipts"],
},
},
- "/documentExtensions": {
+ "/purchaseOrderLocations": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.documentExtensions.extension",
+ $ref: "#/parameters/rowFilter.purchaseOrderLocations.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrderLocations.supplierName",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrderLocations.supplierAddressLine1",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrderLocations.supplierAddressLine2",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrderLocations.supplierCity",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrderLocations.supplierStateProvince",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrderLocations.supplierPostalCode",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrderLocations.supplierCountryCode",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrderLocations.supplierCountryName",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrderLocations.deliveryName",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrderLocations.deliveryAddressLine1",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrderLocations.deliveryAddressLine2",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrderLocations.deliveryCity",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrderLocations.deliveryStateProvince",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrderLocations.deliveryPostalCode",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrderLocations.deliveryCountryCode",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrderLocations.deliveryCountryName",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrderLocations.dropShipment",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrderLocations.customerName",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrderLocations.customerAddressLine1",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrderLocations.customerAddressLine2",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrderLocations.customerCity",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrderLocations.customerStateProvince",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrderLocations.customerPostalCode",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrderLocations.customerCountryCode",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrderLocations.customerCountryName",
},
{
$ref: "#/parameters/select",
@@ -2532,7 +2844,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/documentExtensions",
+ $ref: "#/definitions/purchaseOrderLocations",
},
type: "array",
},
@@ -2541,35 +2853,32 @@ export default {
description: "Partial Content",
},
},
- tags: ["documentExtensions"],
+ tags: ["purchaseOrderLocations"],
},
},
- "/customerPayment": {
+ "/journal": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.customerPayment.customerId",
- },
- {
- $ref: "#/parameters/rowFilter.customerPayment.invoiceCustomerId",
+ $ref: "#/parameters/rowFilter.journal.id",
},
{
- $ref: "#/parameters/rowFilter.customerPayment.invoiceCustomerLocationId",
+ $ref: "#/parameters/rowFilter.journal.description",
},
{
- $ref: "#/parameters/rowFilter.customerPayment.invoiceCustomerContactId",
+ $ref: "#/parameters/rowFilter.journal.accountingPeriodId",
},
{
- $ref: "#/parameters/rowFilter.customerPayment.paymentTermId",
+ $ref: "#/parameters/rowFilter.journal.companyId",
},
{
- $ref: "#/parameters/rowFilter.customerPayment.companyId",
+ $ref: "#/parameters/rowFilter.journal.postingDate",
},
{
- $ref: "#/parameters/rowFilter.customerPayment.updatedAt",
+ $ref: "#/parameters/rowFilter.journal.createdAt",
},
{
- $ref: "#/parameters/rowFilter.customerPayment.updatedBy",
+ $ref: "#/parameters/rowFilter.journal.customFields",
},
{
$ref: "#/parameters/select",
@@ -2598,7 +2907,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/customerPayment",
+ $ref: "#/definitions/journal",
},
type: "array",
},
@@ -2607,12 +2916,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["customerPayment"],
+ tags: ["journal"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.customerPayment",
+ $ref: "#/parameters/body.journal",
},
{
$ref: "#/parameters/select",
@@ -2626,33 +2935,30 @@ export default {
description: "Created",
},
},
- tags: ["customerPayment"],
+ tags: ["journal"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.customerPayment.customerId",
- },
- {
- $ref: "#/parameters/rowFilter.customerPayment.invoiceCustomerId",
+ $ref: "#/parameters/rowFilter.journal.id",
},
{
- $ref: "#/parameters/rowFilter.customerPayment.invoiceCustomerLocationId",
+ $ref: "#/parameters/rowFilter.journal.description",
},
{
- $ref: "#/parameters/rowFilter.customerPayment.invoiceCustomerContactId",
+ $ref: "#/parameters/rowFilter.journal.accountingPeriodId",
},
{
- $ref: "#/parameters/rowFilter.customerPayment.paymentTermId",
+ $ref: "#/parameters/rowFilter.journal.companyId",
},
{
- $ref: "#/parameters/rowFilter.customerPayment.companyId",
+ $ref: "#/parameters/rowFilter.journal.postingDate",
},
{
- $ref: "#/parameters/rowFilter.customerPayment.updatedAt",
+ $ref: "#/parameters/rowFilter.journal.createdAt",
},
{
- $ref: "#/parameters/rowFilter.customerPayment.updatedBy",
+ $ref: "#/parameters/rowFilter.journal.customFields",
},
{
$ref: "#/parameters/preferReturn",
@@ -2663,36 +2969,33 @@ export default {
description: "No Content",
},
},
- tags: ["customerPayment"],
+ tags: ["journal"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.customerPayment.customerId",
- },
- {
- $ref: "#/parameters/rowFilter.customerPayment.invoiceCustomerId",
+ $ref: "#/parameters/rowFilter.journal.id",
},
{
- $ref: "#/parameters/rowFilter.customerPayment.invoiceCustomerLocationId",
+ $ref: "#/parameters/rowFilter.journal.description",
},
{
- $ref: "#/parameters/rowFilter.customerPayment.invoiceCustomerContactId",
+ $ref: "#/parameters/rowFilter.journal.accountingPeriodId",
},
{
- $ref: "#/parameters/rowFilter.customerPayment.paymentTermId",
+ $ref: "#/parameters/rowFilter.journal.companyId",
},
{
- $ref: "#/parameters/rowFilter.customerPayment.companyId",
+ $ref: "#/parameters/rowFilter.journal.postingDate",
},
{
- $ref: "#/parameters/rowFilter.customerPayment.updatedAt",
+ $ref: "#/parameters/rowFilter.journal.createdAt",
},
{
- $ref: "#/parameters/rowFilter.customerPayment.updatedBy",
+ $ref: "#/parameters/rowFilter.journal.customFields",
},
{
- $ref: "#/parameters/body.customerPayment",
+ $ref: "#/parameters/body.journal",
},
{
$ref: "#/parameters/preferReturn",
@@ -2703,44 +3006,20 @@ export default {
description: "No Content",
},
},
- tags: ["customerPayment"],
+ tags: ["journal"],
},
},
- "/postingGroupPurchasing": {
+ "/documentLabel": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.postingGroupPurchasing.id",
- },
- {
- $ref: "#/parameters/rowFilter.postingGroupPurchasing.supplierTypeId",
- },
- {
- $ref: "#/parameters/rowFilter.postingGroupPurchasing.itemPostingGroupId",
- },
- {
- $ref: "#/parameters/rowFilter.postingGroupPurchasing.payablesAccount",
- },
- {
- $ref: "#/parameters/rowFilter.postingGroupPurchasing.purchaseAccount",
- },
- {
- $ref: "#/parameters/rowFilter.postingGroupPurchasing.purchaseDiscountAccount",
- },
- {
- $ref: "#/parameters/rowFilter.postingGroupPurchasing.purchaseCreditAccount",
- },
- {
- $ref: "#/parameters/rowFilter.postingGroupPurchasing.purchasePrepaymentAccount",
- },
- {
- $ref: "#/parameters/rowFilter.postingGroupPurchasing.purchaseTaxPayableAccount",
+ $ref: "#/parameters/rowFilter.documentLabel.documentId",
},
{
- $ref: "#/parameters/rowFilter.postingGroupPurchasing.companyId",
+ $ref: "#/parameters/rowFilter.documentLabel.userId",
},
{
- $ref: "#/parameters/rowFilter.postingGroupPurchasing.updatedBy",
+ $ref: "#/parameters/rowFilter.documentLabel.label",
},
{
$ref: "#/parameters/select",
@@ -2769,7 +3048,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/postingGroupPurchasing",
+ $ref: "#/definitions/documentLabel",
},
type: "array",
},
@@ -2778,12 +3057,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["postingGroupPurchasing"],
+ tags: ["documentLabel"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.postingGroupPurchasing",
+ $ref: "#/parameters/body.documentLabel",
},
{
$ref: "#/parameters/select",
@@ -2797,42 +3076,18 @@ export default {
description: "Created",
},
},
- tags: ["postingGroupPurchasing"],
+ tags: ["documentLabel"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.postingGroupPurchasing.id",
- },
- {
- $ref: "#/parameters/rowFilter.postingGroupPurchasing.supplierTypeId",
- },
- {
- $ref: "#/parameters/rowFilter.postingGroupPurchasing.itemPostingGroupId",
- },
- {
- $ref: "#/parameters/rowFilter.postingGroupPurchasing.payablesAccount",
- },
- {
- $ref: "#/parameters/rowFilter.postingGroupPurchasing.purchaseAccount",
- },
- {
- $ref: "#/parameters/rowFilter.postingGroupPurchasing.purchaseDiscountAccount",
- },
- {
- $ref: "#/parameters/rowFilter.postingGroupPurchasing.purchaseCreditAccount",
- },
- {
- $ref: "#/parameters/rowFilter.postingGroupPurchasing.purchasePrepaymentAccount",
- },
- {
- $ref: "#/parameters/rowFilter.postingGroupPurchasing.purchaseTaxPayableAccount",
+ $ref: "#/parameters/rowFilter.documentLabel.documentId",
},
{
- $ref: "#/parameters/rowFilter.postingGroupPurchasing.companyId",
+ $ref: "#/parameters/rowFilter.documentLabel.userId",
},
{
- $ref: "#/parameters/rowFilter.postingGroupPurchasing.updatedBy",
+ $ref: "#/parameters/rowFilter.documentLabel.label",
},
{
$ref: "#/parameters/preferReturn",
@@ -2843,45 +3098,21 @@ export default {
description: "No Content",
},
},
- tags: ["postingGroupPurchasing"],
+ tags: ["documentLabel"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.postingGroupPurchasing.id",
- },
- {
- $ref: "#/parameters/rowFilter.postingGroupPurchasing.supplierTypeId",
- },
- {
- $ref: "#/parameters/rowFilter.postingGroupPurchasing.itemPostingGroupId",
- },
- {
- $ref: "#/parameters/rowFilter.postingGroupPurchasing.payablesAccount",
- },
- {
- $ref: "#/parameters/rowFilter.postingGroupPurchasing.purchaseAccount",
- },
- {
- $ref: "#/parameters/rowFilter.postingGroupPurchasing.purchaseDiscountAccount",
- },
- {
- $ref: "#/parameters/rowFilter.postingGroupPurchasing.purchaseCreditAccount",
- },
- {
- $ref: "#/parameters/rowFilter.postingGroupPurchasing.purchasePrepaymentAccount",
- },
- {
- $ref: "#/parameters/rowFilter.postingGroupPurchasing.purchaseTaxPayableAccount",
+ $ref: "#/parameters/rowFilter.documentLabel.documentId",
},
{
- $ref: "#/parameters/rowFilter.postingGroupPurchasing.companyId",
+ $ref: "#/parameters/rowFilter.documentLabel.userId",
},
{
- $ref: "#/parameters/rowFilter.postingGroupPurchasing.updatedBy",
+ $ref: "#/parameters/rowFilter.documentLabel.label",
},
{
- $ref: "#/parameters/body.postingGroupPurchasing",
+ $ref: "#/parameters/body.documentLabel",
},
{
$ref: "#/parameters/preferReturn",
@@ -2892,38 +3123,50 @@ export default {
description: "No Content",
},
},
- tags: ["postingGroupPurchasing"],
+ tags: ["documentLabel"],
},
},
- "/accountSubcategory": {
+ "/productionQuantity": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.accountSubcategory.id",
+ $ref: "#/parameters/rowFilter.productionQuantity.id",
},
{
- $ref: "#/parameters/rowFilter.accountSubcategory.name",
+ $ref: "#/parameters/rowFilter.productionQuantity.jobOperationId",
},
{
- $ref: "#/parameters/rowFilter.accountSubcategory.accountCategoryId",
+ $ref: "#/parameters/rowFilter.productionQuantity.type",
},
{
- $ref: "#/parameters/rowFilter.accountSubcategory.active",
+ $ref: "#/parameters/rowFilter.productionQuantity.quantity",
},
{
- $ref: "#/parameters/rowFilter.accountSubcategory.createdBy",
+ $ref: "#/parameters/rowFilter.productionQuantity.setupProductionEventId",
},
{
- $ref: "#/parameters/rowFilter.accountSubcategory.createdAt",
+ $ref: "#/parameters/rowFilter.productionQuantity.laborProductionEventId",
},
{
- $ref: "#/parameters/rowFilter.accountSubcategory.updatedBy",
+ $ref: "#/parameters/rowFilter.productionQuantity.machineProductionEventId",
},
{
- $ref: "#/parameters/rowFilter.accountSubcategory.updatedAt",
+ $ref: "#/parameters/rowFilter.productionQuantity.scrapReason",
},
{
- $ref: "#/parameters/rowFilter.accountSubcategory.customFields",
+ $ref: "#/parameters/rowFilter.productionQuantity.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionQuantity.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionQuantity.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionQuantity.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionQuantity.updatedBy",
},
{
$ref: "#/parameters/select",
@@ -2952,7 +3195,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/accountSubcategory",
+ $ref: "#/definitions/productionQuantity",
},
type: "array",
},
@@ -2961,12 +3204,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["accountSubcategory"],
+ tags: ["productionQuantity"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.accountSubcategory",
+ $ref: "#/parameters/body.productionQuantity",
},
{
$ref: "#/parameters/select",
@@ -2980,36 +3223,48 @@ export default {
description: "Created",
},
},
- tags: ["accountSubcategory"],
+ tags: ["productionQuantity"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.accountSubcategory.id",
+ $ref: "#/parameters/rowFilter.productionQuantity.id",
},
{
- $ref: "#/parameters/rowFilter.accountSubcategory.name",
+ $ref: "#/parameters/rowFilter.productionQuantity.jobOperationId",
},
{
- $ref: "#/parameters/rowFilter.accountSubcategory.accountCategoryId",
+ $ref: "#/parameters/rowFilter.productionQuantity.type",
},
{
- $ref: "#/parameters/rowFilter.accountSubcategory.active",
+ $ref: "#/parameters/rowFilter.productionQuantity.quantity",
},
{
- $ref: "#/parameters/rowFilter.accountSubcategory.createdBy",
+ $ref: "#/parameters/rowFilter.productionQuantity.setupProductionEventId",
},
{
- $ref: "#/parameters/rowFilter.accountSubcategory.createdAt",
+ $ref: "#/parameters/rowFilter.productionQuantity.laborProductionEventId",
},
{
- $ref: "#/parameters/rowFilter.accountSubcategory.updatedBy",
+ $ref: "#/parameters/rowFilter.productionQuantity.machineProductionEventId",
},
{
- $ref: "#/parameters/rowFilter.accountSubcategory.updatedAt",
+ $ref: "#/parameters/rowFilter.productionQuantity.scrapReason",
},
{
- $ref: "#/parameters/rowFilter.accountSubcategory.customFields",
+ $ref: "#/parameters/rowFilter.productionQuantity.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionQuantity.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionQuantity.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionQuantity.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionQuantity.updatedBy",
},
{
$ref: "#/parameters/preferReturn",
@@ -3020,39 +3275,51 @@ export default {
description: "No Content",
},
},
- tags: ["accountSubcategory"],
+ tags: ["productionQuantity"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.accountSubcategory.id",
+ $ref: "#/parameters/rowFilter.productionQuantity.id",
},
{
- $ref: "#/parameters/rowFilter.accountSubcategory.name",
+ $ref: "#/parameters/rowFilter.productionQuantity.jobOperationId",
},
{
- $ref: "#/parameters/rowFilter.accountSubcategory.accountCategoryId",
+ $ref: "#/parameters/rowFilter.productionQuantity.type",
},
{
- $ref: "#/parameters/rowFilter.accountSubcategory.active",
+ $ref: "#/parameters/rowFilter.productionQuantity.quantity",
},
{
- $ref: "#/parameters/rowFilter.accountSubcategory.createdBy",
+ $ref: "#/parameters/rowFilter.productionQuantity.setupProductionEventId",
},
{
- $ref: "#/parameters/rowFilter.accountSubcategory.createdAt",
+ $ref: "#/parameters/rowFilter.productionQuantity.laborProductionEventId",
},
{
- $ref: "#/parameters/rowFilter.accountSubcategory.updatedBy",
+ $ref: "#/parameters/rowFilter.productionQuantity.machineProductionEventId",
},
{
- $ref: "#/parameters/rowFilter.accountSubcategory.updatedAt",
+ $ref: "#/parameters/rowFilter.productionQuantity.scrapReason",
},
{
- $ref: "#/parameters/rowFilter.accountSubcategory.customFields",
+ $ref: "#/parameters/rowFilter.productionQuantity.companyId",
},
{
- $ref: "#/parameters/body.accountSubcategory",
+ $ref: "#/parameters/rowFilter.productionQuantity.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionQuantity.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionQuantity.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionQuantity.updatedBy",
+ },
+ {
+ $ref: "#/parameters/body.productionQuantity",
},
{
$ref: "#/parameters/preferReturn",
@@ -3063,59 +3330,65 @@ export default {
description: "No Content",
},
},
- tags: ["accountSubcategory"],
+ tags: ["productionQuantity"],
},
},
- "/material": {
+ "/receipt": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.material.id",
+ $ref: "#/parameters/rowFilter.receipt.id",
},
{
- $ref: "#/parameters/rowFilter.material.itemId",
+ $ref: "#/parameters/rowFilter.receipt.receiptId",
},
{
- $ref: "#/parameters/rowFilter.material.materialFormId",
+ $ref: "#/parameters/rowFilter.receipt.locationId",
},
{
- $ref: "#/parameters/rowFilter.material.materialSubstanceId",
+ $ref: "#/parameters/rowFilter.receipt.sourceDocument",
},
{
- $ref: "#/parameters/rowFilter.material.grade",
+ $ref: "#/parameters/rowFilter.receipt.sourceDocumentId",
},
{
- $ref: "#/parameters/rowFilter.material.dimensions",
+ $ref: "#/parameters/rowFilter.receipt.sourceDocumentReadableId",
},
{
- $ref: "#/parameters/rowFilter.material.finish",
+ $ref: "#/parameters/rowFilter.receipt.externalDocumentId",
},
{
- $ref: "#/parameters/rowFilter.material.approved",
+ $ref: "#/parameters/rowFilter.receipt.supplierId",
},
{
- $ref: "#/parameters/rowFilter.material.approvedBy",
+ $ref: "#/parameters/rowFilter.receipt.status",
},
{
- $ref: "#/parameters/rowFilter.material.customFields",
+ $ref: "#/parameters/rowFilter.receipt.postingDate",
},
{
- $ref: "#/parameters/rowFilter.material.companyId",
+ $ref: "#/parameters/rowFilter.receipt.invoiced",
},
{
- $ref: "#/parameters/rowFilter.material.createdBy",
+ $ref: "#/parameters/rowFilter.receipt.assignee",
},
{
- $ref: "#/parameters/rowFilter.material.createdAt",
+ $ref: "#/parameters/rowFilter.receipt.companyId",
},
{
- $ref: "#/parameters/rowFilter.material.updatedBy",
+ $ref: "#/parameters/rowFilter.receipt.createdAt",
},
{
- $ref: "#/parameters/rowFilter.material.updatedAt",
+ $ref: "#/parameters/rowFilter.receipt.createdBy",
},
{
- $ref: "#/parameters/rowFilter.material.externalId",
+ $ref: "#/parameters/rowFilter.receipt.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.receipt.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.receipt.customFields",
},
{
$ref: "#/parameters/select",
@@ -3144,7 +3417,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/material",
+ $ref: "#/definitions/receipt",
},
type: "array",
},
@@ -3153,12 +3426,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["material"],
+ tags: ["receipt"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.material",
+ $ref: "#/parameters/body.receipt",
},
{
$ref: "#/parameters/select",
@@ -3172,57 +3445,63 @@ export default {
description: "Created",
},
},
- tags: ["material"],
+ tags: ["receipt"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.material.id",
+ $ref: "#/parameters/rowFilter.receipt.id",
},
{
- $ref: "#/parameters/rowFilter.material.itemId",
+ $ref: "#/parameters/rowFilter.receipt.receiptId",
},
{
- $ref: "#/parameters/rowFilter.material.materialFormId",
+ $ref: "#/parameters/rowFilter.receipt.locationId",
},
{
- $ref: "#/parameters/rowFilter.material.materialSubstanceId",
+ $ref: "#/parameters/rowFilter.receipt.sourceDocument",
},
{
- $ref: "#/parameters/rowFilter.material.grade",
+ $ref: "#/parameters/rowFilter.receipt.sourceDocumentId",
},
{
- $ref: "#/parameters/rowFilter.material.dimensions",
+ $ref: "#/parameters/rowFilter.receipt.sourceDocumentReadableId",
},
{
- $ref: "#/parameters/rowFilter.material.finish",
+ $ref: "#/parameters/rowFilter.receipt.externalDocumentId",
},
{
- $ref: "#/parameters/rowFilter.material.approved",
+ $ref: "#/parameters/rowFilter.receipt.supplierId",
},
{
- $ref: "#/parameters/rowFilter.material.approvedBy",
+ $ref: "#/parameters/rowFilter.receipt.status",
},
{
- $ref: "#/parameters/rowFilter.material.customFields",
+ $ref: "#/parameters/rowFilter.receipt.postingDate",
},
{
- $ref: "#/parameters/rowFilter.material.companyId",
+ $ref: "#/parameters/rowFilter.receipt.invoiced",
},
{
- $ref: "#/parameters/rowFilter.material.createdBy",
+ $ref: "#/parameters/rowFilter.receipt.assignee",
},
{
- $ref: "#/parameters/rowFilter.material.createdAt",
+ $ref: "#/parameters/rowFilter.receipt.companyId",
},
{
- $ref: "#/parameters/rowFilter.material.updatedBy",
+ $ref: "#/parameters/rowFilter.receipt.createdAt",
},
{
- $ref: "#/parameters/rowFilter.material.updatedAt",
+ $ref: "#/parameters/rowFilter.receipt.createdBy",
},
{
- $ref: "#/parameters/rowFilter.material.externalId",
+ $ref: "#/parameters/rowFilter.receipt.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.receipt.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.receipt.customFields",
},
{
$ref: "#/parameters/preferReturn",
@@ -3233,60 +3512,66 @@ export default {
description: "No Content",
},
},
- tags: ["material"],
+ tags: ["receipt"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.material.id",
+ $ref: "#/parameters/rowFilter.receipt.id",
},
{
- $ref: "#/parameters/rowFilter.material.itemId",
+ $ref: "#/parameters/rowFilter.receipt.receiptId",
},
{
- $ref: "#/parameters/rowFilter.material.materialFormId",
+ $ref: "#/parameters/rowFilter.receipt.locationId",
},
{
- $ref: "#/parameters/rowFilter.material.materialSubstanceId",
+ $ref: "#/parameters/rowFilter.receipt.sourceDocument",
},
{
- $ref: "#/parameters/rowFilter.material.grade",
+ $ref: "#/parameters/rowFilter.receipt.sourceDocumentId",
},
{
- $ref: "#/parameters/rowFilter.material.dimensions",
+ $ref: "#/parameters/rowFilter.receipt.sourceDocumentReadableId",
},
{
- $ref: "#/parameters/rowFilter.material.finish",
+ $ref: "#/parameters/rowFilter.receipt.externalDocumentId",
},
{
- $ref: "#/parameters/rowFilter.material.approved",
+ $ref: "#/parameters/rowFilter.receipt.supplierId",
},
{
- $ref: "#/parameters/rowFilter.material.approvedBy",
+ $ref: "#/parameters/rowFilter.receipt.status",
},
{
- $ref: "#/parameters/rowFilter.material.customFields",
+ $ref: "#/parameters/rowFilter.receipt.postingDate",
},
{
- $ref: "#/parameters/rowFilter.material.companyId",
+ $ref: "#/parameters/rowFilter.receipt.invoiced",
},
{
- $ref: "#/parameters/rowFilter.material.createdBy",
+ $ref: "#/parameters/rowFilter.receipt.assignee",
},
{
- $ref: "#/parameters/rowFilter.material.createdAt",
+ $ref: "#/parameters/rowFilter.receipt.companyId",
},
{
- $ref: "#/parameters/rowFilter.material.updatedBy",
+ $ref: "#/parameters/rowFilter.receipt.createdAt",
},
{
- $ref: "#/parameters/rowFilter.material.updatedAt",
+ $ref: "#/parameters/rowFilter.receipt.createdBy",
},
{
- $ref: "#/parameters/rowFilter.material.externalId",
+ $ref: "#/parameters/rowFilter.receipt.updatedAt",
},
{
- $ref: "#/parameters/body.material",
+ $ref: "#/parameters/rowFilter.receipt.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.receipt.customFields",
+ },
+ {
+ $ref: "#/parameters/body.receipt",
},
{
$ref: "#/parameters/preferReturn",
@@ -3297,38 +3582,101 @@ export default {
description: "No Content",
},
},
- tags: ["material"],
+ tags: ["receipt"],
},
},
- "/supplierPayment": {
+ "/quoteOperation": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.supplierPayment.supplierId",
+ $ref: "#/parameters/rowFilter.quoteOperation.id",
},
{
- $ref: "#/parameters/rowFilter.supplierPayment.invoiceSupplierId",
+ $ref: "#/parameters/rowFilter.quoteOperation.quoteId",
},
{
- $ref: "#/parameters/rowFilter.supplierPayment.invoiceSupplierLocationId",
+ $ref: "#/parameters/rowFilter.quoteOperation.quoteLineId",
},
{
- $ref: "#/parameters/rowFilter.supplierPayment.invoiceSupplierContactId",
+ $ref: "#/parameters/rowFilter.quoteOperation.quoteMakeMethodId",
},
{
- $ref: "#/parameters/rowFilter.supplierPayment.paymentTermId",
+ $ref: "#/parameters/rowFilter.quoteOperation.order",
},
{
- $ref: "#/parameters/rowFilter.supplierPayment.companyId",
+ $ref: "#/parameters/rowFilter.quoteOperation.description",
},
{
- $ref: "#/parameters/rowFilter.supplierPayment.updatedAt",
+ $ref: "#/parameters/rowFilter.quoteOperation.operationOrder",
},
{
- $ref: "#/parameters/rowFilter.supplierPayment.updatedBy",
+ $ref: "#/parameters/rowFilter.quoteOperation.laborRate",
},
{
- $ref: "#/parameters/rowFilter.supplierPayment.customFields",
+ $ref: "#/parameters/rowFilter.quoteOperation.overheadRate",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteOperation.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteOperation.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteOperation.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteOperation.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteOperation.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteOperation.customFields",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteOperation.processId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteOperation.workCenterId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteOperation.setupTime",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteOperation.setupUnit",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteOperation.laborTime",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteOperation.laborUnit",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteOperation.machineTime",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteOperation.machineUnit",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteOperation.machineRate",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteOperation.operationType",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteOperation.operationMinimumCost",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteOperation.operationLeadTime",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteOperation.operationUnitCost",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteOperation.operationSupplierProcessId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteOperation.workInstruction",
},
{
$ref: "#/parameters/select",
@@ -3357,7 +3705,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/supplierPayment",
+ $ref: "#/definitions/quoteOperation",
},
type: "array",
},
@@ -3366,12 +3714,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["supplierPayment"],
+ tags: ["quoteOperation"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.supplierPayment",
+ $ref: "#/parameters/body.quoteOperation",
},
{
$ref: "#/parameters/select",
@@ -3385,259 +3733,253 @@ export default {
description: "Created",
},
},
- tags: ["supplierPayment"],
+ tags: ["quoteOperation"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.supplierPayment.supplierId",
+ $ref: "#/parameters/rowFilter.quoteOperation.id",
},
{
- $ref: "#/parameters/rowFilter.supplierPayment.invoiceSupplierId",
+ $ref: "#/parameters/rowFilter.quoteOperation.quoteId",
},
{
- $ref: "#/parameters/rowFilter.supplierPayment.invoiceSupplierLocationId",
+ $ref: "#/parameters/rowFilter.quoteOperation.quoteLineId",
},
{
- $ref: "#/parameters/rowFilter.supplierPayment.invoiceSupplierContactId",
+ $ref: "#/parameters/rowFilter.quoteOperation.quoteMakeMethodId",
},
{
- $ref: "#/parameters/rowFilter.supplierPayment.paymentTermId",
+ $ref: "#/parameters/rowFilter.quoteOperation.order",
},
{
- $ref: "#/parameters/rowFilter.supplierPayment.companyId",
+ $ref: "#/parameters/rowFilter.quoteOperation.description",
},
{
- $ref: "#/parameters/rowFilter.supplierPayment.updatedAt",
+ $ref: "#/parameters/rowFilter.quoteOperation.operationOrder",
},
{
- $ref: "#/parameters/rowFilter.supplierPayment.updatedBy",
+ $ref: "#/parameters/rowFilter.quoteOperation.laborRate",
},
{
- $ref: "#/parameters/rowFilter.supplierPayment.customFields",
+ $ref: "#/parameters/rowFilter.quoteOperation.overheadRate",
},
{
- $ref: "#/parameters/preferReturn",
- },
- ],
- responses: {
- "204": {
- description: "No Content",
+ $ref: "#/parameters/rowFilter.quoteOperation.companyId",
},
- },
- tags: ["supplierPayment"],
- },
- patch: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.supplierPayment.supplierId",
+ $ref: "#/parameters/rowFilter.quoteOperation.createdAt",
},
{
- $ref: "#/parameters/rowFilter.supplierPayment.invoiceSupplierId",
+ $ref: "#/parameters/rowFilter.quoteOperation.createdBy",
},
{
- $ref: "#/parameters/rowFilter.supplierPayment.invoiceSupplierLocationId",
+ $ref: "#/parameters/rowFilter.quoteOperation.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.supplierPayment.invoiceSupplierContactId",
+ $ref: "#/parameters/rowFilter.quoteOperation.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.supplierPayment.paymentTermId",
+ $ref: "#/parameters/rowFilter.quoteOperation.customFields",
},
{
- $ref: "#/parameters/rowFilter.supplierPayment.companyId",
+ $ref: "#/parameters/rowFilter.quoteOperation.processId",
},
{
- $ref: "#/parameters/rowFilter.supplierPayment.updatedAt",
+ $ref: "#/parameters/rowFilter.quoteOperation.workCenterId",
},
{
- $ref: "#/parameters/rowFilter.supplierPayment.updatedBy",
+ $ref: "#/parameters/rowFilter.quoteOperation.setupTime",
},
{
- $ref: "#/parameters/rowFilter.supplierPayment.customFields",
+ $ref: "#/parameters/rowFilter.quoteOperation.setupUnit",
},
{
- $ref: "#/parameters/body.supplierPayment",
+ $ref: "#/parameters/rowFilter.quoteOperation.laborTime",
},
{
- $ref: "#/parameters/preferReturn",
- },
- ],
- responses: {
- "204": {
- description: "No Content",
+ $ref: "#/parameters/rowFilter.quoteOperation.laborUnit",
},
- },
- tags: ["supplierPayment"],
- },
- },
- "/currencyCode": {
- get: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.currencyCode.code",
+ $ref: "#/parameters/rowFilter.quoteOperation.machineTime",
},
{
- $ref: "#/parameters/rowFilter.currencyCode.name",
+ $ref: "#/parameters/rowFilter.quoteOperation.machineUnit",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.quoteOperation.machineRate",
},
{
- $ref: "#/parameters/order",
+ $ref: "#/parameters/rowFilter.quoteOperation.operationType",
},
{
- $ref: "#/parameters/range",
+ $ref: "#/parameters/rowFilter.quoteOperation.operationMinimumCost",
},
{
- $ref: "#/parameters/rangeUnit",
+ $ref: "#/parameters/rowFilter.quoteOperation.operationLeadTime",
},
{
- $ref: "#/parameters/offset",
+ $ref: "#/parameters/rowFilter.quoteOperation.operationUnitCost",
},
{
- $ref: "#/parameters/limit",
+ $ref: "#/parameters/rowFilter.quoteOperation.operationSupplierProcessId",
},
{
- $ref: "#/parameters/preferCount",
+ $ref: "#/parameters/rowFilter.quoteOperation.workInstruction",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
},
],
responses: {
- "200": {
- description: "OK",
- schema: {
- items: {
- $ref: "#/definitions/currencyCode",
- },
- type: "array",
- },
- },
- "206": {
- description: "Partial Content",
+ "204": {
+ description: "No Content",
},
},
- tags: ["currencyCode"],
+ tags: ["quoteOperation"],
},
- post: {
+ patch: {
parameters: [
{
- $ref: "#/parameters/body.currencyCode",
+ $ref: "#/parameters/rowFilter.quoteOperation.id",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.quoteOperation.quoteId",
},
{
- $ref: "#/parameters/preferPost",
+ $ref: "#/parameters/rowFilter.quoteOperation.quoteLineId",
},
- ],
- responses: {
- "201": {
- description: "Created",
+ {
+ $ref: "#/parameters/rowFilter.quoteOperation.quoteMakeMethodId",
},
- },
- tags: ["currencyCode"],
- },
- delete: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.currencyCode.code",
+ $ref: "#/parameters/rowFilter.quoteOperation.order",
},
{
- $ref: "#/parameters/rowFilter.currencyCode.name",
+ $ref: "#/parameters/rowFilter.quoteOperation.description",
},
{
- $ref: "#/parameters/preferReturn",
+ $ref: "#/parameters/rowFilter.quoteOperation.operationOrder",
},
- ],
- responses: {
- "204": {
- description: "No Content",
+ {
+ $ref: "#/parameters/rowFilter.quoteOperation.laborRate",
},
- },
- tags: ["currencyCode"],
- },
- patch: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.currencyCode.code",
+ $ref: "#/parameters/rowFilter.quoteOperation.overheadRate",
},
{
- $ref: "#/parameters/rowFilter.currencyCode.name",
+ $ref: "#/parameters/rowFilter.quoteOperation.companyId",
},
{
- $ref: "#/parameters/body.currencyCode",
+ $ref: "#/parameters/rowFilter.quoteOperation.createdAt",
},
{
- $ref: "#/parameters/preferReturn",
+ $ref: "#/parameters/rowFilter.quoteOperation.createdBy",
},
- ],
- responses: {
- "204": {
- description: "No Content",
+ {
+ $ref: "#/parameters/rowFilter.quoteOperation.updatedAt",
},
- },
- tags: ["currencyCode"],
- },
- },
- "/methodMaterial": {
- get: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.methodMaterial.id",
+ $ref: "#/parameters/rowFilter.quoteOperation.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.methodMaterial.makeMethodId",
+ $ref: "#/parameters/rowFilter.quoteOperation.customFields",
},
{
- $ref: "#/parameters/rowFilter.methodMaterial.methodType",
+ $ref: "#/parameters/rowFilter.quoteOperation.processId",
},
{
- $ref: "#/parameters/rowFilter.methodMaterial.materialMakeMethodId",
+ $ref: "#/parameters/rowFilter.quoteOperation.workCenterId",
},
{
- $ref: "#/parameters/rowFilter.methodMaterial.itemType",
+ $ref: "#/parameters/rowFilter.quoteOperation.setupTime",
},
{
- $ref: "#/parameters/rowFilter.methodMaterial.itemId",
+ $ref: "#/parameters/rowFilter.quoteOperation.setupUnit",
},
{
- $ref: "#/parameters/rowFilter.methodMaterial.quantity",
+ $ref: "#/parameters/rowFilter.quoteOperation.laborTime",
},
{
- $ref: "#/parameters/rowFilter.methodMaterial.unitOfMeasureCode",
+ $ref: "#/parameters/rowFilter.quoteOperation.laborUnit",
},
{
- $ref: "#/parameters/rowFilter.methodMaterial.companyId",
+ $ref: "#/parameters/rowFilter.quoteOperation.machineTime",
},
{
- $ref: "#/parameters/rowFilter.methodMaterial.createdAt",
+ $ref: "#/parameters/rowFilter.quoteOperation.machineUnit",
},
{
- $ref: "#/parameters/rowFilter.methodMaterial.createdBy",
+ $ref: "#/parameters/rowFilter.quoteOperation.machineRate",
},
{
- $ref: "#/parameters/rowFilter.methodMaterial.updatedAt",
+ $ref: "#/parameters/rowFilter.quoteOperation.operationType",
},
{
- $ref: "#/parameters/rowFilter.methodMaterial.updatedBy",
+ $ref: "#/parameters/rowFilter.quoteOperation.operationMinimumCost",
},
{
- $ref: "#/parameters/rowFilter.methodMaterial.customFields",
+ $ref: "#/parameters/rowFilter.quoteOperation.operationLeadTime",
},
{
- $ref: "#/parameters/rowFilter.methodMaterial.itemReadableId",
+ $ref: "#/parameters/rowFilter.quoteOperation.operationUnitCost",
},
{
- $ref: "#/parameters/rowFilter.methodMaterial.order",
+ $ref: "#/parameters/rowFilter.quoteOperation.operationSupplierProcessId",
},
{
- $ref: "#/parameters/rowFilter.methodMaterial.methodOperationId",
+ $ref: "#/parameters/rowFilter.quoteOperation.workInstruction",
},
{
- $ref: "#/parameters/rowFilter.methodMaterial.scrapQuantity",
+ $ref: "#/parameters/body.quoteOperation",
},
{
- $ref: "#/parameters/rowFilter.methodMaterial.productionQuantity",
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
+ },
+ },
+ tags: ["quoteOperation"],
+ },
+ },
+ "/postingGroupPurchasing": {
+ get: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.supplierTypeId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.itemPostingGroupId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.payablesAccount",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.purchaseAccount",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.purchaseDiscountAccount",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.purchaseCreditAccount",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.purchasePrepaymentAccount",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.purchaseTaxPayableAccount",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.updatedBy",
},
{
$ref: "#/parameters/select",
@@ -3666,7 +4008,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/methodMaterial",
+ $ref: "#/definitions/postingGroupPurchasing",
},
type: "array",
},
@@ -3675,12 +4017,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["methodMaterial"],
+ tags: ["postingGroupPurchasing"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.methodMaterial",
+ $ref: "#/parameters/body.postingGroupPurchasing",
},
{
$ref: "#/parameters/select",
@@ -3694,66 +4036,91 @@ export default {
description: "Created",
},
},
- tags: ["methodMaterial"],
+ tags: ["postingGroupPurchasing"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.methodMaterial.id",
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.id",
},
{
- $ref: "#/parameters/rowFilter.methodMaterial.makeMethodId",
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.supplierTypeId",
},
{
- $ref: "#/parameters/rowFilter.methodMaterial.methodType",
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.itemPostingGroupId",
},
{
- $ref: "#/parameters/rowFilter.methodMaterial.materialMakeMethodId",
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.payablesAccount",
},
{
- $ref: "#/parameters/rowFilter.methodMaterial.itemType",
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.purchaseAccount",
},
{
- $ref: "#/parameters/rowFilter.methodMaterial.itemId",
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.purchaseDiscountAccount",
},
{
- $ref: "#/parameters/rowFilter.methodMaterial.quantity",
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.purchaseCreditAccount",
},
{
- $ref: "#/parameters/rowFilter.methodMaterial.unitOfMeasureCode",
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.purchasePrepaymentAccount",
},
{
- $ref: "#/parameters/rowFilter.methodMaterial.companyId",
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.purchaseTaxPayableAccount",
},
{
- $ref: "#/parameters/rowFilter.methodMaterial.createdAt",
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.companyId",
},
{
- $ref: "#/parameters/rowFilter.methodMaterial.createdBy",
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.methodMaterial.updatedAt",
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
},
+ },
+ tags: ["postingGroupPurchasing"],
+ },
+ patch: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.methodMaterial.updatedBy",
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.id",
},
{
- $ref: "#/parameters/rowFilter.methodMaterial.customFields",
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.supplierTypeId",
},
{
- $ref: "#/parameters/rowFilter.methodMaterial.itemReadableId",
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.itemPostingGroupId",
},
{
- $ref: "#/parameters/rowFilter.methodMaterial.order",
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.payablesAccount",
},
{
- $ref: "#/parameters/rowFilter.methodMaterial.methodOperationId",
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.purchaseAccount",
},
{
- $ref: "#/parameters/rowFilter.methodMaterial.scrapQuantity",
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.purchaseDiscountAccount",
},
{
- $ref: "#/parameters/rowFilter.methodMaterial.productionQuantity",
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.purchaseCreditAccount",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.purchasePrepaymentAccount",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.purchaseTaxPayableAccount",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.updatedBy",
+ },
+ {
+ $ref: "#/parameters/body.postingGroupPurchasing",
},
{
$ref: "#/parameters/preferReturn",
@@ -3764,120 +4131,167 @@ export default {
description: "No Content",
},
},
- tags: ["methodMaterial"],
+ tags: ["postingGroupPurchasing"],
},
- patch: {
+ },
+ "/partners": {
+ get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.methodMaterial.id",
+ $ref: "#/parameters/rowFilter.partners.id",
},
{
- $ref: "#/parameters/rowFilter.methodMaterial.makeMethodId",
+ $ref: "#/parameters/rowFilter.partners.hoursPerWeek",
},
{
- $ref: "#/parameters/rowFilter.methodMaterial.methodType",
+ $ref: "#/parameters/rowFilter.partners.abilityId",
},
{
- $ref: "#/parameters/rowFilter.methodMaterial.materialMakeMethodId",
+ $ref: "#/parameters/rowFilter.partners.active",
},
{
- $ref: "#/parameters/rowFilter.methodMaterial.itemType",
+ $ref: "#/parameters/rowFilter.partners.companyId",
},
{
- $ref: "#/parameters/rowFilter.methodMaterial.itemId",
+ $ref: "#/parameters/rowFilter.partners.createdBy",
},
{
- $ref: "#/parameters/rowFilter.methodMaterial.quantity",
+ $ref: "#/parameters/rowFilter.partners.createdAt",
},
{
- $ref: "#/parameters/rowFilter.methodMaterial.unitOfMeasureCode",
+ $ref: "#/parameters/rowFilter.partners.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.methodMaterial.companyId",
+ $ref: "#/parameters/rowFilter.partners.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.methodMaterial.createdAt",
+ $ref: "#/parameters/rowFilter.partners.customFields",
},
{
- $ref: "#/parameters/rowFilter.methodMaterial.createdBy",
+ $ref: "#/parameters/rowFilter.partners.supplierLocationId",
},
{
- $ref: "#/parameters/rowFilter.methodMaterial.updatedAt",
+ $ref: "#/parameters/rowFilter.partners.abilityName",
},
{
- $ref: "#/parameters/rowFilter.methodMaterial.updatedBy",
+ $ref: "#/parameters/rowFilter.partners.supplierId",
},
{
- $ref: "#/parameters/rowFilter.methodMaterial.customFields",
+ $ref: "#/parameters/rowFilter.partners.supplierName",
},
{
- $ref: "#/parameters/rowFilter.methodMaterial.itemReadableId",
+ $ref: "#/parameters/rowFilter.partners.city",
},
{
- $ref: "#/parameters/rowFilter.methodMaterial.order",
+ $ref: "#/parameters/rowFilter.partners.state",
},
{
- $ref: "#/parameters/rowFilter.methodMaterial.methodOperationId",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.methodMaterial.scrapQuantity",
+ $ref: "#/parameters/order",
},
{
- $ref: "#/parameters/rowFilter.methodMaterial.productionQuantity",
+ $ref: "#/parameters/range",
},
{
- $ref: "#/parameters/body.methodMaterial",
+ $ref: "#/parameters/rangeUnit",
},
{
- $ref: "#/parameters/preferReturn",
+ $ref: "#/parameters/offset",
+ },
+ {
+ $ref: "#/parameters/limit",
+ },
+ {
+ $ref: "#/parameters/preferCount",
},
],
responses: {
- "204": {
- description: "No Content",
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/partners",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
},
},
- tags: ["methodMaterial"],
+ tags: ["partners"],
},
},
- "/processes": {
+ "/jobMaterialWithMakeMethodId": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.processes.id",
+ $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.id",
},
{
- $ref: "#/parameters/rowFilter.processes.name",
+ $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.jobId",
},
{
- $ref: "#/parameters/rowFilter.processes.defaultStandardFactor",
+ $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.itemId",
},
{
- $ref: "#/parameters/rowFilter.processes.companyId",
+ $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.itemReadableId",
},
{
- $ref: "#/parameters/rowFilter.processes.customFields",
+ $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.itemType",
},
{
- $ref: "#/parameters/rowFilter.processes.createdBy",
+ $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.methodType",
},
{
- $ref: "#/parameters/rowFilter.processes.createdAt",
+ $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.order",
},
{
- $ref: "#/parameters/rowFilter.processes.updatedBy",
+ $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.description",
},
{
- $ref: "#/parameters/rowFilter.processes.updatedAt",
+ $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.quantity",
},
{
- $ref: "#/parameters/rowFilter.processes.processType",
+ $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.scrapQuantity",
},
{
- $ref: "#/parameters/rowFilter.processes.workCenters",
+ $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.unitOfMeasureCode",
},
{
- $ref: "#/parameters/rowFilter.processes.suppliers",
+ $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.unitCost",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.customFields",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.jobMakeMethodId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.jobOperationId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.estimatedQuantity",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.jobMaterialMakeMethodId",
},
{
$ref: "#/parameters/select",
@@ -3906,7 +4320,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/processes",
+ $ref: "#/definitions/jobMaterialWithMakeMethodId",
},
type: "array",
},
@@ -3915,41 +4329,17 @@ export default {
description: "Partial Content",
},
},
- tags: ["processes"],
+ tags: ["jobMaterialWithMakeMethodId"],
},
},
- "/process": {
+ "/currencyCode": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.process.id",
- },
- {
- $ref: "#/parameters/rowFilter.process.name",
- },
- {
- $ref: "#/parameters/rowFilter.process.defaultStandardFactor",
- },
- {
- $ref: "#/parameters/rowFilter.process.companyId",
- },
- {
- $ref: "#/parameters/rowFilter.process.customFields",
- },
- {
- $ref: "#/parameters/rowFilter.process.createdBy",
- },
- {
- $ref: "#/parameters/rowFilter.process.createdAt",
- },
- {
- $ref: "#/parameters/rowFilter.process.updatedBy",
- },
- {
- $ref: "#/parameters/rowFilter.process.updatedAt",
+ $ref: "#/parameters/rowFilter.currencyCode.code",
},
{
- $ref: "#/parameters/rowFilter.process.processType",
+ $ref: "#/parameters/rowFilter.currencyCode.name",
},
{
$ref: "#/parameters/select",
@@ -3978,7 +4368,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/process",
+ $ref: "#/definitions/currencyCode",
},
type: "array",
},
@@ -3987,12 +4377,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["process"],
+ tags: ["currencyCode"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.process",
+ $ref: "#/parameters/body.currencyCode",
},
{
$ref: "#/parameters/select",
@@ -4006,39 +4396,15 @@ export default {
description: "Created",
},
},
- tags: ["process"],
+ tags: ["currencyCode"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.process.id",
- },
- {
- $ref: "#/parameters/rowFilter.process.name",
- },
- {
- $ref: "#/parameters/rowFilter.process.defaultStandardFactor",
- },
- {
- $ref: "#/parameters/rowFilter.process.companyId",
- },
- {
- $ref: "#/parameters/rowFilter.process.customFields",
- },
- {
- $ref: "#/parameters/rowFilter.process.createdBy",
- },
- {
- $ref: "#/parameters/rowFilter.process.createdAt",
- },
- {
- $ref: "#/parameters/rowFilter.process.updatedBy",
- },
- {
- $ref: "#/parameters/rowFilter.process.updatedAt",
+ $ref: "#/parameters/rowFilter.currencyCode.code",
},
{
- $ref: "#/parameters/rowFilter.process.processType",
+ $ref: "#/parameters/rowFilter.currencyCode.name",
},
{
$ref: "#/parameters/preferReturn",
@@ -4049,42 +4415,18 @@ export default {
description: "No Content",
},
},
- tags: ["process"],
+ tags: ["currencyCode"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.process.id",
- },
- {
- $ref: "#/parameters/rowFilter.process.name",
- },
- {
- $ref: "#/parameters/rowFilter.process.defaultStandardFactor",
- },
- {
- $ref: "#/parameters/rowFilter.process.companyId",
- },
- {
- $ref: "#/parameters/rowFilter.process.customFields",
- },
- {
- $ref: "#/parameters/rowFilter.process.createdBy",
- },
- {
- $ref: "#/parameters/rowFilter.process.createdAt",
- },
- {
- $ref: "#/parameters/rowFilter.process.updatedBy",
- },
- {
- $ref: "#/parameters/rowFilter.process.updatedAt",
+ $ref: "#/parameters/rowFilter.currencyCode.code",
},
{
- $ref: "#/parameters/rowFilter.process.processType",
+ $ref: "#/parameters/rowFilter.currencyCode.name",
},
{
- $ref: "#/parameters/body.process",
+ $ref: "#/parameters/body.currencyCode",
},
{
$ref: "#/parameters/preferReturn",
@@ -4095,77 +4437,68 @@ export default {
description: "No Content",
},
},
- tags: ["process"],
+ tags: ["currencyCode"],
},
},
- "/quoteMaterial": {
+ "/methodMaterial": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.quoteMaterial.id",
- },
- {
- $ref: "#/parameters/rowFilter.quoteMaterial.quoteId",
- },
- {
- $ref: "#/parameters/rowFilter.quoteMaterial.quoteLineId",
- },
- {
- $ref: "#/parameters/rowFilter.quoteMaterial.itemId",
+ $ref: "#/parameters/rowFilter.methodMaterial.id",
},
{
- $ref: "#/parameters/rowFilter.quoteMaterial.itemReadableId",
+ $ref: "#/parameters/rowFilter.methodMaterial.makeMethodId",
},
{
- $ref: "#/parameters/rowFilter.quoteMaterial.itemType",
+ $ref: "#/parameters/rowFilter.methodMaterial.methodType",
},
{
- $ref: "#/parameters/rowFilter.quoteMaterial.methodType",
+ $ref: "#/parameters/rowFilter.methodMaterial.materialMakeMethodId",
},
{
- $ref: "#/parameters/rowFilter.quoteMaterial.order",
+ $ref: "#/parameters/rowFilter.methodMaterial.itemType",
},
{
- $ref: "#/parameters/rowFilter.quoteMaterial.description",
+ $ref: "#/parameters/rowFilter.methodMaterial.itemId",
},
{
- $ref: "#/parameters/rowFilter.quoteMaterial.quantity",
+ $ref: "#/parameters/rowFilter.methodMaterial.quantity",
},
{
- $ref: "#/parameters/rowFilter.quoteMaterial.unitOfMeasureCode",
+ $ref: "#/parameters/rowFilter.methodMaterial.unitOfMeasureCode",
},
{
- $ref: "#/parameters/rowFilter.quoteMaterial.unitCost",
+ $ref: "#/parameters/rowFilter.methodMaterial.companyId",
},
{
- $ref: "#/parameters/rowFilter.quoteMaterial.companyId",
+ $ref: "#/parameters/rowFilter.methodMaterial.createdAt",
},
{
- $ref: "#/parameters/rowFilter.quoteMaterial.createdAt",
+ $ref: "#/parameters/rowFilter.methodMaterial.createdBy",
},
{
- $ref: "#/parameters/rowFilter.quoteMaterial.createdBy",
+ $ref: "#/parameters/rowFilter.methodMaterial.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.quoteMaterial.updatedAt",
+ $ref: "#/parameters/rowFilter.methodMaterial.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.quoteMaterial.updatedBy",
+ $ref: "#/parameters/rowFilter.methodMaterial.customFields",
},
{
- $ref: "#/parameters/rowFilter.quoteMaterial.customFields",
+ $ref: "#/parameters/rowFilter.methodMaterial.itemReadableId",
},
{
- $ref: "#/parameters/rowFilter.quoteMaterial.quoteMakeMethodId",
+ $ref: "#/parameters/rowFilter.methodMaterial.order",
},
{
- $ref: "#/parameters/rowFilter.quoteMaterial.quoteOperationId",
+ $ref: "#/parameters/rowFilter.methodMaterial.methodOperationId",
},
{
- $ref: "#/parameters/rowFilter.quoteMaterial.scrapQuantity",
+ $ref: "#/parameters/rowFilter.methodMaterial.scrapQuantity",
},
{
- $ref: "#/parameters/rowFilter.quoteMaterial.productionQuantity",
+ $ref: "#/parameters/rowFilter.methodMaterial.productionQuantity",
},
{
$ref: "#/parameters/select",
@@ -4194,7 +4527,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/quoteMaterial",
+ $ref: "#/definitions/methodMaterial",
},
type: "array",
},
@@ -4203,12 +4536,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["quoteMaterial"],
+ tags: ["methodMaterial"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.quoteMaterial",
+ $ref: "#/parameters/body.methodMaterial",
},
{
$ref: "#/parameters/select",
@@ -4222,75 +4555,66 @@ export default {
description: "Created",
},
},
- tags: ["quoteMaterial"],
+ tags: ["methodMaterial"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.quoteMaterial.id",
- },
- {
- $ref: "#/parameters/rowFilter.quoteMaterial.quoteId",
- },
- {
- $ref: "#/parameters/rowFilter.quoteMaterial.quoteLineId",
- },
- {
- $ref: "#/parameters/rowFilter.quoteMaterial.itemId",
+ $ref: "#/parameters/rowFilter.methodMaterial.id",
},
{
- $ref: "#/parameters/rowFilter.quoteMaterial.itemReadableId",
+ $ref: "#/parameters/rowFilter.methodMaterial.makeMethodId",
},
{
- $ref: "#/parameters/rowFilter.quoteMaterial.itemType",
+ $ref: "#/parameters/rowFilter.methodMaterial.methodType",
},
{
- $ref: "#/parameters/rowFilter.quoteMaterial.methodType",
+ $ref: "#/parameters/rowFilter.methodMaterial.materialMakeMethodId",
},
{
- $ref: "#/parameters/rowFilter.quoteMaterial.order",
+ $ref: "#/parameters/rowFilter.methodMaterial.itemType",
},
{
- $ref: "#/parameters/rowFilter.quoteMaterial.description",
+ $ref: "#/parameters/rowFilter.methodMaterial.itemId",
},
{
- $ref: "#/parameters/rowFilter.quoteMaterial.quantity",
+ $ref: "#/parameters/rowFilter.methodMaterial.quantity",
},
{
- $ref: "#/parameters/rowFilter.quoteMaterial.unitOfMeasureCode",
+ $ref: "#/parameters/rowFilter.methodMaterial.unitOfMeasureCode",
},
{
- $ref: "#/parameters/rowFilter.quoteMaterial.unitCost",
+ $ref: "#/parameters/rowFilter.methodMaterial.companyId",
},
{
- $ref: "#/parameters/rowFilter.quoteMaterial.companyId",
+ $ref: "#/parameters/rowFilter.methodMaterial.createdAt",
},
{
- $ref: "#/parameters/rowFilter.quoteMaterial.createdAt",
+ $ref: "#/parameters/rowFilter.methodMaterial.createdBy",
},
{
- $ref: "#/parameters/rowFilter.quoteMaterial.createdBy",
+ $ref: "#/parameters/rowFilter.methodMaterial.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.quoteMaterial.updatedAt",
+ $ref: "#/parameters/rowFilter.methodMaterial.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.quoteMaterial.updatedBy",
+ $ref: "#/parameters/rowFilter.methodMaterial.customFields",
},
{
- $ref: "#/parameters/rowFilter.quoteMaterial.customFields",
+ $ref: "#/parameters/rowFilter.methodMaterial.itemReadableId",
},
{
- $ref: "#/parameters/rowFilter.quoteMaterial.quoteMakeMethodId",
+ $ref: "#/parameters/rowFilter.methodMaterial.order",
},
{
- $ref: "#/parameters/rowFilter.quoteMaterial.quoteOperationId",
+ $ref: "#/parameters/rowFilter.methodMaterial.methodOperationId",
},
{
- $ref: "#/parameters/rowFilter.quoteMaterial.scrapQuantity",
+ $ref: "#/parameters/rowFilter.methodMaterial.scrapQuantity",
},
{
- $ref: "#/parameters/rowFilter.quoteMaterial.productionQuantity",
+ $ref: "#/parameters/rowFilter.methodMaterial.productionQuantity",
},
{
$ref: "#/parameters/preferReturn",
@@ -4301,78 +4625,69 @@ export default {
description: "No Content",
},
},
- tags: ["quoteMaterial"],
+ tags: ["methodMaterial"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.quoteMaterial.id",
- },
- {
- $ref: "#/parameters/rowFilter.quoteMaterial.quoteId",
- },
- {
- $ref: "#/parameters/rowFilter.quoteMaterial.quoteLineId",
- },
- {
- $ref: "#/parameters/rowFilter.quoteMaterial.itemId",
+ $ref: "#/parameters/rowFilter.methodMaterial.id",
},
{
- $ref: "#/parameters/rowFilter.quoteMaterial.itemReadableId",
+ $ref: "#/parameters/rowFilter.methodMaterial.makeMethodId",
},
{
- $ref: "#/parameters/rowFilter.quoteMaterial.itemType",
+ $ref: "#/parameters/rowFilter.methodMaterial.methodType",
},
{
- $ref: "#/parameters/rowFilter.quoteMaterial.methodType",
+ $ref: "#/parameters/rowFilter.methodMaterial.materialMakeMethodId",
},
{
- $ref: "#/parameters/rowFilter.quoteMaterial.order",
+ $ref: "#/parameters/rowFilter.methodMaterial.itemType",
},
{
- $ref: "#/parameters/rowFilter.quoteMaterial.description",
+ $ref: "#/parameters/rowFilter.methodMaterial.itemId",
},
{
- $ref: "#/parameters/rowFilter.quoteMaterial.quantity",
+ $ref: "#/parameters/rowFilter.methodMaterial.quantity",
},
{
- $ref: "#/parameters/rowFilter.quoteMaterial.unitOfMeasureCode",
+ $ref: "#/parameters/rowFilter.methodMaterial.unitOfMeasureCode",
},
{
- $ref: "#/parameters/rowFilter.quoteMaterial.unitCost",
+ $ref: "#/parameters/rowFilter.methodMaterial.companyId",
},
{
- $ref: "#/parameters/rowFilter.quoteMaterial.companyId",
+ $ref: "#/parameters/rowFilter.methodMaterial.createdAt",
},
{
- $ref: "#/parameters/rowFilter.quoteMaterial.createdAt",
+ $ref: "#/parameters/rowFilter.methodMaterial.createdBy",
},
{
- $ref: "#/parameters/rowFilter.quoteMaterial.createdBy",
+ $ref: "#/parameters/rowFilter.methodMaterial.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.quoteMaterial.updatedAt",
+ $ref: "#/parameters/rowFilter.methodMaterial.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.quoteMaterial.updatedBy",
+ $ref: "#/parameters/rowFilter.methodMaterial.customFields",
},
{
- $ref: "#/parameters/rowFilter.quoteMaterial.customFields",
+ $ref: "#/parameters/rowFilter.methodMaterial.itemReadableId",
},
{
- $ref: "#/parameters/rowFilter.quoteMaterial.quoteMakeMethodId",
+ $ref: "#/parameters/rowFilter.methodMaterial.order",
},
{
- $ref: "#/parameters/rowFilter.quoteMaterial.quoteOperationId",
+ $ref: "#/parameters/rowFilter.methodMaterial.methodOperationId",
},
{
- $ref: "#/parameters/rowFilter.quoteMaterial.scrapQuantity",
+ $ref: "#/parameters/rowFilter.methodMaterial.scrapQuantity",
},
{
- $ref: "#/parameters/rowFilter.quoteMaterial.productionQuantity",
+ $ref: "#/parameters/rowFilter.methodMaterial.productionQuantity",
},
{
- $ref: "#/parameters/body.quoteMaterial",
+ $ref: "#/parameters/body.methodMaterial",
},
{
$ref: "#/parameters/preferReturn",
@@ -4383,23 +4698,38 @@ export default {
description: "No Content",
},
},
- tags: ["quoteMaterial"],
+ tags: ["methodMaterial"],
},
},
- "/contractorAbility": {
+ "/pickMethod": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.contractorAbility.contractorId",
+ $ref: "#/parameters/rowFilter.pickMethod.itemId",
},
{
- $ref: "#/parameters/rowFilter.contractorAbility.abilityId",
+ $ref: "#/parameters/rowFilter.pickMethod.locationId",
},
{
- $ref: "#/parameters/rowFilter.contractorAbility.createdBy",
+ $ref: "#/parameters/rowFilter.pickMethod.defaultShelfId",
},
{
- $ref: "#/parameters/rowFilter.contractorAbility.createdAt",
+ $ref: "#/parameters/rowFilter.pickMethod.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.pickMethod.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.pickMethod.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.pickMethod.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.pickMethod.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.pickMethod.customFields",
},
{
$ref: "#/parameters/select",
@@ -4428,7 +4758,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/contractorAbility",
+ $ref: "#/definitions/pickMethod",
},
type: "array",
},
@@ -4437,12 +4767,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["contractorAbility"],
+ tags: ["pickMethod"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.contractorAbility",
+ $ref: "#/parameters/body.pickMethod",
},
{
$ref: "#/parameters/select",
@@ -4456,21 +4786,36 @@ export default {
description: "Created",
},
},
- tags: ["contractorAbility"],
+ tags: ["pickMethod"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.contractorAbility.contractorId",
+ $ref: "#/parameters/rowFilter.pickMethod.itemId",
},
{
- $ref: "#/parameters/rowFilter.contractorAbility.abilityId",
+ $ref: "#/parameters/rowFilter.pickMethod.locationId",
},
{
- $ref: "#/parameters/rowFilter.contractorAbility.createdBy",
+ $ref: "#/parameters/rowFilter.pickMethod.defaultShelfId",
},
{
- $ref: "#/parameters/rowFilter.contractorAbility.createdAt",
+ $ref: "#/parameters/rowFilter.pickMethod.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.pickMethod.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.pickMethod.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.pickMethod.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.pickMethod.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.pickMethod.customFields",
},
{
$ref: "#/parameters/preferReturn",
@@ -4481,24 +4826,39 @@ export default {
description: "No Content",
},
},
- tags: ["contractorAbility"],
+ tags: ["pickMethod"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.contractorAbility.contractorId",
+ $ref: "#/parameters/rowFilter.pickMethod.itemId",
},
{
- $ref: "#/parameters/rowFilter.contractorAbility.abilityId",
+ $ref: "#/parameters/rowFilter.pickMethod.locationId",
},
{
- $ref: "#/parameters/rowFilter.contractorAbility.createdBy",
+ $ref: "#/parameters/rowFilter.pickMethod.defaultShelfId",
},
{
- $ref: "#/parameters/rowFilter.contractorAbility.createdAt",
+ $ref: "#/parameters/rowFilter.pickMethod.companyId",
},
{
- $ref: "#/parameters/body.contractorAbility",
+ $ref: "#/parameters/rowFilter.pickMethod.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.pickMethod.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.pickMethod.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.pickMethod.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.pickMethod.customFields",
+ },
+ {
+ $ref: "#/parameters/body.pickMethod",
},
{
$ref: "#/parameters/preferReturn",
@@ -4509,143 +4869,155 @@ export default {
description: "No Content",
},
},
- tags: ["contractorAbility"],
+ tags: ["pickMethod"],
},
},
- "/salesOrderLines": {
+ "/quoteMaterialWithMakeMethodId": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.salesOrderLines.id",
- },
- {
- $ref: "#/parameters/rowFilter.salesOrderLines.salesOrderId",
+ $ref: "#/parameters/rowFilter.quoteMaterialWithMakeMethodId.id",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLines.salesOrderLineType",
+ $ref: "#/parameters/rowFilter.quoteMaterialWithMakeMethodId.quoteId",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLines.itemId",
+ $ref: "#/parameters/rowFilter.quoteMaterialWithMakeMethodId.quoteLineId",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLines.itemReadableId",
+ $ref: "#/parameters/rowFilter.quoteMaterialWithMakeMethodId.itemId",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLines.accountNumber",
+ $ref: "#/parameters/rowFilter.quoteMaterialWithMakeMethodId.itemReadableId",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLines.assetId",
+ $ref: "#/parameters/rowFilter.quoteMaterialWithMakeMethodId.itemType",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLines.description",
+ $ref: "#/parameters/rowFilter.quoteMaterialWithMakeMethodId.methodType",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLines.saleQuantity",
+ $ref: "#/parameters/rowFilter.quoteMaterialWithMakeMethodId.order",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLines.quantityToSend",
+ $ref: "#/parameters/rowFilter.quoteMaterialWithMakeMethodId.description",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLines.quantitySent",
+ $ref: "#/parameters/rowFilter.quoteMaterialWithMakeMethodId.quantity",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLines.quantityToInvoice",
+ $ref: "#/parameters/rowFilter.quoteMaterialWithMakeMethodId.unitOfMeasureCode",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLines.quantityInvoiced",
+ $ref: "#/parameters/rowFilter.quoteMaterialWithMakeMethodId.unitCost",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLines.unitPrice",
+ $ref: "#/parameters/rowFilter.quoteMaterialWithMakeMethodId.companyId",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLines.unitOfMeasureCode",
+ $ref: "#/parameters/rowFilter.quoteMaterialWithMakeMethodId.createdAt",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLines.locationId",
+ $ref: "#/parameters/rowFilter.quoteMaterialWithMakeMethodId.createdBy",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLines.shelfId",
+ $ref: "#/parameters/rowFilter.quoteMaterialWithMakeMethodId.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLines.setupPrice",
+ $ref: "#/parameters/rowFilter.quoteMaterialWithMakeMethodId.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLines.sentComplete",
+ $ref: "#/parameters/rowFilter.quoteMaterialWithMakeMethodId.customFields",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLines.invoicedComplete",
+ $ref: "#/parameters/rowFilter.quoteMaterialWithMakeMethodId.quoteMakeMethodId",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLines.requiresInspection",
+ $ref: "#/parameters/rowFilter.quoteMaterialWithMakeMethodId.quoteOperationId",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLines.companyId",
+ $ref: "#/parameters/rowFilter.quoteMaterialWithMakeMethodId.quoteMaterialMakeMethodId",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLines.createdAt",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLines.createdBy",
+ $ref: "#/parameters/order",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLines.updatedAt",
+ $ref: "#/parameters/range",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLines.updatedBy",
+ $ref: "#/parameters/rangeUnit",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLines.customFields",
+ $ref: "#/parameters/offset",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLines.status",
+ $ref: "#/parameters/limit",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLines.modelUploadId",
+ $ref: "#/parameters/preferCount",
},
- {
- $ref: "#/parameters/rowFilter.salesOrderLines.promisedDate",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/quoteMaterialWithMakeMethodId",
+ },
+ type: "array",
+ },
},
- {
- $ref: "#/parameters/rowFilter.salesOrderLines.addOnCost",
+ "206": {
+ description: "Partial Content",
},
+ },
+ tags: ["quoteMaterialWithMakeMethodId"],
+ },
+ },
+ "/itemUnitSalePrice": {
+ get: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.salesOrderLines.methodType",
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.itemId",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLines.exchangeRate",
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.unitSalePrice",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLines.convertedUnitPrice",
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.currencyCode",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLines.convertedAddOnCost",
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.salesUnitOfMeasureCode",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLines.thumbnailPath",
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.salesBlocked",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLines.modelId",
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.priceIncludesTax",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLines.autodeskUrn",
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.allowInvoiceDiscount",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLines.modelPath",
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.companyId",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLines.modelName",
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.createdBy",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLines.modelSize",
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.createdAt",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLines.unitCost",
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLines.customerPartId",
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLines.customerPartRevision",
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.customFields",
},
{
$ref: "#/parameters/select",
@@ -4674,7 +5046,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/salesOrderLines",
+ $ref: "#/definitions/itemUnitSalePrice",
},
type: "array",
},
@@ -4683,116 +5055,143 @@ export default {
description: "Partial Content",
},
},
- tags: ["salesOrderLines"],
+ tags: ["itemUnitSalePrice"],
},
- },
- "/jobOperation": {
- get: {
+ post: {
parameters: [
{
- $ref: "#/parameters/rowFilter.jobOperation.id",
+ $ref: "#/parameters/body.itemUnitSalePrice",
},
{
- $ref: "#/parameters/rowFilter.jobOperation.jobId",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.jobOperation.jobMakeMethodId",
+ $ref: "#/parameters/preferPost",
},
- {
- $ref: "#/parameters/rowFilter.jobOperation.order",
+ ],
+ responses: {
+ "201": {
+ description: "Created",
},
+ },
+ tags: ["itemUnitSalePrice"],
+ },
+ delete: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.jobOperation.processId",
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.itemId",
},
{
- $ref: "#/parameters/rowFilter.jobOperation.workCenterId",
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.unitSalePrice",
},
{
- $ref: "#/parameters/rowFilter.jobOperation.description",
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.currencyCode",
},
{
- $ref: "#/parameters/rowFilter.jobOperation.setupTime",
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.salesUnitOfMeasureCode",
},
{
- $ref: "#/parameters/rowFilter.jobOperation.setupUnit",
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.salesBlocked",
},
{
- $ref: "#/parameters/rowFilter.jobOperation.laborTime",
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.priceIncludesTax",
},
{
- $ref: "#/parameters/rowFilter.jobOperation.laborUnit",
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.allowInvoiceDiscount",
},
{
- $ref: "#/parameters/rowFilter.jobOperation.machineTime",
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.companyId",
},
{
- $ref: "#/parameters/rowFilter.jobOperation.machineUnit",
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.createdBy",
},
{
- $ref: "#/parameters/rowFilter.jobOperation.operationOrder",
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.createdAt",
},
{
- $ref: "#/parameters/rowFilter.jobOperation.laborRate",
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.jobOperation.overheadRate",
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.jobOperation.machineRate",
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.customFields",
},
{
- $ref: "#/parameters/rowFilter.jobOperation.operationType",
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
},
+ },
+ tags: ["itemUnitSalePrice"],
+ },
+ patch: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.jobOperation.operationMinimumCost",
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.itemId",
},
{
- $ref: "#/parameters/rowFilter.jobOperation.operationLeadTime",
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.unitSalePrice",
},
{
- $ref: "#/parameters/rowFilter.jobOperation.operationUnitCost",
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.currencyCode",
},
{
- $ref: "#/parameters/rowFilter.jobOperation.operationSupplierProcessId",
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.salesUnitOfMeasureCode",
},
{
- $ref: "#/parameters/rowFilter.jobOperation.workInstruction",
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.salesBlocked",
},
{
- $ref: "#/parameters/rowFilter.jobOperation.companyId",
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.priceIncludesTax",
},
{
- $ref: "#/parameters/rowFilter.jobOperation.createdAt",
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.allowInvoiceDiscount",
},
{
- $ref: "#/parameters/rowFilter.jobOperation.createdBy",
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.companyId",
},
{
- $ref: "#/parameters/rowFilter.jobOperation.updatedAt",
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.createdBy",
},
{
- $ref: "#/parameters/rowFilter.jobOperation.updatedBy",
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.createdAt",
},
{
- $ref: "#/parameters/rowFilter.jobOperation.customFields",
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.jobOperation.operationQuantity",
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.jobOperation.quantityComplete",
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.customFields",
},
{
- $ref: "#/parameters/rowFilter.jobOperation.quantityScrapped",
+ $ref: "#/parameters/body.itemUnitSalePrice",
},
{
- $ref: "#/parameters/rowFilter.jobOperation.quantityReworked",
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
},
+ },
+ tags: ["itemUnitSalePrice"],
+ },
+ },
+ "/holidayYears": {
+ get: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.jobOperation.status",
+ $ref: "#/parameters/rowFilter.holidayYears.year",
},
{
- $ref: "#/parameters/rowFilter.jobOperation.priority",
+ $ref: "#/parameters/rowFilter.holidayYears.companyId",
},
{
$ref: "#/parameters/select",
@@ -4821,7 +5220,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/jobOperation",
+ $ref: "#/definitions/holidayYears",
},
type: "array",
},
@@ -4830,133 +5229,130 @@ export default {
description: "Partial Content",
},
},
- tags: ["jobOperation"],
+ tags: ["holidayYears"],
},
- post: {
+ },
+ "/partner": {
+ get: {
parameters: [
{
- $ref: "#/parameters/body.jobOperation",
+ $ref: "#/parameters/rowFilter.partner.id",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.partner.hoursPerWeek",
},
{
- $ref: "#/parameters/preferPost",
- },
- ],
- responses: {
- "201": {
- description: "Created",
+ $ref: "#/parameters/rowFilter.partner.abilityId",
},
- },
- tags: ["jobOperation"],
- },
- delete: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.jobOperation.id",
+ $ref: "#/parameters/rowFilter.partner.active",
},
{
- $ref: "#/parameters/rowFilter.jobOperation.jobId",
+ $ref: "#/parameters/rowFilter.partner.companyId",
},
{
- $ref: "#/parameters/rowFilter.jobOperation.jobMakeMethodId",
+ $ref: "#/parameters/rowFilter.partner.createdBy",
},
{
- $ref: "#/parameters/rowFilter.jobOperation.order",
+ $ref: "#/parameters/rowFilter.partner.createdAt",
},
{
- $ref: "#/parameters/rowFilter.jobOperation.processId",
+ $ref: "#/parameters/rowFilter.partner.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.jobOperation.workCenterId",
+ $ref: "#/parameters/rowFilter.partner.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.jobOperation.description",
+ $ref: "#/parameters/rowFilter.partner.customFields",
},
{
- $ref: "#/parameters/rowFilter.jobOperation.setupTime",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.jobOperation.setupUnit",
+ $ref: "#/parameters/order",
},
{
- $ref: "#/parameters/rowFilter.jobOperation.laborTime",
+ $ref: "#/parameters/range",
},
{
- $ref: "#/parameters/rowFilter.jobOperation.laborUnit",
+ $ref: "#/parameters/rangeUnit",
},
{
- $ref: "#/parameters/rowFilter.jobOperation.machineTime",
+ $ref: "#/parameters/offset",
},
{
- $ref: "#/parameters/rowFilter.jobOperation.machineUnit",
+ $ref: "#/parameters/limit",
},
{
- $ref: "#/parameters/rowFilter.jobOperation.operationOrder",
+ $ref: "#/parameters/preferCount",
},
- {
- $ref: "#/parameters/rowFilter.jobOperation.laborRate",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/partner",
+ },
+ type: "array",
+ },
},
- {
- $ref: "#/parameters/rowFilter.jobOperation.overheadRate",
+ "206": {
+ description: "Partial Content",
},
+ },
+ tags: ["partner"],
+ },
+ post: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.jobOperation.machineRate",
+ $ref: "#/parameters/body.partner",
},
{
- $ref: "#/parameters/rowFilter.jobOperation.operationType",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.jobOperation.operationMinimumCost",
+ $ref: "#/parameters/preferPost",
+ },
+ ],
+ responses: {
+ "201": {
+ description: "Created",
},
+ },
+ tags: ["partner"],
+ },
+ delete: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.jobOperation.operationLeadTime",
+ $ref: "#/parameters/rowFilter.partner.id",
},
{
- $ref: "#/parameters/rowFilter.jobOperation.operationUnitCost",
+ $ref: "#/parameters/rowFilter.partner.hoursPerWeek",
},
{
- $ref: "#/parameters/rowFilter.jobOperation.operationSupplierProcessId",
+ $ref: "#/parameters/rowFilter.partner.abilityId",
},
{
- $ref: "#/parameters/rowFilter.jobOperation.workInstruction",
+ $ref: "#/parameters/rowFilter.partner.active",
},
{
- $ref: "#/parameters/rowFilter.jobOperation.companyId",
+ $ref: "#/parameters/rowFilter.partner.companyId",
},
{
- $ref: "#/parameters/rowFilter.jobOperation.createdAt",
+ $ref: "#/parameters/rowFilter.partner.createdBy",
},
{
- $ref: "#/parameters/rowFilter.jobOperation.createdBy",
- },
- {
- $ref: "#/parameters/rowFilter.jobOperation.updatedAt",
- },
- {
- $ref: "#/parameters/rowFilter.jobOperation.updatedBy",
- },
- {
- $ref: "#/parameters/rowFilter.jobOperation.customFields",
- },
- {
- $ref: "#/parameters/rowFilter.jobOperation.operationQuantity",
- },
- {
- $ref: "#/parameters/rowFilter.jobOperation.quantityComplete",
- },
- {
- $ref: "#/parameters/rowFilter.jobOperation.quantityScrapped",
+ $ref: "#/parameters/rowFilter.partner.createdAt",
},
{
- $ref: "#/parameters/rowFilter.jobOperation.quantityReworked",
+ $ref: "#/parameters/rowFilter.partner.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.jobOperation.status",
+ $ref: "#/parameters/rowFilter.partner.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.jobOperation.priority",
+ $ref: "#/parameters/rowFilter.partner.customFields",
},
{
$ref: "#/parameters/preferReturn",
@@ -4967,117 +5363,42 @@ export default {
description: "No Content",
},
},
- tags: ["jobOperation"],
+ tags: ["partner"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.jobOperation.id",
- },
- {
- $ref: "#/parameters/rowFilter.jobOperation.jobId",
- },
- {
- $ref: "#/parameters/rowFilter.jobOperation.jobMakeMethodId",
- },
- {
- $ref: "#/parameters/rowFilter.jobOperation.order",
- },
- {
- $ref: "#/parameters/rowFilter.jobOperation.processId",
- },
- {
- $ref: "#/parameters/rowFilter.jobOperation.workCenterId",
- },
- {
- $ref: "#/parameters/rowFilter.jobOperation.description",
- },
- {
- $ref: "#/parameters/rowFilter.jobOperation.setupTime",
- },
- {
- $ref: "#/parameters/rowFilter.jobOperation.setupUnit",
- },
- {
- $ref: "#/parameters/rowFilter.jobOperation.laborTime",
- },
- {
- $ref: "#/parameters/rowFilter.jobOperation.laborUnit",
- },
- {
- $ref: "#/parameters/rowFilter.jobOperation.machineTime",
- },
- {
- $ref: "#/parameters/rowFilter.jobOperation.machineUnit",
- },
- {
- $ref: "#/parameters/rowFilter.jobOperation.operationOrder",
- },
- {
- $ref: "#/parameters/rowFilter.jobOperation.laborRate",
- },
- {
- $ref: "#/parameters/rowFilter.jobOperation.overheadRate",
- },
- {
- $ref: "#/parameters/rowFilter.jobOperation.machineRate",
- },
- {
- $ref: "#/parameters/rowFilter.jobOperation.operationType",
- },
- {
- $ref: "#/parameters/rowFilter.jobOperation.operationMinimumCost",
- },
- {
- $ref: "#/parameters/rowFilter.jobOperation.operationLeadTime",
- },
- {
- $ref: "#/parameters/rowFilter.jobOperation.operationUnitCost",
- },
- {
- $ref: "#/parameters/rowFilter.jobOperation.operationSupplierProcessId",
- },
- {
- $ref: "#/parameters/rowFilter.jobOperation.workInstruction",
- },
- {
- $ref: "#/parameters/rowFilter.jobOperation.companyId",
- },
- {
- $ref: "#/parameters/rowFilter.jobOperation.createdAt",
- },
- {
- $ref: "#/parameters/rowFilter.jobOperation.createdBy",
+ $ref: "#/parameters/rowFilter.partner.id",
},
{
- $ref: "#/parameters/rowFilter.jobOperation.updatedAt",
+ $ref: "#/parameters/rowFilter.partner.hoursPerWeek",
},
{
- $ref: "#/parameters/rowFilter.jobOperation.updatedBy",
+ $ref: "#/parameters/rowFilter.partner.abilityId",
},
{
- $ref: "#/parameters/rowFilter.jobOperation.customFields",
+ $ref: "#/parameters/rowFilter.partner.active",
},
{
- $ref: "#/parameters/rowFilter.jobOperation.operationQuantity",
+ $ref: "#/parameters/rowFilter.partner.companyId",
},
{
- $ref: "#/parameters/rowFilter.jobOperation.quantityComplete",
+ $ref: "#/parameters/rowFilter.partner.createdBy",
},
{
- $ref: "#/parameters/rowFilter.jobOperation.quantityScrapped",
+ $ref: "#/parameters/rowFilter.partner.createdAt",
},
{
- $ref: "#/parameters/rowFilter.jobOperation.quantityReworked",
+ $ref: "#/parameters/rowFilter.partner.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.jobOperation.status",
+ $ref: "#/parameters/rowFilter.partner.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.jobOperation.priority",
+ $ref: "#/parameters/rowFilter.partner.customFields",
},
{
- $ref: "#/parameters/body.jobOperation",
+ $ref: "#/parameters/body.partner",
},
{
$ref: "#/parameters/preferReturn",
@@ -5088,56 +5409,59 @@ export default {
description: "No Content",
},
},
- tags: ["jobOperation"],
+ tags: ["partner"],
},
},
- "/journalLine": {
+ "/material": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.journalLine.id",
+ $ref: "#/parameters/rowFilter.material.id",
},
{
- $ref: "#/parameters/rowFilter.journalLine.journalId",
+ $ref: "#/parameters/rowFilter.material.itemId",
},
{
- $ref: "#/parameters/rowFilter.journalLine.accountNumber",
+ $ref: "#/parameters/rowFilter.material.materialFormId",
},
{
- $ref: "#/parameters/rowFilter.journalLine.description",
+ $ref: "#/parameters/rowFilter.material.materialSubstanceId",
},
{
- $ref: "#/parameters/rowFilter.journalLine.amount",
+ $ref: "#/parameters/rowFilter.material.grade",
},
{
- $ref: "#/parameters/rowFilter.journalLine.quantity",
+ $ref: "#/parameters/rowFilter.material.dimensions",
},
{
- $ref: "#/parameters/rowFilter.journalLine.documentType",
+ $ref: "#/parameters/rowFilter.material.finish",
},
{
- $ref: "#/parameters/rowFilter.journalLine.documentId",
+ $ref: "#/parameters/rowFilter.material.approved",
},
{
- $ref: "#/parameters/rowFilter.journalLine.externalDocumentId",
+ $ref: "#/parameters/rowFilter.material.approvedBy",
},
{
- $ref: "#/parameters/rowFilter.journalLine.journalLineReference",
+ $ref: "#/parameters/rowFilter.material.customFields",
},
{
- $ref: "#/parameters/rowFilter.journalLine.documentLineReference",
+ $ref: "#/parameters/rowFilter.material.companyId",
},
{
- $ref: "#/parameters/rowFilter.journalLine.accrual",
+ $ref: "#/parameters/rowFilter.material.createdBy",
},
{
- $ref: "#/parameters/rowFilter.journalLine.companyId",
+ $ref: "#/parameters/rowFilter.material.createdAt",
},
{
- $ref: "#/parameters/rowFilter.journalLine.createdAt",
+ $ref: "#/parameters/rowFilter.material.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.journalLine.customFields",
+ $ref: "#/parameters/rowFilter.material.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.material.externalId",
},
{
$ref: "#/parameters/select",
@@ -5166,7 +5490,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/journalLine",
+ $ref: "#/definitions/material",
},
type: "array",
},
@@ -5175,12 +5499,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["journalLine"],
+ tags: ["material"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.journalLine",
+ $ref: "#/parameters/body.material",
},
{
$ref: "#/parameters/select",
@@ -5194,54 +5518,57 @@ export default {
description: "Created",
},
},
- tags: ["journalLine"],
+ tags: ["material"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.journalLine.id",
+ $ref: "#/parameters/rowFilter.material.id",
},
{
- $ref: "#/parameters/rowFilter.journalLine.journalId",
+ $ref: "#/parameters/rowFilter.material.itemId",
},
{
- $ref: "#/parameters/rowFilter.journalLine.accountNumber",
+ $ref: "#/parameters/rowFilter.material.materialFormId",
},
{
- $ref: "#/parameters/rowFilter.journalLine.description",
+ $ref: "#/parameters/rowFilter.material.materialSubstanceId",
},
{
- $ref: "#/parameters/rowFilter.journalLine.amount",
+ $ref: "#/parameters/rowFilter.material.grade",
},
{
- $ref: "#/parameters/rowFilter.journalLine.quantity",
+ $ref: "#/parameters/rowFilter.material.dimensions",
},
{
- $ref: "#/parameters/rowFilter.journalLine.documentType",
+ $ref: "#/parameters/rowFilter.material.finish",
},
{
- $ref: "#/parameters/rowFilter.journalLine.documentId",
+ $ref: "#/parameters/rowFilter.material.approved",
},
{
- $ref: "#/parameters/rowFilter.journalLine.externalDocumentId",
+ $ref: "#/parameters/rowFilter.material.approvedBy",
},
{
- $ref: "#/parameters/rowFilter.journalLine.journalLineReference",
+ $ref: "#/parameters/rowFilter.material.customFields",
},
{
- $ref: "#/parameters/rowFilter.journalLine.documentLineReference",
+ $ref: "#/parameters/rowFilter.material.companyId",
},
{
- $ref: "#/parameters/rowFilter.journalLine.accrual",
+ $ref: "#/parameters/rowFilter.material.createdBy",
},
{
- $ref: "#/parameters/rowFilter.journalLine.companyId",
+ $ref: "#/parameters/rowFilter.material.createdAt",
},
{
- $ref: "#/parameters/rowFilter.journalLine.createdAt",
+ $ref: "#/parameters/rowFilter.material.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.journalLine.customFields",
+ $ref: "#/parameters/rowFilter.material.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.material.externalId",
},
{
$ref: "#/parameters/preferReturn",
@@ -5252,57 +5579,60 @@ export default {
description: "No Content",
},
},
- tags: ["journalLine"],
+ tags: ["material"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.journalLine.id",
+ $ref: "#/parameters/rowFilter.material.id",
},
{
- $ref: "#/parameters/rowFilter.journalLine.journalId",
+ $ref: "#/parameters/rowFilter.material.itemId",
},
{
- $ref: "#/parameters/rowFilter.journalLine.accountNumber",
+ $ref: "#/parameters/rowFilter.material.materialFormId",
},
{
- $ref: "#/parameters/rowFilter.journalLine.description",
+ $ref: "#/parameters/rowFilter.material.materialSubstanceId",
},
{
- $ref: "#/parameters/rowFilter.journalLine.amount",
+ $ref: "#/parameters/rowFilter.material.grade",
},
{
- $ref: "#/parameters/rowFilter.journalLine.quantity",
+ $ref: "#/parameters/rowFilter.material.dimensions",
},
{
- $ref: "#/parameters/rowFilter.journalLine.documentType",
+ $ref: "#/parameters/rowFilter.material.finish",
},
{
- $ref: "#/parameters/rowFilter.journalLine.documentId",
+ $ref: "#/parameters/rowFilter.material.approved",
},
{
- $ref: "#/parameters/rowFilter.journalLine.externalDocumentId",
+ $ref: "#/parameters/rowFilter.material.approvedBy",
},
{
- $ref: "#/parameters/rowFilter.journalLine.journalLineReference",
+ $ref: "#/parameters/rowFilter.material.customFields",
},
{
- $ref: "#/parameters/rowFilter.journalLine.documentLineReference",
+ $ref: "#/parameters/rowFilter.material.companyId",
},
{
- $ref: "#/parameters/rowFilter.journalLine.accrual",
+ $ref: "#/parameters/rowFilter.material.createdBy",
},
{
- $ref: "#/parameters/rowFilter.journalLine.companyId",
+ $ref: "#/parameters/rowFilter.material.createdAt",
},
{
- $ref: "#/parameters/rowFilter.journalLine.createdAt",
+ $ref: "#/parameters/rowFilter.material.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.journalLine.customFields",
+ $ref: "#/parameters/rowFilter.material.updatedAt",
},
{
- $ref: "#/parameters/body.journalLine",
+ $ref: "#/parameters/rowFilter.material.externalId",
+ },
+ {
+ $ref: "#/parameters/body.material",
},
{
$ref: "#/parameters/preferReturn",
@@ -5313,110 +5643,191 @@ export default {
description: "No Content",
},
},
- tags: ["journalLine"],
+ tags: ["material"],
},
},
- "/purchaseOrderLines": {
+ "/userDefaults": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.purchaseOrderLines.id",
+ $ref: "#/parameters/rowFilter.userDefaults.userId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLines.purchaseOrderId",
+ $ref: "#/parameters/rowFilter.userDefaults.companyId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLines.purchaseOrderLineType",
+ $ref: "#/parameters/rowFilter.userDefaults.locationId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLines.itemId",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLines.itemReadableId",
+ $ref: "#/parameters/order",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLines.accountNumber",
+ $ref: "#/parameters/range",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLines.assetId",
+ $ref: "#/parameters/rangeUnit",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLines.description",
+ $ref: "#/parameters/offset",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLines.purchaseQuantity",
+ $ref: "#/parameters/limit",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLines.quantityToReceive",
+ $ref: "#/parameters/preferCount",
+ },
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/userDefaults",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
},
+ },
+ tags: ["userDefaults"],
+ },
+ },
+ "/jobs": {
+ get: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.purchaseOrderLines.quantityReceived",
+ $ref: "#/parameters/rowFilter.jobs.id",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLines.quantityToInvoice",
+ $ref: "#/parameters/rowFilter.jobs.jobId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLines.quantityInvoiced",
+ $ref: "#/parameters/rowFilter.jobs.itemId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLines.unitPrice",
+ $ref: "#/parameters/rowFilter.jobs.unitOfMeasureCode",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLines.inventoryUnitOfMeasureCode",
+ $ref: "#/parameters/rowFilter.jobs.customerId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLines.purchaseUnitOfMeasureCode",
+ $ref: "#/parameters/rowFilter.jobs.locationId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLines.locationId",
+ $ref: "#/parameters/rowFilter.jobs.status",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLines.shelfId",
+ $ref: "#/parameters/rowFilter.jobs.dueDate",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLines.setupPrice",
+ $ref: "#/parameters/rowFilter.jobs.deadlineType",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLines.receivedComplete",
+ $ref: "#/parameters/rowFilter.jobs.quantity",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLines.invoicedComplete",
+ $ref: "#/parameters/rowFilter.jobs.scrapQuantity",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLines.requiresInspection",
+ $ref: "#/parameters/rowFilter.jobs.productionQuantity",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLines.companyId",
+ $ref: "#/parameters/rowFilter.jobs.quantityComplete",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLines.createdAt",
+ $ref: "#/parameters/rowFilter.jobs.quantityShipped",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLines.createdBy",
+ $ref: "#/parameters/rowFilter.jobs.quantityReceivedToInventory",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLines.updatedAt",
+ $ref: "#/parameters/rowFilter.jobs.salesOrderId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLines.updatedBy",
+ $ref: "#/parameters/rowFilter.jobs.salesOrderLineId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLines.customFields",
+ $ref: "#/parameters/rowFilter.jobs.quoteId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLines.conversionFactor",
+ $ref: "#/parameters/rowFilter.jobs.quoteLineId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLines.supplierId",
+ $ref: "#/parameters/rowFilter.jobs.modelUploadId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLines.itemName",
+ $ref: "#/parameters/rowFilter.jobs.notes",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLines.itemDescription",
+ $ref: "#/parameters/rowFilter.jobs.assignee",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLines.supplierPartId",
+ $ref: "#/parameters/rowFilter.jobs.customFields",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobs.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobs.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobs.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobs.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobs.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobs.name",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobs.itemReadableId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobs.itemType",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobs.description",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobs.itemTrackingType",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobs.active",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobs.replenishmentSystem",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobs.modelId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobs.autodeskUrn",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobs.modelPath",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobs.thumbnailPath",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobs.modelName",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobs.modelSize",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobs.salesOrderReadableId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobs.quoteReadableId",
},
{
$ref: "#/parameters/select",
@@ -5445,7 +5856,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/purchaseOrderLines",
+ $ref: "#/definitions/jobs",
},
type: "array",
},
@@ -5454,35 +5865,38 @@ export default {
description: "Partial Content",
},
},
- tags: ["purchaseOrderLines"],
+ tags: ["jobs"],
},
},
- "/materialForm": {
+ "/department": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.materialForm.id",
+ $ref: "#/parameters/rowFilter.department.id",
},
{
- $ref: "#/parameters/rowFilter.materialForm.name",
+ $ref: "#/parameters/rowFilter.department.name",
},
{
- $ref: "#/parameters/rowFilter.materialForm.companyId",
+ $ref: "#/parameters/rowFilter.department.parentDepartmentId",
},
{
- $ref: "#/parameters/rowFilter.materialForm.customFields",
+ $ref: "#/parameters/rowFilter.department.companyId",
},
{
- $ref: "#/parameters/rowFilter.materialForm.createdBy",
+ $ref: "#/parameters/rowFilter.department.createdBy",
},
{
- $ref: "#/parameters/rowFilter.materialForm.createdAt",
+ $ref: "#/parameters/rowFilter.department.createdAt",
},
{
- $ref: "#/parameters/rowFilter.materialForm.updatedBy",
+ $ref: "#/parameters/rowFilter.department.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.materialForm.updatedAt",
+ $ref: "#/parameters/rowFilter.department.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.department.customFields",
},
{
$ref: "#/parameters/select",
@@ -5511,7 +5925,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/materialForm",
+ $ref: "#/definitions/department",
},
type: "array",
},
@@ -5520,12 +5934,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["materialForm"],
+ tags: ["department"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.materialForm",
+ $ref: "#/parameters/body.department",
},
{
$ref: "#/parameters/select",
@@ -5539,33 +5953,36 @@ export default {
description: "Created",
},
},
- tags: ["materialForm"],
+ tags: ["department"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.materialForm.id",
+ $ref: "#/parameters/rowFilter.department.id",
},
{
- $ref: "#/parameters/rowFilter.materialForm.name",
+ $ref: "#/parameters/rowFilter.department.name",
},
{
- $ref: "#/parameters/rowFilter.materialForm.companyId",
+ $ref: "#/parameters/rowFilter.department.parentDepartmentId",
},
{
- $ref: "#/parameters/rowFilter.materialForm.customFields",
+ $ref: "#/parameters/rowFilter.department.companyId",
},
{
- $ref: "#/parameters/rowFilter.materialForm.createdBy",
+ $ref: "#/parameters/rowFilter.department.createdBy",
},
{
- $ref: "#/parameters/rowFilter.materialForm.createdAt",
+ $ref: "#/parameters/rowFilter.department.createdAt",
},
{
- $ref: "#/parameters/rowFilter.materialForm.updatedBy",
+ $ref: "#/parameters/rowFilter.department.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.materialForm.updatedAt",
+ $ref: "#/parameters/rowFilter.department.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.department.customFields",
},
{
$ref: "#/parameters/preferReturn",
@@ -5576,36 +5993,39 @@ export default {
description: "No Content",
},
},
- tags: ["materialForm"],
+ tags: ["department"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.materialForm.id",
+ $ref: "#/parameters/rowFilter.department.id",
},
{
- $ref: "#/parameters/rowFilter.materialForm.name",
+ $ref: "#/parameters/rowFilter.department.name",
},
{
- $ref: "#/parameters/rowFilter.materialForm.companyId",
+ $ref: "#/parameters/rowFilter.department.parentDepartmentId",
},
{
- $ref: "#/parameters/rowFilter.materialForm.customFields",
+ $ref: "#/parameters/rowFilter.department.companyId",
},
{
- $ref: "#/parameters/rowFilter.materialForm.createdBy",
+ $ref: "#/parameters/rowFilter.department.createdBy",
},
{
- $ref: "#/parameters/rowFilter.materialForm.createdAt",
+ $ref: "#/parameters/rowFilter.department.createdAt",
},
{
- $ref: "#/parameters/rowFilter.materialForm.updatedBy",
+ $ref: "#/parameters/rowFilter.department.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.materialForm.updatedAt",
+ $ref: "#/parameters/rowFilter.department.updatedAt",
},
{
- $ref: "#/parameters/body.materialForm",
+ $ref: "#/parameters/rowFilter.department.customFields",
+ },
+ {
+ $ref: "#/parameters/body.department",
},
{
$ref: "#/parameters/preferReturn",
@@ -5616,68 +6036,56 @@ export default {
description: "No Content",
},
},
- tags: ["materialForm"],
+ tags: ["department"],
},
},
- "/item": {
+ "/buyMethod": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.item.id",
- },
- {
- $ref: "#/parameters/rowFilter.item.readableId",
- },
- {
- $ref: "#/parameters/rowFilter.item.name",
- },
- {
- $ref: "#/parameters/rowFilter.item.description",
- },
- {
- $ref: "#/parameters/rowFilter.item.type",
+ $ref: "#/parameters/rowFilter.buyMethod.id",
},
{
- $ref: "#/parameters/rowFilter.item.replenishmentSystem",
+ $ref: "#/parameters/rowFilter.buyMethod.itemId",
},
{
- $ref: "#/parameters/rowFilter.item.defaultMethodType",
+ $ref: "#/parameters/rowFilter.buyMethod.supplierId",
},
{
- $ref: "#/parameters/rowFilter.item.itemTrackingType",
+ $ref: "#/parameters/rowFilter.buyMethod.supplierPartId",
},
{
- $ref: "#/parameters/rowFilter.item.unitOfMeasureCode",
+ $ref: "#/parameters/rowFilter.buyMethod.supplierUnitOfMeasureCode",
},
{
- $ref: "#/parameters/rowFilter.item.active",
+ $ref: "#/parameters/rowFilter.buyMethod.minimumOrderQuantity",
},
{
- $ref: "#/parameters/rowFilter.item.companyId",
+ $ref: "#/parameters/rowFilter.buyMethod.conversionFactor",
},
{
- $ref: "#/parameters/rowFilter.item.createdBy",
+ $ref: "#/parameters/rowFilter.buyMethod.active",
},
{
- $ref: "#/parameters/rowFilter.item.createdAt",
+ $ref: "#/parameters/rowFilter.buyMethod.companyId",
},
{
- $ref: "#/parameters/rowFilter.item.updatedBy",
+ $ref: "#/parameters/rowFilter.buyMethod.createdBy",
},
{
- $ref: "#/parameters/rowFilter.item.updatedAt",
+ $ref: "#/parameters/rowFilter.buyMethod.createdAt",
},
{
- $ref: "#/parameters/rowFilter.item.assignee",
+ $ref: "#/parameters/rowFilter.buyMethod.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.item.modelUploadId",
+ $ref: "#/parameters/rowFilter.buyMethod.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.item.externalId",
+ $ref: "#/parameters/rowFilter.buyMethod.customFields",
},
{
- $ref: "#/parameters/rowFilter.item.thumbnailPath",
+ $ref: "#/parameters/rowFilter.buyMethod.unitPrice",
},
{
$ref: "#/parameters/select",
@@ -5706,7 +6114,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/item",
+ $ref: "#/definitions/buyMethod",
},
type: "array",
},
@@ -5715,12 +6123,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["item"],
+ tags: ["buyMethod"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.item",
+ $ref: "#/parameters/body.buyMethod",
},
{
$ref: "#/parameters/select",
@@ -5734,66 +6142,54 @@ export default {
description: "Created",
},
},
- tags: ["item"],
+ tags: ["buyMethod"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.item.id",
- },
- {
- $ref: "#/parameters/rowFilter.item.readableId",
- },
- {
- $ref: "#/parameters/rowFilter.item.name",
- },
- {
- $ref: "#/parameters/rowFilter.item.description",
- },
- {
- $ref: "#/parameters/rowFilter.item.type",
+ $ref: "#/parameters/rowFilter.buyMethod.id",
},
{
- $ref: "#/parameters/rowFilter.item.replenishmentSystem",
+ $ref: "#/parameters/rowFilter.buyMethod.itemId",
},
{
- $ref: "#/parameters/rowFilter.item.defaultMethodType",
+ $ref: "#/parameters/rowFilter.buyMethod.supplierId",
},
{
- $ref: "#/parameters/rowFilter.item.itemTrackingType",
+ $ref: "#/parameters/rowFilter.buyMethod.supplierPartId",
},
{
- $ref: "#/parameters/rowFilter.item.unitOfMeasureCode",
+ $ref: "#/parameters/rowFilter.buyMethod.supplierUnitOfMeasureCode",
},
{
- $ref: "#/parameters/rowFilter.item.active",
+ $ref: "#/parameters/rowFilter.buyMethod.minimumOrderQuantity",
},
{
- $ref: "#/parameters/rowFilter.item.companyId",
+ $ref: "#/parameters/rowFilter.buyMethod.conversionFactor",
},
{
- $ref: "#/parameters/rowFilter.item.createdBy",
+ $ref: "#/parameters/rowFilter.buyMethod.active",
},
{
- $ref: "#/parameters/rowFilter.item.createdAt",
+ $ref: "#/parameters/rowFilter.buyMethod.companyId",
},
{
- $ref: "#/parameters/rowFilter.item.updatedBy",
+ $ref: "#/parameters/rowFilter.buyMethod.createdBy",
},
{
- $ref: "#/parameters/rowFilter.item.updatedAt",
+ $ref: "#/parameters/rowFilter.buyMethod.createdAt",
},
{
- $ref: "#/parameters/rowFilter.item.assignee",
+ $ref: "#/parameters/rowFilter.buyMethod.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.item.modelUploadId",
+ $ref: "#/parameters/rowFilter.buyMethod.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.item.externalId",
+ $ref: "#/parameters/rowFilter.buyMethod.customFields",
},
{
- $ref: "#/parameters/rowFilter.item.thumbnailPath",
+ $ref: "#/parameters/rowFilter.buyMethod.unitPrice",
},
{
$ref: "#/parameters/preferReturn",
@@ -5804,69 +6200,57 @@ export default {
description: "No Content",
},
},
- tags: ["item"],
+ tags: ["buyMethod"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.item.id",
- },
- {
- $ref: "#/parameters/rowFilter.item.readableId",
- },
- {
- $ref: "#/parameters/rowFilter.item.name",
- },
- {
- $ref: "#/parameters/rowFilter.item.description",
- },
- {
- $ref: "#/parameters/rowFilter.item.type",
+ $ref: "#/parameters/rowFilter.buyMethod.id",
},
{
- $ref: "#/parameters/rowFilter.item.replenishmentSystem",
+ $ref: "#/parameters/rowFilter.buyMethod.itemId",
},
{
- $ref: "#/parameters/rowFilter.item.defaultMethodType",
+ $ref: "#/parameters/rowFilter.buyMethod.supplierId",
},
{
- $ref: "#/parameters/rowFilter.item.itemTrackingType",
+ $ref: "#/parameters/rowFilter.buyMethod.supplierPartId",
},
{
- $ref: "#/parameters/rowFilter.item.unitOfMeasureCode",
+ $ref: "#/parameters/rowFilter.buyMethod.supplierUnitOfMeasureCode",
},
{
- $ref: "#/parameters/rowFilter.item.active",
+ $ref: "#/parameters/rowFilter.buyMethod.minimumOrderQuantity",
},
{
- $ref: "#/parameters/rowFilter.item.companyId",
+ $ref: "#/parameters/rowFilter.buyMethod.conversionFactor",
},
{
- $ref: "#/parameters/rowFilter.item.createdBy",
+ $ref: "#/parameters/rowFilter.buyMethod.active",
},
{
- $ref: "#/parameters/rowFilter.item.createdAt",
+ $ref: "#/parameters/rowFilter.buyMethod.companyId",
},
{
- $ref: "#/parameters/rowFilter.item.updatedBy",
+ $ref: "#/parameters/rowFilter.buyMethod.createdBy",
},
{
- $ref: "#/parameters/rowFilter.item.updatedAt",
+ $ref: "#/parameters/rowFilter.buyMethod.createdAt",
},
{
- $ref: "#/parameters/rowFilter.item.assignee",
+ $ref: "#/parameters/rowFilter.buyMethod.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.item.modelUploadId",
+ $ref: "#/parameters/rowFilter.buyMethod.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.item.externalId",
+ $ref: "#/parameters/rowFilter.buyMethod.customFields",
},
{
- $ref: "#/parameters/rowFilter.item.thumbnailPath",
+ $ref: "#/parameters/rowFilter.buyMethod.unitPrice",
},
{
- $ref: "#/parameters/body.item",
+ $ref: "#/parameters/body.buyMethod",
},
{
$ref: "#/parameters/preferReturn",
@@ -5877,65 +6261,56 @@ export default {
description: "No Content",
},
},
- tags: ["item"],
+ tags: ["buyMethod"],
},
},
- "/receipt": {
+ "/itemLedger": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.receipt.id",
- },
- {
- $ref: "#/parameters/rowFilter.receipt.receiptId",
- },
- {
- $ref: "#/parameters/rowFilter.receipt.locationId",
- },
- {
- $ref: "#/parameters/rowFilter.receipt.sourceDocument",
+ $ref: "#/parameters/rowFilter.itemLedger.id",
},
{
- $ref: "#/parameters/rowFilter.receipt.sourceDocumentId",
+ $ref: "#/parameters/rowFilter.itemLedger.entryNumber",
},
{
- $ref: "#/parameters/rowFilter.receipt.sourceDocumentReadableId",
+ $ref: "#/parameters/rowFilter.itemLedger.postingDate",
},
{
- $ref: "#/parameters/rowFilter.receipt.externalDocumentId",
+ $ref: "#/parameters/rowFilter.itemLedger.entryType",
},
{
- $ref: "#/parameters/rowFilter.receipt.supplierId",
+ $ref: "#/parameters/rowFilter.itemLedger.documentType",
},
{
- $ref: "#/parameters/rowFilter.receipt.status",
+ $ref: "#/parameters/rowFilter.itemLedger.documentId",
},
{
- $ref: "#/parameters/rowFilter.receipt.postingDate",
+ $ref: "#/parameters/rowFilter.itemLedger.externalDocumentId",
},
{
- $ref: "#/parameters/rowFilter.receipt.invoiced",
+ $ref: "#/parameters/rowFilter.itemLedger.itemId",
},
{
- $ref: "#/parameters/rowFilter.receipt.assignee",
+ $ref: "#/parameters/rowFilter.itemLedger.itemReadableId",
},
{
- $ref: "#/parameters/rowFilter.receipt.companyId",
+ $ref: "#/parameters/rowFilter.itemLedger.locationId",
},
{
- $ref: "#/parameters/rowFilter.receipt.createdAt",
+ $ref: "#/parameters/rowFilter.itemLedger.shelfId",
},
{
- $ref: "#/parameters/rowFilter.receipt.createdBy",
+ $ref: "#/parameters/rowFilter.itemLedger.quantity",
},
{
- $ref: "#/parameters/rowFilter.receipt.updatedAt",
+ $ref: "#/parameters/rowFilter.itemLedger.companyId",
},
{
- $ref: "#/parameters/rowFilter.receipt.updatedBy",
+ $ref: "#/parameters/rowFilter.itemLedger.createdAt",
},
{
- $ref: "#/parameters/rowFilter.receipt.customFields",
+ $ref: "#/parameters/rowFilter.itemLedger.createdBy",
},
{
$ref: "#/parameters/select",
@@ -5964,7 +6339,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/receipt",
+ $ref: "#/definitions/itemLedger",
},
type: "array",
},
@@ -5973,12 +6348,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["receipt"],
+ tags: ["itemLedger"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.receipt",
+ $ref: "#/parameters/body.itemLedger",
},
{
$ref: "#/parameters/select",
@@ -5992,63 +6367,54 @@ export default {
description: "Created",
},
},
- tags: ["receipt"],
+ tags: ["itemLedger"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.receipt.id",
- },
- {
- $ref: "#/parameters/rowFilter.receipt.receiptId",
- },
- {
- $ref: "#/parameters/rowFilter.receipt.locationId",
- },
- {
- $ref: "#/parameters/rowFilter.receipt.sourceDocument",
+ $ref: "#/parameters/rowFilter.itemLedger.id",
},
{
- $ref: "#/parameters/rowFilter.receipt.sourceDocumentId",
+ $ref: "#/parameters/rowFilter.itemLedger.entryNumber",
},
{
- $ref: "#/parameters/rowFilter.receipt.sourceDocumentReadableId",
+ $ref: "#/parameters/rowFilter.itemLedger.postingDate",
},
{
- $ref: "#/parameters/rowFilter.receipt.externalDocumentId",
+ $ref: "#/parameters/rowFilter.itemLedger.entryType",
},
{
- $ref: "#/parameters/rowFilter.receipt.supplierId",
+ $ref: "#/parameters/rowFilter.itemLedger.documentType",
},
{
- $ref: "#/parameters/rowFilter.receipt.status",
+ $ref: "#/parameters/rowFilter.itemLedger.documentId",
},
{
- $ref: "#/parameters/rowFilter.receipt.postingDate",
+ $ref: "#/parameters/rowFilter.itemLedger.externalDocumentId",
},
{
- $ref: "#/parameters/rowFilter.receipt.invoiced",
+ $ref: "#/parameters/rowFilter.itemLedger.itemId",
},
{
- $ref: "#/parameters/rowFilter.receipt.assignee",
+ $ref: "#/parameters/rowFilter.itemLedger.itemReadableId",
},
{
- $ref: "#/parameters/rowFilter.receipt.companyId",
+ $ref: "#/parameters/rowFilter.itemLedger.locationId",
},
{
- $ref: "#/parameters/rowFilter.receipt.createdAt",
+ $ref: "#/parameters/rowFilter.itemLedger.shelfId",
},
{
- $ref: "#/parameters/rowFilter.receipt.createdBy",
+ $ref: "#/parameters/rowFilter.itemLedger.quantity",
},
{
- $ref: "#/parameters/rowFilter.receipt.updatedAt",
+ $ref: "#/parameters/rowFilter.itemLedger.companyId",
},
{
- $ref: "#/parameters/rowFilter.receipt.updatedBy",
+ $ref: "#/parameters/rowFilter.itemLedger.createdAt",
},
{
- $ref: "#/parameters/rowFilter.receipt.customFields",
+ $ref: "#/parameters/rowFilter.itemLedger.createdBy",
},
{
$ref: "#/parameters/preferReturn",
@@ -6059,66 +6425,57 @@ export default {
description: "No Content",
},
},
- tags: ["receipt"],
+ tags: ["itemLedger"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.receipt.id",
- },
- {
- $ref: "#/parameters/rowFilter.receipt.receiptId",
- },
- {
- $ref: "#/parameters/rowFilter.receipt.locationId",
- },
- {
- $ref: "#/parameters/rowFilter.receipt.sourceDocument",
+ $ref: "#/parameters/rowFilter.itemLedger.id",
},
{
- $ref: "#/parameters/rowFilter.receipt.sourceDocumentId",
+ $ref: "#/parameters/rowFilter.itemLedger.entryNumber",
},
{
- $ref: "#/parameters/rowFilter.receipt.sourceDocumentReadableId",
+ $ref: "#/parameters/rowFilter.itemLedger.postingDate",
},
{
- $ref: "#/parameters/rowFilter.receipt.externalDocumentId",
+ $ref: "#/parameters/rowFilter.itemLedger.entryType",
},
{
- $ref: "#/parameters/rowFilter.receipt.supplierId",
+ $ref: "#/parameters/rowFilter.itemLedger.documentType",
},
{
- $ref: "#/parameters/rowFilter.receipt.status",
+ $ref: "#/parameters/rowFilter.itemLedger.documentId",
},
{
- $ref: "#/parameters/rowFilter.receipt.postingDate",
+ $ref: "#/parameters/rowFilter.itemLedger.externalDocumentId",
},
{
- $ref: "#/parameters/rowFilter.receipt.invoiced",
+ $ref: "#/parameters/rowFilter.itemLedger.itemId",
},
{
- $ref: "#/parameters/rowFilter.receipt.assignee",
+ $ref: "#/parameters/rowFilter.itemLedger.itemReadableId",
},
{
- $ref: "#/parameters/rowFilter.receipt.companyId",
+ $ref: "#/parameters/rowFilter.itemLedger.locationId",
},
{
- $ref: "#/parameters/rowFilter.receipt.createdAt",
+ $ref: "#/parameters/rowFilter.itemLedger.shelfId",
},
{
- $ref: "#/parameters/rowFilter.receipt.createdBy",
+ $ref: "#/parameters/rowFilter.itemLedger.quantity",
},
{
- $ref: "#/parameters/rowFilter.receipt.updatedAt",
+ $ref: "#/parameters/rowFilter.itemLedger.companyId",
},
{
- $ref: "#/parameters/rowFilter.receipt.updatedBy",
+ $ref: "#/parameters/rowFilter.itemLedger.createdAt",
},
{
- $ref: "#/parameters/rowFilter.receipt.customFields",
+ $ref: "#/parameters/rowFilter.itemLedger.createdBy",
},
{
- $ref: "#/parameters/body.receipt",
+ $ref: "#/parameters/body.itemLedger",
},
{
$ref: "#/parameters/preferReturn",
@@ -6129,26 +6486,35 @@ export default {
description: "No Content",
},
},
- tags: ["receipt"],
+ tags: ["itemLedger"],
},
},
- "/purchaseOrderTransaction": {
+ "/shippingTerm": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.purchaseOrderTransaction.id",
+ $ref: "#/parameters/rowFilter.shippingTerm.id",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderTransaction.purchaseOrderId",
+ $ref: "#/parameters/rowFilter.shippingTerm.name",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderTransaction.type",
+ $ref: "#/parameters/rowFilter.shippingTerm.active",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderTransaction.userId",
+ $ref: "#/parameters/rowFilter.shippingTerm.companyId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderTransaction.createdAt",
+ $ref: "#/parameters/rowFilter.shippingTerm.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shippingTerm.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shippingTerm.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shippingTerm.updatedBy",
},
{
$ref: "#/parameters/select",
@@ -6177,7 +6543,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/purchaseOrderTransaction",
+ $ref: "#/definitions/shippingTerm",
},
type: "array",
},
@@ -6186,12 +6552,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["purchaseOrderTransaction"],
+ tags: ["shippingTerm"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.purchaseOrderTransaction",
+ $ref: "#/parameters/body.shippingTerm",
},
{
$ref: "#/parameters/select",
@@ -6205,24 +6571,33 @@ export default {
description: "Created",
},
},
- tags: ["purchaseOrderTransaction"],
+ tags: ["shippingTerm"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.purchaseOrderTransaction.id",
+ $ref: "#/parameters/rowFilter.shippingTerm.id",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderTransaction.purchaseOrderId",
+ $ref: "#/parameters/rowFilter.shippingTerm.name",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderTransaction.type",
+ $ref: "#/parameters/rowFilter.shippingTerm.active",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderTransaction.userId",
+ $ref: "#/parameters/rowFilter.shippingTerm.companyId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderTransaction.createdAt",
+ $ref: "#/parameters/rowFilter.shippingTerm.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shippingTerm.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shippingTerm.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shippingTerm.updatedBy",
},
{
$ref: "#/parameters/preferReturn",
@@ -6233,27 +6608,36 @@ export default {
description: "No Content",
},
},
- tags: ["purchaseOrderTransaction"],
+ tags: ["shippingTerm"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.purchaseOrderTransaction.id",
+ $ref: "#/parameters/rowFilter.shippingTerm.id",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderTransaction.purchaseOrderId",
+ $ref: "#/parameters/rowFilter.shippingTerm.name",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderTransaction.type",
+ $ref: "#/parameters/rowFilter.shippingTerm.active",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderTransaction.userId",
+ $ref: "#/parameters/rowFilter.shippingTerm.companyId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderTransaction.createdAt",
+ $ref: "#/parameters/rowFilter.shippingTerm.createdAt",
},
{
- $ref: "#/parameters/body.purchaseOrderTransaction",
+ $ref: "#/parameters/rowFilter.shippingTerm.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shippingTerm.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shippingTerm.updatedBy",
+ },
+ {
+ $ref: "#/parameters/body.shippingTerm",
},
{
$ref: "#/parameters/preferReturn",
@@ -6264,26 +6648,38 @@ export default {
description: "No Content",
},
},
- tags: ["purchaseOrderTransaction"],
+ tags: ["shippingTerm"],
},
},
- "/supplierLocation": {
+ "/supplierType": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.supplierLocation.id",
+ $ref: "#/parameters/rowFilter.supplierType.id",
},
{
- $ref: "#/parameters/rowFilter.supplierLocation.supplierId",
+ $ref: "#/parameters/rowFilter.supplierType.name",
},
{
- $ref: "#/parameters/rowFilter.supplierLocation.addressId",
+ $ref: "#/parameters/rowFilter.supplierType.protected",
},
{
- $ref: "#/parameters/rowFilter.supplierLocation.customFields",
+ $ref: "#/parameters/rowFilter.supplierType.companyId",
},
{
- $ref: "#/parameters/rowFilter.supplierLocation.name",
+ $ref: "#/parameters/rowFilter.supplierType.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierType.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierType.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierType.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierType.customFields",
},
{
$ref: "#/parameters/select",
@@ -6312,7 +6708,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/supplierLocation",
+ $ref: "#/definitions/supplierType",
},
type: "array",
},
@@ -6321,12 +6717,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["supplierLocation"],
+ tags: ["supplierType"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.supplierLocation",
+ $ref: "#/parameters/body.supplierType",
},
{
$ref: "#/parameters/select",
@@ -6340,24 +6736,36 @@ export default {
description: "Created",
},
},
- tags: ["supplierLocation"],
+ tags: ["supplierType"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.supplierLocation.id",
+ $ref: "#/parameters/rowFilter.supplierType.id",
},
{
- $ref: "#/parameters/rowFilter.supplierLocation.supplierId",
+ $ref: "#/parameters/rowFilter.supplierType.name",
},
{
- $ref: "#/parameters/rowFilter.supplierLocation.addressId",
+ $ref: "#/parameters/rowFilter.supplierType.protected",
},
{
- $ref: "#/parameters/rowFilter.supplierLocation.customFields",
+ $ref: "#/parameters/rowFilter.supplierType.companyId",
},
{
- $ref: "#/parameters/rowFilter.supplierLocation.name",
+ $ref: "#/parameters/rowFilter.supplierType.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierType.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierType.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierType.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierType.customFields",
},
{
$ref: "#/parameters/preferReturn",
@@ -6368,27 +6776,39 @@ export default {
description: "No Content",
},
},
- tags: ["supplierLocation"],
+ tags: ["supplierType"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.supplierLocation.id",
+ $ref: "#/parameters/rowFilter.supplierType.id",
},
{
- $ref: "#/parameters/rowFilter.supplierLocation.supplierId",
+ $ref: "#/parameters/rowFilter.supplierType.name",
},
{
- $ref: "#/parameters/rowFilter.supplierLocation.addressId",
+ $ref: "#/parameters/rowFilter.supplierType.protected",
},
{
- $ref: "#/parameters/rowFilter.supplierLocation.customFields",
+ $ref: "#/parameters/rowFilter.supplierType.companyId",
},
{
- $ref: "#/parameters/rowFilter.supplierLocation.name",
+ $ref: "#/parameters/rowFilter.supplierType.createdAt",
},
{
- $ref: "#/parameters/body.supplierLocation",
+ $ref: "#/parameters/rowFilter.supplierType.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierType.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierType.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierType.customFields",
+ },
+ {
+ $ref: "#/parameters/body.supplierType",
},
{
$ref: "#/parameters/preferReturn",
@@ -6399,38 +6819,38 @@ export default {
description: "No Content",
},
},
- tags: ["supplierLocation"],
+ tags: ["supplierType"],
},
},
- "/contractor": {
+ "/customerType": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.contractor.id",
+ $ref: "#/parameters/rowFilter.customerType.id",
},
{
- $ref: "#/parameters/rowFilter.contractor.hoursPerWeek",
+ $ref: "#/parameters/rowFilter.customerType.name",
},
{
- $ref: "#/parameters/rowFilter.contractor.active",
+ $ref: "#/parameters/rowFilter.customerType.protected",
},
{
- $ref: "#/parameters/rowFilter.contractor.companyId",
+ $ref: "#/parameters/rowFilter.customerType.companyId",
},
{
- $ref: "#/parameters/rowFilter.contractor.createdBy",
+ $ref: "#/parameters/rowFilter.customerType.createdAt",
},
{
- $ref: "#/parameters/rowFilter.contractor.createdAt",
+ $ref: "#/parameters/rowFilter.customerType.createdBy",
},
{
- $ref: "#/parameters/rowFilter.contractor.updatedBy",
+ $ref: "#/parameters/rowFilter.customerType.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.contractor.updatedAt",
+ $ref: "#/parameters/rowFilter.customerType.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.contractor.customFields",
+ $ref: "#/parameters/rowFilter.customerType.customFields",
},
{
$ref: "#/parameters/select",
@@ -6459,7 +6879,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/contractor",
+ $ref: "#/definitions/customerType",
},
type: "array",
},
@@ -6468,12 +6888,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["contractor"],
+ tags: ["customerType"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.contractor",
+ $ref: "#/parameters/body.customerType",
},
{
$ref: "#/parameters/select",
@@ -6487,36 +6907,36 @@ export default {
description: "Created",
},
},
- tags: ["contractor"],
+ tags: ["customerType"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.contractor.id",
+ $ref: "#/parameters/rowFilter.customerType.id",
},
{
- $ref: "#/parameters/rowFilter.contractor.hoursPerWeek",
+ $ref: "#/parameters/rowFilter.customerType.name",
},
{
- $ref: "#/parameters/rowFilter.contractor.active",
+ $ref: "#/parameters/rowFilter.customerType.protected",
},
{
- $ref: "#/parameters/rowFilter.contractor.companyId",
+ $ref: "#/parameters/rowFilter.customerType.companyId",
},
{
- $ref: "#/parameters/rowFilter.contractor.createdBy",
+ $ref: "#/parameters/rowFilter.customerType.createdAt",
},
{
- $ref: "#/parameters/rowFilter.contractor.createdAt",
+ $ref: "#/parameters/rowFilter.customerType.createdBy",
},
{
- $ref: "#/parameters/rowFilter.contractor.updatedBy",
+ $ref: "#/parameters/rowFilter.customerType.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.contractor.updatedAt",
+ $ref: "#/parameters/rowFilter.customerType.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.contractor.customFields",
+ $ref: "#/parameters/rowFilter.customerType.customFields",
},
{
$ref: "#/parameters/preferReturn",
@@ -6527,39 +6947,39 @@ export default {
description: "No Content",
},
},
- tags: ["contractor"],
+ tags: ["customerType"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.contractor.id",
+ $ref: "#/parameters/rowFilter.customerType.id",
},
{
- $ref: "#/parameters/rowFilter.contractor.hoursPerWeek",
+ $ref: "#/parameters/rowFilter.customerType.name",
},
{
- $ref: "#/parameters/rowFilter.contractor.active",
+ $ref: "#/parameters/rowFilter.customerType.protected",
},
{
- $ref: "#/parameters/rowFilter.contractor.companyId",
+ $ref: "#/parameters/rowFilter.customerType.companyId",
},
{
- $ref: "#/parameters/rowFilter.contractor.createdBy",
+ $ref: "#/parameters/rowFilter.customerType.createdAt",
},
{
- $ref: "#/parameters/rowFilter.contractor.createdAt",
+ $ref: "#/parameters/rowFilter.customerType.createdBy",
},
{
- $ref: "#/parameters/rowFilter.contractor.updatedBy",
+ $ref: "#/parameters/rowFilter.customerType.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.contractor.updatedAt",
+ $ref: "#/parameters/rowFilter.customerType.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.contractor.customFields",
+ $ref: "#/parameters/rowFilter.customerType.customFields",
},
{
- $ref: "#/parameters/body.contractor",
+ $ref: "#/parameters/body.customerType",
},
{
$ref: "#/parameters/preferReturn",
@@ -6570,173 +6990,182 @@ export default {
description: "No Content",
},
},
- tags: ["contractor"],
+ tags: ["customerType"],
},
},
- "/jobOperationsWithMakeMethods": {
+ "/shippingTerm": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.makeMethodId",
+ $ref: "#/parameters/rowFilter.shippingTerm.id",
},
{
- $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.id",
+ $ref: "#/parameters/rowFilter.shippingTerm.name",
},
{
- $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.jobId",
+ $ref: "#/parameters/rowFilter.shippingTerm.active",
},
{
- $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.jobMakeMethodId",
+ $ref: "#/parameters/rowFilter.shippingTerm.companyId",
},
{
- $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.order",
+ $ref: "#/parameters/rowFilter.shippingTerm.createdAt",
},
{
- $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.processId",
+ $ref: "#/parameters/rowFilter.shippingTerm.createdBy",
},
{
- $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.workCenterId",
+ $ref: "#/parameters/rowFilter.shippingTerm.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.description",
+ $ref: "#/parameters/rowFilter.shippingTerm.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.setupTime",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.setupUnit",
+ $ref: "#/parameters/order",
},
{
- $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.laborTime",
+ $ref: "#/parameters/range",
},
{
- $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.laborUnit",
+ $ref: "#/parameters/rangeUnit",
},
{
- $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.machineTime",
+ $ref: "#/parameters/offset",
},
{
- $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.machineUnit",
+ $ref: "#/parameters/limit",
},
{
- $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.operationOrder",
+ $ref: "#/parameters/preferCount",
},
- {
- $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.laborRate",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/shippingTerm",
+ },
+ type: "array",
+ },
},
+ "206": {
+ description: "Partial Content",
+ },
+ },
+ tags: ["shippingTerm"],
+ },
+ post: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.overheadRate",
+ $ref: "#/parameters/body.shippingTerm",
},
{
- $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.machineRate",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.operationType",
- },
- {
- $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.operationMinimumCost",
- },
- {
- $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.operationLeadTime",
+ $ref: "#/parameters/preferPost",
},
- {
- $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.operationUnitCost",
+ ],
+ responses: {
+ "201": {
+ description: "Created",
},
+ },
+ tags: ["shippingTerm"],
+ },
+ delete: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.operationSupplierProcessId",
+ $ref: "#/parameters/rowFilter.shippingTerm.id",
},
{
- $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.workInstruction",
+ $ref: "#/parameters/rowFilter.shippingTerm.name",
},
{
- $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.companyId",
+ $ref: "#/parameters/rowFilter.shippingTerm.active",
},
{
- $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.createdAt",
+ $ref: "#/parameters/rowFilter.shippingTerm.companyId",
},
{
- $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.createdBy",
+ $ref: "#/parameters/rowFilter.shippingTerm.createdAt",
},
{
- $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.updatedAt",
+ $ref: "#/parameters/rowFilter.shippingTerm.createdBy",
},
{
- $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.updatedBy",
+ $ref: "#/parameters/rowFilter.shippingTerm.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.customFields",
+ $ref: "#/parameters/rowFilter.shippingTerm.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.operationQuantity",
+ $ref: "#/parameters/preferReturn",
},
- {
- $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.quantityComplete",
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
},
+ },
+ tags: ["shippingTerm"],
+ },
+ patch: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.quantityScrapped",
+ $ref: "#/parameters/rowFilter.shippingTerm.id",
},
{
- $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.quantityReworked",
+ $ref: "#/parameters/rowFilter.shippingTerm.name",
},
{
- $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.status",
+ $ref: "#/parameters/rowFilter.shippingTerm.active",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.shippingTerm.companyId",
},
{
- $ref: "#/parameters/order",
+ $ref: "#/parameters/rowFilter.shippingTerm.createdAt",
},
{
- $ref: "#/parameters/range",
+ $ref: "#/parameters/rowFilter.shippingTerm.createdBy",
},
{
- $ref: "#/parameters/rangeUnit",
+ $ref: "#/parameters/rowFilter.shippingTerm.updatedAt",
},
{
- $ref: "#/parameters/offset",
+ $ref: "#/parameters/rowFilter.shippingTerm.updatedBy",
},
{
- $ref: "#/parameters/limit",
+ $ref: "#/parameters/body.shippingTerm",
},
{
- $ref: "#/parameters/preferCount",
+ $ref: "#/parameters/preferReturn",
},
],
responses: {
- "200": {
- description: "OK",
- schema: {
- items: {
- $ref: "#/definitions/jobOperationsWithMakeMethods",
- },
- type: "array",
- },
- },
- "206": {
- description: "Partial Content",
+ "204": {
+ description: "No Content",
},
},
- tags: ["jobOperationsWithMakeMethods"],
+ tags: ["shippingTerm"],
},
},
- "/customerLocation": {
+ "/customerAccount": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.customerLocation.id",
- },
- {
- $ref: "#/parameters/rowFilter.customerLocation.customerId",
- },
- {
- $ref: "#/parameters/rowFilter.customerLocation.addressId",
+ $ref: "#/parameters/rowFilter.customerAccount.id",
},
{
- $ref: "#/parameters/rowFilter.customerLocation.customFields",
+ $ref: "#/parameters/rowFilter.customerAccount.customerId",
},
{
- $ref: "#/parameters/rowFilter.customerLocation.name",
+ $ref: "#/parameters/rowFilter.customerAccount.companyId",
},
{
$ref: "#/parameters/select",
@@ -6765,7 +7194,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/customerLocation",
+ $ref: "#/definitions/customerAccount",
},
type: "array",
},
@@ -6774,12 +7203,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["customerLocation"],
+ tags: ["customerAccount"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.customerLocation",
+ $ref: "#/parameters/body.customerAccount",
},
{
$ref: "#/parameters/select",
@@ -6793,24 +7222,18 @@ export default {
description: "Created",
},
},
- tags: ["customerLocation"],
+ tags: ["customerAccount"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.customerLocation.id",
- },
- {
- $ref: "#/parameters/rowFilter.customerLocation.customerId",
- },
- {
- $ref: "#/parameters/rowFilter.customerLocation.addressId",
+ $ref: "#/parameters/rowFilter.customerAccount.id",
},
{
- $ref: "#/parameters/rowFilter.customerLocation.customFields",
+ $ref: "#/parameters/rowFilter.customerAccount.customerId",
},
{
- $ref: "#/parameters/rowFilter.customerLocation.name",
+ $ref: "#/parameters/rowFilter.customerAccount.companyId",
},
{
$ref: "#/parameters/preferReturn",
@@ -6821,27 +7244,21 @@ export default {
description: "No Content",
},
},
- tags: ["customerLocation"],
+ tags: ["customerAccount"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.customerLocation.id",
- },
- {
- $ref: "#/parameters/rowFilter.customerLocation.customerId",
- },
- {
- $ref: "#/parameters/rowFilter.customerLocation.addressId",
+ $ref: "#/parameters/rowFilter.customerAccount.id",
},
{
- $ref: "#/parameters/rowFilter.customerLocation.customFields",
+ $ref: "#/parameters/rowFilter.customerAccount.customerId",
},
{
- $ref: "#/parameters/rowFilter.customerLocation.name",
+ $ref: "#/parameters/rowFilter.customerAccount.companyId",
},
{
- $ref: "#/parameters/body.customerLocation",
+ $ref: "#/parameters/body.customerAccount",
},
{
$ref: "#/parameters/preferReturn",
@@ -6852,170 +7269,134 @@ export default {
description: "No Content",
},
},
- tags: ["customerLocation"],
+ tags: ["customerAccount"],
},
},
- "/membership": {
+ "/accountDefault": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.membership.id",
+ $ref: "#/parameters/rowFilter.accountDefault.companyId",
},
{
- $ref: "#/parameters/rowFilter.membership.groupId",
+ $ref: "#/parameters/rowFilter.accountDefault.salesAccount",
},
{
- $ref: "#/parameters/rowFilter.membership.memberGroupId",
+ $ref: "#/parameters/rowFilter.accountDefault.salesDiscountAccount",
},
{
- $ref: "#/parameters/rowFilter.membership.memberUserId",
+ $ref: "#/parameters/rowFilter.accountDefault.costOfGoodsSoldAccount",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.accountDefault.purchaseAccount",
},
{
- $ref: "#/parameters/order",
+ $ref: "#/parameters/rowFilter.accountDefault.directCostAppliedAccount",
},
{
- $ref: "#/parameters/range",
+ $ref: "#/parameters/rowFilter.accountDefault.overheadCostAppliedAccount",
},
{
- $ref: "#/parameters/rangeUnit",
+ $ref: "#/parameters/rowFilter.accountDefault.purchaseVarianceAccount",
},
{
- $ref: "#/parameters/offset",
+ $ref: "#/parameters/rowFilter.accountDefault.inventoryAdjustmentVarianceAccount",
},
{
- $ref: "#/parameters/limit",
+ $ref: "#/parameters/rowFilter.accountDefault.materialVarianceAccount",
},
{
- $ref: "#/parameters/preferCount",
+ $ref: "#/parameters/rowFilter.accountDefault.capacityVarianceAccount",
},
- ],
- responses: {
- "200": {
- description: "OK",
- schema: {
- items: {
- $ref: "#/definitions/membership",
- },
- type: "array",
- },
+ {
+ $ref: "#/parameters/rowFilter.accountDefault.overheadAccount",
},
- "206": {
- description: "Partial Content",
+ {
+ $ref: "#/parameters/rowFilter.accountDefault.maintenanceAccount",
},
- },
- tags: ["membership"],
- },
- post: {
- parameters: [
{
- $ref: "#/parameters/body.membership",
+ $ref: "#/parameters/rowFilter.accountDefault.assetDepreciationExpenseAccount",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.accountDefault.assetGainsAndLossesAccount",
},
{
- $ref: "#/parameters/preferPost",
+ $ref: "#/parameters/rowFilter.accountDefault.serviceChargeAccount",
},
- ],
- responses: {
- "201": {
- description: "Created",
+ {
+ $ref: "#/parameters/rowFilter.accountDefault.interestAccount",
},
- },
- tags: ["membership"],
- },
- delete: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.membership.id",
+ $ref: "#/parameters/rowFilter.accountDefault.supplierPaymentDiscountAccount",
},
{
- $ref: "#/parameters/rowFilter.membership.groupId",
+ $ref: "#/parameters/rowFilter.accountDefault.customerPaymentDiscountAccount",
},
{
- $ref: "#/parameters/rowFilter.membership.memberGroupId",
+ $ref: "#/parameters/rowFilter.accountDefault.roundingAccount",
},
{
- $ref: "#/parameters/rowFilter.membership.memberUserId",
+ $ref: "#/parameters/rowFilter.accountDefault.assetAquisitionCostAccount",
},
{
- $ref: "#/parameters/preferReturn",
+ $ref: "#/parameters/rowFilter.accountDefault.assetAquisitionCostOnDisposalAccount",
},
- ],
- responses: {
- "204": {
- description: "No Content",
+ {
+ $ref: "#/parameters/rowFilter.accountDefault.accumulatedDepreciationAccount",
},
- },
- tags: ["membership"],
- },
- patch: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.membership.id",
+ $ref: "#/parameters/rowFilter.accountDefault.accumulatedDepreciationOnDisposalAccount",
},
{
- $ref: "#/parameters/rowFilter.membership.groupId",
+ $ref: "#/parameters/rowFilter.accountDefault.inventoryAccount",
},
{
- $ref: "#/parameters/rowFilter.membership.memberGroupId",
+ $ref: "#/parameters/rowFilter.accountDefault.inventoryInterimAccrualAccount",
},
{
- $ref: "#/parameters/rowFilter.membership.memberUserId",
+ $ref: "#/parameters/rowFilter.accountDefault.workInProgressAccount",
},
{
- $ref: "#/parameters/body.membership",
+ $ref: "#/parameters/rowFilter.accountDefault.receivablesAccount",
},
{
- $ref: "#/parameters/preferReturn",
+ $ref: "#/parameters/rowFilter.accountDefault.inventoryShippedNotInvoicedAccount",
},
- ],
- responses: {
- "204": {
- description: "No Content",
+ {
+ $ref: "#/parameters/rowFilter.accountDefault.inventoryInvoicedNotReceivedAccount",
},
- },
- tags: ["membership"],
- },
- },
- "/postingGroupSales": {
- get: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.postingGroupSales.id",
+ $ref: "#/parameters/rowFilter.accountDefault.bankCashAccount",
},
{
- $ref: "#/parameters/rowFilter.postingGroupSales.customerTypeId",
+ $ref: "#/parameters/rowFilter.accountDefault.bankLocalCurrencyAccount",
},
{
- $ref: "#/parameters/rowFilter.postingGroupSales.itemPostingGroupId",
+ $ref: "#/parameters/rowFilter.accountDefault.bankForeignCurrencyAccount",
},
{
- $ref: "#/parameters/rowFilter.postingGroupSales.receivablesAccount",
+ $ref: "#/parameters/rowFilter.accountDefault.prepaymentAccount",
},
{
- $ref: "#/parameters/rowFilter.postingGroupSales.salesAccount",
+ $ref: "#/parameters/rowFilter.accountDefault.payablesAccount",
},
{
- $ref: "#/parameters/rowFilter.postingGroupSales.salesDiscountAccount",
+ $ref: "#/parameters/rowFilter.accountDefault.inventoryReceivedNotInvoicedAccount",
},
{
- $ref: "#/parameters/rowFilter.postingGroupSales.salesCreditAccount",
+ $ref: "#/parameters/rowFilter.accountDefault.salesTaxPayableAccount",
},
{
- $ref: "#/parameters/rowFilter.postingGroupSales.salesPrepaymentAccount",
+ $ref: "#/parameters/rowFilter.accountDefault.purchaseTaxPayableAccount",
},
{
- $ref: "#/parameters/rowFilter.postingGroupSales.salesTaxPayableAccount",
+ $ref: "#/parameters/rowFilter.accountDefault.reverseChargeSalesTaxPayableAccount",
},
{
- $ref: "#/parameters/rowFilter.postingGroupSales.companyId",
+ $ref: "#/parameters/rowFilter.accountDefault.retainedEarningsAccount",
},
{
- $ref: "#/parameters/rowFilter.postingGroupSales.updatedBy",
+ $ref: "#/parameters/rowFilter.accountDefault.updatedBy",
},
{
$ref: "#/parameters/select",
@@ -7044,7 +7425,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/postingGroupSales",
+ $ref: "#/definitions/accountDefault",
},
type: "array",
},
@@ -7053,12 +7434,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["postingGroupSales"],
+ tags: ["accountDefault"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.postingGroupSales",
+ $ref: "#/parameters/body.accountDefault",
},
{
$ref: "#/parameters/select",
@@ -7072,424 +7453,325 @@ export default {
description: "Created",
},
},
- tags: ["postingGroupSales"],
+ tags: ["accountDefault"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.postingGroupSales.id",
+ $ref: "#/parameters/rowFilter.accountDefault.companyId",
},
{
- $ref: "#/parameters/rowFilter.postingGroupSales.customerTypeId",
+ $ref: "#/parameters/rowFilter.accountDefault.salesAccount",
},
{
- $ref: "#/parameters/rowFilter.postingGroupSales.itemPostingGroupId",
+ $ref: "#/parameters/rowFilter.accountDefault.salesDiscountAccount",
},
{
- $ref: "#/parameters/rowFilter.postingGroupSales.receivablesAccount",
+ $ref: "#/parameters/rowFilter.accountDefault.costOfGoodsSoldAccount",
},
{
- $ref: "#/parameters/rowFilter.postingGroupSales.salesAccount",
+ $ref: "#/parameters/rowFilter.accountDefault.purchaseAccount",
},
{
- $ref: "#/parameters/rowFilter.postingGroupSales.salesDiscountAccount",
+ $ref: "#/parameters/rowFilter.accountDefault.directCostAppliedAccount",
},
{
- $ref: "#/parameters/rowFilter.postingGroupSales.salesCreditAccount",
+ $ref: "#/parameters/rowFilter.accountDefault.overheadCostAppliedAccount",
},
{
- $ref: "#/parameters/rowFilter.postingGroupSales.salesPrepaymentAccount",
+ $ref: "#/parameters/rowFilter.accountDefault.purchaseVarianceAccount",
},
{
- $ref: "#/parameters/rowFilter.postingGroupSales.salesTaxPayableAccount",
+ $ref: "#/parameters/rowFilter.accountDefault.inventoryAdjustmentVarianceAccount",
},
{
- $ref: "#/parameters/rowFilter.postingGroupSales.companyId",
+ $ref: "#/parameters/rowFilter.accountDefault.materialVarianceAccount",
},
{
- $ref: "#/parameters/rowFilter.postingGroupSales.updatedBy",
+ $ref: "#/parameters/rowFilter.accountDefault.capacityVarianceAccount",
},
{
- $ref: "#/parameters/preferReturn",
+ $ref: "#/parameters/rowFilter.accountDefault.overheadAccount",
},
- ],
- responses: {
- "204": {
- description: "No Content",
+ {
+ $ref: "#/parameters/rowFilter.accountDefault.maintenanceAccount",
},
- },
- tags: ["postingGroupSales"],
- },
- patch: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.postingGroupSales.id",
+ $ref: "#/parameters/rowFilter.accountDefault.assetDepreciationExpenseAccount",
},
{
- $ref: "#/parameters/rowFilter.postingGroupSales.customerTypeId",
+ $ref: "#/parameters/rowFilter.accountDefault.assetGainsAndLossesAccount",
},
{
- $ref: "#/parameters/rowFilter.postingGroupSales.itemPostingGroupId",
+ $ref: "#/parameters/rowFilter.accountDefault.serviceChargeAccount",
},
{
- $ref: "#/parameters/rowFilter.postingGroupSales.receivablesAccount",
+ $ref: "#/parameters/rowFilter.accountDefault.interestAccount",
},
{
- $ref: "#/parameters/rowFilter.postingGroupSales.salesAccount",
+ $ref: "#/parameters/rowFilter.accountDefault.supplierPaymentDiscountAccount",
},
{
- $ref: "#/parameters/rowFilter.postingGroupSales.salesDiscountAccount",
+ $ref: "#/parameters/rowFilter.accountDefault.customerPaymentDiscountAccount",
},
{
- $ref: "#/parameters/rowFilter.postingGroupSales.salesCreditAccount",
+ $ref: "#/parameters/rowFilter.accountDefault.roundingAccount",
},
{
- $ref: "#/parameters/rowFilter.postingGroupSales.salesPrepaymentAccount",
+ $ref: "#/parameters/rowFilter.accountDefault.assetAquisitionCostAccount",
},
{
- $ref: "#/parameters/rowFilter.postingGroupSales.salesTaxPayableAccount",
+ $ref: "#/parameters/rowFilter.accountDefault.assetAquisitionCostOnDisposalAccount",
},
{
- $ref: "#/parameters/rowFilter.postingGroupSales.companyId",
+ $ref: "#/parameters/rowFilter.accountDefault.accumulatedDepreciationAccount",
},
{
- $ref: "#/parameters/rowFilter.postingGroupSales.updatedBy",
+ $ref: "#/parameters/rowFilter.accountDefault.accumulatedDepreciationOnDisposalAccount",
},
{
- $ref: "#/parameters/body.postingGroupSales",
+ $ref: "#/parameters/rowFilter.accountDefault.inventoryAccount",
},
{
- $ref: "#/parameters/preferReturn",
+ $ref: "#/parameters/rowFilter.accountDefault.inventoryInterimAccrualAccount",
},
- ],
- responses: {
- "204": {
- description: "No Content",
+ {
+ $ref: "#/parameters/rowFilter.accountDefault.workInProgressAccount",
},
- },
- tags: ["postingGroupSales"],
- },
- },
- "/search": {
- get: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.search.id",
+ $ref: "#/parameters/rowFilter.accountDefault.receivablesAccount",
},
{
- $ref: "#/parameters/rowFilter.search.name",
+ $ref: "#/parameters/rowFilter.accountDefault.inventoryShippedNotInvoicedAccount",
},
{
- $ref: "#/parameters/rowFilter.search.description",
+ $ref: "#/parameters/rowFilter.accountDefault.inventoryInvoicedNotReceivedAccount",
},
{
- $ref: "#/parameters/rowFilter.search.entity",
+ $ref: "#/parameters/rowFilter.accountDefault.bankCashAccount",
},
{
- $ref: "#/parameters/rowFilter.search.uuid",
+ $ref: "#/parameters/rowFilter.accountDefault.bankLocalCurrencyAccount",
},
{
- $ref: "#/parameters/rowFilter.search.link",
+ $ref: "#/parameters/rowFilter.accountDefault.bankForeignCurrencyAccount",
},
{
- $ref: "#/parameters/rowFilter.search.companyId",
+ $ref: "#/parameters/rowFilter.accountDefault.prepaymentAccount",
},
{
- $ref: "#/parameters/rowFilter.search.fts",
+ $ref: "#/parameters/rowFilter.accountDefault.payablesAccount",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.accountDefault.inventoryReceivedNotInvoicedAccount",
},
{
- $ref: "#/parameters/order",
+ $ref: "#/parameters/rowFilter.accountDefault.salesTaxPayableAccount",
},
{
- $ref: "#/parameters/range",
+ $ref: "#/parameters/rowFilter.accountDefault.purchaseTaxPayableAccount",
},
{
- $ref: "#/parameters/rangeUnit",
+ $ref: "#/parameters/rowFilter.accountDefault.reverseChargeSalesTaxPayableAccount",
},
{
- $ref: "#/parameters/offset",
+ $ref: "#/parameters/rowFilter.accountDefault.retainedEarningsAccount",
},
{
- $ref: "#/parameters/limit",
+ $ref: "#/parameters/rowFilter.accountDefault.updatedBy",
},
{
- $ref: "#/parameters/preferCount",
+ $ref: "#/parameters/preferReturn",
},
],
responses: {
- "200": {
- description: "OK",
- schema: {
- items: {
- $ref: "#/definitions/search",
- },
- type: "array",
- },
- },
- "206": {
- description: "Partial Content",
+ "204": {
+ description: "No Content",
},
},
- tags: ["search"],
+ tags: ["accountDefault"],
},
- post: {
+ patch: {
parameters: [
{
- $ref: "#/parameters/body.search",
+ $ref: "#/parameters/rowFilter.accountDefault.companyId",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.accountDefault.salesAccount",
},
{
- $ref: "#/parameters/preferPost",
- },
- ],
- responses: {
- "201": {
- description: "Created",
+ $ref: "#/parameters/rowFilter.accountDefault.salesDiscountAccount",
},
- },
- tags: ["search"],
- },
- delete: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.search.id",
+ $ref: "#/parameters/rowFilter.accountDefault.costOfGoodsSoldAccount",
},
{
- $ref: "#/parameters/rowFilter.search.name",
+ $ref: "#/parameters/rowFilter.accountDefault.purchaseAccount",
},
{
- $ref: "#/parameters/rowFilter.search.description",
+ $ref: "#/parameters/rowFilter.accountDefault.directCostAppliedAccount",
},
{
- $ref: "#/parameters/rowFilter.search.entity",
+ $ref: "#/parameters/rowFilter.accountDefault.overheadCostAppliedAccount",
},
{
- $ref: "#/parameters/rowFilter.search.uuid",
+ $ref: "#/parameters/rowFilter.accountDefault.purchaseVarianceAccount",
},
{
- $ref: "#/parameters/rowFilter.search.link",
+ $ref: "#/parameters/rowFilter.accountDefault.inventoryAdjustmentVarianceAccount",
},
{
- $ref: "#/parameters/rowFilter.search.companyId",
+ $ref: "#/parameters/rowFilter.accountDefault.materialVarianceAccount",
},
{
- $ref: "#/parameters/rowFilter.search.fts",
+ $ref: "#/parameters/rowFilter.accountDefault.capacityVarianceAccount",
},
{
- $ref: "#/parameters/preferReturn",
+ $ref: "#/parameters/rowFilter.accountDefault.overheadAccount",
},
- ],
- responses: {
- "204": {
- description: "No Content",
+ {
+ $ref: "#/parameters/rowFilter.accountDefault.maintenanceAccount",
},
- },
- tags: ["search"],
- },
- patch: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.search.id",
+ $ref: "#/parameters/rowFilter.accountDefault.assetDepreciationExpenseAccount",
},
{
- $ref: "#/parameters/rowFilter.search.name",
+ $ref: "#/parameters/rowFilter.accountDefault.assetGainsAndLossesAccount",
},
{
- $ref: "#/parameters/rowFilter.search.description",
+ $ref: "#/parameters/rowFilter.accountDefault.serviceChargeAccount",
},
{
- $ref: "#/parameters/rowFilter.search.entity",
+ $ref: "#/parameters/rowFilter.accountDefault.interestAccount",
},
{
- $ref: "#/parameters/rowFilter.search.uuid",
+ $ref: "#/parameters/rowFilter.accountDefault.supplierPaymentDiscountAccount",
},
{
- $ref: "#/parameters/rowFilter.search.link",
+ $ref: "#/parameters/rowFilter.accountDefault.customerPaymentDiscountAccount",
},
{
- $ref: "#/parameters/rowFilter.search.companyId",
+ $ref: "#/parameters/rowFilter.accountDefault.roundingAccount",
},
{
- $ref: "#/parameters/rowFilter.search.fts",
+ $ref: "#/parameters/rowFilter.accountDefault.assetAquisitionCostAccount",
},
{
- $ref: "#/parameters/body.search",
+ $ref: "#/parameters/rowFilter.accountDefault.assetAquisitionCostOnDisposalAccount",
},
{
- $ref: "#/parameters/preferReturn",
+ $ref: "#/parameters/rowFilter.accountDefault.accumulatedDepreciationAccount",
},
- ],
- responses: {
- "204": {
- description: "No Content",
+ {
+ $ref: "#/parameters/rowFilter.accountDefault.accumulatedDepreciationOnDisposalAccount",
},
- },
- tags: ["search"],
- },
- },
- "/journal": {
- get: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.journal.id",
+ $ref: "#/parameters/rowFilter.accountDefault.inventoryAccount",
},
{
- $ref: "#/parameters/rowFilter.journal.description",
+ $ref: "#/parameters/rowFilter.accountDefault.inventoryInterimAccrualAccount",
},
{
- $ref: "#/parameters/rowFilter.journal.accountingPeriodId",
+ $ref: "#/parameters/rowFilter.accountDefault.workInProgressAccount",
},
{
- $ref: "#/parameters/rowFilter.journal.companyId",
+ $ref: "#/parameters/rowFilter.accountDefault.receivablesAccount",
},
{
- $ref: "#/parameters/rowFilter.journal.postingDate",
+ $ref: "#/parameters/rowFilter.accountDefault.inventoryShippedNotInvoicedAccount",
},
{
- $ref: "#/parameters/rowFilter.journal.createdAt",
+ $ref: "#/parameters/rowFilter.accountDefault.inventoryInvoicedNotReceivedAccount",
},
{
- $ref: "#/parameters/rowFilter.journal.customFields",
+ $ref: "#/parameters/rowFilter.accountDefault.bankCashAccount",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.accountDefault.bankLocalCurrencyAccount",
},
{
- $ref: "#/parameters/order",
+ $ref: "#/parameters/rowFilter.accountDefault.bankForeignCurrencyAccount",
},
{
- $ref: "#/parameters/range",
+ $ref: "#/parameters/rowFilter.accountDefault.prepaymentAccount",
},
{
- $ref: "#/parameters/rangeUnit",
+ $ref: "#/parameters/rowFilter.accountDefault.payablesAccount",
},
{
- $ref: "#/parameters/offset",
+ $ref: "#/parameters/rowFilter.accountDefault.inventoryReceivedNotInvoicedAccount",
},
{
- $ref: "#/parameters/limit",
+ $ref: "#/parameters/rowFilter.accountDefault.salesTaxPayableAccount",
},
{
- $ref: "#/parameters/preferCount",
+ $ref: "#/parameters/rowFilter.accountDefault.purchaseTaxPayableAccount",
},
- ],
- responses: {
- "200": {
- description: "OK",
- schema: {
- items: {
- $ref: "#/definitions/journal",
- },
- type: "array",
- },
+ {
+ $ref: "#/parameters/rowFilter.accountDefault.reverseChargeSalesTaxPayableAccount",
},
- "206": {
- description: "Partial Content",
+ {
+ $ref: "#/parameters/rowFilter.accountDefault.retainedEarningsAccount",
},
- },
- tags: ["journal"],
- },
- post: {
- parameters: [
{
- $ref: "#/parameters/body.journal",
+ $ref: "#/parameters/rowFilter.accountDefault.updatedBy",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/body.accountDefault",
},
{
- $ref: "#/parameters/preferPost",
+ $ref: "#/parameters/preferReturn",
},
],
responses: {
- "201": {
- description: "Created",
+ "204": {
+ description: "No Content",
},
},
- tags: ["journal"],
+ tags: ["accountDefault"],
},
- delete: {
+ },
+ "/service": {
+ get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.journal.id",
- },
- {
- $ref: "#/parameters/rowFilter.journal.description",
- },
- {
- $ref: "#/parameters/rowFilter.journal.accountingPeriodId",
- },
- {
- $ref: "#/parameters/rowFilter.journal.companyId",
- },
- {
- $ref: "#/parameters/rowFilter.journal.postingDate",
- },
- {
- $ref: "#/parameters/rowFilter.journal.createdAt",
+ $ref: "#/parameters/rowFilter.service.id",
},
{
- $ref: "#/parameters/rowFilter.journal.customFields",
+ $ref: "#/parameters/rowFilter.service.itemId",
},
{
- $ref: "#/parameters/preferReturn",
- },
- ],
- responses: {
- "204": {
- description: "No Content",
+ $ref: "#/parameters/rowFilter.service.serviceType",
},
- },
- tags: ["journal"],
- },
- patch: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.journal.id",
+ $ref: "#/parameters/rowFilter.service.approved",
},
{
- $ref: "#/parameters/rowFilter.journal.description",
+ $ref: "#/parameters/rowFilter.service.approvedBy",
},
{
- $ref: "#/parameters/rowFilter.journal.accountingPeriodId",
+ $ref: "#/parameters/rowFilter.service.fromDate",
},
{
- $ref: "#/parameters/rowFilter.journal.companyId",
+ $ref: "#/parameters/rowFilter.service.toDate",
},
{
- $ref: "#/parameters/rowFilter.journal.postingDate",
+ $ref: "#/parameters/rowFilter.service.customFields",
},
{
- $ref: "#/parameters/rowFilter.journal.createdAt",
+ $ref: "#/parameters/rowFilter.service.companyId",
},
{
- $ref: "#/parameters/rowFilter.journal.customFields",
+ $ref: "#/parameters/rowFilter.service.createdBy",
},
{
- $ref: "#/parameters/body.journal",
+ $ref: "#/parameters/rowFilter.service.createdAt",
},
{
- $ref: "#/parameters/preferReturn",
- },
- ],
- responses: {
- "204": {
- description: "No Content",
+ $ref: "#/parameters/rowFilter.service.updatedBy",
},
- },
- tags: ["journal"],
- },
- },
- "/modules": {
- get: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.modules.name",
+ $ref: "#/parameters/rowFilter.service.updatedAt",
},
{
$ref: "#/parameters/select",
@@ -7518,7 +7800,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/modules",
+ $ref: "#/definitions/service",
},
type: "array",
},
@@ -7527,101 +7809,161 @@ export default {
description: "Partial Content",
},
},
- tags: ["modules"],
+ tags: ["service"],
},
- },
- "/employeesAcrossCompanies": {
- get: {
+ post: {
parameters: [
{
- $ref: "#/parameters/rowFilter.employeesAcrossCompanies.id",
+ $ref: "#/parameters/body.service",
},
{
- $ref: "#/parameters/rowFilter.employeesAcrossCompanies.email",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.employeesAcrossCompanies.firstName",
+ $ref: "#/parameters/preferPost",
+ },
+ ],
+ responses: {
+ "201": {
+ description: "Created",
},
+ },
+ tags: ["service"],
+ },
+ delete: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.employeesAcrossCompanies.lastName",
+ $ref: "#/parameters/rowFilter.service.id",
},
{
- $ref: "#/parameters/rowFilter.employeesAcrossCompanies.name",
+ $ref: "#/parameters/rowFilter.service.itemId",
},
{
- $ref: "#/parameters/rowFilter.employeesAcrossCompanies.avatarUrl",
+ $ref: "#/parameters/rowFilter.service.serviceType",
},
{
- $ref: "#/parameters/rowFilter.employeesAcrossCompanies.active",
+ $ref: "#/parameters/rowFilter.service.approved",
},
{
- $ref: "#/parameters/rowFilter.employeesAcrossCompanies.companyId",
+ $ref: "#/parameters/rowFilter.service.approvedBy",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.service.fromDate",
},
{
- $ref: "#/parameters/order",
+ $ref: "#/parameters/rowFilter.service.toDate",
},
{
- $ref: "#/parameters/range",
+ $ref: "#/parameters/rowFilter.service.customFields",
},
{
- $ref: "#/parameters/rangeUnit",
+ $ref: "#/parameters/rowFilter.service.companyId",
},
{
- $ref: "#/parameters/offset",
+ $ref: "#/parameters/rowFilter.service.createdBy",
},
{
- $ref: "#/parameters/limit",
+ $ref: "#/parameters/rowFilter.service.createdAt",
},
{
- $ref: "#/parameters/preferCount",
+ $ref: "#/parameters/rowFilter.service.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.service.updatedAt",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
},
],
responses: {
- "200": {
- description: "OK",
- schema: {
- items: {
- $ref: "#/definitions/employeesAcrossCompanies",
- },
- type: "array",
- },
+ "204": {
+ description: "No Content",
},
- "206": {
- description: "Partial Content",
+ },
+ tags: ["service"],
+ },
+ patch: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.service.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.service.itemId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.service.serviceType",
+ },
+ {
+ $ref: "#/parameters/rowFilter.service.approved",
+ },
+ {
+ $ref: "#/parameters/rowFilter.service.approvedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.service.fromDate",
+ },
+ {
+ $ref: "#/parameters/rowFilter.service.toDate",
+ },
+ {
+ $ref: "#/parameters/rowFilter.service.customFields",
+ },
+ {
+ $ref: "#/parameters/rowFilter.service.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.service.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.service.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.service.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.service.updatedAt",
+ },
+ {
+ $ref: "#/parameters/body.service",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
},
},
- tags: ["employeesAcrossCompanies"],
+ tags: ["service"],
},
},
- "/purchaseInvoicePriceChange": {
+ "/employeeTypePermission": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.id",
+ $ref: "#/parameters/rowFilter.employeeTypePermission.employeeTypeId",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.invoiceId",
+ $ref: "#/parameters/rowFilter.employeeTypePermission.module",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.invoiceLineId",
+ $ref: "#/parameters/rowFilter.employeeTypePermission.create",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.previousPrice",
+ $ref: "#/parameters/rowFilter.employeeTypePermission.delete",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.newPrice",
+ $ref: "#/parameters/rowFilter.employeeTypePermission.update",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.previousQuantity",
+ $ref: "#/parameters/rowFilter.employeeTypePermission.view",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.newQuantity",
+ $ref: "#/parameters/rowFilter.employeeTypePermission.createdAt",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.updatedBy",
+ $ref: "#/parameters/rowFilter.employeeTypePermission.updatedAt",
},
{
$ref: "#/parameters/select",
@@ -7650,7 +7992,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/purchaseInvoicePriceChange",
+ $ref: "#/definitions/employeeTypePermission",
},
type: "array",
},
@@ -7659,12 +8001,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["purchaseInvoicePriceChange"],
+ tags: ["employeeTypePermission"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.purchaseInvoicePriceChange",
+ $ref: "#/parameters/body.employeeTypePermission",
},
{
$ref: "#/parameters/select",
@@ -7678,33 +8020,33 @@ export default {
description: "Created",
},
},
- tags: ["purchaseInvoicePriceChange"],
+ tags: ["employeeTypePermission"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.id",
+ $ref: "#/parameters/rowFilter.employeeTypePermission.employeeTypeId",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.invoiceId",
+ $ref: "#/parameters/rowFilter.employeeTypePermission.module",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.invoiceLineId",
+ $ref: "#/parameters/rowFilter.employeeTypePermission.create",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.previousPrice",
+ $ref: "#/parameters/rowFilter.employeeTypePermission.delete",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.newPrice",
+ $ref: "#/parameters/rowFilter.employeeTypePermission.update",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.previousQuantity",
+ $ref: "#/parameters/rowFilter.employeeTypePermission.view",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.newQuantity",
+ $ref: "#/parameters/rowFilter.employeeTypePermission.createdAt",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.updatedBy",
+ $ref: "#/parameters/rowFilter.employeeTypePermission.updatedAt",
},
{
$ref: "#/parameters/preferReturn",
@@ -7715,36 +8057,36 @@ export default {
description: "No Content",
},
},
- tags: ["purchaseInvoicePriceChange"],
+ tags: ["employeeTypePermission"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.id",
+ $ref: "#/parameters/rowFilter.employeeTypePermission.employeeTypeId",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.invoiceId",
+ $ref: "#/parameters/rowFilter.employeeTypePermission.module",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.invoiceLineId",
+ $ref: "#/parameters/rowFilter.employeeTypePermission.create",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.previousPrice",
+ $ref: "#/parameters/rowFilter.employeeTypePermission.delete",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.newPrice",
+ $ref: "#/parameters/rowFilter.employeeTypePermission.update",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.previousQuantity",
+ $ref: "#/parameters/rowFilter.employeeTypePermission.view",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.newQuantity",
+ $ref: "#/parameters/rowFilter.employeeTypePermission.createdAt",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.updatedBy",
+ $ref: "#/parameters/rowFilter.employeeTypePermission.updatedAt",
},
{
- $ref: "#/parameters/body.purchaseInvoicePriceChange",
+ $ref: "#/parameters/body.employeeTypePermission",
},
{
$ref: "#/parameters/preferReturn",
@@ -7755,47 +8097,41 @@ export default {
description: "No Content",
},
},
- tags: ["purchaseInvoicePriceChange"],
+ tags: ["employeeTypePermission"],
},
},
- "/currencies": {
+ "/purchaseOrderPayment": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.currencies.id",
- },
- {
- $ref: "#/parameters/rowFilter.currencies.code",
- },
- {
- $ref: "#/parameters/rowFilter.currencies.exchangeRate",
+ $ref: "#/parameters/rowFilter.purchaseOrderPayment.id",
},
{
- $ref: "#/parameters/rowFilter.currencies.decimalPlaces",
+ $ref: "#/parameters/rowFilter.purchaseOrderPayment.invoiceSupplierId",
},
{
- $ref: "#/parameters/rowFilter.currencies.active",
+ $ref: "#/parameters/rowFilter.purchaseOrderPayment.invoiceSupplierLocationId",
},
{
- $ref: "#/parameters/rowFilter.currencies.companyId",
+ $ref: "#/parameters/rowFilter.purchaseOrderPayment.invoiceSupplierContactId",
},
{
- $ref: "#/parameters/rowFilter.currencies.createdBy",
+ $ref: "#/parameters/rowFilter.purchaseOrderPayment.paymentTermId",
},
{
- $ref: "#/parameters/rowFilter.currencies.createdAt",
+ $ref: "#/parameters/rowFilter.purchaseOrderPayment.paymentComplete",
},
{
- $ref: "#/parameters/rowFilter.currencies.updatedBy",
+ $ref: "#/parameters/rowFilter.purchaseOrderPayment.companyId",
},
{
- $ref: "#/parameters/rowFilter.currencies.updatedAt",
+ $ref: "#/parameters/rowFilter.purchaseOrderPayment.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.currencies.customFields",
+ $ref: "#/parameters/rowFilter.purchaseOrderPayment.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.currencies.name",
+ $ref: "#/parameters/rowFilter.purchaseOrderPayment.customFields",
},
{
$ref: "#/parameters/select",
@@ -7824,7 +8160,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/currencies",
+ $ref: "#/definitions/purchaseOrderPayment",
},
type: "array",
},
@@ -7833,68 +8169,149 @@ export default {
description: "Partial Content",
},
},
- tags: ["currencies"],
+ tags: ["purchaseOrderPayment"],
},
- },
- "/shift": {
- get: {
+ post: {
parameters: [
{
- $ref: "#/parameters/rowFilter.shift.id",
+ $ref: "#/parameters/body.purchaseOrderPayment",
},
{
- $ref: "#/parameters/rowFilter.shift.name",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.shift.startTime",
+ $ref: "#/parameters/preferPost",
+ },
+ ],
+ responses: {
+ "201": {
+ description: "Created",
},
+ },
+ tags: ["purchaseOrderPayment"],
+ },
+ delete: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.shift.endTime",
+ $ref: "#/parameters/rowFilter.purchaseOrderPayment.id",
},
{
- $ref: "#/parameters/rowFilter.shift.locationId",
+ $ref: "#/parameters/rowFilter.purchaseOrderPayment.invoiceSupplierId",
},
{
- $ref: "#/parameters/rowFilter.shift.sunday",
+ $ref: "#/parameters/rowFilter.purchaseOrderPayment.invoiceSupplierLocationId",
},
{
- $ref: "#/parameters/rowFilter.shift.monday",
+ $ref: "#/parameters/rowFilter.purchaseOrderPayment.invoiceSupplierContactId",
},
{
- $ref: "#/parameters/rowFilter.shift.tuesday",
+ $ref: "#/parameters/rowFilter.purchaseOrderPayment.paymentTermId",
},
{
- $ref: "#/parameters/rowFilter.shift.wednesday",
+ $ref: "#/parameters/rowFilter.purchaseOrderPayment.paymentComplete",
},
{
- $ref: "#/parameters/rowFilter.shift.thursday",
+ $ref: "#/parameters/rowFilter.purchaseOrderPayment.companyId",
},
{
- $ref: "#/parameters/rowFilter.shift.friday",
+ $ref: "#/parameters/rowFilter.purchaseOrderPayment.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.shift.saturday",
+ $ref: "#/parameters/rowFilter.purchaseOrderPayment.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.shift.active",
+ $ref: "#/parameters/rowFilter.purchaseOrderPayment.customFields",
},
{
- $ref: "#/parameters/rowFilter.shift.companyId",
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
},
+ },
+ tags: ["purchaseOrderPayment"],
+ },
+ patch: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.shift.createdBy",
+ $ref: "#/parameters/rowFilter.purchaseOrderPayment.id",
},
{
- $ref: "#/parameters/rowFilter.shift.createdAt",
+ $ref: "#/parameters/rowFilter.purchaseOrderPayment.invoiceSupplierId",
},
{
- $ref: "#/parameters/rowFilter.shift.updatedBy",
+ $ref: "#/parameters/rowFilter.purchaseOrderPayment.invoiceSupplierLocationId",
},
{
- $ref: "#/parameters/rowFilter.shift.updatedAt",
+ $ref: "#/parameters/rowFilter.purchaseOrderPayment.invoiceSupplierContactId",
},
{
- $ref: "#/parameters/rowFilter.shift.customFields",
+ $ref: "#/parameters/rowFilter.purchaseOrderPayment.paymentTermId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrderPayment.paymentComplete",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrderPayment.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrderPayment.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrderPayment.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrderPayment.customFields",
+ },
+ {
+ $ref: "#/parameters/body.purchaseOrderPayment",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
+ },
+ },
+ tags: ["purchaseOrderPayment"],
+ },
+ },
+ "/holiday": {
+ get: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.holiday.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.holiday.name",
+ },
+ {
+ $ref: "#/parameters/rowFilter.holiday.date",
+ },
+ {
+ $ref: "#/parameters/rowFilter.holiday.year",
+ },
+ {
+ $ref: "#/parameters/rowFilter.holiday.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.holiday.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.holiday.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.holiday.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.holiday.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.holiday.customFields",
},
{
$ref: "#/parameters/select",
@@ -7923,7 +8340,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/shift",
+ $ref: "#/definitions/holiday",
},
type: "array",
},
@@ -7932,12 +8349,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["shift"],
+ tags: ["holiday"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.shift",
+ $ref: "#/parameters/body.holiday",
},
{
$ref: "#/parameters/select",
@@ -7951,66 +8368,85 @@ export default {
description: "Created",
},
},
- tags: ["shift"],
+ tags: ["holiday"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.shift.id",
+ $ref: "#/parameters/rowFilter.holiday.id",
},
{
- $ref: "#/parameters/rowFilter.shift.name",
+ $ref: "#/parameters/rowFilter.holiday.name",
},
{
- $ref: "#/parameters/rowFilter.shift.startTime",
+ $ref: "#/parameters/rowFilter.holiday.date",
},
{
- $ref: "#/parameters/rowFilter.shift.endTime",
+ $ref: "#/parameters/rowFilter.holiday.year",
},
{
- $ref: "#/parameters/rowFilter.shift.locationId",
+ $ref: "#/parameters/rowFilter.holiday.companyId",
},
{
- $ref: "#/parameters/rowFilter.shift.sunday",
+ $ref: "#/parameters/rowFilter.holiday.createdBy",
},
{
- $ref: "#/parameters/rowFilter.shift.monday",
+ $ref: "#/parameters/rowFilter.holiday.createdAt",
},
{
- $ref: "#/parameters/rowFilter.shift.tuesday",
+ $ref: "#/parameters/rowFilter.holiday.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.shift.wednesday",
+ $ref: "#/parameters/rowFilter.holiday.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.shift.thursday",
+ $ref: "#/parameters/rowFilter.holiday.customFields",
},
{
- $ref: "#/parameters/rowFilter.shift.friday",
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
},
+ },
+ tags: ["holiday"],
+ },
+ patch: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.shift.saturday",
+ $ref: "#/parameters/rowFilter.holiday.id",
},
{
- $ref: "#/parameters/rowFilter.shift.active",
+ $ref: "#/parameters/rowFilter.holiday.name",
},
{
- $ref: "#/parameters/rowFilter.shift.companyId",
+ $ref: "#/parameters/rowFilter.holiday.date",
},
{
- $ref: "#/parameters/rowFilter.shift.createdBy",
+ $ref: "#/parameters/rowFilter.holiday.year",
},
{
- $ref: "#/parameters/rowFilter.shift.createdAt",
+ $ref: "#/parameters/rowFilter.holiday.companyId",
},
{
- $ref: "#/parameters/rowFilter.shift.updatedBy",
+ $ref: "#/parameters/rowFilter.holiday.createdBy",
},
{
- $ref: "#/parameters/rowFilter.shift.updatedAt",
+ $ref: "#/parameters/rowFilter.holiday.createdAt",
},
{
- $ref: "#/parameters/rowFilter.shift.customFields",
+ $ref: "#/parameters/rowFilter.holiday.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.holiday.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.holiday.customFields",
+ },
+ {
+ $ref: "#/parameters/body.holiday",
},
{
$ref: "#/parameters/preferReturn",
@@ -8021,90 +8457,104 @@ export default {
description: "No Content",
},
},
- tags: ["shift"],
+ tags: ["holiday"],
},
- patch: {
+ },
+ "/quotes": {
+ get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.shift.id",
+ $ref: "#/parameters/rowFilter.quotes.id",
},
{
- $ref: "#/parameters/rowFilter.shift.name",
+ $ref: "#/parameters/rowFilter.quotes.quoteId",
},
{
- $ref: "#/parameters/rowFilter.shift.startTime",
+ $ref: "#/parameters/rowFilter.quotes.revisionId",
},
{
- $ref: "#/parameters/rowFilter.shift.endTime",
+ $ref: "#/parameters/rowFilter.quotes.dueDate",
},
{
- $ref: "#/parameters/rowFilter.shift.locationId",
+ $ref: "#/parameters/rowFilter.quotes.expirationDate",
},
{
- $ref: "#/parameters/rowFilter.shift.sunday",
+ $ref: "#/parameters/rowFilter.quotes.status",
},
{
- $ref: "#/parameters/rowFilter.shift.monday",
+ $ref: "#/parameters/rowFilter.quotes.salesPersonId",
},
{
- $ref: "#/parameters/rowFilter.shift.tuesday",
+ $ref: "#/parameters/rowFilter.quotes.estimatorId",
},
{
- $ref: "#/parameters/rowFilter.shift.wednesday",
+ $ref: "#/parameters/rowFilter.quotes.customerId",
},
{
- $ref: "#/parameters/rowFilter.shift.thursday",
+ $ref: "#/parameters/rowFilter.quotes.customerLocationId",
},
{
- $ref: "#/parameters/rowFilter.shift.friday",
+ $ref: "#/parameters/rowFilter.quotes.customerContactId",
},
{
- $ref: "#/parameters/rowFilter.shift.saturday",
+ $ref: "#/parameters/rowFilter.quotes.customerReference",
},
{
- $ref: "#/parameters/rowFilter.shift.active",
+ $ref: "#/parameters/rowFilter.quotes.locationId",
},
{
- $ref: "#/parameters/rowFilter.shift.companyId",
+ $ref: "#/parameters/rowFilter.quotes.assignee",
},
{
- $ref: "#/parameters/rowFilter.shift.createdBy",
+ $ref: "#/parameters/rowFilter.quotes.customFields",
},
{
- $ref: "#/parameters/rowFilter.shift.createdAt",
+ $ref: "#/parameters/rowFilter.quotes.companyId",
},
{
- $ref: "#/parameters/rowFilter.shift.updatedBy",
+ $ref: "#/parameters/rowFilter.quotes.createdAt",
},
{
- $ref: "#/parameters/rowFilter.shift.updatedAt",
+ $ref: "#/parameters/rowFilter.quotes.createdBy",
},
{
- $ref: "#/parameters/rowFilter.shift.customFields",
+ $ref: "#/parameters/rowFilter.quotes.updatedAt",
},
{
- $ref: "#/parameters/body.shift",
+ $ref: "#/parameters/rowFilter.quotes.updatedBy",
},
{
- $ref: "#/parameters/preferReturn",
+ $ref: "#/parameters/rowFilter.quotes.externalNotes",
},
- ],
- responses: {
- "204": {
- description: "No Content",
+ {
+ $ref: "#/parameters/rowFilter.quotes.internalNotes",
},
- },
- tags: ["shift"],
- },
- },
- "/integration": {
- get: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.integration.id",
+ $ref: "#/parameters/rowFilter.quotes.currencyCode",
},
{
- $ref: "#/parameters/rowFilter.integration.jsonschema",
+ $ref: "#/parameters/rowFilter.quotes.exchangeRate",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quotes.exchangeRateUpdatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quotes.locationName",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quotes.lines",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quotes.completedLines",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quotes.favorite",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quotes.salesRfqId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quotes.salesOrderId",
},
{
$ref: "#/parameters/select",
@@ -8133,7 +8583,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/integration",
+ $ref: "#/definitions/quotes",
},
type: "array",
},
@@ -8142,86 +8592,80 @@ export default {
description: "Partial Content",
},
},
- tags: ["integration"],
+ tags: ["quotes"],
},
- post: {
+ },
+ "/documentExtensions": {
+ get: {
parameters: [
{
- $ref: "#/parameters/body.integration",
+ $ref: "#/parameters/rowFilter.documentExtensions.extension",
},
{
$ref: "#/parameters/select",
},
{
- $ref: "#/parameters/preferPost",
+ $ref: "#/parameters/order",
},
- ],
- responses: {
- "201": {
- description: "Created",
+ {
+ $ref: "#/parameters/range",
},
- },
- tags: ["integration"],
- },
- delete: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.integration.id",
+ $ref: "#/parameters/rangeUnit",
},
{
- $ref: "#/parameters/rowFilter.integration.jsonschema",
+ $ref: "#/parameters/offset",
},
{
- $ref: "#/parameters/preferReturn",
+ $ref: "#/parameters/limit",
+ },
+ {
+ $ref: "#/parameters/preferCount",
},
],
responses: {
- "204": {
- description: "No Content",
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/documentExtensions",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
},
},
- tags: ["integration"],
+ tags: ["documentExtensions"],
},
- patch: {
+ },
+ "/customerPayment": {
+ get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.integration.id",
- },
- {
- $ref: "#/parameters/rowFilter.integration.jsonschema",
+ $ref: "#/parameters/rowFilter.customerPayment.customerId",
},
{
- $ref: "#/parameters/body.integration",
+ $ref: "#/parameters/rowFilter.customerPayment.invoiceCustomerId",
},
{
- $ref: "#/parameters/preferReturn",
- },
- ],
- responses: {
- "204": {
- description: "No Content",
+ $ref: "#/parameters/rowFilter.customerPayment.invoiceCustomerLocationId",
},
- },
- tags: ["integration"],
- },
- },
- "/customFieldTables": {
- get: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.customFieldTables.table",
+ $ref: "#/parameters/rowFilter.customerPayment.invoiceCustomerContactId",
},
{
- $ref: "#/parameters/rowFilter.customFieldTables.module",
+ $ref: "#/parameters/rowFilter.customerPayment.paymentTermId",
},
{
- $ref: "#/parameters/rowFilter.customFieldTables.name",
+ $ref: "#/parameters/rowFilter.customerPayment.companyId",
},
{
- $ref: "#/parameters/rowFilter.customFieldTables.companyId",
+ $ref: "#/parameters/rowFilter.customerPayment.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.customFieldTables.fields",
+ $ref: "#/parameters/rowFilter.customerPayment.updatedBy",
},
{
$ref: "#/parameters/select",
@@ -8250,7 +8694,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/customFieldTables",
+ $ref: "#/definitions/customerPayment",
},
type: "array",
},
@@ -8259,284 +8703,323 @@ export default {
description: "Partial Content",
},
},
- tags: ["customFieldTables"],
+ tags: ["customerPayment"],
},
- },
- "/documents": {
- get: {
+ post: {
parameters: [
{
- $ref: "#/parameters/rowFilter.documents.id",
+ $ref: "#/parameters/body.customerPayment",
},
{
- $ref: "#/parameters/rowFilter.documents.path",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.documents.name",
+ $ref: "#/parameters/preferPost",
},
- {
- $ref: "#/parameters/rowFilter.documents.description",
+ ],
+ responses: {
+ "201": {
+ description: "Created",
},
+ },
+ tags: ["customerPayment"],
+ },
+ delete: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.documents.size",
+ $ref: "#/parameters/rowFilter.customerPayment.customerId",
},
{
- $ref: "#/parameters/rowFilter.documents.extension",
+ $ref: "#/parameters/rowFilter.customerPayment.invoiceCustomerId",
},
{
- $ref: "#/parameters/rowFilter.documents.type",
+ $ref: "#/parameters/rowFilter.customerPayment.invoiceCustomerLocationId",
},
{
- $ref: "#/parameters/rowFilter.documents.readGroups",
+ $ref: "#/parameters/rowFilter.customerPayment.invoiceCustomerContactId",
},
{
- $ref: "#/parameters/rowFilter.documents.writeGroups",
+ $ref: "#/parameters/rowFilter.customerPayment.paymentTermId",
},
{
- $ref: "#/parameters/rowFilter.documents.active",
+ $ref: "#/parameters/rowFilter.customerPayment.companyId",
},
{
- $ref: "#/parameters/rowFilter.documents.companyId",
+ $ref: "#/parameters/rowFilter.customerPayment.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.documents.createdBy",
+ $ref: "#/parameters/rowFilter.customerPayment.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.documents.createdAt",
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
},
+ },
+ tags: ["customerPayment"],
+ },
+ patch: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.documents.updatedBy",
+ $ref: "#/parameters/rowFilter.customerPayment.customerId",
},
{
- $ref: "#/parameters/rowFilter.documents.updatedAt",
+ $ref: "#/parameters/rowFilter.customerPayment.invoiceCustomerId",
},
{
- $ref: "#/parameters/rowFilter.documents.sourceDocument",
+ $ref: "#/parameters/rowFilter.customerPayment.invoiceCustomerLocationId",
},
{
- $ref: "#/parameters/rowFilter.documents.sourceDocumentId",
+ $ref: "#/parameters/rowFilter.customerPayment.invoiceCustomerContactId",
},
{
- $ref: "#/parameters/rowFilter.documents.labels",
+ $ref: "#/parameters/rowFilter.customerPayment.paymentTermId",
},
{
- $ref: "#/parameters/rowFilter.documents.favorite",
+ $ref: "#/parameters/rowFilter.customerPayment.companyId",
},
{
- $ref: "#/parameters/rowFilter.documents.lastActivityAt",
+ $ref: "#/parameters/rowFilter.customerPayment.updatedAt",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.customerPayment.updatedBy",
},
{
- $ref: "#/parameters/order",
+ $ref: "#/parameters/body.customerPayment",
},
{
- $ref: "#/parameters/range",
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
},
+ },
+ tags: ["customerPayment"],
+ },
+ },
+ "/postingGroupPurchasing": {
+ get: {
+ parameters: [
{
- $ref: "#/parameters/rangeUnit",
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.id",
},
{
- $ref: "#/parameters/offset",
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.supplierTypeId",
},
{
- $ref: "#/parameters/limit",
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.itemPostingGroupId",
},
{
- $ref: "#/parameters/preferCount",
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.payablesAccount",
},
- ],
- responses: {
- "200": {
- description: "OK",
- schema: {
- items: {
- $ref: "#/definitions/documents",
- },
- type: "array",
- },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.purchaseAccount",
},
- "206": {
- description: "Partial Content",
+ {
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.purchaseDiscountAccount",
},
- },
- tags: ["documents"],
- },
- },
- "/companies": {
- get: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.companies.id",
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.purchaseCreditAccount",
},
{
- $ref: "#/parameters/rowFilter.companies.name",
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.purchasePrepaymentAccount",
},
{
- $ref: "#/parameters/rowFilter.companies.taxId",
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.purchaseTaxPayableAccount",
},
{
- $ref: "#/parameters/rowFilter.companies.logo",
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.companyId",
},
{
- $ref: "#/parameters/rowFilter.companies.addressLine1",
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.companies.addressLine2",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.companies.city",
+ $ref: "#/parameters/order",
},
{
- $ref: "#/parameters/rowFilter.companies.stateProvince",
+ $ref: "#/parameters/range",
},
{
- $ref: "#/parameters/rowFilter.companies.postalCode",
+ $ref: "#/parameters/rangeUnit",
},
{
- $ref: "#/parameters/rowFilter.companies.countryCode",
+ $ref: "#/parameters/offset",
},
{
- $ref: "#/parameters/rowFilter.companies.phone",
+ $ref: "#/parameters/limit",
},
{
- $ref: "#/parameters/rowFilter.companies.fax",
+ $ref: "#/parameters/preferCount",
+ },
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/postingGroupPurchasing",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
},
+ },
+ tags: ["postingGroupPurchasing"],
+ },
+ post: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.companies.email",
+ $ref: "#/parameters/body.postingGroupPurchasing",
},
{
- $ref: "#/parameters/rowFilter.companies.website",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.companies.updatedBy",
+ $ref: "#/parameters/preferPost",
+ },
+ ],
+ responses: {
+ "201": {
+ description: "Created",
},
+ },
+ tags: ["postingGroupPurchasing"],
+ },
+ delete: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.companies.baseCurrencyCode",
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.id",
},
{
- $ref: "#/parameters/rowFilter.companies.userId",
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.supplierTypeId",
},
{
- $ref: "#/parameters/rowFilter.companies.companyId",
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.itemPostingGroupId",
},
{
- $ref: "#/parameters/rowFilter.companies.role",
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.payablesAccount",
},
{
- $ref: "#/parameters/rowFilter.companies.employeeType",
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.purchaseAccount",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.purchaseDiscountAccount",
},
{
- $ref: "#/parameters/order",
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.purchaseCreditAccount",
},
{
- $ref: "#/parameters/range",
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.purchasePrepaymentAccount",
},
{
- $ref: "#/parameters/rangeUnit",
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.purchaseTaxPayableAccount",
},
{
- $ref: "#/parameters/offset",
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.companyId",
},
{
- $ref: "#/parameters/limit",
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.updatedBy",
},
{
- $ref: "#/parameters/preferCount",
+ $ref: "#/parameters/preferReturn",
},
],
responses: {
- "200": {
- description: "OK",
- schema: {
- items: {
- $ref: "#/definitions/companies",
- },
- type: "array",
- },
- },
- "206": {
- description: "Partial Content",
+ "204": {
+ description: "No Content",
},
},
- tags: ["companies"],
+ tags: ["postingGroupPurchasing"],
},
- },
- "/purchaseOrder": {
- get: {
+ patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.purchaseOrder.id",
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.id",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrder.purchaseOrderId",
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.supplierTypeId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrder.revisionId",
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.itemPostingGroupId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrder.type",
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.payablesAccount",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrder.status",
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.purchaseAccount",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrder.orderDate",
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.purchaseDiscountAccount",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrder.notes",
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.purchaseCreditAccount",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrder.supplierId",
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.purchasePrepaymentAccount",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrder.supplierLocationId",
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.purchaseTaxPayableAccount",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrder.supplierContactId",
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.companyId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrder.supplierReference",
+ $ref: "#/parameters/rowFilter.postingGroupPurchasing.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrder.assignee",
+ $ref: "#/parameters/body.postingGroupPurchasing",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrder.companyId",
+ $ref: "#/parameters/preferReturn",
},
- {
- $ref: "#/parameters/rowFilter.purchaseOrder.closedAt",
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
},
+ },
+ tags: ["postingGroupPurchasing"],
+ },
+ },
+ "/accountSubcategory": {
+ get: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.purchaseOrder.closedBy",
+ $ref: "#/parameters/rowFilter.accountSubcategory.id",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrder.customFields",
+ $ref: "#/parameters/rowFilter.accountSubcategory.name",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrder.createdAt",
+ $ref: "#/parameters/rowFilter.accountSubcategory.accountCategoryId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrder.createdBy",
+ $ref: "#/parameters/rowFilter.accountSubcategory.active",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrder.updatedAt",
+ $ref: "#/parameters/rowFilter.accountSubcategory.createdBy",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrder.updatedBy",
+ $ref: "#/parameters/rowFilter.accountSubcategory.createdAt",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrder.currencyCode",
+ $ref: "#/parameters/rowFilter.accountSubcategory.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrder.exchangeRate",
+ $ref: "#/parameters/rowFilter.accountSubcategory.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrder.exchangeRateUpdatedAt",
+ $ref: "#/parameters/rowFilter.accountSubcategory.customFields",
},
{
$ref: "#/parameters/select",
@@ -8565,7 +9048,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/purchaseOrder",
+ $ref: "#/definitions/accountSubcategory",
},
type: "array",
},
@@ -8574,12 +9057,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["purchaseOrder"],
+ tags: ["accountSubcategory"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.purchaseOrder",
+ $ref: "#/parameters/body.accountSubcategory",
},
{
$ref: "#/parameters/select",
@@ -8593,78 +9076,79 @@ export default {
description: "Created",
},
},
- tags: ["purchaseOrder"],
+ tags: ["accountSubcategory"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.purchaseOrder.id",
- },
- {
- $ref: "#/parameters/rowFilter.purchaseOrder.purchaseOrderId",
- },
- {
- $ref: "#/parameters/rowFilter.purchaseOrder.revisionId",
+ $ref: "#/parameters/rowFilter.accountSubcategory.id",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrder.type",
+ $ref: "#/parameters/rowFilter.accountSubcategory.name",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrder.status",
+ $ref: "#/parameters/rowFilter.accountSubcategory.accountCategoryId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrder.orderDate",
+ $ref: "#/parameters/rowFilter.accountSubcategory.active",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrder.notes",
+ $ref: "#/parameters/rowFilter.accountSubcategory.createdBy",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrder.supplierId",
+ $ref: "#/parameters/rowFilter.accountSubcategory.createdAt",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrder.supplierLocationId",
+ $ref: "#/parameters/rowFilter.accountSubcategory.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrder.supplierContactId",
+ $ref: "#/parameters/rowFilter.accountSubcategory.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrder.supplierReference",
+ $ref: "#/parameters/rowFilter.accountSubcategory.customFields",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrder.assignee",
+ $ref: "#/parameters/preferReturn",
},
- {
- $ref: "#/parameters/rowFilter.purchaseOrder.companyId",
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
},
+ },
+ tags: ["accountSubcategory"],
+ },
+ patch: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.purchaseOrder.closedAt",
+ $ref: "#/parameters/rowFilter.accountSubcategory.id",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrder.closedBy",
+ $ref: "#/parameters/rowFilter.accountSubcategory.name",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrder.customFields",
+ $ref: "#/parameters/rowFilter.accountSubcategory.accountCategoryId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrder.createdAt",
+ $ref: "#/parameters/rowFilter.accountSubcategory.active",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrder.createdBy",
+ $ref: "#/parameters/rowFilter.accountSubcategory.createdBy",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrder.updatedAt",
+ $ref: "#/parameters/rowFilter.accountSubcategory.createdAt",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrder.updatedBy",
+ $ref: "#/parameters/rowFilter.accountSubcategory.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrder.currencyCode",
+ $ref: "#/parameters/rowFilter.accountSubcategory.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrder.exchangeRate",
+ $ref: "#/parameters/rowFilter.accountSubcategory.customFields",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrder.exchangeRateUpdatedAt",
+ $ref: "#/parameters/body.accountSubcategory",
},
{
$ref: "#/parameters/preferReturn",
@@ -8675,270 +9159,272 @@ export default {
description: "No Content",
},
},
- tags: ["purchaseOrder"],
+ tags: ["accountSubcategory"],
},
- patch: {
+ },
+ "/material": {
+ get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.purchaseOrder.id",
+ $ref: "#/parameters/rowFilter.material.id",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrder.purchaseOrderId",
+ $ref: "#/parameters/rowFilter.material.itemId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrder.revisionId",
+ $ref: "#/parameters/rowFilter.material.materialFormId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrder.type",
+ $ref: "#/parameters/rowFilter.material.materialSubstanceId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrder.status",
+ $ref: "#/parameters/rowFilter.material.grade",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrder.orderDate",
+ $ref: "#/parameters/rowFilter.material.dimensions",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrder.notes",
+ $ref: "#/parameters/rowFilter.material.finish",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrder.supplierId",
+ $ref: "#/parameters/rowFilter.material.approved",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrder.supplierLocationId",
+ $ref: "#/parameters/rowFilter.material.approvedBy",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrder.supplierContactId",
+ $ref: "#/parameters/rowFilter.material.customFields",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrder.supplierReference",
+ $ref: "#/parameters/rowFilter.material.companyId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrder.assignee",
+ $ref: "#/parameters/rowFilter.material.createdBy",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrder.companyId",
+ $ref: "#/parameters/rowFilter.material.createdAt",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrder.closedAt",
+ $ref: "#/parameters/rowFilter.material.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrder.closedBy",
+ $ref: "#/parameters/rowFilter.material.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrder.customFields",
+ $ref: "#/parameters/rowFilter.material.externalId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrder.createdAt",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrder.createdBy",
+ $ref: "#/parameters/order",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrder.updatedAt",
+ $ref: "#/parameters/range",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrder.updatedBy",
+ $ref: "#/parameters/rangeUnit",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrder.currencyCode",
+ $ref: "#/parameters/offset",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrder.exchangeRate",
+ $ref: "#/parameters/limit",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrder.exchangeRateUpdatedAt",
+ $ref: "#/parameters/preferCount",
},
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/material",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
+ },
+ },
+ tags: ["material"],
+ },
+ post: {
+ parameters: [
{
- $ref: "#/parameters/body.purchaseOrder",
+ $ref: "#/parameters/body.material",
},
{
- $ref: "#/parameters/preferReturn",
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/preferPost",
},
],
responses: {
- "204": {
- description: "No Content",
+ "201": {
+ description: "Created",
},
},
- tags: ["purchaseOrder"],
+ tags: ["material"],
},
- },
- "/fixtures": {
- get: {
+ delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.fixtures.active",
+ $ref: "#/parameters/rowFilter.material.id",
},
{
- $ref: "#/parameters/rowFilter.fixtures.assignee",
+ $ref: "#/parameters/rowFilter.material.itemId",
},
{
- $ref: "#/parameters/rowFilter.fixtures.defaultMethodType",
+ $ref: "#/parameters/rowFilter.material.materialFormId",
},
{
- $ref: "#/parameters/rowFilter.fixtures.description",
+ $ref: "#/parameters/rowFilter.material.materialSubstanceId",
},
{
- $ref: "#/parameters/rowFilter.fixtures.itemTrackingType",
+ $ref: "#/parameters/rowFilter.material.grade",
},
{
- $ref: "#/parameters/rowFilter.fixtures.name",
+ $ref: "#/parameters/rowFilter.material.dimensions",
},
{
- $ref: "#/parameters/rowFilter.fixtures.replenishmentSystem",
+ $ref: "#/parameters/rowFilter.material.finish",
},
{
- $ref: "#/parameters/rowFilter.fixtures.unitOfMeasureCode",
+ $ref: "#/parameters/rowFilter.material.approved",
},
{
- $ref: "#/parameters/rowFilter.fixtures.thumbnailPath",
+ $ref: "#/parameters/rowFilter.material.approvedBy",
},
{
- $ref: "#/parameters/rowFilter.fixtures.id",
+ $ref: "#/parameters/rowFilter.material.customFields",
},
{
- $ref: "#/parameters/rowFilter.fixtures.itemId",
+ $ref: "#/parameters/rowFilter.material.companyId",
},
{
- $ref: "#/parameters/rowFilter.fixtures.customerId",
+ $ref: "#/parameters/rowFilter.material.createdBy",
},
{
- $ref: "#/parameters/rowFilter.fixtures.approved",
+ $ref: "#/parameters/rowFilter.material.createdAt",
},
{
- $ref: "#/parameters/rowFilter.fixtures.approvedBy",
+ $ref: "#/parameters/rowFilter.material.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.fixtures.customFields",
+ $ref: "#/parameters/rowFilter.material.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.fixtures.companyId",
+ $ref: "#/parameters/rowFilter.material.externalId",
},
{
- $ref: "#/parameters/rowFilter.fixtures.createdBy",
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
},
+ },
+ tags: ["material"],
+ },
+ patch: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.fixtures.createdAt",
+ $ref: "#/parameters/rowFilter.material.id",
},
{
- $ref: "#/parameters/rowFilter.fixtures.updatedBy",
+ $ref: "#/parameters/rowFilter.material.itemId",
},
{
- $ref: "#/parameters/rowFilter.fixtures.updatedAt",
+ $ref: "#/parameters/rowFilter.material.materialFormId",
},
{
- $ref: "#/parameters/rowFilter.fixtures.externalId",
+ $ref: "#/parameters/rowFilter.material.materialSubstanceId",
},
{
- $ref: "#/parameters/rowFilter.fixtures.modelId",
+ $ref: "#/parameters/rowFilter.material.grade",
},
{
- $ref: "#/parameters/rowFilter.fixtures.autodeskUrn",
+ $ref: "#/parameters/rowFilter.material.dimensions",
},
{
- $ref: "#/parameters/rowFilter.fixtures.modelPath",
+ $ref: "#/parameters/rowFilter.material.finish",
},
{
- $ref: "#/parameters/rowFilter.fixtures.modelName",
+ $ref: "#/parameters/rowFilter.material.approved",
},
{
- $ref: "#/parameters/rowFilter.fixtures.modelSize",
+ $ref: "#/parameters/rowFilter.material.approvedBy",
},
{
- $ref: "#/parameters/rowFilter.fixtures.supplierIds",
+ $ref: "#/parameters/rowFilter.material.customFields",
},
{
- $ref: "#/parameters/rowFilter.fixtures.customer",
+ $ref: "#/parameters/rowFilter.material.companyId",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.material.createdBy",
},
{
- $ref: "#/parameters/order",
+ $ref: "#/parameters/rowFilter.material.createdAt",
},
{
- $ref: "#/parameters/range",
+ $ref: "#/parameters/rowFilter.material.updatedBy",
},
{
- $ref: "#/parameters/rangeUnit",
+ $ref: "#/parameters/rowFilter.material.updatedAt",
},
{
- $ref: "#/parameters/offset",
+ $ref: "#/parameters/rowFilter.material.externalId",
},
{
- $ref: "#/parameters/limit",
+ $ref: "#/parameters/body.material",
},
{
- $ref: "#/parameters/preferCount",
+ $ref: "#/parameters/preferReturn",
},
],
responses: {
- "200": {
- description: "OK",
- schema: {
- items: {
- $ref: "#/definitions/fixtures",
- },
- type: "array",
- },
- },
- "206": {
- description: "Partial Content",
+ "204": {
+ description: "No Content",
},
},
- tags: ["fixtures"],
+ tags: ["material"],
},
},
- "/company": {
+ "/supplierPayment": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.company.id",
- },
- {
- $ref: "#/parameters/rowFilter.company.name",
- },
- {
- $ref: "#/parameters/rowFilter.company.taxId",
- },
- {
- $ref: "#/parameters/rowFilter.company.logo",
- },
- {
- $ref: "#/parameters/rowFilter.company.addressLine1",
- },
- {
- $ref: "#/parameters/rowFilter.company.addressLine2",
- },
- {
- $ref: "#/parameters/rowFilter.company.city",
- },
- {
- $ref: "#/parameters/rowFilter.company.stateProvince",
+ $ref: "#/parameters/rowFilter.supplierPayment.supplierId",
},
{
- $ref: "#/parameters/rowFilter.company.postalCode",
+ $ref: "#/parameters/rowFilter.supplierPayment.invoiceSupplierId",
},
{
- $ref: "#/parameters/rowFilter.company.countryCode",
+ $ref: "#/parameters/rowFilter.supplierPayment.invoiceSupplierLocationId",
},
{
- $ref: "#/parameters/rowFilter.company.phone",
+ $ref: "#/parameters/rowFilter.supplierPayment.invoiceSupplierContactId",
},
{
- $ref: "#/parameters/rowFilter.company.fax",
+ $ref: "#/parameters/rowFilter.supplierPayment.paymentTermId",
},
{
- $ref: "#/parameters/rowFilter.company.email",
+ $ref: "#/parameters/rowFilter.supplierPayment.companyId",
},
{
- $ref: "#/parameters/rowFilter.company.website",
+ $ref: "#/parameters/rowFilter.supplierPayment.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.company.updatedBy",
+ $ref: "#/parameters/rowFilter.supplierPayment.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.company.baseCurrencyCode",
+ $ref: "#/parameters/rowFilter.supplierPayment.customFields",
},
{
$ref: "#/parameters/select",
@@ -8967,7 +9453,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/company",
+ $ref: "#/definitions/supplierPayment",
},
type: "array",
},
@@ -8976,12 +9462,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["company"],
+ tags: ["supplierPayment"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.company",
+ $ref: "#/parameters/body.supplierPayment",
},
{
$ref: "#/parameters/select",
@@ -8995,57 +9481,36 @@ export default {
description: "Created",
},
},
- tags: ["company"],
+ tags: ["supplierPayment"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.company.id",
- },
- {
- $ref: "#/parameters/rowFilter.company.name",
- },
- {
- $ref: "#/parameters/rowFilter.company.taxId",
- },
- {
- $ref: "#/parameters/rowFilter.company.logo",
- },
- {
- $ref: "#/parameters/rowFilter.company.addressLine1",
- },
- {
- $ref: "#/parameters/rowFilter.company.addressLine2",
- },
- {
- $ref: "#/parameters/rowFilter.company.city",
- },
- {
- $ref: "#/parameters/rowFilter.company.stateProvince",
+ $ref: "#/parameters/rowFilter.supplierPayment.supplierId",
},
{
- $ref: "#/parameters/rowFilter.company.postalCode",
+ $ref: "#/parameters/rowFilter.supplierPayment.invoiceSupplierId",
},
{
- $ref: "#/parameters/rowFilter.company.countryCode",
+ $ref: "#/parameters/rowFilter.supplierPayment.invoiceSupplierLocationId",
},
{
- $ref: "#/parameters/rowFilter.company.phone",
+ $ref: "#/parameters/rowFilter.supplierPayment.invoiceSupplierContactId",
},
{
- $ref: "#/parameters/rowFilter.company.fax",
+ $ref: "#/parameters/rowFilter.supplierPayment.paymentTermId",
},
{
- $ref: "#/parameters/rowFilter.company.email",
+ $ref: "#/parameters/rowFilter.supplierPayment.companyId",
},
{
- $ref: "#/parameters/rowFilter.company.website",
+ $ref: "#/parameters/rowFilter.supplierPayment.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.company.updatedBy",
+ $ref: "#/parameters/rowFilter.supplierPayment.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.company.baseCurrencyCode",
+ $ref: "#/parameters/rowFilter.supplierPayment.customFields",
},
{
$ref: "#/parameters/preferReturn",
@@ -9056,60 +9521,39 @@ export default {
description: "No Content",
},
},
- tags: ["company"],
+ tags: ["supplierPayment"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.company.id",
- },
- {
- $ref: "#/parameters/rowFilter.company.name",
- },
- {
- $ref: "#/parameters/rowFilter.company.taxId",
- },
- {
- $ref: "#/parameters/rowFilter.company.logo",
- },
- {
- $ref: "#/parameters/rowFilter.company.addressLine1",
- },
- {
- $ref: "#/parameters/rowFilter.company.addressLine2",
- },
- {
- $ref: "#/parameters/rowFilter.company.city",
- },
- {
- $ref: "#/parameters/rowFilter.company.stateProvince",
+ $ref: "#/parameters/rowFilter.supplierPayment.supplierId",
},
{
- $ref: "#/parameters/rowFilter.company.postalCode",
+ $ref: "#/parameters/rowFilter.supplierPayment.invoiceSupplierId",
},
{
- $ref: "#/parameters/rowFilter.company.countryCode",
+ $ref: "#/parameters/rowFilter.supplierPayment.invoiceSupplierLocationId",
},
{
- $ref: "#/parameters/rowFilter.company.phone",
+ $ref: "#/parameters/rowFilter.supplierPayment.invoiceSupplierContactId",
},
{
- $ref: "#/parameters/rowFilter.company.fax",
+ $ref: "#/parameters/rowFilter.supplierPayment.paymentTermId",
},
{
- $ref: "#/parameters/rowFilter.company.email",
+ $ref: "#/parameters/rowFilter.supplierPayment.companyId",
},
{
- $ref: "#/parameters/rowFilter.company.website",
+ $ref: "#/parameters/rowFilter.supplierPayment.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.company.updatedBy",
+ $ref: "#/parameters/rowFilter.supplierPayment.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.company.baseCurrencyCode",
+ $ref: "#/parameters/rowFilter.supplierPayment.customFields",
},
{
- $ref: "#/parameters/body.company",
+ $ref: "#/parameters/body.supplierPayment",
},
{
$ref: "#/parameters/preferReturn",
@@ -9120,41 +9564,17 @@ export default {
description: "No Content",
},
},
- tags: ["company"],
+ tags: ["supplierPayment"],
},
},
- "/userAttributeCategory": {
+ "/currencyCode": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.userAttributeCategory.id",
- },
- {
- $ref: "#/parameters/rowFilter.userAttributeCategory.name",
- },
- {
- $ref: "#/parameters/rowFilter.userAttributeCategory.public",
- },
- {
- $ref: "#/parameters/rowFilter.userAttributeCategory.protected",
- },
- {
- $ref: "#/parameters/rowFilter.userAttributeCategory.companyId",
- },
- {
- $ref: "#/parameters/rowFilter.userAttributeCategory.active",
- },
- {
- $ref: "#/parameters/rowFilter.userAttributeCategory.createdAt",
- },
- {
- $ref: "#/parameters/rowFilter.userAttributeCategory.createdBy",
- },
- {
- $ref: "#/parameters/rowFilter.userAttributeCategory.updatedAt",
+ $ref: "#/parameters/rowFilter.currencyCode.code",
},
{
- $ref: "#/parameters/rowFilter.userAttributeCategory.updatedBy",
+ $ref: "#/parameters/rowFilter.currencyCode.name",
},
{
$ref: "#/parameters/select",
@@ -9183,7 +9603,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/userAttributeCategory",
+ $ref: "#/definitions/currencyCode",
},
type: "array",
},
@@ -9192,12 +9612,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["userAttributeCategory"],
+ tags: ["currencyCode"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.userAttributeCategory",
+ $ref: "#/parameters/body.currencyCode",
},
{
$ref: "#/parameters/select",
@@ -9211,39 +9631,15 @@ export default {
description: "Created",
},
},
- tags: ["userAttributeCategory"],
+ tags: ["currencyCode"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.userAttributeCategory.id",
- },
- {
- $ref: "#/parameters/rowFilter.userAttributeCategory.name",
- },
- {
- $ref: "#/parameters/rowFilter.userAttributeCategory.public",
- },
- {
- $ref: "#/parameters/rowFilter.userAttributeCategory.protected",
- },
- {
- $ref: "#/parameters/rowFilter.userAttributeCategory.companyId",
- },
- {
- $ref: "#/parameters/rowFilter.userAttributeCategory.active",
- },
- {
- $ref: "#/parameters/rowFilter.userAttributeCategory.createdAt",
- },
- {
- $ref: "#/parameters/rowFilter.userAttributeCategory.createdBy",
- },
- {
- $ref: "#/parameters/rowFilter.userAttributeCategory.updatedAt",
+ $ref: "#/parameters/rowFilter.currencyCode.code",
},
{
- $ref: "#/parameters/rowFilter.userAttributeCategory.updatedBy",
+ $ref: "#/parameters/rowFilter.currencyCode.name",
},
{
$ref: "#/parameters/preferReturn",
@@ -9254,42 +9650,18 @@ export default {
description: "No Content",
},
},
- tags: ["userAttributeCategory"],
+ tags: ["currencyCode"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.userAttributeCategory.id",
- },
- {
- $ref: "#/parameters/rowFilter.userAttributeCategory.name",
- },
- {
- $ref: "#/parameters/rowFilter.userAttributeCategory.public",
- },
- {
- $ref: "#/parameters/rowFilter.userAttributeCategory.protected",
- },
- {
- $ref: "#/parameters/rowFilter.userAttributeCategory.companyId",
- },
- {
- $ref: "#/parameters/rowFilter.userAttributeCategory.active",
- },
- {
- $ref: "#/parameters/rowFilter.userAttributeCategory.createdAt",
- },
- {
- $ref: "#/parameters/rowFilter.userAttributeCategory.createdBy",
- },
- {
- $ref: "#/parameters/rowFilter.userAttributeCategory.updatedAt",
+ $ref: "#/parameters/rowFilter.currencyCode.code",
},
{
- $ref: "#/parameters/rowFilter.userAttributeCategory.updatedBy",
+ $ref: "#/parameters/rowFilter.currencyCode.name",
},
{
- $ref: "#/parameters/body.userAttributeCategory",
+ $ref: "#/parameters/body.currencyCode",
},
{
$ref: "#/parameters/preferReturn",
@@ -9300,116 +9672,71 @@ export default {
description: "No Content",
},
},
- tags: ["userAttributeCategory"],
+ tags: ["currencyCode"],
},
},
- "/salesOrderLine": {
+ "/methodMaterial": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.salesOrderLine.id",
- },
- {
- $ref: "#/parameters/rowFilter.salesOrderLine.salesOrderId",
- },
- {
- $ref: "#/parameters/rowFilter.salesOrderLine.salesOrderLineType",
- },
- {
- $ref: "#/parameters/rowFilter.salesOrderLine.itemId",
- },
- {
- $ref: "#/parameters/rowFilter.salesOrderLine.itemReadableId",
- },
- {
- $ref: "#/parameters/rowFilter.salesOrderLine.accountNumber",
- },
- {
- $ref: "#/parameters/rowFilter.salesOrderLine.assetId",
- },
- {
- $ref: "#/parameters/rowFilter.salesOrderLine.description",
- },
- {
- $ref: "#/parameters/rowFilter.salesOrderLine.saleQuantity",
- },
- {
- $ref: "#/parameters/rowFilter.salesOrderLine.quantityToSend",
- },
- {
- $ref: "#/parameters/rowFilter.salesOrderLine.quantitySent",
- },
- {
- $ref: "#/parameters/rowFilter.salesOrderLine.quantityToInvoice",
- },
- {
- $ref: "#/parameters/rowFilter.salesOrderLine.quantityInvoiced",
- },
- {
- $ref: "#/parameters/rowFilter.salesOrderLine.unitPrice",
- },
- {
- $ref: "#/parameters/rowFilter.salesOrderLine.unitOfMeasureCode",
- },
- {
- $ref: "#/parameters/rowFilter.salesOrderLine.locationId",
+ $ref: "#/parameters/rowFilter.methodMaterial.id",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.shelfId",
+ $ref: "#/parameters/rowFilter.methodMaterial.makeMethodId",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.setupPrice",
+ $ref: "#/parameters/rowFilter.methodMaterial.methodType",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.sentComplete",
+ $ref: "#/parameters/rowFilter.methodMaterial.materialMakeMethodId",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.invoicedComplete",
+ $ref: "#/parameters/rowFilter.methodMaterial.itemType",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.requiresInspection",
+ $ref: "#/parameters/rowFilter.methodMaterial.itemId",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.companyId",
+ $ref: "#/parameters/rowFilter.methodMaterial.quantity",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.createdAt",
+ $ref: "#/parameters/rowFilter.methodMaterial.unitOfMeasureCode",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.createdBy",
+ $ref: "#/parameters/rowFilter.methodMaterial.companyId",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.updatedAt",
+ $ref: "#/parameters/rowFilter.methodMaterial.createdAt",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.updatedBy",
+ $ref: "#/parameters/rowFilter.methodMaterial.createdBy",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.customFields",
+ $ref: "#/parameters/rowFilter.methodMaterial.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.status",
+ $ref: "#/parameters/rowFilter.methodMaterial.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.modelUploadId",
+ $ref: "#/parameters/rowFilter.methodMaterial.customFields",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.promisedDate",
+ $ref: "#/parameters/rowFilter.methodMaterial.itemReadableId",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.addOnCost",
+ $ref: "#/parameters/rowFilter.methodMaterial.order",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.methodType",
+ $ref: "#/parameters/rowFilter.methodMaterial.methodOperationId",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.exchangeRate",
+ $ref: "#/parameters/rowFilter.methodMaterial.scrapQuantity",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.convertedUnitPrice",
+ $ref: "#/parameters/rowFilter.methodMaterial.productionQuantity",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.convertedAddOnCost",
+ $ref: "#/parameters/rowFilter.jobOperation.priority",
},
{
$ref: "#/parameters/select",
@@ -9438,7 +9765,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/salesOrderLine",
+ $ref: "#/definitions/methodMaterial",
},
type: "array",
},
@@ -9447,12 +9774,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["salesOrderLine"],
+ tags: ["methodMaterial"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.salesOrderLine",
+ $ref: "#/parameters/body.methodMaterial",
},
{
$ref: "#/parameters/select",
@@ -9466,265 +9793,313 @@ export default {
description: "Created",
},
},
- tags: ["salesOrderLine"],
+ tags: ["methodMaterial"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.salesOrderLine.id",
+ $ref: "#/parameters/rowFilter.methodMaterial.id",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.salesOrderId",
+ $ref: "#/parameters/rowFilter.methodMaterial.makeMethodId",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.salesOrderLineType",
+ $ref: "#/parameters/rowFilter.methodMaterial.methodType",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.itemId",
+ $ref: "#/parameters/rowFilter.methodMaterial.materialMakeMethodId",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.itemReadableId",
+ $ref: "#/parameters/rowFilter.methodMaterial.itemType",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.accountNumber",
+ $ref: "#/parameters/rowFilter.methodMaterial.itemId",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.assetId",
+ $ref: "#/parameters/rowFilter.methodMaterial.quantity",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.description",
+ $ref: "#/parameters/rowFilter.methodMaterial.unitOfMeasureCode",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.saleQuantity",
+ $ref: "#/parameters/rowFilter.methodMaterial.companyId",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.quantityToSend",
+ $ref: "#/parameters/rowFilter.methodMaterial.createdAt",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.quantitySent",
+ $ref: "#/parameters/rowFilter.methodMaterial.createdBy",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.quantityToInvoice",
+ $ref: "#/parameters/rowFilter.methodMaterial.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.quantityInvoiced",
+ $ref: "#/parameters/rowFilter.methodMaterial.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.unitPrice",
+ $ref: "#/parameters/rowFilter.methodMaterial.customFields",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.unitOfMeasureCode",
+ $ref: "#/parameters/rowFilter.methodMaterial.itemReadableId",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.locationId",
+ $ref: "#/parameters/rowFilter.methodMaterial.order",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.shelfId",
+ $ref: "#/parameters/rowFilter.methodMaterial.methodOperationId",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.setupPrice",
+ $ref: "#/parameters/rowFilter.methodMaterial.scrapQuantity",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.sentComplete",
+ $ref: "#/parameters/rowFilter.methodMaterial.productionQuantity",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.invoicedComplete",
+ $ref: "#/parameters/rowFilter.jobOperation.priority",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.requiresInspection",
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
},
+ },
+ tags: ["methodMaterial"],
+ },
+ patch: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.salesOrderLine.companyId",
+ $ref: "#/parameters/rowFilter.methodMaterial.id",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.createdAt",
+ $ref: "#/parameters/rowFilter.methodMaterial.makeMethodId",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.createdBy",
+ $ref: "#/parameters/rowFilter.methodMaterial.methodType",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.updatedAt",
+ $ref: "#/parameters/rowFilter.methodMaterial.materialMakeMethodId",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.updatedBy",
+ $ref: "#/parameters/rowFilter.methodMaterial.itemType",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.customFields",
+ $ref: "#/parameters/rowFilter.methodMaterial.itemId",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.status",
+ $ref: "#/parameters/rowFilter.methodMaterial.quantity",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.modelUploadId",
+ $ref: "#/parameters/rowFilter.methodMaterial.unitOfMeasureCode",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.promisedDate",
+ $ref: "#/parameters/rowFilter.methodMaterial.companyId",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.addOnCost",
+ $ref: "#/parameters/rowFilter.methodMaterial.createdAt",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.methodType",
+ $ref: "#/parameters/rowFilter.methodMaterial.createdBy",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.exchangeRate",
+ $ref: "#/parameters/rowFilter.methodMaterial.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.convertedUnitPrice",
+ $ref: "#/parameters/rowFilter.methodMaterial.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.convertedAddOnCost",
+ $ref: "#/parameters/rowFilter.methodMaterial.customFields",
},
{
- $ref: "#/parameters/preferReturn",
+ $ref: "#/parameters/rowFilter.methodMaterial.itemReadableId",
},
- ],
- responses: {
- "204": {
- description: "No Content",
+ {
+ $ref: "#/parameters/rowFilter.methodMaterial.order",
},
- },
- tags: ["salesOrderLine"],
- },
- patch: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.salesOrderLine.id",
+ $ref: "#/parameters/rowFilter.methodMaterial.methodOperationId",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.salesOrderId",
+ $ref: "#/parameters/rowFilter.methodMaterial.scrapQuantity",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.salesOrderLineType",
+ $ref: "#/parameters/rowFilter.methodMaterial.productionQuantity",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.itemId",
+ $ref: "#/parameters/rowFilter.jobOperation.operationLeadTime",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.itemReadableId",
+ $ref: "#/parameters/rowFilter.jobOperation.operationUnitCost",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.accountNumber",
+ $ref: "#/parameters/rowFilter.jobOperation.operationSupplierProcessId",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.assetId",
+ $ref: "#/parameters/rowFilter.jobOperation.workInstruction",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.description",
+ $ref: "#/parameters/rowFilter.jobOperation.companyId",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.saleQuantity",
+ $ref: "#/parameters/rowFilter.jobOperation.createdAt",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.quantityToSend",
+ $ref: "#/parameters/rowFilter.jobOperation.createdBy",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.quantitySent",
+ $ref: "#/parameters/rowFilter.jobOperation.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.quantityToInvoice",
+ $ref: "#/parameters/rowFilter.jobOperation.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.quantityInvoiced",
+ $ref: "#/parameters/rowFilter.jobOperation.customFields",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.unitPrice",
+ $ref: "#/parameters/rowFilter.jobOperation.operationQuantity",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.unitOfMeasureCode",
+ $ref: "#/parameters/rowFilter.jobOperation.quantityComplete",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.locationId",
+ $ref: "#/parameters/rowFilter.jobOperation.quantityScrapped",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.shelfId",
+ $ref: "#/parameters/rowFilter.jobOperation.quantityReworked",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.setupPrice",
+ $ref: "#/parameters/rowFilter.jobOperation.status",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.sentComplete",
+ $ref: "#/parameters/rowFilter.jobOperation.priority",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.invoicedComplete",
+ $ref: "#/parameters/body.jobOperation",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.requiresInspection",
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
},
+ },
+ tags: ["methodMaterial"],
+ },
+ },
+ "/processes": {
+ get: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.salesOrderLine.companyId",
+ $ref: "#/parameters/rowFilter.processes.id",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.createdAt",
+ $ref: "#/parameters/rowFilter.processes.name",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.createdBy",
+ $ref: "#/parameters/rowFilter.processes.defaultStandardFactor",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.updatedAt",
+ $ref: "#/parameters/rowFilter.processes.companyId",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.updatedBy",
+ $ref: "#/parameters/rowFilter.processes.customFields",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.customFields",
+ $ref: "#/parameters/rowFilter.processes.createdBy",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.status",
+ $ref: "#/parameters/rowFilter.processes.createdAt",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.modelUploadId",
+ $ref: "#/parameters/rowFilter.processes.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.promisedDate",
+ $ref: "#/parameters/rowFilter.processes.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.addOnCost",
+ $ref: "#/parameters/rowFilter.processes.processType",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.methodType",
+ $ref: "#/parameters/rowFilter.processes.workCenters",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.exchangeRate",
+ $ref: "#/parameters/rowFilter.processes.suppliers",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.convertedUnitPrice",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLine.convertedAddOnCost",
+ $ref: "#/parameters/order",
},
{
- $ref: "#/parameters/body.salesOrderLine",
+ $ref: "#/parameters/range",
},
{
- $ref: "#/parameters/preferReturn",
+ $ref: "#/parameters/rangeUnit",
+ },
+ {
+ $ref: "#/parameters/offset",
+ },
+ {
+ $ref: "#/parameters/limit",
+ },
+ {
+ $ref: "#/parameters/preferCount",
},
],
responses: {
- "204": {
- description: "No Content",
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/processes",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
},
},
- tags: ["salesOrderLine"],
+ tags: ["processes"],
},
},
- "/salesOrderTransaction": {
+ "/process": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.salesOrderTransaction.id",
+ $ref: "#/parameters/rowFilter.process.id",
},
{
- $ref: "#/parameters/rowFilter.salesOrderTransaction.salesOrderId",
+ $ref: "#/parameters/rowFilter.process.name",
},
{
- $ref: "#/parameters/rowFilter.salesOrderTransaction.type",
+ $ref: "#/parameters/rowFilter.process.defaultStandardFactor",
},
{
- $ref: "#/parameters/rowFilter.salesOrderTransaction.userId",
+ $ref: "#/parameters/rowFilter.process.companyId",
},
{
- $ref: "#/parameters/rowFilter.salesOrderTransaction.createdAt",
+ $ref: "#/parameters/rowFilter.process.customFields",
+ },
+ {
+ $ref: "#/parameters/rowFilter.process.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.process.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.process.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.process.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.process.processType",
},
{
$ref: "#/parameters/select",
@@ -9753,7 +10128,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/salesOrderTransaction",
+ $ref: "#/definitions/process",
},
type: "array",
},
@@ -9762,12 +10137,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["salesOrderTransaction"],
+ tags: ["process"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.salesOrderTransaction",
+ $ref: "#/parameters/body.process",
},
{
$ref: "#/parameters/select",
@@ -9781,55 +10156,39 @@ export default {
description: "Created",
},
},
- tags: ["salesOrderTransaction"],
+ tags: ["process"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.salesOrderTransaction.id",
- },
- {
- $ref: "#/parameters/rowFilter.salesOrderTransaction.salesOrderId",
- },
- {
- $ref: "#/parameters/rowFilter.salesOrderTransaction.type",
+ $ref: "#/parameters/rowFilter.process.id",
},
{
- $ref: "#/parameters/rowFilter.salesOrderTransaction.userId",
+ $ref: "#/parameters/rowFilter.process.name",
},
{
- $ref: "#/parameters/rowFilter.salesOrderTransaction.createdAt",
+ $ref: "#/parameters/rowFilter.process.defaultStandardFactor",
},
{
- $ref: "#/parameters/preferReturn",
- },
- ],
- responses: {
- "204": {
- description: "No Content",
+ $ref: "#/parameters/rowFilter.process.companyId",
},
- },
- tags: ["salesOrderTransaction"],
- },
- patch: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.salesOrderTransaction.id",
+ $ref: "#/parameters/rowFilter.process.customFields",
},
{
- $ref: "#/parameters/rowFilter.salesOrderTransaction.salesOrderId",
+ $ref: "#/parameters/rowFilter.process.createdBy",
},
{
- $ref: "#/parameters/rowFilter.salesOrderTransaction.type",
+ $ref: "#/parameters/rowFilter.process.createdAt",
},
{
- $ref: "#/parameters/rowFilter.salesOrderTransaction.userId",
+ $ref: "#/parameters/rowFilter.process.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.salesOrderTransaction.createdAt",
+ $ref: "#/parameters/rowFilter.process.updatedAt",
},
{
- $ref: "#/parameters/body.salesOrderTransaction",
+ $ref: "#/parameters/rowFilter.process.processType",
},
{
$ref: "#/parameters/preferReturn",
@@ -9840,161 +10199,123 @@ export default {
description: "No Content",
},
},
- tags: ["salesOrderTransaction"],
+ tags: ["process"],
},
- },
- "/country": {
- get: {
+ patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.country.name",
- },
- {
- $ref: "#/parameters/rowFilter.country.alpha2",
+ $ref: "#/parameters/rowFilter.process.id",
},
{
- $ref: "#/parameters/rowFilter.country.alpha3",
+ $ref: "#/parameters/rowFilter.process.name",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.process.defaultStandardFactor",
},
{
- $ref: "#/parameters/order",
+ $ref: "#/parameters/rowFilter.process.companyId",
},
{
- $ref: "#/parameters/range",
+ $ref: "#/parameters/rowFilter.process.customFields",
},
{
- $ref: "#/parameters/rangeUnit",
+ $ref: "#/parameters/rowFilter.process.createdBy",
},
{
- $ref: "#/parameters/offset",
+ $ref: "#/parameters/rowFilter.process.createdAt",
},
{
- $ref: "#/parameters/limit",
+ $ref: "#/parameters/rowFilter.process.updatedBy",
},
{
- $ref: "#/parameters/preferCount",
- },
- ],
- responses: {
- "200": {
- description: "OK",
- schema: {
- items: {
- $ref: "#/definitions/country",
- },
- type: "array",
- },
- },
- "206": {
- description: "Partial Content",
+ $ref: "#/parameters/rowFilter.process.updatedAt",
},
- },
- tags: ["country"],
- },
- post: {
- parameters: [
{
- $ref: "#/parameters/body.country",
+ $ref: "#/parameters/rowFilter.process.processType",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/body.process",
},
{
- $ref: "#/parameters/preferPost",
+ $ref: "#/parameters/preferReturn",
},
],
responses: {
- "201": {
- description: "Created",
+ "204": {
+ description: "No Content",
},
},
- tags: ["country"],
+ tags: ["process"],
},
- delete: {
+ },
+ "/quoteMaterial": {
+ get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.country.name",
+ $ref: "#/parameters/rowFilter.quoteMaterial.id",
},
{
- $ref: "#/parameters/rowFilter.country.alpha2",
+ $ref: "#/parameters/rowFilter.quoteMaterial.quoteId",
},
{
- $ref: "#/parameters/rowFilter.country.alpha3",
+ $ref: "#/parameters/rowFilter.quoteMaterial.quoteLineId",
},
{
- $ref: "#/parameters/preferReturn",
+ $ref: "#/parameters/rowFilter.quoteMaterial.itemId",
},
- ],
- responses: {
- "204": {
- description: "No Content",
+ {
+ $ref: "#/parameters/rowFilter.quoteMaterial.itemReadableId",
},
- },
- tags: ["country"],
- },
- patch: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.country.name",
+ $ref: "#/parameters/rowFilter.quoteMaterial.itemType",
},
{
- $ref: "#/parameters/rowFilter.country.alpha2",
+ $ref: "#/parameters/rowFilter.quoteMaterial.methodType",
},
{
- $ref: "#/parameters/rowFilter.country.alpha3",
+ $ref: "#/parameters/rowFilter.quoteMaterial.order",
},
{
- $ref: "#/parameters/body.country",
+ $ref: "#/parameters/rowFilter.quoteMaterial.description",
},
{
- $ref: "#/parameters/preferReturn",
+ $ref: "#/parameters/rowFilter.quoteMaterial.quantity",
},
- ],
- responses: {
- "204": {
- description: "No Content",
+ {
+ $ref: "#/parameters/rowFilter.quoteMaterial.unitOfMeasureCode",
},
- },
- tags: ["country"],
- },
- },
- "/jobMakeMethod": {
- get: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.jobMakeMethod.id",
+ $ref: "#/parameters/rowFilter.quoteMaterial.unitCost",
},
{
- $ref: "#/parameters/rowFilter.jobMakeMethod.jobId",
+ $ref: "#/parameters/rowFilter.quoteMaterial.companyId",
},
{
- $ref: "#/parameters/rowFilter.jobMakeMethod.parentMaterialId",
+ $ref: "#/parameters/rowFilter.quoteMaterial.createdAt",
},
{
- $ref: "#/parameters/rowFilter.jobMakeMethod.itemId",
+ $ref: "#/parameters/rowFilter.quoteMaterial.createdBy",
},
{
- $ref: "#/parameters/rowFilter.jobMakeMethod.quantityPerParent",
+ $ref: "#/parameters/rowFilter.quoteMaterial.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.jobMakeMethod.companyId",
+ $ref: "#/parameters/rowFilter.quoteMaterial.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.jobMakeMethod.createdAt",
+ $ref: "#/parameters/rowFilter.quoteMaterial.customFields",
},
{
- $ref: "#/parameters/rowFilter.jobMakeMethod.createdBy",
+ $ref: "#/parameters/rowFilter.quoteMaterial.quoteMakeMethodId",
},
{
- $ref: "#/parameters/rowFilter.jobMakeMethod.updatedAt",
+ $ref: "#/parameters/rowFilter.quoteMaterial.quoteOperationId",
},
{
- $ref: "#/parameters/rowFilter.jobMakeMethod.updatedBy",
+ $ref: "#/parameters/rowFilter.quoteMaterial.scrapQuantity",
},
{
- $ref: "#/parameters/rowFilter.jobMakeMethod.customFields",
+ $ref: "#/parameters/rowFilter.quoteMaterial.productionQuantity",
},
{
$ref: "#/parameters/select",
@@ -10023,7 +10344,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/jobMakeMethod",
+ $ref: "#/definitions/quoteMaterial",
},
type: "array",
},
@@ -10032,12 +10353,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["jobMakeMethod"],
+ tags: ["quoteMaterial"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.jobMakeMethod",
+ $ref: "#/parameters/body.quoteMaterial",
},
{
$ref: "#/parameters/select",
@@ -10051,91 +10372,75 @@ export default {
description: "Created",
},
},
- tags: ["jobMakeMethod"],
+ tags: ["quoteMaterial"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.jobMakeMethod.id",
- },
- {
- $ref: "#/parameters/rowFilter.jobMakeMethod.jobId",
- },
- {
- $ref: "#/parameters/rowFilter.jobMakeMethod.parentMaterialId",
+ $ref: "#/parameters/rowFilter.quoteMaterial.id",
},
{
- $ref: "#/parameters/rowFilter.jobMakeMethod.itemId",
+ $ref: "#/parameters/rowFilter.quoteMaterial.quoteId",
},
{
- $ref: "#/parameters/rowFilter.jobMakeMethod.quantityPerParent",
+ $ref: "#/parameters/rowFilter.quoteMaterial.quoteLineId",
},
{
- $ref: "#/parameters/rowFilter.jobMakeMethod.companyId",
+ $ref: "#/parameters/rowFilter.quoteMaterial.itemId",
},
{
- $ref: "#/parameters/rowFilter.jobMakeMethod.createdAt",
+ $ref: "#/parameters/rowFilter.quoteMaterial.itemReadableId",
},
{
- $ref: "#/parameters/rowFilter.jobMakeMethod.createdBy",
+ $ref: "#/parameters/rowFilter.quoteMaterial.itemType",
},
{
- $ref: "#/parameters/rowFilter.jobMakeMethod.updatedAt",
+ $ref: "#/parameters/rowFilter.quoteMaterial.methodType",
},
{
- $ref: "#/parameters/rowFilter.jobMakeMethod.updatedBy",
+ $ref: "#/parameters/rowFilter.quoteMaterial.order",
},
{
- $ref: "#/parameters/rowFilter.jobMakeMethod.customFields",
+ $ref: "#/parameters/rowFilter.quoteMaterial.description",
},
{
- $ref: "#/parameters/preferReturn",
- },
- ],
- responses: {
- "204": {
- description: "No Content",
+ $ref: "#/parameters/rowFilter.quoteMaterial.quantity",
},
- },
- tags: ["jobMakeMethod"],
- },
- patch: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.jobMakeMethod.id",
+ $ref: "#/parameters/rowFilter.quoteMaterial.unitOfMeasureCode",
},
{
- $ref: "#/parameters/rowFilter.jobMakeMethod.jobId",
+ $ref: "#/parameters/rowFilter.quoteMaterial.unitCost",
},
{
- $ref: "#/parameters/rowFilter.jobMakeMethod.parentMaterialId",
+ $ref: "#/parameters/rowFilter.quoteMaterial.companyId",
},
{
- $ref: "#/parameters/rowFilter.jobMakeMethod.itemId",
+ $ref: "#/parameters/rowFilter.quoteMaterial.createdAt",
},
{
- $ref: "#/parameters/rowFilter.jobMakeMethod.quantityPerParent",
+ $ref: "#/parameters/rowFilter.quoteMaterial.createdBy",
},
{
- $ref: "#/parameters/rowFilter.jobMakeMethod.companyId",
+ $ref: "#/parameters/rowFilter.quoteMaterial.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.jobMakeMethod.createdAt",
+ $ref: "#/parameters/rowFilter.quoteMaterial.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.jobMakeMethod.createdBy",
+ $ref: "#/parameters/rowFilter.quoteMaterial.customFields",
},
{
- $ref: "#/parameters/rowFilter.jobMakeMethod.updatedAt",
+ $ref: "#/parameters/rowFilter.quoteMaterial.quoteMakeMethodId",
},
{
- $ref: "#/parameters/rowFilter.jobMakeMethod.updatedBy",
+ $ref: "#/parameters/rowFilter.quoteMaterial.quoteOperationId",
},
{
- $ref: "#/parameters/rowFilter.jobMakeMethod.customFields",
+ $ref: "#/parameters/rowFilter.quoteMaterial.scrapQuantity",
},
{
- $ref: "#/parameters/body.jobMakeMethod",
+ $ref: "#/parameters/rowFilter.quoteMaterial.productionQuantity",
},
{
$ref: "#/parameters/preferReturn",
@@ -10146,148 +10451,176 @@ export default {
description: "No Content",
},
},
- tags: ["jobMakeMethod"],
+ tags: ["quoteMaterial"],
},
- },
- "/contact": {
- get: {
+ patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.contact.id",
+ $ref: "#/parameters/rowFilter.quoteMaterial.id",
},
{
- $ref: "#/parameters/rowFilter.contact.firstName",
+ $ref: "#/parameters/rowFilter.quoteMaterial.quoteId",
},
{
- $ref: "#/parameters/rowFilter.contact.lastName",
+ $ref: "#/parameters/rowFilter.quoteMaterial.quoteLineId",
},
{
- $ref: "#/parameters/rowFilter.contact.email",
+ $ref: "#/parameters/rowFilter.quoteMaterial.itemId",
},
{
- $ref: "#/parameters/rowFilter.contact.title",
+ $ref: "#/parameters/rowFilter.quoteMaterial.itemReadableId",
},
{
- $ref: "#/parameters/rowFilter.contact.mobilePhone",
+ $ref: "#/parameters/rowFilter.quoteMaterial.itemType",
},
{
- $ref: "#/parameters/rowFilter.contact.homePhone",
+ $ref: "#/parameters/rowFilter.quoteMaterial.methodType",
},
{
- $ref: "#/parameters/rowFilter.contact.workPhone",
+ $ref: "#/parameters/rowFilter.quoteMaterial.order",
},
{
- $ref: "#/parameters/rowFilter.contact.fax",
+ $ref: "#/parameters/rowFilter.quoteMaterial.description",
},
{
- $ref: "#/parameters/rowFilter.contact.notes",
+ $ref: "#/parameters/rowFilter.quoteMaterial.quantity",
},
{
- $ref: "#/parameters/rowFilter.contact.companyId",
+ $ref: "#/parameters/rowFilter.quoteMaterial.unitOfMeasureCode",
},
{
- $ref: "#/parameters/rowFilter.contact.externalId",
+ $ref: "#/parameters/rowFilter.quoteMaterial.unitCost",
},
{
- $ref: "#/parameters/rowFilter.contact.fullName",
+ $ref: "#/parameters/rowFilter.quoteMaterial.companyId",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.quoteMaterial.createdAt",
},
{
- $ref: "#/parameters/order",
+ $ref: "#/parameters/rowFilter.quoteMaterial.createdBy",
},
{
- $ref: "#/parameters/range",
+ $ref: "#/parameters/rowFilter.quoteMaterial.updatedAt",
},
{
- $ref: "#/parameters/rangeUnit",
+ $ref: "#/parameters/rowFilter.quoteMaterial.updatedBy",
},
{
- $ref: "#/parameters/offset",
+ $ref: "#/parameters/rowFilter.quoteMaterial.customFields",
},
{
- $ref: "#/parameters/limit",
+ $ref: "#/parameters/rowFilter.quoteMaterial.quoteMakeMethodId",
},
{
- $ref: "#/parameters/preferCount",
+ $ref: "#/parameters/rowFilter.quoteMaterial.quoteOperationId",
},
- ],
- responses: {
- "200": {
- description: "OK",
- schema: {
- items: {
- $ref: "#/definitions/contact",
- },
- type: "array",
- },
+ {
+ $ref: "#/parameters/rowFilter.quoteMaterial.scrapQuantity",
},
- "206": {
- description: "Partial Content",
- },
- },
- tags: ["contact"],
- },
- post: {
- parameters: [
- {
- $ref: "#/parameters/body.contact",
+ {
+ $ref: "#/parameters/rowFilter.quoteMaterial.productionQuantity",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/body.quoteMaterial",
},
{
- $ref: "#/parameters/preferPost",
+ $ref: "#/parameters/preferReturn",
},
],
responses: {
- "201": {
- description: "Created",
+ "204": {
+ description: "No Content",
},
},
- tags: ["contact"],
+ tags: ["quoteMaterial"],
},
- delete: {
+ },
+ "/contractorAbility": {
+ get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.contact.id",
+ $ref: "#/parameters/rowFilter.contractorAbility.contractorId",
},
{
- $ref: "#/parameters/rowFilter.contact.firstName",
+ $ref: "#/parameters/rowFilter.contractorAbility.abilityId",
},
{
- $ref: "#/parameters/rowFilter.contact.lastName",
+ $ref: "#/parameters/rowFilter.contractorAbility.createdBy",
},
{
- $ref: "#/parameters/rowFilter.contact.email",
+ $ref: "#/parameters/rowFilter.contractorAbility.createdAt",
},
{
- $ref: "#/parameters/rowFilter.contact.title",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.contact.mobilePhone",
+ $ref: "#/parameters/order",
},
{
- $ref: "#/parameters/rowFilter.contact.homePhone",
+ $ref: "#/parameters/range",
},
{
- $ref: "#/parameters/rowFilter.contact.workPhone",
+ $ref: "#/parameters/rangeUnit",
},
{
- $ref: "#/parameters/rowFilter.contact.fax",
+ $ref: "#/parameters/offset",
},
{
- $ref: "#/parameters/rowFilter.contact.notes",
+ $ref: "#/parameters/limit",
},
{
- $ref: "#/parameters/rowFilter.contact.companyId",
+ $ref: "#/parameters/preferCount",
+ },
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/contractorAbility",
+ },
+ type: "array",
+ },
},
+ "206": {
+ description: "Partial Content",
+ },
+ },
+ tags: ["contractorAbility"],
+ },
+ post: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.contact.externalId",
+ $ref: "#/parameters/body.contractorAbility",
},
{
- $ref: "#/parameters/rowFilter.contact.fullName",
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/preferPost",
+ },
+ ],
+ responses: {
+ "201": {
+ description: "Created",
+ },
+ },
+ tags: ["contractorAbility"],
+ },
+ delete: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.contractorAbility.contractorId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.contractorAbility.abilityId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.contractorAbility.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.contractorAbility.createdAt",
},
{
$ref: "#/parameters/preferReturn",
@@ -10298,180 +10631,171 @@ export default {
description: "No Content",
},
},
- tags: ["contact"],
+ tags: ["contractorAbility"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.contact.id",
+ $ref: "#/parameters/rowFilter.contractorAbility.contractorId",
},
{
- $ref: "#/parameters/rowFilter.contact.firstName",
+ $ref: "#/parameters/rowFilter.contractorAbility.abilityId",
},
{
- $ref: "#/parameters/rowFilter.contact.lastName",
+ $ref: "#/parameters/rowFilter.contractorAbility.createdBy",
},
{
- $ref: "#/parameters/rowFilter.contact.email",
+ $ref: "#/parameters/rowFilter.contractorAbility.createdAt",
},
{
- $ref: "#/parameters/rowFilter.contact.title",
+ $ref: "#/parameters/body.contractorAbility",
},
{
- $ref: "#/parameters/rowFilter.contact.mobilePhone",
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
},
+ },
+ tags: ["contractorAbility"],
+ },
+ },
+ "/salesOrderLines": {
+ get: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.contact.homePhone",
+ $ref: "#/parameters/rowFilter.salesOrderLines.id",
},
{
- $ref: "#/parameters/rowFilter.contact.workPhone",
+ $ref: "#/parameters/rowFilter.salesOrderLines.salesOrderId",
},
{
- $ref: "#/parameters/rowFilter.contact.fax",
+ $ref: "#/parameters/rowFilter.salesOrderLines.salesOrderLineType",
},
{
- $ref: "#/parameters/rowFilter.contact.notes",
+ $ref: "#/parameters/rowFilter.salesOrderLines.itemId",
},
{
- $ref: "#/parameters/rowFilter.contact.companyId",
+ $ref: "#/parameters/rowFilter.salesOrderLines.itemReadableId",
},
{
- $ref: "#/parameters/rowFilter.contact.externalId",
+ $ref: "#/parameters/rowFilter.salesOrderLines.accountNumber",
},
{
- $ref: "#/parameters/rowFilter.contact.fullName",
+ $ref: "#/parameters/rowFilter.salesOrderLines.assetId",
},
{
- $ref: "#/parameters/body.contact",
+ $ref: "#/parameters/rowFilter.salesOrderLines.description",
},
{
- $ref: "#/parameters/preferReturn",
+ $ref: "#/parameters/rowFilter.salesOrderLines.saleQuantity",
},
- ],
- responses: {
- "204": {
- description: "No Content",
+ {
+ $ref: "#/parameters/rowFilter.salesOrderLines.quantityToSend",
},
- },
- tags: ["contact"],
- },
- },
- "/userDefaults": {
- get: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.userDefaults.userId",
+ $ref: "#/parameters/rowFilter.salesOrderLines.quantitySent",
},
{
- $ref: "#/parameters/rowFilter.userDefaults.companyId",
+ $ref: "#/parameters/rowFilter.salesOrderLines.quantityToInvoice",
},
{
- $ref: "#/parameters/rowFilter.userDefaults.locationId",
+ $ref: "#/parameters/rowFilter.salesOrderLines.quantityInvoiced",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.salesOrderLines.unitPrice",
},
{
- $ref: "#/parameters/order",
+ $ref: "#/parameters/rowFilter.salesOrderLines.unitOfMeasureCode",
},
{
- $ref: "#/parameters/range",
+ $ref: "#/parameters/rowFilter.salesOrderLines.locationId",
},
{
- $ref: "#/parameters/rangeUnit",
+ $ref: "#/parameters/rowFilter.salesOrderLines.shelfId",
},
{
- $ref: "#/parameters/offset",
+ $ref: "#/parameters/rowFilter.salesOrderLines.setupPrice",
},
{
- $ref: "#/parameters/limit",
+ $ref: "#/parameters/rowFilter.salesOrderLines.sentComplete",
},
{
- $ref: "#/parameters/preferCount",
+ $ref: "#/parameters/rowFilter.salesOrderLines.invoicedComplete",
},
- ],
- responses: {
- "200": {
- description: "OK",
- schema: {
- items: {
- $ref: "#/definitions/userDefaults",
- },
- type: "array",
- },
+ {
+ $ref: "#/parameters/rowFilter.salesOrderLines.requiresInspection",
},
- "206": {
- description: "Partial Content",
+ {
+ $ref: "#/parameters/rowFilter.salesOrderLines.companyId",
},
- },
- tags: ["userDefaults"],
- },
- },
- "/jobMaterial": {
- get: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.jobMaterial.id",
+ $ref: "#/parameters/rowFilter.salesOrderLines.createdAt",
},
{
- $ref: "#/parameters/rowFilter.jobMaterial.jobId",
+ $ref: "#/parameters/rowFilter.salesOrderLines.createdBy",
},
{
- $ref: "#/parameters/rowFilter.jobMaterial.itemId",
+ $ref: "#/parameters/rowFilter.salesOrderLines.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.jobMaterial.itemReadableId",
+ $ref: "#/parameters/rowFilter.salesOrderLines.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.jobMaterial.itemType",
+ $ref: "#/parameters/rowFilter.salesOrderLines.customFields",
},
{
- $ref: "#/parameters/rowFilter.jobMaterial.methodType",
+ $ref: "#/parameters/rowFilter.salesOrderLines.status",
},
{
- $ref: "#/parameters/rowFilter.jobMaterial.order",
+ $ref: "#/parameters/rowFilter.salesOrderLines.modelUploadId",
},
{
- $ref: "#/parameters/rowFilter.jobMaterial.description",
+ $ref: "#/parameters/rowFilter.salesOrderLines.promisedDate",
},
{
- $ref: "#/parameters/rowFilter.jobMaterial.quantity",
+ $ref: "#/parameters/rowFilter.salesOrderLines.addOnCost",
},
{
- $ref: "#/parameters/rowFilter.jobMaterial.scrapQuantity",
+ $ref: "#/parameters/rowFilter.salesOrderLines.methodType",
},
{
- $ref: "#/parameters/rowFilter.jobMaterial.unitOfMeasureCode",
+ $ref: "#/parameters/rowFilter.salesOrderLines.exchangeRate",
},
{
- $ref: "#/parameters/rowFilter.jobMaterial.unitCost",
+ $ref: "#/parameters/rowFilter.salesOrderLines.convertedUnitPrice",
},
{
- $ref: "#/parameters/rowFilter.jobMaterial.companyId",
+ $ref: "#/parameters/rowFilter.salesOrderLines.convertedAddOnCost",
},
{
- $ref: "#/parameters/rowFilter.jobMaterial.createdAt",
+ $ref: "#/parameters/rowFilter.salesOrderLines.thumbnailPath",
},
{
- $ref: "#/parameters/rowFilter.jobMaterial.createdBy",
+ $ref: "#/parameters/rowFilter.salesOrderLines.modelId",
},
{
- $ref: "#/parameters/rowFilter.jobMaterial.updatedAt",
+ $ref: "#/parameters/rowFilter.salesOrderLines.autodeskUrn",
},
{
- $ref: "#/parameters/rowFilter.jobMaterial.updatedBy",
+ $ref: "#/parameters/rowFilter.salesOrderLines.modelPath",
},
{
- $ref: "#/parameters/rowFilter.jobMaterial.customFields",
+ $ref: "#/parameters/rowFilter.salesOrderLines.modelName",
},
{
- $ref: "#/parameters/rowFilter.jobMaterial.jobMakeMethodId",
+ $ref: "#/parameters/rowFilter.salesOrderLines.modelSize",
},
{
- $ref: "#/parameters/rowFilter.jobMaterial.jobOperationId",
+ $ref: "#/parameters/rowFilter.salesOrderLines.unitCost",
},
{
- $ref: "#/parameters/rowFilter.jobMaterial.estimatedQuantity",
+ $ref: "#/parameters/rowFilter.salesOrderLines.customerPartId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrderLines.customerPartRevision",
},
{
$ref: "#/parameters/select",
@@ -10500,7 +10824,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/jobMaterial",
+ $ref: "#/definitions/salesOrderLines",
},
type: "array",
},
@@ -10509,551 +10833,401 @@ export default {
description: "Partial Content",
},
},
- tags: ["jobMaterial"],
+ tags: ["salesOrderLines"],
},
- post: {
+ },
+ "/jobOperation": {
+ get: {
parameters: [
{
- $ref: "#/parameters/body.jobMaterial",
- },
- {
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.jobOperation.id",
},
{
- $ref: "#/parameters/preferPost",
- },
- ],
- responses: {
- "201": {
- description: "Created",
+ $ref: "#/parameters/rowFilter.jobOperation.jobId",
},
- },
- tags: ["jobMaterial"],
- },
- delete: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.jobMaterial.id",
+ $ref: "#/parameters/rowFilter.jobOperation.jobMakeMethodId",
},
{
- $ref: "#/parameters/rowFilter.jobMaterial.jobId",
+ $ref: "#/parameters/rowFilter.jobOperation.order",
},
{
- $ref: "#/parameters/rowFilter.jobMaterial.itemId",
+ $ref: "#/parameters/rowFilter.jobOperation.processId",
},
{
- $ref: "#/parameters/rowFilter.jobMaterial.itemReadableId",
+ $ref: "#/parameters/rowFilter.jobOperation.workCenterId",
},
{
- $ref: "#/parameters/rowFilter.jobMaterial.itemType",
+ $ref: "#/parameters/rowFilter.jobOperation.description",
},
{
- $ref: "#/parameters/rowFilter.jobMaterial.methodType",
+ $ref: "#/parameters/rowFilter.jobOperation.setupTime",
},
{
- $ref: "#/parameters/rowFilter.jobMaterial.order",
+ $ref: "#/parameters/rowFilter.jobOperation.setupUnit",
},
{
- $ref: "#/parameters/rowFilter.jobMaterial.description",
+ $ref: "#/parameters/rowFilter.jobOperation.laborTime",
},
{
- $ref: "#/parameters/rowFilter.jobMaterial.quantity",
+ $ref: "#/parameters/rowFilter.jobOperation.laborUnit",
},
{
- $ref: "#/parameters/rowFilter.jobMaterial.scrapQuantity",
+ $ref: "#/parameters/rowFilter.jobOperation.machineTime",
},
{
- $ref: "#/parameters/rowFilter.jobMaterial.unitOfMeasureCode",
+ $ref: "#/parameters/rowFilter.jobOperation.machineUnit",
},
{
- $ref: "#/parameters/rowFilter.jobMaterial.unitCost",
+ $ref: "#/parameters/rowFilter.jobOperation.operationOrder",
},
{
- $ref: "#/parameters/rowFilter.jobMaterial.companyId",
+ $ref: "#/parameters/rowFilter.jobOperation.laborRate",
},
{
- $ref: "#/parameters/rowFilter.jobMaterial.createdAt",
+ $ref: "#/parameters/rowFilter.jobOperation.overheadRate",
},
{
- $ref: "#/parameters/rowFilter.jobMaterial.createdBy",
+ $ref: "#/parameters/rowFilter.jobOperation.machineRate",
},
{
- $ref: "#/parameters/rowFilter.jobMaterial.updatedAt",
+ $ref: "#/parameters/rowFilter.jobOperation.operationType",
},
{
- $ref: "#/parameters/rowFilter.jobMaterial.updatedBy",
+ $ref: "#/parameters/rowFilter.jobOperation.operationMinimumCost",
},
{
- $ref: "#/parameters/rowFilter.jobMaterial.customFields",
+ $ref: "#/parameters/rowFilter.jobOperation.operationLeadTime",
},
{
- $ref: "#/parameters/rowFilter.jobMaterial.jobMakeMethodId",
+ $ref: "#/parameters/rowFilter.jobOperation.operationUnitCost",
},
{
- $ref: "#/parameters/rowFilter.jobMaterial.jobOperationId",
+ $ref: "#/parameters/rowFilter.jobOperation.operationSupplierProcessId",
},
{
- $ref: "#/parameters/rowFilter.jobMaterial.estimatedQuantity",
+ $ref: "#/parameters/rowFilter.jobOperation.workInstruction",
},
{
- $ref: "#/parameters/preferReturn",
- },
- ],
- responses: {
- "204": {
- description: "No Content",
+ $ref: "#/parameters/rowFilter.jobOperation.companyId",
},
- },
- tags: ["jobMaterial"],
- },
- patch: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.jobMaterial.id",
+ $ref: "#/parameters/rowFilter.jobOperation.createdAt",
},
{
- $ref: "#/parameters/rowFilter.jobMaterial.jobId",
+ $ref: "#/parameters/rowFilter.jobOperation.createdBy",
},
{
- $ref: "#/parameters/rowFilter.jobMaterial.itemId",
+ $ref: "#/parameters/rowFilter.jobOperation.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.jobMaterial.itemReadableId",
+ $ref: "#/parameters/rowFilter.jobOperation.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.jobMaterial.itemType",
+ $ref: "#/parameters/rowFilter.jobOperation.customFields",
},
{
- $ref: "#/parameters/rowFilter.jobMaterial.methodType",
+ $ref: "#/parameters/rowFilter.jobOperation.operationQuantity",
},
{
- $ref: "#/parameters/rowFilter.jobMaterial.order",
+ $ref: "#/parameters/rowFilter.jobOperation.quantityComplete",
},
{
- $ref: "#/parameters/rowFilter.jobMaterial.description",
+ $ref: "#/parameters/rowFilter.jobOperation.quantityScrapped",
},
{
- $ref: "#/parameters/rowFilter.jobMaterial.quantity",
+ $ref: "#/parameters/rowFilter.jobOperation.quantityReworked",
},
{
- $ref: "#/parameters/rowFilter.jobMaterial.scrapQuantity",
+ $ref: "#/parameters/rowFilter.jobOperation.status",
},
{
- $ref: "#/parameters/rowFilter.jobMaterial.unitOfMeasureCode",
+ $ref: "#/parameters/rowFilter.jobOperation.priority",
},
{
- $ref: "#/parameters/rowFilter.jobMaterial.unitCost",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.jobMaterial.companyId",
+ $ref: "#/parameters/order",
},
{
- $ref: "#/parameters/rowFilter.jobMaterial.createdAt",
+ $ref: "#/parameters/range",
},
{
- $ref: "#/parameters/rowFilter.jobMaterial.createdBy",
+ $ref: "#/parameters/rangeUnit",
},
{
- $ref: "#/parameters/rowFilter.jobMaterial.updatedAt",
+ $ref: "#/parameters/offset",
},
{
- $ref: "#/parameters/rowFilter.jobMaterial.updatedBy",
+ $ref: "#/parameters/limit",
},
{
- $ref: "#/parameters/rowFilter.jobMaterial.customFields",
+ $ref: "#/parameters/preferCount",
},
- {
- $ref: "#/parameters/rowFilter.jobMaterial.jobMakeMethodId",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/jobOperation",
+ },
+ type: "array",
+ },
},
- {
- $ref: "#/parameters/rowFilter.jobMaterial.jobOperationId",
+ "206": {
+ description: "Partial Content",
},
+ },
+ tags: ["jobOperation"],
+ },
+ post: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.jobMaterial.estimatedQuantity",
+ $ref: "#/parameters/body.jobOperation",
},
{
- $ref: "#/parameters/body.jobMaterial",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/preferReturn",
+ $ref: "#/parameters/preferPost",
},
],
responses: {
- "204": {
- description: "No Content",
+ "201": {
+ description: "Created",
},
},
- tags: ["jobMaterial"],
+ tags: ["jobOperation"],
},
- },
- "/purchaseOrderSuppliers": {
- get: {
+ delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.purchaseOrderSuppliers.id",
+ $ref: "#/parameters/rowFilter.jobOperation.id",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderSuppliers.name",
+ $ref: "#/parameters/rowFilter.jobOperation.jobId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderSuppliers.companyId",
+ $ref: "#/parameters/rowFilter.jobOperation.jobMakeMethodId",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.jobOperation.order",
},
{
- $ref: "#/parameters/order",
+ $ref: "#/parameters/rowFilter.jobOperation.processId",
},
{
- $ref: "#/parameters/range",
+ $ref: "#/parameters/rowFilter.jobOperation.workCenterId",
},
{
- $ref: "#/parameters/rangeUnit",
+ $ref: "#/parameters/rowFilter.jobOperation.description",
},
{
- $ref: "#/parameters/offset",
+ $ref: "#/parameters/rowFilter.jobOperation.setupTime",
},
{
- $ref: "#/parameters/limit",
+ $ref: "#/parameters/rowFilter.jobOperation.setupUnit",
},
{
- $ref: "#/parameters/preferCount",
- },
- ],
- responses: {
- "200": {
- description: "OK",
- schema: {
- items: {
- $ref: "#/definitions/purchaseOrderSuppliers",
- },
- type: "array",
- },
+ $ref: "#/parameters/rowFilter.jobOperation.laborTime",
},
- "206": {
- description: "Partial Content",
+ {
+ $ref: "#/parameters/rowFilter.jobOperation.laborUnit",
},
- },
- tags: ["purchaseOrderSuppliers"],
- },
- },
- "/workCenters": {
- get: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.workCenters.id",
+ $ref: "#/parameters/rowFilter.jobOperation.machineTime",
},
{
- $ref: "#/parameters/rowFilter.workCenters.name",
+ $ref: "#/parameters/rowFilter.jobOperation.machineUnit",
},
{
- $ref: "#/parameters/rowFilter.workCenters.description",
+ $ref: "#/parameters/rowFilter.jobOperation.operationOrder",
},
{
- $ref: "#/parameters/rowFilter.workCenters.laborRate",
+ $ref: "#/parameters/rowFilter.jobOperation.laborRate",
},
{
- $ref: "#/parameters/rowFilter.workCenters.defaultStandardFactor",
+ $ref: "#/parameters/rowFilter.jobOperation.overheadRate",
},
{
- $ref: "#/parameters/rowFilter.workCenters.locationId",
+ $ref: "#/parameters/rowFilter.jobOperation.machineRate",
},
{
- $ref: "#/parameters/rowFilter.workCenters.requiredAbilityId",
+ $ref: "#/parameters/rowFilter.jobOperation.operationType",
},
{
- $ref: "#/parameters/rowFilter.workCenters.active",
+ $ref: "#/parameters/rowFilter.jobOperation.operationMinimumCost",
},
{
- $ref: "#/parameters/rowFilter.workCenters.companyId",
+ $ref: "#/parameters/rowFilter.jobOperation.operationLeadTime",
},
{
- $ref: "#/parameters/rowFilter.workCenters.customFields",
+ $ref: "#/parameters/rowFilter.jobOperation.operationUnitCost",
},
{
- $ref: "#/parameters/rowFilter.workCenters.createdBy",
+ $ref: "#/parameters/rowFilter.jobOperation.operationSupplierProcessId",
},
{
- $ref: "#/parameters/rowFilter.workCenters.createdAt",
+ $ref: "#/parameters/rowFilter.jobOperation.workInstruction",
},
{
- $ref: "#/parameters/rowFilter.workCenters.updatedBy",
+ $ref: "#/parameters/rowFilter.jobOperation.companyId",
},
{
- $ref: "#/parameters/rowFilter.workCenters.updatedAt",
+ $ref: "#/parameters/rowFilter.jobOperation.createdAt",
},
{
- $ref: "#/parameters/rowFilter.workCenters.machineRate",
+ $ref: "#/parameters/rowFilter.jobOperation.createdBy",
},
{
- $ref: "#/parameters/rowFilter.workCenters.overheadRate",
+ $ref: "#/parameters/rowFilter.jobOperation.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.workCenters.locationName",
+ $ref: "#/parameters/rowFilter.jobOperation.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.workCenters.processes",
+ $ref: "#/parameters/rowFilter.jobOperation.customFields",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.jobOperation.operationQuantity",
},
{
- $ref: "#/parameters/order",
+ $ref: "#/parameters/rowFilter.jobOperation.quantityComplete",
},
{
- $ref: "#/parameters/range",
+ $ref: "#/parameters/rowFilter.jobOperation.quantityScrapped",
},
{
- $ref: "#/parameters/rangeUnit",
+ $ref: "#/parameters/rowFilter.jobOperation.quantityReworked",
},
{
- $ref: "#/parameters/offset",
+ $ref: "#/parameters/rowFilter.jobOperation.status",
},
{
- $ref: "#/parameters/limit",
+ $ref: "#/parameters/rowFilter.jobOperation.priority",
},
{
- $ref: "#/parameters/preferCount",
+ $ref: "#/parameters/preferReturn",
},
],
responses: {
- "200": {
- description: "OK",
- schema: {
- items: {
- $ref: "#/definitions/workCenters",
- },
- type: "array",
- },
- },
- "206": {
- description: "Partial Content",
+ "204": {
+ description: "No Content",
},
},
- tags: ["workCenters"],
+ tags: ["jobOperation"],
},
- },
- "/costLedger": {
- get: {
+ patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.costLedger.id",
+ $ref: "#/parameters/rowFilter.jobOperation.id",
},
{
- $ref: "#/parameters/rowFilter.costLedger.entryNumber",
+ $ref: "#/parameters/rowFilter.jobOperation.jobId",
},
{
- $ref: "#/parameters/rowFilter.costLedger.postingDate",
+ $ref: "#/parameters/rowFilter.jobOperation.jobMakeMethodId",
},
{
- $ref: "#/parameters/rowFilter.costLedger.itemLedgerType",
+ $ref: "#/parameters/rowFilter.jobOperation.order",
},
{
- $ref: "#/parameters/rowFilter.costLedger.costLedgerType",
+ $ref: "#/parameters/rowFilter.jobOperation.processId",
},
{
- $ref: "#/parameters/rowFilter.costLedger.adjustment",
+ $ref: "#/parameters/rowFilter.jobOperation.workCenterId",
},
{
- $ref: "#/parameters/rowFilter.costLedger.documentType",
+ $ref: "#/parameters/rowFilter.jobOperation.description",
},
{
- $ref: "#/parameters/rowFilter.costLedger.documentId",
- },
- {
- $ref: "#/parameters/rowFilter.costLedger.externalDocumentId",
- },
- {
- $ref: "#/parameters/rowFilter.costLedger.itemId",
- },
- {
- $ref: "#/parameters/rowFilter.costLedger.itemReadableId",
- },
- {
- $ref: "#/parameters/rowFilter.costLedger.quantity",
- },
- {
- $ref: "#/parameters/rowFilter.costLedger.cost",
- },
- {
- $ref: "#/parameters/rowFilter.costLedger.costPostedToGL",
- },
- {
- $ref: "#/parameters/rowFilter.costLedger.companyId",
- },
- {
- $ref: "#/parameters/rowFilter.costLedger.createdAt",
- },
- {
- $ref: "#/parameters/select",
- },
- {
- $ref: "#/parameters/order",
- },
- {
- $ref: "#/parameters/range",
- },
- {
- $ref: "#/parameters/rangeUnit",
- },
- {
- $ref: "#/parameters/offset",
- },
- {
- $ref: "#/parameters/limit",
- },
- {
- $ref: "#/parameters/preferCount",
- },
- ],
- responses: {
- "200": {
- description: "OK",
- schema: {
- items: {
- $ref: "#/definitions/costLedger",
- },
- type: "array",
- },
- },
- "206": {
- description: "Partial Content",
- },
- },
- tags: ["costLedger"],
- },
- post: {
- parameters: [
- {
- $ref: "#/parameters/body.costLedger",
- },
- {
- $ref: "#/parameters/select",
- },
- {
- $ref: "#/parameters/preferPost",
- },
- ],
- responses: {
- "201": {
- description: "Created",
- },
- },
- tags: ["costLedger"],
- },
- delete: {
- parameters: [
- {
- $ref: "#/parameters/rowFilter.costLedger.id",
- },
- {
- $ref: "#/parameters/rowFilter.costLedger.entryNumber",
- },
- {
- $ref: "#/parameters/rowFilter.costLedger.postingDate",
- },
- {
- $ref: "#/parameters/rowFilter.costLedger.itemLedgerType",
- },
- {
- $ref: "#/parameters/rowFilter.costLedger.costLedgerType",
- },
- {
- $ref: "#/parameters/rowFilter.costLedger.adjustment",
+ $ref: "#/parameters/rowFilter.jobOperation.setupTime",
},
{
- $ref: "#/parameters/rowFilter.costLedger.documentType",
+ $ref: "#/parameters/rowFilter.jobOperation.setupUnit",
},
{
- $ref: "#/parameters/rowFilter.costLedger.documentId",
+ $ref: "#/parameters/rowFilter.jobOperation.laborTime",
},
{
- $ref: "#/parameters/rowFilter.costLedger.externalDocumentId",
+ $ref: "#/parameters/rowFilter.jobOperation.laborUnit",
},
{
- $ref: "#/parameters/rowFilter.costLedger.itemId",
+ $ref: "#/parameters/rowFilter.jobOperation.machineTime",
},
{
- $ref: "#/parameters/rowFilter.costLedger.itemReadableId",
+ $ref: "#/parameters/rowFilter.jobOperation.machineUnit",
},
{
- $ref: "#/parameters/rowFilter.costLedger.quantity",
+ $ref: "#/parameters/rowFilter.jobOperation.operationOrder",
},
{
- $ref: "#/parameters/rowFilter.costLedger.cost",
+ $ref: "#/parameters/rowFilter.jobOperation.laborRate",
},
{
- $ref: "#/parameters/rowFilter.costLedger.costPostedToGL",
+ $ref: "#/parameters/rowFilter.jobOperation.overheadRate",
},
{
- $ref: "#/parameters/rowFilter.costLedger.companyId",
+ $ref: "#/parameters/rowFilter.jobOperation.machineRate",
},
{
- $ref: "#/parameters/rowFilter.costLedger.createdAt",
+ $ref: "#/parameters/rowFilter.jobOperation.operationType",
},
{
- $ref: "#/parameters/preferReturn",
- },
- ],
- responses: {
- "204": {
- description: "No Content",
+ $ref: "#/parameters/rowFilter.jobOperation.operationMinimumCost",
},
- },
- tags: ["costLedger"],
- },
- patch: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.costLedger.id",
+ $ref: "#/parameters/rowFilter.jobOperation.operationLeadTime",
},
{
- $ref: "#/parameters/rowFilter.costLedger.entryNumber",
+ $ref: "#/parameters/rowFilter.jobOperation.operationUnitCost",
},
{
- $ref: "#/parameters/rowFilter.costLedger.postingDate",
+ $ref: "#/parameters/rowFilter.jobOperation.operationSupplierProcessId",
},
{
- $ref: "#/parameters/rowFilter.costLedger.itemLedgerType",
+ $ref: "#/parameters/rowFilter.jobOperation.workInstruction",
},
{
- $ref: "#/parameters/rowFilter.costLedger.costLedgerType",
+ $ref: "#/parameters/rowFilter.jobOperation.companyId",
},
{
- $ref: "#/parameters/rowFilter.costLedger.adjustment",
+ $ref: "#/parameters/rowFilter.jobOperation.createdAt",
},
{
- $ref: "#/parameters/rowFilter.costLedger.documentType",
+ $ref: "#/parameters/rowFilter.jobOperation.createdBy",
},
{
- $ref: "#/parameters/rowFilter.costLedger.documentId",
+ $ref: "#/parameters/rowFilter.jobOperation.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.costLedger.externalDocumentId",
+ $ref: "#/parameters/rowFilter.jobOperation.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.costLedger.itemId",
+ $ref: "#/parameters/rowFilter.jobOperation.customFields",
},
{
- $ref: "#/parameters/rowFilter.costLedger.itemReadableId",
+ $ref: "#/parameters/rowFilter.jobOperation.operationQuantity",
},
{
- $ref: "#/parameters/rowFilter.costLedger.quantity",
+ $ref: "#/parameters/rowFilter.jobOperation.quantityComplete",
},
{
- $ref: "#/parameters/rowFilter.costLedger.cost",
+ $ref: "#/parameters/rowFilter.jobOperation.quantityScrapped",
},
{
- $ref: "#/parameters/rowFilter.costLedger.costPostedToGL",
+ $ref: "#/parameters/rowFilter.jobOperation.quantityReworked",
},
{
- $ref: "#/parameters/rowFilter.costLedger.companyId",
+ $ref: "#/parameters/rowFilter.jobOperation.status",
},
{
- $ref: "#/parameters/rowFilter.costLedger.createdAt",
+ $ref: "#/parameters/rowFilter.jobOperation.priority",
},
{
- $ref: "#/parameters/body.costLedger",
+ $ref: "#/parameters/body.jobOperation",
},
{
$ref: "#/parameters/preferReturn",
@@ -11064,98 +11238,56 @@ export default {
description: "No Content",
},
},
- tags: ["costLedger"],
+ tags: ["jobOperation"],
},
},
- "/purchaseOrderLine": {
+ "/journalLine": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.id",
- },
- {
- $ref: "#/parameters/rowFilter.purchaseOrderLine.purchaseOrderId",
- },
- {
- $ref: "#/parameters/rowFilter.purchaseOrderLine.purchaseOrderLineType",
- },
- {
- $ref: "#/parameters/rowFilter.purchaseOrderLine.itemId",
- },
- {
- $ref: "#/parameters/rowFilter.purchaseOrderLine.itemReadableId",
- },
- {
- $ref: "#/parameters/rowFilter.purchaseOrderLine.accountNumber",
- },
- {
- $ref: "#/parameters/rowFilter.purchaseOrderLine.assetId",
- },
- {
- $ref: "#/parameters/rowFilter.purchaseOrderLine.description",
- },
- {
- $ref: "#/parameters/rowFilter.purchaseOrderLine.purchaseQuantity",
- },
- {
- $ref: "#/parameters/rowFilter.purchaseOrderLine.quantityToReceive",
- },
- {
- $ref: "#/parameters/rowFilter.purchaseOrderLine.quantityReceived",
- },
- {
- $ref: "#/parameters/rowFilter.purchaseOrderLine.quantityToInvoice",
- },
- {
- $ref: "#/parameters/rowFilter.purchaseOrderLine.quantityInvoiced",
- },
- {
- $ref: "#/parameters/rowFilter.purchaseOrderLine.unitPrice",
- },
- {
- $ref: "#/parameters/rowFilter.purchaseOrderLine.inventoryUnitOfMeasureCode",
+ $ref: "#/parameters/rowFilter.journalLine.id",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.purchaseUnitOfMeasureCode",
+ $ref: "#/parameters/rowFilter.journalLine.journalId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.locationId",
+ $ref: "#/parameters/rowFilter.journalLine.accountNumber",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.shelfId",
+ $ref: "#/parameters/rowFilter.journalLine.description",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.setupPrice",
+ $ref: "#/parameters/rowFilter.journalLine.amount",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.receivedComplete",
+ $ref: "#/parameters/rowFilter.journalLine.quantity",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.invoicedComplete",
+ $ref: "#/parameters/rowFilter.journalLine.documentType",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.requiresInspection",
+ $ref: "#/parameters/rowFilter.journalLine.documentId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.companyId",
+ $ref: "#/parameters/rowFilter.journalLine.externalDocumentId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.createdAt",
+ $ref: "#/parameters/rowFilter.journalLine.journalLineReference",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.createdBy",
+ $ref: "#/parameters/rowFilter.journalLine.documentLineReference",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.updatedAt",
+ $ref: "#/parameters/rowFilter.journalLine.accrual",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.updatedBy",
+ $ref: "#/parameters/rowFilter.journalLine.companyId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.customFields",
+ $ref: "#/parameters/rowFilter.journalLine.createdAt",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.conversionFactor",
+ $ref: "#/parameters/rowFilter.journalLine.customFields",
},
{
$ref: "#/parameters/select",
@@ -11184,7 +11316,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/purchaseOrderLine",
+ $ref: "#/definitions/journalLine",
},
type: "array",
},
@@ -11193,12 +11325,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["purchaseOrderLine"],
+ tags: ["journalLine"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.purchaseOrderLine",
+ $ref: "#/parameters/body.journalLine",
},
{
$ref: "#/parameters/select",
@@ -11212,96 +11344,115 @@ export default {
description: "Created",
},
},
- tags: ["purchaseOrderLine"],
+ tags: ["journalLine"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.id",
+ $ref: "#/parameters/rowFilter.journalLine.id",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.purchaseOrderId",
+ $ref: "#/parameters/rowFilter.journalLine.journalId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.purchaseOrderLineType",
+ $ref: "#/parameters/rowFilter.journalLine.accountNumber",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.itemId",
+ $ref: "#/parameters/rowFilter.journalLine.description",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.itemReadableId",
+ $ref: "#/parameters/rowFilter.journalLine.amount",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.accountNumber",
+ $ref: "#/parameters/rowFilter.journalLine.quantity",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.assetId",
+ $ref: "#/parameters/rowFilter.journalLine.documentType",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.description",
+ $ref: "#/parameters/rowFilter.journalLine.documentId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.purchaseQuantity",
+ $ref: "#/parameters/rowFilter.journalLine.externalDocumentId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.quantityToReceive",
+ $ref: "#/parameters/rowFilter.journalLine.journalLineReference",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.quantityReceived",
+ $ref: "#/parameters/rowFilter.journalLine.documentLineReference",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.quantityToInvoice",
+ $ref: "#/parameters/rowFilter.journalLine.accrual",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.quantityInvoiced",
+ $ref: "#/parameters/rowFilter.journalLine.companyId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.unitPrice",
+ $ref: "#/parameters/rowFilter.journalLine.createdAt",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.inventoryUnitOfMeasureCode",
+ $ref: "#/parameters/rowFilter.journalLine.customFields",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.purchaseUnitOfMeasureCode",
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
},
+ },
+ tags: ["journalLine"],
+ },
+ patch: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.locationId",
+ $ref: "#/parameters/rowFilter.journalLine.id",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.shelfId",
+ $ref: "#/parameters/rowFilter.journalLine.journalId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.setupPrice",
+ $ref: "#/parameters/rowFilter.journalLine.accountNumber",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.receivedComplete",
+ $ref: "#/parameters/rowFilter.journalLine.description",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.invoicedComplete",
+ $ref: "#/parameters/rowFilter.journalLine.amount",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.requiresInspection",
+ $ref: "#/parameters/rowFilter.journalLine.quantity",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.companyId",
+ $ref: "#/parameters/rowFilter.journalLine.documentType",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.createdAt",
+ $ref: "#/parameters/rowFilter.journalLine.documentId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.createdBy",
+ $ref: "#/parameters/rowFilter.journalLine.externalDocumentId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.updatedAt",
+ $ref: "#/parameters/rowFilter.journalLine.journalLineReference",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.updatedBy",
+ $ref: "#/parameters/rowFilter.journalLine.documentLineReference",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.customFields",
+ $ref: "#/parameters/rowFilter.journalLine.accrual",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.conversionFactor",
+ $ref: "#/parameters/rowFilter.journalLine.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.journalLine.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.journalLine.customFields",
+ },
+ {
+ $ref: "#/parameters/body.journalLine",
},
{
$ref: "#/parameters/preferReturn",
@@ -11312,171 +11463,176 @@ export default {
description: "No Content",
},
},
- tags: ["purchaseOrderLine"],
+ tags: ["journalLine"],
},
- patch: {
+ },
+ "/purchaseOrderLines": {
+ get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.id",
+ $ref: "#/parameters/rowFilter.purchaseOrderLines.id",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.purchaseOrderId",
+ $ref: "#/parameters/rowFilter.purchaseOrderLines.purchaseOrderId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.purchaseOrderLineType",
+ $ref: "#/parameters/rowFilter.purchaseOrderLines.purchaseOrderLineType",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.itemId",
+ $ref: "#/parameters/rowFilter.purchaseOrderLines.itemId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.itemReadableId",
+ $ref: "#/parameters/rowFilter.purchaseOrderLines.itemReadableId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.accountNumber",
+ $ref: "#/parameters/rowFilter.purchaseOrderLines.accountNumber",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.assetId",
+ $ref: "#/parameters/rowFilter.purchaseOrderLines.assetId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.description",
+ $ref: "#/parameters/rowFilter.purchaseOrderLines.description",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.purchaseQuantity",
+ $ref: "#/parameters/rowFilter.purchaseOrderLines.purchaseQuantity",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.quantityToReceive",
+ $ref: "#/parameters/rowFilter.purchaseOrderLines.quantityToReceive",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.quantityReceived",
+ $ref: "#/parameters/rowFilter.purchaseOrderLines.quantityReceived",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.quantityToInvoice",
+ $ref: "#/parameters/rowFilter.purchaseOrderLines.quantityToInvoice",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.quantityInvoiced",
+ $ref: "#/parameters/rowFilter.purchaseOrderLines.quantityInvoiced",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.unitPrice",
+ $ref: "#/parameters/rowFilter.purchaseOrderLines.unitPrice",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.inventoryUnitOfMeasureCode",
+ $ref: "#/parameters/rowFilter.purchaseOrderLines.inventoryUnitOfMeasureCode",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.purchaseUnitOfMeasureCode",
+ $ref: "#/parameters/rowFilter.purchaseOrderLines.purchaseUnitOfMeasureCode",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.locationId",
+ $ref: "#/parameters/rowFilter.purchaseOrderLines.locationId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.shelfId",
+ $ref: "#/parameters/rowFilter.purchaseOrderLines.shelfId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.setupPrice",
+ $ref: "#/parameters/rowFilter.purchaseOrderLines.setupPrice",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.receivedComplete",
+ $ref: "#/parameters/rowFilter.purchaseOrderLines.receivedComplete",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.invoicedComplete",
+ $ref: "#/parameters/rowFilter.purchaseOrderLines.invoicedComplete",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.requiresInspection",
+ $ref: "#/parameters/rowFilter.purchaseOrderLines.requiresInspection",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.companyId",
+ $ref: "#/parameters/rowFilter.purchaseOrderLines.companyId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.createdAt",
+ $ref: "#/parameters/rowFilter.purchaseOrderLines.createdAt",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.createdBy",
+ $ref: "#/parameters/rowFilter.purchaseOrderLines.createdBy",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.updatedAt",
+ $ref: "#/parameters/rowFilter.purchaseOrderLines.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.updatedBy",
+ $ref: "#/parameters/rowFilter.purchaseOrderLines.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.customFields",
+ $ref: "#/parameters/rowFilter.purchaseOrderLines.customFields",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLine.conversionFactor",
+ $ref: "#/parameters/rowFilter.purchaseOrderLines.conversionFactor",
},
{
- $ref: "#/parameters/body.purchaseOrderLine",
+ $ref: "#/parameters/rowFilter.purchaseOrderLines.supplierId",
},
{
- $ref: "#/parameters/preferReturn",
- },
- ],
- responses: {
- "204": {
- description: "No Content",
+ $ref: "#/parameters/rowFilter.purchaseOrderLines.itemName",
},
- },
- tags: ["purchaseOrderLine"],
- },
- },
- "/salesOrderShipment": {
- get: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.salesOrderShipment.id",
+ $ref: "#/parameters/rowFilter.purchaseOrderLines.itemDescription",
},
{
- $ref: "#/parameters/rowFilter.salesOrderShipment.locationId",
+ $ref: "#/parameters/rowFilter.purchaseOrderLines.supplierPartId",
},
{
- $ref: "#/parameters/rowFilter.salesOrderShipment.shippingMethodId",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.salesOrderShipment.shippingTermId",
+ $ref: "#/parameters/order",
},
{
- $ref: "#/parameters/rowFilter.salesOrderShipment.receiptRequestedDate",
+ $ref: "#/parameters/range",
},
{
- $ref: "#/parameters/rowFilter.salesOrderShipment.receiptPromisedDate",
+ $ref: "#/parameters/rangeUnit",
},
{
- $ref: "#/parameters/rowFilter.salesOrderShipment.deliveryDate",
+ $ref: "#/parameters/offset",
},
{
- $ref: "#/parameters/rowFilter.salesOrderShipment.notes",
+ $ref: "#/parameters/limit",
},
{
- $ref: "#/parameters/rowFilter.salesOrderShipment.trackingNumber",
+ $ref: "#/parameters/preferCount",
},
- {
- $ref: "#/parameters/rowFilter.salesOrderShipment.dropShipment",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/purchaseOrderLines",
+ },
+ type: "array",
+ },
},
- {
- $ref: "#/parameters/rowFilter.salesOrderShipment.customerId",
+ "206": {
+ description: "Partial Content",
},
+ },
+ tags: ["purchaseOrderLines"],
+ },
+ },
+ "/materialForm": {
+ get: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.salesOrderShipment.customerLocationId",
+ $ref: "#/parameters/rowFilter.materialForm.id",
},
{
- $ref: "#/parameters/rowFilter.salesOrderShipment.supplierId",
+ $ref: "#/parameters/rowFilter.materialForm.name",
},
{
- $ref: "#/parameters/rowFilter.salesOrderShipment.supplierLocationId",
+ $ref: "#/parameters/rowFilter.materialForm.companyId",
},
{
- $ref: "#/parameters/rowFilter.salesOrderShipment.companyId",
+ $ref: "#/parameters/rowFilter.materialForm.customFields",
},
{
- $ref: "#/parameters/rowFilter.salesOrderShipment.updatedBy",
+ $ref: "#/parameters/rowFilter.materialForm.createdBy",
},
{
- $ref: "#/parameters/rowFilter.salesOrderShipment.updatedAt",
+ $ref: "#/parameters/rowFilter.materialForm.createdAt",
},
{
- $ref: "#/parameters/rowFilter.salesOrderShipment.customFields",
+ $ref: "#/parameters/rowFilter.materialForm.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.salesOrderShipment.assignee",
+ $ref: "#/parameters/rowFilter.materialForm.updatedAt",
},
{
$ref: "#/parameters/select",
@@ -11505,7 +11661,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/salesOrderShipment",
+ $ref: "#/definitions/materialForm",
},
type: "array",
},
@@ -11514,12 +11670,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["salesOrderShipment"],
+ tags: ["materialForm"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.salesOrderShipment",
+ $ref: "#/parameters/body.materialForm",
},
{
$ref: "#/parameters/select",
@@ -11533,66 +11689,73 @@ export default {
description: "Created",
},
},
- tags: ["salesOrderShipment"],
+ tags: ["materialForm"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.salesOrderShipment.id",
+ $ref: "#/parameters/rowFilter.materialForm.id",
},
{
- $ref: "#/parameters/rowFilter.salesOrderShipment.locationId",
+ $ref: "#/parameters/rowFilter.materialForm.name",
},
{
- $ref: "#/parameters/rowFilter.salesOrderShipment.shippingMethodId",
+ $ref: "#/parameters/rowFilter.materialForm.companyId",
},
{
- $ref: "#/parameters/rowFilter.salesOrderShipment.shippingTermId",
+ $ref: "#/parameters/rowFilter.materialForm.customFields",
},
{
- $ref: "#/parameters/rowFilter.salesOrderShipment.receiptRequestedDate",
+ $ref: "#/parameters/rowFilter.materialForm.createdBy",
},
{
- $ref: "#/parameters/rowFilter.salesOrderShipment.receiptPromisedDate",
+ $ref: "#/parameters/rowFilter.materialForm.createdAt",
},
{
- $ref: "#/parameters/rowFilter.salesOrderShipment.deliveryDate",
+ $ref: "#/parameters/rowFilter.materialForm.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.salesOrderShipment.notes",
+ $ref: "#/parameters/rowFilter.materialForm.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.salesOrderShipment.trackingNumber",
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
},
+ },
+ tags: ["materialForm"],
+ },
+ patch: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.salesOrderShipment.dropShipment",
+ $ref: "#/parameters/rowFilter.materialForm.id",
},
{
- $ref: "#/parameters/rowFilter.salesOrderShipment.customerId",
+ $ref: "#/parameters/rowFilter.materialForm.name",
},
{
- $ref: "#/parameters/rowFilter.salesOrderShipment.customerLocationId",
+ $ref: "#/parameters/rowFilter.materialForm.companyId",
},
{
- $ref: "#/parameters/rowFilter.salesOrderShipment.supplierId",
+ $ref: "#/parameters/rowFilter.materialForm.customFields",
},
{
- $ref: "#/parameters/rowFilter.salesOrderShipment.supplierLocationId",
+ $ref: "#/parameters/rowFilter.materialForm.createdBy",
},
{
- $ref: "#/parameters/rowFilter.salesOrderShipment.companyId",
- },
- {
- $ref: "#/parameters/rowFilter.salesOrderShipment.updatedBy",
+ $ref: "#/parameters/rowFilter.materialForm.createdAt",
},
{
- $ref: "#/parameters/rowFilter.salesOrderShipment.updatedAt",
+ $ref: "#/parameters/rowFilter.materialForm.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.salesOrderShipment.customFields",
+ $ref: "#/parameters/rowFilter.materialForm.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.salesOrderShipment.assignee",
+ $ref: "#/parameters/body.materialForm",
},
{
$ref: "#/parameters/preferReturn",
@@ -11603,111 +11766,68 @@ export default {
description: "No Content",
},
},
- tags: ["salesOrderShipment"],
+ tags: ["materialForm"],
},
- patch: {
+ },
+ "/item": {
+ get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.salesOrderShipment.id",
- },
- {
- $ref: "#/parameters/rowFilter.salesOrderShipment.locationId",
- },
- {
- $ref: "#/parameters/rowFilter.salesOrderShipment.shippingMethodId",
- },
- {
- $ref: "#/parameters/rowFilter.salesOrderShipment.shippingTermId",
- },
- {
- $ref: "#/parameters/rowFilter.salesOrderShipment.receiptRequestedDate",
- },
- {
- $ref: "#/parameters/rowFilter.salesOrderShipment.receiptPromisedDate",
- },
- {
- $ref: "#/parameters/rowFilter.salesOrderShipment.deliveryDate",
- },
- {
- $ref: "#/parameters/rowFilter.salesOrderShipment.notes",
- },
- {
- $ref: "#/parameters/rowFilter.salesOrderShipment.trackingNumber",
- },
- {
- $ref: "#/parameters/rowFilter.salesOrderShipment.dropShipment",
- },
- {
- $ref: "#/parameters/rowFilter.salesOrderShipment.customerId",
- },
- {
- $ref: "#/parameters/rowFilter.salesOrderShipment.customerLocationId",
+ $ref: "#/parameters/rowFilter.item.id",
},
{
- $ref: "#/parameters/rowFilter.salesOrderShipment.supplierId",
+ $ref: "#/parameters/rowFilter.item.readableId",
},
{
- $ref: "#/parameters/rowFilter.salesOrderShipment.supplierLocationId",
+ $ref: "#/parameters/rowFilter.item.name",
},
{
- $ref: "#/parameters/rowFilter.salesOrderShipment.companyId",
+ $ref: "#/parameters/rowFilter.item.description",
},
{
- $ref: "#/parameters/rowFilter.salesOrderShipment.updatedBy",
+ $ref: "#/parameters/rowFilter.item.type",
},
{
- $ref: "#/parameters/rowFilter.salesOrderShipment.updatedAt",
+ $ref: "#/parameters/rowFilter.item.replenishmentSystem",
},
{
- $ref: "#/parameters/rowFilter.salesOrderShipment.customFields",
+ $ref: "#/parameters/rowFilter.item.defaultMethodType",
},
{
- $ref: "#/parameters/rowFilter.salesOrderShipment.assignee",
+ $ref: "#/parameters/rowFilter.item.itemTrackingType",
},
{
- $ref: "#/parameters/body.salesOrderShipment",
+ $ref: "#/parameters/rowFilter.item.unitOfMeasureCode",
},
{
- $ref: "#/parameters/preferReturn",
- },
- ],
- responses: {
- "204": {
- description: "No Content",
+ $ref: "#/parameters/rowFilter.item.active",
},
- },
- tags: ["salesOrderShipment"],
- },
- },
- "/employeeSummary": {
- get: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.employeeSummary.id",
+ $ref: "#/parameters/rowFilter.item.companyId",
},
{
- $ref: "#/parameters/rowFilter.employeeSummary.name",
+ $ref: "#/parameters/rowFilter.item.createdBy",
},
{
- $ref: "#/parameters/rowFilter.employeeSummary.avatarUrl",
+ $ref: "#/parameters/rowFilter.item.createdAt",
},
{
- $ref: "#/parameters/rowFilter.employeeSummary.companyId",
+ $ref: "#/parameters/rowFilter.item.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.employeeSummary.title",
+ $ref: "#/parameters/rowFilter.item.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.employeeSummary.startDate",
+ $ref: "#/parameters/rowFilter.item.assignee",
},
{
- $ref: "#/parameters/rowFilter.employeeSummary.departmentName",
+ $ref: "#/parameters/rowFilter.item.modelUploadId",
},
{
- $ref: "#/parameters/rowFilter.employeeSummary.locationName",
+ $ref: "#/parameters/rowFilter.item.externalId",
},
{
- $ref: "#/parameters/rowFilter.employeeSummary.managerName",
+ $ref: "#/parameters/rowFilter.item.thumbnailPath",
},
{
$ref: "#/parameters/select",
@@ -11736,7 +11856,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/employeeSummary",
+ $ref: "#/definitions/item",
},
type: "array",
},
@@ -11745,185 +11865,158 @@ export default {
description: "Partial Content",
},
},
- tags: ["employeeSummary"],
+ tags: ["item"],
},
- },
- "/shelf": {
- get: {
+ post: {
parameters: [
{
- $ref: "#/parameters/rowFilter.shelf.id",
+ $ref: "#/parameters/body.item",
},
{
- $ref: "#/parameters/rowFilter.shelf.locationId",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.shelf.warehouseId",
+ $ref: "#/parameters/preferPost",
+ },
+ ],
+ responses: {
+ "201": {
+ description: "Created",
},
+ },
+ tags: ["item"],
+ },
+ delete: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.shelf.active",
+ $ref: "#/parameters/rowFilter.item.id",
},
{
- $ref: "#/parameters/rowFilter.shelf.companyId",
+ $ref: "#/parameters/rowFilter.item.readableId",
},
{
- $ref: "#/parameters/rowFilter.shelf.createdBy",
+ $ref: "#/parameters/rowFilter.item.name",
},
{
- $ref: "#/parameters/rowFilter.shelf.createdAt",
+ $ref: "#/parameters/rowFilter.item.description",
},
{
- $ref: "#/parameters/rowFilter.shelf.updatedBy",
+ $ref: "#/parameters/rowFilter.item.type",
},
{
- $ref: "#/parameters/rowFilter.shelf.updatedAt",
+ $ref: "#/parameters/rowFilter.item.replenishmentSystem",
},
{
- $ref: "#/parameters/rowFilter.shelf.customFields",
+ $ref: "#/parameters/rowFilter.item.defaultMethodType",
},
{
- $ref: "#/parameters/rowFilter.shelf.name",
+ $ref: "#/parameters/rowFilter.item.itemTrackingType",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.item.unitOfMeasureCode",
},
{
- $ref: "#/parameters/order",
+ $ref: "#/parameters/rowFilter.item.active",
},
{
- $ref: "#/parameters/range",
+ $ref: "#/parameters/rowFilter.item.companyId",
},
{
- $ref: "#/parameters/rangeUnit",
+ $ref: "#/parameters/rowFilter.item.createdBy",
},
{
- $ref: "#/parameters/offset",
+ $ref: "#/parameters/rowFilter.item.createdAt",
},
{
- $ref: "#/parameters/limit",
+ $ref: "#/parameters/rowFilter.item.updatedBy",
},
{
- $ref: "#/parameters/preferCount",
+ $ref: "#/parameters/rowFilter.item.updatedAt",
},
- ],
- responses: {
- "200": {
- description: "OK",
- schema: {
- items: {
- $ref: "#/definitions/shelf",
- },
- type: "array",
- },
+ {
+ $ref: "#/parameters/rowFilter.item.assignee",
},
- "206": {
- description: "Partial Content",
+ {
+ $ref: "#/parameters/rowFilter.item.modelUploadId",
},
- },
- tags: ["shelf"],
- },
- post: {
- parameters: [
{
- $ref: "#/parameters/body.shelf",
+ $ref: "#/parameters/rowFilter.item.externalId",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.item.thumbnailPath",
},
{
- $ref: "#/parameters/preferPost",
+ $ref: "#/parameters/preferReturn",
},
],
responses: {
- "201": {
- description: "Created",
+ "204": {
+ description: "No Content",
},
},
- tags: ["shelf"],
+ tags: ["item"],
},
- delete: {
+ patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.shelf.id",
- },
- {
- $ref: "#/parameters/rowFilter.shelf.locationId",
- },
- {
- $ref: "#/parameters/rowFilter.shelf.warehouseId",
- },
- {
- $ref: "#/parameters/rowFilter.shelf.active",
- },
- {
- $ref: "#/parameters/rowFilter.shelf.companyId",
+ $ref: "#/parameters/rowFilter.item.id",
},
{
- $ref: "#/parameters/rowFilter.shelf.createdBy",
+ $ref: "#/parameters/rowFilter.item.readableId",
},
{
- $ref: "#/parameters/rowFilter.shelf.createdAt",
+ $ref: "#/parameters/rowFilter.item.name",
},
{
- $ref: "#/parameters/rowFilter.shelf.updatedBy",
+ $ref: "#/parameters/rowFilter.item.description",
},
{
- $ref: "#/parameters/rowFilter.shelf.updatedAt",
+ $ref: "#/parameters/rowFilter.item.type",
},
{
- $ref: "#/parameters/rowFilter.shelf.customFields",
+ $ref: "#/parameters/rowFilter.item.replenishmentSystem",
},
{
- $ref: "#/parameters/rowFilter.shelf.name",
+ $ref: "#/parameters/rowFilter.item.defaultMethodType",
},
{
- $ref: "#/parameters/preferReturn",
- },
- ],
- responses: {
- "204": {
- description: "No Content",
+ $ref: "#/parameters/rowFilter.item.itemTrackingType",
},
- },
- tags: ["shelf"],
- },
- patch: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.shelf.id",
+ $ref: "#/parameters/rowFilter.item.unitOfMeasureCode",
},
{
- $ref: "#/parameters/rowFilter.shelf.locationId",
+ $ref: "#/parameters/rowFilter.item.active",
},
{
- $ref: "#/parameters/rowFilter.shelf.warehouseId",
+ $ref: "#/parameters/rowFilter.item.companyId",
},
{
- $ref: "#/parameters/rowFilter.shelf.active",
+ $ref: "#/parameters/rowFilter.item.createdBy",
},
{
- $ref: "#/parameters/rowFilter.shelf.companyId",
+ $ref: "#/parameters/rowFilter.item.createdAt",
},
{
- $ref: "#/parameters/rowFilter.shelf.createdBy",
+ $ref: "#/parameters/rowFilter.item.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.shelf.createdAt",
+ $ref: "#/parameters/rowFilter.item.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.shelf.updatedBy",
+ $ref: "#/parameters/rowFilter.item.assignee",
},
{
- $ref: "#/parameters/rowFilter.shelf.updatedAt",
+ $ref: "#/parameters/rowFilter.item.modelUploadId",
},
{
- $ref: "#/parameters/rowFilter.shelf.customFields",
+ $ref: "#/parameters/rowFilter.item.externalId",
},
{
- $ref: "#/parameters/rowFilter.shelf.name",
+ $ref: "#/parameters/rowFilter.item.thumbnailPath",
},
{
- $ref: "#/parameters/body.shelf",
+ $ref: "#/parameters/body.item",
},
{
$ref: "#/parameters/preferReturn",
@@ -11934,41 +12027,65 @@ export default {
description: "No Content",
},
},
- tags: ["shelf"],
+ tags: ["item"],
},
},
- "/supplierLedger": {
+ "/receipt": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.supplierLedger.id",
+ $ref: "#/parameters/rowFilter.receipt.id",
},
{
- $ref: "#/parameters/rowFilter.supplierLedger.entryNumber",
+ $ref: "#/parameters/rowFilter.receipt.receiptId",
},
{
- $ref: "#/parameters/rowFilter.supplierLedger.postingDate",
+ $ref: "#/parameters/rowFilter.receipt.locationId",
},
{
- $ref: "#/parameters/rowFilter.supplierLedger.documentType",
+ $ref: "#/parameters/rowFilter.receipt.sourceDocument",
},
{
- $ref: "#/parameters/rowFilter.supplierLedger.documentId",
+ $ref: "#/parameters/rowFilter.receipt.sourceDocumentId",
},
{
- $ref: "#/parameters/rowFilter.supplierLedger.externalDocumentId",
+ $ref: "#/parameters/rowFilter.receipt.sourceDocumentReadableId",
},
{
- $ref: "#/parameters/rowFilter.supplierLedger.supplierId",
+ $ref: "#/parameters/rowFilter.receipt.externalDocumentId",
},
{
- $ref: "#/parameters/rowFilter.supplierLedger.amount",
+ $ref: "#/parameters/rowFilter.receipt.supplierId",
},
{
- $ref: "#/parameters/rowFilter.supplierLedger.companyId",
+ $ref: "#/parameters/rowFilter.receipt.status",
},
{
- $ref: "#/parameters/rowFilter.supplierLedger.createdAt",
+ $ref: "#/parameters/rowFilter.receipt.postingDate",
+ },
+ {
+ $ref: "#/parameters/rowFilter.receipt.invoiced",
+ },
+ {
+ $ref: "#/parameters/rowFilter.receipt.assignee",
+ },
+ {
+ $ref: "#/parameters/rowFilter.receipt.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.receipt.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.receipt.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.receipt.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.receipt.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.receipt.customFields",
},
{
$ref: "#/parameters/select",
@@ -11997,7 +12114,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/supplierLedger",
+ $ref: "#/definitions/receipt",
},
type: "array",
},
@@ -12006,12 +12123,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["supplierLedger"],
+ tags: ["receipt"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.supplierLedger",
+ $ref: "#/parameters/body.receipt",
},
{
$ref: "#/parameters/select",
@@ -12025,85 +12142,63 @@ export default {
description: "Created",
},
},
- tags: ["supplierLedger"],
+ tags: ["receipt"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.supplierLedger.id",
- },
- {
- $ref: "#/parameters/rowFilter.supplierLedger.entryNumber",
- },
- {
- $ref: "#/parameters/rowFilter.supplierLedger.postingDate",
- },
- {
- $ref: "#/parameters/rowFilter.supplierLedger.documentType",
- },
- {
- $ref: "#/parameters/rowFilter.supplierLedger.documentId",
+ $ref: "#/parameters/rowFilter.receipt.id",
},
{
- $ref: "#/parameters/rowFilter.supplierLedger.externalDocumentId",
+ $ref: "#/parameters/rowFilter.receipt.receiptId",
},
{
- $ref: "#/parameters/rowFilter.supplierLedger.supplierId",
+ $ref: "#/parameters/rowFilter.receipt.locationId",
},
{
- $ref: "#/parameters/rowFilter.supplierLedger.amount",
+ $ref: "#/parameters/rowFilter.receipt.sourceDocument",
},
{
- $ref: "#/parameters/rowFilter.supplierLedger.companyId",
+ $ref: "#/parameters/rowFilter.receipt.sourceDocumentId",
},
{
- $ref: "#/parameters/rowFilter.supplierLedger.createdAt",
+ $ref: "#/parameters/rowFilter.receipt.sourceDocumentReadableId",
},
{
- $ref: "#/parameters/preferReturn",
- },
- ],
- responses: {
- "204": {
- description: "No Content",
+ $ref: "#/parameters/rowFilter.receipt.externalDocumentId",
},
- },
- tags: ["supplierLedger"],
- },
- patch: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.supplierLedger.id",
+ $ref: "#/parameters/rowFilter.receipt.supplierId",
},
{
- $ref: "#/parameters/rowFilter.supplierLedger.entryNumber",
+ $ref: "#/parameters/rowFilter.receipt.status",
},
{
- $ref: "#/parameters/rowFilter.supplierLedger.postingDate",
+ $ref: "#/parameters/rowFilter.receipt.postingDate",
},
{
- $ref: "#/parameters/rowFilter.supplierLedger.documentType",
+ $ref: "#/parameters/rowFilter.receipt.invoiced",
},
{
- $ref: "#/parameters/rowFilter.supplierLedger.documentId",
+ $ref: "#/parameters/rowFilter.receipt.assignee",
},
{
- $ref: "#/parameters/rowFilter.supplierLedger.externalDocumentId",
+ $ref: "#/parameters/rowFilter.receipt.companyId",
},
{
- $ref: "#/parameters/rowFilter.supplierLedger.supplierId",
+ $ref: "#/parameters/rowFilter.receipt.createdAt",
},
{
- $ref: "#/parameters/rowFilter.supplierLedger.amount",
+ $ref: "#/parameters/rowFilter.receipt.createdBy",
},
{
- $ref: "#/parameters/rowFilter.supplierLedger.companyId",
+ $ref: "#/parameters/rowFilter.receipt.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.supplierLedger.createdAt",
+ $ref: "#/parameters/rowFilter.receipt.updatedBy",
},
{
- $ref: "#/parameters/body.supplierLedger",
+ $ref: "#/parameters/rowFilter.receipt.customFields",
},
{
$ref: "#/parameters/preferReturn",
@@ -12114,98 +12209,96 @@ export default {
description: "No Content",
},
},
- tags: ["supplierLedger"],
+ tags: ["receipt"],
},
- },
- "/holidayYears": {
- get: {
+ patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.holidayYears.year",
+ $ref: "#/parameters/rowFilter.receipt.id",
},
{
- $ref: "#/parameters/rowFilter.holidayYears.companyId",
+ $ref: "#/parameters/rowFilter.receipt.receiptId",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.receipt.locationId",
},
{
- $ref: "#/parameters/order",
+ $ref: "#/parameters/rowFilter.receipt.sourceDocument",
},
{
- $ref: "#/parameters/range",
+ $ref: "#/parameters/rowFilter.receipt.sourceDocumentId",
},
{
- $ref: "#/parameters/rangeUnit",
+ $ref: "#/parameters/rowFilter.receipt.sourceDocumentReadableId",
},
{
- $ref: "#/parameters/offset",
+ $ref: "#/parameters/rowFilter.receipt.externalDocumentId",
},
{
- $ref: "#/parameters/limit",
+ $ref: "#/parameters/rowFilter.receipt.supplierId",
},
{
- $ref: "#/parameters/preferCount",
+ $ref: "#/parameters/rowFilter.receipt.status",
},
- ],
- responses: {
- "200": {
- description: "OK",
- schema: {
- items: {
- $ref: "#/definitions/holidayYears",
- },
- type: "array",
- },
+ {
+ $ref: "#/parameters/rowFilter.receipt.postingDate",
},
- "206": {
- description: "Partial Content",
+ {
+ $ref: "#/parameters/rowFilter.receipt.invoiced",
},
- },
- tags: ["holidayYears"],
- },
- },
- "/itemUnitSalePrice": {
- get: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.itemUnitSalePrice.itemId",
+ $ref: "#/parameters/rowFilter.receipt.assignee",
},
{
- $ref: "#/parameters/rowFilter.itemUnitSalePrice.unitSalePrice",
+ $ref: "#/parameters/rowFilter.receipt.companyId",
},
{
- $ref: "#/parameters/rowFilter.itemUnitSalePrice.currencyCode",
+ $ref: "#/parameters/rowFilter.receipt.createdAt",
},
{
- $ref: "#/parameters/rowFilter.itemUnitSalePrice.salesUnitOfMeasureCode",
+ $ref: "#/parameters/rowFilter.receipt.createdBy",
},
{
- $ref: "#/parameters/rowFilter.itemUnitSalePrice.salesBlocked",
+ $ref: "#/parameters/rowFilter.receipt.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.itemUnitSalePrice.priceIncludesTax",
+ $ref: "#/parameters/rowFilter.receipt.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.itemUnitSalePrice.allowInvoiceDiscount",
+ $ref: "#/parameters/rowFilter.receipt.customFields",
},
{
- $ref: "#/parameters/rowFilter.itemUnitSalePrice.companyId",
+ $ref: "#/parameters/body.receipt",
},
{
- $ref: "#/parameters/rowFilter.itemUnitSalePrice.createdBy",
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
},
+ },
+ tags: ["receipt"],
+ },
+ },
+ "/purchaseOrderTransaction": {
+ get: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.itemUnitSalePrice.createdAt",
+ $ref: "#/parameters/rowFilter.purchaseOrderTransaction.id",
},
{
- $ref: "#/parameters/rowFilter.itemUnitSalePrice.updatedBy",
+ $ref: "#/parameters/rowFilter.purchaseOrderTransaction.purchaseOrderId",
},
{
- $ref: "#/parameters/rowFilter.itemUnitSalePrice.updatedAt",
+ $ref: "#/parameters/rowFilter.purchaseOrderTransaction.type",
},
{
- $ref: "#/parameters/rowFilter.itemUnitSalePrice.customFields",
+ $ref: "#/parameters/rowFilter.purchaseOrderTransaction.userId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrderTransaction.createdAt",
},
{
$ref: "#/parameters/select",
@@ -12234,7 +12327,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/itemUnitSalePrice",
+ $ref: "#/definitions/purchaseOrderTransaction",
},
type: "array",
},
@@ -12243,12 +12336,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["itemUnitSalePrice"],
+ tags: ["purchaseOrderTransaction"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.itemUnitSalePrice",
+ $ref: "#/parameters/body.purchaseOrderTransaction",
},
{
$ref: "#/parameters/select",
@@ -12262,48 +12355,55 @@ export default {
description: "Created",
},
},
- tags: ["itemUnitSalePrice"],
+ tags: ["purchaseOrderTransaction"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.itemUnitSalePrice.itemId",
+ $ref: "#/parameters/rowFilter.purchaseOrderTransaction.id",
},
{
- $ref: "#/parameters/rowFilter.itemUnitSalePrice.unitSalePrice",
+ $ref: "#/parameters/rowFilter.purchaseOrderTransaction.purchaseOrderId",
},
{
- $ref: "#/parameters/rowFilter.itemUnitSalePrice.currencyCode",
+ $ref: "#/parameters/rowFilter.purchaseOrderTransaction.type",
},
{
- $ref: "#/parameters/rowFilter.itemUnitSalePrice.salesUnitOfMeasureCode",
+ $ref: "#/parameters/rowFilter.purchaseOrderTransaction.userId",
},
{
- $ref: "#/parameters/rowFilter.itemUnitSalePrice.salesBlocked",
+ $ref: "#/parameters/rowFilter.purchaseOrderTransaction.createdAt",
},
{
- $ref: "#/parameters/rowFilter.itemUnitSalePrice.priceIncludesTax",
+ $ref: "#/parameters/preferReturn",
},
- {
- $ref: "#/parameters/rowFilter.itemUnitSalePrice.allowInvoiceDiscount",
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
},
+ },
+ tags: ["purchaseOrderTransaction"],
+ },
+ patch: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.itemUnitSalePrice.companyId",
+ $ref: "#/parameters/rowFilter.purchaseOrderTransaction.id",
},
{
- $ref: "#/parameters/rowFilter.itemUnitSalePrice.createdBy",
+ $ref: "#/parameters/rowFilter.purchaseOrderTransaction.purchaseOrderId",
},
{
- $ref: "#/parameters/rowFilter.itemUnitSalePrice.createdAt",
+ $ref: "#/parameters/rowFilter.purchaseOrderTransaction.type",
},
{
- $ref: "#/parameters/rowFilter.itemUnitSalePrice.updatedBy",
+ $ref: "#/parameters/rowFilter.purchaseOrderTransaction.userId",
},
{
- $ref: "#/parameters/rowFilter.itemUnitSalePrice.updatedAt",
+ $ref: "#/parameters/rowFilter.purchaseOrderTransaction.createdAt",
},
{
- $ref: "#/parameters/rowFilter.itemUnitSalePrice.customFields",
+ $ref: "#/parameters/body.purchaseOrderTransaction",
},
{
$ref: "#/parameters/preferReturn",
@@ -12314,150 +12414,173 @@ export default {
description: "No Content",
},
},
- tags: ["itemUnitSalePrice"],
+ tags: ["purchaseOrderTransaction"],
},
- patch: {
+ },
+ "/supplierLocation": {
+ get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.itemUnitSalePrice.itemId",
+ $ref: "#/parameters/rowFilter.supplierLocation.id",
},
{
- $ref: "#/parameters/rowFilter.itemUnitSalePrice.unitSalePrice",
+ $ref: "#/parameters/rowFilter.supplierLocation.supplierId",
},
{
- $ref: "#/parameters/rowFilter.itemUnitSalePrice.currencyCode",
+ $ref: "#/parameters/rowFilter.supplierLocation.addressId",
},
{
- $ref: "#/parameters/rowFilter.itemUnitSalePrice.salesUnitOfMeasureCode",
+ $ref: "#/parameters/rowFilter.supplierLocation.customFields",
},
{
- $ref: "#/parameters/rowFilter.itemUnitSalePrice.salesBlocked",
+ $ref: "#/parameters/rowFilter.supplierLocation.name",
},
{
- $ref: "#/parameters/rowFilter.itemUnitSalePrice.priceIncludesTax",
- },
- {
- $ref: "#/parameters/rowFilter.itemUnitSalePrice.allowInvoiceDiscount",
- },
- {
- $ref: "#/parameters/rowFilter.itemUnitSalePrice.companyId",
- },
- {
- $ref: "#/parameters/rowFilter.itemUnitSalePrice.createdBy",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.itemUnitSalePrice.createdAt",
+ $ref: "#/parameters/order",
},
{
- $ref: "#/parameters/rowFilter.itemUnitSalePrice.updatedBy",
+ $ref: "#/parameters/range",
},
{
- $ref: "#/parameters/rowFilter.itemUnitSalePrice.updatedAt",
+ $ref: "#/parameters/rangeUnit",
},
{
- $ref: "#/parameters/rowFilter.itemUnitSalePrice.customFields",
+ $ref: "#/parameters/offset",
},
{
- $ref: "#/parameters/body.itemUnitSalePrice",
+ $ref: "#/parameters/limit",
},
{
- $ref: "#/parameters/preferReturn",
+ $ref: "#/parameters/preferCount",
},
],
responses: {
- "204": {
- description: "No Content",
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/supplierLocation",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
},
},
- tags: ["itemUnitSalePrice"],
+ tags: ["supplierLocation"],
},
- },
- "/job": {
- get: {
+ post: {
parameters: [
{
- $ref: "#/parameters/rowFilter.job.id",
+ $ref: "#/parameters/body.supplierLocation",
},
{
- $ref: "#/parameters/rowFilter.job.jobId",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.job.itemId",
+ $ref: "#/parameters/preferPost",
},
- {
- $ref: "#/parameters/rowFilter.job.unitOfMeasureCode",
+ ],
+ responses: {
+ "201": {
+ description: "Created",
},
+ },
+ tags: ["supplierLocation"],
+ },
+ delete: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.job.customerId",
+ $ref: "#/parameters/rowFilter.supplierLocation.id",
},
{
- $ref: "#/parameters/rowFilter.job.locationId",
+ $ref: "#/parameters/rowFilter.supplierLocation.supplierId",
},
{
- $ref: "#/parameters/rowFilter.job.status",
+ $ref: "#/parameters/rowFilter.supplierLocation.addressId",
},
{
- $ref: "#/parameters/rowFilter.job.dueDate",
+ $ref: "#/parameters/rowFilter.supplierLocation.customFields",
},
{
- $ref: "#/parameters/rowFilter.job.deadlineType",
+ $ref: "#/parameters/rowFilter.supplierLocation.name",
},
{
- $ref: "#/parameters/rowFilter.job.quantity",
+ $ref: "#/parameters/preferReturn",
},
- {
- $ref: "#/parameters/rowFilter.job.scrapQuantity",
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
},
+ },
+ tags: ["supplierLocation"],
+ },
+ patch: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.job.productionQuantity",
+ $ref: "#/parameters/rowFilter.supplierLocation.id",
},
{
- $ref: "#/parameters/rowFilter.job.quantityComplete",
+ $ref: "#/parameters/rowFilter.supplierLocation.supplierId",
},
{
- $ref: "#/parameters/rowFilter.job.quantityShipped",
+ $ref: "#/parameters/rowFilter.supplierLocation.addressId",
},
{
- $ref: "#/parameters/rowFilter.job.quantityReceivedToInventory",
+ $ref: "#/parameters/rowFilter.supplierLocation.customFields",
},
{
- $ref: "#/parameters/rowFilter.job.salesOrderId",
+ $ref: "#/parameters/rowFilter.supplierLocation.name",
},
{
- $ref: "#/parameters/rowFilter.job.salesOrderLineId",
+ $ref: "#/parameters/body.supplierLocation",
},
{
- $ref: "#/parameters/rowFilter.job.quoteId",
+ $ref: "#/parameters/preferReturn",
},
- {
- $ref: "#/parameters/rowFilter.job.quoteLineId",
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
},
+ },
+ tags: ["supplierLocation"],
+ },
+ },
+ "/contractor": {
+ get: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.job.modelUploadId",
+ $ref: "#/parameters/rowFilter.contractor.id",
},
{
- $ref: "#/parameters/rowFilter.job.notes",
+ $ref: "#/parameters/rowFilter.contractor.hoursPerWeek",
},
{
- $ref: "#/parameters/rowFilter.job.assignee",
+ $ref: "#/parameters/rowFilter.contractor.active",
},
{
- $ref: "#/parameters/rowFilter.job.customFields",
+ $ref: "#/parameters/rowFilter.contractor.companyId",
},
{
- $ref: "#/parameters/rowFilter.job.companyId",
+ $ref: "#/parameters/rowFilter.contractor.createdBy",
},
{
- $ref: "#/parameters/rowFilter.job.createdAt",
+ $ref: "#/parameters/rowFilter.contractor.createdAt",
},
{
- $ref: "#/parameters/rowFilter.job.createdBy",
+ $ref: "#/parameters/rowFilter.contractor.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.job.updatedAt",
+ $ref: "#/parameters/rowFilter.contractor.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.job.updatedBy",
+ $ref: "#/parameters/rowFilter.contractor.customFields",
},
{
$ref: "#/parameters/select",
@@ -12486,7 +12609,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/job",
+ $ref: "#/definitions/contractor",
},
type: "array",
},
@@ -12495,12 +12618,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["job"],
+ tags: ["contractor"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.job",
+ $ref: "#/parameters/body.contractor",
},
{
$ref: "#/parameters/select",
@@ -12514,214 +12637,256 @@ export default {
description: "Created",
},
},
- tags: ["job"],
+ tags: ["contractor"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.job.id",
+ $ref: "#/parameters/rowFilter.contractor.id",
},
{
- $ref: "#/parameters/rowFilter.job.jobId",
+ $ref: "#/parameters/rowFilter.contractor.hoursPerWeek",
},
{
- $ref: "#/parameters/rowFilter.job.itemId",
+ $ref: "#/parameters/rowFilter.contractor.active",
},
{
- $ref: "#/parameters/rowFilter.job.unitOfMeasureCode",
+ $ref: "#/parameters/rowFilter.contractor.companyId",
},
{
- $ref: "#/parameters/rowFilter.job.customerId",
+ $ref: "#/parameters/rowFilter.contractor.createdBy",
},
{
- $ref: "#/parameters/rowFilter.job.locationId",
+ $ref: "#/parameters/rowFilter.contractor.createdAt",
},
{
- $ref: "#/parameters/rowFilter.job.status",
+ $ref: "#/parameters/rowFilter.contractor.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.job.dueDate",
+ $ref: "#/parameters/rowFilter.contractor.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.job.deadlineType",
+ $ref: "#/parameters/rowFilter.contractor.customFields",
},
{
- $ref: "#/parameters/rowFilter.job.quantity",
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
},
+ },
+ tags: ["contractor"],
+ },
+ patch: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.job.scrapQuantity",
+ $ref: "#/parameters/rowFilter.contractor.id",
},
{
- $ref: "#/parameters/rowFilter.job.productionQuantity",
+ $ref: "#/parameters/rowFilter.contractor.hoursPerWeek",
},
{
- $ref: "#/parameters/rowFilter.job.quantityComplete",
+ $ref: "#/parameters/rowFilter.contractor.active",
},
{
- $ref: "#/parameters/rowFilter.job.quantityShipped",
+ $ref: "#/parameters/rowFilter.contractor.companyId",
},
{
- $ref: "#/parameters/rowFilter.job.quantityReceivedToInventory",
+ $ref: "#/parameters/rowFilter.contractor.createdBy",
},
{
- $ref: "#/parameters/rowFilter.job.salesOrderId",
+ $ref: "#/parameters/rowFilter.contractor.createdAt",
},
{
- $ref: "#/parameters/rowFilter.job.salesOrderLineId",
+ $ref: "#/parameters/rowFilter.contractor.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.job.quoteId",
+ $ref: "#/parameters/rowFilter.contractor.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.job.quoteLineId",
+ $ref: "#/parameters/rowFilter.contractor.customFields",
},
{
- $ref: "#/parameters/rowFilter.job.modelUploadId",
+ $ref: "#/parameters/body.contractor",
},
{
- $ref: "#/parameters/rowFilter.job.notes",
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
},
+ },
+ tags: ["contractor"],
+ },
+ },
+ "/jobOperationsWithMakeMethods": {
+ get: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.job.assignee",
+ $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.makeMethodId",
},
{
- $ref: "#/parameters/rowFilter.job.customFields",
+ $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.id",
},
{
- $ref: "#/parameters/rowFilter.job.companyId",
+ $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.jobId",
},
{
- $ref: "#/parameters/rowFilter.job.createdAt",
+ $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.jobMakeMethodId",
},
{
- $ref: "#/parameters/rowFilter.job.createdBy",
+ $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.order",
},
{
- $ref: "#/parameters/rowFilter.job.updatedAt",
+ $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.processId",
},
{
- $ref: "#/parameters/rowFilter.job.updatedBy",
+ $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.workCenterId",
},
{
- $ref: "#/parameters/preferReturn",
+ $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.description",
},
- ],
- responses: {
- "204": {
- description: "No Content",
+ {
+ $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.setupTime",
},
- },
- tags: ["job"],
- },
- patch: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.job.id",
+ $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.setupUnit",
},
{
- $ref: "#/parameters/rowFilter.job.jobId",
+ $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.laborTime",
},
{
- $ref: "#/parameters/rowFilter.job.itemId",
+ $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.laborUnit",
},
{
- $ref: "#/parameters/rowFilter.job.unitOfMeasureCode",
+ $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.machineTime",
},
{
- $ref: "#/parameters/rowFilter.job.customerId",
+ $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.machineUnit",
},
{
- $ref: "#/parameters/rowFilter.job.locationId",
+ $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.operationOrder",
},
{
- $ref: "#/parameters/rowFilter.job.status",
+ $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.laborRate",
},
{
- $ref: "#/parameters/rowFilter.job.dueDate",
+ $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.overheadRate",
},
{
- $ref: "#/parameters/rowFilter.job.deadlineType",
+ $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.machineRate",
},
{
- $ref: "#/parameters/rowFilter.job.quantity",
+ $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.operationType",
},
{
- $ref: "#/parameters/rowFilter.job.scrapQuantity",
+ $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.operationMinimumCost",
},
{
- $ref: "#/parameters/rowFilter.job.productionQuantity",
+ $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.operationLeadTime",
},
{
- $ref: "#/parameters/rowFilter.job.quantityComplete",
+ $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.operationUnitCost",
},
{
- $ref: "#/parameters/rowFilter.job.quantityShipped",
+ $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.operationSupplierProcessId",
},
{
- $ref: "#/parameters/rowFilter.job.quantityReceivedToInventory",
+ $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.workInstruction",
},
{
- $ref: "#/parameters/rowFilter.job.salesOrderId",
+ $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.companyId",
},
{
- $ref: "#/parameters/rowFilter.job.salesOrderLineId",
+ $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.createdAt",
},
{
- $ref: "#/parameters/rowFilter.job.quoteId",
+ $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.createdBy",
},
{
- $ref: "#/parameters/rowFilter.job.quoteLineId",
+ $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.job.modelUploadId",
+ $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.job.notes",
+ $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.customFields",
},
{
- $ref: "#/parameters/rowFilter.job.assignee",
+ $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.operationQuantity",
},
{
- $ref: "#/parameters/rowFilter.job.customFields",
+ $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.quantityComplete",
},
{
- $ref: "#/parameters/rowFilter.job.companyId",
+ $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.quantityScrapped",
},
{
- $ref: "#/parameters/rowFilter.job.createdAt",
+ $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.quantityReworked",
},
{
- $ref: "#/parameters/rowFilter.job.createdBy",
+ $ref: "#/parameters/rowFilter.jobOperationsWithMakeMethods.status",
},
{
- $ref: "#/parameters/rowFilter.job.updatedAt",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.job.updatedBy",
+ $ref: "#/parameters/order",
},
{
- $ref: "#/parameters/body.job",
+ $ref: "#/parameters/range",
},
{
- $ref: "#/parameters/preferReturn",
+ $ref: "#/parameters/rangeUnit",
+ },
+ {
+ $ref: "#/parameters/offset",
+ },
+ {
+ $ref: "#/parameters/limit",
+ },
+ {
+ $ref: "#/parameters/preferCount",
},
],
responses: {
- "204": {
- description: "No Content",
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/jobOperationsWithMakeMethods",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
},
},
- tags: ["job"],
+ tags: ["jobOperationsWithMakeMethods"],
},
},
- "/purchaseOrderFavorite": {
+ "/customerLocation": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.purchaseOrderFavorite.purchaseOrderId",
+ $ref: "#/parameters/rowFilter.customerLocation.id",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderFavorite.userId",
+ $ref: "#/parameters/rowFilter.customerLocation.customerId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customerLocation.addressId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customerLocation.customFields",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customerLocation.name",
},
{
$ref: "#/parameters/select",
@@ -12750,7 +12915,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/purchaseOrderFavorite",
+ $ref: "#/definitions/customerLocation",
},
type: "array",
},
@@ -12759,12 +12924,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["purchaseOrderFavorite"],
+ tags: ["customerLocation"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.purchaseOrderFavorite",
+ $ref: "#/parameters/body.customerLocation",
},
{
$ref: "#/parameters/select",
@@ -12778,37 +12943,24 @@ export default {
description: "Created",
},
},
- tags: ["purchaseOrderFavorite"],
+ tags: ["customerLocation"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.purchaseOrderFavorite.purchaseOrderId",
- },
- {
- $ref: "#/parameters/rowFilter.purchaseOrderFavorite.userId",
+ $ref: "#/parameters/rowFilter.customerLocation.id",
},
{
- $ref: "#/parameters/preferReturn",
- },
- ],
- responses: {
- "204": {
- description: "No Content",
+ $ref: "#/parameters/rowFilter.customerLocation.customerId",
},
- },
- tags: ["purchaseOrderFavorite"],
- },
- patch: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.purchaseOrderFavorite.purchaseOrderId",
+ $ref: "#/parameters/rowFilter.customerLocation.addressId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderFavorite.userId",
+ $ref: "#/parameters/rowFilter.customerLocation.customFields",
},
{
- $ref: "#/parameters/body.purchaseOrderFavorite",
+ $ref: "#/parameters/rowFilter.customerLocation.name",
},
{
$ref: "#/parameters/preferReturn",
@@ -12819,125 +12971,54 @@ export default {
description: "No Content",
},
},
- tags: ["purchaseOrderFavorite"],
+ tags: ["customerLocation"],
},
- },
- "/consumables": {
- get: {
+ patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.consumables.active",
- },
- {
- $ref: "#/parameters/rowFilter.consumables.assignee",
- },
- {
- $ref: "#/parameters/rowFilter.consumables.defaultMethodType",
- },
- {
- $ref: "#/parameters/rowFilter.consumables.description",
- },
- {
- $ref: "#/parameters/rowFilter.consumables.itemTrackingType",
- },
- {
- $ref: "#/parameters/rowFilter.consumables.name",
- },
- {
- $ref: "#/parameters/rowFilter.consumables.replenishmentSystem",
- },
- {
- $ref: "#/parameters/rowFilter.consumables.thumbnailPath",
- },
- {
- $ref: "#/parameters/rowFilter.consumables.unitOfMeasureCode",
- },
- {
- $ref: "#/parameters/rowFilter.consumables.id",
- },
- {
- $ref: "#/parameters/rowFilter.consumables.itemId",
- },
- {
- $ref: "#/parameters/rowFilter.consumables.approved",
- },
- {
- $ref: "#/parameters/rowFilter.consumables.approvedBy",
- },
- {
- $ref: "#/parameters/rowFilter.consumables.customFields",
- },
- {
- $ref: "#/parameters/rowFilter.consumables.companyId",
- },
- {
- $ref: "#/parameters/rowFilter.consumables.createdBy",
- },
- {
- $ref: "#/parameters/rowFilter.consumables.createdAt",
- },
- {
- $ref: "#/parameters/rowFilter.consumables.updatedBy",
- },
- {
- $ref: "#/parameters/rowFilter.consumables.updatedAt",
- },
- {
- $ref: "#/parameters/rowFilter.consumables.externalId",
- },
- {
- $ref: "#/parameters/rowFilter.consumables.supplierIds",
- },
- {
- $ref: "#/parameters/rowFilter.consumables.unitOfMeasure",
- },
- {
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.customerLocation.id",
},
{
- $ref: "#/parameters/order",
+ $ref: "#/parameters/rowFilter.customerLocation.customerId",
},
{
- $ref: "#/parameters/range",
+ $ref: "#/parameters/rowFilter.customerLocation.addressId",
},
{
- $ref: "#/parameters/rangeUnit",
+ $ref: "#/parameters/rowFilter.customerLocation.customFields",
},
{
- $ref: "#/parameters/offset",
+ $ref: "#/parameters/rowFilter.customerLocation.name",
},
{
- $ref: "#/parameters/limit",
+ $ref: "#/parameters/body.customerLocation",
},
{
- $ref: "#/parameters/preferCount",
+ $ref: "#/parameters/preferReturn",
},
],
responses: {
- "200": {
- description: "OK",
- schema: {
- items: {
- $ref: "#/definitions/consumables",
- },
- type: "array",
- },
- },
- "206": {
- description: "Partial Content",
+ "204": {
+ description: "No Content",
},
},
- tags: ["consumables"],
+ tags: ["customerLocation"],
},
},
- "/quoteFavorite": {
+ "/membership": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.quoteFavorite.quoteId",
+ $ref: "#/parameters/rowFilter.membership.id",
},
{
- $ref: "#/parameters/rowFilter.quoteFavorite.userId",
+ $ref: "#/parameters/rowFilter.membership.groupId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.membership.memberGroupId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.membership.memberUserId",
},
{
$ref: "#/parameters/select",
@@ -12966,7 +13047,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/quoteFavorite",
+ $ref: "#/definitions/membership",
},
type: "array",
},
@@ -12975,12 +13056,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["quoteFavorite"],
+ tags: ["membership"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.quoteFavorite",
+ $ref: "#/parameters/body.membership",
},
{
$ref: "#/parameters/select",
@@ -12994,15 +13075,21 @@ export default {
description: "Created",
},
},
- tags: ["quoteFavorite"],
+ tags: ["membership"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.quoteFavorite.quoteId",
+ $ref: "#/parameters/rowFilter.membership.id",
},
{
- $ref: "#/parameters/rowFilter.quoteFavorite.userId",
+ $ref: "#/parameters/rowFilter.membership.groupId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.membership.memberGroupId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.membership.memberUserId",
},
{
$ref: "#/parameters/preferReturn",
@@ -13013,18 +13100,24 @@ export default {
description: "No Content",
},
},
- tags: ["quoteFavorite"],
+ tags: ["membership"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.quoteFavorite.quoteId",
+ $ref: "#/parameters/rowFilter.membership.id",
},
{
- $ref: "#/parameters/rowFilter.quoteFavorite.userId",
+ $ref: "#/parameters/rowFilter.membership.groupId",
},
{
- $ref: "#/parameters/body.quoteFavorite",
+ $ref: "#/parameters/rowFilter.membership.memberGroupId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.membership.memberUserId",
+ },
+ {
+ $ref: "#/parameters/body.membership",
},
{
$ref: "#/parameters/preferReturn",
@@ -13035,71 +13128,44 @@ export default {
description: "No Content",
},
},
- tags: ["quoteFavorite"],
+ tags: ["membership"],
},
},
- "/shifts": {
+ "/postingGroupSales": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.shifts.id",
+ $ref: "#/parameters/rowFilter.postingGroupSales.id",
},
{
- $ref: "#/parameters/rowFilter.shifts.name",
+ $ref: "#/parameters/rowFilter.postingGroupSales.customerTypeId",
},
{
- $ref: "#/parameters/rowFilter.shifts.startTime",
+ $ref: "#/parameters/rowFilter.postingGroupSales.itemPostingGroupId",
},
{
- $ref: "#/parameters/rowFilter.shifts.endTime",
- },
- {
- $ref: "#/parameters/rowFilter.shifts.locationId",
- },
- {
- $ref: "#/parameters/rowFilter.shifts.sunday",
- },
- {
- $ref: "#/parameters/rowFilter.shifts.monday",
- },
- {
- $ref: "#/parameters/rowFilter.shifts.tuesday",
- },
- {
- $ref: "#/parameters/rowFilter.shifts.wednesday",
- },
- {
- $ref: "#/parameters/rowFilter.shifts.thursday",
- },
- {
- $ref: "#/parameters/rowFilter.shifts.friday",
- },
- {
- $ref: "#/parameters/rowFilter.shifts.saturday",
- },
- {
- $ref: "#/parameters/rowFilter.shifts.active",
+ $ref: "#/parameters/rowFilter.postingGroupSales.receivablesAccount",
},
{
- $ref: "#/parameters/rowFilter.shifts.companyId",
+ $ref: "#/parameters/rowFilter.postingGroupSales.salesAccount",
},
{
- $ref: "#/parameters/rowFilter.shifts.createdBy",
+ $ref: "#/parameters/rowFilter.postingGroupSales.salesDiscountAccount",
},
{
- $ref: "#/parameters/rowFilter.shifts.createdAt",
+ $ref: "#/parameters/rowFilter.postingGroupSales.salesCreditAccount",
},
{
- $ref: "#/parameters/rowFilter.shifts.updatedBy",
+ $ref: "#/parameters/rowFilter.postingGroupSales.salesPrepaymentAccount",
},
{
- $ref: "#/parameters/rowFilter.shifts.updatedAt",
+ $ref: "#/parameters/rowFilter.postingGroupSales.salesTaxPayableAccount",
},
{
- $ref: "#/parameters/rowFilter.shifts.customFields",
+ $ref: "#/parameters/rowFilter.postingGroupSales.companyId",
},
{
- $ref: "#/parameters/rowFilter.shifts.locationName",
+ $ref: "#/parameters/rowFilter.postingGroupSales.updatedBy",
},
{
$ref: "#/parameters/select",
@@ -13128,7 +13194,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/shifts",
+ $ref: "#/definitions/postingGroupSales",
},
type: "array",
},
@@ -13137,323 +13203,308 @@ export default {
description: "Partial Content",
},
},
- tags: ["shifts"],
+ tags: ["postingGroupSales"],
},
- },
- "/purchaseOrderLocations": {
- get: {
+ post: {
parameters: [
{
- $ref: "#/parameters/rowFilter.purchaseOrderLocations.id",
- },
- {
- $ref: "#/parameters/rowFilter.purchaseOrderLocations.supplierName",
- },
- {
- $ref: "#/parameters/rowFilter.purchaseOrderLocations.supplierAddressLine1",
- },
- {
- $ref: "#/parameters/rowFilter.purchaseOrderLocations.supplierAddressLine2",
+ $ref: "#/parameters/body.postingGroupSales",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLocations.supplierCity",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLocations.supplierStateProvince",
+ $ref: "#/parameters/preferPost",
},
- {
- $ref: "#/parameters/rowFilter.purchaseOrderLocations.supplierPostalCode",
+ ],
+ responses: {
+ "201": {
+ description: "Created",
},
+ },
+ tags: ["postingGroupSales"],
+ },
+ delete: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.purchaseOrderLocations.supplierCountryCode",
+ $ref: "#/parameters/rowFilter.postingGroupSales.id",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLocations.supplierCountryName",
+ $ref: "#/parameters/rowFilter.postingGroupSales.customerTypeId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLocations.deliveryName",
+ $ref: "#/parameters/rowFilter.postingGroupSales.itemPostingGroupId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLocations.deliveryAddressLine1",
+ $ref: "#/parameters/rowFilter.postingGroupSales.receivablesAccount",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLocations.deliveryAddressLine2",
+ $ref: "#/parameters/rowFilter.postingGroupSales.salesAccount",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLocations.deliveryCity",
+ $ref: "#/parameters/rowFilter.postingGroupSales.salesDiscountAccount",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLocations.deliveryStateProvince",
+ $ref: "#/parameters/rowFilter.postingGroupSales.salesCreditAccount",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLocations.deliveryPostalCode",
+ $ref: "#/parameters/rowFilter.postingGroupSales.salesPrepaymentAccount",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLocations.deliveryCountryCode",
+ $ref: "#/parameters/rowFilter.postingGroupSales.salesTaxPayableAccount",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLocations.deliveryCountryName",
+ $ref: "#/parameters/rowFilter.postingGroupSales.companyId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLocations.dropShipment",
+ $ref: "#/parameters/rowFilter.postingGroupSales.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLocations.customerName",
+ $ref: "#/parameters/preferReturn",
},
- {
- $ref: "#/parameters/rowFilter.purchaseOrderLocations.customerAddressLine1",
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
},
+ },
+ tags: ["postingGroupSales"],
+ },
+ patch: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.purchaseOrderLocations.customerAddressLine2",
+ $ref: "#/parameters/rowFilter.postingGroupSales.id",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLocations.customerCity",
+ $ref: "#/parameters/rowFilter.postingGroupSales.customerTypeId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLocations.customerStateProvince",
+ $ref: "#/parameters/rowFilter.postingGroupSales.itemPostingGroupId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLocations.customerPostalCode",
+ $ref: "#/parameters/rowFilter.postingGroupSales.receivablesAccount",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLocations.customerCountryCode",
+ $ref: "#/parameters/rowFilter.postingGroupSales.salesAccount",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderLocations.customerCountryName",
+ $ref: "#/parameters/rowFilter.postingGroupSales.salesDiscountAccount",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.postingGroupSales.salesCreditAccount",
},
{
- $ref: "#/parameters/order",
+ $ref: "#/parameters/rowFilter.postingGroupSales.salesPrepaymentAccount",
},
{
- $ref: "#/parameters/range",
+ $ref: "#/parameters/rowFilter.postingGroupSales.salesTaxPayableAccount",
},
{
- $ref: "#/parameters/rangeUnit",
+ $ref: "#/parameters/rowFilter.postingGroupSales.companyId",
},
{
- $ref: "#/parameters/offset",
+ $ref: "#/parameters/rowFilter.postingGroupSales.updatedBy",
},
{
- $ref: "#/parameters/limit",
+ $ref: "#/parameters/body.postingGroupSales",
},
{
- $ref: "#/parameters/preferCount",
+ $ref: "#/parameters/preferReturn",
},
],
responses: {
- "200": {
- description: "OK",
- schema: {
- items: {
- $ref: "#/definitions/purchaseOrderLocations",
- },
- type: "array",
- },
- },
- "206": {
- description: "Partial Content",
+ "204": {
+ description: "No Content",
},
},
- tags: ["purchaseOrderLocations"],
+ tags: ["postingGroupSales"],
},
},
- "/quoteLines": {
+ "/search": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.quoteLines.id",
- },
- {
- $ref: "#/parameters/rowFilter.quoteLines.quoteId",
- },
- {
- $ref: "#/parameters/rowFilter.quoteLines.quoteRevisionId",
- },
- {
- $ref: "#/parameters/rowFilter.quoteLines.status",
- },
- {
- $ref: "#/parameters/rowFilter.quoteLines.estimatorId",
- },
- {
- $ref: "#/parameters/rowFilter.quoteLines.itemId",
- },
- {
- $ref: "#/parameters/rowFilter.quoteLines.itemReadableId",
- },
- {
- $ref: "#/parameters/rowFilter.quoteLines.itemType",
- },
- {
- $ref: "#/parameters/rowFilter.quoteLines.description",
+ $ref: "#/parameters/rowFilter.search.id",
},
{
- $ref: "#/parameters/rowFilter.quoteLines.customerPartId",
+ $ref: "#/parameters/rowFilter.search.name",
},
{
- $ref: "#/parameters/rowFilter.quoteLines.customerPartRevision",
+ $ref: "#/parameters/rowFilter.search.description",
},
{
- $ref: "#/parameters/rowFilter.quoteLines.methodType",
+ $ref: "#/parameters/rowFilter.search.entity",
},
{
- $ref: "#/parameters/rowFilter.quoteLines.unitOfMeasureCode",
+ $ref: "#/parameters/rowFilter.search.uuid",
},
{
- $ref: "#/parameters/rowFilter.quoteLines.notes",
+ $ref: "#/parameters/rowFilter.search.link",
},
{
- $ref: "#/parameters/rowFilter.quoteLines.companyId",
+ $ref: "#/parameters/rowFilter.search.companyId",
},
{
- $ref: "#/parameters/rowFilter.quoteLines.createdBy",
+ $ref: "#/parameters/rowFilter.search.fts",
},
{
- $ref: "#/parameters/rowFilter.quoteLines.updatedAt",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.quoteLines.updatedBy",
+ $ref: "#/parameters/order",
},
{
- $ref: "#/parameters/rowFilter.quoteLines.customFields",
+ $ref: "#/parameters/range",
},
{
- $ref: "#/parameters/rowFilter.quoteLines.modelUploadId",
+ $ref: "#/parameters/rangeUnit",
},
{
- $ref: "#/parameters/rowFilter.quoteLines.quantity",
+ $ref: "#/parameters/offset",
},
{
- $ref: "#/parameters/rowFilter.quoteLines.additionalCharges",
+ $ref: "#/parameters/limit",
},
{
- $ref: "#/parameters/rowFilter.quoteLines.locationId",
+ $ref: "#/parameters/preferCount",
},
- {
- $ref: "#/parameters/rowFilter.quoteLines.noQuoteReason",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/search",
+ },
+ type: "array",
+ },
},
- {
- $ref: "#/parameters/rowFilter.quoteLines.thumbnailPath",
+ "206": {
+ description: "Partial Content",
},
+ },
+ tags: ["search"],
+ },
+ post: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.quoteLines.modelId",
+ $ref: "#/parameters/body.search",
},
{
- $ref: "#/parameters/rowFilter.quoteLines.autodeskUrn",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.quoteLines.modelPath",
+ $ref: "#/parameters/preferPost",
},
- {
- $ref: "#/parameters/rowFilter.quoteLines.modelName",
+ ],
+ responses: {
+ "201": {
+ description: "Created",
},
+ },
+ tags: ["search"],
+ },
+ delete: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.quoteLines.modelSize",
+ $ref: "#/parameters/rowFilter.search.id",
},
{
- $ref: "#/parameters/rowFilter.quoteLines.unitCost",
+ $ref: "#/parameters/rowFilter.search.name",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.search.description",
},
{
- $ref: "#/parameters/order",
+ $ref: "#/parameters/rowFilter.search.entity",
},
{
- $ref: "#/parameters/range",
+ $ref: "#/parameters/rowFilter.search.uuid",
},
{
- $ref: "#/parameters/rangeUnit",
+ $ref: "#/parameters/rowFilter.search.link",
},
{
- $ref: "#/parameters/offset",
+ $ref: "#/parameters/rowFilter.search.companyId",
},
{
- $ref: "#/parameters/limit",
+ $ref: "#/parameters/rowFilter.search.fts",
},
{
- $ref: "#/parameters/preferCount",
+ $ref: "#/parameters/preferReturn",
},
],
responses: {
- "200": {
- description: "OK",
- schema: {
- items: {
- $ref: "#/definitions/quoteLines",
- },
- type: "array",
- },
- },
- "206": {
- description: "Partial Content",
+ "204": {
+ description: "No Content",
},
},
- tags: ["quoteLines"],
+ tags: ["search"],
},
- },
- "/customer": {
- get: {
+ patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.customer.id",
- },
- {
- $ref: "#/parameters/rowFilter.customer.name",
+ $ref: "#/parameters/rowFilter.search.id",
},
{
- $ref: "#/parameters/rowFilter.customer.customerTypeId",
+ $ref: "#/parameters/rowFilter.search.name",
},
{
- $ref: "#/parameters/rowFilter.customer.customerStatusId",
+ $ref: "#/parameters/rowFilter.search.description",
},
{
- $ref: "#/parameters/rowFilter.customer.taxId",
+ $ref: "#/parameters/rowFilter.search.entity",
},
{
- $ref: "#/parameters/rowFilter.customer.accountManagerId",
+ $ref: "#/parameters/rowFilter.search.uuid",
},
{
- $ref: "#/parameters/rowFilter.customer.logo",
+ $ref: "#/parameters/rowFilter.search.link",
},
{
- $ref: "#/parameters/rowFilter.customer.assignee",
+ $ref: "#/parameters/rowFilter.search.companyId",
},
{
- $ref: "#/parameters/rowFilter.customer.companyId",
+ $ref: "#/parameters/rowFilter.search.fts",
},
{
- $ref: "#/parameters/rowFilter.customer.createdAt",
+ $ref: "#/parameters/body.search",
},
{
- $ref: "#/parameters/rowFilter.customer.createdBy",
+ $ref: "#/parameters/preferReturn",
},
- {
- $ref: "#/parameters/rowFilter.customer.updatedAt",
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
},
+ },
+ tags: ["search"],
+ },
+ },
+ "/journal": {
+ get: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.customer.updatedBy",
+ $ref: "#/parameters/rowFilter.journal.id",
},
{
- $ref: "#/parameters/rowFilter.customer.customFields",
+ $ref: "#/parameters/rowFilter.journal.description",
},
{
- $ref: "#/parameters/rowFilter.customer.currencyCode",
+ $ref: "#/parameters/rowFilter.journal.accountingPeriodId",
},
{
- $ref: "#/parameters/rowFilter.customer.phone",
+ $ref: "#/parameters/rowFilter.journal.companyId",
},
{
- $ref: "#/parameters/rowFilter.customer.fax",
+ $ref: "#/parameters/rowFilter.journal.postingDate",
},
{
- $ref: "#/parameters/rowFilter.customer.website",
+ $ref: "#/parameters/rowFilter.journal.createdAt",
},
{
- $ref: "#/parameters/rowFilter.customer.externalId",
+ $ref: "#/parameters/rowFilter.journal.customFields",
},
{
$ref: "#/parameters/select",
@@ -13482,7 +13533,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/customer",
+ $ref: "#/definitions/journal",
},
type: "array",
},
@@ -13491,12 +13542,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["customer"],
+ tags: ["journal"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.customer",
+ $ref: "#/parameters/body.journal",
},
{
$ref: "#/parameters/select",
@@ -13510,66 +13561,67 @@ export default {
description: "Created",
},
},
- tags: ["customer"],
+ tags: ["journal"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.customer.id",
- },
- {
- $ref: "#/parameters/rowFilter.customer.name",
- },
- {
- $ref: "#/parameters/rowFilter.customer.customerTypeId",
+ $ref: "#/parameters/rowFilter.journal.id",
},
{
- $ref: "#/parameters/rowFilter.customer.customerStatusId",
+ $ref: "#/parameters/rowFilter.journal.description",
},
{
- $ref: "#/parameters/rowFilter.customer.taxId",
+ $ref: "#/parameters/rowFilter.journal.accountingPeriodId",
},
{
- $ref: "#/parameters/rowFilter.customer.accountManagerId",
+ $ref: "#/parameters/rowFilter.journal.companyId",
},
{
- $ref: "#/parameters/rowFilter.customer.logo",
+ $ref: "#/parameters/rowFilter.journal.postingDate",
},
{
- $ref: "#/parameters/rowFilter.customer.assignee",
+ $ref: "#/parameters/rowFilter.journal.createdAt",
},
{
- $ref: "#/parameters/rowFilter.customer.companyId",
+ $ref: "#/parameters/rowFilter.journal.customFields",
},
{
- $ref: "#/parameters/rowFilter.customer.createdAt",
+ $ref: "#/parameters/preferReturn",
},
- {
- $ref: "#/parameters/rowFilter.customer.createdBy",
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
},
+ },
+ tags: ["journal"],
+ },
+ patch: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.customer.updatedAt",
+ $ref: "#/parameters/rowFilter.journal.id",
},
{
- $ref: "#/parameters/rowFilter.customer.updatedBy",
+ $ref: "#/parameters/rowFilter.journal.description",
},
{
- $ref: "#/parameters/rowFilter.customer.customFields",
+ $ref: "#/parameters/rowFilter.journal.accountingPeriodId",
},
{
- $ref: "#/parameters/rowFilter.customer.currencyCode",
+ $ref: "#/parameters/rowFilter.journal.companyId",
},
{
- $ref: "#/parameters/rowFilter.customer.phone",
+ $ref: "#/parameters/rowFilter.journal.postingDate",
},
{
- $ref: "#/parameters/rowFilter.customer.fax",
+ $ref: "#/parameters/rowFilter.journal.createdAt",
},
{
- $ref: "#/parameters/rowFilter.customer.website",
+ $ref: "#/parameters/rowFilter.journal.customFields",
},
{
- $ref: "#/parameters/rowFilter.customer.externalId",
+ $ref: "#/parameters/body.journal",
},
{
$ref: "#/parameters/preferReturn",
@@ -13580,111 +13632,146 @@ export default {
description: "No Content",
},
},
- tags: ["customer"],
+ tags: ["journal"],
},
- patch: {
+ },
+ "/modules": {
+ get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.customer.id",
+ $ref: "#/parameters/rowFilter.modules.name",
},
{
- $ref: "#/parameters/rowFilter.customer.name",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.customer.customerTypeId",
+ $ref: "#/parameters/order",
},
{
- $ref: "#/parameters/rowFilter.customer.customerStatusId",
+ $ref: "#/parameters/range",
},
{
- $ref: "#/parameters/rowFilter.customer.taxId",
+ $ref: "#/parameters/rangeUnit",
},
{
- $ref: "#/parameters/rowFilter.customer.accountManagerId",
+ $ref: "#/parameters/offset",
},
{
- $ref: "#/parameters/rowFilter.customer.logo",
+ $ref: "#/parameters/limit",
},
{
- $ref: "#/parameters/rowFilter.customer.assignee",
+ $ref: "#/parameters/preferCount",
+ },
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/modules",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
},
+ },
+ tags: ["modules"],
+ },
+ },
+ "/employeesAcrossCompanies": {
+ get: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.customer.companyId",
+ $ref: "#/parameters/rowFilter.employeesAcrossCompanies.id",
},
{
- $ref: "#/parameters/rowFilter.customer.createdAt",
+ $ref: "#/parameters/rowFilter.employeesAcrossCompanies.email",
},
{
- $ref: "#/parameters/rowFilter.customer.createdBy",
+ $ref: "#/parameters/rowFilter.employeesAcrossCompanies.firstName",
},
{
- $ref: "#/parameters/rowFilter.customer.updatedAt",
+ $ref: "#/parameters/rowFilter.employeesAcrossCompanies.lastName",
},
{
- $ref: "#/parameters/rowFilter.customer.updatedBy",
+ $ref: "#/parameters/rowFilter.employeesAcrossCompanies.name",
},
{
- $ref: "#/parameters/rowFilter.customer.customFields",
+ $ref: "#/parameters/rowFilter.employeesAcrossCompanies.avatarUrl",
},
{
- $ref: "#/parameters/rowFilter.customer.currencyCode",
+ $ref: "#/parameters/rowFilter.employeesAcrossCompanies.active",
},
{
- $ref: "#/parameters/rowFilter.customer.phone",
+ $ref: "#/parameters/rowFilter.employeesAcrossCompanies.companyId",
},
{
- $ref: "#/parameters/rowFilter.customer.fax",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.customer.website",
+ $ref: "#/parameters/order",
},
{
- $ref: "#/parameters/rowFilter.customer.externalId",
+ $ref: "#/parameters/range",
},
{
- $ref: "#/parameters/body.customer",
+ $ref: "#/parameters/rangeUnit",
},
{
- $ref: "#/parameters/preferReturn",
+ $ref: "#/parameters/offset",
+ },
+ {
+ $ref: "#/parameters/limit",
+ },
+ {
+ $ref: "#/parameters/preferCount",
},
],
responses: {
- "204": {
- description: "No Content",
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/employeesAcrossCompanies",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
},
},
- tags: ["customer"],
+ tags: ["employeesAcrossCompanies"],
},
},
- "/note": {
+ "/purchaseInvoicePriceChange": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.note.id",
- },
- {
- $ref: "#/parameters/rowFilter.note.documentId",
+ $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.id",
},
{
- $ref: "#/parameters/rowFilter.note.note",
+ $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.invoiceId",
},
{
- $ref: "#/parameters/rowFilter.note.noteRichText",
+ $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.invoiceLineId",
},
{
- $ref: "#/parameters/rowFilter.note.active",
+ $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.previousPrice",
},
{
- $ref: "#/parameters/rowFilter.note.companyId",
+ $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.newPrice",
},
{
- $ref: "#/parameters/rowFilter.note.createdAt",
+ $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.previousQuantity",
},
{
- $ref: "#/parameters/rowFilter.note.createdBy",
+ $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.newQuantity",
},
{
- $ref: "#/parameters/rowFilter.note.updatedAt",
+ $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.updatedBy",
},
{
$ref: "#/parameters/select",
@@ -13713,7 +13800,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/note",
+ $ref: "#/definitions/purchaseInvoicePriceChange",
},
type: "array",
},
@@ -13722,12 +13809,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["note"],
+ tags: ["purchaseInvoicePriceChange"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.note",
+ $ref: "#/parameters/body.purchaseInvoicePriceChange",
},
{
$ref: "#/parameters/select",
@@ -13741,36 +13828,33 @@ export default {
description: "Created",
},
},
- tags: ["note"],
+ tags: ["purchaseInvoicePriceChange"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.note.id",
+ $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.id",
},
{
- $ref: "#/parameters/rowFilter.note.documentId",
- },
- {
- $ref: "#/parameters/rowFilter.note.note",
+ $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.invoiceId",
},
{
- $ref: "#/parameters/rowFilter.note.noteRichText",
+ $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.invoiceLineId",
},
{
- $ref: "#/parameters/rowFilter.note.active",
+ $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.previousPrice",
},
{
- $ref: "#/parameters/rowFilter.note.companyId",
+ $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.newPrice",
},
{
- $ref: "#/parameters/rowFilter.note.createdAt",
+ $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.previousQuantity",
},
{
- $ref: "#/parameters/rowFilter.note.createdBy",
+ $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.newQuantity",
},
{
- $ref: "#/parameters/rowFilter.note.updatedAt",
+ $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.updatedBy",
},
{
$ref: "#/parameters/preferReturn",
@@ -13781,39 +13865,36 @@ export default {
description: "No Content",
},
},
- tags: ["note"],
+ tags: ["purchaseInvoicePriceChange"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.note.id",
- },
- {
- $ref: "#/parameters/rowFilter.note.documentId",
+ $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.id",
},
{
- $ref: "#/parameters/rowFilter.note.note",
+ $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.invoiceId",
},
{
- $ref: "#/parameters/rowFilter.note.noteRichText",
+ $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.invoiceLineId",
},
{
- $ref: "#/parameters/rowFilter.note.active",
+ $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.previousPrice",
},
{
- $ref: "#/parameters/rowFilter.note.companyId",
+ $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.newPrice",
},
{
- $ref: "#/parameters/rowFilter.note.createdAt",
+ $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.previousQuantity",
},
{
- $ref: "#/parameters/rowFilter.note.createdBy",
+ $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.newQuantity",
},
{
- $ref: "#/parameters/rowFilter.note.updatedAt",
+ $ref: "#/parameters/rowFilter.purchaseInvoicePriceChange.updatedBy",
},
{
- $ref: "#/parameters/body.note",
+ $ref: "#/parameters/body.purchaseInvoicePriceChange",
},
{
$ref: "#/parameters/preferReturn",
@@ -13824,59 +13905,146 @@ export default {
description: "No Content",
},
},
- tags: ["note"],
+ tags: ["purchaseInvoicePriceChange"],
},
},
- "/workCenter": {
+ "/currencies": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.workCenter.id",
+ $ref: "#/parameters/rowFilter.currencies.id",
},
{
- $ref: "#/parameters/rowFilter.workCenter.name",
+ $ref: "#/parameters/rowFilter.currencies.code",
},
{
- $ref: "#/parameters/rowFilter.workCenter.description",
+ $ref: "#/parameters/rowFilter.currencies.exchangeRate",
},
{
- $ref: "#/parameters/rowFilter.workCenter.laborRate",
+ $ref: "#/parameters/rowFilter.currencies.decimalPlaces",
},
{
- $ref: "#/parameters/rowFilter.workCenter.defaultStandardFactor",
+ $ref: "#/parameters/rowFilter.currencies.active",
},
{
- $ref: "#/parameters/rowFilter.workCenter.locationId",
+ $ref: "#/parameters/rowFilter.currencies.companyId",
},
{
- $ref: "#/parameters/rowFilter.workCenter.requiredAbilityId",
+ $ref: "#/parameters/rowFilter.currencies.createdBy",
},
{
- $ref: "#/parameters/rowFilter.workCenter.active",
+ $ref: "#/parameters/rowFilter.currencies.createdAt",
},
{
- $ref: "#/parameters/rowFilter.workCenter.companyId",
+ $ref: "#/parameters/rowFilter.currencies.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.workCenter.customFields",
+ $ref: "#/parameters/rowFilter.currencies.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.workCenter.createdBy",
+ $ref: "#/parameters/rowFilter.currencies.customFields",
},
{
- $ref: "#/parameters/rowFilter.workCenter.createdAt",
+ $ref: "#/parameters/rowFilter.currencies.name",
},
{
- $ref: "#/parameters/rowFilter.workCenter.updatedBy",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.workCenter.updatedAt",
+ $ref: "#/parameters/order",
},
{
- $ref: "#/parameters/rowFilter.workCenter.machineRate",
+ $ref: "#/parameters/range",
},
{
- $ref: "#/parameters/rowFilter.workCenter.overheadRate",
+ $ref: "#/parameters/rangeUnit",
+ },
+ {
+ $ref: "#/parameters/offset",
+ },
+ {
+ $ref: "#/parameters/limit",
+ },
+ {
+ $ref: "#/parameters/preferCount",
+ },
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/currencies",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
+ },
+ },
+ tags: ["currencies"],
+ },
+ },
+ "/shift": {
+ get: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.shift.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shift.name",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shift.startTime",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shift.endTime",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shift.locationId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shift.sunday",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shift.monday",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shift.tuesday",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shift.wednesday",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shift.thursday",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shift.friday",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shift.saturday",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shift.active",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shift.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shift.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shift.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shift.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shift.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shift.customFields",
},
{
$ref: "#/parameters/select",
@@ -13905,7 +14073,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/workCenter",
+ $ref: "#/definitions/shift",
},
type: "array",
},
@@ -13914,12 +14082,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["workCenter"],
+ tags: ["shift"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.workCenter",
+ $ref: "#/parameters/body.shift",
},
{
$ref: "#/parameters/select",
@@ -13933,57 +14101,66 @@ export default {
description: "Created",
},
},
- tags: ["workCenter"],
+ tags: ["shift"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.workCenter.id",
+ $ref: "#/parameters/rowFilter.shift.id",
},
{
- $ref: "#/parameters/rowFilter.workCenter.name",
+ $ref: "#/parameters/rowFilter.shift.name",
},
{
- $ref: "#/parameters/rowFilter.workCenter.description",
+ $ref: "#/parameters/rowFilter.shift.startTime",
},
{
- $ref: "#/parameters/rowFilter.workCenter.laborRate",
+ $ref: "#/parameters/rowFilter.shift.endTime",
},
{
- $ref: "#/parameters/rowFilter.workCenter.defaultStandardFactor",
+ $ref: "#/parameters/rowFilter.shift.locationId",
},
{
- $ref: "#/parameters/rowFilter.workCenter.locationId",
+ $ref: "#/parameters/rowFilter.shift.sunday",
},
{
- $ref: "#/parameters/rowFilter.workCenter.requiredAbilityId",
+ $ref: "#/parameters/rowFilter.shift.monday",
},
{
- $ref: "#/parameters/rowFilter.workCenter.active",
+ $ref: "#/parameters/rowFilter.shift.tuesday",
},
{
- $ref: "#/parameters/rowFilter.workCenter.companyId",
+ $ref: "#/parameters/rowFilter.shift.wednesday",
},
{
- $ref: "#/parameters/rowFilter.workCenter.customFields",
+ $ref: "#/parameters/rowFilter.shift.thursday",
},
{
- $ref: "#/parameters/rowFilter.workCenter.createdBy",
+ $ref: "#/parameters/rowFilter.shift.friday",
},
{
- $ref: "#/parameters/rowFilter.workCenter.createdAt",
+ $ref: "#/parameters/rowFilter.shift.saturday",
},
{
- $ref: "#/parameters/rowFilter.workCenter.updatedBy",
+ $ref: "#/parameters/rowFilter.shift.active",
},
{
- $ref: "#/parameters/rowFilter.workCenter.updatedAt",
+ $ref: "#/parameters/rowFilter.shift.companyId",
},
{
- $ref: "#/parameters/rowFilter.workCenter.machineRate",
+ $ref: "#/parameters/rowFilter.shift.createdBy",
},
{
- $ref: "#/parameters/rowFilter.workCenter.overheadRate",
+ $ref: "#/parameters/rowFilter.shift.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shift.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shift.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shift.customFields",
},
{
$ref: "#/parameters/preferReturn",
@@ -13994,60 +14171,69 @@ export default {
description: "No Content",
},
},
- tags: ["workCenter"],
+ tags: ["shift"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.workCenter.id",
+ $ref: "#/parameters/rowFilter.shift.id",
},
{
- $ref: "#/parameters/rowFilter.workCenter.name",
+ $ref: "#/parameters/rowFilter.shift.name",
},
{
- $ref: "#/parameters/rowFilter.workCenter.description",
+ $ref: "#/parameters/rowFilter.shift.startTime",
},
{
- $ref: "#/parameters/rowFilter.workCenter.laborRate",
+ $ref: "#/parameters/rowFilter.shift.endTime",
},
{
- $ref: "#/parameters/rowFilter.workCenter.defaultStandardFactor",
+ $ref: "#/parameters/rowFilter.shift.locationId",
},
{
- $ref: "#/parameters/rowFilter.workCenter.locationId",
+ $ref: "#/parameters/rowFilter.shift.sunday",
},
{
- $ref: "#/parameters/rowFilter.workCenter.requiredAbilityId",
+ $ref: "#/parameters/rowFilter.shift.monday",
},
{
- $ref: "#/parameters/rowFilter.workCenter.active",
+ $ref: "#/parameters/rowFilter.shift.tuesday",
},
{
- $ref: "#/parameters/rowFilter.workCenter.companyId",
+ $ref: "#/parameters/rowFilter.shift.wednesday",
},
{
- $ref: "#/parameters/rowFilter.workCenter.customFields",
+ $ref: "#/parameters/rowFilter.shift.thursday",
},
{
- $ref: "#/parameters/rowFilter.workCenter.createdBy",
+ $ref: "#/parameters/rowFilter.shift.friday",
},
{
- $ref: "#/parameters/rowFilter.workCenter.createdAt",
+ $ref: "#/parameters/rowFilter.shift.saturday",
},
{
- $ref: "#/parameters/rowFilter.workCenter.updatedBy",
+ $ref: "#/parameters/rowFilter.shift.active",
},
{
- $ref: "#/parameters/rowFilter.workCenter.updatedAt",
+ $ref: "#/parameters/rowFilter.shift.companyId",
},
{
- $ref: "#/parameters/rowFilter.workCenter.machineRate",
+ $ref: "#/parameters/rowFilter.shift.createdBy",
},
{
- $ref: "#/parameters/rowFilter.workCenter.overheadRate",
+ $ref: "#/parameters/rowFilter.shift.createdAt",
},
{
- $ref: "#/parameters/body.workCenter",
+ $ref: "#/parameters/rowFilter.shift.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shift.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shift.customFields",
+ },
+ {
+ $ref: "#/parameters/body.shift",
},
{
$ref: "#/parameters/preferReturn",
@@ -14058,44 +14244,17 @@ export default {
description: "No Content",
},
},
- tags: ["workCenter"],
+ tags: ["shift"],
},
},
- "/tool": {
+ "/integration": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.tool.id",
- },
- {
- $ref: "#/parameters/rowFilter.tool.itemId",
- },
- {
- $ref: "#/parameters/rowFilter.tool.approved",
- },
- {
- $ref: "#/parameters/rowFilter.tool.approvedBy",
- },
- {
- $ref: "#/parameters/rowFilter.tool.customFields",
- },
- {
- $ref: "#/parameters/rowFilter.tool.companyId",
- },
- {
- $ref: "#/parameters/rowFilter.tool.createdBy",
- },
- {
- $ref: "#/parameters/rowFilter.tool.createdAt",
- },
- {
- $ref: "#/parameters/rowFilter.tool.updatedBy",
- },
- {
- $ref: "#/parameters/rowFilter.tool.updatedAt",
+ $ref: "#/parameters/rowFilter.integration.id",
},
{
- $ref: "#/parameters/rowFilter.tool.externalId",
+ $ref: "#/parameters/rowFilter.integration.jsonschema",
},
{
$ref: "#/parameters/select",
@@ -14124,7 +14283,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/tool",
+ $ref: "#/definitions/integration",
},
type: "array",
},
@@ -14133,12 +14292,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["tool"],
+ tags: ["integration"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.tool",
+ $ref: "#/parameters/body.integration",
},
{
$ref: "#/parameters/select",
@@ -14152,42 +14311,37 @@ export default {
description: "Created",
},
},
- tags: ["tool"],
+ tags: ["integration"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.tool.id",
- },
- {
- $ref: "#/parameters/rowFilter.tool.itemId",
- },
- {
- $ref: "#/parameters/rowFilter.tool.approved",
- },
- {
- $ref: "#/parameters/rowFilter.tool.approvedBy",
- },
- {
- $ref: "#/parameters/rowFilter.tool.customFields",
+ $ref: "#/parameters/rowFilter.integration.id",
},
{
- $ref: "#/parameters/rowFilter.tool.companyId",
+ $ref: "#/parameters/rowFilter.integration.jsonschema",
},
{
- $ref: "#/parameters/rowFilter.tool.createdBy",
+ $ref: "#/parameters/preferReturn",
},
- {
- $ref: "#/parameters/rowFilter.tool.createdAt",
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
},
+ },
+ tags: ["integration"],
+ },
+ patch: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.tool.updatedBy",
+ $ref: "#/parameters/rowFilter.integration.id",
},
{
- $ref: "#/parameters/rowFilter.tool.updatedAt",
+ $ref: "#/parameters/rowFilter.integration.jsonschema",
},
{
- $ref: "#/parameters/rowFilter.tool.externalId",
+ $ref: "#/parameters/body.integration",
},
{
$ref: "#/parameters/preferReturn",
@@ -14198,93 +14352,128 @@ export default {
description: "No Content",
},
},
- tags: ["tool"],
+ tags: ["integration"],
},
- patch: {
+ },
+ "/customFieldTables": {
+ get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.tool.id",
- },
- {
- $ref: "#/parameters/rowFilter.tool.itemId",
+ $ref: "#/parameters/rowFilter.customFieldTables.table",
},
{
- $ref: "#/parameters/rowFilter.tool.approved",
+ $ref: "#/parameters/rowFilter.customFieldTables.module",
},
{
- $ref: "#/parameters/rowFilter.tool.approvedBy",
+ $ref: "#/parameters/rowFilter.customFieldTables.name",
},
{
- $ref: "#/parameters/rowFilter.tool.customFields",
+ $ref: "#/parameters/rowFilter.customFieldTables.companyId",
},
{
- $ref: "#/parameters/rowFilter.tool.companyId",
+ $ref: "#/parameters/rowFilter.customFieldTables.fields",
},
{
- $ref: "#/parameters/rowFilter.tool.createdBy",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.tool.createdAt",
+ $ref: "#/parameters/order",
},
{
- $ref: "#/parameters/rowFilter.tool.updatedBy",
+ $ref: "#/parameters/range",
},
{
- $ref: "#/parameters/rowFilter.tool.updatedAt",
+ $ref: "#/parameters/rangeUnit",
},
{
- $ref: "#/parameters/rowFilter.tool.externalId",
+ $ref: "#/parameters/offset",
},
{
- $ref: "#/parameters/body.tool",
+ $ref: "#/parameters/limit",
},
{
- $ref: "#/parameters/preferReturn",
+ $ref: "#/parameters/preferCount",
},
],
responses: {
- "204": {
- description: "No Content",
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/customFieldTables",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
},
},
- tags: ["tool"],
+ tags: ["customFieldTables"],
},
},
- "/accountCategories": {
+ "/documents": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.accountCategories.id",
+ $ref: "#/parameters/rowFilter.documents.id",
},
{
- $ref: "#/parameters/rowFilter.accountCategories.category",
+ $ref: "#/parameters/rowFilter.documents.path",
},
{
- $ref: "#/parameters/rowFilter.accountCategories.class",
+ $ref: "#/parameters/rowFilter.documents.name",
},
{
- $ref: "#/parameters/rowFilter.accountCategories.incomeBalance",
+ $ref: "#/parameters/rowFilter.documents.description",
},
{
- $ref: "#/parameters/rowFilter.accountCategories.companyId",
+ $ref: "#/parameters/rowFilter.documents.size",
},
{
- $ref: "#/parameters/rowFilter.accountCategories.createdBy",
+ $ref: "#/parameters/rowFilter.documents.extension",
},
{
- $ref: "#/parameters/rowFilter.accountCategories.createdAt",
+ $ref: "#/parameters/rowFilter.documents.type",
},
{
- $ref: "#/parameters/rowFilter.accountCategories.updatedBy",
+ $ref: "#/parameters/rowFilter.documents.readGroups",
},
{
- $ref: "#/parameters/rowFilter.accountCategories.updatedAt",
+ $ref: "#/parameters/rowFilter.documents.writeGroups",
},
{
- $ref: "#/parameters/rowFilter.accountCategories.customFields",
+ $ref: "#/parameters/rowFilter.documents.active",
},
{
- $ref: "#/parameters/rowFilter.accountCategories.subCategoriesCount",
+ $ref: "#/parameters/rowFilter.documents.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.documents.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.documents.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.documents.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.documents.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.documents.sourceDocument",
+ },
+ {
+ $ref: "#/parameters/rowFilter.documents.sourceDocumentId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.documents.labels",
+ },
+ {
+ $ref: "#/parameters/rowFilter.documents.favorite",
+ },
+ {
+ $ref: "#/parameters/rowFilter.documents.lastActivityAt",
},
{
$ref: "#/parameters/select",
@@ -14313,7 +14502,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/accountCategories",
+ $ref: "#/definitions/documents",
},
type: "array",
},
@@ -14322,152 +14511,182 @@ export default {
description: "Partial Content",
},
},
- tags: ["accountCategories"],
+ tags: ["documents"],
},
- post: {
+ },
+ "/companies": {
+ get: {
parameters: [
{
- $ref: "#/parameters/body.accountCategories",
+ $ref: "#/parameters/rowFilter.companies.id",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.companies.name",
},
{
- $ref: "#/parameters/preferPost",
- },
- ],
- responses: {
- "201": {
- description: "Created",
+ $ref: "#/parameters/rowFilter.companies.taxId",
},
- },
- tags: ["accountCategories"],
- },
- delete: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.accountCategories.id",
+ $ref: "#/parameters/rowFilter.companies.logo",
},
{
- $ref: "#/parameters/rowFilter.accountCategories.category",
+ $ref: "#/parameters/rowFilter.companies.addressLine1",
},
{
- $ref: "#/parameters/rowFilter.accountCategories.class",
+ $ref: "#/parameters/rowFilter.companies.addressLine2",
},
{
- $ref: "#/parameters/rowFilter.accountCategories.incomeBalance",
+ $ref: "#/parameters/rowFilter.companies.city",
},
{
- $ref: "#/parameters/rowFilter.accountCategories.companyId",
+ $ref: "#/parameters/rowFilter.companies.stateProvince",
},
{
- $ref: "#/parameters/rowFilter.accountCategories.createdBy",
+ $ref: "#/parameters/rowFilter.companies.postalCode",
},
{
- $ref: "#/parameters/rowFilter.accountCategories.createdAt",
+ $ref: "#/parameters/rowFilter.companies.countryCode",
},
{
- $ref: "#/parameters/rowFilter.accountCategories.updatedBy",
+ $ref: "#/parameters/rowFilter.companies.phone",
},
{
- $ref: "#/parameters/rowFilter.accountCategories.updatedAt",
+ $ref: "#/parameters/rowFilter.companies.fax",
},
{
- $ref: "#/parameters/rowFilter.accountCategories.customFields",
+ $ref: "#/parameters/rowFilter.companies.email",
},
{
- $ref: "#/parameters/rowFilter.accountCategories.subCategoriesCount",
+ $ref: "#/parameters/rowFilter.companies.website",
},
{
- $ref: "#/parameters/preferReturn",
+ $ref: "#/parameters/rowFilter.companies.updatedBy",
},
- ],
- responses: {
- "204": {
- description: "No Content",
+ {
+ $ref: "#/parameters/rowFilter.companies.baseCurrencyCode",
},
- },
- tags: ["accountCategories"],
- },
- patch: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.accountCategories.id",
+ $ref: "#/parameters/rowFilter.companies.userId",
},
{
- $ref: "#/parameters/rowFilter.accountCategories.category",
+ $ref: "#/parameters/rowFilter.companies.companyId",
},
{
- $ref: "#/parameters/rowFilter.accountCategories.class",
+ $ref: "#/parameters/rowFilter.companies.role",
},
{
- $ref: "#/parameters/rowFilter.accountCategories.incomeBalance",
+ $ref: "#/parameters/rowFilter.companies.employeeType",
},
{
- $ref: "#/parameters/rowFilter.accountCategories.companyId",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.accountCategories.createdBy",
+ $ref: "#/parameters/order",
},
{
- $ref: "#/parameters/rowFilter.accountCategories.createdAt",
+ $ref: "#/parameters/range",
},
{
- $ref: "#/parameters/rowFilter.accountCategories.updatedBy",
+ $ref: "#/parameters/rangeUnit",
},
{
- $ref: "#/parameters/rowFilter.accountCategories.updatedAt",
+ $ref: "#/parameters/offset",
},
{
- $ref: "#/parameters/rowFilter.accountCategories.customFields",
+ $ref: "#/parameters/limit",
},
{
- $ref: "#/parameters/rowFilter.accountCategories.subCategoriesCount",
- },
- {
- $ref: "#/parameters/body.accountCategories",
- },
- {
- $ref: "#/parameters/preferReturn",
+ $ref: "#/parameters/preferCount",
},
],
responses: {
- "204": {
- description: "No Content",
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/companies",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
},
},
- tags: ["accountCategories"],
+ tags: ["companies"],
},
},
- "/quotePayment": {
+ "/purchaseOrder": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.quotePayment.id",
+ $ref: "#/parameters/rowFilter.purchaseOrder.id",
},
{
- $ref: "#/parameters/rowFilter.quotePayment.invoiceCustomerId",
+ $ref: "#/parameters/rowFilter.purchaseOrder.purchaseOrderId",
},
{
- $ref: "#/parameters/rowFilter.quotePayment.invoiceCustomerLocationId",
+ $ref: "#/parameters/rowFilter.purchaseOrder.revisionId",
},
{
- $ref: "#/parameters/rowFilter.quotePayment.invoiceCustomerContactId",
+ $ref: "#/parameters/rowFilter.purchaseOrder.type",
},
{
- $ref: "#/parameters/rowFilter.quotePayment.paymentTermId",
+ $ref: "#/parameters/rowFilter.purchaseOrder.status",
},
{
- $ref: "#/parameters/rowFilter.quotePayment.companyId",
+ $ref: "#/parameters/rowFilter.purchaseOrder.orderDate",
},
{
- $ref: "#/parameters/rowFilter.quotePayment.updatedAt",
+ $ref: "#/parameters/rowFilter.purchaseOrder.notes",
},
{
- $ref: "#/parameters/rowFilter.quotePayment.updatedBy",
+ $ref: "#/parameters/rowFilter.purchaseOrder.supplierId",
},
{
- $ref: "#/parameters/rowFilter.quotePayment.customFields",
+ $ref: "#/parameters/rowFilter.purchaseOrder.supplierLocationId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrder.supplierContactId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrder.supplierReference",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrder.assignee",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrder.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrder.closedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrder.closedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrder.customFields",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrder.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrder.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrder.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrder.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrder.currencyCode",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrder.exchangeRate",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrder.exchangeRateUpdatedAt",
},
{
$ref: "#/parameters/select",
@@ -14496,7 +14715,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/quotePayment",
+ $ref: "#/definitions/purchaseOrder",
},
type: "array",
},
@@ -14505,12 +14724,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["quotePayment"],
+ tags: ["purchaseOrder"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.quotePayment",
+ $ref: "#/parameters/body.purchaseOrder",
},
{
$ref: "#/parameters/select",
@@ -14524,259 +14743,163 @@ export default {
description: "Created",
},
},
- tags: ["quotePayment"],
+ tags: ["purchaseOrder"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.quotePayment.id",
- },
- {
- $ref: "#/parameters/rowFilter.quotePayment.invoiceCustomerId",
- },
- {
- $ref: "#/parameters/rowFilter.quotePayment.invoiceCustomerLocationId",
- },
- {
- $ref: "#/parameters/rowFilter.quotePayment.invoiceCustomerContactId",
- },
- {
- $ref: "#/parameters/rowFilter.quotePayment.paymentTermId",
- },
- {
- $ref: "#/parameters/rowFilter.quotePayment.companyId",
- },
- {
- $ref: "#/parameters/rowFilter.quotePayment.updatedAt",
- },
- {
- $ref: "#/parameters/rowFilter.quotePayment.updatedBy",
- },
- {
- $ref: "#/parameters/rowFilter.quotePayment.customFields",
- },
- {
- $ref: "#/parameters/preferReturn",
- },
- ],
- responses: {
- "204": {
- description: "No Content",
- },
- },
- tags: ["quotePayment"],
- },
- patch: {
- parameters: [
- {
- $ref: "#/parameters/rowFilter.quotePayment.id",
- },
- {
- $ref: "#/parameters/rowFilter.quotePayment.invoiceCustomerId",
- },
- {
- $ref: "#/parameters/rowFilter.quotePayment.invoiceCustomerLocationId",
- },
- {
- $ref: "#/parameters/rowFilter.quotePayment.invoiceCustomerContactId",
- },
- {
- $ref: "#/parameters/rowFilter.quotePayment.paymentTermId",
+ $ref: "#/parameters/rowFilter.purchaseOrder.id",
},
{
- $ref: "#/parameters/rowFilter.quotePayment.companyId",
+ $ref: "#/parameters/rowFilter.purchaseOrder.purchaseOrderId",
},
{
- $ref: "#/parameters/rowFilter.quotePayment.updatedAt",
+ $ref: "#/parameters/rowFilter.purchaseOrder.revisionId",
},
{
- $ref: "#/parameters/rowFilter.quotePayment.updatedBy",
+ $ref: "#/parameters/rowFilter.purchaseOrder.type",
},
{
- $ref: "#/parameters/rowFilter.quotePayment.customFields",
+ $ref: "#/parameters/rowFilter.purchaseOrder.status",
},
{
- $ref: "#/parameters/body.quotePayment",
+ $ref: "#/parameters/rowFilter.purchaseOrder.orderDate",
},
{
- $ref: "#/parameters/preferReturn",
- },
- ],
- responses: {
- "204": {
- description: "No Content",
+ $ref: "#/parameters/rowFilter.purchaseOrder.notes",
},
- },
- tags: ["quotePayment"],
- },
- },
- "/accountCategory": {
- get: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.accountCategory.id",
+ $ref: "#/parameters/rowFilter.purchaseOrder.supplierId",
},
{
- $ref: "#/parameters/rowFilter.accountCategory.category",
+ $ref: "#/parameters/rowFilter.purchaseOrder.supplierLocationId",
},
{
- $ref: "#/parameters/rowFilter.accountCategory.class",
+ $ref: "#/parameters/rowFilter.purchaseOrder.supplierContactId",
},
{
- $ref: "#/parameters/rowFilter.accountCategory.incomeBalance",
+ $ref: "#/parameters/rowFilter.purchaseOrder.supplierReference",
},
{
- $ref: "#/parameters/rowFilter.accountCategory.companyId",
+ $ref: "#/parameters/rowFilter.purchaseOrder.assignee",
},
{
- $ref: "#/parameters/rowFilter.accountCategory.createdBy",
+ $ref: "#/parameters/rowFilter.purchaseOrder.companyId",
},
{
- $ref: "#/parameters/rowFilter.accountCategory.createdAt",
+ $ref: "#/parameters/rowFilter.purchaseOrder.closedAt",
},
{
- $ref: "#/parameters/rowFilter.accountCategory.updatedBy",
+ $ref: "#/parameters/rowFilter.purchaseOrder.closedBy",
},
{
- $ref: "#/parameters/rowFilter.accountCategory.updatedAt",
+ $ref: "#/parameters/rowFilter.purchaseOrder.customFields",
},
{
- $ref: "#/parameters/rowFilter.accountCategory.customFields",
+ $ref: "#/parameters/rowFilter.purchaseOrder.createdAt",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.purchaseOrder.createdBy",
},
{
- $ref: "#/parameters/order",
+ $ref: "#/parameters/rowFilter.purchaseOrder.updatedAt",
},
{
- $ref: "#/parameters/range",
+ $ref: "#/parameters/rowFilter.purchaseOrder.updatedBy",
},
{
- $ref: "#/parameters/rangeUnit",
+ $ref: "#/parameters/rowFilter.purchaseOrder.currencyCode",
},
{
- $ref: "#/parameters/offset",
+ $ref: "#/parameters/rowFilter.purchaseOrder.exchangeRate",
},
{
- $ref: "#/parameters/limit",
+ $ref: "#/parameters/rowFilter.purchaseOrder.exchangeRateUpdatedAt",
},
{
- $ref: "#/parameters/preferCount",
+ $ref: "#/parameters/preferReturn",
},
],
responses: {
- "200": {
- description: "OK",
- schema: {
- items: {
- $ref: "#/definitions/accountCategory",
- },
- type: "array",
- },
- },
- "206": {
- description: "Partial Content",
+ "204": {
+ description: "No Content",
},
},
- tags: ["accountCategory"],
+ tags: ["purchaseOrder"],
},
- post: {
+ patch: {
parameters: [
{
- $ref: "#/parameters/body.accountCategory",
- },
- {
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.purchaseOrder.id",
},
{
- $ref: "#/parameters/preferPost",
- },
- ],
- responses: {
- "201": {
- description: "Created",
+ $ref: "#/parameters/rowFilter.purchaseOrder.purchaseOrderId",
},
- },
- tags: ["accountCategory"],
- },
- delete: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.accountCategory.id",
+ $ref: "#/parameters/rowFilter.purchaseOrder.revisionId",
},
{
- $ref: "#/parameters/rowFilter.accountCategory.category",
+ $ref: "#/parameters/rowFilter.purchaseOrder.type",
},
{
- $ref: "#/parameters/rowFilter.accountCategory.class",
+ $ref: "#/parameters/rowFilter.purchaseOrder.status",
},
{
- $ref: "#/parameters/rowFilter.accountCategory.incomeBalance",
+ $ref: "#/parameters/rowFilter.purchaseOrder.orderDate",
},
{
- $ref: "#/parameters/rowFilter.accountCategory.companyId",
+ $ref: "#/parameters/rowFilter.purchaseOrder.notes",
},
{
- $ref: "#/parameters/rowFilter.accountCategory.createdBy",
+ $ref: "#/parameters/rowFilter.purchaseOrder.supplierId",
},
{
- $ref: "#/parameters/rowFilter.accountCategory.createdAt",
+ $ref: "#/parameters/rowFilter.purchaseOrder.supplierLocationId",
},
{
- $ref: "#/parameters/rowFilter.accountCategory.updatedBy",
+ $ref: "#/parameters/rowFilter.purchaseOrder.supplierContactId",
},
{
- $ref: "#/parameters/rowFilter.accountCategory.updatedAt",
+ $ref: "#/parameters/rowFilter.purchaseOrder.supplierReference",
},
{
- $ref: "#/parameters/rowFilter.accountCategory.customFields",
+ $ref: "#/parameters/rowFilter.purchaseOrder.assignee",
},
{
- $ref: "#/parameters/preferReturn",
- },
- ],
- responses: {
- "204": {
- description: "No Content",
+ $ref: "#/parameters/rowFilter.purchaseOrder.companyId",
},
- },
- tags: ["accountCategory"],
- },
- patch: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.accountCategory.id",
+ $ref: "#/parameters/rowFilter.purchaseOrder.closedAt",
},
{
- $ref: "#/parameters/rowFilter.accountCategory.category",
+ $ref: "#/parameters/rowFilter.purchaseOrder.closedBy",
},
{
- $ref: "#/parameters/rowFilter.accountCategory.class",
+ $ref: "#/parameters/rowFilter.purchaseOrder.customFields",
},
{
- $ref: "#/parameters/rowFilter.accountCategory.incomeBalance",
+ $ref: "#/parameters/rowFilter.purchaseOrder.createdAt",
},
{
- $ref: "#/parameters/rowFilter.accountCategory.companyId",
+ $ref: "#/parameters/rowFilter.purchaseOrder.createdBy",
},
{
- $ref: "#/parameters/rowFilter.accountCategory.createdBy",
+ $ref: "#/parameters/rowFilter.purchaseOrder.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.accountCategory.createdAt",
+ $ref: "#/parameters/rowFilter.purchaseOrder.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.accountCategory.updatedBy",
+ $ref: "#/parameters/rowFilter.purchaseOrder.currencyCode",
},
{
- $ref: "#/parameters/rowFilter.accountCategory.updatedAt",
+ $ref: "#/parameters/rowFilter.purchaseOrder.exchangeRate",
},
{
- $ref: "#/parameters/rowFilter.accountCategory.customFields",
+ $ref: "#/parameters/rowFilter.purchaseOrder.exchangeRateUpdatedAt",
},
{
- $ref: "#/parameters/body.accountCategory",
+ $ref: "#/parameters/body.purchaseOrder",
},
{
$ref: "#/parameters/preferReturn",
@@ -14787,125 +14910,95 @@ export default {
description: "No Content",
},
},
- tags: ["accountCategory"],
+ tags: ["purchaseOrder"],
},
},
- "/salesOrders": {
+ "/fixtures": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.salesOrders.id",
- },
- {
- $ref: "#/parameters/rowFilter.salesOrders.salesOrderId",
- },
- {
- $ref: "#/parameters/rowFilter.salesOrders.revisionId",
- },
- {
- $ref: "#/parameters/rowFilter.salesOrders.status",
- },
- {
- $ref: "#/parameters/rowFilter.salesOrders.orderDate",
- },
- {
- $ref: "#/parameters/rowFilter.salesOrders.notes",
- },
- {
- $ref: "#/parameters/rowFilter.salesOrders.currencyCode",
- },
- {
- $ref: "#/parameters/rowFilter.salesOrders.customerId",
- },
- {
- $ref: "#/parameters/rowFilter.salesOrders.customerLocationId",
- },
- {
- $ref: "#/parameters/rowFilter.salesOrders.customerContactId",
- },
- {
- $ref: "#/parameters/rowFilter.salesOrders.customerReference",
+ $ref: "#/parameters/rowFilter.fixtures.active",
},
{
- $ref: "#/parameters/rowFilter.salesOrders.assignee",
+ $ref: "#/parameters/rowFilter.fixtures.assignee",
},
{
- $ref: "#/parameters/rowFilter.salesOrders.companyId",
+ $ref: "#/parameters/rowFilter.fixtures.defaultMethodType",
},
{
- $ref: "#/parameters/rowFilter.salesOrders.closedAt",
+ $ref: "#/parameters/rowFilter.fixtures.description",
},
{
- $ref: "#/parameters/rowFilter.salesOrders.closedBy",
+ $ref: "#/parameters/rowFilter.fixtures.itemTrackingType",
},
{
- $ref: "#/parameters/rowFilter.salesOrders.customFields",
+ $ref: "#/parameters/rowFilter.fixtures.name",
},
{
- $ref: "#/parameters/rowFilter.salesOrders.createdAt",
+ $ref: "#/parameters/rowFilter.fixtures.replenishmentSystem",
},
{
- $ref: "#/parameters/rowFilter.salesOrders.createdBy",
+ $ref: "#/parameters/rowFilter.fixtures.unitOfMeasureCode",
},
{
- $ref: "#/parameters/rowFilter.salesOrders.updatedAt",
+ $ref: "#/parameters/rowFilter.fixtures.thumbnailPath",
},
{
- $ref: "#/parameters/rowFilter.salesOrders.updatedBy",
+ $ref: "#/parameters/rowFilter.fixtures.id",
},
{
- $ref: "#/parameters/rowFilter.salesOrders.locationId",
+ $ref: "#/parameters/rowFilter.fixtures.itemId",
},
{
- $ref: "#/parameters/rowFilter.salesOrders.exchangeRate",
+ $ref: "#/parameters/rowFilter.fixtures.customerId",
},
{
- $ref: "#/parameters/rowFilter.salesOrders.exchangeRateUpdatedAt",
+ $ref: "#/parameters/rowFilter.fixtures.approved",
},
{
- $ref: "#/parameters/rowFilter.salesOrders.shippingMethodName",
+ $ref: "#/parameters/rowFilter.fixtures.approvedBy",
},
{
- $ref: "#/parameters/rowFilter.salesOrders.shippingTermName",
+ $ref: "#/parameters/rowFilter.fixtures.customFields",
},
{
- $ref: "#/parameters/rowFilter.salesOrders.paymentTermName",
+ $ref: "#/parameters/rowFilter.fixtures.companyId",
},
{
- $ref: "#/parameters/rowFilter.salesOrders.receiptRequestedDate",
+ $ref: "#/parameters/rowFilter.fixtures.createdBy",
},
{
- $ref: "#/parameters/rowFilter.salesOrders.receiptPromisedDate",
+ $ref: "#/parameters/rowFilter.fixtures.createdAt",
},
{
- $ref: "#/parameters/rowFilter.salesOrders.dropShipment",
+ $ref: "#/parameters/rowFilter.fixtures.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.salesOrders.locationName",
+ $ref: "#/parameters/rowFilter.fixtures.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.salesOrders.customerName",
+ $ref: "#/parameters/rowFilter.fixtures.externalId",
},
{
- $ref: "#/parameters/rowFilter.salesOrders.createdByAvatar",
+ $ref: "#/parameters/rowFilter.fixtures.modelId",
},
{
- $ref: "#/parameters/rowFilter.salesOrders.createdByFullName",
+ $ref: "#/parameters/rowFilter.fixtures.autodeskUrn",
},
{
- $ref: "#/parameters/rowFilter.salesOrders.updatedByAvatar",
+ $ref: "#/parameters/rowFilter.fixtures.modelPath",
},
{
- $ref: "#/parameters/rowFilter.salesOrders.updatedByFullName",
+ $ref: "#/parameters/rowFilter.fixtures.modelName",
},
{
- $ref: "#/parameters/rowFilter.salesOrders.closedByAvatar",
+ $ref: "#/parameters/rowFilter.fixtures.modelSize",
},
{
- $ref: "#/parameters/rowFilter.salesOrders.closedByFullName",
+ $ref: "#/parameters/rowFilter.fixtures.supplierIds",
},
{
- $ref: "#/parameters/rowFilter.salesOrders.favorite",
+ $ref: "#/parameters/rowFilter.fixtures.customer",
},
{
$ref: "#/parameters/select",
@@ -14934,7 +15027,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/salesOrders",
+ $ref: "#/definitions/fixtures",
},
type: "array",
},
@@ -14943,68 +15036,59 @@ export default {
description: "Partial Content",
},
},
- tags: ["salesOrders"],
+ tags: ["fixtures"],
},
},
- "/supplier": {
+ "/company": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.supplier.id",
- },
- {
- $ref: "#/parameters/rowFilter.supplier.name",
- },
- {
- $ref: "#/parameters/rowFilter.supplier.supplierTypeId",
- },
- {
- $ref: "#/parameters/rowFilter.supplier.supplierStatusId",
+ $ref: "#/parameters/rowFilter.company.id",
},
{
- $ref: "#/parameters/rowFilter.supplier.taxId",
+ $ref: "#/parameters/rowFilter.company.name",
},
{
- $ref: "#/parameters/rowFilter.supplier.accountManagerId",
+ $ref: "#/parameters/rowFilter.company.taxId",
},
{
- $ref: "#/parameters/rowFilter.supplier.logo",
+ $ref: "#/parameters/rowFilter.company.logo",
},
{
- $ref: "#/parameters/rowFilter.supplier.assignee",
+ $ref: "#/parameters/rowFilter.company.addressLine1",
},
{
- $ref: "#/parameters/rowFilter.supplier.companyId",
+ $ref: "#/parameters/rowFilter.company.addressLine2",
},
{
- $ref: "#/parameters/rowFilter.supplier.createdAt",
+ $ref: "#/parameters/rowFilter.company.city",
},
{
- $ref: "#/parameters/rowFilter.supplier.createdBy",
+ $ref: "#/parameters/rowFilter.company.stateProvince",
},
{
- $ref: "#/parameters/rowFilter.supplier.updatedAt",
+ $ref: "#/parameters/rowFilter.company.postalCode",
},
{
- $ref: "#/parameters/rowFilter.supplier.updatedBy",
+ $ref: "#/parameters/rowFilter.company.countryCode",
},
{
- $ref: "#/parameters/rowFilter.supplier.customFields",
+ $ref: "#/parameters/rowFilter.company.phone",
},
{
- $ref: "#/parameters/rowFilter.supplier.currencyCode",
+ $ref: "#/parameters/rowFilter.company.fax",
},
{
- $ref: "#/parameters/rowFilter.supplier.phone",
+ $ref: "#/parameters/rowFilter.company.email",
},
{
- $ref: "#/parameters/rowFilter.supplier.fax",
+ $ref: "#/parameters/rowFilter.company.website",
},
{
- $ref: "#/parameters/rowFilter.supplier.website",
+ $ref: "#/parameters/rowFilter.company.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.supplier.externalId",
+ $ref: "#/parameters/rowFilter.company.baseCurrencyCode",
},
{
$ref: "#/parameters/select",
@@ -15033,7 +15117,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/supplier",
+ $ref: "#/definitions/company",
},
type: "array",
},
@@ -15042,12 +15126,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["supplier"],
+ tags: ["company"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.supplier",
+ $ref: "#/parameters/body.company",
},
{
$ref: "#/parameters/select",
@@ -15061,66 +15145,57 @@ export default {
description: "Created",
},
},
- tags: ["supplier"],
+ tags: ["company"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.supplier.id",
- },
- {
- $ref: "#/parameters/rowFilter.supplier.name",
- },
- {
- $ref: "#/parameters/rowFilter.supplier.supplierTypeId",
- },
- {
- $ref: "#/parameters/rowFilter.supplier.supplierStatusId",
+ $ref: "#/parameters/rowFilter.company.id",
},
{
- $ref: "#/parameters/rowFilter.supplier.taxId",
+ $ref: "#/parameters/rowFilter.company.name",
},
{
- $ref: "#/parameters/rowFilter.supplier.accountManagerId",
+ $ref: "#/parameters/rowFilter.company.taxId",
},
{
- $ref: "#/parameters/rowFilter.supplier.logo",
+ $ref: "#/parameters/rowFilter.company.logo",
},
{
- $ref: "#/parameters/rowFilter.supplier.assignee",
+ $ref: "#/parameters/rowFilter.company.addressLine1",
},
{
- $ref: "#/parameters/rowFilter.supplier.companyId",
+ $ref: "#/parameters/rowFilter.company.addressLine2",
},
{
- $ref: "#/parameters/rowFilter.supplier.createdAt",
+ $ref: "#/parameters/rowFilter.company.city",
},
{
- $ref: "#/parameters/rowFilter.supplier.createdBy",
+ $ref: "#/parameters/rowFilter.company.stateProvince",
},
{
- $ref: "#/parameters/rowFilter.supplier.updatedAt",
+ $ref: "#/parameters/rowFilter.company.postalCode",
},
{
- $ref: "#/parameters/rowFilter.supplier.updatedBy",
+ $ref: "#/parameters/rowFilter.company.countryCode",
},
{
- $ref: "#/parameters/rowFilter.supplier.customFields",
+ $ref: "#/parameters/rowFilter.company.phone",
},
{
- $ref: "#/parameters/rowFilter.supplier.currencyCode",
+ $ref: "#/parameters/rowFilter.company.fax",
},
{
- $ref: "#/parameters/rowFilter.supplier.phone",
+ $ref: "#/parameters/rowFilter.company.email",
},
{
- $ref: "#/parameters/rowFilter.supplier.fax",
+ $ref: "#/parameters/rowFilter.company.website",
},
{
- $ref: "#/parameters/rowFilter.supplier.website",
+ $ref: "#/parameters/rowFilter.company.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.supplier.externalId",
+ $ref: "#/parameters/rowFilter.company.baseCurrencyCode",
},
{
$ref: "#/parameters/preferReturn",
@@ -15131,69 +15206,60 @@ export default {
description: "No Content",
},
},
- tags: ["supplier"],
+ tags: ["company"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.supplier.id",
+ $ref: "#/parameters/rowFilter.company.id",
},
{
- $ref: "#/parameters/rowFilter.supplier.name",
+ $ref: "#/parameters/rowFilter.company.name",
},
{
- $ref: "#/parameters/rowFilter.supplier.supplierTypeId",
+ $ref: "#/parameters/rowFilter.company.taxId",
},
{
- $ref: "#/parameters/rowFilter.supplier.supplierStatusId",
+ $ref: "#/parameters/rowFilter.company.logo",
},
{
- $ref: "#/parameters/rowFilter.supplier.taxId",
+ $ref: "#/parameters/rowFilter.company.addressLine1",
},
{
- $ref: "#/parameters/rowFilter.supplier.accountManagerId",
+ $ref: "#/parameters/rowFilter.company.addressLine2",
},
{
- $ref: "#/parameters/rowFilter.supplier.logo",
+ $ref: "#/parameters/rowFilter.company.city",
},
{
- $ref: "#/parameters/rowFilter.supplier.assignee",
+ $ref: "#/parameters/rowFilter.company.stateProvince",
},
{
- $ref: "#/parameters/rowFilter.supplier.companyId",
+ $ref: "#/parameters/rowFilter.company.postalCode",
},
{
- $ref: "#/parameters/rowFilter.supplier.createdAt",
+ $ref: "#/parameters/rowFilter.company.countryCode",
},
{
- $ref: "#/parameters/rowFilter.supplier.createdBy",
+ $ref: "#/parameters/rowFilter.company.phone",
},
{
- $ref: "#/parameters/rowFilter.supplier.updatedAt",
+ $ref: "#/parameters/rowFilter.company.fax",
},
{
- $ref: "#/parameters/rowFilter.supplier.updatedBy",
+ $ref: "#/parameters/rowFilter.company.email",
},
{
- $ref: "#/parameters/rowFilter.supplier.customFields",
+ $ref: "#/parameters/rowFilter.company.website",
},
{
- $ref: "#/parameters/rowFilter.supplier.currencyCode",
+ $ref: "#/parameters/rowFilter.company.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.supplier.phone",
- },
- {
- $ref: "#/parameters/rowFilter.supplier.fax",
- },
- {
- $ref: "#/parameters/rowFilter.supplier.website",
- },
- {
- $ref: "#/parameters/rowFilter.supplier.externalId",
+ $ref: "#/parameters/rowFilter.company.baseCurrencyCode",
},
{
- $ref: "#/parameters/body.supplier",
+ $ref: "#/parameters/body.company",
},
{
$ref: "#/parameters/preferReturn",
@@ -15204,20 +15270,41 @@ export default {
description: "No Content",
},
},
- tags: ["supplier"],
+ tags: ["company"],
},
},
- "/customFieldTable": {
+ "/userAttributeCategory": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.customFieldTable.table",
+ $ref: "#/parameters/rowFilter.userAttributeCategory.id",
},
{
- $ref: "#/parameters/rowFilter.customFieldTable.module",
+ $ref: "#/parameters/rowFilter.userAttributeCategory.name",
},
{
- $ref: "#/parameters/rowFilter.customFieldTable.name",
+ $ref: "#/parameters/rowFilter.userAttributeCategory.public",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttributeCategory.protected",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttributeCategory.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttributeCategory.active",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttributeCategory.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttributeCategory.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttributeCategory.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttributeCategory.updatedBy",
},
{
$ref: "#/parameters/select",
@@ -15246,7 +15333,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/customFieldTable",
+ $ref: "#/definitions/userAttributeCategory",
},
type: "array",
},
@@ -15255,12 +15342,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["customFieldTable"],
+ tags: ["userAttributeCategory"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.customFieldTable",
+ $ref: "#/parameters/body.userAttributeCategory",
},
{
$ref: "#/parameters/select",
@@ -15274,189 +15361,85 @@ export default {
description: "Created",
},
},
- tags: ["customFieldTable"],
+ tags: ["userAttributeCategory"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.customFieldTable.table",
- },
- {
- $ref: "#/parameters/rowFilter.customFieldTable.module",
- },
- {
- $ref: "#/parameters/rowFilter.customFieldTable.name",
- },
- {
- $ref: "#/parameters/preferReturn",
- },
- ],
- responses: {
- "204": {
- description: "No Content",
- },
- },
- tags: ["customFieldTable"],
- },
- patch: {
- parameters: [
- {
- $ref: "#/parameters/rowFilter.customFieldTable.table",
- },
- {
- $ref: "#/parameters/rowFilter.customFieldTable.module",
- },
- {
- $ref: "#/parameters/rowFilter.customFieldTable.name",
- },
- {
- $ref: "#/parameters/body.customFieldTable",
- },
- {
- $ref: "#/parameters/preferReturn",
- },
- ],
- responses: {
- "204": {
- description: "No Content",
- },
- },
- tags: ["customFieldTable"],
- },
- },
- "/shippingMethod": {
- get: {
- parameters: [
- {
- $ref: "#/parameters/rowFilter.shippingMethod.id",
- },
- {
- $ref: "#/parameters/rowFilter.shippingMethod.name",
- },
- {
- $ref: "#/parameters/rowFilter.shippingMethod.carrier",
- },
- {
- $ref: "#/parameters/rowFilter.shippingMethod.carrierAccountId",
- },
- {
- $ref: "#/parameters/rowFilter.shippingMethod.trackingUrl",
- },
- {
- $ref: "#/parameters/rowFilter.shippingMethod.active",
- },
- {
- $ref: "#/parameters/rowFilter.shippingMethod.companyId",
- },
- {
- $ref: "#/parameters/rowFilter.shippingMethod.createdAt",
- },
- {
- $ref: "#/parameters/rowFilter.shippingMethod.createdBy",
- },
- {
- $ref: "#/parameters/rowFilter.shippingMethod.updatedAt",
- },
- {
- $ref: "#/parameters/rowFilter.shippingMethod.updatedBy",
- },
- {
- $ref: "#/parameters/rowFilter.shippingMethod.customFields",
+ $ref: "#/parameters/rowFilter.userAttributeCategory.id",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.userAttributeCategory.name",
},
{
- $ref: "#/parameters/order",
+ $ref: "#/parameters/rowFilter.userAttributeCategory.public",
},
{
- $ref: "#/parameters/range",
+ $ref: "#/parameters/rowFilter.userAttributeCategory.protected",
},
{
- $ref: "#/parameters/rangeUnit",
+ $ref: "#/parameters/rowFilter.userAttributeCategory.companyId",
},
{
- $ref: "#/parameters/offset",
+ $ref: "#/parameters/rowFilter.userAttributeCategory.active",
},
{
- $ref: "#/parameters/limit",
+ $ref: "#/parameters/rowFilter.userAttributeCategory.createdAt",
},
{
- $ref: "#/parameters/preferCount",
- },
- ],
- responses: {
- "200": {
- description: "OK",
- schema: {
- items: {
- $ref: "#/definitions/shippingMethod",
- },
- type: "array",
- },
- },
- "206": {
- description: "Partial Content",
+ $ref: "#/parameters/rowFilter.userAttributeCategory.createdBy",
},
- },
- tags: ["shippingMethod"],
- },
- post: {
- parameters: [
{
- $ref: "#/parameters/body.shippingMethod",
+ $ref: "#/parameters/rowFilter.userAttributeCategory.updatedAt",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.userAttributeCategory.updatedBy",
},
{
- $ref: "#/parameters/preferPost",
+ $ref: "#/parameters/preferReturn",
},
],
responses: {
- "201": {
- description: "Created",
+ "204": {
+ description: "No Content",
},
},
- tags: ["shippingMethod"],
+ tags: ["userAttributeCategory"],
},
- delete: {
+ patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.shippingMethod.id",
- },
- {
- $ref: "#/parameters/rowFilter.shippingMethod.name",
+ $ref: "#/parameters/rowFilter.userAttributeCategory.id",
},
{
- $ref: "#/parameters/rowFilter.shippingMethod.carrier",
+ $ref: "#/parameters/rowFilter.userAttributeCategory.name",
},
{
- $ref: "#/parameters/rowFilter.shippingMethod.carrierAccountId",
+ $ref: "#/parameters/rowFilter.userAttributeCategory.public",
},
{
- $ref: "#/parameters/rowFilter.shippingMethod.trackingUrl",
+ $ref: "#/parameters/rowFilter.userAttributeCategory.protected",
},
{
- $ref: "#/parameters/rowFilter.shippingMethod.active",
+ $ref: "#/parameters/rowFilter.userAttributeCategory.companyId",
},
{
- $ref: "#/parameters/rowFilter.shippingMethod.companyId",
+ $ref: "#/parameters/rowFilter.userAttributeCategory.active",
},
{
- $ref: "#/parameters/rowFilter.shippingMethod.createdAt",
+ $ref: "#/parameters/rowFilter.userAttributeCategory.createdAt",
},
{
- $ref: "#/parameters/rowFilter.shippingMethod.createdBy",
+ $ref: "#/parameters/rowFilter.userAttributeCategory.createdBy",
},
{
- $ref: "#/parameters/rowFilter.shippingMethod.updatedAt",
+ $ref: "#/parameters/rowFilter.userAttributeCategory.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.shippingMethod.updatedBy",
+ $ref: "#/parameters/rowFilter.userAttributeCategory.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.shippingMethod.customFields",
+ $ref: "#/parameters/body.userAttributeCategory",
},
{
$ref: "#/parameters/preferReturn",
@@ -15467,129 +15450,116 @@ export default {
description: "No Content",
},
},
- tags: ["shippingMethod"],
+ tags: ["userAttributeCategory"],
},
- patch: {
+ },
+ "/salesOrderLine": {
+ get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.shippingMethod.id",
- },
- {
- $ref: "#/parameters/rowFilter.shippingMethod.name",
+ $ref: "#/parameters/rowFilter.salesOrderLine.id",
},
{
- $ref: "#/parameters/rowFilter.shippingMethod.carrier",
+ $ref: "#/parameters/rowFilter.salesOrderLine.salesOrderId",
},
{
- $ref: "#/parameters/rowFilter.shippingMethod.carrierAccountId",
+ $ref: "#/parameters/rowFilter.salesOrderLine.salesOrderLineType",
},
{
- $ref: "#/parameters/rowFilter.shippingMethod.trackingUrl",
+ $ref: "#/parameters/rowFilter.salesOrderLine.itemId",
},
{
- $ref: "#/parameters/rowFilter.shippingMethod.active",
+ $ref: "#/parameters/rowFilter.salesOrderLine.itemReadableId",
},
{
- $ref: "#/parameters/rowFilter.shippingMethod.companyId",
+ $ref: "#/parameters/rowFilter.salesOrderLine.accountNumber",
},
{
- $ref: "#/parameters/rowFilter.shippingMethod.createdAt",
+ $ref: "#/parameters/rowFilter.salesOrderLine.assetId",
},
{
- $ref: "#/parameters/rowFilter.shippingMethod.createdBy",
+ $ref: "#/parameters/rowFilter.salesOrderLine.description",
},
{
- $ref: "#/parameters/rowFilter.shippingMethod.updatedAt",
+ $ref: "#/parameters/rowFilter.salesOrderLine.saleQuantity",
},
{
- $ref: "#/parameters/rowFilter.shippingMethod.updatedBy",
+ $ref: "#/parameters/rowFilter.salesOrderLine.quantityToSend",
},
{
- $ref: "#/parameters/rowFilter.shippingMethod.customFields",
+ $ref: "#/parameters/rowFilter.salesOrderLine.quantitySent",
},
{
- $ref: "#/parameters/body.shippingMethod",
+ $ref: "#/parameters/rowFilter.salesOrderLine.quantityToInvoice",
},
{
- $ref: "#/parameters/preferReturn",
- },
- ],
- responses: {
- "204": {
- description: "No Content",
+ $ref: "#/parameters/rowFilter.salesOrderLine.quantityInvoiced",
},
- },
- tags: ["shippingMethod"],
- },
- },
- "/methodOperation": {
- get: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.methodOperation.id",
+ $ref: "#/parameters/rowFilter.salesOrderLine.unitPrice",
},
{
- $ref: "#/parameters/rowFilter.methodOperation.makeMethodId",
+ $ref: "#/parameters/rowFilter.salesOrderLine.unitOfMeasureCode",
},
{
- $ref: "#/parameters/rowFilter.methodOperation.order",
+ $ref: "#/parameters/rowFilter.salesOrderLine.locationId",
},
{
- $ref: "#/parameters/rowFilter.methodOperation.operationOrder",
+ $ref: "#/parameters/rowFilter.salesOrderLine.shelfId",
},
{
- $ref: "#/parameters/rowFilter.methodOperation.description",
+ $ref: "#/parameters/rowFilter.salesOrderLine.setupPrice",
},
{
- $ref: "#/parameters/rowFilter.methodOperation.companyId",
+ $ref: "#/parameters/rowFilter.salesOrderLine.sentComplete",
},
{
- $ref: "#/parameters/rowFilter.methodOperation.createdAt",
+ $ref: "#/parameters/rowFilter.salesOrderLine.invoicedComplete",
},
{
- $ref: "#/parameters/rowFilter.methodOperation.createdBy",
+ $ref: "#/parameters/rowFilter.salesOrderLine.requiresInspection",
},
{
- $ref: "#/parameters/rowFilter.methodOperation.updatedAt",
+ $ref: "#/parameters/rowFilter.salesOrderLine.companyId",
},
{
- $ref: "#/parameters/rowFilter.methodOperation.updatedBy",
+ $ref: "#/parameters/rowFilter.salesOrderLine.createdAt",
},
{
- $ref: "#/parameters/rowFilter.methodOperation.customFields",
+ $ref: "#/parameters/rowFilter.salesOrderLine.createdBy",
},
{
- $ref: "#/parameters/rowFilter.methodOperation.processId",
+ $ref: "#/parameters/rowFilter.salesOrderLine.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.methodOperation.workCenterId",
+ $ref: "#/parameters/rowFilter.salesOrderLine.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.methodOperation.setupTime",
+ $ref: "#/parameters/rowFilter.salesOrderLine.customFields",
},
{
- $ref: "#/parameters/rowFilter.methodOperation.setupUnit",
+ $ref: "#/parameters/rowFilter.salesOrderLine.status",
},
{
- $ref: "#/parameters/rowFilter.methodOperation.laborTime",
+ $ref: "#/parameters/rowFilter.salesOrderLine.modelUploadId",
},
{
- $ref: "#/parameters/rowFilter.methodOperation.laborUnit",
+ $ref: "#/parameters/rowFilter.salesOrderLine.promisedDate",
},
{
- $ref: "#/parameters/rowFilter.methodOperation.machineTime",
+ $ref: "#/parameters/rowFilter.salesOrderLine.addOnCost",
},
{
- $ref: "#/parameters/rowFilter.methodOperation.machineUnit",
+ $ref: "#/parameters/rowFilter.salesOrderLine.methodType",
},
{
- $ref: "#/parameters/rowFilter.methodOperation.operationType",
+ $ref: "#/parameters/rowFilter.salesOrderLine.exchangeRate",
},
{
- $ref: "#/parameters/rowFilter.methodOperation.operationSupplierProcessId",
+ $ref: "#/parameters/rowFilter.salesOrderLine.convertedUnitPrice",
},
{
- $ref: "#/parameters/rowFilter.methodOperation.workInstruction",
+ $ref: "#/parameters/rowFilter.salesOrderLine.convertedAddOnCost",
},
{
$ref: "#/parameters/select",
@@ -15618,7 +15588,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/methodOperation",
+ $ref: "#/definitions/salesOrderLine",
},
type: "array",
},
@@ -15627,12 +15597,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["methodOperation"],
+ tags: ["salesOrderLine"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.methodOperation",
+ $ref: "#/parameters/body.salesOrderLine",
},
{
$ref: "#/parameters/select",
@@ -15646,75 +15616,114 @@ export default {
description: "Created",
},
},
- tags: ["methodOperation"],
+ tags: ["salesOrderLine"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.methodOperation.id",
+ $ref: "#/parameters/rowFilter.salesOrderLine.id",
},
{
- $ref: "#/parameters/rowFilter.methodOperation.makeMethodId",
+ $ref: "#/parameters/rowFilter.salesOrderLine.salesOrderId",
},
{
- $ref: "#/parameters/rowFilter.methodOperation.order",
+ $ref: "#/parameters/rowFilter.salesOrderLine.salesOrderLineType",
},
{
- $ref: "#/parameters/rowFilter.methodOperation.operationOrder",
+ $ref: "#/parameters/rowFilter.salesOrderLine.itemId",
},
{
- $ref: "#/parameters/rowFilter.methodOperation.description",
+ $ref: "#/parameters/rowFilter.salesOrderLine.itemReadableId",
},
{
- $ref: "#/parameters/rowFilter.methodOperation.companyId",
+ $ref: "#/parameters/rowFilter.salesOrderLine.accountNumber",
},
{
- $ref: "#/parameters/rowFilter.methodOperation.createdAt",
+ $ref: "#/parameters/rowFilter.salesOrderLine.assetId",
},
{
- $ref: "#/parameters/rowFilter.methodOperation.createdBy",
+ $ref: "#/parameters/rowFilter.salesOrderLine.description",
},
{
- $ref: "#/parameters/rowFilter.methodOperation.updatedAt",
+ $ref: "#/parameters/rowFilter.salesOrderLine.saleQuantity",
},
{
- $ref: "#/parameters/rowFilter.methodOperation.updatedBy",
+ $ref: "#/parameters/rowFilter.salesOrderLine.quantityToSend",
},
{
- $ref: "#/parameters/rowFilter.methodOperation.customFields",
+ $ref: "#/parameters/rowFilter.salesOrderLine.quantitySent",
},
{
- $ref: "#/parameters/rowFilter.methodOperation.processId",
+ $ref: "#/parameters/rowFilter.salesOrderLine.quantityToInvoice",
},
{
- $ref: "#/parameters/rowFilter.methodOperation.workCenterId",
+ $ref: "#/parameters/rowFilter.salesOrderLine.quantityInvoiced",
},
{
- $ref: "#/parameters/rowFilter.methodOperation.setupTime",
+ $ref: "#/parameters/rowFilter.salesOrderLine.unitPrice",
},
{
- $ref: "#/parameters/rowFilter.methodOperation.setupUnit",
+ $ref: "#/parameters/rowFilter.salesOrderLine.unitOfMeasureCode",
},
{
- $ref: "#/parameters/rowFilter.methodOperation.laborTime",
+ $ref: "#/parameters/rowFilter.salesOrderLine.locationId",
},
{
- $ref: "#/parameters/rowFilter.methodOperation.laborUnit",
+ $ref: "#/parameters/rowFilter.salesOrderLine.shelfId",
},
{
- $ref: "#/parameters/rowFilter.methodOperation.machineTime",
+ $ref: "#/parameters/rowFilter.salesOrderLine.setupPrice",
},
{
- $ref: "#/parameters/rowFilter.methodOperation.machineUnit",
+ $ref: "#/parameters/rowFilter.salesOrderLine.sentComplete",
},
{
- $ref: "#/parameters/rowFilter.methodOperation.operationType",
+ $ref: "#/parameters/rowFilter.salesOrderLine.invoicedComplete",
},
{
- $ref: "#/parameters/rowFilter.methodOperation.operationSupplierProcessId",
+ $ref: "#/parameters/rowFilter.salesOrderLine.requiresInspection",
},
{
- $ref: "#/parameters/rowFilter.methodOperation.workInstruction",
+ $ref: "#/parameters/rowFilter.salesOrderLine.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrderLine.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrderLine.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrderLine.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrderLine.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrderLine.customFields",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrderLine.status",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrderLine.modelUploadId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrderLine.promisedDate",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrderLine.addOnCost",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrderLine.methodType",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrderLine.exchangeRate",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrderLine.convertedUnitPrice",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrderLine.convertedAddOnCost",
},
{
$ref: "#/parameters/preferReturn",
@@ -15725,123 +15734,147 @@ export default {
description: "No Content",
},
},
- tags: ["methodOperation"],
+ tags: ["salesOrderLine"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.methodOperation.id",
+ $ref: "#/parameters/rowFilter.salesOrderLine.id",
},
{
- $ref: "#/parameters/rowFilter.methodOperation.makeMethodId",
+ $ref: "#/parameters/rowFilter.salesOrderLine.salesOrderId",
},
{
- $ref: "#/parameters/rowFilter.methodOperation.order",
+ $ref: "#/parameters/rowFilter.salesOrderLine.salesOrderLineType",
},
{
- $ref: "#/parameters/rowFilter.methodOperation.operationOrder",
+ $ref: "#/parameters/rowFilter.salesOrderLine.itemId",
},
{
- $ref: "#/parameters/rowFilter.methodOperation.description",
+ $ref: "#/parameters/rowFilter.salesOrderLine.itemReadableId",
},
{
- $ref: "#/parameters/rowFilter.methodOperation.companyId",
+ $ref: "#/parameters/rowFilter.salesOrderLine.accountNumber",
},
{
- $ref: "#/parameters/rowFilter.methodOperation.createdAt",
+ $ref: "#/parameters/rowFilter.salesOrderLine.assetId",
},
{
- $ref: "#/parameters/rowFilter.methodOperation.createdBy",
+ $ref: "#/parameters/rowFilter.salesOrderLine.description",
},
{
- $ref: "#/parameters/rowFilter.methodOperation.updatedAt",
+ $ref: "#/parameters/rowFilter.salesOrderLine.saleQuantity",
},
{
- $ref: "#/parameters/rowFilter.methodOperation.updatedBy",
+ $ref: "#/parameters/rowFilter.salesOrderLine.quantityToSend",
},
{
- $ref: "#/parameters/rowFilter.methodOperation.customFields",
+ $ref: "#/parameters/rowFilter.salesOrderLine.quantitySent",
},
{
- $ref: "#/parameters/rowFilter.methodOperation.processId",
+ $ref: "#/parameters/rowFilter.salesOrderLine.quantityToInvoice",
},
{
- $ref: "#/parameters/rowFilter.methodOperation.workCenterId",
+ $ref: "#/parameters/rowFilter.salesOrderLine.quantityInvoiced",
},
{
- $ref: "#/parameters/rowFilter.methodOperation.setupTime",
+ $ref: "#/parameters/rowFilter.salesOrderLine.unitPrice",
},
{
- $ref: "#/parameters/rowFilter.methodOperation.setupUnit",
+ $ref: "#/parameters/rowFilter.salesOrderLine.unitOfMeasureCode",
},
{
- $ref: "#/parameters/rowFilter.methodOperation.laborTime",
+ $ref: "#/parameters/rowFilter.salesOrderLine.locationId",
},
{
- $ref: "#/parameters/rowFilter.methodOperation.laborUnit",
+ $ref: "#/parameters/rowFilter.salesOrderLine.shelfId",
},
{
- $ref: "#/parameters/rowFilter.methodOperation.machineTime",
+ $ref: "#/parameters/rowFilter.salesOrderLine.setupPrice",
},
{
- $ref: "#/parameters/rowFilter.methodOperation.machineUnit",
+ $ref: "#/parameters/rowFilter.salesOrderLine.sentComplete",
},
{
- $ref: "#/parameters/rowFilter.methodOperation.operationType",
+ $ref: "#/parameters/rowFilter.salesOrderLine.invoicedComplete",
},
{
- $ref: "#/parameters/rowFilter.methodOperation.operationSupplierProcessId",
+ $ref: "#/parameters/rowFilter.salesOrderLine.requiresInspection",
},
{
- $ref: "#/parameters/rowFilter.methodOperation.workInstruction",
+ $ref: "#/parameters/rowFilter.salesOrderLine.companyId",
},
{
- $ref: "#/parameters/body.methodOperation",
+ $ref: "#/parameters/rowFilter.salesOrderLine.createdAt",
},
{
- $ref: "#/parameters/preferReturn",
+ $ref: "#/parameters/rowFilter.salesOrderLine.createdBy",
},
- ],
- responses: {
- "204": {
- description: "No Content",
+ {
+ $ref: "#/parameters/rowFilter.salesOrderLine.updatedAt",
},
- },
- tags: ["methodOperation"],
- },
- },
- "/salesOrderPayment": {
- get: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.salesOrderPayment.id",
+ $ref: "#/parameters/rowFilter.salesOrderLine.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.salesOrderPayment.invoiceCustomerId",
+ $ref: "#/parameters/rowFilter.salesOrderLine.customFields",
},
{
- $ref: "#/parameters/rowFilter.salesOrderPayment.invoiceCustomerLocationId",
+ $ref: "#/parameters/rowFilter.salesOrderLine.status",
},
{
- $ref: "#/parameters/rowFilter.salesOrderPayment.invoiceCustomerContactId",
+ $ref: "#/parameters/rowFilter.salesOrderLine.modelUploadId",
},
{
- $ref: "#/parameters/rowFilter.salesOrderPayment.paymentTermId",
+ $ref: "#/parameters/rowFilter.salesOrderLine.promisedDate",
},
{
- $ref: "#/parameters/rowFilter.salesOrderPayment.paymentComplete",
+ $ref: "#/parameters/rowFilter.salesOrderLine.addOnCost",
},
{
- $ref: "#/parameters/rowFilter.salesOrderPayment.companyId",
+ $ref: "#/parameters/rowFilter.salesOrderLine.methodType",
},
{
- $ref: "#/parameters/rowFilter.salesOrderPayment.updatedAt",
+ $ref: "#/parameters/rowFilter.salesOrderLine.exchangeRate",
},
{
- $ref: "#/parameters/rowFilter.salesOrderPayment.updatedBy",
+ $ref: "#/parameters/rowFilter.salesOrderLine.convertedUnitPrice",
},
{
- $ref: "#/parameters/rowFilter.salesOrderPayment.customFields",
+ $ref: "#/parameters/rowFilter.salesOrderLine.convertedAddOnCost",
+ },
+ {
+ $ref: "#/parameters/body.salesOrderLine",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
+ },
+ },
+ tags: ["salesOrderLine"],
+ },
+ },
+ "/salesOrderTransaction": {
+ get: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.salesOrderTransaction.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrderTransaction.salesOrderId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrderTransaction.type",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrderTransaction.userId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrderTransaction.createdAt",
},
{
$ref: "#/parameters/select",
@@ -15870,7 +15903,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/salesOrderPayment",
+ $ref: "#/definitions/salesOrderTransaction",
},
type: "array",
},
@@ -15879,12 +15912,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["salesOrderPayment"],
+ tags: ["salesOrderTransaction"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.salesOrderPayment",
+ $ref: "#/parameters/body.salesOrderTransaction",
},
{
$ref: "#/parameters/select",
@@ -15898,39 +15931,24 @@ export default {
description: "Created",
},
},
- tags: ["salesOrderPayment"],
+ tags: ["salesOrderTransaction"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.salesOrderPayment.id",
- },
- {
- $ref: "#/parameters/rowFilter.salesOrderPayment.invoiceCustomerId",
- },
- {
- $ref: "#/parameters/rowFilter.salesOrderPayment.invoiceCustomerLocationId",
- },
- {
- $ref: "#/parameters/rowFilter.salesOrderPayment.invoiceCustomerContactId",
- },
- {
- $ref: "#/parameters/rowFilter.salesOrderPayment.paymentTermId",
- },
- {
- $ref: "#/parameters/rowFilter.salesOrderPayment.paymentComplete",
+ $ref: "#/parameters/rowFilter.salesOrderTransaction.id",
},
{
- $ref: "#/parameters/rowFilter.salesOrderPayment.companyId",
+ $ref: "#/parameters/rowFilter.salesOrderTransaction.salesOrderId",
},
{
- $ref: "#/parameters/rowFilter.salesOrderPayment.updatedAt",
+ $ref: "#/parameters/rowFilter.salesOrderTransaction.type",
},
{
- $ref: "#/parameters/rowFilter.salesOrderPayment.updatedBy",
+ $ref: "#/parameters/rowFilter.salesOrderTransaction.userId",
},
{
- $ref: "#/parameters/rowFilter.salesOrderPayment.customFields",
+ $ref: "#/parameters/rowFilter.salesOrderTransaction.createdAt",
},
{
$ref: "#/parameters/preferReturn",
@@ -15941,42 +15959,27 @@ export default {
description: "No Content",
},
},
- tags: ["salesOrderPayment"],
+ tags: ["salesOrderTransaction"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.salesOrderPayment.id",
- },
- {
- $ref: "#/parameters/rowFilter.salesOrderPayment.invoiceCustomerId",
- },
- {
- $ref: "#/parameters/rowFilter.salesOrderPayment.invoiceCustomerLocationId",
- },
- {
- $ref: "#/parameters/rowFilter.salesOrderPayment.invoiceCustomerContactId",
- },
- {
- $ref: "#/parameters/rowFilter.salesOrderPayment.paymentTermId",
- },
- {
- $ref: "#/parameters/rowFilter.salesOrderPayment.paymentComplete",
+ $ref: "#/parameters/rowFilter.salesOrderTransaction.id",
},
{
- $ref: "#/parameters/rowFilter.salesOrderPayment.companyId",
+ $ref: "#/parameters/rowFilter.salesOrderTransaction.salesOrderId",
},
{
- $ref: "#/parameters/rowFilter.salesOrderPayment.updatedAt",
+ $ref: "#/parameters/rowFilter.salesOrderTransaction.type",
},
{
- $ref: "#/parameters/rowFilter.salesOrderPayment.updatedBy",
+ $ref: "#/parameters/rowFilter.salesOrderTransaction.userId",
},
{
- $ref: "#/parameters/rowFilter.salesOrderPayment.customFields",
+ $ref: "#/parameters/rowFilter.salesOrderTransaction.createdAt",
},
{
- $ref: "#/parameters/body.salesOrderPayment",
+ $ref: "#/parameters/body.salesOrderTransaction",
},
{
$ref: "#/parameters/preferReturn",
@@ -15987,44 +15990,20 @@ export default {
description: "No Content",
},
},
- tags: ["salesOrderPayment"],
+ tags: ["salesOrderTransaction"],
},
},
- "/sequence": {
+ "/country": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.sequence.id",
- },
- {
- $ref: "#/parameters/rowFilter.sequence.table",
- },
- {
- $ref: "#/parameters/rowFilter.sequence.name",
- },
- {
- $ref: "#/parameters/rowFilter.sequence.prefix",
- },
- {
- $ref: "#/parameters/rowFilter.sequence.suffix",
- },
- {
- $ref: "#/parameters/rowFilter.sequence.next",
- },
- {
- $ref: "#/parameters/rowFilter.sequence.size",
- },
- {
- $ref: "#/parameters/rowFilter.sequence.step",
- },
- {
- $ref: "#/parameters/rowFilter.sequence.companyId",
+ $ref: "#/parameters/rowFilter.country.name",
},
{
- $ref: "#/parameters/rowFilter.sequence.updatedAt",
+ $ref: "#/parameters/rowFilter.country.alpha2",
},
{
- $ref: "#/parameters/rowFilter.sequence.updatedBy",
+ $ref: "#/parameters/rowFilter.country.alpha3",
},
{
$ref: "#/parameters/select",
@@ -16053,7 +16032,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/sequence",
+ $ref: "#/definitions/country",
},
type: "array",
},
@@ -16062,12 +16041,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["sequence"],
+ tags: ["country"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.sequence",
+ $ref: "#/parameters/body.country",
},
{
$ref: "#/parameters/select",
@@ -16081,42 +16060,18 @@ export default {
description: "Created",
},
},
- tags: ["sequence"],
+ tags: ["country"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.sequence.id",
- },
- {
- $ref: "#/parameters/rowFilter.sequence.table",
- },
- {
- $ref: "#/parameters/rowFilter.sequence.name",
- },
- {
- $ref: "#/parameters/rowFilter.sequence.prefix",
- },
- {
- $ref: "#/parameters/rowFilter.sequence.suffix",
- },
- {
- $ref: "#/parameters/rowFilter.sequence.next",
- },
- {
- $ref: "#/parameters/rowFilter.sequence.size",
- },
- {
- $ref: "#/parameters/rowFilter.sequence.step",
- },
- {
- $ref: "#/parameters/rowFilter.sequence.companyId",
+ $ref: "#/parameters/rowFilter.country.name",
},
{
- $ref: "#/parameters/rowFilter.sequence.updatedAt",
+ $ref: "#/parameters/rowFilter.country.alpha2",
},
{
- $ref: "#/parameters/rowFilter.sequence.updatedBy",
+ $ref: "#/parameters/rowFilter.country.alpha3",
},
{
$ref: "#/parameters/preferReturn",
@@ -16127,45 +16082,21 @@ export default {
description: "No Content",
},
},
- tags: ["sequence"],
+ tags: ["country"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.sequence.id",
- },
- {
- $ref: "#/parameters/rowFilter.sequence.table",
- },
- {
- $ref: "#/parameters/rowFilter.sequence.name",
- },
- {
- $ref: "#/parameters/rowFilter.sequence.prefix",
- },
- {
- $ref: "#/parameters/rowFilter.sequence.suffix",
- },
- {
- $ref: "#/parameters/rowFilter.sequence.next",
- },
- {
- $ref: "#/parameters/rowFilter.sequence.size",
- },
- {
- $ref: "#/parameters/rowFilter.sequence.step",
- },
- {
- $ref: "#/parameters/rowFilter.sequence.companyId",
+ $ref: "#/parameters/rowFilter.country.name",
},
{
- $ref: "#/parameters/rowFilter.sequence.updatedAt",
+ $ref: "#/parameters/rowFilter.country.alpha2",
},
{
- $ref: "#/parameters/rowFilter.sequence.updatedBy",
+ $ref: "#/parameters/rowFilter.country.alpha3",
},
{
- $ref: "#/parameters/body.sequence",
+ $ref: "#/parameters/body.country",
},
{
$ref: "#/parameters/preferReturn",
@@ -16176,35 +16107,44 @@ export default {
description: "No Content",
},
},
- tags: ["sequence"],
+ tags: ["country"],
},
},
- "/oauthClient": {
+ "/jobMakeMethod": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.oauthClient.id",
+ $ref: "#/parameters/rowFilter.jobMakeMethod.id",
},
{
- $ref: "#/parameters/rowFilter.oauthClient.name",
+ $ref: "#/parameters/rowFilter.jobMakeMethod.jobId",
},
{
- $ref: "#/parameters/rowFilter.oauthClient.clientId",
+ $ref: "#/parameters/rowFilter.jobMakeMethod.parentMaterialId",
},
{
- $ref: "#/parameters/rowFilter.oauthClient.clientSecret",
+ $ref: "#/parameters/rowFilter.jobMakeMethod.itemId",
},
{
- $ref: "#/parameters/rowFilter.oauthClient.redirectUris",
+ $ref: "#/parameters/rowFilter.jobMakeMethod.quantityPerParent",
},
{
- $ref: "#/parameters/rowFilter.oauthClient.companyId",
+ $ref: "#/parameters/rowFilter.jobMakeMethod.companyId",
},
{
- $ref: "#/parameters/rowFilter.oauthClient.createdAt",
+ $ref: "#/parameters/rowFilter.jobMakeMethod.createdAt",
},
{
- $ref: "#/parameters/rowFilter.oauthClient.updatedAt",
+ $ref: "#/parameters/rowFilter.jobMakeMethod.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobMakeMethod.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobMakeMethod.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobMakeMethod.customFields",
},
{
$ref: "#/parameters/select",
@@ -16233,7 +16173,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/oauthClient",
+ $ref: "#/definitions/jobMakeMethod",
},
type: "array",
},
@@ -16242,12 +16182,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["oauthClient"],
+ tags: ["jobMakeMethod"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.oauthClient",
+ $ref: "#/parameters/body.jobMakeMethod",
},
{
$ref: "#/parameters/select",
@@ -16261,33 +16201,42 @@ export default {
description: "Created",
},
},
- tags: ["oauthClient"],
+ tags: ["jobMakeMethod"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.oauthClient.id",
+ $ref: "#/parameters/rowFilter.jobMakeMethod.id",
},
{
- $ref: "#/parameters/rowFilter.oauthClient.name",
+ $ref: "#/parameters/rowFilter.jobMakeMethod.jobId",
},
{
- $ref: "#/parameters/rowFilter.oauthClient.clientId",
+ $ref: "#/parameters/rowFilter.jobMakeMethod.parentMaterialId",
},
{
- $ref: "#/parameters/rowFilter.oauthClient.clientSecret",
+ $ref: "#/parameters/rowFilter.jobMakeMethod.itemId",
},
{
- $ref: "#/parameters/rowFilter.oauthClient.redirectUris",
+ $ref: "#/parameters/rowFilter.jobMakeMethod.quantityPerParent",
},
{
- $ref: "#/parameters/rowFilter.oauthClient.companyId",
+ $ref: "#/parameters/rowFilter.jobMakeMethod.companyId",
},
{
- $ref: "#/parameters/rowFilter.oauthClient.createdAt",
+ $ref: "#/parameters/rowFilter.jobMakeMethod.createdAt",
},
{
- $ref: "#/parameters/rowFilter.oauthClient.updatedAt",
+ $ref: "#/parameters/rowFilter.jobMakeMethod.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobMakeMethod.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobMakeMethod.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobMakeMethod.customFields",
},
{
$ref: "#/parameters/preferReturn",
@@ -16298,36 +16247,45 @@ export default {
description: "No Content",
},
},
- tags: ["oauthClient"],
+ tags: ["jobMakeMethod"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.oauthClient.id",
+ $ref: "#/parameters/rowFilter.jobMakeMethod.id",
},
{
- $ref: "#/parameters/rowFilter.oauthClient.name",
+ $ref: "#/parameters/rowFilter.jobMakeMethod.jobId",
},
{
- $ref: "#/parameters/rowFilter.oauthClient.clientId",
+ $ref: "#/parameters/rowFilter.jobMakeMethod.parentMaterialId",
},
{
- $ref: "#/parameters/rowFilter.oauthClient.clientSecret",
+ $ref: "#/parameters/rowFilter.jobMakeMethod.itemId",
},
{
- $ref: "#/parameters/rowFilter.oauthClient.redirectUris",
+ $ref: "#/parameters/rowFilter.jobMakeMethod.quantityPerParent",
},
{
- $ref: "#/parameters/rowFilter.oauthClient.companyId",
+ $ref: "#/parameters/rowFilter.jobMakeMethod.companyId",
},
{
- $ref: "#/parameters/rowFilter.oauthClient.createdAt",
+ $ref: "#/parameters/rowFilter.jobMakeMethod.createdAt",
},
{
- $ref: "#/parameters/rowFilter.oauthClient.updatedAt",
+ $ref: "#/parameters/rowFilter.jobMakeMethod.createdBy",
},
{
- $ref: "#/parameters/body.oauthClient",
+ $ref: "#/parameters/rowFilter.jobMakeMethod.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobMakeMethod.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobMakeMethod.customFields",
+ },
+ {
+ $ref: "#/parameters/body.jobMakeMethod",
},
{
$ref: "#/parameters/preferReturn",
@@ -16338,41 +16296,50 @@ export default {
description: "No Content",
},
},
- tags: ["oauthClient"],
+ tags: ["jobMakeMethod"],
},
},
- "/ability": {
+ "/contact": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.ability.id",
+ $ref: "#/parameters/rowFilter.contact.id",
},
{
- $ref: "#/parameters/rowFilter.ability.name",
+ $ref: "#/parameters/rowFilter.contact.firstName",
},
{
- $ref: "#/parameters/rowFilter.ability.curve",
+ $ref: "#/parameters/rowFilter.contact.lastName",
},
{
- $ref: "#/parameters/rowFilter.ability.shadowWeeks",
+ $ref: "#/parameters/rowFilter.contact.email",
},
{
- $ref: "#/parameters/rowFilter.ability.active",
+ $ref: "#/parameters/rowFilter.contact.title",
},
{
- $ref: "#/parameters/rowFilter.ability.companyId",
+ $ref: "#/parameters/rowFilter.contact.mobilePhone",
},
{
- $ref: "#/parameters/rowFilter.ability.createdAt",
+ $ref: "#/parameters/rowFilter.contact.homePhone",
},
{
- $ref: "#/parameters/rowFilter.ability.createdBy",
+ $ref: "#/parameters/rowFilter.contact.workPhone",
},
{
- $ref: "#/parameters/rowFilter.ability.updatedAt",
+ $ref: "#/parameters/rowFilter.contact.fax",
},
{
- $ref: "#/parameters/rowFilter.ability.updatedBy",
+ $ref: "#/parameters/rowFilter.contact.notes",
+ },
+ {
+ $ref: "#/parameters/rowFilter.contact.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.contact.externalId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.contact.fullName",
},
{
$ref: "#/parameters/select",
@@ -16401,7 +16368,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/ability",
+ $ref: "#/definitions/contact",
},
type: "array",
},
@@ -16410,12 +16377,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["ability"],
+ tags: ["contact"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.ability",
+ $ref: "#/parameters/body.contact",
},
{
$ref: "#/parameters/select",
@@ -16429,39 +16396,48 @@ export default {
description: "Created",
},
},
- tags: ["ability"],
+ tags: ["contact"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.ability.id",
+ $ref: "#/parameters/rowFilter.contact.id",
},
{
- $ref: "#/parameters/rowFilter.ability.name",
+ $ref: "#/parameters/rowFilter.contact.firstName",
},
{
- $ref: "#/parameters/rowFilter.ability.curve",
+ $ref: "#/parameters/rowFilter.contact.lastName",
},
{
- $ref: "#/parameters/rowFilter.ability.shadowWeeks",
+ $ref: "#/parameters/rowFilter.contact.email",
},
{
- $ref: "#/parameters/rowFilter.ability.active",
+ $ref: "#/parameters/rowFilter.contact.title",
},
{
- $ref: "#/parameters/rowFilter.ability.companyId",
+ $ref: "#/parameters/rowFilter.contact.mobilePhone",
},
{
- $ref: "#/parameters/rowFilter.ability.createdAt",
+ $ref: "#/parameters/rowFilter.contact.homePhone",
},
{
- $ref: "#/parameters/rowFilter.ability.createdBy",
+ $ref: "#/parameters/rowFilter.contact.workPhone",
},
{
- $ref: "#/parameters/rowFilter.ability.updatedAt",
+ $ref: "#/parameters/rowFilter.contact.fax",
},
{
- $ref: "#/parameters/rowFilter.ability.updatedBy",
+ $ref: "#/parameters/rowFilter.contact.notes",
+ },
+ {
+ $ref: "#/parameters/rowFilter.contact.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.contact.externalId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.contact.fullName",
},
{
$ref: "#/parameters/preferReturn",
@@ -16472,42 +16448,51 @@ export default {
description: "No Content",
},
},
- tags: ["ability"],
+ tags: ["contact"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.ability.id",
+ $ref: "#/parameters/rowFilter.contact.id",
},
{
- $ref: "#/parameters/rowFilter.ability.name",
+ $ref: "#/parameters/rowFilter.contact.firstName",
},
{
- $ref: "#/parameters/rowFilter.ability.curve",
+ $ref: "#/parameters/rowFilter.contact.lastName",
},
{
- $ref: "#/parameters/rowFilter.ability.shadowWeeks",
+ $ref: "#/parameters/rowFilter.contact.email",
},
{
- $ref: "#/parameters/rowFilter.ability.active",
+ $ref: "#/parameters/rowFilter.contact.title",
},
{
- $ref: "#/parameters/rowFilter.ability.companyId",
+ $ref: "#/parameters/rowFilter.contact.mobilePhone",
},
{
- $ref: "#/parameters/rowFilter.ability.createdAt",
+ $ref: "#/parameters/rowFilter.contact.homePhone",
},
{
- $ref: "#/parameters/rowFilter.ability.createdBy",
+ $ref: "#/parameters/rowFilter.contact.workPhone",
},
{
- $ref: "#/parameters/rowFilter.ability.updatedAt",
+ $ref: "#/parameters/rowFilter.contact.fax",
},
{
- $ref: "#/parameters/rowFilter.ability.updatedBy",
+ $ref: "#/parameters/rowFilter.contact.notes",
},
{
- $ref: "#/parameters/body.ability",
+ $ref: "#/parameters/rowFilter.contact.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.contact.externalId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.contact.fullName",
+ },
+ {
+ $ref: "#/parameters/body.contact",
},
{
$ref: "#/parameters/preferReturn",
@@ -16518,65 +16503,125 @@ export default {
description: "No Content",
},
},
- tags: ["ability"],
+ tags: ["contact"],
},
},
- "/salesRfqLine": {
+ "/userDefaults": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.salesRfqLine.id",
+ $ref: "#/parameters/rowFilter.userDefaults.userId",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLine.salesRfqId",
+ $ref: "#/parameters/rowFilter.userDefaults.companyId",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLine.itemId",
+ $ref: "#/parameters/rowFilter.userDefaults.locationId",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLine.description",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLine.quantity",
+ $ref: "#/parameters/order",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLine.unitOfMeasureCode",
+ $ref: "#/parameters/range",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLine.order",
+ $ref: "#/parameters/rangeUnit",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLine.internalNotes",
+ $ref: "#/parameters/offset",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLine.externalNotes",
+ $ref: "#/parameters/limit",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLine.companyId",
+ $ref: "#/parameters/preferCount",
+ },
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/userDefaults",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
},
+ },
+ tags: ["userDefaults"],
+ },
+ },
+ "/jobMaterial": {
+ get: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.salesRfqLine.customFields",
+ $ref: "#/parameters/rowFilter.jobMaterial.id",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLine.createdAt",
+ $ref: "#/parameters/rowFilter.jobMaterial.jobId",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLine.createdBy",
+ $ref: "#/parameters/rowFilter.jobMaterial.itemId",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLine.updatedAt",
+ $ref: "#/parameters/rowFilter.jobMaterial.itemReadableId",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLine.updatedBy",
+ $ref: "#/parameters/rowFilter.jobMaterial.itemType",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLine.modelUploadId",
+ $ref: "#/parameters/rowFilter.jobMaterial.methodType",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLine.customerPartId",
+ $ref: "#/parameters/rowFilter.jobMaterial.order",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLine.customerPartRevision",
+ $ref: "#/parameters/rowFilter.jobMaterial.description",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobMaterial.quantity",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobMaterial.scrapQuantity",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobMaterial.unitOfMeasureCode",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobMaterial.unitCost",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobMaterial.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobMaterial.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobMaterial.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobMaterial.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobMaterial.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobMaterial.customFields",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobMaterial.jobMakeMethodId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobMaterial.jobOperationId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobMaterial.estimatedQuantity",
},
{
$ref: "#/parameters/select",
@@ -16605,7 +16650,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/salesRfqLine",
+ $ref: "#/definitions/jobMaterial",
},
type: "array",
},
@@ -16614,12 +16659,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["salesRfqLine"],
+ tags: ["jobMaterial"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.salesRfqLine",
+ $ref: "#/parameters/body.jobMaterial",
},
{
$ref: "#/parameters/select",
@@ -16633,63 +16678,72 @@ export default {
description: "Created",
},
},
- tags: ["salesRfqLine"],
+ tags: ["jobMaterial"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.salesRfqLine.id",
+ $ref: "#/parameters/rowFilter.jobMaterial.id",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLine.salesRfqId",
+ $ref: "#/parameters/rowFilter.jobMaterial.jobId",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLine.itemId",
+ $ref: "#/parameters/rowFilter.jobMaterial.itemId",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLine.description",
+ $ref: "#/parameters/rowFilter.jobMaterial.itemReadableId",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLine.quantity",
+ $ref: "#/parameters/rowFilter.jobMaterial.itemType",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLine.unitOfMeasureCode",
+ $ref: "#/parameters/rowFilter.jobMaterial.methodType",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLine.order",
+ $ref: "#/parameters/rowFilter.jobMaterial.order",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLine.internalNotes",
+ $ref: "#/parameters/rowFilter.jobMaterial.description",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLine.externalNotes",
+ $ref: "#/parameters/rowFilter.jobMaterial.quantity",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLine.companyId",
+ $ref: "#/parameters/rowFilter.jobMaterial.scrapQuantity",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLine.customFields",
+ $ref: "#/parameters/rowFilter.jobMaterial.unitOfMeasureCode",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLine.createdAt",
+ $ref: "#/parameters/rowFilter.jobMaterial.unitCost",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLine.createdBy",
+ $ref: "#/parameters/rowFilter.jobMaterial.companyId",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLine.updatedAt",
+ $ref: "#/parameters/rowFilter.jobMaterial.createdAt",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLine.updatedBy",
+ $ref: "#/parameters/rowFilter.jobMaterial.createdBy",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLine.modelUploadId",
+ $ref: "#/parameters/rowFilter.jobMaterial.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLine.customerPartId",
+ $ref: "#/parameters/rowFilter.jobMaterial.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLine.customerPartRevision",
+ $ref: "#/parameters/rowFilter.jobMaterial.customFields",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobMaterial.jobMakeMethodId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobMaterial.jobOperationId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobMaterial.estimatedQuantity",
},
{
$ref: "#/parameters/preferReturn",
@@ -16700,66 +16754,75 @@ export default {
description: "No Content",
},
},
- tags: ["salesRfqLine"],
+ tags: ["jobMaterial"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.salesRfqLine.id",
+ $ref: "#/parameters/rowFilter.jobMaterial.id",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLine.salesRfqId",
+ $ref: "#/parameters/rowFilter.jobMaterial.jobId",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLine.itemId",
+ $ref: "#/parameters/rowFilter.jobMaterial.itemId",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLine.description",
+ $ref: "#/parameters/rowFilter.jobMaterial.itemReadableId",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLine.quantity",
+ $ref: "#/parameters/rowFilter.jobMaterial.itemType",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLine.unitOfMeasureCode",
+ $ref: "#/parameters/rowFilter.jobMaterial.methodType",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLine.order",
+ $ref: "#/parameters/rowFilter.jobMaterial.order",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLine.internalNotes",
+ $ref: "#/parameters/rowFilter.jobMaterial.description",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLine.externalNotes",
+ $ref: "#/parameters/rowFilter.jobMaterial.quantity",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLine.companyId",
+ $ref: "#/parameters/rowFilter.jobMaterial.scrapQuantity",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLine.customFields",
+ $ref: "#/parameters/rowFilter.jobMaterial.unitOfMeasureCode",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLine.createdAt",
+ $ref: "#/parameters/rowFilter.jobMaterial.unitCost",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLine.createdBy",
+ $ref: "#/parameters/rowFilter.jobMaterial.companyId",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLine.updatedAt",
+ $ref: "#/parameters/rowFilter.jobMaterial.createdAt",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLine.updatedBy",
+ $ref: "#/parameters/rowFilter.jobMaterial.createdBy",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLine.modelUploadId",
+ $ref: "#/parameters/rowFilter.jobMaterial.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLine.customerPartId",
+ $ref: "#/parameters/rowFilter.jobMaterial.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLine.customerPartRevision",
+ $ref: "#/parameters/rowFilter.jobMaterial.customFields",
},
{
- $ref: "#/parameters/body.salesRfqLine",
+ $ref: "#/parameters/rowFilter.jobMaterial.jobMakeMethodId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobMaterial.jobOperationId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobMaterial.estimatedQuantity",
+ },
+ {
+ $ref: "#/parameters/body.jobMaterial",
},
{
$ref: "#/parameters/preferReturn",
@@ -16770,92 +16833,116 @@ export default {
description: "No Content",
},
},
- tags: ["salesRfqLine"],
+ tags: ["jobMaterial"],
},
},
- "/purchaseInvoice": {
+ "/purchaseOrderSuppliers": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.id",
+ $ref: "#/parameters/rowFilter.purchaseOrderSuppliers.id",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.invoiceId",
+ $ref: "#/parameters/rowFilter.purchaseOrderSuppliers.name",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.status",
+ $ref: "#/parameters/rowFilter.purchaseOrderSuppliers.companyId",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.supplierId",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.supplierReference",
+ $ref: "#/parameters/order",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.invoiceSupplierId",
+ $ref: "#/parameters/range",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.invoiceSupplierLocationId",
+ $ref: "#/parameters/rangeUnit",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.invoiceSupplierContactId",
+ $ref: "#/parameters/offset",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.paymentTermId",
+ $ref: "#/parameters/limit",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.currencyCode",
+ $ref: "#/parameters/preferCount",
+ },
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/purchaseOrderSuppliers",
+ },
+ type: "array",
+ },
},
+ "206": {
+ description: "Partial Content",
+ },
+ },
+ tags: ["purchaseOrderSuppliers"],
+ },
+ },
+ "/workCenters": {
+ get: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.exchangeRate",
+ $ref: "#/parameters/rowFilter.workCenters.id",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.postingDate",
+ $ref: "#/parameters/rowFilter.workCenters.name",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.dateIssued",
+ $ref: "#/parameters/rowFilter.workCenters.description",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.dateDue",
+ $ref: "#/parameters/rowFilter.workCenters.laborRate",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.datePaid",
+ $ref: "#/parameters/rowFilter.workCenters.defaultStandardFactor",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.subtotal",
+ $ref: "#/parameters/rowFilter.workCenters.locationId",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.totalDiscount",
+ $ref: "#/parameters/rowFilter.workCenters.requiredAbilityId",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.totalAmount",
+ $ref: "#/parameters/rowFilter.workCenters.active",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.totalTax",
+ $ref: "#/parameters/rowFilter.workCenters.companyId",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.balance",
+ $ref: "#/parameters/rowFilter.workCenters.customFields",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.assignee",
+ $ref: "#/parameters/rowFilter.workCenters.createdBy",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.companyId",
+ $ref: "#/parameters/rowFilter.workCenters.createdAt",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.customFields",
+ $ref: "#/parameters/rowFilter.workCenters.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.createdBy",
+ $ref: "#/parameters/rowFilter.workCenters.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.createdAt",
+ $ref: "#/parameters/rowFilter.workCenters.machineRate",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.updatedBy",
+ $ref: "#/parameters/rowFilter.workCenters.overheadRate",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.updatedAt",
+ $ref: "#/parameters/rowFilter.workCenters.locationName",
+ },
+ {
+ $ref: "#/parameters/rowFilter.workCenters.processes",
},
{
$ref: "#/parameters/select",
@@ -16884,7 +16971,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/purchaseInvoice",
+ $ref: "#/definitions/workCenters",
},
type: "array",
},
@@ -16893,206 +16980,166 @@ export default {
description: "Partial Content",
},
},
- tags: ["purchaseInvoice"],
- },
- post: {
- parameters: [
- {
- $ref: "#/parameters/body.purchaseInvoice",
- },
- {
- $ref: "#/parameters/select",
- },
- {
- $ref: "#/parameters/preferPost",
- },
- ],
- responses: {
- "201": {
- description: "Created",
- },
- },
- tags: ["purchaseInvoice"],
+ tags: ["workCenters"],
},
- delete: {
+ },
+ "/costLedger": {
+ get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.id",
+ $ref: "#/parameters/rowFilter.costLedger.id",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.invoiceId",
+ $ref: "#/parameters/rowFilter.costLedger.entryNumber",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.status",
+ $ref: "#/parameters/rowFilter.costLedger.postingDate",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.supplierId",
+ $ref: "#/parameters/rowFilter.costLedger.itemLedgerType",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.supplierReference",
+ $ref: "#/parameters/rowFilter.costLedger.costLedgerType",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.invoiceSupplierId",
+ $ref: "#/parameters/rowFilter.costLedger.adjustment",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.invoiceSupplierLocationId",
+ $ref: "#/parameters/rowFilter.costLedger.documentType",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.invoiceSupplierContactId",
+ $ref: "#/parameters/rowFilter.costLedger.documentId",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.paymentTermId",
+ $ref: "#/parameters/rowFilter.costLedger.externalDocumentId",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.currencyCode",
+ $ref: "#/parameters/rowFilter.costLedger.itemId",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.exchangeRate",
+ $ref: "#/parameters/rowFilter.costLedger.itemReadableId",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.postingDate",
+ $ref: "#/parameters/rowFilter.costLedger.quantity",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.dateIssued",
+ $ref: "#/parameters/rowFilter.costLedger.cost",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.dateDue",
+ $ref: "#/parameters/rowFilter.costLedger.costPostedToGL",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.datePaid",
+ $ref: "#/parameters/rowFilter.costLedger.companyId",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.subtotal",
+ $ref: "#/parameters/rowFilter.costLedger.createdAt",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.totalDiscount",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.totalAmount",
+ $ref: "#/parameters/order",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.totalTax",
+ $ref: "#/parameters/range",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.balance",
+ $ref: "#/parameters/rangeUnit",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.assignee",
+ $ref: "#/parameters/offset",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.companyId",
+ $ref: "#/parameters/limit",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.customFields",
+ $ref: "#/parameters/preferCount",
},
- {
- $ref: "#/parameters/rowFilter.purchaseInvoice.createdBy",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/costLedger",
+ },
+ type: "array",
+ },
},
- {
- $ref: "#/parameters/rowFilter.purchaseInvoice.createdAt",
+ "206": {
+ description: "Partial Content",
},
+ },
+ tags: ["costLedger"],
+ },
+ post: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.updatedBy",
+ $ref: "#/parameters/body.costLedger",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.updatedAt",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/preferReturn",
+ $ref: "#/parameters/preferPost",
},
],
responses: {
- "204": {
- description: "No Content",
+ "201": {
+ description: "Created",
},
},
- tags: ["purchaseInvoice"],
+ tags: ["costLedger"],
},
- patch: {
+ delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.id",
- },
- {
- $ref: "#/parameters/rowFilter.purchaseInvoice.invoiceId",
- },
- {
- $ref: "#/parameters/rowFilter.purchaseInvoice.status",
- },
- {
- $ref: "#/parameters/rowFilter.purchaseInvoice.supplierId",
- },
- {
- $ref: "#/parameters/rowFilter.purchaseInvoice.supplierReference",
- },
- {
- $ref: "#/parameters/rowFilter.purchaseInvoice.invoiceSupplierId",
- },
- {
- $ref: "#/parameters/rowFilter.purchaseInvoice.invoiceSupplierLocationId",
- },
- {
- $ref: "#/parameters/rowFilter.purchaseInvoice.invoiceSupplierContactId",
- },
- {
- $ref: "#/parameters/rowFilter.purchaseInvoice.paymentTermId",
- },
- {
- $ref: "#/parameters/rowFilter.purchaseInvoice.currencyCode",
- },
- {
- $ref: "#/parameters/rowFilter.purchaseInvoice.exchangeRate",
- },
- {
- $ref: "#/parameters/rowFilter.purchaseInvoice.postingDate",
- },
- {
- $ref: "#/parameters/rowFilter.purchaseInvoice.dateIssued",
+ $ref: "#/parameters/rowFilter.costLedger.id",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.dateDue",
+ $ref: "#/parameters/rowFilter.costLedger.entryNumber",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.datePaid",
+ $ref: "#/parameters/rowFilter.costLedger.postingDate",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.subtotal",
+ $ref: "#/parameters/rowFilter.costLedger.itemLedgerType",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.totalDiscount",
+ $ref: "#/parameters/rowFilter.costLedger.costLedgerType",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.totalAmount",
+ $ref: "#/parameters/rowFilter.costLedger.adjustment",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.totalTax",
+ $ref: "#/parameters/rowFilter.costLedger.documentType",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.balance",
+ $ref: "#/parameters/rowFilter.costLedger.documentId",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.assignee",
+ $ref: "#/parameters/rowFilter.costLedger.externalDocumentId",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.companyId",
+ $ref: "#/parameters/rowFilter.costLedger.itemId",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.customFields",
+ $ref: "#/parameters/rowFilter.costLedger.itemReadableId",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.createdBy",
+ $ref: "#/parameters/rowFilter.costLedger.quantity",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.createdAt",
+ $ref: "#/parameters/rowFilter.costLedger.cost",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.updatedBy",
+ $ref: "#/parameters/rowFilter.costLedger.costPostedToGL",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoice.updatedAt",
+ $ref: "#/parameters/rowFilter.costLedger.companyId",
},
{
- $ref: "#/parameters/body.purchaseInvoice",
+ $ref: "#/parameters/rowFilter.costLedger.createdAt",
},
{
$ref: "#/parameters/preferReturn",
@@ -17103,209 +17150,162 @@ export default {
description: "No Content",
},
},
- tags: ["purchaseInvoice"],
+ tags: ["costLedger"],
},
- },
- "/customerStatus": {
- get: {
+ patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.customerStatus.id",
+ $ref: "#/parameters/rowFilter.costLedger.id",
},
{
- $ref: "#/parameters/rowFilter.customerStatus.name",
+ $ref: "#/parameters/rowFilter.costLedger.entryNumber",
},
{
- $ref: "#/parameters/rowFilter.customerStatus.companyId",
+ $ref: "#/parameters/rowFilter.costLedger.postingDate",
},
{
- $ref: "#/parameters/rowFilter.customerStatus.createdAt",
+ $ref: "#/parameters/rowFilter.costLedger.itemLedgerType",
},
{
- $ref: "#/parameters/rowFilter.customerStatus.createdBy",
+ $ref: "#/parameters/rowFilter.costLedger.costLedgerType",
},
{
- $ref: "#/parameters/rowFilter.customerStatus.updatedBy",
+ $ref: "#/parameters/rowFilter.costLedger.adjustment",
},
{
- $ref: "#/parameters/rowFilter.customerStatus.updatedAt",
+ $ref: "#/parameters/rowFilter.costLedger.documentType",
},
{
- $ref: "#/parameters/rowFilter.customerStatus.customFields",
+ $ref: "#/parameters/rowFilter.costLedger.documentId",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.costLedger.externalDocumentId",
},
{
- $ref: "#/parameters/order",
+ $ref: "#/parameters/rowFilter.costLedger.itemId",
},
{
- $ref: "#/parameters/range",
+ $ref: "#/parameters/rowFilter.costLedger.itemReadableId",
},
{
- $ref: "#/parameters/rangeUnit",
+ $ref: "#/parameters/rowFilter.costLedger.quantity",
},
{
- $ref: "#/parameters/offset",
+ $ref: "#/parameters/rowFilter.costLedger.cost",
},
{
- $ref: "#/parameters/limit",
+ $ref: "#/parameters/rowFilter.costLedger.costPostedToGL",
},
{
- $ref: "#/parameters/preferCount",
- },
- ],
- responses: {
- "200": {
- description: "OK",
- schema: {
- items: {
- $ref: "#/definitions/customerStatus",
- },
- type: "array",
- },
- },
- "206": {
- description: "Partial Content",
+ $ref: "#/parameters/rowFilter.costLedger.companyId",
},
- },
- tags: ["customerStatus"],
- },
- post: {
- parameters: [
{
- $ref: "#/parameters/body.customerStatus",
+ $ref: "#/parameters/rowFilter.costLedger.createdAt",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/body.costLedger",
},
{
- $ref: "#/parameters/preferPost",
+ $ref: "#/parameters/preferReturn",
},
],
responses: {
- "201": {
- description: "Created",
+ "204": {
+ description: "No Content",
},
},
- tags: ["customerStatus"],
+ tags: ["costLedger"],
},
- delete: {
+ },
+ "/purchaseOrderLine": {
+ get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.customerStatus.id",
- },
- {
- $ref: "#/parameters/rowFilter.customerStatus.name",
- },
- {
- $ref: "#/parameters/rowFilter.customerStatus.companyId",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.id",
},
{
- $ref: "#/parameters/rowFilter.customerStatus.createdAt",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.purchaseOrderId",
},
{
- $ref: "#/parameters/rowFilter.customerStatus.createdBy",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.purchaseOrderLineType",
},
{
- $ref: "#/parameters/rowFilter.customerStatus.updatedBy",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.itemId",
},
{
- $ref: "#/parameters/rowFilter.customerStatus.updatedAt",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.itemReadableId",
},
{
- $ref: "#/parameters/rowFilter.customerStatus.customFields",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.accountNumber",
},
{
- $ref: "#/parameters/preferReturn",
- },
- ],
- responses: {
- "204": {
- description: "No Content",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.assetId",
},
- },
- tags: ["customerStatus"],
- },
- patch: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.customerStatus.id",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.description",
},
{
- $ref: "#/parameters/rowFilter.customerStatus.name",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.purchaseQuantity",
},
{
- $ref: "#/parameters/rowFilter.customerStatus.companyId",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.quantityToReceive",
},
{
- $ref: "#/parameters/rowFilter.customerStatus.createdAt",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.quantityReceived",
},
{
- $ref: "#/parameters/rowFilter.customerStatus.createdBy",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.quantityToInvoice",
},
{
- $ref: "#/parameters/rowFilter.customerStatus.updatedBy",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.quantityInvoiced",
},
{
- $ref: "#/parameters/rowFilter.customerStatus.updatedAt",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.unitPrice",
},
{
- $ref: "#/parameters/rowFilter.customerStatus.customFields",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.inventoryUnitOfMeasureCode",
},
{
- $ref: "#/parameters/body.customerStatus",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.purchaseUnitOfMeasureCode",
},
{
- $ref: "#/parameters/preferReturn",
- },
- ],
- responses: {
- "204": {
- description: "No Content",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.locationId",
},
- },
- tags: ["customerStatus"],
- },
- },
- "/quoteMakeMethod": {
- get: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.quoteMakeMethod.id",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.shelfId",
},
{
- $ref: "#/parameters/rowFilter.quoteMakeMethod.quoteId",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.setupPrice",
},
{
- $ref: "#/parameters/rowFilter.quoteMakeMethod.quoteLineId",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.receivedComplete",
},
{
- $ref: "#/parameters/rowFilter.quoteMakeMethod.parentMaterialId",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.invoicedComplete",
},
{
- $ref: "#/parameters/rowFilter.quoteMakeMethod.itemId",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.requiresInspection",
},
{
- $ref: "#/parameters/rowFilter.quoteMakeMethod.quantityPerParent",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.companyId",
},
{
- $ref: "#/parameters/rowFilter.quoteMakeMethod.companyId",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.createdAt",
},
{
- $ref: "#/parameters/rowFilter.quoteMakeMethod.createdAt",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.createdBy",
},
{
- $ref: "#/parameters/rowFilter.quoteMakeMethod.createdBy",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.quoteMakeMethod.updatedAt",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.quoteMakeMethod.updatedBy",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.customFields",
},
{
- $ref: "#/parameters/rowFilter.quoteMakeMethod.customFields",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.conversionFactor",
},
{
$ref: "#/parameters/select",
@@ -17334,7 +17334,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/quoteMakeMethod",
+ $ref: "#/definitions/purchaseOrderLine",
},
type: "array",
},
@@ -17343,12 +17343,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["quoteMakeMethod"],
+ tags: ["purchaseOrderLine"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.quoteMakeMethod",
+ $ref: "#/parameters/body.purchaseOrderLine",
},
{
$ref: "#/parameters/select",
@@ -17362,97 +17362,96 @@ export default {
description: "Created",
},
},
- tags: ["quoteMakeMethod"],
+ tags: ["purchaseOrderLine"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.quoteMakeMethod.id",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.id",
},
{
- $ref: "#/parameters/rowFilter.quoteMakeMethod.quoteId",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.purchaseOrderId",
},
{
- $ref: "#/parameters/rowFilter.quoteMakeMethod.quoteLineId",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.purchaseOrderLineType",
},
{
- $ref: "#/parameters/rowFilter.quoteMakeMethod.parentMaterialId",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.itemId",
},
{
- $ref: "#/parameters/rowFilter.quoteMakeMethod.itemId",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.itemReadableId",
},
{
- $ref: "#/parameters/rowFilter.quoteMakeMethod.quantityPerParent",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.accountNumber",
},
{
- $ref: "#/parameters/rowFilter.quoteMakeMethod.companyId",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.assetId",
},
{
- $ref: "#/parameters/rowFilter.quoteMakeMethod.createdAt",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.description",
},
{
- $ref: "#/parameters/rowFilter.quoteMakeMethod.createdBy",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.purchaseQuantity",
},
{
- $ref: "#/parameters/rowFilter.quoteMakeMethod.updatedAt",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.quantityToReceive",
},
{
- $ref: "#/parameters/rowFilter.quoteMakeMethod.updatedBy",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.quantityReceived",
},
{
- $ref: "#/parameters/rowFilter.quoteMakeMethod.customFields",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.quantityToInvoice",
},
{
- $ref: "#/parameters/preferReturn",
- },
- ],
- responses: {
- "204": {
- description: "No Content",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.quantityInvoiced",
},
- },
- tags: ["quoteMakeMethod"],
- },
- patch: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.quoteMakeMethod.id",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.unitPrice",
},
{
- $ref: "#/parameters/rowFilter.quoteMakeMethod.quoteId",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.inventoryUnitOfMeasureCode",
},
{
- $ref: "#/parameters/rowFilter.quoteMakeMethod.quoteLineId",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.purchaseUnitOfMeasureCode",
},
{
- $ref: "#/parameters/rowFilter.quoteMakeMethod.parentMaterialId",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.locationId",
},
{
- $ref: "#/parameters/rowFilter.quoteMakeMethod.itemId",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.shelfId",
},
{
- $ref: "#/parameters/rowFilter.quoteMakeMethod.quantityPerParent",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.setupPrice",
},
{
- $ref: "#/parameters/rowFilter.quoteMakeMethod.companyId",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.receivedComplete",
},
{
- $ref: "#/parameters/rowFilter.quoteMakeMethod.createdAt",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.invoicedComplete",
},
{
- $ref: "#/parameters/rowFilter.quoteMakeMethod.createdBy",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.requiresInspection",
},
{
- $ref: "#/parameters/rowFilter.quoteMakeMethod.updatedAt",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.companyId",
},
{
- $ref: "#/parameters/rowFilter.quoteMakeMethod.updatedBy",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.createdAt",
},
{
- $ref: "#/parameters/rowFilter.quoteMakeMethod.customFields",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.createdBy",
},
{
- $ref: "#/parameters/body.quoteMakeMethod",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.customFields",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.conversionFactor",
},
{
$ref: "#/parameters/preferReturn",
@@ -17463,173 +17462,171 @@ export default {
description: "No Content",
},
},
- tags: ["quoteMakeMethod"],
+ tags: ["purchaseOrderLine"],
},
- },
- "/employees": {
- get: {
+ patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.employees.id",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.id",
},
{
- $ref: "#/parameters/rowFilter.employees.email",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.purchaseOrderId",
},
{
- $ref: "#/parameters/rowFilter.employees.firstName",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.purchaseOrderLineType",
},
{
- $ref: "#/parameters/rowFilter.employees.lastName",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.itemId",
},
{
- $ref: "#/parameters/rowFilter.employees.name",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.itemReadableId",
},
{
- $ref: "#/parameters/rowFilter.employees.avatarUrl",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.accountNumber",
},
{
- $ref: "#/parameters/rowFilter.employees.active",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.assetId",
},
{
- $ref: "#/parameters/rowFilter.employees.employeeTypeId",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.description",
},
{
- $ref: "#/parameters/rowFilter.employees.companyId",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.purchaseQuantity",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.quantityToReceive",
},
{
- $ref: "#/parameters/order",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.quantityReceived",
},
{
- $ref: "#/parameters/range",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.quantityToInvoice",
},
{
- $ref: "#/parameters/rangeUnit",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.quantityInvoiced",
},
{
- $ref: "#/parameters/offset",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.unitPrice",
},
{
- $ref: "#/parameters/limit",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.inventoryUnitOfMeasureCode",
},
{
- $ref: "#/parameters/preferCount",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.purchaseUnitOfMeasureCode",
},
- ],
- responses: {
- "200": {
- description: "OK",
- schema: {
- items: {
- $ref: "#/definitions/employees",
- },
- type: "array",
- },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.locationId",
},
- "206": {
- description: "Partial Content",
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.shelfId",
},
- },
- tags: ["employees"],
- },
- },
- "/quoteOperationsWithMakeMethods": {
- get: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.makeMethodId",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.setupPrice",
},
{
- $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.id",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.receivedComplete",
},
{
- $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.quoteId",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.invoicedComplete",
},
{
- $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.quoteLineId",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.requiresInspection",
},
{
- $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.quoteMakeMethodId",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.companyId",
},
{
- $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.order",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.createdAt",
},
{
- $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.description",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.createdBy",
},
{
- $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.operationOrder",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.laborRate",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.overheadRate",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.customFields",
},
{
- $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.companyId",
+ $ref: "#/parameters/rowFilter.purchaseOrderLine.conversionFactor",
},
{
- $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.createdAt",
+ $ref: "#/parameters/body.purchaseOrderLine",
},
{
- $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.createdBy",
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
},
+ },
+ tags: ["purchaseOrderLine"],
+ },
+ },
+ "/salesOrderShipment": {
+ get: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.updatedAt",
+ $ref: "#/parameters/rowFilter.salesOrderShipment.id",
},
{
- $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.updatedBy",
+ $ref: "#/parameters/rowFilter.salesOrderShipment.locationId",
},
{
- $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.customFields",
+ $ref: "#/parameters/rowFilter.salesOrderShipment.shippingMethodId",
},
{
- $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.processId",
+ $ref: "#/parameters/rowFilter.salesOrderShipment.shippingTermId",
},
{
- $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.workCenterId",
+ $ref: "#/parameters/rowFilter.salesOrderShipment.receiptRequestedDate",
},
{
- $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.setupTime",
+ $ref: "#/parameters/rowFilter.salesOrderShipment.receiptPromisedDate",
},
{
- $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.setupUnit",
+ $ref: "#/parameters/rowFilter.salesOrderShipment.deliveryDate",
},
{
- $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.laborTime",
+ $ref: "#/parameters/rowFilter.salesOrderShipment.notes",
},
{
- $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.laborUnit",
+ $ref: "#/parameters/rowFilter.salesOrderShipment.trackingNumber",
},
{
- $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.machineTime",
+ $ref: "#/parameters/rowFilter.salesOrderShipment.dropShipment",
},
{
- $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.machineUnit",
+ $ref: "#/parameters/rowFilter.salesOrderShipment.customerId",
},
{
- $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.machineRate",
+ $ref: "#/parameters/rowFilter.salesOrderShipment.customerLocationId",
},
{
- $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.operationType",
+ $ref: "#/parameters/rowFilter.salesOrderShipment.supplierId",
},
{
- $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.operationMinimumCost",
+ $ref: "#/parameters/rowFilter.salesOrderShipment.supplierLocationId",
},
{
- $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.operationLeadTime",
+ $ref: "#/parameters/rowFilter.salesOrderShipment.companyId",
},
{
- $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.operationUnitCost",
+ $ref: "#/parameters/rowFilter.salesOrderShipment.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.operationSupplierProcessId",
+ $ref: "#/parameters/rowFilter.salesOrderShipment.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.workInstruction",
+ $ref: "#/parameters/rowFilter.salesOrderShipment.customFields",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrderShipment.assignee",
},
{
$ref: "#/parameters/select",
@@ -17658,7 +17655,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/quoteOperationsWithMakeMethods",
+ $ref: "#/definitions/salesOrderShipment",
},
type: "array",
},
@@ -17667,118 +17664,158 @@ export default {
description: "Partial Content",
},
},
- tags: ["quoteOperationsWithMakeMethods"],
+ tags: ["salesOrderShipment"],
},
- },
- "/oauthToken": {
- get: {
+ post: {
parameters: [
{
- $ref: "#/parameters/rowFilter.oauthToken.id",
+ $ref: "#/parameters/body.salesOrderShipment",
},
{
- $ref: "#/parameters/rowFilter.oauthToken.accessToken",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.oauthToken.refreshToken",
+ $ref: "#/parameters/preferPost",
+ },
+ ],
+ responses: {
+ "201": {
+ description: "Created",
},
+ },
+ tags: ["salesOrderShipment"],
+ },
+ delete: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.oauthToken.clientId",
+ $ref: "#/parameters/rowFilter.salesOrderShipment.id",
},
{
- $ref: "#/parameters/rowFilter.oauthToken.userId",
+ $ref: "#/parameters/rowFilter.salesOrderShipment.locationId",
},
{
- $ref: "#/parameters/rowFilter.oauthToken.companyId",
+ $ref: "#/parameters/rowFilter.salesOrderShipment.shippingMethodId",
},
{
- $ref: "#/parameters/rowFilter.oauthToken.createdAt",
+ $ref: "#/parameters/rowFilter.salesOrderShipment.shippingTermId",
},
{
- $ref: "#/parameters/rowFilter.oauthToken.expiresAt",
+ $ref: "#/parameters/rowFilter.salesOrderShipment.receiptRequestedDate",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.salesOrderShipment.receiptPromisedDate",
},
{
- $ref: "#/parameters/order",
+ $ref: "#/parameters/rowFilter.salesOrderShipment.deliveryDate",
},
{
- $ref: "#/parameters/range",
+ $ref: "#/parameters/rowFilter.salesOrderShipment.notes",
},
{
- $ref: "#/parameters/rangeUnit",
+ $ref: "#/parameters/rowFilter.salesOrderShipment.trackingNumber",
},
{
- $ref: "#/parameters/offset",
+ $ref: "#/parameters/rowFilter.salesOrderShipment.dropShipment",
},
{
- $ref: "#/parameters/limit",
+ $ref: "#/parameters/rowFilter.salesOrderShipment.customerId",
},
{
- $ref: "#/parameters/preferCount",
+ $ref: "#/parameters/rowFilter.salesOrderShipment.customerLocationId",
},
- ],
- responses: {
- "200": {
- description: "OK",
- schema: {
- items: {
- $ref: "#/definitions/oauthToken",
- },
- type: "array",
- },
+ {
+ $ref: "#/parameters/rowFilter.salesOrderShipment.supplierId",
},
- "206": {
- description: "Partial Content",
+ {
+ $ref: "#/parameters/rowFilter.salesOrderShipment.supplierLocationId",
},
- },
- tags: ["oauthToken"],
- },
- post: {
- parameters: [
{
- $ref: "#/parameters/body.oauthToken",
+ $ref: "#/parameters/rowFilter.salesOrderShipment.companyId",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.salesOrderShipment.updatedBy",
},
{
- $ref: "#/parameters/preferPost",
+ $ref: "#/parameters/rowFilter.salesOrderShipment.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrderShipment.customFields",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrderShipment.assignee",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
},
],
responses: {
- "201": {
- description: "Created",
+ "204": {
+ description: "No Content",
},
},
- tags: ["oauthToken"],
+ tags: ["salesOrderShipment"],
},
- delete: {
+ patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.oauthToken.id",
+ $ref: "#/parameters/rowFilter.salesOrderShipment.id",
},
{
- $ref: "#/parameters/rowFilter.oauthToken.accessToken",
+ $ref: "#/parameters/rowFilter.salesOrderShipment.locationId",
},
{
- $ref: "#/parameters/rowFilter.oauthToken.refreshToken",
+ $ref: "#/parameters/rowFilter.salesOrderShipment.shippingMethodId",
},
{
- $ref: "#/parameters/rowFilter.oauthToken.clientId",
+ $ref: "#/parameters/rowFilter.salesOrderShipment.shippingTermId",
},
{
- $ref: "#/parameters/rowFilter.oauthToken.userId",
+ $ref: "#/parameters/rowFilter.salesOrderShipment.receiptRequestedDate",
},
{
- $ref: "#/parameters/rowFilter.oauthToken.companyId",
+ $ref: "#/parameters/rowFilter.salesOrderShipment.receiptPromisedDate",
},
{
- $ref: "#/parameters/rowFilter.oauthToken.createdAt",
+ $ref: "#/parameters/rowFilter.salesOrderShipment.deliveryDate",
},
{
- $ref: "#/parameters/rowFilter.oauthToken.expiresAt",
+ $ref: "#/parameters/rowFilter.salesOrderShipment.notes",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrderShipment.trackingNumber",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrderShipment.dropShipment",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrderShipment.customerId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrderShipment.customerLocationId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrderShipment.supplierId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrderShipment.supplierLocationId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrderShipment.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrderShipment.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrderShipment.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrderShipment.customFields",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrderShipment.assignee",
+ },
+ {
+ $ref: "#/parameters/body.salesOrderShipment",
},
{
$ref: "#/parameters/preferReturn",
@@ -17789,75 +17826,113 @@ export default {
description: "No Content",
},
},
- tags: ["oauthToken"],
+ tags: ["salesOrderShipment"],
},
- patch: {
+ },
+ "/employeeSummary": {
+ get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.oauthToken.id",
+ $ref: "#/parameters/rowFilter.employeeSummary.id",
},
{
- $ref: "#/parameters/rowFilter.oauthToken.accessToken",
+ $ref: "#/parameters/rowFilter.employeeSummary.name",
},
{
- $ref: "#/parameters/rowFilter.oauthToken.refreshToken",
+ $ref: "#/parameters/rowFilter.employeeSummary.avatarUrl",
},
{
- $ref: "#/parameters/rowFilter.oauthToken.clientId",
+ $ref: "#/parameters/rowFilter.employeeSummary.companyId",
},
{
- $ref: "#/parameters/rowFilter.oauthToken.userId",
+ $ref: "#/parameters/rowFilter.employeeSummary.title",
},
{
- $ref: "#/parameters/rowFilter.oauthToken.companyId",
+ $ref: "#/parameters/rowFilter.employeeSummary.startDate",
},
{
- $ref: "#/parameters/rowFilter.oauthToken.createdAt",
+ $ref: "#/parameters/rowFilter.employeeSummary.departmentName",
},
{
- $ref: "#/parameters/rowFilter.oauthToken.expiresAt",
+ $ref: "#/parameters/rowFilter.employeeSummary.locationName",
},
{
- $ref: "#/parameters/body.oauthToken",
+ $ref: "#/parameters/rowFilter.employeeSummary.managerName",
},
{
- $ref: "#/parameters/preferReturn",
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/order",
+ },
+ {
+ $ref: "#/parameters/range",
+ },
+ {
+ $ref: "#/parameters/rangeUnit",
+ },
+ {
+ $ref: "#/parameters/offset",
+ },
+ {
+ $ref: "#/parameters/limit",
+ },
+ {
+ $ref: "#/parameters/preferCount",
},
],
responses: {
- "204": {
- description: "No Content",
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/employeeSummary",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
},
},
- tags: ["oauthToken"],
+ tags: ["employeeSummary"],
},
},
- "/supplierStatus": {
+ "/shelf": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.supplierStatus.id",
+ $ref: "#/parameters/rowFilter.shelf.id",
},
{
- $ref: "#/parameters/rowFilter.supplierStatus.name",
+ $ref: "#/parameters/rowFilter.shelf.locationId",
},
{
- $ref: "#/parameters/rowFilter.supplierStatus.companyId",
+ $ref: "#/parameters/rowFilter.shelf.warehouseId",
},
{
- $ref: "#/parameters/rowFilter.supplierStatus.createdAt",
+ $ref: "#/parameters/rowFilter.shelf.active",
},
{
- $ref: "#/parameters/rowFilter.supplierStatus.createdBy",
+ $ref: "#/parameters/rowFilter.shelf.companyId",
},
{
- $ref: "#/parameters/rowFilter.supplierStatus.updatedBy",
+ $ref: "#/parameters/rowFilter.shelf.createdBy",
},
{
- $ref: "#/parameters/rowFilter.supplierStatus.updatedAt",
+ $ref: "#/parameters/rowFilter.shelf.createdAt",
},
{
- $ref: "#/parameters/rowFilter.supplierStatus.customFields",
+ $ref: "#/parameters/rowFilter.shelf.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shelf.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shelf.customFields",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shelf.name",
},
{
$ref: "#/parameters/select",
@@ -17886,7 +17961,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/supplierStatus",
+ $ref: "#/definitions/shelf",
},
type: "array",
},
@@ -17895,12 +17970,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["supplierStatus"],
+ tags: ["shelf"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.supplierStatus",
+ $ref: "#/parameters/body.shelf",
},
{
$ref: "#/parameters/select",
@@ -17914,33 +17989,42 @@ export default {
description: "Created",
},
},
- tags: ["supplierStatus"],
+ tags: ["shelf"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.supplierStatus.id",
+ $ref: "#/parameters/rowFilter.shelf.id",
},
{
- $ref: "#/parameters/rowFilter.supplierStatus.name",
+ $ref: "#/parameters/rowFilter.shelf.locationId",
},
{
- $ref: "#/parameters/rowFilter.supplierStatus.companyId",
+ $ref: "#/parameters/rowFilter.shelf.warehouseId",
},
{
- $ref: "#/parameters/rowFilter.supplierStatus.createdAt",
+ $ref: "#/parameters/rowFilter.shelf.active",
},
{
- $ref: "#/parameters/rowFilter.supplierStatus.createdBy",
+ $ref: "#/parameters/rowFilter.shelf.companyId",
},
{
- $ref: "#/parameters/rowFilter.supplierStatus.updatedBy",
+ $ref: "#/parameters/rowFilter.shelf.createdBy",
},
{
- $ref: "#/parameters/rowFilter.supplierStatus.updatedAt",
+ $ref: "#/parameters/rowFilter.shelf.createdAt",
},
{
- $ref: "#/parameters/rowFilter.supplierStatus.customFields",
+ $ref: "#/parameters/rowFilter.shelf.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shelf.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shelf.customFields",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shelf.name",
},
{
$ref: "#/parameters/preferReturn",
@@ -17951,36 +18035,45 @@ export default {
description: "No Content",
},
},
- tags: ["supplierStatus"],
+ tags: ["shelf"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.supplierStatus.id",
+ $ref: "#/parameters/rowFilter.shelf.id",
},
{
- $ref: "#/parameters/rowFilter.supplierStatus.name",
+ $ref: "#/parameters/rowFilter.shelf.locationId",
},
{
- $ref: "#/parameters/rowFilter.supplierStatus.companyId",
+ $ref: "#/parameters/rowFilter.shelf.warehouseId",
},
{
- $ref: "#/parameters/rowFilter.supplierStatus.createdAt",
+ $ref: "#/parameters/rowFilter.shelf.active",
},
{
- $ref: "#/parameters/rowFilter.supplierStatus.createdBy",
+ $ref: "#/parameters/rowFilter.shelf.companyId",
},
{
- $ref: "#/parameters/rowFilter.supplierStatus.updatedBy",
+ $ref: "#/parameters/rowFilter.shelf.createdBy",
},
{
- $ref: "#/parameters/rowFilter.supplierStatus.updatedAt",
+ $ref: "#/parameters/rowFilter.shelf.createdAt",
},
{
- $ref: "#/parameters/rowFilter.supplierStatus.customFields",
+ $ref: "#/parameters/rowFilter.shelf.updatedBy",
},
{
- $ref: "#/parameters/body.supplierStatus",
+ $ref: "#/parameters/rowFilter.shelf.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shelf.customFields",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shelf.name",
+ },
+ {
+ $ref: "#/parameters/body.shelf",
},
{
$ref: "#/parameters/preferReturn",
@@ -17991,26 +18084,41 @@ export default {
description: "No Content",
},
},
- tags: ["supplierStatus"],
+ tags: ["shelf"],
},
},
- "/terms": {
+ "/supplierLedger": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.terms.id",
+ $ref: "#/parameters/rowFilter.supplierLedger.id",
},
{
- $ref: "#/parameters/rowFilter.terms.purchasingTerms",
+ $ref: "#/parameters/rowFilter.supplierLedger.entryNumber",
},
{
- $ref: "#/parameters/rowFilter.terms.salesTerms",
+ $ref: "#/parameters/rowFilter.supplierLedger.postingDate",
},
{
- $ref: "#/parameters/rowFilter.terms.updatedAt",
+ $ref: "#/parameters/rowFilter.supplierLedger.documentType",
},
{
- $ref: "#/parameters/rowFilter.terms.updatedBy",
+ $ref: "#/parameters/rowFilter.supplierLedger.documentId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierLedger.externalDocumentId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierLedger.supplierId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierLedger.amount",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierLedger.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierLedger.createdAt",
},
{
$ref: "#/parameters/select",
@@ -18039,7 +18147,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/terms",
+ $ref: "#/definitions/supplierLedger",
},
type: "array",
},
@@ -18048,12 +18156,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["terms"],
+ tags: ["supplierLedger"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.terms",
+ $ref: "#/parameters/body.supplierLedger",
},
{
$ref: "#/parameters/select",
@@ -18067,55 +18175,85 @@ export default {
description: "Created",
},
},
- tags: ["terms"],
+ tags: ["supplierLedger"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.terms.id",
+ $ref: "#/parameters/rowFilter.supplierLedger.id",
},
{
- $ref: "#/parameters/rowFilter.terms.purchasingTerms",
+ $ref: "#/parameters/rowFilter.supplierLedger.entryNumber",
},
{
- $ref: "#/parameters/rowFilter.terms.salesTerms",
+ $ref: "#/parameters/rowFilter.supplierLedger.postingDate",
},
{
- $ref: "#/parameters/rowFilter.terms.updatedAt",
+ $ref: "#/parameters/rowFilter.supplierLedger.documentType",
},
{
- $ref: "#/parameters/rowFilter.terms.updatedBy",
+ $ref: "#/parameters/rowFilter.supplierLedger.documentId",
},
{
- $ref: "#/parameters/preferReturn",
+ $ref: "#/parameters/rowFilter.supplierLedger.externalDocumentId",
},
- ],
- responses: {
- "204": {
- description: "No Content",
+ {
+ $ref: "#/parameters/rowFilter.supplierLedger.supplierId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierLedger.amount",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierLedger.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierLedger.createdAt",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
},
},
- tags: ["terms"],
+ tags: ["supplierLedger"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.terms.id",
+ $ref: "#/parameters/rowFilter.supplierLedger.id",
},
{
- $ref: "#/parameters/rowFilter.terms.purchasingTerms",
+ $ref: "#/parameters/rowFilter.supplierLedger.entryNumber",
},
{
- $ref: "#/parameters/rowFilter.terms.salesTerms",
+ $ref: "#/parameters/rowFilter.supplierLedger.postingDate",
},
{
- $ref: "#/parameters/rowFilter.terms.updatedAt",
+ $ref: "#/parameters/rowFilter.supplierLedger.documentType",
},
{
- $ref: "#/parameters/rowFilter.terms.updatedBy",
+ $ref: "#/parameters/rowFilter.supplierLedger.documentId",
},
{
- $ref: "#/parameters/body.terms",
+ $ref: "#/parameters/rowFilter.supplierLedger.externalDocumentId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierLedger.supplierId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierLedger.amount",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierLedger.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierLedger.createdAt",
+ },
+ {
+ $ref: "#/parameters/body.supplierLedger",
},
{
$ref: "#/parameters/preferReturn",
@@ -18126,20 +18264,98 @@ export default {
description: "No Content",
},
},
- tags: ["terms"],
+ tags: ["supplierLedger"],
},
},
- "/employeeShift": {
+ "/holidayYears": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.employeeShift.id",
+ $ref: "#/parameters/rowFilter.holidayYears.year",
},
{
- $ref: "#/parameters/rowFilter.employeeShift.employeeId",
+ $ref: "#/parameters/rowFilter.holidayYears.companyId",
},
{
- $ref: "#/parameters/rowFilter.employeeShift.shiftId",
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/order",
+ },
+ {
+ $ref: "#/parameters/range",
+ },
+ {
+ $ref: "#/parameters/rangeUnit",
+ },
+ {
+ $ref: "#/parameters/offset",
+ },
+ {
+ $ref: "#/parameters/limit",
+ },
+ {
+ $ref: "#/parameters/preferCount",
+ },
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/holidayYears",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
+ },
+ },
+ tags: ["holidayYears"],
+ },
+ },
+ "/itemUnitSalePrice": {
+ get: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.itemId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.unitSalePrice",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.currencyCode",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.salesUnitOfMeasureCode",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.salesBlocked",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.priceIncludesTax",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.allowInvoiceDiscount",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.customFields",
},
{
$ref: "#/parameters/select",
@@ -18168,7 +18384,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/employeeShift",
+ $ref: "#/definitions/itemUnitSalePrice",
},
type: "array",
},
@@ -18177,12 +18393,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["employeeShift"],
+ tags: ["itemUnitSalePrice"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.employeeShift",
+ $ref: "#/parameters/body.itemUnitSalePrice",
},
{
$ref: "#/parameters/select",
@@ -18196,18 +18412,48 @@ export default {
description: "Created",
},
},
- tags: ["employeeShift"],
+ tags: ["itemUnitSalePrice"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.employeeShift.id",
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.itemId",
},
{
- $ref: "#/parameters/rowFilter.employeeShift.employeeId",
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.unitSalePrice",
},
{
- $ref: "#/parameters/rowFilter.employeeShift.shiftId",
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.currencyCode",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.salesUnitOfMeasureCode",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.salesBlocked",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.priceIncludesTax",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.allowInvoiceDiscount",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.customFields",
},
{
$ref: "#/parameters/preferReturn",
@@ -18218,21 +18464,51 @@ export default {
description: "No Content",
},
},
- tags: ["employeeShift"],
+ tags: ["itemUnitSalePrice"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.employeeShift.id",
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.itemId",
},
{
- $ref: "#/parameters/rowFilter.employeeShift.employeeId",
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.unitSalePrice",
},
{
- $ref: "#/parameters/rowFilter.employeeShift.shiftId",
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.currencyCode",
},
{
- $ref: "#/parameters/body.employeeShift",
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.salesUnitOfMeasureCode",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.salesBlocked",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.priceIncludesTax",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.allowInvoiceDiscount",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemUnitSalePrice.customFields",
+ },
+ {
+ $ref: "#/parameters/body.itemUnitSalePrice",
},
{
$ref: "#/parameters/preferReturn",
@@ -18243,86 +18519,95 @@ export default {
description: "No Content",
},
},
- tags: ["employeeShift"],
+ tags: ["itemUnitSalePrice"],
},
},
- "/quote": {
+ "/job": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.quote.id",
+ $ref: "#/parameters/rowFilter.job.id",
},
{
- $ref: "#/parameters/rowFilter.quote.quoteId",
+ $ref: "#/parameters/rowFilter.job.jobId",
},
{
- $ref: "#/parameters/rowFilter.quote.revisionId",
+ $ref: "#/parameters/rowFilter.job.itemId",
},
{
- $ref: "#/parameters/rowFilter.quote.dueDate",
+ $ref: "#/parameters/rowFilter.job.unitOfMeasureCode",
},
{
- $ref: "#/parameters/rowFilter.quote.expirationDate",
+ $ref: "#/parameters/rowFilter.job.customerId",
},
{
- $ref: "#/parameters/rowFilter.quote.status",
+ $ref: "#/parameters/rowFilter.job.locationId",
},
{
- $ref: "#/parameters/rowFilter.quote.salesPersonId",
+ $ref: "#/parameters/rowFilter.job.status",
},
{
- $ref: "#/parameters/rowFilter.quote.estimatorId",
+ $ref: "#/parameters/rowFilter.job.dueDate",
},
{
- $ref: "#/parameters/rowFilter.quote.customerId",
+ $ref: "#/parameters/rowFilter.job.deadlineType",
},
{
- $ref: "#/parameters/rowFilter.quote.customerLocationId",
+ $ref: "#/parameters/rowFilter.job.quantity",
},
{
- $ref: "#/parameters/rowFilter.quote.customerContactId",
+ $ref: "#/parameters/rowFilter.job.scrapQuantity",
},
{
- $ref: "#/parameters/rowFilter.quote.customerReference",
+ $ref: "#/parameters/rowFilter.job.productionQuantity",
},
{
- $ref: "#/parameters/rowFilter.quote.locationId",
+ $ref: "#/parameters/rowFilter.job.quantityComplete",
},
{
- $ref: "#/parameters/rowFilter.quote.assignee",
+ $ref: "#/parameters/rowFilter.job.quantityShipped",
},
{
- $ref: "#/parameters/rowFilter.quote.customFields",
+ $ref: "#/parameters/rowFilter.job.quantityReceivedToInventory",
},
{
- $ref: "#/parameters/rowFilter.quote.companyId",
+ $ref: "#/parameters/rowFilter.job.salesOrderId",
},
{
- $ref: "#/parameters/rowFilter.quote.createdAt",
+ $ref: "#/parameters/rowFilter.job.salesOrderLineId",
},
{
- $ref: "#/parameters/rowFilter.quote.createdBy",
+ $ref: "#/parameters/rowFilter.job.quoteId",
},
{
- $ref: "#/parameters/rowFilter.quote.updatedAt",
+ $ref: "#/parameters/rowFilter.job.quoteLineId",
},
{
- $ref: "#/parameters/rowFilter.quote.updatedBy",
+ $ref: "#/parameters/rowFilter.job.modelUploadId",
},
{
- $ref: "#/parameters/rowFilter.quote.externalNotes",
+ $ref: "#/parameters/rowFilter.job.notes",
},
{
- $ref: "#/parameters/rowFilter.quote.internalNotes",
+ $ref: "#/parameters/rowFilter.job.assignee",
},
{
- $ref: "#/parameters/rowFilter.quote.currencyCode",
+ $ref: "#/parameters/rowFilter.job.customFields",
},
{
- $ref: "#/parameters/rowFilter.quote.exchangeRate",
+ $ref: "#/parameters/rowFilter.job.companyId",
},
{
- $ref: "#/parameters/rowFilter.quote.exchangeRateUpdatedAt",
+ $ref: "#/parameters/rowFilter.job.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.job.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.job.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.job.updatedBy",
},
{
$ref: "#/parameters/select",
@@ -18351,7 +18636,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/quote",
+ $ref: "#/definitions/job",
},
type: "array",
},
@@ -18360,12 +18645,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["quote"],
+ tags: ["job"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.quote",
+ $ref: "#/parameters/body.job",
},
{
$ref: "#/parameters/select",
@@ -18379,84 +18664,93 @@ export default {
description: "Created",
},
},
- tags: ["quote"],
+ tags: ["job"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.quote.id",
+ $ref: "#/parameters/rowFilter.job.id",
},
{
- $ref: "#/parameters/rowFilter.quote.quoteId",
+ $ref: "#/parameters/rowFilter.job.jobId",
},
{
- $ref: "#/parameters/rowFilter.quote.revisionId",
+ $ref: "#/parameters/rowFilter.job.itemId",
},
{
- $ref: "#/parameters/rowFilter.quote.dueDate",
+ $ref: "#/parameters/rowFilter.job.unitOfMeasureCode",
},
{
- $ref: "#/parameters/rowFilter.quote.expirationDate",
+ $ref: "#/parameters/rowFilter.job.customerId",
},
{
- $ref: "#/parameters/rowFilter.quote.status",
+ $ref: "#/parameters/rowFilter.job.locationId",
},
{
- $ref: "#/parameters/rowFilter.quote.salesPersonId",
+ $ref: "#/parameters/rowFilter.job.status",
},
{
- $ref: "#/parameters/rowFilter.quote.estimatorId",
+ $ref: "#/parameters/rowFilter.job.dueDate",
},
{
- $ref: "#/parameters/rowFilter.quote.customerId",
+ $ref: "#/parameters/rowFilter.job.deadlineType",
},
{
- $ref: "#/parameters/rowFilter.quote.customerLocationId",
+ $ref: "#/parameters/rowFilter.job.quantity",
},
{
- $ref: "#/parameters/rowFilter.quote.customerContactId",
+ $ref: "#/parameters/rowFilter.job.scrapQuantity",
},
{
- $ref: "#/parameters/rowFilter.quote.customerReference",
+ $ref: "#/parameters/rowFilter.job.productionQuantity",
},
{
- $ref: "#/parameters/rowFilter.quote.locationId",
+ $ref: "#/parameters/rowFilter.job.quantityComplete",
},
{
- $ref: "#/parameters/rowFilter.quote.assignee",
+ $ref: "#/parameters/rowFilter.job.quantityShipped",
},
{
- $ref: "#/parameters/rowFilter.quote.customFields",
+ $ref: "#/parameters/rowFilter.job.quantityReceivedToInventory",
},
{
- $ref: "#/parameters/rowFilter.quote.companyId",
+ $ref: "#/parameters/rowFilter.job.salesOrderId",
},
{
- $ref: "#/parameters/rowFilter.quote.createdAt",
+ $ref: "#/parameters/rowFilter.job.salesOrderLineId",
},
{
- $ref: "#/parameters/rowFilter.quote.createdBy",
+ $ref: "#/parameters/rowFilter.job.quoteId",
},
{
- $ref: "#/parameters/rowFilter.quote.updatedAt",
+ $ref: "#/parameters/rowFilter.job.quoteLineId",
},
{
- $ref: "#/parameters/rowFilter.quote.updatedBy",
+ $ref: "#/parameters/rowFilter.job.modelUploadId",
},
{
- $ref: "#/parameters/rowFilter.quote.externalNotes",
+ $ref: "#/parameters/rowFilter.job.notes",
},
{
- $ref: "#/parameters/rowFilter.quote.internalNotes",
+ $ref: "#/parameters/rowFilter.job.assignee",
},
{
- $ref: "#/parameters/rowFilter.quote.currencyCode",
+ $ref: "#/parameters/rowFilter.job.customFields",
},
{
- $ref: "#/parameters/rowFilter.quote.exchangeRate",
+ $ref: "#/parameters/rowFilter.job.companyId",
},
{
- $ref: "#/parameters/rowFilter.quote.exchangeRateUpdatedAt",
+ $ref: "#/parameters/rowFilter.job.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.job.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.job.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.job.updatedBy",
},
{
$ref: "#/parameters/preferReturn",
@@ -18467,87 +18761,96 @@ export default {
description: "No Content",
},
},
- tags: ["quote"],
+ tags: ["job"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.quote.id",
+ $ref: "#/parameters/rowFilter.job.id",
},
{
- $ref: "#/parameters/rowFilter.quote.quoteId",
+ $ref: "#/parameters/rowFilter.job.jobId",
},
{
- $ref: "#/parameters/rowFilter.quote.revisionId",
+ $ref: "#/parameters/rowFilter.job.itemId",
},
{
- $ref: "#/parameters/rowFilter.quote.dueDate",
+ $ref: "#/parameters/rowFilter.job.unitOfMeasureCode",
},
{
- $ref: "#/parameters/rowFilter.quote.expirationDate",
+ $ref: "#/parameters/rowFilter.job.customerId",
},
{
- $ref: "#/parameters/rowFilter.quote.status",
+ $ref: "#/parameters/rowFilter.job.locationId",
},
{
- $ref: "#/parameters/rowFilter.quote.salesPersonId",
+ $ref: "#/parameters/rowFilter.job.status",
},
{
- $ref: "#/parameters/rowFilter.quote.estimatorId",
+ $ref: "#/parameters/rowFilter.job.dueDate",
},
{
- $ref: "#/parameters/rowFilter.quote.customerId",
+ $ref: "#/parameters/rowFilter.job.deadlineType",
},
{
- $ref: "#/parameters/rowFilter.quote.customerLocationId",
+ $ref: "#/parameters/rowFilter.job.quantity",
},
{
- $ref: "#/parameters/rowFilter.quote.customerContactId",
+ $ref: "#/parameters/rowFilter.job.scrapQuantity",
},
{
- $ref: "#/parameters/rowFilter.quote.customerReference",
+ $ref: "#/parameters/rowFilter.job.productionQuantity",
},
{
- $ref: "#/parameters/rowFilter.quote.locationId",
+ $ref: "#/parameters/rowFilter.job.quantityComplete",
},
{
- $ref: "#/parameters/rowFilter.quote.assignee",
+ $ref: "#/parameters/rowFilter.job.quantityShipped",
},
{
- $ref: "#/parameters/rowFilter.quote.customFields",
+ $ref: "#/parameters/rowFilter.job.quantityReceivedToInventory",
},
{
- $ref: "#/parameters/rowFilter.quote.companyId",
+ $ref: "#/parameters/rowFilter.job.salesOrderId",
},
{
- $ref: "#/parameters/rowFilter.quote.createdAt",
+ $ref: "#/parameters/rowFilter.job.salesOrderLineId",
},
{
- $ref: "#/parameters/rowFilter.quote.createdBy",
+ $ref: "#/parameters/rowFilter.job.quoteId",
},
{
- $ref: "#/parameters/rowFilter.quote.updatedAt",
+ $ref: "#/parameters/rowFilter.job.quoteLineId",
},
{
- $ref: "#/parameters/rowFilter.quote.updatedBy",
+ $ref: "#/parameters/rowFilter.job.modelUploadId",
},
{
- $ref: "#/parameters/rowFilter.quote.externalNotes",
+ $ref: "#/parameters/rowFilter.job.notes",
},
{
- $ref: "#/parameters/rowFilter.quote.internalNotes",
+ $ref: "#/parameters/rowFilter.job.assignee",
},
{
- $ref: "#/parameters/rowFilter.quote.currencyCode",
+ $ref: "#/parameters/rowFilter.job.customFields",
},
{
- $ref: "#/parameters/rowFilter.quote.exchangeRate",
+ $ref: "#/parameters/rowFilter.job.companyId",
},
{
- $ref: "#/parameters/rowFilter.quote.exchangeRateUpdatedAt",
+ $ref: "#/parameters/rowFilter.job.createdAt",
},
{
- $ref: "#/parameters/body.quote",
+ $ref: "#/parameters/rowFilter.job.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.job.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.job.updatedBy",
+ },
+ {
+ $ref: "#/parameters/body.job",
},
{
$ref: "#/parameters/preferReturn",
@@ -18558,47 +18861,17 @@ export default {
description: "No Content",
},
},
- tags: ["quote"],
+ tags: ["job"],
},
},
- "/user": {
+ "/purchaseOrderFavorite": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.user.id",
- },
- {
- $ref: "#/parameters/rowFilter.user.email",
- },
- {
- $ref: "#/parameters/rowFilter.user.firstName",
- },
- {
- $ref: "#/parameters/rowFilter.user.lastName",
- },
- {
- $ref: "#/parameters/rowFilter.user.fullName",
- },
- {
- $ref: "#/parameters/rowFilter.user.about",
- },
- {
- $ref: "#/parameters/rowFilter.user.avatarUrl",
- },
- {
- $ref: "#/parameters/rowFilter.user.active",
- },
- {
- $ref: "#/parameters/rowFilter.user.createdAt",
- },
- {
- $ref: "#/parameters/rowFilter.user.updatedAt",
- },
- {
- $ref: "#/parameters/rowFilter.user.developer",
+ $ref: "#/parameters/rowFilter.purchaseOrderFavorite.purchaseOrderId",
},
{
- $ref: "#/parameters/rowFilter.user.admin",
+ $ref: "#/parameters/rowFilter.purchaseOrderFavorite.userId",
},
{
$ref: "#/parameters/select",
@@ -18627,7 +18900,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/user",
+ $ref: "#/definitions/purchaseOrderFavorite",
},
type: "array",
},
@@ -18636,12 +18909,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["user"],
+ tags: ["purchaseOrderFavorite"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.user",
+ $ref: "#/parameters/body.purchaseOrderFavorite",
},
{
$ref: "#/parameters/select",
@@ -18655,45 +18928,37 @@ export default {
description: "Created",
},
},
- tags: ["user"],
+ tags: ["purchaseOrderFavorite"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.user.id",
- },
- {
- $ref: "#/parameters/rowFilter.user.email",
- },
- {
- $ref: "#/parameters/rowFilter.user.firstName",
- },
- {
- $ref: "#/parameters/rowFilter.user.lastName",
- },
- {
- $ref: "#/parameters/rowFilter.user.fullName",
- },
- {
- $ref: "#/parameters/rowFilter.user.about",
+ $ref: "#/parameters/rowFilter.purchaseOrderFavorite.purchaseOrderId",
},
{
- $ref: "#/parameters/rowFilter.user.avatarUrl",
+ $ref: "#/parameters/rowFilter.purchaseOrderFavorite.userId",
},
{
- $ref: "#/parameters/rowFilter.user.active",
+ $ref: "#/parameters/preferReturn",
},
- {
- $ref: "#/parameters/rowFilter.user.createdAt",
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
},
+ },
+ tags: ["purchaseOrderFavorite"],
+ },
+ patch: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.user.updatedAt",
+ $ref: "#/parameters/rowFilter.purchaseOrderFavorite.purchaseOrderId",
},
{
- $ref: "#/parameters/rowFilter.user.developer",
+ $ref: "#/parameters/rowFilter.purchaseOrderFavorite.userId",
},
{
- $ref: "#/parameters/rowFilter.user.admin",
+ $ref: "#/parameters/body.purchaseOrderFavorite",
},
{
$ref: "#/parameters/preferReturn",
@@ -18704,87 +18969,125 @@ export default {
description: "No Content",
},
},
- tags: ["user"],
+ tags: ["purchaseOrderFavorite"],
},
- patch: {
+ },
+ "/consumables": {
+ get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.user.id",
+ $ref: "#/parameters/rowFilter.consumables.active",
},
{
- $ref: "#/parameters/rowFilter.user.email",
+ $ref: "#/parameters/rowFilter.consumables.assignee",
},
{
- $ref: "#/parameters/rowFilter.user.firstName",
+ $ref: "#/parameters/rowFilter.consumables.defaultMethodType",
},
{
- $ref: "#/parameters/rowFilter.user.lastName",
+ $ref: "#/parameters/rowFilter.consumables.description",
},
{
- $ref: "#/parameters/rowFilter.user.fullName",
+ $ref: "#/parameters/rowFilter.consumables.itemTrackingType",
},
{
- $ref: "#/parameters/rowFilter.user.about",
+ $ref: "#/parameters/rowFilter.consumables.name",
},
{
- $ref: "#/parameters/rowFilter.user.avatarUrl",
+ $ref: "#/parameters/rowFilter.consumables.replenishmentSystem",
},
{
- $ref: "#/parameters/rowFilter.user.active",
+ $ref: "#/parameters/rowFilter.consumables.thumbnailPath",
},
{
- $ref: "#/parameters/rowFilter.user.createdAt",
+ $ref: "#/parameters/rowFilter.consumables.unitOfMeasureCode",
},
{
- $ref: "#/parameters/rowFilter.user.updatedAt",
+ $ref: "#/parameters/rowFilter.consumables.id",
},
{
- $ref: "#/parameters/rowFilter.user.developer",
+ $ref: "#/parameters/rowFilter.consumables.itemId",
},
{
- $ref: "#/parameters/rowFilter.user.admin",
+ $ref: "#/parameters/rowFilter.consumables.approved",
},
{
- $ref: "#/parameters/body.user",
+ $ref: "#/parameters/rowFilter.consumables.approvedBy",
},
{
- $ref: "#/parameters/preferReturn",
+ $ref: "#/parameters/rowFilter.consumables.customFields",
},
- ],
- responses: {
- "204": {
- description: "No Content",
+ {
+ $ref: "#/parameters/rowFilter.consumables.companyId",
},
- },
- tags: ["user"],
- },
- },
- "/quoteShipment": {
- get: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.quoteShipment.id",
+ $ref: "#/parameters/rowFilter.consumables.createdBy",
},
{
- $ref: "#/parameters/rowFilter.quoteShipment.locationId",
+ $ref: "#/parameters/rowFilter.consumables.createdAt",
},
{
- $ref: "#/parameters/rowFilter.quoteShipment.shippingMethodId",
+ $ref: "#/parameters/rowFilter.consumables.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.quoteShipment.shippingTermId",
+ $ref: "#/parameters/rowFilter.consumables.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.quoteShipment.receiptRequestedDate",
+ $ref: "#/parameters/rowFilter.consumables.externalId",
},
{
- $ref: "#/parameters/rowFilter.quoteShipment.companyId",
+ $ref: "#/parameters/rowFilter.consumables.supplierIds",
},
{
- $ref: "#/parameters/rowFilter.quoteShipment.updatedBy",
+ $ref: "#/parameters/rowFilter.consumables.unitOfMeasure",
},
{
- $ref: "#/parameters/rowFilter.quoteShipment.updatedAt",
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/order",
+ },
+ {
+ $ref: "#/parameters/range",
+ },
+ {
+ $ref: "#/parameters/rangeUnit",
+ },
+ {
+ $ref: "#/parameters/offset",
+ },
+ {
+ $ref: "#/parameters/limit",
+ },
+ {
+ $ref: "#/parameters/preferCount",
+ },
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/consumables",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
+ },
+ },
+ tags: ["consumables"],
+ },
+ },
+ "/quoteFavorite": {
+ get: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.quoteFavorite.quoteId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteFavorite.userId",
},
{
$ref: "#/parameters/select",
@@ -18813,7 +19116,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/quoteShipment",
+ $ref: "#/definitions/quoteFavorite",
},
type: "array",
},
@@ -18822,12 +19125,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["quoteShipment"],
+ tags: ["quoteFavorite"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.quoteShipment",
+ $ref: "#/parameters/body.quoteFavorite",
},
{
$ref: "#/parameters/select",
@@ -18841,33 +19144,37 @@ export default {
description: "Created",
},
},
- tags: ["quoteShipment"],
+ tags: ["quoteFavorite"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.quoteShipment.id",
- },
- {
- $ref: "#/parameters/rowFilter.quoteShipment.locationId",
+ $ref: "#/parameters/rowFilter.quoteFavorite.quoteId",
},
{
- $ref: "#/parameters/rowFilter.quoteShipment.shippingMethodId",
+ $ref: "#/parameters/rowFilter.quoteFavorite.userId",
},
{
- $ref: "#/parameters/rowFilter.quoteShipment.shippingTermId",
+ $ref: "#/parameters/preferReturn",
},
- {
- $ref: "#/parameters/rowFilter.quoteShipment.receiptRequestedDate",
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
},
+ },
+ tags: ["quoteFavorite"],
+ },
+ patch: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.quoteShipment.companyId",
+ $ref: "#/parameters/rowFilter.quoteFavorite.quoteId",
},
{
- $ref: "#/parameters/rowFilter.quoteShipment.updatedBy",
+ $ref: "#/parameters/rowFilter.quoteFavorite.userId",
},
{
- $ref: "#/parameters/rowFilter.quoteShipment.updatedAt",
+ $ref: "#/parameters/body.quoteFavorite",
},
{
$ref: "#/parameters/preferReturn",
@@ -18878,84 +19185,71 @@ export default {
description: "No Content",
},
},
- tags: ["quoteShipment"],
+ tags: ["quoteFavorite"],
},
- patch: {
+ },
+ "/shifts": {
+ get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.quoteShipment.id",
- },
- {
- $ref: "#/parameters/rowFilter.quoteShipment.locationId",
+ $ref: "#/parameters/rowFilter.shifts.id",
},
{
- $ref: "#/parameters/rowFilter.quoteShipment.shippingMethodId",
+ $ref: "#/parameters/rowFilter.shifts.name",
},
{
- $ref: "#/parameters/rowFilter.quoteShipment.shippingTermId",
+ $ref: "#/parameters/rowFilter.shifts.startTime",
},
{
- $ref: "#/parameters/rowFilter.quoteShipment.receiptRequestedDate",
+ $ref: "#/parameters/rowFilter.shifts.endTime",
},
{
- $ref: "#/parameters/rowFilter.quoteShipment.companyId",
+ $ref: "#/parameters/rowFilter.shifts.locationId",
},
{
- $ref: "#/parameters/rowFilter.quoteShipment.updatedBy",
+ $ref: "#/parameters/rowFilter.shifts.sunday",
},
{
- $ref: "#/parameters/rowFilter.quoteShipment.updatedAt",
+ $ref: "#/parameters/rowFilter.shifts.monday",
},
{
- $ref: "#/parameters/body.quoteShipment",
+ $ref: "#/parameters/rowFilter.shifts.tuesday",
},
{
- $ref: "#/parameters/preferReturn",
- },
- ],
- responses: {
- "204": {
- description: "No Content",
+ $ref: "#/parameters/rowFilter.shifts.wednesday",
},
- },
- tags: ["quoteShipment"],
- },
- },
- "/modelUpload": {
- get: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.modelUpload.id",
+ $ref: "#/parameters/rowFilter.shifts.thursday",
},
{
- $ref: "#/parameters/rowFilter.modelUpload.name",
+ $ref: "#/parameters/rowFilter.shifts.friday",
},
{
- $ref: "#/parameters/rowFilter.modelUpload.size",
+ $ref: "#/parameters/rowFilter.shifts.saturday",
},
{
- $ref: "#/parameters/rowFilter.modelUpload.modelPath",
+ $ref: "#/parameters/rowFilter.shifts.active",
},
{
- $ref: "#/parameters/rowFilter.modelUpload.autodeskUrn",
+ $ref: "#/parameters/rowFilter.shifts.companyId",
},
{
- $ref: "#/parameters/rowFilter.modelUpload.companyId",
+ $ref: "#/parameters/rowFilter.shifts.createdBy",
},
{
- $ref: "#/parameters/rowFilter.modelUpload.createdAt",
+ $ref: "#/parameters/rowFilter.shifts.createdAt",
},
{
- $ref: "#/parameters/rowFilter.modelUpload.createdBy",
+ $ref: "#/parameters/rowFilter.shifts.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.modelUpload.updatedAt",
+ $ref: "#/parameters/rowFilter.shifts.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.modelUpload.updatedBy",
+ $ref: "#/parameters/rowFilter.shifts.customFields",
},
{
- $ref: "#/parameters/rowFilter.modelUpload.thumbnailPath",
+ $ref: "#/parameters/rowFilter.shifts.locationName",
},
{
$ref: "#/parameters/select",
@@ -18984,7 +19278,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/modelUpload",
+ $ref: "#/definitions/shifts",
},
type: "array",
},
@@ -18993,140 +19287,89 @@ export default {
description: "Partial Content",
},
},
- tags: ["modelUpload"],
- },
- post: {
- parameters: [
- {
- $ref: "#/parameters/body.modelUpload",
- },
- {
- $ref: "#/parameters/select",
- },
- {
- $ref: "#/parameters/preferPost",
- },
- ],
- responses: {
- "201": {
- description: "Created",
- },
- },
- tags: ["modelUpload"],
+ tags: ["shifts"],
},
- delete: {
+ },
+ "/purchaseOrderLocations": {
+ get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.modelUpload.id",
- },
- {
- $ref: "#/parameters/rowFilter.modelUpload.name",
- },
- {
- $ref: "#/parameters/rowFilter.modelUpload.size",
- },
- {
- $ref: "#/parameters/rowFilter.modelUpload.modelPath",
- },
- {
- $ref: "#/parameters/rowFilter.modelUpload.autodeskUrn",
+ $ref: "#/parameters/rowFilter.purchaseOrderLocations.id",
},
{
- $ref: "#/parameters/rowFilter.modelUpload.companyId",
+ $ref: "#/parameters/rowFilter.purchaseOrderLocations.supplierName",
},
{
- $ref: "#/parameters/rowFilter.modelUpload.createdAt",
+ $ref: "#/parameters/rowFilter.purchaseOrderLocations.supplierAddressLine1",
},
{
- $ref: "#/parameters/rowFilter.modelUpload.createdBy",
+ $ref: "#/parameters/rowFilter.purchaseOrderLocations.supplierAddressLine2",
},
{
- $ref: "#/parameters/rowFilter.modelUpload.updatedAt",
+ $ref: "#/parameters/rowFilter.purchaseOrderLocations.supplierCity",
},
{
- $ref: "#/parameters/rowFilter.modelUpload.updatedBy",
+ $ref: "#/parameters/rowFilter.purchaseOrderLocations.supplierStateProvince",
},
{
- $ref: "#/parameters/rowFilter.modelUpload.thumbnailPath",
+ $ref: "#/parameters/rowFilter.purchaseOrderLocations.supplierPostalCode",
},
{
- $ref: "#/parameters/preferReturn",
- },
- ],
- responses: {
- "204": {
- description: "No Content",
+ $ref: "#/parameters/rowFilter.purchaseOrderLocations.supplierCountryCode",
},
- },
- tags: ["modelUpload"],
- },
- patch: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.modelUpload.id",
+ $ref: "#/parameters/rowFilter.purchaseOrderLocations.supplierCountryName",
},
{
- $ref: "#/parameters/rowFilter.modelUpload.name",
+ $ref: "#/parameters/rowFilter.purchaseOrderLocations.deliveryName",
},
{
- $ref: "#/parameters/rowFilter.modelUpload.size",
+ $ref: "#/parameters/rowFilter.purchaseOrderLocations.deliveryAddressLine1",
},
{
- $ref: "#/parameters/rowFilter.modelUpload.modelPath",
+ $ref: "#/parameters/rowFilter.purchaseOrderLocations.deliveryAddressLine2",
},
{
- $ref: "#/parameters/rowFilter.modelUpload.autodeskUrn",
+ $ref: "#/parameters/rowFilter.purchaseOrderLocations.deliveryCity",
},
{
- $ref: "#/parameters/rowFilter.modelUpload.companyId",
+ $ref: "#/parameters/rowFilter.purchaseOrderLocations.deliveryStateProvince",
},
{
- $ref: "#/parameters/rowFilter.modelUpload.createdAt",
+ $ref: "#/parameters/rowFilter.purchaseOrderLocations.deliveryPostalCode",
},
{
- $ref: "#/parameters/rowFilter.modelUpload.createdBy",
+ $ref: "#/parameters/rowFilter.purchaseOrderLocations.deliveryCountryCode",
},
{
- $ref: "#/parameters/rowFilter.modelUpload.updatedAt",
+ $ref: "#/parameters/rowFilter.purchaseOrderLocations.deliveryCountryName",
},
{
- $ref: "#/parameters/rowFilter.modelUpload.updatedBy",
+ $ref: "#/parameters/rowFilter.purchaseOrderLocations.dropShipment",
},
{
- $ref: "#/parameters/rowFilter.modelUpload.thumbnailPath",
+ $ref: "#/parameters/rowFilter.purchaseOrderLocations.customerName",
},
{
- $ref: "#/parameters/body.modelUpload",
+ $ref: "#/parameters/rowFilter.purchaseOrderLocations.customerAddressLine1",
},
{
- $ref: "#/parameters/preferReturn",
- },
- ],
- responses: {
- "204": {
- description: "No Content",
+ $ref: "#/parameters/rowFilter.purchaseOrderLocations.customerAddressLine2",
},
- },
- tags: ["modelUpload"],
- },
- },
- "/purchaseOrderStatusHistory": {
- get: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.purchaseOrderStatusHistory.id",
+ $ref: "#/parameters/rowFilter.purchaseOrderLocations.customerCity",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderStatusHistory.purchaseOrderId",
+ $ref: "#/parameters/rowFilter.purchaseOrderLocations.customerStateProvince",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderStatusHistory.status",
+ $ref: "#/parameters/rowFilter.purchaseOrderLocations.customerPostalCode",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderStatusHistory.createdAt",
+ $ref: "#/parameters/rowFilter.purchaseOrderLocations.customerCountryCode",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderStatusHistory.createdBy",
+ $ref: "#/parameters/rowFilter.purchaseOrderLocations.customerCountryName",
},
{
$ref: "#/parameters/select",
@@ -19155,7 +19398,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/purchaseOrderStatusHistory",
+ $ref: "#/definitions/purchaseOrderLocations",
},
type: "array",
},
@@ -19164,125 +19407,104 @@ export default {
description: "Partial Content",
},
},
- tags: ["purchaseOrderStatusHistory"],
+ tags: ["purchaseOrderLocations"],
},
- post: {
+ },
+ "/quoteLines": {
+ get: {
parameters: [
{
- $ref: "#/parameters/body.purchaseOrderStatusHistory",
+ $ref: "#/parameters/rowFilter.quoteLines.id",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.quoteLines.quoteId",
},
{
- $ref: "#/parameters/preferPost",
+ $ref: "#/parameters/rowFilter.quoteLines.quoteRevisionId",
},
- ],
- responses: {
- "201": {
- description: "Created",
+ {
+ $ref: "#/parameters/rowFilter.quoteLines.status",
},
- },
- tags: ["purchaseOrderStatusHistory"],
- },
- delete: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.purchaseOrderStatusHistory.id",
+ $ref: "#/parameters/rowFilter.quoteLines.estimatorId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderStatusHistory.purchaseOrderId",
+ $ref: "#/parameters/rowFilter.quoteLines.itemId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderStatusHistory.status",
+ $ref: "#/parameters/rowFilter.quoteLines.itemReadableId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderStatusHistory.createdAt",
+ $ref: "#/parameters/rowFilter.quoteLines.itemType",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderStatusHistory.createdBy",
+ $ref: "#/parameters/rowFilter.quoteLines.description",
},
{
- $ref: "#/parameters/preferReturn",
+ $ref: "#/parameters/rowFilter.quoteLines.customerPartId",
},
- ],
- responses: {
- "204": {
- description: "No Content",
+ {
+ $ref: "#/parameters/rowFilter.quoteLines.customerPartRevision",
},
- },
- tags: ["purchaseOrderStatusHistory"],
- },
- patch: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.purchaseOrderStatusHistory.id",
+ $ref: "#/parameters/rowFilter.quoteLines.methodType",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderStatusHistory.purchaseOrderId",
+ $ref: "#/parameters/rowFilter.quoteLines.unitOfMeasureCode",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderStatusHistory.status",
+ $ref: "#/parameters/rowFilter.quoteLines.notes",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderStatusHistory.createdAt",
+ $ref: "#/parameters/rowFilter.quoteLines.companyId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderStatusHistory.createdBy",
+ $ref: "#/parameters/rowFilter.quoteLines.createdBy",
},
{
- $ref: "#/parameters/body.purchaseOrderStatusHistory",
+ $ref: "#/parameters/rowFilter.quoteLines.updatedAt",
},
{
- $ref: "#/parameters/preferReturn",
+ $ref: "#/parameters/rowFilter.quoteLines.updatedBy",
},
- ],
- responses: {
- "204": {
- description: "No Content",
+ {
+ $ref: "#/parameters/rowFilter.quoteLines.customFields",
},
- },
- tags: ["purchaseOrderStatusHistory"],
- },
- },
- "/contractors": {
- get: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.contractors.supplierContactId",
+ $ref: "#/parameters/rowFilter.quoteLines.modelUploadId",
},
{
- $ref: "#/parameters/rowFilter.contractors.active",
+ $ref: "#/parameters/rowFilter.quoteLines.quantity",
},
{
- $ref: "#/parameters/rowFilter.contractors.hoursPerWeek",
+ $ref: "#/parameters/rowFilter.quoteLines.additionalCharges",
},
{
- $ref: "#/parameters/rowFilter.contractors.companyId",
+ $ref: "#/parameters/rowFilter.quoteLines.locationId",
},
{
- $ref: "#/parameters/rowFilter.contractors.customFields",
+ $ref: "#/parameters/rowFilter.quoteLines.noQuoteReason",
},
{
- $ref: "#/parameters/rowFilter.contractors.supplierId",
+ $ref: "#/parameters/rowFilter.quoteLines.thumbnailPath",
},
{
- $ref: "#/parameters/rowFilter.contractors.supplierName",
+ $ref: "#/parameters/rowFilter.quoteLines.modelId",
},
{
- $ref: "#/parameters/rowFilter.contractors.fullName",
+ $ref: "#/parameters/rowFilter.quoteLines.autodeskUrn",
},
{
- $ref: "#/parameters/rowFilter.contractors.firstName",
+ $ref: "#/parameters/rowFilter.quoteLines.modelPath",
},
{
- $ref: "#/parameters/rowFilter.contractors.lastName",
+ $ref: "#/parameters/rowFilter.quoteLines.modelName",
},
{
- $ref: "#/parameters/rowFilter.contractors.email",
+ $ref: "#/parameters/rowFilter.quoteLines.modelSize",
},
{
- $ref: "#/parameters/rowFilter.contractors.abilityIds",
+ $ref: "#/parameters/rowFilter.quoteLines.unitCost",
},
{
$ref: "#/parameters/select",
@@ -19311,7 +19533,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/contractors",
+ $ref: "#/definitions/quoteLines",
},
type: "array",
},
@@ -19320,26 +19542,68 @@ export default {
description: "Partial Content",
},
},
- tags: ["contractors"],
+ tags: ["quoteLines"],
},
},
- "/salesOrderStatusHistory": {
+ "/customer": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.salesOrderStatusHistory.id",
+ $ref: "#/parameters/rowFilter.customer.id",
},
{
- $ref: "#/parameters/rowFilter.salesOrderStatusHistory.salesOrderId",
+ $ref: "#/parameters/rowFilter.customer.name",
},
{
- $ref: "#/parameters/rowFilter.salesOrderStatusHistory.status",
+ $ref: "#/parameters/rowFilter.customer.customerTypeId",
},
{
- $ref: "#/parameters/rowFilter.salesOrderStatusHistory.createdAt",
+ $ref: "#/parameters/rowFilter.customer.customerStatusId",
},
{
- $ref: "#/parameters/rowFilter.salesOrderStatusHistory.createdBy",
+ $ref: "#/parameters/rowFilter.customer.taxId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customer.accountManagerId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customer.logo",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customer.assignee",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customer.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customer.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customer.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customer.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customer.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customer.customFields",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customer.currencyCode",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customer.phone",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customer.fax",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customer.website",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customer.externalId",
},
{
$ref: "#/parameters/select",
@@ -19368,7 +19632,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/salesOrderStatusHistory",
+ $ref: "#/definitions/customer",
},
type: "array",
},
@@ -19377,12 +19641,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["salesOrderStatusHistory"],
+ tags: ["customer"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.salesOrderStatusHistory",
+ $ref: "#/parameters/body.customer",
},
{
$ref: "#/parameters/select",
@@ -19396,277 +19660,181 @@ export default {
description: "Created",
},
},
- tags: ["salesOrderStatusHistory"],
+ tags: ["customer"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.salesOrderStatusHistory.id",
+ $ref: "#/parameters/rowFilter.customer.id",
},
{
- $ref: "#/parameters/rowFilter.salesOrderStatusHistory.salesOrderId",
+ $ref: "#/parameters/rowFilter.customer.name",
},
{
- $ref: "#/parameters/rowFilter.salesOrderStatusHistory.status",
+ $ref: "#/parameters/rowFilter.customer.customerTypeId",
},
{
- $ref: "#/parameters/rowFilter.salesOrderStatusHistory.createdAt",
+ $ref: "#/parameters/rowFilter.customer.customerStatusId",
},
{
- $ref: "#/parameters/rowFilter.salesOrderStatusHistory.createdBy",
+ $ref: "#/parameters/rowFilter.customer.taxId",
},
{
- $ref: "#/parameters/preferReturn",
+ $ref: "#/parameters/rowFilter.customer.accountManagerId",
},
- ],
- responses: {
- "204": {
- description: "No Content",
+ {
+ $ref: "#/parameters/rowFilter.customer.logo",
},
- },
- tags: ["salesOrderStatusHistory"],
- },
- patch: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.salesOrderStatusHistory.id",
+ $ref: "#/parameters/rowFilter.customer.assignee",
},
{
- $ref: "#/parameters/rowFilter.salesOrderStatusHistory.salesOrderId",
+ $ref: "#/parameters/rowFilter.customer.companyId",
},
{
- $ref: "#/parameters/rowFilter.salesOrderStatusHistory.status",
+ $ref: "#/parameters/rowFilter.customer.createdAt",
},
{
- $ref: "#/parameters/rowFilter.salesOrderStatusHistory.createdAt",
+ $ref: "#/parameters/rowFilter.customer.createdBy",
},
{
- $ref: "#/parameters/rowFilter.salesOrderStatusHistory.createdBy",
+ $ref: "#/parameters/rowFilter.customer.updatedAt",
},
{
- $ref: "#/parameters/body.salesOrderStatusHistory",
+ $ref: "#/parameters/rowFilter.customer.updatedBy",
},
{
- $ref: "#/parameters/preferReturn",
+ $ref: "#/parameters/rowFilter.customer.customFields",
},
- ],
- responses: {
- "204": {
- description: "No Content",
- },
- },
- tags: ["salesOrderStatusHistory"],
- },
- },
- "/jobs": {
- get: {
- parameters: [
- {
- $ref: "#/parameters/rowFilter.jobs.id",
- },
- {
- $ref: "#/parameters/rowFilter.jobs.jobId",
- },
- {
- $ref: "#/parameters/rowFilter.jobs.itemId",
- },
- {
- $ref: "#/parameters/rowFilter.jobs.unitOfMeasureCode",
- },
- {
- $ref: "#/parameters/rowFilter.jobs.customerId",
- },
- {
- $ref: "#/parameters/rowFilter.jobs.locationId",
- },
- {
- $ref: "#/parameters/rowFilter.jobs.status",
- },
- {
- $ref: "#/parameters/rowFilter.jobs.dueDate",
- },
- {
- $ref: "#/parameters/rowFilter.jobs.deadlineType",
- },
- {
- $ref: "#/parameters/rowFilter.jobs.quantity",
- },
- {
- $ref: "#/parameters/rowFilter.jobs.scrapQuantity",
- },
- {
- $ref: "#/parameters/rowFilter.jobs.productionQuantity",
- },
- {
- $ref: "#/parameters/rowFilter.jobs.quantityComplete",
- },
- {
- $ref: "#/parameters/rowFilter.jobs.quantityShipped",
- },
- {
- $ref: "#/parameters/rowFilter.jobs.quantityReceivedToInventory",
- },
- {
- $ref: "#/parameters/rowFilter.jobs.salesOrderId",
- },
- {
- $ref: "#/parameters/rowFilter.jobs.salesOrderLineId",
- },
- {
- $ref: "#/parameters/rowFilter.jobs.quoteId",
- },
- {
- $ref: "#/parameters/rowFilter.jobs.quoteLineId",
- },
- {
- $ref: "#/parameters/rowFilter.jobs.modelUploadId",
- },
- {
- $ref: "#/parameters/rowFilter.jobs.notes",
- },
- {
- $ref: "#/parameters/rowFilter.jobs.assignee",
+ {
+ $ref: "#/parameters/rowFilter.customer.currencyCode",
},
{
- $ref: "#/parameters/rowFilter.jobs.customFields",
- },
- {
- $ref: "#/parameters/rowFilter.jobs.companyId",
+ $ref: "#/parameters/rowFilter.customer.phone",
},
{
- $ref: "#/parameters/rowFilter.jobs.createdAt",
+ $ref: "#/parameters/rowFilter.customer.fax",
},
{
- $ref: "#/parameters/rowFilter.jobs.createdBy",
+ $ref: "#/parameters/rowFilter.customer.website",
},
{
- $ref: "#/parameters/rowFilter.jobs.updatedAt",
+ $ref: "#/parameters/rowFilter.customer.externalId",
},
{
- $ref: "#/parameters/rowFilter.jobs.updatedBy",
+ $ref: "#/parameters/preferReturn",
},
- {
- $ref: "#/parameters/rowFilter.jobs.name",
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
},
+ },
+ tags: ["customer"],
+ },
+ patch: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.jobs.itemReadableId",
+ $ref: "#/parameters/rowFilter.customer.id",
},
{
- $ref: "#/parameters/rowFilter.jobs.itemType",
+ $ref: "#/parameters/rowFilter.customer.name",
},
{
- $ref: "#/parameters/rowFilter.jobs.description",
+ $ref: "#/parameters/rowFilter.customer.customerTypeId",
},
{
- $ref: "#/parameters/rowFilter.jobs.itemTrackingType",
+ $ref: "#/parameters/rowFilter.customer.customerStatusId",
},
{
- $ref: "#/parameters/rowFilter.jobs.active",
+ $ref: "#/parameters/rowFilter.customer.taxId",
},
{
- $ref: "#/parameters/rowFilter.jobs.replenishmentSystem",
+ $ref: "#/parameters/rowFilter.customer.accountManagerId",
},
{
- $ref: "#/parameters/rowFilter.jobs.modelId",
+ $ref: "#/parameters/rowFilter.customer.logo",
},
{
- $ref: "#/parameters/rowFilter.jobs.autodeskUrn",
+ $ref: "#/parameters/rowFilter.customer.assignee",
},
{
- $ref: "#/parameters/rowFilter.jobs.modelPath",
+ $ref: "#/parameters/rowFilter.customer.companyId",
},
{
- $ref: "#/parameters/rowFilter.jobs.thumbnailPath",
+ $ref: "#/parameters/rowFilter.customer.createdAt",
},
{
- $ref: "#/parameters/rowFilter.jobs.modelName",
+ $ref: "#/parameters/rowFilter.customer.createdBy",
},
{
- $ref: "#/parameters/rowFilter.jobs.modelSize",
+ $ref: "#/parameters/rowFilter.customer.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.jobs.salesOrderReadableId",
+ $ref: "#/parameters/rowFilter.customer.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.jobs.quoteReadableId",
+ $ref: "#/parameters/rowFilter.customer.customFields",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.customer.currencyCode",
},
{
- $ref: "#/parameters/order",
+ $ref: "#/parameters/rowFilter.customer.phone",
},
{
- $ref: "#/parameters/range",
+ $ref: "#/parameters/rowFilter.customer.fax",
},
{
- $ref: "#/parameters/rangeUnit",
+ $ref: "#/parameters/rowFilter.customer.website",
},
{
- $ref: "#/parameters/offset",
+ $ref: "#/parameters/rowFilter.customer.externalId",
},
{
- $ref: "#/parameters/limit",
+ $ref: "#/parameters/body.customer",
},
{
- $ref: "#/parameters/preferCount",
+ $ref: "#/parameters/preferReturn",
},
],
responses: {
- "200": {
- description: "OK",
- schema: {
- items: {
- $ref: "#/definitions/jobs",
- },
- type: "array",
- },
- },
- "206": {
- description: "Partial Content",
+ "204": {
+ description: "No Content",
},
},
- tags: ["jobs"],
+ tags: ["customer"],
},
},
- "/customField": {
+ "/note": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.customField.id",
- },
- {
- $ref: "#/parameters/rowFilter.customField.name",
- },
- {
- $ref: "#/parameters/rowFilter.customField.sortOrder",
- },
- {
- $ref: "#/parameters/rowFilter.customField.table",
+ $ref: "#/parameters/rowFilter.note.id",
},
{
- $ref: "#/parameters/rowFilter.customField.dataTypeId",
+ $ref: "#/parameters/rowFilter.note.documentId",
},
{
- $ref: "#/parameters/rowFilter.customField.listOptions",
+ $ref: "#/parameters/rowFilter.note.note",
},
{
- $ref: "#/parameters/rowFilter.customField.active",
+ $ref: "#/parameters/rowFilter.note.noteRichText",
},
{
- $ref: "#/parameters/rowFilter.customField.companyId",
+ $ref: "#/parameters/rowFilter.note.active",
},
{
- $ref: "#/parameters/rowFilter.customField.createdAt",
+ $ref: "#/parameters/rowFilter.note.companyId",
},
{
- $ref: "#/parameters/rowFilter.customField.createdBy",
+ $ref: "#/parameters/rowFilter.note.createdAt",
},
{
- $ref: "#/parameters/rowFilter.customField.updatedAt",
+ $ref: "#/parameters/rowFilter.note.createdBy",
},
{
- $ref: "#/parameters/rowFilter.customField.updatedBy",
+ $ref: "#/parameters/rowFilter.note.updatedAt",
},
{
$ref: "#/parameters/select",
@@ -19695,7 +19863,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/customField",
+ $ref: "#/definitions/note",
},
type: "array",
},
@@ -19704,12 +19872,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["customField"],
+ tags: ["note"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.customField",
+ $ref: "#/parameters/body.note",
},
{
$ref: "#/parameters/select",
@@ -19723,45 +19891,36 @@ export default {
description: "Created",
},
},
- tags: ["customField"],
+ tags: ["note"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.customField.id",
- },
- {
- $ref: "#/parameters/rowFilter.customField.name",
- },
- {
- $ref: "#/parameters/rowFilter.customField.sortOrder",
- },
- {
- $ref: "#/parameters/rowFilter.customField.table",
+ $ref: "#/parameters/rowFilter.note.id",
},
{
- $ref: "#/parameters/rowFilter.customField.dataTypeId",
+ $ref: "#/parameters/rowFilter.note.documentId",
},
{
- $ref: "#/parameters/rowFilter.customField.listOptions",
+ $ref: "#/parameters/rowFilter.note.note",
},
{
- $ref: "#/parameters/rowFilter.customField.active",
+ $ref: "#/parameters/rowFilter.note.noteRichText",
},
{
- $ref: "#/parameters/rowFilter.customField.companyId",
+ $ref: "#/parameters/rowFilter.note.active",
},
{
- $ref: "#/parameters/rowFilter.customField.createdAt",
+ $ref: "#/parameters/rowFilter.note.companyId",
},
{
- $ref: "#/parameters/rowFilter.customField.createdBy",
+ $ref: "#/parameters/rowFilter.note.createdAt",
},
{
- $ref: "#/parameters/rowFilter.customField.updatedAt",
+ $ref: "#/parameters/rowFilter.note.createdBy",
},
{
- $ref: "#/parameters/rowFilter.customField.updatedBy",
+ $ref: "#/parameters/rowFilter.note.updatedAt",
},
{
$ref: "#/parameters/preferReturn",
@@ -19772,48 +19931,39 @@ export default {
description: "No Content",
},
},
- tags: ["customField"],
+ tags: ["note"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.customField.id",
- },
- {
- $ref: "#/parameters/rowFilter.customField.name",
- },
- {
- $ref: "#/parameters/rowFilter.customField.sortOrder",
- },
- {
- $ref: "#/parameters/rowFilter.customField.table",
+ $ref: "#/parameters/rowFilter.note.id",
},
{
- $ref: "#/parameters/rowFilter.customField.dataTypeId",
+ $ref: "#/parameters/rowFilter.note.documentId",
},
{
- $ref: "#/parameters/rowFilter.customField.listOptions",
+ $ref: "#/parameters/rowFilter.note.note",
},
{
- $ref: "#/parameters/rowFilter.customField.active",
+ $ref: "#/parameters/rowFilter.note.noteRichText",
},
{
- $ref: "#/parameters/rowFilter.customField.companyId",
+ $ref: "#/parameters/rowFilter.note.active",
},
{
- $ref: "#/parameters/rowFilter.customField.createdAt",
+ $ref: "#/parameters/rowFilter.note.companyId",
},
{
- $ref: "#/parameters/rowFilter.customField.createdBy",
+ $ref: "#/parameters/rowFilter.note.createdAt",
},
{
- $ref: "#/parameters/rowFilter.customField.updatedAt",
+ $ref: "#/parameters/rowFilter.note.createdBy",
},
{
- $ref: "#/parameters/rowFilter.customField.updatedBy",
+ $ref: "#/parameters/rowFilter.note.updatedAt",
},
{
- $ref: "#/parameters/body.customField",
+ $ref: "#/parameters/body.note",
},
{
$ref: "#/parameters/preferReturn",
@@ -19824,107 +19974,59 @@ export default {
description: "No Content",
},
},
- tags: ["customField"],
+ tags: ["note"],
},
},
- "/quoteCustomerDetails": {
+ "/workCenter": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.quoteCustomerDetails.quoteId",
- },
- {
- $ref: "#/parameters/rowFilter.quoteCustomerDetails.customerName",
- },
- {
- $ref: "#/parameters/rowFilter.quoteCustomerDetails.customerAddressLine1",
- },
- {
- $ref: "#/parameters/rowFilter.quoteCustomerDetails.customerAddressLine2",
- },
- {
- $ref: "#/parameters/rowFilter.quoteCustomerDetails.customerCity",
- },
- {
- $ref: "#/parameters/rowFilter.quoteCustomerDetails.customerStateProvince",
- },
- {
- $ref: "#/parameters/rowFilter.quoteCustomerDetails.customerPostalCode",
- },
- {
- $ref: "#/parameters/rowFilter.quoteCustomerDetails.customerCountryCode",
- },
- {
- $ref: "#/parameters/rowFilter.quoteCustomerDetails.customerCountryName",
- },
- {
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.workCenter.id",
},
{
- $ref: "#/parameters/order",
+ $ref: "#/parameters/rowFilter.workCenter.name",
},
{
- $ref: "#/parameters/range",
+ $ref: "#/parameters/rowFilter.workCenter.description",
},
{
- $ref: "#/parameters/rangeUnit",
+ $ref: "#/parameters/rowFilter.workCenter.laborRate",
},
{
- $ref: "#/parameters/offset",
+ $ref: "#/parameters/rowFilter.workCenter.defaultStandardFactor",
},
{
- $ref: "#/parameters/limit",
+ $ref: "#/parameters/rowFilter.workCenter.locationId",
},
{
- $ref: "#/parameters/preferCount",
- },
- ],
- responses: {
- "200": {
- description: "OK",
- schema: {
- items: {
- $ref: "#/definitions/quoteCustomerDetails",
- },
- type: "array",
- },
- },
- "206": {
- description: "Partial Content",
+ $ref: "#/parameters/rowFilter.workCenter.requiredAbilityId",
},
- },
- tags: ["quoteCustomerDetails"],
- },
- },
- "/pickMethod": {
- get: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.pickMethod.itemId",
+ $ref: "#/parameters/rowFilter.workCenter.active",
},
{
- $ref: "#/parameters/rowFilter.pickMethod.locationId",
+ $ref: "#/parameters/rowFilter.workCenter.companyId",
},
{
- $ref: "#/parameters/rowFilter.pickMethod.defaultShelfId",
+ $ref: "#/parameters/rowFilter.workCenter.customFields",
},
{
- $ref: "#/parameters/rowFilter.pickMethod.companyId",
+ $ref: "#/parameters/rowFilter.workCenter.createdBy",
},
{
- $ref: "#/parameters/rowFilter.pickMethod.createdBy",
+ $ref: "#/parameters/rowFilter.workCenter.createdAt",
},
{
- $ref: "#/parameters/rowFilter.pickMethod.createdAt",
+ $ref: "#/parameters/rowFilter.workCenter.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.pickMethod.updatedBy",
+ $ref: "#/parameters/rowFilter.workCenter.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.pickMethod.updatedAt",
+ $ref: "#/parameters/rowFilter.workCenter.machineRate",
},
{
- $ref: "#/parameters/rowFilter.pickMethod.customFields",
+ $ref: "#/parameters/rowFilter.workCenter.overheadRate",
},
{
$ref: "#/parameters/select",
@@ -19953,7 +20055,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/pickMethod",
+ $ref: "#/definitions/workCenter",
},
type: "array",
},
@@ -19962,12 +20064,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["pickMethod"],
+ tags: ["workCenter"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.pickMethod",
+ $ref: "#/parameters/body.workCenter",
},
{
$ref: "#/parameters/select",
@@ -19981,36 +20083,57 @@ export default {
description: "Created",
},
},
- tags: ["pickMethod"],
+ tags: ["workCenter"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.pickMethod.itemId",
+ $ref: "#/parameters/rowFilter.workCenter.id",
},
{
- $ref: "#/parameters/rowFilter.pickMethod.locationId",
+ $ref: "#/parameters/rowFilter.workCenter.name",
},
{
- $ref: "#/parameters/rowFilter.pickMethod.defaultShelfId",
+ $ref: "#/parameters/rowFilter.workCenter.description",
},
{
- $ref: "#/parameters/rowFilter.pickMethod.companyId",
+ $ref: "#/parameters/rowFilter.workCenter.laborRate",
},
{
- $ref: "#/parameters/rowFilter.pickMethod.createdBy",
+ $ref: "#/parameters/rowFilter.workCenter.defaultStandardFactor",
},
{
- $ref: "#/parameters/rowFilter.pickMethod.createdAt",
+ $ref: "#/parameters/rowFilter.workCenter.locationId",
},
{
- $ref: "#/parameters/rowFilter.pickMethod.updatedBy",
+ $ref: "#/parameters/rowFilter.workCenter.requiredAbilityId",
},
{
- $ref: "#/parameters/rowFilter.pickMethod.updatedAt",
+ $ref: "#/parameters/rowFilter.workCenter.active",
},
{
- $ref: "#/parameters/rowFilter.pickMethod.customFields",
+ $ref: "#/parameters/rowFilter.workCenter.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.workCenter.customFields",
+ },
+ {
+ $ref: "#/parameters/rowFilter.workCenter.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.workCenter.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.workCenter.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.workCenter.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.workCenter.machineRate",
+ },
+ {
+ $ref: "#/parameters/rowFilter.workCenter.overheadRate",
},
{
$ref: "#/parameters/preferReturn",
@@ -20021,39 +20144,60 @@ export default {
description: "No Content",
},
},
- tags: ["pickMethod"],
+ tags: ["workCenter"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.pickMethod.itemId",
+ $ref: "#/parameters/rowFilter.workCenter.id",
},
{
- $ref: "#/parameters/rowFilter.pickMethod.locationId",
+ $ref: "#/parameters/rowFilter.workCenter.name",
},
{
- $ref: "#/parameters/rowFilter.pickMethod.defaultShelfId",
+ $ref: "#/parameters/rowFilter.workCenter.description",
},
{
- $ref: "#/parameters/rowFilter.pickMethod.companyId",
+ $ref: "#/parameters/rowFilter.workCenter.laborRate",
},
{
- $ref: "#/parameters/rowFilter.pickMethod.createdBy",
+ $ref: "#/parameters/rowFilter.workCenter.defaultStandardFactor",
},
{
- $ref: "#/parameters/rowFilter.pickMethod.createdAt",
+ $ref: "#/parameters/rowFilter.workCenter.locationId",
},
{
- $ref: "#/parameters/rowFilter.pickMethod.updatedBy",
+ $ref: "#/parameters/rowFilter.workCenter.requiredAbilityId",
},
{
- $ref: "#/parameters/rowFilter.pickMethod.updatedAt",
+ $ref: "#/parameters/rowFilter.workCenter.active",
},
{
- $ref: "#/parameters/rowFilter.pickMethod.customFields",
+ $ref: "#/parameters/rowFilter.workCenter.companyId",
},
{
- $ref: "#/parameters/body.pickMethod",
+ $ref: "#/parameters/rowFilter.workCenter.customFields",
+ },
+ {
+ $ref: "#/parameters/rowFilter.workCenter.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.workCenter.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.workCenter.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.workCenter.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.workCenter.machineRate",
+ },
+ {
+ $ref: "#/parameters/rowFilter.workCenter.overheadRate",
+ },
+ {
+ $ref: "#/parameters/body.workCenter",
},
{
$ref: "#/parameters/preferReturn",
@@ -20064,44 +20208,44 @@ export default {
description: "No Content",
},
},
- tags: ["pickMethod"],
+ tags: ["workCenter"],
},
},
- "/group": {
+ "/tool": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.group.id",
+ $ref: "#/parameters/rowFilter.tool.id",
},
{
- $ref: "#/parameters/rowFilter.group.name",
+ $ref: "#/parameters/rowFilter.tool.itemId",
},
{
- $ref: "#/parameters/rowFilter.group.companyId",
+ $ref: "#/parameters/rowFilter.tool.approved",
},
{
- $ref: "#/parameters/rowFilter.group.isIdentityGroup",
+ $ref: "#/parameters/rowFilter.tool.approvedBy",
},
{
- $ref: "#/parameters/rowFilter.group.isEmployeeTypeGroup",
+ $ref: "#/parameters/rowFilter.tool.customFields",
},
{
- $ref: "#/parameters/rowFilter.group.isCustomerOrgGroup",
+ $ref: "#/parameters/rowFilter.tool.companyId",
},
{
- $ref: "#/parameters/rowFilter.group.isCustomerTypeGroup",
+ $ref: "#/parameters/rowFilter.tool.createdBy",
},
{
- $ref: "#/parameters/rowFilter.group.isSupplierTypeGroup",
+ $ref: "#/parameters/rowFilter.tool.createdAt",
},
{
- $ref: "#/parameters/rowFilter.group.isSupplierOrgGroup",
+ $ref: "#/parameters/rowFilter.tool.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.group.createdAt",
+ $ref: "#/parameters/rowFilter.tool.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.group.updatedAt",
+ $ref: "#/parameters/rowFilter.tool.externalId",
},
{
$ref: "#/parameters/select",
@@ -20130,7 +20274,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/group",
+ $ref: "#/definitions/tool",
},
type: "array",
},
@@ -20139,12 +20283,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["group"],
+ tags: ["tool"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.group",
+ $ref: "#/parameters/body.tool",
},
{
$ref: "#/parameters/select",
@@ -20158,42 +20302,42 @@ export default {
description: "Created",
},
},
- tags: ["group"],
+ tags: ["tool"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.group.id",
+ $ref: "#/parameters/rowFilter.tool.id",
},
{
- $ref: "#/parameters/rowFilter.group.name",
+ $ref: "#/parameters/rowFilter.tool.itemId",
},
{
- $ref: "#/parameters/rowFilter.group.companyId",
+ $ref: "#/parameters/rowFilter.tool.approved",
},
{
- $ref: "#/parameters/rowFilter.group.isIdentityGroup",
+ $ref: "#/parameters/rowFilter.tool.approvedBy",
},
{
- $ref: "#/parameters/rowFilter.group.isEmployeeTypeGroup",
+ $ref: "#/parameters/rowFilter.tool.customFields",
},
{
- $ref: "#/parameters/rowFilter.group.isCustomerOrgGroup",
+ $ref: "#/parameters/rowFilter.tool.companyId",
},
{
- $ref: "#/parameters/rowFilter.group.isCustomerTypeGroup",
+ $ref: "#/parameters/rowFilter.tool.createdBy",
},
{
- $ref: "#/parameters/rowFilter.group.isSupplierTypeGroup",
+ $ref: "#/parameters/rowFilter.tool.createdAt",
},
{
- $ref: "#/parameters/rowFilter.group.isSupplierOrgGroup",
+ $ref: "#/parameters/rowFilter.tool.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.group.createdAt",
+ $ref: "#/parameters/rowFilter.tool.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.group.updatedAt",
+ $ref: "#/parameters/rowFilter.tool.externalId",
},
{
$ref: "#/parameters/preferReturn",
@@ -20204,45 +20348,45 @@ export default {
description: "No Content",
},
},
- tags: ["group"],
+ tags: ["tool"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.group.id",
+ $ref: "#/parameters/rowFilter.tool.id",
},
{
- $ref: "#/parameters/rowFilter.group.name",
+ $ref: "#/parameters/rowFilter.tool.itemId",
},
{
- $ref: "#/parameters/rowFilter.group.companyId",
+ $ref: "#/parameters/rowFilter.tool.approved",
},
{
- $ref: "#/parameters/rowFilter.group.isIdentityGroup",
+ $ref: "#/parameters/rowFilter.tool.approvedBy",
},
{
- $ref: "#/parameters/rowFilter.group.isEmployeeTypeGroup",
+ $ref: "#/parameters/rowFilter.tool.customFields",
},
{
- $ref: "#/parameters/rowFilter.group.isCustomerOrgGroup",
+ $ref: "#/parameters/rowFilter.tool.companyId",
},
{
- $ref: "#/parameters/rowFilter.group.isCustomerTypeGroup",
+ $ref: "#/parameters/rowFilter.tool.createdBy",
},
{
- $ref: "#/parameters/rowFilter.group.isSupplierTypeGroup",
+ $ref: "#/parameters/rowFilter.tool.createdAt",
},
{
- $ref: "#/parameters/rowFilter.group.isSupplierOrgGroup",
+ $ref: "#/parameters/rowFilter.tool.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.group.createdAt",
+ $ref: "#/parameters/rowFilter.tool.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.group.updatedAt",
+ $ref: "#/parameters/rowFilter.tool.externalId",
},
{
- $ref: "#/parameters/body.group",
+ $ref: "#/parameters/body.tool",
},
{
$ref: "#/parameters/preferReturn",
@@ -20253,194 +20397,227 @@ export default {
description: "No Content",
},
},
- tags: ["group"],
+ tags: ["tool"],
},
},
- "/parts": {
+ "/accountCategories": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.parts.active",
+ $ref: "#/parameters/rowFilter.accountCategories.id",
},
{
- $ref: "#/parameters/rowFilter.parts.assignee",
+ $ref: "#/parameters/rowFilter.accountCategories.category",
},
{
- $ref: "#/parameters/rowFilter.parts.defaultMethodType",
+ $ref: "#/parameters/rowFilter.accountCategories.class",
},
{
- $ref: "#/parameters/rowFilter.parts.description",
+ $ref: "#/parameters/rowFilter.accountCategories.incomeBalance",
},
{
- $ref: "#/parameters/rowFilter.parts.itemTrackingType",
+ $ref: "#/parameters/rowFilter.accountCategories.companyId",
},
{
- $ref: "#/parameters/rowFilter.parts.name",
+ $ref: "#/parameters/rowFilter.accountCategories.createdBy",
},
{
- $ref: "#/parameters/rowFilter.parts.replenishmentSystem",
+ $ref: "#/parameters/rowFilter.accountCategories.createdAt",
},
{
- $ref: "#/parameters/rowFilter.parts.unitOfMeasureCode",
+ $ref: "#/parameters/rowFilter.accountCategories.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.parts.thumbnailPath",
+ $ref: "#/parameters/rowFilter.accountCategories.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.parts.modelId",
+ $ref: "#/parameters/rowFilter.accountCategories.customFields",
},
{
- $ref: "#/parameters/rowFilter.parts.autodeskUrn",
+ $ref: "#/parameters/rowFilter.accountCategories.subCategoriesCount",
},
{
- $ref: "#/parameters/rowFilter.parts.modelPath",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.parts.modelName",
+ $ref: "#/parameters/order",
},
{
- $ref: "#/parameters/rowFilter.parts.modelSize",
+ $ref: "#/parameters/range",
},
{
- $ref: "#/parameters/rowFilter.parts.id",
+ $ref: "#/parameters/rangeUnit",
},
{
- $ref: "#/parameters/rowFilter.parts.itemId",
+ $ref: "#/parameters/offset",
},
{
- $ref: "#/parameters/rowFilter.parts.approved",
+ $ref: "#/parameters/limit",
},
{
- $ref: "#/parameters/rowFilter.parts.approvedBy",
+ $ref: "#/parameters/preferCount",
},
- {
- $ref: "#/parameters/rowFilter.parts.fromDate",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/accountCategories",
+ },
+ type: "array",
+ },
},
- {
- $ref: "#/parameters/rowFilter.parts.toDate",
+ "206": {
+ description: "Partial Content",
},
+ },
+ tags: ["accountCategories"],
+ },
+ post: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.parts.companyId",
+ $ref: "#/parameters/body.accountCategories",
},
{
- $ref: "#/parameters/rowFilter.parts.createdBy",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.parts.createdAt",
+ $ref: "#/parameters/preferPost",
},
- {
- $ref: "#/parameters/rowFilter.parts.updatedBy",
+ ],
+ responses: {
+ "201": {
+ description: "Created",
},
+ },
+ tags: ["accountCategories"],
+ },
+ delete: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.parts.updatedAt",
+ $ref: "#/parameters/rowFilter.accountCategories.id",
},
{
- $ref: "#/parameters/rowFilter.parts.customFields",
+ $ref: "#/parameters/rowFilter.accountCategories.category",
},
{
- $ref: "#/parameters/rowFilter.parts.externalId",
+ $ref: "#/parameters/rowFilter.accountCategories.class",
},
{
- $ref: "#/parameters/rowFilter.parts.supplierIds",
+ $ref: "#/parameters/rowFilter.accountCategories.incomeBalance",
},
{
- $ref: "#/parameters/rowFilter.parts.unitOfMeasure",
+ $ref: "#/parameters/rowFilter.accountCategories.companyId",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.accountCategories.createdBy",
},
{
- $ref: "#/parameters/order",
+ $ref: "#/parameters/rowFilter.accountCategories.createdAt",
},
{
- $ref: "#/parameters/range",
+ $ref: "#/parameters/rowFilter.accountCategories.updatedBy",
},
{
- $ref: "#/parameters/rangeUnit",
+ $ref: "#/parameters/rowFilter.accountCategories.updatedAt",
},
{
- $ref: "#/parameters/offset",
+ $ref: "#/parameters/rowFilter.accountCategories.customFields",
},
{
- $ref: "#/parameters/limit",
+ $ref: "#/parameters/rowFilter.accountCategories.subCategoriesCount",
},
{
- $ref: "#/parameters/preferCount",
+ $ref: "#/parameters/preferReturn",
},
],
responses: {
- "200": {
- description: "OK",
- schema: {
- items: {
- $ref: "#/definitions/parts",
- },
- type: "array",
- },
- },
- "206": {
- description: "Partial Content",
+ "204": {
+ description: "No Content",
},
},
- tags: ["parts"],
+ tags: ["accountCategories"],
},
- },
- "/receiptLine": {
- get: {
+ patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.receiptLine.id",
+ $ref: "#/parameters/rowFilter.accountCategories.id",
},
{
- $ref: "#/parameters/rowFilter.receiptLine.receiptId",
+ $ref: "#/parameters/rowFilter.accountCategories.category",
},
{
- $ref: "#/parameters/rowFilter.receiptLine.lineId",
+ $ref: "#/parameters/rowFilter.accountCategories.class",
},
{
- $ref: "#/parameters/rowFilter.receiptLine.itemId",
+ $ref: "#/parameters/rowFilter.accountCategories.incomeBalance",
},
{
- $ref: "#/parameters/rowFilter.receiptLine.itemReadableId",
+ $ref: "#/parameters/rowFilter.accountCategories.companyId",
},
{
- $ref: "#/parameters/rowFilter.receiptLine.orderQuantity",
+ $ref: "#/parameters/rowFilter.accountCategories.createdBy",
},
{
- $ref: "#/parameters/rowFilter.receiptLine.outstandingQuantity",
+ $ref: "#/parameters/rowFilter.accountCategories.createdAt",
},
{
- $ref: "#/parameters/rowFilter.receiptLine.receivedQuantity",
+ $ref: "#/parameters/rowFilter.accountCategories.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.receiptLine.locationId",
+ $ref: "#/parameters/rowFilter.accountCategories.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.receiptLine.shelfId",
+ $ref: "#/parameters/rowFilter.accountCategories.customFields",
},
{
- $ref: "#/parameters/rowFilter.receiptLine.unitOfMeasure",
+ $ref: "#/parameters/rowFilter.accountCategories.subCategoriesCount",
},
{
- $ref: "#/parameters/rowFilter.receiptLine.unitPrice",
+ $ref: "#/parameters/body.accountCategories",
},
{
- $ref: "#/parameters/rowFilter.receiptLine.companyId",
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
+ },
+ },
+ tags: ["accountCategories"],
+ },
+ },
+ "/quotePayment": {
+ get: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.quotePayment.id",
},
{
- $ref: "#/parameters/rowFilter.receiptLine.createdAt",
+ $ref: "#/parameters/rowFilter.quotePayment.invoiceCustomerId",
},
{
- $ref: "#/parameters/rowFilter.receiptLine.createdBy",
+ $ref: "#/parameters/rowFilter.quotePayment.invoiceCustomerLocationId",
},
{
- $ref: "#/parameters/rowFilter.receiptLine.updatedAt",
+ $ref: "#/parameters/rowFilter.quotePayment.invoiceCustomerContactId",
},
{
- $ref: "#/parameters/rowFilter.receiptLine.updatedBy",
+ $ref: "#/parameters/rowFilter.quotePayment.paymentTermId",
},
{
- $ref: "#/parameters/rowFilter.receiptLine.conversionFactor",
+ $ref: "#/parameters/rowFilter.quotePayment.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quotePayment.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quotePayment.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quotePayment.customFields",
},
{
$ref: "#/parameters/select",
@@ -20469,7 +20646,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/receiptLine",
+ $ref: "#/definitions/quotePayment",
},
type: "array",
},
@@ -20478,12 +20655,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["receiptLine"],
+ tags: ["quotePayment"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.receiptLine",
+ $ref: "#/parameters/body.quotePayment",
},
{
$ref: "#/parameters/select",
@@ -20497,63 +20674,36 @@ export default {
description: "Created",
},
},
- tags: ["receiptLine"],
+ tags: ["quotePayment"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.receiptLine.id",
- },
- {
- $ref: "#/parameters/rowFilter.receiptLine.receiptId",
- },
- {
- $ref: "#/parameters/rowFilter.receiptLine.lineId",
- },
- {
- $ref: "#/parameters/rowFilter.receiptLine.itemId",
- },
- {
- $ref: "#/parameters/rowFilter.receiptLine.itemReadableId",
- },
- {
- $ref: "#/parameters/rowFilter.receiptLine.orderQuantity",
- },
- {
- $ref: "#/parameters/rowFilter.receiptLine.outstandingQuantity",
- },
- {
- $ref: "#/parameters/rowFilter.receiptLine.receivedQuantity",
- },
- {
- $ref: "#/parameters/rowFilter.receiptLine.locationId",
- },
- {
- $ref: "#/parameters/rowFilter.receiptLine.shelfId",
+ $ref: "#/parameters/rowFilter.quotePayment.id",
},
{
- $ref: "#/parameters/rowFilter.receiptLine.unitOfMeasure",
+ $ref: "#/parameters/rowFilter.quotePayment.invoiceCustomerId",
},
{
- $ref: "#/parameters/rowFilter.receiptLine.unitPrice",
+ $ref: "#/parameters/rowFilter.quotePayment.invoiceCustomerLocationId",
},
{
- $ref: "#/parameters/rowFilter.receiptLine.companyId",
+ $ref: "#/parameters/rowFilter.quotePayment.invoiceCustomerContactId",
},
{
- $ref: "#/parameters/rowFilter.receiptLine.createdAt",
+ $ref: "#/parameters/rowFilter.quotePayment.paymentTermId",
},
{
- $ref: "#/parameters/rowFilter.receiptLine.createdBy",
+ $ref: "#/parameters/rowFilter.quotePayment.companyId",
},
{
- $ref: "#/parameters/rowFilter.receiptLine.updatedAt",
+ $ref: "#/parameters/rowFilter.quotePayment.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.receiptLine.updatedBy",
+ $ref: "#/parameters/rowFilter.quotePayment.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.receiptLine.conversionFactor",
+ $ref: "#/parameters/rowFilter.quotePayment.customFields",
},
{
$ref: "#/parameters/preferReturn",
@@ -20564,66 +20714,39 @@ export default {
description: "No Content",
},
},
- tags: ["receiptLine"],
+ tags: ["quotePayment"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.receiptLine.id",
- },
- {
- $ref: "#/parameters/rowFilter.receiptLine.receiptId",
- },
- {
- $ref: "#/parameters/rowFilter.receiptLine.lineId",
- },
- {
- $ref: "#/parameters/rowFilter.receiptLine.itemId",
- },
- {
- $ref: "#/parameters/rowFilter.receiptLine.itemReadableId",
- },
- {
- $ref: "#/parameters/rowFilter.receiptLine.orderQuantity",
- },
- {
- $ref: "#/parameters/rowFilter.receiptLine.outstandingQuantity",
- },
- {
- $ref: "#/parameters/rowFilter.receiptLine.receivedQuantity",
- },
- {
- $ref: "#/parameters/rowFilter.receiptLine.locationId",
- },
- {
- $ref: "#/parameters/rowFilter.receiptLine.shelfId",
+ $ref: "#/parameters/rowFilter.quotePayment.id",
},
{
- $ref: "#/parameters/rowFilter.receiptLine.unitOfMeasure",
+ $ref: "#/parameters/rowFilter.quotePayment.invoiceCustomerId",
},
{
- $ref: "#/parameters/rowFilter.receiptLine.unitPrice",
+ $ref: "#/parameters/rowFilter.quotePayment.invoiceCustomerLocationId",
},
{
- $ref: "#/parameters/rowFilter.receiptLine.companyId",
+ $ref: "#/parameters/rowFilter.quotePayment.invoiceCustomerContactId",
},
{
- $ref: "#/parameters/rowFilter.receiptLine.createdAt",
+ $ref: "#/parameters/rowFilter.quotePayment.paymentTermId",
},
{
- $ref: "#/parameters/rowFilter.receiptLine.createdBy",
+ $ref: "#/parameters/rowFilter.quotePayment.companyId",
},
{
- $ref: "#/parameters/rowFilter.receiptLine.updatedAt",
+ $ref: "#/parameters/rowFilter.quotePayment.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.receiptLine.updatedBy",
+ $ref: "#/parameters/rowFilter.quotePayment.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.receiptLine.conversionFactor",
+ $ref: "#/parameters/rowFilter.quotePayment.customFields",
},
{
- $ref: "#/parameters/body.receiptLine",
+ $ref: "#/parameters/body.quotePayment",
},
{
$ref: "#/parameters/preferReturn",
@@ -20634,59 +20757,41 @@ export default {
description: "No Content",
},
},
- tags: ["receiptLine"],
+ tags: ["quotePayment"],
},
},
- "/quoteLinePrice": {
+ "/accountCategory": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.quoteLinePrice.quoteId",
- },
- {
- $ref: "#/parameters/rowFilter.quoteLinePrice.quoteLineId",
- },
- {
- $ref: "#/parameters/rowFilter.quoteLinePrice.quantity",
- },
- {
- $ref: "#/parameters/rowFilter.quoteLinePrice.leadTime",
- },
- {
- $ref: "#/parameters/rowFilter.quoteLinePrice.discountPercent",
- },
- {
- $ref: "#/parameters/rowFilter.quoteLinePrice.createdAt",
- },
- {
- $ref: "#/parameters/rowFilter.quoteLinePrice.createdBy",
+ $ref: "#/parameters/rowFilter.accountCategory.id",
},
{
- $ref: "#/parameters/rowFilter.quoteLinePrice.updatedAt",
+ $ref: "#/parameters/rowFilter.accountCategory.category",
},
{
- $ref: "#/parameters/rowFilter.quoteLinePrice.updatedBy",
+ $ref: "#/parameters/rowFilter.accountCategory.class",
},
{
- $ref: "#/parameters/rowFilter.quoteLinePrice.unitPrice",
+ $ref: "#/parameters/rowFilter.accountCategory.incomeBalance",
},
{
- $ref: "#/parameters/rowFilter.quoteLinePrice.exchangeRate",
+ $ref: "#/parameters/rowFilter.accountCategory.companyId",
},
{
- $ref: "#/parameters/rowFilter.quoteLinePrice.convertedUnitPrice",
+ $ref: "#/parameters/rowFilter.accountCategory.createdBy",
},
{
- $ref: "#/parameters/rowFilter.quoteLinePrice.netUnitPrice",
+ $ref: "#/parameters/rowFilter.accountCategory.createdAt",
},
{
- $ref: "#/parameters/rowFilter.quoteLinePrice.convertedNetUnitPrice",
+ $ref: "#/parameters/rowFilter.accountCategory.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.quoteLinePrice.netExtendedPrice",
+ $ref: "#/parameters/rowFilter.accountCategory.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.quoteLinePrice.convertedNetExtendedPrice",
+ $ref: "#/parameters/rowFilter.accountCategory.customFields",
},
{
$ref: "#/parameters/select",
@@ -20715,7 +20820,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/quoteLinePrice",
+ $ref: "#/definitions/accountCategory",
},
type: "array",
},
@@ -20724,12 +20829,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["quoteLinePrice"],
+ tags: ["accountCategory"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.quoteLinePrice",
+ $ref: "#/parameters/body.accountCategory",
},
{
$ref: "#/parameters/select",
@@ -20743,57 +20848,85 @@ export default {
description: "Created",
},
},
- tags: ["quoteLinePrice"],
+ tags: ["accountCategory"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.quoteLinePrice.quoteId",
+ $ref: "#/parameters/rowFilter.accountCategory.id",
},
{
- $ref: "#/parameters/rowFilter.quoteLinePrice.quoteLineId",
+ $ref: "#/parameters/rowFilter.accountCategory.category",
},
{
- $ref: "#/parameters/rowFilter.quoteLinePrice.quantity",
+ $ref: "#/parameters/rowFilter.accountCategory.class",
},
{
- $ref: "#/parameters/rowFilter.quoteLinePrice.leadTime",
+ $ref: "#/parameters/rowFilter.accountCategory.incomeBalance",
},
{
- $ref: "#/parameters/rowFilter.quoteLinePrice.discountPercent",
+ $ref: "#/parameters/rowFilter.accountCategory.companyId",
},
{
- $ref: "#/parameters/rowFilter.quoteLinePrice.createdAt",
+ $ref: "#/parameters/rowFilter.accountCategory.createdBy",
},
{
- $ref: "#/parameters/rowFilter.quoteLinePrice.createdBy",
+ $ref: "#/parameters/rowFilter.accountCategory.createdAt",
},
{
- $ref: "#/parameters/rowFilter.quoteLinePrice.updatedAt",
+ $ref: "#/parameters/rowFilter.accountCategory.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.quoteLinePrice.updatedBy",
+ $ref: "#/parameters/rowFilter.accountCategory.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.quoteLinePrice.unitPrice",
+ $ref: "#/parameters/rowFilter.accountCategory.customFields",
},
{
- $ref: "#/parameters/rowFilter.quoteLinePrice.exchangeRate",
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
+ },
+ },
+ tags: ["accountCategory"],
+ },
+ patch: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.accountCategory.id",
},
{
- $ref: "#/parameters/rowFilter.quoteLinePrice.convertedUnitPrice",
+ $ref: "#/parameters/rowFilter.accountCategory.category",
},
{
- $ref: "#/parameters/rowFilter.quoteLinePrice.netUnitPrice",
+ $ref: "#/parameters/rowFilter.accountCategory.class",
},
{
- $ref: "#/parameters/rowFilter.quoteLinePrice.convertedNetUnitPrice",
+ $ref: "#/parameters/rowFilter.accountCategory.incomeBalance",
},
{
- $ref: "#/parameters/rowFilter.quoteLinePrice.netExtendedPrice",
+ $ref: "#/parameters/rowFilter.accountCategory.companyId",
},
{
- $ref: "#/parameters/rowFilter.quoteLinePrice.convertedNetExtendedPrice",
+ $ref: "#/parameters/rowFilter.accountCategory.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.accountCategory.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.accountCategory.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.accountCategory.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.accountCategory.customFields",
+ },
+ {
+ $ref: "#/parameters/body.accountCategory",
},
{
$ref: "#/parameters/preferReturn",
@@ -20804,99 +20937,125 @@ export default {
description: "No Content",
},
},
- tags: ["quoteLinePrice"],
+ tags: ["accountCategory"],
},
- patch: {
+ },
+ "/salesOrders": {
+ get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.quoteLinePrice.quoteId",
+ $ref: "#/parameters/rowFilter.salesOrders.id",
},
{
- $ref: "#/parameters/rowFilter.quoteLinePrice.quoteLineId",
+ $ref: "#/parameters/rowFilter.salesOrders.salesOrderId",
},
{
- $ref: "#/parameters/rowFilter.quoteLinePrice.quantity",
+ $ref: "#/parameters/rowFilter.salesOrders.revisionId",
},
{
- $ref: "#/parameters/rowFilter.quoteLinePrice.leadTime",
+ $ref: "#/parameters/rowFilter.salesOrders.status",
},
{
- $ref: "#/parameters/rowFilter.quoteLinePrice.discountPercent",
+ $ref: "#/parameters/rowFilter.salesOrders.orderDate",
},
{
- $ref: "#/parameters/rowFilter.quoteLinePrice.createdAt",
+ $ref: "#/parameters/rowFilter.salesOrders.notes",
},
{
- $ref: "#/parameters/rowFilter.quoteLinePrice.createdBy",
+ $ref: "#/parameters/rowFilter.salesOrders.currencyCode",
},
{
- $ref: "#/parameters/rowFilter.quoteLinePrice.updatedAt",
+ $ref: "#/parameters/rowFilter.salesOrders.customerId",
},
{
- $ref: "#/parameters/rowFilter.quoteLinePrice.updatedBy",
+ $ref: "#/parameters/rowFilter.salesOrders.customerLocationId",
},
{
- $ref: "#/parameters/rowFilter.quoteLinePrice.unitPrice",
+ $ref: "#/parameters/rowFilter.salesOrders.customerContactId",
},
{
- $ref: "#/parameters/rowFilter.quoteLinePrice.exchangeRate",
+ $ref: "#/parameters/rowFilter.salesOrders.customerReference",
},
{
- $ref: "#/parameters/rowFilter.quoteLinePrice.convertedUnitPrice",
+ $ref: "#/parameters/rowFilter.salesOrders.assignee",
},
{
- $ref: "#/parameters/rowFilter.quoteLinePrice.netUnitPrice",
+ $ref: "#/parameters/rowFilter.salesOrders.companyId",
},
{
- $ref: "#/parameters/rowFilter.quoteLinePrice.convertedNetUnitPrice",
+ $ref: "#/parameters/rowFilter.salesOrders.closedAt",
},
{
- $ref: "#/parameters/rowFilter.quoteLinePrice.netExtendedPrice",
+ $ref: "#/parameters/rowFilter.salesOrders.closedBy",
},
{
- $ref: "#/parameters/rowFilter.quoteLinePrice.convertedNetExtendedPrice",
+ $ref: "#/parameters/rowFilter.salesOrders.customFields",
},
{
- $ref: "#/parameters/body.quoteLinePrice",
+ $ref: "#/parameters/rowFilter.salesOrders.createdAt",
},
{
- $ref: "#/parameters/preferReturn",
+ $ref: "#/parameters/rowFilter.salesOrders.createdBy",
},
- ],
- responses: {
- "204": {
- description: "No Content",
+ {
+ $ref: "#/parameters/rowFilter.salesOrders.updatedAt",
},
- },
- tags: ["quoteLinePrice"],
- },
- },
- "/makeMethod": {
- get: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.makeMethod.id",
+ $ref: "#/parameters/rowFilter.salesOrders.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.makeMethod.itemId",
+ $ref: "#/parameters/rowFilter.salesOrders.locationId",
},
{
- $ref: "#/parameters/rowFilter.makeMethod.companyId",
+ $ref: "#/parameters/rowFilter.salesOrders.exchangeRate",
},
{
- $ref: "#/parameters/rowFilter.makeMethod.createdAt",
+ $ref: "#/parameters/rowFilter.salesOrders.exchangeRateUpdatedAt",
},
{
- $ref: "#/parameters/rowFilter.makeMethod.createdBy",
+ $ref: "#/parameters/rowFilter.salesOrders.shippingMethodName",
},
{
- $ref: "#/parameters/rowFilter.makeMethod.updatedAt",
+ $ref: "#/parameters/rowFilter.salesOrders.shippingTermName",
},
{
- $ref: "#/parameters/rowFilter.makeMethod.updatedBy",
+ $ref: "#/parameters/rowFilter.salesOrders.paymentTermName",
},
{
- $ref: "#/parameters/rowFilter.makeMethod.customFields",
+ $ref: "#/parameters/rowFilter.salesOrders.receiptRequestedDate",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrders.receiptPromisedDate",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrders.dropShipment",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrders.locationName",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrders.customerName",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrders.createdByAvatar",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrders.createdByFullName",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrders.updatedByAvatar",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrders.updatedByFullName",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrders.closedByAvatar",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrders.closedByFullName",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrders.favorite",
},
{
$ref: "#/parameters/select",
@@ -20925,7 +21084,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/makeMethod",
+ $ref: "#/definitions/salesOrders",
},
type: "array",
},
@@ -20934,137 +21093,68 @@ export default {
description: "Partial Content",
},
},
- tags: ["makeMethod"],
+ tags: ["salesOrders"],
},
- post: {
+ },
+ "/supplier": {
+ get: {
parameters: [
{
- $ref: "#/parameters/body.makeMethod",
+ $ref: "#/parameters/rowFilter.supplier.id",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.supplier.name",
},
{
- $ref: "#/parameters/preferPost",
+ $ref: "#/parameters/rowFilter.supplier.supplierTypeId",
},
- ],
- responses: {
- "201": {
- description: "Created",
+ {
+ $ref: "#/parameters/rowFilter.supplier.supplierStatusId",
},
- },
- tags: ["makeMethod"],
- },
- delete: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.makeMethod.id",
+ $ref: "#/parameters/rowFilter.supplier.taxId",
},
{
- $ref: "#/parameters/rowFilter.makeMethod.itemId",
- },
- {
- $ref: "#/parameters/rowFilter.makeMethod.companyId",
- },
- {
- $ref: "#/parameters/rowFilter.makeMethod.createdAt",
- },
- {
- $ref: "#/parameters/rowFilter.makeMethod.createdBy",
- },
- {
- $ref: "#/parameters/rowFilter.makeMethod.updatedAt",
- },
- {
- $ref: "#/parameters/rowFilter.makeMethod.updatedBy",
- },
- {
- $ref: "#/parameters/rowFilter.makeMethod.customFields",
- },
- {
- $ref: "#/parameters/preferReturn",
- },
- ],
- responses: {
- "204": {
- description: "No Content",
- },
- },
- tags: ["makeMethod"],
- },
- patch: {
- parameters: [
- {
- $ref: "#/parameters/rowFilter.makeMethod.id",
- },
- {
- $ref: "#/parameters/rowFilter.makeMethod.itemId",
- },
- {
- $ref: "#/parameters/rowFilter.makeMethod.companyId",
- },
- {
- $ref: "#/parameters/rowFilter.makeMethod.createdAt",
- },
- {
- $ref: "#/parameters/rowFilter.makeMethod.createdBy",
- },
- {
- $ref: "#/parameters/rowFilter.makeMethod.updatedAt",
- },
- {
- $ref: "#/parameters/rowFilter.makeMethod.updatedBy",
+ $ref: "#/parameters/rowFilter.supplier.accountManagerId",
},
{
- $ref: "#/parameters/rowFilter.makeMethod.customFields",
+ $ref: "#/parameters/rowFilter.supplier.logo",
},
{
- $ref: "#/parameters/body.makeMethod",
+ $ref: "#/parameters/rowFilter.supplier.assignee",
},
{
- $ref: "#/parameters/preferReturn",
- },
- ],
- responses: {
- "204": {
- description: "No Content",
+ $ref: "#/parameters/rowFilter.supplier.companyId",
},
- },
- tags: ["makeMethod"],
- },
- },
- "/groups": {
- get: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.groups.id",
+ $ref: "#/parameters/rowFilter.supplier.createdAt",
},
{
- $ref: "#/parameters/rowFilter.groups.isEmployeeTypeGroup",
+ $ref: "#/parameters/rowFilter.supplier.createdBy",
},
{
- $ref: "#/parameters/rowFilter.groups.isCustomerOrgGroup",
+ $ref: "#/parameters/rowFilter.supplier.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.groups.isCustomerTypeGroup",
+ $ref: "#/parameters/rowFilter.supplier.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.groups.isSupplierOrgGroup",
+ $ref: "#/parameters/rowFilter.supplier.customFields",
},
{
- $ref: "#/parameters/rowFilter.groups.isSupplierTypeGroup",
+ $ref: "#/parameters/rowFilter.supplier.currencyCode",
},
{
- $ref: "#/parameters/rowFilter.groups.name",
+ $ref: "#/parameters/rowFilter.supplier.phone",
},
{
- $ref: "#/parameters/rowFilter.groups.companyId",
+ $ref: "#/parameters/rowFilter.supplier.fax",
},
{
- $ref: "#/parameters/rowFilter.groups.parentId",
+ $ref: "#/parameters/rowFilter.supplier.website",
},
{
- $ref: "#/parameters/rowFilter.groups.users",
+ $ref: "#/parameters/rowFilter.supplier.externalId",
},
{
$ref: "#/parameters/select",
@@ -21093,7 +21183,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/groups",
+ $ref: "#/definitions/supplier",
},
type: "array",
},
@@ -21102,166 +21192,158 @@ export default {
description: "Partial Content",
},
},
- tags: ["groups"],
+ tags: ["supplier"],
},
- },
- "/purchaseOrderDelivery": {
- get: {
+ post: {
parameters: [
{
- $ref: "#/parameters/rowFilter.purchaseOrderDelivery.id",
+ $ref: "#/parameters/body.supplier",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderDelivery.locationId",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderDelivery.shippingMethodId",
+ $ref: "#/parameters/preferPost",
+ },
+ ],
+ responses: {
+ "201": {
+ description: "Created",
},
+ },
+ tags: ["supplier"],
+ },
+ delete: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.purchaseOrderDelivery.shippingTermId",
+ $ref: "#/parameters/rowFilter.supplier.id",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderDelivery.receiptRequestedDate",
+ $ref: "#/parameters/rowFilter.supplier.name",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderDelivery.receiptPromisedDate",
+ $ref: "#/parameters/rowFilter.supplier.supplierTypeId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderDelivery.deliveryDate",
+ $ref: "#/parameters/rowFilter.supplier.supplierStatusId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderDelivery.notes",
+ $ref: "#/parameters/rowFilter.supplier.taxId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderDelivery.trackingNumber",
+ $ref: "#/parameters/rowFilter.supplier.accountManagerId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderDelivery.dropShipment",
+ $ref: "#/parameters/rowFilter.supplier.logo",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderDelivery.customerId",
+ $ref: "#/parameters/rowFilter.supplier.assignee",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderDelivery.customerLocationId",
+ $ref: "#/parameters/rowFilter.supplier.companyId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderDelivery.companyId",
+ $ref: "#/parameters/rowFilter.supplier.createdAt",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderDelivery.updatedBy",
+ $ref: "#/parameters/rowFilter.supplier.createdBy",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderDelivery.updatedAt",
+ $ref: "#/parameters/rowFilter.supplier.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderDelivery.customFields",
+ $ref: "#/parameters/rowFilter.supplier.updatedBy",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.supplier.customFields",
},
{
- $ref: "#/parameters/order",
+ $ref: "#/parameters/rowFilter.supplier.currencyCode",
},
{
- $ref: "#/parameters/range",
+ $ref: "#/parameters/rowFilter.supplier.phone",
},
{
- $ref: "#/parameters/rangeUnit",
+ $ref: "#/parameters/rowFilter.supplier.fax",
},
{
- $ref: "#/parameters/offset",
+ $ref: "#/parameters/rowFilter.supplier.website",
},
{
- $ref: "#/parameters/limit",
+ $ref: "#/parameters/rowFilter.supplier.externalId",
},
{
- $ref: "#/parameters/preferCount",
+ $ref: "#/parameters/preferReturn",
},
],
responses: {
- "200": {
- description: "OK",
- schema: {
- items: {
- $ref: "#/definitions/purchaseOrderDelivery",
- },
- type: "array",
- },
- },
- "206": {
- description: "Partial Content",
+ "204": {
+ description: "No Content",
},
},
- tags: ["purchaseOrderDelivery"],
+ tags: ["supplier"],
},
- post: {
+ patch: {
parameters: [
{
- $ref: "#/parameters/body.purchaseOrderDelivery",
+ $ref: "#/parameters/rowFilter.supplier.id",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.supplier.name",
},
{
- $ref: "#/parameters/preferPost",
+ $ref: "#/parameters/rowFilter.supplier.supplierTypeId",
},
- ],
- responses: {
- "201": {
- description: "Created",
+ {
+ $ref: "#/parameters/rowFilter.supplier.supplierStatusId",
},
- },
- tags: ["purchaseOrderDelivery"],
- },
- delete: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.purchaseOrderDelivery.id",
+ $ref: "#/parameters/rowFilter.supplier.taxId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderDelivery.locationId",
+ $ref: "#/parameters/rowFilter.supplier.accountManagerId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderDelivery.shippingMethodId",
+ $ref: "#/parameters/rowFilter.supplier.logo",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderDelivery.shippingTermId",
+ $ref: "#/parameters/rowFilter.supplier.assignee",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderDelivery.receiptRequestedDate",
+ $ref: "#/parameters/rowFilter.supplier.companyId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderDelivery.receiptPromisedDate",
+ $ref: "#/parameters/rowFilter.supplier.createdAt",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderDelivery.deliveryDate",
+ $ref: "#/parameters/rowFilter.supplier.createdBy",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderDelivery.notes",
+ $ref: "#/parameters/rowFilter.supplier.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderDelivery.trackingNumber",
+ $ref: "#/parameters/rowFilter.supplier.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderDelivery.dropShipment",
+ $ref: "#/parameters/rowFilter.supplier.customFields",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderDelivery.customerId",
+ $ref: "#/parameters/rowFilter.supplier.currencyCode",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderDelivery.customerLocationId",
+ $ref: "#/parameters/rowFilter.supplier.phone",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderDelivery.companyId",
+ $ref: "#/parameters/rowFilter.supplier.fax",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderDelivery.updatedBy",
+ $ref: "#/parameters/rowFilter.supplier.website",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderDelivery.updatedAt",
+ $ref: "#/parameters/rowFilter.supplier.externalId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderDelivery.customFields",
+ $ref: "#/parameters/body.supplier",
},
{
$ref: "#/parameters/preferReturn",
@@ -21272,60 +21354,88 @@ export default {
description: "No Content",
},
},
- tags: ["purchaseOrderDelivery"],
+ tags: ["supplier"],
},
- patch: {
+ },
+ "/customFieldTable": {
+ get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.purchaseOrderDelivery.id",
+ $ref: "#/parameters/rowFilter.customFieldTable.table",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderDelivery.locationId",
+ $ref: "#/parameters/rowFilter.customFieldTable.module",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderDelivery.shippingMethodId",
+ $ref: "#/parameters/rowFilter.customFieldTable.name",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderDelivery.shippingTermId",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderDelivery.receiptRequestedDate",
+ $ref: "#/parameters/order",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderDelivery.receiptPromisedDate",
+ $ref: "#/parameters/range",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderDelivery.deliveryDate",
+ $ref: "#/parameters/rangeUnit",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderDelivery.notes",
+ $ref: "#/parameters/offset",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderDelivery.trackingNumber",
+ $ref: "#/parameters/limit",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderDelivery.dropShipment",
+ $ref: "#/parameters/preferCount",
},
- {
- $ref: "#/parameters/rowFilter.purchaseOrderDelivery.customerId",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/customFieldTable",
+ },
+ type: "array",
+ },
},
+ "206": {
+ description: "Partial Content",
+ },
+ },
+ tags: ["customFieldTable"],
+ },
+ post: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.purchaseOrderDelivery.customerLocationId",
+ $ref: "#/parameters/body.customFieldTable",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderDelivery.companyId",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderDelivery.updatedBy",
+ $ref: "#/parameters/preferPost",
+ },
+ ],
+ responses: {
+ "201": {
+ description: "Created",
},
+ },
+ tags: ["customFieldTable"],
+ },
+ delete: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.purchaseOrderDelivery.updatedAt",
+ $ref: "#/parameters/rowFilter.customFieldTable.table",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrderDelivery.customFields",
+ $ref: "#/parameters/rowFilter.customFieldTable.module",
},
{
- $ref: "#/parameters/body.purchaseOrderDelivery",
+ $ref: "#/parameters/rowFilter.customFieldTable.name",
},
{
$ref: "#/parameters/preferReturn",
@@ -21336,53 +21446,72 @@ export default {
description: "No Content",
},
},
- tags: ["purchaseOrderDelivery"],
+ tags: ["customFieldTable"],
},
- },
- "/warehouse": {
- get: {
+ patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.warehouse.id",
+ $ref: "#/parameters/rowFilter.customFieldTable.table",
},
{
- $ref: "#/parameters/rowFilter.warehouse.name",
+ $ref: "#/parameters/rowFilter.customFieldTable.module",
},
{
- $ref: "#/parameters/rowFilter.warehouse.locationId",
+ $ref: "#/parameters/rowFilter.customFieldTable.name",
},
{
- $ref: "#/parameters/rowFilter.warehouse.requiresPick",
+ $ref: "#/parameters/body.customFieldTable",
},
{
- $ref: "#/parameters/rowFilter.warehouse.requiresPutAway",
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
},
+ },
+ tags: ["customFieldTable"],
+ },
+ },
+ "/shippingMethod": {
+ get: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.warehouse.requiresBin",
+ $ref: "#/parameters/rowFilter.shippingMethod.id",
},
{
- $ref: "#/parameters/rowFilter.warehouse.requiresReceive",
+ $ref: "#/parameters/rowFilter.shippingMethod.name",
},
{
- $ref: "#/parameters/rowFilter.warehouse.requiresShipment",
+ $ref: "#/parameters/rowFilter.shippingMethod.carrier",
},
{
- $ref: "#/parameters/rowFilter.warehouse.active",
+ $ref: "#/parameters/rowFilter.shippingMethod.carrierAccountId",
},
{
- $ref: "#/parameters/rowFilter.warehouse.companyId",
+ $ref: "#/parameters/rowFilter.shippingMethod.trackingUrl",
},
{
- $ref: "#/parameters/rowFilter.warehouse.createdBy",
+ $ref: "#/parameters/rowFilter.shippingMethod.active",
},
{
- $ref: "#/parameters/rowFilter.warehouse.createdAt",
+ $ref: "#/parameters/rowFilter.shippingMethod.companyId",
},
{
- $ref: "#/parameters/rowFilter.warehouse.updatedBy",
+ $ref: "#/parameters/rowFilter.shippingMethod.createdAt",
},
{
- $ref: "#/parameters/rowFilter.warehouse.updatedAt",
+ $ref: "#/parameters/rowFilter.shippingMethod.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shippingMethod.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shippingMethod.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.shippingMethod.customFields",
},
{
$ref: "#/parameters/select",
@@ -21411,7 +21540,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/warehouse",
+ $ref: "#/definitions/shippingMethod",
},
type: "array",
},
@@ -21420,12 +21549,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["warehouse"],
+ tags: ["shippingMethod"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.warehouse",
+ $ref: "#/parameters/body.shippingMethod",
},
{
$ref: "#/parameters/select",
@@ -21439,51 +21568,45 @@ export default {
description: "Created",
},
},
- tags: ["warehouse"],
+ tags: ["shippingMethod"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.warehouse.id",
- },
- {
- $ref: "#/parameters/rowFilter.warehouse.name",
- },
- {
- $ref: "#/parameters/rowFilter.warehouse.locationId",
+ $ref: "#/parameters/rowFilter.shippingMethod.id",
},
{
- $ref: "#/parameters/rowFilter.warehouse.requiresPick",
+ $ref: "#/parameters/rowFilter.shippingMethod.name",
},
{
- $ref: "#/parameters/rowFilter.warehouse.requiresPutAway",
+ $ref: "#/parameters/rowFilter.shippingMethod.carrier",
},
{
- $ref: "#/parameters/rowFilter.warehouse.requiresBin",
+ $ref: "#/parameters/rowFilter.shippingMethod.carrierAccountId",
},
{
- $ref: "#/parameters/rowFilter.warehouse.requiresReceive",
+ $ref: "#/parameters/rowFilter.shippingMethod.trackingUrl",
},
{
- $ref: "#/parameters/rowFilter.warehouse.requiresShipment",
+ $ref: "#/parameters/rowFilter.shippingMethod.active",
},
{
- $ref: "#/parameters/rowFilter.warehouse.active",
+ $ref: "#/parameters/rowFilter.shippingMethod.companyId",
},
{
- $ref: "#/parameters/rowFilter.warehouse.companyId",
+ $ref: "#/parameters/rowFilter.shippingMethod.createdAt",
},
{
- $ref: "#/parameters/rowFilter.warehouse.createdBy",
+ $ref: "#/parameters/rowFilter.shippingMethod.createdBy",
},
{
- $ref: "#/parameters/rowFilter.warehouse.createdAt",
+ $ref: "#/parameters/rowFilter.shippingMethod.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.warehouse.updatedBy",
+ $ref: "#/parameters/rowFilter.shippingMethod.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.warehouse.updatedAt",
+ $ref: "#/parameters/rowFilter.shippingMethod.customFields",
},
{
$ref: "#/parameters/preferReturn",
@@ -21494,54 +21617,48 @@ export default {
description: "No Content",
},
},
- tags: ["warehouse"],
+ tags: ["shippingMethod"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.warehouse.id",
- },
- {
- $ref: "#/parameters/rowFilter.warehouse.name",
- },
- {
- $ref: "#/parameters/rowFilter.warehouse.locationId",
+ $ref: "#/parameters/rowFilter.shippingMethod.id",
},
{
- $ref: "#/parameters/rowFilter.warehouse.requiresPick",
+ $ref: "#/parameters/rowFilter.shippingMethod.name",
},
{
- $ref: "#/parameters/rowFilter.warehouse.requiresPutAway",
+ $ref: "#/parameters/rowFilter.shippingMethod.carrier",
},
{
- $ref: "#/parameters/rowFilter.warehouse.requiresBin",
+ $ref: "#/parameters/rowFilter.shippingMethod.carrierAccountId",
},
{
- $ref: "#/parameters/rowFilter.warehouse.requiresReceive",
+ $ref: "#/parameters/rowFilter.shippingMethod.trackingUrl",
},
{
- $ref: "#/parameters/rowFilter.warehouse.requiresShipment",
+ $ref: "#/parameters/rowFilter.shippingMethod.active",
},
{
- $ref: "#/parameters/rowFilter.warehouse.active",
+ $ref: "#/parameters/rowFilter.shippingMethod.companyId",
},
{
- $ref: "#/parameters/rowFilter.warehouse.companyId",
+ $ref: "#/parameters/rowFilter.shippingMethod.createdAt",
},
{
- $ref: "#/parameters/rowFilter.warehouse.createdBy",
+ $ref: "#/parameters/rowFilter.shippingMethod.createdBy",
},
{
- $ref: "#/parameters/rowFilter.warehouse.createdAt",
+ $ref: "#/parameters/rowFilter.shippingMethod.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.warehouse.updatedBy",
+ $ref: "#/parameters/rowFilter.shippingMethod.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.warehouse.updatedAt",
+ $ref: "#/parameters/rowFilter.shippingMethod.customFields",
},
{
- $ref: "#/parameters/body.warehouse",
+ $ref: "#/parameters/body.shippingMethod",
},
{
$ref: "#/parameters/preferReturn",
@@ -21552,71 +21669,77 @@ export default {
description: "No Content",
},
},
- tags: ["warehouse"],
+ tags: ["shippingMethod"],
},
},
- "/services": {
+ "/methodOperation": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.services.id",
+ $ref: "#/parameters/rowFilter.methodOperation.id",
},
{
- $ref: "#/parameters/rowFilter.services.itemId",
+ $ref: "#/parameters/rowFilter.methodOperation.makeMethodId",
},
{
- $ref: "#/parameters/rowFilter.services.serviceType",
+ $ref: "#/parameters/rowFilter.methodOperation.order",
},
{
- $ref: "#/parameters/rowFilter.services.approved",
+ $ref: "#/parameters/rowFilter.methodOperation.operationOrder",
},
{
- $ref: "#/parameters/rowFilter.services.approvedBy",
+ $ref: "#/parameters/rowFilter.methodOperation.description",
},
{
- $ref: "#/parameters/rowFilter.services.fromDate",
+ $ref: "#/parameters/rowFilter.methodOperation.companyId",
},
{
- $ref: "#/parameters/rowFilter.services.toDate",
+ $ref: "#/parameters/rowFilter.methodOperation.createdAt",
},
{
- $ref: "#/parameters/rowFilter.services.customFields",
+ $ref: "#/parameters/rowFilter.methodOperation.createdBy",
},
{
- $ref: "#/parameters/rowFilter.services.companyId",
+ $ref: "#/parameters/rowFilter.methodOperation.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.services.createdBy",
+ $ref: "#/parameters/rowFilter.methodOperation.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.services.createdAt",
+ $ref: "#/parameters/rowFilter.methodOperation.customFields",
},
{
- $ref: "#/parameters/rowFilter.services.updatedBy",
+ $ref: "#/parameters/rowFilter.methodOperation.processId",
},
{
- $ref: "#/parameters/rowFilter.services.updatedAt",
+ $ref: "#/parameters/rowFilter.methodOperation.workCenterId",
},
{
- $ref: "#/parameters/rowFilter.services.name",
+ $ref: "#/parameters/rowFilter.methodOperation.setupTime",
},
{
- $ref: "#/parameters/rowFilter.services.description",
+ $ref: "#/parameters/rowFilter.methodOperation.setupUnit",
},
{
- $ref: "#/parameters/rowFilter.services.active",
+ $ref: "#/parameters/rowFilter.methodOperation.laborTime",
},
{
- $ref: "#/parameters/rowFilter.services.replenishmentSystem",
+ $ref: "#/parameters/rowFilter.methodOperation.laborUnit",
},
{
- $ref: "#/parameters/rowFilter.services.defaultMethodType",
+ $ref: "#/parameters/rowFilter.methodOperation.machineTime",
},
{
- $ref: "#/parameters/rowFilter.services.assignee",
+ $ref: "#/parameters/rowFilter.methodOperation.machineUnit",
},
{
- $ref: "#/parameters/rowFilter.services.supplierIds",
+ $ref: "#/parameters/rowFilter.methodOperation.operationType",
+ },
+ {
+ $ref: "#/parameters/rowFilter.methodOperation.operationSupplierProcessId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.methodOperation.workInstruction",
},
{
$ref: "#/parameters/select",
@@ -21645,7 +21768,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/services",
+ $ref: "#/definitions/methodOperation",
},
type: "array",
},
@@ -21654,242 +21777,221 @@ export default {
description: "Partial Content",
},
},
- tags: ["services"],
+ tags: ["methodOperation"],
},
- },
- "/itemLedger": {
- get: {
+ post: {
parameters: [
{
- $ref: "#/parameters/rowFilter.itemLedger.id",
+ $ref: "#/parameters/body.methodOperation",
},
{
- $ref: "#/parameters/rowFilter.itemLedger.entryNumber",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.itemLedger.postingDate",
+ $ref: "#/parameters/preferPost",
},
- {
- $ref: "#/parameters/rowFilter.itemLedger.entryType",
+ ],
+ responses: {
+ "201": {
+ description: "Created",
},
+ },
+ tags: ["methodOperation"],
+ },
+ delete: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.itemLedger.documentType",
+ $ref: "#/parameters/rowFilter.methodOperation.id",
},
{
- $ref: "#/parameters/rowFilter.itemLedger.documentId",
+ $ref: "#/parameters/rowFilter.methodOperation.makeMethodId",
},
{
- $ref: "#/parameters/rowFilter.itemLedger.externalDocumentId",
+ $ref: "#/parameters/rowFilter.methodOperation.order",
},
{
- $ref: "#/parameters/rowFilter.itemLedger.itemId",
+ $ref: "#/parameters/rowFilter.methodOperation.operationOrder",
},
{
- $ref: "#/parameters/rowFilter.itemLedger.itemReadableId",
+ $ref: "#/parameters/rowFilter.methodOperation.description",
},
{
- $ref: "#/parameters/rowFilter.itemLedger.locationId",
+ $ref: "#/parameters/rowFilter.methodOperation.companyId",
},
{
- $ref: "#/parameters/rowFilter.itemLedger.shelfId",
+ $ref: "#/parameters/rowFilter.methodOperation.createdAt",
},
{
- $ref: "#/parameters/rowFilter.itemLedger.quantity",
+ $ref: "#/parameters/rowFilter.methodOperation.createdBy",
},
{
- $ref: "#/parameters/rowFilter.itemLedger.companyId",
+ $ref: "#/parameters/rowFilter.methodOperation.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.itemLedger.createdAt",
+ $ref: "#/parameters/rowFilter.methodOperation.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.itemLedger.createdBy",
+ $ref: "#/parameters/rowFilter.methodOperation.customFields",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.methodOperation.processId",
},
{
- $ref: "#/parameters/order",
+ $ref: "#/parameters/rowFilter.methodOperation.workCenterId",
},
{
- $ref: "#/parameters/range",
+ $ref: "#/parameters/rowFilter.methodOperation.setupTime",
},
{
- $ref: "#/parameters/rangeUnit",
+ $ref: "#/parameters/rowFilter.methodOperation.setupUnit",
},
{
- $ref: "#/parameters/offset",
+ $ref: "#/parameters/rowFilter.methodOperation.laborTime",
},
{
- $ref: "#/parameters/limit",
+ $ref: "#/parameters/rowFilter.methodOperation.laborUnit",
},
{
- $ref: "#/parameters/preferCount",
+ $ref: "#/parameters/rowFilter.methodOperation.machineTime",
},
- ],
- responses: {
- "200": {
- description: "OK",
- schema: {
- items: {
- $ref: "#/definitions/itemLedger",
- },
- type: "array",
- },
+ {
+ $ref: "#/parameters/rowFilter.methodOperation.machineUnit",
},
- "206": {
- description: "Partial Content",
+ {
+ $ref: "#/parameters/rowFilter.methodOperation.operationType",
},
- },
- tags: ["itemLedger"],
- },
- post: {
- parameters: [
{
- $ref: "#/parameters/body.itemLedger",
+ $ref: "#/parameters/rowFilter.methodOperation.operationSupplierProcessId",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.methodOperation.workInstruction",
},
{
- $ref: "#/parameters/preferPost",
+ $ref: "#/parameters/preferReturn",
},
],
responses: {
- "201": {
- description: "Created",
+ "204": {
+ description: "No Content",
},
},
- tags: ["itemLedger"],
+ tags: ["methodOperation"],
},
- delete: {
+ patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.itemLedger.id",
+ $ref: "#/parameters/rowFilter.methodOperation.id",
},
{
- $ref: "#/parameters/rowFilter.itemLedger.entryNumber",
+ $ref: "#/parameters/rowFilter.methodOperation.makeMethodId",
},
{
- $ref: "#/parameters/rowFilter.itemLedger.postingDate",
+ $ref: "#/parameters/rowFilter.methodOperation.order",
},
{
- $ref: "#/parameters/rowFilter.itemLedger.entryType",
+ $ref: "#/parameters/rowFilter.methodOperation.operationOrder",
},
{
- $ref: "#/parameters/rowFilter.itemLedger.documentType",
+ $ref: "#/parameters/rowFilter.methodOperation.description",
},
{
- $ref: "#/parameters/rowFilter.itemLedger.documentId",
+ $ref: "#/parameters/rowFilter.methodOperation.companyId",
},
{
- $ref: "#/parameters/rowFilter.itemLedger.externalDocumentId",
+ $ref: "#/parameters/rowFilter.methodOperation.createdAt",
},
{
- $ref: "#/parameters/rowFilter.itemLedger.itemId",
+ $ref: "#/parameters/rowFilter.methodOperation.createdBy",
},
{
- $ref: "#/parameters/rowFilter.itemLedger.itemReadableId",
+ $ref: "#/parameters/rowFilter.methodOperation.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.itemLedger.locationId",
+ $ref: "#/parameters/rowFilter.methodOperation.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.itemLedger.shelfId",
+ $ref: "#/parameters/rowFilter.methodOperation.customFields",
},
{
- $ref: "#/parameters/rowFilter.itemLedger.quantity",
+ $ref: "#/parameters/rowFilter.methodOperation.processId",
},
{
- $ref: "#/parameters/rowFilter.itemLedger.companyId",
+ $ref: "#/parameters/rowFilter.methodOperation.workCenterId",
},
{
- $ref: "#/parameters/rowFilter.itemLedger.createdAt",
+ $ref: "#/parameters/rowFilter.methodOperation.setupTime",
},
{
- $ref: "#/parameters/rowFilter.itemLedger.createdBy",
+ $ref: "#/parameters/rowFilter.methodOperation.setupUnit",
},
{
- $ref: "#/parameters/preferReturn",
- },
- ],
- responses: {
- "204": {
- description: "No Content",
+ $ref: "#/parameters/rowFilter.methodOperation.laborTime",
},
- },
- tags: ["itemLedger"],
- },
- patch: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.itemLedger.id",
+ $ref: "#/parameters/rowFilter.methodOperation.laborUnit",
},
{
- $ref: "#/parameters/rowFilter.itemLedger.entryNumber",
+ $ref: "#/parameters/rowFilter.methodOperation.machineTime",
},
{
- $ref: "#/parameters/rowFilter.itemLedger.postingDate",
+ $ref: "#/parameters/rowFilter.methodOperation.machineUnit",
},
{
- $ref: "#/parameters/rowFilter.itemLedger.entryType",
+ $ref: "#/parameters/rowFilter.methodOperation.operationType",
},
{
- $ref: "#/parameters/rowFilter.itemLedger.documentType",
+ $ref: "#/parameters/rowFilter.methodOperation.operationSupplierProcessId",
},
{
- $ref: "#/parameters/rowFilter.itemLedger.documentId",
+ $ref: "#/parameters/rowFilter.methodOperation.workInstruction",
},
{
- $ref: "#/parameters/rowFilter.itemLedger.externalDocumentId",
+ $ref: "#/parameters/body.methodOperation",
},
{
- $ref: "#/parameters/rowFilter.itemLedger.itemId",
+ $ref: "#/parameters/preferReturn",
},
- {
- $ref: "#/parameters/rowFilter.itemLedger.itemReadableId",
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
},
+ },
+ tags: ["methodOperation"],
+ },
+ },
+ "/salesOrderPayment": {
+ get: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.itemLedger.locationId",
+ $ref: "#/parameters/rowFilter.salesOrderPayment.id",
},
{
- $ref: "#/parameters/rowFilter.itemLedger.shelfId",
+ $ref: "#/parameters/rowFilter.salesOrderPayment.invoiceCustomerId",
},
{
- $ref: "#/parameters/rowFilter.itemLedger.quantity",
+ $ref: "#/parameters/rowFilter.salesOrderPayment.invoiceCustomerLocationId",
},
{
- $ref: "#/parameters/rowFilter.itemLedger.companyId",
+ $ref: "#/parameters/rowFilter.salesOrderPayment.invoiceCustomerContactId",
},
{
- $ref: "#/parameters/rowFilter.itemLedger.createdAt",
+ $ref: "#/parameters/rowFilter.salesOrderPayment.paymentTermId",
},
{
- $ref: "#/parameters/rowFilter.itemLedger.createdBy",
+ $ref: "#/parameters/rowFilter.salesOrderPayment.paymentComplete",
},
{
- $ref: "#/parameters/body.itemLedger",
+ $ref: "#/parameters/rowFilter.salesOrderPayment.companyId",
},
{
- $ref: "#/parameters/preferReturn",
- },
- ],
- responses: {
- "204": {
- description: "No Content",
+ $ref: "#/parameters/rowFilter.salesOrderPayment.updatedAt",
},
- },
- tags: ["itemLedger"],
- },
- },
- "/salesRfqFavorite": {
- get: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.salesRfqFavorite.rfqId",
+ $ref: "#/parameters/rowFilter.salesOrderPayment.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.salesRfqFavorite.userId",
+ $ref: "#/parameters/rowFilter.salesOrderPayment.customFields",
},
{
$ref: "#/parameters/select",
@@ -21918,7 +22020,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/salesRfqFavorite",
+ $ref: "#/definitions/salesOrderPayment",
},
type: "array",
},
@@ -21927,12 +22029,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["salesRfqFavorite"],
+ tags: ["salesOrderPayment"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.salesRfqFavorite",
+ $ref: "#/parameters/body.salesOrderPayment",
},
{
$ref: "#/parameters/select",
@@ -21946,15 +22048,39 @@ export default {
description: "Created",
},
},
- tags: ["salesRfqFavorite"],
+ tags: ["salesOrderPayment"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.salesRfqFavorite.rfqId",
+ $ref: "#/parameters/rowFilter.salesOrderPayment.id",
},
{
- $ref: "#/parameters/rowFilter.salesRfqFavorite.userId",
+ $ref: "#/parameters/rowFilter.salesOrderPayment.invoiceCustomerId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrderPayment.invoiceCustomerLocationId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrderPayment.invoiceCustomerContactId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrderPayment.paymentTermId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrderPayment.paymentComplete",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrderPayment.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrderPayment.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrderPayment.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrderPayment.customFields",
},
{
$ref: "#/parameters/preferReturn",
@@ -21965,18 +22091,42 @@ export default {
description: "No Content",
},
},
- tags: ["salesRfqFavorite"],
+ tags: ["salesOrderPayment"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.salesRfqFavorite.rfqId",
+ $ref: "#/parameters/rowFilter.salesOrderPayment.id",
},
{
- $ref: "#/parameters/rowFilter.salesRfqFavorite.userId",
+ $ref: "#/parameters/rowFilter.salesOrderPayment.invoiceCustomerId",
},
{
- $ref: "#/parameters/body.salesRfqFavorite",
+ $ref: "#/parameters/rowFilter.salesOrderPayment.invoiceCustomerLocationId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrderPayment.invoiceCustomerContactId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrderPayment.paymentTermId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrderPayment.paymentComplete",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrderPayment.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrderPayment.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrderPayment.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrderPayment.customFields",
+ },
+ {
+ $ref: "#/parameters/body.salesOrderPayment",
},
{
$ref: "#/parameters/preferReturn",
@@ -21987,29 +22137,44 @@ export default {
description: "No Content",
},
},
- tags: ["salesRfqFavorite"],
+ tags: ["salesOrderPayment"],
},
},
- "/supplierContact": {
+ "/sequence": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.supplierContact.id",
+ $ref: "#/parameters/rowFilter.sequence.id",
},
{
- $ref: "#/parameters/rowFilter.supplierContact.supplierId",
+ $ref: "#/parameters/rowFilter.sequence.table",
},
{
- $ref: "#/parameters/rowFilter.supplierContact.contactId",
+ $ref: "#/parameters/rowFilter.sequence.name",
},
{
- $ref: "#/parameters/rowFilter.supplierContact.supplierLocationId",
+ $ref: "#/parameters/rowFilter.sequence.prefix",
},
{
- $ref: "#/parameters/rowFilter.supplierContact.userId",
+ $ref: "#/parameters/rowFilter.sequence.suffix",
},
{
- $ref: "#/parameters/rowFilter.supplierContact.customFields",
+ $ref: "#/parameters/rowFilter.sequence.next",
+ },
+ {
+ $ref: "#/parameters/rowFilter.sequence.size",
+ },
+ {
+ $ref: "#/parameters/rowFilter.sequence.step",
+ },
+ {
+ $ref: "#/parameters/rowFilter.sequence.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.sequence.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.sequence.updatedBy",
},
{
$ref: "#/parameters/select",
@@ -22038,7 +22203,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/supplierContact",
+ $ref: "#/definitions/sequence",
},
type: "array",
},
@@ -22047,12 +22212,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["supplierContact"],
+ tags: ["sequence"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.supplierContact",
+ $ref: "#/parameters/body.sequence",
},
{
$ref: "#/parameters/select",
@@ -22066,61 +22231,42 @@ export default {
description: "Created",
},
},
- tags: ["supplierContact"],
+ tags: ["sequence"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.supplierContact.id",
- },
- {
- $ref: "#/parameters/rowFilter.supplierContact.supplierId",
- },
- {
- $ref: "#/parameters/rowFilter.supplierContact.contactId",
- },
- {
- $ref: "#/parameters/rowFilter.supplierContact.supplierLocationId",
+ $ref: "#/parameters/rowFilter.sequence.id",
},
{
- $ref: "#/parameters/rowFilter.supplierContact.userId",
+ $ref: "#/parameters/rowFilter.sequence.table",
},
{
- $ref: "#/parameters/rowFilter.supplierContact.customFields",
+ $ref: "#/parameters/rowFilter.sequence.name",
},
{
- $ref: "#/parameters/preferReturn",
- },
- ],
- responses: {
- "204": {
- description: "No Content",
+ $ref: "#/parameters/rowFilter.sequence.prefix",
},
- },
- tags: ["supplierContact"],
- },
- patch: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.supplierContact.id",
+ $ref: "#/parameters/rowFilter.sequence.suffix",
},
{
- $ref: "#/parameters/rowFilter.supplierContact.supplierId",
+ $ref: "#/parameters/rowFilter.sequence.next",
},
{
- $ref: "#/parameters/rowFilter.supplierContact.contactId",
+ $ref: "#/parameters/rowFilter.sequence.size",
},
{
- $ref: "#/parameters/rowFilter.supplierContact.supplierLocationId",
+ $ref: "#/parameters/rowFilter.sequence.step",
},
{
- $ref: "#/parameters/rowFilter.supplierContact.userId",
+ $ref: "#/parameters/rowFilter.sequence.companyId",
},
{
- $ref: "#/parameters/rowFilter.supplierContact.customFields",
+ $ref: "#/parameters/rowFilter.sequence.updatedAt",
},
{
- $ref: "#/parameters/body.supplierContact",
+ $ref: "#/parameters/rowFilter.sequence.updatedBy",
},
{
$ref: "#/parameters/preferReturn",
@@ -22131,101 +22277,84 @@ export default {
description: "No Content",
},
},
- tags: ["supplierContact"],
+ tags: ["sequence"],
},
- },
- "/integrations": {
- get: {
+ patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.integrations.id",
+ $ref: "#/parameters/rowFilter.sequence.id",
},
{
- $ref: "#/parameters/rowFilter.integrations.jsonschema",
+ $ref: "#/parameters/rowFilter.sequence.table",
},
{
- $ref: "#/parameters/rowFilter.integrations.companyId",
+ $ref: "#/parameters/rowFilter.sequence.name",
},
{
- $ref: "#/parameters/rowFilter.integrations.metadata",
+ $ref: "#/parameters/rowFilter.sequence.prefix",
},
{
- $ref: "#/parameters/rowFilter.integrations.active",
+ $ref: "#/parameters/rowFilter.sequence.suffix",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.sequence.next",
},
{
- $ref: "#/parameters/order",
+ $ref: "#/parameters/rowFilter.sequence.size",
},
{
- $ref: "#/parameters/range",
+ $ref: "#/parameters/rowFilter.sequence.step",
},
{
- $ref: "#/parameters/rangeUnit",
+ $ref: "#/parameters/rowFilter.sequence.companyId",
},
{
- $ref: "#/parameters/offset",
+ $ref: "#/parameters/rowFilter.sequence.updatedAt",
},
{
- $ref: "#/parameters/limit",
+ $ref: "#/parameters/rowFilter.sequence.updatedBy",
},
{
- $ref: "#/parameters/preferCount",
+ $ref: "#/parameters/body.sequence",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
},
],
responses: {
- "200": {
- description: "OK",
- schema: {
- items: {
- $ref: "#/definitions/integrations",
- },
- type: "array",
- },
- },
- "206": {
- description: "Partial Content",
+ "204": {
+ description: "No Content",
},
},
- tags: ["integrations"],
+ tags: ["sequence"],
},
},
- "/groups_recursive": {
+ "/oauthClient": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.groups_recursive.groupId",
- },
- {
- $ref: "#/parameters/rowFilter.groups_recursive.name",
- },
- {
- $ref: "#/parameters/rowFilter.groups_recursive.companyId",
- },
- {
- $ref: "#/parameters/rowFilter.groups_recursive.parentId",
+ $ref: "#/parameters/rowFilter.oauthClient.id",
},
{
- $ref: "#/parameters/rowFilter.groups_recursive.isIdentityGroup",
+ $ref: "#/parameters/rowFilter.oauthClient.name",
},
{
- $ref: "#/parameters/rowFilter.groups_recursive.isEmployeeTypeGroup",
+ $ref: "#/parameters/rowFilter.oauthClient.clientId",
},
{
- $ref: "#/parameters/rowFilter.groups_recursive.isCustomerOrgGroup",
+ $ref: "#/parameters/rowFilter.oauthClient.clientSecret",
},
{
- $ref: "#/parameters/rowFilter.groups_recursive.isCustomerTypeGroup",
+ $ref: "#/parameters/rowFilter.oauthClient.redirectUris",
},
{
- $ref: "#/parameters/rowFilter.groups_recursive.isSupplierOrgGroup",
+ $ref: "#/parameters/rowFilter.oauthClient.companyId",
},
{
- $ref: "#/parameters/rowFilter.groups_recursive.isSupplierTypeGroup",
+ $ref: "#/parameters/rowFilter.oauthClient.createdAt",
},
{
- $ref: "#/parameters/rowFilter.groups_recursive.user",
+ $ref: "#/parameters/rowFilter.oauthClient.updatedAt",
},
{
$ref: "#/parameters/select",
@@ -22254,7 +22383,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/groups_recursive",
+ $ref: "#/definitions/oauthClient",
},
type: "array",
},
@@ -22263,89 +22392,137 @@ export default {
description: "Partial Content",
},
},
- tags: ["groups_recursive"],
+ tags: ["oauthClient"],
},
- },
- "/purchaseInvoices": {
- get: {
+ post: {
parameters: [
{
- $ref: "#/parameters/rowFilter.purchaseInvoices.id",
+ $ref: "#/parameters/body.oauthClient",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoices.invoiceId",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoices.supplierId",
+ $ref: "#/parameters/preferPost",
+ },
+ ],
+ responses: {
+ "201": {
+ description: "Created",
},
+ },
+ tags: ["oauthClient"],
+ },
+ delete: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.purchaseInvoices.supplierReference",
+ $ref: "#/parameters/rowFilter.oauthClient.id",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoices.invoiceSupplierId",
+ $ref: "#/parameters/rowFilter.oauthClient.name",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoices.postingDate",
+ $ref: "#/parameters/rowFilter.oauthClient.clientId",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoices.dateIssued",
+ $ref: "#/parameters/rowFilter.oauthClient.clientSecret",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoices.dateDue",
+ $ref: "#/parameters/rowFilter.oauthClient.redirectUris",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoices.datePaid",
+ $ref: "#/parameters/rowFilter.oauthClient.companyId",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoices.paymentTermId",
+ $ref: "#/parameters/rowFilter.oauthClient.createdAt",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoices.currencyCode",
+ $ref: "#/parameters/rowFilter.oauthClient.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoices.exchangeRate",
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
},
+ },
+ tags: ["oauthClient"],
+ },
+ patch: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.purchaseInvoices.subtotal",
+ $ref: "#/parameters/rowFilter.oauthClient.id",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoices.totalDiscount",
+ $ref: "#/parameters/rowFilter.oauthClient.name",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoices.totalAmount",
+ $ref: "#/parameters/rowFilter.oauthClient.clientId",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoices.totalTax",
+ $ref: "#/parameters/rowFilter.oauthClient.clientSecret",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoices.balance",
+ $ref: "#/parameters/rowFilter.oauthClient.redirectUris",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoices.assignee",
+ $ref: "#/parameters/rowFilter.oauthClient.companyId",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoices.createdBy",
+ $ref: "#/parameters/rowFilter.oauthClient.createdAt",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoices.createdAt",
+ $ref: "#/parameters/rowFilter.oauthClient.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoices.updatedBy",
+ $ref: "#/parameters/body.oauthClient",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoices.updatedAt",
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
},
+ },
+ tags: ["oauthClient"],
+ },
+ },
+ "/ability": {
+ get: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.purchaseInvoices.customFields",
+ $ref: "#/parameters/rowFilter.ability.id",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoices.companyId",
+ $ref: "#/parameters/rowFilter.ability.name",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoices.status",
+ $ref: "#/parameters/rowFilter.ability.curve",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoices.paymentTermName",
+ $ref: "#/parameters/rowFilter.ability.shadowWeeks",
+ },
+ {
+ $ref: "#/parameters/rowFilter.ability.active",
+ },
+ {
+ $ref: "#/parameters/rowFilter.ability.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.ability.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.ability.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.ability.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.ability.updatedBy",
},
{
$ref: "#/parameters/select",
@@ -22374,7 +22551,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/purchaseInvoices",
+ $ref: "#/definitions/ability",
},
type: "array",
},
@@ -22383,106 +22560,104 @@ export default {
description: "Partial Content",
},
},
- tags: ["purchaseInvoices"],
+ tags: ["ability"],
},
- },
- "/customerContact": {
- get: {
+ post: {
parameters: [
{
- $ref: "#/parameters/rowFilter.customerContact.id",
+ $ref: "#/parameters/body.ability",
},
{
- $ref: "#/parameters/rowFilter.customerContact.customerId",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.customerContact.contactId",
+ $ref: "#/parameters/preferPost",
},
- {
- $ref: "#/parameters/rowFilter.customerContact.customerLocationId",
+ ],
+ responses: {
+ "201": {
+ description: "Created",
},
+ },
+ tags: ["ability"],
+ },
+ delete: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.customerContact.userId",
+ $ref: "#/parameters/rowFilter.ability.id",
},
{
- $ref: "#/parameters/rowFilter.customerContact.customFields",
+ $ref: "#/parameters/rowFilter.ability.name",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.ability.curve",
},
{
- $ref: "#/parameters/order",
+ $ref: "#/parameters/rowFilter.ability.shadowWeeks",
},
{
- $ref: "#/parameters/range",
+ $ref: "#/parameters/rowFilter.ability.active",
},
{
- $ref: "#/parameters/rangeUnit",
+ $ref: "#/parameters/rowFilter.ability.companyId",
},
{
- $ref: "#/parameters/offset",
+ $ref: "#/parameters/rowFilter.ability.createdAt",
},
{
- $ref: "#/parameters/limit",
+ $ref: "#/parameters/rowFilter.ability.createdBy",
},
{
- $ref: "#/parameters/preferCount",
+ $ref: "#/parameters/rowFilter.ability.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.ability.updatedBy",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
},
],
responses: {
- "200": {
- description: "OK",
- schema: {
- items: {
- $ref: "#/definitions/customerContact",
- },
- type: "array",
- },
- },
- "206": {
- description: "Partial Content",
+ "204": {
+ description: "No Content",
},
},
- tags: ["customerContact"],
+ tags: ["ability"],
},
- post: {
+ patch: {
parameters: [
{
- $ref: "#/parameters/body.customerContact",
+ $ref: "#/parameters/rowFilter.ability.id",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.ability.name",
},
{
- $ref: "#/parameters/preferPost",
+ $ref: "#/parameters/rowFilter.ability.curve",
},
- ],
- responses: {
- "201": {
- description: "Created",
+ {
+ $ref: "#/parameters/rowFilter.ability.shadowWeeks",
},
- },
- tags: ["customerContact"],
- },
- delete: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.customerContact.id",
+ $ref: "#/parameters/rowFilter.ability.active",
},
{
- $ref: "#/parameters/rowFilter.customerContact.customerId",
+ $ref: "#/parameters/rowFilter.ability.companyId",
},
{
- $ref: "#/parameters/rowFilter.customerContact.contactId",
+ $ref: "#/parameters/rowFilter.ability.createdAt",
},
{
- $ref: "#/parameters/rowFilter.customerContact.customerLocationId",
+ $ref: "#/parameters/rowFilter.ability.createdBy",
},
{
- $ref: "#/parameters/rowFilter.customerContact.userId",
+ $ref: "#/parameters/rowFilter.ability.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.customerContact.customFields",
+ $ref: "#/parameters/rowFilter.ability.updatedBy",
+ },
+ {
+ $ref: "#/parameters/body.ability",
},
{
$ref: "#/parameters/preferReturn",
@@ -22493,78 +22668,65 @@ export default {
description: "No Content",
},
},
- tags: ["customerContact"],
+ tags: ["ability"],
},
- patch: {
+ },
+ "/salesRfqLine": {
+ get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.customerContact.id",
- },
- {
- $ref: "#/parameters/rowFilter.customerContact.customerId",
+ $ref: "#/parameters/rowFilter.salesRfqLine.id",
},
{
- $ref: "#/parameters/rowFilter.customerContact.contactId",
+ $ref: "#/parameters/rowFilter.salesRfqLine.salesRfqId",
},
{
- $ref: "#/parameters/rowFilter.customerContact.customerLocationId",
+ $ref: "#/parameters/rowFilter.salesRfqLine.itemId",
},
{
- $ref: "#/parameters/rowFilter.customerContact.userId",
+ $ref: "#/parameters/rowFilter.salesRfqLine.description",
},
{
- $ref: "#/parameters/rowFilter.customerContact.customFields",
+ $ref: "#/parameters/rowFilter.salesRfqLine.quantity",
},
{
- $ref: "#/parameters/body.customerContact",
+ $ref: "#/parameters/rowFilter.salesRfqLine.unitOfMeasureCode",
},
{
- $ref: "#/parameters/preferReturn",
- },
- ],
- responses: {
- "204": {
- description: "No Content",
+ $ref: "#/parameters/rowFilter.salesRfqLine.order",
},
- },
- tags: ["customerContact"],
- },
- },
- "/accountingPeriod": {
- get: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.accountingPeriod.id",
+ $ref: "#/parameters/rowFilter.salesRfqLine.internalNotes",
},
{
- $ref: "#/parameters/rowFilter.accountingPeriod.startDate",
+ $ref: "#/parameters/rowFilter.salesRfqLine.externalNotes",
},
{
- $ref: "#/parameters/rowFilter.accountingPeriod.endDate",
+ $ref: "#/parameters/rowFilter.salesRfqLine.companyId",
},
{
- $ref: "#/parameters/rowFilter.accountingPeriod.status",
+ $ref: "#/parameters/rowFilter.salesRfqLine.customFields",
},
{
- $ref: "#/parameters/rowFilter.accountingPeriod.companyId",
+ $ref: "#/parameters/rowFilter.salesRfqLine.createdAt",
},
{
- $ref: "#/parameters/rowFilter.accountingPeriod.closedAt",
+ $ref: "#/parameters/rowFilter.salesRfqLine.createdBy",
},
{
- $ref: "#/parameters/rowFilter.accountingPeriod.closedBy",
+ $ref: "#/parameters/rowFilter.salesRfqLine.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.accountingPeriod.createdBy",
+ $ref: "#/parameters/rowFilter.salesRfqLine.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.accountingPeriod.createdAt",
+ $ref: "#/parameters/rowFilter.salesRfqLine.modelUploadId",
},
{
- $ref: "#/parameters/rowFilter.accountingPeriod.updatedBy",
+ $ref: "#/parameters/rowFilter.salesRfqLine.customerPartId",
},
{
- $ref: "#/parameters/rowFilter.accountingPeriod.updatedAt",
+ $ref: "#/parameters/rowFilter.salesRfqLine.customerPartRevision",
},
{
$ref: "#/parameters/select",
@@ -22593,7 +22755,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/accountingPeriod",
+ $ref: "#/definitions/salesRfqLine",
},
type: "array",
},
@@ -22602,12 +22764,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["accountingPeriod"],
+ tags: ["salesRfqLine"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.accountingPeriod",
+ $ref: "#/parameters/body.salesRfqLine",
},
{
$ref: "#/parameters/select",
@@ -22621,91 +22783,63 @@ export default {
description: "Created",
},
},
- tags: ["accountingPeriod"],
+ tags: ["salesRfqLine"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.accountingPeriod.id",
- },
- {
- $ref: "#/parameters/rowFilter.accountingPeriod.startDate",
- },
- {
- $ref: "#/parameters/rowFilter.accountingPeriod.endDate",
- },
- {
- $ref: "#/parameters/rowFilter.accountingPeriod.status",
- },
- {
- $ref: "#/parameters/rowFilter.accountingPeriod.companyId",
- },
- {
- $ref: "#/parameters/rowFilter.accountingPeriod.closedAt",
- },
- {
- $ref: "#/parameters/rowFilter.accountingPeriod.closedBy",
+ $ref: "#/parameters/rowFilter.salesRfqLine.id",
},
{
- $ref: "#/parameters/rowFilter.accountingPeriod.createdBy",
+ $ref: "#/parameters/rowFilter.salesRfqLine.salesRfqId",
},
{
- $ref: "#/parameters/rowFilter.accountingPeriod.createdAt",
+ $ref: "#/parameters/rowFilter.salesRfqLine.itemId",
},
{
- $ref: "#/parameters/rowFilter.accountingPeriod.updatedBy",
+ $ref: "#/parameters/rowFilter.salesRfqLine.description",
},
{
- $ref: "#/parameters/rowFilter.accountingPeriod.updatedAt",
+ $ref: "#/parameters/rowFilter.salesRfqLine.quantity",
},
{
- $ref: "#/parameters/preferReturn",
- },
- ],
- responses: {
- "204": {
- description: "No Content",
+ $ref: "#/parameters/rowFilter.salesRfqLine.unitOfMeasureCode",
},
- },
- tags: ["accountingPeriod"],
- },
- patch: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.accountingPeriod.id",
+ $ref: "#/parameters/rowFilter.salesRfqLine.order",
},
{
- $ref: "#/parameters/rowFilter.accountingPeriod.startDate",
+ $ref: "#/parameters/rowFilter.salesRfqLine.internalNotes",
},
{
- $ref: "#/parameters/rowFilter.accountingPeriod.endDate",
+ $ref: "#/parameters/rowFilter.salesRfqLine.externalNotes",
},
{
- $ref: "#/parameters/rowFilter.accountingPeriod.status",
+ $ref: "#/parameters/rowFilter.salesRfqLine.companyId",
},
{
- $ref: "#/parameters/rowFilter.accountingPeriod.companyId",
+ $ref: "#/parameters/rowFilter.salesRfqLine.customFields",
},
{
- $ref: "#/parameters/rowFilter.accountingPeriod.closedAt",
+ $ref: "#/parameters/rowFilter.salesRfqLine.createdAt",
},
{
- $ref: "#/parameters/rowFilter.accountingPeriod.closedBy",
+ $ref: "#/parameters/rowFilter.salesRfqLine.createdBy",
},
{
- $ref: "#/parameters/rowFilter.accountingPeriod.createdBy",
+ $ref: "#/parameters/rowFilter.salesRfqLine.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.accountingPeriod.createdAt",
+ $ref: "#/parameters/rowFilter.salesRfqLine.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.accountingPeriod.updatedBy",
+ $ref: "#/parameters/rowFilter.salesRfqLine.modelUploadId",
},
{
- $ref: "#/parameters/rowFilter.accountingPeriod.updatedAt",
+ $ref: "#/parameters/rowFilter.salesRfqLine.customerPartId",
},
{
- $ref: "#/parameters/body.accountingPeriod",
+ $ref: "#/parameters/rowFilter.salesRfqLine.customerPartRevision",
},
{
$ref: "#/parameters/preferReturn",
@@ -22716,88 +22850,66 @@ export default {
description: "No Content",
},
},
- tags: ["accountingPeriod"],
+ tags: ["salesRfqLine"],
},
- },
- "/purchaseInvoicePaymentRelation": {
- get: {
+ patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.purchaseInvoicePaymentRelation.id",
+ $ref: "#/parameters/rowFilter.salesRfqLine.id",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoicePaymentRelation.invoiceId",
+ $ref: "#/parameters/rowFilter.salesRfqLine.salesRfqId",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoicePaymentRelation.paymentId",
+ $ref: "#/parameters/rowFilter.salesRfqLine.itemId",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.salesRfqLine.description",
},
{
- $ref: "#/parameters/order",
+ $ref: "#/parameters/rowFilter.salesRfqLine.quantity",
},
{
- $ref: "#/parameters/range",
+ $ref: "#/parameters/rowFilter.salesRfqLine.unitOfMeasureCode",
},
{
- $ref: "#/parameters/rangeUnit",
+ $ref: "#/parameters/rowFilter.salesRfqLine.order",
},
{
- $ref: "#/parameters/offset",
+ $ref: "#/parameters/rowFilter.salesRfqLine.internalNotes",
},
{
- $ref: "#/parameters/limit",
+ $ref: "#/parameters/rowFilter.salesRfqLine.externalNotes",
},
{
- $ref: "#/parameters/preferCount",
+ $ref: "#/parameters/rowFilter.salesRfqLine.companyId",
},
- ],
- responses: {
- "200": {
- description: "OK",
- schema: {
- items: {
- $ref: "#/definitions/purchaseInvoicePaymentRelation",
- },
- type: "array",
- },
+ {
+ $ref: "#/parameters/rowFilter.salesRfqLine.customFields",
},
- "206": {
- description: "Partial Content",
+ {
+ $ref: "#/parameters/rowFilter.salesRfqLine.createdAt",
},
- },
- tags: ["purchaseInvoicePaymentRelation"],
- },
- post: {
- parameters: [
{
- $ref: "#/parameters/body.purchaseInvoicePaymentRelation",
+ $ref: "#/parameters/rowFilter.salesRfqLine.createdBy",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.salesRfqLine.updatedAt",
},
{
- $ref: "#/parameters/preferPost",
+ $ref: "#/parameters/rowFilter.salesRfqLine.updatedBy",
},
- ],
- responses: {
- "201": {
- description: "Created",
+ {
+ $ref: "#/parameters/rowFilter.salesRfqLine.modelUploadId",
},
- },
- tags: ["purchaseInvoicePaymentRelation"],
- },
- delete: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.purchaseInvoicePaymentRelation.id",
+ $ref: "#/parameters/rowFilter.salesRfqLine.customerPartId",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoicePaymentRelation.invoiceId",
+ $ref: "#/parameters/rowFilter.salesRfqLine.customerPartRevision",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoicePaymentRelation.paymentId",
+ $ref: "#/parameters/body.salesRfqLine",
},
{
$ref: "#/parameters/preferReturn",
@@ -22808,99 +22920,92 @@ export default {
description: "No Content",
},
},
- tags: ["purchaseInvoicePaymentRelation"],
+ tags: ["salesRfqLine"],
},
- patch: {
+ },
+ "/purchaseInvoice": {
+ get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.purchaseInvoicePaymentRelation.id",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.id",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoicePaymentRelation.invoiceId",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.invoiceId",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoicePaymentRelation.paymentId",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.status",
},
{
- $ref: "#/parameters/body.purchaseInvoicePaymentRelation",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.supplierId",
},
{
- $ref: "#/parameters/preferReturn",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.supplierReference",
},
- ],
- responses: {
- "204": {
- description: "No Content",
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoice.invoiceSupplierId",
},
- },
- tags: ["purchaseInvoicePaymentRelation"],
- },
- },
- "/itemPlanning": {
- get: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.itemPlanning.itemId",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.invoiceSupplierLocationId",
},
{
- $ref: "#/parameters/rowFilter.itemPlanning.locationId",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.invoiceSupplierContactId",
},
{
- $ref: "#/parameters/rowFilter.itemPlanning.reorderingPolicy",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.paymentTermId",
},
{
- $ref: "#/parameters/rowFilter.itemPlanning.critical",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.currencyCode",
},
{
- $ref: "#/parameters/rowFilter.itemPlanning.safetyStockQuantity",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.exchangeRate",
},
{
- $ref: "#/parameters/rowFilter.itemPlanning.safetyStockLeadTime",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.postingDate",
},
{
- $ref: "#/parameters/rowFilter.itemPlanning.demandAccumulationPeriod",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.dateIssued",
},
{
- $ref: "#/parameters/rowFilter.itemPlanning.demandReschedulingPeriod",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.dateDue",
},
{
- $ref: "#/parameters/rowFilter.itemPlanning.demandAccumulationIncludesInventory",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.datePaid",
},
{
- $ref: "#/parameters/rowFilter.itemPlanning.reorderPoint",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.subtotal",
},
{
- $ref: "#/parameters/rowFilter.itemPlanning.reorderQuantity",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.totalDiscount",
},
{
- $ref: "#/parameters/rowFilter.itemPlanning.reorderMaximumInventory",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.totalAmount",
},
{
- $ref: "#/parameters/rowFilter.itemPlanning.minimumOrderQuantity",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.totalTax",
},
{
- $ref: "#/parameters/rowFilter.itemPlanning.maximumOrderQuantity",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.balance",
},
{
- $ref: "#/parameters/rowFilter.itemPlanning.orderMultiple",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.assignee",
},
{
- $ref: "#/parameters/rowFilter.itemPlanning.companyId",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.companyId",
},
{
- $ref: "#/parameters/rowFilter.itemPlanning.createdBy",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.customFields",
},
{
- $ref: "#/parameters/rowFilter.itemPlanning.createdAt",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.createdBy",
},
{
- $ref: "#/parameters/rowFilter.itemPlanning.updatedBy",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.createdAt",
},
{
- $ref: "#/parameters/rowFilter.itemPlanning.updatedAt",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.itemPlanning.customFields",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.updatedAt",
},
{
$ref: "#/parameters/select",
@@ -22929,7 +23034,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/itemPlanning",
+ $ref: "#/definitions/purchaseInvoice",
},
type: "array",
},
@@ -22938,12 +23043,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["itemPlanning"],
+ tags: ["purchaseInvoice"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.itemPlanning",
+ $ref: "#/parameters/body.purchaseInvoice",
},
{
$ref: "#/parameters/select",
@@ -22957,72 +23062,90 @@ export default {
description: "Created",
},
},
- tags: ["itemPlanning"],
+ tags: ["purchaseInvoice"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.itemPlanning.itemId",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.id",
},
{
- $ref: "#/parameters/rowFilter.itemPlanning.locationId",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.invoiceId",
},
{
- $ref: "#/parameters/rowFilter.itemPlanning.reorderingPolicy",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.status",
},
{
- $ref: "#/parameters/rowFilter.itemPlanning.critical",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.supplierId",
},
{
- $ref: "#/parameters/rowFilter.itemPlanning.safetyStockQuantity",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.supplierReference",
},
{
- $ref: "#/parameters/rowFilter.itemPlanning.safetyStockLeadTime",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.invoiceSupplierId",
},
{
- $ref: "#/parameters/rowFilter.itemPlanning.demandAccumulationPeriod",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.invoiceSupplierLocationId",
},
{
- $ref: "#/parameters/rowFilter.itemPlanning.demandReschedulingPeriod",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.invoiceSupplierContactId",
},
{
- $ref: "#/parameters/rowFilter.itemPlanning.demandAccumulationIncludesInventory",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.paymentTermId",
},
{
- $ref: "#/parameters/rowFilter.itemPlanning.reorderPoint",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.currencyCode",
},
{
- $ref: "#/parameters/rowFilter.itemPlanning.reorderQuantity",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.exchangeRate",
},
{
- $ref: "#/parameters/rowFilter.itemPlanning.reorderMaximumInventory",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.postingDate",
},
{
- $ref: "#/parameters/rowFilter.itemPlanning.minimumOrderQuantity",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.dateIssued",
},
{
- $ref: "#/parameters/rowFilter.itemPlanning.maximumOrderQuantity",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.dateDue",
},
{
- $ref: "#/parameters/rowFilter.itemPlanning.orderMultiple",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.datePaid",
},
{
- $ref: "#/parameters/rowFilter.itemPlanning.companyId",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.subtotal",
},
{
- $ref: "#/parameters/rowFilter.itemPlanning.createdBy",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.totalDiscount",
},
{
- $ref: "#/parameters/rowFilter.itemPlanning.createdAt",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.totalAmount",
},
{
- $ref: "#/parameters/rowFilter.itemPlanning.updatedBy",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.totalTax",
},
{
- $ref: "#/parameters/rowFilter.itemPlanning.updatedAt",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.balance",
},
{
- $ref: "#/parameters/rowFilter.itemPlanning.customFields",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.assignee",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoice.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoice.customFields",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoice.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoice.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoice.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoice.updatedAt",
},
{
$ref: "#/parameters/preferReturn",
@@ -23033,75 +23156,93 @@ export default {
description: "No Content",
},
},
- tags: ["itemPlanning"],
+ tags: ["purchaseInvoice"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.itemPlanning.itemId",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.id",
},
{
- $ref: "#/parameters/rowFilter.itemPlanning.locationId",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.invoiceId",
},
{
- $ref: "#/parameters/rowFilter.itemPlanning.reorderingPolicy",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.status",
},
{
- $ref: "#/parameters/rowFilter.itemPlanning.critical",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.supplierId",
},
{
- $ref: "#/parameters/rowFilter.itemPlanning.safetyStockQuantity",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.supplierReference",
},
{
- $ref: "#/parameters/rowFilter.itemPlanning.safetyStockLeadTime",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.invoiceSupplierId",
},
{
- $ref: "#/parameters/rowFilter.itemPlanning.demandAccumulationPeriod",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.invoiceSupplierLocationId",
},
{
- $ref: "#/parameters/rowFilter.itemPlanning.demandReschedulingPeriod",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.invoiceSupplierContactId",
},
{
- $ref: "#/parameters/rowFilter.itemPlanning.demandAccumulationIncludesInventory",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.paymentTermId",
},
{
- $ref: "#/parameters/rowFilter.itemPlanning.reorderPoint",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.currencyCode",
},
{
- $ref: "#/parameters/rowFilter.itemPlanning.reorderQuantity",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.exchangeRate",
},
{
- $ref: "#/parameters/rowFilter.itemPlanning.reorderMaximumInventory",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.postingDate",
},
{
- $ref: "#/parameters/rowFilter.itemPlanning.minimumOrderQuantity",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.dateIssued",
},
{
- $ref: "#/parameters/rowFilter.itemPlanning.maximumOrderQuantity",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.dateDue",
},
{
- $ref: "#/parameters/rowFilter.itemPlanning.orderMultiple",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.datePaid",
},
{
- $ref: "#/parameters/rowFilter.itemPlanning.companyId",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.subtotal",
},
{
- $ref: "#/parameters/rowFilter.itemPlanning.createdBy",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.totalDiscount",
},
{
- $ref: "#/parameters/rowFilter.itemPlanning.createdAt",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.totalAmount",
},
{
- $ref: "#/parameters/rowFilter.itemPlanning.updatedBy",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.totalTax",
},
{
- $ref: "#/parameters/rowFilter.itemPlanning.updatedAt",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.balance",
},
{
- $ref: "#/parameters/rowFilter.itemPlanning.customFields",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.assignee",
},
{
- $ref: "#/parameters/body.itemPlanning",
+ $ref: "#/parameters/rowFilter.purchaseInvoice.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoice.customFields",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoice.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoice.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoice.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoice.updatedAt",
+ },
+ {
+ $ref: "#/parameters/body.purchaseInvoice",
},
{
$ref: "#/parameters/preferReturn",
@@ -23112,44 +23253,35 @@ export default {
description: "No Content",
},
},
- tags: ["itemPlanning"],
+ tags: ["purchaseInvoice"],
},
},
- "/employeeJob": {
+ "/customerStatus": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.employeeJob.id",
- },
- {
- $ref: "#/parameters/rowFilter.employeeJob.locationId",
- },
- {
- $ref: "#/parameters/rowFilter.employeeJob.shiftId",
- },
- {
- $ref: "#/parameters/rowFilter.employeeJob.managerId",
+ $ref: "#/parameters/rowFilter.customerStatus.id",
},
{
- $ref: "#/parameters/rowFilter.employeeJob.title",
+ $ref: "#/parameters/rowFilter.customerStatus.name",
},
{
- $ref: "#/parameters/rowFilter.employeeJob.startDate",
+ $ref: "#/parameters/rowFilter.customerStatus.companyId",
},
{
- $ref: "#/parameters/rowFilter.employeeJob.companyId",
+ $ref: "#/parameters/rowFilter.customerStatus.createdAt",
},
{
- $ref: "#/parameters/rowFilter.employeeJob.updatedAt",
+ $ref: "#/parameters/rowFilter.customerStatus.createdBy",
},
{
- $ref: "#/parameters/rowFilter.employeeJob.updatedBy",
+ $ref: "#/parameters/rowFilter.customerStatus.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.employeeJob.customFields",
+ $ref: "#/parameters/rowFilter.customerStatus.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.employeeJob.departmentId",
+ $ref: "#/parameters/rowFilter.customerStatus.customFields",
},
{
$ref: "#/parameters/select",
@@ -23178,7 +23310,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/employeeJob",
+ $ref: "#/definitions/customerStatus",
},
type: "array",
},
@@ -23187,12 +23319,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["employeeJob"],
+ tags: ["customerStatus"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.employeeJob",
+ $ref: "#/parameters/body.customerStatus",
},
{
$ref: "#/parameters/select",
@@ -23206,42 +23338,33 @@ export default {
description: "Created",
},
},
- tags: ["employeeJob"],
+ tags: ["customerStatus"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.employeeJob.id",
- },
- {
- $ref: "#/parameters/rowFilter.employeeJob.locationId",
- },
- {
- $ref: "#/parameters/rowFilter.employeeJob.shiftId",
- },
- {
- $ref: "#/parameters/rowFilter.employeeJob.managerId",
+ $ref: "#/parameters/rowFilter.customerStatus.id",
},
{
- $ref: "#/parameters/rowFilter.employeeJob.title",
+ $ref: "#/parameters/rowFilter.customerStatus.name",
},
{
- $ref: "#/parameters/rowFilter.employeeJob.startDate",
+ $ref: "#/parameters/rowFilter.customerStatus.companyId",
},
{
- $ref: "#/parameters/rowFilter.employeeJob.companyId",
+ $ref: "#/parameters/rowFilter.customerStatus.createdAt",
},
{
- $ref: "#/parameters/rowFilter.employeeJob.updatedAt",
+ $ref: "#/parameters/rowFilter.customerStatus.createdBy",
},
{
- $ref: "#/parameters/rowFilter.employeeJob.updatedBy",
+ $ref: "#/parameters/rowFilter.customerStatus.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.employeeJob.customFields",
+ $ref: "#/parameters/rowFilter.customerStatus.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.employeeJob.departmentId",
+ $ref: "#/parameters/rowFilter.customerStatus.customFields",
},
{
$ref: "#/parameters/preferReturn",
@@ -23252,45 +23375,36 @@ export default {
description: "No Content",
},
},
- tags: ["employeeJob"],
+ tags: ["customerStatus"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.employeeJob.id",
- },
- {
- $ref: "#/parameters/rowFilter.employeeJob.locationId",
- },
- {
- $ref: "#/parameters/rowFilter.employeeJob.shiftId",
- },
- {
- $ref: "#/parameters/rowFilter.employeeJob.managerId",
+ $ref: "#/parameters/rowFilter.customerStatus.id",
},
{
- $ref: "#/parameters/rowFilter.employeeJob.title",
+ $ref: "#/parameters/rowFilter.customerStatus.name",
},
{
- $ref: "#/parameters/rowFilter.employeeJob.startDate",
+ $ref: "#/parameters/rowFilter.customerStatus.companyId",
},
{
- $ref: "#/parameters/rowFilter.employeeJob.companyId",
+ $ref: "#/parameters/rowFilter.customerStatus.createdAt",
},
{
- $ref: "#/parameters/rowFilter.employeeJob.updatedAt",
+ $ref: "#/parameters/rowFilter.customerStatus.createdBy",
},
{
- $ref: "#/parameters/rowFilter.employeeJob.updatedBy",
+ $ref: "#/parameters/rowFilter.customerStatus.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.employeeJob.customFields",
+ $ref: "#/parameters/rowFilter.customerStatus.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.employeeJob.departmentId",
+ $ref: "#/parameters/rowFilter.customerStatus.customFields",
},
{
- $ref: "#/parameters/body.employeeJob",
+ $ref: "#/parameters/body.customerStatus",
},
{
$ref: "#/parameters/preferReturn",
@@ -23301,62 +23415,47 @@ export default {
description: "No Content",
},
},
- tags: ["employeeJob"],
+ tags: ["customerStatus"],
},
},
- "/account": {
+ "/quoteMakeMethod": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.account.id",
- },
- {
- $ref: "#/parameters/rowFilter.account.number",
- },
- {
- $ref: "#/parameters/rowFilter.account.name",
- },
- {
- $ref: "#/parameters/rowFilter.account.type",
- },
- {
- $ref: "#/parameters/rowFilter.account.class",
- },
- {
- $ref: "#/parameters/rowFilter.account.accountCategoryId",
+ $ref: "#/parameters/rowFilter.quoteMakeMethod.id",
},
{
- $ref: "#/parameters/rowFilter.account.accountSubcategoryId",
+ $ref: "#/parameters/rowFilter.quoteMakeMethod.quoteId",
},
{
- $ref: "#/parameters/rowFilter.account.incomeBalance",
+ $ref: "#/parameters/rowFilter.quoteMakeMethod.quoteLineId",
},
{
- $ref: "#/parameters/rowFilter.account.consolidatedRate",
+ $ref: "#/parameters/rowFilter.quoteMakeMethod.parentMaterialId",
},
{
- $ref: "#/parameters/rowFilter.account.directPosting",
+ $ref: "#/parameters/rowFilter.quoteMakeMethod.itemId",
},
{
- $ref: "#/parameters/rowFilter.account.active",
+ $ref: "#/parameters/rowFilter.quoteMakeMethod.quantityPerParent",
},
{
- $ref: "#/parameters/rowFilter.account.companyId",
+ $ref: "#/parameters/rowFilter.quoteMakeMethod.companyId",
},
{
- $ref: "#/parameters/rowFilter.account.createdBy",
+ $ref: "#/parameters/rowFilter.quoteMakeMethod.createdAt",
},
{
- $ref: "#/parameters/rowFilter.account.createdAt",
+ $ref: "#/parameters/rowFilter.quoteMakeMethod.createdBy",
},
{
- $ref: "#/parameters/rowFilter.account.updatedBy",
+ $ref: "#/parameters/rowFilter.quoteMakeMethod.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.account.updatedAt",
+ $ref: "#/parameters/rowFilter.quoteMakeMethod.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.account.customFields",
+ $ref: "#/parameters/rowFilter.quoteMakeMethod.customFields",
},
{
$ref: "#/parameters/select",
@@ -23385,7 +23484,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/account",
+ $ref: "#/definitions/quoteMakeMethod",
},
type: "array",
},
@@ -23394,12 +23493,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["account"],
+ tags: ["quoteMakeMethod"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.account",
+ $ref: "#/parameters/body.quoteMakeMethod",
},
{
$ref: "#/parameters/select",
@@ -23413,60 +23512,45 @@ export default {
description: "Created",
},
},
- tags: ["account"],
+ tags: ["quoteMakeMethod"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.account.id",
- },
- {
- $ref: "#/parameters/rowFilter.account.number",
- },
- {
- $ref: "#/parameters/rowFilter.account.name",
- },
- {
- $ref: "#/parameters/rowFilter.account.type",
- },
- {
- $ref: "#/parameters/rowFilter.account.class",
- },
- {
- $ref: "#/parameters/rowFilter.account.accountCategoryId",
+ $ref: "#/parameters/rowFilter.quoteMakeMethod.id",
},
{
- $ref: "#/parameters/rowFilter.account.accountSubcategoryId",
+ $ref: "#/parameters/rowFilter.quoteMakeMethod.quoteId",
},
{
- $ref: "#/parameters/rowFilter.account.incomeBalance",
+ $ref: "#/parameters/rowFilter.quoteMakeMethod.quoteLineId",
},
{
- $ref: "#/parameters/rowFilter.account.consolidatedRate",
+ $ref: "#/parameters/rowFilter.quoteMakeMethod.parentMaterialId",
},
{
- $ref: "#/parameters/rowFilter.account.directPosting",
+ $ref: "#/parameters/rowFilter.quoteMakeMethod.itemId",
},
{
- $ref: "#/parameters/rowFilter.account.active",
+ $ref: "#/parameters/rowFilter.quoteMakeMethod.quantityPerParent",
},
{
- $ref: "#/parameters/rowFilter.account.companyId",
+ $ref: "#/parameters/rowFilter.quoteMakeMethod.companyId",
},
{
- $ref: "#/parameters/rowFilter.account.createdBy",
+ $ref: "#/parameters/rowFilter.quoteMakeMethod.createdAt",
},
{
- $ref: "#/parameters/rowFilter.account.createdAt",
+ $ref: "#/parameters/rowFilter.quoteMakeMethod.createdBy",
},
{
- $ref: "#/parameters/rowFilter.account.updatedBy",
+ $ref: "#/parameters/rowFilter.quoteMakeMethod.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.account.updatedAt",
+ $ref: "#/parameters/rowFilter.quoteMakeMethod.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.account.customFields",
+ $ref: "#/parameters/rowFilter.quoteMakeMethod.customFields",
},
{
$ref: "#/parameters/preferReturn",
@@ -23477,63 +23561,48 @@ export default {
description: "No Content",
},
},
- tags: ["account"],
+ tags: ["quoteMakeMethod"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.account.id",
- },
- {
- $ref: "#/parameters/rowFilter.account.number",
- },
- {
- $ref: "#/parameters/rowFilter.account.name",
- },
- {
- $ref: "#/parameters/rowFilter.account.type",
- },
- {
- $ref: "#/parameters/rowFilter.account.class",
- },
- {
- $ref: "#/parameters/rowFilter.account.accountCategoryId",
+ $ref: "#/parameters/rowFilter.quoteMakeMethod.id",
},
{
- $ref: "#/parameters/rowFilter.account.accountSubcategoryId",
+ $ref: "#/parameters/rowFilter.quoteMakeMethod.quoteId",
},
{
- $ref: "#/parameters/rowFilter.account.incomeBalance",
+ $ref: "#/parameters/rowFilter.quoteMakeMethod.quoteLineId",
},
{
- $ref: "#/parameters/rowFilter.account.consolidatedRate",
+ $ref: "#/parameters/rowFilter.quoteMakeMethod.parentMaterialId",
},
{
- $ref: "#/parameters/rowFilter.account.directPosting",
+ $ref: "#/parameters/rowFilter.quoteMakeMethod.itemId",
},
{
- $ref: "#/parameters/rowFilter.account.active",
+ $ref: "#/parameters/rowFilter.quoteMakeMethod.quantityPerParent",
},
{
- $ref: "#/parameters/rowFilter.account.companyId",
+ $ref: "#/parameters/rowFilter.quoteMakeMethod.companyId",
},
{
- $ref: "#/parameters/rowFilter.account.createdBy",
+ $ref: "#/parameters/rowFilter.quoteMakeMethod.createdAt",
},
{
- $ref: "#/parameters/rowFilter.account.createdAt",
+ $ref: "#/parameters/rowFilter.quoteMakeMethod.createdBy",
},
{
- $ref: "#/parameters/rowFilter.account.updatedBy",
+ $ref: "#/parameters/rowFilter.quoteMakeMethod.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.account.updatedAt",
+ $ref: "#/parameters/rowFilter.quoteMakeMethod.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.account.customFields",
+ $ref: "#/parameters/rowFilter.quoteMakeMethod.customFields",
},
{
- $ref: "#/parameters/body.account",
+ $ref: "#/parameters/body.quoteMakeMethod",
},
{
$ref: "#/parameters/preferReturn",
@@ -23544,29 +23613,38 @@ export default {
description: "No Content",
},
},
- tags: ["account"],
+ tags: ["quoteMakeMethod"],
},
},
- "/companyIntegration": {
+ "/employees": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.companyIntegration.id",
+ $ref: "#/parameters/rowFilter.employees.id",
},
{
- $ref: "#/parameters/rowFilter.companyIntegration.metadata",
+ $ref: "#/parameters/rowFilter.employees.email",
},
{
- $ref: "#/parameters/rowFilter.companyIntegration.companyId",
+ $ref: "#/parameters/rowFilter.employees.firstName",
},
{
- $ref: "#/parameters/rowFilter.companyIntegration.active",
+ $ref: "#/parameters/rowFilter.employees.lastName",
},
{
- $ref: "#/parameters/rowFilter.companyIntegration.updatedAt",
+ $ref: "#/parameters/rowFilter.employees.name",
},
{
- $ref: "#/parameters/rowFilter.companyIntegration.updatedBy",
+ $ref: "#/parameters/rowFilter.employees.avatarUrl",
+ },
+ {
+ $ref: "#/parameters/rowFilter.employees.active",
+ },
+ {
+ $ref: "#/parameters/rowFilter.employees.employeeTypeId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.employees.companyId",
},
{
$ref: "#/parameters/select",
@@ -23595,7 +23673,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/companyIntegration",
+ $ref: "#/definitions/employees",
},
type: "array",
},
@@ -23604,179 +23682,104 @@ export default {
description: "Partial Content",
},
},
- tags: ["companyIntegration"],
- },
- post: {
- parameters: [
- {
- $ref: "#/parameters/body.companyIntegration",
- },
- {
- $ref: "#/parameters/select",
- },
- {
- $ref: "#/parameters/preferPost",
- },
- ],
- responses: {
- "201": {
- description: "Created",
- },
- },
- tags: ["companyIntegration"],
- },
- delete: {
- parameters: [
- {
- $ref: "#/parameters/rowFilter.companyIntegration.id",
- },
- {
- $ref: "#/parameters/rowFilter.companyIntegration.metadata",
- },
- {
- $ref: "#/parameters/rowFilter.companyIntegration.companyId",
- },
- {
- $ref: "#/parameters/rowFilter.companyIntegration.active",
- },
- {
- $ref: "#/parameters/rowFilter.companyIntegration.updatedAt",
- },
- {
- $ref: "#/parameters/rowFilter.companyIntegration.updatedBy",
- },
- {
- $ref: "#/parameters/preferReturn",
- },
- ],
- responses: {
- "204": {
- description: "No Content",
- },
- },
- tags: ["companyIntegration"],
+ tags: ["employees"],
},
- patch: {
+ },
+ "/quoteOperationsWithMakeMethods": {
+ get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.companyIntegration.id",
- },
- {
- $ref: "#/parameters/rowFilter.companyIntegration.metadata",
- },
- {
- $ref: "#/parameters/rowFilter.companyIntegration.companyId",
- },
- {
- $ref: "#/parameters/rowFilter.companyIntegration.active",
- },
- {
- $ref: "#/parameters/rowFilter.companyIntegration.updatedAt",
- },
- {
- $ref: "#/parameters/rowFilter.companyIntegration.updatedBy",
+ $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.makeMethodId",
},
{
- $ref: "#/parameters/body.companyIntegration",
+ $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.id",
},
{
- $ref: "#/parameters/preferReturn",
- },
- ],
- responses: {
- "204": {
- description: "No Content",
+ $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.quoteId",
},
- },
- tags: ["companyIntegration"],
- },
- },
- "/salesRfqLines": {
- get: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.salesRfqLines.id",
+ $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.quoteLineId",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLines.salesRfqId",
+ $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.quoteMakeMethodId",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLines.itemId",
+ $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.order",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLines.description",
+ $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.description",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLines.quantity",
+ $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.operationOrder",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLines.unitOfMeasureCode",
+ $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.laborRate",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLines.order",
+ $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.overheadRate",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLines.internalNotes",
+ $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.companyId",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLines.externalNotes",
+ $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.createdAt",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLines.companyId",
+ $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.createdBy",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLines.customFields",
+ $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLines.createdAt",
+ $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLines.createdBy",
+ $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.customFields",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLines.updatedAt",
+ $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.processId",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLines.updatedBy",
+ $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.workCenterId",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLines.modelUploadId",
+ $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.setupTime",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLines.customerPartId",
+ $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.setupUnit",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLines.customerPartRevision",
+ $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.laborTime",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLines.modelId",
+ $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.laborUnit",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLines.autodeskUrn",
+ $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.machineTime",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLines.modelPath",
+ $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.machineUnit",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLines.modelName",
+ $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.machineRate",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLines.modelSize",
+ $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.operationType",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLines.thumbnailPath",
+ $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.operationMinimumCost",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLines.itemName",
+ $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.operationLeadTime",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLines.methodType",
+ $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.operationUnitCost",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLines.itemReadableId",
+ $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.operationSupplierProcessId",
},
{
- $ref: "#/parameters/rowFilter.salesRfqLines.itemType",
+ $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.workInstruction",
},
{
$ref: "#/parameters/select",
@@ -23805,7 +23808,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/salesRfqLines",
+ $ref: "#/definitions/quoteOperationsWithMakeMethods",
},
type: "array",
},
@@ -23814,17 +23817,35 @@ export default {
description: "Partial Content",
},
},
- tags: ["salesRfqLines"],
+ tags: ["quoteOperationsWithMakeMethods"],
},
},
- "/jobFavorite": {
+ "/oauthToken": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.jobFavorite.jobId",
+ $ref: "#/parameters/rowFilter.oauthToken.id",
},
{
- $ref: "#/parameters/rowFilter.jobFavorite.userId",
+ $ref: "#/parameters/rowFilter.oauthToken.accessToken",
+ },
+ {
+ $ref: "#/parameters/rowFilter.oauthToken.refreshToken",
+ },
+ {
+ $ref: "#/parameters/rowFilter.oauthToken.clientId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.oauthToken.userId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.oauthToken.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.oauthToken.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.oauthToken.expiresAt",
},
{
$ref: "#/parameters/select",
@@ -23853,7 +23874,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/jobFavorite",
+ $ref: "#/definitions/oauthToken",
},
type: "array",
},
@@ -23862,12 +23883,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["jobFavorite"],
+ tags: ["oauthToken"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.jobFavorite",
+ $ref: "#/parameters/body.oauthToken",
},
{
$ref: "#/parameters/select",
@@ -23881,15 +23902,33 @@ export default {
description: "Created",
},
},
- tags: ["jobFavorite"],
+ tags: ["oauthToken"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.jobFavorite.jobId",
+ $ref: "#/parameters/rowFilter.oauthToken.id",
},
{
- $ref: "#/parameters/rowFilter.jobFavorite.userId",
+ $ref: "#/parameters/rowFilter.oauthToken.accessToken",
+ },
+ {
+ $ref: "#/parameters/rowFilter.oauthToken.refreshToken",
+ },
+ {
+ $ref: "#/parameters/rowFilter.oauthToken.clientId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.oauthToken.userId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.oauthToken.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.oauthToken.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.oauthToken.expiresAt",
},
{
$ref: "#/parameters/preferReturn",
@@ -23900,18 +23939,36 @@ export default {
description: "No Content",
},
},
- tags: ["jobFavorite"],
+ tags: ["oauthToken"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.jobFavorite.jobId",
+ $ref: "#/parameters/rowFilter.oauthToken.id",
},
{
- $ref: "#/parameters/rowFilter.jobFavorite.userId",
+ $ref: "#/parameters/rowFilter.oauthToken.accessToken",
},
{
- $ref: "#/parameters/body.jobFavorite",
+ $ref: "#/parameters/rowFilter.oauthToken.refreshToken",
+ },
+ {
+ $ref: "#/parameters/rowFilter.oauthToken.clientId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.oauthToken.userId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.oauthToken.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.oauthToken.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.oauthToken.expiresAt",
+ },
+ {
+ $ref: "#/parameters/body.oauthToken",
},
{
$ref: "#/parameters/preferReturn",
@@ -23922,26 +23979,35 @@ export default {
description: "No Content",
},
},
- tags: ["jobFavorite"],
+ tags: ["oauthToken"],
},
},
- "/documentTransaction": {
+ "/supplierStatus": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.documentTransaction.id",
+ $ref: "#/parameters/rowFilter.supplierStatus.id",
},
{
- $ref: "#/parameters/rowFilter.documentTransaction.documentId",
+ $ref: "#/parameters/rowFilter.supplierStatus.name",
},
{
- $ref: "#/parameters/rowFilter.documentTransaction.type",
+ $ref: "#/parameters/rowFilter.supplierStatus.companyId",
},
{
- $ref: "#/parameters/rowFilter.documentTransaction.userId",
+ $ref: "#/parameters/rowFilter.supplierStatus.createdAt",
},
{
- $ref: "#/parameters/rowFilter.documentTransaction.createdAt",
+ $ref: "#/parameters/rowFilter.supplierStatus.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierStatus.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierStatus.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierStatus.customFields",
},
{
$ref: "#/parameters/select",
@@ -23970,7 +24036,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/documentTransaction",
+ $ref: "#/definitions/supplierStatus",
},
type: "array",
},
@@ -23979,12 +24045,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["documentTransaction"],
+ tags: ["supplierStatus"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.documentTransaction",
+ $ref: "#/parameters/body.supplierStatus",
},
{
$ref: "#/parameters/select",
@@ -23998,24 +24064,33 @@ export default {
description: "Created",
},
},
- tags: ["documentTransaction"],
+ tags: ["supplierStatus"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.documentTransaction.id",
+ $ref: "#/parameters/rowFilter.supplierStatus.id",
},
{
- $ref: "#/parameters/rowFilter.documentTransaction.documentId",
+ $ref: "#/parameters/rowFilter.supplierStatus.name",
},
{
- $ref: "#/parameters/rowFilter.documentTransaction.type",
+ $ref: "#/parameters/rowFilter.supplierStatus.companyId",
},
{
- $ref: "#/parameters/rowFilter.documentTransaction.userId",
+ $ref: "#/parameters/rowFilter.supplierStatus.createdAt",
},
{
- $ref: "#/parameters/rowFilter.documentTransaction.createdAt",
+ $ref: "#/parameters/rowFilter.supplierStatus.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierStatus.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierStatus.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierStatus.customFields",
},
{
$ref: "#/parameters/preferReturn",
@@ -24026,66 +24101,66 @@ export default {
description: "No Content",
},
},
- tags: ["documentTransaction"],
+ tags: ["supplierStatus"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.documentTransaction.id",
+ $ref: "#/parameters/rowFilter.supplierStatus.id",
},
{
- $ref: "#/parameters/rowFilter.documentTransaction.documentId",
+ $ref: "#/parameters/rowFilter.supplierStatus.name",
},
{
- $ref: "#/parameters/rowFilter.documentTransaction.type",
+ $ref: "#/parameters/rowFilter.supplierStatus.companyId",
},
{
- $ref: "#/parameters/rowFilter.documentTransaction.userId",
+ $ref: "#/parameters/rowFilter.supplierStatus.createdAt",
},
{
- $ref: "#/parameters/rowFilter.documentTransaction.createdAt",
+ $ref: "#/parameters/rowFilter.supplierStatus.createdBy",
},
{
- $ref: "#/parameters/body.documentTransaction",
+ $ref: "#/parameters/rowFilter.supplierStatus.updatedBy",
},
{
- $ref: "#/parameters/preferReturn",
+ $ref: "#/parameters/rowFilter.supplierStatus.updatedAt",
},
- ],
- responses: {
- "204": {
+ {
+ $ref: "#/parameters/rowFilter.supplierStatus.customFields",
+ },
+ {
+ $ref: "#/parameters/body.supplierStatus",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
description: "No Content",
},
},
- tags: ["documentTransaction"],
+ tags: ["supplierStatus"],
},
},
- "/materialSubstance": {
+ "/terms": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.materialSubstance.id",
- },
- {
- $ref: "#/parameters/rowFilter.materialSubstance.name",
- },
- {
- $ref: "#/parameters/rowFilter.materialSubstance.companyId",
- },
- {
- $ref: "#/parameters/rowFilter.materialSubstance.customFields",
+ $ref: "#/parameters/rowFilter.terms.id",
},
{
- $ref: "#/parameters/rowFilter.materialSubstance.createdBy",
+ $ref: "#/parameters/rowFilter.terms.purchasingTerms",
},
{
- $ref: "#/parameters/rowFilter.materialSubstance.createdAt",
+ $ref: "#/parameters/rowFilter.terms.salesTerms",
},
{
- $ref: "#/parameters/rowFilter.materialSubstance.updatedBy",
+ $ref: "#/parameters/rowFilter.terms.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.materialSubstance.updatedAt",
+ $ref: "#/parameters/rowFilter.terms.updatedBy",
},
{
$ref: "#/parameters/select",
@@ -24114,7 +24189,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/materialSubstance",
+ $ref: "#/definitions/terms",
},
type: "array",
},
@@ -24123,12 +24198,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["materialSubstance"],
+ tags: ["terms"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.materialSubstance",
+ $ref: "#/parameters/body.terms",
},
{
$ref: "#/parameters/select",
@@ -24142,33 +24217,24 @@ export default {
description: "Created",
},
},
- tags: ["materialSubstance"],
+ tags: ["terms"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.materialSubstance.id",
- },
- {
- $ref: "#/parameters/rowFilter.materialSubstance.name",
- },
- {
- $ref: "#/parameters/rowFilter.materialSubstance.companyId",
- },
- {
- $ref: "#/parameters/rowFilter.materialSubstance.customFields",
+ $ref: "#/parameters/rowFilter.terms.id",
},
{
- $ref: "#/parameters/rowFilter.materialSubstance.createdBy",
+ $ref: "#/parameters/rowFilter.terms.purchasingTerms",
},
{
- $ref: "#/parameters/rowFilter.materialSubstance.createdAt",
+ $ref: "#/parameters/rowFilter.terms.salesTerms",
},
{
- $ref: "#/parameters/rowFilter.materialSubstance.updatedBy",
+ $ref: "#/parameters/rowFilter.terms.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.materialSubstance.updatedAt",
+ $ref: "#/parameters/rowFilter.terms.updatedBy",
},
{
$ref: "#/parameters/preferReturn",
@@ -24179,36 +24245,27 @@ export default {
description: "No Content",
},
},
- tags: ["materialSubstance"],
+ tags: ["terms"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.materialSubstance.id",
- },
- {
- $ref: "#/parameters/rowFilter.materialSubstance.name",
- },
- {
- $ref: "#/parameters/rowFilter.materialSubstance.companyId",
- },
- {
- $ref: "#/parameters/rowFilter.materialSubstance.customFields",
+ $ref: "#/parameters/rowFilter.terms.id",
},
{
- $ref: "#/parameters/rowFilter.materialSubstance.createdBy",
+ $ref: "#/parameters/rowFilter.terms.purchasingTerms",
},
{
- $ref: "#/parameters/rowFilter.materialSubstance.createdAt",
+ $ref: "#/parameters/rowFilter.terms.salesTerms",
},
{
- $ref: "#/parameters/rowFilter.materialSubstance.updatedBy",
+ $ref: "#/parameters/rowFilter.terms.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.materialSubstance.updatedAt",
+ $ref: "#/parameters/rowFilter.terms.updatedBy",
},
{
- $ref: "#/parameters/body.materialSubstance",
+ $ref: "#/parameters/body.terms",
},
{
$ref: "#/parameters/preferReturn",
@@ -24219,32 +24276,20 @@ export default {
description: "No Content",
},
},
- tags: ["materialSubstance"],
+ tags: ["terms"],
},
},
- "/workCenterProcess": {
+ "/employeeShift": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.workCenterProcess.workCenterId",
- },
- {
- $ref: "#/parameters/rowFilter.workCenterProcess.processId",
- },
- {
- $ref: "#/parameters/rowFilter.workCenterProcess.companyId",
- },
- {
- $ref: "#/parameters/rowFilter.workCenterProcess.createdBy",
- },
- {
- $ref: "#/parameters/rowFilter.workCenterProcess.createdAt",
+ $ref: "#/parameters/rowFilter.employeeShift.id",
},
{
- $ref: "#/parameters/rowFilter.workCenterProcess.updatedBy",
+ $ref: "#/parameters/rowFilter.employeeShift.employeeId",
},
{
- $ref: "#/parameters/rowFilter.workCenterProcess.updatedAt",
+ $ref: "#/parameters/rowFilter.employeeShift.shiftId",
},
{
$ref: "#/parameters/select",
@@ -24273,7 +24318,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/workCenterProcess",
+ $ref: "#/definitions/employeeShift",
},
type: "array",
},
@@ -24282,12 +24327,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["workCenterProcess"],
+ tags: ["employeeShift"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.workCenterProcess",
+ $ref: "#/parameters/body.employeeShift",
},
{
$ref: "#/parameters/select",
@@ -24301,30 +24346,43 @@ export default {
description: "Created",
},
},
- tags: ["workCenterProcess"],
+ tags: ["employeeShift"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.workCenterProcess.workCenterId",
+ $ref: "#/parameters/rowFilter.employeeShift.id",
},
{
- $ref: "#/parameters/rowFilter.workCenterProcess.processId",
+ $ref: "#/parameters/rowFilter.employeeShift.employeeId",
},
{
- $ref: "#/parameters/rowFilter.workCenterProcess.companyId",
+ $ref: "#/parameters/rowFilter.employeeShift.shiftId",
},
{
- $ref: "#/parameters/rowFilter.workCenterProcess.createdBy",
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
},
+ },
+ tags: ["employeeShift"],
+ },
+ patch: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.workCenterProcess.createdAt",
+ $ref: "#/parameters/rowFilter.employeeShift.id",
},
{
- $ref: "#/parameters/rowFilter.workCenterProcess.updatedBy",
+ $ref: "#/parameters/rowFilter.employeeShift.employeeId",
},
{
- $ref: "#/parameters/rowFilter.workCenterProcess.updatedAt",
+ $ref: "#/parameters/rowFilter.employeeShift.shiftId",
+ },
+ {
+ $ref: "#/parameters/body.employeeShift",
},
{
$ref: "#/parameters/preferReturn",
@@ -24335,96 +24393,86 @@ export default {
description: "No Content",
},
},
- tags: ["workCenterProcess"],
+ tags: ["employeeShift"],
},
- patch: {
+ },
+ "/quote": {
+ get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.workCenterProcess.workCenterId",
+ $ref: "#/parameters/rowFilter.quote.id",
},
{
- $ref: "#/parameters/rowFilter.workCenterProcess.processId",
+ $ref: "#/parameters/rowFilter.quote.quoteId",
},
{
- $ref: "#/parameters/rowFilter.workCenterProcess.companyId",
+ $ref: "#/parameters/rowFilter.quote.revisionId",
},
{
- $ref: "#/parameters/rowFilter.workCenterProcess.createdBy",
+ $ref: "#/parameters/rowFilter.quote.dueDate",
},
{
- $ref: "#/parameters/rowFilter.workCenterProcess.createdAt",
+ $ref: "#/parameters/rowFilter.quote.expirationDate",
},
{
- $ref: "#/parameters/rowFilter.workCenterProcess.updatedBy",
+ $ref: "#/parameters/rowFilter.quote.status",
},
{
- $ref: "#/parameters/rowFilter.workCenterProcess.updatedAt",
+ $ref: "#/parameters/rowFilter.quote.salesPersonId",
},
{
- $ref: "#/parameters/body.workCenterProcess",
+ $ref: "#/parameters/rowFilter.quote.estimatorId",
},
{
- $ref: "#/parameters/preferReturn",
- },
- ],
- responses: {
- "204": {
- description: "No Content",
+ $ref: "#/parameters/rowFilter.quote.customerId",
},
- },
- tags: ["workCenterProcess"],
- },
- },
- "/partners": {
- get: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.partners.id",
+ $ref: "#/parameters/rowFilter.quote.customerLocationId",
},
{
- $ref: "#/parameters/rowFilter.partners.hoursPerWeek",
+ $ref: "#/parameters/rowFilter.quote.customerContactId",
},
{
- $ref: "#/parameters/rowFilter.partners.abilityId",
+ $ref: "#/parameters/rowFilter.quote.customerReference",
},
{
- $ref: "#/parameters/rowFilter.partners.active",
+ $ref: "#/parameters/rowFilter.quote.locationId",
},
{
- $ref: "#/parameters/rowFilter.partners.companyId",
+ $ref: "#/parameters/rowFilter.quote.assignee",
},
{
- $ref: "#/parameters/rowFilter.partners.createdBy",
+ $ref: "#/parameters/rowFilter.quote.customFields",
},
{
- $ref: "#/parameters/rowFilter.partners.createdAt",
+ $ref: "#/parameters/rowFilter.quote.companyId",
},
{
- $ref: "#/parameters/rowFilter.partners.updatedBy",
+ $ref: "#/parameters/rowFilter.quote.createdAt",
},
{
- $ref: "#/parameters/rowFilter.partners.updatedAt",
+ $ref: "#/parameters/rowFilter.quote.createdBy",
},
{
- $ref: "#/parameters/rowFilter.partners.customFields",
+ $ref: "#/parameters/rowFilter.quote.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.partners.supplierLocationId",
+ $ref: "#/parameters/rowFilter.quote.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.partners.abilityName",
+ $ref: "#/parameters/rowFilter.quote.externalNotes",
},
{
- $ref: "#/parameters/rowFilter.partners.supplierId",
+ $ref: "#/parameters/rowFilter.quote.internalNotes",
},
{
- $ref: "#/parameters/rowFilter.partners.supplierName",
+ $ref: "#/parameters/rowFilter.quote.currencyCode",
},
{
- $ref: "#/parameters/rowFilter.partners.city",
+ $ref: "#/parameters/rowFilter.quote.exchangeRate",
},
{
- $ref: "#/parameters/rowFilter.partners.state",
+ $ref: "#/parameters/rowFilter.quote.exchangeRateUpdatedAt",
},
{
$ref: "#/parameters/select",
@@ -24453,7 +24501,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/partners",
+ $ref: "#/definitions/quote",
},
type: "array",
},
@@ -24462,185 +24510,194 @@ export default {
description: "Partial Content",
},
},
- tags: ["partners"],
+ tags: ["quote"],
},
- },
- "/consumable": {
- get: {
+ post: {
parameters: [
{
- $ref: "#/parameters/rowFilter.consumable.id",
+ $ref: "#/parameters/body.quote",
},
{
- $ref: "#/parameters/rowFilter.consumable.itemId",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.consumable.approved",
+ $ref: "#/parameters/preferPost",
},
+ ],
+ responses: {
+ "201": {
+ description: "Created",
+ },
+ },
+ tags: ["quote"],
+ },
+ delete: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.consumable.approvedBy",
+ $ref: "#/parameters/rowFilter.quote.id",
},
{
- $ref: "#/parameters/rowFilter.consumable.customFields",
+ $ref: "#/parameters/rowFilter.quote.quoteId",
},
{
- $ref: "#/parameters/rowFilter.consumable.companyId",
+ $ref: "#/parameters/rowFilter.quote.revisionId",
},
{
- $ref: "#/parameters/rowFilter.consumable.createdBy",
+ $ref: "#/parameters/rowFilter.quote.dueDate",
},
{
- $ref: "#/parameters/rowFilter.consumable.createdAt",
+ $ref: "#/parameters/rowFilter.quote.expirationDate",
},
{
- $ref: "#/parameters/rowFilter.consumable.updatedBy",
+ $ref: "#/parameters/rowFilter.quote.status",
},
{
- $ref: "#/parameters/rowFilter.consumable.updatedAt",
+ $ref: "#/parameters/rowFilter.quote.salesPersonId",
},
{
- $ref: "#/parameters/rowFilter.consumable.externalId",
+ $ref: "#/parameters/rowFilter.quote.estimatorId",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.quote.customerId",
},
{
- $ref: "#/parameters/order",
+ $ref: "#/parameters/rowFilter.quote.customerLocationId",
},
{
- $ref: "#/parameters/range",
+ $ref: "#/parameters/rowFilter.quote.customerContactId",
},
{
- $ref: "#/parameters/rangeUnit",
+ $ref: "#/parameters/rowFilter.quote.customerReference",
},
{
- $ref: "#/parameters/offset",
+ $ref: "#/parameters/rowFilter.quote.locationId",
},
{
- $ref: "#/parameters/limit",
+ $ref: "#/parameters/rowFilter.quote.assignee",
},
{
- $ref: "#/parameters/preferCount",
+ $ref: "#/parameters/rowFilter.quote.customFields",
},
- ],
- responses: {
- "200": {
- description: "OK",
- schema: {
- items: {
- $ref: "#/definitions/consumable",
- },
- type: "array",
- },
+ {
+ $ref: "#/parameters/rowFilter.quote.companyId",
},
- "206": {
- description: "Partial Content",
+ {
+ $ref: "#/parameters/rowFilter.quote.createdAt",
},
- },
- tags: ["consumable"],
- },
- post: {
- parameters: [
{
- $ref: "#/parameters/body.consumable",
+ $ref: "#/parameters/rowFilter.quote.createdBy",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.quote.updatedAt",
},
{
- $ref: "#/parameters/preferPost",
+ $ref: "#/parameters/rowFilter.quote.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quote.externalNotes",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quote.internalNotes",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quote.currencyCode",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quote.exchangeRate",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quote.exchangeRateUpdatedAt",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
},
],
responses: {
- "201": {
- description: "Created",
+ "204": {
+ description: "No Content",
},
},
- tags: ["consumable"],
+ tags: ["quote"],
},
- delete: {
+ patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.consumable.id",
+ $ref: "#/parameters/rowFilter.quote.id",
},
{
- $ref: "#/parameters/rowFilter.consumable.itemId",
+ $ref: "#/parameters/rowFilter.quote.quoteId",
},
{
- $ref: "#/parameters/rowFilter.consumable.approved",
+ $ref: "#/parameters/rowFilter.quote.revisionId",
},
{
- $ref: "#/parameters/rowFilter.consumable.approvedBy",
+ $ref: "#/parameters/rowFilter.quote.dueDate",
},
{
- $ref: "#/parameters/rowFilter.consumable.customFields",
+ $ref: "#/parameters/rowFilter.quote.expirationDate",
},
{
- $ref: "#/parameters/rowFilter.consumable.companyId",
+ $ref: "#/parameters/rowFilter.quote.status",
},
{
- $ref: "#/parameters/rowFilter.consumable.createdBy",
+ $ref: "#/parameters/rowFilter.quote.salesPersonId",
},
{
- $ref: "#/parameters/rowFilter.consumable.createdAt",
+ $ref: "#/parameters/rowFilter.quote.estimatorId",
},
{
- $ref: "#/parameters/rowFilter.consumable.updatedBy",
+ $ref: "#/parameters/rowFilter.quote.customerId",
},
{
- $ref: "#/parameters/rowFilter.consumable.updatedAt",
+ $ref: "#/parameters/rowFilter.quote.customerLocationId",
},
{
- $ref: "#/parameters/rowFilter.consumable.externalId",
+ $ref: "#/parameters/rowFilter.quote.customerContactId",
},
{
- $ref: "#/parameters/preferReturn",
+ $ref: "#/parameters/rowFilter.quote.customerReference",
},
- ],
- responses: {
- "204": {
- description: "No Content",
+ {
+ $ref: "#/parameters/rowFilter.quote.locationId",
},
- },
- tags: ["consumable"],
- },
- patch: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.consumable.id",
+ $ref: "#/parameters/rowFilter.quote.assignee",
},
{
- $ref: "#/parameters/rowFilter.consumable.itemId",
+ $ref: "#/parameters/rowFilter.quote.customFields",
},
{
- $ref: "#/parameters/rowFilter.consumable.approved",
+ $ref: "#/parameters/rowFilter.quote.companyId",
},
{
- $ref: "#/parameters/rowFilter.consumable.approvedBy",
+ $ref: "#/parameters/rowFilter.quote.createdAt",
},
{
- $ref: "#/parameters/rowFilter.consumable.customFields",
+ $ref: "#/parameters/rowFilter.quote.createdBy",
},
{
- $ref: "#/parameters/rowFilter.consumable.companyId",
+ $ref: "#/parameters/rowFilter.quote.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.consumable.createdBy",
+ $ref: "#/parameters/rowFilter.quote.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.consumable.createdAt",
+ $ref: "#/parameters/rowFilter.quote.externalNotes",
},
{
- $ref: "#/parameters/rowFilter.consumable.updatedBy",
+ $ref: "#/parameters/rowFilter.quote.internalNotes",
},
{
- $ref: "#/parameters/rowFilter.consumable.updatedAt",
+ $ref: "#/parameters/rowFilter.quote.currencyCode",
},
{
- $ref: "#/parameters/rowFilter.consumable.externalId",
+ $ref: "#/parameters/rowFilter.quote.exchangeRate",
},
{
- $ref: "#/parameters/body.consumable",
+ $ref: "#/parameters/rowFilter.quote.exchangeRateUpdatedAt",
+ },
+ {
+ $ref: "#/parameters/body.quote",
},
{
$ref: "#/parameters/preferReturn",
@@ -24651,62 +24708,47 @@ export default {
description: "No Content",
},
},
- tags: ["consumable"],
+ tags: ["quote"],
},
},
- "/location": {
+ "/user": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.location.id",
- },
- {
- $ref: "#/parameters/rowFilter.location.name",
- },
- {
- $ref: "#/parameters/rowFilter.location.addressLine1",
- },
- {
- $ref: "#/parameters/rowFilter.location.addressLine2",
- },
- {
- $ref: "#/parameters/rowFilter.location.city",
- },
- {
- $ref: "#/parameters/rowFilter.location.stateProvince",
+ $ref: "#/parameters/rowFilter.user.id",
},
{
- $ref: "#/parameters/rowFilter.location.postalCode",
+ $ref: "#/parameters/rowFilter.user.email",
},
{
- $ref: "#/parameters/rowFilter.location.countryCode",
+ $ref: "#/parameters/rowFilter.user.firstName",
},
{
- $ref: "#/parameters/rowFilter.location.timezone",
+ $ref: "#/parameters/rowFilter.user.lastName",
},
{
- $ref: "#/parameters/rowFilter.location.latitude",
+ $ref: "#/parameters/rowFilter.user.fullName",
},
{
- $ref: "#/parameters/rowFilter.location.longitude",
+ $ref: "#/parameters/rowFilter.user.about",
},
{
- $ref: "#/parameters/rowFilter.location.companyId",
+ $ref: "#/parameters/rowFilter.user.avatarUrl",
},
{
- $ref: "#/parameters/rowFilter.location.createdBy",
+ $ref: "#/parameters/rowFilter.user.active",
},
{
- $ref: "#/parameters/rowFilter.location.createdAt",
+ $ref: "#/parameters/rowFilter.user.createdAt",
},
{
- $ref: "#/parameters/rowFilter.location.updatedBy",
+ $ref: "#/parameters/rowFilter.user.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.location.updatedAt",
+ $ref: "#/parameters/rowFilter.user.developer",
},
{
- $ref: "#/parameters/rowFilter.location.customFields",
+ $ref: "#/parameters/rowFilter.user.admin",
},
{
$ref: "#/parameters/select",
@@ -24735,7 +24777,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/location",
+ $ref: "#/definitions/user",
},
type: "array",
},
@@ -24744,12 +24786,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["location"],
+ tags: ["user"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.location",
+ $ref: "#/parameters/body.user",
},
{
$ref: "#/parameters/select",
@@ -24763,60 +24805,45 @@ export default {
description: "Created",
},
},
- tags: ["location"],
+ tags: ["user"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.location.id",
- },
- {
- $ref: "#/parameters/rowFilter.location.name",
- },
- {
- $ref: "#/parameters/rowFilter.location.addressLine1",
- },
- {
- $ref: "#/parameters/rowFilter.location.addressLine2",
- },
- {
- $ref: "#/parameters/rowFilter.location.city",
- },
- {
- $ref: "#/parameters/rowFilter.location.stateProvince",
+ $ref: "#/parameters/rowFilter.user.id",
},
{
- $ref: "#/parameters/rowFilter.location.postalCode",
+ $ref: "#/parameters/rowFilter.user.email",
},
{
- $ref: "#/parameters/rowFilter.location.countryCode",
+ $ref: "#/parameters/rowFilter.user.firstName",
},
{
- $ref: "#/parameters/rowFilter.location.timezone",
+ $ref: "#/parameters/rowFilter.user.lastName",
},
{
- $ref: "#/parameters/rowFilter.location.latitude",
+ $ref: "#/parameters/rowFilter.user.fullName",
},
{
- $ref: "#/parameters/rowFilter.location.longitude",
+ $ref: "#/parameters/rowFilter.user.about",
},
{
- $ref: "#/parameters/rowFilter.location.companyId",
+ $ref: "#/parameters/rowFilter.user.avatarUrl",
},
{
- $ref: "#/parameters/rowFilter.location.createdBy",
+ $ref: "#/parameters/rowFilter.user.active",
},
{
- $ref: "#/parameters/rowFilter.location.createdAt",
+ $ref: "#/parameters/rowFilter.user.createdAt",
},
{
- $ref: "#/parameters/rowFilter.location.updatedBy",
+ $ref: "#/parameters/rowFilter.user.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.location.updatedAt",
+ $ref: "#/parameters/rowFilter.user.developer",
},
{
- $ref: "#/parameters/rowFilter.location.customFields",
+ $ref: "#/parameters/rowFilter.user.admin",
},
{
$ref: "#/parameters/preferReturn",
@@ -24827,63 +24854,48 @@ export default {
description: "No Content",
},
},
- tags: ["location"],
+ tags: ["user"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.location.id",
- },
- {
- $ref: "#/parameters/rowFilter.location.name",
- },
- {
- $ref: "#/parameters/rowFilter.location.addressLine1",
- },
- {
- $ref: "#/parameters/rowFilter.location.addressLine2",
- },
- {
- $ref: "#/parameters/rowFilter.location.city",
- },
- {
- $ref: "#/parameters/rowFilter.location.stateProvince",
+ $ref: "#/parameters/rowFilter.user.id",
},
{
- $ref: "#/parameters/rowFilter.location.postalCode",
+ $ref: "#/parameters/rowFilter.user.email",
},
{
- $ref: "#/parameters/rowFilter.location.countryCode",
+ $ref: "#/parameters/rowFilter.user.firstName",
},
{
- $ref: "#/parameters/rowFilter.location.timezone",
+ $ref: "#/parameters/rowFilter.user.lastName",
},
{
- $ref: "#/parameters/rowFilter.location.latitude",
+ $ref: "#/parameters/rowFilter.user.fullName",
},
{
- $ref: "#/parameters/rowFilter.location.longitude",
+ $ref: "#/parameters/rowFilter.user.about",
},
{
- $ref: "#/parameters/rowFilter.location.companyId",
+ $ref: "#/parameters/rowFilter.user.avatarUrl",
},
{
- $ref: "#/parameters/rowFilter.location.createdBy",
+ $ref: "#/parameters/rowFilter.user.active",
},
{
- $ref: "#/parameters/rowFilter.location.createdAt",
+ $ref: "#/parameters/rowFilter.user.createdAt",
},
{
- $ref: "#/parameters/rowFilter.location.updatedBy",
+ $ref: "#/parameters/rowFilter.user.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.location.updatedAt",
+ $ref: "#/parameters/rowFilter.user.developer",
},
{
- $ref: "#/parameters/rowFilter.location.customFields",
+ $ref: "#/parameters/rowFilter.user.admin",
},
{
- $ref: "#/parameters/body.location",
+ $ref: "#/parameters/body.user",
},
{
$ref: "#/parameters/preferReturn",
@@ -24894,32 +24906,35 @@ export default {
description: "No Content",
},
},
- tags: ["location"],
+ tags: ["user"],
},
},
- "/employeeAbility": {
+ "/quoteShipment": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.employeeAbility.id",
+ $ref: "#/parameters/rowFilter.quoteShipment.id",
},
{
- $ref: "#/parameters/rowFilter.employeeAbility.employeeId",
+ $ref: "#/parameters/rowFilter.quoteShipment.locationId",
},
{
- $ref: "#/parameters/rowFilter.employeeAbility.abilityId",
+ $ref: "#/parameters/rowFilter.quoteShipment.shippingMethodId",
},
{
- $ref: "#/parameters/rowFilter.employeeAbility.active",
+ $ref: "#/parameters/rowFilter.quoteShipment.shippingTermId",
},
{
- $ref: "#/parameters/rowFilter.employeeAbility.lastTrainingDate",
+ $ref: "#/parameters/rowFilter.quoteShipment.receiptRequestedDate",
},
{
- $ref: "#/parameters/rowFilter.employeeAbility.trainingDays",
+ $ref: "#/parameters/rowFilter.quoteShipment.companyId",
},
{
- $ref: "#/parameters/rowFilter.employeeAbility.trainingCompleted",
+ $ref: "#/parameters/rowFilter.quoteShipment.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteShipment.updatedAt",
},
{
$ref: "#/parameters/select",
@@ -24948,7 +24963,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/employeeAbility",
+ $ref: "#/definitions/quoteShipment",
},
type: "array",
},
@@ -24957,12 +24972,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["employeeAbility"],
+ tags: ["quoteShipment"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.employeeAbility",
+ $ref: "#/parameters/body.quoteShipment",
},
{
$ref: "#/parameters/select",
@@ -24976,30 +24991,33 @@ export default {
description: "Created",
},
},
- tags: ["employeeAbility"],
+ tags: ["quoteShipment"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.employeeAbility.id",
+ $ref: "#/parameters/rowFilter.quoteShipment.id",
},
{
- $ref: "#/parameters/rowFilter.employeeAbility.employeeId",
+ $ref: "#/parameters/rowFilter.quoteShipment.locationId",
},
{
- $ref: "#/parameters/rowFilter.employeeAbility.abilityId",
+ $ref: "#/parameters/rowFilter.quoteShipment.shippingMethodId",
},
{
- $ref: "#/parameters/rowFilter.employeeAbility.active",
+ $ref: "#/parameters/rowFilter.quoteShipment.shippingTermId",
},
{
- $ref: "#/parameters/rowFilter.employeeAbility.lastTrainingDate",
+ $ref: "#/parameters/rowFilter.quoteShipment.receiptRequestedDate",
},
{
- $ref: "#/parameters/rowFilter.employeeAbility.trainingDays",
+ $ref: "#/parameters/rowFilter.quoteShipment.companyId",
},
{
- $ref: "#/parameters/rowFilter.employeeAbility.trainingCompleted",
+ $ref: "#/parameters/rowFilter.quoteShipment.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteShipment.updatedAt",
},
{
$ref: "#/parameters/preferReturn",
@@ -25010,33 +25028,36 @@ export default {
description: "No Content",
},
},
- tags: ["employeeAbility"],
+ tags: ["quoteShipment"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.employeeAbility.id",
+ $ref: "#/parameters/rowFilter.quoteShipment.id",
},
{
- $ref: "#/parameters/rowFilter.employeeAbility.employeeId",
+ $ref: "#/parameters/rowFilter.quoteShipment.locationId",
},
{
- $ref: "#/parameters/rowFilter.employeeAbility.abilityId",
+ $ref: "#/parameters/rowFilter.quoteShipment.shippingMethodId",
},
{
- $ref: "#/parameters/rowFilter.employeeAbility.active",
+ $ref: "#/parameters/rowFilter.quoteShipment.shippingTermId",
},
{
- $ref: "#/parameters/rowFilter.employeeAbility.lastTrainingDate",
+ $ref: "#/parameters/rowFilter.quoteShipment.receiptRequestedDate",
},
{
- $ref: "#/parameters/rowFilter.employeeAbility.trainingDays",
+ $ref: "#/parameters/rowFilter.quoteShipment.companyId",
},
{
- $ref: "#/parameters/rowFilter.employeeAbility.trainingCompleted",
+ $ref: "#/parameters/rowFilter.quoteShipment.updatedBy",
},
{
- $ref: "#/parameters/body.employeeAbility",
+ $ref: "#/parameters/rowFilter.quoteShipment.updatedAt",
+ },
+ {
+ $ref: "#/parameters/body.quoteShipment",
},
{
$ref: "#/parameters/preferReturn",
@@ -25047,101 +25068,44 @@ export default {
description: "No Content",
},
},
- tags: ["employeeAbility"],
+ tags: ["quoteShipment"],
},
},
- "/quoteOperation": {
+ "/modelUpload": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.quoteOperation.id",
- },
- {
- $ref: "#/parameters/rowFilter.quoteOperation.quoteId",
- },
- {
- $ref: "#/parameters/rowFilter.quoteOperation.quoteLineId",
- },
- {
- $ref: "#/parameters/rowFilter.quoteOperation.quoteMakeMethodId",
- },
- {
- $ref: "#/parameters/rowFilter.quoteOperation.order",
- },
- {
- $ref: "#/parameters/rowFilter.quoteOperation.description",
- },
- {
- $ref: "#/parameters/rowFilter.quoteOperation.operationOrder",
- },
- {
- $ref: "#/parameters/rowFilter.quoteOperation.laborRate",
- },
- {
- $ref: "#/parameters/rowFilter.quoteOperation.overheadRate",
- },
- {
- $ref: "#/parameters/rowFilter.quoteOperation.companyId",
- },
- {
- $ref: "#/parameters/rowFilter.quoteOperation.createdAt",
- },
- {
- $ref: "#/parameters/rowFilter.quoteOperation.createdBy",
- },
- {
- $ref: "#/parameters/rowFilter.quoteOperation.updatedAt",
- },
- {
- $ref: "#/parameters/rowFilter.quoteOperation.updatedBy",
- },
- {
- $ref: "#/parameters/rowFilter.quoteOperation.customFields",
- },
- {
- $ref: "#/parameters/rowFilter.quoteOperation.processId",
- },
- {
- $ref: "#/parameters/rowFilter.quoteOperation.workCenterId",
- },
- {
- $ref: "#/parameters/rowFilter.quoteOperation.setupTime",
- },
- {
- $ref: "#/parameters/rowFilter.quoteOperation.setupUnit",
- },
- {
- $ref: "#/parameters/rowFilter.quoteOperation.laborTime",
+ $ref: "#/parameters/rowFilter.modelUpload.id",
},
{
- $ref: "#/parameters/rowFilter.quoteOperation.laborUnit",
+ $ref: "#/parameters/rowFilter.modelUpload.name",
},
{
- $ref: "#/parameters/rowFilter.quoteOperation.machineTime",
+ $ref: "#/parameters/rowFilter.modelUpload.size",
},
{
- $ref: "#/parameters/rowFilter.quoteOperation.machineUnit",
+ $ref: "#/parameters/rowFilter.modelUpload.modelPath",
},
{
- $ref: "#/parameters/rowFilter.quoteOperation.machineRate",
+ $ref: "#/parameters/rowFilter.modelUpload.autodeskUrn",
},
{
- $ref: "#/parameters/rowFilter.quoteOperation.operationType",
+ $ref: "#/parameters/rowFilter.modelUpload.companyId",
},
{
- $ref: "#/parameters/rowFilter.quoteOperation.operationMinimumCost",
+ $ref: "#/parameters/rowFilter.modelUpload.createdAt",
},
{
- $ref: "#/parameters/rowFilter.quoteOperation.operationLeadTime",
+ $ref: "#/parameters/rowFilter.modelUpload.createdBy",
},
{
- $ref: "#/parameters/rowFilter.quoteOperation.operationUnitCost",
+ $ref: "#/parameters/rowFilter.modelUpload.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.quoteOperation.operationSupplierProcessId",
+ $ref: "#/parameters/rowFilter.modelUpload.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.quoteOperation.workInstruction",
+ $ref: "#/parameters/rowFilter.modelUpload.thumbnailPath",
},
{
$ref: "#/parameters/select",
@@ -25170,7 +25134,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/quoteOperation",
+ $ref: "#/definitions/modelUpload",
},
type: "array",
},
@@ -25179,12 +25143,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["quoteOperation"],
+ tags: ["modelUpload"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.quoteOperation",
+ $ref: "#/parameters/body.modelUpload",
},
{
$ref: "#/parameters/select",
@@ -25198,99 +25162,91 @@ export default {
description: "Created",
},
},
- tags: ["quoteOperation"],
+ tags: ["modelUpload"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.quoteOperation.id",
- },
- {
- $ref: "#/parameters/rowFilter.quoteOperation.quoteId",
- },
- {
- $ref: "#/parameters/rowFilter.quoteOperation.quoteLineId",
- },
- {
- $ref: "#/parameters/rowFilter.quoteOperation.quoteMakeMethodId",
- },
- {
- $ref: "#/parameters/rowFilter.quoteOperation.order",
- },
- {
- $ref: "#/parameters/rowFilter.quoteOperation.description",
+ $ref: "#/parameters/rowFilter.modelUpload.id",
},
{
- $ref: "#/parameters/rowFilter.quoteOperation.operationOrder",
+ $ref: "#/parameters/rowFilter.modelUpload.name",
},
{
- $ref: "#/parameters/rowFilter.quoteOperation.laborRate",
+ $ref: "#/parameters/rowFilter.modelUpload.size",
},
{
- $ref: "#/parameters/rowFilter.quoteOperation.overheadRate",
+ $ref: "#/parameters/rowFilter.modelUpload.modelPath",
},
{
- $ref: "#/parameters/rowFilter.quoteOperation.companyId",
+ $ref: "#/parameters/rowFilter.modelUpload.autodeskUrn",
},
{
- $ref: "#/parameters/rowFilter.quoteOperation.createdAt",
+ $ref: "#/parameters/rowFilter.modelUpload.companyId",
},
{
- $ref: "#/parameters/rowFilter.quoteOperation.createdBy",
+ $ref: "#/parameters/rowFilter.modelUpload.createdAt",
},
{
- $ref: "#/parameters/rowFilter.quoteOperation.updatedAt",
+ $ref: "#/parameters/rowFilter.modelUpload.createdBy",
},
{
- $ref: "#/parameters/rowFilter.quoteOperation.updatedBy",
+ $ref: "#/parameters/rowFilter.modelUpload.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.quoteOperation.customFields",
+ $ref: "#/parameters/rowFilter.modelUpload.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.quoteOperation.processId",
+ $ref: "#/parameters/rowFilter.modelUpload.thumbnailPath",
},
{
- $ref: "#/parameters/rowFilter.quoteOperation.workCenterId",
+ $ref: "#/parameters/preferReturn",
},
- {
- $ref: "#/parameters/rowFilter.quoteOperation.setupTime",
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
},
+ },
+ tags: ["modelUpload"],
+ },
+ patch: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.quoteOperation.setupUnit",
+ $ref: "#/parameters/rowFilter.modelUpload.id",
},
{
- $ref: "#/parameters/rowFilter.quoteOperation.laborTime",
+ $ref: "#/parameters/rowFilter.modelUpload.name",
},
{
- $ref: "#/parameters/rowFilter.quoteOperation.laborUnit",
+ $ref: "#/parameters/rowFilter.modelUpload.size",
},
{
- $ref: "#/parameters/rowFilter.quoteOperation.machineTime",
+ $ref: "#/parameters/rowFilter.modelUpload.modelPath",
},
{
- $ref: "#/parameters/rowFilter.quoteOperation.machineUnit",
+ $ref: "#/parameters/rowFilter.modelUpload.autodeskUrn",
},
{
- $ref: "#/parameters/rowFilter.quoteOperation.machineRate",
+ $ref: "#/parameters/rowFilter.modelUpload.companyId",
},
{
- $ref: "#/parameters/rowFilter.quoteOperation.operationType",
+ $ref: "#/parameters/rowFilter.modelUpload.createdAt",
},
{
- $ref: "#/parameters/rowFilter.quoteOperation.operationMinimumCost",
+ $ref: "#/parameters/rowFilter.modelUpload.createdBy",
},
{
- $ref: "#/parameters/rowFilter.quoteOperation.operationLeadTime",
+ $ref: "#/parameters/rowFilter.modelUpload.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.quoteOperation.operationUnitCost",
+ $ref: "#/parameters/rowFilter.modelUpload.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.quoteOperation.operationSupplierProcessId",
+ $ref: "#/parameters/rowFilter.modelUpload.thumbnailPath",
},
{
- $ref: "#/parameters/rowFilter.quoteOperation.workInstruction",
+ $ref: "#/parameters/body.modelUpload",
},
{
$ref: "#/parameters/preferReturn",
@@ -25301,102 +25257,131 @@ export default {
description: "No Content",
},
},
- tags: ["quoteOperation"],
+ tags: ["modelUpload"],
},
- patch: {
+ },
+ "/purchaseOrderStatusHistory": {
+ get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.quoteOperation.id",
+ $ref: "#/parameters/rowFilter.purchaseOrderStatusHistory.id",
},
{
- $ref: "#/parameters/rowFilter.quoteOperation.quoteId",
+ $ref: "#/parameters/rowFilter.purchaseOrderStatusHistory.purchaseOrderId",
},
{
- $ref: "#/parameters/rowFilter.quoteOperation.quoteLineId",
+ $ref: "#/parameters/rowFilter.purchaseOrderStatusHistory.status",
},
{
- $ref: "#/parameters/rowFilter.quoteOperation.quoteMakeMethodId",
+ $ref: "#/parameters/rowFilter.purchaseOrderStatusHistory.createdAt",
},
{
- $ref: "#/parameters/rowFilter.quoteOperation.order",
+ $ref: "#/parameters/rowFilter.purchaseOrderStatusHistory.createdBy",
},
{
- $ref: "#/parameters/rowFilter.quoteOperation.description",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.quoteOperation.operationOrder",
+ $ref: "#/parameters/order",
},
{
- $ref: "#/parameters/rowFilter.quoteOperation.laborRate",
+ $ref: "#/parameters/range",
},
{
- $ref: "#/parameters/rowFilter.quoteOperation.overheadRate",
+ $ref: "#/parameters/rangeUnit",
},
{
- $ref: "#/parameters/rowFilter.quoteOperation.companyId",
+ $ref: "#/parameters/offset",
},
{
- $ref: "#/parameters/rowFilter.quoteOperation.createdAt",
+ $ref: "#/parameters/limit",
},
{
- $ref: "#/parameters/rowFilter.quoteOperation.createdBy",
+ $ref: "#/parameters/preferCount",
},
- {
- $ref: "#/parameters/rowFilter.quoteOperation.updatedAt",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/purchaseOrderStatusHistory",
+ },
+ type: "array",
+ },
},
- {
- $ref: "#/parameters/rowFilter.quoteOperation.updatedBy",
+ "206": {
+ description: "Partial Content",
},
+ },
+ tags: ["purchaseOrderStatusHistory"],
+ },
+ post: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.quoteOperation.customFields",
+ $ref: "#/parameters/body.purchaseOrderStatusHistory",
},
{
- $ref: "#/parameters/rowFilter.quoteOperation.processId",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.quoteOperation.workCenterId",
+ $ref: "#/parameters/preferPost",
},
- {
- $ref: "#/parameters/rowFilter.quoteOperation.setupTime",
+ ],
+ responses: {
+ "201": {
+ description: "Created",
},
+ },
+ tags: ["purchaseOrderStatusHistory"],
+ },
+ delete: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.quoteOperation.setupUnit",
+ $ref: "#/parameters/rowFilter.purchaseOrderStatusHistory.id",
},
{
- $ref: "#/parameters/rowFilter.quoteOperation.laborTime",
+ $ref: "#/parameters/rowFilter.purchaseOrderStatusHistory.purchaseOrderId",
},
{
- $ref: "#/parameters/rowFilter.quoteOperation.laborUnit",
+ $ref: "#/parameters/rowFilter.purchaseOrderStatusHistory.status",
},
{
- $ref: "#/parameters/rowFilter.quoteOperation.machineTime",
+ $ref: "#/parameters/rowFilter.purchaseOrderStatusHistory.createdAt",
},
{
- $ref: "#/parameters/rowFilter.quoteOperation.machineUnit",
+ $ref: "#/parameters/rowFilter.purchaseOrderStatusHistory.createdBy",
},
{
- $ref: "#/parameters/rowFilter.quoteOperation.machineRate",
+ $ref: "#/parameters/preferReturn",
},
- {
- $ref: "#/parameters/rowFilter.quoteOperation.operationType",
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
},
+ },
+ tags: ["purchaseOrderStatusHistory"],
+ },
+ patch: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.quoteOperation.operationMinimumCost",
+ $ref: "#/parameters/rowFilter.purchaseOrderStatusHistory.id",
},
{
- $ref: "#/parameters/rowFilter.quoteOperation.operationLeadTime",
+ $ref: "#/parameters/rowFilter.purchaseOrderStatusHistory.purchaseOrderId",
},
{
- $ref: "#/parameters/rowFilter.quoteOperation.operationUnitCost",
+ $ref: "#/parameters/rowFilter.purchaseOrderStatusHistory.status",
},
{
- $ref: "#/parameters/rowFilter.quoteOperation.operationSupplierProcessId",
+ $ref: "#/parameters/rowFilter.purchaseOrderStatusHistory.createdAt",
},
{
- $ref: "#/parameters/rowFilter.quoteOperation.workInstruction",
+ $ref: "#/parameters/rowFilter.purchaseOrderStatusHistory.createdBy",
},
{
- $ref: "#/parameters/body.quoteOperation",
+ $ref: "#/parameters/body.purchaseOrderStatusHistory",
},
{
$ref: "#/parameters/preferReturn",
@@ -25407,74 +25392,104 @@ export default {
description: "No Content",
},
},
- tags: ["quoteOperation"],
+ tags: ["purchaseOrderStatusHistory"],
},
},
- "/salesRfq": {
+ "/contractors": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.salesRfq.id",
+ $ref: "#/parameters/rowFilter.contractors.supplierContactId",
},
{
- $ref: "#/parameters/rowFilter.salesRfq.rfqId",
+ $ref: "#/parameters/rowFilter.contractors.active",
},
{
- $ref: "#/parameters/rowFilter.salesRfq.revisionId",
+ $ref: "#/parameters/rowFilter.contractors.hoursPerWeek",
},
{
- $ref: "#/parameters/rowFilter.salesRfq.status",
+ $ref: "#/parameters/rowFilter.contractors.companyId",
},
{
- $ref: "#/parameters/rowFilter.salesRfq.employeeId",
+ $ref: "#/parameters/rowFilter.contractors.customFields",
},
{
- $ref: "#/parameters/rowFilter.salesRfq.customerId",
+ $ref: "#/parameters/rowFilter.contractors.supplierId",
},
{
- $ref: "#/parameters/rowFilter.salesRfq.customerContactId",
+ $ref: "#/parameters/rowFilter.contractors.supplierName",
},
{
- $ref: "#/parameters/rowFilter.salesRfq.customerReference",
+ $ref: "#/parameters/rowFilter.contractors.fullName",
},
{
- $ref: "#/parameters/rowFilter.salesRfq.rfqDate",
+ $ref: "#/parameters/rowFilter.contractors.firstName",
},
{
- $ref: "#/parameters/rowFilter.salesRfq.expirationDate",
+ $ref: "#/parameters/rowFilter.contractors.lastName",
},
{
- $ref: "#/parameters/rowFilter.salesRfq.locationId",
+ $ref: "#/parameters/rowFilter.contractors.email",
},
{
- $ref: "#/parameters/rowFilter.salesRfq.assignee",
+ $ref: "#/parameters/rowFilter.contractors.abilityIds",
},
{
- $ref: "#/parameters/rowFilter.salesRfq.companyId",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.salesRfq.customFields",
+ $ref: "#/parameters/order",
},
{
- $ref: "#/parameters/rowFilter.salesRfq.createdAt",
+ $ref: "#/parameters/range",
},
{
- $ref: "#/parameters/rowFilter.salesRfq.createdBy",
+ $ref: "#/parameters/rangeUnit",
},
{
- $ref: "#/parameters/rowFilter.salesRfq.updatedAt",
+ $ref: "#/parameters/offset",
},
{
- $ref: "#/parameters/rowFilter.salesRfq.updatedBy",
+ $ref: "#/parameters/limit",
},
{
- $ref: "#/parameters/rowFilter.salesRfq.customerLocationId",
+ $ref: "#/parameters/preferCount",
+ },
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/contractors",
+ },
+ type: "array",
+ },
},
+ "206": {
+ description: "Partial Content",
+ },
+ },
+ tags: ["contractors"],
+ },
+ },
+ "/salesOrderStatusHistory": {
+ get: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.salesRfq.externalNotes",
+ $ref: "#/parameters/rowFilter.salesOrderStatusHistory.id",
},
{
- $ref: "#/parameters/rowFilter.salesRfq.internalNotes",
+ $ref: "#/parameters/rowFilter.salesOrderStatusHistory.salesOrderId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrderStatusHistory.status",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrderStatusHistory.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrderStatusHistory.createdBy",
},
{
$ref: "#/parameters/select",
@@ -25503,7 +25518,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/salesRfq",
+ $ref: "#/definitions/salesOrderStatusHistory",
},
type: "array",
},
@@ -25512,12 +25527,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["salesRfq"],
+ tags: ["salesOrderStatusHistory"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.salesRfq",
+ $ref: "#/parameters/body.salesOrderStatusHistory",
},
{
$ref: "#/parameters/select",
@@ -25531,72 +25546,55 @@ export default {
description: "Created",
},
},
- tags: ["salesRfq"],
+ tags: ["salesOrderStatusHistory"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.salesRfq.id",
- },
- {
- $ref: "#/parameters/rowFilter.salesRfq.rfqId",
- },
- {
- $ref: "#/parameters/rowFilter.salesRfq.revisionId",
- },
- {
- $ref: "#/parameters/rowFilter.salesRfq.status",
- },
- {
- $ref: "#/parameters/rowFilter.salesRfq.employeeId",
- },
- {
- $ref: "#/parameters/rowFilter.salesRfq.customerId",
- },
- {
- $ref: "#/parameters/rowFilter.salesRfq.customerContactId",
- },
- {
- $ref: "#/parameters/rowFilter.salesRfq.customerReference",
- },
- {
- $ref: "#/parameters/rowFilter.salesRfq.rfqDate",
+ $ref: "#/parameters/rowFilter.salesOrderStatusHistory.id",
},
{
- $ref: "#/parameters/rowFilter.salesRfq.expirationDate",
+ $ref: "#/parameters/rowFilter.salesOrderStatusHistory.salesOrderId",
},
{
- $ref: "#/parameters/rowFilter.salesRfq.locationId",
+ $ref: "#/parameters/rowFilter.salesOrderStatusHistory.status",
},
{
- $ref: "#/parameters/rowFilter.salesRfq.assignee",
+ $ref: "#/parameters/rowFilter.salesOrderStatusHistory.createdAt",
},
{
- $ref: "#/parameters/rowFilter.salesRfq.companyId",
+ $ref: "#/parameters/rowFilter.salesOrderStatusHistory.createdBy",
},
{
- $ref: "#/parameters/rowFilter.salesRfq.customFields",
+ $ref: "#/parameters/preferReturn",
},
- {
- $ref: "#/parameters/rowFilter.salesRfq.createdAt",
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
},
+ },
+ tags: ["salesOrderStatusHistory"],
+ },
+ patch: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.salesRfq.createdBy",
+ $ref: "#/parameters/rowFilter.salesOrderStatusHistory.id",
},
{
- $ref: "#/parameters/rowFilter.salesRfq.updatedAt",
+ $ref: "#/parameters/rowFilter.salesOrderStatusHistory.salesOrderId",
},
{
- $ref: "#/parameters/rowFilter.salesRfq.updatedBy",
+ $ref: "#/parameters/rowFilter.salesOrderStatusHistory.status",
},
{
- $ref: "#/parameters/rowFilter.salesRfq.customerLocationId",
+ $ref: "#/parameters/rowFilter.salesOrderStatusHistory.createdAt",
},
{
- $ref: "#/parameters/rowFilter.salesRfq.externalNotes",
+ $ref: "#/parameters/rowFilter.salesOrderStatusHistory.createdBy",
},
{
- $ref: "#/parameters/rowFilter.salesRfq.internalNotes",
+ $ref: "#/parameters/body.salesOrderStatusHistory",
},
{
$ref: "#/parameters/preferReturn",
@@ -25607,129 +25605,140 @@ export default {
description: "No Content",
},
},
- tags: ["salesRfq"],
+ tags: ["salesOrderStatusHistory"],
},
- patch: {
+ },
+ "/jobs": {
+ get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.salesRfq.id",
+ $ref: "#/parameters/rowFilter.jobs.id",
},
{
- $ref: "#/parameters/rowFilter.salesRfq.rfqId",
+ $ref: "#/parameters/rowFilter.jobs.jobId",
},
{
- $ref: "#/parameters/rowFilter.salesRfq.revisionId",
+ $ref: "#/parameters/rowFilter.jobs.itemId",
},
{
- $ref: "#/parameters/rowFilter.salesRfq.status",
+ $ref: "#/parameters/rowFilter.jobs.unitOfMeasureCode",
},
{
- $ref: "#/parameters/rowFilter.salesRfq.employeeId",
+ $ref: "#/parameters/rowFilter.jobs.customerId",
},
{
- $ref: "#/parameters/rowFilter.salesRfq.customerId",
+ $ref: "#/parameters/rowFilter.jobs.locationId",
},
{
- $ref: "#/parameters/rowFilter.salesRfq.customerContactId",
+ $ref: "#/parameters/rowFilter.jobs.status",
},
{
- $ref: "#/parameters/rowFilter.salesRfq.customerReference",
+ $ref: "#/parameters/rowFilter.jobs.dueDate",
},
{
- $ref: "#/parameters/rowFilter.salesRfq.rfqDate",
+ $ref: "#/parameters/rowFilter.jobs.deadlineType",
},
{
- $ref: "#/parameters/rowFilter.salesRfq.expirationDate",
+ $ref: "#/parameters/rowFilter.jobs.quantity",
},
{
- $ref: "#/parameters/rowFilter.salesRfq.locationId",
+ $ref: "#/parameters/rowFilter.jobs.scrapQuantity",
},
{
- $ref: "#/parameters/rowFilter.salesRfq.assignee",
+ $ref: "#/parameters/rowFilter.jobs.productionQuantity",
},
{
- $ref: "#/parameters/rowFilter.salesRfq.companyId",
+ $ref: "#/parameters/rowFilter.jobs.quantityComplete",
},
{
- $ref: "#/parameters/rowFilter.salesRfq.customFields",
+ $ref: "#/parameters/rowFilter.jobs.quantityShipped",
},
{
- $ref: "#/parameters/rowFilter.salesRfq.createdAt",
+ $ref: "#/parameters/rowFilter.jobs.quantityReceivedToInventory",
},
{
- $ref: "#/parameters/rowFilter.salesRfq.createdBy",
+ $ref: "#/parameters/rowFilter.jobs.salesOrderId",
},
{
- $ref: "#/parameters/rowFilter.salesRfq.updatedAt",
+ $ref: "#/parameters/rowFilter.jobs.salesOrderLineId",
},
{
- $ref: "#/parameters/rowFilter.salesRfq.updatedBy",
+ $ref: "#/parameters/rowFilter.jobs.quoteId",
},
{
- $ref: "#/parameters/rowFilter.salesRfq.customerLocationId",
+ $ref: "#/parameters/rowFilter.jobs.quoteLineId",
},
{
- $ref: "#/parameters/rowFilter.salesRfq.externalNotes",
+ $ref: "#/parameters/rowFilter.jobs.modelUploadId",
},
{
- $ref: "#/parameters/rowFilter.salesRfq.internalNotes",
+ $ref: "#/parameters/rowFilter.jobs.notes",
},
{
- $ref: "#/parameters/body.salesRfq",
+ $ref: "#/parameters/rowFilter.jobs.assignee",
},
{
- $ref: "#/parameters/preferReturn",
+ $ref: "#/parameters/rowFilter.jobs.customFields",
},
- ],
- responses: {
- "204": {
- description: "No Content",
+ {
+ $ref: "#/parameters/rowFilter.jobs.companyId",
},
- },
- tags: ["salesRfq"],
- },
- },
- "/paymentTerm": {
- get: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.paymentTerm.id",
+ $ref: "#/parameters/rowFilter.jobs.createdAt",
},
{
- $ref: "#/parameters/rowFilter.paymentTerm.name",
+ $ref: "#/parameters/rowFilter.jobs.createdBy",
},
{
- $ref: "#/parameters/rowFilter.paymentTerm.daysDue",
+ $ref: "#/parameters/rowFilter.jobs.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.paymentTerm.daysDiscount",
+ $ref: "#/parameters/rowFilter.jobs.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.paymentTerm.discountPercentage",
+ $ref: "#/parameters/rowFilter.jobs.name",
},
{
- $ref: "#/parameters/rowFilter.paymentTerm.calculationMethod",
+ $ref: "#/parameters/rowFilter.jobs.itemReadableId",
},
{
- $ref: "#/parameters/rowFilter.paymentTerm.active",
+ $ref: "#/parameters/rowFilter.jobs.itemType",
},
{
- $ref: "#/parameters/rowFilter.paymentTerm.companyId",
+ $ref: "#/parameters/rowFilter.jobs.description",
},
{
- $ref: "#/parameters/rowFilter.paymentTerm.createdAt",
+ $ref: "#/parameters/rowFilter.jobs.itemTrackingType",
},
{
- $ref: "#/parameters/rowFilter.paymentTerm.createdBy",
+ $ref: "#/parameters/rowFilter.jobs.active",
},
{
- $ref: "#/parameters/rowFilter.paymentTerm.updatedAt",
+ $ref: "#/parameters/rowFilter.jobs.replenishmentSystem",
},
{
- $ref: "#/parameters/rowFilter.paymentTerm.updatedBy",
+ $ref: "#/parameters/rowFilter.jobs.modelId",
},
{
- $ref: "#/parameters/rowFilter.paymentTerm.customFields",
+ $ref: "#/parameters/rowFilter.jobs.autodeskUrn",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobs.modelPath",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobs.thumbnailPath",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobs.modelName",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobs.modelSize",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobs.salesOrderReadableId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobs.quoteReadableId",
},
{
$ref: "#/parameters/select",
@@ -25758,7 +25767,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/paymentTerm",
+ $ref: "#/definitions/jobs",
},
type: "array",
},
@@ -25767,155 +25776,47 @@ export default {
description: "Partial Content",
},
},
- tags: ["paymentTerm"],
- },
- post: {
- parameters: [
- {
- $ref: "#/parameters/body.paymentTerm",
- },
- {
- $ref: "#/parameters/select",
- },
- {
- $ref: "#/parameters/preferPost",
- },
- ],
- responses: {
- "201": {
- description: "Created",
- },
- },
- tags: ["paymentTerm"],
- },
- delete: {
- parameters: [
- {
- $ref: "#/parameters/rowFilter.paymentTerm.id",
- },
- {
- $ref: "#/parameters/rowFilter.paymentTerm.name",
- },
- {
- $ref: "#/parameters/rowFilter.paymentTerm.daysDue",
- },
- {
- $ref: "#/parameters/rowFilter.paymentTerm.daysDiscount",
- },
- {
- $ref: "#/parameters/rowFilter.paymentTerm.discountPercentage",
- },
- {
- $ref: "#/parameters/rowFilter.paymentTerm.calculationMethod",
- },
- {
- $ref: "#/parameters/rowFilter.paymentTerm.active",
- },
- {
- $ref: "#/parameters/rowFilter.paymentTerm.companyId",
- },
- {
- $ref: "#/parameters/rowFilter.paymentTerm.createdAt",
- },
- {
- $ref: "#/parameters/rowFilter.paymentTerm.createdBy",
- },
- {
- $ref: "#/parameters/rowFilter.paymentTerm.updatedAt",
- },
- {
- $ref: "#/parameters/rowFilter.paymentTerm.updatedBy",
- },
- {
- $ref: "#/parameters/rowFilter.paymentTerm.customFields",
- },
- {
- $ref: "#/parameters/preferReturn",
- },
- ],
- responses: {
- "204": {
- description: "No Content",
- },
- },
- tags: ["paymentTerm"],
+ tags: ["jobs"],
},
- patch: {
+ },
+ "/customField": {
+ get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.paymentTerm.id",
- },
- {
- $ref: "#/parameters/rowFilter.paymentTerm.name",
- },
- {
- $ref: "#/parameters/rowFilter.paymentTerm.daysDue",
- },
- {
- $ref: "#/parameters/rowFilter.paymentTerm.daysDiscount",
- },
- {
- $ref: "#/parameters/rowFilter.paymentTerm.discountPercentage",
- },
- {
- $ref: "#/parameters/rowFilter.paymentTerm.calculationMethod",
- },
- {
- $ref: "#/parameters/rowFilter.paymentTerm.active",
- },
- {
- $ref: "#/parameters/rowFilter.paymentTerm.companyId",
- },
- {
- $ref: "#/parameters/rowFilter.paymentTerm.createdAt",
- },
- {
- $ref: "#/parameters/rowFilter.paymentTerm.createdBy",
+ $ref: "#/parameters/rowFilter.customField.id",
},
{
- $ref: "#/parameters/rowFilter.paymentTerm.updatedAt",
+ $ref: "#/parameters/rowFilter.customField.name",
},
{
- $ref: "#/parameters/rowFilter.paymentTerm.updatedBy",
+ $ref: "#/parameters/rowFilter.customField.sortOrder",
},
{
- $ref: "#/parameters/rowFilter.paymentTerm.customFields",
+ $ref: "#/parameters/rowFilter.customField.table",
},
{
- $ref: "#/parameters/body.paymentTerm",
+ $ref: "#/parameters/rowFilter.customField.dataTypeId",
},
{
- $ref: "#/parameters/preferReturn",
- },
- ],
- responses: {
- "204": {
- description: "No Content",
+ $ref: "#/parameters/rowFilter.customField.listOptions",
},
- },
- tags: ["paymentTerm"],
- },
- },
- "/apiKey": {
- get: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.apiKey.id",
+ $ref: "#/parameters/rowFilter.customField.active",
},
{
- $ref: "#/parameters/rowFilter.apiKey.name",
+ $ref: "#/parameters/rowFilter.customField.companyId",
},
{
- $ref: "#/parameters/rowFilter.apiKey.key",
+ $ref: "#/parameters/rowFilter.customField.createdAt",
},
{
- $ref: "#/parameters/rowFilter.apiKey.companyId",
+ $ref: "#/parameters/rowFilter.customField.createdBy",
},
{
- $ref: "#/parameters/rowFilter.apiKey.createdBy",
+ $ref: "#/parameters/rowFilter.customField.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.apiKey.createdAt",
+ $ref: "#/parameters/rowFilter.customField.updatedBy",
},
{
$ref: "#/parameters/select",
@@ -25944,7 +25845,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/apiKey",
+ $ref: "#/definitions/customField",
},
type: "array",
},
@@ -25953,12 +25854,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["apiKey"],
+ tags: ["customField"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.apiKey",
+ $ref: "#/parameters/body.customField",
},
{
$ref: "#/parameters/select",
@@ -25972,27 +25873,45 @@ export default {
description: "Created",
},
},
- tags: ["apiKey"],
+ tags: ["customField"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.apiKey.id",
+ $ref: "#/parameters/rowFilter.customField.id",
},
{
- $ref: "#/parameters/rowFilter.apiKey.name",
+ $ref: "#/parameters/rowFilter.customField.name",
},
{
- $ref: "#/parameters/rowFilter.apiKey.key",
+ $ref: "#/parameters/rowFilter.customField.sortOrder",
},
{
- $ref: "#/parameters/rowFilter.apiKey.companyId",
+ $ref: "#/parameters/rowFilter.customField.table",
},
{
- $ref: "#/parameters/rowFilter.apiKey.createdBy",
+ $ref: "#/parameters/rowFilter.customField.dataTypeId",
},
{
- $ref: "#/parameters/rowFilter.apiKey.createdAt",
+ $ref: "#/parameters/rowFilter.customField.listOptions",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customField.active",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customField.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customField.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customField.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customField.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customField.updatedBy",
},
{
$ref: "#/parameters/preferReturn",
@@ -26003,30 +25922,48 @@ export default {
description: "No Content",
},
},
- tags: ["apiKey"],
+ tags: ["customField"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.apiKey.id",
+ $ref: "#/parameters/rowFilter.customField.id",
},
{
- $ref: "#/parameters/rowFilter.apiKey.name",
+ $ref: "#/parameters/rowFilter.customField.name",
},
{
- $ref: "#/parameters/rowFilter.apiKey.key",
+ $ref: "#/parameters/rowFilter.customField.sortOrder",
},
{
- $ref: "#/parameters/rowFilter.apiKey.companyId",
+ $ref: "#/parameters/rowFilter.customField.table",
},
{
- $ref: "#/parameters/rowFilter.apiKey.createdBy",
+ $ref: "#/parameters/rowFilter.customField.dataTypeId",
},
{
- $ref: "#/parameters/rowFilter.apiKey.createdAt",
+ $ref: "#/parameters/rowFilter.customField.listOptions",
},
{
- $ref: "#/parameters/body.apiKey",
+ $ref: "#/parameters/rowFilter.customField.active",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customField.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customField.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customField.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customField.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customField.updatedBy",
+ },
+ {
+ $ref: "#/parameters/body.customField",
},
{
$ref: "#/parameters/preferReturn",
@@ -26037,20 +25974,38 @@ export default {
description: "No Content",
},
},
- tags: ["apiKey"],
+ tags: ["customField"],
},
},
- "/salesOrderCustomers": {
+ "/quoteCustomerDetails": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.salesOrderCustomers.id",
+ $ref: "#/parameters/rowFilter.quoteCustomerDetails.quoteId",
},
{
- $ref: "#/parameters/rowFilter.salesOrderCustomers.name",
+ $ref: "#/parameters/rowFilter.quoteCustomerDetails.customerName",
},
{
- $ref: "#/parameters/rowFilter.salesOrderCustomers.companyId",
+ $ref: "#/parameters/rowFilter.quoteCustomerDetails.customerAddressLine1",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteCustomerDetails.customerAddressLine2",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteCustomerDetails.customerCity",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteCustomerDetails.customerStateProvince",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteCustomerDetails.customerPostalCode",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteCustomerDetails.customerCountryCode",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteCustomerDetails.customerCountryName",
},
{
$ref: "#/parameters/select",
@@ -26079,7 +26034,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/salesOrderCustomers",
+ $ref: "#/definitions/quoteCustomerDetails",
},
type: "array",
},
@@ -26088,32 +26043,38 @@ export default {
description: "Partial Content",
},
},
- tags: ["salesOrderCustomers"],
+ tags: ["quoteCustomerDetails"],
},
},
- "/opportunity": {
+ "/pickMethod": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.opportunity.id",
+ $ref: "#/parameters/rowFilter.pickMethod.itemId",
},
{
- $ref: "#/parameters/rowFilter.opportunity.salesRfqId",
+ $ref: "#/parameters/rowFilter.pickMethod.locationId",
},
{
- $ref: "#/parameters/rowFilter.opportunity.quoteId",
+ $ref: "#/parameters/rowFilter.pickMethod.defaultShelfId",
},
{
- $ref: "#/parameters/rowFilter.opportunity.salesOrderId",
+ $ref: "#/parameters/rowFilter.pickMethod.companyId",
},
{
- $ref: "#/parameters/rowFilter.opportunity.companyId",
+ $ref: "#/parameters/rowFilter.pickMethod.createdBy",
},
{
- $ref: "#/parameters/rowFilter.opportunity.purchaseOrderDocumentPath",
+ $ref: "#/parameters/rowFilter.pickMethod.createdAt",
},
{
- $ref: "#/parameters/rowFilter.opportunity.requestForQuoteDocumentPath",
+ $ref: "#/parameters/rowFilter.pickMethod.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.pickMethod.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.pickMethod.customFields",
},
{
$ref: "#/parameters/select",
@@ -26142,7 +26103,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/opportunity",
+ $ref: "#/definitions/pickMethod",
},
type: "array",
},
@@ -26151,12 +26112,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["opportunity"],
+ tags: ["pickMethod"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.opportunity",
+ $ref: "#/parameters/body.pickMethod",
},
{
$ref: "#/parameters/select",
@@ -26170,30 +26131,36 @@ export default {
description: "Created",
},
},
- tags: ["opportunity"],
+ tags: ["pickMethod"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.opportunity.id",
+ $ref: "#/parameters/rowFilter.pickMethod.itemId",
},
{
- $ref: "#/parameters/rowFilter.opportunity.salesRfqId",
+ $ref: "#/parameters/rowFilter.pickMethod.locationId",
},
{
- $ref: "#/parameters/rowFilter.opportunity.quoteId",
+ $ref: "#/parameters/rowFilter.pickMethod.defaultShelfId",
},
{
- $ref: "#/parameters/rowFilter.opportunity.salesOrderId",
+ $ref: "#/parameters/rowFilter.pickMethod.companyId",
},
{
- $ref: "#/parameters/rowFilter.opportunity.companyId",
+ $ref: "#/parameters/rowFilter.pickMethod.createdBy",
},
{
- $ref: "#/parameters/rowFilter.opportunity.purchaseOrderDocumentPath",
+ $ref: "#/parameters/rowFilter.pickMethod.createdAt",
},
{
- $ref: "#/parameters/rowFilter.opportunity.requestForQuoteDocumentPath",
+ $ref: "#/parameters/rowFilter.pickMethod.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.pickMethod.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.pickMethod.customFields",
},
{
$ref: "#/parameters/preferReturn",
@@ -26204,135 +26171,87 @@ export default {
description: "No Content",
},
},
- tags: ["opportunity"],
+ tags: ["pickMethod"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.opportunity.id",
- },
- {
- $ref: "#/parameters/rowFilter.opportunity.salesRfqId",
- },
- {
- $ref: "#/parameters/rowFilter.opportunity.quoteId",
- },
- {
- $ref: "#/parameters/rowFilter.opportunity.salesOrderId",
- },
- {
- $ref: "#/parameters/rowFilter.opportunity.companyId",
- },
- {
- $ref: "#/parameters/rowFilter.opportunity.purchaseOrderDocumentPath",
- },
- {
- $ref: "#/parameters/rowFilter.opportunity.requestForQuoteDocumentPath",
- },
- {
- $ref: "#/parameters/body.opportunity",
+ $ref: "#/parameters/rowFilter.pickMethod.itemId",
},
{
- $ref: "#/parameters/preferReturn",
- },
- ],
- responses: {
- "204": {
- description: "No Content",
+ $ref: "#/parameters/rowFilter.pickMethod.locationId",
},
- },
- tags: ["opportunity"],
- },
- },
- "/documentLabels": {
- get: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.documentLabels.label",
+ $ref: "#/parameters/rowFilter.pickMethod.defaultShelfId",
},
{
- $ref: "#/parameters/rowFilter.documentLabels.userId",
+ $ref: "#/parameters/rowFilter.pickMethod.companyId",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.pickMethod.createdBy",
},
{
- $ref: "#/parameters/order",
+ $ref: "#/parameters/rowFilter.pickMethod.createdAt",
},
{
- $ref: "#/parameters/range",
+ $ref: "#/parameters/rowFilter.pickMethod.updatedBy",
},
{
- $ref: "#/parameters/rangeUnit",
+ $ref: "#/parameters/rowFilter.pickMethod.updatedAt",
},
{
- $ref: "#/parameters/offset",
+ $ref: "#/parameters/rowFilter.pickMethod.customFields",
},
{
- $ref: "#/parameters/limit",
+ $ref: "#/parameters/body.pickMethod",
},
{
- $ref: "#/parameters/preferCount",
+ $ref: "#/parameters/preferReturn",
},
],
responses: {
- "200": {
- description: "OK",
- schema: {
- items: {
- $ref: "#/definitions/documentLabels",
- },
- type: "array",
- },
- },
- "206": {
- description: "Partial Content",
+ "204": {
+ description: "No Content",
},
},
- tags: ["documentLabels"],
+ tags: ["pickMethod"],
},
},
- "/groupMembers": {
+ "/group": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.groupMembers.id",
- },
- {
- $ref: "#/parameters/rowFilter.groupMembers.name",
- },
- {
- $ref: "#/parameters/rowFilter.groupMembers.companyId",
+ $ref: "#/parameters/rowFilter.group.id",
},
{
- $ref: "#/parameters/rowFilter.groupMembers.isIdentityGroup",
+ $ref: "#/parameters/rowFilter.group.name",
},
{
- $ref: "#/parameters/rowFilter.groupMembers.isEmployeeTypeGroup",
+ $ref: "#/parameters/rowFilter.group.companyId",
},
{
- $ref: "#/parameters/rowFilter.groupMembers.isCustomerOrgGroup",
+ $ref: "#/parameters/rowFilter.group.isIdentityGroup",
},
{
- $ref: "#/parameters/rowFilter.groupMembers.isCustomerTypeGroup",
+ $ref: "#/parameters/rowFilter.group.isEmployeeTypeGroup",
},
{
- $ref: "#/parameters/rowFilter.groupMembers.isSupplierOrgGroup",
+ $ref: "#/parameters/rowFilter.group.isCustomerOrgGroup",
},
{
- $ref: "#/parameters/rowFilter.groupMembers.isSupplierTypeGroup",
+ $ref: "#/parameters/rowFilter.group.isCustomerTypeGroup",
},
{
- $ref: "#/parameters/rowFilter.groupMembers.groupId",
+ $ref: "#/parameters/rowFilter.group.isSupplierTypeGroup",
},
{
- $ref: "#/parameters/rowFilter.groupMembers.memberGroupId",
+ $ref: "#/parameters/rowFilter.group.isSupplierOrgGroup",
},
{
- $ref: "#/parameters/rowFilter.groupMembers.memberUserId",
+ $ref: "#/parameters/rowFilter.group.createdAt",
},
{
- $ref: "#/parameters/rowFilter.groupMembers.user",
+ $ref: "#/parameters/rowFilter.group.updatedAt",
},
{
$ref: "#/parameters/select",
@@ -26361,7 +26280,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/groupMembers",
+ $ref: "#/definitions/group",
},
type: "array",
},
@@ -26370,344 +26289,308 @@ export default {
description: "Partial Content",
},
},
- tags: ["groupMembers"],
+ tags: ["group"],
},
- },
- "/salesOrder": {
- get: {
+ post: {
parameters: [
{
- $ref: "#/parameters/rowFilter.salesOrder.id",
+ $ref: "#/parameters/body.group",
},
{
- $ref: "#/parameters/rowFilter.salesOrder.salesOrderId",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.salesOrder.revisionId",
+ $ref: "#/parameters/preferPost",
},
- {
- $ref: "#/parameters/rowFilter.salesOrder.status",
+ ],
+ responses: {
+ "201": {
+ description: "Created",
},
+ },
+ tags: ["group"],
+ },
+ delete: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.salesOrder.orderDate",
+ $ref: "#/parameters/rowFilter.group.id",
},
{
- $ref: "#/parameters/rowFilter.salesOrder.notes",
+ $ref: "#/parameters/rowFilter.group.name",
},
{
- $ref: "#/parameters/rowFilter.salesOrder.currencyCode",
+ $ref: "#/parameters/rowFilter.group.companyId",
},
{
- $ref: "#/parameters/rowFilter.salesOrder.customerId",
+ $ref: "#/parameters/rowFilter.group.isIdentityGroup",
},
{
- $ref: "#/parameters/rowFilter.salesOrder.customerLocationId",
+ $ref: "#/parameters/rowFilter.group.isEmployeeTypeGroup",
},
{
- $ref: "#/parameters/rowFilter.salesOrder.customerContactId",
+ $ref: "#/parameters/rowFilter.group.isCustomerOrgGroup",
},
{
- $ref: "#/parameters/rowFilter.salesOrder.customerReference",
+ $ref: "#/parameters/rowFilter.group.isCustomerTypeGroup",
},
{
- $ref: "#/parameters/rowFilter.salesOrder.assignee",
- },
- {
- $ref: "#/parameters/rowFilter.salesOrder.companyId",
- },
- {
- $ref: "#/parameters/rowFilter.salesOrder.closedAt",
- },
- {
- $ref: "#/parameters/rowFilter.salesOrder.closedBy",
+ $ref: "#/parameters/rowFilter.group.isSupplierTypeGroup",
},
{
- $ref: "#/parameters/rowFilter.salesOrder.customFields",
+ $ref: "#/parameters/rowFilter.group.isSupplierOrgGroup",
},
{
- $ref: "#/parameters/rowFilter.salesOrder.createdAt",
+ $ref: "#/parameters/rowFilter.group.createdAt",
},
{
- $ref: "#/parameters/rowFilter.salesOrder.createdBy",
+ $ref: "#/parameters/rowFilter.group.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.salesOrder.updatedAt",
+ $ref: "#/parameters/preferReturn",
},
- {
- $ref: "#/parameters/rowFilter.salesOrder.updatedBy",
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
},
+ },
+ tags: ["group"],
+ },
+ patch: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.salesOrder.locationId",
+ $ref: "#/parameters/rowFilter.group.id",
},
{
- $ref: "#/parameters/rowFilter.salesOrder.exchangeRate",
+ $ref: "#/parameters/rowFilter.group.name",
},
{
- $ref: "#/parameters/rowFilter.salesOrder.exchangeRateUpdatedAt",
+ $ref: "#/parameters/rowFilter.group.companyId",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.group.isIdentityGroup",
},
{
- $ref: "#/parameters/order",
+ $ref: "#/parameters/rowFilter.group.isEmployeeTypeGroup",
},
{
- $ref: "#/parameters/range",
+ $ref: "#/parameters/rowFilter.group.isCustomerOrgGroup",
},
{
- $ref: "#/parameters/rangeUnit",
+ $ref: "#/parameters/rowFilter.group.isCustomerTypeGroup",
},
{
- $ref: "#/parameters/offset",
+ $ref: "#/parameters/rowFilter.group.isSupplierTypeGroup",
},
{
- $ref: "#/parameters/limit",
+ $ref: "#/parameters/rowFilter.group.isSupplierOrgGroup",
},
{
- $ref: "#/parameters/preferCount",
- },
- ],
- responses: {
- "200": {
- description: "OK",
- schema: {
- items: {
- $ref: "#/definitions/salesOrder",
- },
- type: "array",
- },
- },
- "206": {
- description: "Partial Content",
+ $ref: "#/parameters/rowFilter.group.createdAt",
},
- },
- tags: ["salesOrder"],
- },
- post: {
- parameters: [
{
- $ref: "#/parameters/body.salesOrder",
+ $ref: "#/parameters/rowFilter.group.updatedAt",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/body.group",
},
{
- $ref: "#/parameters/preferPost",
+ $ref: "#/parameters/preferReturn",
},
],
responses: {
- "201": {
- description: "Created",
+ "204": {
+ description: "No Content",
},
},
- tags: ["salesOrder"],
+ tags: ["group"],
},
- delete: {
+ },
+ "/parts": {
+ get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.salesOrder.id",
- },
- {
- $ref: "#/parameters/rowFilter.salesOrder.salesOrderId",
- },
- {
- $ref: "#/parameters/rowFilter.salesOrder.revisionId",
- },
- {
- $ref: "#/parameters/rowFilter.salesOrder.status",
- },
- {
- $ref: "#/parameters/rowFilter.salesOrder.orderDate",
- },
- {
- $ref: "#/parameters/rowFilter.salesOrder.notes",
+ $ref: "#/parameters/rowFilter.parts.active",
},
{
- $ref: "#/parameters/rowFilter.salesOrder.currencyCode",
+ $ref: "#/parameters/rowFilter.parts.assignee",
},
{
- $ref: "#/parameters/rowFilter.salesOrder.customerId",
+ $ref: "#/parameters/rowFilter.parts.defaultMethodType",
},
{
- $ref: "#/parameters/rowFilter.salesOrder.customerLocationId",
+ $ref: "#/parameters/rowFilter.parts.description",
},
{
- $ref: "#/parameters/rowFilter.salesOrder.customerContactId",
+ $ref: "#/parameters/rowFilter.parts.itemTrackingType",
},
{
- $ref: "#/parameters/rowFilter.salesOrder.customerReference",
+ $ref: "#/parameters/rowFilter.parts.name",
},
{
- $ref: "#/parameters/rowFilter.salesOrder.assignee",
+ $ref: "#/parameters/rowFilter.parts.replenishmentSystem",
},
{
- $ref: "#/parameters/rowFilter.salesOrder.companyId",
+ $ref: "#/parameters/rowFilter.parts.unitOfMeasureCode",
},
{
- $ref: "#/parameters/rowFilter.salesOrder.closedAt",
+ $ref: "#/parameters/rowFilter.parts.thumbnailPath",
},
{
- $ref: "#/parameters/rowFilter.salesOrder.closedBy",
+ $ref: "#/parameters/rowFilter.parts.modelId",
},
{
- $ref: "#/parameters/rowFilter.salesOrder.customFields",
+ $ref: "#/parameters/rowFilter.parts.autodeskUrn",
},
{
- $ref: "#/parameters/rowFilter.salesOrder.createdAt",
+ $ref: "#/parameters/rowFilter.parts.modelPath",
},
{
- $ref: "#/parameters/rowFilter.salesOrder.createdBy",
+ $ref: "#/parameters/rowFilter.parts.modelName",
},
{
- $ref: "#/parameters/rowFilter.salesOrder.updatedAt",
+ $ref: "#/parameters/rowFilter.parts.modelSize",
},
{
- $ref: "#/parameters/rowFilter.salesOrder.updatedBy",
+ $ref: "#/parameters/rowFilter.parts.id",
},
{
- $ref: "#/parameters/rowFilter.salesOrder.locationId",
+ $ref: "#/parameters/rowFilter.parts.itemId",
},
{
- $ref: "#/parameters/rowFilter.salesOrder.exchangeRate",
+ $ref: "#/parameters/rowFilter.parts.approved",
},
{
- $ref: "#/parameters/rowFilter.salesOrder.exchangeRateUpdatedAt",
+ $ref: "#/parameters/rowFilter.parts.approvedBy",
},
{
- $ref: "#/parameters/preferReturn",
- },
- ],
- responses: {
- "204": {
- description: "No Content",
+ $ref: "#/parameters/rowFilter.parts.fromDate",
},
- },
- tags: ["salesOrder"],
- },
- patch: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.salesOrder.id",
+ $ref: "#/parameters/rowFilter.parts.toDate",
},
{
- $ref: "#/parameters/rowFilter.salesOrder.salesOrderId",
+ $ref: "#/parameters/rowFilter.parts.companyId",
},
{
- $ref: "#/parameters/rowFilter.salesOrder.revisionId",
+ $ref: "#/parameters/rowFilter.parts.createdBy",
},
{
- $ref: "#/parameters/rowFilter.salesOrder.status",
+ $ref: "#/parameters/rowFilter.parts.createdAt",
},
{
- $ref: "#/parameters/rowFilter.salesOrder.orderDate",
+ $ref: "#/parameters/rowFilter.parts.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.salesOrder.notes",
+ $ref: "#/parameters/rowFilter.parts.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.salesOrder.currencyCode",
+ $ref: "#/parameters/rowFilter.parts.customFields",
},
{
- $ref: "#/parameters/rowFilter.salesOrder.customerId",
+ $ref: "#/parameters/rowFilter.parts.externalId",
},
{
- $ref: "#/parameters/rowFilter.salesOrder.customerLocationId",
+ $ref: "#/parameters/rowFilter.parts.supplierIds",
},
{
- $ref: "#/parameters/rowFilter.salesOrder.customerContactId",
+ $ref: "#/parameters/rowFilter.parts.unitOfMeasure",
},
{
- $ref: "#/parameters/rowFilter.salesOrder.customerReference",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.salesOrder.assignee",
+ $ref: "#/parameters/order",
},
{
- $ref: "#/parameters/rowFilter.salesOrder.companyId",
+ $ref: "#/parameters/range",
},
{
- $ref: "#/parameters/rowFilter.salesOrder.closedAt",
+ $ref: "#/parameters/rangeUnit",
},
{
- $ref: "#/parameters/rowFilter.salesOrder.closedBy",
+ $ref: "#/parameters/offset",
},
{
- $ref: "#/parameters/rowFilter.salesOrder.customFields",
+ $ref: "#/parameters/limit",
},
{
- $ref: "#/parameters/rowFilter.salesOrder.createdAt",
+ $ref: "#/parameters/preferCount",
},
- {
- $ref: "#/parameters/rowFilter.salesOrder.createdBy",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/parts",
+ },
+ type: "array",
+ },
},
- {
- $ref: "#/parameters/rowFilter.salesOrder.updatedAt",
+ "206": {
+ description: "Partial Content",
},
+ },
+ tags: ["parts"],
+ },
+ },
+ "/receiptLine": {
+ get: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.salesOrder.updatedBy",
+ $ref: "#/parameters/rowFilter.receiptLine.id",
},
{
- $ref: "#/parameters/rowFilter.salesOrder.locationId",
+ $ref: "#/parameters/rowFilter.receiptLine.receiptId",
},
{
- $ref: "#/parameters/rowFilter.salesOrder.exchangeRate",
+ $ref: "#/parameters/rowFilter.receiptLine.lineId",
},
{
- $ref: "#/parameters/rowFilter.salesOrder.exchangeRateUpdatedAt",
+ $ref: "#/parameters/rowFilter.receiptLine.itemId",
},
{
- $ref: "#/parameters/body.salesOrder",
+ $ref: "#/parameters/rowFilter.receiptLine.itemReadableId",
},
{
- $ref: "#/parameters/preferReturn",
- },
- ],
- responses: {
- "204": {
- description: "No Content",
+ $ref: "#/parameters/rowFilter.receiptLine.orderQuantity",
},
- },
- tags: ["salesOrder"],
- },
- },
- "/userAttributeValue": {
- get: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.userAttributeValue.id",
+ $ref: "#/parameters/rowFilter.receiptLine.outstandingQuantity",
},
{
- $ref: "#/parameters/rowFilter.userAttributeValue.userAttributeId",
+ $ref: "#/parameters/rowFilter.receiptLine.receivedQuantity",
},
{
- $ref: "#/parameters/rowFilter.userAttributeValue.userId",
+ $ref: "#/parameters/rowFilter.receiptLine.locationId",
},
{
- $ref: "#/parameters/rowFilter.userAttributeValue.valueBoolean",
+ $ref: "#/parameters/rowFilter.receiptLine.shelfId",
},
{
- $ref: "#/parameters/rowFilter.userAttributeValue.valueDate",
+ $ref: "#/parameters/rowFilter.receiptLine.unitOfMeasure",
},
{
- $ref: "#/parameters/rowFilter.userAttributeValue.valueNumeric",
+ $ref: "#/parameters/rowFilter.receiptLine.unitPrice",
},
{
- $ref: "#/parameters/rowFilter.userAttributeValue.valueText",
+ $ref: "#/parameters/rowFilter.receiptLine.companyId",
},
{
- $ref: "#/parameters/rowFilter.userAttributeValue.valueUser",
+ $ref: "#/parameters/rowFilter.receiptLine.createdAt",
},
{
- $ref: "#/parameters/rowFilter.userAttributeValue.createdAt",
+ $ref: "#/parameters/rowFilter.receiptLine.createdBy",
},
{
- $ref: "#/parameters/rowFilter.userAttributeValue.createdBy",
+ $ref: "#/parameters/rowFilter.receiptLine.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.userAttributeValue.updatedAt",
+ $ref: "#/parameters/rowFilter.receiptLine.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.userAttributeValue.updatedBy",
+ $ref: "#/parameters/rowFilter.receiptLine.conversionFactor",
},
{
$ref: "#/parameters/select",
@@ -26736,7 +26619,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/userAttributeValue",
+ $ref: "#/definitions/receiptLine",
},
type: "array",
},
@@ -26745,12 +26628,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["userAttributeValue"],
+ tags: ["receiptLine"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.userAttributeValue",
+ $ref: "#/parameters/body.receiptLine",
},
{
$ref: "#/parameters/select",
@@ -26764,45 +26647,63 @@ export default {
description: "Created",
},
},
- tags: ["userAttributeValue"],
+ tags: ["receiptLine"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.userAttributeValue.id",
+ $ref: "#/parameters/rowFilter.receiptLine.id",
},
{
- $ref: "#/parameters/rowFilter.userAttributeValue.userAttributeId",
+ $ref: "#/parameters/rowFilter.receiptLine.receiptId",
},
{
- $ref: "#/parameters/rowFilter.userAttributeValue.userId",
+ $ref: "#/parameters/rowFilter.receiptLine.lineId",
},
{
- $ref: "#/parameters/rowFilter.userAttributeValue.valueBoolean",
+ $ref: "#/parameters/rowFilter.receiptLine.itemId",
},
{
- $ref: "#/parameters/rowFilter.userAttributeValue.valueDate",
+ $ref: "#/parameters/rowFilter.receiptLine.itemReadableId",
},
{
- $ref: "#/parameters/rowFilter.userAttributeValue.valueNumeric",
+ $ref: "#/parameters/rowFilter.receiptLine.orderQuantity",
},
{
- $ref: "#/parameters/rowFilter.userAttributeValue.valueText",
+ $ref: "#/parameters/rowFilter.receiptLine.outstandingQuantity",
},
{
- $ref: "#/parameters/rowFilter.userAttributeValue.valueUser",
+ $ref: "#/parameters/rowFilter.receiptLine.receivedQuantity",
},
{
- $ref: "#/parameters/rowFilter.userAttributeValue.createdAt",
+ $ref: "#/parameters/rowFilter.receiptLine.locationId",
},
{
- $ref: "#/parameters/rowFilter.userAttributeValue.createdBy",
+ $ref: "#/parameters/rowFilter.receiptLine.shelfId",
},
{
- $ref: "#/parameters/rowFilter.userAttributeValue.updatedAt",
+ $ref: "#/parameters/rowFilter.receiptLine.unitOfMeasure",
},
{
- $ref: "#/parameters/rowFilter.userAttributeValue.updatedBy",
+ $ref: "#/parameters/rowFilter.receiptLine.unitPrice",
+ },
+ {
+ $ref: "#/parameters/rowFilter.receiptLine.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.receiptLine.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.receiptLine.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.receiptLine.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.receiptLine.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.receiptLine.conversionFactor",
},
{
$ref: "#/parameters/preferReturn",
@@ -26813,48 +26714,66 @@ export default {
description: "No Content",
},
},
- tags: ["userAttributeValue"],
+ tags: ["receiptLine"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.userAttributeValue.id",
+ $ref: "#/parameters/rowFilter.receiptLine.id",
},
{
- $ref: "#/parameters/rowFilter.userAttributeValue.userAttributeId",
+ $ref: "#/parameters/rowFilter.receiptLine.receiptId",
},
{
- $ref: "#/parameters/rowFilter.userAttributeValue.userId",
+ $ref: "#/parameters/rowFilter.receiptLine.lineId",
},
{
- $ref: "#/parameters/rowFilter.userAttributeValue.valueBoolean",
+ $ref: "#/parameters/rowFilter.receiptLine.itemId",
},
{
- $ref: "#/parameters/rowFilter.userAttributeValue.valueDate",
+ $ref: "#/parameters/rowFilter.receiptLine.itemReadableId",
},
{
- $ref: "#/parameters/rowFilter.userAttributeValue.valueNumeric",
+ $ref: "#/parameters/rowFilter.receiptLine.orderQuantity",
},
{
- $ref: "#/parameters/rowFilter.userAttributeValue.valueText",
+ $ref: "#/parameters/rowFilter.receiptLine.outstandingQuantity",
},
{
- $ref: "#/parameters/rowFilter.userAttributeValue.valueUser",
+ $ref: "#/parameters/rowFilter.receiptLine.receivedQuantity",
},
{
- $ref: "#/parameters/rowFilter.userAttributeValue.createdAt",
+ $ref: "#/parameters/rowFilter.receiptLine.locationId",
},
{
- $ref: "#/parameters/rowFilter.userAttributeValue.createdBy",
+ $ref: "#/parameters/rowFilter.receiptLine.shelfId",
},
{
- $ref: "#/parameters/rowFilter.userAttributeValue.updatedAt",
+ $ref: "#/parameters/rowFilter.receiptLine.unitOfMeasure",
},
{
- $ref: "#/parameters/rowFilter.userAttributeValue.updatedBy",
+ $ref: "#/parameters/rowFilter.receiptLine.unitPrice",
},
{
- $ref: "#/parameters/body.userAttributeValue",
+ $ref: "#/parameters/rowFilter.receiptLine.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.receiptLine.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.receiptLine.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.receiptLine.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.receiptLine.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.receiptLine.conversionFactor",
+ },
+ {
+ $ref: "#/parameters/body.receiptLine",
},
{
$ref: "#/parameters/preferReturn",
@@ -26865,41 +26784,59 @@ export default {
description: "No Content",
},
},
- tags: ["userAttributeValue"],
+ tags: ["receiptLine"],
},
},
- "/unitOfMeasure": {
+ "/quoteLinePrice": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.unitOfMeasure.id",
+ $ref: "#/parameters/rowFilter.quoteLinePrice.quoteId",
},
{
- $ref: "#/parameters/rowFilter.unitOfMeasure.code",
+ $ref: "#/parameters/rowFilter.quoteLinePrice.quoteLineId",
},
{
- $ref: "#/parameters/rowFilter.unitOfMeasure.name",
+ $ref: "#/parameters/rowFilter.quoteLinePrice.quantity",
},
{
- $ref: "#/parameters/rowFilter.unitOfMeasure.active",
+ $ref: "#/parameters/rowFilter.quoteLinePrice.leadTime",
},
{
- $ref: "#/parameters/rowFilter.unitOfMeasure.companyId",
+ $ref: "#/parameters/rowFilter.quoteLinePrice.discountPercent",
},
{
- $ref: "#/parameters/rowFilter.unitOfMeasure.createdBy",
+ $ref: "#/parameters/rowFilter.quoteLinePrice.createdAt",
},
{
- $ref: "#/parameters/rowFilter.unitOfMeasure.createdAt",
+ $ref: "#/parameters/rowFilter.quoteLinePrice.createdBy",
},
{
- $ref: "#/parameters/rowFilter.unitOfMeasure.updatedBy",
+ $ref: "#/parameters/rowFilter.quoteLinePrice.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.unitOfMeasure.updatedAt",
+ $ref: "#/parameters/rowFilter.quoteLinePrice.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.unitOfMeasure.customFields",
+ $ref: "#/parameters/rowFilter.quoteLinePrice.unitPrice",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLinePrice.exchangeRate",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLinePrice.convertedUnitPrice",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLinePrice.netUnitPrice",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLinePrice.convertedNetUnitPrice",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLinePrice.netExtendedPrice",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLinePrice.convertedNetExtendedPrice",
},
{
$ref: "#/parameters/select",
@@ -26928,7 +26865,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/unitOfMeasure",
+ $ref: "#/definitions/quoteLinePrice",
},
type: "array",
},
@@ -26937,12 +26874,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["unitOfMeasure"],
+ tags: ["quoteLinePrice"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.unitOfMeasure",
+ $ref: "#/parameters/body.quoteLinePrice",
},
{
$ref: "#/parameters/select",
@@ -26956,39 +26893,57 @@ export default {
description: "Created",
},
},
- tags: ["unitOfMeasure"],
+ tags: ["quoteLinePrice"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.unitOfMeasure.id",
+ $ref: "#/parameters/rowFilter.quoteLinePrice.quoteId",
},
{
- $ref: "#/parameters/rowFilter.unitOfMeasure.code",
+ $ref: "#/parameters/rowFilter.quoteLinePrice.quoteLineId",
},
{
- $ref: "#/parameters/rowFilter.unitOfMeasure.name",
+ $ref: "#/parameters/rowFilter.quoteLinePrice.quantity",
},
{
- $ref: "#/parameters/rowFilter.unitOfMeasure.active",
+ $ref: "#/parameters/rowFilter.quoteLinePrice.leadTime",
},
{
- $ref: "#/parameters/rowFilter.unitOfMeasure.companyId",
+ $ref: "#/parameters/rowFilter.quoteLinePrice.discountPercent",
},
{
- $ref: "#/parameters/rowFilter.unitOfMeasure.createdBy",
+ $ref: "#/parameters/rowFilter.quoteLinePrice.createdAt",
},
{
- $ref: "#/parameters/rowFilter.unitOfMeasure.createdAt",
+ $ref: "#/parameters/rowFilter.quoteLinePrice.createdBy",
},
{
- $ref: "#/parameters/rowFilter.unitOfMeasure.updatedBy",
+ $ref: "#/parameters/rowFilter.quoteLinePrice.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.unitOfMeasure.updatedAt",
+ $ref: "#/parameters/rowFilter.quoteLinePrice.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.unitOfMeasure.customFields",
+ $ref: "#/parameters/rowFilter.quoteLinePrice.unitPrice",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLinePrice.exchangeRate",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLinePrice.convertedUnitPrice",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLinePrice.netUnitPrice",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLinePrice.convertedNetUnitPrice",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLinePrice.netExtendedPrice",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLinePrice.convertedNetExtendedPrice",
},
{
$ref: "#/parameters/preferReturn",
@@ -26999,42 +26954,60 @@ export default {
description: "No Content",
},
},
- tags: ["unitOfMeasure"],
+ tags: ["quoteLinePrice"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.unitOfMeasure.id",
+ $ref: "#/parameters/rowFilter.quoteLinePrice.quoteId",
},
{
- $ref: "#/parameters/rowFilter.unitOfMeasure.code",
+ $ref: "#/parameters/rowFilter.quoteLinePrice.quoteLineId",
},
{
- $ref: "#/parameters/rowFilter.unitOfMeasure.name",
+ $ref: "#/parameters/rowFilter.quoteLinePrice.quantity",
},
{
- $ref: "#/parameters/rowFilter.unitOfMeasure.active",
+ $ref: "#/parameters/rowFilter.quoteLinePrice.leadTime",
},
{
- $ref: "#/parameters/rowFilter.unitOfMeasure.companyId",
+ $ref: "#/parameters/rowFilter.quoteLinePrice.discountPercent",
},
{
- $ref: "#/parameters/rowFilter.unitOfMeasure.createdBy",
+ $ref: "#/parameters/rowFilter.quoteLinePrice.createdAt",
},
{
- $ref: "#/parameters/rowFilter.unitOfMeasure.createdAt",
+ $ref: "#/parameters/rowFilter.quoteLinePrice.createdBy",
},
{
- $ref: "#/parameters/rowFilter.unitOfMeasure.updatedBy",
+ $ref: "#/parameters/rowFilter.quoteLinePrice.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.unitOfMeasure.updatedAt",
+ $ref: "#/parameters/rowFilter.quoteLinePrice.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.unitOfMeasure.customFields",
+ $ref: "#/parameters/rowFilter.quoteLinePrice.unitPrice",
},
{
- $ref: "#/parameters/body.unitOfMeasure",
+ $ref: "#/parameters/rowFilter.quoteLinePrice.exchangeRate",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLinePrice.convertedUnitPrice",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLinePrice.netUnitPrice",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLinePrice.convertedNetUnitPrice",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLinePrice.netExtendedPrice",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLinePrice.convertedNetExtendedPrice",
+ },
+ {
+ $ref: "#/parameters/body.quoteLinePrice",
},
{
$ref: "#/parameters/preferReturn",
@@ -27045,17 +27018,35 @@ export default {
description: "No Content",
},
},
- tags: ["unitOfMeasure"],
+ tags: ["quoteLinePrice"],
},
},
- "/documentFavorite": {
+ "/makeMethod": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.documentFavorite.documentId",
+ $ref: "#/parameters/rowFilter.makeMethod.id",
},
{
- $ref: "#/parameters/rowFilter.documentFavorite.userId",
+ $ref: "#/parameters/rowFilter.makeMethod.itemId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.makeMethod.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.makeMethod.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.makeMethod.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.makeMethod.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.makeMethod.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.makeMethod.customFields",
},
{
$ref: "#/parameters/select",
@@ -27084,7 +27075,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/documentFavorite",
+ $ref: "#/definitions/makeMethod",
},
type: "array",
},
@@ -27093,12 +27084,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["documentFavorite"],
+ tags: ["makeMethod"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.documentFavorite",
+ $ref: "#/parameters/body.makeMethod",
},
{
$ref: "#/parameters/select",
@@ -27112,15 +27103,33 @@ export default {
description: "Created",
},
},
- tags: ["documentFavorite"],
+ tags: ["makeMethod"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.documentFavorite.documentId",
+ $ref: "#/parameters/rowFilter.makeMethod.id",
},
{
- $ref: "#/parameters/rowFilter.documentFavorite.userId",
+ $ref: "#/parameters/rowFilter.makeMethod.itemId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.makeMethod.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.makeMethod.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.makeMethod.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.makeMethod.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.makeMethod.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.makeMethod.customFields",
},
{
$ref: "#/parameters/preferReturn",
@@ -27131,18 +27140,36 @@ export default {
description: "No Content",
},
},
- tags: ["documentFavorite"],
+ tags: ["makeMethod"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.documentFavorite.documentId",
+ $ref: "#/parameters/rowFilter.makeMethod.id",
},
{
- $ref: "#/parameters/rowFilter.documentFavorite.userId",
+ $ref: "#/parameters/rowFilter.makeMethod.itemId",
},
{
- $ref: "#/parameters/body.documentFavorite",
+ $ref: "#/parameters/rowFilter.makeMethod.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.makeMethod.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.makeMethod.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.makeMethod.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.makeMethod.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.makeMethod.customFields",
+ },
+ {
+ $ref: "#/parameters/body.makeMethod",
},
{
$ref: "#/parameters/preferReturn",
@@ -27153,41 +27180,41 @@ export default {
description: "No Content",
},
},
- tags: ["documentFavorite"],
+ tags: ["makeMethod"],
},
},
- "/partner": {
+ "/groups": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.partner.id",
+ $ref: "#/parameters/rowFilter.groups.id",
},
{
- $ref: "#/parameters/rowFilter.partner.hoursPerWeek",
+ $ref: "#/parameters/rowFilter.groups.isEmployeeTypeGroup",
},
{
- $ref: "#/parameters/rowFilter.partner.abilityId",
+ $ref: "#/parameters/rowFilter.groups.isCustomerOrgGroup",
},
{
- $ref: "#/parameters/rowFilter.partner.active",
+ $ref: "#/parameters/rowFilter.groups.isCustomerTypeGroup",
},
{
- $ref: "#/parameters/rowFilter.partner.companyId",
+ $ref: "#/parameters/rowFilter.groups.isSupplierOrgGroup",
},
{
- $ref: "#/parameters/rowFilter.partner.createdBy",
+ $ref: "#/parameters/rowFilter.groups.isSupplierTypeGroup",
},
{
- $ref: "#/parameters/rowFilter.partner.createdAt",
+ $ref: "#/parameters/rowFilter.groups.name",
},
{
- $ref: "#/parameters/rowFilter.partner.updatedBy",
+ $ref: "#/parameters/rowFilter.groups.companyId",
},
{
- $ref: "#/parameters/rowFilter.partner.updatedAt",
+ $ref: "#/parameters/rowFilter.groups.parentId",
},
{
- $ref: "#/parameters/rowFilter.partner.customFields",
+ $ref: "#/parameters/rowFilter.groups.users",
},
{
$ref: "#/parameters/select",
@@ -27216,7 +27243,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/partner",
+ $ref: "#/definitions/groups",
},
type: "array",
},
@@ -27225,149 +27252,59 @@ export default {
description: "Partial Content",
},
},
- tags: ["partner"],
- },
- post: {
- parameters: [
- {
- $ref: "#/parameters/body.partner",
- },
- {
- $ref: "#/parameters/select",
- },
- {
- $ref: "#/parameters/preferPost",
- },
- ],
- responses: {
- "201": {
- description: "Created",
- },
- },
- tags: ["partner"],
- },
- delete: {
- parameters: [
- {
- $ref: "#/parameters/rowFilter.partner.id",
- },
- {
- $ref: "#/parameters/rowFilter.partner.hoursPerWeek",
- },
- {
- $ref: "#/parameters/rowFilter.partner.abilityId",
- },
- {
- $ref: "#/parameters/rowFilter.partner.active",
- },
- {
- $ref: "#/parameters/rowFilter.partner.companyId",
- },
- {
- $ref: "#/parameters/rowFilter.partner.createdBy",
- },
- {
- $ref: "#/parameters/rowFilter.partner.createdAt",
- },
- {
- $ref: "#/parameters/rowFilter.partner.updatedBy",
- },
- {
- $ref: "#/parameters/rowFilter.partner.updatedAt",
- },
- {
- $ref: "#/parameters/rowFilter.partner.customFields",
- },
- {
- $ref: "#/parameters/preferReturn",
- },
- ],
- responses: {
- "204": {
- description: "No Content",
- },
- },
- tags: ["partner"],
+ tags: ["groups"],
},
- patch: {
+ },
+ "/purchaseOrderDelivery": {
+ get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.partner.id",
- },
- {
- $ref: "#/parameters/rowFilter.partner.hoursPerWeek",
- },
- {
- $ref: "#/parameters/rowFilter.partner.abilityId",
- },
- {
- $ref: "#/parameters/rowFilter.partner.active",
- },
- {
- $ref: "#/parameters/rowFilter.partner.companyId",
- },
- {
- $ref: "#/parameters/rowFilter.partner.createdBy",
- },
- {
- $ref: "#/parameters/rowFilter.partner.createdAt",
+ $ref: "#/parameters/rowFilter.purchaseOrderDelivery.id",
},
{
- $ref: "#/parameters/rowFilter.partner.updatedBy",
+ $ref: "#/parameters/rowFilter.purchaseOrderDelivery.locationId",
},
{
- $ref: "#/parameters/rowFilter.partner.updatedAt",
+ $ref: "#/parameters/rowFilter.purchaseOrderDelivery.shippingMethodId",
},
{
- $ref: "#/parameters/rowFilter.partner.customFields",
+ $ref: "#/parameters/rowFilter.purchaseOrderDelivery.shippingTermId",
},
{
- $ref: "#/parameters/body.partner",
+ $ref: "#/parameters/rowFilter.purchaseOrderDelivery.receiptRequestedDate",
},
{
- $ref: "#/parameters/preferReturn",
- },
- ],
- responses: {
- "204": {
- description: "No Content",
+ $ref: "#/parameters/rowFilter.purchaseOrderDelivery.receiptPromisedDate",
},
- },
- tags: ["partner"],
- },
- },
- "/address": {
- get: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.address.id",
+ $ref: "#/parameters/rowFilter.purchaseOrderDelivery.deliveryDate",
},
{
- $ref: "#/parameters/rowFilter.address.addressLine1",
+ $ref: "#/parameters/rowFilter.purchaseOrderDelivery.notes",
},
{
- $ref: "#/parameters/rowFilter.address.addressLine2",
+ $ref: "#/parameters/rowFilter.purchaseOrderDelivery.trackingNumber",
},
{
- $ref: "#/parameters/rowFilter.address.city",
+ $ref: "#/parameters/rowFilter.purchaseOrderDelivery.dropShipment",
},
{
- $ref: "#/parameters/rowFilter.address.stateProvince",
+ $ref: "#/parameters/rowFilter.purchaseOrderDelivery.customerId",
},
{
- $ref: "#/parameters/rowFilter.address.postalCode",
+ $ref: "#/parameters/rowFilter.purchaseOrderDelivery.customerLocationId",
},
{
- $ref: "#/parameters/rowFilter.address.countryCode",
+ $ref: "#/parameters/rowFilter.purchaseOrderDelivery.companyId",
},
{
- $ref: "#/parameters/rowFilter.address.phone",
+ $ref: "#/parameters/rowFilter.purchaseOrderDelivery.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.address.fax",
+ $ref: "#/parameters/rowFilter.purchaseOrderDelivery.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.address.companyId",
+ $ref: "#/parameters/rowFilter.purchaseOrderDelivery.customFields",
},
{
$ref: "#/parameters/select",
@@ -27396,7 +27333,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/address",
+ $ref: "#/definitions/purchaseOrderDelivery",
},
type: "array",
},
@@ -27405,12 +27342,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["address"],
+ tags: ["purchaseOrderDelivery"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.address",
+ $ref: "#/parameters/body.purchaseOrderDelivery",
},
{
$ref: "#/parameters/select",
@@ -27424,39 +27361,57 @@ export default {
description: "Created",
},
},
- tags: ["address"],
+ tags: ["purchaseOrderDelivery"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.address.id",
+ $ref: "#/parameters/rowFilter.purchaseOrderDelivery.id",
},
{
- $ref: "#/parameters/rowFilter.address.addressLine1",
+ $ref: "#/parameters/rowFilter.purchaseOrderDelivery.locationId",
},
{
- $ref: "#/parameters/rowFilter.address.addressLine2",
+ $ref: "#/parameters/rowFilter.purchaseOrderDelivery.shippingMethodId",
},
{
- $ref: "#/parameters/rowFilter.address.city",
+ $ref: "#/parameters/rowFilter.purchaseOrderDelivery.shippingTermId",
},
{
- $ref: "#/parameters/rowFilter.address.stateProvince",
+ $ref: "#/parameters/rowFilter.purchaseOrderDelivery.receiptRequestedDate",
},
{
- $ref: "#/parameters/rowFilter.address.postalCode",
+ $ref: "#/parameters/rowFilter.purchaseOrderDelivery.receiptPromisedDate",
},
{
- $ref: "#/parameters/rowFilter.address.countryCode",
+ $ref: "#/parameters/rowFilter.purchaseOrderDelivery.deliveryDate",
},
{
- $ref: "#/parameters/rowFilter.address.phone",
+ $ref: "#/parameters/rowFilter.purchaseOrderDelivery.notes",
},
{
- $ref: "#/parameters/rowFilter.address.fax",
+ $ref: "#/parameters/rowFilter.purchaseOrderDelivery.trackingNumber",
},
{
- $ref: "#/parameters/rowFilter.address.companyId",
+ $ref: "#/parameters/rowFilter.purchaseOrderDelivery.dropShipment",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrderDelivery.customerId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrderDelivery.customerLocationId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrderDelivery.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrderDelivery.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrderDelivery.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrderDelivery.customFields",
},
{
$ref: "#/parameters/preferReturn",
@@ -27467,42 +27422,60 @@ export default {
description: "No Content",
},
},
- tags: ["address"],
+ tags: ["purchaseOrderDelivery"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.address.id",
+ $ref: "#/parameters/rowFilter.purchaseOrderDelivery.id",
},
{
- $ref: "#/parameters/rowFilter.address.addressLine1",
+ $ref: "#/parameters/rowFilter.purchaseOrderDelivery.locationId",
},
{
- $ref: "#/parameters/rowFilter.address.addressLine2",
+ $ref: "#/parameters/rowFilter.purchaseOrderDelivery.shippingMethodId",
},
{
- $ref: "#/parameters/rowFilter.address.city",
+ $ref: "#/parameters/rowFilter.purchaseOrderDelivery.shippingTermId",
},
{
- $ref: "#/parameters/rowFilter.address.stateProvince",
+ $ref: "#/parameters/rowFilter.purchaseOrderDelivery.receiptRequestedDate",
},
{
- $ref: "#/parameters/rowFilter.address.postalCode",
+ $ref: "#/parameters/rowFilter.purchaseOrderDelivery.receiptPromisedDate",
},
{
- $ref: "#/parameters/rowFilter.address.countryCode",
+ $ref: "#/parameters/rowFilter.purchaseOrderDelivery.deliveryDate",
},
{
- $ref: "#/parameters/rowFilter.address.phone",
+ $ref: "#/parameters/rowFilter.purchaseOrderDelivery.notes",
},
{
- $ref: "#/parameters/rowFilter.address.fax",
+ $ref: "#/parameters/rowFilter.purchaseOrderDelivery.trackingNumber",
},
{
- $ref: "#/parameters/rowFilter.address.companyId",
+ $ref: "#/parameters/rowFilter.purchaseOrderDelivery.dropShipment",
},
{
- $ref: "#/parameters/body.address",
+ $ref: "#/parameters/rowFilter.purchaseOrderDelivery.customerId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrderDelivery.customerLocationId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrderDelivery.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrderDelivery.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrderDelivery.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrderDelivery.customFields",
+ },
+ {
+ $ref: "#/parameters/body.purchaseOrderDelivery",
},
{
$ref: "#/parameters/preferReturn",
@@ -27513,50 +27486,53 @@ export default {
description: "No Content",
},
},
- tags: ["address"],
+ tags: ["purchaseOrderDelivery"],
},
},
- "/part": {
+ "/warehouse": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.part.id",
+ $ref: "#/parameters/rowFilter.warehouse.id",
},
{
- $ref: "#/parameters/rowFilter.part.itemId",
+ $ref: "#/parameters/rowFilter.warehouse.name",
},
{
- $ref: "#/parameters/rowFilter.part.approved",
+ $ref: "#/parameters/rowFilter.warehouse.locationId",
},
{
- $ref: "#/parameters/rowFilter.part.approvedBy",
+ $ref: "#/parameters/rowFilter.warehouse.requiresPick",
},
{
- $ref: "#/parameters/rowFilter.part.fromDate",
+ $ref: "#/parameters/rowFilter.warehouse.requiresPutAway",
},
{
- $ref: "#/parameters/rowFilter.part.toDate",
+ $ref: "#/parameters/rowFilter.warehouse.requiresBin",
},
{
- $ref: "#/parameters/rowFilter.part.companyId",
+ $ref: "#/parameters/rowFilter.warehouse.requiresReceive",
},
{
- $ref: "#/parameters/rowFilter.part.createdBy",
+ $ref: "#/parameters/rowFilter.warehouse.requiresShipment",
},
{
- $ref: "#/parameters/rowFilter.part.createdAt",
+ $ref: "#/parameters/rowFilter.warehouse.active",
},
{
- $ref: "#/parameters/rowFilter.part.updatedBy",
+ $ref: "#/parameters/rowFilter.warehouse.companyId",
},
{
- $ref: "#/parameters/rowFilter.part.updatedAt",
+ $ref: "#/parameters/rowFilter.warehouse.createdBy",
},
{
- $ref: "#/parameters/rowFilter.part.customFields",
+ $ref: "#/parameters/rowFilter.warehouse.createdAt",
},
{
- $ref: "#/parameters/rowFilter.part.externalId",
+ $ref: "#/parameters/rowFilter.warehouse.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.warehouse.updatedAt",
},
{
$ref: "#/parameters/select",
@@ -27585,7 +27561,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/part",
+ $ref: "#/definitions/warehouse",
},
type: "array",
},
@@ -27594,12 +27570,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["part"],
+ tags: ["warehouse"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.part",
+ $ref: "#/parameters/body.warehouse",
},
{
$ref: "#/parameters/select",
@@ -27613,48 +27589,51 @@ export default {
description: "Created",
},
},
- tags: ["part"],
+ tags: ["warehouse"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.part.id",
+ $ref: "#/parameters/rowFilter.warehouse.id",
},
{
- $ref: "#/parameters/rowFilter.part.itemId",
+ $ref: "#/parameters/rowFilter.warehouse.name",
},
{
- $ref: "#/parameters/rowFilter.part.approved",
+ $ref: "#/parameters/rowFilter.warehouse.locationId",
},
{
- $ref: "#/parameters/rowFilter.part.approvedBy",
+ $ref: "#/parameters/rowFilter.warehouse.requiresPick",
},
{
- $ref: "#/parameters/rowFilter.part.fromDate",
+ $ref: "#/parameters/rowFilter.warehouse.requiresPutAway",
},
{
- $ref: "#/parameters/rowFilter.part.toDate",
+ $ref: "#/parameters/rowFilter.warehouse.requiresBin",
},
{
- $ref: "#/parameters/rowFilter.part.companyId",
+ $ref: "#/parameters/rowFilter.warehouse.requiresReceive",
},
{
- $ref: "#/parameters/rowFilter.part.createdBy",
+ $ref: "#/parameters/rowFilter.warehouse.requiresShipment",
},
{
- $ref: "#/parameters/rowFilter.part.createdAt",
+ $ref: "#/parameters/rowFilter.warehouse.active",
},
{
- $ref: "#/parameters/rowFilter.part.updatedBy",
+ $ref: "#/parameters/rowFilter.warehouse.companyId",
},
{
- $ref: "#/parameters/rowFilter.part.updatedAt",
+ $ref: "#/parameters/rowFilter.warehouse.createdBy",
},
{
- $ref: "#/parameters/rowFilter.part.customFields",
+ $ref: "#/parameters/rowFilter.warehouse.createdAt",
},
{
- $ref: "#/parameters/rowFilter.part.externalId",
+ $ref: "#/parameters/rowFilter.warehouse.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.warehouse.updatedAt",
},
{
$ref: "#/parameters/preferReturn",
@@ -27665,51 +27644,54 @@ export default {
description: "No Content",
},
},
- tags: ["part"],
+ tags: ["warehouse"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.part.id",
+ $ref: "#/parameters/rowFilter.warehouse.id",
},
{
- $ref: "#/parameters/rowFilter.part.itemId",
+ $ref: "#/parameters/rowFilter.warehouse.name",
},
{
- $ref: "#/parameters/rowFilter.part.approved",
+ $ref: "#/parameters/rowFilter.warehouse.locationId",
},
{
- $ref: "#/parameters/rowFilter.part.approvedBy",
+ $ref: "#/parameters/rowFilter.warehouse.requiresPick",
},
{
- $ref: "#/parameters/rowFilter.part.fromDate",
+ $ref: "#/parameters/rowFilter.warehouse.requiresPutAway",
},
{
- $ref: "#/parameters/rowFilter.part.toDate",
+ $ref: "#/parameters/rowFilter.warehouse.requiresBin",
},
{
- $ref: "#/parameters/rowFilter.part.companyId",
+ $ref: "#/parameters/rowFilter.warehouse.requiresReceive",
},
{
- $ref: "#/parameters/rowFilter.part.createdBy",
+ $ref: "#/parameters/rowFilter.warehouse.requiresShipment",
},
{
- $ref: "#/parameters/rowFilter.part.createdAt",
+ $ref: "#/parameters/rowFilter.warehouse.active",
},
{
- $ref: "#/parameters/rowFilter.part.updatedBy",
+ $ref: "#/parameters/rowFilter.warehouse.companyId",
},
{
- $ref: "#/parameters/rowFilter.part.updatedAt",
+ $ref: "#/parameters/rowFilter.warehouse.createdBy",
},
{
- $ref: "#/parameters/rowFilter.part.customFields",
+ $ref: "#/parameters/rowFilter.warehouse.createdAt",
},
{
- $ref: "#/parameters/rowFilter.part.externalId",
+ $ref: "#/parameters/rowFilter.warehouse.updatedBy",
},
{
- $ref: "#/parameters/body.part",
+ $ref: "#/parameters/rowFilter.warehouse.updatedAt",
+ },
+ {
+ $ref: "#/parameters/body.warehouse",
},
{
$ref: "#/parameters/preferReturn",
@@ -27720,29 +27702,71 @@ export default {
description: "No Content",
},
},
- tags: ["part"],
+ tags: ["warehouse"],
},
},
- "/customerPartToItem": {
+ "/services": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.customerPartToItem.customerId",
+ $ref: "#/parameters/rowFilter.services.id",
},
{
- $ref: "#/parameters/rowFilter.customerPartToItem.customerPartId",
+ $ref: "#/parameters/rowFilter.services.itemId",
},
{
- $ref: "#/parameters/rowFilter.customerPartToItem.customerPartRevision",
+ $ref: "#/parameters/rowFilter.services.serviceType",
},
{
- $ref: "#/parameters/rowFilter.customerPartToItem.itemId",
+ $ref: "#/parameters/rowFilter.services.approved",
},
{
- $ref: "#/parameters/rowFilter.customerPartToItem.companyId",
+ $ref: "#/parameters/rowFilter.services.approvedBy",
},
{
- $ref: "#/parameters/rowFilter.customerPartToItem.id",
+ $ref: "#/parameters/rowFilter.services.fromDate",
+ },
+ {
+ $ref: "#/parameters/rowFilter.services.toDate",
+ },
+ {
+ $ref: "#/parameters/rowFilter.services.customFields",
+ },
+ {
+ $ref: "#/parameters/rowFilter.services.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.services.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.services.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.services.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.services.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.services.name",
+ },
+ {
+ $ref: "#/parameters/rowFilter.services.description",
+ },
+ {
+ $ref: "#/parameters/rowFilter.services.active",
+ },
+ {
+ $ref: "#/parameters/rowFilter.services.replenishmentSystem",
+ },
+ {
+ $ref: "#/parameters/rowFilter.services.defaultMethodType",
+ },
+ {
+ $ref: "#/parameters/rowFilter.services.assignee",
+ },
+ {
+ $ref: "#/parameters/rowFilter.services.supplierIds",
},
{
$ref: "#/parameters/select",
@@ -27771,7 +27795,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/customerPartToItem",
+ $ref: "#/definitions/services",
},
type: "array",
},
@@ -27780,242 +27804,242 @@ export default {
description: "Partial Content",
},
},
- tags: ["customerPartToItem"],
+ tags: ["services"],
},
- post: {
+ },
+ "/itemLedger": {
+ get: {
parameters: [
{
- $ref: "#/parameters/body.customerPartToItem",
+ $ref: "#/parameters/rowFilter.itemLedger.id",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.itemLedger.entryNumber",
},
{
- $ref: "#/parameters/preferPost",
- },
- ],
- responses: {
- "201": {
- description: "Created",
+ $ref: "#/parameters/rowFilter.itemLedger.postingDate",
},
- },
- tags: ["customerPartToItem"],
- },
- delete: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.customerPartToItem.customerId",
+ $ref: "#/parameters/rowFilter.itemLedger.entryType",
},
{
- $ref: "#/parameters/rowFilter.customerPartToItem.customerPartId",
+ $ref: "#/parameters/rowFilter.itemLedger.documentType",
},
{
- $ref: "#/parameters/rowFilter.customerPartToItem.customerPartRevision",
+ $ref: "#/parameters/rowFilter.itemLedger.documentId",
},
{
- $ref: "#/parameters/rowFilter.customerPartToItem.itemId",
+ $ref: "#/parameters/rowFilter.itemLedger.externalDocumentId",
},
{
- $ref: "#/parameters/rowFilter.customerPartToItem.companyId",
+ $ref: "#/parameters/rowFilter.itemLedger.itemId",
},
{
- $ref: "#/parameters/rowFilter.customerPartToItem.id",
+ $ref: "#/parameters/rowFilter.itemLedger.itemReadableId",
},
{
- $ref: "#/parameters/preferReturn",
- },
- ],
- responses: {
- "204": {
- description: "No Content",
+ $ref: "#/parameters/rowFilter.itemLedger.locationId",
},
- },
- tags: ["customerPartToItem"],
- },
- patch: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.customerPartToItem.customerId",
+ $ref: "#/parameters/rowFilter.itemLedger.shelfId",
},
{
- $ref: "#/parameters/rowFilter.customerPartToItem.customerPartId",
+ $ref: "#/parameters/rowFilter.itemLedger.quantity",
},
{
- $ref: "#/parameters/rowFilter.customerPartToItem.customerPartRevision",
+ $ref: "#/parameters/rowFilter.itemLedger.companyId",
},
{
- $ref: "#/parameters/rowFilter.customerPartToItem.itemId",
+ $ref: "#/parameters/rowFilter.itemLedger.createdAt",
},
{
- $ref: "#/parameters/rowFilter.customerPartToItem.companyId",
+ $ref: "#/parameters/rowFilter.itemLedger.createdBy",
},
{
- $ref: "#/parameters/rowFilter.customerPartToItem.id",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/body.customerPartToItem",
+ $ref: "#/parameters/order",
},
{
- $ref: "#/parameters/preferReturn",
+ $ref: "#/parameters/range",
+ },
+ {
+ $ref: "#/parameters/rangeUnit",
+ },
+ {
+ $ref: "#/parameters/offset",
+ },
+ {
+ $ref: "#/parameters/limit",
+ },
+ {
+ $ref: "#/parameters/preferCount",
},
],
responses: {
- "204": {
- description: "No Content",
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/itemLedger",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
},
},
- tags: ["customerPartToItem"],
+ tags: ["itemLedger"],
},
- },
- "/materials": {
- get: {
+ post: {
parameters: [
{
- $ref: "#/parameters/rowFilter.materials.active",
+ $ref: "#/parameters/body.itemLedger",
},
{
- $ref: "#/parameters/rowFilter.materials.assignee",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.materials.defaultMethodType",
+ $ref: "#/parameters/preferPost",
+ },
+ ],
+ responses: {
+ "201": {
+ description: "Created",
},
+ },
+ tags: ["itemLedger"],
+ },
+ delete: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.materials.description",
+ $ref: "#/parameters/rowFilter.itemLedger.id",
},
{
- $ref: "#/parameters/rowFilter.materials.itemTrackingType",
+ $ref: "#/parameters/rowFilter.itemLedger.entryNumber",
},
{
- $ref: "#/parameters/rowFilter.materials.name",
+ $ref: "#/parameters/rowFilter.itemLedger.postingDate",
},
{
- $ref: "#/parameters/rowFilter.materials.replenishmentSystem",
+ $ref: "#/parameters/rowFilter.itemLedger.entryType",
},
{
- $ref: "#/parameters/rowFilter.materials.thumbnailPath",
+ $ref: "#/parameters/rowFilter.itemLedger.documentType",
},
{
- $ref: "#/parameters/rowFilter.materials.unitOfMeasureCode",
+ $ref: "#/parameters/rowFilter.itemLedger.documentId",
},
{
- $ref: "#/parameters/rowFilter.materials.id",
+ $ref: "#/parameters/rowFilter.itemLedger.externalDocumentId",
},
{
- $ref: "#/parameters/rowFilter.materials.itemId",
+ $ref: "#/parameters/rowFilter.itemLedger.itemId",
},
{
- $ref: "#/parameters/rowFilter.materials.materialFormId",
+ $ref: "#/parameters/rowFilter.itemLedger.itemReadableId",
},
{
- $ref: "#/parameters/rowFilter.materials.materialSubstanceId",
+ $ref: "#/parameters/rowFilter.itemLedger.locationId",
},
{
- $ref: "#/parameters/rowFilter.materials.grade",
+ $ref: "#/parameters/rowFilter.itemLedger.shelfId",
},
{
- $ref: "#/parameters/rowFilter.materials.dimensions",
+ $ref: "#/parameters/rowFilter.itemLedger.quantity",
},
{
- $ref: "#/parameters/rowFilter.materials.finish",
+ $ref: "#/parameters/rowFilter.itemLedger.companyId",
},
{
- $ref: "#/parameters/rowFilter.materials.approved",
+ $ref: "#/parameters/rowFilter.itemLedger.createdAt",
},
{
- $ref: "#/parameters/rowFilter.materials.approvedBy",
+ $ref: "#/parameters/rowFilter.itemLedger.createdBy",
},
{
- $ref: "#/parameters/rowFilter.materials.customFields",
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
},
+ },
+ tags: ["itemLedger"],
+ },
+ patch: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.materials.companyId",
+ $ref: "#/parameters/rowFilter.itemLedger.id",
},
{
- $ref: "#/parameters/rowFilter.materials.createdBy",
+ $ref: "#/parameters/rowFilter.itemLedger.entryNumber",
},
{
- $ref: "#/parameters/rowFilter.materials.createdAt",
+ $ref: "#/parameters/rowFilter.itemLedger.postingDate",
},
{
- $ref: "#/parameters/rowFilter.materials.updatedBy",
+ $ref: "#/parameters/rowFilter.itemLedger.entryType",
},
{
- $ref: "#/parameters/rowFilter.materials.updatedAt",
+ $ref: "#/parameters/rowFilter.itemLedger.documentType",
},
{
- $ref: "#/parameters/rowFilter.materials.externalId",
+ $ref: "#/parameters/rowFilter.itemLedger.documentId",
},
{
- $ref: "#/parameters/rowFilter.materials.materialForm",
+ $ref: "#/parameters/rowFilter.itemLedger.externalDocumentId",
},
{
- $ref: "#/parameters/rowFilter.materials.materialSubstance",
+ $ref: "#/parameters/rowFilter.itemLedger.itemId",
},
{
- $ref: "#/parameters/rowFilter.materials.supplierIds",
+ $ref: "#/parameters/rowFilter.itemLedger.itemReadableId",
},
{
- $ref: "#/parameters/rowFilter.materials.unitOfMeasure",
+ $ref: "#/parameters/rowFilter.itemLedger.locationId",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.itemLedger.shelfId",
},
{
- $ref: "#/parameters/order",
+ $ref: "#/parameters/rowFilter.itemLedger.quantity",
},
{
- $ref: "#/parameters/range",
+ $ref: "#/parameters/rowFilter.itemLedger.companyId",
},
{
- $ref: "#/parameters/rangeUnit",
+ $ref: "#/parameters/rowFilter.itemLedger.createdAt",
},
{
- $ref: "#/parameters/offset",
+ $ref: "#/parameters/rowFilter.itemLedger.createdBy",
},
{
- $ref: "#/parameters/limit",
+ $ref: "#/parameters/body.itemLedger",
},
{
- $ref: "#/parameters/preferCount",
+ $ref: "#/parameters/preferReturn",
},
],
responses: {
- "200": {
- description: "OK",
- schema: {
- items: {
- $ref: "#/definitions/materials",
- },
- type: "array",
- },
- },
- "206": {
- description: "Partial Content",
+ "204": {
+ description: "No Content",
},
},
- tags: ["materials"],
+ tags: ["itemLedger"],
},
},
- "/employeeType": {
+ "/salesRfqFavorite": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.employeeType.id",
- },
- {
- $ref: "#/parameters/rowFilter.employeeType.name",
- },
- {
- $ref: "#/parameters/rowFilter.employeeType.companyId",
- },
- {
- $ref: "#/parameters/rowFilter.employeeType.protected",
- },
- {
- $ref: "#/parameters/rowFilter.employeeType.createdAt",
+ $ref: "#/parameters/rowFilter.salesRfqFavorite.rfqId",
},
{
- $ref: "#/parameters/rowFilter.employeeType.updatedAt",
+ $ref: "#/parameters/rowFilter.salesRfqFavorite.userId",
},
{
$ref: "#/parameters/select",
@@ -28044,7 +28068,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/employeeType",
+ $ref: "#/definitions/salesRfqFavorite",
},
type: "array",
},
@@ -28053,12 +28077,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["employeeType"],
+ tags: ["salesRfqFavorite"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.employeeType",
+ $ref: "#/parameters/body.salesRfqFavorite",
},
{
$ref: "#/parameters/select",
@@ -28072,27 +28096,15 @@ export default {
description: "Created",
},
},
- tags: ["employeeType"],
+ tags: ["salesRfqFavorite"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.employeeType.id",
- },
- {
- $ref: "#/parameters/rowFilter.employeeType.name",
- },
- {
- $ref: "#/parameters/rowFilter.employeeType.companyId",
- },
- {
- $ref: "#/parameters/rowFilter.employeeType.protected",
- },
- {
- $ref: "#/parameters/rowFilter.employeeType.createdAt",
+ $ref: "#/parameters/rowFilter.salesRfqFavorite.rfqId",
},
{
- $ref: "#/parameters/rowFilter.employeeType.updatedAt",
+ $ref: "#/parameters/rowFilter.salesRfqFavorite.userId",
},
{
$ref: "#/parameters/preferReturn",
@@ -28103,30 +28115,18 @@ export default {
description: "No Content",
},
},
- tags: ["employeeType"],
+ tags: ["salesRfqFavorite"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.employeeType.id",
- },
- {
- $ref: "#/parameters/rowFilter.employeeType.name",
- },
- {
- $ref: "#/parameters/rowFilter.employeeType.companyId",
- },
- {
- $ref: "#/parameters/rowFilter.employeeType.protected",
- },
- {
- $ref: "#/parameters/rowFilter.employeeType.createdAt",
+ $ref: "#/parameters/rowFilter.salesRfqFavorite.rfqId",
},
{
- $ref: "#/parameters/rowFilter.employeeType.updatedAt",
+ $ref: "#/parameters/rowFilter.salesRfqFavorite.userId",
},
{
- $ref: "#/parameters/body.employeeType",
+ $ref: "#/parameters/body.salesRfqFavorite",
},
{
$ref: "#/parameters/preferReturn",
@@ -28137,59 +28137,29 @@ export default {
description: "No Content",
},
},
- tags: ["employeeType"],
+ tags: ["salesRfqFavorite"],
},
},
- "/itemReplenishment": {
+ "/supplierContact": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.itemReplenishment.itemId",
- },
- {
- $ref: "#/parameters/rowFilter.itemReplenishment.preferredSupplierId",
- },
- {
- $ref: "#/parameters/rowFilter.itemReplenishment.purchasingLeadTime",
- },
- {
- $ref: "#/parameters/rowFilter.itemReplenishment.purchasingUnitOfMeasureCode",
- },
- {
- $ref: "#/parameters/rowFilter.itemReplenishment.conversionFactor",
- },
- {
- $ref: "#/parameters/rowFilter.itemReplenishment.purchasingBlocked",
- },
- {
- $ref: "#/parameters/rowFilter.itemReplenishment.manufacturingBlocked",
- },
- {
- $ref: "#/parameters/rowFilter.itemReplenishment.requiresConfiguration",
- },
- {
- $ref: "#/parameters/rowFilter.itemReplenishment.lotSize",
- },
- {
- $ref: "#/parameters/rowFilter.itemReplenishment.companyId",
- },
- {
- $ref: "#/parameters/rowFilter.itemReplenishment.createdBy",
+ $ref: "#/parameters/rowFilter.supplierContact.id",
},
{
- $ref: "#/parameters/rowFilter.itemReplenishment.createdAt",
+ $ref: "#/parameters/rowFilter.supplierContact.supplierId",
},
{
- $ref: "#/parameters/rowFilter.itemReplenishment.updatedBy",
+ $ref: "#/parameters/rowFilter.supplierContact.contactId",
},
{
- $ref: "#/parameters/rowFilter.itemReplenishment.updatedAt",
+ $ref: "#/parameters/rowFilter.supplierContact.supplierLocationId",
},
{
- $ref: "#/parameters/rowFilter.itemReplenishment.customFields",
+ $ref: "#/parameters/rowFilter.supplierContact.userId",
},
{
- $ref: "#/parameters/rowFilter.itemReplenishment.scrapPercentage",
+ $ref: "#/parameters/rowFilter.supplierContact.customFields",
},
{
$ref: "#/parameters/select",
@@ -28218,7 +28188,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/itemReplenishment",
+ $ref: "#/definitions/supplierContact",
},
type: "array",
},
@@ -28227,12 +28197,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["itemReplenishment"],
+ tags: ["supplierContact"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.itemReplenishment",
+ $ref: "#/parameters/body.supplierContact",
},
{
$ref: "#/parameters/select",
@@ -28246,57 +28216,61 @@ export default {
description: "Created",
},
},
- tags: ["itemReplenishment"],
+ tags: ["supplierContact"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.itemReplenishment.itemId",
- },
- {
- $ref: "#/parameters/rowFilter.itemReplenishment.preferredSupplierId",
+ $ref: "#/parameters/rowFilter.supplierContact.id",
},
{
- $ref: "#/parameters/rowFilter.itemReplenishment.purchasingLeadTime",
+ $ref: "#/parameters/rowFilter.supplierContact.supplierId",
},
{
- $ref: "#/parameters/rowFilter.itemReplenishment.purchasingUnitOfMeasureCode",
+ $ref: "#/parameters/rowFilter.supplierContact.contactId",
},
{
- $ref: "#/parameters/rowFilter.itemReplenishment.conversionFactor",
+ $ref: "#/parameters/rowFilter.supplierContact.supplierLocationId",
},
{
- $ref: "#/parameters/rowFilter.itemReplenishment.purchasingBlocked",
+ $ref: "#/parameters/rowFilter.supplierContact.userId",
},
{
- $ref: "#/parameters/rowFilter.itemReplenishment.manufacturingBlocked",
+ $ref: "#/parameters/rowFilter.supplierContact.customFields",
},
{
- $ref: "#/parameters/rowFilter.itemReplenishment.requiresConfiguration",
+ $ref: "#/parameters/preferReturn",
},
- {
- $ref: "#/parameters/rowFilter.itemReplenishment.lotSize",
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
},
+ },
+ tags: ["supplierContact"],
+ },
+ patch: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.itemReplenishment.companyId",
+ $ref: "#/parameters/rowFilter.supplierContact.id",
},
{
- $ref: "#/parameters/rowFilter.itemReplenishment.createdBy",
+ $ref: "#/parameters/rowFilter.supplierContact.supplierId",
},
{
- $ref: "#/parameters/rowFilter.itemReplenishment.createdAt",
+ $ref: "#/parameters/rowFilter.supplierContact.contactId",
},
{
- $ref: "#/parameters/rowFilter.itemReplenishment.updatedBy",
+ $ref: "#/parameters/rowFilter.supplierContact.supplierLocationId",
},
{
- $ref: "#/parameters/rowFilter.itemReplenishment.updatedAt",
+ $ref: "#/parameters/rowFilter.supplierContact.userId",
},
{
- $ref: "#/parameters/rowFilter.itemReplenishment.customFields",
+ $ref: "#/parameters/rowFilter.supplierContact.customFields",
},
{
- $ref: "#/parameters/rowFilter.itemReplenishment.scrapPercentage",
+ $ref: "#/parameters/body.supplierContact",
},
{
$ref: "#/parameters/preferReturn",
@@ -28307,84 +28281,101 @@ export default {
description: "No Content",
},
},
- tags: ["itemReplenishment"],
+ tags: ["supplierContact"],
},
- patch: {
+ },
+ "/integrations": {
+ get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.itemReplenishment.itemId",
+ $ref: "#/parameters/rowFilter.integrations.id",
},
{
- $ref: "#/parameters/rowFilter.itemReplenishment.preferredSupplierId",
+ $ref: "#/parameters/rowFilter.integrations.jsonschema",
},
{
- $ref: "#/parameters/rowFilter.itemReplenishment.purchasingLeadTime",
+ $ref: "#/parameters/rowFilter.integrations.companyId",
},
{
- $ref: "#/parameters/rowFilter.itemReplenishment.purchasingUnitOfMeasureCode",
+ $ref: "#/parameters/rowFilter.integrations.metadata",
},
{
- $ref: "#/parameters/rowFilter.itemReplenishment.conversionFactor",
+ $ref: "#/parameters/rowFilter.integrations.active",
},
{
- $ref: "#/parameters/rowFilter.itemReplenishment.purchasingBlocked",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.itemReplenishment.manufacturingBlocked",
+ $ref: "#/parameters/order",
},
{
- $ref: "#/parameters/rowFilter.itemReplenishment.requiresConfiguration",
+ $ref: "#/parameters/range",
},
{
- $ref: "#/parameters/rowFilter.itemReplenishment.lotSize",
+ $ref: "#/parameters/rangeUnit",
},
{
- $ref: "#/parameters/rowFilter.itemReplenishment.companyId",
+ $ref: "#/parameters/offset",
},
{
- $ref: "#/parameters/rowFilter.itemReplenishment.createdBy",
+ $ref: "#/parameters/limit",
},
{
- $ref: "#/parameters/rowFilter.itemReplenishment.createdAt",
+ $ref: "#/parameters/preferCount",
+ },
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/integrations",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
},
+ },
+ tags: ["integrations"],
+ },
+ },
+ "/groups_recursive": {
+ get: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.itemReplenishment.updatedBy",
+ $ref: "#/parameters/rowFilter.groups_recursive.groupId",
},
{
- $ref: "#/parameters/rowFilter.itemReplenishment.updatedAt",
+ $ref: "#/parameters/rowFilter.groups_recursive.name",
},
{
- $ref: "#/parameters/rowFilter.itemReplenishment.customFields",
+ $ref: "#/parameters/rowFilter.groups_recursive.companyId",
},
{
- $ref: "#/parameters/rowFilter.itemReplenishment.scrapPercentage",
+ $ref: "#/parameters/rowFilter.groups_recursive.parentId",
},
{
- $ref: "#/parameters/body.itemReplenishment",
+ $ref: "#/parameters/rowFilter.groups_recursive.isIdentityGroup",
},
{
- $ref: "#/parameters/preferReturn",
+ $ref: "#/parameters/rowFilter.groups_recursive.isEmployeeTypeGroup",
},
- ],
- responses: {
- "204": {
- description: "No Content",
+ {
+ $ref: "#/parameters/rowFilter.groups_recursive.isCustomerOrgGroup",
},
- },
- tags: ["itemReplenishment"],
- },
- },
- "/documentLabel": {
- get: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.documentLabel.documentId",
+ $ref: "#/parameters/rowFilter.groups_recursive.isCustomerTypeGroup",
},
{
- $ref: "#/parameters/rowFilter.documentLabel.userId",
+ $ref: "#/parameters/rowFilter.groups_recursive.isSupplierOrgGroup",
},
{
- $ref: "#/parameters/rowFilter.documentLabel.label",
+ $ref: "#/parameters/rowFilter.groups_recursive.isSupplierTypeGroup",
+ },
+ {
+ $ref: "#/parameters/rowFilter.groups_recursive.user",
},
{
$ref: "#/parameters/select",
@@ -28413,7 +28404,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/documentLabel",
+ $ref: "#/definitions/groups_recursive",
},
type: "array",
},
@@ -28422,107 +28413,89 @@ export default {
description: "Partial Content",
},
},
- tags: ["documentLabel"],
+ tags: ["groups_recursive"],
},
- post: {
+ },
+ "/purchaseInvoices": {
+ get: {
parameters: [
{
- $ref: "#/parameters/body.documentLabel",
+ $ref: "#/parameters/rowFilter.purchaseInvoices.id",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.purchaseInvoices.invoiceId",
},
{
- $ref: "#/parameters/preferPost",
+ $ref: "#/parameters/rowFilter.purchaseInvoices.supplierId",
},
- ],
- responses: {
- "201": {
- description: "Created",
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoices.supplierReference",
},
- },
- tags: ["documentLabel"],
- },
- delete: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.documentLabel.documentId",
+ $ref: "#/parameters/rowFilter.purchaseInvoices.invoiceSupplierId",
},
{
- $ref: "#/parameters/rowFilter.documentLabel.userId",
+ $ref: "#/parameters/rowFilter.purchaseInvoices.postingDate",
},
{
- $ref: "#/parameters/rowFilter.documentLabel.label",
+ $ref: "#/parameters/rowFilter.purchaseInvoices.dateIssued",
},
{
- $ref: "#/parameters/preferReturn",
+ $ref: "#/parameters/rowFilter.purchaseInvoices.dateDue",
},
- ],
- responses: {
- "204": {
- description: "No Content",
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoices.datePaid",
},
- },
- tags: ["documentLabel"],
- },
- patch: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.documentLabel.documentId",
+ $ref: "#/parameters/rowFilter.purchaseInvoices.paymentTermId",
},
{
- $ref: "#/parameters/rowFilter.documentLabel.userId",
+ $ref: "#/parameters/rowFilter.purchaseInvoices.currencyCode",
},
{
- $ref: "#/parameters/rowFilter.documentLabel.label",
+ $ref: "#/parameters/rowFilter.purchaseInvoices.exchangeRate",
},
{
- $ref: "#/parameters/body.documentLabel",
+ $ref: "#/parameters/rowFilter.purchaseInvoices.subtotal",
},
{
- $ref: "#/parameters/preferReturn",
+ $ref: "#/parameters/rowFilter.purchaseInvoices.totalDiscount",
},
- ],
- responses: {
- "204": {
- description: "No Content",
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoices.totalAmount",
},
- },
- tags: ["documentLabel"],
- },
- },
- "/supplierShipping": {
- get: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.supplierShipping.supplierId",
+ $ref: "#/parameters/rowFilter.purchaseInvoices.totalTax",
},
{
- $ref: "#/parameters/rowFilter.supplierShipping.shippingSupplierId",
+ $ref: "#/parameters/rowFilter.purchaseInvoices.balance",
},
{
- $ref: "#/parameters/rowFilter.supplierShipping.shippingSupplierLocationId",
+ $ref: "#/parameters/rowFilter.purchaseInvoices.assignee",
},
{
- $ref: "#/parameters/rowFilter.supplierShipping.shippingSupplierContactId",
+ $ref: "#/parameters/rowFilter.purchaseInvoices.createdBy",
},
{
- $ref: "#/parameters/rowFilter.supplierShipping.shippingTermId",
+ $ref: "#/parameters/rowFilter.purchaseInvoices.createdAt",
},
{
- $ref: "#/parameters/rowFilter.supplierShipping.shippingMethodId",
+ $ref: "#/parameters/rowFilter.purchaseInvoices.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.supplierShipping.companyId",
+ $ref: "#/parameters/rowFilter.purchaseInvoices.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.supplierShipping.updatedAt",
+ $ref: "#/parameters/rowFilter.purchaseInvoices.customFields",
},
{
- $ref: "#/parameters/rowFilter.supplierShipping.updatedBy",
+ $ref: "#/parameters/rowFilter.purchaseInvoices.companyId",
},
{
- $ref: "#/parameters/rowFilter.supplierShipping.customFields",
+ $ref: "#/parameters/rowFilter.purchaseInvoices.status",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoices.paymentTermName",
},
{
$ref: "#/parameters/select",
@@ -28551,7 +28524,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/supplierShipping",
+ $ref: "#/definitions/purchaseInvoices",
},
type: "array",
},
@@ -28560,104 +28533,140 @@ export default {
description: "Partial Content",
},
},
- tags: ["supplierShipping"],
+ tags: ["purchaseInvoices"],
},
- post: {
+ },
+ "/customerContact": {
+ get: {
parameters: [
{
- $ref: "#/parameters/body.supplierShipping",
+ $ref: "#/parameters/rowFilter.customerContact.id",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.customerContact.customerId",
},
{
- $ref: "#/parameters/preferPost",
+ $ref: "#/parameters/rowFilter.customerContact.contactId",
},
- ],
- responses: {
- "201": {
- description: "Created",
+ {
+ $ref: "#/parameters/rowFilter.customerContact.customerLocationId",
},
- },
- tags: ["supplierShipping"],
- },
- delete: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.supplierShipping.supplierId",
+ $ref: "#/parameters/rowFilter.customerContact.userId",
},
{
- $ref: "#/parameters/rowFilter.supplierShipping.shippingSupplierId",
+ $ref: "#/parameters/rowFilter.customerContact.customFields",
},
{
- $ref: "#/parameters/rowFilter.supplierShipping.shippingSupplierLocationId",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.supplierShipping.shippingSupplierContactId",
+ $ref: "#/parameters/order",
},
{
- $ref: "#/parameters/rowFilter.supplierShipping.shippingTermId",
+ $ref: "#/parameters/range",
},
{
- $ref: "#/parameters/rowFilter.supplierShipping.shippingMethodId",
+ $ref: "#/parameters/rangeUnit",
},
{
- $ref: "#/parameters/rowFilter.supplierShipping.companyId",
+ $ref: "#/parameters/offset",
},
{
- $ref: "#/parameters/rowFilter.supplierShipping.updatedAt",
+ $ref: "#/parameters/limit",
},
{
- $ref: "#/parameters/rowFilter.supplierShipping.updatedBy",
+ $ref: "#/parameters/preferCount",
+ },
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/customerContact",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
},
+ },
+ tags: ["customerContact"],
+ },
+ post: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.supplierShipping.customFields",
+ $ref: "#/parameters/body.customerContact",
},
{
- $ref: "#/parameters/preferReturn",
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/preferPost",
},
],
responses: {
- "204": {
- description: "No Content",
+ "201": {
+ description: "Created",
},
},
- tags: ["supplierShipping"],
+ tags: ["customerContact"],
},
- patch: {
+ delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.supplierShipping.supplierId",
+ $ref: "#/parameters/rowFilter.customerContact.id",
},
{
- $ref: "#/parameters/rowFilter.supplierShipping.shippingSupplierId",
+ $ref: "#/parameters/rowFilter.customerContact.customerId",
},
{
- $ref: "#/parameters/rowFilter.supplierShipping.shippingSupplierLocationId",
+ $ref: "#/parameters/rowFilter.customerContact.contactId",
},
{
- $ref: "#/parameters/rowFilter.supplierShipping.shippingSupplierContactId",
+ $ref: "#/parameters/rowFilter.customerContact.customerLocationId",
},
{
- $ref: "#/parameters/rowFilter.supplierShipping.shippingTermId",
+ $ref: "#/parameters/rowFilter.customerContact.userId",
},
{
- $ref: "#/parameters/rowFilter.supplierShipping.shippingMethodId",
+ $ref: "#/parameters/rowFilter.customerContact.customFields",
},
{
- $ref: "#/parameters/rowFilter.supplierShipping.companyId",
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
+ },
+ },
+ tags: ["customerContact"],
+ },
+ patch: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.customerContact.id",
},
{
- $ref: "#/parameters/rowFilter.supplierShipping.updatedAt",
+ $ref: "#/parameters/rowFilter.customerContact.customerId",
},
{
- $ref: "#/parameters/rowFilter.supplierShipping.updatedBy",
+ $ref: "#/parameters/rowFilter.customerContact.contactId",
},
{
- $ref: "#/parameters/rowFilter.supplierShipping.customFields",
+ $ref: "#/parameters/rowFilter.customerContact.customerLocationId",
},
{
- $ref: "#/parameters/body.supplierShipping",
+ $ref: "#/parameters/rowFilter.customerContact.userId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customerContact.customFields",
+ },
+ {
+ $ref: "#/parameters/body.customerContact",
},
{
$ref: "#/parameters/preferReturn",
@@ -28668,50 +28677,44 @@ export default {
description: "No Content",
},
},
- tags: ["supplierShipping"],
+ tags: ["customerContact"],
},
},
- "/productionQuantity": {
+ "/accountingPeriod": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.productionQuantity.id",
- },
- {
- $ref: "#/parameters/rowFilter.productionQuantity.jobOperationId",
- },
- {
- $ref: "#/parameters/rowFilter.productionQuantity.type",
+ $ref: "#/parameters/rowFilter.accountingPeriod.id",
},
{
- $ref: "#/parameters/rowFilter.productionQuantity.quantity",
+ $ref: "#/parameters/rowFilter.accountingPeriod.startDate",
},
{
- $ref: "#/parameters/rowFilter.productionQuantity.setupProductionEventId",
+ $ref: "#/parameters/rowFilter.accountingPeriod.endDate",
},
{
- $ref: "#/parameters/rowFilter.productionQuantity.laborProductionEventId",
+ $ref: "#/parameters/rowFilter.accountingPeriod.status",
},
{
- $ref: "#/parameters/rowFilter.productionQuantity.machineProductionEventId",
+ $ref: "#/parameters/rowFilter.accountingPeriod.companyId",
},
{
- $ref: "#/parameters/rowFilter.productionQuantity.scrapReason",
+ $ref: "#/parameters/rowFilter.accountingPeriod.closedAt",
},
{
- $ref: "#/parameters/rowFilter.productionQuantity.companyId",
+ $ref: "#/parameters/rowFilter.accountingPeriod.closedBy",
},
{
- $ref: "#/parameters/rowFilter.productionQuantity.createdAt",
+ $ref: "#/parameters/rowFilter.accountingPeriod.createdBy",
},
{
- $ref: "#/parameters/rowFilter.productionQuantity.createdBy",
+ $ref: "#/parameters/rowFilter.accountingPeriod.createdAt",
},
{
- $ref: "#/parameters/rowFilter.productionQuantity.updatedAt",
+ $ref: "#/parameters/rowFilter.accountingPeriod.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.productionQuantity.updatedBy",
+ $ref: "#/parameters/rowFilter.accountingPeriod.updatedAt",
},
{
$ref: "#/parameters/select",
@@ -28740,7 +28743,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/productionQuantity",
+ $ref: "#/definitions/accountingPeriod",
},
type: "array",
},
@@ -28749,12 +28752,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["productionQuantity"],
+ tags: ["accountingPeriod"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.productionQuantity",
+ $ref: "#/parameters/body.accountingPeriod",
},
{
$ref: "#/parameters/select",
@@ -28768,48 +28771,42 @@ export default {
description: "Created",
},
},
- tags: ["productionQuantity"],
+ tags: ["accountingPeriod"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.productionQuantity.id",
- },
- {
- $ref: "#/parameters/rowFilter.productionQuantity.jobOperationId",
- },
- {
- $ref: "#/parameters/rowFilter.productionQuantity.type",
+ $ref: "#/parameters/rowFilter.accountingPeriod.id",
},
{
- $ref: "#/parameters/rowFilter.productionQuantity.quantity",
+ $ref: "#/parameters/rowFilter.accountingPeriod.startDate",
},
{
- $ref: "#/parameters/rowFilter.productionQuantity.setupProductionEventId",
+ $ref: "#/parameters/rowFilter.accountingPeriod.endDate",
},
{
- $ref: "#/parameters/rowFilter.productionQuantity.laborProductionEventId",
+ $ref: "#/parameters/rowFilter.accountingPeriod.status",
},
{
- $ref: "#/parameters/rowFilter.productionQuantity.machineProductionEventId",
+ $ref: "#/parameters/rowFilter.accountingPeriod.companyId",
},
{
- $ref: "#/parameters/rowFilter.productionQuantity.scrapReason",
+ $ref: "#/parameters/rowFilter.accountingPeriod.closedAt",
},
{
- $ref: "#/parameters/rowFilter.productionQuantity.companyId",
+ $ref: "#/parameters/rowFilter.accountingPeriod.closedBy",
},
{
- $ref: "#/parameters/rowFilter.productionQuantity.createdAt",
+ $ref: "#/parameters/rowFilter.accountingPeriod.createdBy",
},
{
- $ref: "#/parameters/rowFilter.productionQuantity.createdBy",
+ $ref: "#/parameters/rowFilter.accountingPeriod.createdAt",
},
{
- $ref: "#/parameters/rowFilter.productionQuantity.updatedAt",
+ $ref: "#/parameters/rowFilter.accountingPeriod.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.productionQuantity.updatedBy",
+ $ref: "#/parameters/rowFilter.accountingPeriod.updatedAt",
},
{
$ref: "#/parameters/preferReturn",
@@ -28820,51 +28817,45 @@ export default {
description: "No Content",
},
},
- tags: ["productionQuantity"],
+ tags: ["accountingPeriod"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.productionQuantity.id",
- },
- {
- $ref: "#/parameters/rowFilter.productionQuantity.jobOperationId",
- },
- {
- $ref: "#/parameters/rowFilter.productionQuantity.type",
+ $ref: "#/parameters/rowFilter.accountingPeriod.id",
},
{
- $ref: "#/parameters/rowFilter.productionQuantity.quantity",
+ $ref: "#/parameters/rowFilter.accountingPeriod.startDate",
},
{
- $ref: "#/parameters/rowFilter.productionQuantity.setupProductionEventId",
+ $ref: "#/parameters/rowFilter.accountingPeriod.endDate",
},
{
- $ref: "#/parameters/rowFilter.productionQuantity.laborProductionEventId",
+ $ref: "#/parameters/rowFilter.accountingPeriod.status",
},
{
- $ref: "#/parameters/rowFilter.productionQuantity.machineProductionEventId",
+ $ref: "#/parameters/rowFilter.accountingPeriod.companyId",
},
{
- $ref: "#/parameters/rowFilter.productionQuantity.scrapReason",
+ $ref: "#/parameters/rowFilter.accountingPeriod.closedAt",
},
{
- $ref: "#/parameters/rowFilter.productionQuantity.companyId",
+ $ref: "#/parameters/rowFilter.accountingPeriod.closedBy",
},
{
- $ref: "#/parameters/rowFilter.productionQuantity.createdAt",
+ $ref: "#/parameters/rowFilter.accountingPeriod.createdBy",
},
{
- $ref: "#/parameters/rowFilter.productionQuantity.createdBy",
+ $ref: "#/parameters/rowFilter.accountingPeriod.createdAt",
},
{
- $ref: "#/parameters/rowFilter.productionQuantity.updatedAt",
+ $ref: "#/parameters/rowFilter.accountingPeriod.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.productionQuantity.updatedBy",
+ $ref: "#/parameters/rowFilter.accountingPeriod.updatedAt",
},
{
- $ref: "#/parameters/body.productionQuantity",
+ $ref: "#/parameters/body.accountingPeriod",
},
{
$ref: "#/parameters/preferReturn",
@@ -28875,38 +28866,20 @@ export default {
description: "No Content",
},
},
- tags: ["productionQuantity"],
+ tags: ["accountingPeriod"],
},
},
- "/customerShipping": {
+ "/purchaseInvoicePaymentRelation": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.customerShipping.customerId",
- },
- {
- $ref: "#/parameters/rowFilter.customerShipping.shippingCustomerId",
- },
- {
- $ref: "#/parameters/rowFilter.customerShipping.shippingCustomerLocationId",
- },
- {
- $ref: "#/parameters/rowFilter.customerShipping.shippingCustomerContactId",
- },
- {
- $ref: "#/parameters/rowFilter.customerShipping.shippingTermId",
- },
- {
- $ref: "#/parameters/rowFilter.customerShipping.shippingMethodId",
- },
- {
- $ref: "#/parameters/rowFilter.customerShipping.companyId",
+ $ref: "#/parameters/rowFilter.purchaseInvoicePaymentRelation.id",
},
{
- $ref: "#/parameters/rowFilter.customerShipping.updatedAt",
+ $ref: "#/parameters/rowFilter.purchaseInvoicePaymentRelation.invoiceId",
},
{
- $ref: "#/parameters/rowFilter.customerShipping.updatedBy",
+ $ref: "#/parameters/rowFilter.purchaseInvoicePaymentRelation.paymentId",
},
{
$ref: "#/parameters/select",
@@ -28935,7 +28908,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/customerShipping",
+ $ref: "#/definitions/purchaseInvoicePaymentRelation",
},
type: "array",
},
@@ -28944,12 +28917,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["customerShipping"],
+ tags: ["purchaseInvoicePaymentRelation"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.customerShipping",
+ $ref: "#/parameters/body.purchaseInvoicePaymentRelation",
},
{
$ref: "#/parameters/select",
@@ -28963,36 +28936,43 @@ export default {
description: "Created",
},
},
- tags: ["customerShipping"],
+ tags: ["purchaseInvoicePaymentRelation"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.customerShipping.customerId",
+ $ref: "#/parameters/rowFilter.purchaseInvoicePaymentRelation.id",
},
{
- $ref: "#/parameters/rowFilter.customerShipping.shippingCustomerId",
+ $ref: "#/parameters/rowFilter.purchaseInvoicePaymentRelation.invoiceId",
},
{
- $ref: "#/parameters/rowFilter.customerShipping.shippingCustomerLocationId",
+ $ref: "#/parameters/rowFilter.purchaseInvoicePaymentRelation.paymentId",
},
{
- $ref: "#/parameters/rowFilter.customerShipping.shippingCustomerContactId",
+ $ref: "#/parameters/preferReturn",
},
- {
- $ref: "#/parameters/rowFilter.customerShipping.shippingTermId",
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
},
+ },
+ tags: ["purchaseInvoicePaymentRelation"],
+ },
+ patch: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.customerShipping.shippingMethodId",
+ $ref: "#/parameters/rowFilter.purchaseInvoicePaymentRelation.id",
},
{
- $ref: "#/parameters/rowFilter.customerShipping.companyId",
+ $ref: "#/parameters/rowFilter.purchaseInvoicePaymentRelation.invoiceId",
},
{
- $ref: "#/parameters/rowFilter.customerShipping.updatedAt",
+ $ref: "#/parameters/rowFilter.purchaseInvoicePaymentRelation.paymentId",
},
{
- $ref: "#/parameters/rowFilter.customerShipping.updatedBy",
+ $ref: "#/parameters/body.purchaseInvoicePaymentRelation",
},
{
$ref: "#/parameters/preferReturn",
@@ -29003,66 +28983,74 @@ export default {
description: "No Content",
},
},
- tags: ["customerShipping"],
+ tags: ["purchaseInvoicePaymentRelation"],
},
- patch: {
+ },
+ "/itemPlanning": {
+ get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.customerShipping.customerId",
+ $ref: "#/parameters/rowFilter.itemPlanning.itemId",
},
{
- $ref: "#/parameters/rowFilter.customerShipping.shippingCustomerId",
+ $ref: "#/parameters/rowFilter.itemPlanning.locationId",
},
{
- $ref: "#/parameters/rowFilter.customerShipping.shippingCustomerLocationId",
+ $ref: "#/parameters/rowFilter.itemPlanning.reorderingPolicy",
},
{
- $ref: "#/parameters/rowFilter.customerShipping.shippingCustomerContactId",
+ $ref: "#/parameters/rowFilter.itemPlanning.critical",
},
{
- $ref: "#/parameters/rowFilter.customerShipping.shippingTermId",
+ $ref: "#/parameters/rowFilter.itemPlanning.safetyStockQuantity",
},
{
- $ref: "#/parameters/rowFilter.customerShipping.shippingMethodId",
+ $ref: "#/parameters/rowFilter.itemPlanning.safetyStockLeadTime",
},
{
- $ref: "#/parameters/rowFilter.customerShipping.companyId",
+ $ref: "#/parameters/rowFilter.itemPlanning.demandAccumulationPeriod",
},
{
- $ref: "#/parameters/rowFilter.customerShipping.updatedAt",
+ $ref: "#/parameters/rowFilter.itemPlanning.demandReschedulingPeriod",
},
{
- $ref: "#/parameters/rowFilter.customerShipping.updatedBy",
+ $ref: "#/parameters/rowFilter.itemPlanning.demandAccumulationIncludesInventory",
},
{
- $ref: "#/parameters/body.customerShipping",
+ $ref: "#/parameters/rowFilter.itemPlanning.reorderPoint",
},
{
- $ref: "#/parameters/preferReturn",
+ $ref: "#/parameters/rowFilter.itemPlanning.reorderQuantity",
},
- ],
- responses: {
- "204": {
- description: "No Content",
+ {
+ $ref: "#/parameters/rowFilter.itemPlanning.reorderMaximumInventory",
},
- },
- tags: ["customerShipping"],
- },
- },
- "/fiscalYearSettings": {
- get: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.fiscalYearSettings.companyId",
+ $ref: "#/parameters/rowFilter.itemPlanning.minimumOrderQuantity",
},
{
- $ref: "#/parameters/rowFilter.fiscalYearSettings.startMonth",
+ $ref: "#/parameters/rowFilter.itemPlanning.maximumOrderQuantity",
},
{
- $ref: "#/parameters/rowFilter.fiscalYearSettings.taxStartMonth",
+ $ref: "#/parameters/rowFilter.itemPlanning.orderMultiple",
},
{
- $ref: "#/parameters/rowFilter.fiscalYearSettings.updatedBy",
+ $ref: "#/parameters/rowFilter.itemPlanning.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPlanning.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPlanning.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPlanning.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPlanning.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPlanning.customFields",
},
{
$ref: "#/parameters/select",
@@ -29091,7 +29079,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/fiscalYearSettings",
+ $ref: "#/definitions/itemPlanning",
},
type: "array",
},
@@ -29100,12 +29088,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["fiscalYearSettings"],
+ tags: ["itemPlanning"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.fiscalYearSettings",
+ $ref: "#/parameters/body.itemPlanning",
},
{
$ref: "#/parameters/select",
@@ -29119,21 +29107,72 @@ export default {
description: "Created",
},
},
- tags: ["fiscalYearSettings"],
+ tags: ["itemPlanning"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.fiscalYearSettings.companyId",
+ $ref: "#/parameters/rowFilter.itemPlanning.itemId",
},
{
- $ref: "#/parameters/rowFilter.fiscalYearSettings.startMonth",
+ $ref: "#/parameters/rowFilter.itemPlanning.locationId",
},
{
- $ref: "#/parameters/rowFilter.fiscalYearSettings.taxStartMonth",
+ $ref: "#/parameters/rowFilter.itemPlanning.reorderingPolicy",
},
{
- $ref: "#/parameters/rowFilter.fiscalYearSettings.updatedBy",
+ $ref: "#/parameters/rowFilter.itemPlanning.critical",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPlanning.safetyStockQuantity",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPlanning.safetyStockLeadTime",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPlanning.demandAccumulationPeriod",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPlanning.demandReschedulingPeriod",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPlanning.demandAccumulationIncludesInventory",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPlanning.reorderPoint",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPlanning.reorderQuantity",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPlanning.reorderMaximumInventory",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPlanning.minimumOrderQuantity",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPlanning.maximumOrderQuantity",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPlanning.orderMultiple",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPlanning.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPlanning.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPlanning.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPlanning.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPlanning.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPlanning.customFields",
},
{
$ref: "#/parameters/preferReturn",
@@ -29144,24 +29183,75 @@ export default {
description: "No Content",
},
},
- tags: ["fiscalYearSettings"],
+ tags: ["itemPlanning"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.fiscalYearSettings.companyId",
+ $ref: "#/parameters/rowFilter.itemPlanning.itemId",
},
{
- $ref: "#/parameters/rowFilter.fiscalYearSettings.startMonth",
+ $ref: "#/parameters/rowFilter.itemPlanning.locationId",
},
{
- $ref: "#/parameters/rowFilter.fiscalYearSettings.taxStartMonth",
+ $ref: "#/parameters/rowFilter.itemPlanning.reorderingPolicy",
},
{
- $ref: "#/parameters/rowFilter.fiscalYearSettings.updatedBy",
+ $ref: "#/parameters/rowFilter.itemPlanning.critical",
},
{
- $ref: "#/parameters/body.fiscalYearSettings",
+ $ref: "#/parameters/rowFilter.itemPlanning.safetyStockQuantity",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPlanning.safetyStockLeadTime",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPlanning.demandAccumulationPeriod",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPlanning.demandReschedulingPeriod",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPlanning.demandAccumulationIncludesInventory",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPlanning.reorderPoint",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPlanning.reorderQuantity",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPlanning.reorderMaximumInventory",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPlanning.minimumOrderQuantity",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPlanning.maximumOrderQuantity",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPlanning.orderMultiple",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPlanning.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPlanning.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPlanning.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPlanning.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPlanning.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPlanning.customFields",
+ },
+ {
+ $ref: "#/parameters/body.itemPlanning",
},
{
$ref: "#/parameters/preferReturn",
@@ -29172,47 +29262,44 @@ export default {
description: "No Content",
},
},
- tags: ["fiscalYearSettings"],
+ tags: ["itemPlanning"],
},
},
- "/itemCost": {
+ "/employeeJob": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.itemCost.itemId",
- },
- {
- $ref: "#/parameters/rowFilter.itemCost.itemPostingGroupId",
+ $ref: "#/parameters/rowFilter.employeeJob.id",
},
{
- $ref: "#/parameters/rowFilter.itemCost.costingMethod",
+ $ref: "#/parameters/rowFilter.employeeJob.locationId",
},
{
- $ref: "#/parameters/rowFilter.itemCost.standardCost",
+ $ref: "#/parameters/rowFilter.employeeJob.shiftId",
},
{
- $ref: "#/parameters/rowFilter.itemCost.unitCost",
+ $ref: "#/parameters/rowFilter.employeeJob.managerId",
},
{
- $ref: "#/parameters/rowFilter.itemCost.costIsAdjusted",
+ $ref: "#/parameters/rowFilter.employeeJob.title",
},
{
- $ref: "#/parameters/rowFilter.itemCost.companyId",
+ $ref: "#/parameters/rowFilter.employeeJob.startDate",
},
{
- $ref: "#/parameters/rowFilter.itemCost.createdBy",
+ $ref: "#/parameters/rowFilter.employeeJob.companyId",
},
{
- $ref: "#/parameters/rowFilter.itemCost.createdAt",
+ $ref: "#/parameters/rowFilter.employeeJob.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.itemCost.updatedBy",
+ $ref: "#/parameters/rowFilter.employeeJob.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.itemCost.updatedAt",
+ $ref: "#/parameters/rowFilter.employeeJob.customFields",
},
{
- $ref: "#/parameters/rowFilter.itemCost.customFields",
+ $ref: "#/parameters/rowFilter.employeeJob.departmentId",
},
{
$ref: "#/parameters/select",
@@ -29241,7 +29328,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/itemCost",
+ $ref: "#/definitions/employeeJob",
},
type: "array",
},
@@ -29250,12 +29337,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["itemCost"],
+ tags: ["employeeJob"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.itemCost",
+ $ref: "#/parameters/body.employeeJob",
},
{
$ref: "#/parameters/select",
@@ -29269,45 +29356,42 @@ export default {
description: "Created",
},
},
- tags: ["itemCost"],
+ tags: ["employeeJob"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.itemCost.itemId",
- },
- {
- $ref: "#/parameters/rowFilter.itemCost.itemPostingGroupId",
+ $ref: "#/parameters/rowFilter.employeeJob.id",
},
{
- $ref: "#/parameters/rowFilter.itemCost.costingMethod",
+ $ref: "#/parameters/rowFilter.employeeJob.locationId",
},
{
- $ref: "#/parameters/rowFilter.itemCost.standardCost",
+ $ref: "#/parameters/rowFilter.employeeJob.shiftId",
},
{
- $ref: "#/parameters/rowFilter.itemCost.unitCost",
+ $ref: "#/parameters/rowFilter.employeeJob.managerId",
},
{
- $ref: "#/parameters/rowFilter.itemCost.costIsAdjusted",
+ $ref: "#/parameters/rowFilter.employeeJob.title",
},
{
- $ref: "#/parameters/rowFilter.itemCost.companyId",
+ $ref: "#/parameters/rowFilter.employeeJob.startDate",
},
{
- $ref: "#/parameters/rowFilter.itemCost.createdBy",
+ $ref: "#/parameters/rowFilter.employeeJob.companyId",
},
{
- $ref: "#/parameters/rowFilter.itemCost.createdAt",
+ $ref: "#/parameters/rowFilter.employeeJob.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.itemCost.updatedBy",
+ $ref: "#/parameters/rowFilter.employeeJob.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.itemCost.updatedAt",
+ $ref: "#/parameters/rowFilter.employeeJob.customFields",
},
{
- $ref: "#/parameters/rowFilter.itemCost.customFields",
+ $ref: "#/parameters/rowFilter.employeeJob.departmentId",
},
{
$ref: "#/parameters/preferReturn",
@@ -29318,48 +29402,45 @@ export default {
description: "No Content",
},
},
- tags: ["itemCost"],
+ tags: ["employeeJob"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.itemCost.itemId",
+ $ref: "#/parameters/rowFilter.employeeJob.id",
},
{
- $ref: "#/parameters/rowFilter.itemCost.itemPostingGroupId",
+ $ref: "#/parameters/rowFilter.employeeJob.locationId",
},
{
- $ref: "#/parameters/rowFilter.itemCost.costingMethod",
+ $ref: "#/parameters/rowFilter.employeeJob.shiftId",
},
{
- $ref: "#/parameters/rowFilter.itemCost.standardCost",
+ $ref: "#/parameters/rowFilter.employeeJob.managerId",
},
{
- $ref: "#/parameters/rowFilter.itemCost.unitCost",
- },
- {
- $ref: "#/parameters/rowFilter.itemCost.costIsAdjusted",
+ $ref: "#/parameters/rowFilter.employeeJob.title",
},
{
- $ref: "#/parameters/rowFilter.itemCost.companyId",
+ $ref: "#/parameters/rowFilter.employeeJob.startDate",
},
{
- $ref: "#/parameters/rowFilter.itemCost.createdBy",
+ $ref: "#/parameters/rowFilter.employeeJob.companyId",
},
{
- $ref: "#/parameters/rowFilter.itemCost.createdAt",
+ $ref: "#/parameters/rowFilter.employeeJob.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.itemCost.updatedBy",
+ $ref: "#/parameters/rowFilter.employeeJob.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.itemCost.updatedAt",
+ $ref: "#/parameters/rowFilter.employeeJob.customFields",
},
{
- $ref: "#/parameters/rowFilter.itemCost.customFields",
+ $ref: "#/parameters/rowFilter.employeeJob.departmentId",
},
{
- $ref: "#/parameters/body.itemCost",
+ $ref: "#/parameters/body.employeeJob",
},
{
$ref: "#/parameters/preferReturn",
@@ -29370,62 +29451,62 @@ export default {
description: "No Content",
},
},
- tags: ["itemCost"],
+ tags: ["employeeJob"],
},
},
- "/salesOrderLocations": {
+ "/account": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.salesOrderLocations.id",
+ $ref: "#/parameters/rowFilter.account.id",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLocations.customerName",
+ $ref: "#/parameters/rowFilter.account.number",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLocations.customerAddressLine1",
+ $ref: "#/parameters/rowFilter.account.name",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLocations.customerAddressLine2",
+ $ref: "#/parameters/rowFilter.account.type",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLocations.customerCity",
+ $ref: "#/parameters/rowFilter.account.class",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLocations.customerStateProvince",
+ $ref: "#/parameters/rowFilter.account.accountCategoryId",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLocations.customerPostalCode",
+ $ref: "#/parameters/rowFilter.account.accountSubcategoryId",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLocations.customerCountryCode",
+ $ref: "#/parameters/rowFilter.account.incomeBalance",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLocations.customerCountryName",
+ $ref: "#/parameters/rowFilter.account.consolidatedRate",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLocations.paymentCustomerName",
+ $ref: "#/parameters/rowFilter.account.directPosting",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLocations.paymentAddressLine1",
+ $ref: "#/parameters/rowFilter.account.active",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLocations.paymentAddressLine2",
+ $ref: "#/parameters/rowFilter.account.companyId",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLocations.paymentCity",
+ $ref: "#/parameters/rowFilter.account.createdBy",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLocations.paymentStateProvince",
+ $ref: "#/parameters/rowFilter.account.createdAt",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLocations.paymentPostalCode",
+ $ref: "#/parameters/rowFilter.account.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLocations.paymentCountryCode",
+ $ref: "#/parameters/rowFilter.account.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.salesOrderLocations.paymentCountryName",
+ $ref: "#/parameters/rowFilter.account.customFields",
},
{
$ref: "#/parameters/select",
@@ -29454,7 +29535,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/salesOrderLocations",
+ $ref: "#/definitions/account",
},
type: "array",
},
@@ -29463,100 +29544,79 @@ export default {
description: "Partial Content",
},
},
- tags: ["salesOrderLocations"],
+ tags: ["account"],
},
- },
- "/feedback": {
- get: {
+ post: {
parameters: [
{
- $ref: "#/parameters/rowFilter.feedback.id",
+ $ref: "#/parameters/body.account",
},
{
- $ref: "#/parameters/rowFilter.feedback.location",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.feedback.userId",
+ $ref: "#/parameters/preferPost",
},
- {
- $ref: "#/parameters/rowFilter.feedback.feedback",
+ ],
+ responses: {
+ "201": {
+ description: "Created",
},
+ },
+ tags: ["account"],
+ },
+ delete: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.feedback.attachmentPath",
+ $ref: "#/parameters/rowFilter.account.id",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.account.number",
},
{
- $ref: "#/parameters/order",
+ $ref: "#/parameters/rowFilter.account.name",
},
{
- $ref: "#/parameters/range",
+ $ref: "#/parameters/rowFilter.account.type",
},
{
- $ref: "#/parameters/rangeUnit",
+ $ref: "#/parameters/rowFilter.account.class",
},
{
- $ref: "#/parameters/offset",
+ $ref: "#/parameters/rowFilter.account.accountCategoryId",
},
{
- $ref: "#/parameters/limit",
+ $ref: "#/parameters/rowFilter.account.accountSubcategoryId",
},
{
- $ref: "#/parameters/preferCount",
- },
- ],
- responses: {
- "200": {
- description: "OK",
- schema: {
- items: {
- $ref: "#/definitions/feedback",
- },
- type: "array",
- },
- },
- "206": {
- description: "Partial Content",
+ $ref: "#/parameters/rowFilter.account.incomeBalance",
},
- },
- tags: ["feedback"],
- },
- post: {
- parameters: [
{
- $ref: "#/parameters/body.feedback",
+ $ref: "#/parameters/rowFilter.account.consolidatedRate",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.account.directPosting",
},
{
- $ref: "#/parameters/preferPost",
+ $ref: "#/parameters/rowFilter.account.active",
},
- ],
- responses: {
- "201": {
- description: "Created",
+ {
+ $ref: "#/parameters/rowFilter.account.companyId",
},
- },
- tags: ["feedback"],
- },
- delete: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.feedback.id",
+ $ref: "#/parameters/rowFilter.account.createdBy",
},
{
- $ref: "#/parameters/rowFilter.feedback.location",
+ $ref: "#/parameters/rowFilter.account.createdAt",
},
{
- $ref: "#/parameters/rowFilter.feedback.userId",
+ $ref: "#/parameters/rowFilter.account.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.feedback.feedback",
+ $ref: "#/parameters/rowFilter.account.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.feedback.attachmentPath",
+ $ref: "#/parameters/rowFilter.account.customFields",
},
{
$ref: "#/parameters/preferReturn",
@@ -29567,27 +29627,63 @@ export default {
description: "No Content",
},
},
- tags: ["feedback"],
+ tags: ["account"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.feedback.id",
+ $ref: "#/parameters/rowFilter.account.id",
},
{
- $ref: "#/parameters/rowFilter.feedback.location",
+ $ref: "#/parameters/rowFilter.account.number",
},
{
- $ref: "#/parameters/rowFilter.feedback.userId",
+ $ref: "#/parameters/rowFilter.account.name",
},
{
- $ref: "#/parameters/rowFilter.feedback.feedback",
+ $ref: "#/parameters/rowFilter.account.type",
},
{
- $ref: "#/parameters/rowFilter.feedback.attachmentPath",
+ $ref: "#/parameters/rowFilter.account.class",
},
{
- $ref: "#/parameters/body.feedback",
+ $ref: "#/parameters/rowFilter.account.accountCategoryId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.account.accountSubcategoryId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.account.incomeBalance",
+ },
+ {
+ $ref: "#/parameters/rowFilter.account.consolidatedRate",
+ },
+ {
+ $ref: "#/parameters/rowFilter.account.directPosting",
+ },
+ {
+ $ref: "#/parameters/rowFilter.account.active",
+ },
+ {
+ $ref: "#/parameters/rowFilter.account.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.account.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.account.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.account.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.account.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.account.customFields",
+ },
+ {
+ $ref: "#/parameters/body.account",
},
{
$ref: "#/parameters/preferReturn",
@@ -29598,35 +29694,29 @@ export default {
description: "No Content",
},
},
- tags: ["feedback"],
+ tags: ["account"],
},
},
- "/oauthCode": {
+ "/companyIntegration": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.oauthCode.id",
- },
- {
- $ref: "#/parameters/rowFilter.oauthCode.code",
- },
- {
- $ref: "#/parameters/rowFilter.oauthCode.clientId",
+ $ref: "#/parameters/rowFilter.companyIntegration.id",
},
{
- $ref: "#/parameters/rowFilter.oauthCode.userId",
+ $ref: "#/parameters/rowFilter.companyIntegration.metadata",
},
{
- $ref: "#/parameters/rowFilter.oauthCode.companyId",
+ $ref: "#/parameters/rowFilter.companyIntegration.companyId",
},
{
- $ref: "#/parameters/rowFilter.oauthCode.redirectUri",
+ $ref: "#/parameters/rowFilter.companyIntegration.active",
},
{
- $ref: "#/parameters/rowFilter.oauthCode.createdAt",
+ $ref: "#/parameters/rowFilter.companyIntegration.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.oauthCode.expiresAt",
+ $ref: "#/parameters/rowFilter.companyIntegration.updatedBy",
},
{
$ref: "#/parameters/select",
@@ -29655,7 +29745,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/oauthCode",
+ $ref: "#/definitions/companyIntegration",
},
type: "array",
},
@@ -29664,12 +29754,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["oauthCode"],
+ tags: ["companyIntegration"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.oauthCode",
+ $ref: "#/parameters/body.companyIntegration",
},
{
$ref: "#/parameters/select",
@@ -29683,33 +29773,27 @@ export default {
description: "Created",
},
},
- tags: ["oauthCode"],
+ tags: ["companyIntegration"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.oauthCode.id",
- },
- {
- $ref: "#/parameters/rowFilter.oauthCode.code",
- },
- {
- $ref: "#/parameters/rowFilter.oauthCode.clientId",
+ $ref: "#/parameters/rowFilter.companyIntegration.id",
},
{
- $ref: "#/parameters/rowFilter.oauthCode.userId",
+ $ref: "#/parameters/rowFilter.companyIntegration.metadata",
},
{
- $ref: "#/parameters/rowFilter.oauthCode.companyId",
+ $ref: "#/parameters/rowFilter.companyIntegration.companyId",
},
{
- $ref: "#/parameters/rowFilter.oauthCode.redirectUri",
+ $ref: "#/parameters/rowFilter.companyIntegration.active",
},
{
- $ref: "#/parameters/rowFilter.oauthCode.createdAt",
+ $ref: "#/parameters/rowFilter.companyIntegration.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.oauthCode.expiresAt",
+ $ref: "#/parameters/rowFilter.companyIntegration.updatedBy",
},
{
$ref: "#/parameters/preferReturn",
@@ -29720,36 +29804,30 @@ export default {
description: "No Content",
},
},
- tags: ["oauthCode"],
+ tags: ["companyIntegration"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.oauthCode.id",
- },
- {
- $ref: "#/parameters/rowFilter.oauthCode.code",
- },
- {
- $ref: "#/parameters/rowFilter.oauthCode.clientId",
+ $ref: "#/parameters/rowFilter.companyIntegration.id",
},
{
- $ref: "#/parameters/rowFilter.oauthCode.userId",
+ $ref: "#/parameters/rowFilter.companyIntegration.metadata",
},
{
- $ref: "#/parameters/rowFilter.oauthCode.companyId",
+ $ref: "#/parameters/rowFilter.companyIntegration.companyId",
},
{
- $ref: "#/parameters/rowFilter.oauthCode.redirectUri",
+ $ref: "#/parameters/rowFilter.companyIntegration.active",
},
{
- $ref: "#/parameters/rowFilter.oauthCode.createdAt",
+ $ref: "#/parameters/rowFilter.companyIntegration.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.oauthCode.expiresAt",
+ $ref: "#/parameters/rowFilter.companyIntegration.updatedBy",
},
{
- $ref: "#/parameters/body.oauthCode",
+ $ref: "#/parameters/body.companyIntegration",
},
{
$ref: "#/parameters/preferReturn",
@@ -29760,77 +29838,95 @@ export default {
description: "No Content",
},
},
- tags: ["oauthCode"],
+ tags: ["companyIntegration"],
},
},
- "/tools": {
+ "/salesRfqLines": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.tools.active",
+ $ref: "#/parameters/rowFilter.salesRfqLines.id",
},
{
- $ref: "#/parameters/rowFilter.tools.assignee",
+ $ref: "#/parameters/rowFilter.salesRfqLines.salesRfqId",
},
{
- $ref: "#/parameters/rowFilter.tools.defaultMethodType",
+ $ref: "#/parameters/rowFilter.salesRfqLines.itemId",
},
{
- $ref: "#/parameters/rowFilter.tools.description",
+ $ref: "#/parameters/rowFilter.salesRfqLines.description",
},
{
- $ref: "#/parameters/rowFilter.tools.itemTrackingType",
+ $ref: "#/parameters/rowFilter.salesRfqLines.quantity",
},
{
- $ref: "#/parameters/rowFilter.tools.name",
+ $ref: "#/parameters/rowFilter.salesRfqLines.unitOfMeasureCode",
},
{
- $ref: "#/parameters/rowFilter.tools.replenishmentSystem",
+ $ref: "#/parameters/rowFilter.salesRfqLines.order",
},
{
- $ref: "#/parameters/rowFilter.tools.thumbnailPath",
+ $ref: "#/parameters/rowFilter.salesRfqLines.internalNotes",
},
{
- $ref: "#/parameters/rowFilter.tools.unitOfMeasureCode",
+ $ref: "#/parameters/rowFilter.salesRfqLines.externalNotes",
},
{
- $ref: "#/parameters/rowFilter.tools.id",
+ $ref: "#/parameters/rowFilter.salesRfqLines.companyId",
},
{
- $ref: "#/parameters/rowFilter.tools.itemId",
+ $ref: "#/parameters/rowFilter.salesRfqLines.customFields",
},
{
- $ref: "#/parameters/rowFilter.tools.approved",
+ $ref: "#/parameters/rowFilter.salesRfqLines.createdAt",
},
{
- $ref: "#/parameters/rowFilter.tools.approvedBy",
+ $ref: "#/parameters/rowFilter.salesRfqLines.createdBy",
},
{
- $ref: "#/parameters/rowFilter.tools.customFields",
+ $ref: "#/parameters/rowFilter.salesRfqLines.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.tools.companyId",
+ $ref: "#/parameters/rowFilter.salesRfqLines.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.tools.createdBy",
+ $ref: "#/parameters/rowFilter.salesRfqLines.modelUploadId",
},
{
- $ref: "#/parameters/rowFilter.tools.createdAt",
+ $ref: "#/parameters/rowFilter.salesRfqLines.customerPartId",
},
{
- $ref: "#/parameters/rowFilter.tools.updatedBy",
+ $ref: "#/parameters/rowFilter.salesRfqLines.customerPartRevision",
},
{
- $ref: "#/parameters/rowFilter.tools.updatedAt",
+ $ref: "#/parameters/rowFilter.salesRfqLines.modelId",
},
{
- $ref: "#/parameters/rowFilter.tools.externalId",
+ $ref: "#/parameters/rowFilter.salesRfqLines.autodeskUrn",
},
{
- $ref: "#/parameters/rowFilter.tools.supplierIds",
+ $ref: "#/parameters/rowFilter.salesRfqLines.modelPath",
},
{
- $ref: "#/parameters/rowFilter.tools.unitOfMeasure",
+ $ref: "#/parameters/rowFilter.salesRfqLines.modelName",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesRfqLines.modelSize",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesRfqLines.thumbnailPath",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesRfqLines.itemName",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesRfqLines.methodType",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesRfqLines.itemReadableId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesRfqLines.itemType",
},
{
$ref: "#/parameters/select",
@@ -29859,7 +29955,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/tools",
+ $ref: "#/definitions/salesRfqLines",
},
type: "array",
},
@@ -29868,74 +29964,17 @@ export default {
description: "Partial Content",
},
},
- tags: ["tools"],
+ tags: ["salesRfqLines"],
},
},
- "/quoteMaterialWithMakeMethodId": {
+ "/jobFavorite": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.quoteMaterialWithMakeMethodId.id",
- },
- {
- $ref: "#/parameters/rowFilter.quoteMaterialWithMakeMethodId.quoteId",
- },
- {
- $ref: "#/parameters/rowFilter.quoteMaterialWithMakeMethodId.quoteLineId",
- },
- {
- $ref: "#/parameters/rowFilter.quoteMaterialWithMakeMethodId.itemId",
- },
- {
- $ref: "#/parameters/rowFilter.quoteMaterialWithMakeMethodId.itemReadableId",
- },
- {
- $ref: "#/parameters/rowFilter.quoteMaterialWithMakeMethodId.itemType",
- },
- {
- $ref: "#/parameters/rowFilter.quoteMaterialWithMakeMethodId.methodType",
- },
- {
- $ref: "#/parameters/rowFilter.quoteMaterialWithMakeMethodId.order",
- },
- {
- $ref: "#/parameters/rowFilter.quoteMaterialWithMakeMethodId.description",
- },
- {
- $ref: "#/parameters/rowFilter.quoteMaterialWithMakeMethodId.quantity",
- },
- {
- $ref: "#/parameters/rowFilter.quoteMaterialWithMakeMethodId.unitOfMeasureCode",
- },
- {
- $ref: "#/parameters/rowFilter.quoteMaterialWithMakeMethodId.unitCost",
- },
- {
- $ref: "#/parameters/rowFilter.quoteMaterialWithMakeMethodId.companyId",
- },
- {
- $ref: "#/parameters/rowFilter.quoteMaterialWithMakeMethodId.createdAt",
- },
- {
- $ref: "#/parameters/rowFilter.quoteMaterialWithMakeMethodId.createdBy",
- },
- {
- $ref: "#/parameters/rowFilter.quoteMaterialWithMakeMethodId.updatedAt",
- },
- {
- $ref: "#/parameters/rowFilter.quoteMaterialWithMakeMethodId.updatedBy",
- },
- {
- $ref: "#/parameters/rowFilter.quoteMaterialWithMakeMethodId.customFields",
- },
- {
- $ref: "#/parameters/rowFilter.quoteMaterialWithMakeMethodId.quoteMakeMethodId",
- },
- {
- $ref: "#/parameters/rowFilter.quoteMaterialWithMakeMethodId.quoteOperationId",
+ $ref: "#/parameters/rowFilter.jobFavorite.jobId",
},
{
- $ref: "#/parameters/rowFilter.quoteMaterialWithMakeMethodId.quoteMaterialMakeMethodId",
+ $ref: "#/parameters/rowFilter.jobFavorite.userId",
},
{
$ref: "#/parameters/select",
@@ -29964,7 +30003,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/quoteMaterialWithMakeMethodId",
+ $ref: "#/definitions/jobFavorite",
},
type: "array",
},
@@ -29973,77 +30012,86 @@ export default {
description: "Partial Content",
},
},
- tags: ["quoteMaterialWithMakeMethodId"],
+ tags: ["jobFavorite"],
},
- },
- "/suppliers": {
- get: {
+ post: {
parameters: [
{
- $ref: "#/parameters/rowFilter.suppliers.id",
- },
- {
- $ref: "#/parameters/rowFilter.suppliers.name",
- },
- {
- $ref: "#/parameters/rowFilter.suppliers.supplierTypeId",
- },
- {
- $ref: "#/parameters/rowFilter.suppliers.supplierStatusId",
- },
- {
- $ref: "#/parameters/rowFilter.suppliers.taxId",
+ $ref: "#/parameters/body.jobFavorite",
},
{
- $ref: "#/parameters/rowFilter.suppliers.accountManagerId",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.suppliers.logo",
+ $ref: "#/parameters/preferPost",
},
- {
- $ref: "#/parameters/rowFilter.suppliers.assignee",
+ ],
+ responses: {
+ "201": {
+ description: "Created",
},
+ },
+ tags: ["jobFavorite"],
+ },
+ delete: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.suppliers.companyId",
+ $ref: "#/parameters/rowFilter.jobFavorite.jobId",
},
{
- $ref: "#/parameters/rowFilter.suppliers.createdAt",
+ $ref: "#/parameters/rowFilter.jobFavorite.userId",
},
{
- $ref: "#/parameters/rowFilter.suppliers.createdBy",
+ $ref: "#/parameters/preferReturn",
},
- {
- $ref: "#/parameters/rowFilter.suppliers.updatedAt",
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
},
+ },
+ tags: ["jobFavorite"],
+ },
+ patch: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.suppliers.updatedBy",
+ $ref: "#/parameters/rowFilter.jobFavorite.jobId",
},
{
- $ref: "#/parameters/rowFilter.suppliers.customFields",
+ $ref: "#/parameters/rowFilter.jobFavorite.userId",
},
{
- $ref: "#/parameters/rowFilter.suppliers.currencyCode",
+ $ref: "#/parameters/body.jobFavorite",
},
{
- $ref: "#/parameters/rowFilter.suppliers.phone",
+ $ref: "#/parameters/preferReturn",
},
- {
- $ref: "#/parameters/rowFilter.suppliers.fax",
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
},
+ },
+ tags: ["jobFavorite"],
+ },
+ },
+ "/documentTransaction": {
+ get: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.suppliers.website",
+ $ref: "#/parameters/rowFilter.documentTransaction.id",
},
{
- $ref: "#/parameters/rowFilter.suppliers.type",
+ $ref: "#/parameters/rowFilter.documentTransaction.documentId",
},
{
- $ref: "#/parameters/rowFilter.suppliers.status",
+ $ref: "#/parameters/rowFilter.documentTransaction.type",
},
{
- $ref: "#/parameters/rowFilter.suppliers.orderCount",
+ $ref: "#/parameters/rowFilter.documentTransaction.userId",
},
{
- $ref: "#/parameters/rowFilter.suppliers.partCount",
+ $ref: "#/parameters/rowFilter.documentTransaction.createdAt",
},
{
$ref: "#/parameters/select",
@@ -30072,7 +30120,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/suppliers",
+ $ref: "#/definitions/documentTransaction",
},
type: "array",
},
@@ -30081,107 +30129,113 @@ export default {
description: "Partial Content",
},
},
- tags: ["suppliers"],
+ tags: ["documentTransaction"],
},
- },
- "/purchaseOrders": {
- get: {
+ post: {
parameters: [
{
- $ref: "#/parameters/rowFilter.purchaseOrders.id",
+ $ref: "#/parameters/body.documentTransaction",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrders.purchaseOrderId",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrders.revisionId",
+ $ref: "#/parameters/preferPost",
},
+ ],
+ responses: {
+ "201": {
+ description: "Created",
+ },
+ },
+ tags: ["documentTransaction"],
+ },
+ delete: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.purchaseOrders.type",
+ $ref: "#/parameters/rowFilter.documentTransaction.id",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrders.status",
+ $ref: "#/parameters/rowFilter.documentTransaction.documentId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrders.orderDate",
+ $ref: "#/parameters/rowFilter.documentTransaction.type",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrders.notes",
- },
- {
- $ref: "#/parameters/rowFilter.purchaseOrders.supplierId",
- },
- {
- $ref: "#/parameters/rowFilter.purchaseOrders.supplierLocationId",
- },
- {
- $ref: "#/parameters/rowFilter.purchaseOrders.supplierContactId",
- },
- {
- $ref: "#/parameters/rowFilter.purchaseOrders.supplierReference",
- },
- {
- $ref: "#/parameters/rowFilter.purchaseOrders.assignee",
- },
- {
- $ref: "#/parameters/rowFilter.purchaseOrders.companyId",
+ $ref: "#/parameters/rowFilter.documentTransaction.userId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrders.closedAt",
+ $ref: "#/parameters/rowFilter.documentTransaction.createdAt",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrders.closedBy",
+ $ref: "#/parameters/preferReturn",
},
- {
- $ref: "#/parameters/rowFilter.purchaseOrders.customFields",
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
},
+ },
+ tags: ["documentTransaction"],
+ },
+ patch: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.purchaseOrders.createdAt",
+ $ref: "#/parameters/rowFilter.documentTransaction.id",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrders.createdBy",
+ $ref: "#/parameters/rowFilter.documentTransaction.documentId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrders.updatedAt",
+ $ref: "#/parameters/rowFilter.documentTransaction.type",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrders.updatedBy",
+ $ref: "#/parameters/rowFilter.documentTransaction.userId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrders.currencyCode",
+ $ref: "#/parameters/rowFilter.documentTransaction.createdAt",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrders.exchangeRate",
+ $ref: "#/parameters/body.documentTransaction",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrders.exchangeRateUpdatedAt",
+ $ref: "#/parameters/preferReturn",
},
- {
- $ref: "#/parameters/rowFilter.purchaseOrders.shippingMethodName",
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
},
+ },
+ tags: ["documentTransaction"],
+ },
+ },
+ "/materialSubstance": {
+ get: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.purchaseOrders.shippingTermName",
+ $ref: "#/parameters/rowFilter.materialSubstance.id",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrders.paymentTermName",
+ $ref: "#/parameters/rowFilter.materialSubstance.name",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrders.receiptRequestedDate",
+ $ref: "#/parameters/rowFilter.materialSubstance.companyId",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrders.receiptPromisedDate",
+ $ref: "#/parameters/rowFilter.materialSubstance.customFields",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrders.dropShipment",
+ $ref: "#/parameters/rowFilter.materialSubstance.createdBy",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrders.locationId",
+ $ref: "#/parameters/rowFilter.materialSubstance.createdAt",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrders.locationName",
+ $ref: "#/parameters/rowFilter.materialSubstance.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.purchaseOrders.favorite",
+ $ref: "#/parameters/rowFilter.materialSubstance.updatedAt",
},
{
$ref: "#/parameters/select",
@@ -30210,7 +30264,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/purchaseOrders",
+ $ref: "#/definitions/materialSubstance",
},
type: "array",
},
@@ -30219,50 +30273,128 @@ export default {
description: "Partial Content",
},
},
- tags: ["purchaseOrders"],
+ tags: ["materialSubstance"],
},
- },
- "/purchasePayment": {
- get: {
+ post: {
parameters: [
{
- $ref: "#/parameters/rowFilter.purchasePayment.id",
+ $ref: "#/parameters/body.materialSubstance",
},
{
- $ref: "#/parameters/rowFilter.purchasePayment.paymentId",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.purchasePayment.supplierId",
+ $ref: "#/parameters/preferPost",
+ },
+ ],
+ responses: {
+ "201": {
+ description: "Created",
},
+ },
+ tags: ["materialSubstance"],
+ },
+ delete: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.purchasePayment.paymentDate",
+ $ref: "#/parameters/rowFilter.materialSubstance.id",
},
{
- $ref: "#/parameters/rowFilter.purchasePayment.currencyCode",
+ $ref: "#/parameters/rowFilter.materialSubstance.name",
},
{
- $ref: "#/parameters/rowFilter.purchasePayment.exchangeRate",
+ $ref: "#/parameters/rowFilter.materialSubstance.companyId",
},
{
- $ref: "#/parameters/rowFilter.purchasePayment.totalAmount",
+ $ref: "#/parameters/rowFilter.materialSubstance.customFields",
},
{
- $ref: "#/parameters/rowFilter.purchasePayment.companyId",
+ $ref: "#/parameters/rowFilter.materialSubstance.createdBy",
},
{
- $ref: "#/parameters/rowFilter.purchasePayment.createdBy",
+ $ref: "#/parameters/rowFilter.materialSubstance.createdAt",
},
{
- $ref: "#/parameters/rowFilter.purchasePayment.createdAt",
+ $ref: "#/parameters/rowFilter.materialSubstance.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.purchasePayment.updatedBy",
+ $ref: "#/parameters/rowFilter.materialSubstance.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.purchasePayment.updatedAt",
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
+ },
+ },
+ tags: ["materialSubstance"],
+ },
+ patch: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.materialSubstance.id",
},
{
- $ref: "#/parameters/rowFilter.purchasePayment.customFields",
+ $ref: "#/parameters/rowFilter.materialSubstance.name",
+ },
+ {
+ $ref: "#/parameters/rowFilter.materialSubstance.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.materialSubstance.customFields",
+ },
+ {
+ $ref: "#/parameters/rowFilter.materialSubstance.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.materialSubstance.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.materialSubstance.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.materialSubstance.updatedAt",
+ },
+ {
+ $ref: "#/parameters/body.materialSubstance",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
+ },
+ },
+ tags: ["materialSubstance"],
+ },
+ },
+ "/workCenterProcess": {
+ get: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.workCenterProcess.workCenterId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.workCenterProcess.processId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.workCenterProcess.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.workCenterProcess.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.workCenterProcess.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.workCenterProcess.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.workCenterProcess.updatedAt",
},
{
$ref: "#/parameters/select",
@@ -30291,7 +30423,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/purchasePayment",
+ $ref: "#/definitions/workCenterProcess",
},
type: "array",
},
@@ -30300,12 +30432,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["purchasePayment"],
+ tags: ["workCenterProcess"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.purchasePayment",
+ $ref: "#/parameters/body.workCenterProcess",
},
{
$ref: "#/parameters/select",
@@ -30319,48 +30451,30 @@ export default {
description: "Created",
},
},
- tags: ["purchasePayment"],
+ tags: ["workCenterProcess"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.purchasePayment.id",
- },
- {
- $ref: "#/parameters/rowFilter.purchasePayment.paymentId",
- },
- {
- $ref: "#/parameters/rowFilter.purchasePayment.supplierId",
- },
- {
- $ref: "#/parameters/rowFilter.purchasePayment.paymentDate",
- },
- {
- $ref: "#/parameters/rowFilter.purchasePayment.currencyCode",
- },
- {
- $ref: "#/parameters/rowFilter.purchasePayment.exchangeRate",
- },
- {
- $ref: "#/parameters/rowFilter.purchasePayment.totalAmount",
+ $ref: "#/parameters/rowFilter.workCenterProcess.workCenterId",
},
{
- $ref: "#/parameters/rowFilter.purchasePayment.companyId",
+ $ref: "#/parameters/rowFilter.workCenterProcess.processId",
},
{
- $ref: "#/parameters/rowFilter.purchasePayment.createdBy",
+ $ref: "#/parameters/rowFilter.workCenterProcess.companyId",
},
{
- $ref: "#/parameters/rowFilter.purchasePayment.createdAt",
+ $ref: "#/parameters/rowFilter.workCenterProcess.createdBy",
},
{
- $ref: "#/parameters/rowFilter.purchasePayment.updatedBy",
+ $ref: "#/parameters/rowFilter.workCenterProcess.createdAt",
},
{
- $ref: "#/parameters/rowFilter.purchasePayment.updatedAt",
+ $ref: "#/parameters/rowFilter.workCenterProcess.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.purchasePayment.customFields",
+ $ref: "#/parameters/rowFilter.workCenterProcess.updatedAt",
},
{
$ref: "#/parameters/preferReturn",
@@ -30371,51 +30485,33 @@ export default {
description: "No Content",
},
},
- tags: ["purchasePayment"],
+ tags: ["workCenterProcess"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.purchasePayment.id",
- },
- {
- $ref: "#/parameters/rowFilter.purchasePayment.paymentId",
- },
- {
- $ref: "#/parameters/rowFilter.purchasePayment.supplierId",
- },
- {
- $ref: "#/parameters/rowFilter.purchasePayment.paymentDate",
- },
- {
- $ref: "#/parameters/rowFilter.purchasePayment.currencyCode",
- },
- {
- $ref: "#/parameters/rowFilter.purchasePayment.exchangeRate",
- },
- {
- $ref: "#/parameters/rowFilter.purchasePayment.totalAmount",
+ $ref: "#/parameters/rowFilter.workCenterProcess.workCenterId",
},
{
- $ref: "#/parameters/rowFilter.purchasePayment.companyId",
+ $ref: "#/parameters/rowFilter.workCenterProcess.processId",
},
{
- $ref: "#/parameters/rowFilter.purchasePayment.createdBy",
+ $ref: "#/parameters/rowFilter.workCenterProcess.companyId",
},
{
- $ref: "#/parameters/rowFilter.purchasePayment.createdAt",
+ $ref: "#/parameters/rowFilter.workCenterProcess.createdBy",
},
{
- $ref: "#/parameters/rowFilter.purchasePayment.updatedBy",
+ $ref: "#/parameters/rowFilter.workCenterProcess.createdAt",
},
{
- $ref: "#/parameters/rowFilter.purchasePayment.updatedAt",
+ $ref: "#/parameters/rowFilter.workCenterProcess.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.purchasePayment.customFields",
+ $ref: "#/parameters/rowFilter.workCenterProcess.updatedAt",
},
{
- $ref: "#/parameters/body.purchasePayment",
+ $ref: "#/parameters/body.workCenterProcess",
},
{
$ref: "#/parameters/preferReturn",
@@ -30426,74 +30522,59 @@ export default {
description: "No Content",
},
},
- tags: ["purchasePayment"],
+ tags: ["workCenterProcess"],
},
},
- "/customers": {
+ "/partners": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.customers.id",
- },
- {
- $ref: "#/parameters/rowFilter.customers.name",
- },
- {
- $ref: "#/parameters/rowFilter.customers.customerTypeId",
- },
- {
- $ref: "#/parameters/rowFilter.customers.customerStatusId",
- },
- {
- $ref: "#/parameters/rowFilter.customers.taxId",
- },
- {
- $ref: "#/parameters/rowFilter.customers.accountManagerId",
+ $ref: "#/parameters/rowFilter.partners.id",
},
{
- $ref: "#/parameters/rowFilter.customers.logo",
+ $ref: "#/parameters/rowFilter.partners.hoursPerWeek",
},
{
- $ref: "#/parameters/rowFilter.customers.assignee",
+ $ref: "#/parameters/rowFilter.partners.abilityId",
},
{
- $ref: "#/parameters/rowFilter.customers.companyId",
+ $ref: "#/parameters/rowFilter.partners.active",
},
{
- $ref: "#/parameters/rowFilter.customers.createdAt",
+ $ref: "#/parameters/rowFilter.partners.companyId",
},
{
- $ref: "#/parameters/rowFilter.customers.createdBy",
+ $ref: "#/parameters/rowFilter.partners.createdBy",
},
{
- $ref: "#/parameters/rowFilter.customers.updatedAt",
+ $ref: "#/parameters/rowFilter.partners.createdAt",
},
{
- $ref: "#/parameters/rowFilter.customers.updatedBy",
+ $ref: "#/parameters/rowFilter.partners.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.customers.customFields",
+ $ref: "#/parameters/rowFilter.partners.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.customers.currencyCode",
+ $ref: "#/parameters/rowFilter.partners.customFields",
},
{
- $ref: "#/parameters/rowFilter.customers.phone",
+ $ref: "#/parameters/rowFilter.partners.supplierLocationId",
},
{
- $ref: "#/parameters/rowFilter.customers.fax",
+ $ref: "#/parameters/rowFilter.partners.abilityName",
},
{
- $ref: "#/parameters/rowFilter.customers.website",
+ $ref: "#/parameters/rowFilter.partners.supplierId",
},
{
- $ref: "#/parameters/rowFilter.customers.type",
+ $ref: "#/parameters/rowFilter.partners.supplierName",
},
{
- $ref: "#/parameters/rowFilter.customers.status",
+ $ref: "#/parameters/rowFilter.partners.city",
},
{
- $ref: "#/parameters/rowFilter.customers.orderCount",
+ $ref: "#/parameters/rowFilter.partners.state",
},
{
$ref: "#/parameters/select",
@@ -30522,7 +30603,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/customers",
+ $ref: "#/definitions/partners",
},
type: "array",
},
@@ -30531,17 +30612,44 @@ export default {
description: "Partial Content",
},
},
- tags: ["customers"],
+ tags: ["partners"],
},
},
- "/salesOrderFavorite": {
+ "/consumable": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.salesOrderFavorite.salesOrderId",
+ $ref: "#/parameters/rowFilter.consumable.id",
},
{
- $ref: "#/parameters/rowFilter.salesOrderFavorite.userId",
+ $ref: "#/parameters/rowFilter.consumable.itemId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.consumable.approved",
+ },
+ {
+ $ref: "#/parameters/rowFilter.consumable.approvedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.consumable.customFields",
+ },
+ {
+ $ref: "#/parameters/rowFilter.consumable.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.consumable.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.consumable.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.consumable.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.consumable.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.consumable.externalId",
},
{
$ref: "#/parameters/select",
@@ -30570,7 +30678,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/salesOrderFavorite",
+ $ref: "#/definitions/consumable",
},
type: "array",
},
@@ -30579,12 +30687,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["salesOrderFavorite"],
+ tags: ["consumable"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.salesOrderFavorite",
+ $ref: "#/parameters/body.consumable",
},
{
$ref: "#/parameters/select",
@@ -30598,15 +30706,42 @@ export default {
description: "Created",
},
},
- tags: ["salesOrderFavorite"],
+ tags: ["consumable"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.salesOrderFavorite.salesOrderId",
+ $ref: "#/parameters/rowFilter.consumable.id",
},
{
- $ref: "#/parameters/rowFilter.salesOrderFavorite.userId",
+ $ref: "#/parameters/rowFilter.consumable.itemId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.consumable.approved",
+ },
+ {
+ $ref: "#/parameters/rowFilter.consumable.approvedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.consumable.customFields",
+ },
+ {
+ $ref: "#/parameters/rowFilter.consumable.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.consumable.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.consumable.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.consumable.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.consumable.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.consumable.externalId",
},
{
$ref: "#/parameters/preferReturn",
@@ -30617,18 +30752,45 @@ export default {
description: "No Content",
},
},
- tags: ["salesOrderFavorite"],
+ tags: ["consumable"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.salesOrderFavorite.salesOrderId",
+ $ref: "#/parameters/rowFilter.consumable.id",
},
{
- $ref: "#/parameters/rowFilter.salesOrderFavorite.userId",
+ $ref: "#/parameters/rowFilter.consumable.itemId",
},
{
- $ref: "#/parameters/body.salesOrderFavorite",
+ $ref: "#/parameters/rowFilter.consumable.approved",
+ },
+ {
+ $ref: "#/parameters/rowFilter.consumable.approvedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.consumable.customFields",
+ },
+ {
+ $ref: "#/parameters/rowFilter.consumable.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.consumable.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.consumable.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.consumable.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.consumable.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.consumable.externalId",
+ },
+ {
+ $ref: "#/parameters/body.consumable",
},
{
$ref: "#/parameters/preferReturn",
@@ -30639,47 +30801,62 @@ export default {
description: "No Content",
},
},
- tags: ["salesOrderFavorite"],
+ tags: ["consumable"],
},
},
- "/fixture": {
+ "/location": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.fixture.id",
+ $ref: "#/parameters/rowFilter.location.id",
},
{
- $ref: "#/parameters/rowFilter.fixture.itemId",
+ $ref: "#/parameters/rowFilter.location.name",
},
{
- $ref: "#/parameters/rowFilter.fixture.customerId",
+ $ref: "#/parameters/rowFilter.location.addressLine1",
},
{
- $ref: "#/parameters/rowFilter.fixture.approved",
+ $ref: "#/parameters/rowFilter.location.addressLine2",
},
{
- $ref: "#/parameters/rowFilter.fixture.approvedBy",
+ $ref: "#/parameters/rowFilter.location.city",
},
{
- $ref: "#/parameters/rowFilter.fixture.customFields",
+ $ref: "#/parameters/rowFilter.location.stateProvince",
},
{
- $ref: "#/parameters/rowFilter.fixture.companyId",
+ $ref: "#/parameters/rowFilter.location.postalCode",
},
{
- $ref: "#/parameters/rowFilter.fixture.createdBy",
+ $ref: "#/parameters/rowFilter.location.countryCode",
},
{
- $ref: "#/parameters/rowFilter.fixture.createdAt",
+ $ref: "#/parameters/rowFilter.location.timezone",
},
{
- $ref: "#/parameters/rowFilter.fixture.updatedBy",
+ $ref: "#/parameters/rowFilter.location.latitude",
},
{
- $ref: "#/parameters/rowFilter.fixture.updatedAt",
+ $ref: "#/parameters/rowFilter.location.longitude",
},
{
- $ref: "#/parameters/rowFilter.fixture.externalId",
+ $ref: "#/parameters/rowFilter.location.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.location.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.location.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.location.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.location.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.location.customFields",
},
{
$ref: "#/parameters/select",
@@ -30708,7 +30885,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/fixture",
+ $ref: "#/definitions/location",
},
type: "array",
},
@@ -30717,12 +30894,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["fixture"],
+ tags: ["location"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.fixture",
+ $ref: "#/parameters/body.location",
},
{
$ref: "#/parameters/select",
@@ -30736,163 +30913,163 @@ export default {
description: "Created",
},
},
- tags: ["fixture"],
+ tags: ["location"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.fixture.id",
+ $ref: "#/parameters/rowFilter.location.id",
},
{
- $ref: "#/parameters/rowFilter.fixture.itemId",
+ $ref: "#/parameters/rowFilter.location.name",
},
{
- $ref: "#/parameters/rowFilter.fixture.customerId",
+ $ref: "#/parameters/rowFilter.location.addressLine1",
},
{
- $ref: "#/parameters/rowFilter.fixture.approved",
+ $ref: "#/parameters/rowFilter.location.addressLine2",
},
{
- $ref: "#/parameters/rowFilter.fixture.approvedBy",
+ $ref: "#/parameters/rowFilter.location.city",
},
{
- $ref: "#/parameters/rowFilter.fixture.customFields",
+ $ref: "#/parameters/rowFilter.location.stateProvince",
},
{
- $ref: "#/parameters/rowFilter.fixture.companyId",
+ $ref: "#/parameters/rowFilter.location.postalCode",
},
{
- $ref: "#/parameters/rowFilter.fixture.createdBy",
+ $ref: "#/parameters/rowFilter.location.countryCode",
},
{
- $ref: "#/parameters/rowFilter.fixture.createdAt",
+ $ref: "#/parameters/rowFilter.location.timezone",
},
{
- $ref: "#/parameters/rowFilter.fixture.updatedBy",
+ $ref: "#/parameters/rowFilter.location.latitude",
},
{
- $ref: "#/parameters/rowFilter.fixture.updatedAt",
+ $ref: "#/parameters/rowFilter.location.longitude",
},
{
- $ref: "#/parameters/rowFilter.fixture.externalId",
+ $ref: "#/parameters/rowFilter.location.companyId",
},
{
- $ref: "#/parameters/preferReturn",
- },
- ],
- responses: {
- "204": {
- description: "No Content",
+ $ref: "#/parameters/rowFilter.location.createdBy",
},
- },
- tags: ["fixture"],
- },
- patch: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.fixture.id",
+ $ref: "#/parameters/rowFilter.location.createdAt",
},
{
- $ref: "#/parameters/rowFilter.fixture.itemId",
+ $ref: "#/parameters/rowFilter.location.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.fixture.customerId",
+ $ref: "#/parameters/rowFilter.location.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.fixture.approved",
+ $ref: "#/parameters/rowFilter.location.customFields",
},
{
- $ref: "#/parameters/rowFilter.fixture.approvedBy",
+ $ref: "#/parameters/preferReturn",
},
- {
- $ref: "#/parameters/rowFilter.fixture.customFields",
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
},
+ },
+ tags: ["location"],
+ },
+ patch: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.fixture.companyId",
+ $ref: "#/parameters/rowFilter.location.id",
},
{
- $ref: "#/parameters/rowFilter.fixture.createdBy",
+ $ref: "#/parameters/rowFilter.location.name",
},
{
- $ref: "#/parameters/rowFilter.fixture.createdAt",
+ $ref: "#/parameters/rowFilter.location.addressLine1",
},
{
- $ref: "#/parameters/rowFilter.fixture.updatedBy",
+ $ref: "#/parameters/rowFilter.location.addressLine2",
},
{
- $ref: "#/parameters/rowFilter.fixture.updatedAt",
+ $ref: "#/parameters/rowFilter.location.city",
},
{
- $ref: "#/parameters/rowFilter.fixture.externalId",
+ $ref: "#/parameters/rowFilter.location.stateProvince",
},
{
- $ref: "#/parameters/body.fixture",
+ $ref: "#/parameters/rowFilter.location.postalCode",
},
{
- $ref: "#/parameters/preferReturn",
+ $ref: "#/parameters/rowFilter.location.countryCode",
},
- ],
- responses: {
- "204": {
- description: "No Content",
+ {
+ $ref: "#/parameters/rowFilter.location.timezone",
},
- },
- tags: ["fixture"],
- },
- },
- "/document": {
- get: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.document.id",
+ $ref: "#/parameters/rowFilter.location.latitude",
},
{
- $ref: "#/parameters/rowFilter.document.path",
+ $ref: "#/parameters/rowFilter.location.longitude",
},
{
- $ref: "#/parameters/rowFilter.document.name",
+ $ref: "#/parameters/rowFilter.location.companyId",
},
{
- $ref: "#/parameters/rowFilter.document.description",
+ $ref: "#/parameters/rowFilter.location.createdBy",
},
{
- $ref: "#/parameters/rowFilter.document.size",
+ $ref: "#/parameters/rowFilter.location.createdAt",
},
{
- $ref: "#/parameters/rowFilter.document.extension",
+ $ref: "#/parameters/rowFilter.location.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.document.type",
+ $ref: "#/parameters/rowFilter.location.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.document.readGroups",
+ $ref: "#/parameters/rowFilter.location.customFields",
},
{
- $ref: "#/parameters/rowFilter.document.writeGroups",
+ $ref: "#/parameters/body.location",
},
{
- $ref: "#/parameters/rowFilter.document.active",
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
},
+ },
+ tags: ["location"],
+ },
+ },
+ "/employeeAbility": {
+ get: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.document.companyId",
+ $ref: "#/parameters/rowFilter.employeeAbility.id",
},
{
- $ref: "#/parameters/rowFilter.document.createdBy",
+ $ref: "#/parameters/rowFilter.employeeAbility.employeeId",
},
{
- $ref: "#/parameters/rowFilter.document.createdAt",
+ $ref: "#/parameters/rowFilter.employeeAbility.abilityId",
},
{
- $ref: "#/parameters/rowFilter.document.updatedBy",
+ $ref: "#/parameters/rowFilter.employeeAbility.active",
},
{
- $ref: "#/parameters/rowFilter.document.updatedAt",
+ $ref: "#/parameters/rowFilter.employeeAbility.lastTrainingDate",
},
{
- $ref: "#/parameters/rowFilter.document.sourceDocument",
+ $ref: "#/parameters/rowFilter.employeeAbility.trainingDays",
},
{
- $ref: "#/parameters/rowFilter.document.sourceDocumentId",
+ $ref: "#/parameters/rowFilter.employeeAbility.trainingCompleted",
},
{
$ref: "#/parameters/select",
@@ -30921,7 +31098,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/document",
+ $ref: "#/definitions/employeeAbility",
},
type: "array",
},
@@ -30930,12 +31107,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["document"],
+ tags: ["employeeAbility"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.document",
+ $ref: "#/parameters/body.employeeAbility",
},
{
$ref: "#/parameters/select",
@@ -30949,60 +31126,67 @@ export default {
description: "Created",
},
},
- tags: ["document"],
+ tags: ["employeeAbility"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.document.id",
+ $ref: "#/parameters/rowFilter.employeeAbility.id",
},
{
- $ref: "#/parameters/rowFilter.document.path",
+ $ref: "#/parameters/rowFilter.employeeAbility.employeeId",
},
{
- $ref: "#/parameters/rowFilter.document.name",
+ $ref: "#/parameters/rowFilter.employeeAbility.abilityId",
},
{
- $ref: "#/parameters/rowFilter.document.description",
+ $ref: "#/parameters/rowFilter.employeeAbility.active",
},
{
- $ref: "#/parameters/rowFilter.document.size",
+ $ref: "#/parameters/rowFilter.employeeAbility.lastTrainingDate",
},
{
- $ref: "#/parameters/rowFilter.document.extension",
+ $ref: "#/parameters/rowFilter.employeeAbility.trainingDays",
},
{
- $ref: "#/parameters/rowFilter.document.type",
+ $ref: "#/parameters/rowFilter.employeeAbility.trainingCompleted",
},
{
- $ref: "#/parameters/rowFilter.document.readGroups",
+ $ref: "#/parameters/preferReturn",
},
- {
- $ref: "#/parameters/rowFilter.document.writeGroups",
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
},
+ },
+ tags: ["employeeAbility"],
+ },
+ patch: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.document.active",
+ $ref: "#/parameters/rowFilter.employeeAbility.id",
},
{
- $ref: "#/parameters/rowFilter.document.companyId",
+ $ref: "#/parameters/rowFilter.employeeAbility.employeeId",
},
{
- $ref: "#/parameters/rowFilter.document.createdBy",
+ $ref: "#/parameters/rowFilter.employeeAbility.abilityId",
},
{
- $ref: "#/parameters/rowFilter.document.createdAt",
+ $ref: "#/parameters/rowFilter.employeeAbility.active",
},
{
- $ref: "#/parameters/rowFilter.document.updatedBy",
+ $ref: "#/parameters/rowFilter.employeeAbility.lastTrainingDate",
},
{
- $ref: "#/parameters/rowFilter.document.updatedAt",
+ $ref: "#/parameters/rowFilter.employeeAbility.trainingDays",
},
{
- $ref: "#/parameters/rowFilter.document.sourceDocument",
+ $ref: "#/parameters/rowFilter.employeeAbility.trainingCompleted",
},
{
- $ref: "#/parameters/rowFilter.document.sourceDocumentId",
+ $ref: "#/parameters/body.employeeAbility",
},
{
$ref: "#/parameters/preferReturn",
@@ -31013,135 +31197,101 @@ export default {
description: "No Content",
},
},
- tags: ["document"],
+ tags: ["employeeAbility"],
},
- patch: {
+ },
+ "/quoteOperation": {
+ get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.document.id",
- },
- {
- $ref: "#/parameters/rowFilter.document.path",
- },
- {
- $ref: "#/parameters/rowFilter.document.name",
- },
- {
- $ref: "#/parameters/rowFilter.document.description",
- },
- {
- $ref: "#/parameters/rowFilter.document.size",
- },
- {
- $ref: "#/parameters/rowFilter.document.extension",
- },
- {
- $ref: "#/parameters/rowFilter.document.type",
- },
- {
- $ref: "#/parameters/rowFilter.document.readGroups",
- },
- {
- $ref: "#/parameters/rowFilter.document.writeGroups",
+ $ref: "#/parameters/rowFilter.quoteOperation.id",
},
{
- $ref: "#/parameters/rowFilter.document.active",
+ $ref: "#/parameters/rowFilter.quoteOperation.quoteId",
},
{
- $ref: "#/parameters/rowFilter.document.companyId",
+ $ref: "#/parameters/rowFilter.quoteOperation.quoteLineId",
},
{
- $ref: "#/parameters/rowFilter.document.createdBy",
+ $ref: "#/parameters/rowFilter.quoteOperation.quoteMakeMethodId",
},
{
- $ref: "#/parameters/rowFilter.document.createdAt",
+ $ref: "#/parameters/rowFilter.quoteOperation.order",
},
{
- $ref: "#/parameters/rowFilter.document.updatedBy",
+ $ref: "#/parameters/rowFilter.quoteOperation.description",
},
{
- $ref: "#/parameters/rowFilter.document.updatedAt",
+ $ref: "#/parameters/rowFilter.quoteOperation.operationOrder",
},
{
- $ref: "#/parameters/rowFilter.document.sourceDocument",
+ $ref: "#/parameters/rowFilter.quoteOperation.laborRate",
},
{
- $ref: "#/parameters/rowFilter.document.sourceDocumentId",
+ $ref: "#/parameters/rowFilter.quoteOperation.overheadRate",
},
{
- $ref: "#/parameters/body.document",
+ $ref: "#/parameters/rowFilter.quoteOperation.companyId",
},
{
- $ref: "#/parameters/preferReturn",
- },
- ],
- responses: {
- "204": {
- description: "No Content",
+ $ref: "#/parameters/rowFilter.quoteOperation.createdAt",
},
- },
- tags: ["document"],
- },
- },
- "/receipts": {
- get: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.receipts.id",
+ $ref: "#/parameters/rowFilter.quoteOperation.createdBy",
},
{
- $ref: "#/parameters/rowFilter.receipts.receiptId",
+ $ref: "#/parameters/rowFilter.quoteOperation.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.receipts.locationId",
+ $ref: "#/parameters/rowFilter.quoteOperation.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.receipts.sourceDocument",
+ $ref: "#/parameters/rowFilter.quoteOperation.customFields",
},
{
- $ref: "#/parameters/rowFilter.receipts.sourceDocumentId",
+ $ref: "#/parameters/rowFilter.quoteOperation.processId",
},
{
- $ref: "#/parameters/rowFilter.receipts.sourceDocumentReadableId",
+ $ref: "#/parameters/rowFilter.quoteOperation.workCenterId",
},
{
- $ref: "#/parameters/rowFilter.receipts.externalDocumentId",
+ $ref: "#/parameters/rowFilter.quoteOperation.setupTime",
},
{
- $ref: "#/parameters/rowFilter.receipts.supplierId",
+ $ref: "#/parameters/rowFilter.quoteOperation.setupUnit",
},
{
- $ref: "#/parameters/rowFilter.receipts.status",
+ $ref: "#/parameters/rowFilter.quoteOperation.laborTime",
},
{
- $ref: "#/parameters/rowFilter.receipts.postingDate",
+ $ref: "#/parameters/rowFilter.quoteOperation.laborUnit",
},
{
- $ref: "#/parameters/rowFilter.receipts.invoiced",
+ $ref: "#/parameters/rowFilter.quoteOperation.machineTime",
},
{
- $ref: "#/parameters/rowFilter.receipts.assignee",
+ $ref: "#/parameters/rowFilter.quoteOperation.machineUnit",
},
{
- $ref: "#/parameters/rowFilter.receipts.companyId",
+ $ref: "#/parameters/rowFilter.quoteOperation.machineRate",
},
{
- $ref: "#/parameters/rowFilter.receipts.createdAt",
+ $ref: "#/parameters/rowFilter.quoteOperation.operationType",
},
{
- $ref: "#/parameters/rowFilter.receipts.createdBy",
+ $ref: "#/parameters/rowFilter.quoteOperation.operationMinimumCost",
},
{
- $ref: "#/parameters/rowFilter.receipts.updatedAt",
+ $ref: "#/parameters/rowFilter.quoteOperation.operationLeadTime",
},
{
- $ref: "#/parameters/rowFilter.receipts.updatedBy",
+ $ref: "#/parameters/rowFilter.quoteOperation.operationUnitCost",
},
{
- $ref: "#/parameters/rowFilter.receipts.customFields",
+ $ref: "#/parameters/rowFilter.quoteOperation.operationSupplierProcessId",
},
{
- $ref: "#/parameters/rowFilter.receipts.locationName",
+ $ref: "#/parameters/rowFilter.quoteOperation.workInstruction",
},
{
$ref: "#/parameters/select",
@@ -31170,7 +31320,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/receipts",
+ $ref: "#/definitions/quoteOperation",
},
type: "array",
},
@@ -31179,158 +31329,118 @@ export default {
description: "Partial Content",
},
},
- tags: ["receipts"],
+ tags: ["quoteOperation"],
},
- },
- "/attributeDataType": {
- get: {
+ post: {
parameters: [
{
- $ref: "#/parameters/rowFilter.attributeDataType.id",
- },
- {
- $ref: "#/parameters/rowFilter.attributeDataType.label",
- },
- {
- $ref: "#/parameters/rowFilter.attributeDataType.isBoolean",
+ $ref: "#/parameters/body.quoteOperation",
},
{
- $ref: "#/parameters/rowFilter.attributeDataType.isDate",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.attributeDataType.isList",
+ $ref: "#/parameters/preferPost",
},
- {
- $ref: "#/parameters/rowFilter.attributeDataType.isNumeric",
+ ],
+ responses: {
+ "201": {
+ description: "Created",
},
+ },
+ tags: ["quoteOperation"],
+ },
+ delete: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.attributeDataType.isText",
+ $ref: "#/parameters/rowFilter.quoteOperation.id",
},
{
- $ref: "#/parameters/rowFilter.attributeDataType.isUser",
+ $ref: "#/parameters/rowFilter.quoteOperation.quoteId",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.quoteOperation.quoteLineId",
},
{
- $ref: "#/parameters/order",
+ $ref: "#/parameters/rowFilter.quoteOperation.quoteMakeMethodId",
},
{
- $ref: "#/parameters/range",
+ $ref: "#/parameters/rowFilter.quoteOperation.order",
},
{
- $ref: "#/parameters/rangeUnit",
+ $ref: "#/parameters/rowFilter.quoteOperation.description",
},
{
- $ref: "#/parameters/offset",
+ $ref: "#/parameters/rowFilter.quoteOperation.operationOrder",
},
{
- $ref: "#/parameters/limit",
+ $ref: "#/parameters/rowFilter.quoteOperation.laborRate",
},
{
- $ref: "#/parameters/preferCount",
- },
- ],
- responses: {
- "200": {
- description: "OK",
- schema: {
- items: {
- $ref: "#/definitions/attributeDataType",
- },
- type: "array",
- },
- },
- "206": {
- description: "Partial Content",
+ $ref: "#/parameters/rowFilter.quoteOperation.overheadRate",
},
- },
- tags: ["attributeDataType"],
- },
- post: {
- parameters: [
{
- $ref: "#/parameters/body.attributeDataType",
+ $ref: "#/parameters/rowFilter.quoteOperation.companyId",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.quoteOperation.createdAt",
},
{
- $ref: "#/parameters/preferPost",
- },
- ],
- responses: {
- "201": {
- description: "Created",
+ $ref: "#/parameters/rowFilter.quoteOperation.createdBy",
},
- },
- tags: ["attributeDataType"],
- },
- delete: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.attributeDataType.id",
+ $ref: "#/parameters/rowFilter.quoteOperation.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.attributeDataType.label",
+ $ref: "#/parameters/rowFilter.quoteOperation.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.attributeDataType.isBoolean",
+ $ref: "#/parameters/rowFilter.quoteOperation.customFields",
},
{
- $ref: "#/parameters/rowFilter.attributeDataType.isDate",
+ $ref: "#/parameters/rowFilter.quoteOperation.processId",
},
{
- $ref: "#/parameters/rowFilter.attributeDataType.isList",
+ $ref: "#/parameters/rowFilter.quoteOperation.workCenterId",
},
{
- $ref: "#/parameters/rowFilter.attributeDataType.isNumeric",
+ $ref: "#/parameters/rowFilter.quoteOperation.setupTime",
},
{
- $ref: "#/parameters/rowFilter.attributeDataType.isText",
+ $ref: "#/parameters/rowFilter.quoteOperation.setupUnit",
},
{
- $ref: "#/parameters/rowFilter.attributeDataType.isUser",
+ $ref: "#/parameters/rowFilter.quoteOperation.laborTime",
},
{
- $ref: "#/parameters/preferReturn",
- },
- ],
- responses: {
- "204": {
- description: "No Content",
+ $ref: "#/parameters/rowFilter.quoteOperation.laborUnit",
},
- },
- tags: ["attributeDataType"],
- },
- patch: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.attributeDataType.id",
+ $ref: "#/parameters/rowFilter.quoteOperation.machineTime",
},
{
- $ref: "#/parameters/rowFilter.attributeDataType.label",
+ $ref: "#/parameters/rowFilter.quoteOperation.machineUnit",
},
{
- $ref: "#/parameters/rowFilter.attributeDataType.isBoolean",
+ $ref: "#/parameters/rowFilter.quoteOperation.machineRate",
},
{
- $ref: "#/parameters/rowFilter.attributeDataType.isDate",
+ $ref: "#/parameters/rowFilter.quoteOperation.operationType",
},
{
- $ref: "#/parameters/rowFilter.attributeDataType.isList",
+ $ref: "#/parameters/rowFilter.quoteOperation.operationMinimumCost",
},
{
- $ref: "#/parameters/rowFilter.attributeDataType.isNumeric",
+ $ref: "#/parameters/rowFilter.quoteOperation.operationLeadTime",
},
{
- $ref: "#/parameters/rowFilter.attributeDataType.isText",
+ $ref: "#/parameters/rowFilter.quoteOperation.operationUnitCost",
},
{
- $ref: "#/parameters/rowFilter.attributeDataType.isUser",
+ $ref: "#/parameters/rowFilter.quoteOperation.operationSupplierProcessId",
},
{
- $ref: "#/parameters/body.attributeDataType",
+ $ref: "#/parameters/rowFilter.quoteOperation.workInstruction",
},
{
$ref: "#/parameters/preferReturn",
@@ -31341,302 +31451,302 @@ export default {
description: "No Content",
},
},
- tags: ["attributeDataType"],
+ tags: ["quoteOperation"],
},
- },
- "/quoteLine": {
- get: {
+ patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.quoteLine.id",
+ $ref: "#/parameters/rowFilter.quoteOperation.id",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.quoteId",
+ $ref: "#/parameters/rowFilter.quoteOperation.quoteId",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.quoteRevisionId",
+ $ref: "#/parameters/rowFilter.quoteOperation.quoteLineId",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.status",
+ $ref: "#/parameters/rowFilter.quoteOperation.quoteMakeMethodId",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.estimatorId",
+ $ref: "#/parameters/rowFilter.quoteOperation.order",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.itemId",
+ $ref: "#/parameters/rowFilter.quoteOperation.description",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.itemReadableId",
+ $ref: "#/parameters/rowFilter.quoteOperation.operationOrder",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.itemType",
+ $ref: "#/parameters/rowFilter.quoteOperation.laborRate",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.description",
+ $ref: "#/parameters/rowFilter.quoteOperation.overheadRate",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.customerPartId",
+ $ref: "#/parameters/rowFilter.quoteOperation.companyId",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.customerPartRevision",
+ $ref: "#/parameters/rowFilter.quoteOperation.createdAt",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.methodType",
+ $ref: "#/parameters/rowFilter.quoteOperation.createdBy",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.unitOfMeasureCode",
+ $ref: "#/parameters/rowFilter.quoteOperation.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.notes",
+ $ref: "#/parameters/rowFilter.quoteOperation.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.companyId",
+ $ref: "#/parameters/rowFilter.quoteOperation.customFields",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.createdBy",
+ $ref: "#/parameters/rowFilter.quoteOperation.processId",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.updatedAt",
+ $ref: "#/parameters/rowFilter.quoteOperation.workCenterId",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.updatedBy",
+ $ref: "#/parameters/rowFilter.quoteOperation.setupTime",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.customFields",
+ $ref: "#/parameters/rowFilter.quoteOperation.setupUnit",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.modelUploadId",
+ $ref: "#/parameters/rowFilter.quoteOperation.laborTime",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.quantity",
+ $ref: "#/parameters/rowFilter.quoteOperation.laborUnit",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.additionalCharges",
+ $ref: "#/parameters/rowFilter.quoteOperation.machineTime",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.locationId",
+ $ref: "#/parameters/rowFilter.quoteOperation.machineUnit",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.noQuoteReason",
+ $ref: "#/parameters/rowFilter.quoteOperation.machineRate",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.quoteOperation.operationType",
},
{
- $ref: "#/parameters/order",
+ $ref: "#/parameters/rowFilter.quoteOperation.operationMinimumCost",
},
{
- $ref: "#/parameters/range",
+ $ref: "#/parameters/rowFilter.quoteOperation.operationLeadTime",
},
{
- $ref: "#/parameters/rangeUnit",
+ $ref: "#/parameters/rowFilter.quoteOperation.operationUnitCost",
},
{
- $ref: "#/parameters/offset",
+ $ref: "#/parameters/rowFilter.quoteOperation.operationSupplierProcessId",
},
{
- $ref: "#/parameters/limit",
+ $ref: "#/parameters/rowFilter.quoteOperation.workInstruction",
},
{
- $ref: "#/parameters/preferCount",
+ $ref: "#/parameters/body.quoteOperation",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
},
],
responses: {
- "200": {
- description: "OK",
- schema: {
- items: {
- $ref: "#/definitions/quoteLine",
- },
- type: "array",
- },
- },
- "206": {
- description: "Partial Content",
+ "204": {
+ description: "No Content",
},
},
- tags: ["quoteLine"],
+ tags: ["quoteOperation"],
},
- post: {
+ },
+ "/salesRfq": {
+ get: {
parameters: [
{
- $ref: "#/parameters/body.quoteLine",
+ $ref: "#/parameters/rowFilter.salesRfq.id",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.salesRfq.rfqId",
},
{
- $ref: "#/parameters/preferPost",
- },
- ],
- responses: {
- "201": {
- description: "Created",
+ $ref: "#/parameters/rowFilter.salesRfq.revisionId",
},
- },
- tags: ["quoteLine"],
- },
- delete: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.quoteLine.id",
+ $ref: "#/parameters/rowFilter.salesRfq.status",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.quoteId",
+ $ref: "#/parameters/rowFilter.salesRfq.employeeId",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.quoteRevisionId",
+ $ref: "#/parameters/rowFilter.salesRfq.customerId",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.status",
+ $ref: "#/parameters/rowFilter.salesRfq.customerContactId",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.estimatorId",
+ $ref: "#/parameters/rowFilter.salesRfq.customerReference",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.itemId",
+ $ref: "#/parameters/rowFilter.salesRfq.rfqDate",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.itemReadableId",
+ $ref: "#/parameters/rowFilter.salesRfq.expirationDate",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.itemType",
+ $ref: "#/parameters/rowFilter.salesRfq.locationId",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.description",
+ $ref: "#/parameters/rowFilter.salesRfq.assignee",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.customerPartId",
+ $ref: "#/parameters/rowFilter.salesRfq.companyId",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.customerPartRevision",
+ $ref: "#/parameters/rowFilter.salesRfq.customFields",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.methodType",
+ $ref: "#/parameters/rowFilter.salesRfq.createdAt",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.unitOfMeasureCode",
+ $ref: "#/parameters/rowFilter.salesRfq.createdBy",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.notes",
+ $ref: "#/parameters/rowFilter.salesRfq.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.companyId",
+ $ref: "#/parameters/rowFilter.salesRfq.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.createdBy",
+ $ref: "#/parameters/rowFilter.salesRfq.customerLocationId",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.updatedAt",
+ $ref: "#/parameters/rowFilter.salesRfq.externalNotes",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.updatedBy",
+ $ref: "#/parameters/rowFilter.salesRfq.internalNotes",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.customFields",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.modelUploadId",
+ $ref: "#/parameters/order",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.quantity",
+ $ref: "#/parameters/range",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.additionalCharges",
+ $ref: "#/parameters/rangeUnit",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.locationId",
+ $ref: "#/parameters/offset",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.noQuoteReason",
+ $ref: "#/parameters/limit",
},
{
- $ref: "#/parameters/preferReturn",
+ $ref: "#/parameters/preferCount",
},
],
responses: {
- "204": {
- description: "No Content",
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/salesRfq",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
},
},
- tags: ["quoteLine"],
+ tags: ["salesRfq"],
},
- patch: {
+ post: {
parameters: [
{
- $ref: "#/parameters/rowFilter.quoteLine.id",
+ $ref: "#/parameters/body.salesRfq",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.quoteId",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.quoteRevisionId",
+ $ref: "#/parameters/preferPost",
},
- {
- $ref: "#/parameters/rowFilter.quoteLine.status",
+ ],
+ responses: {
+ "201": {
+ description: "Created",
},
+ },
+ tags: ["salesRfq"],
+ },
+ delete: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.quoteLine.estimatorId",
+ $ref: "#/parameters/rowFilter.salesRfq.id",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.itemId",
+ $ref: "#/parameters/rowFilter.salesRfq.rfqId",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.itemReadableId",
+ $ref: "#/parameters/rowFilter.salesRfq.revisionId",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.itemType",
+ $ref: "#/parameters/rowFilter.salesRfq.status",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.description",
+ $ref: "#/parameters/rowFilter.salesRfq.employeeId",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.customerPartId",
+ $ref: "#/parameters/rowFilter.salesRfq.customerId",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.customerPartRevision",
+ $ref: "#/parameters/rowFilter.salesRfq.customerContactId",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.methodType",
+ $ref: "#/parameters/rowFilter.salesRfq.customerReference",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.unitOfMeasureCode",
+ $ref: "#/parameters/rowFilter.salesRfq.rfqDate",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.notes",
+ $ref: "#/parameters/rowFilter.salesRfq.expirationDate",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.companyId",
+ $ref: "#/parameters/rowFilter.salesRfq.locationId",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.createdBy",
+ $ref: "#/parameters/rowFilter.salesRfq.assignee",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.updatedAt",
+ $ref: "#/parameters/rowFilter.salesRfq.companyId",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.updatedBy",
+ $ref: "#/parameters/rowFilter.salesRfq.customFields",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.customFields",
+ $ref: "#/parameters/rowFilter.salesRfq.createdAt",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.modelUploadId",
+ $ref: "#/parameters/rowFilter.salesRfq.createdBy",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.quantity",
+ $ref: "#/parameters/rowFilter.salesRfq.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.additionalCharges",
+ $ref: "#/parameters/rowFilter.salesRfq.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.locationId",
+ $ref: "#/parameters/rowFilter.salesRfq.customerLocationId",
},
{
- $ref: "#/parameters/rowFilter.quoteLine.noQuoteReason",
+ $ref: "#/parameters/rowFilter.salesRfq.externalNotes",
},
{
- $ref: "#/parameters/body.quoteLine",
+ $ref: "#/parameters/rowFilter.salesRfq.internalNotes",
},
{
$ref: "#/parameters/preferReturn",
@@ -31647,152 +31757,129 @@ export default {
description: "No Content",
},
},
- tags: ["quoteLine"],
+ tags: ["salesRfq"],
},
- },
- "/jobMaterialWithMakeMethodId": {
- get: {
+ patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.id",
- },
- {
- $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.jobId",
- },
- {
- $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.itemId",
- },
- {
- $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.itemReadableId",
- },
- {
- $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.itemType",
- },
- {
- $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.methodType",
- },
- {
- $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.order",
+ $ref: "#/parameters/rowFilter.salesRfq.id",
},
{
- $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.description",
+ $ref: "#/parameters/rowFilter.salesRfq.rfqId",
},
{
- $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.quantity",
+ $ref: "#/parameters/rowFilter.salesRfq.revisionId",
},
{
- $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.scrapQuantity",
+ $ref: "#/parameters/rowFilter.salesRfq.status",
},
{
- $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.unitOfMeasureCode",
+ $ref: "#/parameters/rowFilter.salesRfq.employeeId",
},
{
- $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.unitCost",
+ $ref: "#/parameters/rowFilter.salesRfq.customerId",
},
{
- $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.companyId",
+ $ref: "#/parameters/rowFilter.salesRfq.customerContactId",
},
{
- $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.createdAt",
+ $ref: "#/parameters/rowFilter.salesRfq.customerReference",
},
{
- $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.createdBy",
+ $ref: "#/parameters/rowFilter.salesRfq.rfqDate",
},
{
- $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.updatedAt",
+ $ref: "#/parameters/rowFilter.salesRfq.expirationDate",
},
{
- $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.updatedBy",
+ $ref: "#/parameters/rowFilter.salesRfq.locationId",
},
{
- $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.customFields",
+ $ref: "#/parameters/rowFilter.salesRfq.assignee",
},
{
- $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.jobMakeMethodId",
+ $ref: "#/parameters/rowFilter.salesRfq.companyId",
},
{
- $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.jobOperationId",
+ $ref: "#/parameters/rowFilter.salesRfq.customFields",
},
{
- $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.estimatedQuantity",
+ $ref: "#/parameters/rowFilter.salesRfq.createdAt",
},
{
- $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.jobMaterialMakeMethodId",
+ $ref: "#/parameters/rowFilter.salesRfq.createdBy",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.salesRfq.updatedAt",
},
{
- $ref: "#/parameters/order",
+ $ref: "#/parameters/rowFilter.salesRfq.updatedBy",
},
{
- $ref: "#/parameters/range",
+ $ref: "#/parameters/rowFilter.salesRfq.customerLocationId",
},
{
- $ref: "#/parameters/rangeUnit",
+ $ref: "#/parameters/rowFilter.salesRfq.externalNotes",
},
{
- $ref: "#/parameters/offset",
+ $ref: "#/parameters/rowFilter.salesRfq.internalNotes",
},
{
- $ref: "#/parameters/limit",
+ $ref: "#/parameters/body.salesRfq",
},
{
- $ref: "#/parameters/preferCount",
+ $ref: "#/parameters/preferReturn",
},
],
responses: {
- "200": {
- description: "OK",
- schema: {
- items: {
- $ref: "#/definitions/jobMaterialWithMakeMethodId",
- },
- type: "array",
- },
- },
- "206": {
- description: "Partial Content",
+ "204": {
+ description: "No Content",
},
},
- tags: ["jobMaterialWithMakeMethodId"],
+ tags: ["salesRfq"],
},
},
- "/currency": {
+ "/paymentTerm": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.currency.id",
+ $ref: "#/parameters/rowFilter.paymentTerm.id",
},
{
- $ref: "#/parameters/rowFilter.currency.code",
+ $ref: "#/parameters/rowFilter.paymentTerm.name",
},
{
- $ref: "#/parameters/rowFilter.currency.exchangeRate",
+ $ref: "#/parameters/rowFilter.paymentTerm.daysDue",
},
{
- $ref: "#/parameters/rowFilter.currency.decimalPlaces",
+ $ref: "#/parameters/rowFilter.paymentTerm.daysDiscount",
},
{
- $ref: "#/parameters/rowFilter.currency.active",
+ $ref: "#/parameters/rowFilter.paymentTerm.discountPercentage",
},
{
- $ref: "#/parameters/rowFilter.currency.companyId",
+ $ref: "#/parameters/rowFilter.paymentTerm.calculationMethod",
},
{
- $ref: "#/parameters/rowFilter.currency.createdBy",
+ $ref: "#/parameters/rowFilter.paymentTerm.active",
},
{
- $ref: "#/parameters/rowFilter.currency.createdAt",
+ $ref: "#/parameters/rowFilter.paymentTerm.companyId",
},
{
- $ref: "#/parameters/rowFilter.currency.updatedBy",
+ $ref: "#/parameters/rowFilter.paymentTerm.createdAt",
},
{
- $ref: "#/parameters/rowFilter.currency.updatedAt",
+ $ref: "#/parameters/rowFilter.paymentTerm.createdBy",
},
{
- $ref: "#/parameters/rowFilter.currency.customFields",
+ $ref: "#/parameters/rowFilter.paymentTerm.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.paymentTerm.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.paymentTerm.customFields",
},
{
$ref: "#/parameters/select",
@@ -31821,7 +31908,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/currency",
+ $ref: "#/definitions/paymentTerm",
},
type: "array",
},
@@ -31830,12 +31917,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["currency"],
+ tags: ["paymentTerm"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.currency",
+ $ref: "#/parameters/body.paymentTerm",
},
{
$ref: "#/parameters/select",
@@ -31849,42 +31936,48 @@ export default {
description: "Created",
},
},
- tags: ["currency"],
+ tags: ["paymentTerm"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.currency.id",
+ $ref: "#/parameters/rowFilter.paymentTerm.id",
},
{
- $ref: "#/parameters/rowFilter.currency.code",
+ $ref: "#/parameters/rowFilter.paymentTerm.name",
},
{
- $ref: "#/parameters/rowFilter.currency.exchangeRate",
+ $ref: "#/parameters/rowFilter.paymentTerm.daysDue",
},
{
- $ref: "#/parameters/rowFilter.currency.decimalPlaces",
+ $ref: "#/parameters/rowFilter.paymentTerm.daysDiscount",
},
{
- $ref: "#/parameters/rowFilter.currency.active",
+ $ref: "#/parameters/rowFilter.paymentTerm.discountPercentage",
},
{
- $ref: "#/parameters/rowFilter.currency.companyId",
+ $ref: "#/parameters/rowFilter.paymentTerm.calculationMethod",
},
{
- $ref: "#/parameters/rowFilter.currency.createdBy",
+ $ref: "#/parameters/rowFilter.paymentTerm.active",
},
{
- $ref: "#/parameters/rowFilter.currency.createdAt",
+ $ref: "#/parameters/rowFilter.paymentTerm.companyId",
},
{
- $ref: "#/parameters/rowFilter.currency.updatedBy",
+ $ref: "#/parameters/rowFilter.paymentTerm.createdAt",
},
{
- $ref: "#/parameters/rowFilter.currency.updatedAt",
+ $ref: "#/parameters/rowFilter.paymentTerm.createdBy",
},
{
- $ref: "#/parameters/rowFilter.currency.customFields",
+ $ref: "#/parameters/rowFilter.paymentTerm.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.paymentTerm.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.paymentTerm.customFields",
},
{
$ref: "#/parameters/preferReturn",
@@ -31895,45 +31988,51 @@ export default {
description: "No Content",
},
},
- tags: ["currency"],
+ tags: ["paymentTerm"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.currency.id",
+ $ref: "#/parameters/rowFilter.paymentTerm.id",
},
{
- $ref: "#/parameters/rowFilter.currency.code",
+ $ref: "#/parameters/rowFilter.paymentTerm.name",
},
{
- $ref: "#/parameters/rowFilter.currency.exchangeRate",
+ $ref: "#/parameters/rowFilter.paymentTerm.daysDue",
},
{
- $ref: "#/parameters/rowFilter.currency.decimalPlaces",
+ $ref: "#/parameters/rowFilter.paymentTerm.daysDiscount",
},
{
- $ref: "#/parameters/rowFilter.currency.active",
+ $ref: "#/parameters/rowFilter.paymentTerm.discountPercentage",
},
{
- $ref: "#/parameters/rowFilter.currency.companyId",
+ $ref: "#/parameters/rowFilter.paymentTerm.calculationMethod",
},
{
- $ref: "#/parameters/rowFilter.currency.createdBy",
+ $ref: "#/parameters/rowFilter.paymentTerm.active",
},
{
- $ref: "#/parameters/rowFilter.currency.createdAt",
+ $ref: "#/parameters/rowFilter.paymentTerm.companyId",
},
{
- $ref: "#/parameters/rowFilter.currency.updatedBy",
+ $ref: "#/parameters/rowFilter.paymentTerm.createdAt",
},
{
- $ref: "#/parameters/rowFilter.currency.updatedAt",
+ $ref: "#/parameters/rowFilter.paymentTerm.createdBy",
},
{
- $ref: "#/parameters/rowFilter.currency.customFields",
+ $ref: "#/parameters/rowFilter.paymentTerm.updatedAt",
},
{
- $ref: "#/parameters/body.currency",
+ $ref: "#/parameters/rowFilter.paymentTerm.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.paymentTerm.customFields",
+ },
+ {
+ $ref: "#/parameters/body.paymentTerm",
},
{
$ref: "#/parameters/preferReturn",
@@ -31944,50 +32043,29 @@ export default {
description: "No Content",
},
},
- tags: ["currency"],
+ tags: ["paymentTerm"],
},
},
- "/productionEvent": {
+ "/apiKey": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.productionEvent.id",
- },
- {
- $ref: "#/parameters/rowFilter.productionEvent.jobOperationId",
- },
- {
- $ref: "#/parameters/rowFilter.productionEvent.type",
- },
- {
- $ref: "#/parameters/rowFilter.productionEvent.startTime",
- },
- {
- $ref: "#/parameters/rowFilter.productionEvent.endTime",
- },
- {
- $ref: "#/parameters/rowFilter.productionEvent.duration",
- },
- {
- $ref: "#/parameters/rowFilter.productionEvent.employeeId",
- },
- {
- $ref: "#/parameters/rowFilter.productionEvent.workCenterId",
+ $ref: "#/parameters/rowFilter.apiKey.id",
},
{
- $ref: "#/parameters/rowFilter.productionEvent.companyId",
+ $ref: "#/parameters/rowFilter.apiKey.name",
},
{
- $ref: "#/parameters/rowFilter.productionEvent.createdAt",
+ $ref: "#/parameters/rowFilter.apiKey.key",
},
{
- $ref: "#/parameters/rowFilter.productionEvent.createdBy",
+ $ref: "#/parameters/rowFilter.apiKey.companyId",
},
{
- $ref: "#/parameters/rowFilter.productionEvent.updatedAt",
+ $ref: "#/parameters/rowFilter.apiKey.createdBy",
},
{
- $ref: "#/parameters/rowFilter.productionEvent.updatedBy",
+ $ref: "#/parameters/rowFilter.apiKey.createdAt",
},
{
$ref: "#/parameters/select",
@@ -32016,7 +32094,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/productionEvent",
+ $ref: "#/definitions/apiKey",
},
type: "array",
},
@@ -32025,12 +32103,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["productionEvent"],
+ tags: ["apiKey"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.productionEvent",
+ $ref: "#/parameters/body.apiKey",
},
{
$ref: "#/parameters/select",
@@ -32044,48 +32122,27 @@ export default {
description: "Created",
},
},
- tags: ["productionEvent"],
+ tags: ["apiKey"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.productionEvent.id",
- },
- {
- $ref: "#/parameters/rowFilter.productionEvent.jobOperationId",
- },
- {
- $ref: "#/parameters/rowFilter.productionEvent.type",
- },
- {
- $ref: "#/parameters/rowFilter.productionEvent.startTime",
- },
- {
- $ref: "#/parameters/rowFilter.productionEvent.endTime",
- },
- {
- $ref: "#/parameters/rowFilter.productionEvent.duration",
- },
- {
- $ref: "#/parameters/rowFilter.productionEvent.employeeId",
- },
- {
- $ref: "#/parameters/rowFilter.productionEvent.workCenterId",
+ $ref: "#/parameters/rowFilter.apiKey.id",
},
{
- $ref: "#/parameters/rowFilter.productionEvent.companyId",
+ $ref: "#/parameters/rowFilter.apiKey.name",
},
{
- $ref: "#/parameters/rowFilter.productionEvent.createdAt",
+ $ref: "#/parameters/rowFilter.apiKey.key",
},
{
- $ref: "#/parameters/rowFilter.productionEvent.createdBy",
+ $ref: "#/parameters/rowFilter.apiKey.companyId",
},
{
- $ref: "#/parameters/rowFilter.productionEvent.updatedAt",
+ $ref: "#/parameters/rowFilter.apiKey.createdBy",
},
{
- $ref: "#/parameters/rowFilter.productionEvent.updatedBy",
+ $ref: "#/parameters/rowFilter.apiKey.createdAt",
},
{
$ref: "#/parameters/preferReturn",
@@ -32096,51 +32153,30 @@ export default {
description: "No Content",
},
},
- tags: ["productionEvent"],
+ tags: ["apiKey"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.productionEvent.id",
- },
- {
- $ref: "#/parameters/rowFilter.productionEvent.jobOperationId",
- },
- {
- $ref: "#/parameters/rowFilter.productionEvent.type",
- },
- {
- $ref: "#/parameters/rowFilter.productionEvent.startTime",
- },
- {
- $ref: "#/parameters/rowFilter.productionEvent.endTime",
- },
- {
- $ref: "#/parameters/rowFilter.productionEvent.duration",
- },
- {
- $ref: "#/parameters/rowFilter.productionEvent.employeeId",
- },
- {
- $ref: "#/parameters/rowFilter.productionEvent.workCenterId",
+ $ref: "#/parameters/rowFilter.apiKey.id",
},
{
- $ref: "#/parameters/rowFilter.productionEvent.companyId",
+ $ref: "#/parameters/rowFilter.apiKey.name",
},
{
- $ref: "#/parameters/rowFilter.productionEvent.createdAt",
+ $ref: "#/parameters/rowFilter.apiKey.key",
},
{
- $ref: "#/parameters/rowFilter.productionEvent.createdBy",
+ $ref: "#/parameters/rowFilter.apiKey.companyId",
},
{
- $ref: "#/parameters/rowFilter.productionEvent.updatedAt",
+ $ref: "#/parameters/rowFilter.apiKey.createdBy",
},
{
- $ref: "#/parameters/rowFilter.productionEvent.updatedBy",
+ $ref: "#/parameters/rowFilter.apiKey.createdAt",
},
{
- $ref: "#/parameters/body.productionEvent",
+ $ref: "#/parameters/body.apiKey",
},
{
$ref: "#/parameters/preferReturn",
@@ -32151,68 +32187,83 @@ export default {
description: "No Content",
},
},
- tags: ["productionEvent"],
+ tags: ["apiKey"],
},
},
- "/accounts": {
+ "/salesOrderCustomers": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.accounts.id",
+ $ref: "#/parameters/rowFilter.salesOrderCustomers.id",
},
{
- $ref: "#/parameters/rowFilter.accounts.number",
+ $ref: "#/parameters/rowFilter.salesOrderCustomers.name",
},
{
- $ref: "#/parameters/rowFilter.accounts.name",
+ $ref: "#/parameters/rowFilter.salesOrderCustomers.companyId",
},
{
- $ref: "#/parameters/rowFilter.accounts.type",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.accounts.class",
+ $ref: "#/parameters/order",
},
{
- $ref: "#/parameters/rowFilter.accounts.accountCategoryId",
+ $ref: "#/parameters/range",
},
{
- $ref: "#/parameters/rowFilter.accounts.accountSubcategoryId",
+ $ref: "#/parameters/rangeUnit",
},
{
- $ref: "#/parameters/rowFilter.accounts.incomeBalance",
+ $ref: "#/parameters/offset",
},
{
- $ref: "#/parameters/rowFilter.accounts.consolidatedRate",
+ $ref: "#/parameters/limit",
},
{
- $ref: "#/parameters/rowFilter.accounts.directPosting",
+ $ref: "#/parameters/preferCount",
},
- {
- $ref: "#/parameters/rowFilter.accounts.active",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/salesOrderCustomers",
+ },
+ type: "array",
+ },
},
- {
- $ref: "#/parameters/rowFilter.accounts.companyId",
+ "206": {
+ description: "Partial Content",
},
+ },
+ tags: ["salesOrderCustomers"],
+ },
+ },
+ "/opportunity": {
+ get: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.accounts.createdBy",
+ $ref: "#/parameters/rowFilter.opportunity.id",
},
{
- $ref: "#/parameters/rowFilter.accounts.createdAt",
+ $ref: "#/parameters/rowFilter.opportunity.salesRfqId",
},
{
- $ref: "#/parameters/rowFilter.accounts.updatedBy",
+ $ref: "#/parameters/rowFilter.opportunity.quoteId",
},
{
- $ref: "#/parameters/rowFilter.accounts.updatedAt",
+ $ref: "#/parameters/rowFilter.opportunity.salesOrderId",
},
{
- $ref: "#/parameters/rowFilter.accounts.customFields",
+ $ref: "#/parameters/rowFilter.opportunity.companyId",
},
{
- $ref: "#/parameters/rowFilter.accounts.accountCategory",
+ $ref: "#/parameters/rowFilter.opportunity.purchaseOrderDocumentPath",
},
{
- $ref: "#/parameters/rowFilter.accounts.accountSubCategory",
+ $ref: "#/parameters/rowFilter.opportunity.requestForQuoteDocumentPath",
},
{
$ref: "#/parameters/select",
@@ -32241,7 +32292,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/accounts",
+ $ref: "#/definitions/opportunity",
},
type: "array",
},
@@ -32250,12 +32301,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["accounts"],
+ tags: ["opportunity"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.accounts",
+ $ref: "#/parameters/body.opportunity",
},
{
$ref: "#/parameters/select",
@@ -32269,66 +32320,67 @@ export default {
description: "Created",
},
},
- tags: ["accounts"],
+ tags: ["opportunity"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.accounts.id",
+ $ref: "#/parameters/rowFilter.opportunity.id",
},
{
- $ref: "#/parameters/rowFilter.accounts.number",
+ $ref: "#/parameters/rowFilter.opportunity.salesRfqId",
},
{
- $ref: "#/parameters/rowFilter.accounts.name",
+ $ref: "#/parameters/rowFilter.opportunity.quoteId",
},
{
- $ref: "#/parameters/rowFilter.accounts.type",
+ $ref: "#/parameters/rowFilter.opportunity.salesOrderId",
},
{
- $ref: "#/parameters/rowFilter.accounts.class",
+ $ref: "#/parameters/rowFilter.opportunity.companyId",
},
{
- $ref: "#/parameters/rowFilter.accounts.accountCategoryId",
+ $ref: "#/parameters/rowFilter.opportunity.purchaseOrderDocumentPath",
},
{
- $ref: "#/parameters/rowFilter.accounts.accountSubcategoryId",
+ $ref: "#/parameters/rowFilter.opportunity.requestForQuoteDocumentPath",
},
{
- $ref: "#/parameters/rowFilter.accounts.incomeBalance",
+ $ref: "#/parameters/preferReturn",
},
- {
- $ref: "#/parameters/rowFilter.accounts.consolidatedRate",
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
},
+ },
+ tags: ["opportunity"],
+ },
+ patch: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.accounts.directPosting",
+ $ref: "#/parameters/rowFilter.opportunity.id",
},
{
- $ref: "#/parameters/rowFilter.accounts.active",
+ $ref: "#/parameters/rowFilter.opportunity.salesRfqId",
},
{
- $ref: "#/parameters/rowFilter.accounts.companyId",
+ $ref: "#/parameters/rowFilter.opportunity.quoteId",
},
{
- $ref: "#/parameters/rowFilter.accounts.createdBy",
+ $ref: "#/parameters/rowFilter.opportunity.salesOrderId",
},
{
- $ref: "#/parameters/rowFilter.accounts.createdAt",
+ $ref: "#/parameters/rowFilter.opportunity.companyId",
},
{
- $ref: "#/parameters/rowFilter.accounts.updatedBy",
+ $ref: "#/parameters/rowFilter.opportunity.purchaseOrderDocumentPath",
},
{
- $ref: "#/parameters/rowFilter.accounts.updatedAt",
+ $ref: "#/parameters/rowFilter.opportunity.requestForQuoteDocumentPath",
},
{
- $ref: "#/parameters/rowFilter.accounts.customFields",
- },
- {
- $ref: "#/parameters/rowFilter.accounts.accountCategory",
- },
- {
- $ref: "#/parameters/rowFilter.accounts.accountSubCategory",
+ $ref: "#/parameters/body.opportunity",
},
{
$ref: "#/parameters/preferReturn",
@@ -32339,123 +32391,98 @@ export default {
description: "No Content",
},
},
- tags: ["accounts"],
+ tags: ["opportunity"],
},
- patch: {
+ },
+ "/documentLabels": {
+ get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.accounts.id",
- },
- {
- $ref: "#/parameters/rowFilter.accounts.number",
- },
- {
- $ref: "#/parameters/rowFilter.accounts.name",
- },
- {
- $ref: "#/parameters/rowFilter.accounts.type",
- },
- {
- $ref: "#/parameters/rowFilter.accounts.class",
- },
- {
- $ref: "#/parameters/rowFilter.accounts.accountCategoryId",
- },
- {
- $ref: "#/parameters/rowFilter.accounts.accountSubcategoryId",
- },
- {
- $ref: "#/parameters/rowFilter.accounts.incomeBalance",
- },
- {
- $ref: "#/parameters/rowFilter.accounts.consolidatedRate",
- },
- {
- $ref: "#/parameters/rowFilter.accounts.directPosting",
- },
- {
- $ref: "#/parameters/rowFilter.accounts.active",
- },
- {
- $ref: "#/parameters/rowFilter.accounts.companyId",
- },
- {
- $ref: "#/parameters/rowFilter.accounts.createdBy",
+ $ref: "#/parameters/rowFilter.documentLabels.label",
},
{
- $ref: "#/parameters/rowFilter.accounts.createdAt",
+ $ref: "#/parameters/rowFilter.documentLabels.userId",
},
{
- $ref: "#/parameters/rowFilter.accounts.updatedBy",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.accounts.updatedAt",
+ $ref: "#/parameters/order",
},
{
- $ref: "#/parameters/rowFilter.accounts.customFields",
+ $ref: "#/parameters/range",
},
{
- $ref: "#/parameters/rowFilter.accounts.accountCategory",
+ $ref: "#/parameters/rangeUnit",
},
{
- $ref: "#/parameters/rowFilter.accounts.accountSubCategory",
+ $ref: "#/parameters/offset",
},
{
- $ref: "#/parameters/body.accounts",
+ $ref: "#/parameters/limit",
},
{
- $ref: "#/parameters/preferReturn",
+ $ref: "#/parameters/preferCount",
},
],
responses: {
- "204": {
- description: "No Content",
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/documentLabels",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
},
},
- tags: ["accounts"],
+ tags: ["documentLabels"],
},
},
- "/supplierProcesses": {
+ "/groupMembers": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.supplierProcesses.id",
+ $ref: "#/parameters/rowFilter.groupMembers.id",
},
{
- $ref: "#/parameters/rowFilter.supplierProcesses.supplierId",
+ $ref: "#/parameters/rowFilter.groupMembers.name",
},
{
- $ref: "#/parameters/rowFilter.supplierProcesses.processId",
+ $ref: "#/parameters/rowFilter.groupMembers.companyId",
},
{
- $ref: "#/parameters/rowFilter.supplierProcesses.minimumCost",
+ $ref: "#/parameters/rowFilter.groupMembers.isIdentityGroup",
},
{
- $ref: "#/parameters/rowFilter.supplierProcesses.unitCost",
+ $ref: "#/parameters/rowFilter.groupMembers.isEmployeeTypeGroup",
},
{
- $ref: "#/parameters/rowFilter.supplierProcesses.leadTime",
+ $ref: "#/parameters/rowFilter.groupMembers.isCustomerOrgGroup",
},
{
- $ref: "#/parameters/rowFilter.supplierProcesses.companyId",
+ $ref: "#/parameters/rowFilter.groupMembers.isCustomerTypeGroup",
},
{
- $ref: "#/parameters/rowFilter.supplierProcesses.customFields",
+ $ref: "#/parameters/rowFilter.groupMembers.isSupplierOrgGroup",
},
{
- $ref: "#/parameters/rowFilter.supplierProcesses.createdBy",
+ $ref: "#/parameters/rowFilter.groupMembers.isSupplierTypeGroup",
},
{
- $ref: "#/parameters/rowFilter.supplierProcesses.createdAt",
+ $ref: "#/parameters/rowFilter.groupMembers.groupId",
},
{
- $ref: "#/parameters/rowFilter.supplierProcesses.updatedBy",
+ $ref: "#/parameters/rowFilter.groupMembers.memberGroupId",
},
{
- $ref: "#/parameters/rowFilter.supplierProcesses.updatedAt",
+ $ref: "#/parameters/rowFilter.groupMembers.memberUserId",
},
{
- $ref: "#/parameters/rowFilter.supplierProcesses.processName",
+ $ref: "#/parameters/rowFilter.groupMembers.user",
},
{
$ref: "#/parameters/select",
@@ -32484,7 +32511,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/supplierProcesses",
+ $ref: "#/definitions/groupMembers",
},
type: "array",
},
@@ -32493,68 +32520,80 @@ export default {
description: "Partial Content",
},
},
- tags: ["supplierProcesses"],
+ tags: ["groupMembers"],
},
},
- "/postingGroupInventory": {
+ "/salesOrder": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.postingGroupInventory.id",
+ $ref: "#/parameters/rowFilter.salesOrder.id",
},
{
- $ref: "#/parameters/rowFilter.postingGroupInventory.itemPostingGroupId",
+ $ref: "#/parameters/rowFilter.salesOrder.salesOrderId",
},
{
- $ref: "#/parameters/rowFilter.postingGroupInventory.locationId",
+ $ref: "#/parameters/rowFilter.salesOrder.revisionId",
},
{
- $ref: "#/parameters/rowFilter.postingGroupInventory.costOfGoodsSoldAccount",
+ $ref: "#/parameters/rowFilter.salesOrder.status",
},
{
- $ref: "#/parameters/rowFilter.postingGroupInventory.inventoryAccount",
+ $ref: "#/parameters/rowFilter.salesOrder.orderDate",
},
{
- $ref: "#/parameters/rowFilter.postingGroupInventory.inventoryInterimAccrualAccount",
+ $ref: "#/parameters/rowFilter.salesOrder.notes",
},
{
- $ref: "#/parameters/rowFilter.postingGroupInventory.inventoryReceivedNotInvoicedAccount",
+ $ref: "#/parameters/rowFilter.salesOrder.currencyCode",
},
{
- $ref: "#/parameters/rowFilter.postingGroupInventory.inventoryInvoicedNotReceivedAccount",
+ $ref: "#/parameters/rowFilter.salesOrder.customerId",
},
{
- $ref: "#/parameters/rowFilter.postingGroupInventory.inventoryShippedNotInvoicedAccount",
+ $ref: "#/parameters/rowFilter.salesOrder.customerLocationId",
},
{
- $ref: "#/parameters/rowFilter.postingGroupInventory.workInProgressAccount",
+ $ref: "#/parameters/rowFilter.salesOrder.customerContactId",
},
{
- $ref: "#/parameters/rowFilter.postingGroupInventory.directCostAppliedAccount",
+ $ref: "#/parameters/rowFilter.salesOrder.customerReference",
},
{
- $ref: "#/parameters/rowFilter.postingGroupInventory.overheadAccount",
+ $ref: "#/parameters/rowFilter.salesOrder.assignee",
},
{
- $ref: "#/parameters/rowFilter.postingGroupInventory.overheadCostAppliedAccount",
+ $ref: "#/parameters/rowFilter.salesOrder.companyId",
},
{
- $ref: "#/parameters/rowFilter.postingGroupInventory.purchaseVarianceAccount",
+ $ref: "#/parameters/rowFilter.salesOrder.closedAt",
},
{
- $ref: "#/parameters/rowFilter.postingGroupInventory.inventoryAdjustmentVarianceAccount",
+ $ref: "#/parameters/rowFilter.salesOrder.closedBy",
},
{
- $ref: "#/parameters/rowFilter.postingGroupInventory.materialVarianceAccount",
+ $ref: "#/parameters/rowFilter.salesOrder.customFields",
},
{
- $ref: "#/parameters/rowFilter.postingGroupInventory.capacityVarianceAccount",
+ $ref: "#/parameters/rowFilter.salesOrder.createdAt",
},
{
- $ref: "#/parameters/rowFilter.postingGroupInventory.companyId",
+ $ref: "#/parameters/rowFilter.salesOrder.createdBy",
},
{
- $ref: "#/parameters/rowFilter.postingGroupInventory.updatedBy",
+ $ref: "#/parameters/rowFilter.salesOrder.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrder.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrder.locationId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrder.exchangeRate",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrder.exchangeRateUpdatedAt",
},
{
$ref: "#/parameters/select",
@@ -32583,7 +32622,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/postingGroupInventory",
+ $ref: "#/definitions/salesOrder",
},
type: "array",
},
@@ -32592,12 +32631,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["postingGroupInventory"],
+ tags: ["salesOrder"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.postingGroupInventory",
+ $ref: "#/parameters/body.salesOrder",
},
{
$ref: "#/parameters/select",
@@ -32611,66 +32650,78 @@ export default {
description: "Created",
},
},
- tags: ["postingGroupInventory"],
+ tags: ["salesOrder"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.postingGroupInventory.id",
+ $ref: "#/parameters/rowFilter.salesOrder.id",
},
{
- $ref: "#/parameters/rowFilter.postingGroupInventory.itemPostingGroupId",
+ $ref: "#/parameters/rowFilter.salesOrder.salesOrderId",
},
{
- $ref: "#/parameters/rowFilter.postingGroupInventory.locationId",
+ $ref: "#/parameters/rowFilter.salesOrder.revisionId",
},
{
- $ref: "#/parameters/rowFilter.postingGroupInventory.costOfGoodsSoldAccount",
+ $ref: "#/parameters/rowFilter.salesOrder.status",
},
{
- $ref: "#/parameters/rowFilter.postingGroupInventory.inventoryAccount",
+ $ref: "#/parameters/rowFilter.salesOrder.orderDate",
},
{
- $ref: "#/parameters/rowFilter.postingGroupInventory.inventoryInterimAccrualAccount",
+ $ref: "#/parameters/rowFilter.salesOrder.notes",
},
{
- $ref: "#/parameters/rowFilter.postingGroupInventory.inventoryReceivedNotInvoicedAccount",
+ $ref: "#/parameters/rowFilter.salesOrder.currencyCode",
},
{
- $ref: "#/parameters/rowFilter.postingGroupInventory.inventoryInvoicedNotReceivedAccount",
+ $ref: "#/parameters/rowFilter.salesOrder.customerId",
},
{
- $ref: "#/parameters/rowFilter.postingGroupInventory.inventoryShippedNotInvoicedAccount",
+ $ref: "#/parameters/rowFilter.salesOrder.customerLocationId",
},
{
- $ref: "#/parameters/rowFilter.postingGroupInventory.workInProgressAccount",
+ $ref: "#/parameters/rowFilter.salesOrder.customerContactId",
},
{
- $ref: "#/parameters/rowFilter.postingGroupInventory.directCostAppliedAccount",
+ $ref: "#/parameters/rowFilter.salesOrder.customerReference",
},
{
- $ref: "#/parameters/rowFilter.postingGroupInventory.overheadAccount",
+ $ref: "#/parameters/rowFilter.salesOrder.assignee",
},
{
- $ref: "#/parameters/rowFilter.postingGroupInventory.overheadCostAppliedAccount",
+ $ref: "#/parameters/rowFilter.salesOrder.companyId",
},
{
- $ref: "#/parameters/rowFilter.postingGroupInventory.purchaseVarianceAccount",
+ $ref: "#/parameters/rowFilter.salesOrder.closedAt",
},
{
- $ref: "#/parameters/rowFilter.postingGroupInventory.inventoryAdjustmentVarianceAccount",
+ $ref: "#/parameters/rowFilter.salesOrder.closedBy",
},
{
- $ref: "#/parameters/rowFilter.postingGroupInventory.materialVarianceAccount",
+ $ref: "#/parameters/rowFilter.salesOrder.customFields",
},
{
- $ref: "#/parameters/rowFilter.postingGroupInventory.capacityVarianceAccount",
+ $ref: "#/parameters/rowFilter.salesOrder.createdAt",
},
{
- $ref: "#/parameters/rowFilter.postingGroupInventory.companyId",
+ $ref: "#/parameters/rowFilter.salesOrder.createdBy",
},
{
- $ref: "#/parameters/rowFilter.postingGroupInventory.updatedBy",
+ $ref: "#/parameters/rowFilter.salesOrder.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrder.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrder.locationId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrder.exchangeRate",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrder.exchangeRateUpdatedAt",
},
{
$ref: "#/parameters/preferReturn",
@@ -32681,69 +32732,81 @@ export default {
description: "No Content",
},
},
- tags: ["postingGroupInventory"],
+ tags: ["salesOrder"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.postingGroupInventory.id",
+ $ref: "#/parameters/rowFilter.salesOrder.id",
},
{
- $ref: "#/parameters/rowFilter.postingGroupInventory.itemPostingGroupId",
+ $ref: "#/parameters/rowFilter.salesOrder.salesOrderId",
},
{
- $ref: "#/parameters/rowFilter.postingGroupInventory.locationId",
+ $ref: "#/parameters/rowFilter.salesOrder.revisionId",
},
{
- $ref: "#/parameters/rowFilter.postingGroupInventory.costOfGoodsSoldAccount",
+ $ref: "#/parameters/rowFilter.salesOrder.status",
},
{
- $ref: "#/parameters/rowFilter.postingGroupInventory.inventoryAccount",
+ $ref: "#/parameters/rowFilter.salesOrder.orderDate",
},
{
- $ref: "#/parameters/rowFilter.postingGroupInventory.inventoryInterimAccrualAccount",
+ $ref: "#/parameters/rowFilter.salesOrder.notes",
},
{
- $ref: "#/parameters/rowFilter.postingGroupInventory.inventoryReceivedNotInvoicedAccount",
+ $ref: "#/parameters/rowFilter.salesOrder.currencyCode",
},
{
- $ref: "#/parameters/rowFilter.postingGroupInventory.inventoryInvoicedNotReceivedAccount",
+ $ref: "#/parameters/rowFilter.salesOrder.customerId",
},
{
- $ref: "#/parameters/rowFilter.postingGroupInventory.inventoryShippedNotInvoicedAccount",
+ $ref: "#/parameters/rowFilter.salesOrder.customerLocationId",
},
{
- $ref: "#/parameters/rowFilter.postingGroupInventory.workInProgressAccount",
+ $ref: "#/parameters/rowFilter.salesOrder.customerContactId",
},
{
- $ref: "#/parameters/rowFilter.postingGroupInventory.directCostAppliedAccount",
+ $ref: "#/parameters/rowFilter.salesOrder.customerReference",
},
{
- $ref: "#/parameters/rowFilter.postingGroupInventory.overheadAccount",
+ $ref: "#/parameters/rowFilter.salesOrder.assignee",
},
{
- $ref: "#/parameters/rowFilter.postingGroupInventory.overheadCostAppliedAccount",
+ $ref: "#/parameters/rowFilter.salesOrder.companyId",
},
{
- $ref: "#/parameters/rowFilter.postingGroupInventory.purchaseVarianceAccount",
+ $ref: "#/parameters/rowFilter.salesOrder.closedAt",
},
{
- $ref: "#/parameters/rowFilter.postingGroupInventory.inventoryAdjustmentVarianceAccount",
+ $ref: "#/parameters/rowFilter.salesOrder.closedBy",
},
{
- $ref: "#/parameters/rowFilter.postingGroupInventory.materialVarianceAccount",
+ $ref: "#/parameters/rowFilter.salesOrder.customFields",
},
{
- $ref: "#/parameters/rowFilter.postingGroupInventory.capacityVarianceAccount",
+ $ref: "#/parameters/rowFilter.salesOrder.createdAt",
},
{
- $ref: "#/parameters/rowFilter.postingGroupInventory.companyId",
+ $ref: "#/parameters/rowFilter.salesOrder.createdBy",
},
{
- $ref: "#/parameters/rowFilter.postingGroupInventory.updatedBy",
+ $ref: "#/parameters/rowFilter.salesOrder.updatedAt",
},
{
- $ref: "#/parameters/body.postingGroupInventory",
+ $ref: "#/parameters/rowFilter.salesOrder.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrder.locationId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrder.exchangeRate",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrder.exchangeRateUpdatedAt",
+ },
+ {
+ $ref: "#/parameters/body.salesOrder",
},
{
$ref: "#/parameters/preferReturn",
@@ -32754,20 +32817,47 @@ export default {
description: "No Content",
},
},
- tags: ["postingGroupInventory"],
+ tags: ["salesOrder"],
},
},
- "/userToCompany": {
+ "/userAttributeValue": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.userToCompany.userId",
+ $ref: "#/parameters/rowFilter.userAttributeValue.id",
},
{
- $ref: "#/parameters/rowFilter.userToCompany.companyId",
+ $ref: "#/parameters/rowFilter.userAttributeValue.userAttributeId",
},
{
- $ref: "#/parameters/rowFilter.userToCompany.role",
+ $ref: "#/parameters/rowFilter.userAttributeValue.userId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttributeValue.valueBoolean",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttributeValue.valueDate",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttributeValue.valueNumeric",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttributeValue.valueText",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttributeValue.valueUser",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttributeValue.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttributeValue.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttributeValue.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttributeValue.updatedBy",
},
{
$ref: "#/parameters/select",
@@ -32796,7 +32886,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/userToCompany",
+ $ref: "#/definitions/userAttributeValue",
},
type: "array",
},
@@ -32805,12 +32895,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["userToCompany"],
+ tags: ["userAttributeValue"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.userToCompany",
+ $ref: "#/parameters/body.userAttributeValue",
},
{
$ref: "#/parameters/select",
@@ -32824,18 +32914,45 @@ export default {
description: "Created",
},
},
- tags: ["userToCompany"],
+ tags: ["userAttributeValue"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.userToCompany.userId",
+ $ref: "#/parameters/rowFilter.userAttributeValue.id",
},
{
- $ref: "#/parameters/rowFilter.userToCompany.companyId",
+ $ref: "#/parameters/rowFilter.userAttributeValue.userAttributeId",
},
{
- $ref: "#/parameters/rowFilter.userToCompany.role",
+ $ref: "#/parameters/rowFilter.userAttributeValue.userId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttributeValue.valueBoolean",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttributeValue.valueDate",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttributeValue.valueNumeric",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttributeValue.valueText",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttributeValue.valueUser",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttributeValue.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttributeValue.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttributeValue.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttributeValue.updatedBy",
},
{
$ref: "#/parameters/preferReturn",
@@ -32846,21 +32963,48 @@ export default {
description: "No Content",
},
},
- tags: ["userToCompany"],
+ tags: ["userAttributeValue"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.userToCompany.userId",
+ $ref: "#/parameters/rowFilter.userAttributeValue.id",
},
{
- $ref: "#/parameters/rowFilter.userToCompany.companyId",
+ $ref: "#/parameters/rowFilter.userAttributeValue.userAttributeId",
},
{
- $ref: "#/parameters/rowFilter.userToCompany.role",
+ $ref: "#/parameters/rowFilter.userAttributeValue.userId",
},
{
- $ref: "#/parameters/body.userToCompany",
+ $ref: "#/parameters/rowFilter.userAttributeValue.valueBoolean",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttributeValue.valueDate",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttributeValue.valueNumeric",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttributeValue.valueText",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttributeValue.valueUser",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttributeValue.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttributeValue.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttributeValue.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttributeValue.updatedBy",
+ },
+ {
+ $ref: "#/parameters/body.userAttributeValue",
},
{
$ref: "#/parameters/preferReturn",
@@ -32871,47 +33015,41 @@ export default {
description: "No Content",
},
},
- tags: ["userToCompany"],
+ tags: ["userAttributeValue"],
},
},
- "/userAttribute": {
+ "/unitOfMeasure": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.userAttribute.id",
- },
- {
- $ref: "#/parameters/rowFilter.userAttribute.name",
- },
- {
- $ref: "#/parameters/rowFilter.userAttribute.sortOrder",
+ $ref: "#/parameters/rowFilter.unitOfMeasure.id",
},
{
- $ref: "#/parameters/rowFilter.userAttribute.userAttributeCategoryId",
+ $ref: "#/parameters/rowFilter.unitOfMeasure.code",
},
{
- $ref: "#/parameters/rowFilter.userAttribute.attributeDataTypeId",
+ $ref: "#/parameters/rowFilter.unitOfMeasure.name",
},
{
- $ref: "#/parameters/rowFilter.userAttribute.listOptions",
+ $ref: "#/parameters/rowFilter.unitOfMeasure.active",
},
{
- $ref: "#/parameters/rowFilter.userAttribute.canSelfManage",
+ $ref: "#/parameters/rowFilter.unitOfMeasure.companyId",
},
{
- $ref: "#/parameters/rowFilter.userAttribute.active",
+ $ref: "#/parameters/rowFilter.unitOfMeasure.createdBy",
},
{
- $ref: "#/parameters/rowFilter.userAttribute.createdAt",
+ $ref: "#/parameters/rowFilter.unitOfMeasure.createdAt",
},
{
- $ref: "#/parameters/rowFilter.userAttribute.createdBy",
+ $ref: "#/parameters/rowFilter.unitOfMeasure.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.userAttribute.updatedAt",
+ $ref: "#/parameters/rowFilter.unitOfMeasure.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.userAttribute.updatedBy",
+ $ref: "#/parameters/rowFilter.unitOfMeasure.customFields",
},
{
$ref: "#/parameters/select",
@@ -32940,7 +33078,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/userAttribute",
+ $ref: "#/definitions/unitOfMeasure",
},
type: "array",
},
@@ -32949,12 +33087,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["userAttribute"],
+ tags: ["unitOfMeasure"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.userAttribute",
+ $ref: "#/parameters/body.unitOfMeasure",
},
{
$ref: "#/parameters/select",
@@ -32968,45 +33106,39 @@ export default {
description: "Created",
},
},
- tags: ["userAttribute"],
+ tags: ["unitOfMeasure"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.userAttribute.id",
- },
- {
- $ref: "#/parameters/rowFilter.userAttribute.name",
- },
- {
- $ref: "#/parameters/rowFilter.userAttribute.sortOrder",
+ $ref: "#/parameters/rowFilter.unitOfMeasure.id",
},
{
- $ref: "#/parameters/rowFilter.userAttribute.userAttributeCategoryId",
+ $ref: "#/parameters/rowFilter.unitOfMeasure.code",
},
{
- $ref: "#/parameters/rowFilter.userAttribute.attributeDataTypeId",
+ $ref: "#/parameters/rowFilter.unitOfMeasure.name",
},
{
- $ref: "#/parameters/rowFilter.userAttribute.listOptions",
+ $ref: "#/parameters/rowFilter.unitOfMeasure.active",
},
{
- $ref: "#/parameters/rowFilter.userAttribute.canSelfManage",
+ $ref: "#/parameters/rowFilter.unitOfMeasure.companyId",
},
{
- $ref: "#/parameters/rowFilter.userAttribute.active",
+ $ref: "#/parameters/rowFilter.unitOfMeasure.createdBy",
},
{
- $ref: "#/parameters/rowFilter.userAttribute.createdAt",
+ $ref: "#/parameters/rowFilter.unitOfMeasure.createdAt",
},
{
- $ref: "#/parameters/rowFilter.userAttribute.createdBy",
+ $ref: "#/parameters/rowFilter.unitOfMeasure.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.userAttribute.updatedAt",
+ $ref: "#/parameters/rowFilter.unitOfMeasure.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.userAttribute.updatedBy",
+ $ref: "#/parameters/rowFilter.unitOfMeasure.customFields",
},
{
$ref: "#/parameters/preferReturn",
@@ -33017,48 +33149,42 @@ export default {
description: "No Content",
},
},
- tags: ["userAttribute"],
+ tags: ["unitOfMeasure"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.userAttribute.id",
- },
- {
- $ref: "#/parameters/rowFilter.userAttribute.name",
- },
- {
- $ref: "#/parameters/rowFilter.userAttribute.sortOrder",
+ $ref: "#/parameters/rowFilter.unitOfMeasure.id",
},
{
- $ref: "#/parameters/rowFilter.userAttribute.userAttributeCategoryId",
+ $ref: "#/parameters/rowFilter.unitOfMeasure.code",
},
{
- $ref: "#/parameters/rowFilter.userAttribute.attributeDataTypeId",
+ $ref: "#/parameters/rowFilter.unitOfMeasure.name",
},
{
- $ref: "#/parameters/rowFilter.userAttribute.listOptions",
+ $ref: "#/parameters/rowFilter.unitOfMeasure.active",
},
{
- $ref: "#/parameters/rowFilter.userAttribute.canSelfManage",
+ $ref: "#/parameters/rowFilter.unitOfMeasure.companyId",
},
{
- $ref: "#/parameters/rowFilter.userAttribute.active",
+ $ref: "#/parameters/rowFilter.unitOfMeasure.createdBy",
},
{
- $ref: "#/parameters/rowFilter.userAttribute.createdAt",
+ $ref: "#/parameters/rowFilter.unitOfMeasure.createdAt",
},
{
- $ref: "#/parameters/rowFilter.userAttribute.createdBy",
+ $ref: "#/parameters/rowFilter.unitOfMeasure.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.userAttribute.updatedAt",
+ $ref: "#/parameters/rowFilter.unitOfMeasure.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.userAttribute.updatedBy",
+ $ref: "#/parameters/rowFilter.unitOfMeasure.customFields",
},
{
- $ref: "#/parameters/body.userAttribute",
+ $ref: "#/parameters/body.unitOfMeasure",
},
{
$ref: "#/parameters/preferReturn",
@@ -33069,68 +33195,38 @@ export default {
description: "No Content",
},
},
- tags: ["userAttribute"],
+ tags: ["unitOfMeasure"],
},
},
- "/supplierProcess": {
+ "/documentFavorite": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.supplierProcess.id",
+ $ref: "#/parameters/rowFilter.documentFavorite.documentId",
},
{
- $ref: "#/parameters/rowFilter.supplierProcess.supplierId",
+ $ref: "#/parameters/rowFilter.documentFavorite.userId",
},
{
- $ref: "#/parameters/rowFilter.supplierProcess.processId",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.supplierProcess.minimumCost",
+ $ref: "#/parameters/order",
},
{
- $ref: "#/parameters/rowFilter.supplierProcess.unitCost",
+ $ref: "#/parameters/range",
},
{
- $ref: "#/parameters/rowFilter.supplierProcess.leadTime",
+ $ref: "#/parameters/rangeUnit",
},
{
- $ref: "#/parameters/rowFilter.supplierProcess.companyId",
+ $ref: "#/parameters/offset",
},
{
- $ref: "#/parameters/rowFilter.supplierProcess.customFields",
+ $ref: "#/parameters/limit",
},
{
- $ref: "#/parameters/rowFilter.supplierProcess.createdBy",
- },
- {
- $ref: "#/parameters/rowFilter.supplierProcess.createdAt",
- },
- {
- $ref: "#/parameters/rowFilter.supplierProcess.updatedBy",
- },
- {
- $ref: "#/parameters/rowFilter.supplierProcess.updatedAt",
- },
- {
- $ref: "#/parameters/select",
- },
- {
- $ref: "#/parameters/order",
- },
- {
- $ref: "#/parameters/range",
- },
- {
- $ref: "#/parameters/rangeUnit",
- },
- {
- $ref: "#/parameters/offset",
- },
- {
- $ref: "#/parameters/limit",
- },
- {
- $ref: "#/parameters/preferCount",
+ $ref: "#/parameters/preferCount",
},
],
responses: {
@@ -33138,7 +33234,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/supplierProcess",
+ $ref: "#/definitions/documentFavorite",
},
type: "array",
},
@@ -33147,12 +33243,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["supplierProcess"],
+ tags: ["documentFavorite"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.supplierProcess",
+ $ref: "#/parameters/body.documentFavorite",
},
{
$ref: "#/parameters/select",
@@ -33166,45 +33262,15 @@ export default {
description: "Created",
},
},
- tags: ["supplierProcess"],
+ tags: ["documentFavorite"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.supplierProcess.id",
- },
- {
- $ref: "#/parameters/rowFilter.supplierProcess.supplierId",
- },
- {
- $ref: "#/parameters/rowFilter.supplierProcess.processId",
- },
- {
- $ref: "#/parameters/rowFilter.supplierProcess.minimumCost",
- },
- {
- $ref: "#/parameters/rowFilter.supplierProcess.unitCost",
- },
- {
- $ref: "#/parameters/rowFilter.supplierProcess.leadTime",
- },
- {
- $ref: "#/parameters/rowFilter.supplierProcess.companyId",
- },
- {
- $ref: "#/parameters/rowFilter.supplierProcess.customFields",
- },
- {
- $ref: "#/parameters/rowFilter.supplierProcess.createdBy",
- },
- {
- $ref: "#/parameters/rowFilter.supplierProcess.createdAt",
- },
- {
- $ref: "#/parameters/rowFilter.supplierProcess.updatedBy",
+ $ref: "#/parameters/rowFilter.documentFavorite.documentId",
},
{
- $ref: "#/parameters/rowFilter.supplierProcess.updatedAt",
+ $ref: "#/parameters/rowFilter.documentFavorite.userId",
},
{
$ref: "#/parameters/preferReturn",
@@ -33215,72 +33281,63 @@ export default {
description: "No Content",
},
},
- tags: ["supplierProcess"],
+ tags: ["documentFavorite"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.supplierProcess.id",
- },
- {
- $ref: "#/parameters/rowFilter.supplierProcess.supplierId",
- },
- {
- $ref: "#/parameters/rowFilter.supplierProcess.processId",
+ $ref: "#/parameters/rowFilter.documentFavorite.documentId",
},
{
- $ref: "#/parameters/rowFilter.supplierProcess.minimumCost",
+ $ref: "#/parameters/rowFilter.documentFavorite.userId",
},
{
- $ref: "#/parameters/rowFilter.supplierProcess.unitCost",
+ $ref: "#/parameters/body.documentFavorite",
},
{
- $ref: "#/parameters/rowFilter.supplierProcess.leadTime",
+ $ref: "#/parameters/preferReturn",
},
- {
- $ref: "#/parameters/rowFilter.supplierProcess.companyId",
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
},
+ },
+ tags: ["documentFavorite"],
+ },
+ },
+ "/partner": {
+ get: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.supplierProcess.customFields",
+ $ref: "#/parameters/rowFilter.partner.id",
},
{
- $ref: "#/parameters/rowFilter.supplierProcess.createdBy",
+ $ref: "#/parameters/rowFilter.partner.hoursPerWeek",
},
{
- $ref: "#/parameters/rowFilter.supplierProcess.createdAt",
+ $ref: "#/parameters/rowFilter.partner.abilityId",
},
{
- $ref: "#/parameters/rowFilter.supplierProcess.updatedBy",
+ $ref: "#/parameters/rowFilter.partner.active",
},
{
- $ref: "#/parameters/rowFilter.supplierProcess.updatedAt",
+ $ref: "#/parameters/rowFilter.partner.companyId",
},
{
- $ref: "#/parameters/body.supplierProcess",
+ $ref: "#/parameters/rowFilter.partner.createdBy",
},
{
- $ref: "#/parameters/preferReturn",
- },
- ],
- responses: {
- "204": {
- description: "No Content",
+ $ref: "#/parameters/rowFilter.partner.createdAt",
},
- },
- tags: ["supplierProcess"],
- },
- },
- "/employee": {
- get: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.employee.id",
+ $ref: "#/parameters/rowFilter.partner.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.employee.companyId",
+ $ref: "#/parameters/rowFilter.partner.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.employee.employeeTypeId",
+ $ref: "#/parameters/rowFilter.partner.customFields",
},
{
$ref: "#/parameters/select",
@@ -33309,7 +33366,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/employee",
+ $ref: "#/definitions/partner",
},
type: "array",
},
@@ -33318,12 +33375,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["employee"],
+ tags: ["partner"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.employee",
+ $ref: "#/parameters/body.partner",
},
{
$ref: "#/parameters/select",
@@ -33337,18 +33394,39 @@ export default {
description: "Created",
},
},
- tags: ["employee"],
+ tags: ["partner"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.employee.id",
+ $ref: "#/parameters/rowFilter.partner.id",
},
{
- $ref: "#/parameters/rowFilter.employee.companyId",
+ $ref: "#/parameters/rowFilter.partner.hoursPerWeek",
},
{
- $ref: "#/parameters/rowFilter.employee.employeeTypeId",
+ $ref: "#/parameters/rowFilter.partner.abilityId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.partner.active",
+ },
+ {
+ $ref: "#/parameters/rowFilter.partner.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.partner.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.partner.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.partner.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.partner.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.partner.customFields",
},
{
$ref: "#/parameters/preferReturn",
@@ -33359,81 +33437,87 @@ export default {
description: "No Content",
},
},
- tags: ["employee"],
+ tags: ["partner"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.employee.id",
+ $ref: "#/parameters/rowFilter.partner.id",
},
{
- $ref: "#/parameters/rowFilter.employee.companyId",
+ $ref: "#/parameters/rowFilter.partner.hoursPerWeek",
},
{
- $ref: "#/parameters/rowFilter.employee.employeeTypeId",
+ $ref: "#/parameters/rowFilter.partner.abilityId",
},
{
- $ref: "#/parameters/body.employee",
+ $ref: "#/parameters/rowFilter.partner.active",
},
{
- $ref: "#/parameters/preferReturn",
+ $ref: "#/parameters/rowFilter.partner.companyId",
},
- ],
- responses: {
- "204": {
- description: "No Content",
+ {
+ $ref: "#/parameters/rowFilter.partner.createdBy",
},
- },
- tags: ["employee"],
- },
- },
- "/buyMethod": {
- get: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.buyMethod.id",
+ $ref: "#/parameters/rowFilter.partner.createdAt",
},
{
- $ref: "#/parameters/rowFilter.buyMethod.itemId",
+ $ref: "#/parameters/rowFilter.partner.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.buyMethod.supplierId",
+ $ref: "#/parameters/rowFilter.partner.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.buyMethod.supplierPartId",
+ $ref: "#/parameters/rowFilter.partner.customFields",
},
{
- $ref: "#/parameters/rowFilter.buyMethod.supplierUnitOfMeasureCode",
+ $ref: "#/parameters/body.partner",
},
{
- $ref: "#/parameters/rowFilter.buyMethod.minimumOrderQuantity",
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
},
+ },
+ tags: ["partner"],
+ },
+ },
+ "/address": {
+ get: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.buyMethod.conversionFactor",
+ $ref: "#/parameters/rowFilter.address.id",
},
{
- $ref: "#/parameters/rowFilter.buyMethod.active",
+ $ref: "#/parameters/rowFilter.address.addressLine1",
},
{
- $ref: "#/parameters/rowFilter.buyMethod.companyId",
+ $ref: "#/parameters/rowFilter.address.addressLine2",
},
{
- $ref: "#/parameters/rowFilter.buyMethod.createdBy",
+ $ref: "#/parameters/rowFilter.address.city",
},
{
- $ref: "#/parameters/rowFilter.buyMethod.createdAt",
+ $ref: "#/parameters/rowFilter.address.stateProvince",
},
{
- $ref: "#/parameters/rowFilter.buyMethod.updatedBy",
+ $ref: "#/parameters/rowFilter.address.postalCode",
},
{
- $ref: "#/parameters/rowFilter.buyMethod.updatedAt",
+ $ref: "#/parameters/rowFilter.address.countryCode",
},
{
- $ref: "#/parameters/rowFilter.buyMethod.customFields",
+ $ref: "#/parameters/rowFilter.address.phone",
},
{
- $ref: "#/parameters/rowFilter.buyMethod.unitPrice",
+ $ref: "#/parameters/rowFilter.address.fax",
+ },
+ {
+ $ref: "#/parameters/rowFilter.address.companyId",
},
{
$ref: "#/parameters/select",
@@ -33462,7 +33546,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/buyMethod",
+ $ref: "#/definitions/address",
},
type: "array",
},
@@ -33471,12 +33555,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["buyMethod"],
+ tags: ["address"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.buyMethod",
+ $ref: "#/parameters/body.address",
},
{
$ref: "#/parameters/select",
@@ -33490,54 +33574,39 @@ export default {
description: "Created",
},
},
- tags: ["buyMethod"],
+ tags: ["address"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.buyMethod.id",
- },
- {
- $ref: "#/parameters/rowFilter.buyMethod.itemId",
- },
- {
- $ref: "#/parameters/rowFilter.buyMethod.supplierId",
- },
- {
- $ref: "#/parameters/rowFilter.buyMethod.supplierPartId",
- },
- {
- $ref: "#/parameters/rowFilter.buyMethod.supplierUnitOfMeasureCode",
- },
- {
- $ref: "#/parameters/rowFilter.buyMethod.minimumOrderQuantity",
+ $ref: "#/parameters/rowFilter.address.id",
},
{
- $ref: "#/parameters/rowFilter.buyMethod.conversionFactor",
+ $ref: "#/parameters/rowFilter.address.addressLine1",
},
{
- $ref: "#/parameters/rowFilter.buyMethod.active",
+ $ref: "#/parameters/rowFilter.address.addressLine2",
},
{
- $ref: "#/parameters/rowFilter.buyMethod.companyId",
+ $ref: "#/parameters/rowFilter.address.city",
},
{
- $ref: "#/parameters/rowFilter.buyMethod.createdBy",
+ $ref: "#/parameters/rowFilter.address.stateProvince",
},
{
- $ref: "#/parameters/rowFilter.buyMethod.createdAt",
+ $ref: "#/parameters/rowFilter.address.postalCode",
},
{
- $ref: "#/parameters/rowFilter.buyMethod.updatedBy",
+ $ref: "#/parameters/rowFilter.address.countryCode",
},
{
- $ref: "#/parameters/rowFilter.buyMethod.updatedAt",
+ $ref: "#/parameters/rowFilter.address.phone",
},
{
- $ref: "#/parameters/rowFilter.buyMethod.customFields",
+ $ref: "#/parameters/rowFilter.address.fax",
},
{
- $ref: "#/parameters/rowFilter.buyMethod.unitPrice",
+ $ref: "#/parameters/rowFilter.address.companyId",
},
{
$ref: "#/parameters/preferReturn",
@@ -33548,57 +33617,42 @@ export default {
description: "No Content",
},
},
- tags: ["buyMethod"],
+ tags: ["address"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.buyMethod.id",
- },
- {
- $ref: "#/parameters/rowFilter.buyMethod.itemId",
- },
- {
- $ref: "#/parameters/rowFilter.buyMethod.supplierId",
- },
- {
- $ref: "#/parameters/rowFilter.buyMethod.supplierPartId",
- },
- {
- $ref: "#/parameters/rowFilter.buyMethod.supplierUnitOfMeasureCode",
- },
- {
- $ref: "#/parameters/rowFilter.buyMethod.minimumOrderQuantity",
+ $ref: "#/parameters/rowFilter.address.id",
},
{
- $ref: "#/parameters/rowFilter.buyMethod.conversionFactor",
+ $ref: "#/parameters/rowFilter.address.addressLine1",
},
{
- $ref: "#/parameters/rowFilter.buyMethod.active",
+ $ref: "#/parameters/rowFilter.address.addressLine2",
},
{
- $ref: "#/parameters/rowFilter.buyMethod.companyId",
+ $ref: "#/parameters/rowFilter.address.city",
},
{
- $ref: "#/parameters/rowFilter.buyMethod.createdBy",
+ $ref: "#/parameters/rowFilter.address.stateProvince",
},
{
- $ref: "#/parameters/rowFilter.buyMethod.createdAt",
+ $ref: "#/parameters/rowFilter.address.postalCode",
},
{
- $ref: "#/parameters/rowFilter.buyMethod.updatedBy",
+ $ref: "#/parameters/rowFilter.address.countryCode",
},
{
- $ref: "#/parameters/rowFilter.buyMethod.updatedAt",
+ $ref: "#/parameters/rowFilter.address.phone",
},
{
- $ref: "#/parameters/rowFilter.buyMethod.customFields",
+ $ref: "#/parameters/rowFilter.address.fax",
},
{
- $ref: "#/parameters/rowFilter.buyMethod.unitPrice",
+ $ref: "#/parameters/rowFilter.address.companyId",
},
{
- $ref: "#/parameters/body.buyMethod",
+ $ref: "#/parameters/body.address",
},
{
$ref: "#/parameters/preferReturn",
@@ -33609,41 +33663,50 @@ export default {
description: "No Content",
},
},
- tags: ["buyMethod"],
+ tags: ["address"],
},
},
- "/itemPostingGroup": {
+ "/part": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.itemPostingGroup.id",
+ $ref: "#/parameters/rowFilter.part.id",
},
{
- $ref: "#/parameters/rowFilter.itemPostingGroup.name",
+ $ref: "#/parameters/rowFilter.part.itemId",
},
{
- $ref: "#/parameters/rowFilter.itemPostingGroup.description",
+ $ref: "#/parameters/rowFilter.part.approved",
},
{
- $ref: "#/parameters/rowFilter.itemPostingGroup.active",
+ $ref: "#/parameters/rowFilter.part.approvedBy",
},
{
- $ref: "#/parameters/rowFilter.itemPostingGroup.companyId",
+ $ref: "#/parameters/rowFilter.part.fromDate",
},
{
- $ref: "#/parameters/rowFilter.itemPostingGroup.createdBy",
+ $ref: "#/parameters/rowFilter.part.toDate",
},
{
- $ref: "#/parameters/rowFilter.itemPostingGroup.createdAt",
+ $ref: "#/parameters/rowFilter.part.companyId",
},
{
- $ref: "#/parameters/rowFilter.itemPostingGroup.updatedBy",
+ $ref: "#/parameters/rowFilter.part.createdBy",
},
{
- $ref: "#/parameters/rowFilter.itemPostingGroup.updatedAt",
+ $ref: "#/parameters/rowFilter.part.createdAt",
},
{
- $ref: "#/parameters/rowFilter.itemPostingGroup.customFields",
+ $ref: "#/parameters/rowFilter.part.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.part.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.part.customFields",
+ },
+ {
+ $ref: "#/parameters/rowFilter.part.externalId",
},
{
$ref: "#/parameters/select",
@@ -33672,7 +33735,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/itemPostingGroup",
+ $ref: "#/definitions/part",
},
type: "array",
},
@@ -33681,12 +33744,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["itemPostingGroup"],
+ tags: ["part"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.itemPostingGroup",
+ $ref: "#/parameters/body.part",
},
{
$ref: "#/parameters/select",
@@ -33700,39 +33763,48 @@ export default {
description: "Created",
},
},
- tags: ["itemPostingGroup"],
+ tags: ["part"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.itemPostingGroup.id",
+ $ref: "#/parameters/rowFilter.part.id",
},
{
- $ref: "#/parameters/rowFilter.itemPostingGroup.name",
+ $ref: "#/parameters/rowFilter.part.itemId",
},
{
- $ref: "#/parameters/rowFilter.itemPostingGroup.description",
+ $ref: "#/parameters/rowFilter.part.approved",
},
{
- $ref: "#/parameters/rowFilter.itemPostingGroup.active",
+ $ref: "#/parameters/rowFilter.part.approvedBy",
},
{
- $ref: "#/parameters/rowFilter.itemPostingGroup.companyId",
+ $ref: "#/parameters/rowFilter.part.fromDate",
},
{
- $ref: "#/parameters/rowFilter.itemPostingGroup.createdBy",
+ $ref: "#/parameters/rowFilter.part.toDate",
},
{
- $ref: "#/parameters/rowFilter.itemPostingGroup.createdAt",
+ $ref: "#/parameters/rowFilter.part.companyId",
},
{
- $ref: "#/parameters/rowFilter.itemPostingGroup.updatedBy",
+ $ref: "#/parameters/rowFilter.part.createdBy",
},
{
- $ref: "#/parameters/rowFilter.itemPostingGroup.updatedAt",
+ $ref: "#/parameters/rowFilter.part.createdAt",
},
{
- $ref: "#/parameters/rowFilter.itemPostingGroup.customFields",
+ $ref: "#/parameters/rowFilter.part.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.part.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.part.customFields",
+ },
+ {
+ $ref: "#/parameters/rowFilter.part.externalId",
},
{
$ref: "#/parameters/preferReturn",
@@ -33743,42 +33815,51 @@ export default {
description: "No Content",
},
},
- tags: ["itemPostingGroup"],
+ tags: ["part"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.itemPostingGroup.id",
+ $ref: "#/parameters/rowFilter.part.id",
},
{
- $ref: "#/parameters/rowFilter.itemPostingGroup.name",
+ $ref: "#/parameters/rowFilter.part.itemId",
},
{
- $ref: "#/parameters/rowFilter.itemPostingGroup.description",
+ $ref: "#/parameters/rowFilter.part.approved",
},
{
- $ref: "#/parameters/rowFilter.itemPostingGroup.active",
+ $ref: "#/parameters/rowFilter.part.approvedBy",
},
{
- $ref: "#/parameters/rowFilter.itemPostingGroup.companyId",
+ $ref: "#/parameters/rowFilter.part.fromDate",
},
{
- $ref: "#/parameters/rowFilter.itemPostingGroup.createdBy",
+ $ref: "#/parameters/rowFilter.part.toDate",
},
{
- $ref: "#/parameters/rowFilter.itemPostingGroup.createdAt",
+ $ref: "#/parameters/rowFilter.part.companyId",
},
{
- $ref: "#/parameters/rowFilter.itemPostingGroup.updatedBy",
+ $ref: "#/parameters/rowFilter.part.createdBy",
},
{
- $ref: "#/parameters/rowFilter.itemPostingGroup.updatedAt",
+ $ref: "#/parameters/rowFilter.part.createdAt",
},
{
- $ref: "#/parameters/rowFilter.itemPostingGroup.customFields",
+ $ref: "#/parameters/rowFilter.part.updatedBy",
},
{
- $ref: "#/parameters/body.itemPostingGroup",
+ $ref: "#/parameters/rowFilter.part.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.part.customFields",
+ },
+ {
+ $ref: "#/parameters/rowFilter.part.externalId",
+ },
+ {
+ $ref: "#/parameters/body.part",
},
{
$ref: "#/parameters/preferReturn",
@@ -33789,38 +33870,29 @@ export default {
description: "No Content",
},
},
- tags: ["itemPostingGroup"],
+ tags: ["part"],
},
},
- "/department": {
+ "/customerPartToItem": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.department.id",
- },
- {
- $ref: "#/parameters/rowFilter.department.name",
- },
- {
- $ref: "#/parameters/rowFilter.department.parentDepartmentId",
- },
- {
- $ref: "#/parameters/rowFilter.department.companyId",
+ $ref: "#/parameters/rowFilter.customerPartToItem.customerId",
},
{
- $ref: "#/parameters/rowFilter.department.createdBy",
+ $ref: "#/parameters/rowFilter.customerPartToItem.customerPartId",
},
{
- $ref: "#/parameters/rowFilter.department.createdAt",
+ $ref: "#/parameters/rowFilter.customerPartToItem.customerPartRevision",
},
{
- $ref: "#/parameters/rowFilter.department.updatedBy",
+ $ref: "#/parameters/rowFilter.customerPartToItem.itemId",
},
{
- $ref: "#/parameters/rowFilter.department.updatedAt",
+ $ref: "#/parameters/rowFilter.customerPartToItem.companyId",
},
{
- $ref: "#/parameters/rowFilter.department.customFields",
+ $ref: "#/parameters/rowFilter.customerPartToItem.id",
},
{
$ref: "#/parameters/select",
@@ -33849,7 +33921,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/department",
+ $ref: "#/definitions/customerPartToItem",
},
type: "array",
},
@@ -33858,12 +33930,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["department"],
+ tags: ["customerPartToItem"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.department",
+ $ref: "#/parameters/body.customerPartToItem",
},
{
$ref: "#/parameters/select",
@@ -33877,36 +33949,27 @@ export default {
description: "Created",
},
},
- tags: ["department"],
+ tags: ["customerPartToItem"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.department.id",
- },
- {
- $ref: "#/parameters/rowFilter.department.name",
- },
- {
- $ref: "#/parameters/rowFilter.department.parentDepartmentId",
- },
- {
- $ref: "#/parameters/rowFilter.department.companyId",
+ $ref: "#/parameters/rowFilter.customerPartToItem.customerId",
},
{
- $ref: "#/parameters/rowFilter.department.createdBy",
+ $ref: "#/parameters/rowFilter.customerPartToItem.customerPartId",
},
{
- $ref: "#/parameters/rowFilter.department.createdAt",
+ $ref: "#/parameters/rowFilter.customerPartToItem.customerPartRevision",
},
{
- $ref: "#/parameters/rowFilter.department.updatedBy",
+ $ref: "#/parameters/rowFilter.customerPartToItem.itemId",
},
{
- $ref: "#/parameters/rowFilter.department.updatedAt",
+ $ref: "#/parameters/rowFilter.customerPartToItem.companyId",
},
{
- $ref: "#/parameters/rowFilter.department.customFields",
+ $ref: "#/parameters/rowFilter.customerPartToItem.id",
},
{
$ref: "#/parameters/preferReturn",
@@ -33917,39 +33980,30 @@ export default {
description: "No Content",
},
},
- tags: ["department"],
+ tags: ["customerPartToItem"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.department.id",
- },
- {
- $ref: "#/parameters/rowFilter.department.name",
- },
- {
- $ref: "#/parameters/rowFilter.department.parentDepartmentId",
- },
- {
- $ref: "#/parameters/rowFilter.department.companyId",
+ $ref: "#/parameters/rowFilter.customerPartToItem.customerId",
},
{
- $ref: "#/parameters/rowFilter.department.createdBy",
+ $ref: "#/parameters/rowFilter.customerPartToItem.customerPartId",
},
{
- $ref: "#/parameters/rowFilter.department.createdAt",
+ $ref: "#/parameters/rowFilter.customerPartToItem.customerPartRevision",
},
{
- $ref: "#/parameters/rowFilter.department.updatedBy",
+ $ref: "#/parameters/rowFilter.customerPartToItem.itemId",
},
{
- $ref: "#/parameters/rowFilter.department.updatedAt",
+ $ref: "#/parameters/rowFilter.customerPartToItem.companyId",
},
{
- $ref: "#/parameters/rowFilter.department.customFields",
+ $ref: "#/parameters/rowFilter.customerPartToItem.id",
},
{
- $ref: "#/parameters/body.department",
+ $ref: "#/parameters/body.customerPartToItem",
},
{
$ref: "#/parameters/preferReturn",
@@ -33960,92 +34014,98 @@ export default {
description: "No Content",
},
},
- tags: ["department"],
+ tags: ["customerPartToItem"],
},
},
- "/purchaseInvoiceLine": {
+ "/materials": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.id",
+ $ref: "#/parameters/rowFilter.materials.active",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.invoiceId",
+ $ref: "#/parameters/rowFilter.materials.assignee",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.invoiceLineType",
+ $ref: "#/parameters/rowFilter.materials.defaultMethodType",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.purchaseOrderId",
+ $ref: "#/parameters/rowFilter.materials.description",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.purchaseOrderLineId",
+ $ref: "#/parameters/rowFilter.materials.itemTrackingType",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.itemId",
+ $ref: "#/parameters/rowFilter.materials.name",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.itemReadableId",
+ $ref: "#/parameters/rowFilter.materials.replenishmentSystem",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.serviceId",
+ $ref: "#/parameters/rowFilter.materials.thumbnailPath",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.locationId",
+ $ref: "#/parameters/rowFilter.materials.unitOfMeasureCode",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.shelfId",
+ $ref: "#/parameters/rowFilter.materials.id",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.accountNumber",
+ $ref: "#/parameters/rowFilter.materials.itemId",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.assetId",
+ $ref: "#/parameters/rowFilter.materials.materialFormId",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.description",
+ $ref: "#/parameters/rowFilter.materials.materialSubstanceId",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.quantity",
+ $ref: "#/parameters/rowFilter.materials.grade",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.unitPrice",
+ $ref: "#/parameters/rowFilter.materials.dimensions",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.totalAmount",
+ $ref: "#/parameters/rowFilter.materials.finish",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.currencyCode",
+ $ref: "#/parameters/rowFilter.materials.approved",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.exchangeRate",
+ $ref: "#/parameters/rowFilter.materials.approvedBy",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.inventoryUnitOfMeasureCode",
+ $ref: "#/parameters/rowFilter.materials.customFields",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.purchaseUnitOfMeasureCode",
+ $ref: "#/parameters/rowFilter.materials.companyId",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.companyId",
+ $ref: "#/parameters/rowFilter.materials.createdBy",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.createdBy",
+ $ref: "#/parameters/rowFilter.materials.createdAt",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.createdAt",
+ $ref: "#/parameters/rowFilter.materials.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.updatedBy",
+ $ref: "#/parameters/rowFilter.materials.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.updatedAt",
+ $ref: "#/parameters/rowFilter.materials.externalId",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.customFields",
+ $ref: "#/parameters/rowFilter.materials.materialForm",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.conversionFactor",
+ $ref: "#/parameters/rowFilter.materials.materialSubstance",
+ },
+ {
+ $ref: "#/parameters/rowFilter.materials.supplierIds",
+ },
+ {
+ $ref: "#/parameters/rowFilter.materials.unitOfMeasure",
},
{
$ref: "#/parameters/select",
@@ -34074,7 +34134,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/purchaseInvoiceLine",
+ $ref: "#/definitions/materials",
},
type: "array",
},
@@ -34083,12 +34143,72 @@ export default {
description: "Partial Content",
},
},
- tags: ["purchaseInvoiceLine"],
+ tags: ["materials"],
+ },
+ },
+ "/employeeType": {
+ get: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.employeeType.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.employeeType.name",
+ },
+ {
+ $ref: "#/parameters/rowFilter.employeeType.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.employeeType.protected",
+ },
+ {
+ $ref: "#/parameters/rowFilter.employeeType.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.employeeType.updatedAt",
+ },
+ {
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/order",
+ },
+ {
+ $ref: "#/parameters/range",
+ },
+ {
+ $ref: "#/parameters/rangeUnit",
+ },
+ {
+ $ref: "#/parameters/offset",
+ },
+ {
+ $ref: "#/parameters/limit",
+ },
+ {
+ $ref: "#/parameters/preferCount",
+ },
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/employeeType",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
+ },
+ },
+ tags: ["employeeType"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.purchaseInvoiceLine",
+ $ref: "#/parameters/body.employeeType",
},
{
$ref: "#/parameters/select",
@@ -34102,187 +34222,231 @@ export default {
description: "Created",
},
},
- tags: ["purchaseInvoiceLine"],
+ tags: ["employeeType"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.id",
+ $ref: "#/parameters/rowFilter.employeeType.id",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.invoiceId",
+ $ref: "#/parameters/rowFilter.employeeType.name",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.invoiceLineType",
+ $ref: "#/parameters/rowFilter.employeeType.companyId",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.purchaseOrderId",
+ $ref: "#/parameters/rowFilter.employeeType.protected",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.purchaseOrderLineId",
+ $ref: "#/parameters/rowFilter.employeeType.createdAt",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.itemId",
+ $ref: "#/parameters/rowFilter.employeeType.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.itemReadableId",
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
},
+ },
+ tags: ["employeeType"],
+ },
+ patch: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.serviceId",
+ $ref: "#/parameters/rowFilter.employeeType.id",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.locationId",
+ $ref: "#/parameters/rowFilter.employeeType.name",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.shelfId",
+ $ref: "#/parameters/rowFilter.employeeType.companyId",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.accountNumber",
+ $ref: "#/parameters/rowFilter.employeeType.protected",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.assetId",
+ $ref: "#/parameters/rowFilter.employeeType.createdAt",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.description",
+ $ref: "#/parameters/rowFilter.employeeType.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.quantity",
+ $ref: "#/parameters/body.employeeType",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.unitPrice",
+ $ref: "#/parameters/preferReturn",
},
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
+ },
+ },
+ tags: ["employeeType"],
+ },
+ },
+ "/itemReplenishment": {
+ get: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.totalAmount",
+ $ref: "#/parameters/rowFilter.itemReplenishment.itemId",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.currencyCode",
+ $ref: "#/parameters/rowFilter.itemReplenishment.preferredSupplierId",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.exchangeRate",
+ $ref: "#/parameters/rowFilter.itemReplenishment.purchasingLeadTime",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.inventoryUnitOfMeasureCode",
+ $ref: "#/parameters/rowFilter.itemReplenishment.purchasingUnitOfMeasureCode",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.purchaseUnitOfMeasureCode",
+ $ref: "#/parameters/rowFilter.itemReplenishment.conversionFactor",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.companyId",
+ $ref: "#/parameters/rowFilter.itemReplenishment.purchasingBlocked",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.createdBy",
+ $ref: "#/parameters/rowFilter.itemReplenishment.manufacturingBlocked",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.createdAt",
+ $ref: "#/parameters/rowFilter.itemReplenishment.requiresConfiguration",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.updatedBy",
+ $ref: "#/parameters/rowFilter.itemReplenishment.lotSize",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.updatedAt",
+ $ref: "#/parameters/rowFilter.itemReplenishment.companyId",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.customFields",
+ $ref: "#/parameters/rowFilter.itemReplenishment.createdBy",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.conversionFactor",
+ $ref: "#/parameters/rowFilter.itemReplenishment.createdAt",
},
{
- $ref: "#/parameters/preferReturn",
+ $ref: "#/parameters/rowFilter.itemReplenishment.updatedBy",
},
- ],
- responses: {
- "204": {
- description: "No Content",
+ {
+ $ref: "#/parameters/rowFilter.itemReplenishment.updatedAt",
},
- },
- tags: ["purchaseInvoiceLine"],
- },
- patch: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.id",
+ $ref: "#/parameters/rowFilter.itemReplenishment.customFields",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.invoiceId",
+ $ref: "#/parameters/rowFilter.itemReplenishment.scrapPercentage",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.invoiceLineType",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.purchaseOrderId",
+ $ref: "#/parameters/order",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.purchaseOrderLineId",
+ $ref: "#/parameters/range",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.itemId",
+ $ref: "#/parameters/rangeUnit",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.itemReadableId",
+ $ref: "#/parameters/offset",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.serviceId",
+ $ref: "#/parameters/limit",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.locationId",
+ $ref: "#/parameters/preferCount",
+ },
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/itemReplenishment",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
},
+ },
+ tags: ["itemReplenishment"],
+ },
+ post: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.shelfId",
+ $ref: "#/parameters/body.itemReplenishment",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.accountNumber",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.assetId",
+ $ref: "#/parameters/preferPost",
+ },
+ ],
+ responses: {
+ "201": {
+ description: "Created",
},
+ },
+ tags: ["itemReplenishment"],
+ },
+ delete: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.description",
+ $ref: "#/parameters/rowFilter.itemReplenishment.itemId",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.quantity",
+ $ref: "#/parameters/rowFilter.itemReplenishment.preferredSupplierId",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.unitPrice",
+ $ref: "#/parameters/rowFilter.itemReplenishment.purchasingLeadTime",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.totalAmount",
+ $ref: "#/parameters/rowFilter.itemReplenishment.purchasingUnitOfMeasureCode",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.currencyCode",
+ $ref: "#/parameters/rowFilter.itemReplenishment.conversionFactor",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.exchangeRate",
+ $ref: "#/parameters/rowFilter.itemReplenishment.purchasingBlocked",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.inventoryUnitOfMeasureCode",
+ $ref: "#/parameters/rowFilter.itemReplenishment.manufacturingBlocked",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.purchaseUnitOfMeasureCode",
+ $ref: "#/parameters/rowFilter.itemReplenishment.requiresConfiguration",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.companyId",
+ $ref: "#/parameters/rowFilter.itemReplenishment.lotSize",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.createdBy",
+ $ref: "#/parameters/rowFilter.itemReplenishment.companyId",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.createdAt",
+ $ref: "#/parameters/rowFilter.itemReplenishment.createdBy",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.updatedBy",
+ $ref: "#/parameters/rowFilter.itemReplenishment.createdAt",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.updatedAt",
+ $ref: "#/parameters/rowFilter.itemReplenishment.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.customFields",
+ $ref: "#/parameters/rowFilter.itemReplenishment.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.purchaseInvoiceLine.conversionFactor",
+ $ref: "#/parameters/rowFilter.itemReplenishment.customFields",
},
{
- $ref: "#/parameters/body.purchaseInvoiceLine",
+ $ref: "#/parameters/rowFilter.itemReplenishment.scrapPercentage",
},
{
$ref: "#/parameters/preferReturn",
@@ -34293,86 +34457,84 @@ export default {
description: "No Content",
},
},
- tags: ["purchaseInvoiceLine"],
+ tags: ["itemReplenishment"],
},
- },
- "/salesRfqs": {
- get: {
+ patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.salesRfqs.id",
- },
- {
- $ref: "#/parameters/rowFilter.salesRfqs.rfqId",
- },
- {
- $ref: "#/parameters/rowFilter.salesRfqs.revisionId",
- },
- {
- $ref: "#/parameters/rowFilter.salesRfqs.status",
+ $ref: "#/parameters/rowFilter.itemReplenishment.itemId",
},
{
- $ref: "#/parameters/rowFilter.salesRfqs.employeeId",
+ $ref: "#/parameters/rowFilter.itemReplenishment.preferredSupplierId",
},
{
- $ref: "#/parameters/rowFilter.salesRfqs.customerId",
+ $ref: "#/parameters/rowFilter.itemReplenishment.purchasingLeadTime",
},
{
- $ref: "#/parameters/rowFilter.salesRfqs.customerContactId",
+ $ref: "#/parameters/rowFilter.itemReplenishment.purchasingUnitOfMeasureCode",
},
{
- $ref: "#/parameters/rowFilter.salesRfqs.customerReference",
+ $ref: "#/parameters/rowFilter.itemReplenishment.conversionFactor",
},
{
- $ref: "#/parameters/rowFilter.salesRfqs.rfqDate",
+ $ref: "#/parameters/rowFilter.itemReplenishment.purchasingBlocked",
},
{
- $ref: "#/parameters/rowFilter.salesRfqs.expirationDate",
+ $ref: "#/parameters/rowFilter.itemReplenishment.manufacturingBlocked",
},
{
- $ref: "#/parameters/rowFilter.salesRfqs.locationId",
+ $ref: "#/parameters/rowFilter.itemReplenishment.requiresConfiguration",
},
{
- $ref: "#/parameters/rowFilter.salesRfqs.assignee",
+ $ref: "#/parameters/rowFilter.itemReplenishment.lotSize",
},
{
- $ref: "#/parameters/rowFilter.salesRfqs.companyId",
+ $ref: "#/parameters/rowFilter.itemReplenishment.companyId",
},
{
- $ref: "#/parameters/rowFilter.salesRfqs.customFields",
+ $ref: "#/parameters/rowFilter.itemReplenishment.createdBy",
},
{
- $ref: "#/parameters/rowFilter.salesRfqs.createdAt",
+ $ref: "#/parameters/rowFilter.itemReplenishment.createdAt",
},
{
- $ref: "#/parameters/rowFilter.salesRfqs.createdBy",
+ $ref: "#/parameters/rowFilter.itemReplenishment.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.salesRfqs.updatedAt",
+ $ref: "#/parameters/rowFilter.itemReplenishment.updatedAt",
},
{
- $ref: "#/parameters/rowFilter.salesRfqs.updatedBy",
+ $ref: "#/parameters/rowFilter.itemReplenishment.customFields",
},
{
- $ref: "#/parameters/rowFilter.salesRfqs.customerLocationId",
+ $ref: "#/parameters/rowFilter.itemReplenishment.scrapPercentage",
},
{
- $ref: "#/parameters/rowFilter.salesRfqs.externalNotes",
+ $ref: "#/parameters/body.itemReplenishment",
},
{
- $ref: "#/parameters/rowFilter.salesRfqs.internalNotes",
+ $ref: "#/parameters/preferReturn",
},
- {
- $ref: "#/parameters/rowFilter.salesRfqs.locationName",
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
},
+ },
+ tags: ["itemReplenishment"],
+ },
+ },
+ "/documentLabel": {
+ get: {
+ parameters: [
{
- $ref: "#/parameters/rowFilter.salesRfqs.quoteId",
+ $ref: "#/parameters/rowFilter.documentLabel.documentId",
},
{
- $ref: "#/parameters/rowFilter.salesRfqs.salesOrderId",
+ $ref: "#/parameters/rowFilter.documentLabel.userId",
},
{
- $ref: "#/parameters/rowFilter.salesRfqs.favorite",
+ $ref: "#/parameters/rowFilter.documentLabel.label",
},
{
$ref: "#/parameters/select",
@@ -34401,7 +34563,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/salesRfqs",
+ $ref: "#/definitions/documentLabel",
},
type: "array",
},
@@ -34410,6249 +34572,8303 @@ export default {
description: "Partial Content",
},
},
- tags: ["salesRfqs"],
+ tags: ["documentLabel"],
},
- },
- "/rpc/has_company_permission": {
- get: {
+ post: {
parameters: [
{
- format: "text",
- in: "query",
- name: "claim",
- required: true,
- type: "string",
+ $ref: "#/parameters/body.documentLabel",
},
{
- format: "text",
- in: "query",
- name: "company",
- required: true,
- type: "string",
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/preferPost",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
],
responses: {
- "200": {
- description: "OK",
+ "201": {
+ description: "Created",
},
},
- tags: ["(rpc) has_company_permission"],
+ tags: ["documentLabel"],
},
- post: {
+ delete: {
parameters: [
{
- in: "body",
- name: "args",
- required: true,
- schema: {
- properties: {
- claim: {
- format: "text",
- type: "string",
- },
- company: {
- format: "text",
- type: "string",
- },
- },
- required: ["claim", "company"],
- type: "object",
- },
+ $ref: "#/parameters/rowFilter.documentLabel.documentId",
},
{
- $ref: "#/parameters/preferParams",
+ $ref: "#/parameters/rowFilter.documentLabel.userId",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
- ],
- responses: {
- "200": {
- description: "OK",
+ {
+ $ref: "#/parameters/rowFilter.documentLabel.label",
},
- },
- tags: ["(rpc) has_company_permission"],
- },
- },
- "/rpc/xid": {
- get: {
- parameters: [
{
- format: "timestamp with time zone",
- in: "query",
- name: "_at",
- required: false,
- type: "string",
+ $ref: "#/parameters/preferReturn",
},
],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
- ],
responses: {
- "200": {
- description: "OK",
+ "204": {
+ description: "No Content",
},
},
- tags: ["(rpc) xid"],
+ tags: ["documentLabel"],
},
- post: {
+ patch: {
parameters: [
{
- in: "body",
- name: "args",
- required: true,
- schema: {
- properties: {
- _at: {
- format: "timestamp with time zone",
- type: "string",
- },
- },
- type: "object",
- },
+ $ref: "#/parameters/rowFilter.documentLabel.documentId",
},
{
- $ref: "#/parameters/preferParams",
+ $ref: "#/parameters/rowFilter.documentLabel.userId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.documentLabel.label",
+ },
+ {
+ $ref: "#/parameters/body.documentLabel",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
],
responses: {
- "200": {
- description: "OK",
+ "204": {
+ description: "No Content",
},
},
- tags: ["(rpc) xid"],
+ tags: ["documentLabel"],
},
},
- "/rpc/journalLinesByAccountNumber": {
+ "/supplierShipping": {
get: {
parameters: [
{
- format: "date",
- in: "query",
- name: "from_date",
- required: false,
- type: "string",
+ $ref: "#/parameters/rowFilter.supplierShipping.supplierId",
},
{
- format: "date",
- in: "query",
- name: "to_date",
- required: false,
- type: "string",
+ $ref: "#/parameters/rowFilter.supplierShipping.shippingSupplierId",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
- ],
- responses: {
- "200": {
- description: "OK",
+ {
+ $ref: "#/parameters/rowFilter.supplierShipping.shippingSupplierLocationId",
},
- },
- tags: ["(rpc) journalLinesByAccountNumber"],
- },
- post: {
- parameters: [
{
- in: "body",
- name: "args",
- required: true,
- schema: {
- properties: {
- from_date: {
- format: "date",
- type: "string",
- },
- to_date: {
- format: "date",
- type: "string",
- },
- },
- type: "object",
- },
+ $ref: "#/parameters/rowFilter.supplierShipping.shippingSupplierContactId",
},
{
- $ref: "#/parameters/preferParams",
+ $ref: "#/parameters/rowFilter.supplierShipping.shippingTermId",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
- ],
- responses: {
- "200": {
- description: "OK",
+ {
+ $ref: "#/parameters/rowFilter.supplierShipping.shippingMethodId",
},
- },
- tags: ["(rpc) journalLinesByAccountNumber"],
- },
- },
- "/rpc/get_my_permission": {
- get: {
- parameters: [
{
- format: "text",
- in: "query",
- name: "claim",
- required: true,
- type: "string",
+ $ref: "#/parameters/rowFilter.supplierShipping.companyId",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
- ],
- responses: {
- "200": {
- description: "OK",
+ {
+ $ref: "#/parameters/rowFilter.supplierShipping.updatedAt",
},
- },
- tags: ["(rpc) get_my_permission"],
- },
- post: {
- parameters: [
{
- in: "body",
- name: "args",
- required: true,
- schema: {
- properties: {
- claim: {
- format: "text",
- type: "string",
- },
- },
- required: ["claim"],
- type: "object",
- },
+ $ref: "#/parameters/rowFilter.supplierShipping.updatedBy",
},
{
- $ref: "#/parameters/preferParams",
+ $ref: "#/parameters/rowFilter.supplierShipping.customFields",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
- ],
- responses: {
- "200": {
- description: "OK",
+ {
+ $ref: "#/parameters/select",
},
- },
- tags: ["(rpc) get_my_permission"],
- },
- },
- "/rpc/get_active_job_operations_by_location": {
- get: {
- parameters: [
{
- format: "text",
- in: "query",
- name: "location_id",
- required: true,
- type: "string",
+ $ref: "#/parameters/order",
},
{
- format: "text[]",
- in: "query",
- name: "work_center_ids",
- required: true,
- type: "string",
+ $ref: "#/parameters/range",
+ },
+ {
+ $ref: "#/parameters/rangeUnit",
+ },
+ {
+ $ref: "#/parameters/offset",
+ },
+ {
+ $ref: "#/parameters/limit",
+ },
+ {
+ $ref: "#/parameters/preferCount",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
],
responses: {
"200": {
description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/supplierShipping",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
},
},
- tags: ["(rpc) get_active_job_operations_by_location"],
+ tags: ["supplierShipping"],
},
post: {
parameters: [
{
- in: "body",
- name: "args",
- required: true,
- schema: {
- properties: {
- location_id: {
- format: "text",
- type: "string",
- },
- work_center_ids: {
- format: "text[]",
- items: {
- type: "string",
- },
- type: "array",
- },
- },
- required: ["location_id", "work_center_ids"],
- type: "object",
- },
+ $ref: "#/parameters/body.supplierShipping",
},
{
- $ref: "#/parameters/preferParams",
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/preferPost",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
],
responses: {
- "200": {
- description: "OK",
+ "201": {
+ description: "Created",
},
},
- tags: ["(rpc) get_active_job_operations_by_location"],
+ tags: ["supplierShipping"],
},
- },
- "/rpc/jsonb_to_text_array": {
- get: {
+ delete: {
parameters: [
{
- format: "jsonb",
- in: "query",
- name: "",
- required: true,
- type: "string",
+ $ref: "#/parameters/rowFilter.supplierShipping.supplierId",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
- ],
- responses: {
- "200": {
- description: "OK",
+ {
+ $ref: "#/parameters/rowFilter.supplierShipping.shippingSupplierId",
},
- },
- tags: ["(rpc) jsonb_to_text_array"],
- },
- post: {
- parameters: [
{
- in: "body",
- name: "args",
- required: true,
- schema: {
- properties: {
- "": {
- format: "jsonb",
- },
- },
- required: [""],
- type: "object",
- },
+ $ref: "#/parameters/rowFilter.supplierShipping.shippingSupplierLocationId",
},
{
- $ref: "#/parameters/preferParams",
+ $ref: "#/parameters/rowFilter.supplierShipping.shippingSupplierContactId",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
- ],
- responses: {
- "200": {
- description: "OK",
+ {
+ $ref: "#/parameters/rowFilter.supplierShipping.shippingTermId",
},
- },
- tags: ["(rpc) jsonb_to_text_array"],
- },
- },
- "/rpc/xid_machine": {
- get: {
- parameters: [
{
- format: "public.xid",
- in: "query",
- name: "_xid",
- required: true,
- type: "string",
+ $ref: "#/parameters/rowFilter.supplierShipping.shippingMethodId",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
- ],
- responses: {
- "200": {
- description: "OK",
+ {
+ $ref: "#/parameters/rowFilter.supplierShipping.companyId",
},
- },
- tags: ["(rpc) xid_machine"],
- },
- post: {
- parameters: [
{
- in: "body",
- name: "args",
- required: true,
- schema: {
- properties: {
- _xid: {
- format: "public.xid",
- type: "string",
- },
- },
- required: ["_xid"],
- type: "object",
- },
+ $ref: "#/parameters/rowFilter.supplierShipping.updatedAt",
},
{
- $ref: "#/parameters/preferParams",
+ $ref: "#/parameters/rowFilter.supplierShipping.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierShipping.customFields",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
],
responses: {
- "200": {
- description: "OK",
+ "204": {
+ description: "No Content",
},
},
- tags: ["(rpc) xid_machine"],
+ tags: ["supplierShipping"],
},
- },
- "/rpc/has_role": {
- get: {
+ patch: {
parameters: [
{
- format: "text",
- in: "query",
- name: "required_role",
- required: true,
- type: "string",
+ $ref: "#/parameters/rowFilter.supplierShipping.supplierId",
},
{
- format: "text",
- in: "query",
- name: "company",
- required: true,
- type: "string",
+ $ref: "#/parameters/rowFilter.supplierShipping.shippingSupplierId",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
- ],
- responses: {
- "200": {
- description: "OK",
+ {
+ $ref: "#/parameters/rowFilter.supplierShipping.shippingSupplierLocationId",
},
- },
- tags: ["(rpc) has_role"],
- },
- post: {
- parameters: [
{
- in: "body",
- name: "args",
- required: true,
- schema: {
- properties: {
- company: {
- format: "text",
- type: "string",
- },
- required_role: {
- format: "text",
- type: "string",
- },
- },
- required: ["required_role", "company"],
- type: "object",
- },
+ $ref: "#/parameters/rowFilter.supplierShipping.shippingSupplierContactId",
},
{
- $ref: "#/parameters/preferParams",
+ $ref: "#/parameters/rowFilter.supplierShipping.shippingTermId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierShipping.shippingMethodId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierShipping.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierShipping.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierShipping.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierShipping.customFields",
+ },
+ {
+ $ref: "#/parameters/body.supplierShipping",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
],
responses: {
- "200": {
- description: "OK",
+ "204": {
+ description: "No Content",
},
},
- tags: ["(rpc) has_role"],
+ tags: ["supplierShipping"],
},
},
- "/rpc/has_any_company_permission": {
+ "/productionQuantity": {
get: {
parameters: [
{
- format: "text",
- in: "query",
- name: "claim",
- required: true,
- type: "string",
+ $ref: "#/parameters/rowFilter.productionQuantity.id",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
- ],
- responses: {
- "200": {
- description: "OK",
+ {
+ $ref: "#/parameters/rowFilter.productionQuantity.jobOperationId",
},
- },
- tags: ["(rpc) has_any_company_permission"],
- },
- post: {
- parameters: [
{
- in: "body",
- name: "args",
- required: true,
- schema: {
- properties: {
- claim: {
- format: "text",
- type: "string",
- },
- },
- required: ["claim"],
- type: "object",
- },
+ $ref: "#/parameters/rowFilter.productionQuantity.type",
},
{
- $ref: "#/parameters/preferParams",
+ $ref: "#/parameters/rowFilter.productionQuantity.quantity",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionQuantity.setupProductionEventId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionQuantity.laborProductionEventId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionQuantity.machineProductionEventId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionQuantity.scrapReason",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionQuantity.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionQuantity.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionQuantity.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionQuantity.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionQuantity.updatedBy",
+ },
+ {
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/order",
+ },
+ {
+ $ref: "#/parameters/range",
+ },
+ {
+ $ref: "#/parameters/rangeUnit",
+ },
+ {
+ $ref: "#/parameters/offset",
+ },
+ {
+ $ref: "#/parameters/limit",
+ },
+ {
+ $ref: "#/parameters/preferCount",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
],
responses: {
"200": {
description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/productionQuantity",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
},
},
- tags: ["(rpc) has_any_company_permission"],
+ tags: ["productionQuantity"],
},
- },
- "/rpc/get_job_operation_by_id": {
- get: {
+ post: {
parameters: [
{
- format: "text",
- in: "query",
- name: "operation_id",
- required: true,
- type: "string",
+ $ref: "#/parameters/body.productionQuantity",
+ },
+ {
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/preferPost",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
],
responses: {
- "200": {
- description: "OK",
+ "201": {
+ description: "Created",
},
},
- tags: ["(rpc) get_job_operation_by_id"],
+ tags: ["productionQuantity"],
},
- post: {
+ delete: {
parameters: [
{
- in: "body",
- name: "args",
- required: true,
- schema: {
- properties: {
- operation_id: {
- format: "text",
- type: "string",
- },
- },
- required: ["operation_id"],
- type: "object",
- },
+ $ref: "#/parameters/rowFilter.productionQuantity.id",
},
{
- $ref: "#/parameters/preferParams",
+ $ref: "#/parameters/rowFilter.productionQuantity.jobOperationId",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
- ],
- responses: {
- "200": {
- description: "OK",
+ {
+ $ref: "#/parameters/rowFilter.productionQuantity.type",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionQuantity.quantity",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionQuantity.setupProductionEventId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionQuantity.laborProductionEventId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionQuantity.machineProductionEventId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionQuantity.scrapReason",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionQuantity.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionQuantity.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionQuantity.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionQuantity.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionQuantity.updatedBy",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
},
- },
- tags: ["(rpc) get_job_operation_by_id"],
- },
- },
- "/rpc/_xid_machine_id": {
- get: {
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
],
responses: {
- "200": {
- description: "OK",
+ "204": {
+ description: "No Content",
},
},
- tags: ["(rpc) _xid_machine_id"],
+ tags: ["productionQuantity"],
},
- post: {
+ patch: {
parameters: [
{
- in: "body",
- name: "args",
- required: true,
- schema: {
- type: "object",
- },
+ $ref: "#/parameters/rowFilter.productionQuantity.id",
},
{
- $ref: "#/parameters/preferParams",
+ $ref: "#/parameters/rowFilter.productionQuantity.jobOperationId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionQuantity.type",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionQuantity.quantity",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionQuantity.setupProductionEventId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionQuantity.laborProductionEventId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionQuantity.machineProductionEventId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionQuantity.scrapReason",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionQuantity.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionQuantity.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionQuantity.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionQuantity.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionQuantity.updatedBy",
+ },
+ {
+ $ref: "#/parameters/body.productionQuantity",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
],
responses: {
- "200": {
- description: "OK",
+ "204": {
+ description: "No Content",
},
},
- tags: ["(rpc) _xid_machine_id"],
+ tags: ["productionQuantity"],
},
},
- "/rpc/get_job_methods_by_method_id": {
+ "/customerShipping": {
get: {
parameters: [
{
- format: "text",
- in: "query",
- name: "mid",
- required: true,
- type: "string",
+ $ref: "#/parameters/rowFilter.customerShipping.customerId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customerShipping.shippingCustomerId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customerShipping.shippingCustomerLocationId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customerShipping.shippingCustomerContactId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customerShipping.shippingTermId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customerShipping.shippingMethodId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customerShipping.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customerShipping.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customerShipping.updatedBy",
+ },
+ {
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/order",
+ },
+ {
+ $ref: "#/parameters/range",
+ },
+ {
+ $ref: "#/parameters/rangeUnit",
+ },
+ {
+ $ref: "#/parameters/offset",
+ },
+ {
+ $ref: "#/parameters/limit",
+ },
+ {
+ $ref: "#/parameters/preferCount",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
],
responses: {
"200": {
description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/customerShipping",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
},
},
- tags: ["(rpc) get_job_methods_by_method_id"],
+ tags: ["customerShipping"],
},
post: {
parameters: [
{
- in: "body",
- name: "args",
- required: true,
- schema: {
- properties: {
- mid: {
- format: "text",
- type: "string",
- },
- },
- required: ["mid"],
- type: "object",
- },
+ $ref: "#/parameters/body.customerShipping",
},
{
- $ref: "#/parameters/preferParams",
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/preferPost",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
],
responses: {
- "200": {
- description: "OK",
+ "201": {
+ description: "Created",
},
},
- tags: ["(rpc) get_job_methods_by_method_id"],
+ tags: ["customerShipping"],
},
- },
- "/rpc/xid_encode": {
- get: {
+ delete: {
parameters: [
{
- format: "integer[]",
- in: "query",
- name: "_id",
- required: true,
- type: "string",
+ $ref: "#/parameters/rowFilter.customerShipping.customerId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customerShipping.shippingCustomerId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customerShipping.shippingCustomerLocationId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customerShipping.shippingCustomerContactId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customerShipping.shippingTermId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customerShipping.shippingMethodId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customerShipping.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customerShipping.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customerShipping.updatedBy",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
],
responses: {
- "200": {
- description: "OK",
+ "204": {
+ description: "No Content",
},
},
- tags: ["(rpc) xid_encode"],
+ tags: ["customerShipping"],
},
- post: {
+ patch: {
parameters: [
{
- in: "body",
- name: "args",
- required: true,
- schema: {
- properties: {
- _id: {
- format: "integer[]",
- items: {
- type: "integer",
- },
- type: "array",
- },
- },
- required: ["_id"],
- type: "object",
- },
+ $ref: "#/parameters/rowFilter.customerShipping.customerId",
},
{
- $ref: "#/parameters/preferParams",
+ $ref: "#/parameters/rowFilter.customerShipping.shippingCustomerId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customerShipping.shippingCustomerLocationId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customerShipping.shippingCustomerContactId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customerShipping.shippingTermId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customerShipping.shippingMethodId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customerShipping.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customerShipping.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customerShipping.updatedBy",
+ },
+ {
+ $ref: "#/parameters/body.customerShipping",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
],
responses: {
- "200": {
- description: "OK",
+ "204": {
+ description: "No Content",
},
},
- tags: ["(rpc) xid_encode"],
+ tags: ["customerShipping"],
},
},
- "/rpc/get_active_job_operations_by_employee": {
+ "/fiscalYearSettings": {
get: {
parameters: [
{
- format: "text",
- in: "query",
- name: "employee_id",
- required: true,
- type: "string",
+ $ref: "#/parameters/rowFilter.fiscalYearSettings.companyId",
},
{
- format: "text",
- in: "query",
- name: "company_id",
- required: true,
- type: "string",
+ $ref: "#/parameters/rowFilter.fiscalYearSettings.startMonth",
+ },
+ {
+ $ref: "#/parameters/rowFilter.fiscalYearSettings.taxStartMonth",
+ },
+ {
+ $ref: "#/parameters/rowFilter.fiscalYearSettings.updatedBy",
+ },
+ {
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/order",
+ },
+ {
+ $ref: "#/parameters/range",
+ },
+ {
+ $ref: "#/parameters/rangeUnit",
+ },
+ {
+ $ref: "#/parameters/offset",
+ },
+ {
+ $ref: "#/parameters/limit",
+ },
+ {
+ $ref: "#/parameters/preferCount",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
],
responses: {
"200": {
description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/fiscalYearSettings",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
},
},
- tags: ["(rpc) get_active_job_operations_by_employee"],
+ tags: ["fiscalYearSettings"],
},
post: {
parameters: [
{
- in: "body",
- name: "args",
- required: true,
- schema: {
- properties: {
- company_id: {
- format: "text",
- type: "string",
- },
- employee_id: {
- format: "text",
- type: "string",
- },
- },
- required: ["employee_id", "company_id"],
- type: "object",
- },
+ $ref: "#/parameters/body.fiscalYearSettings",
},
{
- $ref: "#/parameters/preferParams",
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/preferPost",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
],
responses: {
- "200": {
- description: "OK",
+ "201": {
+ description: "Created",
},
},
- tags: ["(rpc) get_active_job_operations_by_employee"],
+ tags: ["fiscalYearSettings"],
},
- },
- "/rpc/groups_query": {
- get: {
+ delete: {
parameters: [
{
- format: "text",
- in: "query",
- name: "_name",
- required: false,
- type: "string",
+ $ref: "#/parameters/rowFilter.fiscalYearSettings.companyId",
},
{
- format: "text",
- in: "query",
- name: "_uid",
- required: false,
- type: "string",
+ $ref: "#/parameters/rowFilter.fiscalYearSettings.startMonth",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
- ],
- responses: {
- "200": {
- description: "OK",
+ {
+ $ref: "#/parameters/rowFilter.fiscalYearSettings.taxStartMonth",
},
- },
- tags: ["(rpc) groups_query"],
- },
- post: {
- parameters: [
{
- in: "body",
- name: "args",
- required: true,
- schema: {
- properties: {
- _name: {
- format: "text",
- type: "string",
- },
- _uid: {
- format: "text",
- type: "string",
- },
- },
- type: "object",
- },
+ $ref: "#/parameters/rowFilter.fiscalYearSettings.updatedBy",
},
{
- $ref: "#/parameters/preferParams",
+ $ref: "#/parameters/preferReturn",
},
],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
- ],
responses: {
- "200": {
- description: "OK",
+ "204": {
+ description: "No Content",
},
},
- tags: ["(rpc) groups_query"],
+ tags: ["fiscalYearSettings"],
},
- },
- "/rpc/get_claims": {
- get: {
+ patch: {
parameters: [
{
- format: "text",
- in: "query",
- name: "uid",
- required: true,
- type: "string",
+ $ref: "#/parameters/rowFilter.fiscalYearSettings.companyId",
},
{
- format: "text",
- in: "query",
- name: "company",
- required: true,
- type: "string",
+ $ref: "#/parameters/rowFilter.fiscalYearSettings.startMonth",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
- ],
- responses: {
- "200": {
- description: "OK",
+ {
+ $ref: "#/parameters/rowFilter.fiscalYearSettings.taxStartMonth",
},
- },
- tags: ["(rpc) get_claims"],
- },
- post: {
- parameters: [
{
- in: "body",
- name: "args",
- required: true,
- schema: {
- properties: {
- company: {
- format: "text",
- type: "string",
- },
- uid: {
- format: "text",
- type: "string",
- },
- },
- required: ["uid", "company"],
- type: "object",
- },
+ $ref: "#/parameters/rowFilter.fiscalYearSettings.updatedBy",
},
{
- $ref: "#/parameters/preferParams",
+ $ref: "#/parameters/body.fiscalYearSettings",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
],
responses: {
- "200": {
- description: "OK",
+ "204": {
+ description: "No Content",
},
},
- tags: ["(rpc) get_claims"],
+ tags: ["fiscalYearSettings"],
},
},
- "/rpc/get_company_id_from_foreign_key": {
+ "/itemCost": {
get: {
parameters: [
{
- format: "text",
- in: "query",
- name: "foreign_key",
- required: true,
- type: "string",
+ $ref: "#/parameters/rowFilter.itemCost.itemId",
},
{
- format: "text",
- in: "query",
- name: "tbl",
- required: true,
- type: "string",
+ $ref: "#/parameters/rowFilter.itemCost.itemPostingGroupId",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
- ],
- responses: {
- "200": {
- description: "OK",
+ {
+ $ref: "#/parameters/rowFilter.itemCost.costingMethod",
},
- },
- tags: ["(rpc) get_company_id_from_foreign_key"],
- },
- post: {
- parameters: [
{
- in: "body",
- name: "args",
- required: true,
- schema: {
- properties: {
- foreign_key: {
- format: "text",
- type: "string",
- },
- tbl: {
- format: "text",
- type: "string",
- },
- },
- required: ["foreign_key", "tbl"],
- type: "object",
- },
+ $ref: "#/parameters/rowFilter.itemCost.standardCost",
},
{
- $ref: "#/parameters/preferParams",
+ $ref: "#/parameters/rowFilter.itemCost.unitCost",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
- ],
- responses: {
- "200": {
- description: "OK",
+ {
+ $ref: "#/parameters/rowFilter.itemCost.costIsAdjusted",
},
- },
- tags: ["(rpc) get_company_id_from_foreign_key"],
- },
- },
- "/rpc/xid_time": {
- get: {
- parameters: [
{
- format: "public.xid",
- in: "query",
- name: "_xid",
- required: true,
- type: "string",
+ $ref: "#/parameters/rowFilter.itemCost.companyId",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
- ],
- responses: {
- "200": {
- description: "OK",
+ {
+ $ref: "#/parameters/rowFilter.itemCost.createdBy",
},
- },
- tags: ["(rpc) xid_time"],
- },
- post: {
- parameters: [
{
- in: "body",
- name: "args",
- required: true,
- schema: {
- properties: {
- _xid: {
- format: "public.xid",
- type: "string",
- },
- },
- required: ["_xid"],
- type: "object",
- },
+ $ref: "#/parameters/rowFilter.itemCost.createdAt",
},
{
- $ref: "#/parameters/preferParams",
+ $ref: "#/parameters/rowFilter.itemCost.updatedBy",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
- ],
- responses: {
- "200": {
- description: "OK",
+ {
+ $ref: "#/parameters/rowFilter.itemCost.updatedAt",
},
- },
- tags: ["(rpc) xid_time"],
- },
- },
- "/rpc/xid_counter": {
- get: {
- parameters: [
{
- format: "public.xid",
- in: "query",
- name: "_xid",
- required: true,
- type: "string",
+ $ref: "#/parameters/rowFilter.itemCost.customFields",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
- ],
- responses: {
- "200": {
- description: "OK",
+ {
+ $ref: "#/parameters/select",
},
- },
- tags: ["(rpc) xid_counter"],
- },
- post: {
- parameters: [
{
- in: "body",
- name: "args",
- required: true,
- schema: {
- properties: {
- _xid: {
- format: "public.xid",
- type: "string",
- },
- },
- required: ["_xid"],
- type: "object",
- },
+ $ref: "#/parameters/order",
},
{
- $ref: "#/parameters/preferParams",
+ $ref: "#/parameters/range",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
- ],
- responses: {
- "200": {
- description: "OK",
+ {
+ $ref: "#/parameters/rangeUnit",
},
- },
- tags: ["(rpc) xid_counter"],
- },
- },
- "/rpc/has_valid_api_key_for_company": {
- get: {
- parameters: [
{
- format: "text",
- in: "query",
- name: "company",
- required: true,
- type: "string",
+ $ref: "#/parameters/offset",
+ },
+ {
+ $ref: "#/parameters/limit",
+ },
+ {
+ $ref: "#/parameters/preferCount",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
],
responses: {
"200": {
description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/itemCost",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
},
},
- tags: ["(rpc) has_valid_api_key_for_company"],
+ tags: ["itemCost"],
},
post: {
parameters: [
{
- in: "body",
- name: "args",
- required: true,
- schema: {
- properties: {
- company: {
- format: "text",
- type: "string",
- },
- },
- required: ["company"],
- type: "object",
- },
+ $ref: "#/parameters/body.itemCost",
},
{
- $ref: "#/parameters/preferParams",
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/preferPost",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
],
responses: {
- "200": {
- description: "OK",
+ "201": {
+ description: "Created",
},
},
- tags: ["(rpc) has_valid_api_key_for_company"],
+ tags: ["itemCost"],
},
- },
- "/rpc/xid_pid": {
- get: {
+ delete: {
parameters: [
{
- format: "public.xid",
- in: "query",
- name: "_xid",
- required: true,
- type: "string",
+ $ref: "#/parameters/rowFilter.itemCost.itemId",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
- ],
- responses: {
- "200": {
- description: "OK",
+ {
+ $ref: "#/parameters/rowFilter.itemCost.itemPostingGroupId",
},
- },
- tags: ["(rpc) xid_pid"],
- },
- post: {
- parameters: [
{
- in: "body",
- name: "args",
- required: true,
- schema: {
- properties: {
- _xid: {
- format: "public.xid",
- type: "string",
- },
- },
- required: ["_xid"],
- type: "object",
- },
+ $ref: "#/parameters/rowFilter.itemCost.costingMethod",
},
{
- $ref: "#/parameters/preferParams",
+ $ref: "#/parameters/rowFilter.itemCost.standardCost",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
- ],
- responses: {
- "200": {
- description: "OK",
+ {
+ $ref: "#/parameters/rowFilter.itemCost.unitCost",
},
- },
- tags: ["(rpc) xid_pid"],
- },
- },
- "/rpc/xid_decode": {
- get: {
- parameters: [
{
- format: "public.xid",
- in: "query",
- name: "_xid",
- required: true,
- type: "string",
+ $ref: "#/parameters/rowFilter.itemCost.costIsAdjusted",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
- ],
- responses: {
- "200": {
- description: "OK",
+ {
+ $ref: "#/parameters/rowFilter.itemCost.companyId",
},
- },
- tags: ["(rpc) xid_decode"],
- },
- post: {
- parameters: [
{
- in: "body",
- name: "args",
- required: true,
- schema: {
- properties: {
- _xid: {
- format: "public.xid",
- type: "string",
- },
- },
- required: ["_xid"],
- type: "object",
- },
+ $ref: "#/parameters/rowFilter.itemCost.createdBy",
},
{
- $ref: "#/parameters/preferParams",
+ $ref: "#/parameters/rowFilter.itemCost.createdAt",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
- ],
- responses: {
- "200": {
- description: "OK",
+ {
+ $ref: "#/parameters/rowFilter.itemCost.updatedBy",
},
- },
- tags: ["(rpc) xid_decode"],
- },
- },
- "/rpc/groups_for_user": {
- get: {
- parameters: [
{
- format: "text",
- in: "query",
- name: "uid",
- required: true,
- type: "string",
+ $ref: "#/parameters/rowFilter.itemCost.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemCost.customFields",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
],
responses: {
- "200": {
- description: "OK",
+ "204": {
+ description: "No Content",
},
},
- tags: ["(rpc) groups_for_user"],
+ tags: ["itemCost"],
},
- post: {
+ patch: {
parameters: [
{
- in: "body",
- name: "args",
- required: true,
- schema: {
- properties: {
- uid: {
- format: "text",
- type: "string",
- },
- },
- required: ["uid"],
- type: "object",
- },
+ $ref: "#/parameters/rowFilter.itemCost.itemId",
},
{
- $ref: "#/parameters/preferParams",
+ $ref: "#/parameters/rowFilter.itemCost.itemPostingGroupId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemCost.costingMethod",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemCost.standardCost",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemCost.unitCost",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemCost.costIsAdjusted",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemCost.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemCost.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemCost.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemCost.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemCost.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemCost.customFields",
+ },
+ {
+ $ref: "#/parameters/body.itemCost",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
],
responses: {
- "200": {
- description: "OK",
+ "204": {
+ description: "No Content",
},
},
- tags: ["(rpc) groups_for_user"],
+ tags: ["itemCost"],
},
},
- "/rpc/get_quote_methods": {
+ "/salesOrderLocations": {
get: {
parameters: [
{
- format: "text",
- in: "query",
- name: "qid",
- required: true,
- type: "string",
+ $ref: "#/parameters/rowFilter.salesOrderLocations.id",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
- ],
- responses: {
- "200": {
- description: "OK",
+ {
+ $ref: "#/parameters/rowFilter.salesOrderLocations.customerName",
},
- },
- tags: ["(rpc) get_quote_methods"],
- },
- post: {
- parameters: [
{
- in: "body",
- name: "args",
- required: true,
- schema: {
- properties: {
- qid: {
- format: "text",
- type: "string",
- },
- },
- required: ["qid"],
- type: "object",
- },
+ $ref: "#/parameters/rowFilter.salesOrderLocations.customerAddressLine1",
},
{
- $ref: "#/parameters/preferParams",
+ $ref: "#/parameters/rowFilter.salesOrderLocations.customerAddressLine2",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
- ],
- responses: {
- "200": {
- description: "OK",
+ {
+ $ref: "#/parameters/rowFilter.salesOrderLocations.customerCity",
},
- },
- tags: ["(rpc) get_quote_methods"],
- },
- },
- "/rpc/get_company_id_from_api_key": {
- get: {
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
- ],
- responses: {
- "200": {
- description: "OK",
+ {
+ $ref: "#/parameters/rowFilter.salesOrderLocations.customerStateProvince",
},
- },
- tags: ["(rpc) get_company_id_from_api_key"],
- },
- post: {
- parameters: [
{
- in: "body",
- name: "args",
- required: true,
- schema: {
- type: "object",
- },
+ $ref: "#/parameters/rowFilter.salesOrderLocations.customerPostalCode",
},
{
- $ref: "#/parameters/preferParams",
+ $ref: "#/parameters/rowFilter.salesOrderLocations.customerCountryCode",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
- ],
- responses: {
- "200": {
- description: "OK",
+ {
+ $ref: "#/parameters/rowFilter.salesOrderLocations.customerCountryName",
},
- },
- tags: ["(rpc) get_company_id_from_api_key"],
- },
- },
- "/rpc/is_claims_admin": {
- get: {
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
- ],
- responses: {
- "200": {
- description: "OK",
+ {
+ $ref: "#/parameters/rowFilter.salesOrderLocations.paymentCustomerName",
},
- },
- tags: ["(rpc) is_claims_admin"],
- },
- post: {
- parameters: [
{
- in: "body",
- name: "args",
- required: true,
- schema: {
- type: "object",
- },
+ $ref: "#/parameters/rowFilter.salesOrderLocations.paymentAddressLine1",
},
{
- $ref: "#/parameters/preferParams",
+ $ref: "#/parameters/rowFilter.salesOrderLocations.paymentAddressLine2",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
- ],
- responses: {
- "200": {
- description: "OK",
+ {
+ $ref: "#/parameters/rowFilter.salesOrderLocations.paymentCity",
},
- },
- tags: ["(rpc) is_claims_admin"],
- },
- },
- "/rpc/get_job_method": {
- get: {
- parameters: [
{
- format: "text",
- in: "query",
- name: "jid",
- required: true,
- type: "string",
+ $ref: "#/parameters/rowFilter.salesOrderLocations.paymentStateProvince",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
- ],
- responses: {
- "200": {
- description: "OK",
+ {
+ $ref: "#/parameters/rowFilter.salesOrderLocations.paymentPostalCode",
},
- },
- tags: ["(rpc) get_job_method"],
- },
- post: {
- parameters: [
{
- in: "body",
- name: "args",
- required: true,
- schema: {
- properties: {
- jid: {
- format: "text",
- type: "string",
- },
- },
- required: ["jid"],
- type: "object",
- },
+ $ref: "#/parameters/rowFilter.salesOrderLocations.paymentCountryCode",
},
{
- $ref: "#/parameters/preferParams",
+ $ref: "#/parameters/rowFilter.salesOrderLocations.paymentCountryName",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
- ],
- responses: {
- "200": {
- description: "OK",
+ {
+ $ref: "#/parameters/select",
},
- },
- tags: ["(rpc) get_job_method"],
- },
- },
- "/rpc/get_quote_methods_by_method_id": {
- get: {
- parameters: [
{
- format: "text",
- in: "query",
- name: "mid",
- required: true,
- type: "string",
+ $ref: "#/parameters/order",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
- ],
- responses: {
- "200": {
- description: "OK",
+ {
+ $ref: "#/parameters/range",
},
- },
- tags: ["(rpc) get_quote_methods_by_method_id"],
- },
- post: {
- parameters: [
{
- in: "body",
- name: "args",
- required: true,
- schema: {
- properties: {
- mid: {
- format: "text",
- type: "string",
- },
- },
- required: ["mid"],
- type: "object",
- },
+ $ref: "#/parameters/rangeUnit",
},
{
- $ref: "#/parameters/preferParams",
+ $ref: "#/parameters/offset",
+ },
+ {
+ $ref: "#/parameters/limit",
+ },
+ {
+ $ref: "#/parameters/preferCount",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
],
responses: {
"200": {
description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/salesOrderLocations",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
},
},
- tags: ["(rpc) get_quote_methods_by_method_id"],
+ tags: ["salesOrderLocations"],
},
},
- "/rpc/get_permission_companies": {
+ "/feedback": {
get: {
parameters: [
{
- format: "text",
- in: "query",
- name: "claim",
- required: true,
- type: "string",
+ $ref: "#/parameters/rowFilter.feedback.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.feedback.location",
+ },
+ {
+ $ref: "#/parameters/rowFilter.feedback.userId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.feedback.feedback",
+ },
+ {
+ $ref: "#/parameters/rowFilter.feedback.attachmentPath",
+ },
+ {
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/order",
+ },
+ {
+ $ref: "#/parameters/range",
+ },
+ {
+ $ref: "#/parameters/rangeUnit",
+ },
+ {
+ $ref: "#/parameters/offset",
+ },
+ {
+ $ref: "#/parameters/limit",
+ },
+ {
+ $ref: "#/parameters/preferCount",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
],
responses: {
"200": {
description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/feedback",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
},
},
- tags: ["(rpc) get_permission_companies"],
+ tags: ["feedback"],
},
post: {
parameters: [
{
- in: "body",
- name: "args",
- required: true,
- schema: {
- properties: {
- claim: {
- format: "text",
- type: "string",
- },
- },
- required: ["claim"],
- type: "object",
- },
+ $ref: "#/parameters/body.feedback",
},
{
- $ref: "#/parameters/preferParams",
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/preferPost",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
],
responses: {
- "200": {
- description: "OK",
+ "201": {
+ description: "Created",
},
},
- tags: ["(rpc) get_permission_companies"],
+ tags: ["feedback"],
},
- },
- "/rpc/get_my_claim": {
- get: {
+ delete: {
parameters: [
{
- format: "text",
- in: "query",
- name: "claim",
- required: true,
- type: "string",
+ $ref: "#/parameters/rowFilter.feedback.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.feedback.location",
+ },
+ {
+ $ref: "#/parameters/rowFilter.feedback.userId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.feedback.feedback",
+ },
+ {
+ $ref: "#/parameters/rowFilter.feedback.attachmentPath",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
],
responses: {
- "200": {
- description: "OK",
+ "204": {
+ description: "No Content",
},
},
- tags: ["(rpc) get_my_claim"],
+ tags: ["feedback"],
},
- post: {
+ patch: {
parameters: [
{
- in: "body",
- name: "args",
- required: true,
- schema: {
- properties: {
- claim: {
- format: "text",
- type: "string",
- },
- },
- required: ["claim"],
- type: "object",
- },
+ $ref: "#/parameters/rowFilter.feedback.id",
},
{
- $ref: "#/parameters/preferParams",
+ $ref: "#/parameters/rowFilter.feedback.location",
+ },
+ {
+ $ref: "#/parameters/rowFilter.feedback.userId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.feedback.feedback",
+ },
+ {
+ $ref: "#/parameters/rowFilter.feedback.attachmentPath",
+ },
+ {
+ $ref: "#/parameters/body.feedback",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
],
responses: {
- "200": {
- description: "OK",
+ "204": {
+ description: "No Content",
},
},
- tags: ["(rpc) get_my_claim"],
+ tags: ["feedback"],
},
},
- "/rpc/get_item_quantities": {
+ "/oauthCode": {
get: {
parameters: [
{
- format: "text",
- in: "query",
- name: "location_id",
- required: true,
- type: "string",
+ $ref: "#/parameters/rowFilter.oauthCode.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.oauthCode.code",
+ },
+ {
+ $ref: "#/parameters/rowFilter.oauthCode.clientId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.oauthCode.userId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.oauthCode.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.oauthCode.redirectUri",
+ },
+ {
+ $ref: "#/parameters/rowFilter.oauthCode.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.oauthCode.expiresAt",
+ },
+ {
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/order",
+ },
+ {
+ $ref: "#/parameters/range",
+ },
+ {
+ $ref: "#/parameters/rangeUnit",
+ },
+ {
+ $ref: "#/parameters/offset",
+ },
+ {
+ $ref: "#/parameters/limit",
+ },
+ {
+ $ref: "#/parameters/preferCount",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
],
responses: {
"200": {
description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/oauthCode",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
},
},
- tags: ["(rpc) get_item_quantities"],
+ tags: ["oauthCode"],
},
post: {
parameters: [
{
- in: "body",
- name: "args",
- required: true,
- schema: {
- properties: {
- location_id: {
- format: "text",
- type: "string",
- },
- },
- required: ["location_id"],
- type: "object",
- },
+ $ref: "#/parameters/body.oauthCode",
},
{
- $ref: "#/parameters/preferParams",
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/preferPost",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
],
responses: {
- "200": {
- description: "OK",
+ "201": {
+ description: "Created",
},
},
- tags: ["(rpc) get_item_quantities"],
+ tags: ["oauthCode"],
},
- },
- "/rpc/get_job_operations_by_work_center": {
- get: {
+ delete: {
parameters: [
{
- format: "text",
- in: "query",
- name: "work_center_id",
- required: true,
- type: "string",
+ $ref: "#/parameters/rowFilter.oauthCode.id",
},
{
- format: "text",
- in: "query",
- name: "location_id",
- required: true,
- type: "string",
+ $ref: "#/parameters/rowFilter.oauthCode.code",
+ },
+ {
+ $ref: "#/parameters/rowFilter.oauthCode.clientId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.oauthCode.userId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.oauthCode.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.oauthCode.redirectUri",
+ },
+ {
+ $ref: "#/parameters/rowFilter.oauthCode.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.oauthCode.expiresAt",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
],
responses: {
- "200": {
- description: "OK",
+ "204": {
+ description: "No Content",
},
},
- tags: ["(rpc) get_job_operations_by_work_center"],
+ tags: ["oauthCode"],
},
- post: {
+ patch: {
parameters: [
{
- in: "body",
- name: "args",
- required: true,
- schema: {
- properties: {
- location_id: {
- format: "text",
- type: "string",
- },
- work_center_id: {
- format: "text",
- type: "string",
- },
- },
- required: ["work_center_id", "location_id"],
- type: "object",
- },
+ $ref: "#/parameters/rowFilter.oauthCode.id",
},
{
- $ref: "#/parameters/preferParams",
+ $ref: "#/parameters/rowFilter.oauthCode.code",
+ },
+ {
+ $ref: "#/parameters/rowFilter.oauthCode.clientId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.oauthCode.userId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.oauthCode.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.oauthCode.redirectUri",
+ },
+ {
+ $ref: "#/parameters/rowFilter.oauthCode.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.oauthCode.expiresAt",
+ },
+ {
+ $ref: "#/parameters/body.oauthCode",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
],
responses: {
- "200": {
- description: "OK",
+ "204": {
+ description: "No Content",
},
},
- tags: ["(rpc) get_job_operations_by_work_center"],
+ tags: ["oauthCode"],
},
},
- "/rpc/get_method_tree": {
+ "/tools": {
get: {
parameters: [
{
- format: "text",
- in: "query",
- name: "uid",
- required: true,
- type: "string",
+ $ref: "#/parameters/rowFilter.tools.active",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
- ],
- responses: {
- "200": {
- description: "OK",
+ {
+ $ref: "#/parameters/rowFilter.tools.assignee",
},
- },
- tags: ["(rpc) get_method_tree"],
- },
- post: {
- parameters: [
{
- in: "body",
- name: "args",
- required: true,
- schema: {
- properties: {
- uid: {
- format: "text",
- type: "string",
- },
- },
- required: ["uid"],
- type: "object",
- },
+ $ref: "#/parameters/rowFilter.tools.defaultMethodType",
},
{
- $ref: "#/parameters/preferParams",
+ $ref: "#/parameters/rowFilter.tools.description",
+ },
+ {
+ $ref: "#/parameters/rowFilter.tools.itemTrackingType",
+ },
+ {
+ $ref: "#/parameters/rowFilter.tools.name",
+ },
+ {
+ $ref: "#/parameters/rowFilter.tools.replenishmentSystem",
+ },
+ {
+ $ref: "#/parameters/rowFilter.tools.thumbnailPath",
+ },
+ {
+ $ref: "#/parameters/rowFilter.tools.unitOfMeasureCode",
+ },
+ {
+ $ref: "#/parameters/rowFilter.tools.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.tools.itemId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.tools.approved",
+ },
+ {
+ $ref: "#/parameters/rowFilter.tools.approvedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.tools.customFields",
+ },
+ {
+ $ref: "#/parameters/rowFilter.tools.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.tools.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.tools.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.tools.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.tools.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.tools.externalId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.tools.supplierIds",
+ },
+ {
+ $ref: "#/parameters/rowFilter.tools.unitOfMeasure",
+ },
+ {
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/order",
+ },
+ {
+ $ref: "#/parameters/range",
+ },
+ {
+ $ref: "#/parameters/rangeUnit",
+ },
+ {
+ $ref: "#/parameters/offset",
+ },
+ {
+ $ref: "#/parameters/limit",
+ },
+ {
+ $ref: "#/parameters/preferCount",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
],
responses: {
"200": {
description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/tools",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
},
},
- tags: ["(rpc) get_method_tree"],
+ tags: ["tools"],
},
},
- "/rpc/get_active_job_count": {
+ "/quoteMaterialWithMakeMethodId": {
get: {
parameters: [
{
- format: "text",
- in: "query",
- name: "employee_id",
- required: true,
- type: "string",
+ $ref: "#/parameters/rowFilter.quoteMaterialWithMakeMethodId.id",
},
{
- format: "text",
- in: "query",
- name: "company_id",
- required: true,
- type: "string",
+ $ref: "#/parameters/rowFilter.quoteMaterialWithMakeMethodId.quoteId",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
- ],
- responses: {
- "200": {
- description: "OK",
+ {
+ $ref: "#/parameters/rowFilter.quoteMaterialWithMakeMethodId.quoteLineId",
},
- },
- tags: ["(rpc) get_active_job_count"],
- },
- post: {
- parameters: [
{
- in: "body",
- name: "args",
- required: true,
- schema: {
- properties: {
- company_id: {
- format: "text",
- type: "string",
- },
- employee_id: {
- format: "text",
- type: "string",
- },
- },
- required: ["employee_id", "company_id"],
- type: "object",
- },
+ $ref: "#/parameters/rowFilter.quoteMaterialWithMakeMethodId.itemId",
},
{
- $ref: "#/parameters/preferParams",
+ $ref: "#/parameters/rowFilter.quoteMaterialWithMakeMethodId.itemReadableId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteMaterialWithMakeMethodId.itemType",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteMaterialWithMakeMethodId.methodType",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteMaterialWithMakeMethodId.order",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteMaterialWithMakeMethodId.description",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteMaterialWithMakeMethodId.quantity",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteMaterialWithMakeMethodId.unitOfMeasureCode",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteMaterialWithMakeMethodId.unitCost",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteMaterialWithMakeMethodId.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteMaterialWithMakeMethodId.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteMaterialWithMakeMethodId.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteMaterialWithMakeMethodId.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteMaterialWithMakeMethodId.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteMaterialWithMakeMethodId.customFields",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteMaterialWithMakeMethodId.quoteMakeMethodId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteMaterialWithMakeMethodId.quoteOperationId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteMaterialWithMakeMethodId.quoteMaterialMakeMethodId",
+ },
+ {
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/order",
+ },
+ {
+ $ref: "#/parameters/range",
+ },
+ {
+ $ref: "#/parameters/rangeUnit",
+ },
+ {
+ $ref: "#/parameters/offset",
+ },
+ {
+ $ref: "#/parameters/limit",
+ },
+ {
+ $ref: "#/parameters/preferCount",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
],
responses: {
"200": {
description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/quoteMaterialWithMakeMethodId",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
},
},
- tags: ["(rpc) get_active_job_count"],
+ tags: ["quoteMaterialWithMakeMethodId"],
},
},
- "/rpc/users_for_groups": {
+ "/suppliers": {
get: {
parameters: [
{
- format: "text[]",
- in: "query",
- name: "groups",
- required: true,
- type: "string",
+ $ref: "#/parameters/rowFilter.suppliers.id",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
- ],
- responses: {
- "200": {
- description: "OK",
+ {
+ $ref: "#/parameters/rowFilter.suppliers.name",
},
- },
- tags: ["(rpc) users_for_groups"],
- },
- post: {
- parameters: [
{
- in: "body",
- name: "args",
- required: true,
- schema: {
- properties: {
- groups: {
- format: "text[]",
- items: {
- type: "string",
- },
- type: "array",
- },
- },
- required: ["groups"],
- type: "object",
- },
+ $ref: "#/parameters/rowFilter.suppliers.supplierTypeId",
},
{
- $ref: "#/parameters/preferParams",
+ $ref: "#/parameters/rowFilter.suppliers.supplierStatusId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.suppliers.taxId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.suppliers.accountManagerId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.suppliers.logo",
+ },
+ {
+ $ref: "#/parameters/rowFilter.suppliers.assignee",
+ },
+ {
+ $ref: "#/parameters/rowFilter.suppliers.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.suppliers.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.suppliers.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.suppliers.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.suppliers.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.suppliers.customFields",
+ },
+ {
+ $ref: "#/parameters/rowFilter.suppliers.currencyCode",
+ },
+ {
+ $ref: "#/parameters/rowFilter.suppliers.phone",
+ },
+ {
+ $ref: "#/parameters/rowFilter.suppliers.fax",
+ },
+ {
+ $ref: "#/parameters/rowFilter.suppliers.website",
+ },
+ {
+ $ref: "#/parameters/rowFilter.suppliers.type",
+ },
+ {
+ $ref: "#/parameters/rowFilter.suppliers.status",
+ },
+ {
+ $ref: "#/parameters/rowFilter.suppliers.orderCount",
+ },
+ {
+ $ref: "#/parameters/rowFilter.suppliers.partCount",
+ },
+ {
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/order",
+ },
+ {
+ $ref: "#/parameters/range",
+ },
+ {
+ $ref: "#/parameters/rangeUnit",
+ },
+ {
+ $ref: "#/parameters/offset",
+ },
+ {
+ $ref: "#/parameters/limit",
+ },
+ {
+ $ref: "#/parameters/preferCount",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
],
responses: {
"200": {
description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/suppliers",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
},
},
- tags: ["(rpc) users_for_groups"],
+ tags: ["suppliers"],
},
},
- "/rpc/get_recent_job_operations_by_employee": {
+ "/purchaseOrders": {
get: {
parameters: [
{
- format: "text",
- in: "query",
- name: "employee_id",
- required: true,
- type: "string",
+ $ref: "#/parameters/rowFilter.purchaseOrders.id",
},
{
- format: "text",
- in: "query",
- name: "company_id",
- required: true,
- type: "string",
+ $ref: "#/parameters/rowFilter.purchaseOrders.purchaseOrderId",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
- ],
- responses: {
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrders.revisionId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrders.type",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrders.status",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrders.orderDate",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrders.notes",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrders.supplierId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrders.supplierLocationId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrders.supplierContactId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrders.supplierReference",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrders.assignee",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrders.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrders.closedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrders.closedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrders.customFields",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrders.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrders.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrders.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrders.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrders.currencyCode",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrders.exchangeRate",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrders.exchangeRateUpdatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrders.shippingMethodName",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrders.shippingTermName",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrders.paymentTermName",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrders.receiptRequestedDate",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrders.receiptPromisedDate",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrders.dropShipment",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrders.locationId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrders.locationName",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseOrders.favorite",
+ },
+ {
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/order",
+ },
+ {
+ $ref: "#/parameters/range",
+ },
+ {
+ $ref: "#/parameters/rangeUnit",
+ },
+ {
+ $ref: "#/parameters/offset",
+ },
+ {
+ $ref: "#/parameters/limit",
+ },
+ {
+ $ref: "#/parameters/preferCount",
+ },
+ ],
+ responses: {
"200": {
description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/purchaseOrders",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
},
},
- tags: ["(rpc) get_recent_job_operations_by_employee"],
+ tags: ["purchaseOrders"],
},
- post: {
+ },
+ "/purchasePayment": {
+ get: {
parameters: [
{
- in: "body",
- name: "args",
- required: true,
- schema: {
- properties: {
- company_id: {
- format: "text",
- type: "string",
- },
- employee_id: {
- format: "text",
- type: "string",
- },
- },
- required: ["employee_id", "company_id"],
- type: "object",
- },
+ $ref: "#/parameters/rowFilter.purchasePayment.id",
},
{
- $ref: "#/parameters/preferParams",
+ $ref: "#/parameters/rowFilter.purchasePayment.paymentId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchasePayment.supplierId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchasePayment.paymentDate",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchasePayment.currencyCode",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchasePayment.exchangeRate",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchasePayment.totalAmount",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchasePayment.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchasePayment.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchasePayment.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchasePayment.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchasePayment.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchasePayment.customFields",
+ },
+ {
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/order",
+ },
+ {
+ $ref: "#/parameters/range",
+ },
+ {
+ $ref: "#/parameters/rangeUnit",
+ },
+ {
+ $ref: "#/parameters/offset",
+ },
+ {
+ $ref: "#/parameters/limit",
+ },
+ {
+ $ref: "#/parameters/preferCount",
},
- ],
- produces: [
- "application/json",
- "application/vnd.pgrst.object+json;nulls=stripped",
- "application/vnd.pgrst.object+json",
],
responses: {
"200": {
description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/purchasePayment",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
},
},
- tags: ["(rpc) get_recent_job_operations_by_employee"],
- },
- },
- },
- definitions: {
- purchaseInvoiceStatusHistory: {
- required: ["id", "invoiceId", "status", "createdAt"],
- properties: {
- id: {
- default: "public.xid()",
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
- type: "string",
- },
- invoiceId: {
- description:
- "Note:\nThis is a Foreign Key to `purchaseInvoice.id`.<fk table='purchaseInvoice' column='id'/>",
- format: "text",
- type: "string",
- },
- status: {
- enum: [
- "Draft",
- "Pending",
- "Submitted",
- "Return",
- "Debit Note Issued",
- "Paid",
- "Partially Paid",
- "Overdue",
- "Voided",
- ],
- format: 'public."purchaseInvoiceStatus"',
- type: "string",
- },
- createdAt: {
- default: "now()",
- format: "timestamp with time zone",
- type: "string",
- },
+ tags: ["purchasePayment"],
},
- type: "object",
- },
- itemInventory: {
- required: [
- "id",
- "itemId",
- "companyId",
- "quantityOnHand",
- "quantityOnPurchase",
- "quantityOnSalesOrder",
- "quantityOnProductionOrder",
- ],
- properties: {
- id: {
- default: "public.xid()",
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
- type: "string",
- },
- itemId: {
- description:
- "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
- format: "text",
- type: "string",
- },
- locationId: {
- description:
- "Note:\nThis is a Foreign Key to `location.id`.<fk table='location' column='id'/>",
- format: "text",
- type: "string",
- },
- shelfId: {
- description:
- "Note:\nThis is a Foreign Key to `shelf.id`.<fk table='shelf' column='id'/>",
- format: "text",
- type: "string",
- },
- companyId: {
- description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
- format: "text",
- type: "string",
- },
- quantityOnHand: {
- default: 0,
- format: "numeric",
- type: "number",
- },
- quantityOnPurchase: {
- default: 0,
- format: "numeric",
- type: "number",
- },
- quantityOnSalesOrder: {
- default: 0,
- format: "numeric",
- type: "number",
- },
- quantityOnProductionOrder: {
- default: 0,
- format: "numeric",
- type: "number",
+ post: {
+ parameters: [
+ {
+ $ref: "#/parameters/body.purchasePayment",
+ },
+ {
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/preferPost",
+ },
+ ],
+ responses: {
+ "201": {
+ description: "Created",
+ },
},
+ tags: ["purchasePayment"],
},
- type: "object",
- },
- userPermission: {
- required: ["id"],
- properties: {
- id: {
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
- type: "string",
- },
- permissions: {
- format: "jsonb",
+ delete: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.purchasePayment.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchasePayment.paymentId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchasePayment.supplierId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchasePayment.paymentDate",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchasePayment.currencyCode",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchasePayment.exchangeRate",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchasePayment.totalAmount",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchasePayment.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchasePayment.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchasePayment.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchasePayment.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchasePayment.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchasePayment.customFields",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
+ },
},
+ tags: ["purchasePayment"],
},
- type: "object",
- },
- supplierAccount: {
- required: ["id", "supplierId", "companyId"],
- properties: {
- id: {
- description:
- "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- supplierId: {
- description:
- "Note:\nThis is a Foreign Key to `supplier.id`.<fk table='supplier' column='id'/>",
- format: "text",
- type: "string",
- },
- companyId: {
- description:
- "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
- format: "text",
- type: "string",
+ patch: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.purchasePayment.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchasePayment.paymentId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchasePayment.supplierId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchasePayment.paymentDate",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchasePayment.currencyCode",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchasePayment.exchangeRate",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchasePayment.totalAmount",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchasePayment.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchasePayment.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchasePayment.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchasePayment.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchasePayment.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchasePayment.customFields",
+ },
+ {
+ $ref: "#/parameters/body.purchasePayment",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
+ },
},
+ tags: ["purchasePayment"],
},
- type: "object",
},
- supplierType: {
- required: [
- "id",
- "name",
- "protected",
- "companyId",
- "createdAt",
- "createdBy",
- ],
- properties: {
- id: {
- default: "extensions.uuid_generate_v4()",
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
- type: "string",
- },
- name: {
- format: "text",
- type: "string",
- },
- protected: {
- default: false,
- format: "boolean",
- type: "boolean",
- },
- companyId: {
- description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
- format: "text",
- type: "string",
- },
- createdAt: {
- default: "now()",
- format: "timestamp with time zone",
- type: "string",
- },
- createdBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- updatedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- updatedAt: {
- format: "timestamp with time zone",
- type: "string",
- },
- customFields: {
- format: "jsonb",
+ "/customers": {
+ get: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.customers.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customers.name",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customers.customerTypeId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customers.customerStatusId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customers.taxId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customers.accountManagerId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customers.logo",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customers.assignee",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customers.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customers.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customers.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customers.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customers.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customers.customFields",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customers.currencyCode",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customers.phone",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customers.fax",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customers.website",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customers.type",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customers.status",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customers.orderCount",
+ },
+ {
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/order",
+ },
+ {
+ $ref: "#/parameters/range",
+ },
+ {
+ $ref: "#/parameters/rangeUnit",
+ },
+ {
+ $ref: "#/parameters/offset",
+ },
+ {
+ $ref: "#/parameters/limit",
+ },
+ {
+ $ref: "#/parameters/preferCount",
+ },
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/customers",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
+ },
},
+ tags: ["customers"],
},
- type: "object",
},
- customerType: {
- required: [
- "id",
- "name",
- "protected",
- "companyId",
- "createdAt",
- "createdBy",
- ],
- properties: {
- id: {
- default: "extensions.uuid_generate_v4()",
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
- type: "string",
- },
- name: {
- format: "text",
- type: "string",
- },
- protected: {
- default: false,
- format: "boolean",
- type: "boolean",
- },
- companyId: {
- description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
- format: "text",
- type: "string",
- },
- createdAt: {
- default: "now()",
- format: "timestamp with time zone",
- type: "string",
- },
- createdBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
+ "/salesOrderFavorite": {
+ get: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.salesOrderFavorite.salesOrderId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrderFavorite.userId",
+ },
+ {
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/order",
+ },
+ {
+ $ref: "#/parameters/range",
+ },
+ {
+ $ref: "#/parameters/rangeUnit",
+ },
+ {
+ $ref: "#/parameters/offset",
+ },
+ {
+ $ref: "#/parameters/limit",
+ },
+ {
+ $ref: "#/parameters/preferCount",
+ },
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/salesOrderFavorite",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
+ },
},
- updatedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
+ tags: ["salesOrderFavorite"],
+ },
+ post: {
+ parameters: [
+ {
+ $ref: "#/parameters/body.salesOrderFavorite",
+ },
+ {
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/preferPost",
+ },
+ ],
+ responses: {
+ "201": {
+ description: "Created",
+ },
},
- updatedAt: {
- format: "timestamp with time zone",
- type: "string",
+ tags: ["salesOrderFavorite"],
+ },
+ delete: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.salesOrderFavorite.salesOrderId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrderFavorite.userId",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
+ },
},
- customFields: {
- format: "jsonb",
+ tags: ["salesOrderFavorite"],
+ },
+ patch: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.salesOrderFavorite.salesOrderId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesOrderFavorite.userId",
+ },
+ {
+ $ref: "#/parameters/body.salesOrderFavorite",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
+ },
},
+ tags: ["salesOrderFavorite"],
},
- type: "object",
},
- shippingTerm: {
- required: ["id", "name", "active", "companyId", "createdAt", "createdBy"],
- properties: {
- id: {
- default: "public.xid()",
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
- type: "string",
- },
- name: {
- format: "text",
- type: "string",
- },
- active: {
- default: true,
- format: "boolean",
- type: "boolean",
- },
- companyId: {
- description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
- format: "text",
- type: "string",
- },
- createdAt: {
- default: "now()",
- format: "timestamp with time zone",
- type: "string",
+ "/fixture": {
+ get: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.fixture.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.fixture.itemId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.fixture.customerId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.fixture.approved",
+ },
+ {
+ $ref: "#/parameters/rowFilter.fixture.approvedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.fixture.customFields",
+ },
+ {
+ $ref: "#/parameters/rowFilter.fixture.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.fixture.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.fixture.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.fixture.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.fixture.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.fixture.externalId",
+ },
+ {
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/order",
+ },
+ {
+ $ref: "#/parameters/range",
+ },
+ {
+ $ref: "#/parameters/rangeUnit",
+ },
+ {
+ $ref: "#/parameters/offset",
+ },
+ {
+ $ref: "#/parameters/limit",
+ },
+ {
+ $ref: "#/parameters/preferCount",
+ },
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/fixture",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
+ },
},
- createdBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
+ tags: ["fixture"],
+ },
+ post: {
+ parameters: [
+ {
+ $ref: "#/parameters/body.fixture",
+ },
+ {
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/preferPost",
+ },
+ ],
+ responses: {
+ "201": {
+ description: "Created",
+ },
},
- updatedAt: {
- format: "timestamp with time zone",
- type: "string",
+ tags: ["fixture"],
+ },
+ delete: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.fixture.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.fixture.itemId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.fixture.customerId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.fixture.approved",
+ },
+ {
+ $ref: "#/parameters/rowFilter.fixture.approvedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.fixture.customFields",
+ },
+ {
+ $ref: "#/parameters/rowFilter.fixture.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.fixture.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.fixture.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.fixture.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.fixture.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.fixture.externalId",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
+ },
},
- updatedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
+ tags: ["fixture"],
+ },
+ patch: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.fixture.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.fixture.itemId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.fixture.customerId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.fixture.approved",
+ },
+ {
+ $ref: "#/parameters/rowFilter.fixture.approvedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.fixture.customFields",
+ },
+ {
+ $ref: "#/parameters/rowFilter.fixture.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.fixture.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.fixture.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.fixture.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.fixture.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.fixture.externalId",
+ },
+ {
+ $ref: "#/parameters/body.fixture",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
+ },
},
+ tags: ["fixture"],
},
- type: "object",
},
- customerAccount: {
- required: ["id", "customerId", "companyId"],
- properties: {
- id: {
- description:
- "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- customerId: {
- description:
- "Note:\nThis is a Foreign Key to `customer.id`.<fk table='customer' column='id'/>",
- format: "text",
- type: "string",
- },
- companyId: {
- description:
- "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
- format: "text",
- type: "string",
- },
- },
- type: "object",
- },
- accountDefault: {
- required: [
- "companyId",
- "salesAccount",
- "salesDiscountAccount",
- "costOfGoodsSoldAccount",
- "purchaseAccount",
- "directCostAppliedAccount",
- "overheadCostAppliedAccount",
- "purchaseVarianceAccount",
- "inventoryAdjustmentVarianceAccount",
- "materialVarianceAccount",
- "capacityVarianceAccount",
- "overheadAccount",
- "maintenanceAccount",
- "assetDepreciationExpenseAccount",
- "assetGainsAndLossesAccount",
- "serviceChargeAccount",
- "interestAccount",
- "supplierPaymentDiscountAccount",
- "customerPaymentDiscountAccount",
- "roundingAccount",
- "assetAquisitionCostAccount",
- "assetAquisitionCostOnDisposalAccount",
- "accumulatedDepreciationAccount",
- "accumulatedDepreciationOnDisposalAccount",
- "inventoryAccount",
- "inventoryInterimAccrualAccount",
- "workInProgressAccount",
- "receivablesAccount",
- "inventoryShippedNotInvoicedAccount",
- "inventoryInvoicedNotReceivedAccount",
- "bankCashAccount",
- "bankLocalCurrencyAccount",
- "bankForeignCurrencyAccount",
- "prepaymentAccount",
- "payablesAccount",
- "inventoryReceivedNotInvoicedAccount",
- "salesTaxPayableAccount",
- "purchaseTaxPayableAccount",
- "reverseChargeSalesTaxPayableAccount",
- "retainedEarningsAccount",
- ],
- properties: {
- companyId: {
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
- type: "string",
- },
- salesAccount: {
- format: "text",
- type: "string",
- },
- salesDiscountAccount: {
- format: "text",
- type: "string",
- },
- costOfGoodsSoldAccount: {
- format: "text",
- type: "string",
- },
- purchaseAccount: {
- format: "text",
- type: "string",
- },
- directCostAppliedAccount: {
- format: "text",
- type: "string",
- },
- overheadCostAppliedAccount: {
- format: "text",
- type: "string",
- },
- purchaseVarianceAccount: {
- format: "text",
- type: "string",
- },
- inventoryAdjustmentVarianceAccount: {
- format: "text",
- type: "string",
- },
- materialVarianceAccount: {
- format: "text",
- type: "string",
- },
- capacityVarianceAccount: {
- format: "text",
- type: "string",
- },
- overheadAccount: {
- format: "text",
- type: "string",
- },
- maintenanceAccount: {
- format: "text",
- type: "string",
- },
- assetDepreciationExpenseAccount: {
- format: "text",
- type: "string",
- },
- assetGainsAndLossesAccount: {
- format: "text",
- type: "string",
- },
- serviceChargeAccount: {
- format: "text",
- type: "string",
- },
- interestAccount: {
- format: "text",
- type: "string",
- },
- supplierPaymentDiscountAccount: {
- format: "text",
- type: "string",
- },
- customerPaymentDiscountAccount: {
- format: "text",
- type: "string",
- },
- roundingAccount: {
- format: "text",
- type: "string",
- },
- assetAquisitionCostAccount: {
- format: "text",
- type: "string",
- },
- assetAquisitionCostOnDisposalAccount: {
- format: "text",
- type: "string",
- },
- accumulatedDepreciationAccount: {
- format: "text",
- type: "string",
- },
- accumulatedDepreciationOnDisposalAccount: {
- format: "text",
- type: "string",
- },
- inventoryAccount: {
- format: "text",
- type: "string",
- },
- inventoryInterimAccrualAccount: {
- format: "text",
- type: "string",
- },
- workInProgressAccount: {
- format: "text",
- type: "string",
- },
- receivablesAccount: {
- format: "text",
- type: "string",
- },
- inventoryShippedNotInvoicedAccount: {
- format: "text",
- type: "string",
- },
- inventoryInvoicedNotReceivedAccount: {
- format: "text",
- type: "string",
- },
- bankCashAccount: {
- format: "text",
- type: "string",
- },
- bankLocalCurrencyAccount: {
- format: "text",
- type: "string",
- },
- bankForeignCurrencyAccount: {
- format: "text",
- type: "string",
- },
- prepaymentAccount: {
- format: "text",
- type: "string",
- },
- payablesAccount: {
- format: "text",
- type: "string",
- },
- inventoryReceivedNotInvoicedAccount: {
- format: "text",
- type: "string",
- },
- salesTaxPayableAccount: {
- format: "text",
- type: "string",
- },
- purchaseTaxPayableAccount: {
- format: "text",
- type: "string",
- },
- reverseChargeSalesTaxPayableAccount: {
- format: "text",
- type: "string",
- },
- retainedEarningsAccount: {
- format: "text",
- type: "string",
- },
- updatedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- },
- type: "object",
- },
- service: {
- required: [
- "id",
- "serviceType",
- "approved",
- "companyId",
- "createdBy",
- "createdAt",
- ],
- properties: {
- id: {
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
- type: "string",
- },
- itemId: {
- description:
- "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
- format: "text",
- type: "string",
- },
- serviceType: {
- enum: ["Internal", "External"],
- format: 'public."serviceType"',
- type: "string",
- },
- approved: {
- default: false,
- format: "boolean",
- type: "boolean",
- },
- approvedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- fromDate: {
- format: "date",
- type: "string",
- },
- toDate: {
- format: "date",
- type: "string",
- },
- customFields: {
- format: "jsonb",
- },
- companyId: {
- description:
- "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
- format: "text",
- type: "string",
- },
- createdBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- createdAt: {
- default: "now()",
- format: "timestamp with time zone",
- type: "string",
- },
- updatedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- updatedAt: {
- format: "timestamp with time zone",
- type: "string",
+ "/document": {
+ get: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.document.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.document.path",
+ },
+ {
+ $ref: "#/parameters/rowFilter.document.name",
+ },
+ {
+ $ref: "#/parameters/rowFilter.document.description",
+ },
+ {
+ $ref: "#/parameters/rowFilter.document.size",
+ },
+ {
+ $ref: "#/parameters/rowFilter.document.extension",
+ },
+ {
+ $ref: "#/parameters/rowFilter.document.type",
+ },
+ {
+ $ref: "#/parameters/rowFilter.document.readGroups",
+ },
+ {
+ $ref: "#/parameters/rowFilter.document.writeGroups",
+ },
+ {
+ $ref: "#/parameters/rowFilter.document.active",
+ },
+ {
+ $ref: "#/parameters/rowFilter.document.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.document.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.document.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.document.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.document.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.document.sourceDocument",
+ },
+ {
+ $ref: "#/parameters/rowFilter.document.sourceDocumentId",
+ },
+ {
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/order",
+ },
+ {
+ $ref: "#/parameters/range",
+ },
+ {
+ $ref: "#/parameters/rangeUnit",
+ },
+ {
+ $ref: "#/parameters/offset",
+ },
+ {
+ $ref: "#/parameters/limit",
+ },
+ {
+ $ref: "#/parameters/preferCount",
+ },
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/document",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
+ },
},
+ tags: ["document"],
},
- type: "object",
- },
- employeeTypePermission: {
- required: [
- "employeeTypeId",
- "module",
- "create",
- "delete",
- "update",
- "view",
- "createdAt",
- ],
- properties: {
- employeeTypeId: {
- description:
- "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `employeeType.id`.<fk table='employeeType' column='id'/>",
- format: "text",
- type: "string",
- },
- module: {
- description: "Note:\nThis is a Primary Key.<pk/>",
- enum: [
- "Accounting",
- "Documents",
- "Invoicing",
- "Inventory",
- "Items",
- "Messaging",
- "Parts",
- "People",
- "Production",
- "Purchasing",
- "Resources",
- "Sales",
- "Settings",
- "Users",
- ],
- format: "public.module",
- type: "string",
- },
- create: {
- format: "text[]",
- items: {
- type: "string",
+ post: {
+ parameters: [
+ {
+ $ref: "#/parameters/body.document",
},
- type: "array",
- },
- delete: {
- format: "text[]",
- items: {
- type: "string",
+ {
+ $ref: "#/parameters/select",
},
- type: "array",
- },
- update: {
- format: "text[]",
- items: {
- type: "string",
+ {
+ $ref: "#/parameters/preferPost",
},
- type: "array",
- },
- view: {
- format: "text[]",
- items: {
- type: "string",
+ ],
+ responses: {
+ "201": {
+ description: "Created",
},
- type: "array",
- },
- createdAt: {
- default: "now()",
- format: "timestamp with time zone",
- type: "string",
- },
- updatedAt: {
- format: "timestamp with time zone",
- type: "string",
},
+ tags: ["document"],
},
- type: "object",
- },
- purchaseOrderPayment: {
- required: ["id", "paymentComplete", "companyId"],
- properties: {
- id: {
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
- type: "string",
- },
- invoiceSupplierId: {
- description:
- "Note:\nThis is a Foreign Key to `supplier.id`.<fk table='supplier' column='id'/>",
- format: "text",
- type: "string",
- },
- invoiceSupplierLocationId: {
- description:
- "Note:\nThis is a Foreign Key to `supplierLocation.id`.<fk table='supplierLocation' column='id'/>",
- format: "text",
- type: "string",
- },
- invoiceSupplierContactId: {
- description:
- "Note:\nThis is a Foreign Key to `supplierContact.id`.<fk table='supplierContact' column='id'/>",
- format: "text",
- type: "string",
- },
- paymentTermId: {
- description:
- "Note:\nThis is a Foreign Key to `paymentTerm.id`.<fk table='paymentTerm' column='id'/>",
- format: "text",
- type: "string",
- },
- paymentComplete: {
- default: false,
- format: "boolean",
- type: "boolean",
- },
- companyId: {
- format: "text",
- type: "string",
- },
- updatedAt: {
- format: "timestamp with time zone",
- type: "string",
- },
- updatedBy: {
- format: "text",
- type: "string",
+ delete: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.document.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.document.path",
+ },
+ {
+ $ref: "#/parameters/rowFilter.document.name",
+ },
+ {
+ $ref: "#/parameters/rowFilter.document.description",
+ },
+ {
+ $ref: "#/parameters/rowFilter.document.size",
+ },
+ {
+ $ref: "#/parameters/rowFilter.document.extension",
+ },
+ {
+ $ref: "#/parameters/rowFilter.document.type",
+ },
+ {
+ $ref: "#/parameters/rowFilter.document.readGroups",
+ },
+ {
+ $ref: "#/parameters/rowFilter.document.writeGroups",
+ },
+ {
+ $ref: "#/parameters/rowFilter.document.active",
+ },
+ {
+ $ref: "#/parameters/rowFilter.document.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.document.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.document.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.document.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.document.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.document.sourceDocument",
+ },
+ {
+ $ref: "#/parameters/rowFilter.document.sourceDocumentId",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
+ },
},
- customFields: {
- format: "jsonb",
+ tags: ["document"],
+ },
+ patch: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.document.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.document.path",
+ },
+ {
+ $ref: "#/parameters/rowFilter.document.name",
+ },
+ {
+ $ref: "#/parameters/rowFilter.document.description",
+ },
+ {
+ $ref: "#/parameters/rowFilter.document.size",
+ },
+ {
+ $ref: "#/parameters/rowFilter.document.extension",
+ },
+ {
+ $ref: "#/parameters/rowFilter.document.type",
+ },
+ {
+ $ref: "#/parameters/rowFilter.document.readGroups",
+ },
+ {
+ $ref: "#/parameters/rowFilter.document.writeGroups",
+ },
+ {
+ $ref: "#/parameters/rowFilter.document.active",
+ },
+ {
+ $ref: "#/parameters/rowFilter.document.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.document.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.document.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.document.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.document.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.document.sourceDocument",
+ },
+ {
+ $ref: "#/parameters/rowFilter.document.sourceDocumentId",
+ },
+ {
+ $ref: "#/parameters/body.document",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
+ },
},
+ tags: ["document"],
},
- type: "object",
},
- holiday: {
- required: ["id", "name", "date", "companyId", "createdBy", "createdAt"],
- properties: {
- id: {
- default: "public.xid()",
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
- type: "string",
- },
- name: {
- format: "text",
- type: "string",
- },
- date: {
- format: "date",
- type: "string",
- },
- year: {
- format: "integer",
- type: "integer",
- },
- companyId: {
- description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
- format: "text",
- type: "string",
- },
- createdBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- createdAt: {
- default: "now()",
- format: "timestamp without time zone",
- type: "string",
- },
- updatedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- updatedAt: {
- format: "timestamp without time zone",
- type: "string",
- },
- customFields: {
- format: "jsonb",
+ "/receipts": {
+ get: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.receipts.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.receipts.receiptId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.receipts.locationId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.receipts.sourceDocument",
+ },
+ {
+ $ref: "#/parameters/rowFilter.receipts.sourceDocumentId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.receipts.sourceDocumentReadableId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.receipts.externalDocumentId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.receipts.supplierId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.receipts.status",
+ },
+ {
+ $ref: "#/parameters/rowFilter.receipts.postingDate",
+ },
+ {
+ $ref: "#/parameters/rowFilter.receipts.invoiced",
+ },
+ {
+ $ref: "#/parameters/rowFilter.receipts.assignee",
+ },
+ {
+ $ref: "#/parameters/rowFilter.receipts.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.receipts.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.receipts.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.receipts.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.receipts.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.receipts.customFields",
+ },
+ {
+ $ref: "#/parameters/rowFilter.receipts.locationName",
+ },
+ {
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/order",
+ },
+ {
+ $ref: "#/parameters/range",
+ },
+ {
+ $ref: "#/parameters/rangeUnit",
+ },
+ {
+ $ref: "#/parameters/offset",
+ },
+ {
+ $ref: "#/parameters/limit",
+ },
+ {
+ $ref: "#/parameters/preferCount",
+ },
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/receipts",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
+ },
},
+ tags: ["receipts"],
},
- type: "object",
},
- quotes: {
- properties: {
- id: {
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
- type: "string",
- },
- quoteId: {
- format: "text",
- type: "string",
- },
- revisionId: {
- format: "integer",
- type: "integer",
- },
- dueDate: {
- format: "date",
- type: "string",
- },
- expirationDate: {
- format: "date",
- type: "string",
- },
- status: {
- enum: [
- "Draft",
- "Sent",
- "Ordered",
- "Partial",
- "Lost",
- "Cancelled",
- "Expired",
- ],
- format: 'public."quoteStatus"',
- type: "string",
- },
- salesPersonId: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
+ "/attributeDataType": {
+ get: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.attributeDataType.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.attributeDataType.label",
+ },
+ {
+ $ref: "#/parameters/rowFilter.attributeDataType.isBoolean",
+ },
+ {
+ $ref: "#/parameters/rowFilter.attributeDataType.isDate",
+ },
+ {
+ $ref: "#/parameters/rowFilter.attributeDataType.isList",
+ },
+ {
+ $ref: "#/parameters/rowFilter.attributeDataType.isNumeric",
+ },
+ {
+ $ref: "#/parameters/rowFilter.attributeDataType.isText",
+ },
+ {
+ $ref: "#/parameters/rowFilter.attributeDataType.isUser",
+ },
+ {
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/order",
+ },
+ {
+ $ref: "#/parameters/range",
+ },
+ {
+ $ref: "#/parameters/rangeUnit",
+ },
+ {
+ $ref: "#/parameters/offset",
+ },
+ {
+ $ref: "#/parameters/limit",
+ },
+ {
+ $ref: "#/parameters/preferCount",
+ },
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/attributeDataType",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
+ },
},
- estimatorId: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
+ tags: ["attributeDataType"],
+ },
+ post: {
+ parameters: [
+ {
+ $ref: "#/parameters/body.attributeDataType",
+ },
+ {
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/preferPost",
+ },
+ ],
+ responses: {
+ "201": {
+ description: "Created",
+ },
},
- customerId: {
- description:
- "Note:\nThis is a Foreign Key to `customer.id`.<fk table='customer' column='id'/>",
- format: "text",
- type: "string",
+ tags: ["attributeDataType"],
+ },
+ delete: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.attributeDataType.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.attributeDataType.label",
+ },
+ {
+ $ref: "#/parameters/rowFilter.attributeDataType.isBoolean",
+ },
+ {
+ $ref: "#/parameters/rowFilter.attributeDataType.isDate",
+ },
+ {
+ $ref: "#/parameters/rowFilter.attributeDataType.isList",
+ },
+ {
+ $ref: "#/parameters/rowFilter.attributeDataType.isNumeric",
+ },
+ {
+ $ref: "#/parameters/rowFilter.attributeDataType.isText",
+ },
+ {
+ $ref: "#/parameters/rowFilter.attributeDataType.isUser",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
+ },
},
- customerLocationId: {
- description:
- "Note:\nThis is a Foreign Key to `customerLocation.id`.<fk table='customerLocation' column='id'/>",
- format: "text",
- type: "string",
- },
- customerContactId: {
- description:
- "Note:\nThis is a Foreign Key to `customerContact.id`.<fk table='customerContact' column='id'/>",
- format: "text",
- type: "string",
- },
- customerReference: {
- format: "text",
- type: "string",
- },
- locationId: {
- description:
- "Note:\nThis is a Foreign Key to `location.id`.<fk table='location' column='id'/>",
- format: "text",
- type: "string",
- },
- assignee: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- customFields: {
- format: "jsonb",
- },
- companyId: {
- description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
- format: "text",
- type: "string",
- },
- createdAt: {
- format: "timestamp with time zone",
- type: "string",
- },
- createdBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- updatedAt: {
- format: "timestamp with time zone",
- type: "string",
- },
- updatedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- externalNotes: {
- format: "json",
- },
- internalNotes: {
- format: "json",
- },
- currencyCode: {
- description:
- "Note:\nThis is a Foreign Key to `currencyCode.code`.<fk table='currencyCode' column='code'/>",
- format: "text",
- type: "string",
- },
- exchangeRate: {
- format: "numeric",
- type: "number",
- },
- exchangeRateUpdatedAt: {
- format: "timestamp with time zone",
- type: "string",
- },
- locationName: {
- format: "text",
- type: "string",
- },
- lines: {
- format: "bigint",
- type: "integer",
- },
- completedLines: {
- format: "bigint",
- type: "integer",
- },
- favorite: {
- format: "boolean",
- type: "boolean",
- },
- salesRfqId: {
- description:
- "Note:\nThis is a Foreign Key to `salesRfq.id`.<fk table='salesRfq' column='id'/>",
- format: "text",
- type: "string",
- },
- salesOrderId: {
- description:
- "Note:\nThis is a Foreign Key to `salesOrder.id`.<fk table='salesOrder' column='id'/>",
- format: "text",
- type: "string",
+ tags: ["attributeDataType"],
+ },
+ patch: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.attributeDataType.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.attributeDataType.label",
+ },
+ {
+ $ref: "#/parameters/rowFilter.attributeDataType.isBoolean",
+ },
+ {
+ $ref: "#/parameters/rowFilter.attributeDataType.isDate",
+ },
+ {
+ $ref: "#/parameters/rowFilter.attributeDataType.isList",
+ },
+ {
+ $ref: "#/parameters/rowFilter.attributeDataType.isNumeric",
+ },
+ {
+ $ref: "#/parameters/rowFilter.attributeDataType.isText",
+ },
+ {
+ $ref: "#/parameters/rowFilter.attributeDataType.isUser",
+ },
+ {
+ $ref: "#/parameters/body.attributeDataType",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
+ },
},
+ tags: ["attributeDataType"],
},
- type: "object",
},
- documentExtensions: {
- properties: {
- extension: {
- format: "text",
- type: "string",
+ "/quoteLine": {
+ get: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.quoteId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.quoteRevisionId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.status",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.estimatorId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.itemId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.itemReadableId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.itemType",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.description",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.customerPartId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.customerPartRevision",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.methodType",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.unitOfMeasureCode",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.notes",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.customFields",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.modelUploadId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.quantity",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.additionalCharges",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.locationId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.noQuoteReason",
+ },
+ {
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/order",
+ },
+ {
+ $ref: "#/parameters/range",
+ },
+ {
+ $ref: "#/parameters/rangeUnit",
+ },
+ {
+ $ref: "#/parameters/offset",
+ },
+ {
+ $ref: "#/parameters/limit",
+ },
+ {
+ $ref: "#/parameters/preferCount",
+ },
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/quoteLine",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
+ },
},
+ tags: ["quoteLine"],
},
- type: "object",
- },
- customerPayment: {
- required: ["customerId", "companyId"],
- properties: {
- customerId: {
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
- type: "string",
- },
- invoiceCustomerId: {
- description:
- "Note:\nThis is a Foreign Key to `customer.id`.<fk table='customer' column='id'/>",
- format: "text",
- type: "string",
- },
- invoiceCustomerLocationId: {
- description:
- "Note:\nThis is a Foreign Key to `customerLocation.id`.<fk table='customerLocation' column='id'/>",
- format: "text",
- type: "string",
- },
- invoiceCustomerContactId: {
- description:
- "Note:\nThis is a Foreign Key to `customerContact.id`.<fk table='customerContact' column='id'/>",
- format: "text",
- type: "string",
- },
- paymentTermId: {
- description:
- "Note:\nThis is a Foreign Key to `paymentTerm.id`.<fk table='paymentTerm' column='id'/>",
- format: "text",
- type: "string",
- },
- companyId: {
- description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
- format: "text",
- type: "string",
+ post: {
+ parameters: [
+ {
+ $ref: "#/parameters/body.quoteLine",
+ },
+ {
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/preferPost",
+ },
+ ],
+ responses: {
+ "201": {
+ description: "Created",
+ },
},
- updatedAt: {
- format: "timestamp with time zone",
- type: "string",
+ tags: ["quoteLine"],
+ },
+ delete: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.quoteId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.quoteRevisionId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.status",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.estimatorId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.itemId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.itemReadableId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.itemType",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.description",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.customerPartId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.customerPartRevision",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.methodType",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.unitOfMeasureCode",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.notes",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.customFields",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.modelUploadId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.quantity",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.additionalCharges",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.locationId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.noQuoteReason",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
+ },
},
- updatedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
+ tags: ["quoteLine"],
+ },
+ patch: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.quoteId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.quoteRevisionId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.status",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.estimatorId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.itemId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.itemReadableId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.itemType",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.description",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.customerPartId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.customerPartRevision",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.methodType",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.unitOfMeasureCode",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.notes",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.customFields",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.modelUploadId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.quantity",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.additionalCharges",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.locationId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.noQuoteReason",
+ },
+ {
+ $ref: "#/parameters/body.quoteLine",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
+ },
},
+ tags: ["quoteLine"],
},
- type: "object",
},
- postingGroupPurchasing: {
- required: [
- "id",
- "payablesAccount",
- "purchaseAccount",
- "purchaseDiscountAccount",
- "purchaseCreditAccount",
- "purchasePrepaymentAccount",
- "purchaseTaxPayableAccount",
- "companyId",
- ],
- properties: {
- id: {
- default: "public.xid()",
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
- type: "string",
- },
- supplierTypeId: {
- description:
- "Note:\nThis is a Foreign Key to `supplierType.id`.<fk table='supplierType' column='id'/>",
- format: "text",
- type: "string",
- },
- itemPostingGroupId: {
- description:
- "Note:\nThis is a Foreign Key to `itemPostingGroup.id`.<fk table='itemPostingGroup' column='id'/>",
- format: "text",
- type: "string",
- },
- payablesAccount: {
- format: "text",
- type: "string",
- },
- purchaseAccount: {
- format: "text",
- type: "string",
- },
- purchaseDiscountAccount: {
- format: "text",
- type: "string",
- },
- purchaseCreditAccount: {
- format: "text",
- type: "string",
- },
- purchasePrepaymentAccount: {
- format: "text",
- type: "string",
- },
- purchaseTaxPayableAccount: {
- format: "text",
- type: "string",
- },
- companyId: {
- description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
- format: "text",
- type: "string",
- },
- updatedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
+ "/jobMaterialWithMakeMethodId": {
+ get: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.jobId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.itemId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.itemReadableId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.itemType",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.methodType",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.order",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.description",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.quantity",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.scrapQuantity",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.unitOfMeasureCode",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.unitCost",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.customFields",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.jobMakeMethodId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.jobOperationId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.estimatedQuantity",
+ },
+ {
+ $ref: "#/parameters/rowFilter.jobMaterialWithMakeMethodId.jobMaterialMakeMethodId",
+ },
+ {
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/order",
+ },
+ {
+ $ref: "#/parameters/range",
+ },
+ {
+ $ref: "#/parameters/rangeUnit",
+ },
+ {
+ $ref: "#/parameters/offset",
+ },
+ {
+ $ref: "#/parameters/limit",
+ },
+ {
+ $ref: "#/parameters/preferCount",
+ },
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/jobMaterialWithMakeMethodId",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
+ },
},
+ tags: ["jobMaterialWithMakeMethodId"],
},
- type: "object",
},
- accountSubcategory: {
- required: [
- "id",
- "name",
- "accountCategoryId",
- "active",
- "createdBy",
- "createdAt",
- ],
- properties: {
- id: {
- default: "public.xid()",
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
- type: "string",
- },
- name: {
- format: "text",
- type: "string",
- },
- accountCategoryId: {
- description:
- "Note:\nThis is a Foreign Key to `accountCategory.id`.<fk table='accountCategory' column='id'/>",
- format: "text",
- type: "string",
- },
- active: {
- default: true,
- format: "boolean",
- type: "boolean",
- },
- createdBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- createdAt: {
- default: "now()",
- format: "timestamp with time zone",
- type: "string",
- },
- updatedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- updatedAt: {
- format: "timestamp with time zone",
- type: "string",
- },
- customFields: {
- format: "jsonb",
+ "/currency": {
+ get: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.currency.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.currency.code",
+ },
+ {
+ $ref: "#/parameters/rowFilter.currency.exchangeRate",
+ },
+ {
+ $ref: "#/parameters/rowFilter.currency.decimalPlaces",
+ },
+ {
+ $ref: "#/parameters/rowFilter.currency.active",
+ },
+ {
+ $ref: "#/parameters/rowFilter.currency.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.currency.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.currency.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.currency.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.currency.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.currency.customFields",
+ },
+ {
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/order",
+ },
+ {
+ $ref: "#/parameters/range",
+ },
+ {
+ $ref: "#/parameters/rangeUnit",
+ },
+ {
+ $ref: "#/parameters/offset",
+ },
+ {
+ $ref: "#/parameters/limit",
+ },
+ {
+ $ref: "#/parameters/preferCount",
+ },
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/currency",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
+ },
},
+ tags: ["currency"],
},
- type: "object",
- },
- material: {
- required: [
- "id",
- "materialFormId",
- "materialSubstanceId",
- "approved",
- "companyId",
- "createdBy",
- "createdAt",
- ],
- properties: {
- id: {
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
- type: "string",
- },
- itemId: {
- description:
- "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
- format: "text",
- type: "string",
- },
- materialFormId: {
- description:
- "Note:\nThis is a Foreign Key to `materialForm.id`.<fk table='materialForm' column='id'/>",
- format: "text",
- type: "string",
- },
- materialSubstanceId: {
- description:
- "Note:\nThis is a Foreign Key to `materialSubstance.id`.<fk table='materialSubstance' column='id'/>",
- format: "text",
- type: "string",
- },
- grade: {
- format: "text",
- type: "string",
- },
- dimensions: {
- format: "text",
- type: "string",
- },
- finish: {
- format: "text",
- type: "string",
- },
- approved: {
- default: false,
- format: "boolean",
- type: "boolean",
- },
- approvedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- customFields: {
- format: "jsonb",
- },
- companyId: {
- description:
- "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
- format: "text",
- type: "string",
- },
- createdBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- createdAt: {
- default: "now()",
- format: "timestamp with time zone",
- type: "string",
- },
- updatedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- updatedAt: {
- format: "timestamp with time zone",
- type: "string",
- },
- externalId: {
- format: "jsonb",
+ post: {
+ parameters: [
+ {
+ $ref: "#/parameters/body.currency",
+ },
+ {
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/preferPost",
+ },
+ ],
+ responses: {
+ "201": {
+ description: "Created",
+ },
},
+ tags: ["currency"],
},
- type: "object",
- },
- supplierPayment: {
- required: ["supplierId", "companyId"],
- properties: {
- supplierId: {
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
- type: "string",
- },
- invoiceSupplierId: {
- description:
- "Note:\nThis is a Foreign Key to `supplier.id`.<fk table='supplier' column='id'/>",
- format: "text",
- type: "string",
- },
- invoiceSupplierLocationId: {
- description:
- "Note:\nThis is a Foreign Key to `supplierLocation.id`.<fk table='supplierLocation' column='id'/>",
- format: "text",
- type: "string",
- },
- invoiceSupplierContactId: {
- description:
- "Note:\nThis is a Foreign Key to `supplierContact.id`.<fk table='supplierContact' column='id'/>",
- format: "text",
- type: "string",
- },
- paymentTermId: {
- description:
- "Note:\nThis is a Foreign Key to `paymentTerm.id`.<fk table='paymentTerm' column='id'/>",
- format: "text",
- type: "string",
- },
- companyId: {
- description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
- format: "text",
- type: "string",
- },
- updatedAt: {
- format: "timestamp with time zone",
- type: "string",
- },
- updatedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- customFields: {
- format: "jsonb",
+ delete: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.currency.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.currency.code",
+ },
+ {
+ $ref: "#/parameters/rowFilter.currency.exchangeRate",
+ },
+ {
+ $ref: "#/parameters/rowFilter.currency.decimalPlaces",
+ },
+ {
+ $ref: "#/parameters/rowFilter.currency.active",
+ },
+ {
+ $ref: "#/parameters/rowFilter.currency.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.currency.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.currency.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.currency.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.currency.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.currency.customFields",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
+ },
},
+ tags: ["currency"],
},
- type: "object",
- },
- currencyCode: {
- required: ["code", "name"],
- properties: {
- code: {
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
- type: "string",
- },
- name: {
- format: "text",
- type: "string",
+ patch: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.currency.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.currency.code",
+ },
+ {
+ $ref: "#/parameters/rowFilter.currency.exchangeRate",
+ },
+ {
+ $ref: "#/parameters/rowFilter.currency.decimalPlaces",
+ },
+ {
+ $ref: "#/parameters/rowFilter.currency.active",
+ },
+ {
+ $ref: "#/parameters/rowFilter.currency.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.currency.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.currency.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.currency.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.currency.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.currency.customFields",
+ },
+ {
+ $ref: "#/parameters/body.currency",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
+ },
},
+ tags: ["currency"],
},
- type: "object",
},
- methodMaterial: {
- required: [
- "id",
- "makeMethodId",
- "methodType",
- "itemType",
- "itemId",
- "quantity",
- "unitOfMeasureCode",
- "companyId",
- "createdAt",
- "createdBy",
- "itemReadableId",
- "order",
- "scrapQuantity",
- ],
- properties: {
- id: {
- default: "public.xid()",
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
- type: "string",
- },
- makeMethodId: {
- description:
- "Note:\nThis is a Foreign Key to `makeMethod.id`.<fk table='makeMethod' column='id'/>",
- format: "text",
- type: "string",
- },
- methodType: {
- default: "Buy",
- enum: ["Buy", "Make", "Pick"],
- format: 'public."methodType"',
- type: "string",
- },
- materialMakeMethodId: {
- description:
- "Note:\nThis is a Foreign Key to `makeMethod.id`.<fk table='makeMethod' column='id'/>",
- format: "text",
- type: "string",
- },
- itemType: {
- default: "Material",
- format: "text",
- type: "string",
- },
- itemId: {
- description:
- "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
- format: "text",
- type: "string",
- },
- quantity: {
- format: "numeric",
- type: "number",
- },
- unitOfMeasureCode: {
- format: "text",
- type: "string",
- },
- companyId: {
- description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
- format: "text",
- type: "string",
- },
- createdAt: {
- default: "now()",
- format: "timestamp with time zone",
- type: "string",
- },
- createdBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- updatedAt: {
- format: "timestamp with time zone",
- type: "string",
- },
- updatedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- customFields: {
- format: "jsonb",
- },
- itemReadableId: {
- format: "text",
- type: "string",
- },
- order: {
- default: 1,
- format: "double precision",
- type: "number",
- },
- methodOperationId: {
- description:
- "Note:\nThis is a Foreign Key to `methodOperation.id`.<fk table='methodOperation' column='id'/>",
- format: "text",
- type: "string",
- },
- scrapQuantity: {
- default: 0,
- format: "numeric",
- type: "number",
- },
- productionQuantity: {
- format: "numeric",
- type: "number",
+ "/productionEvent": {
+ get: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.productionEvent.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionEvent.jobOperationId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionEvent.type",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionEvent.startTime",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionEvent.endTime",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionEvent.duration",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionEvent.employeeId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionEvent.workCenterId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionEvent.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionEvent.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionEvent.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionEvent.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionEvent.updatedBy",
+ },
+ {
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/order",
+ },
+ {
+ $ref: "#/parameters/range",
+ },
+ {
+ $ref: "#/parameters/rangeUnit",
+ },
+ {
+ $ref: "#/parameters/offset",
+ },
+ {
+ $ref: "#/parameters/limit",
+ },
+ {
+ $ref: "#/parameters/preferCount",
+ },
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/productionEvent",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
+ },
},
+ tags: ["productionEvent"],
},
- type: "object",
- },
- processes: {
- properties: {
- id: {
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
- type: "string",
- },
- name: {
- format: "text",
- type: "string",
- },
- defaultStandardFactor: {
- enum: [
- "Hours/Piece",
- "Hours/100 Pieces",
- "Hours/1000 Pieces",
- "Minutes/Piece",
- "Minutes/100 Pieces",
- "Minutes/1000 Pieces",
- "Pieces/Hour",
- "Pieces/Minute",
- "Seconds/Piece",
- "Total Hours",
- "Total Minutes",
- ],
- format: "public.factor",
- type: "string",
- },
- companyId: {
- description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
- format: "text",
- type: "string",
- },
- customFields: {
- format: "jsonb",
- },
- createdBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- createdAt: {
- format: "timestamp with time zone",
- type: "string",
- },
- updatedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- updatedAt: {
- format: "timestamp with time zone",
- type: "string",
- },
- processType: {
- enum: ["Inside", "Outside", "Inside and Outside"],
- format: 'public."processType"',
- type: "string",
+ post: {
+ parameters: [
+ {
+ $ref: "#/parameters/body.productionEvent",
+ },
+ {
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/preferPost",
+ },
+ ],
+ responses: {
+ "201": {
+ description: "Created",
+ },
},
- workCenters: {
- format: "jsonb",
+ tags: ["productionEvent"],
+ },
+ delete: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.productionEvent.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionEvent.jobOperationId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionEvent.type",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionEvent.startTime",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionEvent.endTime",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionEvent.duration",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionEvent.employeeId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionEvent.workCenterId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionEvent.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionEvent.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionEvent.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionEvent.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionEvent.updatedBy",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
+ },
},
- suppliers: {
- format: "jsonb",
+ tags: ["productionEvent"],
+ },
+ patch: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.productionEvent.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionEvent.jobOperationId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionEvent.type",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionEvent.startTime",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionEvent.endTime",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionEvent.duration",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionEvent.employeeId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionEvent.workCenterId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionEvent.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionEvent.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionEvent.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionEvent.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.productionEvent.updatedBy",
+ },
+ {
+ $ref: "#/parameters/body.productionEvent",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
+ },
},
+ tags: ["productionEvent"],
},
- type: "object",
},
- process: {
- required: [
- "id",
- "name",
- "defaultStandardFactor",
- "companyId",
- "createdBy",
- "createdAt",
- "processType",
- ],
- properties: {
- id: {
- default: "public.xid()",
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
- type: "string",
+ "/accounts": {
+ get: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.accounts.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.accounts.number",
+ },
+ {
+ $ref: "#/parameters/rowFilter.accounts.name",
+ },
+ {
+ $ref: "#/parameters/rowFilter.accounts.type",
+ },
+ {
+ $ref: "#/parameters/rowFilter.accounts.class",
+ },
+ {
+ $ref: "#/parameters/rowFilter.accounts.accountCategoryId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.accounts.accountSubcategoryId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.accounts.incomeBalance",
+ },
+ {
+ $ref: "#/parameters/rowFilter.accounts.consolidatedRate",
+ },
+ {
+ $ref: "#/parameters/rowFilter.accounts.directPosting",
+ },
+ {
+ $ref: "#/parameters/rowFilter.accounts.active",
+ },
+ {
+ $ref: "#/parameters/rowFilter.accounts.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.accounts.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.accounts.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.accounts.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.accounts.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.accounts.customFields",
+ },
+ {
+ $ref: "#/parameters/rowFilter.accounts.accountCategory",
+ },
+ {
+ $ref: "#/parameters/rowFilter.accounts.accountSubCategory",
+ },
+ {
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/order",
+ },
+ {
+ $ref: "#/parameters/range",
+ },
+ {
+ $ref: "#/parameters/rangeUnit",
+ },
+ {
+ $ref: "#/parameters/offset",
+ },
+ {
+ $ref: "#/parameters/limit",
+ },
+ {
+ $ref: "#/parameters/preferCount",
+ },
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/accounts",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
+ },
},
- name: {
- format: "text",
- type: "string",
- },
- defaultStandardFactor: {
- enum: [
- "Hours/Piece",
- "Hours/100 Pieces",
- "Hours/1000 Pieces",
- "Minutes/Piece",
- "Minutes/100 Pieces",
- "Minutes/1000 Pieces",
- "Pieces/Hour",
- "Pieces/Minute",
- "Seconds/Piece",
- "Total Hours",
- "Total Minutes",
- ],
- format: "public.factor",
- type: "string",
- },
- companyId: {
- description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
- format: "text",
- type: "string",
- },
- customFields: {
- format: "jsonb",
- },
- createdBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- createdAt: {
- default: "now()",
- format: "timestamp with time zone",
- type: "string",
- },
- updatedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- updatedAt: {
- format: "timestamp with time zone",
- type: "string",
- },
- processType: {
- default: "Inside",
- enum: ["Inside", "Outside", "Inside and Outside"],
- format: 'public."processType"',
- type: "string",
+ tags: ["accounts"],
+ },
+ post: {
+ parameters: [
+ {
+ $ref: "#/parameters/body.accounts",
+ },
+ {
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/preferPost",
+ },
+ ],
+ responses: {
+ "201": {
+ description: "Created",
+ },
},
+ tags: ["accounts"],
},
- type: "object",
- },
- quoteMaterial: {
- required: [
- "id",
- "quoteId",
- "quoteLineId",
- "itemId",
- "itemReadableId",
- "itemType",
- "methodType",
- "order",
- "description",
- "quantity",
- "unitCost",
- "companyId",
- "createdAt",
- "createdBy",
- "quoteMakeMethodId",
- "scrapQuantity",
- ],
- properties: {
- id: {
- default: "public.xid()",
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
- type: "string",
- },
- quoteId: {
- description:
- "Note:\nThis is a Foreign Key to `quote.id`.<fk table='quote' column='id'/>",
- format: "text",
- type: "string",
- },
- quoteLineId: {
- description:
- "Note:\nThis is a Foreign Key to `quoteLine.id`.<fk table='quoteLine' column='id'/>",
- format: "text",
- type: "string",
- },
- itemId: {
- description:
- "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
- format: "text",
- type: "string",
- },
- itemReadableId: {
- format: "text",
- type: "string",
- },
- itemType: {
- default: "Part",
- format: "text",
- type: "string",
- },
- methodType: {
- default: "Make",
- enum: ["Buy", "Make", "Pick"],
- format: 'public."methodType"',
- type: "string",
- },
- order: {
- default: 1,
- format: "double precision",
- type: "number",
- },
- description: {
- format: "text",
- type: "string",
- },
- quantity: {
- default: 0,
- format: "numeric",
- type: "number",
- },
- unitOfMeasureCode: {
- format: "text",
- type: "string",
- },
- unitCost: {
- default: 0,
- format: "numeric",
- type: "number",
- },
- companyId: {
- description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
- format: "text",
- type: "string",
- },
- createdAt: {
- default: "now()",
- format: "timestamp with time zone",
- type: "string",
- },
- createdBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- updatedAt: {
- format: "timestamp with time zone",
- type: "string",
- },
- updatedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- customFields: {
- format: "jsonb",
- },
- quoteMakeMethodId: {
- description:
- "Note:\nThis is a Foreign Key to `quoteMakeMethod.id`.<fk table='quoteMakeMethod' column='id'/>",
- format: "text",
- type: "string",
- },
- quoteOperationId: {
- description:
- "Note:\nThis is a Foreign Key to `quoteOperation.id`.<fk table='quoteOperation' column='id'/>",
- format: "text",
- type: "string",
- },
- scrapQuantity: {
- default: 0,
- format: "numeric",
- type: "number",
+ delete: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.accounts.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.accounts.number",
+ },
+ {
+ $ref: "#/parameters/rowFilter.accounts.name",
+ },
+ {
+ $ref: "#/parameters/rowFilter.accounts.type",
+ },
+ {
+ $ref: "#/parameters/rowFilter.accounts.class",
+ },
+ {
+ $ref: "#/parameters/rowFilter.accounts.accountCategoryId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.accounts.accountSubcategoryId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.accounts.incomeBalance",
+ },
+ {
+ $ref: "#/parameters/rowFilter.accounts.consolidatedRate",
+ },
+ {
+ $ref: "#/parameters/rowFilter.accounts.directPosting",
+ },
+ {
+ $ref: "#/parameters/rowFilter.accounts.active",
+ },
+ {
+ $ref: "#/parameters/rowFilter.accounts.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.accounts.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.accounts.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.accounts.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.accounts.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.accounts.customFields",
+ },
+ {
+ $ref: "#/parameters/rowFilter.accounts.accountCategory",
+ },
+ {
+ $ref: "#/parameters/rowFilter.accounts.accountSubCategory",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
+ },
},
- productionQuantity: {
- format: "numeric",
- type: "number",
+ tags: ["accounts"],
+ },
+ patch: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.accounts.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.accounts.number",
+ },
+ {
+ $ref: "#/parameters/rowFilter.accounts.name",
+ },
+ {
+ $ref: "#/parameters/rowFilter.accounts.type",
+ },
+ {
+ $ref: "#/parameters/rowFilter.accounts.class",
+ },
+ {
+ $ref: "#/parameters/rowFilter.accounts.accountCategoryId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.accounts.accountSubcategoryId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.accounts.incomeBalance",
+ },
+ {
+ $ref: "#/parameters/rowFilter.accounts.consolidatedRate",
+ },
+ {
+ $ref: "#/parameters/rowFilter.accounts.directPosting",
+ },
+ {
+ $ref: "#/parameters/rowFilter.accounts.active",
+ },
+ {
+ $ref: "#/parameters/rowFilter.accounts.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.accounts.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.accounts.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.accounts.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.accounts.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.accounts.customFields",
+ },
+ {
+ $ref: "#/parameters/rowFilter.accounts.accountCategory",
+ },
+ {
+ $ref: "#/parameters/rowFilter.accounts.accountSubCategory",
+ },
+ {
+ $ref: "#/parameters/body.accounts",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
+ },
},
+ tags: ["accounts"],
},
- type: "object",
},
- contractorAbility: {
- required: ["contractorId", "abilityId", "createdBy", "createdAt"],
- properties: {
- contractorId: {
- description:
- "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `contractor.id`.<fk table='contractor' column='id'/>",
- format: "text",
- type: "string",
- },
- abilityId: {
- description:
- "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `ability.id`.<fk table='ability' column='id'/>",
- format: "text",
- type: "string",
- },
- createdBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- createdAt: {
- default: "now()",
- format: "timestamp with time zone",
- type: "string",
+ "/supplierProcesses": {
+ get: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.supplierProcesses.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierProcesses.supplierId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierProcesses.processId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierProcesses.minimumCost",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierProcesses.unitCost",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierProcesses.leadTime",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierProcesses.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierProcesses.customFields",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierProcesses.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierProcesses.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierProcesses.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierProcesses.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierProcesses.processName",
+ },
+ {
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/order",
+ },
+ {
+ $ref: "#/parameters/range",
+ },
+ {
+ $ref: "#/parameters/rangeUnit",
+ },
+ {
+ $ref: "#/parameters/offset",
+ },
+ {
+ $ref: "#/parameters/limit",
+ },
+ {
+ $ref: "#/parameters/preferCount",
+ },
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/supplierProcesses",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
+ },
},
+ tags: ["supplierProcesses"],
},
- type: "object",
},
- salesOrderLines: {
- properties: {
- id: {
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
- type: "string",
- },
- salesOrderId: {
- description:
- "Note:\nThis is a Foreign Key to `salesOrder.id`.<fk table='salesOrder' column='id'/>",
- format: "text",
- type: "string",
- },
- salesOrderLineType: {
- enum: [
- "Comment",
- "Part",
- "Material",
- "Tool",
- "Service",
- "Consumable",
- "Fixture",
- "Fixed Asset",
- ],
- format: 'public."salesOrderLineType"',
- type: "string",
- },
- itemId: {
- description:
- "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
- format: "text",
- type: "string",
- },
- itemReadableId: {
- format: "text",
- type: "string",
- },
- accountNumber: {
- format: "text",
- type: "string",
- },
- assetId: {
- format: "text",
- type: "string",
- },
- description: {
- format: "text",
- type: "string",
- },
- saleQuantity: {
- format: "numeric",
- type: "number",
- },
- quantityToSend: {
- format: "numeric",
- type: "number",
- },
- quantitySent: {
- format: "numeric",
- type: "number",
- },
- quantityToInvoice: {
- format: "numeric",
- type: "number",
- },
- quantityInvoiced: {
- format: "numeric",
- type: "number",
- },
- unitPrice: {
- format: "numeric",
- type: "number",
- },
- unitOfMeasureCode: {
- format: "text",
- type: "string",
- },
- locationId: {
- format: "text",
- type: "string",
- },
- shelfId: {
- description:
- "Note:\nThis is a Foreign Key to `shelf.id`.<fk table='shelf' column='id'/>",
- format: "text",
- type: "string",
- },
- setupPrice: {
- format: "numeric",
- type: "number",
- },
- sentComplete: {
- format: "boolean",
- type: "boolean",
- },
- invoicedComplete: {
- format: "boolean",
- type: "boolean",
- },
- requiresInspection: {
- format: "boolean",
- type: "boolean",
- },
- companyId: {
- format: "text",
- type: "string",
- },
- createdAt: {
- format: "timestamp with time zone",
- type: "string",
- },
- createdBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- updatedAt: {
- format: "timestamp with time zone",
- type: "string",
- },
- updatedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- customFields: {
- format: "jsonb",
- },
- status: {
- enum: ["Ordered", "In Progress", "Completed"],
- format: 'public."salesOrderLineStatus"',
- type: "string",
- },
- modelUploadId: {
- format: "text",
- type: "string",
- },
- promisedDate: {
- format: "date",
- type: "string",
- },
- addOnCost: {
- format: "numeric",
- type: "number",
- },
- methodType: {
- enum: ["Buy", "Make", "Pick"],
- format: 'public."methodType"',
- type: "string",
- },
- exchangeRate: {
- format: "numeric",
- type: "number",
- },
- convertedUnitPrice: {
- format: "numeric",
- type: "number",
- },
- convertedAddOnCost: {
- format: "numeric",
- type: "number",
- },
- thumbnailPath: {
- format: "text",
- type: "string",
- },
- modelId: {
- format: "text",
- type: "string",
+ "/postingGroupInventory": {
+ get: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.postingGroupInventory.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupInventory.itemPostingGroupId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupInventory.locationId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupInventory.costOfGoodsSoldAccount",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupInventory.inventoryAccount",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupInventory.inventoryInterimAccrualAccount",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupInventory.inventoryReceivedNotInvoicedAccount",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupInventory.inventoryInvoicedNotReceivedAccount",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupInventory.inventoryShippedNotInvoicedAccount",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupInventory.workInProgressAccount",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupInventory.directCostAppliedAccount",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupInventory.overheadAccount",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupInventory.overheadCostAppliedAccount",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupInventory.purchaseVarianceAccount",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupInventory.inventoryAdjustmentVarianceAccount",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupInventory.materialVarianceAccount",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupInventory.capacityVarianceAccount",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupInventory.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupInventory.updatedBy",
+ },
+ {
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/order",
+ },
+ {
+ $ref: "#/parameters/range",
+ },
+ {
+ $ref: "#/parameters/rangeUnit",
+ },
+ {
+ $ref: "#/parameters/offset",
+ },
+ {
+ $ref: "#/parameters/limit",
+ },
+ {
+ $ref: "#/parameters/preferCount",
+ },
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/postingGroupInventory",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
+ },
},
- autodeskUrn: {
- format: "text",
- type: "string",
+ tags: ["postingGroupInventory"],
+ },
+ post: {
+ parameters: [
+ {
+ $ref: "#/parameters/body.postingGroupInventory",
+ },
+ {
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/preferPost",
+ },
+ ],
+ responses: {
+ "201": {
+ description: "Created",
+ },
},
- modelPath: {
- format: "text",
- type: "string",
+ tags: ["postingGroupInventory"],
+ },
+ delete: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.postingGroupInventory.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupInventory.itemPostingGroupId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupInventory.locationId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupInventory.costOfGoodsSoldAccount",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupInventory.inventoryAccount",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupInventory.inventoryInterimAccrualAccount",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupInventory.inventoryReceivedNotInvoicedAccount",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupInventory.inventoryInvoicedNotReceivedAccount",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupInventory.inventoryShippedNotInvoicedAccount",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupInventory.workInProgressAccount",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupInventory.directCostAppliedAccount",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupInventory.overheadAccount",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupInventory.overheadCostAppliedAccount",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupInventory.purchaseVarianceAccount",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupInventory.inventoryAdjustmentVarianceAccount",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupInventory.materialVarianceAccount",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupInventory.capacityVarianceAccount",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupInventory.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupInventory.updatedBy",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
+ },
},
- modelName: {
- format: "text",
- type: "string",
+ tags: ["postingGroupInventory"],
+ },
+ patch: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.postingGroupInventory.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupInventory.itemPostingGroupId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupInventory.locationId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupInventory.costOfGoodsSoldAccount",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupInventory.inventoryAccount",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupInventory.inventoryInterimAccrualAccount",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupInventory.inventoryReceivedNotInvoicedAccount",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupInventory.inventoryInvoicedNotReceivedAccount",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupInventory.inventoryShippedNotInvoicedAccount",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupInventory.workInProgressAccount",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupInventory.directCostAppliedAccount",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupInventory.overheadAccount",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupInventory.overheadCostAppliedAccount",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupInventory.purchaseVarianceAccount",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupInventory.inventoryAdjustmentVarianceAccount",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupInventory.materialVarianceAccount",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupInventory.capacityVarianceAccount",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupInventory.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.postingGroupInventory.updatedBy",
+ },
+ {
+ $ref: "#/parameters/body.postingGroupInventory",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
+ },
},
- modelSize: {
- format: "bigint",
- type: "integer",
+ tags: ["postingGroupInventory"],
+ },
+ },
+ "/userToCompany": {
+ get: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.userToCompany.userId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userToCompany.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userToCompany.role",
+ },
+ {
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/order",
+ },
+ {
+ $ref: "#/parameters/range",
+ },
+ {
+ $ref: "#/parameters/rangeUnit",
+ },
+ {
+ $ref: "#/parameters/offset",
+ },
+ {
+ $ref: "#/parameters/limit",
+ },
+ {
+ $ref: "#/parameters/preferCount",
+ },
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/userToCompany",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
+ },
},
- unitCost: {
- format: "numeric",
- type: "number",
+ tags: ["userToCompany"],
+ },
+ post: {
+ parameters: [
+ {
+ $ref: "#/parameters/body.userToCompany",
+ },
+ {
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/preferPost",
+ },
+ ],
+ responses: {
+ "201": {
+ description: "Created",
+ },
},
- customerPartId: {
- format: "text",
- type: "string",
+ tags: ["userToCompany"],
+ },
+ delete: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.userToCompany.userId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userToCompany.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userToCompany.role",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
+ },
},
- customerPartRevision: {
- format: "text",
- type: "string",
+ tags: ["userToCompany"],
+ },
+ patch: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.userToCompany.userId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userToCompany.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userToCompany.role",
+ },
+ {
+ $ref: "#/parameters/body.userToCompany",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
+ },
},
+ tags: ["userToCompany"],
},
- type: "object",
},
- jobOperation: {
- required: [
- "id",
- "jobId",
- "order",
- "processId",
- "setupTime",
- "setupUnit",
- "laborTime",
- "laborUnit",
- "machineTime",
- "machineUnit",
- "operationOrder",
- "laborRate",
- "overheadRate",
- "operationType",
- "operationMinimumCost",
- "operationLeadTime",
- "operationUnitCost",
- "workInstruction",
- "companyId",
- "createdAt",
- "createdBy",
- "status",
- "priority",
- ],
- properties: {
- id: {
- default: "public.xid()",
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
- type: "string",
- },
- jobId: {
- description:
- "Note:\nThis is a Foreign Key to `job.id`.<fk table='job' column='id'/>",
- format: "text",
- type: "string",
- },
- jobMakeMethodId: {
- description:
- "Note:\nThis is a Foreign Key to `jobMakeMethod.id`.<fk table='jobMakeMethod' column='id'/>",
- format: "text",
- type: "string",
- },
- order: {
- default: 1,
- format: "double precision",
- type: "number",
+ "/userAttribute": {
+ get: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.userAttribute.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttribute.name",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttribute.sortOrder",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttribute.userAttributeCategoryId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttribute.attributeDataTypeId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttribute.listOptions",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttribute.canSelfManage",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttribute.active",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttribute.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttribute.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttribute.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttribute.updatedBy",
+ },
+ {
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/order",
+ },
+ {
+ $ref: "#/parameters/range",
+ },
+ {
+ $ref: "#/parameters/rangeUnit",
+ },
+ {
+ $ref: "#/parameters/offset",
+ },
+ {
+ $ref: "#/parameters/limit",
+ },
+ {
+ $ref: "#/parameters/preferCount",
+ },
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/userAttribute",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
+ },
},
- processId: {
- description:
- "Note:\nThis is a Foreign Key to `process.id`.<fk table='process' column='id'/>",
- format: "text",
- type: "string",
+ tags: ["userAttribute"],
+ },
+ post: {
+ parameters: [
+ {
+ $ref: "#/parameters/body.userAttribute",
+ },
+ {
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/preferPost",
+ },
+ ],
+ responses: {
+ "201": {
+ description: "Created",
+ },
},
- workCenterId: {
- description:
- "Note:\nThis is a Foreign Key to `workCenter.id`.<fk table='workCenter' column='id'/>",
- format: "text",
- type: "string",
+ tags: ["userAttribute"],
+ },
+ delete: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.userAttribute.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttribute.name",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttribute.sortOrder",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttribute.userAttributeCategoryId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttribute.attributeDataTypeId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttribute.listOptions",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttribute.canSelfManage",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttribute.active",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttribute.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttribute.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttribute.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttribute.updatedBy",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
+ },
},
- description: {
- format: "text",
- type: "string",
+ tags: ["userAttribute"],
+ },
+ patch: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.userAttribute.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttribute.name",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttribute.sortOrder",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttribute.userAttributeCategoryId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttribute.attributeDataTypeId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttribute.listOptions",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttribute.canSelfManage",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttribute.active",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttribute.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttribute.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttribute.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.userAttribute.updatedBy",
+ },
+ {
+ $ref: "#/parameters/body.userAttribute",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
+ },
},
- setupTime: {
- default: 0,
- format: "numeric",
- type: "number",
+ tags: ["userAttribute"],
+ },
+ },
+ "/supplierProcess": {
+ get: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.supplierProcess.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierProcess.supplierId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierProcess.processId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierProcess.minimumCost",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierProcess.unitCost",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierProcess.leadTime",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierProcess.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierProcess.customFields",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierProcess.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierProcess.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierProcess.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierProcess.updatedAt",
+ },
+ {
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/order",
+ },
+ {
+ $ref: "#/parameters/range",
+ },
+ {
+ $ref: "#/parameters/rangeUnit",
+ },
+ {
+ $ref: "#/parameters/offset",
+ },
+ {
+ $ref: "#/parameters/limit",
+ },
+ {
+ $ref: "#/parameters/preferCount",
+ },
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/supplierProcess",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
+ },
},
- setupUnit: {
- default: "Total Hours",
- enum: [
- "Hours/Piece",
- "Hours/100 Pieces",
- "Hours/1000 Pieces",
- "Minutes/Piece",
- "Minutes/100 Pieces",
- "Minutes/1000 Pieces",
- "Pieces/Hour",
- "Pieces/Minute",
- "Seconds/Piece",
- "Total Hours",
- "Total Minutes",
- ],
- format: "public.factor",
- type: "string",
+ tags: ["supplierProcess"],
+ },
+ post: {
+ parameters: [
+ {
+ $ref: "#/parameters/body.supplierProcess",
+ },
+ {
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/preferPost",
+ },
+ ],
+ responses: {
+ "201": {
+ description: "Created",
+ },
},
- laborTime: {
- default: 0,
- format: "numeric",
- type: "number",
+ tags: ["supplierProcess"],
+ },
+ delete: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.supplierProcess.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierProcess.supplierId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierProcess.processId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierProcess.minimumCost",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierProcess.unitCost",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierProcess.leadTime",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierProcess.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierProcess.customFields",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierProcess.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierProcess.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierProcess.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierProcess.updatedAt",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
+ },
},
- laborUnit: {
- default: "Hours/Piece",
- enum: [
- "Hours/Piece",
- "Hours/100 Pieces",
- "Hours/1000 Pieces",
- "Minutes/Piece",
- "Minutes/100 Pieces",
- "Minutes/1000 Pieces",
- "Pieces/Hour",
- "Pieces/Minute",
- "Seconds/Piece",
- "Total Hours",
- "Total Minutes",
- ],
- format: "public.factor",
- type: "string",
+ tags: ["supplierProcess"],
+ },
+ patch: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.supplierProcess.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierProcess.supplierId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierProcess.processId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierProcess.minimumCost",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierProcess.unitCost",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierProcess.leadTime",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierProcess.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierProcess.customFields",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierProcess.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierProcess.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierProcess.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierProcess.updatedAt",
+ },
+ {
+ $ref: "#/parameters/body.supplierProcess",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
+ },
},
- machineTime: {
- default: 0,
- format: "numeric",
- type: "number",
+ tags: ["supplierProcess"],
+ },
+ },
+ "/employee": {
+ get: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.employee.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.employee.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.employee.employeeTypeId",
+ },
+ {
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/order",
+ },
+ {
+ $ref: "#/parameters/range",
+ },
+ {
+ $ref: "#/parameters/rangeUnit",
+ },
+ {
+ $ref: "#/parameters/offset",
+ },
+ {
+ $ref: "#/parameters/limit",
+ },
+ {
+ $ref: "#/parameters/preferCount",
+ },
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/employee",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
+ },
},
- machineUnit: {
- default: "Hours/Piece",
- enum: [
- "Hours/Piece",
- "Hours/100 Pieces",
- "Hours/1000 Pieces",
- "Minutes/Piece",
- "Minutes/100 Pieces",
- "Minutes/1000 Pieces",
- "Pieces/Hour",
- "Pieces/Minute",
- "Seconds/Piece",
- "Total Hours",
- "Total Minutes",
- ],
- format: "public.factor",
- type: "string",
- },
- operationOrder: {
- default: "After Previous",
- enum: ["After Previous", "With Previous"],
- format: 'public."methodOperationOrder"',
- type: "string",
- },
- laborRate: {
- default: 0,
- format: "numeric",
- type: "number",
- },
- overheadRate: {
- default: 0,
- format: "numeric",
- type: "number",
- },
- machineRate: {
- default: 0,
- format: "numeric",
- type: "number",
- },
- operationType: {
- default: "Inside",
- enum: ["Inside", "Outside"],
- format: 'public."operationType"',
- type: "string",
- },
- operationMinimumCost: {
- default: 0,
- format: "numeric",
- type: "number",
- },
- operationLeadTime: {
- default: 0,
- format: "numeric",
- type: "number",
- },
- operationUnitCost: {
- default: 0,
- format: "numeric",
- type: "number",
- },
- operationSupplierProcessId: {
- format: "text",
- type: "string",
- },
- workInstruction: {
- format: "json",
- },
- companyId: {
- description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
- format: "text",
- type: "string",
- },
- createdAt: {
- default: "now()",
- format: "timestamp with time zone",
- type: "string",
- },
- createdBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- updatedAt: {
- format: "timestamp with time zone",
- type: "string",
- },
- updatedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- customFields: {
- format: "jsonb",
- },
- operationQuantity: {
- default: 0,
- format: "numeric",
- type: "number",
- },
- quantityComplete: {
- default: 0,
- format: "numeric",
- type: "number",
- },
- quantityScrapped: {
- default: 0,
- format: "numeric",
- type: "number",
- },
- quantityReworked: {
- default: 0,
- format: "numeric",
- type: "number",
+ tags: ["employee"],
+ },
+ post: {
+ parameters: [
+ {
+ $ref: "#/parameters/body.employee",
+ },
+ {
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/preferPost",
+ },
+ ],
+ responses: {
+ "201": {
+ description: "Created",
+ },
},
- status: {
- default: "Todo",
- enum: [
- "Canceled",
- "Done",
- "In Progress",
- "Paused",
- "Ready",
- "Todo",
- "Waiting",
- ],
- format: 'public."jobOperationStatus"',
- type: "string",
+ tags: ["employee"],
+ },
+ delete: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.employee.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.employee.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.employee.employeeTypeId",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
+ },
},
- priority: {
- default: 1,
- format: "double precision",
- type: "number",
+ tags: ["employee"],
+ },
+ patch: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.employee.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.employee.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.employee.employeeTypeId",
+ },
+ {
+ $ref: "#/parameters/body.employee",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
+ },
},
+ tags: ["employee"],
},
- type: "object",
},
- journalLine: {
- required: [
- "id",
- "journalId",
- "accountNumber",
- "amount",
- "quantity",
- "journalLineReference",
- "accrual",
- "companyId",
- "createdAt",
- ],
- properties: {
- id: {
- default: "public.xid()",
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
- type: "string",
- },
- journalId: {
- format: "integer",
- type: "integer",
- },
- accountNumber: {
- format: "text",
- type: "string",
- },
- description: {
- format: "text",
- type: "string",
- },
- amount: {
- format: "numeric",
- type: "number",
- },
- quantity: {
- default: 1,
- format: "numeric",
- type: "number",
- },
- documentType: {
- enum: [
- "Receipt",
- "Invoice",
- "Credit Memo",
- "Blanket Order",
- "Return Order",
- ],
- format: 'public."journalLineDocumentType"',
- type: "string",
- },
- documentId: {
- format: "text",
- type: "string",
- },
- externalDocumentId: {
- format: "text",
- type: "string",
- },
- journalLineReference: {
- format: "text",
- type: "string",
- },
- documentLineReference: {
- format: "text",
- type: "string",
- },
- accrual: {
- default: false,
- format: "boolean",
- type: "boolean",
+ "/buyMethod": {
+ get: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.buyMethod.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.buyMethod.itemId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.buyMethod.supplierId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.buyMethod.supplierPartId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.buyMethod.supplierUnitOfMeasureCode",
+ },
+ {
+ $ref: "#/parameters/rowFilter.buyMethod.minimumOrderQuantity",
+ },
+ {
+ $ref: "#/parameters/rowFilter.buyMethod.conversionFactor",
+ },
+ {
+ $ref: "#/parameters/rowFilter.buyMethod.active",
+ },
+ {
+ $ref: "#/parameters/rowFilter.buyMethod.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.buyMethod.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.buyMethod.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.buyMethod.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.buyMethod.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.buyMethod.customFields",
+ },
+ {
+ $ref: "#/parameters/rowFilter.buyMethod.unitPrice",
+ },
+ {
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/order",
+ },
+ {
+ $ref: "#/parameters/range",
+ },
+ {
+ $ref: "#/parameters/rangeUnit",
+ },
+ {
+ $ref: "#/parameters/offset",
+ },
+ {
+ $ref: "#/parameters/limit",
+ },
+ {
+ $ref: "#/parameters/preferCount",
+ },
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/buyMethod",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
+ },
},
- companyId: {
- description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
- format: "text",
- type: "string",
+ tags: ["buyMethod"],
+ },
+ post: {
+ parameters: [
+ {
+ $ref: "#/parameters/body.buyMethod",
+ },
+ {
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/preferPost",
+ },
+ ],
+ responses: {
+ "201": {
+ description: "Created",
+ },
},
- createdAt: {
- default: "now()",
- format: "timestamp with time zone",
- type: "string",
+ tags: ["buyMethod"],
+ },
+ delete: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.buyMethod.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.buyMethod.itemId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.buyMethod.supplierId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.buyMethod.supplierPartId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.buyMethod.supplierUnitOfMeasureCode",
+ },
+ {
+ $ref: "#/parameters/rowFilter.buyMethod.minimumOrderQuantity",
+ },
+ {
+ $ref: "#/parameters/rowFilter.buyMethod.conversionFactor",
+ },
+ {
+ $ref: "#/parameters/rowFilter.buyMethod.active",
+ },
+ {
+ $ref: "#/parameters/rowFilter.buyMethod.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.buyMethod.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.buyMethod.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.buyMethod.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.buyMethod.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.buyMethod.customFields",
+ },
+ {
+ $ref: "#/parameters/rowFilter.buyMethod.unitPrice",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
+ },
},
- customFields: {
- format: "jsonb",
+ tags: ["buyMethod"],
+ },
+ patch: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.buyMethod.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.buyMethod.itemId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.buyMethod.supplierId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.buyMethod.supplierPartId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.buyMethod.supplierUnitOfMeasureCode",
+ },
+ {
+ $ref: "#/parameters/rowFilter.buyMethod.minimumOrderQuantity",
+ },
+ {
+ $ref: "#/parameters/rowFilter.buyMethod.conversionFactor",
+ },
+ {
+ $ref: "#/parameters/rowFilter.buyMethod.active",
+ },
+ {
+ $ref: "#/parameters/rowFilter.buyMethod.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.buyMethod.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.buyMethod.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.buyMethod.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.buyMethod.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.buyMethod.customFields",
+ },
+ {
+ $ref: "#/parameters/rowFilter.buyMethod.unitPrice",
+ },
+ {
+ $ref: "#/parameters/body.buyMethod",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
+ },
},
+ tags: ["buyMethod"],
},
- type: "object",
},
- purchaseOrderLines: {
- properties: {
- id: {
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
- type: "string",
- },
- purchaseOrderId: {
- description:
- "Note:\nThis is a Foreign Key to `purchaseOrder.id`.<fk table='purchaseOrder' column='id'/>",
- format: "text",
- type: "string",
- },
- purchaseOrderLineType: {
- enum: [
- "Comment",
- "G/L Account",
- "Fixed Asset",
- "Part",
- "Material",
- "Tool",
- "Service",
- "Consumable",
- "Fixture",
- ],
- format: 'public."purchaseOrderLineType"',
- type: "string",
- },
- itemId: {
- description:
- "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
- format: "text",
- type: "string",
- },
- itemReadableId: {
- format: "text",
- type: "string",
- },
- accountNumber: {
- format: "text",
- type: "string",
- },
- assetId: {
- format: "text",
- type: "string",
- },
- description: {
- format: "text",
- type: "string",
- },
- purchaseQuantity: {
- format: "numeric",
- type: "number",
- },
- quantityToReceive: {
- format: "numeric",
- type: "number",
- },
- quantityReceived: {
- format: "numeric",
- type: "number",
- },
- quantityToInvoice: {
- format: "numeric",
- type: "number",
- },
- quantityInvoiced: {
- format: "numeric",
- type: "number",
- },
- unitPrice: {
- format: "numeric",
- type: "number",
- },
- inventoryUnitOfMeasureCode: {
- format: "text",
- type: "string",
- },
- purchaseUnitOfMeasureCode: {
- format: "text",
- type: "string",
- },
- locationId: {
- format: "text",
- type: "string",
- },
- shelfId: {
- description:
- "Note:\nThis is a Foreign Key to `shelf.id`.<fk table='shelf' column='id'/>",
- format: "text",
- type: "string",
- },
- setupPrice: {
- format: "numeric",
- type: "number",
- },
- receivedComplete: {
- format: "boolean",
- type: "boolean",
- },
- invoicedComplete: {
- format: "boolean",
- type: "boolean",
- },
- requiresInspection: {
- format: "boolean",
- type: "boolean",
- },
- companyId: {
- format: "text",
- type: "string",
- },
- createdAt: {
- format: "timestamp with time zone",
- type: "string",
- },
- createdBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- updatedAt: {
- format: "timestamp with time zone",
- type: "string",
- },
- updatedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- customFields: {
- format: "jsonb",
- },
- conversionFactor: {
- format: "numeric",
- type: "number",
- },
- supplierId: {
- description:
- "Note:\nThis is a Foreign Key to `supplier.id`.<fk table='supplier' column='id'/>",
- format: "text",
- type: "string",
+ "/itemPostingGroup": {
+ get: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.itemPostingGroup.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPostingGroup.name",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPostingGroup.description",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPostingGroup.active",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPostingGroup.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPostingGroup.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPostingGroup.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPostingGroup.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPostingGroup.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPostingGroup.customFields",
+ },
+ {
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/order",
+ },
+ {
+ $ref: "#/parameters/range",
+ },
+ {
+ $ref: "#/parameters/rangeUnit",
+ },
+ {
+ $ref: "#/parameters/offset",
+ },
+ {
+ $ref: "#/parameters/limit",
+ },
+ {
+ $ref: "#/parameters/preferCount",
+ },
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/itemPostingGroup",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
+ },
},
- itemName: {
- format: "text",
- type: "string",
+ tags: ["itemPostingGroup"],
+ },
+ post: {
+ parameters: [
+ {
+ $ref: "#/parameters/body.itemPostingGroup",
+ },
+ {
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/preferPost",
+ },
+ ],
+ responses: {
+ "201": {
+ description: "Created",
+ },
},
- itemDescription: {
- format: "text",
- type: "string",
+ tags: ["itemPostingGroup"],
+ },
+ delete: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.itemPostingGroup.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPostingGroup.name",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPostingGroup.description",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPostingGroup.active",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPostingGroup.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPostingGroup.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPostingGroup.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPostingGroup.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPostingGroup.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPostingGroup.customFields",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
+ },
},
- supplierPartId: {
- format: "text",
- type: "string",
+ tags: ["itemPostingGroup"],
+ },
+ patch: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.itemPostingGroup.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPostingGroup.name",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPostingGroup.description",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPostingGroup.active",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPostingGroup.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPostingGroup.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPostingGroup.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPostingGroup.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPostingGroup.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.itemPostingGroup.customFields",
+ },
+ {
+ $ref: "#/parameters/body.itemPostingGroup",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
+ },
},
+ tags: ["itemPostingGroup"],
},
- type: "object",
},
- materialForm: {
- required: ["id", "name", "createdBy", "createdAt"],
- properties: {
- id: {
- default: "public.xid()",
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
- type: "string",
- },
- name: {
- format: "text",
- type: "string",
- },
- companyId: {
- description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
- format: "text",
- type: "string",
- },
- customFields: {
- format: "jsonb",
- },
- createdBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
+ "/department": {
+ get: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.department.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.department.name",
+ },
+ {
+ $ref: "#/parameters/rowFilter.department.parentDepartmentId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.department.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.department.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.department.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.department.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.department.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.department.customFields",
+ },
+ {
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/order",
+ },
+ {
+ $ref: "#/parameters/range",
+ },
+ {
+ $ref: "#/parameters/rangeUnit",
+ },
+ {
+ $ref: "#/parameters/offset",
+ },
+ {
+ $ref: "#/parameters/limit",
+ },
+ {
+ $ref: "#/parameters/preferCount",
+ },
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/department",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
+ },
},
- createdAt: {
- default: "now()",
- format: "timestamp with time zone",
- type: "string",
+ tags: ["department"],
+ },
+ post: {
+ parameters: [
+ {
+ $ref: "#/parameters/body.department",
+ },
+ {
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/preferPost",
+ },
+ ],
+ responses: {
+ "201": {
+ description: "Created",
+ },
},
- updatedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
+ tags: ["department"],
+ },
+ delete: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.department.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.department.name",
+ },
+ {
+ $ref: "#/parameters/rowFilter.department.parentDepartmentId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.department.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.department.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.department.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.department.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.department.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.department.customFields",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
+ },
},
- updatedAt: {
- format: "timestamp with time zone",
- type: "string",
+ tags: ["department"],
+ },
+ patch: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.department.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.department.name",
+ },
+ {
+ $ref: "#/parameters/rowFilter.department.parentDepartmentId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.department.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.department.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.department.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.department.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.department.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.department.customFields",
+ },
+ {
+ $ref: "#/parameters/body.department",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
+ },
},
+ tags: ["department"],
},
- type: "object",
},
- item: {
- required: [
- "id",
- "readableId",
- "name",
- "type",
- "replenishmentSystem",
- "itemTrackingType",
- "active",
- "createdBy",
- "createdAt",
- ],
- properties: {
- id: {
- default: "public.xid()",
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
- type: "string",
- },
- readableId: {
- format: "text",
- type: "string",
- },
- name: {
- format: "text",
- type: "string",
- },
- description: {
- format: "text",
- type: "string",
- },
- type: {
- enum: [
- "Part",
- "Material",
- "Tool",
- "Service",
- "Consumable",
- "Fixture",
- ],
- format: 'public."itemType"',
- type: "string",
- },
- replenishmentSystem: {
- default: "Buy",
- enum: ["Buy", "Make", "Buy and Make"],
- format: 'public."itemReplenishmentSystem"',
- type: "string",
- },
- defaultMethodType: {
- default: "Buy",
- enum: ["Buy", "Make", "Pick"],
- format: 'public."methodType"',
- type: "string",
- },
- itemTrackingType: {
- enum: ["Inventory", "Non-Inventory"],
- format: 'public."itemTrackingType"',
- type: "string",
- },
- unitOfMeasureCode: {
- format: "text",
- type: "string",
- },
- active: {
- default: true,
- format: "boolean",
- type: "boolean",
- },
- companyId: {
- description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
- format: "text",
- type: "string",
- },
- createdBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- createdAt: {
- default: "now()",
- format: "timestamp with time zone",
- type: "string",
- },
- updatedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- updatedAt: {
- format: "timestamp with time zone",
- type: "string",
- },
- assignee: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- modelUploadId: {
- format: "text",
- type: "string",
- },
- externalId: {
- format: "jsonb",
- },
- thumbnailPath: {
- format: "text",
- type: "string",
+ "/purchaseInvoiceLine": {
+ get: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.invoiceId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.invoiceLineType",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.purchaseOrderId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.purchaseOrderLineId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.itemId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.itemReadableId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.serviceId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.locationId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.shelfId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.accountNumber",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.assetId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.description",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.quantity",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.unitPrice",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.totalAmount",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.currencyCode",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.exchangeRate",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.inventoryUnitOfMeasureCode",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.purchaseUnitOfMeasureCode",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.customFields",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.conversionFactor",
+ },
+ {
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/order",
+ },
+ {
+ $ref: "#/parameters/range",
+ },
+ {
+ $ref: "#/parameters/rangeUnit",
+ },
+ {
+ $ref: "#/parameters/offset",
+ },
+ {
+ $ref: "#/parameters/limit",
+ },
+ {
+ $ref: "#/parameters/preferCount",
+ },
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/purchaseInvoiceLine",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
+ },
},
+ tags: ["purchaseInvoiceLine"],
},
- type: "object",
- },
- receipt: {
- required: [
- "id",
- "receiptId",
- "status",
- "companyId",
- "createdAt",
- "createdBy",
- ],
- properties: {
- id: {
- default: "public.xid()",
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
- type: "string",
- },
- receiptId: {
- format: "text",
- type: "string",
- },
- locationId: {
- description:
- "Note:\nThis is a Foreign Key to `location.id`.<fk table='location' column='id'/>",
- format: "text",
- type: "string",
- },
- sourceDocument: {
- enum: [
- "Sales Order",
- "Sales Invoice",
- "Sales Return Order",
- "Purchase Order",
- "Purchase Invoice",
- "Purchase Return Order",
- "Inbound Transfer",
- "Outbound Transfer",
- "Manufacturing Consumption",
- "Manufacturing Output",
- ],
- format: 'public."receiptSourceDocument"',
- type: "string",
- },
- sourceDocumentId: {
- format: "text",
- type: "string",
- },
- sourceDocumentReadableId: {
- format: "text",
- type: "string",
- },
- externalDocumentId: {
- format: "text",
- type: "string",
- },
- supplierId: {
- description:
- "Note:\nThis is a Foreign Key to `supplier.id`.<fk table='supplier' column='id'/>",
- format: "text",
- type: "string",
- },
- status: {
- default: "Draft",
- enum: ["Draft", "Pending", "Posted"],
- format: 'public."receiptStatus"',
- type: "string",
- },
- postingDate: {
- format: "date",
- type: "string",
- },
- invoiced: {
- default: false,
- format: "boolean",
- type: "boolean",
- },
- assignee: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- companyId: {
- description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
- format: "text",
- type: "string",
- },
- createdAt: {
- default: "now()",
- format: "timestamp with time zone",
- type: "string",
- },
- createdBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- updatedAt: {
- format: "timestamp with time zone",
- type: "string",
- },
- updatedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- customFields: {
- format: "jsonb",
+ post: {
+ parameters: [
+ {
+ $ref: "#/parameters/body.purchaseInvoiceLine",
+ },
+ {
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/preferPost",
+ },
+ ],
+ responses: {
+ "201": {
+ description: "Created",
+ },
},
+ tags: ["purchaseInvoiceLine"],
},
- type: "object",
- },
- purchaseOrderTransaction: {
- required: ["id", "purchaseOrderId", "type", "userId", "createdAt"],
- properties: {
- id: {
- default: "public.xid()",
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
- type: "string",
- },
- purchaseOrderId: {
- description:
- "Note:\nThis is a Foreign Key to `purchaseOrder.id`.<fk table='purchaseOrder' column='id'/>",
- format: "text",
- type: "string",
- },
- type: {
- enum: [
- "Edit",
- "Favorite",
- "Unfavorite",
- "Approved",
- "Reject",
- "Request Approval",
- ],
- format: 'public."purchaseOrderTransactionType"',
- type: "string",
- },
- userId: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- createdAt: {
- default: "now()",
- format: "timestamp with time zone",
- type: "string",
+ delete: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.invoiceId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.invoiceLineType",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.purchaseOrderId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.purchaseOrderLineId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.itemId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.itemReadableId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.serviceId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.locationId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.shelfId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.accountNumber",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.assetId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.description",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.quantity",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.unitPrice",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.totalAmount",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.currencyCode",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.exchangeRate",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.inventoryUnitOfMeasureCode",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.purchaseUnitOfMeasureCode",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.customFields",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.conversionFactor",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
+ },
},
+ tags: ["purchaseInvoiceLine"],
},
- type: "object",
- },
- supplierLocation: {
- required: ["id", "supplierId", "addressId", "name"],
- properties: {
- id: {
- default: "public.xid()",
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
- type: "string",
- },
- supplierId: {
- description:
- "Note:\nThis is a Foreign Key to `supplier.id`.<fk table='supplier' column='id'/>",
- format: "text",
- type: "string",
- },
- addressId: {
- description:
- "Note:\nThis is a Foreign Key to `address.id`.<fk table='address' column='id'/>",
- format: "text",
- type: "string",
- },
- customFields: {
- format: "jsonb",
- },
- name: {
- format: "text",
- type: "string",
+ patch: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.invoiceId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.invoiceLineType",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.purchaseOrderId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.purchaseOrderLineId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.itemId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.itemReadableId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.serviceId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.locationId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.shelfId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.accountNumber",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.assetId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.description",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.quantity",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.unitPrice",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.totalAmount",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.currencyCode",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.exchangeRate",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.inventoryUnitOfMeasureCode",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.purchaseUnitOfMeasureCode",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.customFields",
+ },
+ {
+ $ref: "#/parameters/rowFilter.purchaseInvoiceLine.conversionFactor",
+ },
+ {
+ $ref: "#/parameters/body.purchaseInvoiceLine",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
+ },
},
+ tags: ["purchaseInvoiceLine"],
},
- type: "object",
},
- contractor: {
- required: [
- "id",
- "hoursPerWeek",
- "active",
- "companyId",
- "createdBy",
- "createdAt",
- ],
- properties: {
- id: {
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
- type: "string",
+ "/salesRfqs": {
+ get: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.salesRfqs.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesRfqs.rfqId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesRfqs.revisionId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesRfqs.status",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesRfqs.employeeId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesRfqs.customerId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesRfqs.customerContactId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesRfqs.customerReference",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesRfqs.rfqDate",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesRfqs.expirationDate",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesRfqs.locationId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesRfqs.assignee",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesRfqs.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesRfqs.customFields",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesRfqs.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesRfqs.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesRfqs.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesRfqs.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesRfqs.customerLocationId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesRfqs.externalNotes",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesRfqs.internalNotes",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesRfqs.locationName",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesRfqs.quoteId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesRfqs.salesOrderId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesRfqs.favorite",
+ },
+ {
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/order",
+ },
+ {
+ $ref: "#/parameters/range",
+ },
+ {
+ $ref: "#/parameters/rangeUnit",
+ },
+ {
+ $ref: "#/parameters/offset",
+ },
+ {
+ $ref: "#/parameters/limit",
+ },
+ {
+ $ref: "#/parameters/preferCount",
+ },
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/salesRfqs",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
+ },
},
- hoursPerWeek: {
- default: 0,
- format: "integer",
- type: "integer",
+ tags: ["salesRfqs"],
+ },
+ },
+ "/rpc/has_company_permission": {
+ get: {
+ parameters: [
+ {
+ format: "text",
+ in: "query",
+ name: "claim",
+ required: true,
+ type: "string",
+ },
+ {
+ format: "text",
+ in: "query",
+ name: "company",
+ required: true,
+ type: "string",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
- active: {
- default: true,
- format: "boolean",
- type: "boolean",
+ tags: ["(rpc) has_company_permission"],
+ },
+ post: {
+ parameters: [
+ {
+ in: "body",
+ name: "args",
+ required: true,
+ schema: {
+ properties: {
+ claim: {
+ format: "text",
+ type: "string",
+ },
+ company: {
+ format: "text",
+ type: "string",
+ },
+ },
+ required: ["claim", "company"],
+ type: "object",
+ },
+ },
+ {
+ $ref: "#/parameters/preferParams",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
- companyId: {
- description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
- format: "text",
- type: "string",
+ tags: ["(rpc) has_company_permission"],
+ },
+ },
+ "/rpc/xid": {
+ get: {
+ parameters: [
+ {
+ format: "timestamp with time zone",
+ in: "query",
+ name: "_at",
+ required: false,
+ type: "string",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
- createdBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
+ tags: ["(rpc) xid"],
+ },
+ post: {
+ parameters: [
+ {
+ in: "body",
+ name: "args",
+ required: true,
+ schema: {
+ properties: {
+ _at: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ },
+ {
+ $ref: "#/parameters/preferParams",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
- createdAt: {
- default: "now()",
- format: "timestamp with time zone",
- type: "string",
+ tags: ["(rpc) xid"],
+ },
+ },
+ "/rpc/journalLinesByAccountNumber": {
+ get: {
+ parameters: [
+ {
+ format: "date",
+ in: "query",
+ name: "from_date",
+ required: false,
+ type: "string",
+ },
+ {
+ format: "date",
+ in: "query",
+ name: "to_date",
+ required: false,
+ type: "string",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
- updatedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
+ tags: ["(rpc) journalLinesByAccountNumber"],
+ },
+ post: {
+ parameters: [
+ {
+ in: "body",
+ name: "args",
+ required: true,
+ schema: {
+ properties: {
+ from_date: {
+ format: "date",
+ type: "string",
+ },
+ to_date: {
+ format: "date",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ },
+ {
+ $ref: "#/parameters/preferParams",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
- updatedAt: {
- format: "timestamp with time zone",
- type: "string",
+ tags: ["(rpc) journalLinesByAccountNumber"],
+ },
+ },
+ "/rpc/get_my_permission": {
+ get: {
+ parameters: [
+ {
+ format: "text",
+ in: "query",
+ name: "claim",
+ required: true,
+ type: "string",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
- customFields: {
- format: "jsonb",
+ tags: ["(rpc) get_my_permission"],
+ },
+ post: {
+ parameters: [
+ {
+ in: "body",
+ name: "args",
+ required: true,
+ schema: {
+ properties: {
+ claim: {
+ format: "text",
+ type: "string",
+ },
+ },
+ required: ["claim"],
+ type: "object",
+ },
+ },
+ {
+ $ref: "#/parameters/preferParams",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
+ tags: ["(rpc) get_my_permission"],
},
- type: "object",
},
- jobOperationsWithMakeMethods: {
- properties: {
- makeMethodId: {
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
- type: "string",
- },
- id: {
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
- type: "string",
- },
- jobId: {
- description:
- "Note:\nThis is a Foreign Key to `job.id`.<fk table='job' column='id'/>",
- format: "text",
- type: "string",
+ "/rpc/get_active_job_operations_by_location": {
+ get: {
+ parameters: [
+ {
+ format: "text",
+ in: "query",
+ name: "location_id",
+ required: true,
+ type: "string",
+ },
+ {
+ format: "text[]",
+ in: "query",
+ name: "work_center_ids",
+ required: true,
+ type: "string",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
- jobMakeMethodId: {
- description:
- "Note:\nThis is a Foreign Key to `jobMakeMethod.id`.<fk table='jobMakeMethod' column='id'/>",
- format: "text",
- type: "string",
+ tags: ["(rpc) get_active_job_operations_by_location"],
+ },
+ post: {
+ parameters: [
+ {
+ in: "body",
+ name: "args",
+ required: true,
+ schema: {
+ properties: {
+ location_id: {
+ format: "text",
+ type: "string",
+ },
+ work_center_ids: {
+ format: "text[]",
+ items: {
+ type: "string",
+ },
+ type: "array",
+ },
+ },
+ required: ["location_id", "work_center_ids"],
+ type: "object",
+ },
+ },
+ {
+ $ref: "#/parameters/preferParams",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
- order: {
- format: "double precision",
- type: "number",
+ tags: ["(rpc) get_active_job_operations_by_location"],
+ },
+ },
+ "/rpc/jsonb_to_text_array": {
+ get: {
+ parameters: [
+ {
+ format: "jsonb",
+ in: "query",
+ name: "",
+ required: true,
+ type: "string",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
- processId: {
- description:
- "Note:\nThis is a Foreign Key to `process.id`.<fk table='process' column='id'/>",
- format: "text",
- type: "string",
+ tags: ["(rpc) jsonb_to_text_array"],
+ },
+ post: {
+ parameters: [
+ {
+ in: "body",
+ name: "args",
+ required: true,
+ schema: {
+ properties: {
+ "": {
+ format: "jsonb",
+ },
+ },
+ required: [""],
+ type: "object",
+ },
+ },
+ {
+ $ref: "#/parameters/preferParams",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
- workCenterId: {
- description:
- "Note:\nThis is a Foreign Key to `workCenter.id`.<fk table='workCenter' column='id'/>",
- format: "text",
- type: "string",
+ tags: ["(rpc) jsonb_to_text_array"],
+ },
+ },
+ "/rpc/xid_machine": {
+ get: {
+ parameters: [
+ {
+ format: "public.xid",
+ in: "query",
+ name: "_xid",
+ required: true,
+ type: "string",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
- description: {
- format: "text",
- type: "string",
+ tags: ["(rpc) xid_machine"],
+ },
+ post: {
+ parameters: [
+ {
+ in: "body",
+ name: "args",
+ required: true,
+ schema: {
+ properties: {
+ _xid: {
+ format: "public.xid",
+ type: "string",
+ },
+ },
+ required: ["_xid"],
+ type: "object",
+ },
+ },
+ {
+ $ref: "#/parameters/preferParams",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
- setupTime: {
- format: "numeric",
- type: "number",
+ tags: ["(rpc) xid_machine"],
+ },
+ },
+ "/rpc/has_role": {
+ get: {
+ parameters: [
+ {
+ format: "text",
+ in: "query",
+ name: "required_role",
+ required: true,
+ type: "string",
+ },
+ {
+ format: "text",
+ in: "query",
+ name: "company",
+ required: true,
+ type: "string",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
- setupUnit: {
- enum: [
- "Hours/Piece",
- "Hours/100 Pieces",
- "Hours/1000 Pieces",
- "Minutes/Piece",
- "Minutes/100 Pieces",
- "Minutes/1000 Pieces",
- "Pieces/Hour",
- "Pieces/Minute",
- "Seconds/Piece",
- "Total Hours",
- "Total Minutes",
- ],
- format: "public.factor",
- type: "string",
+ tags: ["(rpc) has_role"],
+ },
+ post: {
+ parameters: [
+ {
+ in: "body",
+ name: "args",
+ required: true,
+ schema: {
+ properties: {
+ company: {
+ format: "text",
+ type: "string",
+ },
+ required_role: {
+ format: "text",
+ type: "string",
+ },
+ },
+ required: ["required_role", "company"],
+ type: "object",
+ },
+ },
+ {
+ $ref: "#/parameters/preferParams",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
- laborTime: {
- format: "numeric",
- type: "number",
+ tags: ["(rpc) has_role"],
+ },
+ },
+ "/rpc/has_any_company_permission": {
+ get: {
+ parameters: [
+ {
+ format: "text",
+ in: "query",
+ name: "claim",
+ required: true,
+ type: "string",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
- laborUnit: {
- enum: [
- "Hours/Piece",
- "Hours/100 Pieces",
- "Hours/1000 Pieces",
- "Minutes/Piece",
- "Minutes/100 Pieces",
- "Minutes/1000 Pieces",
- "Pieces/Hour",
- "Pieces/Minute",
- "Seconds/Piece",
- "Total Hours",
- "Total Minutes",
- ],
- format: "public.factor",
- type: "string",
+ tags: ["(rpc) has_any_company_permission"],
+ },
+ post: {
+ parameters: [
+ {
+ in: "body",
+ name: "args",
+ required: true,
+ schema: {
+ properties: {
+ claim: {
+ format: "text",
+ type: "string",
+ },
+ },
+ required: ["claim"],
+ type: "object",
+ },
+ },
+ {
+ $ref: "#/parameters/preferParams",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
- machineTime: {
- format: "numeric",
- type: "number",
+ tags: ["(rpc) has_any_company_permission"],
+ },
+ },
+ "/rpc/get_job_operation_by_id": {
+ get: {
+ parameters: [
+ {
+ format: "text",
+ in: "query",
+ name: "operation_id",
+ required: true,
+ type: "string",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
- machineUnit: {
- enum: [
- "Hours/Piece",
- "Hours/100 Pieces",
- "Hours/1000 Pieces",
- "Minutes/Piece",
- "Minutes/100 Pieces",
- "Minutes/1000 Pieces",
- "Pieces/Hour",
- "Pieces/Minute",
- "Seconds/Piece",
- "Total Hours",
- "Total Minutes",
- ],
- format: "public.factor",
- type: "string",
+ tags: ["(rpc) get_job_operation_by_id"],
+ },
+ post: {
+ parameters: [
+ {
+ in: "body",
+ name: "args",
+ required: true,
+ schema: {
+ properties: {
+ operation_id: {
+ format: "text",
+ type: "string",
+ },
+ },
+ required: ["operation_id"],
+ type: "object",
+ },
+ },
+ {
+ $ref: "#/parameters/preferParams",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
- operationOrder: {
- enum: ["After Previous", "With Previous"],
- format: 'public."methodOperationOrder"',
- type: "string",
+ tags: ["(rpc) get_job_operation_by_id"],
+ },
+ },
+ "/rpc/_xid_machine_id": {
+ get: {
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
- laborRate: {
- format: "numeric",
- type: "number",
+ tags: ["(rpc) _xid_machine_id"],
+ },
+ post: {
+ parameters: [
+ {
+ in: "body",
+ name: "args",
+ required: true,
+ schema: {
+ type: "object",
+ },
+ },
+ {
+ $ref: "#/parameters/preferParams",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
- overheadRate: {
- format: "numeric",
- type: "number",
- },
- machineRate: {
- format: "numeric",
- type: "number",
- },
- operationType: {
- enum: ["Inside", "Outside"],
- format: 'public."operationType"',
- type: "string",
- },
- operationMinimumCost: {
- format: "numeric",
- type: "number",
- },
- operationLeadTime: {
- format: "numeric",
- type: "number",
- },
- operationUnitCost: {
- format: "numeric",
- type: "number",
- },
- operationSupplierProcessId: {
- format: "text",
- type: "string",
- },
- workInstruction: {
- format: "json",
- },
- companyId: {
- description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
- format: "text",
- type: "string",
- },
- createdAt: {
- format: "timestamp with time zone",
- type: "string",
- },
- createdBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- updatedAt: {
- format: "timestamp with time zone",
- type: "string",
- },
- updatedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- customFields: {
- format: "jsonb",
- },
- operationQuantity: {
- format: "numeric",
- type: "number",
- },
- quantityComplete: {
- format: "numeric",
- type: "number",
- },
- quantityScrapped: {
- format: "numeric",
- type: "number",
- },
- quantityReworked: {
- format: "numeric",
- type: "number",
- },
- status: {
- enum: [
- "Canceled",
- "Done",
- "In Progress",
- "Paused",
- "Ready",
- "Todo",
- "Waiting",
- ],
- format: 'public."jobOperationStatus"',
- type: "string",
+ tags: ["(rpc) _xid_machine_id"],
+ },
+ },
+ "/rpc/get_job_methods_by_method_id": {
+ get: {
+ parameters: [
+ {
+ format: "text",
+ in: "query",
+ name: "mid",
+ required: true,
+ type: "string",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
+ tags: ["(rpc) get_job_methods_by_method_id"],
},
- type: "object",
- },
- customerLocation: {
- required: ["id", "customerId", "addressId", "name"],
- properties: {
- id: {
- default: "public.xid()",
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
- type: "string",
- },
- customerId: {
- description:
- "Note:\nThis is a Foreign Key to `customer.id`.<fk table='customer' column='id'/>",
- format: "text",
- type: "string",
- },
- addressId: {
- description:
- "Note:\nThis is a Foreign Key to `address.id`.<fk table='address' column='id'/>",
- format: "text",
- type: "string",
- },
- customFields: {
- format: "jsonb",
- },
- name: {
- format: "text",
- type: "string",
+ post: {
+ parameters: [
+ {
+ in: "body",
+ name: "args",
+ required: true,
+ schema: {
+ properties: {
+ mid: {
+ format: "text",
+ type: "string",
+ },
+ },
+ required: ["mid"],
+ type: "object",
+ },
+ },
+ {
+ $ref: "#/parameters/preferParams",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
+ tags: ["(rpc) get_job_methods_by_method_id"],
},
- type: "object",
},
- membership: {
- required: ["id", "groupId"],
- properties: {
- id: {
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "integer",
- type: "integer",
- },
- groupId: {
- description:
- "Note:\nThis is a Foreign Key to `group.id`.<fk table='group' column='id'/>",
- format: "text",
- type: "string",
- },
- memberGroupId: {
- description:
- "Note:\nThis is a Foreign Key to `group.id`.<fk table='group' column='id'/>",
- format: "text",
- type: "string",
- },
- memberUserId: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
+ "/rpc/xid_encode": {
+ get: {
+ parameters: [
+ {
+ format: "integer[]",
+ in: "query",
+ name: "_id",
+ required: true,
+ type: "string",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
+ tags: ["(rpc) xid_encode"],
},
- type: "object",
- },
- postingGroupSales: {
- required: [
- "id",
- "receivablesAccount",
- "salesAccount",
- "salesDiscountAccount",
- "salesCreditAccount",
- "salesPrepaymentAccount",
- "salesTaxPayableAccount",
- "companyId",
- ],
- properties: {
- id: {
- default: "public.xid()",
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
- type: "string",
- },
- customerTypeId: {
- description:
- "Note:\nThis is a Foreign Key to `customerType.id`.<fk table='customerType' column='id'/>",
- format: "text",
- type: "string",
- },
- itemPostingGroupId: {
- description:
- "Note:\nThis is a Foreign Key to `itemPostingGroup.id`.<fk table='itemPostingGroup' column='id'/>",
- format: "text",
- type: "string",
- },
- receivablesAccount: {
- format: "text",
- type: "string",
- },
- salesAccount: {
- format: "text",
- type: "string",
- },
- salesDiscountAccount: {
- format: "text",
- type: "string",
- },
- salesCreditAccount: {
- format: "text",
- type: "string",
- },
- salesPrepaymentAccount: {
- format: "text",
- type: "string",
- },
- salesTaxPayableAccount: {
- format: "text",
- type: "string",
- },
- companyId: {
- description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
- format: "text",
- type: "string",
- },
- updatedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
+ post: {
+ parameters: [
+ {
+ in: "body",
+ name: "args",
+ required: true,
+ schema: {
+ properties: {
+ _id: {
+ format: "integer[]",
+ items: {
+ type: "integer",
+ },
+ type: "array",
+ },
+ },
+ required: ["_id"],
+ type: "object",
+ },
+ },
+ {
+ $ref: "#/parameters/preferParams",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
+ tags: ["(rpc) xid_encode"],
},
- type: "object",
},
- search: {
- required: ["id", "name", "link"],
- properties: {
- id: {
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "bigint",
- type: "integer",
- },
- name: {
- format: "text",
- type: "string",
- },
- description: {
- default: "",
- format: "text",
- type: "string",
- },
- entity: {
- enum: [
- "Resource",
- "Person",
- "Customer",
- "Supplier",
- "Job",
- "Part",
- "Purchase Order",
- "Lead",
- "Opportunity",
- "Quotation",
- "Sales Order",
- "Request for Quotation",
- "Sales Invoice",
- "Purchase Invoice",
- "Document",
- "Sales RFQ",
- "Service",
- "Tool",
- "Consumable",
- "Material",
- "Fixture",
- ],
- format: 'public."searchEntity"',
- type: "string",
- },
- uuid: {
- format: "text",
- type: "string",
- },
- link: {
- format: "text",
- type: "string",
- },
- companyId: {
- description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
- format: "text",
- type: "string",
+ "/rpc/get_active_job_operations_by_employee": {
+ get: {
+ parameters: [
+ {
+ format: "text",
+ in: "query",
+ name: "employee_id",
+ required: true,
+ type: "string",
+ },
+ {
+ format: "text",
+ in: "query",
+ name: "company_id",
+ required: true,
+ type: "string",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
- fts: {
- format: "tsvector",
- type: "string",
+ tags: ["(rpc) get_active_job_operations_by_employee"],
+ },
+ post: {
+ parameters: [
+ {
+ in: "body",
+ name: "args",
+ required: true,
+ schema: {
+ properties: {
+ company_id: {
+ format: "text",
+ type: "string",
+ },
+ employee_id: {
+ format: "text",
+ type: "string",
+ },
+ },
+ required: ["employee_id", "company_id"],
+ type: "object",
+ },
+ },
+ {
+ $ref: "#/parameters/preferParams",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
+ tags: ["(rpc) get_active_job_operations_by_employee"],
},
- type: "object",
},
- journal: {
- required: ["id", "companyId", "postingDate", "createdAt"],
- properties: {
- id: {
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "integer",
- type: "integer",
- },
- description: {
- format: "text",
- type: "string",
- },
- accountingPeriodId: {
- description:
- "Note:\nThis is a Foreign Key to `accountingPeriod.id`.<fk table='accountingPeriod' column='id'/>",
- format: "text",
- type: "string",
- },
- companyId: {
- description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
- format: "text",
- type: "string",
- },
- postingDate: {
- default: "CURRENT_DATE",
- format: "date",
- type: "string",
- },
- createdAt: {
- default: "now()",
- format: "timestamp with time zone",
- type: "string",
+ "/rpc/groups_query": {
+ get: {
+ parameters: [
+ {
+ format: "text",
+ in: "query",
+ name: "_name",
+ required: false,
+ type: "string",
+ },
+ {
+ format: "text",
+ in: "query",
+ name: "_uid",
+ required: false,
+ type: "string",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
- customFields: {
- format: "jsonb",
+ tags: ["(rpc) groups_query"],
+ },
+ post: {
+ parameters: [
+ {
+ in: "body",
+ name: "args",
+ required: true,
+ schema: {
+ properties: {
+ _name: {
+ format: "text",
+ type: "string",
+ },
+ _uid: {
+ format: "text",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ },
+ {
+ $ref: "#/parameters/preferParams",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
+ tags: ["(rpc) groups_query"],
},
- type: "object",
},
- modules: {
- properties: {
- name: {
- enum: [
- "Accounting",
- "Documents",
- "Invoicing",
- "Inventory",
- "Items",
- "Messaging",
- "Parts",
- "People",
- "Production",
- "Purchasing",
- "Resources",
- "Sales",
- "Settings",
- "Users",
- ],
- format: "public.module",
- type: "string",
+ "/rpc/get_claims": {
+ get: {
+ parameters: [
+ {
+ format: "text",
+ in: "query",
+ name: "uid",
+ required: true,
+ type: "string",
+ },
+ {
+ format: "text",
+ in: "query",
+ name: "company",
+ required: true,
+ type: "string",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
+ tags: ["(rpc) get_claims"],
},
- type: "object",
- },
- employeesAcrossCompanies: {
- properties: {
- id: {
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
- type: "string",
- },
- email: {
- format: "text",
- type: "string",
- },
- firstName: {
- format: "text",
- type: "string",
- },
- lastName: {
- format: "text",
- type: "string",
- },
- name: {
- format: "text",
- type: "string",
- },
- avatarUrl: {
- format: "text",
- type: "string",
- },
- active: {
- format: "boolean",
- type: "boolean",
- },
- companyId: {
- format: "text[]",
- items: {
- type: "string",
+ post: {
+ parameters: [
+ {
+ in: "body",
+ name: "args",
+ required: true,
+ schema: {
+ properties: {
+ company: {
+ format: "text",
+ type: "string",
+ },
+ uid: {
+ format: "text",
+ type: "string",
+ },
+ },
+ required: ["uid", "company"],
+ type: "object",
+ },
+ },
+ {
+ $ref: "#/parameters/preferParams",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
},
- type: "array",
},
+ tags: ["(rpc) get_claims"],
},
- type: "object",
},
- purchaseInvoicePriceChange: {
- required: [
- "id",
- "invoiceId",
- "invoiceLineId",
- "previousPrice",
- "newPrice",
- "previousQuantity",
- "newQuantity",
- "updatedBy",
- ],
- properties: {
- id: {
- default: "public.xid()",
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
- type: "string",
- },
- invoiceId: {
- description:
- "Note:\nThis is a Foreign Key to `purchaseInvoice.id`.<fk table='purchaseInvoice' column='id'/>",
- format: "text",
- type: "string",
- },
- invoiceLineId: {
- description:
- "Note:\nThis is a Foreign Key to `purchaseInvoiceLine.id`.<fk table='purchaseInvoiceLine' column='id'/>",
- format: "text",
- type: "string",
- },
- previousPrice: {
- default: 0,
- format: "numeric",
- type: "number",
- },
- newPrice: {
- default: 0,
- format: "numeric",
- type: "number",
- },
- previousQuantity: {
- default: 0,
- format: "numeric",
- type: "number",
- },
- newQuantity: {
- default: 0,
- format: "numeric",
- type: "number",
+ "/rpc/get_company_id_from_foreign_key": {
+ get: {
+ parameters: [
+ {
+ format: "text",
+ in: "query",
+ name: "foreign_key",
+ required: true,
+ type: "string",
+ },
+ {
+ format: "text",
+ in: "query",
+ name: "tbl",
+ required: true,
+ type: "string",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
- updatedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
+ tags: ["(rpc) get_company_id_from_foreign_key"],
+ },
+ post: {
+ parameters: [
+ {
+ in: "body",
+ name: "args",
+ required: true,
+ schema: {
+ properties: {
+ foreign_key: {
+ format: "text",
+ type: "string",
+ },
+ tbl: {
+ format: "text",
+ type: "string",
+ },
+ },
+ required: ["foreign_key", "tbl"],
+ type: "object",
+ },
+ },
+ {
+ $ref: "#/parameters/preferParams",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
+ tags: ["(rpc) get_company_id_from_foreign_key"],
},
- type: "object",
},
- currencies: {
- properties: {
- id: {
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
- type: "string",
- },
- code: {
- description:
- "Note:\nThis is a Foreign Key to `currencyCode.code`.<fk table='currencyCode' column='code'/>",
- format: "text",
- type: "string",
- },
- exchangeRate: {
- format: "numeric",
- type: "number",
- },
- decimalPlaces: {
- format: "integer",
- type: "integer",
- },
- active: {
- format: "boolean",
- type: "boolean",
+ "/rpc/xid_time": {
+ get: {
+ parameters: [
+ {
+ format: "public.xid",
+ in: "query",
+ name: "_xid",
+ required: true,
+ type: "string",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
- companyId: {
- description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
- format: "text",
- type: "string",
+ tags: ["(rpc) xid_time"],
+ },
+ post: {
+ parameters: [
+ {
+ in: "body",
+ name: "args",
+ required: true,
+ schema: {
+ properties: {
+ _xid: {
+ format: "public.xid",
+ type: "string",
+ },
+ },
+ required: ["_xid"],
+ type: "object",
+ },
+ },
+ {
+ $ref: "#/parameters/preferParams",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
- createdBy: {
- format: "text",
- type: "string",
+ tags: ["(rpc) xid_time"],
+ },
+ },
+ "/rpc/xid_counter": {
+ get: {
+ parameters: [
+ {
+ format: "public.xid",
+ in: "query",
+ name: "_xid",
+ required: true,
+ type: "string",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
- createdAt: {
- format: "timestamp with time zone",
- type: "string",
+ tags: ["(rpc) xid_counter"],
+ },
+ post: {
+ parameters: [
+ {
+ in: "body",
+ name: "args",
+ required: true,
+ schema: {
+ properties: {
+ _xid: {
+ format: "public.xid",
+ type: "string",
+ },
+ },
+ required: ["_xid"],
+ type: "object",
+ },
+ },
+ {
+ $ref: "#/parameters/preferParams",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
- updatedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
+ tags: ["(rpc) xid_counter"],
+ },
+ },
+ "/rpc/has_valid_api_key_for_company": {
+ get: {
+ parameters: [
+ {
+ format: "text",
+ in: "query",
+ name: "company",
+ required: true,
+ type: "string",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
- updatedAt: {
- format: "timestamp with time zone",
- type: "string",
+ tags: ["(rpc) has_valid_api_key_for_company"],
+ },
+ post: {
+ parameters: [
+ {
+ in: "body",
+ name: "args",
+ required: true,
+ schema: {
+ properties: {
+ company: {
+ format: "text",
+ type: "string",
+ },
+ },
+ required: ["company"],
+ type: "object",
+ },
+ },
+ {
+ $ref: "#/parameters/preferParams",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
- customFields: {
- format: "jsonb",
+ tags: ["(rpc) has_valid_api_key_for_company"],
+ },
+ },
+ "/rpc/xid_pid": {
+ get: {
+ parameters: [
+ {
+ format: "public.xid",
+ in: "query",
+ name: "_xid",
+ required: true,
+ type: "string",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
- name: {
- format: "text",
- type: "string",
+ tags: ["(rpc) xid_pid"],
+ },
+ post: {
+ parameters: [
+ {
+ in: "body",
+ name: "args",
+ required: true,
+ schema: {
+ properties: {
+ _xid: {
+ format: "public.xid",
+ type: "string",
+ },
+ },
+ required: ["_xid"],
+ type: "object",
+ },
+ },
+ {
+ $ref: "#/parameters/preferParams",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
+ tags: ["(rpc) xid_pid"],
},
- type: "object",
},
- shift: {
- required: [
- "id",
- "name",
- "startTime",
- "endTime",
- "locationId",
- "sunday",
- "monday",
- "tuesday",
- "wednesday",
- "thursday",
- "friday",
- "saturday",
- "active",
- "companyId",
- "createdBy",
- "createdAt",
- ],
- properties: {
- id: {
- default: "public.xid()",
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
- type: "string",
- },
- name: {
- format: "text",
- type: "string",
- },
- startTime: {
- format: "time without time zone",
- type: "string",
- },
- endTime: {
- format: "time without time zone",
- type: "string",
- },
- locationId: {
- description:
- "Note:\nThis is a Foreign Key to `location.id`.<fk table='location' column='id'/>",
- format: "text",
- type: "string",
- },
- sunday: {
- default: false,
- format: "boolean",
- type: "boolean",
- },
- monday: {
- default: false,
- format: "boolean",
- type: "boolean",
- },
- tuesday: {
- default: false,
- format: "boolean",
- type: "boolean",
- },
- wednesday: {
- default: false,
- format: "boolean",
- type: "boolean",
- },
- thursday: {
- default: false,
- format: "boolean",
- type: "boolean",
- },
- friday: {
- default: false,
- format: "boolean",
- type: "boolean",
- },
- saturday: {
- default: false,
- format: "boolean",
- type: "boolean",
- },
- active: {
- default: true,
- format: "boolean",
- type: "boolean",
- },
- companyId: {
- description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
- format: "text",
- type: "string",
- },
- createdBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- createdAt: {
- default: "now()",
- format: "timestamp without time zone",
- type: "string",
- },
- updatedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- updatedAt: {
- format: "timestamp without time zone",
- type: "string",
+ "/rpc/xid_decode": {
+ get: {
+ parameters: [
+ {
+ format: "public.xid",
+ in: "query",
+ name: "_xid",
+ required: true,
+ type: "string",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
- customFields: {
- format: "jsonb",
+ tags: ["(rpc) xid_decode"],
+ },
+ post: {
+ parameters: [
+ {
+ in: "body",
+ name: "args",
+ required: true,
+ schema: {
+ properties: {
+ _xid: {
+ format: "public.xid",
+ type: "string",
+ },
+ },
+ required: ["_xid"],
+ type: "object",
+ },
+ },
+ {
+ $ref: "#/parameters/preferParams",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
+ tags: ["(rpc) xid_decode"],
},
- type: "object",
},
- integration: {
- required: ["id", "jsonschema"],
- properties: {
- id: {
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
- type: "string",
+ "/rpc/groups_for_user": {
+ get: {
+ parameters: [
+ {
+ format: "text",
+ in: "query",
+ name: "uid",
+ required: true,
+ type: "string",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
- jsonschema: {
- format: "json",
+ tags: ["(rpc) groups_for_user"],
+ },
+ post: {
+ parameters: [
+ {
+ in: "body",
+ name: "args",
+ required: true,
+ schema: {
+ properties: {
+ uid: {
+ format: "text",
+ type: "string",
+ },
+ },
+ required: ["uid"],
+ type: "object",
+ },
+ },
+ {
+ $ref: "#/parameters/preferParams",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
+ tags: ["(rpc) groups_for_user"],
},
- type: "object",
},
- customFieldTables: {
- properties: {
- table: {
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
- type: "string",
- },
- module: {
- enum: [
- "Accounting",
- "Documents",
- "Invoicing",
- "Inventory",
- "Items",
- "Messaging",
- "Parts",
- "People",
- "Production",
- "Purchasing",
- "Resources",
- "Sales",
- "Settings",
- "Users",
- ],
- format: "public.module",
- type: "string",
- },
- name: {
- format: "text",
- type: "string",
- },
- companyId: {
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
- type: "string",
+ "/rpc/get_quote_methods": {
+ get: {
+ parameters: [
+ {
+ format: "text",
+ in: "query",
+ name: "qid",
+ required: true,
+ type: "string",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
- fields: {
- format: "json",
+ tags: ["(rpc) get_quote_methods"],
+ },
+ post: {
+ parameters: [
+ {
+ in: "body",
+ name: "args",
+ required: true,
+ schema: {
+ properties: {
+ qid: {
+ format: "text",
+ type: "string",
+ },
+ },
+ required: ["qid"],
+ type: "object",
+ },
+ },
+ {
+ $ref: "#/parameters/preferParams",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
+ tags: ["(rpc) get_quote_methods"],
},
- type: "object",
},
- documents: {
- properties: {
- id: {
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
- type: "string",
- },
- path: {
- format: "text",
- type: "string",
- },
- name: {
- format: "text",
- type: "string",
- },
- description: {
- format: "text",
- type: "string",
- },
- size: {
- format: "integer",
- type: "integer",
+ "/rpc/get_company_id_from_api_key": {
+ get: {
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
- extension: {
- format: "text",
- type: "string",
+ tags: ["(rpc) get_company_id_from_api_key"],
+ },
+ post: {
+ parameters: [
+ {
+ in: "body",
+ name: "args",
+ required: true,
+ schema: {
+ type: "object",
+ },
+ },
+ {
+ $ref: "#/parameters/preferParams",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
- type: {
- enum: [
- "Archive",
- "Document",
- "Presentation",
- "PDF",
- "Spreadsheet",
- "Text",
- "Image",
- "Video",
- "Audio",
- "Other",
- "Model",
- ],
- format: 'public."documentType"',
- type: "string",
+ tags: ["(rpc) get_company_id_from_api_key"],
+ },
+ },
+ "/rpc/is_claims_admin": {
+ get: {
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
- readGroups: {
- format: "text[]",
- items: {
- type: "string",
+ tags: ["(rpc) is_claims_admin"],
+ },
+ post: {
+ parameters: [
+ {
+ in: "body",
+ name: "args",
+ required: true,
+ schema: {
+ type: "object",
+ },
+ },
+ {
+ $ref: "#/parameters/preferParams",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
},
- type: "array",
},
- writeGroups: {
- format: "text[]",
- items: {
+ tags: ["(rpc) is_claims_admin"],
+ },
+ },
+ "/rpc/get_job_method": {
+ get: {
+ parameters: [
+ {
+ format: "text",
+ in: "query",
+ name: "jid",
+ required: true,
type: "string",
},
- type: "array",
- },
- active: {
- format: "boolean",
- type: "boolean",
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
- companyId: {
- format: "text",
- type: "string",
+ tags: ["(rpc) get_job_method"],
+ },
+ post: {
+ parameters: [
+ {
+ in: "body",
+ name: "args",
+ required: true,
+ schema: {
+ properties: {
+ jid: {
+ format: "text",
+ type: "string",
+ },
+ },
+ required: ["jid"],
+ type: "object",
+ },
+ },
+ {
+ $ref: "#/parameters/preferParams",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
- createdBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
+ tags: ["(rpc) get_job_method"],
+ },
+ },
+ "/rpc/get_quote_methods_by_method_id": {
+ get: {
+ parameters: [
+ {
+ format: "text",
+ in: "query",
+ name: "mid",
+ required: true,
+ type: "string",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
- createdAt: {
- format: "timestamp with time zone",
- type: "string",
- },
- updatedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- updatedAt: {
- format: "timestamp with time zone",
- type: "string",
- },
- sourceDocument: {
- enum: [
- "Job",
- "Part",
- "Purchase Order",
- "Purchase Invoice",
- "Purchase Return Order",
- "Quote",
- "Receipt",
- "Request for Quote",
- "Sales Order",
- "Sales Invoice",
- "Sales Return Order",
- "Service",
- "Shipment",
- "Material",
- "Tool",
- "Fixture",
- "Consumable",
- ],
- format: 'public."documentSourceType"',
- type: "string",
- },
- sourceDocumentId: {
- format: "text",
- type: "string",
+ tags: ["(rpc) get_quote_methods_by_method_id"],
+ },
+ post: {
+ parameters: [
+ {
+ in: "body",
+ name: "args",
+ required: true,
+ schema: {
+ properties: {
+ mid: {
+ format: "text",
+ type: "string",
+ },
+ },
+ required: ["mid"],
+ type: "object",
+ },
+ },
+ {
+ $ref: "#/parameters/preferParams",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
- labels: {
- format: "text[]",
- items: {
+ tags: ["(rpc) get_quote_methods_by_method_id"],
+ },
+ },
+ "/rpc/get_permission_companies": {
+ get: {
+ parameters: [
+ {
+ format: "text",
+ in: "query",
+ name: "claim",
+ required: true,
type: "string",
},
- type: "array",
- },
- favorite: {
- format: "boolean",
- type: "boolean",
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
- lastActivityAt: {
- format: "timestamp with time zone",
- type: "string",
+ tags: ["(rpc) get_permission_companies"],
+ },
+ post: {
+ parameters: [
+ {
+ in: "body",
+ name: "args",
+ required: true,
+ schema: {
+ properties: {
+ claim: {
+ format: "text",
+ type: "string",
+ },
+ },
+ required: ["claim"],
+ type: "object",
+ },
+ },
+ {
+ $ref: "#/parameters/preferParams",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
+ tags: ["(rpc) get_permission_companies"],
},
- type: "object",
},
- companies: {
- properties: {
- id: {
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
- type: "string",
- },
- name: {
- format: "text",
- type: "string",
- },
- taxId: {
- format: "text",
- type: "string",
- },
- logo: {
- format: "text",
- type: "string",
- },
- addressLine1: {
- format: "text",
- type: "string",
- },
- addressLine2: {
- format: "text",
- type: "string",
- },
- city: {
- format: "text",
- type: "string",
- },
- stateProvince: {
- format: "text",
- type: "string",
- },
- postalCode: {
- format: "text",
- type: "string",
- },
- countryCode: {
- format: "text",
- type: "string",
- },
- phone: {
- format: "text",
- type: "string",
- },
- fax: {
- format: "text",
- type: "string",
- },
- email: {
- format: "text",
- type: "string",
- },
- website: {
- format: "text",
- type: "string",
- },
- updatedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
+ "/rpc/get_my_claim": {
+ get: {
+ parameters: [
+ {
+ format: "text",
+ in: "query",
+ name: "claim",
+ required: true,
+ type: "string",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
- baseCurrencyCode: {
- description:
- "Note:\nThis is a Foreign Key to `currencyCode.code`.<fk table='currencyCode' column='code'/>",
- format: "text",
- type: "string",
+ tags: ["(rpc) get_my_claim"],
+ },
+ post: {
+ parameters: [
+ {
+ in: "body",
+ name: "args",
+ required: true,
+ schema: {
+ properties: {
+ claim: {
+ format: "text",
+ type: "string",
+ },
+ },
+ required: ["claim"],
+ type: "object",
+ },
+ },
+ {
+ $ref: "#/parameters/preferParams",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
- userId: {
- description:
- "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
+ tags: ["(rpc) get_my_claim"],
+ },
+ },
+ "/rpc/get_item_quantities": {
+ get: {
+ parameters: [
+ {
+ format: "text",
+ in: "query",
+ name: "location_id",
+ required: true,
+ type: "string",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
- companyId: {
- description:
- "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
- format: "text",
- type: "string",
+ tags: ["(rpc) get_item_quantities"],
+ },
+ post: {
+ parameters: [
+ {
+ in: "body",
+ name: "args",
+ required: true,
+ schema: {
+ properties: {
+ location_id: {
+ format: "text",
+ type: "string",
+ },
+ },
+ required: ["location_id"],
+ type: "object",
+ },
+ },
+ {
+ $ref: "#/parameters/preferParams",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
- role: {
- enum: ["customer", "employee", "supplier"],
- format: "public.role",
- type: "string",
+ tags: ["(rpc) get_item_quantities"],
+ },
+ },
+ "/rpc/get_job_operations_by_work_center": {
+ get: {
+ parameters: [
+ {
+ format: "text",
+ in: "query",
+ name: "work_center_id",
+ required: true,
+ type: "string",
+ },
+ {
+ format: "text",
+ in: "query",
+ name: "location_id",
+ required: true,
+ type: "string",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
- employeeType: {
- format: "text",
- type: "string",
+ tags: ["(rpc) get_job_operations_by_work_center"],
+ },
+ post: {
+ parameters: [
+ {
+ in: "body",
+ name: "args",
+ required: true,
+ schema: {
+ properties: {
+ location_id: {
+ format: "text",
+ type: "string",
+ },
+ work_center_id: {
+ format: "text",
+ type: "string",
+ },
+ },
+ required: ["work_center_id", "location_id"],
+ type: "object",
+ },
+ },
+ {
+ $ref: "#/parameters/preferParams",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
+ tags: ["(rpc) get_job_operations_by_work_center"],
},
- type: "object",
},
- purchaseOrder: {
- required: [
- "id",
- "purchaseOrderId",
- "revisionId",
- "type",
- "status",
- "orderDate",
- "supplierId",
- "companyId",
- "createdAt",
- "createdBy",
- ],
- properties: {
- id: {
- default: "public.xid()",
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
- type: "string",
- },
- purchaseOrderId: {
- format: "text",
- type: "string",
+ "/rpc/get_method_tree": {
+ get: {
+ parameters: [
+ {
+ format: "text",
+ in: "query",
+ name: "uid",
+ required: true,
+ type: "string",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
- revisionId: {
- default: 0,
- format: "integer",
- type: "integer",
+ tags: ["(rpc) get_method_tree"],
+ },
+ post: {
+ parameters: [
+ {
+ in: "body",
+ name: "args",
+ required: true,
+ schema: {
+ properties: {
+ uid: {
+ format: "text",
+ type: "string",
+ },
+ },
+ required: ["uid"],
+ type: "object",
+ },
+ },
+ {
+ $ref: "#/parameters/preferParams",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
- type: {
- enum: ["Purchase", "Return"],
- format: 'public."purchaseOrderType"',
- type: "string",
+ tags: ["(rpc) get_method_tree"],
+ },
+ },
+ "/rpc/get_active_job_count": {
+ get: {
+ parameters: [
+ {
+ format: "text",
+ in: "query",
+ name: "employee_id",
+ required: true,
+ type: "string",
+ },
+ {
+ format: "text",
+ in: "query",
+ name: "company_id",
+ required: true,
+ type: "string",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
- status: {
- default: "Draft",
- enum: [
- "Draft",
- "To Review",
- "Rejected",
- "To Receive",
- "To Receive and Invoice",
- "To Invoice",
- "Completed",
- "Closed",
- ],
- format: 'public."purchaseOrderStatus"',
- type: "string",
+ tags: ["(rpc) get_active_job_count"],
+ },
+ post: {
+ parameters: [
+ {
+ in: "body",
+ name: "args",
+ required: true,
+ schema: {
+ properties: {
+ company_id: {
+ format: "text",
+ type: "string",
+ },
+ employee_id: {
+ format: "text",
+ type: "string",
+ },
+ },
+ required: ["employee_id", "company_id"],
+ type: "object",
+ },
+ },
+ {
+ $ref: "#/parameters/preferParams",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
- orderDate: {
- default: "CURRENT_DATE",
- format: "date",
- type: "string",
+ tags: ["(rpc) get_active_job_count"],
+ },
+ },
+ "/rpc/users_for_groups": {
+ get: {
+ parameters: [
+ {
+ format: "text[]",
+ in: "query",
+ name: "groups",
+ required: true,
+ type: "string",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
- notes: {
- format: "text",
- type: "string",
+ tags: ["(rpc) users_for_groups"],
+ },
+ post: {
+ parameters: [
+ {
+ in: "body",
+ name: "args",
+ required: true,
+ schema: {
+ properties: {
+ groups: {
+ format: "text[]",
+ items: {
+ type: "string",
+ },
+ type: "array",
+ },
+ },
+ required: ["groups"],
+ type: "object",
+ },
+ },
+ {
+ $ref: "#/parameters/preferParams",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
- supplierId: {
- description:
- "Note:\nThis is a Foreign Key to `supplier.id`.<fk table='supplier' column='id'/>",
- format: "text",
- type: "string",
+ tags: ["(rpc) users_for_groups"],
+ },
+ },
+ "/rpc/get_recent_job_operations_by_employee": {
+ get: {
+ parameters: [
+ {
+ format: "text",
+ in: "query",
+ name: "employee_id",
+ required: true,
+ type: "string",
+ },
+ {
+ format: "text",
+ in: "query",
+ name: "company_id",
+ required: true,
+ type: "string",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
},
- supplierLocationId: {
- description:
- "Note:\nThis is a Foreign Key to `supplierLocation.id`.<fk table='supplierLocation' column='id'/>",
+ tags: ["(rpc) get_recent_job_operations_by_employee"],
+ },
+ post: {
+ parameters: [
+ {
+ in: "body",
+ name: "args",
+ required: true,
+ schema: {
+ properties: {
+ company_id: {
+ format: "text",
+ type: "string",
+ },
+ employee_id: {
+ format: "text",
+ type: "string",
+ },
+ },
+ required: ["employee_id", "company_id"],
+ type: "object",
+ },
+ },
+ {
+ $ref: "#/parameters/preferParams",
+ },
+ ],
+ produces: [
+ "application/json",
+ "application/vnd.pgrst.object+json;nulls=stripped",
+ "application/vnd.pgrst.object+json",
+ ],
+ responses: {
+ "200": {
+ description: "OK",
+ },
+ },
+ tags: ["(rpc) get_recent_job_operations_by_employee"],
+ },
+ },
+ },
+ definitions: {
+ purchaseInvoiceStatusHistory: {
+ required: ["id", "invoiceId", "status", "createdAt"],
+ properties: {
+ id: {
+ default: "public.xid()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- supplierContactId: {
+ invoiceId: {
description:
- "Note:\nThis is a Foreign Key to `supplierContact.id`.<fk table='supplierContact' column='id'/>",
+ "Note:\nThis is a Foreign Key to `purchaseInvoice.id`.<fk table='purchaseInvoice' column='id'/>",
format: "text",
type: "string",
},
- supplierReference: {
- format: "text",
+ status: {
+ enum: [
+ "Draft",
+ "Pending",
+ "Submitted",
+ "Return",
+ "Debit Note Issued",
+ "Paid",
+ "Partially Paid",
+ "Overdue",
+ "Voided",
+ ],
+ format: 'public."purchaseInvoiceStatus"',
type: "string",
},
- assignee: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
type: "string",
},
- companyId: {
- description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ },
+ type: "object",
+ },
+ itemInventory: {
+ required: [
+ "id",
+ "itemId",
+ "companyId",
+ "quantityOnHand",
+ "quantityOnPurchase",
+ "quantityOnSalesOrder",
+ "quantityOnProductionOrder",
+ ],
+ properties: {
+ id: {
+ default: "public.xid()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- closedAt: {
- format: "date",
- type: "string",
- },
- closedBy: {
+ itemId: {
description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
format: "text",
type: "string",
},
- customFields: {
- format: "jsonb",
- },
- createdAt: {
- default: "now()",
- format: "timestamp with time zone",
- type: "string",
- },
- createdBy: {
+ locationId: {
description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ "Note:\nThis is a Foreign Key to `location.id`.<fk table='location' column='id'/>",
format: "text",
type: "string",
},
- updatedAt: {
- format: "timestamp with time zone",
- type: "string",
- },
- updatedBy: {
+ shelfId: {
description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ "Note:\nThis is a Foreign Key to `shelf.id`.<fk table='shelf' column='id'/>",
format: "text",
type: "string",
},
- currencyCode: {
+ companyId: {
description:
- "Note:\nThis is a Foreign Key to `currencyCode.code`.<fk table='currencyCode' column='code'/>",
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
format: "text",
type: "string",
},
- exchangeRate: {
+ quantityOnHand: {
+ default: 0,
format: "numeric",
type: "number",
},
- exchangeRateUpdatedAt: {
- format: "timestamp with time zone",
- type: "string",
+ quantityOnPurchase: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ quantityOnSalesOrder: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ quantityOnProductionOrder: {
+ default: 0,
+ format: "numeric",
+ type: "number",
},
},
type: "object",
},
- fixtures: {
+ userPermission: {
+ required: ["id"],
properties: {
- active: {
- format: "boolean",
- type: "boolean",
- },
- assignee: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- defaultMethodType: {
- enum: ["Buy", "Make", "Pick"],
- format: 'public."methodType"',
- type: "string",
- },
- description: {
+ id: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- itemTrackingType: {
- enum: ["Inventory", "Non-Inventory"],
- format: 'public."itemTrackingType"',
- type: "string",
+ permissions: {
+ format: "jsonb",
},
- name: {
+ },
+ type: "object",
+ },
+ supplierAccount: {
+ required: ["id", "supplierId", "companyId"],
+ properties: {
+ id: {
+ description:
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- replenishmentSystem: {
- enum: ["Buy", "Make", "Buy and Make"],
- format: 'public."itemReplenishmentSystem"',
- type: "string",
- },
- unitOfMeasureCode: {
+ supplierId: {
+ description:
+ "Note:\nThis is a Foreign Key to `supplier.id`.<fk table='supplier' column='id'/>",
format: "text",
type: "string",
},
- thumbnailPath: {
+ companyId: {
+ description:
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
format: "text",
type: "string",
},
+ },
+ type: "object",
+ },
+ supplierType: {
+ required: [
+ "id",
+ "name",
+ "protected",
+ "companyId",
+ "createdAt",
+ "createdBy",
+ ],
+ properties: {
id: {
+ default: "extensions.uuid_generate_v4()",
description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- itemId: {
- description:
- "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
- format: "text",
- type: "string",
- },
- customerId: {
- description:
- "Note:\nThis is a Foreign Key to `customer.id`.<fk table='customer' column='id'/>",
+ name: {
format: "text",
type: "string",
},
- approved: {
+ protected: {
+ default: false,
format: "boolean",
type: "boolean",
},
- approvedBy: {
+ companyId: {
description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
format: "text",
type: "string",
},
- customFields: {
- format: "jsonb",
- },
- companyId: {
- description:
- "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
- format: "text",
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
type: "string",
},
createdBy: {
@@ -40661,10 +42877,6 @@ export default {
format: "text",
type: "string",
},
- createdAt: {
- format: "timestamp with time zone",
- type: "string",
- },
updatedBy: {
description:
"Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
@@ -40675,43 +42887,72 @@ export default {
format: "timestamp with time zone",
type: "string",
},
- externalId: {
+ customFields: {
format: "jsonb",
},
- modelId: {
+ },
+ type: "object",
+ },
+ customerType: {
+ required: [
+ "id",
+ "name",
+ "protected",
+ "companyId",
+ "createdAt",
+ "createdBy",
+ ],
+ properties: {
+ id: {
+ default: "extensions.uuid_generate_v4()",
description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- autodeskUrn: {
+ name: {
format: "text",
type: "string",
},
- modelPath: {
- format: "text",
- type: "string",
+ protected: {
+ default: false,
+ format: "boolean",
+ type: "boolean",
},
- modelName: {
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
format: "text",
type: "string",
},
- modelSize: {
- format: "bigint",
- type: "integer",
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
+ type: "string",
},
- supplierIds: {
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- customer: {
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ customFields: {
+ format: "jsonb",
+ },
},
type: "object",
},
- company: {
- required: ["id", "name", "baseCurrencyCode"],
+ shippingTerm: {
+ required: ["id", "name", "active", "companyId", "createdAt", "createdBy"],
properties: {
id: {
default: "public.xid()",
@@ -40723,348 +42964,334 @@ export default {
format: "text",
type: "string",
},
- taxId: {
- format: "text",
- type: "string",
- },
- logo: {
- format: "text",
- type: "string",
- },
- addressLine1: {
- format: "text",
- type: "string",
- },
- addressLine2: {
- format: "text",
- type: "string",
+ active: {
+ default: true,
+ format: "boolean",
+ type: "boolean",
},
- city: {
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
format: "text",
type: "string",
},
- stateProvince: {
- format: "text",
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
type: "string",
},
- postalCode: {
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- countryCode: {
- format: "text",
+ updatedAt: {
+ format: "timestamp with time zone",
type: "string",
},
- phone: {
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- fax: {
+ },
+ type: "object",
+ },
+ customerAccount: {
+ required: ["id", "customerId", "companyId"],
+ properties: {
+ id: {
+ description:
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- email: {
+ customerId: {
+ description:
+ "Note:\nThis is a Foreign Key to `customer.id`.<fk table='customer' column='id'/>",
format: "text",
type: "string",
},
- website: {
- format: "text",
- type: "string",
- },
- updatedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- baseCurrencyCode: {
- description:
- "Note:\nThis is a Foreign Key to `currencyCode.code`.<fk table='currencyCode' column='code'/>",
+ companyId: {
+ description:
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
format: "text",
type: "string",
},
},
type: "object",
},
- userAttributeCategory: {
- required: ["id", "name", "createdAt", "createdBy"],
+ accountDefault: {
+ required: [
+ "companyId",
+ "salesAccount",
+ "salesDiscountAccount",
+ "costOfGoodsSoldAccount",
+ "purchaseAccount",
+ "directCostAppliedAccount",
+ "overheadCostAppliedAccount",
+ "purchaseVarianceAccount",
+ "inventoryAdjustmentVarianceAccount",
+ "materialVarianceAccount",
+ "capacityVarianceAccount",
+ "overheadAccount",
+ "maintenanceAccount",
+ "assetDepreciationExpenseAccount",
+ "assetGainsAndLossesAccount",
+ "serviceChargeAccount",
+ "interestAccount",
+ "supplierPaymentDiscountAccount",
+ "customerPaymentDiscountAccount",
+ "roundingAccount",
+ "assetAquisitionCostAccount",
+ "assetAquisitionCostOnDisposalAccount",
+ "accumulatedDepreciationAccount",
+ "accumulatedDepreciationOnDisposalAccount",
+ "inventoryAccount",
+ "inventoryInterimAccrualAccount",
+ "workInProgressAccount",
+ "receivablesAccount",
+ "inventoryShippedNotInvoicedAccount",
+ "inventoryInvoicedNotReceivedAccount",
+ "bankCashAccount",
+ "bankLocalCurrencyAccount",
+ "bankForeignCurrencyAccount",
+ "prepaymentAccount",
+ "payablesAccount",
+ "inventoryReceivedNotInvoicedAccount",
+ "salesTaxPayableAccount",
+ "purchaseTaxPayableAccount",
+ "reverseChargeSalesTaxPayableAccount",
+ "retainedEarningsAccount",
+ ],
properties: {
- id: {
- default: "public.xid()",
+ companyId: {
description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- name: {
+ salesAccount: {
format: "text",
type: "string",
},
- public: {
- default: false,
- format: "boolean",
- type: "boolean",
- },
- protected: {
- default: false,
- format: "boolean",
- type: "boolean",
- },
- companyId: {
- description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ salesDiscountAccount: {
format: "text",
type: "string",
},
- active: {
- default: true,
- format: "boolean",
- type: "boolean",
- },
- createdAt: {
- default: "now()",
- format: "timestamp with time zone",
+ costOfGoodsSoldAccount: {
+ format: "text",
type: "string",
},
- createdBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ purchaseAccount: {
format: "text",
type: "string",
},
- updatedAt: {
- format: "timestamp with time zone",
+ directCostAppliedAccount: {
+ format: "text",
type: "string",
},
- updatedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ overheadCostAppliedAccount: {
format: "text",
type: "string",
},
- },
- type: "object",
- },
- salesOrderLine: {
- required: [
- "id",
- "salesOrderId",
- "salesOrderLineType",
- "sentComplete",
- "invoicedComplete",
- "requiresInspection",
- "companyId",
- "createdAt",
- "createdBy",
- "status",
- "addOnCost",
- "methodType",
- ],
- properties: {
- id: {
- default: "public.xid()",
- description: "Note:\nThis is a Primary Key.<pk/>",
+ purchaseVarianceAccount: {
format: "text",
type: "string",
},
- salesOrderId: {
- description:
- "Note:\nThis is a Foreign Key to `salesOrder.id`.<fk table='salesOrder' column='id'/>",
+ inventoryAdjustmentVarianceAccount: {
format: "text",
type: "string",
},
- salesOrderLineType: {
- enum: [
- "Comment",
- "Part",
- "Material",
- "Tool",
- "Service",
- "Consumable",
- "Fixture",
- "Fixed Asset",
- ],
- format: 'public."salesOrderLineType"',
+ materialVarianceAccount: {
+ format: "text",
type: "string",
},
- itemId: {
- description:
- "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
+ capacityVarianceAccount: {
format: "text",
type: "string",
},
- itemReadableId: {
+ overheadAccount: {
format: "text",
type: "string",
},
- accountNumber: {
+ maintenanceAccount: {
format: "text",
type: "string",
},
- assetId: {
+ assetDepreciationExpenseAccount: {
format: "text",
type: "string",
},
- description: {
+ assetGainsAndLossesAccount: {
format: "text",
type: "string",
},
- saleQuantity: {
- default: 0,
- format: "numeric",
- type: "number",
- },
- quantityToSend: {
- format: "numeric",
- type: "number",
+ serviceChargeAccount: {
+ format: "text",
+ type: "string",
},
- quantitySent: {
- default: 0,
- format: "numeric",
- type: "number",
+ interestAccount: {
+ format: "text",
+ type: "string",
},
- quantityToInvoice: {
- format: "numeric",
- type: "number",
+ supplierPaymentDiscountAccount: {
+ format: "text",
+ type: "string",
},
- quantityInvoiced: {
- default: 0,
- format: "numeric",
- type: "number",
+ customerPaymentDiscountAccount: {
+ format: "text",
+ type: "string",
},
- unitPrice: {
- format: "numeric",
- type: "number",
+ roundingAccount: {
+ format: "text",
+ type: "string",
},
- unitOfMeasureCode: {
+ assetAquisitionCostAccount: {
format: "text",
type: "string",
},
- locationId: {
+ assetAquisitionCostOnDisposalAccount: {
format: "text",
type: "string",
},
- shelfId: {
- description:
- "Note:\nThis is a Foreign Key to `shelf.id`.<fk table='shelf' column='id'/>",
+ accumulatedDepreciationAccount: {
format: "text",
type: "string",
},
- setupPrice: {
- format: "numeric",
- type: "number",
+ accumulatedDepreciationOnDisposalAccount: {
+ format: "text",
+ type: "string",
},
- sentComplete: {
- default: false,
- format: "boolean",
- type: "boolean",
+ inventoryAccount: {
+ format: "text",
+ type: "string",
},
- invoicedComplete: {
- default: false,
- format: "boolean",
- type: "boolean",
+ inventoryInterimAccrualAccount: {
+ format: "text",
+ type: "string",
},
- requiresInspection: {
- default: false,
- format: "boolean",
- type: "boolean",
+ workInProgressAccount: {
+ format: "text",
+ type: "string",
},
- companyId: {
+ receivablesAccount: {
format: "text",
type: "string",
},
- createdAt: {
- default: "now()",
- format: "timestamp with time zone",
+ inventoryShippedNotInvoicedAccount: {
+ format: "text",
type: "string",
},
- createdBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ inventoryInvoicedNotReceivedAccount: {
format: "text",
type: "string",
},
- updatedAt: {
- format: "timestamp with time zone",
+ bankCashAccount: {
+ format: "text",
type: "string",
},
- updatedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ bankLocalCurrencyAccount: {
format: "text",
type: "string",
},
- customFields: {
- format: "jsonb",
+ bankForeignCurrencyAccount: {
+ format: "text",
+ type: "string",
},
- status: {
- default: "Ordered",
- enum: ["Ordered", "In Progress", "Completed"],
- format: 'public."salesOrderLineStatus"',
+ prepaymentAccount: {
+ format: "text",
type: "string",
},
- modelUploadId: {
+ payablesAccount: {
format: "text",
type: "string",
},
- promisedDate: {
- format: "date",
+ inventoryReceivedNotInvoicedAccount: {
+ format: "text",
type: "string",
},
- addOnCost: {
- default: 0,
- format: "numeric",
- type: "number",
+ salesTaxPayableAccount: {
+ format: "text",
+ type: "string",
},
- methodType: {
- default: "Make",
- enum: ["Buy", "Make", "Pick"],
- format: 'public."methodType"',
+ purchaseTaxPayableAccount: {
+ format: "text",
type: "string",
},
- exchangeRate: {
- default: 1,
- format: "numeric",
- type: "number",
+ reverseChargeSalesTaxPayableAccount: {
+ format: "text",
+ type: "string",
},
- convertedUnitPrice: {
- format: "numeric",
- type: "number",
+ retainedEarningsAccount: {
+ format: "text",
+ type: "string",
},
- convertedAddOnCost: {
- format: "numeric",
- type: "number",
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
},
},
type: "object",
},
- salesOrderTransaction: {
- required: ["id", "salesOrderId", "type", "userId", "createdAt"],
+ service: {
+ required: [
+ "id",
+ "serviceType",
+ "approved",
+ "companyId",
+ "createdBy",
+ "createdAt",
+ ],
properties: {
id: {
- default: "public.xid()",
description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- salesOrderId: {
+ itemId: {
description:
- "Note:\nThis is a Foreign Key to `salesOrder.id`.<fk table='salesOrder' column='id'/>",
+ "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
format: "text",
type: "string",
},
- type: {
- enum: [
- "Edit",
- "Favorite",
- "Unfavorite",
- "Approved",
- "Reject",
- "Request Approval",
- ],
- format: 'public."salesOrderTransactionType"',
+ serviceType: {
+ enum: ["Internal", "External"],
+ format: 'public."serviceType"',
type: "string",
},
- userId: {
+ approved: {
+ default: false,
+ format: "boolean",
+ type: "boolean",
+ },
+ approvedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ fromDate: {
+ format: "date",
+ type: "string",
+ },
+ toDate: {
+ format: "date",
+ type: "string",
+ },
+ customFields: {
+ format: "jsonb",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdBy: {
description:
"Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
@@ -41075,84 +43302,135 @@ export default {
format: "timestamp with time zone",
type: "string",
},
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
},
type: "object",
},
- country: {
- required: ["name", "alpha2", "alpha3"],
+ employeeTypePermission: {
+ required: [
+ "employeeTypeId",
+ "module",
+ "create",
+ "delete",
+ "update",
+ "view",
+ "createdAt",
+ ],
properties: {
- name: {
+ employeeTypeId: {
+ description:
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `employeeType.id`.<fk table='employeeType' column='id'/>",
format: "text",
type: "string",
},
- alpha2: {
+ module: {
description: "Note:\nThis is a Primary Key.<pk/>",
- format: "character",
- maxLength: 2,
+ enum: [
+ "Accounting",
+ "Documents",
+ "Invoicing",
+ "Inventory",
+ "Items",
+ "Messaging",
+ "Parts",
+ "People",
+ "Production",
+ "Purchasing",
+ "Resources",
+ "Sales",
+ "Settings",
+ "Users",
+ ],
+ format: "public.module",
type: "string",
},
- alpha3: {
- format: "character",
- maxLength: 3,
+ create: {
+ format: "text[]",
+ items: {
+ type: "string",
+ },
+ type: "array",
+ },
+ delete: {
+ format: "text[]",
+ items: {
+ type: "string",
+ },
+ type: "array",
+ },
+ update: {
+ format: "text[]",
+ items: {
+ type: "string",
+ },
+ type: "array",
+ },
+ view: {
+ format: "text[]",
+ items: {
+ type: "string",
+ },
+ type: "array",
+ },
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ updatedAt: {
+ format: "timestamp with time zone",
type: "string",
},
},
type: "object",
},
- jobMakeMethod: {
- required: [
- "id",
- "jobId",
- "itemId",
- "quantityPerParent",
- "companyId",
- "createdAt",
- "createdBy",
- ],
+ purchaseOrderPayment: {
+ required: ["id", "paymentComplete", "companyId"],
properties: {
id: {
- default: "public.xid()",
description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- jobId: {
+ invoiceSupplierId: {
description:
- "Note:\nThis is a Foreign Key to `job.id`.<fk table='job' column='id'/>",
+ "Note:\nThis is a Foreign Key to `supplier.id`.<fk table='supplier' column='id'/>",
format: "text",
type: "string",
},
- parentMaterialId: {
+ invoiceSupplierLocationId: {
description:
- "Note:\nThis is a Foreign Key to `jobMaterial.id`.<fk table='jobMaterial' column='id'/>",
+ "Note:\nThis is a Foreign Key to `supplierLocation.id`.<fk table='supplierLocation' column='id'/>",
format: "text",
type: "string",
},
- itemId: {
+ invoiceSupplierContactId: {
description:
- "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
+ "Note:\nThis is a Foreign Key to `supplierContact.id`.<fk table='supplierContact' column='id'/>",
format: "text",
type: "string",
},
- quantityPerParent: {
- default: 1,
- format: "numeric",
- type: "number",
- },
- companyId: {
+ paymentTermId: {
description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ "Note:\nThis is a Foreign Key to `paymentTerm.id`.<fk table='paymentTerm' column='id'/>",
format: "text",
type: "string",
},
- createdAt: {
- default: "now()",
- format: "timestamp with time zone",
- type: "string",
+ paymentComplete: {
+ default: false,
+ format: "boolean",
+ type: "boolean",
},
- createdBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ companyId: {
format: "text",
type: "string",
},
@@ -41161,8 +43439,6 @@ export default {
type: "string",
},
updatedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
@@ -41172,8 +43448,8 @@ export default {
},
type: "object",
},
- contact: {
- required: ["id", "email", "companyId"],
+ holiday: {
+ required: ["id", "name", "date", "companyId", "createdBy", "createdAt"],
properties: {
id: {
default: "public.xid()",
@@ -41181,159 +43457,135 @@ export default {
format: "text",
type: "string",
},
- firstName: {
+ name: {
format: "text",
type: "string",
},
- lastName: {
- format: "text",
+ date: {
+ format: "date",
type: "string",
},
- email: {
- format: "text",
- type: "string",
+ year: {
+ format: "integer",
+ type: "integer",
},
- title: {
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
format: "text",
type: "string",
},
- mobilePhone: {
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- homePhone: {
- format: "text",
+ createdAt: {
+ default: "now()",
+ format: "timestamp without time zone",
type: "string",
},
- workPhone: {
- format: "text",
- type: "string",
- },
- fax: {
- format: "text",
- type: "string",
- },
- notes: {
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- companyId: {
- description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
- format: "text",
+ updatedAt: {
+ format: "timestamp without time zone",
type: "string",
},
- externalId: {
+ customFields: {
format: "jsonb",
},
- fullName: {
- format: "text",
- type: "string",
- },
},
type: "object",
},
- userDefaults: {
+ quotes: {
properties: {
- userId: {
+ id: {
description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- companyId: {
- description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ quoteId: {
format: "text",
type: "string",
},
- locationId: {
- description:
- "Note:\nThis is a Foreign Key to `location.id`.<fk table='location' column='id'/>",
- format: "text",
+ revisionId: {
+ format: "integer",
+ type: "integer",
+ },
+ dueDate: {
+ format: "date",
type: "string",
},
- },
- type: "object",
- },
- jobMaterial: {
- required: [
- "id",
- "jobId",
- "itemId",
- "itemReadableId",
- "itemType",
- "methodType",
- "order",
- "description",
- "quantity",
- "scrapQuantity",
- "unitCost",
- "companyId",
- "createdAt",
- "createdBy",
- "jobMakeMethodId",
- ],
- properties: {
- id: {
- default: "public.xid()",
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
+ expirationDate: {
+ format: "date",
type: "string",
},
- jobId: {
+ status: {
+ enum: [
+ "Draft",
+ "Sent",
+ "Ordered",
+ "Partial",
+ "Lost",
+ "Cancelled",
+ "Expired",
+ ],
+ format: 'public."quoteStatus"',
+ type: "string",
+ },
+ salesPersonId: {
description:
- "Note:\nThis is a Foreign Key to `job.id`.<fk table='job' column='id'/>",
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- itemId: {
+ estimatorId: {
description:
- "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- itemReadableId: {
+ customerId: {
+ description:
+ "Note:\nThis is a Foreign Key to `customer.id`.<fk table='customer' column='id'/>",
format: "text",
type: "string",
},
- itemType: {
- default: "Part",
+ customerLocationId: {
+ description:
+ "Note:\nThis is a Foreign Key to `customerLocation.id`.<fk table='customerLocation' column='id'/>",
format: "text",
type: "string",
},
- methodType: {
- default: "Make",
- enum: ["Buy", "Make", "Pick"],
- format: 'public."methodType"',
+ customerContactId: {
+ description:
+ "Note:\nThis is a Foreign Key to `customerContact.id`.<fk table='customerContact' column='id'/>",
+ format: "text",
type: "string",
},
- order: {
- default: 1,
- format: "double precision",
- type: "number",
- },
- description: {
+ customerReference: {
format: "text",
type: "string",
},
- quantity: {
- default: 0,
- format: "numeric",
- type: "number",
- },
- scrapQuantity: {
- default: 0,
- format: "numeric",
- type: "number",
+ locationId: {
+ description:
+ "Note:\nThis is a Foreign Key to `location.id`.<fk table='location' column='id'/>",
+ format: "text",
+ type: "string",
},
- unitOfMeasureCode: {
+ assignee: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- unitCost: {
- default: 0,
- format: "numeric",
- type: "number",
+ customFields: {
+ format: "jsonb",
},
companyId: {
description:
@@ -41342,7 +43594,6 @@ export default {
type: "string",
},
createdAt: {
- default: "now()",
format: "timestamp with time zone",
type: "string",
},
@@ -41362,117 +43613,105 @@ export default {
format: "text",
type: "string",
},
- customFields: {
- format: "jsonb",
+ externalNotes: {
+ format: "json",
},
- jobMakeMethodId: {
- description:
- "Note:\nThis is a Foreign Key to `jobMakeMethod.id`.<fk table='jobMakeMethod' column='id'/>",
- format: "text",
- type: "string",
+ internalNotes: {
+ format: "json",
},
- jobOperationId: {
+ currencyCode: {
description:
- "Note:\nThis is a Foreign Key to `jobOperation.id`.<fk table='jobOperation' column='id'/>",
+ "Note:\nThis is a Foreign Key to `currencyCode.code`.<fk table='currencyCode' column='code'/>",
format: "text",
type: "string",
},
- estimatedQuantity: {
- default: 0,
+ exchangeRate: {
format: "numeric",
type: "number",
},
- },
- type: "object",
- },
- purchaseOrderSuppliers: {
- properties: {
- id: {
- description: "Note:\nThis is a Primary Key.<pk/>",
+ exchangeRateUpdatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ locationName: {
format: "text",
type: "string",
},
- name: {
+ lines: {
+ format: "bigint",
+ type: "integer",
+ },
+ completedLines: {
+ format: "bigint",
+ type: "integer",
+ },
+ favorite: {
+ format: "boolean",
+ type: "boolean",
+ },
+ salesRfqId: {
+ description:
+ "Note:\nThis is a Foreign Key to `salesRfq.id`.<fk table='salesRfq' column='id'/>",
format: "text",
type: "string",
},
- companyId: {
+ salesOrderId: {
description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ "Note:\nThis is a Foreign Key to `salesOrder.id`.<fk table='salesOrder' column='id'/>",
format: "text",
type: "string",
},
},
type: "object",
},
- workCenters: {
+ documentExtensions: {
properties: {
- id: {
- description: "Note:\nThis is a Primary Key.<pk/>",
+ extension: {
format: "text",
type: "string",
},
- name: {
+ },
+ type: "object",
+ },
+ customerPayment: {
+ required: ["customerId", "companyId"],
+ properties: {
+ customerId: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- description: {
+ invoiceCustomerId: {
+ description:
+ "Note:\nThis is a Foreign Key to `customer.id`.<fk table='customer' column='id'/>",
format: "text",
type: "string",
},
- laborRate: {
- format: "numeric",
- type: "number",
- },
- defaultStandardFactor: {
- enum: [
- "Hours/Piece",
- "Hours/100 Pieces",
- "Hours/1000 Pieces",
- "Minutes/Piece",
- "Minutes/100 Pieces",
- "Minutes/1000 Pieces",
- "Pieces/Hour",
- "Pieces/Minute",
- "Seconds/Piece",
- "Total Hours",
- "Total Minutes",
- ],
- format: "public.factor",
- type: "string",
- },
- locationId: {
+ invoiceCustomerLocationId: {
description:
- "Note:\nThis is a Foreign Key to `location.id`.<fk table='location' column='id'/>",
+ "Note:\nThis is a Foreign Key to `customerLocation.id`.<fk table='customerLocation' column='id'/>",
format: "text",
type: "string",
},
- requiredAbilityId: {
+ invoiceCustomerContactId: {
description:
- "Note:\nThis is a Foreign Key to `ability.id`.<fk table='ability' column='id'/>",
+ "Note:\nThis is a Foreign Key to `customerContact.id`.<fk table='customerContact' column='id'/>",
format: "text",
type: "string",
},
- active: {
- format: "boolean",
- type: "boolean",
- },
- companyId: {
+ paymentTermId: {
description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ "Note:\nThis is a Foreign Key to `paymentTerm.id`.<fk table='paymentTerm' column='id'/>",
format: "text",
type: "string",
},
- customFields: {
- format: "jsonb",
- },
- createdBy: {
+ companyId: {
description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
format: "text",
type: "string",
},
- createdAt: {
+ updatedAt: {
format: "timestamp with time zone",
type: "string",
},
@@ -41482,41 +43721,19 @@ export default {
format: "text",
type: "string",
},
- updatedAt: {
- format: "timestamp with time zone",
- type: "string",
- },
- machineRate: {
- format: "numeric",
- type: "number",
- },
- overheadRate: {
- format: "numeric",
- type: "number",
- },
- locationName: {
- format: "text",
- type: "string",
- },
- processes: {
- format: "jsonb",
- },
},
type: "object",
},
- costLedger: {
+ postingGroupPurchasing: {
required: [
"id",
- "entryNumber",
- "postingDate",
- "itemLedgerType",
- "costLedgerType",
- "adjustment",
- "quantity",
- "cost",
- "costPostedToGL",
+ "payablesAccount",
+ "purchaseAccount",
+ "purchaseDiscountAccount",
+ "purchaseCreditAccount",
+ "purchasePrepaymentAccount",
+ "purchaseTaxPayableAccount",
"companyId",
- "createdAt",
],
properties: {
id: {
@@ -41525,126 +43742,65 @@ export default {
format: "text",
type: "string",
},
- entryNumber: {
- format: "integer",
- type: "integer",
- },
- postingDate: {
- default: "CURRENT_DATE",
- format: "date",
+ supplierTypeId: {
+ description:
+ "Note:\nThis is a Foreign Key to `supplierType.id`.<fk table='supplierType' column='id'/>",
+ format: "text",
type: "string",
},
- itemLedgerType: {
- enum: [
- "Purchase",
- "Sale",
- "Positive Adjmt.",
- "Negative Adjmt.",
- "Transfer",
- "Consumption",
- "Output",
- "Assembly Consumption",
- "Assembly Output",
- ],
- format: 'public."itemLedgerType"',
+ itemPostingGroupId: {
+ description:
+ "Note:\nThis is a Foreign Key to `itemPostingGroup.id`.<fk table='itemPostingGroup' column='id'/>",
+ format: "text",
type: "string",
},
- costLedgerType: {
- enum: [
- "Direct Cost",
- "Revaluation",
- "Rounding",
- "Indirect Cost",
- "Variance",
- "Total",
- ],
- format: 'public."costLedgerType"',
+ payablesAccount: {
+ format: "text",
type: "string",
},
- adjustment: {
- default: false,
- format: "boolean",
- type: "boolean",
- },
- documentType: {
- enum: [
- "Sales Shipment",
- "Sales Invoice",
- "Sales Return Receipt",
- "Sales Credit Memo",
- "Purchase Receipt",
- "Purchase Invoice",
- "Purchase Return Shipment",
- "Purchase Credit Memo",
- "Transfer Shipment",
- "Transfer Receipt",
- "Service Shipment",
- "Service Invoice",
- "Service Credit Memo",
- "Posted Assembly",
- "Inventory Receipt",
- "Inventory Shipment",
- "Direct Transfer",
- ],
- format: 'public."itemLedgerDocumentType"',
+ purchaseAccount: {
+ format: "text",
type: "string",
},
- documentId: {
+ purchaseDiscountAccount: {
format: "text",
type: "string",
},
- externalDocumentId: {
+ purchaseCreditAccount: {
format: "text",
type: "string",
},
- itemId: {
+ purchasePrepaymentAccount: {
format: "text",
type: "string",
},
- itemReadableId: {
+ purchaseTaxPayableAccount: {
format: "text",
type: "string",
},
- quantity: {
- default: 0,
- format: "numeric",
- type: "number",
- },
- cost: {
- default: 0,
- format: "numeric",
- type: "number",
- },
- costPostedToGL: {
- default: 0,
- format: "numeric",
- type: "number",
- },
companyId: {
description:
"Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
format: "text",
type: "string",
},
- createdAt: {
- default: "now()",
- format: "timestamp with time zone",
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
type: "string",
},
},
type: "object",
},
- purchaseOrderLine: {
+ accountSubcategory: {
required: [
"id",
- "purchaseOrderId",
- "purchaseOrderLineType",
- "receivedComplete",
- "invoicedComplete",
- "requiresInspection",
- "companyId",
- "createdAt",
+ "name",
+ "accountCategoryId",
+ "active",
"createdBy",
+ "createdAt",
],
properties: {
id: {
@@ -41653,129 +43809,122 @@ export default {
format: "text",
type: "string",
},
- purchaseOrderId: {
- description:
- "Note:\nThis is a Foreign Key to `purchaseOrder.id`.<fk table='purchaseOrder' column='id'/>",
+ name: {
format: "text",
type: "string",
},
- purchaseOrderLineType: {
- enum: [
- "Comment",
- "G/L Account",
- "Fixed Asset",
- "Part",
- "Material",
- "Tool",
- "Service",
- "Consumable",
- "Fixture",
- ],
- format: 'public."purchaseOrderLineType"',
- type: "string",
- },
- itemId: {
+ accountCategoryId: {
description:
- "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
+ "Note:\nThis is a Foreign Key to `accountCategory.id`.<fk table='accountCategory' column='id'/>",
format: "text",
type: "string",
},
- itemReadableId: {
- format: "text",
- type: "string",
+ active: {
+ default: true,
+ format: "boolean",
+ type: "boolean",
},
- accountNumber: {
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- assetId: {
- format: "text",
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
type: "string",
},
- description: {
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- purchaseQuantity: {
- default: 0,
- format: "numeric",
- type: "number",
- },
- quantityToReceive: {
- format: "numeric",
- type: "number",
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
},
- quantityReceived: {
- default: 0,
- format: "numeric",
- type: "number",
+ customFields: {
+ format: "jsonb",
},
- quantityToInvoice: {
- format: "numeric",
- type: "number",
+ },
+ type: "object",
+ },
+ material: {
+ required: [
+ "id",
+ "materialFormId",
+ "materialSubstanceId",
+ "approved",
+ "companyId",
+ "createdBy",
+ "createdAt",
+ ],
+ properties: {
+ id: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
},
- quantityInvoiced: {
- default: 0,
- format: "numeric",
- type: "number",
+ itemId: {
+ description:
+ "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
+ format: "text",
+ type: "string",
},
- unitPrice: {
- format: "numeric",
- type: "number",
+ materialFormId: {
+ description:
+ "Note:\nThis is a Foreign Key to `materialForm.id`.<fk table='materialForm' column='id'/>",
+ format: "text",
+ type: "string",
},
- inventoryUnitOfMeasureCode: {
+ materialSubstanceId: {
+ description:
+ "Note:\nThis is a Foreign Key to `materialSubstance.id`.<fk table='materialSubstance' column='id'/>",
format: "text",
type: "string",
},
- purchaseUnitOfMeasureCode: {
+ grade: {
format: "text",
type: "string",
},
- locationId: {
+ dimensions: {
format: "text",
type: "string",
},
- shelfId: {
- description:
- "Note:\nThis is a Foreign Key to `shelf.id`.<fk table='shelf' column='id'/>",
+ finish: {
format: "text",
type: "string",
},
- setupPrice: {
- format: "numeric",
- type: "number",
- },
- receivedComplete: {
+ approved: {
default: false,
format: "boolean",
type: "boolean",
},
- invoicedComplete: {
- default: false,
- format: "boolean",
- type: "boolean",
+ approvedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
},
- requiresInspection: {
- default: false,
- format: "boolean",
- type: "boolean",
+ customFields: {
+ format: "jsonb",
},
companyId: {
+ description:
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
format: "text",
type: "string",
},
- createdAt: {
- default: "now()",
- format: "timestamp with time zone",
- type: "string",
- },
createdBy: {
description:
"Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- updatedAt: {
+ createdAt: {
+ default: "now()",
format: "timestamp with time zone",
type: "string",
},
@@ -41785,85 +43934,142 @@ export default {
format: "text",
type: "string",
},
- customFields: {
- format: "jsonb",
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
},
- conversionFactor: {
- default: 1,
- format: "numeric",
- type: "number",
+ externalId: {
+ format: "jsonb",
},
},
type: "object",
},
- salesOrderShipment: {
- required: ["id", "dropShipment", "companyId"],
+ supplierPayment: {
+ required: ["supplierId", "companyId"],
properties: {
- id: {
+ supplierId: {
description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- locationId: {
+ invoiceSupplierId: {
description:
- "Note:\nThis is a Foreign Key to `location.id`.<fk table='location' column='id'/>",
+ "Note:\nThis is a Foreign Key to `supplier.id`.<fk table='supplier' column='id'/>",
format: "text",
type: "string",
},
- shippingMethodId: {
+ invoiceSupplierLocationId: {
description:
- "Note:\nThis is a Foreign Key to `shippingMethod.id`.<fk table='shippingMethod' column='id'/>",
+ "Note:\nThis is a Foreign Key to `supplierLocation.id`.<fk table='supplierLocation' column='id'/>",
format: "text",
type: "string",
},
- shippingTermId: {
+ invoiceSupplierContactId: {
description:
- "Note:\nThis is a Foreign Key to `shippingTerm.id`.<fk table='shippingTerm' column='id'/>",
+ "Note:\nThis is a Foreign Key to `supplierContact.id`.<fk table='supplierContact' column='id'/>",
format: "text",
type: "string",
},
- receiptRequestedDate: {
- format: "date",
+ paymentTermId: {
+ description:
+ "Note:\nThis is a Foreign Key to `paymentTerm.id`.<fk table='paymentTerm' column='id'/>",
+ format: "text",
type: "string",
},
- receiptPromisedDate: {
- format: "date",
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
type: "string",
},
- deliveryDate: {
- format: "date",
+ updatedAt: {
+ format: "timestamp with time zone",
type: "string",
},
- notes: {
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- trackingNumber: {
+ customFields: {
+ format: "jsonb",
+ },
+ },
+ type: "object",
+ },
+ currencyCode: {
+ required: ["code", "name"],
+ properties: {
+ code: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- dropShipment: {
- default: false,
- format: "boolean",
- type: "boolean",
+ name: {
+ format: "text",
+ type: "string",
},
- customerId: {
+ },
+ type: "object",
+ },
+ methodMaterial: {
+ required: [
+ "id",
+ "makeMethodId",
+ "methodType",
+ "itemType",
+ "itemId",
+ "quantity",
+ "unitOfMeasureCode",
+ "companyId",
+ "createdAt",
+ "createdBy",
+ "itemReadableId",
+ "order",
+ "scrapQuantity",
+ ],
+ properties: {
+ id: {
+ default: "public.xid()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ makeMethodId: {
description:
- "Note:\nThis is a Foreign Key to `customer.id`.<fk table='customer' column='id'/>",
+ "Note:\nThis is a Foreign Key to `makeMethod.id`.<fk table='makeMethod' column='id'/>",
format: "text",
type: "string",
},
- customerLocationId: {
+ methodType: {
+ default: "Buy",
+ enum: ["Buy", "Make", "Pick"],
+ format: 'public."methodType"',
+ type: "string",
+ },
+ materialMakeMethodId: {
description:
- "Note:\nThis is a Foreign Key to `customerLocation.id`.<fk table='customerLocation' column='id'/>",
+ "Note:\nThis is a Foreign Key to `makeMethod.id`.<fk table='makeMethod' column='id'/>",
format: "text",
type: "string",
},
- supplierId: {
+ itemType: {
+ default: "Material",
format: "text",
type: "string",
},
- supplierLocationId: {
+ itemId: {
+ description:
+ "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ quantity: {
+ format: "numeric",
+ type: "number",
+ },
+ unitOfMeasureCode: {
format: "text",
type: "string",
},
@@ -41873,7 +44079,12 @@ export default {
format: "text",
type: "string",
},
- updatedBy: {
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ createdBy: {
description:
"Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
@@ -41883,19 +44094,43 @@ export default {
format: "timestamp with time zone",
type: "string",
},
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
customFields: {
format: "jsonb",
},
- assignee: {
+ itemReadableId: {
+ format: "text",
+ type: "string",
+ },
+ order: {
+ default: 1,
+ format: "double precision",
+ type: "number",
+ },
+ methodOperationId: {
description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ "Note:\nThis is a Foreign Key to `methodOperation.id`.<fk table='methodOperation' column='id'/>",
format: "text",
type: "string",
},
+ scrapQuantity: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ productionQuantity: {
+ format: "numeric",
+ type: "number",
+ },
},
type: "object",
},
- employeeSummary: {
+ processes: {
properties: {
id: {
description: "Note:\nThis is a Primary Key.<pk/>",
@@ -41906,8 +44141,21 @@ export default {
format: "text",
type: "string",
},
- avatarUrl: {
- format: "text",
+ defaultStandardFactor: {
+ enum: [
+ "Hours/Piece",
+ "Hours/100 Pieces",
+ "Hours/1000 Pieces",
+ "Minutes/Piece",
+ "Minutes/100 Pieces",
+ "Minutes/1000 Pieces",
+ "Pieces/Hour",
+ "Pieces/Minute",
+ "Seconds/Piece",
+ "Total Hours",
+ "Total Minutes",
+ ],
+ format: "public.factor",
type: "string",
},
companyId: {
@@ -41916,68 +44164,90 @@ export default {
format: "text",
type: "string",
},
- title: {
+ customFields: {
+ format: "jsonb",
+ },
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- startDate: {
- format: "date",
+ createdAt: {
+ format: "timestamp with time zone",
type: "string",
},
- departmentName: {
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- locationName: {
- format: "text",
+ updatedAt: {
+ format: "timestamp with time zone",
type: "string",
},
- managerName: {
- format: "text",
+ processType: {
+ enum: ["Inside", "Outside", "Inside and Outside"],
+ format: 'public."processType"',
type: "string",
},
+ workCenters: {
+ format: "jsonb",
+ },
+ suppliers: {
+ format: "jsonb",
+ },
},
type: "object",
},
- shelf: {
+ process: {
required: [
"id",
- "locationId",
- "active",
+ "name",
+ "defaultStandardFactor",
"companyId",
"createdBy",
"createdAt",
- "name",
+ "processType",
],
properties: {
id: {
+ default: "public.xid()",
description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- locationId: {
- description:
- "Note:\nThis is a Foreign Key to `location.id`.<fk table='location' column='id'/>",
+ name: {
format: "text",
type: "string",
},
- warehouseId: {
- description:
- "Note:\nThis is a Foreign Key to `warehouse.id`.<fk table='warehouse' column='id'/>",
- format: "text",
+ defaultStandardFactor: {
+ enum: [
+ "Hours/Piece",
+ "Hours/100 Pieces",
+ "Hours/1000 Pieces",
+ "Minutes/Piece",
+ "Minutes/100 Pieces",
+ "Minutes/1000 Pieces",
+ "Pieces/Hour",
+ "Pieces/Minute",
+ "Seconds/Piece",
+ "Total Hours",
+ "Total Minutes",
+ ],
+ format: "public.factor",
type: "string",
},
- active: {
- default: true,
- format: "boolean",
- type: "boolean",
- },
companyId: {
description:
"Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
format: "text",
type: "string",
},
+ customFields: {
+ format: "jsonb",
+ },
createdBy: {
description:
"Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
@@ -41999,25 +44269,33 @@ export default {
format: "timestamp with time zone",
type: "string",
},
- customFields: {
- format: "jsonb",
- },
- name: {
- format: "text",
+ processType: {
+ default: "Inside",
+ enum: ["Inside", "Outside", "Inside and Outside"],
+ format: 'public."processType"',
type: "string",
},
},
type: "object",
},
- supplierLedger: {
+ quoteMaterial: {
required: [
"id",
- "entryNumber",
- "postingDate",
- "supplierId",
- "amount",
+ "quoteId",
+ "quoteLineId",
+ "itemId",
+ "itemReadableId",
+ "itemType",
+ "methodType",
+ "order",
+ "description",
+ "quantity",
+ "unitCost",
"companyId",
"createdAt",
+ "createdBy",
+ "quoteMakeMethodId",
+ "scrapQuantity",
],
properties: {
id: {
@@ -42026,42 +44304,59 @@ export default {
format: "text",
type: "string",
},
- entryNumber: {
- format: "integer",
- type: "integer",
+ quoteId: {
+ description:
+ "Note:\nThis is a Foreign Key to `quote.id`.<fk table='quote' column='id'/>",
+ format: "text",
+ type: "string",
},
- postingDate: {
- default: "CURRENT_DATE",
- format: "date",
+ quoteLineId: {
+ description:
+ "Note:\nThis is a Foreign Key to `quoteLine.id`.<fk table='quoteLine' column='id'/>",
+ format: "text",
type: "string",
},
- documentType: {
- enum: [
- "Payment",
- "Invoice",
- "Credit Memo",
- "Finance Charge Memo",
- "Reminder",
- "Refund",
- ],
- format: 'public."supplierLedgerDocumentType"',
+ itemId: {
+ description:
+ "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
+ format: "text",
type: "string",
},
- documentId: {
+ itemReadableId: {
format: "text",
type: "string",
},
- externalDocumentId: {
+ itemType: {
+ default: "Part",
format: "text",
type: "string",
},
- supplierId: {
- description:
- "Note:\nThis is a Foreign Key to `supplier.id`.<fk table='supplier' column='id'/>",
+ methodType: {
+ default: "Make",
+ enum: ["Buy", "Make", "Pick"],
+ format: 'public."methodType"',
+ type: "string",
+ },
+ order: {
+ default: 1,
+ format: "double precision",
+ type: "number",
+ },
+ description: {
format: "text",
type: "string",
},
- amount: {
+ quantity: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ unitOfMeasureCode: {
+ format: "text",
+ type: "string",
+ },
+ unitCost: {
+ default: 0,
format: "numeric",
type: "number",
},
@@ -42076,255 +44371,186 @@ export default {
format: "timestamp with time zone",
type: "string",
},
- },
- type: "object",
- },
- holidayYears: {
- properties: {
- year: {
- format: "integer",
- type: "integer",
- },
- companyId: {
+ createdBy: {
description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- },
- type: "object",
- },
- itemUnitSalePrice: {
- required: [
- "itemId",
- "unitSalePrice",
- "currencyCode",
- "salesBlocked",
- "priceIncludesTax",
- "allowInvoiceDiscount",
- "companyId",
- "createdBy",
- "createdAt",
- ],
- properties: {
- itemId: {
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ updatedBy: {
description:
- "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- unitSalePrice: {
- default: 0,
- format: "numeric",
- type: "number",
+ customFields: {
+ format: "jsonb",
},
- currencyCode: {
+ quoteMakeMethodId: {
+ description:
+ "Note:\nThis is a Foreign Key to `quoteMakeMethod.id`.<fk table='quoteMakeMethod' column='id'/>",
format: "text",
type: "string",
},
- salesUnitOfMeasureCode: {
+ quoteOperationId: {
+ description:
+ "Note:\nThis is a Foreign Key to `quoteOperation.id`.<fk table='quoteOperation' column='id'/>",
format: "text",
type: "string",
},
- salesBlocked: {
- default: false,
- format: "boolean",
- type: "boolean",
- },
- priceIncludesTax: {
- default: false,
- format: "boolean",
- type: "boolean",
+ scrapQuantity: {
+ default: 0,
+ format: "numeric",
+ type: "number",
},
- allowInvoiceDiscount: {
- default: true,
- format: "boolean",
- type: "boolean",
+ productionQuantity: {
+ format: "numeric",
+ type: "number",
},
- companyId: {
+ },
+ type: "object",
+ },
+ contractorAbility: {
+ required: ["contractorId", "abilityId", "createdBy", "createdAt"],
+ properties: {
+ contractorId: {
description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `contractor.id`.<fk table='contractor' column='id'/>",
format: "text",
type: "string",
},
- createdBy: {
+ abilityId: {
description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `ability.id`.<fk table='ability' column='id'/>",
format: "text",
type: "string",
},
- createdAt: {
- default: "now()",
- format: "timestamp with time zone",
- type: "string",
- },
- updatedBy: {
+ createdBy: {
description:
"Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- updatedAt: {
+ createdAt: {
+ default: "now()",
format: "timestamp with time zone",
type: "string",
},
- customFields: {
- format: "jsonb",
- },
},
type: "object",
},
- job: {
- required: [
- "id",
- "jobId",
- "itemId",
- "unitOfMeasureCode",
- "locationId",
- "status",
- "deadlineType",
- "quantity",
- "scrapQuantity",
- "quantityComplete",
- "quantityShipped",
- "quantityReceivedToInventory",
- "companyId",
- "createdAt",
- "createdBy",
- ],
+ salesOrderLines: {
properties: {
id: {
- default: "public.xid()",
description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- jobId: {
+ salesOrderId: {
+ description:
+ "Note:\nThis is a Foreign Key to `salesOrder.id`.<fk table='salesOrder' column='id'/>",
format: "text",
type: "string",
},
+ salesOrderLineType: {
+ enum: [
+ "Comment",
+ "Part",
+ "Material",
+ "Tool",
+ "Service",
+ "Consumable",
+ "Fixture",
+ "Fixed Asset",
+ ],
+ format: 'public."salesOrderLineType"',
+ type: "string",
+ },
itemId: {
description:
"Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
format: "text",
type: "string",
},
- unitOfMeasureCode: {
+ itemReadableId: {
format: "text",
type: "string",
},
- customerId: {
- description:
- "Note:\nThis is a Foreign Key to `customer.id`.<fk table='customer' column='id'/>",
+ accountNumber: {
format: "text",
type: "string",
},
- locationId: {
- description:
- "Note:\nThis is a Foreign Key to `location.id`.<fk table='location' column='id'/>",
+ assetId: {
format: "text",
type: "string",
},
- status: {
- default: "Draft",
- enum: [
- "Draft",
- "Ready",
- "In Progress",
- "Paused",
- "Completed",
- "Cancelled",
- ],
- format: 'public."jobStatus"',
- type: "string",
- },
- dueDate: {
- format: "date",
- type: "string",
- },
- deadlineType: {
- default: "No Deadline",
- enum: ["No Deadline", "ASAP", "Soft Deadline", "Hard Deadline"],
- format: 'public."deadlineType"',
+ description: {
+ format: "text",
type: "string",
},
- quantity: {
- default: 0,
+ saleQuantity: {
format: "numeric",
type: "number",
},
- scrapQuantity: {
- default: 0,
+ quantityToSend: {
format: "numeric",
type: "number",
},
- productionQuantity: {
+ quantitySent: {
format: "numeric",
type: "number",
},
- quantityComplete: {
- default: 0,
+ quantityToInvoice: {
format: "numeric",
type: "number",
},
- quantityShipped: {
- default: 0,
+ quantityInvoiced: {
format: "numeric",
type: "number",
},
- quantityReceivedToInventory: {
- default: 0,
+ unitPrice: {
format: "numeric",
type: "number",
},
- salesOrderId: {
- description:
- "Note:\nThis is a Foreign Key to `salesOrder.id`.<fk table='salesOrder' column='id'/>",
- format: "text",
- type: "string",
- },
- salesOrderLineId: {
- description:
- "Note:\nThis is a Foreign Key to `salesOrderLine.id`.<fk table='salesOrderLine' column='id'/>",
+ unitOfMeasureCode: {
format: "text",
type: "string",
},
- quoteId: {
- description:
- "Note:\nThis is a Foreign Key to `quote.id`.<fk table='quote' column='id'/>",
+ locationId: {
format: "text",
type: "string",
},
- quoteLineId: {
+ shelfId: {
description:
- "Note:\nThis is a Foreign Key to `quoteLine.id`.<fk table='quoteLine' column='id'/>",
+ "Note:\nThis is a Foreign Key to `shelf.id`.<fk table='shelf' column='id'/>",
format: "text",
type: "string",
},
- modelUploadId: {
- format: "text",
- type: "string",
+ setupPrice: {
+ format: "numeric",
+ type: "number",
},
- notes: {
- format: "jsonb",
+ sentComplete: {
+ format: "boolean",
+ type: "boolean",
},
- assignee: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
+ invoicedComplete: {
+ format: "boolean",
+ type: "boolean",
},
- customFields: {
- format: "jsonb",
+ requiresInspection: {
+ format: "boolean",
+ type: "boolean",
},
companyId: {
- description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
format: "text",
type: "string",
},
createdAt: {
- default: "now()",
format: "timestamp with time zone",
type: "string",
},
@@ -42344,208 +44570,265 @@ export default {
format: "text",
type: "string",
},
- },
- type: "object",
- },
- purchaseOrderFavorite: {
- required: ["purchaseOrderId", "userId"],
- properties: {
- purchaseOrderId: {
- description:
- "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `purchaseOrder.id`.<fk table='purchaseOrder' column='id'/>",
- format: "text",
+ customFields: {
+ format: "jsonb",
+ },
+ status: {
+ enum: ["Ordered", "In Progress", "Completed"],
+ format: 'public."salesOrderLineStatus"',
type: "string",
},
- userId: {
- description:
- "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ modelUploadId: {
format: "text",
type: "string",
},
- },
- type: "object",
- },
- consumables: {
- properties: {
- active: {
- format: "boolean",
- type: "boolean",
- },
- assignee: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
+ promisedDate: {
+ format: "date",
type: "string",
},
- defaultMethodType: {
+ addOnCost: {
+ format: "numeric",
+ type: "number",
+ },
+ methodType: {
enum: ["Buy", "Make", "Pick"],
format: 'public."methodType"',
type: "string",
},
- description: {
- format: "text",
- type: "string",
- },
- itemTrackingType: {
- enum: ["Inventory", "Non-Inventory"],
- format: 'public."itemTrackingType"',
- type: "string",
+ exchangeRate: {
+ format: "numeric",
+ type: "number",
},
- name: {
- format: "text",
- type: "string",
+ convertedUnitPrice: {
+ format: "numeric",
+ type: "number",
},
- replenishmentSystem: {
- enum: ["Buy", "Make", "Buy and Make"],
- format: 'public."itemReplenishmentSystem"',
- type: "string",
+ convertedAddOnCost: {
+ format: "numeric",
+ type: "number",
},
thumbnailPath: {
format: "text",
type: "string",
},
- unitOfMeasureCode: {
+ modelId: {
format: "text",
type: "string",
},
- id: {
- description: "Note:\nThis is a Primary Key.<pk/>",
+ autodeskUrn: {
format: "text",
type: "string",
},
- itemId: {
- description:
- "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
+ modelPath: {
format: "text",
type: "string",
},
- approved: {
- format: "boolean",
- type: "boolean",
- },
- approvedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ modelName: {
format: "text",
type: "string",
},
- customFields: {
- format: "jsonb",
+ modelSize: {
+ format: "bigint",
+ type: "integer",
},
- companyId: {
- description:
- "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ unitCost: {
+ format: "numeric",
+ type: "number",
+ },
+ customerPartId: {
format: "text",
type: "string",
},
- createdBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ customerPartRevision: {
format: "text",
type: "string",
},
- createdAt: {
- format: "timestamp with time zone",
+ },
+ type: "object",
+ },
+ jobOperation: {
+ required: [
+ "id",
+ "jobId",
+ "order",
+ "processId",
+ "setupTime",
+ "setupUnit",
+ "laborTime",
+ "laborUnit",
+ "machineTime",
+ "machineUnit",
+ "operationOrder",
+ "laborRate",
+ "overheadRate",
+ "operationType",
+ "operationMinimumCost",
+ "operationLeadTime",
+ "operationUnitCost",
+ "workInstruction",
+ "companyId",
+ "createdAt",
+ "createdBy",
+ "status",
+ "priority",
+ ],
+ properties: {
+ id: {
+ default: "public.xid()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
type: "string",
},
- updatedBy: {
+ jobId: {
description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ "Note:\nThis is a Foreign Key to `job.id`.<fk table='job' column='id'/>",
format: "text",
type: "string",
},
- updatedAt: {
- format: "timestamp with time zone",
- type: "string",
- },
- externalId: {
- format: "jsonb",
- },
- supplierIds: {
+ jobMakeMethodId: {
+ description:
+ "Note:\nThis is a Foreign Key to `jobMakeMethod.id`.<fk table='jobMakeMethod' column='id'/>",
format: "text",
type: "string",
},
- unitOfMeasure: {
- format: "text",
- type: "string",
+ order: {
+ default: 1,
+ format: "double precision",
+ type: "number",
},
- },
- type: "object",
- },
- quoteFavorite: {
- required: ["quoteId", "userId"],
- properties: {
- quoteId: {
+ processId: {
description:
- "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `quote.id`.<fk table='quote' column='id'/>",
+ "Note:\nThis is a Foreign Key to `process.id`.<fk table='process' column='id'/>",
format: "text",
type: "string",
},
- userId: {
+ workCenterId: {
description:
- "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ "Note:\nThis is a Foreign Key to `workCenter.id`.<fk table='workCenter' column='id'/>",
format: "text",
type: "string",
},
- },
- type: "object",
- },
- shifts: {
- properties: {
- id: {
- description: "Note:\nThis is a Primary Key.<pk/>",
+ description: {
format: "text",
type: "string",
},
- name: {
- format: "text",
+ setupTime: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ setupUnit: {
+ default: "Total Hours",
+ enum: [
+ "Hours/Piece",
+ "Hours/100 Pieces",
+ "Hours/1000 Pieces",
+ "Minutes/Piece",
+ "Minutes/100 Pieces",
+ "Minutes/1000 Pieces",
+ "Pieces/Hour",
+ "Pieces/Minute",
+ "Seconds/Piece",
+ "Total Hours",
+ "Total Minutes",
+ ],
+ format: "public.factor",
type: "string",
},
- startTime: {
- format: "time without time zone",
+ laborTime: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ laborUnit: {
+ default: "Hours/Piece",
+ enum: [
+ "Hours/Piece",
+ "Hours/100 Pieces",
+ "Hours/1000 Pieces",
+ "Minutes/Piece",
+ "Minutes/100 Pieces",
+ "Minutes/1000 Pieces",
+ "Pieces/Hour",
+ "Pieces/Minute",
+ "Seconds/Piece",
+ "Total Hours",
+ "Total Minutes",
+ ],
+ format: "public.factor",
type: "string",
},
- endTime: {
- format: "time without time zone",
+ machineTime: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ machineUnit: {
+ default: "Hours/Piece",
+ enum: [
+ "Hours/Piece",
+ "Hours/100 Pieces",
+ "Hours/1000 Pieces",
+ "Minutes/Piece",
+ "Minutes/100 Pieces",
+ "Minutes/1000 Pieces",
+ "Pieces/Hour",
+ "Pieces/Minute",
+ "Seconds/Piece",
+ "Total Hours",
+ "Total Minutes",
+ ],
+ format: "public.factor",
type: "string",
},
- locationId: {
- description:
- "Note:\nThis is a Foreign Key to `location.id`.<fk table='location' column='id'/>",
- format: "text",
+ operationOrder: {
+ default: "After Previous",
+ enum: ["After Previous", "With Previous"],
+ format: 'public."methodOperationOrder"',
type: "string",
},
- sunday: {
- format: "boolean",
- type: "boolean",
+ laborRate: {
+ default: 0,
+ format: "numeric",
+ type: "number",
},
- monday: {
- format: "boolean",
- type: "boolean",
+ overheadRate: {
+ default: 0,
+ format: "numeric",
+ type: "number",
},
- tuesday: {
- format: "boolean",
- type: "boolean",
+ machineRate: {
+ default: 0,
+ format: "numeric",
+ type: "number",
},
- wednesday: {
- format: "boolean",
- type: "boolean",
+ operationType: {
+ default: "Inside",
+ enum: ["Inside", "Outside"],
+ format: 'public."operationType"',
+ type: "string",
},
- thursday: {
- format: "boolean",
- type: "boolean",
+ operationMinimumCost: {
+ default: 0,
+ format: "numeric",
+ type: "number",
},
- friday: {
- format: "boolean",
- type: "boolean",
+ operationLeadTime: {
+ default: 0,
+ format: "numeric",
+ type: "number",
},
- saturday: {
- format: "boolean",
- type: "boolean",
+ operationUnitCost: {
+ default: 0,
+ format: "numeric",
+ type: "number",
},
- active: {
- format: "boolean",
- type: "boolean",
+ operationSupplierProcessId: {
+ format: "text",
+ type: "string",
+ },
+ workInstruction: {
+ format: "json",
},
companyId: {
description:
@@ -42553,14 +44836,19 @@ export default {
format: "text",
type: "string",
},
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
+ type: "string",
+ },
createdBy: {
description:
"Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- createdAt: {
- format: "timestamp without time zone",
+ updatedAt: {
+ format: "timestamp with time zone",
type: "string",
},
updatedBy: {
@@ -42569,160 +44857,166 @@ export default {
format: "text",
type: "string",
},
- updatedAt: {
- format: "timestamp without time zone",
- type: "string",
- },
customFields: {
format: "jsonb",
},
- locationName: {
- format: "text",
+ operationQuantity: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ quantityComplete: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ quantityScrapped: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ quantityReworked: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ status: {
+ default: "Todo",
+ enum: [
+ "Canceled",
+ "Done",
+ "In Progress",
+ "Paused",
+ "Ready",
+ "Todo",
+ "Waiting",
+ ],
+ format: 'public."jobOperationStatus"',
type: "string",
},
+ priority: {
+ default: 1,
+ format: "double precision",
+ type: "number",
+ },
},
type: "object",
},
- purchaseOrderLocations: {
+ journalLine: {
+ required: [
+ "id",
+ "journalId",
+ "accountNumber",
+ "amount",
+ "quantity",
+ "journalLineReference",
+ "accrual",
+ "companyId",
+ "createdAt",
+ ],
properties: {
id: {
+ default: "public.xid()",
description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- supplierName: {
- format: "text",
- type: "string",
+ journalId: {
+ format: "integer",
+ type: "integer",
},
- supplierAddressLine1: {
+ accountNumber: {
format: "text",
type: "string",
},
- supplierAddressLine2: {
+ description: {
format: "text",
type: "string",
},
- supplierCity: {
- format: "text",
- type: "string",
+ amount: {
+ format: "numeric",
+ type: "number",
},
- supplierStateProvince: {
- format: "text",
- type: "string",
+ quantity: {
+ default: 1,
+ format: "numeric",
+ type: "number",
},
- supplierPostalCode: {
- format: "text",
+ documentType: {
+ enum: [
+ "Receipt",
+ "Invoice",
+ "Credit Memo",
+ "Blanket Order",
+ "Return Order",
+ ],
+ format: 'public."journalLineDocumentType"',
type: "string",
},
- supplierCountryCode: {
- description:
- "Note:\nThis is a Foreign Key to `country.alpha2`.<fk table='country' column='alpha2'/>",
+ documentId: {
format: "text",
type: "string",
},
- supplierCountryName: {
+ externalDocumentId: {
format: "text",
type: "string",
},
- deliveryName: {
+ journalLineReference: {
format: "text",
type: "string",
},
- deliveryAddressLine1: {
+ documentLineReference: {
format: "text",
type: "string",
},
- deliveryAddressLine2: {
- format: "text",
- type: "string",
- },
- deliveryCity: {
- format: "text",
- type: "string",
- },
- deliveryStateProvince: {
- format: "text",
- type: "string",
- },
- deliveryPostalCode: {
- format: "text",
- type: "string",
- },
- deliveryCountryCode: {
- format: "text",
- type: "string",
- },
- deliveryCountryName: {
- format: "text",
- type: "string",
- },
- dropShipment: {
+ accrual: {
+ default: false,
format: "boolean",
type: "boolean",
},
- customerName: {
- format: "text",
- type: "string",
- },
- customerAddressLine1: {
- format: "text",
- type: "string",
- },
- customerAddressLine2: {
- format: "text",
- type: "string",
- },
- customerCity: {
- format: "text",
- type: "string",
- },
- customerStateProvince: {
- format: "text",
- type: "string",
- },
- customerPostalCode: {
- format: "text",
- type: "string",
- },
- customerCountryCode: {
+ companyId: {
description:
- "Note:\nThis is a Foreign Key to `country.alpha2`.<fk table='country' column='alpha2'/>",
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
format: "text",
type: "string",
},
- customerCountryName: {
- format: "text",
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
type: "string",
},
+ customFields: {
+ format: "jsonb",
+ },
},
type: "object",
},
- quoteLines: {
+ purchaseOrderLines: {
properties: {
id: {
description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- quoteId: {
+ purchaseOrderId: {
description:
- "Note:\nThis is a Foreign Key to `quote.id`.<fk table='quote' column='id'/>",
+ "Note:\nThis is a Foreign Key to `purchaseOrder.id`.<fk table='purchaseOrder' column='id'/>",
format: "text",
type: "string",
},
- quoteRevisionId: {
- format: "integer",
- type: "integer",
- },
- status: {
- enum: ["Not Started", "In Progress", "Complete", "No Quote"],
- format: 'public."quoteLineStatus"',
- type: "string",
- },
- estimatorId: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
+ purchaseOrderLineType: {
+ enum: [
+ "Comment",
+ "G/L Account",
+ "Fixed Asset",
+ "Part",
+ "Material",
+ "Tool",
+ "Service",
+ "Consumable",
+ "Fixture",
+ ],
+ format: 'public."purchaseOrderLineType"',
type: "string",
},
itemId: {
@@ -42735,167 +45029,81 @@ export default {
format: "text",
type: "string",
},
- itemType: {
- format: "text",
- type: "string",
- },
- description: {
- format: "text",
- type: "string",
- },
- customerPartId: {
- format: "text",
- type: "string",
- },
- customerPartRevision: {
- format: "text",
- type: "string",
- },
- methodType: {
- enum: ["Buy", "Make", "Pick"],
- format: 'public."methodType"',
- type: "string",
- },
- unitOfMeasureCode: {
- format: "text",
- type: "string",
- },
- notes: {
- format: "json",
- },
- companyId: {
- description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
- format: "text",
- type: "string",
- },
- createdBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- updatedAt: {
- format: "timestamp with time zone",
- type: "string",
- },
- updatedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- customFields: {
- format: "jsonb",
- },
- modelUploadId: {
- format: "text",
- type: "string",
- },
- quantity: {
- format: "numeric[]",
- items: {
- type: "number",
- },
- type: "array",
- },
- additionalCharges: {
- format: "jsonb",
- },
- locationId: {
- description:
- "Note:\nThis is a Foreign Key to `location.id`.<fk table='location' column='id'/>",
+ accountNumber: {
format: "text",
type: "string",
},
- noQuoteReason: {
+ assetId: {
format: "text",
type: "string",
},
- thumbnailPath: {
+ description: {
format: "text",
type: "string",
},
- modelId: {
- format: "text",
- type: "string",
+ purchaseQuantity: {
+ format: "numeric",
+ type: "number",
},
- autodeskUrn: {
- format: "text",
- type: "string",
+ quantityToReceive: {
+ format: "numeric",
+ type: "number",
},
- modelPath: {
- format: "text",
- type: "string",
+ quantityReceived: {
+ format: "numeric",
+ type: "number",
},
- modelName: {
- format: "text",
- type: "string",
+ quantityToInvoice: {
+ format: "numeric",
+ type: "number",
},
- modelSize: {
- format: "bigint",
- type: "integer",
+ quantityInvoiced: {
+ format: "numeric",
+ type: "number",
},
- unitCost: {
+ unitPrice: {
format: "numeric",
type: "number",
},
- },
- type: "object",
- },
- customer: {
- required: ["id", "name", "companyId", "createdAt"],
- properties: {
- id: {
- default: "extensions.uuid_generate_v4()",
- description: "Note:\nThis is a Primary Key.<pk/>",
+ inventoryUnitOfMeasureCode: {
format: "text",
type: "string",
},
- name: {
+ purchaseUnitOfMeasureCode: {
format: "text",
type: "string",
},
- customerTypeId: {
- description:
- "Note:\nThis is a Foreign Key to `customerType.id`.<fk table='customerType' column='id'/>",
+ locationId: {
format: "text",
type: "string",
},
- customerStatusId: {
+ shelfId: {
description:
- "Note:\nThis is a Foreign Key to `customerStatus.id`.<fk table='customerStatus' column='id'/>",
+ "Note:\nThis is a Foreign Key to `shelf.id`.<fk table='shelf' column='id'/>",
format: "text",
type: "string",
},
- taxId: {
- format: "text",
- type: "string",
+ setupPrice: {
+ format: "numeric",
+ type: "number",
},
- accountManagerId: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
+ receivedComplete: {
+ format: "boolean",
+ type: "boolean",
},
- logo: {
- format: "text",
- type: "string",
+ invoicedComplete: {
+ format: "boolean",
+ type: "boolean",
},
- assignee: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
+ requiresInspection: {
+ format: "boolean",
+ type: "boolean",
},
companyId: {
- description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
format: "text",
type: "string",
},
createdAt: {
- default: "now()",
format: "timestamp with time zone",
type: "string",
},
@@ -42918,41 +45126,33 @@ export default {
customFields: {
format: "jsonb",
},
- currencyCode: {
+ conversionFactor: {
+ format: "numeric",
+ type: "number",
+ },
+ supplierId: {
description:
- "Note:\nThis is a Foreign Key to `currencyCode.code`.<fk table='currencyCode' column='code'/>",
+ "Note:\nThis is a Foreign Key to `supplier.id`.<fk table='supplier' column='id'/>",
format: "text",
type: "string",
},
- phone: {
+ itemName: {
format: "text",
type: "string",
},
- fax: {
+ itemDescription: {
format: "text",
type: "string",
},
- website: {
+ supplierPartId: {
format: "text",
type: "string",
},
- externalId: {
- format: "jsonb",
- },
},
type: "object",
},
- note: {
- required: [
- "id",
- "documentId",
- "note",
- "noteRichText",
- "active",
- "companyId",
- "createdAt",
- "createdBy",
- ],
+ materialForm: {
+ required: ["id", "name", "createdBy", "createdAt"],
properties: {
id: {
default: "public.xid()",
@@ -42960,25 +45160,22 @@ export default {
format: "text",
type: "string",
},
- documentId: {
+ name: {
format: "text",
type: "string",
},
- note: {
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
format: "text",
type: "string",
},
- noteRichText: {
+ customFields: {
format: "jsonb",
},
- active: {
- default: true,
- format: "boolean",
- type: "boolean",
- },
- companyId: {
+ createdBy: {
description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
@@ -42987,7 +45184,7 @@ export default {
format: "timestamp with time zone",
type: "string",
},
- createdBy: {
+ updatedBy: {
description:
"Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
@@ -43000,18 +45197,17 @@ export default {
},
type: "object",
},
- workCenter: {
+ item: {
required: [
"id",
+ "readableId",
"name",
- "laborRate",
- "defaultStandardFactor",
+ "type",
+ "replenishmentSystem",
+ "itemTrackingType",
"active",
- "companyId",
"createdBy",
"createdAt",
- "machineRate",
- "overheadRate",
],
properties: {
id: {
@@ -43020,6 +45216,10 @@ export default {
format: "text",
type: "string",
},
+ readableId: {
+ format: "text",
+ type: "string",
+ },
name: {
format: "text",
type: "string",
@@ -43028,38 +45228,36 @@ export default {
format: "text",
type: "string",
},
- laborRate: {
- default: 0,
- format: "numeric",
- type: "number",
- },
- defaultStandardFactor: {
- default: "Minutes/Piece",
+ type: {
enum: [
- "Hours/Piece",
- "Hours/100 Pieces",
- "Hours/1000 Pieces",
- "Minutes/Piece",
- "Minutes/100 Pieces",
- "Minutes/1000 Pieces",
- "Pieces/Hour",
- "Pieces/Minute",
- "Seconds/Piece",
- "Total Hours",
- "Total Minutes",
+ "Part",
+ "Material",
+ "Tool",
+ "Service",
+ "Consumable",
+ "Fixture",
],
- format: "public.factor",
+ format: 'public."itemType"',
type: "string",
},
- locationId: {
- description:
- "Note:\nThis is a Foreign Key to `location.id`.<fk table='location' column='id'/>",
- format: "text",
+ replenishmentSystem: {
+ default: "Buy",
+ enum: ["Buy", "Make", "Buy and Make"],
+ format: 'public."itemReplenishmentSystem"',
type: "string",
},
- requiredAbilityId: {
- description:
- "Note:\nThis is a Foreign Key to `ability.id`.<fk table='ability' column='id'/>",
+ defaultMethodType: {
+ default: "Buy",
+ enum: ["Buy", "Make", "Pick"],
+ format: 'public."methodType"',
+ type: "string",
+ },
+ itemTrackingType: {
+ enum: ["Inventory", "Non-Inventory"],
+ format: 'public."itemTrackingType"',
+ type: "string",
+ },
+ unitOfMeasureCode: {
format: "text",
type: "string",
},
@@ -43074,9 +45272,6 @@ export default {
format: "text",
type: "string",
},
- customFields: {
- format: "jsonb",
- },
createdBy: {
description:
"Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
@@ -43098,99 +45293,105 @@ export default {
format: "timestamp with time zone",
type: "string",
},
- machineRate: {
- default: 0,
- format: "numeric",
- type: "number",
+ assignee: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
},
- overheadRate: {
- default: 0,
- format: "numeric",
- type: "number",
+ modelUploadId: {
+ format: "text",
+ type: "string",
+ },
+ externalId: {
+ format: "jsonb",
+ },
+ thumbnailPath: {
+ format: "text",
+ type: "string",
},
},
type: "object",
},
- tool: {
- required: ["id", "approved", "companyId", "createdBy", "createdAt"],
+ receipt: {
+ required: [
+ "id",
+ "receiptId",
+ "status",
+ "companyId",
+ "createdAt",
+ "createdBy",
+ ],
properties: {
id: {
+ default: "public.xid()",
description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- itemId: {
- description:
- "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
+ receiptId: {
format: "text",
type: "string",
},
- approved: {
- default: false,
- format: "boolean",
- type: "boolean",
- },
- approvedBy: {
+ locationId: {
description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ "Note:\nThis is a Foreign Key to `location.id`.<fk table='location' column='id'/>",
format: "text",
type: "string",
},
- customFields: {
- format: "jsonb",
+ sourceDocument: {
+ enum: [
+ "Sales Order",
+ "Sales Invoice",
+ "Sales Return Order",
+ "Purchase Order",
+ "Purchase Invoice",
+ "Purchase Return Order",
+ "Inbound Transfer",
+ "Outbound Transfer",
+ "Manufacturing Consumption",
+ "Manufacturing Output",
+ ],
+ format: 'public."receiptSourceDocument"',
+ type: "string",
},
- companyId: {
- description:
- "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ sourceDocumentId: {
format: "text",
type: "string",
},
- createdBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ sourceDocumentReadableId: {
format: "text",
type: "string",
},
- createdAt: {
- default: "now()",
- format: "timestamp with time zone",
+ externalDocumentId: {
+ format: "text",
type: "string",
},
- updatedBy: {
+ supplierId: {
description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ "Note:\nThis is a Foreign Key to `supplier.id`.<fk table='supplier' column='id'/>",
format: "text",
type: "string",
},
- updatedAt: {
- format: "timestamp with time zone",
- type: "string",
- },
- externalId: {
- format: "jsonb",
- },
- },
- type: "object",
- },
- accountCategories: {
- properties: {
- id: {
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
+ status: {
+ default: "Draft",
+ enum: ["Draft", "Pending", "Posted"],
+ format: 'public."receiptStatus"',
type: "string",
},
- category: {
- format: "text",
+ postingDate: {
+ format: "date",
type: "string",
},
- class: {
- enum: ["Asset", "Liability", "Equity", "Revenue", "Expense"],
- format: 'public."glAccountClass"',
- type: "string",
+ invoiced: {
+ default: false,
+ format: "boolean",
+ type: "boolean",
},
- incomeBalance: {
- enum: ["Balance Sheet", "Income Statement"],
- format: 'public."glIncomeBalance"',
+ assignee: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
type: "string",
},
companyId: {
@@ -43199,13 +45400,18 @@ export default {
format: "text",
type: "string",
},
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
+ type: "string",
+ },
createdBy: {
description:
"Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- createdAt: {
+ updatedAt: {
format: "timestamp with time zone",
type: "string",
},
@@ -43215,102 +45421,108 @@ export default {
format: "text",
type: "string",
},
- updatedAt: {
- format: "timestamp with time zone",
- type: "string",
- },
customFields: {
format: "jsonb",
},
- subCategoriesCount: {
- format: "bigint",
- type: "integer",
- },
},
type: "object",
},
- quotePayment: {
- required: ["id", "companyId"],
+ purchaseOrderTransaction: {
+ required: ["id", "purchaseOrderId", "type", "userId", "createdAt"],
properties: {
id: {
+ default: "public.xid()",
description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- invoiceCustomerId: {
+ purchaseOrderId: {
description:
- "Note:\nThis is a Foreign Key to `customer.id`.<fk table='customer' column='id'/>",
+ "Note:\nThis is a Foreign Key to `purchaseOrder.id`.<fk table='purchaseOrder' column='id'/>",
format: "text",
type: "string",
},
- invoiceCustomerLocationId: {
- description:
- "Note:\nThis is a Foreign Key to `customerLocation.id`.<fk table='customerLocation' column='id'/>",
- format: "text",
+ type: {
+ enum: [
+ "Edit",
+ "Favorite",
+ "Unfavorite",
+ "Approved",
+ "Reject",
+ "Request Approval",
+ ],
+ format: 'public."purchaseOrderTransactionType"',
type: "string",
},
- invoiceCustomerContactId: {
+ userId: {
description:
- "Note:\nThis is a Foreign Key to `customerContact.id`.<fk table='customerContact' column='id'/>",
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- paymentTermId: {
- description:
- "Note:\nThis is a Foreign Key to `paymentTerm.id`.<fk table='paymentTerm' column='id'/>",
- format: "text",
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
type: "string",
},
- companyId: {
- description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ },
+ type: "object",
+ },
+ supplierLocation: {
+ required: ["id", "supplierId", "addressId", "name"],
+ properties: {
+ id: {
+ default: "public.xid()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- updatedAt: {
- format: "timestamp with time zone",
+ supplierId: {
+ description:
+ "Note:\nThis is a Foreign Key to `supplier.id`.<fk table='supplier' column='id'/>",
+ format: "text",
type: "string",
},
- updatedBy: {
+ addressId: {
+ description:
+ "Note:\nThis is a Foreign Key to `address.id`.<fk table='address' column='id'/>",
format: "text",
type: "string",
},
customFields: {
format: "jsonb",
},
+ name: {
+ format: "text",
+ type: "string",
+ },
},
type: "object",
},
- accountCategory: {
+ contractor: {
required: [
"id",
- "category",
- "class",
- "incomeBalance",
+ "hoursPerWeek",
+ "active",
"companyId",
"createdBy",
"createdAt",
],
properties: {
id: {
- default: "public.xid()",
description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- category: {
- format: "text",
- type: "string",
- },
- class: {
- enum: ["Asset", "Liability", "Equity", "Revenue", "Expense"],
- format: 'public."glAccountClass"',
- type: "string",
+ hoursPerWeek: {
+ default: 0,
+ format: "integer",
+ type: "integer",
},
- incomeBalance: {
- enum: ["Balance Sheet", "Income Statement"],
- format: 'public."glIncomeBalance"',
- type: "string",
+ active: {
+ default: true,
+ format: "boolean",
+ type: "boolean",
},
companyId: {
description:
@@ -43345,95 +45557,159 @@ export default {
},
type: "object",
},
- salesOrders: {
+ jobOperationsWithMakeMethods: {
properties: {
- id: {
+ makeMethodId: {
description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- salesOrderId: {
+ id: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- revisionId: {
- format: "integer",
- type: "integer",
- },
- status: {
- enum: [
- "Draft",
- "Needs Approval",
- "Confirmed",
- "In Progress",
- "Completed",
- "Invoiced",
- "Cancelled",
- "Closed",
- ],
- format: 'public."salesOrderStatus"',
- type: "string",
- },
- orderDate: {
- format: "date",
- type: "string",
- },
- notes: {
+ jobId: {
+ description:
+ "Note:\nThis is a Foreign Key to `job.id`.<fk table='job' column='id'/>",
format: "text",
type: "string",
},
- currencyCode: {
+ jobMakeMethodId: {
description:
- "Note:\nThis is a Foreign Key to `currencyCode.code`.<fk table='currencyCode' column='code'/>",
+ "Note:\nThis is a Foreign Key to `jobMakeMethod.id`.<fk table='jobMakeMethod' column='id'/>",
format: "text",
type: "string",
},
- customerId: {
+ order: {
+ format: "double precision",
+ type: "number",
+ },
+ processId: {
description:
- "Note:\nThis is a Foreign Key to `customer.id`.<fk table='customer' column='id'/>",
+ "Note:\nThis is a Foreign Key to `process.id`.<fk table='process' column='id'/>",
format: "text",
type: "string",
},
- customerLocationId: {
+ workCenterId: {
description:
- "Note:\nThis is a Foreign Key to `customerLocation.id`.<fk table='customerLocation' column='id'/>",
+ "Note:\nThis is a Foreign Key to `workCenter.id`.<fk table='workCenter' column='id'/>",
format: "text",
type: "string",
},
- customerContactId: {
- description:
- "Note:\nThis is a Foreign Key to `customerContact.id`.<fk table='customerContact' column='id'/>",
+ description: {
format: "text",
type: "string",
},
- customerReference: {
- format: "text",
+ setupTime: {
+ format: "numeric",
+ type: "number",
+ },
+ setupUnit: {
+ enum: [
+ "Hours/Piece",
+ "Hours/100 Pieces",
+ "Hours/1000 Pieces",
+ "Minutes/Piece",
+ "Minutes/100 Pieces",
+ "Minutes/1000 Pieces",
+ "Pieces/Hour",
+ "Pieces/Minute",
+ "Seconds/Piece",
+ "Total Hours",
+ "Total Minutes",
+ ],
+ format: "public.factor",
type: "string",
},
- assignee: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
+ laborTime: {
+ format: "numeric",
+ type: "number",
+ },
+ laborUnit: {
+ enum: [
+ "Hours/Piece",
+ "Hours/100 Pieces",
+ "Hours/1000 Pieces",
+ "Minutes/Piece",
+ "Minutes/100 Pieces",
+ "Minutes/1000 Pieces",
+ "Pieces/Hour",
+ "Pieces/Minute",
+ "Seconds/Piece",
+ "Total Hours",
+ "Total Minutes",
+ ],
+ format: "public.factor",
type: "string",
},
- companyId: {
- description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
- format: "text",
+ machineTime: {
+ format: "numeric",
+ type: "number",
+ },
+ machineUnit: {
+ enum: [
+ "Hours/Piece",
+ "Hours/100 Pieces",
+ "Hours/1000 Pieces",
+ "Minutes/Piece",
+ "Minutes/100 Pieces",
+ "Minutes/1000 Pieces",
+ "Pieces/Hour",
+ "Pieces/Minute",
+ "Seconds/Piece",
+ "Total Hours",
+ "Total Minutes",
+ ],
+ format: "public.factor",
type: "string",
},
- closedAt: {
- format: "date",
+ operationOrder: {
+ enum: ["After Previous", "With Previous"],
+ format: 'public."methodOperationOrder"',
type: "string",
},
- closedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ laborRate: {
+ format: "numeric",
+ type: "number",
+ },
+ overheadRate: {
+ format: "numeric",
+ type: "number",
+ },
+ machineRate: {
+ format: "numeric",
+ type: "number",
+ },
+ operationType: {
+ enum: ["Inside", "Outside"],
+ format: 'public."operationType"',
+ type: "string",
+ },
+ operationMinimumCost: {
+ format: "numeric",
+ type: "number",
+ },
+ operationLeadTime: {
+ format: "numeric",
+ type: "number",
+ },
+ operationUnitCost: {
+ format: "numeric",
+ type: "number",
+ },
+ operationSupplierProcessId: {
format: "text",
type: "string",
},
- customFields: {
- format: "jsonb",
+ workInstruction: {
+ format: "json",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
},
createdAt: {
format: "timestamp with time zone",
@@ -43455,227 +45731,172 @@ export default {
format: "text",
type: "string",
},
- locationId: {
- description:
- "Note:\nThis is a Foreign Key to `location.id`.<fk table='location' column='id'/>",
- format: "text",
- type: "string",
+ customFields: {
+ format: "jsonb",
},
- exchangeRate: {
+ operationQuantity: {
format: "numeric",
type: "number",
},
- exchangeRateUpdatedAt: {
- format: "timestamp with time zone",
- type: "string",
- },
- shippingMethodName: {
- format: "text",
- type: "string",
- },
- shippingTermName: {
- format: "text",
- type: "string",
- },
- paymentTermName: {
- format: "text",
- type: "string",
- },
- receiptRequestedDate: {
- format: "date",
- type: "string",
- },
- receiptPromisedDate: {
- format: "date",
- type: "string",
- },
- dropShipment: {
- format: "boolean",
- type: "boolean",
+ quantityComplete: {
+ format: "numeric",
+ type: "number",
},
- locationName: {
- format: "text",
- type: "string",
+ quantityScrapped: {
+ format: "numeric",
+ type: "number",
},
- customerName: {
- format: "text",
- type: "string",
+ quantityReworked: {
+ format: "numeric",
+ type: "number",
},
- createdByAvatar: {
- format: "text",
+ status: {
+ enum: [
+ "Canceled",
+ "Done",
+ "In Progress",
+ "Paused",
+ "Ready",
+ "Todo",
+ "Waiting",
+ ],
+ format: 'public."jobOperationStatus"',
type: "string",
},
- createdByFullName: {
+ },
+ type: "object",
+ },
+ customerLocation: {
+ required: ["id", "customerId", "addressId", "name"],
+ properties: {
+ id: {
+ default: "public.xid()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- updatedByAvatar: {
+ customerId: {
+ description:
+ "Note:\nThis is a Foreign Key to `customer.id`.<fk table='customer' column='id'/>",
format: "text",
type: "string",
},
- updatedByFullName: {
+ addressId: {
+ description:
+ "Note:\nThis is a Foreign Key to `address.id`.<fk table='address' column='id'/>",
format: "text",
type: "string",
},
- closedByAvatar: {
- format: "text",
- type: "string",
+ customFields: {
+ format: "jsonb",
},
- closedByFullName: {
+ name: {
format: "text",
type: "string",
},
- favorite: {
- format: "boolean",
- type: "boolean",
- },
},
type: "object",
},
- supplier: {
- required: ["id", "name", "companyId", "createdAt"],
+ membership: {
+ required: ["id", "groupId"],
properties: {
id: {
- default: "extensions.uuid_generate_v4()",
description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
- type: "string",
- },
- name: {
- format: "text",
- type: "string",
+ format: "integer",
+ type: "integer",
},
- supplierTypeId: {
+ groupId: {
description:
- "Note:\nThis is a Foreign Key to `supplierType.id`.<fk table='supplierType' column='id'/>",
+ "Note:\nThis is a Foreign Key to `group.id`.<fk table='group' column='id'/>",
format: "text",
type: "string",
},
- supplierStatusId: {
+ memberGroupId: {
description:
- "Note:\nThis is a Foreign Key to `supplierStatus.id`.<fk table='supplierStatus' column='id'/>",
- format: "text",
- type: "string",
- },
- taxId: {
+ "Note:\nThis is a Foreign Key to `group.id`.<fk table='group' column='id'/>",
format: "text",
type: "string",
},
- accountManagerId: {
+ memberUserId: {
description:
"Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- logo: {
+ },
+ type: "object",
+ },
+ postingGroupSales: {
+ required: [
+ "id",
+ "receivablesAccount",
+ "salesAccount",
+ "salesDiscountAccount",
+ "salesCreditAccount",
+ "salesPrepaymentAccount",
+ "salesTaxPayableAccount",
+ "companyId",
+ ],
+ properties: {
+ id: {
+ default: "public.xid()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- assignee: {
+ customerTypeId: {
description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ "Note:\nThis is a Foreign Key to `customerType.id`.<fk table='customerType' column='id'/>",
format: "text",
type: "string",
},
- companyId: {
+ itemPostingGroupId: {
description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ "Note:\nThis is a Foreign Key to `itemPostingGroup.id`.<fk table='itemPostingGroup' column='id'/>",
format: "text",
type: "string",
},
- createdAt: {
- default: "now()",
- format: "timestamp with time zone",
- type: "string",
- },
- createdBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ receivablesAccount: {
format: "text",
type: "string",
},
- updatedAt: {
- format: "timestamp with time zone",
- type: "string",
- },
- updatedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ salesAccount: {
format: "text",
type: "string",
},
- customFields: {
- format: "jsonb",
- },
- currencyCode: {
- description:
- "Note:\nThis is a Foreign Key to `currencyCode.code`.<fk table='currencyCode' column='code'/>",
+ salesDiscountAccount: {
format: "text",
type: "string",
},
- phone: {
+ salesCreditAccount: {
format: "text",
type: "string",
},
- fax: {
+ salesPrepaymentAccount: {
format: "text",
type: "string",
},
- website: {
+ salesTaxPayableAccount: {
format: "text",
type: "string",
},
- externalId: {
- format: "jsonb",
- },
- },
- type: "object",
- },
- customFieldTable: {
- required: ["table", "module", "name"],
- properties: {
- table: {
- description: "Note:\nThis is a Primary Key.<pk/>",
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
format: "text",
type: "string",
},
- module: {
- enum: [
- "Accounting",
- "Documents",
- "Invoicing",
- "Inventory",
- "Items",
- "Messaging",
- "Parts",
- "People",
- "Production",
- "Purchasing",
- "Resources",
- "Sales",
- "Settings",
- "Users",
- ],
- format: "public.module",
- type: "string",
- },
- name: {
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
},
type: "object",
},
- shippingMethod: {
- required: [
- "id",
- "name",
- "carrier",
- "active",
- "companyId",
- "createdAt",
- "createdBy",
- ],
+ scrapReason: {
+ required: ["id", "name", "companyId", "createdAt", "createdBy"],
properties: {
id: {
default: "public.xid()",
@@ -43687,25 +45908,6 @@ export default {
format: "text",
type: "string",
},
- carrier: {
- default: "Other",
- enum: ["UPS", "FedEx", "USPS", "DHL", "Other"],
- format: 'public."shippingCarrier"',
- type: "string",
- },
- carrierAccountId: {
- format: "text",
- type: "string",
- },
- trackingUrl: {
- format: "text",
- type: "string",
- },
- active: {
- default: true,
- format: "boolean",
- type: "boolean",
- },
companyId: {
description:
"Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
@@ -43723,41 +45925,32 @@ export default {
format: "text",
type: "string",
},
- updatedAt: {
- format: "timestamp with time zone",
- type: "string",
- },
updatedBy: {
description:
"Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
customFields: {
format: "jsonb",
},
},
type: "object",
},
- methodOperation: {
+ purchaseInvoicePriceChange: {
required: [
"id",
- "makeMethodId",
- "order",
- "operationOrder",
- "description",
- "companyId",
- "createdAt",
- "createdBy",
- "processId",
- "setupTime",
- "setupUnit",
- "laborTime",
- "laborUnit",
- "machineTime",
- "machineUnit",
- "operationType",
- "workInstruction",
+ "invoiceId",
+ "invoiceLineId",
+ "previousPrice",
+ "newPrice",
+ "previousQuantity",
+ "newQuantity",
+ "updatedBy",
],
properties: {
id: {
@@ -43766,190 +45959,69 @@ export default {
format: "text",
type: "string",
},
- makeMethodId: {
- description:
- "Note:\nThis is a Foreign Key to `makeMethod.id`.<fk table='makeMethod' column='id'/>",
- format: "text",
- type: "string",
- },
- order: {
- default: 1,
- format: "double precision",
- type: "number",
- },
- operationOrder: {
- default: "After Previous",
- enum: ["After Previous", "With Previous"],
- format: 'public."methodOperationOrder"',
- type: "string",
- },
- description: {
- format: "text",
- type: "string",
- },
- companyId: {
- description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
- format: "text",
- type: "string",
- },
- createdAt: {
- default: "now()",
- format: "timestamp with time zone",
- type: "string",
- },
- createdBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- updatedAt: {
- format: "timestamp with time zone",
- type: "string",
- },
- updatedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- customFields: {
- format: "jsonb",
- },
- processId: {
+ invoiceId: {
description:
- "Note:\nThis is a Foreign Key to `process.id`.<fk table='process' column='id'/>",
+ "Note:\nThis is a Foreign Key to `purchaseInvoice.id`.<fk table='purchaseInvoice' column='id'/>",
format: "text",
type: "string",
},
- workCenterId: {
+ invoiceLineId: {
description:
- "Note:\nThis is a Foreign Key to `workCenter.id`.<fk table='workCenter' column='id'/>",
+ "Note:\nThis is a Foreign Key to `purchaseInvoiceLine.id`.<fk table='purchaseInvoiceLine' column='id'/>",
format: "text",
type: "string",
},
- setupTime: {
+ previousPrice: {
default: 0,
format: "numeric",
type: "number",
},
- setupUnit: {
- default: "Total Hours",
- enum: [
- "Hours/Piece",
- "Hours/100 Pieces",
- "Hours/1000 Pieces",
- "Minutes/Piece",
- "Minutes/100 Pieces",
- "Minutes/1000 Pieces",
- "Pieces/Hour",
- "Pieces/Minute",
- "Seconds/Piece",
- "Total Hours",
- "Total Minutes",
- ],
- format: "public.factor",
- type: "string",
- },
- laborTime: {
+ newPrice: {
default: 0,
format: "numeric",
type: "number",
},
- laborUnit: {
- default: "Hours/Piece",
- enum: [
- "Hours/Piece",
- "Hours/100 Pieces",
- "Hours/1000 Pieces",
- "Minutes/Piece",
- "Minutes/100 Pieces",
- "Minutes/1000 Pieces",
- "Pieces/Hour",
- "Pieces/Minute",
- "Seconds/Piece",
- "Total Hours",
- "Total Minutes",
- ],
- format: "public.factor",
- type: "string",
- },
- machineTime: {
+ previousQuantity: {
default: 0,
format: "numeric",
type: "number",
},
- machineUnit: {
- default: "Hours/Piece",
- enum: [
- "Hours/Piece",
- "Hours/100 Pieces",
- "Hours/1000 Pieces",
- "Minutes/Piece",
- "Minutes/100 Pieces",
- "Minutes/1000 Pieces",
- "Pieces/Hour",
- "Pieces/Minute",
- "Seconds/Piece",
- "Total Hours",
- "Total Minutes",
- ],
- format: "public.factor",
- type: "string",
- },
- operationType: {
- default: "Inside",
- enum: ["Inside", "Outside"],
- format: 'public."operationType"',
- type: "string",
+ newQuantity: {
+ default: 0,
+ format: "numeric",
+ type: "number",
},
- operationSupplierProcessId: {
+ updatedBy: {
description:
- "Note:\nThis is a Foreign Key to `supplierProcess.id`.<fk table='supplierProcess' column='id'/>",
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- workInstruction: {
- format: "json",
- },
},
type: "object",
},
- salesOrderPayment: {
- required: ["id", "paymentComplete", "companyId"],
+ currencies: {
properties: {
id: {
description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- invoiceCustomerId: {
- description:
- "Note:\nThis is a Foreign Key to `customer.id`.<fk table='customer' column='id'/>",
- format: "text",
- type: "string",
- },
- invoiceCustomerLocationId: {
+ code: {
description:
- "Note:\nThis is a Foreign Key to `customerLocation.id`.<fk table='customerLocation' column='id'/>",
+ "Note:\nThis is a Foreign Key to `currencyCode.code`.<fk table='currencyCode' column='code'/>",
format: "text",
type: "string",
},
- invoiceCustomerContactId: {
- description:
- "Note:\nThis is a Foreign Key to `customerContact.id`.<fk table='customerContact' column='id'/>",
- format: "text",
- type: "string",
+ exchangeRate: {
+ format: "numeric",
+ type: "number",
},
- paymentTermId: {
- description:
- "Note:\nThis is a Foreign Key to `paymentTerm.id`.<fk table='paymentTerm' column='id'/>",
- format: "text",
- type: "string",
+ decimalPlaces: {
+ format: "integer",
+ type: "integer",
},
- paymentComplete: {
- default: false,
+ active: {
format: "boolean",
type: "boolean",
},
@@ -43959,28 +46031,56 @@ export default {
format: "text",
type: "string",
},
- updatedAt: {
+ createdBy: {
+ format: "text",
+ type: "string",
+ },
+ createdAt: {
format: "timestamp with time zone",
type: "string",
},
updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
customFields: {
format: "jsonb",
},
+ name: {
+ format: "text",
+ type: "string",
+ },
},
type: "object",
},
- sequence: {
- required: ["id", "table", "name", "next", "size", "step", "companyId"],
+ shift: {
+ required: [
+ "id",
+ "name",
+ "startTime",
+ "endTime",
+ "locationId",
+ "sunday",
+ "monday",
+ "tuesday",
+ "wednesday",
+ "thursday",
+ "friday",
+ "saturday",
+ "active",
+ "companyId",
+ "createdBy",
+ "createdAt",
+ ],
properties: {
id: {
- format: "text",
- type: "string",
- },
- table: {
+ default: "public.xid()",
description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
@@ -43989,37 +46089,75 @@ export default {
format: "text",
type: "string",
},
- prefix: {
- format: "text",
+ startTime: {
+ format: "time without time zone",
type: "string",
},
- suffix: {
+ endTime: {
+ format: "time without time zone",
+ type: "string",
+ },
+ locationId: {
+ description:
+ "Note:\nThis is a Foreign Key to `location.id`.<fk table='location' column='id'/>",
format: "text",
type: "string",
},
- next: {
- default: 1,
- format: "integer",
- type: "integer",
+ sunday: {
+ default: false,
+ format: "boolean",
+ type: "boolean",
},
- size: {
- default: 5,
- format: "integer",
- type: "integer",
+ monday: {
+ default: false,
+ format: "boolean",
+ type: "boolean",
},
- step: {
- default: 1,
- format: "integer",
- type: "integer",
+ tuesday: {
+ default: false,
+ format: "boolean",
+ type: "boolean",
+ },
+ wednesday: {
+ default: false,
+ format: "boolean",
+ type: "boolean",
+ },
+ thursday: {
+ default: false,
+ format: "boolean",
+ type: "boolean",
+ },
+ friday: {
+ default: false,
+ format: "boolean",
+ type: "boolean",
+ },
+ saturday: {
+ default: false,
+ format: "boolean",
+ type: "boolean",
+ },
+ active: {
+ default: true,
+ format: "boolean",
+ type: "boolean",
},
companyId: {
description:
- "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
format: "text",
type: "string",
},
- updatedAt: {
- format: "timestamp with time zone",
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdAt: {
+ default: "now()",
+ format: "timestamp without time zone",
type: "string",
},
updatedBy: {
@@ -44028,108 +46166,149 @@ export default {
format: "text",
type: "string",
},
+ updatedAt: {
+ format: "timestamp without time zone",
+ type: "string",
+ },
+ customFields: {
+ format: "jsonb",
+ },
},
type: "object",
},
- oauthClient: {
- required: [
- "id",
- "name",
- "clientId",
- "clientSecret",
- "redirectUris",
- "companyId",
- ],
+ integration: {
+ required: ["id", "jsonschema"],
properties: {
id: {
- default: "public.xid()",
description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- name: {
+ jsonschema: {
+ format: "json",
+ },
+ },
+ type: "object",
+ },
+ customFieldTables: {
+ properties: {
+ table: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- clientId: {
- format: "text",
+ module: {
+ enum: [
+ "Accounting",
+ "Documents",
+ "Invoicing",
+ "Inventory",
+ "Items",
+ "Messaging",
+ "Parts",
+ "People",
+ "Production",
+ "Purchasing",
+ "Resources",
+ "Sales",
+ "Settings",
+ "Users",
+ ],
+ format: "public.module",
type: "string",
},
- clientSecret: {
+ name: {
format: "text",
type: "string",
},
- redirectUris: {
- format: "text[]",
- items: {
- type: "string",
- },
- type: "array",
- },
companyId: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- createdAt: {
- default: "CURRENT_TIMESTAMP",
- format: "timestamp with time zone",
- type: "string",
- },
- updatedAt: {
- default: "CURRENT_TIMESTAMP",
- format: "timestamp with time zone",
- type: "string",
+ fields: {
+ format: "json",
},
},
type: "object",
},
- ability: {
- required: [
- "id",
- "name",
- "curve",
- "shadowWeeks",
- "active",
- "companyId",
- "createdAt",
- "createdBy",
- ],
+ documents: {
properties: {
id: {
- default: "public.xid()",
description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
+ path: {
+ format: "text",
+ type: "string",
+ },
name: {
format: "text",
type: "string",
},
- curve: {
- format: "jsonb",
+ description: {
+ format: "text",
+ type: "string",
},
- shadowWeeks: {
- default: 0,
- format: "numeric",
- type: "number",
+ size: {
+ format: "integer",
+ type: "integer",
+ },
+ extension: {
+ format: "text",
+ type: "string",
+ },
+ type: {
+ enum: [
+ "Archive",
+ "Document",
+ "Presentation",
+ "PDF",
+ "Spreadsheet",
+ "Text",
+ "Image",
+ "Video",
+ "Audio",
+ "Other",
+ "Model",
+ ],
+ format: 'public."documentType"',
+ type: "string",
+ },
+ readGroups: {
+ format: "text[]",
+ items: {
+ type: "string",
+ },
+ type: "array",
+ },
+ writeGroups: {
+ format: "text[]",
+ items: {
+ type: "string",
+ },
+ type: "array",
},
active: {
- default: true,
format: "boolean",
type: "boolean",
},
companyId: {
+ format: "text",
+ type: "string",
+ },
+ createdBy: {
description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
createdAt: {
- default: "now()",
format: "timestamp with time zone",
type: "string",
},
- createdBy: {
+ updatedBy: {
description:
"Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
@@ -44139,92 +46318,108 @@ export default {
format: "timestamp with time zone",
type: "string",
},
- updatedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ sourceDocument: {
+ enum: [
+ "Job",
+ "Part",
+ "Purchase Order",
+ "Purchase Invoice",
+ "Purchase Return Order",
+ "Quote",
+ "Receipt",
+ "Request for Quote",
+ "Sales Order",
+ "Sales Invoice",
+ "Sales Return Order",
+ "Service",
+ "Shipment",
+ "Material",
+ "Tool",
+ "Fixture",
+ "Consumable",
+ ],
+ format: 'public."documentSourceType"',
+ type: "string",
+ },
+ sourceDocumentId: {
format: "text",
type: "string",
},
+ labels: {
+ format: "text[]",
+ items: {
+ type: "string",
+ },
+ type: "array",
+ },
+ favorite: {
+ format: "boolean",
+ type: "boolean",
+ },
+ lastActivityAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
},
type: "object",
},
- salesRfqLine: {
- required: [
- "id",
- "salesRfqId",
- "unitOfMeasureCode",
- "order",
- "companyId",
- "createdBy",
- "customerPartId",
- ],
+ companies: {
properties: {
id: {
- default: "public.xid()",
description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- salesRfqId: {
- description:
- "Note:\nThis is a Foreign Key to `salesRfq.id`.<fk table='salesRfq' column='id'/>",
+ name: {
format: "text",
type: "string",
},
- itemId: {
- description:
- "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
+ taxId: {
format: "text",
type: "string",
},
- description: {
+ logo: {
format: "text",
type: "string",
},
- quantity: {
- format: "numeric[]",
- items: {
- type: "number",
- },
- type: "array",
- },
- unitOfMeasureCode: {
+ addressLine1: {
format: "text",
type: "string",
},
- order: {
- default: 0,
- format: "double precision",
- type: "number",
+ addressLine2: {
+ format: "text",
+ type: "string",
},
- internalNotes: {
- format: "json",
+ city: {
+ format: "text",
+ type: "string",
},
- externalNotes: {
- format: "json",
+ stateProvince: {
+ format: "text",
+ type: "string",
},
- companyId: {
- description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ postalCode: {
format: "text",
type: "string",
},
- customFields: {
- format: "jsonb",
+ countryCode: {
+ format: "text",
+ type: "string",
},
- createdAt: {
- default: "now()",
- format: "timestamp with time zone",
+ phone: {
+ format: "text",
type: "string",
},
- createdBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ fax: {
format: "text",
type: "string",
},
- updatedAt: {
- format: "timestamp with time zone",
+ email: {
+ format: "text",
+ type: "string",
+ },
+ website: {
+ format: "text",
type: "string",
},
updatedBy: {
@@ -44233,36 +46428,48 @@ export default {
format: "text",
type: "string",
},
- modelUploadId: {
+ baseCurrencyCode: {
+ description:
+ "Note:\nThis is a Foreign Key to `currencyCode.code`.<fk table='currencyCode' column='code'/>",
format: "text",
type: "string",
},
- customerPartId: {
+ userId: {
+ description:
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- customerPartRevision: {
+ companyId: {
+ description:
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ role: {
+ enum: ["customer", "employee", "supplier"],
+ format: "public.role",
+ type: "string",
+ },
+ employeeType: {
format: "text",
type: "string",
},
},
type: "object",
},
- purchaseInvoice: {
+ purchaseOrder: {
required: [
"id",
- "invoiceId",
+ "purchaseOrderId",
+ "revisionId",
+ "type",
"status",
- "currencyCode",
- "exchangeRate",
- "subtotal",
- "totalDiscount",
- "totalAmount",
- "totalTax",
- "balance",
+ "orderDate",
+ "supplierId",
"companyId",
- "createdBy",
"createdAt",
+ "createdBy",
],
properties: {
id: {
@@ -44271,133 +46478,103 @@ export default {
format: "text",
type: "string",
},
- invoiceId: {
+ purchaseOrderId: {
format: "text",
type: "string",
},
+ revisionId: {
+ default: 0,
+ format: "integer",
+ type: "integer",
+ },
+ type: {
+ enum: ["Purchase", "Return"],
+ format: 'public."purchaseOrderType"',
+ type: "string",
+ },
status: {
default: "Draft",
enum: [
"Draft",
- "Pending",
- "Submitted",
- "Return",
- "Debit Note Issued",
- "Paid",
- "Partially Paid",
- "Overdue",
- "Voided",
+ "To Review",
+ "Rejected",
+ "To Receive",
+ "To Receive and Invoice",
+ "To Invoice",
+ "Completed",
+ "Closed",
],
- format: 'public."purchaseInvoiceStatus"',
+ format: 'public."purchaseOrderStatus"',
type: "string",
},
- supplierId: {
- description:
- "Note:\nThis is a Foreign Key to `supplier.id`.<fk table='supplier' column='id'/>",
- format: "text",
+ orderDate: {
+ default: "CURRENT_DATE",
+ format: "date",
type: "string",
},
- supplierReference: {
+ notes: {
format: "text",
type: "string",
},
- invoiceSupplierId: {
+ supplierId: {
description:
"Note:\nThis is a Foreign Key to `supplier.id`.<fk table='supplier' column='id'/>",
format: "text",
type: "string",
},
- invoiceSupplierLocationId: {
+ supplierLocationId: {
description:
"Note:\nThis is a Foreign Key to `supplierLocation.id`.<fk table='supplierLocation' column='id'/>",
format: "text",
type: "string",
},
- invoiceSupplierContactId: {
+ supplierContactId: {
description:
"Note:\nThis is a Foreign Key to `supplierContact.id`.<fk table='supplierContact' column='id'/>",
format: "text",
type: "string",
},
- paymentTermId: {
- description:
- "Note:\nThis is a Foreign Key to `paymentTerm.id`.<fk table='paymentTerm' column='id'/>",
+ supplierReference: {
format: "text",
type: "string",
},
- currencyCode: {
+ assignee: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- exchangeRate: {
- default: 1,
- format: "numeric",
- type: "number",
- },
- postingDate: {
- format: "date",
- type: "string",
- },
- dateIssued: {
- format: "date",
- type: "string",
- },
- dateDue: {
- format: "date",
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
type: "string",
},
- datePaid: {
+ closedAt: {
format: "date",
type: "string",
},
- subtotal: {
- default: 0,
- format: "numeric",
- type: "number",
- },
- totalDiscount: {
- default: 0,
- format: "numeric",
- type: "number",
- },
- totalAmount: {
- default: 0,
- format: "numeric",
- type: "number",
- },
- totalTax: {
- default: 0,
- format: "numeric",
- type: "number",
- },
- balance: {
- default: 0,
- format: "numeric",
- type: "number",
- },
- assignee: {
+ closedBy: {
description:
"Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- companyId: {
- description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
- format: "text",
- type: "string",
- },
customFields: {
format: "jsonb",
},
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
+ type: "string",
+ },
createdBy: {
description:
"Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- createdAt: {
- default: "now()",
+ updatedAt: {
format: "timestamp with time zone",
type: "string",
},
@@ -44407,118 +46584,113 @@ export default {
format: "text",
type: "string",
},
- updatedAt: {
+ currencyCode: {
+ description:
+ "Note:\nThis is a Foreign Key to `currencyCode.code`.<fk table='currencyCode' column='code'/>",
+ format: "text",
+ type: "string",
+ },
+ exchangeRate: {
+ format: "numeric",
+ type: "number",
+ },
+ exchangeRateUpdatedAt: {
format: "timestamp with time zone",
type: "string",
},
},
type: "object",
},
- customerStatus: {
- required: ["id", "name", "companyId", "createdAt", "createdBy"],
+ fixtures: {
properties: {
- id: {
- default: "public.xid()",
- description: "Note:\nThis is a Primary Key.<pk/>",
+ active: {
+ format: "boolean",
+ type: "boolean",
+ },
+ assignee: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- name: {
- format: "text",
+ defaultMethodType: {
+ enum: ["Buy", "Make", "Pick"],
+ format: 'public."methodType"',
type: "string",
},
- companyId: {
- description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ description: {
format: "text",
type: "string",
},
- createdAt: {
- default: "now()",
- format: "timestamp with time zone",
+ itemTrackingType: {
+ enum: ["Inventory", "Non-Inventory"],
+ format: 'public."itemTrackingType"',
type: "string",
},
- createdBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ name: {
format: "text",
type: "string",
},
- updatedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
+ replenishmentSystem: {
+ enum: ["Buy", "Make", "Buy and Make"],
+ format: 'public."itemReplenishmentSystem"',
type: "string",
},
- updatedAt: {
- format: "timestamp with time zone",
+ unitOfMeasureCode: {
+ format: "text",
type: "string",
},
- customFields: {
- format: "jsonb",
+ thumbnailPath: {
+ format: "text",
+ type: "string",
},
- },
- type: "object",
- },
- quoteMakeMethod: {
- required: [
- "id",
- "quoteId",
- "quoteLineId",
- "itemId",
- "quantityPerParent",
- "companyId",
- "createdAt",
- "createdBy",
- ],
- properties: {
id: {
- default: "public.xid()",
description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- quoteId: {
+ itemId: {
description:
- "Note:\nThis is a Foreign Key to `quote.id`.<fk table='quote' column='id'/>",
+ "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
format: "text",
type: "string",
},
- quoteLineId: {
+ customerId: {
description:
- "Note:\nThis is a Foreign Key to `quoteLine.id`.<fk table='quoteLine' column='id'/>",
+ "Note:\nThis is a Foreign Key to `customer.id`.<fk table='customer' column='id'/>",
format: "text",
type: "string",
},
- parentMaterialId: {
+ approved: {
+ format: "boolean",
+ type: "boolean",
+ },
+ approvedBy: {
description:
- "Note:\nThis is a Foreign Key to `quoteMaterial.id`.<fk table='quoteMaterial' column='id'/>",
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- itemId: {
+ customFields: {
+ format: "jsonb",
+ },
+ companyId: {
description:
- "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
format: "text",
type: "string",
},
- quantityPerParent: {
- default: 1,
- format: "numeric",
- type: "number",
- },
- companyId: {
+ createdBy: {
description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
createdAt: {
- default: "now()",
format: "timestamp with time zone",
type: "string",
},
- createdBy: {
+ updatedBy: {
description:
"Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
@@ -44528,114 +46700,139 @@ export default {
format: "timestamp with time zone",
type: "string",
},
- updatedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ externalId: {
+ format: "jsonb",
+ },
+ modelId: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- customFields: {
- format: "jsonb",
+ autodeskUrn: {
+ format: "text",
+ type: "string",
+ },
+ modelPath: {
+ format: "text",
+ type: "string",
+ },
+ modelName: {
+ format: "text",
+ type: "string",
+ },
+ modelSize: {
+ format: "bigint",
+ type: "integer",
+ },
+ supplierIds: {
+ format: "text",
+ type: "string",
+ },
+ customer: {
+ format: "text",
+ type: "string",
},
},
type: "object",
},
- employees: {
+ company: {
+ required: ["id", "name", "baseCurrencyCode"],
properties: {
id: {
+ default: "public.xid()",
description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- email: {
+ name: {
format: "text",
type: "string",
},
- firstName: {
+ taxId: {
format: "text",
type: "string",
},
- lastName: {
+ logo: {
format: "text",
type: "string",
},
- name: {
+ addressLine1: {
format: "text",
type: "string",
},
- avatarUrl: {
+ addressLine2: {
format: "text",
type: "string",
},
- active: {
- format: "boolean",
- type: "boolean",
+ city: {
+ format: "text",
+ type: "string",
},
- employeeTypeId: {
- description:
- "Note:\nThis is a Foreign Key to `employeeType.id`.<fk table='employeeType' column='id'/>",
+ stateProvince: {
format: "text",
type: "string",
},
- companyId: {
- description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ postalCode: {
format: "text",
type: "string",
},
- },
- type: "object",
- },
- quoteOperationsWithMakeMethods: {
- properties: {
- makeMethodId: {
- description: "Note:\nThis is a Primary Key.<pk/>",
+ countryCode: {
format: "text",
type: "string",
},
- id: {
- description: "Note:\nThis is a Primary Key.<pk/>",
+ phone: {
format: "text",
type: "string",
},
- quoteId: {
- description:
- "Note:\nThis is a Foreign Key to `quote.id`.<fk table='quote' column='id'/>",
+ fax: {
format: "text",
type: "string",
},
- quoteLineId: {
- description:
- "Note:\nThis is a Foreign Key to `quoteLine.id`.<fk table='quoteLine' column='id'/>",
+ email: {
format: "text",
type: "string",
},
- quoteMakeMethodId: {
+ website: {
+ format: "text",
+ type: "string",
+ },
+ updatedBy: {
description:
- "Note:\nThis is a Foreign Key to `quoteMakeMethod.id`.<fk table='quoteMakeMethod' column='id'/>",
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- order: {
- format: "double precision",
- type: "number",
+ baseCurrencyCode: {
+ description:
+ "Note:\nThis is a Foreign Key to `currencyCode.code`.<fk table='currencyCode' column='code'/>",
+ format: "text",
+ type: "string",
},
- description: {
+ },
+ type: "object",
+ },
+ userAttributeCategory: {
+ required: ["id", "name", "createdAt", "createdBy"],
+ properties: {
+ id: {
+ default: "public.xid()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- operationOrder: {
- enum: ["After Previous", "With Previous"],
- format: 'public."methodOperationOrder"',
+ name: {
+ format: "text",
type: "string",
},
- laborRate: {
- format: "numeric",
- type: "number",
+ public: {
+ default: false,
+ format: "boolean",
+ type: "boolean",
},
- overheadRate: {
- format: "numeric",
- type: "number",
+ protected: {
+ default: false,
+ format: "boolean",
+ type: "boolean",
},
companyId: {
description:
@@ -44643,7 +46840,13 @@ export default {
format: "text",
type: "string",
},
+ active: {
+ default: true,
+ format: "boolean",
+ type: "boolean",
+ },
createdAt: {
+ default: "now()",
format: "timestamp with time zone",
type: "string",
},
@@ -44663,188 +46866,134 @@ export default {
format: "text",
type: "string",
},
- customFields: {
- format: "jsonb",
- },
- processId: {
- description:
- "Note:\nThis is a Foreign Key to `process.id`.<fk table='process' column='id'/>",
+ },
+ type: "object",
+ },
+ salesOrderLine: {
+ required: [
+ "id",
+ "salesOrderId",
+ "salesOrderLineType",
+ "sentComplete",
+ "invoicedComplete",
+ "requiresInspection",
+ "companyId",
+ "createdAt",
+ "createdBy",
+ "status",
+ "addOnCost",
+ "methodType",
+ ],
+ properties: {
+ id: {
+ default: "public.xid()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- workCenterId: {
+ salesOrderId: {
description:
- "Note:\nThis is a Foreign Key to `workCenter.id`.<fk table='workCenter' column='id'/>",
+ "Note:\nThis is a Foreign Key to `salesOrder.id`.<fk table='salesOrder' column='id'/>",
format: "text",
type: "string",
},
- setupTime: {
- format: "numeric",
- type: "number",
- },
- setupUnit: {
+ salesOrderLineType: {
enum: [
- "Hours/Piece",
- "Hours/100 Pieces",
- "Hours/1000 Pieces",
- "Minutes/Piece",
- "Minutes/100 Pieces",
- "Minutes/1000 Pieces",
- "Pieces/Hour",
- "Pieces/Minute",
- "Seconds/Piece",
- "Total Hours",
- "Total Minutes",
+ "Comment",
+ "Part",
+ "Material",
+ "Tool",
+ "Service",
+ "Consumable",
+ "Fixture",
+ "Fixed Asset",
],
- format: "public.factor",
+ format: 'public."salesOrderLineType"',
type: "string",
},
- laborTime: {
- format: "numeric",
- type: "number",
+ itemId: {
+ description:
+ "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
+ format: "text",
+ type: "string",
},
- laborUnit: {
- enum: [
- "Hours/Piece",
- "Hours/100 Pieces",
- "Hours/1000 Pieces",
- "Minutes/Piece",
- "Minutes/100 Pieces",
- "Minutes/1000 Pieces",
- "Pieces/Hour",
- "Pieces/Minute",
- "Seconds/Piece",
- "Total Hours",
- "Total Minutes",
- ],
- format: "public.factor",
+ itemReadableId: {
+ format: "text",
type: "string",
},
- machineTime: {
- format: "numeric",
- type: "number",
- },
- machineUnit: {
- enum: [
- "Hours/Piece",
- "Hours/100 Pieces",
- "Hours/1000 Pieces",
- "Minutes/Piece",
- "Minutes/100 Pieces",
- "Minutes/1000 Pieces",
- "Pieces/Hour",
- "Pieces/Minute",
- "Seconds/Piece",
- "Total Hours",
- "Total Minutes",
- ],
- format: "public.factor",
+ accountNumber: {
+ format: "text",
type: "string",
},
- machineRate: {
- format: "numeric",
- type: "number",
+ assetId: {
+ format: "text",
+ type: "string",
},
- operationType: {
- enum: ["Inside", "Outside"],
- format: 'public."operationType"',
+ description: {
+ format: "text",
type: "string",
},
- operationMinimumCost: {
+ saleQuantity: {
+ default: 0,
format: "numeric",
type: "number",
},
- operationLeadTime: {
+ quantityToSend: {
format: "numeric",
type: "number",
},
- operationUnitCost: {
+ quantitySent: {
+ default: 0,
format: "numeric",
type: "number",
},
- operationSupplierProcessId: {
- description:
- "Note:\nThis is a Foreign Key to `supplierProcess.id`.<fk table='supplierProcess' column='id'/>",
- format: "text",
- type: "string",
- },
- workInstruction: {
- format: "json",
- },
- },
- type: "object",
- },
- oauthToken: {
- required: [
- "id",
- "accessToken",
- "refreshToken",
- "clientId",
- "userId",
- "companyId",
- "expiresAt",
- ],
- properties: {
- id: {
- default: "public.xid()",
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
- type: "string",
+ quantityToInvoice: {
+ format: "numeric",
+ type: "number",
},
- accessToken: {
- format: "text",
- type: "string",
+ quantityInvoiced: {
+ default: 0,
+ format: "numeric",
+ type: "number",
},
- refreshToken: {
- format: "text",
- type: "string",
+ unitPrice: {
+ format: "numeric",
+ type: "number",
},
- clientId: {
- description:
- "Note:\nThis is a Foreign Key to `oauthClient.clientId`.<fk table='oauthClient' column='clientId'/>",
+ unitOfMeasureCode: {
format: "text",
type: "string",
},
- userId: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ locationId: {
format: "text",
type: "string",
},
- companyId: {
+ shelfId: {
description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ "Note:\nThis is a Foreign Key to `shelf.id`.<fk table='shelf' column='id'/>",
format: "text",
type: "string",
},
- createdAt: {
- default: "CURRENT_TIMESTAMP",
- format: "timestamp with time zone",
- type: "string",
+ setupPrice: {
+ format: "numeric",
+ type: "number",
},
- expiresAt: {
- format: "timestamp with time zone",
- type: "string",
+ sentComplete: {
+ default: false,
+ format: "boolean",
+ type: "boolean",
},
- },
- type: "object",
- },
- supplierStatus: {
- required: ["id", "name", "companyId", "createdAt", "createdBy"],
- properties: {
- id: {
- default: "public.xid()",
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
- type: "string",
+ invoicedComplete: {
+ default: false,
+ format: "boolean",
+ type: "boolean",
},
- name: {
- format: "text",
- type: "string",
+ requiresInspection: {
+ default: false,
+ format: "boolean",
+ type: "boolean",
},
companyId: {
- description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
format: "text",
type: "string",
},
@@ -44859,24 +47008,62 @@ export default {
format: "text",
type: "string",
},
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
updatedBy: {
description:
"Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- updatedAt: {
- format: "timestamp with time zone",
- type: "string",
- },
customFields: {
format: "jsonb",
},
+ status: {
+ default: "Ordered",
+ enum: ["Ordered", "In Progress", "Completed"],
+ format: 'public."salesOrderLineStatus"',
+ type: "string",
+ },
+ modelUploadId: {
+ format: "text",
+ type: "string",
+ },
+ promisedDate: {
+ format: "date",
+ type: "string",
+ },
+ addOnCost: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ methodType: {
+ default: "Make",
+ enum: ["Buy", "Make", "Pick"],
+ format: 'public."methodType"',
+ type: "string",
+ },
+ exchangeRate: {
+ default: 1,
+ format: "numeric",
+ type: "number",
+ },
+ convertedUnitPrice: {
+ format: "numeric",
+ type: "number",
+ },
+ convertedAddOnCost: {
+ format: "numeric",
+ type: "number",
+ },
},
type: "object",
},
- terms: {
- required: ["id"],
+ salesOrderTransaction: {
+ required: ["id", "salesOrderId", "type", "userId", "createdAt"],
properties: {
id: {
default: "public.xid()",
@@ -44884,56 +47071,65 @@ export default {
format: "text",
type: "string",
},
- purchasingTerms: {
- format: "json",
- },
- salesTerms: {
- format: "json",
+ salesOrderId: {
+ description:
+ "Note:\nThis is a Foreign Key to `salesOrder.id`.<fk table='salesOrder' column='id'/>",
+ format: "text",
+ type: "string",
},
- updatedAt: {
- format: "timestamp with time zone",
+ type: {
+ enum: [
+ "Edit",
+ "Favorite",
+ "Unfavorite",
+ "Approved",
+ "Reject",
+ "Request Approval",
+ ],
+ format: 'public."salesOrderTransactionType"',
type: "string",
},
- updatedBy: {
+ userId: {
description:
"Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
+ type: "string",
+ },
},
type: "object",
},
- employeeShift: {
- required: ["id", "employeeId", "shiftId"],
+ country: {
+ required: ["name", "alpha2", "alpha3"],
properties: {
- id: {
- default: "public.xid()",
- description: "Note:\nThis is a Primary Key.<pk/>",
+ name: {
format: "text",
type: "string",
},
- employeeId: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
+ alpha2: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "character",
+ maxLength: 2,
type: "string",
},
- shiftId: {
- description:
- "Note:\nThis is a Foreign Key to `shift.id`.<fk table='shift' column='id'/>",
- format: "text",
+ alpha3: {
+ format: "character",
+ maxLength: 3,
type: "string",
},
},
type: "object",
},
- quote: {
+ jobMakeMethod: {
required: [
"id",
- "quoteId",
- "revisionId",
- "status",
- "customerId",
+ "jobId",
+ "itemId",
+ "quantityPerParent",
"companyId",
"createdAt",
"createdBy",
@@ -44945,85 +47141,28 @@ export default {
format: "text",
type: "string",
},
- quoteId: {
- format: "text",
- type: "string",
- },
- revisionId: {
- default: 0,
- format: "integer",
- type: "integer",
- },
- dueDate: {
- format: "date",
- type: "string",
- },
- expirationDate: {
- format: "date",
- type: "string",
- },
- status: {
- default: "Draft",
- enum: [
- "Draft",
- "Sent",
- "Ordered",
- "Partial",
- "Lost",
- "Cancelled",
- "Expired",
- ],
- format: 'public."quoteStatus"',
- type: "string",
- },
- salesPersonId: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- estimatorId: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- customerId: {
- description:
- "Note:\nThis is a Foreign Key to `customer.id`.<fk table='customer' column='id'/>",
- format: "text",
- type: "string",
- },
- customerLocationId: {
- description:
- "Note:\nThis is a Foreign Key to `customerLocation.id`.<fk table='customerLocation' column='id'/>",
- format: "text",
- type: "string",
- },
- customerContactId: {
+ jobId: {
description:
- "Note:\nThis is a Foreign Key to `customerContact.id`.<fk table='customerContact' column='id'/>",
- format: "text",
- type: "string",
- },
- customerReference: {
+ "Note:\nThis is a Foreign Key to `job.id`.<fk table='job' column='id'/>",
format: "text",
type: "string",
},
- locationId: {
+ parentMaterialId: {
description:
- "Note:\nThis is a Foreign Key to `location.id`.<fk table='location' column='id'/>",
+ "Note:\nThis is a Foreign Key to `jobMaterial.id`.<fk table='jobMaterial' column='id'/>",
format: "text",
type: "string",
},
- assignee: {
+ itemId: {
description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
format: "text",
type: "string",
},
- customFields: {
- format: "jsonb",
+ quantityPerParent: {
+ default: 1,
+ format: "numeric",
+ type: "number",
},
companyId: {
description:
@@ -45052,41 +47191,21 @@ export default {
format: "text",
type: "string",
},
- externalNotes: {
- format: "json",
- },
- internalNotes: {
- format: "json",
- },
- currencyCode: {
- description:
- "Note:\nThis is a Foreign Key to `currencyCode.code`.<fk table='currencyCode' column='code'/>",
- format: "text",
- type: "string",
- },
- exchangeRate: {
- format: "numeric",
- type: "number",
- },
- exchangeRateUpdatedAt: {
- format: "timestamp with time zone",
- type: "string",
+ customFields: {
+ format: "jsonb",
},
},
type: "object",
},
- user: {
- required: ["id", "email", "firstName", "lastName", "about", "createdAt"],
+ contact: {
+ required: ["id", "email", "companyId"],
properties: {
id: {
+ default: "public.xid()",
description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- email: {
- format: "text",
- type: "string",
- },
firstName: {
format: "text",
type: "string",
@@ -45095,74 +47214,55 @@ export default {
format: "text",
type: "string",
},
- fullName: {
+ email: {
format: "text",
type: "string",
},
- about: {
- default: "",
+ title: {
format: "text",
type: "string",
},
- avatarUrl: {
+ mobilePhone: {
format: "text",
type: "string",
},
- active: {
- default: true,
- format: "boolean",
- type: "boolean",
- },
- createdAt: {
- default: "now()",
- format: "timestamp with time zone",
+ homePhone: {
+ format: "text",
type: "string",
},
- updatedAt: {
- format: "timestamp with time zone",
+ workPhone: {
+ format: "text",
type: "string",
},
- developer: {
- default: false,
- format: "boolean",
- type: "boolean",
- },
- admin: {
- default: false,
- format: "boolean",
- type: "boolean",
- },
- },
- type: "object",
- },
- quoteShipment: {
- required: ["id", "companyId"],
- properties: {
- id: {
- description: "Note:\nThis is a Primary Key.<pk/>",
+ fax: {
format: "text",
type: "string",
},
- locationId: {
- description:
- "Note:\nThis is a Foreign Key to `location.id`.<fk table='location' column='id'/>",
+ notes: {
format: "text",
type: "string",
},
- shippingMethodId: {
+ companyId: {
description:
- "Note:\nThis is a Foreign Key to `shippingMethod.id`.<fk table='shippingMethod' column='id'/>",
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
format: "text",
type: "string",
},
- shippingTermId: {
- description:
- "Note:\nThis is a Foreign Key to `shippingTerm.id`.<fk table='shippingTerm' column='id'/>",
+ externalId: {
+ format: "jsonb",
+ },
+ fullName: {
format: "text",
type: "string",
},
- receiptRequestedDate: {
- format: "date",
+ },
+ type: "object",
+ },
+ userDefaults: {
+ properties: {
+ userId: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
type: "string",
},
companyId: {
@@ -45171,21 +47271,33 @@ export default {
format: "text",
type: "string",
},
- updatedBy: {
+ locationId: {
description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ "Note:\nThis is a Foreign Key to `location.id`.<fk table='location' column='id'/>",
format: "text",
type: "string",
},
- updatedAt: {
- format: "timestamp with time zone",
- type: "string",
- },
},
type: "object",
},
- modelUpload: {
- required: ["id", "modelPath", "companyId", "createdBy"],
+ jobMaterial: {
+ required: [
+ "id",
+ "jobId",
+ "itemId",
+ "itemReadableId",
+ "itemType",
+ "methodType",
+ "order",
+ "description",
+ "quantity",
+ "scrapQuantity",
+ "unitCost",
+ "companyId",
+ "createdAt",
+ "createdBy",
+ "jobMakeMethodId",
+ ],
properties: {
id: {
default: "public.xid()",
@@ -45193,22 +47305,61 @@ export default {
format: "text",
type: "string",
},
- name: {
+ jobId: {
+ description:
+ "Note:\nThis is a Foreign Key to `job.id`.<fk table='job' column='id'/>",
format: "text",
type: "string",
},
- size: {
- format: "bigint",
- type: "integer",
+ itemId: {
+ description:
+ "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
+ format: "text",
+ type: "string",
},
- modelPath: {
+ itemReadableId: {
format: "text",
type: "string",
},
- autodeskUrn: {
+ itemType: {
+ default: "Part",
+ format: "text",
+ type: "string",
+ },
+ methodType: {
+ default: "Make",
+ enum: ["Buy", "Make", "Pick"],
+ format: 'public."methodType"',
+ type: "string",
+ },
+ order: {
+ default: 1,
+ format: "double precision",
+ type: "number",
+ },
+ description: {
+ format: "text",
+ type: "string",
+ },
+ quantity: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ scrapQuantity: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ unitOfMeasureCode: {
format: "text",
type: "string",
},
+ unitCost: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
companyId: {
description:
"Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
@@ -45227,7 +47378,6 @@ export default {
type: "string",
},
updatedAt: {
- default: "now()",
format: "timestamp with time zone",
type: "string",
},
@@ -45237,71 +47387,101 @@ export default {
format: "text",
type: "string",
},
- thumbnailPath: {
- format: "text",
- type: "string",
+ customFields: {
+ format: "jsonb",
+ },
+ jobMakeMethodId: {
+ description:
+ "Note:\nThis is a Foreign Key to `jobMakeMethod.id`.<fk table='jobMakeMethod' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ jobOperationId: {
+ description:
+ "Note:\nThis is a Foreign Key to `jobOperation.id`.<fk table='jobOperation' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ estimatedQuantity: {
+ default: 0,
+ format: "numeric",
+ type: "number",
},
},
type: "object",
},
- purchaseOrderStatusHistory: {
- required: ["id", "purchaseOrderId", "status", "createdAt", "createdBy"],
+ purchaseOrderSuppliers: {
properties: {
id: {
- default: "public.xid()",
description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- purchaseOrderId: {
- description:
- "Note:\nThis is a Foreign Key to `purchaseOrder.id`.<fk table='purchaseOrder' column='id'/>",
+ name: {
format: "text",
type: "string",
},
- status: {
- enum: [
- "Draft",
- "To Review",
- "Rejected",
- "To Receive",
- "To Receive and Invoice",
- "To Invoice",
- "Completed",
- "Closed",
- ],
- format: 'public."purchaseOrderStatus"',
- type: "string",
- },
- createdAt: {
- default: "now()",
- format: "timestamp with time zone",
- type: "string",
- },
- createdBy: {
+ companyId: {
description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
format: "text",
type: "string",
},
},
type: "object",
},
- contractors: {
+ workCenters: {
properties: {
- supplierContactId: {
+ id: {
description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
+ name: {
+ format: "text",
+ type: "string",
+ },
+ description: {
+ format: "text",
+ type: "string",
+ },
+ laborRate: {
+ format: "numeric",
+ type: "number",
+ },
+ defaultStandardFactor: {
+ enum: [
+ "Hours/Piece",
+ "Hours/100 Pieces",
+ "Hours/1000 Pieces",
+ "Minutes/Piece",
+ "Minutes/100 Pieces",
+ "Minutes/1000 Pieces",
+ "Pieces/Hour",
+ "Pieces/Minute",
+ "Seconds/Piece",
+ "Total Hours",
+ "Total Minutes",
+ ],
+ format: "public.factor",
+ type: "string",
+ },
+ locationId: {
+ description:
+ "Note:\nThis is a Foreign Key to `location.id`.<fk table='location' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ requiredAbilityId: {
+ description:
+ "Note:\nThis is a Foreign Key to `ability.id`.<fk table='ability' column='id'/>",
+ format: "text",
+ type: "string",
+ },
active: {
format: "boolean",
type: "boolean",
},
- hoursPerWeek: {
- format: "integer",
- type: "integer",
- },
companyId: {
description:
"Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
@@ -45311,43 +47491,58 @@ export default {
customFields: {
format: "jsonb",
},
- supplierId: {
- description: "Note:\nThis is a Primary Key.<pk/>",
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- supplierName: {
- format: "text",
+ createdAt: {
+ format: "timestamp with time zone",
type: "string",
},
- fullName: {
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- firstName: {
- format: "text",
+ updatedAt: {
+ format: "timestamp with time zone",
type: "string",
},
- lastName: {
- format: "text",
- type: "string",
+ machineRate: {
+ format: "numeric",
+ type: "number",
},
- email: {
+ overheadRate: {
+ format: "numeric",
+ type: "number",
+ },
+ locationName: {
format: "text",
type: "string",
},
- abilityIds: {
- format: "text[]",
- items: {
- type: "string",
- },
- type: "array",
+ processes: {
+ format: "jsonb",
},
},
type: "object",
},
- salesOrderStatusHistory: {
- required: ["id", "salesOrderId", "status", "createdAt", "createdBy"],
+ costLedger: {
+ required: [
+ "id",
+ "entryNumber",
+ "postingDate",
+ "itemLedgerType",
+ "costLedgerType",
+ "adjustment",
+ "quantity",
+ "cost",
+ "costPostedToGL",
+ "companyId",
+ "createdAt",
+ ],
properties: {
id: {
default: "public.xid()",
@@ -45355,165 +47550,247 @@ export default {
format: "text",
type: "string",
},
- salesOrderId: {
- description:
- "Note:\nThis is a Foreign Key to `salesOrder.id`.<fk table='salesOrder' column='id'/>",
- format: "text",
+ entryNumber: {
+ format: "integer",
+ type: "integer",
+ },
+ postingDate: {
+ default: "CURRENT_DATE",
+ format: "date",
type: "string",
},
- status: {
+ itemLedgerType: {
enum: [
- "Draft",
- "Needs Approval",
- "Confirmed",
- "In Progress",
- "Completed",
- "Invoiced",
- "Cancelled",
- "Closed",
+ "Purchase",
+ "Sale",
+ "Positive Adjmt.",
+ "Negative Adjmt.",
+ "Transfer",
+ "Consumption",
+ "Output",
+ "Assembly Consumption",
+ "Assembly Output",
],
- format: 'public."salesOrderStatus"',
+ format: 'public."itemLedgerType"',
type: "string",
},
- createdAt: {
- default: "now()",
- format: "timestamp with time zone",
+ costLedgerType: {
+ enum: [
+ "Direct Cost",
+ "Revaluation",
+ "Rounding",
+ "Indirect Cost",
+ "Variance",
+ "Total",
+ ],
+ format: 'public."costLedgerType"',
type: "string",
},
- createdBy: {
+ adjustment: {
+ default: false,
+ format: "boolean",
+ type: "boolean",
+ },
+ documentType: {
+ enum: [
+ "Sales Shipment",
+ "Sales Invoice",
+ "Sales Return Receipt",
+ "Sales Credit Memo",
+ "Purchase Receipt",
+ "Purchase Invoice",
+ "Purchase Return Shipment",
+ "Purchase Credit Memo",
+ "Transfer Shipment",
+ "Transfer Receipt",
+ "Service Shipment",
+ "Service Invoice",
+ "Service Credit Memo",
+ "Posted Assembly",
+ "Inventory Receipt",
+ "Inventory Shipment",
+ "Direct Transfer",
+ ],
+ format: 'public."itemLedgerDocumentType"',
+ type: "string",
+ },
+ documentId: {
+ format: "text",
+ type: "string",
+ },
+ externalDocumentId: {
+ format: "text",
+ type: "string",
+ },
+ itemId: {
+ format: "text",
+ type: "string",
+ },
+ itemReadableId: {
+ format: "text",
+ type: "string",
+ },
+ quantity: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ cost: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ costPostedToGL: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ companyId: {
description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
format: "text",
type: "string",
},
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
+ type: "string",
+ },
},
type: "object",
},
- jobs: {
+ purchaseOrderLine: {
+ required: [
+ "id",
+ "purchaseOrderId",
+ "purchaseOrderLineType",
+ "receivedComplete",
+ "invoicedComplete",
+ "requiresInspection",
+ "companyId",
+ "createdAt",
+ "createdBy",
+ ],
properties: {
id: {
+ default: "public.xid()",
description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- jobId: {
+ purchaseOrderId: {
+ description:
+ "Note:\nThis is a Foreign Key to `purchaseOrder.id`.<fk table='purchaseOrder' column='id'/>",
format: "text",
type: "string",
},
+ purchaseOrderLineType: {
+ enum: [
+ "Comment",
+ "G/L Account",
+ "Fixed Asset",
+ "Part",
+ "Material",
+ "Tool",
+ "Service",
+ "Consumable",
+ "Fixture",
+ ],
+ format: 'public."purchaseOrderLineType"',
+ type: "string",
+ },
itemId: {
description:
"Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
format: "text",
type: "string",
},
- unitOfMeasureCode: {
+ itemReadableId: {
format: "text",
type: "string",
},
- customerId: {
- description:
- "Note:\nThis is a Foreign Key to `customer.id`.<fk table='customer' column='id'/>",
+ accountNumber: {
format: "text",
type: "string",
},
- locationId: {
- description:
- "Note:\nThis is a Foreign Key to `location.id`.<fk table='location' column='id'/>",
+ assetId: {
format: "text",
type: "string",
},
- status: {
- enum: [
- "Draft",
- "Ready",
- "In Progress",
- "Paused",
- "Completed",
- "Cancelled",
- ],
- format: 'public."jobStatus"',
- type: "string",
- },
- dueDate: {
- format: "date",
- type: "string",
- },
- deadlineType: {
- enum: ["No Deadline", "ASAP", "Soft Deadline", "Hard Deadline"],
- format: 'public."deadlineType"',
+ description: {
+ format: "text",
type: "string",
},
- quantity: {
+ purchaseQuantity: {
+ default: 0,
format: "numeric",
type: "number",
},
- scrapQuantity: {
+ quantityToReceive: {
format: "numeric",
type: "number",
},
- productionQuantity: {
+ quantityReceived: {
+ default: 0,
format: "numeric",
type: "number",
},
- quantityComplete: {
+ quantityToInvoice: {
format: "numeric",
type: "number",
},
- quantityShipped: {
+ quantityInvoiced: {
+ default: 0,
format: "numeric",
type: "number",
},
- quantityReceivedToInventory: {
+ unitPrice: {
format: "numeric",
type: "number",
},
- salesOrderId: {
- description:
- "Note:\nThis is a Foreign Key to `salesOrder.id`.<fk table='salesOrder' column='id'/>",
+ inventoryUnitOfMeasureCode: {
format: "text",
type: "string",
},
- salesOrderLineId: {
- description:
- "Note:\nThis is a Foreign Key to `salesOrderLine.id`.<fk table='salesOrderLine' column='id'/>",
+ purchaseUnitOfMeasureCode: {
format: "text",
type: "string",
},
- quoteId: {
- description:
- "Note:\nThis is a Foreign Key to `quote.id`.<fk table='quote' column='id'/>",
+ locationId: {
format: "text",
type: "string",
},
- quoteLineId: {
+ shelfId: {
description:
- "Note:\nThis is a Foreign Key to `quoteLine.id`.<fk table='quoteLine' column='id'/>",
+ "Note:\nThis is a Foreign Key to `shelf.id`.<fk table='shelf' column='id'/>",
format: "text",
type: "string",
},
- modelUploadId: {
- format: "text",
- type: "string",
+ setupPrice: {
+ format: "numeric",
+ type: "number",
},
- notes: {
- format: "jsonb",
+ receivedComplete: {
+ default: false,
+ format: "boolean",
+ type: "boolean",
},
- assignee: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
+ invoicedComplete: {
+ default: false,
+ format: "boolean",
+ type: "boolean",
},
- customFields: {
- format: "jsonb",
+ requiresInspection: {
+ default: false,
+ format: "boolean",
+ type: "boolean",
},
companyId: {
- description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
format: "text",
type: "string",
},
createdAt: {
+ default: "now()",
format: "timestamp with time zone",
type: "string",
},
@@ -45533,94 +47810,119 @@ export default {
format: "text",
type: "string",
},
- name: {
+ customFields: {
+ format: "jsonb",
+ },
+ conversionFactor: {
+ default: 1,
+ format: "numeric",
+ type: "number",
+ },
+ },
+ type: "object",
+ },
+ salesOrderShipment: {
+ required: ["id", "dropShipment", "companyId"],
+ properties: {
+ id: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- itemReadableId: {
+ locationId: {
+ description:
+ "Note:\nThis is a Foreign Key to `location.id`.<fk table='location' column='id'/>",
format: "text",
type: "string",
},
- itemType: {
- enum: [
- "Part",
- "Material",
- "Tool",
- "Service",
- "Consumable",
- "Fixture",
- ],
- format: 'public."itemType"',
+ shippingMethodId: {
+ description:
+ "Note:\nThis is a Foreign Key to `shippingMethod.id`.<fk table='shippingMethod' column='id'/>",
+ format: "text",
type: "string",
},
- description: {
+ shippingTermId: {
+ description:
+ "Note:\nThis is a Foreign Key to `shippingTerm.id`.<fk table='shippingTerm' column='id'/>",
format: "text",
type: "string",
},
- itemTrackingType: {
- enum: ["Inventory", "Non-Inventory"],
- format: 'public."itemTrackingType"',
+ receiptRequestedDate: {
+ format: "date",
type: "string",
},
- active: {
- format: "boolean",
- type: "boolean",
+ receiptPromisedDate: {
+ format: "date",
+ type: "string",
},
- replenishmentSystem: {
- enum: ["Buy", "Make", "Buy and Make"],
- format: 'public."itemReplenishmentSystem"',
+ deliveryDate: {
+ format: "date",
type: "string",
},
- modelId: {
- description: "Note:\nThis is a Primary Key.<pk/>",
+ notes: {
format: "text",
type: "string",
},
- autodeskUrn: {
+ trackingNumber: {
format: "text",
type: "string",
},
- modelPath: {
+ dropShipment: {
+ default: false,
+ format: "boolean",
+ type: "boolean",
+ },
+ customerId: {
+ description:
+ "Note:\nThis is a Foreign Key to `customer.id`.<fk table='customer' column='id'/>",
format: "text",
type: "string",
},
- thumbnailPath: {
+ customerLocationId: {
+ description:
+ "Note:\nThis is a Foreign Key to `customerLocation.id`.<fk table='customerLocation' column='id'/>",
format: "text",
type: "string",
},
- modelName: {
+ supplierId: {
format: "text",
type: "string",
},
- modelSize: {
- format: "bigint",
- type: "integer",
+ supplierLocationId: {
+ format: "text",
+ type: "string",
},
- salesOrderReadableId: {
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
format: "text",
type: "string",
},
- quoteReadableId: {
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ customFields: {
+ format: "jsonb",
+ },
+ assignee: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
},
type: "object",
},
- customField: {
- required: [
- "id",
- "name",
- "sortOrder",
- "table",
- "dataTypeId",
- "companyId",
- "createdAt",
- "createdBy",
- ],
+ employeeSummary: {
properties: {
id: {
- default: "public.xid()",
description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
@@ -45629,29 +47931,66 @@ export default {
format: "text",
type: "string",
},
- sortOrder: {
- default: 1,
- format: "integer",
- type: "integer",
- },
- table: {
- description:
- "Note:\nThis is a Foreign Key to `customFieldTable.table`.<fk table='customFieldTable' column='table'/>",
+ avatarUrl: {
format: "text",
type: "string",
},
- dataTypeId: {
+ companyId: {
description:
- "Note:\nThis is a Foreign Key to `attributeDataType.id`.<fk table='attributeDataType' column='id'/>",
- format: "integer",
- type: "integer",
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
},
- listOptions: {
- format: "text[]",
- items: {
- type: "string",
- },
- type: "array",
+ title: {
+ format: "text",
+ type: "string",
+ },
+ startDate: {
+ format: "date",
+ type: "string",
+ },
+ departmentName: {
+ format: "text",
+ type: "string",
+ },
+ locationName: {
+ format: "text",
+ type: "string",
+ },
+ managerName: {
+ format: "text",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ shelf: {
+ required: [
+ "id",
+ "locationId",
+ "active",
+ "companyId",
+ "createdBy",
+ "createdAt",
+ "name",
+ ],
+ properties: {
+ id: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ locationId: {
+ description:
+ "Note:\nThis is a Foreign Key to `location.id`.<fk table='location' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ warehouseId: {
+ description:
+ "Note:\nThis is a Foreign Key to `warehouse.id`.<fk table='warehouse' column='id'/>",
+ format: "text",
+ type: "string",
},
active: {
default: true,
@@ -45664,12 +48003,18 @@ export default {
format: "text",
type: "string",
},
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
createdAt: {
default: "now()",
format: "timestamp with time zone",
type: "string",
},
- createdBy: {
+ updatedBy: {
description:
"Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
@@ -45679,61 +48024,113 @@ export default {
format: "timestamp with time zone",
type: "string",
},
- updatedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ customFields: {
+ format: "jsonb",
+ },
+ name: {
format: "text",
type: "string",
},
},
type: "object",
},
- quoteCustomerDetails: {
+ supplierLedger: {
+ required: [
+ "id",
+ "entryNumber",
+ "postingDate",
+ "supplierId",
+ "amount",
+ "companyId",
+ "createdAt",
+ ],
properties: {
- quoteId: {
+ id: {
+ default: "public.xid()",
description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- customerName: {
- format: "text",
- type: "string",
+ entryNumber: {
+ format: "integer",
+ type: "integer",
},
- customerAddressLine1: {
- format: "text",
+ postingDate: {
+ default: "CURRENT_DATE",
+ format: "date",
type: "string",
},
- customerAddressLine2: {
- format: "text",
+ documentType: {
+ enum: [
+ "Payment",
+ "Invoice",
+ "Credit Memo",
+ "Finance Charge Memo",
+ "Reminder",
+ "Refund",
+ ],
+ format: 'public."supplierLedgerDocumentType"',
type: "string",
},
- customerCity: {
+ documentId: {
format: "text",
type: "string",
},
- customerStateProvince: {
+ externalDocumentId: {
format: "text",
type: "string",
},
- customerPostalCode: {
+ supplierId: {
+ description:
+ "Note:\nThis is a Foreign Key to `supplier.id`.<fk table='supplier' column='id'/>",
format: "text",
type: "string",
},
- customerCountryCode: {
+ amount: {
+ format: "numeric",
+ type: "number",
+ },
+ companyId: {
description:
- "Note:\nThis is a Foreign Key to `country.alpha2`.<fk table='country' column='alpha2'/>",
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
format: "text",
type: "string",
},
- customerCountryName: {
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ holidayYears: {
+ properties: {
+ year: {
+ format: "integer",
+ type: "integer",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
format: "text",
type: "string",
},
},
type: "object",
},
- pickMethod: {
- required: ["itemId", "locationId", "companyId", "createdBy", "createdAt"],
+ itemUnitSalePrice: {
+ required: [
+ "itemId",
+ "unitSalePrice",
+ "currencyCode",
+ "salesBlocked",
+ "priceIncludesTax",
+ "allowInvoiceDiscount",
+ "companyId",
+ "createdBy",
+ "createdAt",
+ ],
properties: {
itemId: {
description:
@@ -45741,18 +48138,34 @@ export default {
format: "text",
type: "string",
},
- locationId: {
- description:
- "Note:\nThis is a Foreign Key to `location.id`.<fk table='location' column='id'/>",
+ unitSalePrice: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ currencyCode: {
format: "text",
type: "string",
},
- defaultShelfId: {
- description:
- "Note:\nThis is a Foreign Key to `shelf.id`.<fk table='shelf' column='id'/>",
+ salesUnitOfMeasureCode: {
format: "text",
type: "string",
},
+ salesBlocked: {
+ default: false,
+ format: "boolean",
+ type: "boolean",
+ },
+ priceIncludesTax: {
+ default: false,
+ format: "boolean",
+ type: "boolean",
+ },
+ allowInvoiceDiscount: {
+ default: true,
+ format: "boolean",
+ type: "boolean",
+ },
companyId: {
description:
"Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
@@ -45786,78 +48199,198 @@ export default {
},
type: "object",
},
- group: {
+ job: {
required: [
"id",
- "name",
- "isIdentityGroup",
- "isEmployeeTypeGroup",
- "isCustomerOrgGroup",
- "isCustomerTypeGroup",
- "isSupplierTypeGroup",
- "isSupplierOrgGroup",
+ "jobId",
+ "itemId",
+ "unitOfMeasureCode",
+ "locationId",
+ "status",
+ "deadlineType",
+ "quantity",
+ "scrapQuantity",
+ "quantityComplete",
+ "quantityShipped",
+ "quantityReceivedToInventory",
+ "companyId",
"createdAt",
+ "createdBy",
],
properties: {
id: {
- default: "extensions.uuid_generate_v4()",
+ default: "public.xid()",
description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- name: {
+ jobId: {
format: "text",
type: "string",
},
- companyId: {
+ itemId: {
description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
format: "text",
type: "string",
},
- isIdentityGroup: {
- default: false,
- format: "boolean",
- type: "boolean",
+ unitOfMeasureCode: {
+ format: "text",
+ type: "string",
},
- isEmployeeTypeGroup: {
- default: false,
- format: "boolean",
- type: "boolean",
+ customerId: {
+ description:
+ "Note:\nThis is a Foreign Key to `customer.id`.<fk table='customer' column='id'/>",
+ format: "text",
+ type: "string",
},
- isCustomerOrgGroup: {
- default: false,
- format: "boolean",
- type: "boolean",
+ locationId: {
+ description:
+ "Note:\nThis is a Foreign Key to `location.id`.<fk table='location' column='id'/>",
+ format: "text",
+ type: "string",
},
- isCustomerTypeGroup: {
- default: false,
- format: "boolean",
- type: "boolean",
+ status: {
+ default: "Draft",
+ enum: [
+ "Draft",
+ "Ready",
+ "In Progress",
+ "Paused",
+ "Completed",
+ "Cancelled",
+ ],
+ format: 'public."jobStatus"',
+ type: "string",
},
- isSupplierTypeGroup: {
- default: false,
- format: "boolean",
- type: "boolean",
+ dueDate: {
+ format: "date",
+ type: "string",
},
- isSupplierOrgGroup: {
- default: false,
- format: "boolean",
- type: "boolean",
+ deadlineType: {
+ default: "No Deadline",
+ enum: ["No Deadline", "ASAP", "Soft Deadline", "Hard Deadline"],
+ format: 'public."deadlineType"',
+ type: "string",
+ },
+ quantity: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ scrapQuantity: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ productionQuantity: {
+ format: "numeric",
+ type: "number",
+ },
+ quantityComplete: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ quantityShipped: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ quantityReceivedToInventory: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ salesOrderId: {
+ description:
+ "Note:\nThis is a Foreign Key to `salesOrder.id`.<fk table='salesOrder' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ salesOrderLineId: {
+ description:
+ "Note:\nThis is a Foreign Key to `salesOrderLine.id`.<fk table='salesOrderLine' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ quoteId: {
+ description:
+ "Note:\nThis is a Foreign Key to `quote.id`.<fk table='quote' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ quoteLineId: {
+ description:
+ "Note:\nThis is a Foreign Key to `quoteLine.id`.<fk table='quoteLine' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ modelUploadId: {
+ format: "text",
+ type: "string",
+ },
+ notes: {
+ format: "jsonb",
+ },
+ assignee: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ customFields: {
+ format: "jsonb",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
},
createdAt: {
default: "now()",
format: "timestamp with time zone",
type: "string",
},
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
updatedAt: {
format: "timestamp with time zone",
type: "string",
},
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
},
type: "object",
},
- parts: {
+ purchaseOrderFavorite: {
+ required: ["purchaseOrderId", "userId"],
+ properties: {
+ purchaseOrderId: {
+ description:
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `purchaseOrder.id`.<fk table='purchaseOrder' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ userId: {
+ description:
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ consumables: {
properties: {
active: {
format: "boolean",
@@ -45892,35 +48425,14 @@ export default {
format: 'public."itemReplenishmentSystem"',
type: "string",
},
- unitOfMeasureCode: {
- format: "text",
- type: "string",
- },
thumbnailPath: {
format: "text",
type: "string",
},
- modelId: {
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
- type: "string",
- },
- autodeskUrn: {
- format: "text",
- type: "string",
- },
- modelPath: {
- format: "text",
- type: "string",
- },
- modelName: {
+ unitOfMeasureCode: {
format: "text",
type: "string",
},
- modelSize: {
- format: "bigint",
- type: "integer",
- },
id: {
description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
@@ -45942,13 +48454,8 @@ export default {
format: "text",
type: "string",
},
- fromDate: {
- format: "date",
- type: "string",
- },
- toDate: {
- format: "date",
- type: "string",
+ customFields: {
+ format: "jsonb",
},
companyId: {
description:
@@ -45976,9 +48483,6 @@ export default {
format: "timestamp with time zone",
type: "string",
},
- customFields: {
- format: "jsonb",
- },
externalId: {
format: "jsonb",
},
@@ -45993,60 +48497,42 @@ export default {
},
type: "object",
},
- receiptLine: {
- required: [
- "id",
- "receiptId",
- "itemId",
- "orderQuantity",
- "outstandingQuantity",
- "receivedQuantity",
- "unitOfMeasure",
- "unitPrice",
- "companyId",
- "createdAt",
- "createdBy",
- ],
+ quoteFavorite: {
+ required: ["quoteId", "userId"],
properties: {
- id: {
- default: "public.xid()",
- description: "Note:\nThis is a Primary Key.<pk/>",
+ quoteId: {
+ description:
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `quote.id`.<fk table='quote' column='id'/>",
format: "text",
type: "string",
},
- receiptId: {
+ userId: {
description:
- "Note:\nThis is a Foreign Key to `receipt.id`.<fk table='receipt' column='id'/>",
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- lineId: {
+ },
+ type: "object",
+ },
+ shifts: {
+ properties: {
+ id: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- itemId: {
- description:
- "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
+ name: {
format: "text",
type: "string",
},
- itemReadableId: {
- format: "text",
+ startTime: {
+ format: "time without time zone",
type: "string",
},
- orderQuantity: {
- format: "numeric",
- type: "number",
- },
- outstandingQuantity: {
- default: 0,
- format: "numeric",
- type: "number",
- },
- receivedQuantity: {
- default: 0,
- format: "numeric",
- type: "number",
+ endTime: {
+ format: "time without time zone",
+ type: "string",
},
locationId: {
description:
@@ -46054,28 +48540,43 @@ export default {
format: "text",
type: "string",
},
- shelfId: {
- description:
- "Note:\nThis is a Foreign Key to `shelf.id`.<fk table='shelf' column='id'/>",
- format: "text",
- type: "string",
+ sunday: {
+ format: "boolean",
+ type: "boolean",
},
- unitOfMeasure: {
- format: "text",
- type: "string",
+ monday: {
+ format: "boolean",
+ type: "boolean",
},
- unitPrice: {
- format: "numeric",
- type: "number",
+ tuesday: {
+ format: "boolean",
+ type: "boolean",
},
- companyId: {
- format: "text",
- type: "string",
+ wednesday: {
+ format: "boolean",
+ type: "boolean",
},
- createdAt: {
- default: "now()",
- format: "timestamp with time zone",
- type: "string",
+ thursday: {
+ format: "boolean",
+ type: "boolean",
+ },
+ friday: {
+ format: "boolean",
+ type: "boolean",
+ },
+ saturday: {
+ format: "boolean",
+ type: "boolean",
+ },
+ active: {
+ format: "boolean",
+ type: "boolean",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
},
createdBy: {
description:
@@ -46083,8 +48584,8 @@ export default {
format: "text",
type: "string",
},
- updatedAt: {
- format: "timestamp with time zone",
+ createdAt: {
+ format: "timestamp without time zone",
type: "string",
},
updatedBy: {
@@ -46093,266 +48594,207 @@ export default {
format: "text",
type: "string",
},
- conversionFactor: {
- default: 1,
- format: "numeric",
- type: "number",
+ updatedAt: {
+ format: "timestamp without time zone",
+ type: "string",
+ },
+ customFields: {
+ format: "jsonb",
+ },
+ locationName: {
+ format: "text",
+ type: "string",
},
},
type: "object",
},
- quoteLinePrice: {
- required: [
- "quoteId",
- "quoteLineId",
- "quantity",
- "leadTime",
- "discountPercent",
- "createdAt",
- "createdBy",
- "unitPrice",
- ],
+ purchaseOrderLocations: {
properties: {
- quoteId: {
- description:
- "Note:\nThis is a Foreign Key to `quote.id`.<fk table='quote' column='id'/>",
+ id: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- quoteLineId: {
- description:
- "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `quoteLine.id`.<fk table='quoteLine' column='id'/>",
+ supplierName: {
format: "text",
type: "string",
},
- quantity: {
- default: 1,
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "numeric",
- type: "number",
- },
- leadTime: {
- default: 0,
- format: "numeric",
- type: "number",
+ supplierAddressLine1: {
+ format: "text",
+ type: "string",
},
- discountPercent: {
- default: 0,
- format: "numeric",
- type: "number",
+ supplierAddressLine2: {
+ format: "text",
+ type: "string",
},
- createdAt: {
- default: "now()",
- format: "timestamp with time zone",
+ supplierCity: {
+ format: "text",
type: "string",
},
- createdBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ supplierStateProvince: {
format: "text",
type: "string",
},
- updatedAt: {
- format: "timestamp with time zone",
+ supplierPostalCode: {
+ format: "text",
type: "string",
},
- updatedBy: {
+ supplierCountryCode: {
description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ "Note:\nThis is a Foreign Key to `country.alpha2`.<fk table='country' column='alpha2'/>",
format: "text",
type: "string",
},
- unitPrice: {
- default: 0,
- format: "numeric",
- type: "number",
- },
- exchangeRate: {
- default: 1,
- format: "numeric",
- type: "number",
- },
- convertedUnitPrice: {
- format: "numeric",
- type: "number",
- },
- netUnitPrice: {
- format: "numeric",
- type: "number",
- },
- convertedNetUnitPrice: {
- format: "numeric",
- type: "number",
- },
- netExtendedPrice: {
- format: "numeric",
- type: "number",
- },
- convertedNetExtendedPrice: {
- format: "numeric",
- type: "number",
- },
- },
- type: "object",
- },
- makeMethod: {
- required: ["id", "itemId", "companyId", "createdAt", "createdBy"],
- properties: {
- id: {
- default: "public.xid()",
- description: "Note:\nThis is a Primary Key.<pk/>",
+ supplierCountryName: {
format: "text",
type: "string",
},
- itemId: {
- description:
- "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
+ deliveryName: {
format: "text",
type: "string",
},
- companyId: {
- description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ deliveryAddressLine1: {
format: "text",
type: "string",
},
- createdAt: {
- default: "now()",
- format: "timestamp with time zone",
+ deliveryAddressLine2: {
+ format: "text",
type: "string",
},
- createdBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ deliveryCity: {
format: "text",
type: "string",
},
- updatedAt: {
- format: "timestamp with time zone",
+ deliveryStateProvince: {
+ format: "text",
type: "string",
},
- updatedBy: {
+ deliveryPostalCode: {
format: "text",
type: "string",
},
- customFields: {
- format: "jsonb",
+ deliveryCountryCode: {
+ format: "text",
+ type: "string",
},
- },
- type: "object",
- },
- groups: {
- properties: {
- id: {
+ deliveryCountryName: {
format: "text",
type: "string",
},
- isEmployeeTypeGroup: {
+ dropShipment: {
format: "boolean",
type: "boolean",
},
- isCustomerOrgGroup: {
- format: "boolean",
- type: "boolean",
+ customerName: {
+ format: "text",
+ type: "string",
},
- isCustomerTypeGroup: {
- format: "boolean",
- type: "boolean",
+ customerAddressLine1: {
+ format: "text",
+ type: "string",
},
- isSupplierOrgGroup: {
- format: "boolean",
- type: "boolean",
+ customerAddressLine2: {
+ format: "text",
+ type: "string",
},
- isSupplierTypeGroup: {
- format: "boolean",
- type: "boolean",
+ customerCity: {
+ format: "text",
+ type: "string",
},
- name: {
+ customerStateProvince: {
format: "text",
type: "string",
},
- companyId: {
+ customerPostalCode: {
format: "text",
type: "string",
},
- parentId: {
+ customerCountryCode: {
+ description:
+ "Note:\nThis is a Foreign Key to `country.alpha2`.<fk table='country' column='alpha2'/>",
format: "text",
type: "string",
},
- users: {
- format: "jsonb",
+ customerCountryName: {
+ format: "text",
+ type: "string",
},
},
type: "object",
},
- purchaseOrderDelivery: {
- required: ["id", "dropShipment", "companyId"],
+ quoteLines: {
properties: {
id: {
description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- locationId: {
+ quoteId: {
description:
- "Note:\nThis is a Foreign Key to `location.id`.<fk table='location' column='id'/>",
+ "Note:\nThis is a Foreign Key to `quote.id`.<fk table='quote' column='id'/>",
format: "text",
type: "string",
},
- shippingMethodId: {
+ quoteRevisionId: {
+ format: "integer",
+ type: "integer",
+ },
+ status: {
+ enum: ["Not Started", "In Progress", "Complete", "No Quote"],
+ format: 'public."quoteLineStatus"',
+ type: "string",
+ },
+ estimatorId: {
description:
- "Note:\nThis is a Foreign Key to `shippingMethod.id`.<fk table='shippingMethod' column='id'/>",
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- shippingTermId: {
+ itemId: {
description:
- "Note:\nThis is a Foreign Key to `shippingTerm.id`.<fk table='shippingTerm' column='id'/>",
+ "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
format: "text",
type: "string",
},
- receiptRequestedDate: {
- format: "date",
+ itemReadableId: {
+ format: "text",
type: "string",
},
- receiptPromisedDate: {
- format: "date",
+ itemType: {
+ format: "text",
type: "string",
},
- deliveryDate: {
- format: "date",
+ description: {
+ format: "text",
type: "string",
},
- notes: {
+ customerPartId: {
format: "text",
type: "string",
},
- trackingNumber: {
+ customerPartRevision: {
format: "text",
type: "string",
},
- dropShipment: {
- default: false,
- format: "boolean",
- type: "boolean",
- },
- customerId: {
- description:
- "Note:\nThis is a Foreign Key to `customer.id`.<fk table='customer' column='id'/>",
- format: "text",
+ methodType: {
+ enum: ["Buy", "Make", "Pick"],
+ format: 'public."methodType"',
type: "string",
},
- customerLocationId: {
- description:
- "Note:\nThis is a Foreign Key to `customerLocation.id`.<fk table='customerLocation' column='id'/>",
+ unitOfMeasureCode: {
format: "text",
type: "string",
},
+ notes: {
+ format: "json",
+ },
companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
format: "text",
type: "string",
},
- updatedBy: {
+ createdBy: {
description:
"Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
@@ -46362,37 +48804,28 @@ export default {
format: "timestamp with time zone",
type: "string",
},
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
customFields: {
format: "jsonb",
},
- },
- type: "object",
- },
- warehouse: {
- required: [
- "id",
- "name",
- "locationId",
- "requiresPick",
- "requiresPutAway",
- "requiresBin",
- "requiresReceive",
- "requiresShipment",
- "active",
- "companyId",
- "createdBy",
- "createdAt",
- ],
- properties: {
- id: {
- default: "public.xid()",
- description: "Note:\nThis is a Primary Key.<pk/>",
+ modelUploadId: {
format: "text",
type: "string",
},
- name: {
- format: "text",
- type: "string",
+ quantity: {
+ format: "numeric[]",
+ items: {
+ type: "number",
+ },
+ type: "array",
+ },
+ additionalCharges: {
+ format: "jsonb",
},
locationId: {
description:
@@ -46400,122 +48833,98 @@ export default {
format: "text",
type: "string",
},
- requiresPick: {
- default: false,
- format: "boolean",
- type: "boolean",
- },
- requiresPutAway: {
- default: false,
- format: "boolean",
- type: "boolean",
- },
- requiresBin: {
- default: false,
- format: "boolean",
- type: "boolean",
- },
- requiresReceive: {
- default: false,
- format: "boolean",
- type: "boolean",
- },
- requiresShipment: {
- default: false,
- format: "boolean",
- type: "boolean",
- },
- active: {
- default: true,
- format: "boolean",
- type: "boolean",
+ noQuoteReason: {
+ format: "text",
+ type: "string",
},
- companyId: {
- description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ thumbnailPath: {
format: "text",
type: "string",
},
- createdBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ modelId: {
format: "text",
type: "string",
},
- createdAt: {
- default: "now()",
- format: "timestamp with time zone",
+ autodeskUrn: {
+ format: "text",
type: "string",
},
- updatedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ modelPath: {
format: "text",
type: "string",
},
- updatedAt: {
- format: "timestamp with time zone",
+ modelName: {
+ format: "text",
type: "string",
},
+ modelSize: {
+ format: "bigint",
+ type: "integer",
+ },
+ unitCost: {
+ format: "numeric",
+ type: "number",
+ },
},
type: "object",
},
- services: {
+ customer: {
+ required: ["id", "name", "companyId", "createdAt"],
properties: {
id: {
+ default: "extensions.uuid_generate_v4()",
description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- itemId: {
- description:
- "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
+ name: {
format: "text",
type: "string",
},
- serviceType: {
- enum: ["Internal", "External"],
- format: 'public."serviceType"',
+ customerTypeId: {
+ description:
+ "Note:\nThis is a Foreign Key to `customerType.id`.<fk table='customerType' column='id'/>",
+ format: "text",
type: "string",
},
- approved: {
- format: "boolean",
- type: "boolean",
- },
- approvedBy: {
+ customerStatusId: {
description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ "Note:\nThis is a Foreign Key to `customerStatus.id`.<fk table='customerStatus' column='id'/>",
format: "text",
type: "string",
},
- fromDate: {
- format: "date",
+ taxId: {
+ format: "text",
type: "string",
},
- toDate: {
- format: "date",
+ accountManagerId: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
type: "string",
},
- customFields: {
- format: "jsonb",
+ logo: {
+ format: "text",
+ type: "string",
},
- companyId: {
+ assignee: {
description:
- "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- createdBy: {
+ companyId: {
description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
format: "text",
type: "string",
},
createdAt: {
+ default: "now()",
format: "timestamp with time zone",
type: "string",
},
- updatedBy: {
+ createdBy: {
description:
"Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
@@ -46525,52 +48934,46 @@ export default {
format: "timestamp with time zone",
type: "string",
},
- name: {
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- description: {
+ customFields: {
+ format: "jsonb",
+ },
+ currencyCode: {
+ description:
+ "Note:\nThis is a Foreign Key to `currencyCode.code`.<fk table='currencyCode' column='code'/>",
format: "text",
type: "string",
},
- active: {
- format: "boolean",
- type: "boolean",
- },
- replenishmentSystem: {
- enum: ["Buy", "Make", "Buy and Make"],
- format: 'public."itemReplenishmentSystem"',
+ phone: {
+ format: "text",
type: "string",
},
- defaultMethodType: {
- enum: ["Buy", "Make", "Pick"],
- format: 'public."methodType"',
+ fax: {
+ format: "text",
type: "string",
},
- assignee: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ website: {
format: "text",
type: "string",
},
- supplierIds: {
- format: "text[]",
- items: {
- type: "string",
- },
- type: "array",
+ externalId: {
+ format: "jsonb",
},
},
type: "object",
},
- itemLedger: {
+ note: {
required: [
"id",
- "entryNumber",
- "postingDate",
- "entryType",
- "itemId",
- "quantity",
+ "documentId",
+ "note",
+ "noteRichText",
+ "active",
"companyId",
"createdAt",
"createdBy",
@@ -46582,86 +48985,113 @@ export default {
format: "text",
type: "string",
},
- entryNumber: {
- format: "integer",
- type: "integer",
+ documentId: {
+ format: "text",
+ type: "string",
},
- postingDate: {
- default: "CURRENT_DATE",
- format: "date",
+ note: {
+ format: "text",
type: "string",
},
- entryType: {
- enum: [
- "Purchase",
- "Sale",
- "Positive Adjmt.",
- "Negative Adjmt.",
- "Transfer",
- "Consumption",
- "Output",
- "Assembly Consumption",
- "Assembly Output",
- ],
- format: 'public."itemLedgerType"',
+ noteRichText: {
+ format: "jsonb",
+ },
+ active: {
+ default: true,
+ format: "boolean",
+ type: "boolean",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
type: "string",
},
- documentType: {
- enum: [
- "Sales Shipment",
- "Sales Invoice",
- "Sales Return Receipt",
- "Sales Credit Memo",
- "Purchase Receipt",
- "Purchase Invoice",
- "Purchase Return Shipment",
- "Purchase Credit Memo",
- "Transfer Shipment",
- "Transfer Receipt",
- "Service Shipment",
- "Service Invoice",
- "Service Credit Memo",
- "Posted Assembly",
- "Inventory Receipt",
- "Inventory Shipment",
- "Direct Transfer",
- ],
- format: 'public."itemLedgerDocumentType"',
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
type: "string",
},
- documentId: {
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- externalDocumentId: {
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ workCenter: {
+ required: [
+ "id",
+ "name",
+ "laborRate",
+ "defaultStandardFactor",
+ "active",
+ "companyId",
+ "createdBy",
+ "createdAt",
+ "machineRate",
+ "overheadRate",
+ ],
+ properties: {
+ id: {
+ default: "public.xid()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- itemId: {
- description:
- "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
+ name: {
format: "text",
type: "string",
},
- itemReadableId: {
+ description: {
format: "text",
type: "string",
},
+ laborRate: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ defaultStandardFactor: {
+ default: "Minutes/Piece",
+ enum: [
+ "Hours/Piece",
+ "Hours/100 Pieces",
+ "Hours/1000 Pieces",
+ "Minutes/Piece",
+ "Minutes/100 Pieces",
+ "Minutes/1000 Pieces",
+ "Pieces/Hour",
+ "Pieces/Minute",
+ "Seconds/Piece",
+ "Total Hours",
+ "Total Minutes",
+ ],
+ format: "public.factor",
+ type: "string",
+ },
locationId: {
description:
"Note:\nThis is a Foreign Key to `location.id`.<fk table='location' column='id'/>",
format: "text",
type: "string",
},
- shelfId: {
+ requiredAbilityId: {
description:
- "Note:\nThis is a Foreign Key to `shelf.id`.<fk table='shelf' column='id'/>",
+ "Note:\nThis is a Foreign Key to `ability.id`.<fk table='ability' column='id'/>",
format: "text",
type: "string",
},
- quantity: {
- format: "numeric",
- type: "number",
+ active: {
+ default: true,
+ format: "boolean",
+ type: "boolean",
},
companyId: {
description:
@@ -46669,231 +49099,247 @@ export default {
format: "text",
type: "string",
},
- createdAt: {
- default: "now()",
- format: "timestamp with time zone",
- type: "string",
+ customFields: {
+ format: "jsonb",
},
createdBy: {
- default: "system",
description:
"Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- },
- type: "object",
- },
- salesRfqFavorite: {
- required: ["rfqId", "userId"],
- properties: {
- rfqId: {
- description:
- "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `salesRfq.id`.<fk table='salesRfq' column='id'/>",
- format: "text",
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
type: "string",
},
- userId: {
+ updatedBy: {
description:
- "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ machineRate: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ overheadRate: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
},
type: "object",
},
- supplierContact: {
- required: ["id", "supplierId", "contactId"],
+ tool: {
+ required: ["id", "approved", "companyId", "createdBy", "createdAt"],
properties: {
id: {
- default: "public.xid()",
description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- supplierId: {
+ itemId: {
description:
- "Note:\nThis is a Foreign Key to `supplier.id`.<fk table='supplier' column='id'/>",
+ "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
format: "text",
type: "string",
},
- contactId: {
+ approved: {
+ default: false,
+ format: "boolean",
+ type: "boolean",
+ },
+ approvedBy: {
description:
- "Note:\nThis is a Foreign Key to `contact.id`.<fk table='contact' column='id'/>",
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- supplierLocationId: {
+ customFields: {
+ format: "jsonb",
+ },
+ companyId: {
description:
- "Note:\nThis is a Foreign Key to `supplierLocation.id`.<fk table='supplierLocation' column='id'/>",
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
format: "text",
type: "string",
},
- userId: {
+ createdBy: {
description:
"Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- customFields: {
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ externalId: {
format: "jsonb",
},
},
type: "object",
},
- integrations: {
+ accountCategories: {
properties: {
id: {
description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- jsonschema: {
- format: "json",
- },
- companyId: {
- description: "Note:\nThis is a Primary Key.<pk/>",
+ category: {
format: "text",
type: "string",
},
- metadata: {
- format: "json",
- },
- active: {
- format: "boolean",
- type: "boolean",
- },
- },
- type: "object",
- },
- groups_recursive: {
- properties: {
- groupId: {
- format: "text",
+ class: {
+ enum: ["Asset", "Liability", "Equity", "Revenue", "Expense"],
+ format: 'public."glAccountClass"',
type: "string",
},
- name: {
- format: "text",
+ incomeBalance: {
+ enum: ["Balance Sheet", "Income Statement"],
+ format: 'public."glIncomeBalance"',
type: "string",
},
companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
format: "text",
type: "string",
},
- parentId: {
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- isIdentityGroup: {
- format: "boolean",
- type: "boolean",
- },
- isEmployeeTypeGroup: {
- format: "boolean",
- type: "boolean",
- },
- isCustomerOrgGroup: {
- format: "boolean",
- type: "boolean",
- },
- isCustomerTypeGroup: {
- format: "boolean",
- type: "boolean",
+ createdAt: {
+ format: "timestamp with time zone",
+ type: "string",
},
- isSupplierOrgGroup: {
- format: "boolean",
- type: "boolean",
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
},
- isSupplierTypeGroup: {
- format: "boolean",
- type: "boolean",
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
},
- user: {
+ customFields: {
format: "jsonb",
},
+ subCategoriesCount: {
+ format: "bigint",
+ type: "integer",
+ },
},
type: "object",
},
- purchaseInvoices: {
+ quotePayment: {
+ required: ["id", "companyId"],
properties: {
id: {
description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- invoiceId: {
+ invoiceCustomerId: {
+ description:
+ "Note:\nThis is a Foreign Key to `customer.id`.<fk table='customer' column='id'/>",
format: "text",
type: "string",
},
- supplierId: {
+ invoiceCustomerLocationId: {
description:
- "Note:\nThis is a Foreign Key to `supplier.id`.<fk table='supplier' column='id'/>",
+ "Note:\nThis is a Foreign Key to `customerLocation.id`.<fk table='customerLocation' column='id'/>",
format: "text",
type: "string",
},
- supplierReference: {
+ invoiceCustomerContactId: {
+ description:
+ "Note:\nThis is a Foreign Key to `customerContact.id`.<fk table='customerContact' column='id'/>",
format: "text",
type: "string",
},
- invoiceSupplierId: {
+ paymentTermId: {
description:
- "Note:\nThis is a Foreign Key to `supplier.id`.<fk table='supplier' column='id'/>",
+ "Note:\nThis is a Foreign Key to `paymentTerm.id`.<fk table='paymentTerm' column='id'/>",
format: "text",
type: "string",
},
- postingDate: {
- format: "date",
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
type: "string",
},
- dateIssued: {
- format: "date",
+ updatedAt: {
+ format: "timestamp with time zone",
type: "string",
},
- dateDue: {
- format: "date",
+ updatedBy: {
+ format: "text",
type: "string",
},
- datePaid: {
- format: "date",
- type: "string",
+ customFields: {
+ format: "jsonb",
},
- paymentTermId: {
- description:
- "Note:\nThis is a Foreign Key to `paymentTerm.id`.<fk table='paymentTerm' column='id'/>",
+ },
+ type: "object",
+ },
+ accountCategory: {
+ required: [
+ "id",
+ "category",
+ "class",
+ "incomeBalance",
+ "companyId",
+ "createdBy",
+ "createdAt",
+ ],
+ properties: {
+ id: {
+ default: "public.xid()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- currencyCode: {
+ category: {
format: "text",
type: "string",
},
- exchangeRate: {
- format: "numeric",
- type: "number",
- },
- subtotal: {
- format: "numeric",
- type: "number",
- },
- totalDiscount: {
- format: "numeric",
- type: "number",
- },
- totalAmount: {
- format: "numeric",
- type: "number",
- },
- totalTax: {
- format: "numeric",
- type: "number",
+ class: {
+ enum: ["Asset", "Liability", "Equity", "Revenue", "Expense"],
+ format: 'public."glAccountClass"',
+ type: "string",
},
- balance: {
- format: "numeric",
- type: "number",
+ incomeBalance: {
+ enum: ["Balance Sheet", "Income Statement"],
+ format: 'public."glIncomeBalance"',
+ type: "string",
},
- assignee: {
+ companyId: {
description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
format: "text",
type: "string",
},
@@ -46904,6 +49350,7 @@ export default {
type: "string",
},
createdAt: {
+ default: "now()",
format: "timestamp with time zone",
type: "string",
},
@@ -46920,52 +49367,55 @@ export default {
customFields: {
format: "jsonb",
},
- companyId: {
- description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ },
+ type: "object",
+ },
+ salesOrders: {
+ properties: {
+ id: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ salesOrderId: {
format: "text",
type: "string",
},
+ revisionId: {
+ format: "integer",
+ type: "integer",
+ },
status: {
enum: [
"Draft",
- "Pending",
- "Submitted",
- "Return",
- "Debit Note Issued",
- "Paid",
- "Partially Paid",
- "Overdue",
- "Voided",
+ "Needs Approval",
+ "Confirmed",
+ "In Progress",
+ "Completed",
+ "Invoiced",
+ "Cancelled",
+ "Closed",
],
- format: 'public."purchaseInvoiceStatus"',
+ format: 'public."salesOrderStatus"',
type: "string",
},
- paymentTermName: {
- format: "text",
+ orderDate: {
+ format: "date",
type: "string",
},
- },
- type: "object",
- },
- customerContact: {
- required: ["id", "customerId", "contactId"],
- properties: {
- id: {
- default: "public.xid()",
- description: "Note:\nThis is a Primary Key.<pk/>",
+ notes: {
format: "text",
type: "string",
},
- customerId: {
+ currencyCode: {
description:
- "Note:\nThis is a Foreign Key to `customer.id`.<fk table='customer' column='id'/>",
+ "Note:\nThis is a Foreign Key to `currencyCode.code`.<fk table='currencyCode' column='code'/>",
format: "text",
type: "string",
},
- contactId: {
+ customerId: {
description:
- "Note:\nThis is a Foreign Key to `contact.id`.<fk table='contact' column='id'/>",
+ "Note:\nThis is a Foreign Key to `customer.id`.<fk table='customer' column='id'/>",
format: "text",
type: "string",
},
@@ -46975,47 +49425,20 @@ export default {
format: "text",
type: "string",
},
- userId: {
+ customerContactId: {
description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ "Note:\nThis is a Foreign Key to `customerContact.id`.<fk table='customerContact' column='id'/>",
format: "text",
type: "string",
},
- customFields: {
- format: "jsonb",
- },
- },
- type: "object",
- },
- accountingPeriod: {
- required: [
- "id",
- "startDate",
- "endDate",
- "status",
- "companyId",
- "createdBy",
- "createdAt",
- ],
- properties: {
- id: {
- default: "public.xid()",
- description: "Note:\nThis is a Primary Key.<pk/>",
+ customerReference: {
format: "text",
type: "string",
},
- startDate: {
- format: "date",
- type: "string",
- },
- endDate: {
- format: "date",
- type: "string",
- },
- status: {
- default: "Inactive",
- enum: ["Inactive", "Active"],
- format: 'public."accountingPeriodStatus"',
+ assignee: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
type: "string",
},
companyId: {
@@ -47025,7 +49448,7 @@ export default {
type: "string",
},
closedAt: {
- format: "timestamp with time zone",
+ format: "date",
type: "string",
},
closedBy: {
@@ -47034,18 +49457,14 @@ export default {
format: "text",
type: "string",
},
- createdBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
+ customFields: {
+ format: "jsonb",
},
createdAt: {
- default: "now()",
format: "timestamp with time zone",
type: "string",
},
- updatedBy: {
+ createdBy: {
description:
"Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
@@ -47055,214 +49474,153 @@ export default {
format: "timestamp with time zone",
type: "string",
},
- },
- type: "object",
- },
- purchaseInvoicePaymentRelation: {
- required: ["id", "invoiceId", "paymentId"],
- properties: {
- id: {
- default: "public.xid()",
- description: "Note:\nThis is a Primary Key.<pk/>",
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- invoiceId: {
+ locationId: {
description:
- "Note:\nThis is a Foreign Key to `purchaseInvoice.id`.<fk table='purchaseInvoice' column='id'/>",
+ "Note:\nThis is a Foreign Key to `location.id`.<fk table='location' column='id'/>",
format: "text",
type: "string",
},
- paymentId: {
- description:
- "Note:\nThis is a Foreign Key to `purchasePayment.id`.<fk table='purchasePayment' column='id'/>",
+ exchangeRate: {
+ format: "numeric",
+ type: "number",
+ },
+ exchangeRateUpdatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ shippingMethodName: {
format: "text",
type: "string",
},
- },
- type: "object",
- },
- itemPlanning: {
- required: [
- "itemId",
- "locationId",
- "reorderingPolicy",
- "critical",
- "safetyStockQuantity",
- "safetyStockLeadTime",
- "demandAccumulationPeriod",
- "demandReschedulingPeriod",
- "demandAccumulationIncludesInventory",
- "reorderPoint",
- "reorderQuantity",
- "reorderMaximumInventory",
- "minimumOrderQuantity",
- "maximumOrderQuantity",
- "orderMultiple",
- "companyId",
- "createdBy",
- "createdAt",
- ],
- properties: {
- itemId: {
- description:
- "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
+ shippingTermName: {
format: "text",
type: "string",
},
- locationId: {
- description:
- "Note:\nThis is a Foreign Key to `location.id`.<fk table='location' column='id'/>",
+ paymentTermName: {
format: "text",
type: "string",
},
- reorderingPolicy: {
- default: "Demand-Based Reorder",
- enum: [
- "Manual Reorder",
- "Demand-Based Reorder",
- "Fixed Reorder Quantity",
- "Maximum Quantity",
- ],
- format: 'public."itemReorderingPolicy"',
+ receiptRequestedDate: {
+ format: "date",
type: "string",
},
- critical: {
- default: false,
- format: "boolean",
- type: "boolean",
- },
- safetyStockQuantity: {
- default: 0,
- format: "integer",
- type: "integer",
- },
- safetyStockLeadTime: {
- default: 0,
- format: "integer",
- type: "integer",
- },
- demandAccumulationPeriod: {
- default: 0,
- format: "integer",
- type: "integer",
- },
- demandReschedulingPeriod: {
- default: 0,
- format: "integer",
- type: "integer",
+ receiptPromisedDate: {
+ format: "date",
+ type: "string",
},
- demandAccumulationIncludesInventory: {
- default: false,
+ dropShipment: {
format: "boolean",
type: "boolean",
},
- reorderPoint: {
- default: 0,
- format: "integer",
- type: "integer",
- },
- reorderQuantity: {
- default: 0,
- format: "integer",
- type: "integer",
- },
- reorderMaximumInventory: {
- default: 0,
- format: "integer",
- type: "integer",
- },
- minimumOrderQuantity: {
- default: 0,
- format: "integer",
- type: "integer",
+ locationName: {
+ format: "text",
+ type: "string",
},
- maximumOrderQuantity: {
- default: 0,
- format: "integer",
- type: "integer",
+ customerName: {
+ format: "text",
+ type: "string",
},
- orderMultiple: {
- default: 1,
- format: "integer",
- type: "integer",
+ createdByAvatar: {
+ format: "text",
+ type: "string",
},
- companyId: {
- description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ createdByFullName: {
format: "text",
type: "string",
},
- createdBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ updatedByAvatar: {
format: "text",
type: "string",
},
- createdAt: {
- default: "now()",
- format: "timestamp with time zone",
+ updatedByFullName: {
+ format: "text",
type: "string",
},
- updatedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ closedByAvatar: {
format: "text",
type: "string",
},
- updatedAt: {
- format: "timestamp with time zone",
+ closedByFullName: {
+ format: "text",
type: "string",
},
- customFields: {
- format: "jsonb",
+ favorite: {
+ format: "boolean",
+ type: "boolean",
},
},
type: "object",
},
- employeeJob: {
- required: ["id", "companyId"],
+ supplier: {
+ required: ["id", "name", "companyId", "createdAt"],
properties: {
id: {
- description:
- "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ default: "extensions.uuid_generate_v4()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- locationId: {
+ name: {
+ format: "text",
+ type: "string",
+ },
+ supplierTypeId: {
description:
- "Note:\nThis is a Foreign Key to `location.id`.<fk table='location' column='id'/>",
+ "Note:\nThis is a Foreign Key to `supplierType.id`.<fk table='supplierType' column='id'/>",
format: "text",
type: "string",
},
- shiftId: {
+ supplierStatusId: {
description:
- "Note:\nThis is a Foreign Key to `shift.id`.<fk table='shift' column='id'/>",
+ "Note:\nThis is a Foreign Key to `supplierStatus.id`.<fk table='supplierStatus' column='id'/>",
format: "text",
type: "string",
},
- managerId: {
+ taxId: {
+ format: "text",
+ type: "string",
+ },
+ accountManagerId: {
description:
"Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- title: {
+ logo: {
format: "text",
type: "string",
},
- startDate: {
- format: "date",
+ assignee: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
type: "string",
},
companyId: {
description:
- "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
updatedAt: {
- format: "timestamp without time zone",
+ format: "timestamp with time zone",
type: "string",
},
updatedBy: {
@@ -47274,27 +49632,74 @@ export default {
customFields: {
format: "jsonb",
},
- departmentId: {
+ currencyCode: {
description:
- "Note:\nThis is a Foreign Key to `department.id`.<fk table='department' column='id'/>",
+ "Note:\nThis is a Foreign Key to `currencyCode.code`.<fk table='currencyCode' column='code'/>",
+ format: "text",
+ type: "string",
+ },
+ phone: {
+ format: "text",
+ type: "string",
+ },
+ fax: {
+ format: "text",
+ type: "string",
+ },
+ website: {
format: "text",
type: "string",
},
+ externalId: {
+ format: "jsonb",
+ },
},
type: "object",
},
- account: {
+ customFieldTable: {
+ required: ["table", "module", "name"],
+ properties: {
+ table: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ module: {
+ enum: [
+ "Accounting",
+ "Documents",
+ "Invoicing",
+ "Inventory",
+ "Items",
+ "Messaging",
+ "Parts",
+ "People",
+ "Production",
+ "Purchasing",
+ "Resources",
+ "Sales",
+ "Settings",
+ "Users",
+ ],
+ format: "public.module",
+ type: "string",
+ },
+ name: {
+ format: "text",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ shippingMethod: {
required: [
"id",
- "number",
"name",
- "type",
- "incomeBalance",
- "directPosting",
+ "carrier",
"active",
"companyId",
- "createdBy",
"createdAt",
+ "createdBy",
],
properties: {
id: {
@@ -47303,49 +49708,24 @@ export default {
format: "text",
type: "string",
},
- number: {
- format: "text",
- type: "string",
- },
name: {
format: "text",
type: "string",
},
- type: {
- enum: ["Posting", "Total", "Begin Total", "End Total"],
- format: 'public."glAccountType"',
- type: "string",
- },
- class: {
- enum: ["Asset", "Liability", "Equity", "Revenue", "Expense"],
- format: 'public."glAccountClass"',
+ carrier: {
+ default: "Other",
+ enum: ["UPS", "FedEx", "USPS", "DHL", "Other"],
+ format: 'public."shippingCarrier"',
type: "string",
},
- accountCategoryId: {
- description:
- "Note:\nThis is a Foreign Key to `accountCategory.id`.<fk table='accountCategory' column='id'/>",
+ carrierAccountId: {
format: "text",
type: "string",
},
- accountSubcategoryId: {
+ trackingUrl: {
format: "text",
type: "string",
},
- incomeBalance: {
- enum: ["Balance Sheet", "Income Statement"],
- format: 'public."glIncomeBalance"',
- type: "string",
- },
- consolidatedRate: {
- enum: ["Average", "Current", "Historical"],
- format: 'public."glConsolidatedRate"',
- type: "string",
- },
- directPosting: {
- default: false,
- format: "boolean",
- type: "boolean",
- },
active: {
default: true,
format: "boolean",
@@ -47357,18 +49737,12 @@ export default {
format: "text",
type: "string",
},
- createdBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
createdAt: {
default: "now()",
format: "timestamp with time zone",
type: "string",
},
- updatedBy: {
+ createdBy: {
description:
"Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
@@ -47378,90 +49752,65 @@ export default {
format: "timestamp with time zone",
type: "string",
},
- customFields: {
- format: "jsonb",
- },
- },
- type: "object",
- },
- companyIntegration: {
- required: ["id", "metadata", "companyId", "active", "updatedAt"],
- properties: {
- id: {
- description:
- "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `integration.id`.<fk table='integration' column='id'/>",
- format: "text",
- type: "string",
- },
- metadata: {
- format: "json",
- },
- companyId: {
+ updatedBy: {
description:
- "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- active: {
- default: false,
- format: "boolean",
- type: "boolean",
- },
- updatedAt: {
- default: "now()",
- format: "timestamp with time zone",
- type: "string",
- },
- updatedBy: {
- format: "text",
- type: "string",
+ customFields: {
+ format: "jsonb",
},
},
type: "object",
},
- salesRfqLines: {
+ methodOperation: {
+ required: [
+ "id",
+ "makeMethodId",
+ "order",
+ "operationOrder",
+ "description",
+ "companyId",
+ "createdAt",
+ "createdBy",
+ "processId",
+ "setupTime",
+ "setupUnit",
+ "laborTime",
+ "laborUnit",
+ "machineTime",
+ "machineUnit",
+ "operationType",
+ "workInstruction",
+ ],
properties: {
id: {
+ default: "public.xid()",
description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- salesRfqId: {
- description:
- "Note:\nThis is a Foreign Key to `salesRfq.id`.<fk table='salesRfq' column='id'/>",
- format: "text",
- type: "string",
- },
- itemId: {
+ makeMethodId: {
description:
- "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
- format: "text",
- type: "string",
- },
- description: {
- format: "text",
- type: "string",
- },
- quantity: {
- format: "numeric[]",
- items: {
- type: "number",
- },
- type: "array",
- },
- unitOfMeasureCode: {
+ "Note:\nThis is a Foreign Key to `makeMethod.id`.<fk table='makeMethod' column='id'/>",
format: "text",
type: "string",
},
order: {
+ default: 1,
format: "double precision",
type: "number",
},
- internalNotes: {
- format: "json",
+ operationOrder: {
+ default: "After Previous",
+ enum: ["After Previous", "With Previous"],
+ format: 'public."methodOperationOrder"',
+ type: "string",
},
- externalNotes: {
- format: "json",
+ description: {
+ format: "text",
+ type: "string",
},
companyId: {
description:
@@ -47469,10 +49818,8 @@ export default {
format: "text",
type: "string",
},
- customFields: {
- format: "jsonb",
- },
createdAt: {
+ default: "now()",
format: "timestamp with time zone",
type: "string",
},
@@ -47492,135 +49839,173 @@ export default {
format: "text",
type: "string",
},
- modelUploadId: {
- format: "text",
- type: "string",
+ customFields: {
+ format: "jsonb",
},
- customerPartId: {
+ processId: {
+ description:
+ "Note:\nThis is a Foreign Key to `process.id`.<fk table='process' column='id'/>",
format: "text",
type: "string",
},
- customerPartRevision: {
+ workCenterId: {
+ description:
+ "Note:\nThis is a Foreign Key to `workCenter.id`.<fk table='workCenter' column='id'/>",
format: "text",
type: "string",
},
- modelId: {
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
- type: "string",
+ setupTime: {
+ default: 0,
+ format: "numeric",
+ type: "number",
},
- autodeskUrn: {
- format: "text",
+ setupUnit: {
+ default: "Total Hours",
+ enum: [
+ "Hours/Piece",
+ "Hours/100 Pieces",
+ "Hours/1000 Pieces",
+ "Minutes/Piece",
+ "Minutes/100 Pieces",
+ "Minutes/1000 Pieces",
+ "Pieces/Hour",
+ "Pieces/Minute",
+ "Seconds/Piece",
+ "Total Hours",
+ "Total Minutes",
+ ],
+ format: "public.factor",
type: "string",
},
- modelPath: {
- format: "text",
- type: "string",
+ laborTime: {
+ default: 0,
+ format: "numeric",
+ type: "number",
},
- modelName: {
- format: "text",
+ laborUnit: {
+ default: "Hours/Piece",
+ enum: [
+ "Hours/Piece",
+ "Hours/100 Pieces",
+ "Hours/1000 Pieces",
+ "Minutes/Piece",
+ "Minutes/100 Pieces",
+ "Minutes/1000 Pieces",
+ "Pieces/Hour",
+ "Pieces/Minute",
+ "Seconds/Piece",
+ "Total Hours",
+ "Total Minutes",
+ ],
+ format: "public.factor",
type: "string",
},
- modelSize: {
- format: "bigint",
- type: "integer",
- },
- thumbnailPath: {
- format: "text",
- type: "string",
+ machineTime: {
+ default: 0,
+ format: "numeric",
+ type: "number",
},
- itemName: {
- format: "text",
+ machineUnit: {
+ default: "Hours/Piece",
+ enum: [
+ "Hours/Piece",
+ "Hours/100 Pieces",
+ "Hours/1000 Pieces",
+ "Minutes/Piece",
+ "Minutes/100 Pieces",
+ "Minutes/1000 Pieces",
+ "Pieces/Hour",
+ "Pieces/Minute",
+ "Seconds/Piece",
+ "Total Hours",
+ "Total Minutes",
+ ],
+ format: "public.factor",
type: "string",
},
- methodType: {
- enum: ["Buy", "Make", "Pick"],
- format: 'public."methodType"',
+ operationType: {
+ default: "Inside",
+ enum: ["Inside", "Outside"],
+ format: 'public."operationType"',
type: "string",
},
- itemReadableId: {
+ operationSupplierProcessId: {
+ description:
+ "Note:\nThis is a Foreign Key to `supplierProcess.id`.<fk table='supplierProcess' column='id'/>",
format: "text",
type: "string",
},
- itemType: {
- enum: [
- "Part",
- "Material",
- "Tool",
- "Service",
- "Consumable",
- "Fixture",
- ],
- format: 'public."itemType"',
- type: "string",
+ workInstruction: {
+ format: "json",
},
},
type: "object",
},
- jobFavorite: {
- required: ["jobId", "userId"],
+ salesOrderPayment: {
+ required: ["id", "paymentComplete", "companyId"],
properties: {
- jobId: {
+ id: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ invoiceCustomerId: {
description:
- "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `job.id`.<fk table='job' column='id'/>",
+ "Note:\nThis is a Foreign Key to `customer.id`.<fk table='customer' column='id'/>",
format: "text",
type: "string",
},
- userId: {
+ invoiceCustomerLocationId: {
description:
- "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ "Note:\nThis is a Foreign Key to `customerLocation.id`.<fk table='customerLocation' column='id'/>",
format: "text",
type: "string",
},
- },
- type: "object",
- },
- documentTransaction: {
- required: ["id", "documentId", "type", "userId", "createdAt"],
- properties: {
- id: {
- default: "public.xid()",
- description: "Note:\nThis is a Primary Key.<pk/>",
+ invoiceCustomerContactId: {
+ description:
+ "Note:\nThis is a Foreign Key to `customerContact.id`.<fk table='customerContact' column='id'/>",
format: "text",
type: "string",
},
- documentId: {
+ paymentTermId: {
description:
- "Note:\nThis is a Foreign Key to `document.id`.<fk table='document' column='id'/>",
+ "Note:\nThis is a Foreign Key to `paymentTerm.id`.<fk table='paymentTerm' column='id'/>",
format: "text",
type: "string",
},
- type: {
- enum: [
- "Download",
- "Edit",
- "Favorite",
- "Label",
- "Unfavorite",
- "Upload",
- ],
- format: 'public."documentTransactionType"',
- type: "string",
+ paymentComplete: {
+ default: false,
+ format: "boolean",
+ type: "boolean",
},
- userId: {
+ companyId: {
description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
format: "text",
type: "string",
},
- createdAt: {
- default: "now()",
+ updatedAt: {
format: "timestamp with time zone",
type: "string",
},
+ updatedBy: {
+ format: "text",
+ type: "string",
+ },
+ customFields: {
+ format: "jsonb",
+ },
},
type: "object",
},
- materialSubstance: {
- required: ["id", "name", "createdBy", "createdAt"],
+ sequence: {
+ required: ["id", "table", "name", "next", "size", "step", "companyId"],
properties: {
id: {
- default: "public.xid()",
+ format: "text",
+ type: "string",
+ },
+ table: {
description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
@@ -47629,23 +50014,36 @@ export default {
format: "text",
type: "string",
},
- companyId: {
- description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ prefix: {
format: "text",
type: "string",
},
- customFields: {
- format: "jsonb",
+ suffix: {
+ format: "text",
+ type: "string",
},
- createdBy: {
+ next: {
+ default: 1,
+ format: "integer",
+ type: "integer",
+ },
+ size: {
+ default: 5,
+ format: "integer",
+ type: "integer",
+ },
+ step: {
+ default: 1,
+ format: "integer",
+ type: "integer",
+ },
+ companyId: {
description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
format: "text",
type: "string",
},
- createdAt: {
- default: "now()",
+ updatedAt: {
format: "timestamp with time zone",
type: "string",
},
@@ -47655,83 +50053,93 @@ export default {
format: "text",
type: "string",
},
- updatedAt: {
- format: "timestamp with time zone",
- type: "string",
- },
},
type: "object",
},
- workCenterProcess: {
+ oauthClient: {
required: [
- "workCenterId",
- "processId",
+ "id",
+ "name",
+ "clientId",
+ "clientSecret",
+ "redirectUris",
"companyId",
- "createdBy",
- "createdAt",
],
properties: {
- workCenterId: {
- description:
- "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `workCenter.id`.<fk table='workCenter' column='id'/>",
+ id: {
+ default: "public.xid()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- processId: {
- description:
- "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `process.id`.<fk table='process' column='id'/>",
+ name: {
format: "text",
type: "string",
},
- companyId: {
- description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ clientId: {
format: "text",
type: "string",
},
- createdBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ clientSecret: {
format: "text",
type: "string",
},
- createdAt: {
- default: "now()",
- format: "timestamp with time zone",
- type: "string",
+ redirectUris: {
+ format: "text[]",
+ items: {
+ type: "string",
+ },
+ type: "array",
},
- updatedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ companyId: {
format: "text",
type: "string",
},
+ createdAt: {
+ default: "CURRENT_TIMESTAMP",
+ format: "timestamp with time zone",
+ type: "string",
+ },
updatedAt: {
+ default: "CURRENT_TIMESTAMP",
format: "timestamp with time zone",
type: "string",
},
},
type: "object",
},
- partners: {
+ ability: {
+ required: [
+ "id",
+ "name",
+ "curve",
+ "shadowWeeks",
+ "active",
+ "companyId",
+ "createdAt",
+ "createdBy",
+ ],
properties: {
id: {
- description:
- "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `supplierLocation.id`.<fk table='supplierLocation' column='id'/>",
+ default: "public.xid()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- hoursPerWeek: {
- format: "integer",
- type: "integer",
- },
- abilityId: {
- description:
- "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `ability.id`.<fk table='ability' column='id'/>",
+ name: {
format: "text",
type: "string",
},
+ curve: {
+ format: "jsonb",
+ },
+ shadowWeeks: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
active: {
+ default: true,
format: "boolean",
type: "boolean",
},
@@ -47741,17 +50149,12 @@ export default {
format: "text",
type: "string",
},
- createdBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
createdAt: {
+ default: "now()",
format: "timestamp with time zone",
type: "string",
},
- updatedBy: {
+ createdBy: {
description:
"Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
@@ -47761,71 +50164,82 @@ export default {
format: "timestamp with time zone",
type: "string",
},
- customFields: {
- format: "jsonb",
- },
- supplierLocationId: {
+ updatedBy: {
description:
- "Note:\nThis is a Foreign Key to `supplierLocation.id`.<fk table='supplierLocation' column='id'/>",
- format: "text",
- type: "string",
- },
- abilityName: {
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- supplierId: {
+ },
+ type: "object",
+ },
+ salesRfqLine: {
+ required: [
+ "id",
+ "salesRfqId",
+ "unitOfMeasureCode",
+ "order",
+ "companyId",
+ "createdBy",
+ "customerPartId",
+ ],
+ properties: {
+ id: {
+ default: "public.xid()",
description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- supplierName: {
+ salesRfqId: {
+ description:
+ "Note:\nThis is a Foreign Key to `salesRfq.id`.<fk table='salesRfq' column='id'/>",
format: "text",
type: "string",
},
- city: {
+ itemId: {
+ description:
+ "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
format: "text",
type: "string",
},
- state: {
+ description: {
format: "text",
type: "string",
},
- },
- type: "object",
- },
- consumable: {
- required: ["id", "approved", "companyId", "createdBy", "createdAt"],
- properties: {
- id: {
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
- type: "string",
+ quantity: {
+ format: "numeric[]",
+ items: {
+ type: "number",
+ },
+ type: "array",
},
- itemId: {
- description:
- "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
+ unitOfMeasureCode: {
format: "text",
type: "string",
},
- approved: {
- default: false,
- format: "boolean",
- type: "boolean",
+ order: {
+ default: 0,
+ format: "double precision",
+ type: "number",
},
- approvedBy: {
+ internalNotes: {
+ format: "json",
+ },
+ externalNotes: {
+ format: "json",
+ },
+ companyId: {
description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
format: "text",
type: "string",
},
customFields: {
format: "jsonb",
},
- companyId: {
- description:
- "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
- format: "text",
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
type: "string",
},
createdBy: {
@@ -47834,8 +50248,7 @@ export default {
format: "text",
type: "string",
},
- createdAt: {
- default: "now()",
+ updatedAt: {
format: "timestamp with time zone",
type: "string",
},
@@ -47845,25 +50258,33 @@ export default {
format: "text",
type: "string",
},
- updatedAt: {
- format: "timestamp with time zone",
+ modelUploadId: {
+ format: "text",
type: "string",
},
- externalId: {
- format: "jsonb",
+ customerPartId: {
+ format: "text",
+ type: "string",
+ },
+ customerPartRevision: {
+ format: "text",
+ type: "string",
},
},
type: "object",
},
- location: {
+ purchaseInvoice: {
required: [
"id",
- "name",
- "addressLine1",
- "city",
- "stateProvince",
- "postalCode",
- "timezone",
+ "invoiceId",
+ "status",
+ "currencyCode",
+ "exchangeRate",
+ "subtotal",
+ "totalDiscount",
+ "totalAmount",
+ "totalTax",
+ "balance",
"companyId",
"createdBy",
"createdAt",
@@ -47875,77 +50296,151 @@ export default {
format: "text",
type: "string",
},
- name: {
+ invoiceId: {
format: "text",
type: "string",
},
- addressLine1: {
+ status: {
+ default: "Draft",
+ enum: [
+ "Draft",
+ "Pending",
+ "Submitted",
+ "Return",
+ "Debit Note Issued",
+ "Paid",
+ "Partially Paid",
+ "Overdue",
+ "Voided",
+ ],
+ format: 'public."purchaseInvoiceStatus"',
+ type: "string",
+ },
+ supplierId: {
+ description:
+ "Note:\nThis is a Foreign Key to `supplier.id`.<fk table='supplier' column='id'/>",
format: "text",
type: "string",
},
- addressLine2: {
+ supplierReference: {
format: "text",
type: "string",
},
- city: {
+ invoiceSupplierId: {
+ description:
+ "Note:\nThis is a Foreign Key to `supplier.id`.<fk table='supplier' column='id'/>",
format: "text",
type: "string",
},
- stateProvince: {
+ invoiceSupplierLocationId: {
+ description:
+ "Note:\nThis is a Foreign Key to `supplierLocation.id`.<fk table='supplierLocation' column='id'/>",
format: "text",
type: "string",
},
- postalCode: {
+ invoiceSupplierContactId: {
+ description:
+ "Note:\nThis is a Foreign Key to `supplierContact.id`.<fk table='supplierContact' column='id'/>",
format: "text",
type: "string",
},
- countryCode: {
+ paymentTermId: {
+ description:
+ "Note:\nThis is a Foreign Key to `paymentTerm.id`.<fk table='paymentTerm' column='id'/>",
format: "text",
type: "string",
},
- timezone: {
+ currencyCode: {
format: "text",
type: "string",
},
- latitude: {
+ exchangeRate: {
+ default: 1,
format: "numeric",
type: "number",
},
- longitude: {
+ postingDate: {
+ format: "date",
+ type: "string",
+ },
+ dateIssued: {
+ format: "date",
+ type: "string",
+ },
+ dateDue: {
+ format: "date",
+ type: "string",
+ },
+ datePaid: {
+ format: "date",
+ type: "string",
+ },
+ subtotal: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ totalDiscount: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ totalAmount: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ totalTax: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ balance: {
+ default: 0,
format: "numeric",
type: "number",
},
+ assignee: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
companyId: {
description:
"Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
format: "text",
type: "string",
},
+ customFields: {
+ format: "jsonb",
+ },
createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
createdAt: {
default: "now()",
- format: "timestamp without time zone",
+ format: "timestamp with time zone",
type: "string",
},
updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
updatedAt: {
- format: "timestamp without time zone",
+ format: "timestamp with time zone",
type: "string",
},
- customFields: {
- format: "jsonb",
- },
},
type: "object",
},
- employeeAbility: {
- required: ["id", "employeeId", "abilityId", "active", "trainingDays"],
+ customerStatus: {
+ required: ["id", "name", "companyId", "createdAt", "createdBy"],
properties: {
id: {
default: "public.xid()",
@@ -47953,64 +50448,53 @@ export default {
format: "text",
type: "string",
},
- employeeId: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ name: {
format: "text",
type: "string",
},
- abilityId: {
+ companyId: {
description:
- "Note:\nThis is a Foreign Key to `ability.id`.<fk table='ability' column='id'/>",
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
format: "text",
type: "string",
},
- active: {
- default: true,
- format: "boolean",
- type: "boolean",
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
+ type: "string",
},
- lastTrainingDate: {
- format: "date",
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
type: "string",
},
- trainingDays: {
- default: 0,
- format: "numeric",
- type: "number",
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
},
- trainingCompleted: {
- default: false,
- format: "boolean",
- type: "boolean",
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ customFields: {
+ format: "jsonb",
},
},
type: "object",
},
- quoteOperation: {
+ quoteMakeMethod: {
required: [
"id",
"quoteId",
"quoteLineId",
- "order",
- "operationOrder",
- "laborRate",
- "overheadRate",
+ "itemId",
+ "quantityPerParent",
"companyId",
"createdAt",
"createdBy",
- "processId",
- "setupTime",
- "setupUnit",
- "laborTime",
- "laborUnit",
- "machineTime",
- "machineUnit",
- "operationType",
- "operationMinimumCost",
- "operationLeadTime",
- "operationUnitCost",
- "workInstruction",
],
properties: {
id: {
@@ -48031,34 +50515,20 @@ export default {
format: "text",
type: "string",
},
- quoteMakeMethodId: {
+ parentMaterialId: {
description:
- "Note:\nThis is a Foreign Key to `quoteMakeMethod.id`.<fk table='quoteMakeMethod' column='id'/>",
+ "Note:\nThis is a Foreign Key to `quoteMaterial.id`.<fk table='quoteMaterial' column='id'/>",
format: "text",
type: "string",
},
- order: {
- default: 1,
- format: "double precision",
- type: "number",
- },
- description: {
+ itemId: {
+ description:
+ "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
format: "text",
type: "string",
},
- operationOrder: {
- default: "After Previous",
- enum: ["After Previous", "With Previous"],
- format: 'public."methodOperationOrder"',
- type: "string",
- },
- laborRate: {
- default: 0,
- format: "numeric",
- type: "number",
- },
- overheadRate: {
- default: 0,
+ quantityPerParent: {
+ default: 1,
format: "numeric",
type: "number",
},
@@ -48092,48 +50562,173 @@ export default {
customFields: {
format: "jsonb",
},
- processId: {
- description:
- "Note:\nThis is a Foreign Key to `process.id`.<fk table='process' column='id'/>",
+ },
+ type: "object",
+ },
+ employees: {
+ properties: {
+ id: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- workCenterId: {
- description:
- "Note:\nThis is a Foreign Key to `workCenter.id`.<fk table='workCenter' column='id'/>",
+ email: {
format: "text",
type: "string",
},
- setupTime: {
- default: 0,
- format: "numeric",
- type: "number",
+ firstName: {
+ format: "text",
+ type: "string",
},
- setupUnit: {
- default: "Total Hours",
- enum: [
- "Hours/Piece",
- "Hours/100 Pieces",
- "Hours/1000 Pieces",
- "Minutes/Piece",
- "Minutes/100 Pieces",
- "Minutes/1000 Pieces",
- "Pieces/Hour",
- "Pieces/Minute",
- "Seconds/Piece",
- "Total Hours",
- "Total Minutes",
- ],
- format: "public.factor",
+ lastName: {
+ format: "text",
+ type: "string",
+ },
+ name: {
+ format: "text",
+ type: "string",
+ },
+ avatarUrl: {
+ format: "text",
+ type: "string",
+ },
+ active: {
+ format: "boolean",
+ type: "boolean",
+ },
+ employeeTypeId: {
+ description:
+ "Note:\nThis is a Foreign Key to `employeeType.id`.<fk table='employeeType' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ quoteOperationsWithMakeMethods: {
+ properties: {
+ makeMethodId: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ id: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ quoteId: {
+ description:
+ "Note:\nThis is a Foreign Key to `quote.id`.<fk table='quote' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ quoteLineId: {
+ description:
+ "Note:\nThis is a Foreign Key to `quoteLine.id`.<fk table='quoteLine' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ quoteMakeMethodId: {
+ description:
+ "Note:\nThis is a Foreign Key to `quoteMakeMethod.id`.<fk table='quoteMakeMethod' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ order: {
+ format: "double precision",
+ type: "number",
+ },
+ description: {
+ format: "text",
+ type: "string",
+ },
+ operationOrder: {
+ enum: ["After Previous", "With Previous"],
+ format: 'public."methodOperationOrder"',
+ type: "string",
+ },
+ laborRate: {
+ format: "numeric",
+ type: "number",
+ },
+ overheadRate: {
+ format: "numeric",
+ type: "number",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ customFields: {
+ format: "jsonb",
+ },
+ processId: {
+ description:
+ "Note:\nThis is a Foreign Key to `process.id`.<fk table='process' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ workCenterId: {
+ description:
+ "Note:\nThis is a Foreign Key to `workCenter.id`.<fk table='workCenter' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ setupTime: {
+ format: "numeric",
+ type: "number",
+ },
+ setupUnit: {
+ enum: [
+ "Hours/Piece",
+ "Hours/100 Pieces",
+ "Hours/1000 Pieces",
+ "Minutes/Piece",
+ "Minutes/100 Pieces",
+ "Minutes/1000 Pieces",
+ "Pieces/Hour",
+ "Pieces/Minute",
+ "Seconds/Piece",
+ "Total Hours",
+ "Total Minutes",
+ ],
+ format: "public.factor",
type: "string",
},
laborTime: {
- default: 0,
format: "numeric",
type: "number",
},
laborUnit: {
- default: "Hours/Piece",
enum: [
"Hours/Piece",
"Hours/100 Pieces",
@@ -48151,12 +50746,10 @@ export default {
type: "string",
},
machineTime: {
- default: 0,
format: "numeric",
type: "number",
},
machineUnit: {
- default: "Hours/Piece",
enum: [
"Hours/Piece",
"Hours/100 Pieces",
@@ -48178,23 +50771,19 @@ export default {
type: "number",
},
operationType: {
- default: "Inside",
enum: ["Inside", "Outside"],
format: 'public."operationType"',
type: "string",
},
operationMinimumCost: {
- default: 0,
format: "numeric",
type: "number",
},
operationLeadTime: {
- default: 0,
format: "numeric",
type: "number",
},
operationUnitCost: {
- default: 0,
format: "numeric",
type: "number",
},
@@ -48210,15 +50799,15 @@ export default {
},
type: "object",
},
- salesRfq: {
+ oauthToken: {
required: [
"id",
- "rfqId",
- "revisionId",
- "status",
- "customerId",
- "rfqDate",
+ "accessToken",
+ "refreshToken",
+ "clientId",
+ "userId",
"companyId",
+ "expiresAt",
],
properties: {
id: {
@@ -48227,58 +50816,21 @@ export default {
format: "text",
type: "string",
},
- rfqId: {
- format: "text",
- type: "string",
- },
- revisionId: {
- default: 0,
- format: "integer",
- type: "integer",
- },
- status: {
- default: "Draft",
- enum: ["Draft", "Ready for Quote", "Closed", "Quoted"],
- format: 'public."salesRfqStatus"',
- type: "string",
- },
- employeeId: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- customerId: {
- description:
- "Note:\nThis is a Foreign Key to `customer.id`.<fk table='customer' column='id'/>",
- format: "text",
- type: "string",
- },
- customerContactId: {
- description:
- "Note:\nThis is a Foreign Key to `customerContact.id`.<fk table='customerContact' column='id'/>",
+ accessToken: {
format: "text",
type: "string",
},
- customerReference: {
+ refreshToken: {
format: "text",
type: "string",
},
- rfqDate: {
- format: "date",
- type: "string",
- },
- expirationDate: {
- format: "date",
- type: "string",
- },
- locationId: {
+ clientId: {
description:
- "Note:\nThis is a Foreign Key to `location.id`.<fk table='location' column='id'/>",
+ "Note:\nThis is a Foreign Key to `oauthClient.clientId`.<fk table='oauthClient' column='clientId'/>",
format: "text",
type: "string",
},
- assignee: {
+ userId: {
description:
"Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
@@ -48290,59 +50842,20 @@ export default {
format: "text",
type: "string",
},
- customFields: {
- format: "jsonb",
- },
createdAt: {
- default: "now()",
+ default: "CURRENT_TIMESTAMP",
format: "timestamp with time zone",
type: "string",
},
- createdBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- updatedAt: {
- default: "now()",
+ expiresAt: {
format: "timestamp with time zone",
type: "string",
},
- updatedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- customerLocationId: {
- description:
- "Note:\nThis is a Foreign Key to `customerLocation.id`.<fk table='customerLocation' column='id'/>",
- format: "text",
- type: "string",
- },
- externalNotes: {
- format: "json",
- },
- internalNotes: {
- format: "json",
- },
},
type: "object",
},
- paymentTerm: {
- required: [
- "id",
- "name",
- "daysDue",
- "daysDiscount",
- "discountPercentage",
- "calculationMethod",
- "active",
- "companyId",
- "createdAt",
- "createdBy",
- ],
+ supplierStatus: {
+ required: ["id", "name", "companyId", "createdAt", "createdBy"],
properties: {
id: {
default: "public.xid()",
@@ -48354,32 +50867,6 @@ export default {
format: "text",
type: "string",
},
- daysDue: {
- default: 0,
- format: "integer",
- type: "integer",
- },
- daysDiscount: {
- default: 0,
- format: "integer",
- type: "integer",
- },
- discountPercentage: {
- default: 0,
- format: "numeric",
- type: "number",
- },
- calculationMethod: {
- default: "Net",
- enum: ["Net", "End of Month", "Day of Month"],
- format: 'public."paymentTermCalculationMethod"',
- type: "string",
- },
- active: {
- default: true,
- format: "boolean",
- type: "boolean",
- },
companyId: {
description:
"Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
@@ -48397,24 +50884,24 @@ export default {
format: "text",
type: "string",
},
- updatedAt: {
- format: "timestamp with time zone",
- type: "string",
- },
updatedBy: {
description:
"Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
customFields: {
format: "jsonb",
},
},
type: "object",
},
- apiKey: {
- required: ["id", "name", "key", "companyId", "createdBy", "createdAt"],
+ terms: {
+ required: ["id"],
properties: {
id: {
default: "public.xid()",
@@ -48422,56 +50909,27 @@ export default {
format: "text",
type: "string",
},
- name: {
- format: "text",
- type: "string",
- },
- key: {
- format: "text",
- type: "string",
- },
- companyId: {
- description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
- format: "text",
- type: "string",
+ purchasingTerms: {
+ format: "json",
},
- createdBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
+ salesTerms: {
+ format: "json",
},
- createdAt: {
- default: "now()",
+ updatedAt: {
format: "timestamp with time zone",
type: "string",
},
- },
- type: "object",
- },
- salesOrderCustomers: {
- properties: {
- id: {
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
- type: "string",
- },
- name: {
- format: "text",
- type: "string",
- },
- companyId: {
+ updatedBy: {
description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
},
type: "object",
},
- opportunity: {
- required: ["id", "companyId"],
+ employeeShift: {
+ required: ["id", "employeeId", "shiftId"],
properties: {
id: {
default: "public.xid()",
@@ -48479,129 +50937,27 @@ export default {
format: "text",
type: "string",
},
- salesRfqId: {
- description:
- "Note:\nThis is a Foreign Key to `salesRfq.id`.<fk table='salesRfq' column='id'/>",
- format: "text",
- type: "string",
- },
- quoteId: {
- description:
- "Note:\nThis is a Foreign Key to `quote.id`.<fk table='quote' column='id'/>",
- format: "text",
- type: "string",
- },
- salesOrderId: {
- description:
- "Note:\nThis is a Foreign Key to `salesOrder.id`.<fk table='salesOrder' column='id'/>",
- format: "text",
- type: "string",
- },
- companyId: {
- description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
- format: "text",
- type: "string",
- },
- purchaseOrderDocumentPath: {
- format: "text",
- type: "string",
- },
- requestForQuoteDocumentPath: {
- format: "text",
- type: "string",
- },
- },
- type: "object",
- },
- documentLabels: {
- properties: {
- label: {
- format: "text",
- type: "string",
- },
- userId: {
+ employeeId: {
description:
"Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- },
- type: "object",
- },
- groupMembers: {
- properties: {
- id: {
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "integer",
- type: "integer",
- },
- name: {
- format: "text",
- type: "string",
- },
- companyId: {
- description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
- format: "text",
- type: "string",
- },
- isIdentityGroup: {
- format: "boolean",
- type: "boolean",
- },
- isEmployeeTypeGroup: {
- format: "boolean",
- type: "boolean",
- },
- isCustomerOrgGroup: {
- format: "boolean",
- type: "boolean",
- },
- isCustomerTypeGroup: {
- format: "boolean",
- type: "boolean",
- },
- isSupplierOrgGroup: {
- format: "boolean",
- type: "boolean",
- },
- isSupplierTypeGroup: {
- format: "boolean",
- type: "boolean",
- },
- groupId: {
- description:
- "Note:\nThis is a Foreign Key to `group.id`.<fk table='group' column='id'/>",
- format: "text",
- type: "string",
- },
- memberGroupId: {
- description:
- "Note:\nThis is a Foreign Key to `group.id`.<fk table='group' column='id'/>",
- format: "text",
- type: "string",
- },
- memberUserId: {
+ shiftId: {
description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ "Note:\nThis is a Foreign Key to `shift.id`.<fk table='shift' column='id'/>",
format: "text",
type: "string",
},
- user: {
- format: "jsonb",
- },
},
type: "object",
},
- salesOrder: {
+ quote: {
required: [
"id",
- "salesOrderId",
+ "quoteId",
"revisionId",
"status",
- "orderDate",
- "currencyCode",
"customerId",
"companyId",
"createdAt",
@@ -48614,7 +50970,7 @@ export default {
format: "text",
type: "string",
},
- salesOrderId: {
+ quoteId: {
format: "text",
type: "string",
},
@@ -48623,33 +50979,37 @@ export default {
format: "integer",
type: "integer",
},
+ dueDate: {
+ format: "date",
+ type: "string",
+ },
+ expirationDate: {
+ format: "date",
+ type: "string",
+ },
status: {
default: "Draft",
enum: [
"Draft",
- "Needs Approval",
- "Confirmed",
- "In Progress",
- "Completed",
- "Invoiced",
+ "Sent",
+ "Ordered",
+ "Partial",
+ "Lost",
"Cancelled",
- "Closed",
+ "Expired",
],
- format: 'public."salesOrderStatus"',
- type: "string",
- },
- orderDate: {
- default: "CURRENT_DATE",
- format: "date",
+ format: 'public."quoteStatus"',
type: "string",
},
- notes: {
+ salesPersonId: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- currencyCode: {
+ estimatorId: {
description:
- "Note:\nThis is a Foreign Key to `currencyCode.code`.<fk table='currencyCode' column='code'/>",
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
@@ -48675,31 +51035,27 @@ export default {
format: "text",
type: "string",
},
- assignee: {
+ locationId: {
description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ "Note:\nThis is a Foreign Key to `location.id`.<fk table='location' column='id'/>",
format: "text",
type: "string",
},
- companyId: {
+ assignee: {
description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- closedAt: {
- format: "date",
- type: "string",
+ customFields: {
+ format: "jsonb",
},
- closedBy: {
+ companyId: {
description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
format: "text",
type: "string",
},
- customFields: {
- format: "jsonb",
- },
createdAt: {
default: "now()",
format: "timestamp with time zone",
@@ -48721,11 +51077,17 @@ export default {
format: "text",
type: "string",
},
- locationId: {
- description:
- "Note:\nThis is a Foreign Key to `location.id`.<fk table='location' column='id'/>",
- format: "text",
- type: "string",
+ externalNotes: {
+ format: "json",
+ },
+ internalNotes: {
+ format: "json",
+ },
+ currencyCode: {
+ description:
+ "Note:\nThis is a Foreign Key to `currencyCode.code`.<fk table='currencyCode' column='code'/>",
+ format: "text",
+ type: "string",
},
exchangeRate: {
format: "numeric",
@@ -48738,117 +51100,100 @@ export default {
},
type: "object",
},
- userAttributeValue: {
- required: ["id", "userAttributeId", "userId", "createdAt", "createdBy"],
+ user: {
+ required: ["id", "email", "firstName", "lastName", "about", "createdAt"],
properties: {
id: {
- default: "public.xid()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- userAttributeId: {
- description:
- "Note:\nThis is a Foreign Key to `userAttribute.id`.<fk table='userAttribute' column='id'/>",
+ email: {
format: "text",
type: "string",
},
- userId: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ firstName: {
format: "text",
type: "string",
},
- valueBoolean: {
- format: "boolean",
- type: "boolean",
- },
- valueDate: {
- format: "date",
+ lastName: {
+ format: "text",
type: "string",
},
- valueNumeric: {
- format: "numeric",
- type: "number",
+ fullName: {
+ format: "text",
+ type: "string",
},
- valueText: {
+ about: {
+ default: "",
format: "text",
type: "string",
},
- valueUser: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ avatarUrl: {
format: "text",
type: "string",
},
+ active: {
+ default: true,
+ format: "boolean",
+ type: "boolean",
+ },
createdAt: {
default: "now()",
format: "timestamp with time zone",
type: "string",
},
- createdBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
updatedAt: {
format: "timestamp with time zone",
type: "string",
},
- updatedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
+ developer: {
+ default: false,
+ format: "boolean",
+ type: "boolean",
+ },
+ admin: {
+ default: false,
+ format: "boolean",
+ type: "boolean",
},
},
type: "object",
},
- unitOfMeasure: {
- required: [
- "id",
- "code",
- "name",
- "active",
- "companyId",
- "createdBy",
- "createdAt",
- ],
+ quoteShipment: {
+ required: ["id", "companyId"],
properties: {
id: {
- default: "public.xid()",
description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- code: {
+ locationId: {
+ description:
+ "Note:\nThis is a Foreign Key to `location.id`.<fk table='location' column='id'/>",
format: "text",
type: "string",
},
- name: {
+ shippingMethodId: {
+ description:
+ "Note:\nThis is a Foreign Key to `shippingMethod.id`.<fk table='shippingMethod' column='id'/>",
format: "text",
type: "string",
},
- active: {
- default: true,
- format: "boolean",
- type: "boolean",
- },
- companyId: {
+ shippingTermId: {
description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ "Note:\nThis is a Foreign Key to `shippingTerm.id`.<fk table='shippingTerm' column='id'/>",
format: "text",
type: "string",
},
- createdBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
+ receiptRequestedDate: {
+ format: "date",
type: "string",
},
- createdAt: {
- default: "now()",
- format: "timestamp with time zone",
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
type: "string",
},
updatedBy: {
@@ -48861,62 +51206,33 @@ export default {
format: "timestamp with time zone",
type: "string",
},
- customFields: {
- format: "jsonb",
- },
},
type: "object",
},
- documentFavorite: {
- required: ["documentId", "userId"],
+ modelUpload: {
+ required: ["id", "modelPath", "companyId", "createdBy"],
properties: {
- documentId: {
- description:
- "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `document.id`.<fk table='document' column='id'/>",
- format: "text",
- type: "string",
- },
- userId: {
- description:
- "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ id: {
+ default: "public.xid()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- },
- type: "object",
- },
- partner: {
- required: [
- "id",
- "hoursPerWeek",
- "abilityId",
- "active",
- "companyId",
- "createdBy",
- "createdAt",
- ],
- properties: {
- id: {
- description:
- "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `supplierLocation.id`.<fk table='supplierLocation' column='id'/>",
+ name: {
format: "text",
type: "string",
},
- hoursPerWeek: {
- default: 0,
- format: "integer",
+ size: {
+ format: "bigint",
type: "integer",
},
- abilityId: {
- description:
- "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `ability.id`.<fk table='ability' column='id'/>",
+ modelPath: {
format: "text",
type: "string",
},
- active: {
- default: true,
- format: "boolean",
- type: "boolean",
+ autodeskUrn: {
+ format: "text",
+ type: "string",
},
companyId: {
description:
@@ -48924,13 +51240,18 @@ export default {
format: "text",
type: "string",
},
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
+ type: "string",
+ },
createdBy: {
description:
"Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- createdAt: {
+ updatedAt: {
default: "now()",
format: "timestamp with time zone",
type: "string",
@@ -48941,18 +51262,15 @@ export default {
format: "text",
type: "string",
},
- updatedAt: {
- format: "timestamp with time zone",
+ thumbnailPath: {
+ format: "text",
type: "string",
},
- customFields: {
- format: "jsonb",
- },
},
type: "object",
},
- address: {
- required: ["id", "companyId"],
+ purchaseOrderStatusHistory: {
+ required: ["id", "purchaseOrderId", "status", "createdAt", "createdBy"],
properties: {
id: {
default: "public.xid()",
@@ -48960,99 +51278,126 @@ export default {
format: "text",
type: "string",
},
- addressLine1: {
+ purchaseOrderId: {
+ description:
+ "Note:\nThis is a Foreign Key to `purchaseOrder.id`.<fk table='purchaseOrder' column='id'/>",
format: "text",
type: "string",
},
- addressLine2: {
- format: "text",
+ status: {
+ enum: [
+ "Draft",
+ "To Review",
+ "Rejected",
+ "To Receive",
+ "To Receive and Invoice",
+ "To Invoice",
+ "Completed",
+ "Closed",
+ ],
+ format: 'public."purchaseOrderStatus"',
type: "string",
},
- city: {
- format: "text",
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
type: "string",
},
- stateProvince: {
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- postalCode: {
+ },
+ type: "object",
+ },
+ contractors: {
+ properties: {
+ supplierContactId: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- countryCode: {
+ active: {
+ format: "boolean",
+ type: "boolean",
+ },
+ hoursPerWeek: {
+ format: "integer",
+ type: "integer",
+ },
+ companyId: {
description:
- "Note:\nThis is a Foreign Key to `country.alpha2`.<fk table='country' column='alpha2'/>",
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
format: "text",
type: "string",
},
- phone: {
+ customFields: {
+ format: "jsonb",
+ },
+ supplierId: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- fax: {
+ supplierName: {
format: "text",
type: "string",
},
- companyId: {
- description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ fullName: {
format: "text",
type: "string",
},
- },
- type: "object",
- },
- part: {
- required: [
- "id",
- "itemId",
- "approved",
- "companyId",
- "createdBy",
- "createdAt",
- ],
- properties: {
- id: {
- description: "Note:\nThis is a Primary Key.<pk/>",
+ firstName: {
format: "text",
type: "string",
},
- itemId: {
- description:
- "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
+ lastName: {
format: "text",
type: "string",
},
- approved: {
- default: false,
- format: "boolean",
- type: "boolean",
- },
- approvedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ email: {
format: "text",
type: "string",
},
- fromDate: {
- format: "date",
- type: "string",
+ abilityIds: {
+ format: "text[]",
+ items: {
+ type: "string",
+ },
+ type: "array",
},
- toDate: {
- format: "date",
+ },
+ type: "object",
+ },
+ salesOrderStatusHistory: {
+ required: ["id", "salesOrderId", "status", "createdAt", "createdBy"],
+ properties: {
+ id: {
+ default: "public.xid()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
type: "string",
},
- companyId: {
+ salesOrderId: {
description:
- "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ "Note:\nThis is a Foreign Key to `salesOrder.id`.<fk table='salesOrder' column='id'/>",
format: "text",
type: "string",
},
- createdBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
+ status: {
+ enum: [
+ "Draft",
+ "Needs Approval",
+ "Confirmed",
+ "In Progress",
+ "Completed",
+ "Invoiced",
+ "Cancelled",
+ "Closed",
+ ],
+ format: 'public."salesOrderStatus"',
type: "string",
},
createdAt: {
@@ -49060,40 +51405,23 @@ export default {
format: "timestamp with time zone",
type: "string",
},
- updatedBy: {
+ createdBy: {
description:
"Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- updatedAt: {
- format: "timestamp with time zone",
- type: "string",
- },
- customFields: {
- format: "jsonb",
- },
- externalId: {
- format: "jsonb",
- },
},
type: "object",
},
- customerPartToItem: {
- required: ["customerId", "customerPartId", "itemId", "companyId", "id"],
+ jobs: {
properties: {
- customerId: {
- description:
- "Note:\nThis is a Foreign Key to `customer.id`.<fk table='customer' column='id'/>",
- format: "text",
- type: "string",
- },
- customerPartId: {
+ id: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- customerPartRevision: {
- default: "",
+ jobId: {
format: "text",
type: "string",
},
@@ -49103,104 +51431,99 @@ export default {
format: "text",
type: "string",
},
- companyId: {
- description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ unitOfMeasureCode: {
format: "text",
type: "string",
},
- id: {
- default: "public.xid()",
- description: "Note:\nThis is a Primary Key.<pk/>",
+ customerId: {
+ description:
+ "Note:\nThis is a Foreign Key to `customer.id`.<fk table='customer' column='id'/>",
format: "text",
type: "string",
},
- },
- type: "object",
- },
- materials: {
- properties: {
- active: {
- format: "boolean",
- type: "boolean",
- },
- assignee: {
+ locationId: {
description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ "Note:\nThis is a Foreign Key to `location.id`.<fk table='location' column='id'/>",
format: "text",
type: "string",
},
- defaultMethodType: {
- enum: ["Buy", "Make", "Pick"],
- format: 'public."methodType"',
+ status: {
+ enum: [
+ "Draft",
+ "Ready",
+ "In Progress",
+ "Paused",
+ "Completed",
+ "Cancelled",
+ ],
+ format: 'public."jobStatus"',
type: "string",
},
- description: {
- format: "text",
+ dueDate: {
+ format: "date",
type: "string",
},
- itemTrackingType: {
- enum: ["Inventory", "Non-Inventory"],
- format: 'public."itemTrackingType"',
+ deadlineType: {
+ enum: ["No Deadline", "ASAP", "Soft Deadline", "Hard Deadline"],
+ format: 'public."deadlineType"',
type: "string",
},
- name: {
- format: "text",
- type: "string",
+ quantity: {
+ format: "numeric",
+ type: "number",
},
- replenishmentSystem: {
- enum: ["Buy", "Make", "Buy and Make"],
- format: 'public."itemReplenishmentSystem"',
- type: "string",
+ scrapQuantity: {
+ format: "numeric",
+ type: "number",
},
- thumbnailPath: {
- format: "text",
- type: "string",
+ productionQuantity: {
+ format: "numeric",
+ type: "number",
},
- unitOfMeasureCode: {
- format: "text",
- type: "string",
+ quantityComplete: {
+ format: "numeric",
+ type: "number",
},
- id: {
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
- type: "string",
+ quantityShipped: {
+ format: "numeric",
+ type: "number",
},
- itemId: {
- description:
- "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
- format: "text",
- type: "string",
+ quantityReceivedToInventory: {
+ format: "numeric",
+ type: "number",
},
- materialFormId: {
+ salesOrderId: {
description:
- "Note:\nThis is a Foreign Key to `materialForm.id`.<fk table='materialForm' column='id'/>",
+ "Note:\nThis is a Foreign Key to `salesOrder.id`.<fk table='salesOrder' column='id'/>",
format: "text",
type: "string",
},
- materialSubstanceId: {
+ salesOrderLineId: {
description:
- "Note:\nThis is a Foreign Key to `materialSubstance.id`.<fk table='materialSubstance' column='id'/>",
+ "Note:\nThis is a Foreign Key to `salesOrderLine.id`.<fk table='salesOrderLine' column='id'/>",
format: "text",
type: "string",
},
- grade: {
+ quoteId: {
+ description:
+ "Note:\nThis is a Foreign Key to `quote.id`.<fk table='quote' column='id'/>",
format: "text",
type: "string",
},
- dimensions: {
+ quoteLineId: {
+ description:
+ "Note:\nThis is a Foreign Key to `quoteLine.id`.<fk table='quoteLine' column='id'/>",
format: "text",
type: "string",
},
- finish: {
+ modelUploadId: {
format: "text",
type: "string",
},
- approved: {
- format: "boolean",
- type: "boolean",
+ notes: {
+ format: "jsonb",
},
- approvedBy: {
+ assignee: {
description:
"Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
@@ -49211,17 +51534,21 @@ export default {
},
companyId: {
description:
- "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
format: "text",
type: "string",
},
+ createdAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
createdBy: {
description:
"Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- createdAt: {
+ updatedAt: {
format: "timestamp with time zone",
type: "string",
},
@@ -49231,145 +51558,143 @@ export default {
format: "text",
type: "string",
},
- updatedAt: {
- format: "timestamp with time zone",
+ name: {
+ format: "text",
type: "string",
},
- externalId: {
- format: "jsonb",
- },
- materialForm: {
+ itemReadableId: {
format: "text",
type: "string",
},
- materialSubstance: {
- format: "text",
+ itemType: {
+ enum: [
+ "Part",
+ "Material",
+ "Tool",
+ "Service",
+ "Consumable",
+ "Fixture",
+ ],
+ format: 'public."itemType"',
type: "string",
},
- supplierIds: {
+ description: {
format: "text",
type: "string",
},
- unitOfMeasure: {
- format: "text",
+ itemTrackingType: {
+ enum: ["Inventory", "Non-Inventory"],
+ format: 'public."itemTrackingType"',
type: "string",
},
- },
- type: "object",
- },
- employeeType: {
- required: ["id", "name", "companyId", "protected", "createdAt"],
- properties: {
- id: {
- default: "extensions.uuid_generate_v4()",
+ active: {
+ format: "boolean",
+ type: "boolean",
+ },
+ replenishmentSystem: {
+ enum: ["Buy", "Make", "Buy and Make"],
+ format: 'public."itemReplenishmentSystem"',
+ type: "string",
+ },
+ modelId: {
description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- name: {
+ autodeskUrn: {
format: "text",
type: "string",
},
- companyId: {
- description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ modelPath: {
format: "text",
type: "string",
},
- protected: {
- default: false,
- format: "boolean",
- type: "boolean",
+ thumbnailPath: {
+ format: "text",
+ type: "string",
},
- createdAt: {
- default: "now()",
- format: "timestamp with time zone",
+ modelName: {
+ format: "text",
type: "string",
},
- updatedAt: {
- format: "timestamp with time zone",
+ modelSize: {
+ format: "bigint",
+ type: "integer",
+ },
+ salesOrderReadableId: {
+ format: "text",
+ type: "string",
+ },
+ quoteReadableId: {
+ format: "text",
type: "string",
},
},
type: "object",
},
- itemReplenishment: {
+ customField: {
required: [
- "itemId",
- "purchasingLeadTime",
- "conversionFactor",
- "purchasingBlocked",
- "manufacturingBlocked",
- "requiresConfiguration",
+ "id",
+ "name",
+ "sortOrder",
+ "table",
+ "dataTypeId",
"companyId",
- "createdBy",
"createdAt",
- "scrapPercentage",
+ "createdBy",
],
properties: {
- itemId: {
+ id: {
+ default: "public.xid()",
description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- preferredSupplierId: {
- description:
- "Note:\nThis is a Foreign Key to `supplier.id`.<fk table='supplier' column='id'/>",
+ name: {
format: "text",
type: "string",
},
- purchasingLeadTime: {
- default: 0,
+ sortOrder: {
+ default: 1,
format: "integer",
type: "integer",
},
- purchasingUnitOfMeasureCode: {
+ table: {
+ description:
+ "Note:\nThis is a Foreign Key to `customFieldTable.table`.<fk table='customFieldTable' column='table'/>",
format: "text",
type: "string",
},
- conversionFactor: {
- default: 1,
- format: "numeric",
- type: "number",
- },
- purchasingBlocked: {
- default: false,
- format: "boolean",
- type: "boolean",
+ dataTypeId: {
+ description:
+ "Note:\nThis is a Foreign Key to `attributeDataType.id`.<fk table='attributeDataType' column='id'/>",
+ format: "integer",
+ type: "integer",
},
- manufacturingBlocked: {
- default: false,
- format: "boolean",
- type: "boolean",
+ listOptions: {
+ format: "text[]",
+ items: {
+ type: "string",
+ },
+ type: "array",
},
- requiresConfiguration: {
- default: false,
+ active: {
+ default: true,
format: "boolean",
type: "boolean",
},
- lotSize: {
- default: 0,
- format: "integer",
- type: "integer",
- },
companyId: {
description:
"Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
format: "text",
type: "string",
},
- createdBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
createdAt: {
default: "now()",
format: "timestamp with time zone",
type: "string",
},
- updatedBy: {
+ createdBy: {
description:
"Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
@@ -49379,75 +51704,77 @@ export default {
format: "timestamp with time zone",
type: "string",
},
- customFields: {
- format: "jsonb",
- },
- scrapPercentage: {
- default: 0,
- format: "numeric",
- type: "number",
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
},
},
type: "object",
},
- documentLabel: {
- required: ["documentId", "userId", "label"],
+ quoteCustomerDetails: {
properties: {
- documentId: {
- description:
- "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `document.id`.<fk table='document' column='id'/>",
+ quoteId: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- userId: {
- description:
- "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ customerName: {
format: "text",
type: "string",
},
- label: {
- description: "Note:\nThis is a Primary Key.<pk/>",
+ customerAddressLine1: {
format: "text",
type: "string",
},
- },
- type: "object",
- },
- supplierShipping: {
- required: ["supplierId", "companyId"],
- properties: {
- supplierId: {
- description: "Note:\nThis is a Primary Key.<pk/>",
+ customerAddressLine2: {
format: "text",
type: "string",
},
- shippingSupplierId: {
- description:
- "Note:\nThis is a Foreign Key to `supplier.id`.<fk table='supplier' column='id'/>",
+ customerCity: {
format: "text",
type: "string",
},
- shippingSupplierLocationId: {
+ customerStateProvince: {
+ format: "text",
+ type: "string",
+ },
+ customerPostalCode: {
+ format: "text",
+ type: "string",
+ },
+ customerCountryCode: {
description:
- "Note:\nThis is a Foreign Key to `supplierLocation.id`.<fk table='supplierLocation' column='id'/>",
+ "Note:\nThis is a Foreign Key to `country.alpha2`.<fk table='country' column='alpha2'/>",
format: "text",
type: "string",
},
- shippingSupplierContactId: {
+ customerCountryName: {
+ format: "text",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ pickMethod: {
+ required: ["itemId", "locationId", "companyId", "createdBy", "createdAt"],
+ properties: {
+ itemId: {
description:
- "Note:\nThis is a Foreign Key to `supplierContact.id`.<fk table='supplierContact' column='id'/>",
+ "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
format: "text",
type: "string",
},
- shippingTermId: {
+ locationId: {
description:
- "Note:\nThis is a Foreign Key to `shippingTerm.id`.<fk table='shippingTerm' column='id'/>",
+ "Note:\nThis is a Foreign Key to `location.id`.<fk table='location' column='id'/>",
format: "text",
type: "string",
},
- shippingMethodId: {
+ defaultShelfId: {
description:
- "Note:\nThis is a Foreign Key to `shippingMethod.id`.<fk table='shippingMethod' column='id'/>",
+ "Note:\nThis is a Foreign Key to `shelf.id`.<fk table='shelf' column='id'/>",
format: "text",
type: "string",
},
@@ -49457,7 +51784,14 @@ export default {
format: "text",
type: "string",
},
- updatedAt: {
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdAt: {
+ default: "now()",
format: "timestamp with time zone",
type: "string",
},
@@ -49467,252 +51801,183 @@ export default {
format: "text",
type: "string",
},
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
customFields: {
format: "jsonb",
},
},
type: "object",
},
- productionQuantity: {
+ group: {
required: [
"id",
- "jobOperationId",
- "type",
- "quantity",
- "companyId",
+ "name",
+ "isIdentityGroup",
+ "isEmployeeTypeGroup",
+ "isCustomerOrgGroup",
+ "isCustomerTypeGroup",
+ "isSupplierTypeGroup",
+ "isSupplierOrgGroup",
"createdAt",
- "createdBy",
],
properties: {
id: {
- default: "public.xid()",
+ default: "extensions.uuid_generate_v4()",
description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- jobOperationId: {
- description:
- "Note:\nThis is a Foreign Key to `jobOperation.id`.<fk table='jobOperation' column='id'/>",
+ name: {
format: "text",
type: "string",
},
- type: {
- default: "Production",
- enum: ["Rework", "Scrap", "Production"],
- format: 'public."productionQuantityType"',
- type: "string",
- },
- quantity: {
- format: "integer",
- type: "integer",
- },
- setupProductionEventId: {
+ companyId: {
description:
- "Note:\nThis is a Foreign Key to `productionEvent.id`.<fk table='productionEvent' column='id'/>",
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
format: "text",
type: "string",
},
- laborProductionEventId: {
- description:
- "Note:\nThis is a Foreign Key to `productionEvent.id`.<fk table='productionEvent' column='id'/>",
- format: "text",
- type: "string",
+ isIdentityGroup: {
+ default: false,
+ format: "boolean",
+ type: "boolean",
},
- machineProductionEventId: {
- description:
- "Note:\nThis is a Foreign Key to `productionEvent.id`.<fk table='productionEvent' column='id'/>",
- format: "text",
- type: "string",
+ isEmployeeTypeGroup: {
+ default: false,
+ format: "boolean",
+ type: "boolean",
},
- scrapReason: {
- format: "text",
- type: "string",
+ isCustomerOrgGroup: {
+ default: false,
+ format: "boolean",
+ type: "boolean",
},
- companyId: {
- description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
- format: "text",
- type: "string",
+ isCustomerTypeGroup: {
+ default: false,
+ format: "boolean",
+ type: "boolean",
+ },
+ isSupplierTypeGroup: {
+ default: false,
+ format: "boolean",
+ type: "boolean",
+ },
+ isSupplierOrgGroup: {
+ default: false,
+ format: "boolean",
+ type: "boolean",
},
createdAt: {
default: "now()",
format: "timestamp with time zone",
type: "string",
},
- createdBy: {
- format: "text",
- type: "string",
- },
updatedAt: {
format: "timestamp with time zone",
type: "string",
},
- updatedBy: {
- format: "text",
- type: "string",
- },
},
type: "object",
},
- customerShipping: {
- required: ["customerId", "companyId"],
+ parts: {
properties: {
- customerId: {
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
- type: "string",
+ active: {
+ format: "boolean",
+ type: "boolean",
},
- shippingCustomerId: {
+ assignee: {
description:
- "Note:\nThis is a Foreign Key to `customer.id`.<fk table='customer' column='id'/>",
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- shippingCustomerLocationId: {
- description:
- "Note:\nThis is a Foreign Key to `customerLocation.id`.<fk table='customerLocation' column='id'/>",
- format: "text",
+ defaultMethodType: {
+ enum: ["Buy", "Make", "Pick"],
+ format: 'public."methodType"',
type: "string",
},
- shippingCustomerContactId: {
- description:
- "Note:\nThis is a Foreign Key to `customerContact.id`.<fk table='customerContact' column='id'/>",
+ description: {
format: "text",
type: "string",
},
- shippingTermId: {
- description:
- "Note:\nThis is a Foreign Key to `shippingTerm.id`.<fk table='shippingTerm' column='id'/>",
- format: "text",
+ itemTrackingType: {
+ enum: ["Inventory", "Non-Inventory"],
+ format: 'public."itemTrackingType"',
type: "string",
},
- shippingMethodId: {
- description:
- "Note:\nThis is a Foreign Key to `shippingMethod.id`.<fk table='shippingMethod' column='id'/>",
+ name: {
format: "text",
type: "string",
},
- companyId: {
- description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
- format: "text",
+ replenishmentSystem: {
+ enum: ["Buy", "Make", "Buy and Make"],
+ format: 'public."itemReplenishmentSystem"',
type: "string",
},
- updatedAt: {
- format: "timestamp with time zone",
+ unitOfMeasureCode: {
+ format: "text",
type: "string",
},
- updatedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ thumbnailPath: {
format: "text",
type: "string",
},
- },
- type: "object",
- },
- fiscalYearSettings: {
- required: ["companyId", "startMonth", "taxStartMonth", "updatedBy"],
- properties: {
- companyId: {
+ modelId: {
description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- startMonth: {
- default: "January",
- enum: [
- "January",
- "February",
- "March",
- "April",
- "May",
- "June",
- "July",
- "August",
- "September",
- "October",
- "November",
- "December",
- ],
- format: "public.month",
+ autodeskUrn: {
+ format: "text",
type: "string",
},
- taxStartMonth: {
- default: "January",
- enum: [
- "January",
- "February",
- "March",
- "April",
- "May",
- "June",
- "July",
- "August",
- "September",
- "October",
- "November",
- "December",
- ],
- format: "public.month",
+ modelPath: {
+ format: "text",
type: "string",
},
- updatedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ modelName: {
+ format: "text",
+ type: "string",
+ },
+ modelSize: {
+ format: "bigint",
+ type: "integer",
+ },
+ id: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- },
- type: "object",
- },
- itemCost: {
- required: [
- "itemId",
- "costingMethod",
- "standardCost",
- "unitCost",
- "costIsAdjusted",
- "companyId",
- "createdBy",
- "createdAt",
- ],
- properties: {
itemId: {
description:
"Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
format: "text",
type: "string",
},
- itemPostingGroupId: {
+ approved: {
+ format: "boolean",
+ type: "boolean",
+ },
+ approvedBy: {
description:
- "Note:\nThis is a Foreign Key to `itemPostingGroup.id`.<fk table='itemPostingGroup' column='id'/>",
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- costingMethod: {
- enum: ["Standard", "Average", "LIFO", "FIFO"],
- format: 'public."itemCostingMethod"',
+ fromDate: {
+ format: "date",
type: "string",
},
- standardCost: {
- default: 0,
- format: "numeric",
- type: "number",
- },
- unitCost: {
- default: 0,
- format: "numeric",
- type: "number",
- },
- costIsAdjusted: {
- default: false,
- format: "boolean",
- type: "boolean",
+ toDate: {
+ format: "date",
+ type: "string",
},
companyId: {
description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
format: "text",
type: "string",
},
@@ -49723,7 +51988,6 @@ export default {
type: "string",
},
createdAt: {
- default: "now()",
format: "timestamp with time zone",
type: "string",
},
@@ -49740,127 +52004,224 @@ export default {
customFields: {
format: "jsonb",
},
+ externalId: {
+ format: "jsonb",
+ },
+ supplierIds: {
+ format: "text",
+ type: "string",
+ },
+ unitOfMeasure: {
+ format: "text",
+ type: "string",
+ },
},
type: "object",
},
- salesOrderLocations: {
+ receiptLine: {
+ required: [
+ "id",
+ "receiptId",
+ "itemId",
+ "orderQuantity",
+ "outstandingQuantity",
+ "receivedQuantity",
+ "unitOfMeasure",
+ "unitPrice",
+ "companyId",
+ "createdAt",
+ "createdBy",
+ ],
properties: {
id: {
+ default: "public.xid()",
description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- customerName: {
+ receiptId: {
+ description:
+ "Note:\nThis is a Foreign Key to `receipt.id`.<fk table='receipt' column='id'/>",
format: "text",
type: "string",
},
- customerAddressLine1: {
+ lineId: {
format: "text",
type: "string",
},
- customerAddressLine2: {
+ itemId: {
+ description:
+ "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
format: "text",
type: "string",
},
- customerCity: {
+ itemReadableId: {
format: "text",
type: "string",
},
- customerStateProvince: {
- format: "text",
- type: "string",
+ orderQuantity: {
+ format: "numeric",
+ type: "number",
},
- customerPostalCode: {
- format: "text",
- type: "string",
+ outstandingQuantity: {
+ default: 0,
+ format: "numeric",
+ type: "number",
},
- customerCountryCode: {
+ receivedQuantity: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ locationId: {
description:
- "Note:\nThis is a Foreign Key to `country.alpha2`.<fk table='country' column='alpha2'/>",
+ "Note:\nThis is a Foreign Key to `location.id`.<fk table='location' column='id'/>",
format: "text",
type: "string",
},
- customerCountryName: {
+ shelfId: {
+ description:
+ "Note:\nThis is a Foreign Key to `shelf.id`.<fk table='shelf' column='id'/>",
format: "text",
type: "string",
},
- paymentCustomerName: {
+ unitOfMeasure: {
format: "text",
type: "string",
},
- paymentAddressLine1: {
- format: "text",
- type: "string",
+ unitPrice: {
+ format: "numeric",
+ type: "number",
},
- paymentAddressLine2: {
+ companyId: {
format: "text",
type: "string",
},
- paymentCity: {
- format: "text",
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
type: "string",
},
- paymentStateProvince: {
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- paymentPostalCode: {
- format: "text",
+ updatedAt: {
+ format: "timestamp with time zone",
type: "string",
},
- paymentCountryCode: {
+ updatedBy: {
description:
- "Note:\nThis is a Foreign Key to `country.alpha2`.<fk table='country' column='alpha2'/>",
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- paymentCountryName: {
- format: "text",
- type: "string",
+ conversionFactor: {
+ default: 1,
+ format: "numeric",
+ type: "number",
},
},
type: "object",
},
- feedback: {
- required: ["id", "location", "userId", "feedback"],
+ quoteLinePrice: {
+ required: [
+ "quoteId",
+ "quoteLineId",
+ "quantity",
+ "leadTime",
+ "discountPercent",
+ "createdAt",
+ "createdBy",
+ "unitPrice",
+ ],
properties: {
- id: {
- default: "public.xid()",
- description: "Note:\nThis is a Primary Key.<pk/>",
+ quoteId: {
+ description:
+ "Note:\nThis is a Foreign Key to `quote.id`.<fk table='quote' column='id'/>",
format: "text",
type: "string",
},
- location: {
+ quoteLineId: {
+ description:
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `quoteLine.id`.<fk table='quoteLine' column='id'/>",
format: "text",
type: "string",
},
- userId: {
+ quantity: {
+ default: 1,
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "numeric",
+ type: "number",
+ },
+ leadTime: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ discountPercent: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ createdBy: {
description:
"Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- feedback: {
- format: "text",
+ updatedAt: {
+ format: "timestamp with time zone",
type: "string",
},
- attachmentPath: {
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
+ unitPrice: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ exchangeRate: {
+ default: 1,
+ format: "numeric",
+ type: "number",
+ },
+ convertedUnitPrice: {
+ format: "numeric",
+ type: "number",
+ },
+ netUnitPrice: {
+ format: "numeric",
+ type: "number",
+ },
+ convertedNetUnitPrice: {
+ format: "numeric",
+ type: "number",
+ },
+ netExtendedPrice: {
+ format: "numeric",
+ type: "number",
+ },
+ convertedNetExtendedPrice: {
+ format: "numeric",
+ type: "number",
+ },
},
type: "object",
},
- oauthCode: {
- required: [
- "id",
- "code",
- "clientId",
- "userId",
- "companyId",
- "redirectUri",
- "expiresAt",
- ],
+ makeMethod: {
+ required: ["id", "itemId", "companyId", "createdAt", "createdBy"],
properties: {
id: {
default: "public.xid()",
@@ -49868,19 +52229,9 @@ export default {
format: "text",
type: "string",
},
- code: {
- format: "text",
- type: "string",
- },
- clientId: {
- description:
- "Note:\nThis is a Foreign Key to `oauthClient.clientId`.<fk table='oauthClient' column='clientId'/>",
- format: "text",
- type: "string",
- },
- userId: {
+ itemId: {
description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
format: "text",
type: "string",
},
@@ -49890,105 +52241,142 @@ export default {
format: "text",
type: "string",
},
- redirectUri: {
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- createdAt: {
- default: "CURRENT_TIMESTAMP",
+ updatedAt: {
format: "timestamp with time zone",
type: "string",
},
- expiresAt: {
- format: "timestamp with time zone",
+ updatedBy: {
+ format: "text",
type: "string",
},
+ customFields: {
+ format: "jsonb",
+ },
},
type: "object",
},
- tools: {
+ groups: {
properties: {
- active: {
+ id: {
+ format: "text",
+ type: "string",
+ },
+ isEmployeeTypeGroup: {
format: "boolean",
type: "boolean",
},
- assignee: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ isCustomerOrgGroup: {
+ format: "boolean",
+ type: "boolean",
+ },
+ isCustomerTypeGroup: {
+ format: "boolean",
+ type: "boolean",
+ },
+ isSupplierOrgGroup: {
+ format: "boolean",
+ type: "boolean",
+ },
+ isSupplierTypeGroup: {
+ format: "boolean",
+ type: "boolean",
+ },
+ name: {
format: "text",
type: "string",
},
- defaultMethodType: {
- enum: ["Buy", "Make", "Pick"],
- format: 'public."methodType"',
+ companyId: {
+ format: "text",
type: "string",
},
- description: {
+ parentId: {
format: "text",
type: "string",
},
- itemTrackingType: {
- enum: ["Inventory", "Non-Inventory"],
- format: 'public."itemTrackingType"',
- type: "string",
+ users: {
+ format: "jsonb",
},
- name: {
+ },
+ type: "object",
+ },
+ purchaseOrderDelivery: {
+ required: ["id", "dropShipment", "companyId"],
+ properties: {
+ id: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- replenishmentSystem: {
- enum: ["Buy", "Make", "Buy and Make"],
- format: 'public."itemReplenishmentSystem"',
+ locationId: {
+ description:
+ "Note:\nThis is a Foreign Key to `location.id`.<fk table='location' column='id'/>",
+ format: "text",
type: "string",
},
- thumbnailPath: {
+ shippingMethodId: {
+ description:
+ "Note:\nThis is a Foreign Key to `shippingMethod.id`.<fk table='shippingMethod' column='id'/>",
format: "text",
type: "string",
},
- unitOfMeasureCode: {
+ shippingTermId: {
+ description:
+ "Note:\nThis is a Foreign Key to `shippingTerm.id`.<fk table='shippingTerm' column='id'/>",
format: "text",
type: "string",
},
- id: {
- description: "Note:\nThis is a Primary Key.<pk/>",
+ receiptRequestedDate: {
+ format: "date",
+ type: "string",
+ },
+ receiptPromisedDate: {
+ format: "date",
+ type: "string",
+ },
+ deliveryDate: {
+ format: "date",
+ type: "string",
+ },
+ notes: {
format: "text",
type: "string",
},
- itemId: {
- description:
- "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
+ trackingNumber: {
format: "text",
type: "string",
},
- approved: {
+ dropShipment: {
+ default: false,
format: "boolean",
type: "boolean",
},
- approvedBy: {
+ customerId: {
description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ "Note:\nThis is a Foreign Key to `customer.id`.<fk table='customer' column='id'/>",
format: "text",
type: "string",
},
- customFields: {
- format: "jsonb",
- },
- companyId: {
+ customerLocationId: {
description:
- "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ "Note:\nThis is a Foreign Key to `customerLocation.id`.<fk table='customerLocation' column='id'/>",
format: "text",
type: "string",
},
- createdBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ companyId: {
format: "text",
type: "string",
},
- createdAt: {
- format: "timestamp with time zone",
- type: "string",
- },
updatedBy: {
description:
"Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
@@ -49999,77 +52387,73 @@ export default {
format: "timestamp with time zone",
type: "string",
},
- externalId: {
+ customFields: {
format: "jsonb",
},
- supplierIds: {
- format: "text",
- type: "string",
- },
- unitOfMeasure: {
- format: "text",
- type: "string",
- },
},
type: "object",
},
- quoteMaterialWithMakeMethodId: {
+ warehouse: {
+ required: [
+ "id",
+ "name",
+ "locationId",
+ "requiresPick",
+ "requiresPutAway",
+ "requiresBin",
+ "requiresReceive",
+ "requiresShipment",
+ "active",
+ "companyId",
+ "createdBy",
+ "createdAt",
+ ],
properties: {
id: {
+ default: "public.xid()",
description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- quoteId: {
- description:
- "Note:\nThis is a Foreign Key to `quote.id`.<fk table='quote' column='id'/>",
- format: "text",
- type: "string",
- },
- quoteLineId: {
- description:
- "Note:\nThis is a Foreign Key to `quoteLine.id`.<fk table='quoteLine' column='id'/>",
+ name: {
format: "text",
type: "string",
},
- itemId: {
+ locationId: {
description:
- "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
- format: "text",
- type: "string",
- },
- itemReadableId: {
- format: "text",
- type: "string",
- },
- itemType: {
+ "Note:\nThis is a Foreign Key to `location.id`.<fk table='location' column='id'/>",
format: "text",
type: "string",
},
- methodType: {
- enum: ["Buy", "Make", "Pick"],
- format: 'public."methodType"',
- type: "string",
+ requiresPick: {
+ default: false,
+ format: "boolean",
+ type: "boolean",
},
- order: {
- format: "double precision",
- type: "number",
+ requiresPutAway: {
+ default: false,
+ format: "boolean",
+ type: "boolean",
},
- description: {
- format: "text",
- type: "string",
+ requiresBin: {
+ default: false,
+ format: "boolean",
+ type: "boolean",
},
- quantity: {
- format: "numeric",
- type: "number",
+ requiresReceive: {
+ default: false,
+ format: "boolean",
+ type: "boolean",
},
- unitOfMeasureCode: {
- format: "text",
- type: "string",
+ requiresShipment: {
+ default: false,
+ format: "boolean",
+ type: "boolean",
},
- unitCost: {
- format: "numeric",
- type: "number",
+ active: {
+ default: true,
+ format: "boolean",
+ type: "boolean",
},
companyId: {
description:
@@ -50077,17 +52461,14 @@ export default {
format: "text",
type: "string",
},
- createdAt: {
- format: "timestamp with time zone",
- type: "string",
- },
createdBy: {
description:
"Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- updatedAt: {
+ createdAt: {
+ default: "now()",
format: "timestamp with time zone",
type: "string",
},
@@ -50097,89 +52478,65 @@ export default {
format: "text",
type: "string",
},
- customFields: {
- format: "jsonb",
- },
- quoteMakeMethodId: {
- description:
- "Note:\nThis is a Foreign Key to `quoteMakeMethod.id`.<fk table='quoteMakeMethod' column='id'/>",
- format: "text",
- type: "string",
- },
- quoteOperationId: {
- description:
- "Note:\nThis is a Foreign Key to `quoteOperation.id`.<fk table='quoteOperation' column='id'/>",
- format: "text",
- type: "string",
- },
- quoteMaterialMakeMethodId: {
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
+ updatedAt: {
+ format: "timestamp with time zone",
type: "string",
},
},
type: "object",
},
- suppliers: {
+ services: {
properties: {
id: {
description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- name: {
- format: "text",
- type: "string",
- },
- supplierTypeId: {
+ itemId: {
description:
- "Note:\nThis is a Foreign Key to `supplierType.id`.<fk table='supplierType' column='id'/>",
+ "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
format: "text",
type: "string",
},
- supplierStatusId: {
- description:
- "Note:\nThis is a Foreign Key to `supplierStatus.id`.<fk table='supplierStatus' column='id'/>",
- format: "text",
+ serviceType: {
+ enum: ["Internal", "External"],
+ format: 'public."serviceType"',
type: "string",
},
- taxId: {
- format: "text",
- type: "string",
+ approved: {
+ format: "boolean",
+ type: "boolean",
},
- accountManagerId: {
+ approvedBy: {
description:
"Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- logo: {
- format: "text",
+ fromDate: {
+ format: "date",
type: "string",
},
- assignee: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
+ toDate: {
+ format: "date",
type: "string",
},
+ customFields: {
+ format: "jsonb",
+ },
companyId: {
description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
format: "text",
type: "string",
},
- createdAt: {
- format: "timestamp with time zone",
- type: "string",
- },
createdBy: {
description:
"Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- updatedAt: {
+ createdAt: {
format: "timestamp with time zone",
type: "string",
},
@@ -50189,335 +52546,385 @@ export default {
format: "text",
type: "string",
},
- customFields: {
- format: "jsonb",
- },
- currencyCode: {
- description:
- "Note:\nThis is a Foreign Key to `currencyCode.code`.<fk table='currencyCode' column='code'/>",
- format: "text",
+ updatedAt: {
+ format: "timestamp with time zone",
type: "string",
},
- phone: {
+ name: {
format: "text",
type: "string",
},
- fax: {
+ description: {
format: "text",
type: "string",
},
- website: {
- format: "text",
+ active: {
+ format: "boolean",
+ type: "boolean",
+ },
+ replenishmentSystem: {
+ enum: ["Buy", "Make", "Buy and Make"],
+ format: 'public."itemReplenishmentSystem"',
type: "string",
},
- type: {
- format: "text",
+ defaultMethodType: {
+ enum: ["Buy", "Make", "Pick"],
+ format: 'public."methodType"',
type: "string",
},
- status: {
+ assignee: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- orderCount: {
- format: "bigint",
- type: "integer",
- },
- partCount: {
- format: "bigint",
- type: "integer",
+ supplierIds: {
+ format: "text[]",
+ items: {
+ type: "string",
+ },
+ type: "array",
},
},
type: "object",
},
- purchaseOrders: {
+ itemLedger: {
+ required: [
+ "id",
+ "entryNumber",
+ "postingDate",
+ "entryType",
+ "itemId",
+ "quantity",
+ "companyId",
+ "createdAt",
+ "createdBy",
+ ],
properties: {
id: {
+ default: "public.xid()",
description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- purchaseOrderId: {
- format: "text",
- type: "string",
- },
- revisionId: {
+ entryNumber: {
format: "integer",
type: "integer",
},
- type: {
- enum: ["Purchase", "Return"],
- format: 'public."purchaseOrderType"',
+ postingDate: {
+ default: "CURRENT_DATE",
+ format: "date",
type: "string",
},
- status: {
+ entryType: {
enum: [
- "Draft",
- "To Review",
- "Rejected",
- "To Receive",
- "To Receive and Invoice",
- "To Invoice",
- "Completed",
- "Closed",
+ "Purchase",
+ "Sale",
+ "Positive Adjmt.",
+ "Negative Adjmt.",
+ "Transfer",
+ "Consumption",
+ "Output",
+ "Assembly Consumption",
+ "Assembly Output",
],
- format: 'public."purchaseOrderStatus"',
- type: "string",
- },
- orderDate: {
- format: "date",
+ format: 'public."itemLedgerType"',
type: "string",
},
- notes: {
- format: "text",
- type: "string",
+ documentType: {
+ enum: [
+ "Sales Shipment",
+ "Sales Invoice",
+ "Sales Return Receipt",
+ "Sales Credit Memo",
+ "Purchase Receipt",
+ "Purchase Invoice",
+ "Purchase Return Shipment",
+ "Purchase Credit Memo",
+ "Transfer Shipment",
+ "Transfer Receipt",
+ "Service Shipment",
+ "Service Invoice",
+ "Service Credit Memo",
+ "Posted Assembly",
+ "Inventory Receipt",
+ "Inventory Shipment",
+ "Direct Transfer",
+ ],
+ format: 'public."itemLedgerDocumentType"',
+ type: "string",
},
- supplierId: {
- description:
- "Note:\nThis is a Foreign Key to `supplier.id`.<fk table='supplier' column='id'/>",
+ documentId: {
format: "text",
type: "string",
},
- supplierLocationId: {
- description:
- "Note:\nThis is a Foreign Key to `supplierLocation.id`.<fk table='supplierLocation' column='id'/>",
+ externalDocumentId: {
format: "text",
type: "string",
},
- supplierContactId: {
+ itemId: {
description:
- "Note:\nThis is a Foreign Key to `supplierContact.id`.<fk table='supplierContact' column='id'/>",
+ "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
format: "text",
type: "string",
},
- supplierReference: {
+ itemReadableId: {
format: "text",
type: "string",
},
- assignee: {
+ locationId: {
description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ "Note:\nThis is a Foreign Key to `location.id`.<fk table='location' column='id'/>",
format: "text",
type: "string",
},
- companyId: {
+ shelfId: {
description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ "Note:\nThis is a Foreign Key to `shelf.id`.<fk table='shelf' column='id'/>",
format: "text",
type: "string",
},
- closedAt: {
- format: "date",
- type: "string",
+ quantity: {
+ format: "numeric",
+ type: "number",
},
- closedBy: {
+ companyId: {
description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
format: "text",
type: "string",
},
- customFields: {
- format: "jsonb",
- },
createdAt: {
+ default: "now()",
format: "timestamp with time zone",
type: "string",
},
createdBy: {
+ default: "system",
description:
"Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- updatedAt: {
- format: "timestamp with time zone",
- type: "string",
- },
- updatedBy: {
+ },
+ type: "object",
+ },
+ salesRfqFavorite: {
+ required: ["rfqId", "userId"],
+ properties: {
+ rfqId: {
description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `salesRfq.id`.<fk table='salesRfq' column='id'/>",
format: "text",
type: "string",
},
- currencyCode: {
+ userId: {
description:
- "Note:\nThis is a Foreign Key to `currencyCode.code`.<fk table='currencyCode' column='code'/>",
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- exchangeRate: {
- format: "numeric",
- type: "number",
- },
- exchangeRateUpdatedAt: {
- format: "timestamp with time zone",
- type: "string",
- },
- shippingMethodName: {
+ },
+ type: "object",
+ },
+ supplierContact: {
+ required: ["id", "supplierId", "contactId"],
+ properties: {
+ id: {
+ default: "public.xid()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- shippingTermName: {
+ supplierId: {
+ description:
+ "Note:\nThis is a Foreign Key to `supplier.id`.<fk table='supplier' column='id'/>",
format: "text",
type: "string",
},
- paymentTermName: {
+ contactId: {
+ description:
+ "Note:\nThis is a Foreign Key to `contact.id`.<fk table='contact' column='id'/>",
format: "text",
type: "string",
},
- receiptRequestedDate: {
- format: "date",
+ supplierLocationId: {
+ description:
+ "Note:\nThis is a Foreign Key to `supplierLocation.id`.<fk table='supplierLocation' column='id'/>",
+ format: "text",
type: "string",
},
- receiptPromisedDate: {
- format: "date",
+ userId: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
type: "string",
},
- dropShipment: {
- format: "boolean",
- type: "boolean",
+ customFields: {
+ format: "jsonb",
},
- locationId: {
+ },
+ type: "object",
+ },
+ integrations: {
+ properties: {
+ id: {
description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- locationName: {
+ jsonschema: {
+ format: "json",
+ },
+ companyId: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- favorite: {
+ metadata: {
+ format: "json",
+ },
+ active: {
format: "boolean",
type: "boolean",
},
},
type: "object",
},
- purchasePayment: {
- required: [
- "id",
- "paymentId",
- "supplierId",
- "currencyCode",
- "exchangeRate",
- "totalAmount",
- "companyId",
- "createdBy",
- "createdAt",
- ],
+ groups_recursive: {
properties: {
- id: {
- default: "public.xid()",
- description: "Note:\nThis is a Primary Key.<pk/>",
+ groupId: {
format: "text",
type: "string",
},
- paymentId: {
+ name: {
format: "text",
type: "string",
},
- supplierId: {
- description:
- "Note:\nThis is a Foreign Key to `supplier.id`.<fk table='supplier' column='id'/>",
+ companyId: {
format: "text",
type: "string",
},
- paymentDate: {
- format: "date",
- type: "string",
- },
- currencyCode: {
+ parentId: {
format: "text",
type: "string",
},
- exchangeRate: {
- default: 1,
- format: "numeric",
- type: "number",
- },
- totalAmount: {
- default: 0,
- format: "numeric",
- type: "number",
+ isIdentityGroup: {
+ format: "boolean",
+ type: "boolean",
},
- companyId: {
- description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
- format: "text",
- type: "string",
+ isEmployeeTypeGroup: {
+ format: "boolean",
+ type: "boolean",
},
- createdBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
+ isCustomerOrgGroup: {
+ format: "boolean",
+ type: "boolean",
},
- createdAt: {
- default: "now()",
- format: "timestamp with time zone",
- type: "string",
+ isCustomerTypeGroup: {
+ format: "boolean",
+ type: "boolean",
},
- updatedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
+ isSupplierOrgGroup: {
+ format: "boolean",
+ type: "boolean",
},
- updatedAt: {
- format: "timestamp with time zone",
- type: "string",
+ isSupplierTypeGroup: {
+ format: "boolean",
+ type: "boolean",
},
- customFields: {
+ user: {
format: "jsonb",
},
},
type: "object",
},
- customers: {
+ purchaseInvoices: {
properties: {
id: {
description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- name: {
+ invoiceId: {
format: "text",
type: "string",
},
- customerTypeId: {
+ supplierId: {
description:
- "Note:\nThis is a Foreign Key to `customerType.id`.<fk table='customerType' column='id'/>",
+ "Note:\nThis is a Foreign Key to `supplier.id`.<fk table='supplier' column='id'/>",
format: "text",
type: "string",
},
- customerStatusId: {
- description:
- "Note:\nThis is a Foreign Key to `customerStatus.id`.<fk table='customerStatus' column='id'/>",
+ supplierReference: {
format: "text",
type: "string",
},
- taxId: {
+ invoiceSupplierId: {
+ description:
+ "Note:\nThis is a Foreign Key to `supplier.id`.<fk table='supplier' column='id'/>",
format: "text",
type: "string",
},
- accountManagerId: {
+ postingDate: {
+ format: "date",
+ type: "string",
+ },
+ dateIssued: {
+ format: "date",
+ type: "string",
+ },
+ dateDue: {
+ format: "date",
+ type: "string",
+ },
+ datePaid: {
+ format: "date",
+ type: "string",
+ },
+ paymentTermId: {
description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ "Note:\nThis is a Foreign Key to `paymentTerm.id`.<fk table='paymentTerm' column='id'/>",
format: "text",
type: "string",
},
- logo: {
+ currencyCode: {
format: "text",
type: "string",
},
+ exchangeRate: {
+ format: "numeric",
+ type: "number",
+ },
+ subtotal: {
+ format: "numeric",
+ type: "number",
+ },
+ totalDiscount: {
+ format: "numeric",
+ type: "number",
+ },
+ totalAmount: {
+ format: "numeric",
+ type: "number",
+ },
+ totalTax: {
+ format: "numeric",
+ type: "number",
+ },
+ balance: {
+ format: "numeric",
+ type: "number",
+ },
assignee: {
description:
"Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- companyId: {
+ createdBy: {
description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
@@ -50525,7 +52932,7 @@ export default {
format: "timestamp with time zone",
type: "string",
},
- createdBy: {
+ updatedBy: {
description:
"Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
@@ -50535,210 +52942,120 @@ export default {
format: "timestamp with time zone",
type: "string",
},
- updatedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
customFields: {
format: "jsonb",
},
- currencyCode: {
+ companyId: {
description:
- "Note:\nThis is a Foreign Key to `currencyCode.code`.<fk table='currencyCode' column='code'/>",
- format: "text",
- type: "string",
- },
- phone: {
- format: "text",
- type: "string",
- },
- fax: {
- format: "text",
- type: "string",
- },
- website: {
- format: "text",
- type: "string",
- },
- type: {
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
format: "text",
type: "string",
},
status: {
- format: "text",
- type: "string",
- },
- orderCount: {
- format: "bigint",
- type: "integer",
- },
- },
- type: "object",
- },
- salesOrderFavorite: {
- required: ["salesOrderId", "userId"],
- properties: {
- salesOrderId: {
- description:
- "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `salesOrder.id`.<fk table='salesOrder' column='id'/>",
- format: "text",
+ enum: [
+ "Draft",
+ "Pending",
+ "Submitted",
+ "Return",
+ "Debit Note Issued",
+ "Paid",
+ "Partially Paid",
+ "Overdue",
+ "Voided",
+ ],
+ format: 'public."purchaseInvoiceStatus"',
type: "string",
},
- userId: {
- description:
- "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ paymentTermName: {
format: "text",
type: "string",
},
},
type: "object",
},
- fixture: {
- required: ["id", "approved", "companyId", "createdBy", "createdAt"],
+ customerContact: {
+ required: ["id", "customerId", "contactId"],
properties: {
id: {
+ default: "public.xid()",
description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- itemId: {
- description:
- "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
- format: "text",
- type: "string",
- },
customerId: {
description:
"Note:\nThis is a Foreign Key to `customer.id`.<fk table='customer' column='id'/>",
format: "text",
type: "string",
},
- approved: {
- default: false,
- format: "boolean",
- type: "boolean",
- },
- approvedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- customFields: {
- format: "jsonb",
- },
- companyId: {
+ contactId: {
description:
- "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ "Note:\nThis is a Foreign Key to `contact.id`.<fk table='contact' column='id'/>",
format: "text",
type: "string",
},
- createdBy: {
+ customerLocationId: {
description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ "Note:\nThis is a Foreign Key to `customerLocation.id`.<fk table='customerLocation' column='id'/>",
format: "text",
type: "string",
},
- createdAt: {
- default: "now()",
- format: "timestamp with time zone",
- type: "string",
- },
- updatedBy: {
+ userId: {
description:
"Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- updatedAt: {
- format: "timestamp with time zone",
- type: "string",
- },
- externalId: {
+ customFields: {
format: "jsonb",
},
},
type: "object",
},
- document: {
+ accountingPeriod: {
required: [
"id",
- "path",
- "name",
- "size",
- "type",
- "active",
+ "startDate",
+ "endDate",
+ "status",
"companyId",
"createdBy",
"createdAt",
],
properties: {
id: {
- default: "extensions.uuid_generate_v4()",
+ default: "public.xid()",
description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- path: {
- format: "text",
+ startDate: {
+ format: "date",
type: "string",
},
- name: {
- format: "text",
+ endDate: {
+ format: "date",
type: "string",
},
- description: {
- default: "",
- format: "text",
+ status: {
+ default: "Inactive",
+ enum: ["Inactive", "Active"],
+ format: 'public."accountingPeriodStatus"',
type: "string",
},
- size: {
- format: "integer",
- type: "integer",
- },
- extension: {
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
format: "text",
type: "string",
},
- type: {
- enum: [
- "Archive",
- "Document",
- "Presentation",
- "PDF",
- "Spreadsheet",
- "Text",
- "Image",
- "Video",
- "Audio",
- "Other",
- "Model",
- ],
- format: 'public."documentType"',
+ closedAt: {
+ format: "timestamp with time zone",
type: "string",
},
- readGroups: {
- format: "text[]",
- items: {
- type: "string",
- },
- type: "array",
- },
- writeGroups: {
- format: "text[]",
- items: {
- type: "string",
- },
- type: "array",
- },
- active: {
- default: true,
- format: "boolean",
- type: "boolean",
- },
- companyId: {
+ closedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
@@ -50763,105 +53080,137 @@ export default {
format: "timestamp with time zone",
type: "string",
},
- sourceDocument: {
- enum: [
- "Job",
- "Part",
- "Purchase Order",
- "Purchase Invoice",
- "Purchase Return Order",
- "Quote",
- "Receipt",
- "Request for Quote",
- "Sales Order",
- "Sales Invoice",
- "Sales Return Order",
- "Service",
- "Shipment",
- "Material",
- "Tool",
- "Fixture",
- "Consumable",
- ],
- format: 'public."documentSourceType"',
- type: "string",
- },
- sourceDocumentId: {
- format: "text",
- type: "string",
- },
},
type: "object",
},
- receipts: {
+ purchaseInvoicePaymentRelation: {
+ required: ["id", "invoiceId", "paymentId"],
properties: {
id: {
+ default: "public.xid()",
description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- receiptId: {
+ invoiceId: {
+ description:
+ "Note:\nThis is a Foreign Key to `purchaseInvoice.id`.<fk table='purchaseInvoice' column='id'/>",
format: "text",
type: "string",
},
- locationId: {
+ paymentId: {
description:
- "Note:\nThis is a Foreign Key to `location.id`.<fk table='location' column='id'/>",
+ "Note:\nThis is a Foreign Key to `purchasePayment.id`.<fk table='purchasePayment' column='id'/>",
format: "text",
type: "string",
},
- sourceDocument: {
- enum: [
- "Sales Order",
- "Sales Invoice",
- "Sales Return Order",
- "Purchase Order",
- "Purchase Invoice",
- "Purchase Return Order",
- "Inbound Transfer",
- "Outbound Transfer",
- "Manufacturing Consumption",
- "Manufacturing Output",
- ],
- format: 'public."receiptSourceDocument"',
- type: "string",
- },
- sourceDocumentId: {
+ },
+ type: "object",
+ },
+ itemPlanning: {
+ required: [
+ "itemId",
+ "locationId",
+ "reorderingPolicy",
+ "critical",
+ "safetyStockQuantity",
+ "safetyStockLeadTime",
+ "demandAccumulationPeriod",
+ "demandReschedulingPeriod",
+ "demandAccumulationIncludesInventory",
+ "reorderPoint",
+ "reorderQuantity",
+ "reorderMaximumInventory",
+ "minimumOrderQuantity",
+ "maximumOrderQuantity",
+ "orderMultiple",
+ "companyId",
+ "createdBy",
+ "createdAt",
+ ],
+ properties: {
+ itemId: {
+ description:
+ "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
format: "text",
type: "string",
},
- sourceDocumentReadableId: {
+ locationId: {
+ description:
+ "Note:\nThis is a Foreign Key to `location.id`.<fk table='location' column='id'/>",
format: "text",
type: "string",
},
- externalDocumentId: {
- format: "text",
+ reorderingPolicy: {
+ default: "Demand-Based Reorder",
+ enum: [
+ "Manual Reorder",
+ "Demand-Based Reorder",
+ "Fixed Reorder Quantity",
+ "Maximum Quantity",
+ ],
+ format: 'public."itemReorderingPolicy"',
type: "string",
},
- supplierId: {
- description:
- "Note:\nThis is a Foreign Key to `supplier.id`.<fk table='supplier' column='id'/>",
- format: "text",
- type: "string",
+ critical: {
+ default: false,
+ format: "boolean",
+ type: "boolean",
},
- status: {
- enum: ["Draft", "Pending", "Posted"],
- format: 'public."receiptStatus"',
- type: "string",
+ safetyStockQuantity: {
+ default: 0,
+ format: "integer",
+ type: "integer",
},
- postingDate: {
- format: "date",
- type: "string",
+ safetyStockLeadTime: {
+ default: 0,
+ format: "integer",
+ type: "integer",
},
- invoiced: {
+ demandAccumulationPeriod: {
+ default: 0,
+ format: "integer",
+ type: "integer",
+ },
+ demandReschedulingPeriod: {
+ default: 0,
+ format: "integer",
+ type: "integer",
+ },
+ demandAccumulationIncludesInventory: {
+ default: false,
format: "boolean",
type: "boolean",
},
- assignee: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
+ reorderPoint: {
+ default: 0,
+ format: "integer",
+ type: "integer",
+ },
+ reorderQuantity: {
+ default: 0,
+ format: "integer",
+ type: "integer",
+ },
+ reorderMaximumInventory: {
+ default: 0,
+ format: "integer",
+ type: "integer",
+ },
+ minimumOrderQuantity: {
+ default: 0,
+ format: "integer",
+ type: "integer",
+ },
+ maximumOrderQuantity: {
+ default: 0,
+ format: "integer",
+ type: "integer",
+ },
+ orderMultiple: {
+ default: 1,
+ format: "integer",
+ type: "integer",
},
companyId: {
description:
@@ -50869,17 +53218,14 @@ export default {
format: "text",
type: "string",
},
- createdAt: {
- format: "timestamp with time zone",
- type: "string",
- },
createdBy: {
description:
"Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- updatedAt: {
+ createdAt: {
+ default: "now()",
format: "timestamp with time zone",
type: "string",
},
@@ -50889,82 +53235,91 @@ export default {
format: "text",
type: "string",
},
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
customFields: {
format: "jsonb",
},
- locationName: {
- format: "text",
- type: "string",
- },
},
type: "object",
},
- attributeDataType: {
- required: [
- "id",
- "label",
- "isBoolean",
- "isDate",
- "isList",
- "isNumeric",
- "isText",
- "isUser",
- ],
+ employeeJob: {
+ required: ["id", "companyId"],
properties: {
id: {
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "integer",
- type: "integer",
+ description:
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
},
- label: {
+ locationId: {
+ description:
+ "Note:\nThis is a Foreign Key to `location.id`.<fk table='location' column='id'/>",
format: "text",
type: "string",
},
- isBoolean: {
- default: false,
- format: "boolean",
- type: "boolean",
+ shiftId: {
+ description:
+ "Note:\nThis is a Foreign Key to `shift.id`.<fk table='shift' column='id'/>",
+ format: "text",
+ type: "string",
},
- isDate: {
- default: false,
- format: "boolean",
- type: "boolean",
+ managerId: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
},
- isList: {
- default: false,
- format: "boolean",
- type: "boolean",
+ title: {
+ format: "text",
+ type: "string",
},
- isNumeric: {
- default: false,
- format: "boolean",
- type: "boolean",
+ startDate: {
+ format: "date",
+ type: "string",
},
- isText: {
- default: false,
- format: "boolean",
- type: "boolean",
+ companyId: {
+ description:
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
},
- isUser: {
- default: false,
- format: "boolean",
- type: "boolean",
+ updatedAt: {
+ format: "timestamp without time zone",
+ type: "string",
+ },
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ customFields: {
+ format: "jsonb",
+ },
+ departmentId: {
+ description:
+ "Note:\nThis is a Foreign Key to `department.id`.<fk table='department' column='id'/>",
+ format: "text",
+ type: "string",
},
},
type: "object",
},
- quoteLine: {
+ account: {
required: [
"id",
- "quoteId",
- "quoteRevisionId",
- "status",
- "itemId",
- "itemType",
- "description",
- "methodType",
+ "number",
+ "name",
+ "type",
+ "incomeBalance",
+ "directPosting",
+ "active",
"companyId",
"createdBy",
+ "createdAt",
],
properties: {
id: {
@@ -50973,68 +53328,53 @@ export default {
format: "text",
type: "string",
},
- quoteId: {
- description:
- "Note:\nThis is a Foreign Key to `quote.id`.<fk table='quote' column='id'/>",
- format: "text",
- type: "string",
- },
- quoteRevisionId: {
- default: 0,
- format: "integer",
- type: "integer",
- },
- status: {
- default: "Not Started",
- enum: ["Not Started", "In Progress", "Complete", "No Quote"],
- format: 'public."quoteLineStatus"',
- type: "string",
- },
- estimatorId: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ number: {
format: "text",
type: "string",
},
- itemId: {
- description:
- "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
+ name: {
format: "text",
type: "string",
},
- itemReadableId: {
- format: "text",
+ type: {
+ enum: ["Posting", "Total", "Begin Total", "End Total"],
+ format: 'public."glAccountType"',
type: "string",
},
- itemType: {
- default: "Part",
- format: "text",
+ class: {
+ enum: ["Asset", "Liability", "Equity", "Revenue", "Expense"],
+ format: 'public."glAccountClass"',
type: "string",
},
- description: {
+ accountCategoryId: {
+ description:
+ "Note:\nThis is a Foreign Key to `accountCategory.id`.<fk table='accountCategory' column='id'/>",
format: "text",
type: "string",
},
- customerPartId: {
+ accountSubcategoryId: {
format: "text",
type: "string",
},
- customerPartRevision: {
- format: "text",
+ incomeBalance: {
+ enum: ["Balance Sheet", "Income Statement"],
+ format: 'public."glIncomeBalance"',
type: "string",
},
- methodType: {
- default: "Make",
- enum: ["Buy", "Make", "Pick"],
- format: 'public."methodType"',
+ consolidatedRate: {
+ enum: ["Average", "Current", "Historical"],
+ format: 'public."glConsolidatedRate"',
type: "string",
},
- unitOfMeasureCode: {
- format: "text",
- type: "string",
+ directPosting: {
+ default: false,
+ format: "boolean",
+ type: "boolean",
},
- notes: {
- format: "json",
+ active: {
+ default: true,
+ format: "boolean",
+ type: "boolean",
},
companyId: {
description:
@@ -51048,7 +53388,8 @@ export default {
format: "text",
type: "string",
},
- updatedAt: {
+ createdAt: {
+ default: "now()",
format: "timestamp with time zone",
type: "string",
},
@@ -51058,46 +53399,61 @@ export default {
format: "text",
type: "string",
},
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
customFields: {
format: "jsonb",
},
- modelUploadId: {
+ },
+ type: "object",
+ },
+ companyIntegration: {
+ required: ["id", "metadata", "companyId", "active", "updatedAt"],
+ properties: {
+ id: {
+ description:
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `integration.id`.<fk table='integration' column='id'/>",
format: "text",
type: "string",
},
- quantity: {
- format: "numeric[]",
- items: {
- type: "number",
- },
- type: "array",
- },
- additionalCharges: {
- format: "jsonb",
+ metadata: {
+ format: "json",
},
- locationId: {
+ companyId: {
description:
- "Note:\nThis is a Foreign Key to `location.id`.<fk table='location' column='id'/>",
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
format: "text",
type: "string",
},
- noQuoteReason: {
+ active: {
+ default: false,
+ format: "boolean",
+ type: "boolean",
+ },
+ updatedAt: {
+ default: "now()",
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ updatedBy: {
format: "text",
type: "string",
},
},
type: "object",
},
- jobMaterialWithMakeMethodId: {
+ salesRfqLines: {
properties: {
id: {
description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- jobId: {
+ salesRfqId: {
description:
- "Note:\nThis is a Foreign Key to `job.id`.<fk table='job' column='id'/>",
+ "Note:\nThis is a Foreign Key to `salesRfq.id`.<fk table='salesRfq' column='id'/>",
format: "text",
type: "string",
},
@@ -51107,49 +53463,40 @@ export default {
format: "text",
type: "string",
},
- itemReadableId: {
- format: "text",
- type: "string",
- },
- itemType: {
- format: "text",
- type: "string",
- },
- methodType: {
- enum: ["Buy", "Make", "Pick"],
- format: 'public."methodType"',
- type: "string",
- },
- order: {
- format: "double precision",
- type: "number",
- },
description: {
format: "text",
type: "string",
},
quantity: {
- format: "numeric",
- type: "number",
- },
- scrapQuantity: {
- format: "numeric",
- type: "number",
+ format: "numeric[]",
+ items: {
+ type: "number",
+ },
+ type: "array",
},
unitOfMeasureCode: {
format: "text",
type: "string",
},
- unitCost: {
- format: "numeric",
+ order: {
+ format: "double precision",
type: "number",
},
+ internalNotes: {
+ format: "json",
+ },
+ externalNotes: {
+ format: "json",
+ },
companyId: {
description:
"Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
format: "text",
type: "string",
},
+ customFields: {
+ format: "jsonb",
+ },
createdAt: {
format: "timestamp with time zone",
type: "string",
@@ -51170,152 +53517,194 @@ export default {
format: "text",
type: "string",
},
- customFields: {
- format: "jsonb",
- },
- jobMakeMethodId: {
- description:
- "Note:\nThis is a Foreign Key to `jobMakeMethod.id`.<fk table='jobMakeMethod' column='id'/>",
+ modelUploadId: {
format: "text",
type: "string",
},
- jobOperationId: {
- description:
- "Note:\nThis is a Foreign Key to `jobOperation.id`.<fk table='jobOperation' column='id'/>",
+ customerPartId: {
format: "text",
type: "string",
},
- estimatedQuantity: {
- format: "numeric",
- type: "number",
+ customerPartRevision: {
+ format: "text",
+ type: "string",
},
- jobMaterialMakeMethodId: {
+ modelId: {
description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- },
- type: "object",
- },
- currency: {
- required: [
- "id",
- "code",
- "exchangeRate",
- "decimalPlaces",
- "active",
- "companyId",
- "createdBy",
- "createdAt",
- ],
- properties: {
- id: {
- default: "public.xid()",
- description: "Note:\nThis is a Primary Key.<pk/>",
+ autodeskUrn: {
format: "text",
type: "string",
},
- code: {
- description:
- "Note:\nThis is a Foreign Key to `currencyCode.code`.<fk table='currencyCode' column='code'/>",
+ modelPath: {
format: "text",
type: "string",
},
- exchangeRate: {
- default: 1,
- format: "numeric",
- type: "number",
+ modelName: {
+ format: "text",
+ type: "string",
},
- decimalPlaces: {
- default: 2,
- format: "integer",
+ modelSize: {
+ format: "bigint",
type: "integer",
},
- active: {
- default: true,
- format: "boolean",
- type: "boolean",
- },
- companyId: {
- description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ thumbnailPath: {
format: "text",
type: "string",
},
- createdBy: {
+ itemName: {
format: "text",
type: "string",
},
- createdAt: {
- default: "now()",
- format: "timestamp with time zone",
+ methodType: {
+ enum: ["Buy", "Make", "Pick"],
+ format: 'public."methodType"',
type: "string",
},
- updatedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ itemReadableId: {
format: "text",
type: "string",
},
- updatedAt: {
- format: "timestamp with time zone",
+ itemType: {
+ enum: [
+ "Part",
+ "Material",
+ "Tool",
+ "Service",
+ "Consumable",
+ "Fixture",
+ ],
+ format: 'public."itemType"',
type: "string",
},
- customFields: {
- format: "jsonb",
- },
},
type: "object",
},
- productionEvent: {
- required: [
- "id",
- "jobOperationId",
- "startTime",
- "companyId",
- "createdAt",
- "createdBy",
- ],
+ jobFavorite: {
+ required: ["jobId", "userId"],
properties: {
- id: {
- default: "public.xid()",
- description: "Note:\nThis is a Primary Key.<pk/>",
+ jobId: {
+ description:
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `job.id`.<fk table='job' column='id'/>",
format: "text",
type: "string",
},
- jobOperationId: {
+ userId: {
description:
- "Note:\nThis is a Foreign Key to `jobOperation.id`.<fk table='jobOperation' column='id'/>",
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
- type: {
- enum: ["Setup", "Labor", "Machine"],
- format: 'public."productionEventType"',
+ },
+ type: "object",
+ },
+ documentTransaction: {
+ required: ["id", "documentId", "type", "userId", "createdAt"],
+ properties: {
+ id: {
+ default: "public.xid()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
type: "string",
},
- startTime: {
+ documentId: {
+ description:
+ "Note:\nThis is a Foreign Key to `document.id`.<fk table='document' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ type: {
+ enum: [
+ "Download",
+ "Edit",
+ "Favorite",
+ "Label",
+ "Unfavorite",
+ "Upload",
+ ],
+ format: 'public."documentTransactionType"',
+ type: "string",
+ },
+ userId: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdAt: {
default: "now()",
format: "timestamp with time zone",
type: "string",
},
- endTime: {
- format: "timestamp with time zone",
+ },
+ type: "object",
+ },
+ materialSubstance: {
+ required: ["id", "name", "createdBy", "createdAt"],
+ properties: {
+ id: {
+ default: "public.xid()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
type: "string",
},
- duration: {
- format: "integer",
- type: "integer",
+ name: {
+ format: "text",
+ type: "string",
},
- employeeId: {
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ customFields: {
+ format: "jsonb",
+ },
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ updatedBy: {
description:
"Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ workCenterProcess: {
+ required: [
+ "workCenterId",
+ "processId",
+ "companyId",
+ "createdBy",
+ "createdAt",
+ ],
+ properties: {
workCenterId: {
description:
- "Note:\nThis is a Foreign Key to `workCenter.id`.<fk table='workCenter' column='id'/>",
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `workCenter.id`.<fk table='workCenter' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ processId: {
+ description:
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `process.id`.<fk table='process' column='id'/>",
format: "text",
type: "string",
},
@@ -51325,12 +53714,18 @@ export default {
format: "text",
type: "string",
},
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
createdAt: {
default: "now()",
format: "timestamp with time zone",
type: "string",
},
- createdBy: {
+ updatedBy: {
description:
"Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
@@ -51340,23 +53735,168 @@ export default {
format: "timestamp with time zone",
type: "string",
},
+ },
+ type: "object",
+ },
+ partners: {
+ properties: {
+ id: {
+ description:
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `supplierLocation.id`.<fk table='supplierLocation' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ hoursPerWeek: {
+ format: "integer",
+ type: "integer",
+ },
+ abilityId: {
+ description:
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `ability.id`.<fk table='ability' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ active: {
+ format: "boolean",
+ type: "boolean",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
updatedBy: {
description:
"Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string",
},
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ customFields: {
+ format: "jsonb",
+ },
+ supplierLocationId: {
+ description:
+ "Note:\nThis is a Foreign Key to `supplierLocation.id`.<fk table='supplierLocation' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ abilityName: {
+ format: "text",
+ type: "string",
+ },
+ supplierId: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ supplierName: {
+ format: "text",
+ type: "string",
+ },
+ city: {
+ format: "text",
+ type: "string",
+ },
+ state: {
+ format: "text",
+ type: "string",
+ },
},
type: "object",
},
- accounts: {
+ consumable: {
+ required: ["id", "approved", "companyId", "createdBy", "createdAt"],
properties: {
id: {
description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- number: {
+ itemId: {
+ description:
+ "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ approved: {
+ default: false,
+ format: "boolean",
+ type: "boolean",
+ },
+ approvedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ customFields: {
+ format: "jsonb",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ externalId: {
+ format: "jsonb",
+ },
+ },
+ type: "object",
+ },
+ location: {
+ required: [
+ "id",
+ "name",
+ "addressLine1",
+ "city",
+ "stateProvince",
+ "postalCode",
+ "timezone",
+ "companyId",
+ "createdBy",
+ "createdAt",
+ ],
+ properties: {
+ id: {
+ default: "public.xid()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
@@ -51364,61 +53904,201 @@ export default {
format: "text",
type: "string",
},
- type: {
- enum: ["Posting", "Total", "Begin Total", "End Total"],
- format: 'public."glAccountType"',
+ addressLine1: {
+ format: "text",
type: "string",
},
- class: {
- enum: ["Asset", "Liability", "Equity", "Revenue", "Expense"],
- format: 'public."glAccountClass"',
+ addressLine2: {
+ format: "text",
type: "string",
},
- accountCategoryId: {
+ city: {
+ format: "text",
+ type: "string",
+ },
+ stateProvince: {
+ format: "text",
+ type: "string",
+ },
+ postalCode: {
+ format: "text",
+ type: "string",
+ },
+ countryCode: {
+ format: "text",
+ type: "string",
+ },
+ timezone: {
+ format: "text",
+ type: "string",
+ },
+ latitude: {
+ format: "numeric",
+ type: "number",
+ },
+ longitude: {
+ format: "numeric",
+ type: "number",
+ },
+ companyId: {
description:
- "Note:\nThis is a Foreign Key to `accountCategory.id`.<fk table='accountCategory' column='id'/>",
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
format: "text",
type: "string",
},
- accountSubcategoryId: {
+ createdBy: {
format: "text",
type: "string",
},
- incomeBalance: {
- enum: ["Balance Sheet", "Income Statement"],
- format: 'public."glIncomeBalance"',
+ createdAt: {
+ default: "now()",
+ format: "timestamp without time zone",
type: "string",
},
- consolidatedRate: {
- enum: ["Average", "Current", "Historical"],
- format: 'public."glConsolidatedRate"',
+ updatedBy: {
+ format: "text",
type: "string",
},
- directPosting: {
+ updatedAt: {
+ format: "timestamp without time zone",
+ type: "string",
+ },
+ customFields: {
+ format: "jsonb",
+ },
+ },
+ type: "object",
+ },
+ employeeAbility: {
+ required: ["id", "employeeId", "abilityId", "active", "trainingDays"],
+ properties: {
+ id: {
+ default: "public.xid()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ employeeId: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ abilityId: {
+ description:
+ "Note:\nThis is a Foreign Key to `ability.id`.<fk table='ability' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ active: {
+ default: true,
format: "boolean",
type: "boolean",
},
- active: {
+ lastTrainingDate: {
+ format: "date",
+ type: "string",
+ },
+ trainingDays: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ trainingCompleted: {
+ default: false,
format: "boolean",
type: "boolean",
},
- companyId: {
+ },
+ type: "object",
+ },
+ quoteOperation: {
+ required: [
+ "id",
+ "quoteId",
+ "quoteLineId",
+ "order",
+ "operationOrder",
+ "laborRate",
+ "overheadRate",
+ "companyId",
+ "createdAt",
+ "createdBy",
+ "processId",
+ "setupTime",
+ "setupUnit",
+ "laborTime",
+ "laborUnit",
+ "machineTime",
+ "machineUnit",
+ "operationType",
+ "operationMinimumCost",
+ "operationLeadTime",
+ "operationUnitCost",
+ "workInstruction",
+ ],
+ properties: {
+ id: {
+ default: "public.xid()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ quoteId: {
description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ "Note:\nThis is a Foreign Key to `quote.id`.<fk table='quote' column='id'/>",
format: "text",
type: "string",
},
- createdBy: {
+ quoteLineId: {
description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ "Note:\nThis is a Foreign Key to `quoteLine.id`.<fk table='quoteLine' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ quoteMakeMethodId: {
+ description:
+ "Note:\nThis is a Foreign Key to `quoteMakeMethod.id`.<fk table='quoteMakeMethod' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ order: {
+ default: 1,
+ format: "double precision",
+ type: "number",
+ },
+ description: {
+ format: "text",
+ type: "string",
+ },
+ operationOrder: {
+ default: "After Previous",
+ enum: ["After Previous", "With Previous"],
+ format: 'public."methodOperationOrder"',
+ type: "string",
+ },
+ laborRate: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ overheadRate: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
format: "text",
type: "string",
},
createdAt: {
+ default: "now()",
format: "timestamp with time zone",
type: "string",
},
- updatedBy: {
+ createdBy: {
description:
"Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
@@ -51428,1985 +54108,14004 @@ export default {
format: "timestamp with time zone",
type: "string",
},
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
customFields: {
format: "jsonb",
},
- accountCategory: {
+ processId: {
+ description:
+ "Note:\nThis is a Foreign Key to `process.id`.<fk table='process' column='id'/>",
format: "text",
type: "string",
},
- accountSubCategory: {
+ workCenterId: {
+ description:
+ "Note:\nThis is a Foreign Key to `workCenter.id`.<fk table='workCenter' column='id'/>",
format: "text",
type: "string",
},
- },
- type: "object",
+ setupTime: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ setupUnit: {
+ default: "Total Hours",
+ enum: [
+ "Hours/Piece",
+ "Hours/100 Pieces",
+ "Hours/1000 Pieces",
+ "Minutes/Piece",
+ "Minutes/100 Pieces",
+ "Minutes/1000 Pieces",
+ "Pieces/Hour",
+ "Pieces/Minute",
+ "Seconds/Piece",
+ "Total Hours",
+ "Total Minutes",
+ ],
+ format: "public.factor",
+ type: "string",
+ },
+ laborTime: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ laborUnit: {
+ default: "Hours/Piece",
+ enum: [
+ "Hours/Piece",
+ "Hours/100 Pieces",
+ "Hours/1000 Pieces",
+ "Minutes/Piece",
+ "Minutes/100 Pieces",
+ "Minutes/1000 Pieces",
+ "Pieces/Hour",
+ "Pieces/Minute",
+ "Seconds/Piece",
+ "Total Hours",
+ "Total Minutes",
+ ],
+ format: "public.factor",
+ type: "string",
+ },
+ machineTime: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ machineUnit: {
+ default: "Hours/Piece",
+ enum: [
+ "Hours/Piece",
+ "Hours/100 Pieces",
+ "Hours/1000 Pieces",
+ "Minutes/Piece",
+ "Minutes/100 Pieces",
+ "Minutes/1000 Pieces",
+ "Pieces/Hour",
+ "Pieces/Minute",
+ "Seconds/Piece",
+ "Total Hours",
+ "Total Minutes",
+ ],
+ format: "public.factor",
+ type: "string",
+ },
+ machineRate: {
+ format: "numeric",
+ type: "number",
+ },
+ operationType: {
+ default: "Inside",
+ enum: ["Inside", "Outside"],
+ format: 'public."operationType"',
+ type: "string",
+ },
+ operationMinimumCost: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ operationLeadTime: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ operationUnitCost: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ operationSupplierProcessId: {
+ description:
+ "Note:\nThis is a Foreign Key to `supplierProcess.id`.<fk table='supplierProcess' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ workInstruction: {
+ format: "json",
+ },
+ },
+ type: "object",
+ },
+ salesRfq: {
+ required: [
+ "id",
+ "rfqId",
+ "revisionId",
+ "status",
+ "customerId",
+ "rfqDate",
+ "companyId",
+ ],
+ properties: {
+ id: {
+ default: "public.xid()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ rfqId: {
+ format: "text",
+ type: "string",
+ },
+ revisionId: {
+ default: 0,
+ format: "integer",
+ type: "integer",
+ },
+ status: {
+ default: "Draft",
+ enum: ["Draft", "Ready for Quote", "Closed", "Quoted"],
+ format: 'public."salesRfqStatus"',
+ type: "string",
+ },
+ employeeId: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ customerId: {
+ description:
+ "Note:\nThis is a Foreign Key to `customer.id`.<fk table='customer' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ customerContactId: {
+ description:
+ "Note:\nThis is a Foreign Key to `customerContact.id`.<fk table='customerContact' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ customerReference: {
+ format: "text",
+ type: "string",
+ },
+ rfqDate: {
+ format: "date",
+ type: "string",
+ },
+ expirationDate: {
+ format: "date",
+ type: "string",
+ },
+ locationId: {
+ description:
+ "Note:\nThis is a Foreign Key to `location.id`.<fk table='location' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ assignee: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ customFields: {
+ format: "jsonb",
+ },
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ updatedAt: {
+ default: "now()",
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ customerLocationId: {
+ description:
+ "Note:\nThis is a Foreign Key to `customerLocation.id`.<fk table='customerLocation' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ externalNotes: {
+ format: "json",
+ },
+ internalNotes: {
+ format: "json",
+ },
+ },
+ type: "object",
+ },
+ paymentTerm: {
+ required: [
+ "id",
+ "name",
+ "daysDue",
+ "daysDiscount",
+ "discountPercentage",
+ "calculationMethod",
+ "active",
+ "companyId",
+ "createdAt",
+ "createdBy",
+ ],
+ properties: {
+ id: {
+ default: "public.xid()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ name: {
+ format: "text",
+ type: "string",
+ },
+ daysDue: {
+ default: 0,
+ format: "integer",
+ type: "integer",
+ },
+ daysDiscount: {
+ default: 0,
+ format: "integer",
+ type: "integer",
+ },
+ discountPercentage: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ calculationMethod: {
+ default: "Net",
+ enum: ["Net", "End of Month", "Day of Month"],
+ format: 'public."paymentTermCalculationMethod"',
+ type: "string",
+ },
+ active: {
+ default: true,
+ format: "boolean",
+ type: "boolean",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ customFields: {
+ format: "jsonb",
+ },
+ },
+ type: "object",
+ },
+ apiKey: {
+ required: ["id", "name", "key", "companyId", "createdBy", "createdAt"],
+ properties: {
+ id: {
+ default: "public.xid()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ name: {
+ format: "text",
+ type: "string",
+ },
+ key: {
+ format: "text",
+ type: "string",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ salesOrderCustomers: {
+ properties: {
+ id: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ name: {
+ format: "text",
+ type: "string",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ opportunity: {
+ required: ["id", "companyId"],
+ properties: {
+ id: {
+ default: "public.xid()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ salesRfqId: {
+ description:
+ "Note:\nThis is a Foreign Key to `salesRfq.id`.<fk table='salesRfq' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ quoteId: {
+ description:
+ "Note:\nThis is a Foreign Key to `quote.id`.<fk table='quote' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ salesOrderId: {
+ description:
+ "Note:\nThis is a Foreign Key to `salesOrder.id`.<fk table='salesOrder' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ purchaseOrderDocumentPath: {
+ format: "text",
+ type: "string",
+ },
+ requestForQuoteDocumentPath: {
+ format: "text",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ documentLabels: {
+ properties: {
+ label: {
+ format: "text",
+ type: "string",
+ },
+ userId: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ groupMembers: {
+ properties: {
+ id: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "integer",
+ type: "integer",
+ },
+ name: {
+ format: "text",
+ type: "string",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ isIdentityGroup: {
+ format: "boolean",
+ type: "boolean",
+ },
+ isEmployeeTypeGroup: {
+ format: "boolean",
+ type: "boolean",
+ },
+ isCustomerOrgGroup: {
+ format: "boolean",
+ type: "boolean",
+ },
+ isCustomerTypeGroup: {
+ format: "boolean",
+ type: "boolean",
+ },
+ isSupplierOrgGroup: {
+ format: "boolean",
+ type: "boolean",
+ },
+ isSupplierTypeGroup: {
+ format: "boolean",
+ type: "boolean",
+ },
+ groupId: {
+ description:
+ "Note:\nThis is a Foreign Key to `group.id`.<fk table='group' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ memberGroupId: {
+ description:
+ "Note:\nThis is a Foreign Key to `group.id`.<fk table='group' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ memberUserId: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ user: {
+ format: "jsonb",
+ },
+ },
+ type: "object",
+ },
+ salesOrder: {
+ required: [
+ "id",
+ "salesOrderId",
+ "revisionId",
+ "status",
+ "orderDate",
+ "currencyCode",
+ "customerId",
+ "companyId",
+ "createdAt",
+ "createdBy",
+ ],
+ properties: {
+ id: {
+ default: "public.xid()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ salesOrderId: {
+ format: "text",
+ type: "string",
+ },
+ revisionId: {
+ default: 0,
+ format: "integer",
+ type: "integer",
+ },
+ status: {
+ default: "Draft",
+ enum: [
+ "Draft",
+ "Needs Approval",
+ "Confirmed",
+ "In Progress",
+ "Completed",
+ "Invoiced",
+ "Cancelled",
+ "Closed",
+ ],
+ format: 'public."salesOrderStatus"',
+ type: "string",
+ },
+ orderDate: {
+ default: "CURRENT_DATE",
+ format: "date",
+ type: "string",
+ },
+ notes: {
+ format: "text",
+ type: "string",
+ },
+ currencyCode: {
+ description:
+ "Note:\nThis is a Foreign Key to `currencyCode.code`.<fk table='currencyCode' column='code'/>",
+ format: "text",
+ type: "string",
+ },
+ customerId: {
+ description:
+ "Note:\nThis is a Foreign Key to `customer.id`.<fk table='customer' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ customerLocationId: {
+ description:
+ "Note:\nThis is a Foreign Key to `customerLocation.id`.<fk table='customerLocation' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ customerContactId: {
+ description:
+ "Note:\nThis is a Foreign Key to `customerContact.id`.<fk table='customerContact' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ customerReference: {
+ format: "text",
+ type: "string",
+ },
+ assignee: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ closedAt: {
+ format: "date",
+ type: "string",
+ },
+ closedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ customFields: {
+ format: "jsonb",
+ },
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ locationId: {
+ description:
+ "Note:\nThis is a Foreign Key to `location.id`.<fk table='location' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ exchangeRate: {
+ format: "numeric",
+ type: "number",
+ },
+ exchangeRateUpdatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ userAttributeValue: {
+ required: ["id", "userAttributeId", "userId", "createdAt", "createdBy"],
+ properties: {
+ id: {
+ default: "public.xid()",
+ format: "text",
+ type: "string",
+ },
+ userAttributeId: {
+ description:
+ "Note:\nThis is a Foreign Key to `userAttribute.id`.<fk table='userAttribute' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ userId: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ valueBoolean: {
+ format: "boolean",
+ type: "boolean",
+ },
+ valueDate: {
+ format: "date",
+ type: "string",
+ },
+ valueNumeric: {
+ format: "numeric",
+ type: "number",
+ },
+ valueText: {
+ format: "text",
+ type: "string",
+ },
+ valueUser: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ unitOfMeasure: {
+ required: [
+ "id",
+ "code",
+ "name",
+ "active",
+ "companyId",
+ "createdBy",
+ "createdAt",
+ ],
+ properties: {
+ id: {
+ default: "public.xid()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ code: {
+ format: "text",
+ type: "string",
+ },
+ name: {
+ format: "text",
+ type: "string",
+ },
+ active: {
+ default: true,
+ format: "boolean",
+ type: "boolean",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ customFields: {
+ format: "jsonb",
+ },
+ },
+ type: "object",
+ },
+ documentFavorite: {
+ required: ["documentId", "userId"],
+ properties: {
+ documentId: {
+ description:
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `document.id`.<fk table='document' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ userId: {
+ description:
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ partner: {
+ required: [
+ "id",
+ "hoursPerWeek",
+ "abilityId",
+ "active",
+ "companyId",
+ "createdBy",
+ "createdAt",
+ ],
+ properties: {
+ id: {
+ description:
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `supplierLocation.id`.<fk table='supplierLocation' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ hoursPerWeek: {
+ default: 0,
+ format: "integer",
+ type: "integer",
+ },
+ abilityId: {
+ description:
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `ability.id`.<fk table='ability' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ active: {
+ default: true,
+ format: "boolean",
+ type: "boolean",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ customFields: {
+ format: "jsonb",
+ },
+ },
+ type: "object",
+ },
+ jobOperation: {
+ required: [
+ "id",
+ "jobId",
+ "order",
+ "processId",
+ "setupTime",
+ "setupUnit",
+ "laborTime",
+ "laborUnit",
+ "machineTime",
+ "machineUnit",
+ "operationOrder",
+ "laborRate",
+ "overheadRate",
+ "operationType",
+ "operationMinimumCost",
+ "operationLeadTime",
+ "operationUnitCost",
+ "workInstruction",
+ "companyId",
+ "createdAt",
+ "createdBy",
+ "status",
+ "priority",
+ ],
+ properties: {
+ id: {
+ default: "public.xid()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ jobId: {
+ description:
+ "Note:\nThis is a Foreign Key to `job.id`.<fk table='job' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ jobMakeMethodId: {
+ description:
+ "Note:\nThis is a Foreign Key to `jobMakeMethod.id`.<fk table='jobMakeMethod' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ order: {
+ default: 1,
+ format: "double precision",
+ type: "number",
+ },
+ processId: {
+ description:
+ "Note:\nThis is a Foreign Key to `process.id`.<fk table='process' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ workCenterId: {
+ description:
+ "Note:\nThis is a Foreign Key to `workCenter.id`.<fk table='workCenter' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ description: {
+ format: "text",
+ type: "string",
+ },
+ setupTime: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ setupUnit: {
+ default: "Total Hours",
+ enum: [
+ "Hours/Piece",
+ "Hours/100 Pieces",
+ "Hours/1000 Pieces",
+ "Minutes/Piece",
+ "Minutes/100 Pieces",
+ "Minutes/1000 Pieces",
+ "Pieces/Hour",
+ "Pieces/Minute",
+ "Seconds/Piece",
+ "Total Hours",
+ "Total Minutes",
+ ],
+ format: "public.factor",
+ type: "string",
+ },
+ laborTime: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ laborUnit: {
+ default: "Hours/Piece",
+ enum: [
+ "Hours/Piece",
+ "Hours/100 Pieces",
+ "Hours/1000 Pieces",
+ "Minutes/Piece",
+ "Minutes/100 Pieces",
+ "Minutes/1000 Pieces",
+ "Pieces/Hour",
+ "Pieces/Minute",
+ "Seconds/Piece",
+ "Total Hours",
+ "Total Minutes",
+ ],
+ format: "public.factor",
+ type: "string",
+ },
+ machineTime: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ machineUnit: {
+ default: "Hours/Piece",
+ enum: [
+ "Hours/Piece",
+ "Hours/100 Pieces",
+ "Hours/1000 Pieces",
+ "Minutes/Piece",
+ "Minutes/100 Pieces",
+ "Minutes/1000 Pieces",
+ "Pieces/Hour",
+ "Pieces/Minute",
+ "Seconds/Piece",
+ "Total Hours",
+ "Total Minutes",
+ ],
+ format: "public.factor",
+ type: "string",
+ },
+ operationOrder: {
+ default: "After Previous",
+ enum: ["After Previous", "With Previous"],
+ format: 'public."methodOperationOrder"',
+ type: "string",
+ },
+ laborRate: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ overheadRate: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ machineRate: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ operationType: {
+ default: "Inside",
+ enum: ["Inside", "Outside"],
+ format: 'public."operationType"',
+ type: "string",
+ },
+ operationMinimumCost: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ operationLeadTime: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ operationUnitCost: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ operationSupplierProcessId: {
+ format: "text",
+ type: "string",
+ },
+ workInstruction: {
+ format: "json",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ customFields: {
+ format: "jsonb",
+ },
+ operationQuantity: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ quantityComplete: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ quantityScrapped: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ quantityReworked: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ status: {
+ default: "Todo",
+ enum: [
+ "Canceled",
+ "Done",
+ "In Progress",
+ "Paused",
+ "Ready",
+ "Todo",
+ "Waiting",
+ ],
+ format: 'public."jobOperationStatus"',
+ type: "string",
+ },
+ priority: {
+ default: 1,
+ format: "double precision",
+ type: "number",
+ },
+ },
+ type: "object",
+ },
+ userAttributeCategory: {
+ required: ["id", "name", "createdAt", "createdBy"],
+ properties: {
+ id: {
+ default: "public.xid()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ name: {
+ format: "text",
+ type: "string",
+ },
+ public: {
+ default: false,
+ format: "boolean",
+ type: "boolean",
+ },
+ protected: {
+ default: false,
+ format: "boolean",
+ type: "boolean",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ active: {
+ default: true,
+ format: "boolean",
+ type: "boolean",
+ },
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ suppliers: {
+ properties: {
+ id: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ name: {
+ format: "text",
+ type: "string",
+ },
+ supplierTypeId: {
+ description:
+ "Note:\nThis is a Foreign Key to `supplierType.id`.<fk table='supplierType' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ supplierStatusId: {
+ description:
+ "Note:\nThis is a Foreign Key to `supplierStatus.id`.<fk table='supplierStatus' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ taxId: {
+ format: "text",
+ type: "string",
+ },
+ accountManagerId: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ logo: {
+ format: "text",
+ type: "string",
+ },
+ assignee: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ customFields: {
+ format: "jsonb",
+ },
+ currencyCode: {
+ description:
+ "Note:\nThis is a Foreign Key to `currencyCode.code`.<fk table='currencyCode' column='code'/>",
+ format: "text",
+ type: "string",
+ },
+ phone: {
+ format: "text",
+ type: "string",
+ },
+ fax: {
+ format: "text",
+ type: "string",
+ },
+ website: {
+ format: "text",
+ type: "string",
+ },
+ type: {
+ format: "text",
+ type: "string",
+ },
+ status: {
+ format: "text",
+ type: "string",
+ },
+ orderCount: {
+ format: "bigint",
+ type: "integer",
+ },
+ partCount: {
+ format: "bigint",
+ type: "integer",
+ },
+ },
+ type: "object",
+ },
+ accounts: {
+ properties: {
+ id: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ number: {
+ format: "text",
+ type: "string",
+ },
+ name: {
+ format: "text",
+ type: "string",
+ },
+ type: {
+ enum: ["Posting", "Total", "Begin Total", "End Total"],
+ format: 'public."glAccountType"',
+ type: "string",
+ },
+ class: {
+ enum: ["Asset", "Liability", "Equity", "Revenue", "Expense"],
+ format: 'public."glAccountClass"',
+ type: "string",
+ },
+ accountCategoryId: {
+ description:
+ "Note:\nThis is a Foreign Key to `accountCategory.id`.<fk table='accountCategory' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ accountSubcategoryId: {
+ format: "text",
+ type: "string",
+ },
+ incomeBalance: {
+ enum: ["Balance Sheet", "Income Statement"],
+ format: 'public."glIncomeBalance"',
+ type: "string",
+ },
+ consolidatedRate: {
+ enum: ["Average", "Current", "Historical"],
+ format: 'public."glConsolidatedRate"',
+ type: "string",
+ },
+ directPosting: {
+ format: "boolean",
+ type: "boolean",
+ },
+ active: {
+ format: "boolean",
+ type: "boolean",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ customFields: {
+ format: "jsonb",
+ },
+ accountCategory: {
+ format: "text",
+ type: "string",
+ },
+ accountSubCategory: {
+ format: "text",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ jobFavorite: {
+ required: ["jobId", "userId"],
+ properties: {
+ jobId: {
+ description:
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `job.id`.<fk table='job' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ userId: {
+ description:
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ customerType: {
+ required: [
+ "id",
+ "name",
+ "protected",
+ "companyId",
+ "createdAt",
+ "createdBy",
+ ],
+ properties: {
+ id: {
+ default: "extensions.uuid_generate_v4()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ name: {
+ format: "text",
+ type: "string",
+ },
+ protected: {
+ default: false,
+ format: "boolean",
+ type: "boolean",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ customFields: {
+ format: "jsonb",
+ },
+ },
+ type: "object",
+ },
+ quoteMaterial: {
+ required: [
+ "id",
+ "quoteId",
+ "quoteLineId",
+ "itemId",
+ "itemReadableId",
+ "itemType",
+ "methodType",
+ "order",
+ "description",
+ "quantity",
+ "unitCost",
+ "companyId",
+ "createdAt",
+ "createdBy",
+ "quoteMakeMethodId",
+ "scrapQuantity",
+ ],
+ properties: {
+ id: {
+ default: "public.xid()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ quoteId: {
+ description:
+ "Note:\nThis is a Foreign Key to `quote.id`.<fk table='quote' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ quoteLineId: {
+ description:
+ "Note:\nThis is a Foreign Key to `quoteLine.id`.<fk table='quoteLine' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ itemId: {
+ description:
+ "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ itemReadableId: {
+ format: "text",
+ type: "string",
+ },
+ itemType: {
+ default: "Part",
+ format: "text",
+ type: "string",
+ },
+ methodType: {
+ default: "Make",
+ enum: ["Buy", "Make", "Pick"],
+ format: 'public."methodType"',
+ type: "string",
+ },
+ order: {
+ default: 1,
+ format: "double precision",
+ type: "number",
+ },
+ description: {
+ format: "text",
+ type: "string",
+ },
+ quantity: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ unitOfMeasureCode: {
+ format: "text",
+ type: "string",
+ },
+ unitCost: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ customFields: {
+ format: "jsonb",
+ },
+ quoteMakeMethodId: {
+ description:
+ "Note:\nThis is a Foreign Key to `quoteMakeMethod.id`.<fk table='quoteMakeMethod' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ quoteOperationId: {
+ description:
+ "Note:\nThis is a Foreign Key to `quoteOperation.id`.<fk table='quoteOperation' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ scrapQuantity: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ productionQuantity: {
+ format: "numeric",
+ type: "number",
+ },
+ },
+ type: "object",
+ },
+ customerStatus: {
+ required: ["id", "name", "companyId", "createdAt", "createdBy"],
+ properties: {
+ id: {
+ default: "public.xid()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ name: {
+ format: "text",
+ type: "string",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ customFields: {
+ format: "jsonb",
+ },
+ },
+ type: "object",
+ },
+ employeesAcrossCompanies: {
+ properties: {
+ id: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ email: {
+ format: "text",
+ type: "string",
+ },
+ firstName: {
+ format: "text",
+ type: "string",
+ },
+ lastName: {
+ format: "text",
+ type: "string",
+ },
+ name: {
+ format: "text",
+ type: "string",
+ },
+ avatarUrl: {
+ format: "text",
+ type: "string",
+ },
+ active: {
+ format: "boolean",
+ type: "boolean",
+ },
+ companyId: {
+ format: "text[]",
+ items: {
+ type: "string",
+ },
+ type: "array",
+ },
+ },
+ type: "object",
+ },
+ customerContact: {
+ required: ["id", "customerId", "contactId"],
+ properties: {
+ id: {
+ default: "public.xid()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ customerId: {
+ description:
+ "Note:\nThis is a Foreign Key to `customer.id`.<fk table='customer' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ contactId: {
+ description:
+ "Note:\nThis is a Foreign Key to `contact.id`.<fk table='contact' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ customerLocationId: {
+ description:
+ "Note:\nThis is a Foreign Key to `customerLocation.id`.<fk table='customerLocation' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ userId: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ customFields: {
+ format: "jsonb",
+ },
+ },
+ type: "object",
+ },
+ oauthCode: {
+ required: [
+ "id",
+ "code",
+ "clientId",
+ "userId",
+ "companyId",
+ "redirectUri",
+ "expiresAt",
+ ],
+ properties: {
+ id: {
+ default: "public.xid()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ code: {
+ format: "text",
+ type: "string",
+ },
+ clientId: {
+ description:
+ "Note:\nThis is a Foreign Key to `oauthClient.clientId`.<fk table='oauthClient' column='clientId'/>",
+ format: "text",
+ type: "string",
+ },
+ userId: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ redirectUri: {
+ format: "text",
+ type: "string",
+ },
+ createdAt: {
+ default: "CURRENT_TIMESTAMP",
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ expiresAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ purchaseInvoiceLine: {
+ required: [
+ "id",
+ "invoiceId",
+ "invoiceLineType",
+ "quantity",
+ "unitPrice",
+ "currencyCode",
+ "exchangeRate",
+ "companyId",
+ "createdBy",
+ "createdAt",
+ ],
+ properties: {
+ id: {
+ default: "public.xid()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ invoiceId: {
+ description:
+ "Note:\nThis is a Foreign Key to `purchaseInvoice.id`.<fk table='purchaseInvoice' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ invoiceLineType: {
+ enum: [
+ "Comment",
+ "G/L Account",
+ "Fixed Asset",
+ "Part",
+ "Material",
+ "Tool",
+ "Service",
+ "Consumable",
+ "Fixture",
+ ],
+ format: 'public."payableLineType"',
+ type: "string",
+ },
+ purchaseOrderId: {
+ description:
+ "Note:\nThis is a Foreign Key to `purchaseOrder.id`.<fk table='purchaseOrder' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ purchaseOrderLineId: {
+ description:
+ "Note:\nThis is a Foreign Key to `purchaseOrderLine.id`.<fk table='purchaseOrderLine' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ itemId: {
+ description:
+ "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ itemReadableId: {
+ format: "text",
+ type: "string",
+ },
+ serviceId: {
+ format: "text",
+ type: "string",
+ },
+ locationId: {
+ description:
+ "Note:\nThis is a Foreign Key to `location.id`.<fk table='location' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ shelfId: {
+ description:
+ "Note:\nThis is a Foreign Key to `shelf.id`.<fk table='shelf' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ accountNumber: {
+ format: "text",
+ type: "string",
+ },
+ assetId: {
+ format: "text",
+ type: "string",
+ },
+ description: {
+ format: "text",
+ type: "string",
+ },
+ quantity: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ unitPrice: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ totalAmount: {
+ format: "numeric",
+ type: "number",
+ },
+ currencyCode: {
+ format: "text",
+ type: "string",
+ },
+ exchangeRate: {
+ default: 1,
+ format: "numeric",
+ type: "number",
+ },
+ inventoryUnitOfMeasureCode: {
+ format: "text",
+ type: "string",
+ },
+ purchaseUnitOfMeasureCode: {
+ format: "text",
+ type: "string",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ customFields: {
+ format: "jsonb",
+ },
+ conversionFactor: {
+ default: 1,
+ format: "numeric",
+ type: "number",
+ },
+ },
+ type: "object",
+ },
+ materialForm: {
+ required: ["id", "name", "createdBy", "createdAt"],
+ properties: {
+ id: {
+ default: "public.xid()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ name: {
+ format: "text",
+ type: "string",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ customFields: {
+ format: "jsonb",
+ },
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ supplierContact: {
+ required: ["id", "supplierId", "contactId"],
+ properties: {
+ id: {
+ default: "public.xid()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ supplierId: {
+ description:
+ "Note:\nThis is a Foreign Key to `supplier.id`.<fk table='supplier' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ contactId: {
+ description:
+ "Note:\nThis is a Foreign Key to `contact.id`.<fk table='contact' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ supplierLocationId: {
+ description:
+ "Note:\nThis is a Foreign Key to `supplierLocation.id`.<fk table='supplierLocation' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ userId: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ customFields: {
+ format: "jsonb",
+ },
+ },
+ type: "object",
+ },
+ oauthClient: {
+ required: [
+ "id",
+ "name",
+ "clientId",
+ "clientSecret",
+ "redirectUris",
+ "companyId",
+ ],
+ properties: {
+ id: {
+ default: "public.xid()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ name: {
+ format: "text",
+ type: "string",
+ },
+ clientId: {
+ format: "text",
+ type: "string",
+ },
+ clientSecret: {
+ format: "text",
+ type: "string",
+ },
+ redirectUris: {
+ format: "text[]",
+ items: {
+ type: "string",
+ },
+ type: "array",
+ },
+ companyId: {
+ format: "text",
+ type: "string",
+ },
+ createdAt: {
+ default: "CURRENT_TIMESTAMP",
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ updatedAt: {
+ default: "CURRENT_TIMESTAMP",
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ groups_recursive: {
+ properties: {
+ groupId: {
+ format: "text",
+ type: "string",
+ },
+ name: {
+ format: "text",
+ type: "string",
+ },
+ companyId: {
+ format: "text",
+ type: "string",
+ },
+ parentId: {
+ format: "text",
+ type: "string",
+ },
+ isIdentityGroup: {
+ format: "boolean",
+ type: "boolean",
+ },
+ isEmployeeTypeGroup: {
+ format: "boolean",
+ type: "boolean",
+ },
+ isCustomerOrgGroup: {
+ format: "boolean",
+ type: "boolean",
+ },
+ isCustomerTypeGroup: {
+ format: "boolean",
+ type: "boolean",
+ },
+ isSupplierOrgGroup: {
+ format: "boolean",
+ type: "boolean",
+ },
+ isSupplierTypeGroup: {
+ format: "boolean",
+ type: "boolean",
+ },
+ user: {
+ format: "jsonb",
+ },
+ },
+ type: "object",
+ },
+ feedback: {
+ required: ["id", "location", "userId", "feedback"],
+ properties: {
+ id: {
+ default: "public.xid()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ location: {
+ format: "text",
+ type: "string",
+ },
+ userId: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ feedback: {
+ format: "text",
+ type: "string",
+ },
+ attachmentPath: {
+ format: "text",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ contractors: {
+ properties: {
+ supplierContactId: {
+ description:
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `supplierContact.id`.<fk table='supplierContact' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ active: {
+ format: "boolean",
+ type: "boolean",
+ },
+ hoursPerWeek: {
+ format: "integer",
+ type: "integer",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ customFields: {
+ format: "jsonb",
+ },
+ supplierId: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ supplierName: {
+ format: "text",
+ type: "string",
+ },
+ fullName: {
+ format: "text",
+ type: "string",
+ },
+ firstName: {
+ format: "text",
+ type: "string",
+ },
+ lastName: {
+ format: "text",
+ type: "string",
+ },
+ email: {
+ format: "text",
+ type: "string",
+ },
+ abilityIds: {
+ format: "text[]",
+ items: {
+ type: "string",
+ },
+ type: "array",
+ },
+ },
+ type: "object",
+ },
+ quotes: {
+ properties: {
+ id: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ quoteId: {
+ format: "text",
+ type: "string",
+ },
+ revisionId: {
+ format: "integer",
+ type: "integer",
+ },
+ dueDate: {
+ format: "date",
+ type: "string",
+ },
+ expirationDate: {
+ format: "date",
+ type: "string",
+ },
+ status: {
+ enum: [
+ "Draft",
+ "Sent",
+ "Ordered",
+ "Partial",
+ "Lost",
+ "Cancelled",
+ "Expired",
+ ],
+ format: 'public."quoteStatus"',
+ type: "string",
+ },
+ salesPersonId: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ estimatorId: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ customerId: {
+ description:
+ "Note:\nThis is a Foreign Key to `customer.id`.<fk table='customer' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ customerLocationId: {
+ description:
+ "Note:\nThis is a Foreign Key to `customerLocation.id`.<fk table='customerLocation' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ customerContactId: {
+ description:
+ "Note:\nThis is a Foreign Key to `customerContact.id`.<fk table='customerContact' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ customerReference: {
+ format: "text",
+ type: "string",
+ },
+ locationId: {
+ description:
+ "Note:\nThis is a Foreign Key to `location.id`.<fk table='location' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ assignee: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ customFields: {
+ format: "jsonb",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ externalNotes: {
+ format: "json",
+ },
+ internalNotes: {
+ format: "json",
+ },
+ currencyCode: {
+ description:
+ "Note:\nThis is a Foreign Key to `currencyCode.code`.<fk table='currencyCode' column='code'/>",
+ format: "text",
+ type: "string",
+ },
+ exchangeRate: {
+ format: "numeric",
+ type: "number",
+ },
+ exchangeRateUpdatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ locationName: {
+ format: "text",
+ type: "string",
+ },
+ lines: {
+ format: "bigint",
+ type: "integer",
+ },
+ completedLines: {
+ format: "bigint",
+ type: "integer",
+ },
+ favorite: {
+ format: "boolean",
+ type: "boolean",
+ },
+ salesRfqId: {
+ description:
+ "Note:\nThis is a Foreign Key to `salesRfq.id`.<fk table='salesRfq' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ salesOrderId: {
+ description:
+ "Note:\nThis is a Foreign Key to `salesOrder.id`.<fk table='salesOrder' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ groupMembers: {
+ properties: {
+ id: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "integer",
+ type: "integer",
+ },
+ name: {
+ format: "text",
+ type: "string",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ isIdentityGroup: {
+ format: "boolean",
+ type: "boolean",
+ },
+ isEmployeeTypeGroup: {
+ format: "boolean",
+ type: "boolean",
+ },
+ isCustomerOrgGroup: {
+ format: "boolean",
+ type: "boolean",
+ },
+ isCustomerTypeGroup: {
+ format: "boolean",
+ type: "boolean",
+ },
+ isSupplierOrgGroup: {
+ format: "boolean",
+ type: "boolean",
+ },
+ isSupplierTypeGroup: {
+ format: "boolean",
+ type: "boolean",
+ },
+ groupId: {
+ description:
+ "Note:\nThis is a Foreign Key to `group.id`.<fk table='group' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ memberGroupId: {
+ description:
+ "Note:\nThis is a Foreign Key to `group.id`.<fk table='group' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ memberUserId: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ user: {
+ format: "jsonb",
+ },
+ },
+ type: "object",
+ },
+ fixture: {
+ required: ["id", "approved", "companyId", "createdBy", "createdAt"],
+ properties: {
+ id: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ itemId: {
+ description:
+ "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ customerId: {
+ description:
+ "Note:\nThis is a Foreign Key to `customer.id`.<fk table='customer' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ approved: {
+ default: false,
+ format: "boolean",
+ type: "boolean",
+ },
+ approvedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ customFields: {
+ format: "jsonb",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ externalId: {
+ format: "jsonb",
+ },
+ },
+ type: "object",
+ },
+ userPermission: {
+ required: ["id"],
+ properties: {
+ id: {
+ description:
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ permissions: {
+ format: "jsonb",
+ },
+ },
+ type: "object",
+ },
+ membership: {
+ required: ["id", "groupId"],
+ properties: {
+ id: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "integer",
+ type: "integer",
+ },
+ groupId: {
+ description:
+ "Note:\nThis is a Foreign Key to `group.id`.<fk table='group' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ memberGroupId: {
+ description:
+ "Note:\nThis is a Foreign Key to `group.id`.<fk table='group' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ memberUserId: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ receiptLine: {
+ required: [
+ "id",
+ "receiptId",
+ "itemId",
+ "orderQuantity",
+ "outstandingQuantity",
+ "receivedQuantity",
+ "unitOfMeasure",
+ "unitPrice",
+ "companyId",
+ "createdAt",
+ "createdBy",
+ ],
+ properties: {
+ id: {
+ default: "public.xid()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ receiptId: {
+ description:
+ "Note:\nThis is a Foreign Key to `receipt.id`.<fk table='receipt' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ lineId: {
+ format: "text",
+ type: "string",
+ },
+ itemId: {
+ description:
+ "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ itemReadableId: {
+ format: "text",
+ type: "string",
+ },
+ orderQuantity: {
+ format: "numeric",
+ type: "number",
+ },
+ outstandingQuantity: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ receivedQuantity: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ locationId: {
+ description:
+ "Note:\nThis is a Foreign Key to `location.id`.<fk table='location' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ shelfId: {
+ description:
+ "Note:\nThis is a Foreign Key to `shelf.id`.<fk table='shelf' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ unitOfMeasure: {
+ format: "text",
+ type: "string",
+ },
+ unitPrice: {
+ format: "numeric",
+ type: "number",
+ },
+ companyId: {
+ format: "text",
+ type: "string",
+ },
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ conversionFactor: {
+ default: 1,
+ format: "numeric",
+ type: "number",
+ },
+ },
+ type: "object",
+ },
+ companyIntegration: {
+ required: ["id", "metadata", "companyId", "active", "updatedAt"],
+ properties: {
+ id: {
+ description:
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `integration.id`.<fk table='integration' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ metadata: {
+ format: "json",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ active: {
+ default: false,
+ format: "boolean",
+ type: "boolean",
+ },
+ updatedAt: {
+ default: "now()",
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ updatedBy: {
+ format: "text",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ salesOrderStatusHistory: {
+ required: ["id", "salesOrderId", "status", "createdAt", "createdBy"],
+ properties: {
+ id: {
+ default: "public.xid()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ salesOrderId: {
+ description:
+ "Note:\nThis is a Foreign Key to `salesOrder.id`.<fk table='salesOrder' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ status: {
+ enum: [
+ "Draft",
+ "Needs Approval",
+ "Confirmed",
+ "In Progress",
+ "Completed",
+ "Invoiced",
+ "Cancelled",
+ "Closed",
+ ],
+ format: 'public."salesOrderStatus"',
+ type: "string",
+ },
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ employee: {
+ required: ["id", "companyId", "employeeTypeId"],
+ properties: {
+ id: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ employeeTypeId: {
+ description:
+ "Note:\nThis is a Foreign Key to `employeeType.id`.<fk table='employeeType' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ userAttributeValue: {
+ required: ["id", "userAttributeId", "userId", "createdAt", "createdBy"],
+ properties: {
+ id: {
+ default: "public.xid()",
+ format: "text",
+ type: "string",
+ },
+ userAttributeId: {
+ description:
+ "Note:\nThis is a Foreign Key to `userAttribute.id`.<fk table='userAttribute' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ userId: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ valueBoolean: {
+ format: "boolean",
+ type: "boolean",
+ },
+ valueDate: {
+ format: "date",
+ type: "string",
+ },
+ valueNumeric: {
+ format: "numeric",
+ type: "number",
+ },
+ valueText: {
+ format: "text",
+ type: "string",
+ },
+ valueUser: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ fiscalYearSettings: {
+ required: ["companyId", "startMonth", "taxStartMonth", "updatedBy"],
+ properties: {
+ companyId: {
+ description:
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ startMonth: {
+ default: "January",
+ enum: [
+ "January",
+ "February",
+ "March",
+ "April",
+ "May",
+ "June",
+ "July",
+ "August",
+ "September",
+ "October",
+ "November",
+ "December",
+ ],
+ format: "public.month",
+ type: "string",
+ },
+ taxStartMonth: {
+ default: "January",
+ enum: [
+ "January",
+ "February",
+ "March",
+ "April",
+ "May",
+ "June",
+ "July",
+ "August",
+ "September",
+ "October",
+ "November",
+ "December",
+ ],
+ format: "public.month",
+ type: "string",
+ },
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ purchaseInvoiceStatusHistory: {
+ required: ["id", "invoiceId", "status", "createdAt"],
+ properties: {
+ id: {
+ default: "public.xid()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ invoiceId: {
+ description:
+ "Note:\nThis is a Foreign Key to `purchaseInvoice.id`.<fk table='purchaseInvoice' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ status: {
+ enum: [
+ "Draft",
+ "Pending",
+ "Submitted",
+ "Return",
+ "Debit Note Issued",
+ "Paid",
+ "Partially Paid",
+ "Overdue",
+ "Voided",
+ ],
+ format: 'public."purchaseInvoiceStatus"',
+ type: "string",
+ },
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ accountingPeriod: {
+ required: [
+ "id",
+ "startDate",
+ "endDate",
+ "status",
+ "companyId",
+ "createdBy",
+ "createdAt",
+ ],
+ properties: {
+ id: {
+ default: "public.xid()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ startDate: {
+ format: "date",
+ type: "string",
+ },
+ endDate: {
+ format: "date",
+ type: "string",
+ },
+ status: {
+ default: "Inactive",
+ enum: ["Inactive", "Active"],
+ format: 'public."accountingPeriodStatus"',
+ type: "string",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ closedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ closedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ supplierAccount: {
+ required: ["id", "supplierId", "companyId"],
+ properties: {
+ id: {
+ description:
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ supplierId: {
+ description:
+ "Note:\nThis is a Foreign Key to `supplier.id`.<fk table='supplier' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ customer: {
+ required: ["id", "name", "companyId", "createdAt"],
+ properties: {
+ id: {
+ default: "extensions.uuid_generate_v4()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ name: {
+ format: "text",
+ type: "string",
+ },
+ customerTypeId: {
+ description:
+ "Note:\nThis is a Foreign Key to `customerType.id`.<fk table='customerType' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ customerStatusId: {
+ description:
+ "Note:\nThis is a Foreign Key to `customerStatus.id`.<fk table='customerStatus' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ taxId: {
+ format: "text",
+ type: "string",
+ },
+ accountManagerId: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ logo: {
+ format: "text",
+ type: "string",
+ },
+ assignee: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ customFields: {
+ format: "jsonb",
+ },
+ currencyCode: {
+ description:
+ "Note:\nThis is a Foreign Key to `currencyCode.code`.<fk table='currencyCode' column='code'/>",
+ format: "text",
+ type: "string",
+ },
+ phone: {
+ format: "text",
+ type: "string",
+ },
+ fax: {
+ format: "text",
+ type: "string",
+ },
+ website: {
+ format: "text",
+ type: "string",
+ },
+ externalId: {
+ format: "jsonb",
+ },
+ },
+ type: "object",
+ },
+ purchaseOrder: {
+ required: [
+ "id",
+ "purchaseOrderId",
+ "revisionId",
+ "type",
+ "status",
+ "orderDate",
+ "supplierId",
+ "companyId",
+ "createdAt",
+ "createdBy",
+ ],
+ properties: {
+ id: {
+ default: "public.xid()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ purchaseOrderId: {
+ format: "text",
+ type: "string",
+ },
+ revisionId: {
+ default: 0,
+ format: "integer",
+ type: "integer",
+ },
+ type: {
+ enum: ["Purchase", "Return"],
+ format: 'public."purchaseOrderType"',
+ type: "string",
+ },
+ status: {
+ default: "Draft",
+ enum: [
+ "Draft",
+ "To Review",
+ "Rejected",
+ "To Receive",
+ "To Receive and Invoice",
+ "To Invoice",
+ "Completed",
+ "Closed",
+ ],
+ format: 'public."purchaseOrderStatus"',
+ type: "string",
+ },
+ orderDate: {
+ default: "CURRENT_DATE",
+ format: "date",
+ type: "string",
+ },
+ notes: {
+ format: "text",
+ type: "string",
+ },
+ supplierId: {
+ description:
+ "Note:\nThis is a Foreign Key to `supplier.id`.<fk table='supplier' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ supplierLocationId: {
+ description:
+ "Note:\nThis is a Foreign Key to `supplierLocation.id`.<fk table='supplierLocation' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ supplierContactId: {
+ description:
+ "Note:\nThis is a Foreign Key to `supplierContact.id`.<fk table='supplierContact' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ supplierReference: {
+ format: "text",
+ type: "string",
+ },
+ assignee: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ closedAt: {
+ format: "date",
+ type: "string",
+ },
+ closedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ customFields: {
+ format: "jsonb",
+ },
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ currencyCode: {
+ description:
+ "Note:\nThis is a Foreign Key to `currencyCode.code`.<fk table='currencyCode' column='code'/>",
+ format: "text",
+ type: "string",
+ },
+ exchangeRate: {
+ format: "numeric",
+ type: "number",
+ },
+ exchangeRateUpdatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ salesOrderLines: {
+ properties: {
+ id: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ salesOrderId: {
+ description:
+ "Note:\nThis is a Foreign Key to `salesOrder.id`.<fk table='salesOrder' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ salesOrderLineType: {
+ enum: [
+ "Comment",
+ "Part",
+ "Material",
+ "Tool",
+ "Service",
+ "Consumable",
+ "Fixture",
+ "Fixed Asset",
+ ],
+ format: 'public."salesOrderLineType"',
+ type: "string",
+ },
+ itemId: {
+ description:
+ "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ itemReadableId: {
+ format: "text",
+ type: "string",
+ },
+ accountNumber: {
+ format: "text",
+ type: "string",
+ },
+ assetId: {
+ format: "text",
+ type: "string",
+ },
+ description: {
+ format: "text",
+ type: "string",
+ },
+ saleQuantity: {
+ format: "numeric",
+ type: "number",
+ },
+ quantityToSend: {
+ format: "numeric",
+ type: "number",
+ },
+ quantitySent: {
+ format: "numeric",
+ type: "number",
+ },
+ quantityToInvoice: {
+ format: "numeric",
+ type: "number",
+ },
+ quantityInvoiced: {
+ format: "numeric",
+ type: "number",
+ },
+ unitPrice: {
+ format: "numeric",
+ type: "number",
+ },
+ unitOfMeasureCode: {
+ format: "text",
+ type: "string",
+ },
+ locationId: {
+ format: "text",
+ type: "string",
+ },
+ shelfId: {
+ description:
+ "Note:\nThis is a Foreign Key to `shelf.id`.<fk table='shelf' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ setupPrice: {
+ format: "numeric",
+ type: "number",
+ },
+ sentComplete: {
+ format: "boolean",
+ type: "boolean",
+ },
+ invoicedComplete: {
+ format: "boolean",
+ type: "boolean",
+ },
+ requiresInspection: {
+ format: "boolean",
+ type: "boolean",
+ },
+ companyId: {
+ format: "text",
+ type: "string",
+ },
+ createdAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ customFields: {
+ format: "jsonb",
+ },
+ status: {
+ enum: ["Ordered", "In Progress", "Completed"],
+ format: 'public."salesOrderLineStatus"',
+ type: "string",
+ },
+ modelUploadId: {
+ format: "text",
+ type: "string",
+ },
+ promisedDate: {
+ format: "date",
+ type: "string",
+ },
+ addOnCost: {
+ format: "numeric",
+ type: "number",
+ },
+ methodType: {
+ enum: ["Buy", "Make", "Pick"],
+ format: 'public."methodType"',
+ type: "string",
+ },
+ exchangeRate: {
+ format: "numeric",
+ type: "number",
+ },
+ convertedUnitPrice: {
+ format: "numeric",
+ type: "number",
+ },
+ convertedAddOnCost: {
+ format: "numeric",
+ type: "number",
+ },
+ thumbnailPath: {
+ format: "text",
+ type: "string",
+ },
+ modelId: {
+ format: "text",
+ type: "string",
+ },
+ autodeskUrn: {
+ format: "text",
+ type: "string",
+ },
+ modelPath: {
+ format: "text",
+ type: "string",
+ },
+ modelName: {
+ format: "text",
+ type: "string",
+ },
+ modelSize: {
+ format: "bigint",
+ type: "integer",
+ },
+ unitCost: {
+ format: "numeric",
+ type: "number",
+ },
+ customerPartId: {
+ format: "text",
+ type: "string",
+ },
+ customerPartRevision: {
+ format: "text",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ customerAccount: {
+ required: ["id", "customerId", "companyId"],
+ properties: {
+ id: {
+ description:
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ customerId: {
+ description:
+ "Note:\nThis is a Foreign Key to `customer.id`.<fk table='customer' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ salesRfqLines: {
+ properties: {
+ id: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ salesRfqId: {
+ description:
+ "Note:\nThis is a Foreign Key to `salesRfq.id`.<fk table='salesRfq' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ itemId: {
+ description:
+ "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ description: {
+ format: "text",
+ type: "string",
+ },
+ quantity: {
+ format: "numeric[]",
+ items: {
+ type: "number",
+ },
+ type: "array",
+ },
+ unitOfMeasureCode: {
+ format: "text",
+ type: "string",
+ },
+ order: {
+ format: "double precision",
+ type: "number",
+ },
+ internalNotes: {
+ format: "json",
+ },
+ externalNotes: {
+ format: "json",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ customFields: {
+ format: "jsonb",
+ },
+ createdAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ modelUploadId: {
+ format: "text",
+ type: "string",
+ },
+ customerPartId: {
+ format: "text",
+ type: "string",
+ },
+ customerPartRevision: {
+ format: "text",
+ type: "string",
+ },
+ modelId: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ autodeskUrn: {
+ format: "text",
+ type: "string",
+ },
+ modelPath: {
+ format: "text",
+ type: "string",
+ },
+ modelName: {
+ format: "text",
+ type: "string",
+ },
+ modelSize: {
+ format: "bigint",
+ type: "integer",
+ },
+ thumbnailPath: {
+ format: "text",
+ type: "string",
+ },
+ itemName: {
+ format: "text",
+ type: "string",
+ },
+ methodType: {
+ enum: ["Buy", "Make", "Pick"],
+ format: 'public."methodType"',
+ type: "string",
+ },
+ itemReadableId: {
+ format: "text",
+ type: "string",
+ },
+ itemType: {
+ enum: [
+ "Part",
+ "Material",
+ "Tool",
+ "Service",
+ "Consumable",
+ "Fixture",
+ ],
+ format: 'public."itemType"',
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ salesRfq: {
+ required: [
+ "id",
+ "rfqId",
+ "revisionId",
+ "status",
+ "customerId",
+ "rfqDate",
+ "companyId",
+ ],
+ properties: {
+ id: {
+ default: "public.xid()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ rfqId: {
+ format: "text",
+ type: "string",
+ },
+ revisionId: {
+ default: 0,
+ format: "integer",
+ type: "integer",
+ },
+ status: {
+ default: "Draft",
+ enum: ["Draft", "Ready for Quote", "Closed", "Quoted"],
+ format: 'public."salesRfqStatus"',
+ type: "string",
+ },
+ employeeId: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ customerId: {
+ description:
+ "Note:\nThis is a Foreign Key to `customer.id`.<fk table='customer' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ customerContactId: {
+ description:
+ "Note:\nThis is a Foreign Key to `customerContact.id`.<fk table='customerContact' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ customerReference: {
+ format: "text",
+ type: "string",
+ },
+ rfqDate: {
+ format: "date",
+ type: "string",
+ },
+ expirationDate: {
+ format: "date",
+ type: "string",
+ },
+ locationId: {
+ description:
+ "Note:\nThis is a Foreign Key to `location.id`.<fk table='location' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ assignee: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ customFields: {
+ format: "jsonb",
+ },
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ updatedAt: {
+ default: "now()",
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ customerLocationId: {
+ description:
+ "Note:\nThis is a Foreign Key to `customerLocation.id`.<fk table='customerLocation' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ externalNotes: {
+ format: "json",
+ },
+ internalNotes: {
+ format: "json",
+ },
+ },
+ type: "object",
+ },
+ parts: {
+ properties: {
+ active: {
+ format: "boolean",
+ type: "boolean",
+ },
+ assignee: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ defaultMethodType: {
+ enum: ["Buy", "Make", "Pick"],
+ format: 'public."methodType"',
+ type: "string",
+ },
+ description: {
+ format: "text",
+ type: "string",
+ },
+ itemTrackingType: {
+ enum: ["Inventory", "Non-Inventory"],
+ format: 'public."itemTrackingType"',
+ type: "string",
+ },
+ name: {
+ format: "text",
+ type: "string",
+ },
+ replenishmentSystem: {
+ enum: ["Buy", "Make", "Buy and Make"],
+ format: 'public."itemReplenishmentSystem"',
+ type: "string",
+ },
+ unitOfMeasureCode: {
+ format: "text",
+ type: "string",
+ },
+ thumbnailPath: {
+ format: "text",
+ type: "string",
+ },
+ modelId: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ autodeskUrn: {
+ format: "text",
+ type: "string",
+ },
+ modelPath: {
+ format: "text",
+ type: "string",
+ },
+ modelName: {
+ format: "text",
+ type: "string",
+ },
+ modelSize: {
+ format: "bigint",
+ type: "integer",
+ },
+ id: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ itemId: {
+ description:
+ "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ approved: {
+ format: "boolean",
+ type: "boolean",
+ },
+ approvedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ fromDate: {
+ format: "date",
+ type: "string",
+ },
+ toDate: {
+ format: "date",
+ type: "string",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ customFields: {
+ format: "jsonb",
+ },
+ externalId: {
+ format: "jsonb",
+ },
+ supplierIds: {
+ format: "text",
+ type: "string",
+ },
+ unitOfMeasure: {
+ format: "text",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ currency: {
+ required: [
+ "id",
+ "code",
+ "exchangeRate",
+ "decimalPlaces",
+ "active",
+ "companyId",
+ "createdBy",
+ "createdAt",
+ ],
+ properties: {
+ id: {
+ default: "public.xid()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ code: {
+ description:
+ "Note:\nThis is a Foreign Key to `currencyCode.code`.<fk table='currencyCode' column='code'/>",
+ format: "text",
+ type: "string",
+ },
+ exchangeRate: {
+ default: 1,
+ format: "numeric",
+ type: "number",
+ },
+ decimalPlaces: {
+ default: 2,
+ format: "integer",
+ type: "integer",
+ },
+ active: {
+ default: true,
+ format: "boolean",
+ type: "boolean",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdBy: {
+ format: "text",
+ type: "string",
+ },
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ customFields: {
+ format: "jsonb",
+ },
+ },
+ type: "object",
+ },
+ address: {
+ required: ["id", "companyId"],
+ properties: {
+ id: {
+ default: "public.xid()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ addressLine1: {
+ format: "text",
+ type: "string",
+ },
+ addressLine2: {
+ format: "text",
+ type: "string",
+ },
+ city: {
+ format: "text",
+ type: "string",
+ },
+ stateProvince: {
+ format: "text",
+ type: "string",
+ },
+ postalCode: {
+ format: "text",
+ type: "string",
+ },
+ countryCode: {
+ description:
+ "Note:\nThis is a Foreign Key to `country.alpha2`.<fk table='country' column='alpha2'/>",
+ format: "text",
+ type: "string",
+ },
+ phone: {
+ format: "text",
+ type: "string",
+ },
+ fax: {
+ format: "text",
+ type: "string",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ part: {
+ required: [
+ "id",
+ "itemId",
+ "approved",
+ "companyId",
+ "createdBy",
+ "createdAt",
+ ],
+ properties: {
+ id: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ itemId: {
+ description:
+ "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ approved: {
+ default: false,
+ format: "boolean",
+ type: "boolean",
+ },
+ approvedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ fromDate: {
+ format: "date",
+ type: "string",
+ },
+ toDate: {
+ format: "date",
+ type: "string",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ customFields: {
+ format: "jsonb",
+ },
+ externalId: {
+ format: "jsonb",
+ },
+ },
+ type: "object",
+ },
+ customerPartToItem: {
+ required: ["customerId", "customerPartId", "itemId", "companyId", "id"],
+ properties: {
+ customerId: {
+ description:
+ "Note:\nThis is a Foreign Key to `customer.id`.<fk table='customer' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ customerPartId: {
+ format: "text",
+ type: "string",
+ },
+ customerPartRevision: {
+ default: "",
+ format: "text",
+ type: "string",
+ },
+ itemId: {
+ description:
+ "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ id: {
+ default: "public.xid()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ materials: {
+ properties: {
+ active: {
+ format: "boolean",
+ type: "boolean",
+ },
+ assignee: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ defaultMethodType: {
+ enum: ["Buy", "Make", "Pick"],
+ format: 'public."methodType"',
+ type: "string",
+ },
+ description: {
+ format: "text",
+ type: "string",
+ },
+ itemTrackingType: {
+ enum: ["Inventory", "Non-Inventory"],
+ format: 'public."itemTrackingType"',
+ type: "string",
+ },
+ name: {
+ format: "text",
+ type: "string",
+ },
+ replenishmentSystem: {
+ enum: ["Buy", "Make", "Buy and Make"],
+ format: 'public."itemReplenishmentSystem"',
+ type: "string",
+ },
+ thumbnailPath: {
+ format: "text",
+ type: "string",
+ },
+ unitOfMeasureCode: {
+ format: "text",
+ type: "string",
+ },
+ id: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ itemId: {
+ description:
+ "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ materialFormId: {
+ description:
+ "Note:\nThis is a Foreign Key to `materialForm.id`.<fk table='materialForm' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ materialSubstanceId: {
+ description:
+ "Note:\nThis is a Foreign Key to `materialSubstance.id`.<fk table='materialSubstance' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ grade: {
+ format: "text",
+ type: "string",
+ },
+ dimensions: {
+ format: "text",
+ type: "string",
+ },
+ finish: {
+ format: "text",
+ type: "string",
+ },
+ approved: {
+ format: "boolean",
+ type: "boolean",
+ },
+ approvedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ customFields: {
+ format: "jsonb",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ externalId: {
+ format: "jsonb",
+ },
+ materialForm: {
+ format: "text",
+ type: "string",
+ },
+ materialSubstance: {
+ format: "text",
+ type: "string",
+ },
+ supplierIds: {
+ format: "text",
+ type: "string",
+ },
+ unitOfMeasure: {
+ format: "text",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ employeeType: {
+ required: ["id", "name", "companyId", "protected", "createdAt"],
+ properties: {
+ id: {
+ default: "extensions.uuid_generate_v4()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ name: {
+ format: "text",
+ type: "string",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ protected: {
+ default: false,
+ format: "boolean",
+ type: "boolean",
+ },
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ itemReplenishment: {
+ required: [
+ "itemId",
+ "purchasingLeadTime",
+ "conversionFactor",
+ "purchasingBlocked",
+ "manufacturingBlocked",
+ "requiresConfiguration",
+ "companyId",
+ "createdBy",
+ "createdAt",
+ "scrapPercentage",
+ ],
+ properties: {
+ itemId: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ preferredSupplierId: {
+ description:
+ "Note:\nThis is a Foreign Key to `supplier.id`.<fk table='supplier' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ purchasingLeadTime: {
+ default: 0,
+ format: "integer",
+ type: "integer",
+ },
+ purchasingUnitOfMeasureCode: {
+ format: "text",
+ type: "string",
+ },
+ conversionFactor: {
+ default: 1,
+ format: "numeric",
+ type: "number",
+ },
+ purchasingBlocked: {
+ default: false,
+ format: "boolean",
+ type: "boolean",
+ },
+ manufacturingBlocked: {
+ default: false,
+ format: "boolean",
+ type: "boolean",
+ },
+ requiresConfiguration: {
+ default: false,
+ format: "boolean",
+ type: "boolean",
+ },
+ lotSize: {
+ default: 0,
+ format: "integer",
+ type: "integer",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ customFields: {
+ format: "jsonb",
+ },
+ scrapPercentage: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ },
+ type: "object",
+ },
+ documentLabel: {
+ required: ["documentId", "userId", "label"],
+ properties: {
+ documentId: {
+ description:
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `document.id`.<fk table='document' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ userId: {
+ description:
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ label: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ supplierShipping: {
+ required: ["supplierId", "companyId"],
+ properties: {
+ supplierId: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ shippingSupplierId: {
+ description:
+ "Note:\nThis is a Foreign Key to `supplier.id`.<fk table='supplier' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ shippingSupplierLocationId: {
+ description:
+ "Note:\nThis is a Foreign Key to `supplierLocation.id`.<fk table='supplierLocation' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ shippingSupplierContactId: {
+ description:
+ "Note:\nThis is a Foreign Key to `supplierContact.id`.<fk table='supplierContact' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ shippingTermId: {
+ description:
+ "Note:\nThis is a Foreign Key to `shippingTerm.id`.<fk table='shippingTerm' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ shippingMethodId: {
+ description:
+ "Note:\nThis is a Foreign Key to `shippingMethod.id`.<fk table='shippingMethod' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ customFields: {
+ format: "jsonb",
+ },
+ },
+ type: "object",
+ },
+ productionQuantity: {
+ required: [
+ "id",
+ "jobOperationId",
+ "type",
+ "quantity",
+ "companyId",
+ "createdAt",
+ "createdBy",
+ ],
+ properties: {
+ id: {
+ default: "public.xid()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ jobOperationId: {
+ description:
+ "Note:\nThis is a Foreign Key to `jobOperation.id`.<fk table='jobOperation' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ type: {
+ default: "Production",
+ enum: ["Rework", "Scrap", "Production"],
+ format: 'public."productionQuantityType"',
+ type: "string",
+ },
+ quantity: {
+ format: "integer",
+ type: "integer",
+ },
+ setupProductionEventId: {
+ description:
+ "Note:\nThis is a Foreign Key to `productionEvent.id`.<fk table='productionEvent' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ laborProductionEventId: {
+ description:
+ "Note:\nThis is a Foreign Key to `productionEvent.id`.<fk table='productionEvent' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ machineProductionEventId: {
+ description:
+ "Note:\nThis is a Foreign Key to `productionEvent.id`.<fk table='productionEvent' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ scrapReason: {
+ format: "text",
+ type: "string",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ createdBy: {
+ format: "text",
+ type: "string",
+ },
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ updatedBy: {
+ format: "text",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ customerShipping: {
+ required: ["customerId", "companyId"],
+ properties: {
+ customerId: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ shippingCustomerId: {
+ description:
+ "Note:\nThis is a Foreign Key to `customer.id`.<fk table='customer' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ shippingCustomerLocationId: {
+ description:
+ "Note:\nThis is a Foreign Key to `customerLocation.id`.<fk table='customerLocation' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ shippingCustomerContactId: {
+ description:
+ "Note:\nThis is a Foreign Key to `customerContact.id`.<fk table='customerContact' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ shippingTermId: {
+ description:
+ "Note:\nThis is a Foreign Key to `shippingTerm.id`.<fk table='shippingTerm' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ shippingMethodId: {
+ description:
+ "Note:\nThis is a Foreign Key to `shippingMethod.id`.<fk table='shippingMethod' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ fiscalYearSettings: {
+ required: ["companyId", "startMonth", "taxStartMonth", "updatedBy"],
+ properties: {
+ companyId: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ startMonth: {
+ default: "January",
+ enum: [
+ "January",
+ "February",
+ "March",
+ "April",
+ "May",
+ "June",
+ "July",
+ "August",
+ "September",
+ "October",
+ "November",
+ "December",
+ ],
+ format: "public.month",
+ type: "string",
+ },
+ taxStartMonth: {
+ default: "January",
+ enum: [
+ "January",
+ "February",
+ "March",
+ "April",
+ "May",
+ "June",
+ "July",
+ "August",
+ "September",
+ "October",
+ "November",
+ "December",
+ ],
+ format: "public.month",
+ type: "string",
+ },
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ itemCost: {
+ required: [
+ "itemId",
+ "costingMethod",
+ "standardCost",
+ "unitCost",
+ "costIsAdjusted",
+ "companyId",
+ "createdBy",
+ "createdAt",
+ ],
+ properties: {
+ itemId: {
+ description:
+ "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ itemPostingGroupId: {
+ description:
+ "Note:\nThis is a Foreign Key to `itemPostingGroup.id`.<fk table='itemPostingGroup' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ costingMethod: {
+ enum: ["Standard", "Average", "LIFO", "FIFO"],
+ format: 'public."itemCostingMethod"',
+ type: "string",
+ },
+ standardCost: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ unitCost: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ costIsAdjusted: {
+ default: false,
+ format: "boolean",
+ type: "boolean",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ customFields: {
+ format: "jsonb",
+ },
+ },
+ type: "object",
+ },
+ salesOrderLocations: {
+ properties: {
+ id: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ customerName: {
+ format: "text",
+ type: "string",
+ },
+ customerAddressLine1: {
+ format: "text",
+ type: "string",
+ },
+ customerAddressLine2: {
+ format: "text",
+ type: "string",
+ },
+ customerCity: {
+ format: "text",
+ type: "string",
+ },
+ customerStateProvince: {
+ format: "text",
+ type: "string",
+ },
+ customerPostalCode: {
+ format: "text",
+ type: "string",
+ },
+ customerCountryCode: {
+ description:
+ "Note:\nThis is a Foreign Key to `country.alpha2`.<fk table='country' column='alpha2'/>",
+ format: "text",
+ type: "string",
+ },
+ customerCountryName: {
+ format: "text",
+ type: "string",
+ },
+ paymentCustomerName: {
+ format: "text",
+ type: "string",
+ },
+ paymentAddressLine1: {
+ format: "text",
+ type: "string",
+ },
+ paymentAddressLine2: {
+ format: "text",
+ type: "string",
+ },
+ paymentCity: {
+ format: "text",
+ type: "string",
+ },
+ paymentStateProvince: {
+ format: "text",
+ type: "string",
+ },
+ paymentPostalCode: {
+ format: "text",
+ type: "string",
+ },
+ paymentCountryCode: {
+ description:
+ "Note:\nThis is a Foreign Key to `country.alpha2`.<fk table='country' column='alpha2'/>",
+ format: "text",
+ type: "string",
+ },
+ paymentCountryName: {
+ format: "text",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ feedback: {
+ required: ["id", "location", "userId", "feedback"],
+ properties: {
+ id: {
+ default: "public.xid()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ location: {
+ format: "text",
+ type: "string",
+ },
+ userId: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ feedback: {
+ format: "text",
+ type: "string",
+ },
+ attachmentPath: {
+ format: "text",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ oauthCode: {
+ required: [
+ "id",
+ "code",
+ "clientId",
+ "userId",
+ "companyId",
+ "redirectUri",
+ "expiresAt",
+ ],
+ properties: {
+ id: {
+ default: "public.xid()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ code: {
+ format: "text",
+ type: "string",
+ },
+ clientId: {
+ description:
+ "Note:\nThis is a Foreign Key to `oauthClient.clientId`.<fk table='oauthClient' column='clientId'/>",
+ format: "text",
+ type: "string",
+ },
+ userId: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ redirectUri: {
+ format: "text",
+ type: "string",
+ },
+ createdAt: {
+ default: "CURRENT_TIMESTAMP",
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ expiresAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ tools: {
+ properties: {
+ active: {
+ format: "boolean",
+ type: "boolean",
+ },
+ assignee: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ defaultMethodType: {
+ enum: ["Buy", "Make", "Pick"],
+ format: 'public."methodType"',
+ type: "string",
+ },
+ description: {
+ format: "text",
+ type: "string",
+ },
+ itemTrackingType: {
+ enum: ["Inventory", "Non-Inventory"],
+ format: 'public."itemTrackingType"',
+ type: "string",
+ },
+ name: {
+ format: "text",
+ type: "string",
+ },
+ replenishmentSystem: {
+ enum: ["Buy", "Make", "Buy and Make"],
+ format: 'public."itemReplenishmentSystem"',
+ type: "string",
+ },
+ thumbnailPath: {
+ format: "text",
+ type: "string",
+ },
+ unitOfMeasureCode: {
+ format: "text",
+ type: "string",
+ },
+ id: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ itemId: {
+ description:
+ "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ approved: {
+ format: "boolean",
+ type: "boolean",
+ },
+ approvedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ customFields: {
+ format: "jsonb",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ externalId: {
+ format: "jsonb",
+ },
+ supplierIds: {
+ format: "text",
+ type: "string",
+ },
+ unitOfMeasure: {
+ format: "text",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ quoteMaterialWithMakeMethodId: {
+ properties: {
+ id: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ quoteId: {
+ description:
+ "Note:\nThis is a Foreign Key to `quote.id`.<fk table='quote' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ quoteLineId: {
+ description:
+ "Note:\nThis is a Foreign Key to `quoteLine.id`.<fk table='quoteLine' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ itemId: {
+ description:
+ "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ itemReadableId: {
+ format: "text",
+ type: "string",
+ },
+ itemType: {
+ format: "text",
+ type: "string",
+ },
+ methodType: {
+ enum: ["Buy", "Make", "Pick"],
+ format: 'public."methodType"',
+ type: "string",
+ },
+ order: {
+ format: "double precision",
+ type: "number",
+ },
+ description: {
+ format: "text",
+ type: "string",
+ },
+ quantity: {
+ format: "numeric",
+ type: "number",
+ },
+ unitOfMeasureCode: {
+ format: "text",
+ type: "string",
+ },
+ unitCost: {
+ format: "numeric",
+ type: "number",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ customFields: {
+ format: "jsonb",
+ },
+ quoteMakeMethodId: {
+ description:
+ "Note:\nThis is a Foreign Key to `quoteMakeMethod.id`.<fk table='quoteMakeMethod' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ quoteOperationId: {
+ description:
+ "Note:\nThis is a Foreign Key to `quoteOperation.id`.<fk table='quoteOperation' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ quoteMaterialMakeMethodId: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ suppliers: {
+ properties: {
+ id: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ name: {
+ format: "text",
+ type: "string",
+ },
+ supplierTypeId: {
+ description:
+ "Note:\nThis is a Foreign Key to `supplierType.id`.<fk table='supplierType' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ supplierStatusId: {
+ description:
+ "Note:\nThis is a Foreign Key to `supplierStatus.id`.<fk table='supplierStatus' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ taxId: {
+ format: "text",
+ type: "string",
+ },
+ accountManagerId: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ logo: {
+ format: "text",
+ type: "string",
+ },
+ assignee: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ customFields: {
+ format: "jsonb",
+ },
+ currencyCode: {
+ description:
+ "Note:\nThis is a Foreign Key to `currencyCode.code`.<fk table='currencyCode' column='code'/>",
+ format: "text",
+ type: "string",
+ },
+ phone: {
+ format: "text",
+ type: "string",
+ },
+ fax: {
+ format: "text",
+ type: "string",
+ },
+ website: {
+ format: "text",
+ type: "string",
+ },
+ type: {
+ format: "text",
+ type: "string",
+ },
+ status: {
+ format: "text",
+ type: "string",
+ },
+ orderCount: {
+ format: "bigint",
+ type: "integer",
+ },
+ partCount: {
+ format: "bigint",
+ type: "integer",
+ },
+ },
+ type: "object",
+ },
+ purchaseOrders: {
+ properties: {
+ id: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ purchaseOrderId: {
+ format: "text",
+ type: "string",
+ },
+ revisionId: {
+ format: "integer",
+ type: "integer",
+ },
+ type: {
+ enum: ["Purchase", "Return"],
+ format: 'public."purchaseOrderType"',
+ type: "string",
+ },
+ status: {
+ enum: [
+ "Draft",
+ "To Review",
+ "Rejected",
+ "To Receive",
+ "To Receive and Invoice",
+ "To Invoice",
+ "Completed",
+ "Closed",
+ ],
+ format: 'public."purchaseOrderStatus"',
+ type: "string",
+ },
+ orderDate: {
+ format: "date",
+ type: "string",
+ },
+ notes: {
+ format: "text",
+ type: "string",
+ },
+ supplierId: {
+ description:
+ "Note:\nThis is a Foreign Key to `supplier.id`.<fk table='supplier' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ supplierLocationId: {
+ description:
+ "Note:\nThis is a Foreign Key to `supplierLocation.id`.<fk table='supplierLocation' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ supplierContactId: {
+ description:
+ "Note:\nThis is a Foreign Key to `supplierContact.id`.<fk table='supplierContact' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ supplierReference: {
+ format: "text",
+ type: "string",
+ },
+ assignee: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ closedAt: {
+ format: "date",
+ type: "string",
+ },
+ closedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ customFields: {
+ format: "jsonb",
+ },
+ createdAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ currencyCode: {
+ description:
+ "Note:\nThis is a Foreign Key to `currencyCode.code`.<fk table='currencyCode' column='code'/>",
+ format: "text",
+ type: "string",
+ },
+ exchangeRate: {
+ format: "numeric",
+ type: "number",
+ },
+ exchangeRateUpdatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ shippingMethodName: {
+ format: "text",
+ type: "string",
+ },
+ shippingTermName: {
+ format: "text",
+ type: "string",
+ },
+ paymentTermName: {
+ format: "text",
+ type: "string",
+ },
+ receiptRequestedDate: {
+ format: "date",
+ type: "string",
+ },
+ receiptPromisedDate: {
+ format: "date",
+ type: "string",
+ },
+ dropShipment: {
+ format: "boolean",
+ type: "boolean",
+ },
+ locationId: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ locationName: {
+ format: "text",
+ type: "string",
+ },
+ favorite: {
+ format: "boolean",
+ type: "boolean",
+ },
+ },
+ type: "object",
+ },
+ purchasePayment: {
+ required: [
+ "id",
+ "paymentId",
+ "supplierId",
+ "currencyCode",
+ "exchangeRate",
+ "totalAmount",
+ "companyId",
+ "createdBy",
+ "createdAt",
+ ],
+ properties: {
+ id: {
+ default: "public.xid()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ paymentId: {
+ format: "text",
+ type: "string",
+ },
+ supplierId: {
+ description:
+ "Note:\nThis is a Foreign Key to `supplier.id`.<fk table='supplier' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ paymentDate: {
+ format: "date",
+ type: "string",
+ },
+ currencyCode: {
+ format: "text",
+ type: "string",
+ },
+ exchangeRate: {
+ default: 1,
+ format: "numeric",
+ type: "number",
+ },
+ totalAmount: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ customFields: {
+ format: "jsonb",
+ },
+ },
+ type: "object",
+ },
+ customers: {
+ properties: {
+ id: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ name: {
+ format: "text",
+ type: "string",
+ },
+ customerTypeId: {
+ description:
+ "Note:\nThis is a Foreign Key to `customerType.id`.<fk table='customerType' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ customerStatusId: {
+ description:
+ "Note:\nThis is a Foreign Key to `customerStatus.id`.<fk table='customerStatus' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ taxId: {
+ format: "text",
+ type: "string",
+ },
+ accountManagerId: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ logo: {
+ format: "text",
+ type: "string",
+ },
+ assignee: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ customFields: {
+ format: "jsonb",
+ },
+ currencyCode: {
+ description:
+ "Note:\nThis is a Foreign Key to `currencyCode.code`.<fk table='currencyCode' column='code'/>",
+ format: "text",
+ type: "string",
+ },
+ phone: {
+ format: "text",
+ type: "string",
+ },
+ fax: {
+ format: "text",
+ type: "string",
+ },
+ website: {
+ format: "text",
+ type: "string",
+ },
+ type: {
+ format: "text",
+ type: "string",
+ },
+ status: {
+ format: "text",
+ type: "string",
+ },
+ orderCount: {
+ format: "bigint",
+ type: "integer",
+ },
+ },
+ type: "object",
+ },
+ salesOrderFavorite: {
+ required: ["salesOrderId", "userId"],
+ properties: {
+ salesOrderId: {
+ description:
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `salesOrder.id`.<fk table='salesOrder' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ userId: {
+ description:
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ fixture: {
+ required: ["id", "approved", "companyId", "createdBy", "createdAt"],
+ properties: {
+ id: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ itemId: {
+ description:
+ "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ customerId: {
+ description:
+ "Note:\nThis is a Foreign Key to `customer.id`.<fk table='customer' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ approved: {
+ default: false,
+ format: "boolean",
+ type: "boolean",
+ },
+ approvedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ customFields: {
+ format: "jsonb",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ externalId: {
+ format: "jsonb",
+ },
+ },
+ type: "object",
+ },
+ document: {
+ required: [
+ "id",
+ "path",
+ "name",
+ "size",
+ "type",
+ "active",
+ "companyId",
+ "createdBy",
+ "createdAt",
+ ],
+ properties: {
+ id: {
+ default: "extensions.uuid_generate_v4()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ path: {
+ format: "text",
+ type: "string",
+ },
+ name: {
+ format: "text",
+ type: "string",
+ },
+ description: {
+ default: "",
+ format: "text",
+ type: "string",
+ },
+ size: {
+ format: "integer",
+ type: "integer",
+ },
+ extension: {
+ format: "text",
+ type: "string",
+ },
+ type: {
+ enum: [
+ "Archive",
+ "Document",
+ "Presentation",
+ "PDF",
+ "Spreadsheet",
+ "Text",
+ "Image",
+ "Video",
+ "Audio",
+ "Other",
+ "Model",
+ ],
+ format: 'public."documentType"',
+ type: "string",
+ },
+ readGroups: {
+ format: "text[]",
+ items: {
+ type: "string",
+ },
+ type: "array",
+ },
+ writeGroups: {
+ format: "text[]",
+ items: {
+ type: "string",
+ },
+ type: "array",
+ },
+ active: {
+ default: true,
+ format: "boolean",
+ type: "boolean",
+ },
+ companyId: {
+ format: "text",
+ type: "string",
+ },
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ sourceDocument: {
+ enum: [
+ "Job",
+ "Part",
+ "Purchase Order",
+ "Purchase Invoice",
+ "Purchase Return Order",
+ "Quote",
+ "Receipt",
+ "Request for Quote",
+ "Sales Order",
+ "Sales Invoice",
+ "Sales Return Order",
+ "Service",
+ "Shipment",
+ "Material",
+ "Tool",
+ "Fixture",
+ "Consumable",
+ ],
+ format: 'public."documentSourceType"',
+ type: "string",
+ },
+ sourceDocumentId: {
+ format: "text",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ receipts: {
+ properties: {
+ id: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ receiptId: {
+ format: "text",
+ type: "string",
+ },
+ locationId: {
+ description:
+ "Note:\nThis is a Foreign Key to `location.id`.<fk table='location' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ sourceDocument: {
+ enum: [
+ "Sales Order",
+ "Sales Invoice",
+ "Sales Return Order",
+ "Purchase Order",
+ "Purchase Invoice",
+ "Purchase Return Order",
+ "Inbound Transfer",
+ "Outbound Transfer",
+ "Manufacturing Consumption",
+ "Manufacturing Output",
+ ],
+ format: 'public."receiptSourceDocument"',
+ type: "string",
+ },
+ sourceDocumentId: {
+ format: "text",
+ type: "string",
+ },
+ sourceDocumentReadableId: {
+ format: "text",
+ type: "string",
+ },
+ externalDocumentId: {
+ format: "text",
+ type: "string",
+ },
+ supplierId: {
+ description:
+ "Note:\nThis is a Foreign Key to `supplier.id`.<fk table='supplier' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ status: {
+ enum: ["Draft", "Pending", "Posted"],
+ format: 'public."receiptStatus"',
+ type: "string",
+ },
+ postingDate: {
+ format: "date",
+ type: "string",
+ },
+ invoiced: {
+ format: "boolean",
+ type: "boolean",
+ },
+ assignee: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ customFields: {
+ format: "jsonb",
+ },
+ locationName: {
+ format: "text",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ attributeDataType: {
+ required: [
+ "id",
+ "label",
+ "isBoolean",
+ "isDate",
+ "isList",
+ "isNumeric",
+ "isText",
+ "isUser",
+ ],
+ properties: {
+ id: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "integer",
+ type: "integer",
+ },
+ label: {
+ format: "text",
+ type: "string",
+ },
+ isBoolean: {
+ default: false,
+ format: "boolean",
+ type: "boolean",
+ },
+ isDate: {
+ default: false,
+ format: "boolean",
+ type: "boolean",
+ },
+ isList: {
+ default: false,
+ format: "boolean",
+ type: "boolean",
+ },
+ isNumeric: {
+ default: false,
+ format: "boolean",
+ type: "boolean",
+ },
+ isText: {
+ default: false,
+ format: "boolean",
+ type: "boolean",
+ },
+ isUser: {
+ default: false,
+ format: "boolean",
+ type: "boolean",
+ },
+ },
+ type: "object",
+ },
+ quoteLine: {
+ required: [
+ "id",
+ "quoteId",
+ "quoteRevisionId",
+ "status",
+ "itemId",
+ "itemType",
+ "description",
+ "methodType",
+ "companyId",
+ "createdBy",
+ ],
+ properties: {
+ id: {
+ default: "public.xid()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ quoteId: {
+ description:
+ "Note:\nThis is a Foreign Key to `quote.id`.<fk table='quote' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ quoteRevisionId: {
+ default: 0,
+ format: "integer",
+ type: "integer",
+ },
+ status: {
+ default: "Not Started",
+ enum: ["Not Started", "In Progress", "Complete", "No Quote"],
+ format: 'public."quoteLineStatus"',
+ type: "string",
+ },
+ estimatorId: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ itemId: {
+ description:
+ "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ itemReadableId: {
+ format: "text",
+ type: "string",
+ },
+ itemType: {
+ default: "Part",
+ format: "text",
+ type: "string",
+ },
+ description: {
+ format: "text",
+ type: "string",
+ },
+ customerPartId: {
+ format: "text",
+ type: "string",
+ },
+ customerPartRevision: {
+ format: "text",
+ type: "string",
+ },
+ methodType: {
+ default: "Make",
+ enum: ["Buy", "Make", "Pick"],
+ format: 'public."methodType"',
+ type: "string",
+ },
+ unitOfMeasureCode: {
+ format: "text",
+ type: "string",
+ },
+ notes: {
+ format: "json",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ customFields: {
+ format: "jsonb",
+ },
+ modelUploadId: {
+ format: "text",
+ type: "string",
+ },
+ quantity: {
+ format: "numeric[]",
+ items: {
+ type: "number",
+ },
+ type: "array",
+ },
+ additionalCharges: {
+ format: "jsonb",
+ },
+ locationId: {
+ description:
+ "Note:\nThis is a Foreign Key to `location.id`.<fk table='location' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ noQuoteReason: {
+ format: "text",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ jobMaterialWithMakeMethodId: {
+ properties: {
+ id: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ jobId: {
+ description:
+ "Note:\nThis is a Foreign Key to `job.id`.<fk table='job' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ itemId: {
+ description:
+ "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ itemReadableId: {
+ format: "text",
+ type: "string",
+ },
+ itemType: {
+ format: "text",
+ type: "string",
+ },
+ methodType: {
+ enum: ["Buy", "Make", "Pick"],
+ format: 'public."methodType"',
+ type: "string",
+ },
+ order: {
+ format: "double precision",
+ type: "number",
+ },
+ description: {
+ format: "text",
+ type: "string",
+ },
+ quantity: {
+ format: "numeric",
+ type: "number",
+ },
+ scrapQuantity: {
+ format: "numeric",
+ type: "number",
+ },
+ unitOfMeasureCode: {
+ format: "text",
+ type: "string",
+ },
+ unitCost: {
+ format: "numeric",
+ type: "number",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ customFields: {
+ format: "jsonb",
+ },
+ jobMakeMethodId: {
+ description:
+ "Note:\nThis is a Foreign Key to `jobMakeMethod.id`.<fk table='jobMakeMethod' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ jobOperationId: {
+ description:
+ "Note:\nThis is a Foreign Key to `jobOperation.id`.<fk table='jobOperation' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ estimatedQuantity: {
+ format: "numeric",
+ type: "number",
+ },
+ jobMaterialMakeMethodId: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ currency: {
+ required: [
+ "id",
+ "code",
+ "exchangeRate",
+ "decimalPlaces",
+ "active",
+ "companyId",
+ "createdBy",
+ "createdAt",
+ ],
+ properties: {
+ id: {
+ default: "public.xid()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ code: {
+ description:
+ "Note:\nThis is a Foreign Key to `currencyCode.code`.<fk table='currencyCode' column='code'/>",
+ format: "text",
+ type: "string",
+ },
+ exchangeRate: {
+ default: 1,
+ format: "numeric",
+ type: "number",
+ },
+ decimalPlaces: {
+ default: 2,
+ format: "integer",
+ type: "integer",
+ },
+ active: {
+ default: true,
+ format: "boolean",
+ type: "boolean",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdBy: {
+ format: "text",
+ type: "string",
+ },
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ customFields: {
+ format: "jsonb",
+ },
+ },
+ type: "object",
+ },
+ productionEvent: {
+ required: [
+ "id",
+ "jobOperationId",
+ "startTime",
+ "companyId",
+ "createdAt",
+ "createdBy",
+ ],
+ properties: {
+ id: {
+ default: "public.xid()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ jobOperationId: {
+ description:
+ "Note:\nThis is a Foreign Key to `jobOperation.id`.<fk table='jobOperation' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ type: {
+ enum: ["Setup", "Labor", "Machine"],
+ format: 'public."productionEventType"',
+ type: "string",
+ },
+ startTime: {
+ default: "now()",
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ endTime: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ duration: {
+ format: "integer",
+ type: "integer",
+ },
+ employeeId: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ workCenterId: {
+ description:
+ "Note:\nThis is a Foreign Key to `workCenter.id`.<fk table='workCenter' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ accounts: {
+ properties: {
+ id: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ number: {
+ format: "text",
+ type: "string",
+ },
+ name: {
+ format: "text",
+ type: "string",
+ },
+ type: {
+ enum: ["Posting", "Total", "Begin Total", "End Total"],
+ format: 'public."glAccountType"',
+ type: "string",
+ },
+ class: {
+ enum: ["Asset", "Liability", "Equity", "Revenue", "Expense"],
+ format: 'public."glAccountClass"',
+ type: "string",
+ },
+ accountCategoryId: {
+ description:
+ "Note:\nThis is a Foreign Key to `accountCategory.id`.<fk table='accountCategory' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ accountSubcategoryId: {
+ format: "text",
+ type: "string",
+ },
+ incomeBalance: {
+ enum: ["Balance Sheet", "Income Statement"],
+ format: 'public."glIncomeBalance"',
+ type: "string",
+ },
+ consolidatedRate: {
+ enum: ["Average", "Current", "Historical"],
+ format: 'public."glConsolidatedRate"',
+ type: "string",
+ },
+ directPosting: {
+ format: "boolean",
+ type: "boolean",
+ },
+ active: {
+ format: "boolean",
+ type: "boolean",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ customFields: {
+ format: "jsonb",
+ },
+ accountCategory: {
+ format: "text",
+ type: "string",
+ },
+ accountSubCategory: {
+ format: "text",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ supplierProcesses: {
+ properties: {
+ id: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ supplierId: {
+ description:
+ "Note:\nThis is a Foreign Key to `supplier.id`.<fk table='supplier' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ processId: {
+ description:
+ "Note:\nThis is a Foreign Key to `process.id`.<fk table='process' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ minimumCost: {
+ format: "numeric",
+ type: "number",
+ },
+ unitCost: {
+ format: "numeric",
+ type: "number",
+ },
+ leadTime: {
+ format: "numeric",
+ type: "number",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ customFields: {
+ format: "jsonb",
+ },
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ processName: {
+ format: "text",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ postingGroupInventory: {
+ required: [
+ "id",
+ "costOfGoodsSoldAccount",
+ "inventoryAccount",
+ "inventoryInterimAccrualAccount",
+ "inventoryReceivedNotInvoicedAccount",
+ "inventoryInvoicedNotReceivedAccount",
+ "inventoryShippedNotInvoicedAccount",
+ "workInProgressAccount",
+ "directCostAppliedAccount",
+ "overheadAccount",
+ "overheadCostAppliedAccount",
+ "purchaseVarianceAccount",
+ "inventoryAdjustmentVarianceAccount",
+ "materialVarianceAccount",
+ "capacityVarianceAccount",
+ "companyId",
+ ],
+ properties: {
+ id: {
+ default: "public.xid()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ itemPostingGroupId: {
+ description:
+ "Note:\nThis is a Foreign Key to `itemPostingGroup.id`.<fk table='itemPostingGroup' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ locationId: {
+ description:
+ "Note:\nThis is a Foreign Key to `location.id`.<fk table='location' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ costOfGoodsSoldAccount: {
+ format: "text",
+ type: "string",
+ },
+ inventoryAccount: {
+ format: "text",
+ type: "string",
+ },
+ inventoryInterimAccrualAccount: {
+ format: "text",
+ type: "string",
+ },
+ inventoryReceivedNotInvoicedAccount: {
+ format: "text",
+ type: "string",
+ },
+ inventoryInvoicedNotReceivedAccount: {
+ format: "text",
+ type: "string",
+ },
+ inventoryShippedNotInvoicedAccount: {
+ format: "text",
+ type: "string",
+ },
+ workInProgressAccount: {
+ format: "text",
+ type: "string",
+ },
+ directCostAppliedAccount: {
+ format: "text",
+ type: "string",
+ },
+ overheadAccount: {
+ format: "text",
+ type: "string",
+ },
+ overheadCostAppliedAccount: {
+ format: "text",
+ type: "string",
+ },
+ purchaseVarianceAccount: {
+ format: "text",
+ type: "string",
+ },
+ inventoryAdjustmentVarianceAccount: {
+ format: "text",
+ type: "string",
+ },
+ materialVarianceAccount: {
+ format: "text",
+ type: "string",
+ },
+ capacityVarianceAccount: {
+ format: "text",
+ type: "string",
+ },
+ companyId: {
+ format: "text",
+ type: "string",
+ },
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ userToCompany: {
+ required: ["userId", "companyId", "role"],
+ properties: {
+ userId: {
+ description:
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ role: {
+ enum: ["customer", "employee", "supplier"],
+ format: "public.role",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ userAttribute: {
+ required: [
+ "id",
+ "name",
+ "sortOrder",
+ "userAttributeCategoryId",
+ "attributeDataTypeId",
+ "createdAt",
+ "createdBy",
+ ],
+ properties: {
+ id: {
+ default: "public.xid()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ name: {
+ format: "text",
+ type: "string",
+ },
+ sortOrder: {
+ default: 1,
+ format: "integer",
+ type: "integer",
+ },
+ userAttributeCategoryId: {
+ description:
+ "Note:\nThis is a Foreign Key to `userAttributeCategory.id`.<fk table='userAttributeCategory' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ attributeDataTypeId: {
+ description:
+ "Note:\nThis is a Foreign Key to `attributeDataType.id`.<fk table='attributeDataType' column='id'/>",
+ format: "integer",
+ type: "integer",
+ },
+ listOptions: {
+ format: "text[]",
+ items: {
+ type: "string",
+ },
+ type: "array",
+ },
+ canSelfManage: {
+ default: false,
+ format: "boolean",
+ type: "boolean",
+ },
+ active: {
+ default: true,
+ format: "boolean",
+ type: "boolean",
+ },
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ supplierProcess: {
+ required: [
+ "id",
+ "supplierId",
+ "processId",
+ "minimumCost",
+ "unitCost",
+ "leadTime",
+ "companyId",
+ "createdBy",
+ "createdAt",
+ ],
+ properties: {
+ id: {
+ default: "public.xid()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ supplierId: {
+ description:
+ "Note:\nThis is a Foreign Key to `supplier.id`.<fk table='supplier' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ processId: {
+ description:
+ "Note:\nThis is a Foreign Key to `process.id`.<fk table='process' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ minimumCost: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ unitCost: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ leadTime: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ customFields: {
+ format: "jsonb",
+ },
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ employee: {
+ required: ["id", "companyId", "employeeTypeId"],
+ properties: {
+ id: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ employeeTypeId: {
+ description:
+ "Note:\nThis is a Foreign Key to `employeeType.id`.<fk table='employeeType' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ },
+ type: "object",
+ },
+ buyMethod: {
+ required: [
+ "id",
+ "itemId",
+ "supplierId",
+ "conversionFactor",
+ "active",
+ "companyId",
+ "createdBy",
+ "createdAt",
+ ],
+ properties: {
+ id: {
+ default: "public.xid()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ itemId: {
+ description:
+ "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ supplierId: {
+ description:
+ "Note:\nThis is a Foreign Key to `supplier.id`.<fk table='supplier' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ supplierPartId: {
+ format: "text",
+ type: "string",
+ },
+ supplierUnitOfMeasureCode: {
+ format: "text",
+ type: "string",
+ },
+ minimumOrderQuantity: {
+ default: 1,
+ format: "integer",
+ type: "integer",
+ },
+ conversionFactor: {
+ default: 1,
+ format: "numeric",
+ type: "number",
+ },
+ active: {
+ default: true,
+ format: "boolean",
+ type: "boolean",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ customFields: {
+ format: "jsonb",
+ },
+ unitPrice: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ },
+ type: "object",
+ },
+ itemPostingGroup: {
+ required: ["id", "name", "active", "companyId", "createdBy", "createdAt"],
+ properties: {
+ id: {
+ default: "public.xid()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ name: {
+ format: "text",
+ type: "string",
+ },
+ description: {
+ format: "text",
+ type: "string",
+ },
+ active: {
+ default: true,
+ format: "boolean",
+ type: "boolean",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ customFields: {
+ format: "jsonb",
+ },
+ },
+ type: "object",
+ },
+ department: {
+ required: ["id", "name", "companyId", "createdBy", "createdAt"],
+ properties: {
+ id: {
+ default: "public.xid()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ name: {
+ format: "text",
+ type: "string",
+ },
+ parentDepartmentId: {
+ description:
+ "Note:\nThis is a Foreign Key to `department.id`.<fk table='department' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdBy: {
+ format: "text",
+ type: "string",
+ },
+ createdAt: {
+ default: "now()",
+ format: "timestamp without time zone",
+ type: "string",
+ },
+ updatedBy: {
+ format: "text",
+ type: "string",
+ },
+ updatedAt: {
+ format: "timestamp without time zone",
+ type: "string",
+ },
+ customFields: {
+ format: "jsonb",
+ },
+ },
+ type: "object",
+ },
+ purchaseInvoiceLine: {
+ required: [
+ "id",
+ "invoiceId",
+ "invoiceLineType",
+ "quantity",
+ "unitPrice",
+ "currencyCode",
+ "exchangeRate",
+ "companyId",
+ "createdBy",
+ "createdAt",
+ ],
+ properties: {
+ id: {
+ default: "public.xid()",
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ invoiceId: {
+ description:
+ "Note:\nThis is a Foreign Key to `purchaseInvoice.id`.<fk table='purchaseInvoice' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ invoiceLineType: {
+ enum: [
+ "Comment",
+ "G/L Account",
+ "Fixed Asset",
+ "Part",
+ "Material",
+ "Tool",
+ "Service",
+ "Consumable",
+ "Fixture",
+ ],
+ format: 'public."payableLineType"',
+ type: "string",
+ },
+ purchaseOrderId: {
+ description:
+ "Note:\nThis is a Foreign Key to `purchaseOrder.id`.<fk table='purchaseOrder' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ purchaseOrderLineId: {
+ description:
+ "Note:\nThis is a Foreign Key to `purchaseOrderLine.id`.<fk table='purchaseOrderLine' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ itemId: {
+ description:
+ "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ itemReadableId: {
+ format: "text",
+ type: "string",
+ },
+ serviceId: {
+ format: "text",
+ type: "string",
+ },
+ locationId: {
+ description:
+ "Note:\nThis is a Foreign Key to `location.id`.<fk table='location' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ shelfId: {
+ description:
+ "Note:\nThis is a Foreign Key to `shelf.id`.<fk table='shelf' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ accountNumber: {
+ format: "text",
+ type: "string",
+ },
+ assetId: {
+ format: "text",
+ type: "string",
+ },
+ description: {
+ format: "text",
+ type: "string",
+ },
+ quantity: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ unitPrice: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
+ totalAmount: {
+ format: "numeric",
+ type: "number",
+ },
+ currencyCode: {
+ format: "text",
+ type: "string",
+ },
+ exchangeRate: {
+ default: 1,
+ format: "numeric",
+ type: "number",
+ },
+ inventoryUnitOfMeasureCode: {
+ format: "text",
+ type: "string",
+ },
+ purchaseUnitOfMeasureCode: {
+ format: "text",
+ type: "string",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ createdAt: {
+ default: "now()",
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ customFields: {
+ format: "jsonb",
+ },
+ conversionFactor: {
+ default: 1,
+ format: "numeric",
+ type: "number",
+ },
+ },
+ type: "object",
+ },
+ salesRfqs: {
+ properties: {
+ id: {
+ description: "Note:\nThis is a Primary Key.<pk/>",
+ format: "text",
+ type: "string",
+ },
+ rfqId: {
+ format: "text",
+ type: "string",
+ },
+ revisionId: {
+ format: "integer",
+ type: "integer",
+ },
+ status: {
+ enum: ["Draft", "Ready for Quote", "Closed", "Quoted"],
+ format: 'public."salesRfqStatus"',
+ type: "string",
+ },
+ employeeId: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ customerId: {
+ description:
+ "Note:\nThis is a Foreign Key to `customer.id`.<fk table='customer' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ customerContactId: {
+ description:
+ "Note:\nThis is a Foreign Key to `customerContact.id`.<fk table='customerContact' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ customerReference: {
+ format: "text",
+ type: "string",
+ },
+ rfqDate: {
+ format: "date",
+ type: "string",
+ },
+ expirationDate: {
+ format: "date",
+ type: "string",
+ },
+ locationId: {
+ description:
+ "Note:\nThis is a Foreign Key to `location.id`.<fk table='location' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ assignee: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ companyId: {
+ description:
+ "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ customFields: {
+ format: "jsonb",
+ },
+ createdAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ createdBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ updatedAt: {
+ format: "timestamp with time zone",
+ type: "string",
+ },
+ updatedBy: {
+ description:
+ "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ customerLocationId: {
+ description:
+ "Note:\nThis is a Foreign Key to `customerLocation.id`.<fk table='customerLocation' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ externalNotes: {
+ format: "json",
+ },
+ internalNotes: {
+ format: "json",
+ },
+ locationName: {
+ format: "text",
+ type: "string",
+ },
+ quoteId: {
+ description:
+ "Note:\nThis is a Foreign Key to `quote.id`.<fk table='quote' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ salesOrderId: {
+ description:
+ "Note:\nThis is a Foreign Key to `salesOrder.id`.<fk table='salesOrder' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ favorite: {
+ format: "boolean",
+ type: "boolean",
+ },
+ },
+ type: "object",
+ },
+ },
+ parameters: {
+ preferParams: {
+ name: "Prefer",
+ description: "Preference",
+ required: false,
+ enum: ["params=single-object"],
+ in: "header",
+ type: "string",
+ },
+ preferReturn: {
+ name: "Prefer",
+ description: "Preference",
+ required: false,
+ enum: ["return=representation", "return=minimal", "return=none"],
+ in: "header",
+ type: "string",
+ },
+ preferCount: {
+ name: "Prefer",
+ description: "Preference",
+ required: false,
+ enum: ["count=none"],
+ in: "header",
+ type: "string",
+ },
+ preferPost: {
+ name: "Prefer",
+ description: "Preference",
+ required: false,
+ enum: [
+ "return=representation",
+ "return=minimal",
+ "return=none",
+ "resolution=ignore-duplicates",
+ "resolution=merge-duplicates",
+ ],
+ in: "header",
+ type: "string",
+ },
+ select: {
+ name: "select",
+ description: "Filtering Columns",
+ required: false,
+ in: "query",
+ type: "string",
+ },
+ on_conflict: {
+ name: "on_conflict",
+ description: "On Conflict",
+ required: false,
+ in: "query",
+ type: "string",
+ },
+ order: {
+ name: "order",
+ description: "Ordering",
+ required: false,
+ in: "query",
+ type: "string",
+ },
+ range: {
+ name: "Range",
+ description: "Limiting and Pagination",
+ required: false,
+ in: "header",
+ type: "string",
+ },
+ rangeUnit: {
+ name: "Range-Unit",
+ description: "Limiting and Pagination",
+ required: false,
+ default: "items",
+ in: "header",
+ type: "string",
+ },
+ offset: {
+ name: "offset",
+ description: "Limiting and Pagination",
+ required: false,
+ in: "query",
+ type: "string",
+ },
+ limit: {
+ name: "limit",
+ description: "Limiting and Pagination",
+ required: false,
+ in: "query",
+ type: "string",
+ },
+ "body.purchaseInvoiceStatusHistory": {
+ name: "purchaseInvoiceStatusHistory",
+ description: "purchaseInvoiceStatusHistory",
+ required: false,
+ in: "body",
+ schema: {
+ $ref: "#/definitions/purchaseInvoiceStatusHistory",
+ },
+ },
+ "rowFilter.purchaseInvoiceStatusHistory.id": {
+ name: "id",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.purchaseInvoiceStatusHistory.invoiceId": {
+ name: "invoiceId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.purchaseInvoiceStatusHistory.status": {
+ name: "status",
+ required: false,
+ format: 'public."purchaseInvoiceStatus"',
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.purchaseInvoiceStatusHistory.createdAt": {
+ name: "createdAt",
+ required: false,
+ format: "timestamp with time zone",
+ in: "query",
+ type: "string",
+ },
+ "body.itemInventory": {
+ name: "itemInventory",
+ description: "itemInventory",
+ required: false,
+ in: "body",
+ schema: {
+ $ref: "#/definitions/itemInventory",
+ },
+ },
+ "rowFilter.itemInventory.id": {
+ name: "id",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.itemInventory.itemId": {
+ name: "itemId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.itemInventory.locationId": {
+ name: "locationId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.itemInventory.shelfId": {
+ name: "shelfId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.itemInventory.companyId": {
+ name: "companyId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.itemInventory.quantityOnHand": {
+ name: "quantityOnHand",
+ required: false,
+ format: "numeric",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.itemInventory.quantityOnPurchase": {
+ name: "quantityOnPurchase",
+ required: false,
+ format: "numeric",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.itemInventory.quantityOnSalesOrder": {
+ name: "quantityOnSalesOrder",
+ required: false,
+ format: "numeric",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.itemInventory.quantityOnProductionOrder": {
+ name: "quantityOnProductionOrder",
+ required: false,
+ format: "numeric",
+ in: "query",
+ type: "string",
+ },
+ "body.userPermission": {
+ name: "userPermission",
+ description: "userPermission",
+ required: false,
+ in: "body",
+ schema: {
+ $ref: "#/definitions/userPermission",
+ },
+ },
+ "rowFilter.userPermission.id": {
+ name: "id",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.userPermission.permissions": {
+ name: "permissions",
+ required: false,
+ format: "jsonb",
+ in: "query",
+ type: "string",
+ },
+ "body.supplierAccount": {
+ name: "supplierAccount",
+ description: "supplierAccount",
+ required: false,
+ in: "body",
+ schema: {
+ $ref: "#/definitions/supplierAccount",
+ },
+ },
+ "rowFilter.supplierAccount.id": {
+ name: "id",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.supplierAccount.supplierId": {
+ name: "supplierId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.supplierAccount.companyId": {
+ name: "companyId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.salesOrderShipment.updatedBy": {
+ name: "updatedBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.salesOrderShipment.updatedAt": {
+ name: "updatedAt",
+ required: false,
+ format: "timestamp with time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.salesOrderShipment.customFields": {
+ name: "customFields",
+ required: false,
+ format: "jsonb",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.salesOrderShipment.assignee": {
+ name: "assignee",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "body.documentLabels": {
+ name: "documentLabels",
+ description: "documentLabels",
+ required: false,
+ in: "body",
+ schema: {
+ $ref: "#/definitions/documentLabels",
+ },
+ },
+ "rowFilter.documentLabels.label": {
+ name: "label",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.documentLabels.userId": {
+ name: "userId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "body.consumables": {
+ name: "consumables",
+ description: "consumables",
+ required: false,
+ in: "body",
+ schema: {
+ $ref: "#/definitions/consumables",
+ },
+ },
+ "rowFilter.consumables.active": {
+ name: "active",
+ required: false,
+ format: "boolean",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.consumables.assignee": {
+ name: "assignee",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.consumables.defaultMethodType": {
+ name: "defaultMethodType",
+ required: false,
+ format: 'public."methodType"',
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.consumables.description": {
+ name: "description",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.consumables.itemTrackingType": {
+ name: "itemTrackingType",
+ required: false,
+ format: 'public."itemTrackingType"',
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.consumables.name": {
+ name: "name",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.consumables.replenishmentSystem": {
+ name: "replenishmentSystem",
+ required: false,
+ format: 'public."itemReplenishmentSystem"',
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.consumables.thumbnailPath": {
+ name: "thumbnailPath",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.consumables.unitOfMeasureCode": {
+ name: "unitOfMeasureCode",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.consumables.id": {
+ name: "id",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.consumables.itemId": {
+ name: "itemId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.consumables.approved": {
+ name: "approved",
+ required: false,
+ format: "boolean",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.consumables.approvedBy": {
+ name: "approvedBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.consumables.customFields": {
+ name: "customFields",
+ required: false,
+ format: "jsonb",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.consumables.companyId": {
+ name: "companyId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.consumables.createdBy": {
+ name: "createdBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.consumables.createdAt": {
+ name: "createdAt",
+ required: false,
+ format: "timestamp with time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.consumables.updatedBy": {
+ name: "updatedBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.consumables.updatedAt": {
+ name: "updatedAt",
+ required: false,
+ format: "timestamp with time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.consumables.externalId": {
+ name: "externalId",
+ required: false,
+ format: "jsonb",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.consumables.supplierIds": {
+ name: "supplierIds",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.consumables.unitOfMeasure": {
+ name: "unitOfMeasure",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "body.quoteLine": {
+ name: "quoteLine",
+ description: "quoteLine",
+ required: false,
+ in: "body",
+ schema: {
+ $ref: "#/definitions/quoteLine",
+ },
+ },
+ "rowFilter.quoteLine.id": {
+ name: "id",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteLine.quoteId": {
+ name: "quoteId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteLine.quoteRevisionId": {
+ name: "quoteRevisionId",
+ required: false,
+ format: "integer",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteLine.status": {
+ name: "status",
+ required: false,
+ format: 'public."quoteLineStatus"',
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteLine.estimatorId": {
+ name: "estimatorId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteLine.itemId": {
+ name: "itemId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteLine.itemReadableId": {
+ name: "itemReadableId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteLine.itemType": {
+ name: "itemType",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteLine.description": {
+ name: "description",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteLine.customerPartId": {
+ name: "customerPartId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteLine.customerPartRevision": {
+ name: "customerPartRevision",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteLine.methodType": {
+ name: "methodType",
+ required: false,
+ format: 'public."methodType"',
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteLine.unitOfMeasureCode": {
+ name: "unitOfMeasureCode",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteLine.notes": {
+ name: "notes",
+ required: false,
+ format: "json",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteLine.companyId": {
+ name: "companyId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteLine.createdBy": {
+ name: "createdBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteLine.updatedAt": {
+ name: "updatedAt",
+ required: false,
+ format: "timestamp with time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteLine.updatedBy": {
+ name: "updatedBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteLine.customFields": {
+ name: "customFields",
+ required: false,
+ format: "jsonb",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteLine.modelUploadId": {
+ name: "modelUploadId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteLine.quantity": {
+ name: "quantity",
+ required: false,
+ format: "numeric[]",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteLine.additionalCharges": {
+ name: "additionalCharges",
+ required: false,
+ format: "jsonb",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteLine.locationId": {
+ name: "locationId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteLine.noQuoteReason": {
+ name: "noQuoteReason",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "body.employeeSummary": {
+ name: "employeeSummary",
+ description: "employeeSummary",
+ required: false,
+ in: "body",
+ schema: {
+ $ref: "#/definitions/employeeSummary",
+ },
+ },
+ "rowFilter.employeeSummary.id": {
+ name: "id",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.employeeSummary.name": {
+ name: "name",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.employeeSummary.avatarUrl": {
+ name: "avatarUrl",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.employeeSummary.companyId": {
+ name: "companyId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.employeeSummary.title": {
+ name: "title",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.employeeSummary.startDate": {
+ name: "startDate",
+ required: false,
+ format: "date",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.employeeSummary.departmentName": {
+ name: "departmentName",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.employeeSummary.locationName": {
+ name: "locationName",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.employeeSummary.managerName": {
+ name: "managerName",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "body.integrations": {
+ name: "integrations",
+ description: "integrations",
+ required: false,
+ in: "body",
+ schema: {
+ $ref: "#/definitions/integrations",
+ },
+ },
+ "rowFilter.integrations.id": {
+ name: "id",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.integrations.jsonschema": {
+ name: "jsonschema",
+ required: false,
+ format: "json",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.integrations.companyId": {
+ name: "companyId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.integrations.metadata": {
+ name: "metadata",
+ required: false,
+ format: "json",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.integrations.active": {
+ name: "active",
+ required: false,
+ format: "boolean",
+ in: "query",
+ type: "string",
+ },
+ "body.quoteShipment": {
+ name: "quoteShipment",
+ description: "quoteShipment",
+ required: false,
+ in: "body",
+ schema: {
+ $ref: "#/definitions/quoteShipment",
+ },
+ },
+ "rowFilter.quoteShipment.id": {
+ name: "id",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteShipment.locationId": {
+ name: "locationId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteShipment.shippingMethodId": {
+ name: "shippingMethodId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteShipment.shippingTermId": {
+ name: "shippingTermId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteShipment.receiptRequestedDate": {
+ name: "receiptRequestedDate",
+ required: false,
+ format: "date",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteShipment.companyId": {
+ name: "companyId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteShipment.updatedBy": {
+ name: "updatedBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteShipment.updatedAt": {
+ name: "updatedAt",
+ required: false,
+ format: "timestamp with time zone",
+ in: "query",
+ type: "string",
+ },
+ "body.customerLocation": {
+ name: "customerLocation",
+ description: "customerLocation",
+ required: false,
+ in: "body",
+ schema: {
+ $ref: "#/definitions/customerLocation",
+ },
+ },
+ "rowFilter.customerLocation.id": {
+ name: "id",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.customerLocation.customerId": {
+ name: "customerId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.customerLocation.addressId": {
+ name: "addressId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.customerLocation.customFields": {
+ name: "customFields",
+ required: false,
+ format: "jsonb",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.customerLocation.name": {
+ name: "name",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "body.oauthToken": {
+ name: "oauthToken",
+ description: "oauthToken",
+ required: false,
+ in: "body",
+ schema: {
+ $ref: "#/definitions/oauthToken",
+ },
+ },
+ "rowFilter.oauthToken.id": {
+ name: "id",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.oauthToken.accessToken": {
+ name: "accessToken",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.oauthToken.refreshToken": {
+ name: "refreshToken",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.oauthToken.clientId": {
+ name: "clientId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.oauthToken.userId": {
+ name: "userId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.oauthToken.companyId": {
+ name: "companyId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.oauthToken.createdAt": {
+ name: "createdAt",
+ required: false,
+ format: "timestamp with time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.oauthToken.expiresAt": {
+ name: "expiresAt",
+ required: false,
+ format: "timestamp with time zone",
+ in: "query",
+ type: "string",
+ },
+ "body.groups": {
+ name: "groups",
+ description: "groups",
+ required: false,
+ in: "body",
+ schema: {
+ $ref: "#/definitions/groups",
+ },
+ },
+ "rowFilter.groups.id": {
+ name: "id",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.groups.isEmployeeTypeGroup": {
+ name: "isEmployeeTypeGroup",
+ required: false,
+ format: "boolean",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.groups.isCustomerOrgGroup": {
+ name: "isCustomerOrgGroup",
+ required: false,
+ format: "boolean",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.groups.isCustomerTypeGroup": {
+ name: "isCustomerTypeGroup",
+ required: false,
+ format: "boolean",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.groups.isSupplierOrgGroup": {
+ name: "isSupplierOrgGroup",
+ required: false,
+ format: "boolean",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.groups.isSupplierTypeGroup": {
+ name: "isSupplierTypeGroup",
+ required: false,
+ format: "boolean",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.groups.name": {
+ name: "name",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.groups.companyId": {
+ name: "companyId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.groups.parentId": {
+ name: "parentId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.groups.users": {
+ name: "users",
+ required: false,
+ format: "jsonb",
+ in: "query",
+ type: "string",
+ },
+ "body.customerShipping": {
+ name: "customerShipping",
+ description: "customerShipping",
+ required: false,
+ in: "body",
+ schema: {
+ $ref: "#/definitions/customerShipping",
+ },
+ },
+ "rowFilter.customerShipping.customerId": {
+ name: "customerId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.customerShipping.shippingCustomerId": {
+ name: "shippingCustomerId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.customerShipping.shippingCustomerLocationId": {
+ name: "shippingCustomerLocationId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.customerShipping.shippingCustomerContactId": {
+ name: "shippingCustomerContactId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.customerShipping.shippingTermId": {
+ name: "shippingTermId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.customerShipping.shippingMethodId": {
+ name: "shippingMethodId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.customerShipping.companyId": {
+ name: "companyId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.customerShipping.updatedAt": {
+ name: "updatedAt",
+ required: false,
+ format: "timestamp with time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.customerShipping.updatedBy": {
+ name: "updatedBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "body.scrapReason": {
+ name: "scrapReason",
+ description: "scrapReason",
+ required: false,
+ in: "body",
+ schema: {
+ $ref: "#/definitions/scrapReason",
+ },
+ },
+ "rowFilter.scrapReason.id": {
+ name: "id",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.scrapReason.name": {
+ name: "name",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.scrapReason.companyId": {
+ name: "companyId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.scrapReason.createdAt": {
+ name: "createdAt",
+ required: false,
+ format: "timestamp with time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.scrapReason.createdBy": {
+ name: "createdBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.scrapReason.updatedBy": {
+ name: "updatedBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.scrapReason.updatedAt": {
+ name: "updatedAt",
+ required: false,
+ format: "timestamp with time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.scrapReason.customFields": {
+ name: "customFields",
+ required: false,
+ format: "jsonb",
+ in: "query",
+ type: "string",
+ },
+ "body.purchaseInvoicePriceChange": {
+ name: "purchaseInvoicePriceChange",
+ description: "purchaseInvoicePriceChange",
+ required: false,
+ in: "body",
+ schema: {
+ $ref: "#/definitions/purchaseInvoicePriceChange",
+ },
+ },
+ "rowFilter.purchaseInvoicePriceChange.id": {
+ name: "id",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.purchaseInvoicePriceChange.invoiceId": {
+ name: "invoiceId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.purchaseInvoicePriceChange.invoiceLineId": {
+ name: "invoiceLineId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.purchaseInvoicePriceChange.previousPrice": {
+ name: "previousPrice",
+ required: false,
+ format: "numeric",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.purchaseInvoicePriceChange.newPrice": {
+ name: "newPrice",
+ required: false,
+ format: "numeric",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.purchaseInvoicePriceChange.previousQuantity": {
+ name: "previousQuantity",
+ required: false,
+ format: "numeric",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.purchaseInvoicePriceChange.newQuantity": {
+ name: "newQuantity",
+ required: false,
+ format: "numeric",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.purchaseInvoicePriceChange.updatedBy": {
+ name: "updatedBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "body.makeMethod": {
+ name: "makeMethod",
+ description: "makeMethod",
+ required: false,
+ in: "body",
+ schema: {
+ $ref: "#/definitions/makeMethod",
+ },
+ },
+ "rowFilter.makeMethod.id": {
+ name: "id",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.makeMethod.itemId": {
+ name: "itemId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.makeMethod.companyId": {
+ name: "companyId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.makeMethod.createdAt": {
+ name: "createdAt",
+ required: false,
+ format: "timestamp with time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.makeMethod.createdBy": {
+ name: "createdBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.makeMethod.updatedAt": {
+ name: "updatedAt",
+ required: false,
+ format: "timestamp with time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.makeMethod.updatedBy": {
+ name: "updatedBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.makeMethod.customFields": {
+ name: "customFields",
+ required: false,
+ format: "jsonb",
+ in: "query",
+ type: "string",
+ },
+ "body.shift": {
+ name: "shift",
+ description: "shift",
+ required: false,
+ in: "body",
+ schema: {
+ $ref: "#/definitions/shift",
+ },
+ },
+ "rowFilter.shift.id": {
+ name: "id",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.shift.name": {
+ name: "name",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.shift.startTime": {
+ name: "startTime",
+ required: false,
+ format: "time without time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.shift.endTime": {
+ name: "endTime",
+ required: false,
+ format: "time without time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.shift.locationId": {
+ name: "locationId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.shift.sunday": {
+ name: "sunday",
+ required: false,
+ format: "boolean",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.shift.monday": {
+ name: "monday",
+ required: false,
+ format: "boolean",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.shift.tuesday": {
+ name: "tuesday",
+ required: false,
+ format: "boolean",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.shift.wednesday": {
+ name: "wednesday",
+ required: false,
+ format: "boolean",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.shift.thursday": {
+ name: "thursday",
+ required: false,
+ format: "boolean",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.shift.friday": {
+ name: "friday",
+ required: false,
+ format: "boolean",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.shift.saturday": {
+ name: "saturday",
+ required: false,
+ format: "boolean",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.shift.active": {
+ name: "active",
+ required: false,
+ format: "boolean",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.shift.companyId": {
+ name: "companyId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.shift.createdBy": {
+ name: "createdBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.shift.createdAt": {
+ name: "createdAt",
+ required: false,
+ format: "timestamp without time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.shift.updatedBy": {
+ name: "updatedBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.shift.updatedAt": {
+ name: "updatedAt",
+ required: false,
+ format: "timestamp without time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.shift.customFields": {
+ name: "customFields",
+ required: false,
+ format: "jsonb",
+ in: "query",
+ type: "string",
+ },
+ "body.documentExtensions": {
+ name: "documentExtensions",
+ description: "documentExtensions",
+ required: false,
+ in: "body",
+ schema: {
+ $ref: "#/definitions/documentExtensions",
+ },
+ },
+ "rowFilter.documentExtensions.extension": {
+ name: "extension",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "body.receipts": {
+ name: "receipts",
+ description: "receipts",
+ required: false,
+ in: "body",
+ schema: {
+ $ref: "#/definitions/receipts",
+ },
+ },
+ "rowFilter.receipts.id": {
+ name: "id",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.receipts.receiptId": {
+ name: "receiptId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.receipts.locationId": {
+ name: "locationId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.receipts.sourceDocument": {
+ name: "sourceDocument",
+ required: false,
+ format: 'public."receiptSourceDocument"',
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.receipts.sourceDocumentId": {
+ name: "sourceDocumentId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.receipts.sourceDocumentReadableId": {
+ name: "sourceDocumentReadableId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.receipts.externalDocumentId": {
+ name: "externalDocumentId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.receipts.supplierId": {
+ name: "supplierId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.receipts.status": {
+ name: "status",
+ required: false,
+ format: 'public."receiptStatus"',
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.receipts.postingDate": {
+ name: "postingDate",
+ required: false,
+ format: "date",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.receipts.invoiced": {
+ name: "invoiced",
+ required: false,
+ format: "boolean",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.receipts.assignee": {
+ name: "assignee",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.receipts.companyId": {
+ name: "companyId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.receipts.createdAt": {
+ name: "createdAt",
+ required: false,
+ format: "timestamp with time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.receipts.createdBy": {
+ name: "createdBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.receipts.updatedAt": {
+ name: "updatedAt",
+ required: false,
+ format: "timestamp with time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.receipts.updatedBy": {
+ name: "updatedBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.receipts.customFields": {
+ name: "customFields",
+ required: false,
+ format: "jsonb",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.receipts.locationName": {
+ name: "locationName",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "body.purchaseOrderLocations": {
+ name: "purchaseOrderLocations",
+ description: "purchaseOrderLocations",
+ required: false,
+ in: "body",
+ schema: {
+ $ref: "#/definitions/purchaseOrderLocations",
+ },
+ },
+ "rowFilter.purchaseOrderLocations.id": {
+ name: "id",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.purchaseOrderLocations.supplierName": {
+ name: "supplierName",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.purchaseOrderLocations.supplierAddressLine1": {
+ name: "supplierAddressLine1",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.purchaseOrderLocations.supplierAddressLine2": {
+ name: "supplierAddressLine2",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.purchaseOrderLocations.supplierCity": {
+ name: "supplierCity",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.purchaseOrderLocations.supplierStateProvince": {
+ name: "supplierStateProvince",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.purchaseOrderLocations.supplierPostalCode": {
+ name: "supplierPostalCode",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.purchaseOrderLocations.supplierCountryCode": {
+ name: "supplierCountryCode",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.purchaseOrderLocations.supplierCountryName": {
+ name: "supplierCountryName",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.purchaseOrderLocations.deliveryName": {
+ name: "deliveryName",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.purchaseOrderLocations.deliveryAddressLine1": {
+ name: "deliveryAddressLine1",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.purchaseOrderLocations.deliveryAddressLine2": {
+ name: "deliveryAddressLine2",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.purchaseOrderLocations.deliveryCity": {
+ name: "deliveryCity",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.purchaseOrderLocations.deliveryStateProvince": {
+ name: "deliveryStateProvince",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.purchaseOrderLocations.deliveryPostalCode": {
+ name: "deliveryPostalCode",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.purchaseOrderLocations.deliveryCountryCode": {
+ name: "deliveryCountryCode",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.purchaseOrderLocations.deliveryCountryName": {
+ name: "deliveryCountryName",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.purchaseOrderLocations.dropShipment": {
+ name: "dropShipment",
+ required: false,
+ format: "boolean",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.purchaseOrderLocations.customerName": {
+ name: "customerName",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.purchaseOrderLocations.customerAddressLine1": {
+ name: "customerAddressLine1",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.purchaseOrderLocations.customerAddressLine2": {
+ name: "customerAddressLine2",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.purchaseOrderLocations.customerCity": {
+ name: "customerCity",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.purchaseOrderLocations.customerStateProvince": {
+ name: "customerStateProvince",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.purchaseOrderLocations.customerPostalCode": {
+ name: "customerPostalCode",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.purchaseOrderLocations.customerCountryCode": {
+ name: "customerCountryCode",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.purchaseOrderLocations.customerCountryName": {
+ name: "customerCountryName",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "body.journal": {
+ name: "journal",
+ description: "journal",
+ required: false,
+ in: "body",
+ schema: {
+ $ref: "#/definitions/journal",
+ },
+ },
+ "rowFilter.journal.id": {
+ name: "id",
+ required: false,
+ format: "integer",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.journal.description": {
+ name: "description",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.journal.accountingPeriodId": {
+ name: "accountingPeriodId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.journal.companyId": {
+ name: "companyId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.journal.postingDate": {
+ name: "postingDate",
+ required: false,
+ format: "date",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.journal.createdAt": {
+ name: "createdAt",
+ required: false,
+ format: "timestamp with time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.journal.customFields": {
+ name: "customFields",
+ required: false,
+ format: "jsonb",
+ in: "query",
+ type: "string",
+ },
+ "body.documentLabel": {
+ name: "documentLabel",
+ description: "documentLabel",
+ required: false,
+ in: "body",
+ schema: {
+ $ref: "#/definitions/documentLabel",
+ },
+ },
+ "rowFilter.documentLabel.documentId": {
+ name: "documentId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.documentLabel.userId": {
+ name: "userId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.documentLabel.label": {
+ name: "label",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "body.productionQuantity": {
+ name: "productionQuantity",
+ description: "productionQuantity",
+ required: false,
+ in: "body",
+ schema: {
+ $ref: "#/definitions/productionQuantity",
+ },
+ },
+ "rowFilter.productionQuantity.id": {
+ name: "id",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.productionQuantity.jobOperationId": {
+ name: "jobOperationId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.productionQuantity.type": {
+ name: "type",
+ required: false,
+ format: 'public."productionQuantityType"',
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.productionQuantity.quantity": {
+ name: "quantity",
+ required: false,
+ format: "integer",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.productionQuantity.setupProductionEventId": {
+ name: "setupProductionEventId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.productionQuantity.laborProductionEventId": {
+ name: "laborProductionEventId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.productionQuantity.machineProductionEventId": {
+ name: "machineProductionEventId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.productionQuantity.scrapReason": {
+ name: "scrapReason",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.productionQuantity.companyId": {
+ name: "companyId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.productionQuantity.createdAt": {
+ name: "createdAt",
+ required: false,
+ format: "timestamp with time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.productionQuantity.createdBy": {
+ name: "createdBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.productionQuantity.updatedAt": {
+ name: "updatedAt",
+ required: false,
+ format: "timestamp with time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.productionQuantity.updatedBy": {
+ name: "updatedBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "body.receipt": {
+ name: "receipt",
+ description: "receipt",
+ required: false,
+ in: "body",
+ schema: {
+ $ref: "#/definitions/receipt",
+ },
+ },
+ "rowFilter.receipt.id": {
+ name: "id",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.receipt.receiptId": {
+ name: "receiptId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.receipt.locationId": {
+ name: "locationId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.receipt.sourceDocument": {
+ name: "sourceDocument",
+ required: false,
+ format: 'public."receiptSourceDocument"',
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.receipt.sourceDocumentId": {
+ name: "sourceDocumentId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.receipt.sourceDocumentReadableId": {
+ name: "sourceDocumentReadableId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.receipt.externalDocumentId": {
+ name: "externalDocumentId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.receipt.supplierId": {
+ name: "supplierId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.receipt.status": {
+ name: "status",
+ required: false,
+ format: 'public."receiptStatus"',
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.receipt.postingDate": {
+ name: "postingDate",
+ required: false,
+ format: "date",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.receipt.invoiced": {
+ name: "invoiced",
+ required: false,
+ format: "boolean",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.receipt.assignee": {
+ name: "assignee",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.receipt.companyId": {
+ name: "companyId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.receipt.createdAt": {
+ name: "createdAt",
+ required: false,
+ format: "timestamp with time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.receipt.createdBy": {
+ name: "createdBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.receipt.updatedAt": {
+ name: "updatedAt",
+ required: false,
+ format: "timestamp with time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.receipt.updatedBy": {
+ name: "updatedBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.receipt.customFields": {
+ name: "customFields",
+ required: false,
+ format: "jsonb",
+ in: "query",
+ type: "string",
+ },
+ "body.quoteOperation": {
+ name: "quoteOperation",
+ description: "quoteOperation",
+ required: false,
+ in: "body",
+ schema: {
+ $ref: "#/definitions/quoteOperation",
+ },
+ },
+ "rowFilter.quoteOperation.id": {
+ name: "id",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteOperation.quoteId": {
+ name: "quoteId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteOperation.quoteLineId": {
+ name: "quoteLineId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteOperation.quoteMakeMethodId": {
+ name: "quoteMakeMethodId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteOperation.order": {
+ name: "order",
+ required: false,
+ format: "double precision",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteOperation.description": {
+ name: "description",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteOperation.operationOrder": {
+ name: "operationOrder",
+ required: false,
+ format: 'public."methodOperationOrder"',
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteOperation.laborRate": {
+ name: "laborRate",
+ required: false,
+ format: "numeric",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteOperation.overheadRate": {
+ name: "overheadRate",
+ required: false,
+ format: "numeric",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteOperation.companyId": {
+ name: "companyId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteOperation.createdAt": {
+ name: "createdAt",
+ required: false,
+ format: "timestamp with time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteOperation.createdBy": {
+ name: "createdBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteOperation.updatedAt": {
+ name: "updatedAt",
+ required: false,
+ format: "timestamp with time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteOperation.updatedBy": {
+ name: "updatedBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteOperation.customFields": {
+ name: "customFields",
+ required: false,
+ format: "jsonb",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteOperation.processId": {
+ name: "processId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteOperation.workCenterId": {
+ name: "workCenterId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteOperation.setupTime": {
+ name: "setupTime",
+ required: false,
+ format: "numeric",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteOperation.setupUnit": {
+ name: "setupUnit",
+ required: false,
+ format: "public.factor",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteOperation.laborTime": {
+ name: "laborTime",
+ required: false,
+ format: "numeric",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteOperation.laborUnit": {
+ name: "laborUnit",
+ required: false,
+ format: "public.factor",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteOperation.machineTime": {
+ name: "machineTime",
+ required: false,
+ format: "numeric",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteOperation.machineUnit": {
+ name: "machineUnit",
+ required: false,
+ format: "public.factor",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteOperation.machineRate": {
+ name: "machineRate",
+ required: false,
+ format: "numeric",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteOperation.operationType": {
+ name: "operationType",
+ required: false,
+ format: 'public."operationType"',
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteOperation.operationMinimumCost": {
+ name: "operationMinimumCost",
+ required: false,
+ format: "numeric",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteOperation.operationLeadTime": {
+ name: "operationLeadTime",
+ required: false,
+ format: "numeric",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteOperation.operationUnitCost": {
+ name: "operationUnitCost",
+ required: false,
+ format: "numeric",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteOperation.operationSupplierProcessId": {
+ name: "operationSupplierProcessId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteOperation.workInstruction": {
+ name: "workInstruction",
+ required: false,
+ format: "json",
+ in: "query",
+ type: "string",
+ },
+ "body.postingGroupPurchasing": {
+ name: "postingGroupPurchasing",
+ description: "postingGroupPurchasing",
+ required: false,
+ in: "body",
+ schema: {
+ $ref: "#/definitions/postingGroupPurchasing",
+ },
+ },
+ "rowFilter.postingGroupPurchasing.id": {
+ name: "id",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.postingGroupPurchasing.supplierTypeId": {
+ name: "supplierTypeId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.postingGroupPurchasing.itemPostingGroupId": {
+ name: "itemPostingGroupId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.postingGroupPurchasing.payablesAccount": {
+ name: "payablesAccount",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.postingGroupPurchasing.purchaseAccount": {
+ name: "purchaseAccount",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.postingGroupPurchasing.purchaseDiscountAccount": {
+ name: "purchaseDiscountAccount",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.postingGroupPurchasing.purchaseCreditAccount": {
+ name: "purchaseCreditAccount",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.postingGroupPurchasing.purchasePrepaymentAccount": {
+ name: "purchasePrepaymentAccount",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.postingGroupPurchasing.purchaseTaxPayableAccount": {
+ name: "purchaseTaxPayableAccount",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.postingGroupPurchasing.companyId": {
+ name: "companyId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.postingGroupPurchasing.updatedBy": {
+ name: "updatedBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "body.partners": {
+ name: "partners",
+ description: "partners",
+ required: false,
+ in: "body",
+ schema: {
+ $ref: "#/definitions/partners",
+ },
+ },
+ "rowFilter.partners.id": {
+ name: "id",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.partners.hoursPerWeek": {
+ name: "hoursPerWeek",
+ required: false,
+ format: "integer",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.partners.abilityId": {
+ name: "abilityId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.partners.active": {
+ name: "active",
+ required: false,
+ format: "boolean",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.partners.companyId": {
+ name: "companyId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.partners.createdBy": {
+ name: "createdBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.partners.createdAt": {
+ name: "createdAt",
+ required: false,
+ format: "timestamp with time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.partners.updatedBy": {
+ name: "updatedBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.partners.updatedAt": {
+ name: "updatedAt",
+ required: false,
+ format: "timestamp with time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.partners.customFields": {
+ name: "customFields",
+ required: false,
+ format: "jsonb",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.partners.supplierLocationId": {
+ name: "supplierLocationId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.partners.abilityName": {
+ name: "abilityName",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.partners.supplierId": {
+ name: "supplierId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.partners.supplierName": {
+ name: "supplierName",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.partners.city": {
+ name: "city",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.partners.state": {
+ name: "state",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "body.jobMaterialWithMakeMethodId": {
+ name: "jobMaterialWithMakeMethodId",
+ description: "jobMaterialWithMakeMethodId",
+ required: false,
+ in: "body",
+ schema: {
+ $ref: "#/definitions/jobMaterialWithMakeMethodId",
+ },
+ },
+ "rowFilter.jobMaterialWithMakeMethodId.id": {
+ name: "id",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobMaterialWithMakeMethodId.jobId": {
+ name: "jobId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobMaterialWithMakeMethodId.itemId": {
+ name: "itemId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobMaterialWithMakeMethodId.itemReadableId": {
+ name: "itemReadableId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobMaterialWithMakeMethodId.itemType": {
+ name: "itemType",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobMaterialWithMakeMethodId.methodType": {
+ name: "methodType",
+ required: false,
+ format: 'public."methodType"',
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobMaterialWithMakeMethodId.order": {
+ name: "order",
+ required: false,
+ format: "double precision",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobMaterialWithMakeMethodId.description": {
+ name: "description",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobMaterialWithMakeMethodId.quantity": {
+ name: "quantity",
+ required: false,
+ format: "numeric",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobMaterialWithMakeMethodId.scrapQuantity": {
+ name: "scrapQuantity",
+ required: false,
+ format: "numeric",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobMaterialWithMakeMethodId.unitOfMeasureCode": {
+ name: "unitOfMeasureCode",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobMaterialWithMakeMethodId.unitCost": {
+ name: "unitCost",
+ required: false,
+ format: "numeric",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobMaterialWithMakeMethodId.companyId": {
+ name: "companyId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobMaterialWithMakeMethodId.createdAt": {
+ name: "createdAt",
+ required: false,
+ format: "timestamp with time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobMaterialWithMakeMethodId.createdBy": {
+ name: "createdBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobMaterialWithMakeMethodId.updatedAt": {
+ name: "updatedAt",
+ required: false,
+ format: "timestamp with time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobMaterialWithMakeMethodId.updatedBy": {
+ name: "updatedBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobMaterialWithMakeMethodId.customFields": {
+ name: "customFields",
+ required: false,
+ format: "jsonb",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobMaterialWithMakeMethodId.jobMakeMethodId": {
+ name: "jobMakeMethodId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobMaterialWithMakeMethodId.jobOperationId": {
+ name: "jobOperationId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobMaterialWithMakeMethodId.estimatedQuantity": {
+ name: "estimatedQuantity",
+ required: false,
+ format: "numeric",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobMaterialWithMakeMethodId.jobMaterialMakeMethodId": {
+ name: "jobMaterialMakeMethodId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "body.currencyCode": {
+ name: "currencyCode",
+ description: "currencyCode",
+ required: false,
+ in: "body",
+ schema: {
+ $ref: "#/definitions/currencyCode",
+ },
+ },
+ "rowFilter.currencyCode.code": {
+ name: "code",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.currencyCode.name": {
+ name: "name",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "body.methodMaterial": {
+ name: "methodMaterial",
+ description: "methodMaterial",
+ required: false,
+ in: "body",
+ schema: {
+ $ref: "#/definitions/methodMaterial",
+ },
+ },
+ "rowFilter.methodMaterial.id": {
+ name: "id",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.methodMaterial.makeMethodId": {
+ name: "makeMethodId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.methodMaterial.methodType": {
+ name: "methodType",
+ required: false,
+ format: 'public."methodType"',
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.methodMaterial.materialMakeMethodId": {
+ name: "materialMakeMethodId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.methodMaterial.itemType": {
+ name: "itemType",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.methodMaterial.itemId": {
+ name: "itemId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.methodMaterial.quantity": {
+ name: "quantity",
+ required: false,
+ format: "numeric",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.methodMaterial.unitOfMeasureCode": {
+ name: "unitOfMeasureCode",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.methodMaterial.companyId": {
+ name: "companyId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.methodMaterial.createdAt": {
+ name: "createdAt",
+ required: false,
+ format: "timestamp with time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.methodMaterial.createdBy": {
+ name: "createdBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.methodMaterial.updatedAt": {
+ name: "updatedAt",
+ required: false,
+ format: "timestamp with time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.methodMaterial.updatedBy": {
+ name: "updatedBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.methodMaterial.customFields": {
+ name: "customFields",
+ required: false,
+ format: "jsonb",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.methodMaterial.itemReadableId": {
+ name: "itemReadableId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.methodMaterial.order": {
+ name: "order",
+ required: false,
+ format: "double precision",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.methodMaterial.methodOperationId": {
+ name: "methodOperationId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.methodMaterial.scrapQuantity": {
+ name: "scrapQuantity",
+ required: false,
+ format: "numeric",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.methodMaterial.productionQuantity": {
+ name: "productionQuantity",
+ required: false,
+ format: "numeric",
+ in: "query",
+ type: "string",
+ },
+ "body.pickMethod": {
+ name: "pickMethod",
+ description: "pickMethod",
+ required: false,
+ in: "body",
+ schema: {
+ $ref: "#/definitions/pickMethod",
+ },
+ },
+ "rowFilter.pickMethod.itemId": {
+ name: "itemId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.pickMethod.locationId": {
+ name: "locationId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.pickMethod.defaultShelfId": {
+ name: "defaultShelfId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.pickMethod.companyId": {
+ name: "companyId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.pickMethod.createdBy": {
+ name: "createdBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.pickMethod.createdAt": {
+ name: "createdAt",
+ required: false,
+ format: "timestamp with time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.pickMethod.updatedBy": {
+ name: "updatedBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.pickMethod.updatedAt": {
+ name: "updatedAt",
+ required: false,
+ format: "timestamp with time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.pickMethod.customFields": {
+ name: "customFields",
+ required: false,
+ format: "jsonb",
+ in: "query",
+ type: "string",
+ },
+ "body.quoteMaterialWithMakeMethodId": {
+ name: "quoteMaterialWithMakeMethodId",
+ description: "quoteMaterialWithMakeMethodId",
+ required: false,
+ in: "body",
+ schema: {
+ $ref: "#/definitions/quoteMaterialWithMakeMethodId",
+ },
+ },
+ "rowFilter.quoteMaterialWithMakeMethodId.id": {
+ name: "id",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteMaterialWithMakeMethodId.quoteId": {
+ name: "quoteId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteMaterialWithMakeMethodId.quoteLineId": {
+ name: "quoteLineId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteMaterialWithMakeMethodId.itemId": {
+ name: "itemId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteMaterialWithMakeMethodId.itemReadableId": {
+ name: "itemReadableId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteMaterialWithMakeMethodId.itemType": {
+ name: "itemType",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteMaterialWithMakeMethodId.methodType": {
+ name: "methodType",
+ required: false,
+ format: 'public."methodType"',
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteMaterialWithMakeMethodId.order": {
+ name: "order",
+ required: false,
+ format: "double precision",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteMaterialWithMakeMethodId.description": {
+ name: "description",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteMaterialWithMakeMethodId.quantity": {
+ name: "quantity",
+ required: false,
+ format: "numeric",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteMaterialWithMakeMethodId.unitOfMeasureCode": {
+ name: "unitOfMeasureCode",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteMaterialWithMakeMethodId.unitCost": {
+ name: "unitCost",
+ required: false,
+ format: "numeric",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteMaterialWithMakeMethodId.companyId": {
+ name: "companyId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteMaterialWithMakeMethodId.createdAt": {
+ name: "createdAt",
+ required: false,
+ format: "timestamp with time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteMaterialWithMakeMethodId.createdBy": {
+ name: "createdBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteMaterialWithMakeMethodId.updatedAt": {
+ name: "updatedAt",
+ required: false,
+ format: "timestamp with time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteMaterialWithMakeMethodId.updatedBy": {
+ name: "updatedBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteMaterialWithMakeMethodId.customFields": {
+ name: "customFields",
+ required: false,
+ format: "jsonb",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteMaterialWithMakeMethodId.quoteMakeMethodId": {
+ name: "quoteMakeMethodId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteMaterialWithMakeMethodId.quoteOperationId": {
+ name: "quoteOperationId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteMaterialWithMakeMethodId.quoteMaterialMakeMethodId": {
+ name: "quoteMaterialMakeMethodId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "body.itemUnitSalePrice": {
+ name: "itemUnitSalePrice",
+ description: "itemUnitSalePrice",
+ required: false,
+ in: "body",
+ schema: {
+ $ref: "#/definitions/itemUnitSalePrice",
+ },
+ },
+ "rowFilter.itemUnitSalePrice.itemId": {
+ name: "itemId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.itemUnitSalePrice.unitSalePrice": {
+ name: "unitSalePrice",
+ required: false,
+ format: "numeric",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.itemUnitSalePrice.currencyCode": {
+ name: "currencyCode",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.itemUnitSalePrice.salesUnitOfMeasureCode": {
+ name: "salesUnitOfMeasureCode",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.itemUnitSalePrice.salesBlocked": {
+ name: "salesBlocked",
+ required: false,
+ format: "boolean",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.itemUnitSalePrice.priceIncludesTax": {
+ name: "priceIncludesTax",
+ required: false,
+ format: "boolean",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.itemUnitSalePrice.allowInvoiceDiscount": {
+ name: "allowInvoiceDiscount",
+ required: false,
+ format: "boolean",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.itemUnitSalePrice.companyId": {
+ name: "companyId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.itemUnitSalePrice.createdBy": {
+ name: "createdBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.itemUnitSalePrice.createdAt": {
+ name: "createdAt",
+ required: false,
+ format: "timestamp with time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.itemUnitSalePrice.updatedBy": {
+ name: "updatedBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.itemUnitSalePrice.updatedAt": {
+ name: "updatedAt",
+ required: false,
+ format: "timestamp with time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.itemUnitSalePrice.customFields": {
+ name: "customFields",
+ required: false,
+ format: "jsonb",
+ in: "query",
+ type: "string",
+ },
+ "body.holidayYears": {
+ name: "holidayYears",
+ description: "holidayYears",
+ required: false,
+ in: "body",
+ schema: {
+ $ref: "#/definitions/holidayYears",
+ },
+ },
+ "rowFilter.holidayYears.year": {
+ name: "year",
+ required: false,
+ format: "integer",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.holidayYears.companyId": {
+ name: "companyId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "body.partner": {
+ name: "partner",
+ description: "partner",
+ required: false,
+ in: "body",
+ schema: {
+ $ref: "#/definitions/partner",
+ },
+ },
+ "rowFilter.partner.id": {
+ name: "id",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.partner.hoursPerWeek": {
+ name: "hoursPerWeek",
+ required: false,
+ format: "integer",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.partner.abilityId": {
+ name: "abilityId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.partner.active": {
+ name: "active",
+ required: false,
+ format: "boolean",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.partner.companyId": {
+ name: "companyId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.partner.createdBy": {
+ name: "createdBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.partner.createdAt": {
+ name: "createdAt",
+ required: false,
+ format: "timestamp with time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.partner.updatedBy": {
+ name: "updatedBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.partner.updatedAt": {
+ name: "updatedAt",
+ required: false,
+ format: "timestamp with time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.partner.customFields": {
+ name: "customFields",
+ required: false,
+ format: "jsonb",
+ in: "query",
+ type: "string",
+ },
+ "body.material": {
+ name: "material",
+ description: "material",
+ required: false,
+ in: "body",
+ schema: {
+ $ref: "#/definitions/material",
+ },
+ },
+ "rowFilter.material.id": {
+ name: "id",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.material.itemId": {
+ name: "itemId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.material.materialFormId": {
+ name: "materialFormId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.material.materialSubstanceId": {
+ name: "materialSubstanceId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.material.grade": {
+ name: "grade",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.material.dimensions": {
+ name: "dimensions",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.material.finish": {
+ name: "finish",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.material.approved": {
+ name: "approved",
+ required: false,
+ format: "boolean",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.material.approvedBy": {
+ name: "approvedBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.material.customFields": {
+ name: "customFields",
+ required: false,
+ format: "jsonb",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.material.companyId": {
+ name: "companyId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.material.createdBy": {
+ name: "createdBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.material.createdAt": {
+ name: "createdAt",
+ required: false,
+ format: "timestamp with time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.material.updatedBy": {
+ name: "updatedBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.material.updatedAt": {
+ name: "updatedAt",
+ required: false,
+ format: "timestamp with time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.material.externalId": {
+ name: "externalId",
+ required: false,
+ format: "jsonb",
+ in: "query",
+ type: "string",
+ },
+ "body.userDefaults": {
+ name: "userDefaults",
+ description: "userDefaults",
+ required: false,
+ in: "body",
+ schema: {
+ $ref: "#/definitions/userDefaults",
+ },
+ },
+ "rowFilter.userDefaults.userId": {
+ name: "userId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.userDefaults.companyId": {
+ name: "companyId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.userDefaults.locationId": {
+ name: "locationId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "body.jobs": {
+ name: "jobs",
+ description: "jobs",
+ required: false,
+ in: "body",
+ schema: {
+ $ref: "#/definitions/jobs",
+ },
+ },
+ "rowFilter.jobs.id": {
+ name: "id",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobs.jobId": {
+ name: "jobId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobs.itemId": {
+ name: "itemId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobs.unitOfMeasureCode": {
+ name: "unitOfMeasureCode",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobs.customerId": {
+ name: "customerId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobs.locationId": {
+ name: "locationId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobs.status": {
+ name: "status",
+ required: false,
+ format: 'public."jobStatus"',
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobs.dueDate": {
+ name: "dueDate",
+ required: false,
+ format: "date",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobs.deadlineType": {
+ name: "deadlineType",
+ required: false,
+ format: 'public."deadlineType"',
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobs.quantity": {
+ name: "quantity",
+ required: false,
+ format: "numeric",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobs.scrapQuantity": {
+ name: "scrapQuantity",
+ required: false,
+ format: "numeric",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobs.productionQuantity": {
+ name: "productionQuantity",
+ required: false,
+ format: "numeric",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobs.quantityComplete": {
+ name: "quantityComplete",
+ required: false,
+ format: "numeric",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobs.quantityShipped": {
+ name: "quantityShipped",
+ required: false,
+ format: "numeric",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobs.quantityReceivedToInventory": {
+ name: "quantityReceivedToInventory",
+ required: false,
+ format: "numeric",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobs.salesOrderId": {
+ name: "salesOrderId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobs.salesOrderLineId": {
+ name: "salesOrderLineId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobs.quoteId": {
+ name: "quoteId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobs.quoteLineId": {
+ name: "quoteLineId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobs.modelUploadId": {
+ name: "modelUploadId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobs.notes": {
+ name: "notes",
+ required: false,
+ format: "jsonb",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobs.assignee": {
+ name: "assignee",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobs.customFields": {
+ name: "customFields",
+ required: false,
+ format: "jsonb",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobs.companyId": {
+ name: "companyId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobs.createdAt": {
+ name: "createdAt",
+ required: false,
+ format: "timestamp with time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobs.createdBy": {
+ name: "createdBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobs.updatedAt": {
+ name: "updatedAt",
+ required: false,
+ format: "timestamp with time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobs.updatedBy": {
+ name: "updatedBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobs.name": {
+ name: "name",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobs.itemReadableId": {
+ name: "itemReadableId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobs.itemType": {
+ name: "itemType",
+ required: false,
+ format: 'public."itemType"',
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobs.description": {
+ name: "description",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobs.itemTrackingType": {
+ name: "itemTrackingType",
+ required: false,
+ format: 'public."itemTrackingType"',
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobs.active": {
+ name: "active",
+ required: false,
+ format: "boolean",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobs.replenishmentSystem": {
+ name: "replenishmentSystem",
+ required: false,
+ format: 'public."itemReplenishmentSystem"',
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobs.modelId": {
+ name: "modelId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobs.autodeskUrn": {
+ name: "autodeskUrn",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobs.modelPath": {
+ name: "modelPath",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobs.thumbnailPath": {
+ name: "thumbnailPath",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobs.modelName": {
+ name: "modelName",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobs.modelSize": {
+ name: "modelSize",
+ required: false,
+ format: "bigint",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobs.salesOrderReadableId": {
+ name: "salesOrderReadableId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobs.quoteReadableId": {
+ name: "quoteReadableId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "body.department": {
+ name: "department",
+ description: "department",
+ required: false,
+ in: "body",
+ schema: {
+ $ref: "#/definitions/department",
+ },
+ },
+ "rowFilter.department.id": {
+ name: "id",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.department.name": {
+ name: "name",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.department.parentDepartmentId": {
+ name: "parentDepartmentId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.department.companyId": {
+ name: "companyId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.department.createdBy": {
+ name: "createdBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.department.createdAt": {
+ name: "createdAt",
+ required: false,
+ format: "timestamp without time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.department.updatedBy": {
+ name: "updatedBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.department.updatedAt": {
+ name: "updatedAt",
+ required: false,
+ format: "timestamp without time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.department.customFields": {
+ name: "customFields",
+ required: false,
+ format: "jsonb",
+ in: "query",
+ type: "string",
+ },
+ "body.buyMethod": {
+ name: "buyMethod",
+ description: "buyMethod",
+ required: false,
+ in: "body",
+ schema: {
+ $ref: "#/definitions/buyMethod",
+ },
+ },
+ "rowFilter.buyMethod.id": {
+ name: "id",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.buyMethod.itemId": {
+ name: "itemId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.buyMethod.supplierId": {
+ name: "supplierId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.buyMethod.supplierPartId": {
+ name: "supplierPartId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.buyMethod.supplierUnitOfMeasureCode": {
+ name: "supplierUnitOfMeasureCode",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.buyMethod.minimumOrderQuantity": {
+ name: "minimumOrderQuantity",
+ required: false,
+ format: "integer",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.buyMethod.conversionFactor": {
+ name: "conversionFactor",
+ required: false,
+ format: "numeric",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.buyMethod.active": {
+ name: "active",
+ required: false,
+ format: "boolean",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.buyMethod.companyId": {
+ name: "companyId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.buyMethod.createdBy": {
+ name: "createdBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.buyMethod.createdAt": {
+ name: "createdAt",
+ required: false,
+ format: "timestamp with time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.buyMethod.updatedBy": {
+ name: "updatedBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.buyMethod.updatedAt": {
+ name: "updatedAt",
+ required: false,
+ format: "timestamp with time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.buyMethod.customFields": {
+ name: "customFields",
+ required: false,
+ format: "jsonb",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.buyMethod.unitPrice": {
+ name: "unitPrice",
+ required: false,
+ format: "numeric",
+ in: "query",
+ type: "string",
+ },
+ "body.itemLedger": {
+ name: "itemLedger",
+ description: "itemLedger",
+ required: false,
+ in: "body",
+ schema: {
+ $ref: "#/definitions/itemLedger",
+ },
+ },
+ "rowFilter.itemLedger.id": {
+ name: "id",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.itemLedger.entryNumber": {
+ name: "entryNumber",
+ required: false,
+ format: "integer",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.itemLedger.postingDate": {
+ name: "postingDate",
+ required: false,
+ format: "date",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.itemLedger.entryType": {
+ name: "entryType",
+ required: false,
+ format: 'public."itemLedgerType"',
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.itemLedger.documentType": {
+ name: "documentType",
+ required: false,
+ format: 'public."itemLedgerDocumentType"',
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.itemLedger.documentId": {
+ name: "documentId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.itemLedger.externalDocumentId": {
+ name: "externalDocumentId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.itemLedger.itemId": {
+ name: "itemId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.itemLedger.itemReadableId": {
+ name: "itemReadableId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.itemLedger.locationId": {
+ name: "locationId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.itemLedger.shelfId": {
+ name: "shelfId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.itemLedger.quantity": {
+ name: "quantity",
+ required: false,
+ format: "numeric",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.itemLedger.companyId": {
+ name: "companyId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.itemLedger.createdAt": {
+ name: "createdAt",
+ required: false,
+ format: "timestamp with time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.itemLedger.createdBy": {
+ name: "createdBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "body.shippingTerm": {
+ name: "shippingTerm",
+ description: "shippingTerm",
+ required: false,
+ in: "body",
+ schema: {
+ $ref: "#/definitions/shippingTerm",
+ },
+ },
+ "rowFilter.shippingTerm.id": {
+ name: "id",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.shippingTerm.name": {
+ name: "name",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.shippingTerm.active": {
+ name: "active",
+ required: false,
+ format: "boolean",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.shippingTerm.companyId": {
+ name: "companyId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.shippingTerm.createdAt": {
+ name: "createdAt",
+ required: false,
+ format: "timestamp with time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.shippingTerm.createdBy": {
+ name: "createdBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.shippingTerm.updatedAt": {
+ name: "updatedAt",
+ required: false,
+ format: "timestamp with time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.shippingTerm.updatedBy": {
+ name: "updatedBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "body.supplierType": {
+ name: "supplierType",
+ description: "supplierType",
+ required: false,
+ in: "body",
+ schema: {
+ $ref: "#/definitions/supplierType",
+ },
+ },
+ "rowFilter.supplierType.id": {
+ name: "id",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.supplierType.name": {
+ name: "name",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.supplierType.protected": {
+ name: "protected",
+ required: false,
+ format: "boolean",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.supplierType.companyId": {
+ name: "companyId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.supplierType.createdAt": {
+ name: "createdAt",
+ required: false,
+ format: "timestamp with time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.supplierType.createdBy": {
+ name: "createdBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.supplierType.updatedBy": {
+ name: "updatedBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.supplierType.updatedAt": {
+ name: "updatedAt",
+ required: false,
+ format: "timestamp with time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.supplierType.customFields": {
+ name: "customFields",
+ required: false,
+ format: "jsonb",
+ in: "query",
+ type: "string",
+ },
+ "body.customerType": {
+ name: "customerType",
+ description: "customerType",
+ required: false,
+ in: "body",
+ schema: {
+ $ref: "#/definitions/customerType",
+ },
+ },
+ "rowFilter.customerType.id": {
+ name: "id",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.customerType.name": {
+ name: "name",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.customerType.protected": {
+ name: "protected",
+ required: false,
+ format: "boolean",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.customerType.companyId": {
+ name: "companyId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.customerType.createdAt": {
+ name: "createdAt",
+ required: false,
+ format: "timestamp with time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.customerType.createdBy": {
+ name: "createdBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.customerType.updatedBy": {
+ name: "updatedBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.customerType.updatedAt": {
+ name: "updatedAt",
+ required: false,
+ format: "timestamp with time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.customerType.customFields": {
+ name: "customFields",
+ required: false,
+ format: "jsonb",
+ in: "query",
+ type: "string",
+ },
+ "body.shippingTerm": {
+ name: "shippingTerm",
+ description: "shippingTerm",
+ required: false,
+ in: "body",
+ schema: {
+ $ref: "#/definitions/shippingTerm",
+ },
+ },
+ "rowFilter.shippingTerm.id": {
+ name: "id",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.shippingTerm.name": {
+ name: "name",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.shippingTerm.active": {
+ name: "active",
+ required: false,
+ format: "boolean",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.shippingTerm.companyId": {
+ name: "companyId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.shippingTerm.createdAt": {
+ name: "createdAt",
+ required: false,
+ format: "timestamp with time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.shippingTerm.createdBy": {
+ name: "createdBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.shippingTerm.updatedAt": {
+ name: "updatedAt",
+ required: false,
+ format: "timestamp with time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.shippingTerm.updatedBy": {
+ name: "updatedBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "body.customerAccount": {
+ name: "customerAccount",
+ description: "customerAccount",
+ required: false,
+ in: "body",
+ schema: {
+ $ref: "#/definitions/customerAccount",
+ },
+ },
+ "rowFilter.customerAccount.id": {
+ name: "id",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.customerAccount.customerId": {
+ name: "customerId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.customerAccount.companyId": {
+ name: "companyId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "body.accountDefault": {
+ name: "accountDefault",
+ description: "accountDefault",
+ required: false,
+ in: "body",
+ schema: {
+ $ref: "#/definitions/accountDefault",
+ },
+ },
+ "rowFilter.accountDefault.companyId": {
+ name: "companyId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.accountDefault.salesAccount": {
+ name: "salesAccount",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.accountDefault.salesDiscountAccount": {
+ name: "salesDiscountAccount",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.accountDefault.costOfGoodsSoldAccount": {
+ name: "costOfGoodsSoldAccount",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.accountDefault.purchaseAccount": {
+ name: "purchaseAccount",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.accountDefault.directCostAppliedAccount": {
+ name: "directCostAppliedAccount",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.accountDefault.overheadCostAppliedAccount": {
+ name: "overheadCostAppliedAccount",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.accountDefault.purchaseVarianceAccount": {
+ name: "purchaseVarianceAccount",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.accountDefault.inventoryAdjustmentVarianceAccount": {
+ name: "inventoryAdjustmentVarianceAccount",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.accountDefault.materialVarianceAccount": {
+ name: "materialVarianceAccount",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.accountDefault.capacityVarianceAccount": {
+ name: "capacityVarianceAccount",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.accountDefault.overheadAccount": {
+ name: "overheadAccount",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.accountDefault.maintenanceAccount": {
+ name: "maintenanceAccount",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.accountDefault.assetDepreciationExpenseAccount": {
+ name: "assetDepreciationExpenseAccount",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.accountDefault.assetGainsAndLossesAccount": {
+ name: "assetGainsAndLossesAccount",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.accountDefault.serviceChargeAccount": {
+ name: "serviceChargeAccount",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.accountDefault.interestAccount": {
+ name: "interestAccount",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.accountDefault.supplierPaymentDiscountAccount": {
+ name: "supplierPaymentDiscountAccount",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.accountDefault.customerPaymentDiscountAccount": {
+ name: "customerPaymentDiscountAccount",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.accountDefault.roundingAccount": {
+ name: "roundingAccount",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.accountDefault.assetAquisitionCostAccount": {
+ name: "assetAquisitionCostAccount",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.accountDefault.assetAquisitionCostOnDisposalAccount": {
+ name: "assetAquisitionCostOnDisposalAccount",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.accountDefault.accumulatedDepreciationAccount": {
+ name: "accumulatedDepreciationAccount",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.accountDefault.accumulatedDepreciationOnDisposalAccount": {
+ name: "accumulatedDepreciationOnDisposalAccount",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.accountDefault.inventoryAccount": {
+ name: "inventoryAccount",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.accountDefault.inventoryInterimAccrualAccount": {
+ name: "inventoryInterimAccrualAccount",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.accountDefault.workInProgressAccount": {
+ name: "workInProgressAccount",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.accountDefault.receivablesAccount": {
+ name: "receivablesAccount",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.accountDefault.inventoryShippedNotInvoicedAccount": {
+ name: "inventoryShippedNotInvoicedAccount",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.accountDefault.inventoryInvoicedNotReceivedAccount": {
+ name: "inventoryInvoicedNotReceivedAccount",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.accountDefault.bankCashAccount": {
+ name: "bankCashAccount",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.accountDefault.bankLocalCurrencyAccount": {
+ name: "bankLocalCurrencyAccount",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.accountDefault.bankForeignCurrencyAccount": {
+ name: "bankForeignCurrencyAccount",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.accountDefault.prepaymentAccount": {
+ name: "prepaymentAccount",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.accountDefault.payablesAccount": {
+ name: "payablesAccount",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.accountDefault.inventoryReceivedNotInvoicedAccount": {
+ name: "inventoryReceivedNotInvoicedAccount",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.accountDefault.salesTaxPayableAccount": {
+ name: "salesTaxPayableAccount",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.accountDefault.purchaseTaxPayableAccount": {
+ name: "purchaseTaxPayableAccount",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.accountDefault.reverseChargeSalesTaxPayableAccount": {
+ name: "reverseChargeSalesTaxPayableAccount",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.accountDefault.retainedEarningsAccount": {
+ name: "retainedEarningsAccount",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.accountDefault.updatedBy": {
+ name: "updatedBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "body.service": {
+ name: "service",
+ description: "service",
+ required: false,
+ in: "body",
+ schema: {
+ $ref: "#/definitions/service",
+ },
+ },
+ "rowFilter.service.id": {
+ name: "id",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.service.itemId": {
+ name: "itemId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.service.serviceType": {
+ name: "serviceType",
+ required: false,
+ format: 'public."serviceType"',
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.service.approved": {
+ name: "approved",
+ required: false,
+ format: "boolean",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.service.approvedBy": {
+ name: "approvedBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.service.fromDate": {
+ name: "fromDate",
+ required: false,
+ format: "date",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.service.toDate": {
+ name: "toDate",
+ required: false,
+ format: "date",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.service.customFields": {
+ name: "customFields",
+ required: false,
+ format: "jsonb",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.service.companyId": {
+ name: "companyId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.service.createdBy": {
+ name: "createdBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.service.createdAt": {
+ name: "createdAt",
+ required: false,
+ format: "timestamp with time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.service.updatedBy": {
+ name: "updatedBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.service.updatedAt": {
+ name: "updatedAt",
+ required: false,
+ format: "timestamp with time zone",
+ in: "query",
+ type: "string",
+ },
+ "body.employeeTypePermission": {
+ name: "employeeTypePermission",
+ description: "employeeTypePermission",
+ required: false,
+ in: "body",
+ schema: {
+ $ref: "#/definitions/employeeTypePermission",
+ },
+ },
+ "rowFilter.employeeTypePermission.employeeTypeId": {
+ name: "employeeTypeId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.employeeTypePermission.module": {
+ name: "module",
+ required: false,
+ format: "public.module",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.employeeTypePermission.create": {
+ name: "create",
+ required: false,
+ format: "text[]",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.employeeTypePermission.delete": {
+ name: "delete",
+ required: false,
+ format: "text[]",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.employeeTypePermission.update": {
+ name: "update",
+ required: false,
+ format: "text[]",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.employeeTypePermission.view": {
+ name: "view",
+ required: false,
+ format: "text[]",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.employeeTypePermission.createdAt": {
+ name: "createdAt",
+ required: false,
+ format: "timestamp with time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.employeeTypePermission.updatedAt": {
+ name: "updatedAt",
+ required: false,
+ format: "timestamp with time zone",
+ in: "query",
+ type: "string",
+ },
+ "body.purchaseOrderPayment": {
+ name: "purchaseOrderPayment",
+ description: "purchaseOrderPayment",
+ required: false,
+ in: "body",
+ schema: {
+ $ref: "#/definitions/purchaseOrderPayment",
+ },
+ },
+ "rowFilter.purchaseOrderPayment.id": {
+ name: "id",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.purchaseOrderPayment.invoiceSupplierId": {
+ name: "invoiceSupplierId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.purchaseOrderPayment.invoiceSupplierLocationId": {
+ name: "invoiceSupplierLocationId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.purchaseOrderPayment.invoiceSupplierContactId": {
+ name: "invoiceSupplierContactId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.purchaseOrderPayment.paymentTermId": {
+ name: "paymentTermId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.purchaseOrderPayment.paymentComplete": {
+ name: "paymentComplete",
+ required: false,
+ format: "boolean",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.purchaseOrderPayment.companyId": {
+ name: "companyId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.purchaseOrderPayment.updatedAt": {
+ name: "updatedAt",
+ required: false,
+ format: "timestamp with time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.purchaseOrderPayment.updatedBy": {
+ name: "updatedBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.purchaseOrderPayment.customFields": {
+ name: "customFields",
+ required: false,
+ format: "jsonb",
+ in: "query",
+ type: "string",
+ },
+ "body.holiday": {
+ name: "holiday",
+ description: "holiday",
+ required: false,
+ in: "body",
+ schema: {
+ $ref: "#/definitions/holiday",
+ },
+ },
+ "rowFilter.holiday.id": {
+ name: "id",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.holiday.name": {
+ name: "name",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.holiday.date": {
+ name: "date",
+ required: false,
+ format: "date",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.holiday.year": {
+ name: "year",
+ required: false,
+ format: "integer",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.holiday.companyId": {
+ name: "companyId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.holiday.createdBy": {
+ name: "createdBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.holiday.createdAt": {
+ name: "createdAt",
+ required: false,
+ format: "timestamp without time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.holiday.updatedBy": {
+ name: "updatedBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.holiday.updatedAt": {
+ name: "updatedAt",
+ required: false,
+ format: "timestamp without time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.holiday.customFields": {
+ name: "customFields",
+ required: false,
+ format: "jsonb",
+ in: "query",
+ type: "string",
+ },
+ "body.jobOperation": {
+ name: "jobOperation",
+ description: "jobOperation",
+ required: false,
+ in: "body",
+ schema: {
+ $ref: "#/definitions/jobOperation",
+ },
+ },
+ "rowFilter.jobOperation.id": {
+ name: "id",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobOperation.jobId": {
+ name: "jobId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobOperation.jobMakeMethodId": {
+ name: "jobMakeMethodId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobOperation.order": {
+ name: "order",
+ required: false,
+ format: "double precision",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobOperation.processId": {
+ name: "processId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobOperation.workCenterId": {
+ name: "workCenterId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobOperation.description": {
+ name: "description",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobOperation.setupTime": {
+ name: "setupTime",
+ required: false,
+ format: "numeric",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobOperation.setupUnit": {
+ name: "setupUnit",
+ required: false,
+ format: "public.factor",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobOperation.laborTime": {
+ name: "laborTime",
+ required: false,
+ format: "numeric",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobOperation.laborUnit": {
+ name: "laborUnit",
+ required: false,
+ format: "public.factor",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobOperation.machineTime": {
+ name: "machineTime",
+ required: false,
+ format: "numeric",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobOperation.machineUnit": {
+ name: "machineUnit",
+ required: false,
+ format: "public.factor",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobOperation.operationOrder": {
+ name: "operationOrder",
+ required: false,
+ format: 'public."methodOperationOrder"',
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobOperation.laborRate": {
+ name: "laborRate",
+ required: false,
+ format: "numeric",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobOperation.overheadRate": {
+ name: "overheadRate",
+ required: false,
+ format: "numeric",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobOperation.machineRate": {
+ name: "machineRate",
+ required: false,
+ format: "numeric",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobOperation.operationType": {
+ name: "operationType",
+ required: false,
+ format: 'public."operationType"',
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobOperation.operationMinimumCost": {
+ name: "operationMinimumCost",
+ required: false,
+ format: "numeric",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobOperation.operationLeadTime": {
+ name: "operationLeadTime",
+ required: false,
+ format: "numeric",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobOperation.operationUnitCost": {
+ name: "operationUnitCost",
+ required: false,
+ format: "numeric",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobOperation.operationSupplierProcessId": {
+ name: "operationSupplierProcessId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobOperation.workInstruction": {
+ name: "workInstruction",
+ required: false,
+ format: "json",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobOperation.companyId": {
+ name: "companyId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobOperation.createdAt": {
+ name: "createdAt",
+ required: false,
+ format: "timestamp with time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobOperation.createdBy": {
+ name: "createdBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobOperation.updatedAt": {
+ name: "updatedAt",
+ required: false,
+ format: "timestamp with time zone",
+ in: "query",
+ type: "string",
},
- supplierProcesses: {
- properties: {
- id: {
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
- type: "string",
- },
- supplierId: {
- description:
- "Note:\nThis is a Foreign Key to `supplier.id`.<fk table='supplier' column='id'/>",
- format: "text",
- type: "string",
- },
- processId: {
- description:
- "Note:\nThis is a Foreign Key to `process.id`.<fk table='process' column='id'/>",
- format: "text",
- type: "string",
- },
- minimumCost: {
- format: "numeric",
- type: "number",
- },
- unitCost: {
- format: "numeric",
- type: "number",
- },
- leadTime: {
- format: "numeric",
- type: "number",
- },
- companyId: {
- description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
- format: "text",
- type: "string",
- },
- customFields: {
- format: "jsonb",
- },
- createdBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- createdAt: {
- format: "timestamp with time zone",
- type: "string",
- },
- updatedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- updatedAt: {
- format: "timestamp with time zone",
- type: "string",
- },
- processName: {
- format: "text",
- type: "string",
- },
- },
- type: "object",
+ "rowFilter.jobOperation.updatedBy": {
+ name: "updatedBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
},
- postingGroupInventory: {
- required: [
- "id",
- "costOfGoodsSoldAccount",
- "inventoryAccount",
- "inventoryInterimAccrualAccount",
- "inventoryReceivedNotInvoicedAccount",
- "inventoryInvoicedNotReceivedAccount",
- "inventoryShippedNotInvoicedAccount",
- "workInProgressAccount",
- "directCostAppliedAccount",
- "overheadAccount",
- "overheadCostAppliedAccount",
- "purchaseVarianceAccount",
- "inventoryAdjustmentVarianceAccount",
- "materialVarianceAccount",
- "capacityVarianceAccount",
- "companyId",
- ],
- properties: {
- id: {
- default: "public.xid()",
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
- type: "string",
- },
- itemPostingGroupId: {
- description:
- "Note:\nThis is a Foreign Key to `itemPostingGroup.id`.<fk table='itemPostingGroup' column='id'/>",
- format: "text",
- type: "string",
- },
- locationId: {
- description:
- "Note:\nThis is a Foreign Key to `location.id`.<fk table='location' column='id'/>",
- format: "text",
- type: "string",
- },
- costOfGoodsSoldAccount: {
- format: "text",
- type: "string",
- },
- inventoryAccount: {
- format: "text",
- type: "string",
- },
- inventoryInterimAccrualAccount: {
- format: "text",
- type: "string",
- },
- inventoryReceivedNotInvoicedAccount: {
- format: "text",
- type: "string",
- },
- inventoryInvoicedNotReceivedAccount: {
- format: "text",
- type: "string",
- },
- inventoryShippedNotInvoicedAccount: {
- format: "text",
- type: "string",
- },
- workInProgressAccount: {
- format: "text",
- type: "string",
- },
- directCostAppliedAccount: {
- format: "text",
- type: "string",
- },
- overheadAccount: {
- format: "text",
- type: "string",
- },
- overheadCostAppliedAccount: {
- format: "text",
- type: "string",
- },
- purchaseVarianceAccount: {
- format: "text",
- type: "string",
- },
- inventoryAdjustmentVarianceAccount: {
- format: "text",
- type: "string",
- },
- materialVarianceAccount: {
- format: "text",
- type: "string",
- },
- capacityVarianceAccount: {
- format: "text",
- type: "string",
- },
- companyId: {
- format: "text",
- type: "string",
- },
- updatedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- },
- type: "object",
+ "rowFilter.jobOperation.customFields": {
+ name: "customFields",
+ required: false,
+ format: "jsonb",
+ in: "query",
+ type: "string",
},
- userToCompany: {
- required: ["userId", "companyId", "role"],
- properties: {
- userId: {
- description:
- "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- companyId: {
- description:
- "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
- format: "text",
- type: "string",
- },
- role: {
- enum: ["customer", "employee", "supplier"],
- format: "public.role",
- type: "string",
- },
- },
- type: "object",
+ "rowFilter.jobOperation.operationQuantity": {
+ name: "operationQuantity",
+ required: false,
+ format: "numeric",
+ in: "query",
+ type: "string",
},
- userAttribute: {
- required: [
- "id",
- "name",
- "sortOrder",
- "userAttributeCategoryId",
- "attributeDataTypeId",
- "createdAt",
- "createdBy",
- ],
- properties: {
- id: {
- default: "public.xid()",
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
- type: "string",
- },
- name: {
- format: "text",
- type: "string",
- },
- sortOrder: {
- default: 1,
- format: "integer",
- type: "integer",
- },
- userAttributeCategoryId: {
- description:
- "Note:\nThis is a Foreign Key to `userAttributeCategory.id`.<fk table='userAttributeCategory' column='id'/>",
- format: "text",
- type: "string",
- },
- attributeDataTypeId: {
- description:
- "Note:\nThis is a Foreign Key to `attributeDataType.id`.<fk table='attributeDataType' column='id'/>",
- format: "integer",
- type: "integer",
- },
- listOptions: {
- format: "text[]",
- items: {
- type: "string",
- },
- type: "array",
- },
- canSelfManage: {
- default: false,
- format: "boolean",
- type: "boolean",
- },
- active: {
- default: true,
- format: "boolean",
- type: "boolean",
- },
- createdAt: {
- default: "now()",
- format: "timestamp with time zone",
- type: "string",
- },
- createdBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- updatedAt: {
- format: "timestamp with time zone",
- type: "string",
- },
- updatedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- },
- type: "object",
+ "rowFilter.jobOperation.quantityComplete": {
+ name: "quantityComplete",
+ required: false,
+ format: "numeric",
+ in: "query",
+ type: "string",
},
- supplierProcess: {
- required: [
- "id",
- "supplierId",
- "processId",
- "minimumCost",
- "unitCost",
- "leadTime",
- "companyId",
- "createdBy",
- "createdAt",
- ],
- properties: {
- id: {
- default: "public.xid()",
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
- type: "string",
- },
- supplierId: {
- description:
- "Note:\nThis is a Foreign Key to `supplier.id`.<fk table='supplier' column='id'/>",
- format: "text",
- type: "string",
- },
- processId: {
- description:
- "Note:\nThis is a Foreign Key to `process.id`.<fk table='process' column='id'/>",
- format: "text",
- type: "string",
- },
- minimumCost: {
- default: 0,
- format: "numeric",
- type: "number",
- },
- unitCost: {
- default: 0,
- format: "numeric",
- type: "number",
- },
- leadTime: {
- default: 0,
- format: "numeric",
- type: "number",
- },
- companyId: {
- description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
- format: "text",
- type: "string",
- },
- customFields: {
- format: "jsonb",
- },
- createdBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- createdAt: {
- default: "now()",
- format: "timestamp with time zone",
- type: "string",
- },
- updatedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- updatedAt: {
- format: "timestamp with time zone",
- type: "string",
- },
- },
- type: "object",
+ "rowFilter.jobOperation.quantityScrapped": {
+ name: "quantityScrapped",
+ required: false,
+ format: "numeric",
+ in: "query",
+ type: "string",
},
- employee: {
- required: ["id", "companyId", "employeeTypeId"],
- properties: {
- id: {
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
- type: "string",
- },
- companyId: {
- description:
- "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
- format: "text",
- type: "string",
- },
- employeeTypeId: {
- description:
- "Note:\nThis is a Foreign Key to `employeeType.id`.<fk table='employeeType' column='id'/>",
- format: "text",
- type: "string",
- },
- },
- type: "object",
+ "rowFilter.jobOperation.quantityReworked": {
+ name: "quantityReworked",
+ required: false,
+ format: "numeric",
+ in: "query",
+ type: "string",
},
- buyMethod: {
- required: [
- "id",
- "itemId",
- "supplierId",
- "conversionFactor",
- "active",
- "companyId",
- "createdBy",
- "createdAt",
- ],
- properties: {
- id: {
- default: "public.xid()",
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
- type: "string",
- },
- itemId: {
- description:
- "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
- format: "text",
- type: "string",
- },
- supplierId: {
- description:
- "Note:\nThis is a Foreign Key to `supplier.id`.<fk table='supplier' column='id'/>",
- format: "text",
- type: "string",
- },
- supplierPartId: {
- format: "text",
- type: "string",
- },
- supplierUnitOfMeasureCode: {
- format: "text",
- type: "string",
- },
- minimumOrderQuantity: {
- default: 1,
- format: "integer",
- type: "integer",
- },
- conversionFactor: {
- default: 1,
- format: "numeric",
- type: "number",
- },
- active: {
- default: true,
- format: "boolean",
- type: "boolean",
- },
- companyId: {
- description:
- "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
- format: "text",
- type: "string",
- },
- createdBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- createdAt: {
- default: "now()",
- format: "timestamp with time zone",
- type: "string",
- },
- updatedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- updatedAt: {
- format: "timestamp with time zone",
- type: "string",
- },
- customFields: {
- format: "jsonb",
- },
- unitPrice: {
- default: 0,
- format: "numeric",
- type: "number",
- },
- },
- type: "object",
+ "rowFilter.jobOperation.status": {
+ name: "status",
+ required: false,
+ format: 'public."jobOperationStatus"',
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.jobOperation.priority": {
+ name: "priority",
+ required: false,
+ format: "double precision",
+ in: "query",
+ type: "string",
},
- itemPostingGroup: {
- required: ["id", "name", "active", "companyId", "createdBy", "createdAt"],
- properties: {
- id: {
- default: "public.xid()",
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
- type: "string",
- },
- name: {
- format: "text",
- type: "string",
- },
- description: {
- format: "text",
- type: "string",
- },
- active: {
- default: true,
- format: "boolean",
- type: "boolean",
- },
- companyId: {
- description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
- format: "text",
- type: "string",
- },
- createdBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- createdAt: {
- default: "now()",
- format: "timestamp with time zone",
- type: "string",
- },
- updatedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- updatedAt: {
- format: "timestamp with time zone",
- type: "string",
- },
- customFields: {
- format: "jsonb",
- },
+ "body.userAttributeCategory": {
+ name: "userAttributeCategory",
+ description: "userAttributeCategory",
+ required: false,
+ in: "body",
+ schema: {
+ $ref: "#/definitions/userAttributeCategory",
},
- type: "object",
},
- department: {
- required: ["id", "name", "companyId", "createdBy", "createdAt"],
- properties: {
- id: {
- default: "public.xid()",
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
- type: "string",
- },
- name: {
- format: "text",
- type: "string",
- },
- parentDepartmentId: {
- description:
- "Note:\nThis is a Foreign Key to `department.id`.<fk table='department' column='id'/>",
- format: "text",
- type: "string",
- },
- companyId: {
- description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
- format: "text",
- type: "string",
- },
- createdBy: {
- format: "text",
- type: "string",
- },
- createdAt: {
- default: "now()",
- format: "timestamp without time zone",
- type: "string",
- },
- updatedBy: {
- format: "text",
- type: "string",
- },
- updatedAt: {
- format: "timestamp without time zone",
- type: "string",
- },
- customFields: {
- format: "jsonb",
- },
- },
- type: "object",
+ "rowFilter.userAttributeCategory.id": {
+ name: "id",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
},
- purchaseInvoiceLine: {
- required: [
- "id",
- "invoiceId",
- "invoiceLineType",
- "quantity",
- "unitPrice",
- "currencyCode",
- "exchangeRate",
- "companyId",
- "createdBy",
- "createdAt",
- ],
- properties: {
- id: {
- default: "public.xid()",
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
- type: "string",
- },
- invoiceId: {
- description:
- "Note:\nThis is a Foreign Key to `purchaseInvoice.id`.<fk table='purchaseInvoice' column='id'/>",
- format: "text",
- type: "string",
- },
- invoiceLineType: {
- enum: [
- "Comment",
- "G/L Account",
- "Fixed Asset",
- "Part",
- "Material",
- "Tool",
- "Service",
- "Consumable",
- "Fixture",
- ],
- format: 'public."payableLineType"',
- type: "string",
- },
- purchaseOrderId: {
- description:
- "Note:\nThis is a Foreign Key to `purchaseOrder.id`.<fk table='purchaseOrder' column='id'/>",
- format: "text",
- type: "string",
- },
- purchaseOrderLineId: {
- description:
- "Note:\nThis is a Foreign Key to `purchaseOrderLine.id`.<fk table='purchaseOrderLine' column='id'/>",
- format: "text",
- type: "string",
- },
- itemId: {
- description:
- "Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
- format: "text",
- type: "string",
- },
- itemReadableId: {
- format: "text",
- type: "string",
- },
- serviceId: {
- format: "text",
- type: "string",
- },
- locationId: {
- description:
- "Note:\nThis is a Foreign Key to `location.id`.<fk table='location' column='id'/>",
- format: "text",
- type: "string",
- },
- shelfId: {
- description:
- "Note:\nThis is a Foreign Key to `shelf.id`.<fk table='shelf' column='id'/>",
- format: "text",
- type: "string",
- },
- accountNumber: {
- format: "text",
- type: "string",
- },
- assetId: {
- format: "text",
- type: "string",
- },
- description: {
- format: "text",
- type: "string",
- },
- quantity: {
- default: 0,
- format: "numeric",
- type: "number",
- },
- unitPrice: {
- default: 0,
- format: "numeric",
- type: "number",
- },
- totalAmount: {
- format: "numeric",
- type: "number",
- },
- currencyCode: {
- format: "text",
- type: "string",
- },
- exchangeRate: {
- default: 1,
- format: "numeric",
- type: "number",
- },
- inventoryUnitOfMeasureCode: {
- format: "text",
- type: "string",
- },
- purchaseUnitOfMeasureCode: {
- format: "text",
- type: "string",
- },
- companyId: {
- description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
- format: "text",
- type: "string",
- },
- createdBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- createdAt: {
- default: "now()",
- format: "timestamp with time zone",
- type: "string",
- },
- updatedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- updatedAt: {
- format: "timestamp with time zone",
- type: "string",
- },
- customFields: {
- format: "jsonb",
- },
- conversionFactor: {
- default: 1,
- format: "numeric",
- type: "number",
- },
- },
- type: "object",
+ "rowFilter.userAttributeCategory.name": {
+ name: "name",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
},
- salesRfqs: {
- properties: {
- id: {
- description: "Note:\nThis is a Primary Key.<pk/>",
- format: "text",
- type: "string",
- },
- rfqId: {
- format: "text",
- type: "string",
- },
- revisionId: {
- format: "integer",
- type: "integer",
- },
- status: {
- enum: ["Draft", "Ready for Quote", "Closed", "Quoted"],
- format: 'public."salesRfqStatus"',
- type: "string",
- },
- employeeId: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- customerId: {
- description:
- "Note:\nThis is a Foreign Key to `customer.id`.<fk table='customer' column='id'/>",
- format: "text",
- type: "string",
- },
- customerContactId: {
- description:
- "Note:\nThis is a Foreign Key to `customerContact.id`.<fk table='customerContact' column='id'/>",
- format: "text",
- type: "string",
- },
- customerReference: {
- format: "text",
- type: "string",
- },
- rfqDate: {
- format: "date",
- type: "string",
- },
- expirationDate: {
- format: "date",
- type: "string",
- },
- locationId: {
- description:
- "Note:\nThis is a Foreign Key to `location.id`.<fk table='location' column='id'/>",
- format: "text",
- type: "string",
- },
- assignee: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- companyId: {
- description:
- "Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
- format: "text",
- type: "string",
- },
- customFields: {
- format: "jsonb",
- },
- createdAt: {
- format: "timestamp with time zone",
- type: "string",
- },
- createdBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- updatedAt: {
- format: "timestamp with time zone",
- type: "string",
- },
- updatedBy: {
- description:
- "Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
- format: "text",
- type: "string",
- },
- customerLocationId: {
- description:
- "Note:\nThis is a Foreign Key to `customerLocation.id`.<fk table='customerLocation' column='id'/>",
- format: "text",
- type: "string",
- },
- externalNotes: {
- format: "json",
- },
- internalNotes: {
- format: "json",
- },
- locationName: {
- format: "text",
- type: "string",
- },
- quoteId: {
- description:
- "Note:\nThis is a Foreign Key to `quote.id`.<fk table='quote' column='id'/>",
- format: "text",
- type: "string",
- },
- salesOrderId: {
- description:
- "Note:\nThis is a Foreign Key to `salesOrder.id`.<fk table='salesOrder' column='id'/>",
- format: "text",
- type: "string",
- },
- favorite: {
- format: "boolean",
- type: "boolean",
- },
+ "rowFilter.userAttributeCategory.public": {
+ name: "public",
+ required: false,
+ format: "boolean",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.userAttributeCategory.protected": {
+ name: "protected",
+ required: false,
+ format: "boolean",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.userAttributeCategory.companyId": {
+ name: "companyId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.userAttributeCategory.active": {
+ name: "active",
+ required: false,
+ format: "boolean",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.userAttributeCategory.createdAt": {
+ name: "createdAt",
+ required: false,
+ format: "timestamp with time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.userAttributeCategory.createdBy": {
+ name: "createdBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.userAttributeCategory.updatedAt": {
+ name: "updatedAt",
+ required: false,
+ format: "timestamp with time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.userAttributeCategory.updatedBy": {
+ name: "updatedBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "body.suppliers": {
+ name: "suppliers",
+ description: "suppliers",
+ required: false,
+ in: "body",
+ schema: {
+ $ref: "#/definitions/suppliers",
},
- type: "object",
},
- },
- parameters: {
- preferParams: {
- name: "Prefer",
- description: "Preference",
+ "rowFilter.suppliers.id": {
+ name: "id",
required: false,
- enum: ["params=single-object"],
- in: "header",
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.suppliers.name": {
+ name: "name",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.suppliers.supplierTypeId": {
+ name: "supplierTypeId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.suppliers.supplierStatusId": {
+ name: "supplierStatusId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.suppliers.taxId": {
+ name: "taxId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.suppliers.accountManagerId": {
+ name: "accountManagerId",
+ required: false,
+ format: "text",
+ in: "query",
type: "string",
},
- preferReturn: {
- name: "Prefer",
- description: "Preference",
+ "rowFilter.suppliers.logo": {
+ name: "logo",
required: false,
- enum: ["return=representation", "return=minimal", "return=none"],
- in: "header",
+ format: "text",
+ in: "query",
type: "string",
},
- preferCount: {
- name: "Prefer",
- description: "Preference",
+ "rowFilter.suppliers.assignee": {
+ name: "assignee",
required: false,
- enum: ["count=none"],
- in: "header",
+ format: "text",
+ in: "query",
type: "string",
},
- preferPost: {
- name: "Prefer",
- description: "Preference",
+ "rowFilter.suppliers.companyId": {
+ name: "companyId",
required: false,
- enum: [
- "return=representation",
- "return=minimal",
- "return=none",
- "resolution=ignore-duplicates",
- "resolution=merge-duplicates",
- ],
- in: "header",
+ format: "text",
+ in: "query",
type: "string",
},
- select: {
- name: "select",
- description: "Filtering Columns",
+ "rowFilter.suppliers.createdAt": {
+ name: "createdAt",
required: false,
+ format: "timestamp with time zone",
in: "query",
type: "string",
},
- on_conflict: {
- name: "on_conflict",
- description: "On Conflict",
+ "rowFilter.suppliers.createdBy": {
+ name: "createdBy",
required: false,
+ format: "text",
in: "query",
type: "string",
},
- order: {
- name: "order",
- description: "Ordering",
+ "rowFilter.suppliers.updatedAt": {
+ name: "updatedAt",
required: false,
+ format: "timestamp with time zone",
in: "query",
type: "string",
},
- range: {
- name: "Range",
- description: "Limiting and Pagination",
+ "rowFilter.suppliers.updatedBy": {
+ name: "updatedBy",
required: false,
- in: "header",
+ format: "text",
+ in: "query",
type: "string",
},
- rangeUnit: {
- name: "Range-Unit",
- description: "Limiting and Pagination",
+ "rowFilter.suppliers.customFields": {
+ name: "customFields",
required: false,
- default: "items",
- in: "header",
+ format: "jsonb",
+ in: "query",
type: "string",
},
- offset: {
- name: "offset",
- description: "Limiting and Pagination",
+ "rowFilter.suppliers.currencyCode": {
+ name: "currencyCode",
required: false,
+ format: "text",
in: "query",
type: "string",
},
- limit: {
- name: "limit",
- description: "Limiting and Pagination",
+ "rowFilter.suppliers.phone": {
+ name: "phone",
required: false,
+ format: "text",
in: "query",
type: "string",
},
- "body.purchaseInvoiceStatusHistory": {
- name: "purchaseInvoiceStatusHistory",
- description: "purchaseInvoiceStatusHistory",
+ "rowFilter.suppliers.fax": {
+ name: "fax",
required: false,
- in: "body",
- schema: {
- $ref: "#/definitions/purchaseInvoiceStatusHistory",
- },
+ format: "text",
+ in: "query",
+ type: "string",
},
- "rowFilter.purchaseInvoiceStatusHistory.id": {
- name: "id",
+ "rowFilter.suppliers.website": {
+ name: "website",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.purchaseInvoiceStatusHistory.invoiceId": {
- name: "invoiceId",
+ "rowFilter.suppliers.type": {
+ name: "type",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.purchaseInvoiceStatusHistory.status": {
+ "rowFilter.suppliers.status": {
name: "status",
required: false,
- format: 'public."purchaseInvoiceStatus"',
+ format: "text",
in: "query",
type: "string",
},
- "rowFilter.purchaseInvoiceStatusHistory.createdAt": {
- name: "createdAt",
+ "rowFilter.suppliers.orderCount": {
+ name: "orderCount",
required: false,
- format: "timestamp with time zone",
+ format: "bigint",
in: "query",
type: "string",
},
- "body.itemInventory": {
- name: "itemInventory",
- description: "itemInventory",
+ "rowFilter.suppliers.partCount": {
+ name: "partCount",
+ required: false,
+ format: "bigint",
+ in: "query",
+ type: "string",
+ },
+ "body.accounts": {
+ name: "accounts",
+ description: "accounts",
required: false,
in: "body",
schema: {
- $ref: "#/definitions/itemInventory",
+ $ref: "#/definitions/accounts",
},
},
- "rowFilter.itemInventory.id": {
+ "rowFilter.accounts.id": {
name: "id",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.itemInventory.itemId": {
- name: "itemId",
+ "rowFilter.accounts.number": {
+ name: "number",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.itemInventory.locationId": {
- name: "locationId",
+ "rowFilter.accounts.name": {
+ name: "name",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.itemInventory.shelfId": {
- name: "shelfId",
+ "rowFilter.accounts.type": {
+ name: "type",
+ required: false,
+ format: 'public."glAccountType"',
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.accounts.class": {
+ name: "class",
+ required: false,
+ format: 'public."glAccountClass"',
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.accounts.accountCategoryId": {
+ name: "accountCategoryId",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.itemInventory.companyId": {
- name: "companyId",
+ "rowFilter.accounts.accountSubcategoryId": {
+ name: "accountSubcategoryId",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.itemInventory.quantityOnHand": {
- name: "quantityOnHand",
+ "rowFilter.accounts.incomeBalance": {
+ name: "incomeBalance",
required: false,
- format: "numeric",
+ format: 'public."glIncomeBalance"',
in: "query",
type: "string",
},
- "rowFilter.itemInventory.quantityOnPurchase": {
- name: "quantityOnPurchase",
+ "rowFilter.accounts.consolidatedRate": {
+ name: "consolidatedRate",
required: false,
- format: "numeric",
+ format: 'public."glConsolidatedRate"',
in: "query",
type: "string",
},
- "rowFilter.itemInventory.quantityOnSalesOrder": {
- name: "quantityOnSalesOrder",
+ "rowFilter.accounts.directPosting": {
+ name: "directPosting",
required: false,
- format: "numeric",
+ format: "boolean",
in: "query",
type: "string",
},
- "rowFilter.itemInventory.quantityOnProductionOrder": {
- name: "quantityOnProductionOrder",
+ "rowFilter.accounts.active": {
+ name: "active",
required: false,
- format: "numeric",
+ format: "boolean",
in: "query",
type: "string",
},
- "body.userPermission": {
- name: "userPermission",
- description: "userPermission",
+ "rowFilter.accounts.companyId": {
+ name: "companyId",
required: false,
- in: "body",
- schema: {
- $ref: "#/definitions/userPermission",
- },
+ format: "text",
+ in: "query",
+ type: "string",
},
- "rowFilter.userPermission.id": {
- name: "id",
+ "rowFilter.accounts.createdBy": {
+ name: "createdBy",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.userPermission.permissions": {
- name: "permissions",
+ "rowFilter.accounts.createdAt": {
+ name: "createdAt",
+ required: false,
+ format: "timestamp with time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.accounts.updatedBy": {
+ name: "updatedBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.accounts.updatedAt": {
+ name: "updatedAt",
+ required: false,
+ format: "timestamp with time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.accounts.customFields": {
+ name: "customFields",
required: false,
format: "jsonb",
in: "query",
type: "string",
},
- "body.supplierAccount": {
- name: "supplierAccount",
- description: "supplierAccount",
+ "rowFilter.accounts.accountCategory": {
+ name: "accountCategory",
required: false,
- in: "body",
- schema: {
- $ref: "#/definitions/supplierAccount",
- },
+ format: "text",
+ in: "query",
+ type: "string",
},
- "rowFilter.supplierAccount.id": {
- name: "id",
+ "rowFilter.accounts.accountSubCategory": {
+ name: "accountSubCategory",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.supplierAccount.supplierId": {
- name: "supplierId",
+ "body.jobFavorite": {
+ name: "jobFavorite",
+ description: "jobFavorite",
+ required: false,
+ in: "body",
+ schema: {
+ $ref: "#/definitions/jobFavorite",
+ },
+ },
+ "rowFilter.jobFavorite.jobId": {
+ name: "jobId",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.supplierAccount.companyId": {
- name: "companyId",
+ "rowFilter.jobFavorite.userId": {
+ name: "userId",
required: false,
format: "text",
in: "query",
type: "string",
},
- "body.supplierType": {
- name: "supplierType",
- description: "supplierType",
+ "body.customerType": {
+ name: "customerType",
+ description: "customerType",
required: false,
in: "body",
schema: {
- $ref: "#/definitions/supplierType",
+ $ref: "#/definitions/customerType",
},
},
- "rowFilter.supplierType.id": {
+ "rowFilter.customerType.id": {
name: "id",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.supplierType.name": {
+ "rowFilter.customerType.name": {
name: "name",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.supplierType.protected": {
+ "rowFilter.customerType.protected": {
name: "protected",
required: false,
format: "boolean",
in: "query",
type: "string",
},
- "rowFilter.supplierType.companyId": {
+ "rowFilter.customerType.companyId": {
name: "companyId",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.supplierType.createdAt": {
+ "rowFilter.customerType.createdAt": {
name: "createdAt",
required: false,
format: "timestamp with time zone",
in: "query",
type: "string",
},
- "rowFilter.supplierType.createdBy": {
+ "rowFilter.customerType.createdBy": {
name: "createdBy",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.supplierType.updatedBy": {
+ "rowFilter.customerType.updatedBy": {
name: "updatedBy",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.supplierType.updatedAt": {
+ "rowFilter.customerType.updatedAt": {
name: "updatedAt",
required: false,
format: "timestamp with time zone",
in: "query",
type: "string",
},
- "rowFilter.supplierType.customFields": {
+ "rowFilter.customerType.customFields": {
name: "customFields",
required: false,
format: "jsonb",
in: "query",
type: "string",
},
- "body.customerType": {
- name: "customerType",
- description: "customerType",
+ "body.quoteMaterial": {
+ name: "quoteMaterial",
+ description: "quoteMaterial",
required: false,
in: "body",
schema: {
- $ref: "#/definitions/customerType",
+ $ref: "#/definitions/quoteMaterial",
},
},
- "rowFilter.customerType.id": {
+ "rowFilter.quoteMaterial.id": {
name: "id",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.customerType.name": {
- name: "name",
+ "rowFilter.quoteMaterial.quoteId": {
+ name: "quoteId",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.customerType.protected": {
- name: "protected",
+ "rowFilter.quoteMaterial.quoteLineId": {
+ name: "quoteLineId",
required: false,
- format: "boolean",
+ format: "text",
in: "query",
type: "string",
},
- "rowFilter.customerType.companyId": {
+ "rowFilter.quoteMaterial.itemId": {
+ name: "itemId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteMaterial.itemReadableId": {
+ name: "itemReadableId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteMaterial.itemType": {
+ name: "itemType",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteMaterial.methodType": {
+ name: "methodType",
+ required: false,
+ format: 'public."methodType"',
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteMaterial.order": {
+ name: "order",
+ required: false,
+ format: "double precision",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteMaterial.description": {
+ name: "description",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteMaterial.quantity": {
+ name: "quantity",
+ required: false,
+ format: "numeric",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteMaterial.unitOfMeasureCode": {
+ name: "unitOfMeasureCode",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteMaterial.unitCost": {
+ name: "unitCost",
+ required: false,
+ format: "numeric",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteMaterial.companyId": {
name: "companyId",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.customerType.createdAt": {
+ "rowFilter.quoteMaterial.createdAt": {
name: "createdAt",
required: false,
format: "timestamp with time zone",
in: "query",
type: "string",
},
- "rowFilter.customerType.createdBy": {
+ "rowFilter.quoteMaterial.createdBy": {
name: "createdBy",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.customerType.updatedBy": {
- name: "updatedBy",
+ "rowFilter.quoteMaterial.updatedAt": {
+ name: "updatedAt",
required: false,
- format: "text",
+ format: "timestamp with time zone",
in: "query",
type: "string",
},
- "rowFilter.customerType.updatedAt": {
- name: "updatedAt",
+ "rowFilter.quoteMaterial.updatedBy": {
+ name: "updatedBy",
required: false,
- format: "timestamp with time zone",
+ format: "text",
in: "query",
type: "string",
},
- "rowFilter.customerType.customFields": {
+ "rowFilter.quoteMaterial.customFields": {
name: "customFields",
required: false,
format: "jsonb",
in: "query",
type: "string",
},
- "body.shippingTerm": {
- name: "shippingTerm",
- description: "shippingTerm",
+ "rowFilter.quoteMaterial.quoteMakeMethodId": {
+ name: "quoteMakeMethodId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteMaterial.quoteOperationId": {
+ name: "quoteOperationId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteMaterial.scrapQuantity": {
+ name: "scrapQuantity",
+ required: false,
+ format: "numeric",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteMaterial.productionQuantity": {
+ name: "productionQuantity",
+ required: false,
+ format: "numeric",
+ in: "query",
+ type: "string",
+ },
+ "body.customerStatus": {
+ name: "customerStatus",
+ description: "customerStatus",
required: false,
in: "body",
schema: {
- $ref: "#/definitions/shippingTerm",
+ $ref: "#/definitions/customerStatus",
},
},
- "rowFilter.shippingTerm.id": {
+ "rowFilter.customerStatus.id": {
name: "id",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.shippingTerm.name": {
+ "rowFilter.customerStatus.name": {
name: "name",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.shippingTerm.active": {
- name: "active",
- required: false,
- format: "boolean",
- in: "query",
- type: "string",
- },
- "rowFilter.shippingTerm.companyId": {
+ "rowFilter.customerStatus.companyId": {
name: "companyId",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.shippingTerm.createdAt": {
+ "rowFilter.customerStatus.createdAt": {
name: "createdAt",
required: false,
format: "timestamp with time zone",
in: "query",
type: "string",
},
- "rowFilter.shippingTerm.createdBy": {
+ "rowFilter.customerStatus.createdBy": {
name: "createdBy",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.shippingTerm.updatedAt": {
+ "rowFilter.customerStatus.updatedBy": {
+ name: "updatedBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.customerStatus.updatedAt": {
name: "updatedAt",
required: false,
format: "timestamp with time zone",
in: "query",
type: "string",
},
- "rowFilter.shippingTerm.updatedBy": {
- name: "updatedBy",
+ "rowFilter.customerStatus.customFields": {
+ name: "customFields",
required: false,
- format: "text",
+ format: "jsonb",
in: "query",
type: "string",
},
- "body.customerAccount": {
- name: "customerAccount",
- description: "customerAccount",
+ "body.employeesAcrossCompanies": {
+ name: "employeesAcrossCompanies",
+ description: "employeesAcrossCompanies",
required: false,
in: "body",
schema: {
- $ref: "#/definitions/customerAccount",
+ $ref: "#/definitions/employeesAcrossCompanies",
},
},
- "rowFilter.customerAccount.id": {
+ "rowFilter.employeesAcrossCompanies.id": {
name: "id",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.customerAccount.customerId": {
- name: "customerId",
+ "rowFilter.employeesAcrossCompanies.email": {
+ name: "email",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.customerAccount.companyId": {
- name: "companyId",
+ "rowFilter.employeesAcrossCompanies.firstName": {
+ name: "firstName",
required: false,
format: "text",
in: "query",
type: "string",
},
- "body.accountDefault": {
- name: "accountDefault",
- description: "accountDefault",
+ "rowFilter.employeesAcrossCompanies.lastName": {
+ name: "lastName",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.employeesAcrossCompanies.name": {
+ name: "name",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.employeesAcrossCompanies.avatarUrl": {
+ name: "avatarUrl",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.employeesAcrossCompanies.active": {
+ name: "active",
+ required: false,
+ format: "boolean",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.employeesAcrossCompanies.companyId": {
+ name: "companyId",
+ required: false,
+ format: "text[]",
+ in: "query",
+ type: "string",
+ },
+ "body.customerContact": {
+ name: "customerContact",
+ description: "customerContact",
required: false,
in: "body",
schema: {
- $ref: "#/definitions/accountDefault",
+ $ref: "#/definitions/customerContact",
},
},
- "rowFilter.accountDefault.companyId": {
- name: "companyId",
+ "rowFilter.customerContact.id": {
+ name: "id",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.accountDefault.salesAccount": {
- name: "salesAccount",
+ "rowFilter.customerContact.customerId": {
+ name: "customerId",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.accountDefault.salesDiscountAccount": {
- name: "salesDiscountAccount",
+ "rowFilter.customerContact.contactId": {
+ name: "contactId",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.accountDefault.costOfGoodsSoldAccount": {
- name: "costOfGoodsSoldAccount",
+ "rowFilter.customerContact.customerLocationId": {
+ name: "customerLocationId",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.accountDefault.purchaseAccount": {
- name: "purchaseAccount",
+ "rowFilter.customerContact.userId": {
+ name: "userId",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.accountDefault.directCostAppliedAccount": {
- name: "directCostAppliedAccount",
+ "rowFilter.customerContact.customFields": {
+ name: "customFields",
required: false,
- format: "text",
+ format: "jsonb",
in: "query",
type: "string",
},
- "rowFilter.accountDefault.overheadCostAppliedAccount": {
- name: "overheadCostAppliedAccount",
+ "body.oauthCode": {
+ name: "oauthCode",
+ description: "oauthCode",
+ required: false,
+ in: "body",
+ schema: {
+ $ref: "#/definitions/oauthCode",
+ },
+ },
+ "rowFilter.oauthCode.id": {
+ name: "id",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.accountDefault.purchaseVarianceAccount": {
- name: "purchaseVarianceAccount",
+ "rowFilter.oauthCode.code": {
+ name: "code",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.accountDefault.inventoryAdjustmentVarianceAccount": {
- name: "inventoryAdjustmentVarianceAccount",
+ "rowFilter.oauthCode.clientId": {
+ name: "clientId",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.accountDefault.materialVarianceAccount": {
- name: "materialVarianceAccount",
+ "rowFilter.oauthCode.userId": {
+ name: "userId",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.accountDefault.capacityVarianceAccount": {
- name: "capacityVarianceAccount",
+ "rowFilter.oauthCode.companyId": {
+ name: "companyId",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.accountDefault.overheadAccount": {
- name: "overheadAccount",
+ "rowFilter.oauthCode.redirectUri": {
+ name: "redirectUri",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.accountDefault.maintenanceAccount": {
- name: "maintenanceAccount",
+ "rowFilter.oauthCode.createdAt": {
+ name: "createdAt",
required: false,
- format: "text",
+ format: "timestamp with time zone",
in: "query",
type: "string",
},
- "rowFilter.accountDefault.assetDepreciationExpenseAccount": {
- name: "assetDepreciationExpenseAccount",
+ "rowFilter.oauthCode.expiresAt": {
+ name: "expiresAt",
required: false,
- format: "text",
+ format: "timestamp with time zone",
in: "query",
type: "string",
},
- "rowFilter.accountDefault.assetGainsAndLossesAccount": {
- name: "assetGainsAndLossesAccount",
+ "body.purchaseInvoiceLine": {
+ name: "purchaseInvoiceLine",
+ description: "purchaseInvoiceLine",
+ required: false,
+ in: "body",
+ schema: {
+ $ref: "#/definitions/purchaseInvoiceLine",
+ },
+ },
+ "rowFilter.purchaseInvoiceLine.id": {
+ name: "id",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.accountDefault.serviceChargeAccount": {
- name: "serviceChargeAccount",
+ "rowFilter.purchaseInvoiceLine.invoiceId": {
+ name: "invoiceId",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.accountDefault.interestAccount": {
- name: "interestAccount",
+ "rowFilter.purchaseInvoiceLine.invoiceLineType": {
+ name: "invoiceLineType",
required: false,
- format: "text",
+ format: 'public."payableLineType"',
in: "query",
type: "string",
},
- "rowFilter.accountDefault.supplierPaymentDiscountAccount": {
- name: "supplierPaymentDiscountAccount",
+ "rowFilter.purchaseInvoiceLine.purchaseOrderId": {
+ name: "purchaseOrderId",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.accountDefault.customerPaymentDiscountAccount": {
- name: "customerPaymentDiscountAccount",
+ "rowFilter.purchaseInvoiceLine.purchaseOrderLineId": {
+ name: "purchaseOrderLineId",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.accountDefault.roundingAccount": {
- name: "roundingAccount",
+ "rowFilter.purchaseInvoiceLine.itemId": {
+ name: "itemId",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.accountDefault.assetAquisitionCostAccount": {
- name: "assetAquisitionCostAccount",
+ "rowFilter.purchaseInvoiceLine.itemReadableId": {
+ name: "itemReadableId",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.accountDefault.assetAquisitionCostOnDisposalAccount": {
- name: "assetAquisitionCostOnDisposalAccount",
+ "rowFilter.purchaseInvoiceLine.serviceId": {
+ name: "serviceId",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.accountDefault.accumulatedDepreciationAccount": {
- name: "accumulatedDepreciationAccount",
+ "rowFilter.purchaseInvoiceLine.locationId": {
+ name: "locationId",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.accountDefault.accumulatedDepreciationOnDisposalAccount": {
- name: "accumulatedDepreciationOnDisposalAccount",
+ "rowFilter.purchaseInvoiceLine.shelfId": {
+ name: "shelfId",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.accountDefault.inventoryAccount": {
- name: "inventoryAccount",
+ "rowFilter.purchaseInvoiceLine.accountNumber": {
+ name: "accountNumber",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.accountDefault.inventoryInterimAccrualAccount": {
- name: "inventoryInterimAccrualAccount",
+ "rowFilter.purchaseInvoiceLine.assetId": {
+ name: "assetId",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.accountDefault.workInProgressAccount": {
- name: "workInProgressAccount",
+ "rowFilter.purchaseInvoiceLine.description": {
+ name: "description",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.accountDefault.receivablesAccount": {
- name: "receivablesAccount",
+ "rowFilter.purchaseInvoiceLine.quantity": {
+ name: "quantity",
required: false,
- format: "text",
+ format: "numeric",
in: "query",
type: "string",
},
- "rowFilter.accountDefault.inventoryShippedNotInvoicedAccount": {
- name: "inventoryShippedNotInvoicedAccount",
+ "rowFilter.purchaseInvoiceLine.unitPrice": {
+ name: "unitPrice",
required: false,
- format: "text",
+ format: "numeric",
in: "query",
type: "string",
},
- "rowFilter.accountDefault.inventoryInvoicedNotReceivedAccount": {
- name: "inventoryInvoicedNotReceivedAccount",
+ "rowFilter.purchaseInvoiceLine.totalAmount": {
+ name: "totalAmount",
required: false,
- format: "text",
+ format: "numeric",
in: "query",
type: "string",
},
- "rowFilter.accountDefault.bankCashAccount": {
- name: "bankCashAccount",
+ "rowFilter.purchaseInvoiceLine.currencyCode": {
+ name: "currencyCode",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.accountDefault.bankLocalCurrencyAccount": {
- name: "bankLocalCurrencyAccount",
+ "rowFilter.purchaseInvoiceLine.exchangeRate": {
+ name: "exchangeRate",
required: false,
- format: "text",
+ format: "numeric",
in: "query",
type: "string",
},
- "rowFilter.accountDefault.bankForeignCurrencyAccount": {
- name: "bankForeignCurrencyAccount",
+ "rowFilter.purchaseInvoiceLine.inventoryUnitOfMeasureCode": {
+ name: "inventoryUnitOfMeasureCode",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.accountDefault.prepaymentAccount": {
- name: "prepaymentAccount",
+ "rowFilter.purchaseInvoiceLine.purchaseUnitOfMeasureCode": {
+ name: "purchaseUnitOfMeasureCode",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.accountDefault.payablesAccount": {
- name: "payablesAccount",
+ "rowFilter.purchaseInvoiceLine.companyId": {
+ name: "companyId",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.accountDefault.inventoryReceivedNotInvoicedAccount": {
- name: "inventoryReceivedNotInvoicedAccount",
+ "rowFilter.purchaseInvoiceLine.createdBy": {
+ name: "createdBy",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.accountDefault.salesTaxPayableAccount": {
- name: "salesTaxPayableAccount",
+ "rowFilter.purchaseInvoiceLine.createdAt": {
+ name: "createdAt",
required: false,
- format: "text",
+ format: "timestamp with time zone",
in: "query",
type: "string",
},
- "rowFilter.accountDefault.purchaseTaxPayableAccount": {
- name: "purchaseTaxPayableAccount",
+ "rowFilter.purchaseInvoiceLine.updatedBy": {
+ name: "updatedBy",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.accountDefault.reverseChargeSalesTaxPayableAccount": {
- name: "reverseChargeSalesTaxPayableAccount",
+ "rowFilter.purchaseInvoiceLine.updatedAt": {
+ name: "updatedAt",
required: false,
- format: "text",
+ format: "timestamp with time zone",
in: "query",
type: "string",
},
- "rowFilter.accountDefault.retainedEarningsAccount": {
- name: "retainedEarningsAccount",
+ "rowFilter.purchaseInvoiceLine.customFields": {
+ name: "customFields",
required: false,
- format: "text",
+ format: "jsonb",
in: "query",
type: "string",
},
- "rowFilter.accountDefault.updatedBy": {
- name: "updatedBy",
+ "rowFilter.purchaseInvoiceLine.conversionFactor": {
+ name: "conversionFactor",
required: false,
- format: "text",
+ format: "numeric",
in: "query",
type: "string",
},
- "body.service": {
- name: "service",
- description: "service",
+ "body.materialForm": {
+ name: "materialForm",
+ description: "materialForm",
required: false,
in: "body",
schema: {
- $ref: "#/definitions/service",
+ $ref: "#/definitions/materialForm",
},
},
- "rowFilter.service.id": {
+ "rowFilter.materialForm.id": {
name: "id",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.service.itemId": {
- name: "itemId",
+ "rowFilter.materialForm.name": {
+ name: "name",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.service.serviceType": {
- name: "serviceType",
+ "rowFilter.materialForm.companyId": {
+ name: "companyId",
required: false,
- format: 'public."serviceType"',
+ format: "text",
in: "query",
type: "string",
},
- "rowFilter.service.approved": {
- name: "approved",
+ "rowFilter.materialForm.customFields": {
+ name: "customFields",
required: false,
- format: "boolean",
+ format: "jsonb",
in: "query",
type: "string",
},
- "rowFilter.service.approvedBy": {
- name: "approvedBy",
+ "rowFilter.materialForm.createdBy": {
+ name: "createdBy",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.service.fromDate": {
- name: "fromDate",
+ "rowFilter.materialForm.createdAt": {
+ name: "createdAt",
required: false,
- format: "date",
+ format: "timestamp with time zone",
in: "query",
type: "string",
},
- "rowFilter.service.toDate": {
- name: "toDate",
+ "rowFilter.materialForm.updatedBy": {
+ name: "updatedBy",
required: false,
- format: "date",
+ format: "text",
in: "query",
type: "string",
},
- "rowFilter.service.customFields": {
- name: "customFields",
+ "rowFilter.materialForm.updatedAt": {
+ name: "updatedAt",
required: false,
- format: "jsonb",
+ format: "timestamp with time zone",
in: "query",
type: "string",
},
- "rowFilter.service.companyId": {
- name: "companyId",
+ "body.supplierContact": {
+ name: "supplierContact",
+ description: "supplierContact",
+ required: false,
+ in: "body",
+ schema: {
+ $ref: "#/definitions/supplierContact",
+ },
+ },
+ "rowFilter.supplierContact.id": {
+ name: "id",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.service.createdBy": {
- name: "createdBy",
+ "rowFilter.supplierContact.supplierId": {
+ name: "supplierId",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.service.createdAt": {
- name: "createdAt",
+ "rowFilter.supplierContact.contactId": {
+ name: "contactId",
required: false,
- format: "timestamp with time zone",
+ format: "text",
in: "query",
type: "string",
},
- "rowFilter.service.updatedBy": {
- name: "updatedBy",
+ "rowFilter.supplierContact.supplierLocationId": {
+ name: "supplierLocationId",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.service.updatedAt": {
- name: "updatedAt",
+ "rowFilter.supplierContact.userId": {
+ name: "userId",
required: false,
- format: "timestamp with time zone",
+ format: "text",
in: "query",
type: "string",
},
- "body.employeeTypePermission": {
- name: "employeeTypePermission",
- description: "employeeTypePermission",
+ "rowFilter.supplierContact.customFields": {
+ name: "customFields",
+ required: false,
+ format: "jsonb",
+ in: "query",
+ type: "string",
+ },
+ "body.oauthClient": {
+ name: "oauthClient",
+ description: "oauthClient",
required: false,
in: "body",
schema: {
- $ref: "#/definitions/employeeTypePermission",
+ $ref: "#/definitions/oauthClient",
},
},
- "rowFilter.employeeTypePermission.employeeTypeId": {
- name: "employeeTypeId",
+ "rowFilter.oauthClient.id": {
+ name: "id",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.employeeTypePermission.module": {
- name: "module",
+ "rowFilter.oauthClient.name": {
+ name: "name",
required: false,
- format: "public.module",
+ format: "text",
in: "query",
type: "string",
},
- "rowFilter.employeeTypePermission.create": {
- name: "create",
+ "rowFilter.oauthClient.clientId": {
+ name: "clientId",
required: false,
- format: "text[]",
+ format: "text",
in: "query",
type: "string",
},
- "rowFilter.employeeTypePermission.delete": {
- name: "delete",
+ "rowFilter.oauthClient.clientSecret": {
+ name: "clientSecret",
required: false,
- format: "text[]",
+ format: "text",
in: "query",
type: "string",
},
- "rowFilter.employeeTypePermission.update": {
- name: "update",
+ "rowFilter.oauthClient.redirectUris": {
+ name: "redirectUris",
required: false,
format: "text[]",
in: "query",
type: "string",
},
- "rowFilter.employeeTypePermission.view": {
- name: "view",
+ "rowFilter.oauthClient.companyId": {
+ name: "companyId",
required: false,
- format: "text[]",
+ format: "text",
in: "query",
type: "string",
},
- "rowFilter.employeeTypePermission.createdAt": {
+ "rowFilter.oauthClient.createdAt": {
name: "createdAt",
required: false,
format: "timestamp with time zone",
in: "query",
type: "string",
},
- "rowFilter.employeeTypePermission.updatedAt": {
+ "rowFilter.oauthClient.updatedAt": {
name: "updatedAt",
required: false,
format: "timestamp with time zone",
in: "query",
type: "string",
},
- "body.purchaseOrderPayment": {
- name: "purchaseOrderPayment",
- description: "purchaseOrderPayment",
+ "body.groups_recursive": {
+ name: "groups_recursive",
+ description: "groups_recursive",
required: false,
in: "body",
schema: {
- $ref: "#/definitions/purchaseOrderPayment",
+ $ref: "#/definitions/groups_recursive",
},
},
- "rowFilter.purchaseOrderPayment.id": {
- name: "id",
+ "rowFilter.groups_recursive.groupId": {
+ name: "groupId",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.purchaseOrderPayment.invoiceSupplierId": {
- name: "invoiceSupplierId",
+ "rowFilter.groups_recursive.name": {
+ name: "name",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.purchaseOrderPayment.invoiceSupplierLocationId": {
- name: "invoiceSupplierLocationId",
+ "rowFilter.groups_recursive.companyId": {
+ name: "companyId",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.purchaseOrderPayment.invoiceSupplierContactId": {
- name: "invoiceSupplierContactId",
+ "rowFilter.groups_recursive.parentId": {
+ name: "parentId",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.purchaseOrderPayment.paymentTermId": {
- name: "paymentTermId",
+ "rowFilter.groups_recursive.isIdentityGroup": {
+ name: "isIdentityGroup",
required: false,
- format: "text",
+ format: "boolean",
in: "query",
type: "string",
},
- "rowFilter.purchaseOrderPayment.paymentComplete": {
- name: "paymentComplete",
+ "rowFilter.groups_recursive.isEmployeeTypeGroup": {
+ name: "isEmployeeTypeGroup",
required: false,
format: "boolean",
in: "query",
type: "string",
},
- "rowFilter.purchaseOrderPayment.companyId": {
- name: "companyId",
+ "rowFilter.groups_recursive.isCustomerOrgGroup": {
+ name: "isCustomerOrgGroup",
required: false,
- format: "text",
+ format: "boolean",
in: "query",
type: "string",
},
- "rowFilter.purchaseOrderPayment.updatedAt": {
- name: "updatedAt",
+ "rowFilter.groups_recursive.isCustomerTypeGroup": {
+ name: "isCustomerTypeGroup",
required: false,
- format: "timestamp with time zone",
+ format: "boolean",
in: "query",
type: "string",
},
- "rowFilter.purchaseOrderPayment.updatedBy": {
- name: "updatedBy",
+ "rowFilter.groups_recursive.isSupplierOrgGroup": {
+ name: "isSupplierOrgGroup",
required: false,
- format: "text",
+ format: "boolean",
in: "query",
type: "string",
},
- "rowFilter.purchaseOrderPayment.customFields": {
- name: "customFields",
+ "rowFilter.groups_recursive.isSupplierTypeGroup": {
+ name: "isSupplierTypeGroup",
+ required: false,
+ format: "boolean",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.groups_recursive.user": {
+ name: "user",
required: false,
format: "jsonb",
in: "query",
type: "string",
},
- "body.holiday": {
- name: "holiday",
- description: "holiday",
+ "body.feedback": {
+ name: "feedback",
+ description: "feedback",
required: false,
in: "body",
schema: {
- $ref: "#/definitions/holiday",
+ $ref: "#/definitions/feedback",
},
},
- "rowFilter.holiday.id": {
+ "rowFilter.feedback.id": {
name: "id",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.holiday.name": {
- name: "name",
+ "rowFilter.feedback.location": {
+ name: "location",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.holiday.date": {
- name: "date",
+ "rowFilter.feedback.userId": {
+ name: "userId",
required: false,
- format: "date",
+ format: "text",
in: "query",
type: "string",
},
- "rowFilter.holiday.year": {
- name: "year",
+ "rowFilter.feedback.feedback": {
+ name: "feedback",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.feedback.attachmentPath": {
+ name: "attachmentPath",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "body.contractors": {
+ name: "contractors",
+ description: "contractors",
+ required: false,
+ in: "body",
+ schema: {
+ $ref: "#/definitions/contractors",
+ },
+ },
+ "rowFilter.contractors.supplierContactId": {
+ name: "supplierContactId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.contractors.active": {
+ name: "active",
+ required: false,
+ format: "boolean",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.contractors.hoursPerWeek": {
+ name: "hoursPerWeek",
required: false,
format: "integer",
in: "query",
type: "string",
},
- "rowFilter.holiday.companyId": {
+ "rowFilter.contractors.companyId": {
name: "companyId",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.holiday.createdBy": {
- name: "createdBy",
+ "rowFilter.contractors.customFields": {
+ name: "customFields",
+ required: false,
+ format: "jsonb",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.contractors.supplierId": {
+ name: "supplierId",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.holiday.createdAt": {
- name: "createdAt",
+ "rowFilter.contractors.supplierName": {
+ name: "supplierName",
required: false,
- format: "timestamp without time zone",
+ format: "text",
in: "query",
type: "string",
},
- "rowFilter.holiday.updatedBy": {
- name: "updatedBy",
+ "rowFilter.contractors.fullName": {
+ name: "fullName",
required: false,
format: "text",
in: "query",
type: "string",
},
- "rowFilter.holiday.updatedAt": {
- name: "updatedAt",
+ "rowFilter.contractors.firstName": {
+ name: "firstName",
required: false,
- format: "timestamp without time zone",
+ format: "text",
in: "query",
type: "string",
},
- "rowFilter.holiday.customFields": {
- name: "customFields",
+ "rowFilter.contractors.lastName": {
+ name: "lastName",
required: false,
- format: "jsonb",
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.contractors.email": {
+ name: "email",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.contractors.abilityIds": {
+ name: "abilityIds",
+ required: false,
+ format: "text[]",
in: "query",
type: "string",
},
diff --git a/packages/database/src/types.ts b/packages/database/src/types.ts
index 2247f3de0a..79d2c95603 100644
--- a/packages/database/src/types.ts
+++ b/packages/database/src/types.ts
@@ -17911,6 +17911,138 @@ export type Database = {
},
]
}
+ scrapReason: {
+ Row: {
+ companyId: string
+ createdAt: string
+ createdBy: string
+ customFields: Json | null
+ id: string
+ name: string
+ updatedAt: string | null
+ updatedBy: string | null
+ }
+ Insert: {
+ companyId: string
+ createdAt?: string
+ createdBy: string
+ customFields?: Json | null
+ id?: string
+ name: string
+ updatedAt?: string | null
+ updatedBy?: string | null
+ }
+ Update: {
+ companyId?: string
+ createdAt?: string
+ createdBy?: string
+ customFields?: Json | null
+ id?: string
+ name?: string
+ updatedAt?: string | null
+ updatedBy?: string | null
+ }
+ Relationships: [
+ {
+ foreignKeyName: "scrapReason_companyId_fkey"
+ columns: ["companyId"]
+ isOneToOne: false
+ referencedRelation: "companies"
+ referencedColumns: ["id"]
+ },
+ {
+ foreignKeyName: "scrapReason_companyId_fkey"
+ columns: ["companyId"]
+ isOneToOne: false
+ referencedRelation: "company"
+ referencedColumns: ["id"]
+ },
+ {
+ foreignKeyName: "scrapReason_companyId_fkey"
+ columns: ["companyId"]
+ isOneToOne: false
+ referencedRelation: "customFieldTables"
+ referencedColumns: ["companyId"]
+ },
+ {
+ foreignKeyName: "scrapReason_companyId_fkey"
+ columns: ["companyId"]
+ isOneToOne: false
+ referencedRelation: "integrations"
+ referencedColumns: ["companyId"]
+ },
+ {
+ foreignKeyName: "scrapReason_createdBy_fkey"
+ columns: ["createdBy"]
+ isOneToOne: false
+ referencedRelation: "employees"
+ referencedColumns: ["id"]
+ },
+ {
+ foreignKeyName: "scrapReason_createdBy_fkey"
+ columns: ["createdBy"]
+ isOneToOne: false
+ referencedRelation: "employeesAcrossCompanies"
+ referencedColumns: ["id"]
+ },
+ {
+ foreignKeyName: "scrapReason_createdBy_fkey"
+ columns: ["createdBy"]
+ isOneToOne: false
+ referencedRelation: "employeeSummary"
+ referencedColumns: ["id"]
+ },
+ {
+ foreignKeyName: "scrapReason_createdBy_fkey"
+ columns: ["createdBy"]
+ isOneToOne: false
+ referencedRelation: "user"
+ referencedColumns: ["id"]
+ },
+ {
+ foreignKeyName: "scrapReason_createdBy_fkey"
+ columns: ["createdBy"]
+ isOneToOne: false
+ referencedRelation: "userDefaults"
+ referencedColumns: ["userId"]
+ },
+ {
+ foreignKeyName: "scrapReason_updatedBy_fkey"
+ columns: ["updatedBy"]
+ isOneToOne: false
+ referencedRelation: "employees"
+ referencedColumns: ["id"]
+ },
+ {
+ foreignKeyName: "scrapReason_updatedBy_fkey"
+ columns: ["updatedBy"]
+ isOneToOne: false
+ referencedRelation: "employeesAcrossCompanies"
+ referencedColumns: ["id"]
+ },
+ {
+ foreignKeyName: "scrapReason_updatedBy_fkey"
+ columns: ["updatedBy"]
+ isOneToOne: false
+ referencedRelation: "employeeSummary"
+ referencedColumns: ["id"]
+ },
+ {
+ foreignKeyName: "scrapReason_updatedBy_fkey"
+ columns: ["updatedBy"]
+ isOneToOne: false
+ referencedRelation: "user"
+ referencedColumns: ["id"]
+ },
+ {
+ foreignKeyName: "scrapReason_updatedBy_fkey"
+ columns: ["updatedBy"]
+ isOneToOne: false
+ referencedRelation: "userDefaults"
+ referencedColumns: ["userId"]
+ },
+ ]
+ }
search: {
Row: {
companyId: string | null
diff --git a/packages/database/supabase/functions/lib/seed.ts b/packages/database/supabase/functions/lib/seed.ts
index 33c727b35f..f609411ce3 100644
--- a/packages/database/supabase/functions/lib/seed.ts
+++ b/packages/database/supabase/functions/lib/seed.ts
@@ -1677,6 +1677,8 @@ export const postingGroupSales = {
updatedBy: "system",
};
+export const scrapReasons = ["Defective", "Damaged", "Quality Control"];
+
export const sequences = [
{
table: "job",
diff --git a/packages/database/supabase/functions/lib/types.ts b/packages/database/supabase/functions/lib/types.ts
index 2247f3de0a..79d2c95603 100644
--- a/packages/database/supabase/functions/lib/types.ts
+++ b/packages/database/supabase/functions/lib/types.ts
@@ -17911,6 +17911,138 @@ export type Database = {
},
]
}
+ scrapReason: {
+ Row: {
+ companyId: string
+ createdAt: string
+ createdBy: string
+ customFields: Json | null
+ id: string
+ name: string
+ updatedAt: string | null
+ updatedBy: string | null
+ }
+ Insert: {
+ companyId: string
+ createdAt?: string
+ createdBy: string
+ customFields?: Json | null
+ id?: string
+ name: string
+ updatedAt?: string | null
+ updatedBy?: string | null
+ }
+ Update: {
+ companyId?: string
+ createdAt?: string
+ createdBy?: string
+ customFields?: Json | null
+ id?: string
+ name?: string
+ updatedAt?: string | null
+ updatedBy?: string | null
+ }
+ Relationships: [
+ {
+ foreignKeyName: "scrapReason_companyId_fkey"
+ columns: ["companyId"]
+ isOneToOne: false
+ referencedRelation: "companies"
+ referencedColumns: ["id"]
+ },
+ {
+ foreignKeyName: "scrapReason_companyId_fkey"
+ columns: ["companyId"]
+ isOneToOne: false
+ referencedRelation: "company"
+ referencedColumns: ["id"]
+ },
+ {
+ foreignKeyName: "scrapReason_companyId_fkey"
+ columns: ["companyId"]
+ isOneToOne: false
+ referencedRelation: "customFieldTables"
+ referencedColumns: ["companyId"]
+ },
+ {
+ foreignKeyName: "scrapReason_companyId_fkey"
+ columns: ["companyId"]
+ isOneToOne: false
+ referencedRelation: "integrations"
+ referencedColumns: ["companyId"]
+ },
+ {
+ foreignKeyName: "scrapReason_createdBy_fkey"
+ columns: ["createdBy"]
+ isOneToOne: false
+ referencedRelation: "employees"
+ referencedColumns: ["id"]
+ },
+ {
+ foreignKeyName: "scrapReason_createdBy_fkey"
+ columns: ["createdBy"]
+ isOneToOne: false
+ referencedRelation: "employeesAcrossCompanies"
+ referencedColumns: ["id"]
+ },
+ {
+ foreignKeyName: "scrapReason_createdBy_fkey"
+ columns: ["createdBy"]
+ isOneToOne: false
+ referencedRelation: "employeeSummary"
+ referencedColumns: ["id"]
+ },
+ {
+ foreignKeyName: "scrapReason_createdBy_fkey"
+ columns: ["createdBy"]
+ isOneToOne: false
+ referencedRelation: "user"
+ referencedColumns: ["id"]
+ },
+ {
+ foreignKeyName: "scrapReason_createdBy_fkey"
+ columns: ["createdBy"]
+ isOneToOne: false
+ referencedRelation: "userDefaults"
+ referencedColumns: ["userId"]
+ },
+ {
+ foreignKeyName: "scrapReason_updatedBy_fkey"
+ columns: ["updatedBy"]
+ isOneToOne: false
+ referencedRelation: "employees"
+ referencedColumns: ["id"]
+ },
+ {
+ foreignKeyName: "scrapReason_updatedBy_fkey"
+ columns: ["updatedBy"]
+ isOneToOne: false
+ referencedRelation: "employeesAcrossCompanies"
+ referencedColumns: ["id"]
+ },
+ {
+ foreignKeyName: "scrapReason_updatedBy_fkey"
+ columns: ["updatedBy"]
+ isOneToOne: false
+ referencedRelation: "employeeSummary"
+ referencedColumns: ["id"]
+ },
+ {
+ foreignKeyName: "scrapReason_updatedBy_fkey"
+ columns: ["updatedBy"]
+ isOneToOne: false
+ referencedRelation: "user"
+ referencedColumns: ["id"]
+ },
+ {
+ foreignKeyName: "scrapReason_updatedBy_fkey"
+ columns: ["updatedBy"]
+ isOneToOne: false
+ referencedRelation: "userDefaults"
+ referencedColumns: ["userId"]
+ },
+ ]
+ }
search: {
Row: {
companyId: string | null
diff --git a/packages/database/supabase/functions/seed-company/index.ts b/packages/database/supabase/functions/seed-company/index.ts
index d952c74b46..e128f63c66 100644
--- a/packages/database/supabase/functions/seed-company/index.ts
+++ b/packages/database/supabase/functions/seed-company/index.ts
@@ -15,6 +15,7 @@ import {
postingGroupInventory,
postingGroupPurchasing,
postingGroupSales,
+ scrapReasons,
sequences,
supplierStauses,
unitOfMeasures,
@@ -148,6 +149,18 @@ serve(async (req: Request) => {
)
.execute();
+ // scrap reason codes
+ await trx
+ .insertInto("scrapReason")
+ .values(
+ scrapReasons.map((name) => ({
+ name,
+ companyId,
+ createdBy: "system",
+ }))
+ )
+ .execute();
+
// payment terms
await trx
.insertInto("paymentTerm")
diff --git a/packages/database/supabase/migrations/20241023151209_scrap-reason-codes.sql b/packages/database/supabase/migrations/20241023151209_scrap-reason-codes.sql
new file mode 100644
index 0000000000..3b23e2d58c
--- /dev/null
+++ b/packages/database/supabase/migrations/20241023151209_scrap-reason-codes.sql
@@ -0,0 +1,18 @@
+CREATE TABLE "scrapReason" (
+ "id" TEXT NOT NULL DEFAULT xid(),
+ "name" TEXT NOT NULL,
+ "companyId" TEXT NOT NULL,
+ "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW(),
+ "createdBy" TEXT NOT NULL,
+ "updatedBy" TEXT,
+ "updatedAt" TIMESTAMP WITH TIME ZONE,
+ "customFields" JSONB,
+
+ CONSTRAINT "scrapReason_pkey" PRIMARY KEY ("id"),
+ CONSTRAINT "scrapReason_name_unique" UNIQUE ("name", "companyId"),
+ CONSTRAINT "scrapReason_companyId_fkey" FOREIGN KEY ("companyId") REFERENCES "company"("id") ON UPDATE CASCADE ON DELETE CASCADE,
+ CONSTRAINT "scrapReason_createdBy_fkey" FOREIGN KEY ("createdBy") REFERENCES "user"("id") ON UPDATE CASCADE ON DELETE RESTRICT,
+ CONSTRAINT "scrapReason_updatedBy_fkey" FOREIGN KEY ("updatedBy") REFERENCES "user"("id") ON UPDATE CASCADE ON DELETE SET NULL
+);
+
+CREATE INDEX "scrapReason_companyId_fkey" ON "scrapReason"("companyId");