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: update swagger docs and types

Rob Carringtonca21435bfec6
diff --git a/apps/carbon/app/lib/swagger-docs-schema.ts b/apps/carbon/app/lib/swagger-docs-schema.ts
index 49cd9655b0..68e9607024 100644
--- a/apps/carbon/app/lib/swagger-docs-schema.ts
+++ b/apps/carbon/app/lib/swagger-docs-schema.ts
@@ -3,7 +3,7 @@ export default {
info: {
description: "",
title: "standard public schema",
- version: "12.0.2 (a4e00ff)",
+ version: "12.0.1 (cd38da5)",
},
host: "0.0.0.0:3000",
basePath: "/",
@@ -2340,9 +2340,6 @@ export default {
{
$ref: "#/parameters/rowFilter.quotes.revisionId",
},
- {
- $ref: "#/parameters/rowFilter.quotes.salesRfqId",
- },
{
$ref: "#/parameters/rowFilter.quotes.dueDate",
},
@@ -2409,6 +2406,12 @@ export default {
{
$ref: "#/parameters/rowFilter.quotes.favorite",
},
+ {
+ $ref: "#/parameters/rowFilter.quotes.salesRfqId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quotes.salesOrderId",
+ },
{
$ref: "#/parameters/select",
},
@@ -5526,6 +5529,9 @@ export default {
{
$ref: "#/parameters/rowFilter.supplierLocation.customFields",
},
+ {
+ $ref: "#/parameters/rowFilter.supplierLocation.name",
+ },
{
$ref: "#/parameters/select",
},
@@ -5597,6 +5603,9 @@ export default {
{
$ref: "#/parameters/rowFilter.supplierLocation.customFields",
},
+ {
+ $ref: "#/parameters/rowFilter.supplierLocation.name",
+ },
{
$ref: "#/parameters/preferReturn",
},
@@ -5622,6 +5631,9 @@ export default {
{
$ref: "#/parameters/rowFilter.supplierLocation.customFields",
},
+ {
+ $ref: "#/parameters/rowFilter.supplierLocation.name",
+ },
{
$ref: "#/parameters/body.supplierLocation",
},
@@ -5823,6 +5835,9 @@ export default {
{
$ref: "#/parameters/rowFilter.customerLocation.customFields",
},
+ {
+ $ref: "#/parameters/rowFilter.customerLocation.name",
+ },
{
$ref: "#/parameters/select",
},
@@ -5894,6 +5909,9 @@ export default {
{
$ref: "#/parameters/rowFilter.customerLocation.customFields",
},
+ {
+ $ref: "#/parameters/rowFilter.customerLocation.name",
+ },
{
$ref: "#/parameters/preferReturn",
},
@@ -5919,6 +5937,9 @@ export default {
{
$ref: "#/parameters/rowFilter.customerLocation.customFields",
},
+ {
+ $ref: "#/parameters/rowFilter.customerLocation.name",
+ },
{
$ref: "#/parameters/body.customerLocation",
},
@@ -8913,27 +8934,6 @@ export default {
{
$ref: "#/parameters/rowFilter.contact.fax",
},
- {
- $ref: "#/parameters/rowFilter.contact.addressLine1",
- },
- {
- $ref: "#/parameters/rowFilter.contact.addressLine2",
- },
- {
- $ref: "#/parameters/rowFilter.contact.city",
- },
- {
- $ref: "#/parameters/rowFilter.contact.state",
- },
- {
- $ref: "#/parameters/rowFilter.contact.postalCode",
- },
- {
- $ref: "#/parameters/rowFilter.contact.countryCode",
- },
- {
- $ref: "#/parameters/rowFilter.contact.birthday",
- },
{
$ref: "#/parameters/rowFilter.contact.notes",
},
@@ -9029,27 +9029,6 @@ export default {
{
$ref: "#/parameters/rowFilter.contact.fax",
},
- {
- $ref: "#/parameters/rowFilter.contact.addressLine1",
- },
- {
- $ref: "#/parameters/rowFilter.contact.addressLine2",
- },
- {
- $ref: "#/parameters/rowFilter.contact.city",
- },
- {
- $ref: "#/parameters/rowFilter.contact.state",
- },
- {
- $ref: "#/parameters/rowFilter.contact.postalCode",
- },
- {
- $ref: "#/parameters/rowFilter.contact.countryCode",
- },
- {
- $ref: "#/parameters/rowFilter.contact.birthday",
- },
{
$ref: "#/parameters/rowFilter.contact.notes",
},
@@ -9099,27 +9078,6 @@ export default {
{
$ref: "#/parameters/rowFilter.contact.fax",
},
- {
- $ref: "#/parameters/rowFilter.contact.addressLine1",
- },
- {
- $ref: "#/parameters/rowFilter.contact.addressLine2",
- },
- {
- $ref: "#/parameters/rowFilter.contact.city",
- },
- {
- $ref: "#/parameters/rowFilter.contact.state",
- },
- {
- $ref: "#/parameters/rowFilter.contact.postalCode",
- },
- {
- $ref: "#/parameters/rowFilter.contact.countryCode",
- },
- {
- $ref: "#/parameters/rowFilter.contact.birthday",
- },
{
$ref: "#/parameters/rowFilter.contact.notes",
},
@@ -11593,22 +11551,10 @@ export default {
$ref: "#/parameters/rowFilter.quoteLines.modelUploadId",
},
{
- $ref: "#/parameters/rowFilter.quoteLines.pricingQuantity",
- },
- {
- $ref: "#/parameters/rowFilter.quoteLines.pricingUnitCost",
- },
- {
- $ref: "#/parameters/rowFilter.quoteLines.pricingLeadTime",
- },
- {
- $ref: "#/parameters/rowFilter.quoteLines.pricingDiscountPercent",
+ $ref: "#/parameters/rowFilter.quoteLines.quantity",
},
{
- $ref: "#/parameters/rowFilter.quoteLines.pricingMarkupPercent",
- },
- {
- $ref: "#/parameters/rowFilter.quoteLines.pricingExtendedPrice",
+ $ref: "#/parameters/rowFilter.quoteLines.additionalCharges",
},
{
$ref: "#/parameters/rowFilter.quoteLines.modelId",
@@ -11628,6 +11574,9 @@ export default {
{
$ref: "#/parameters/rowFilter.quoteLines.modelSize",
},
+ {
+ $ref: "#/parameters/rowFilter.quoteLines.unitCost",
+ },
{
$ref: "#/parameters/select",
},
@@ -14085,12 +14034,6 @@ export default {
{
$ref: "#/parameters/rowFilter.salesRfqLine.salesRfqId",
},
- {
- $ref: "#/parameters/rowFilter.salesRfqLine.customerPartNumber",
- },
- {
- $ref: "#/parameters/rowFilter.salesRfqLine.customerRevisionId",
- },
{
$ref: "#/parameters/rowFilter.salesRfqLine.itemId",
},
@@ -14133,6 +14076,12 @@ export default {
{
$ref: "#/parameters/rowFilter.salesRfqLine.modelUploadId",
},
+ {
+ $ref: "#/parameters/rowFilter.salesRfqLine.customerPartId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesRfqLine.customerPartRevision",
+ },
{
$ref: "#/parameters/select",
},
@@ -14198,12 +14147,6 @@ export default {
{
$ref: "#/parameters/rowFilter.salesRfqLine.salesRfqId",
},
- {
- $ref: "#/parameters/rowFilter.salesRfqLine.customerPartNumber",
- },
- {
- $ref: "#/parameters/rowFilter.salesRfqLine.customerRevisionId",
- },
{
$ref: "#/parameters/rowFilter.salesRfqLine.itemId",
},
@@ -14246,6 +14189,12 @@ export default {
{
$ref: "#/parameters/rowFilter.salesRfqLine.modelUploadId",
},
+ {
+ $ref: "#/parameters/rowFilter.salesRfqLine.customerPartId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesRfqLine.customerPartRevision",
+ },
{
$ref: "#/parameters/preferReturn",
},
@@ -14265,12 +14214,6 @@ export default {
{
$ref: "#/parameters/rowFilter.salesRfqLine.salesRfqId",
},
- {
- $ref: "#/parameters/rowFilter.salesRfqLine.customerPartNumber",
- },
- {
- $ref: "#/parameters/rowFilter.salesRfqLine.customerRevisionId",
- },
{
$ref: "#/parameters/rowFilter.salesRfqLine.itemId",
},
@@ -14313,6 +14256,12 @@ export default {
{
$ref: "#/parameters/rowFilter.salesRfqLine.modelUploadId",
},
+ {
+ $ref: "#/parameters/rowFilter.salesRfqLine.customerPartId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesRfqLine.customerPartRevision",
+ },
{
$ref: "#/parameters/body.salesRfqLine",
},
@@ -15090,128 +15039,116 @@ export default {
tags: ["employees"],
},
},
- "/supplierStatus": {
+ "/quoteOperationsWithMakeMethods": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.supplierStatus.id",
+ $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.makeMethodId",
},
{
- $ref: "#/parameters/rowFilter.supplierStatus.name",
+ $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.id",
},
{
- $ref: "#/parameters/rowFilter.supplierStatus.companyId",
+ $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.quoteId",
},
{
- $ref: "#/parameters/rowFilter.supplierStatus.createdAt",
+ $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.quoteLineId",
},
{
- $ref: "#/parameters/rowFilter.supplierStatus.createdBy",
+ $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.quoteMakeMethodId",
},
{
- $ref: "#/parameters/rowFilter.supplierStatus.updatedBy",
+ $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.order",
},
{
- $ref: "#/parameters/rowFilter.supplierStatus.updatedAt",
+ $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.workCellTypeId",
},
{
- $ref: "#/parameters/rowFilter.supplierStatus.customFields",
+ $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.equipmentTypeId",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.description",
},
{
- $ref: "#/parameters/order",
+ $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.setupHours",
},
{
- $ref: "#/parameters/range",
+ $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.standardFactor",
},
{
- $ref: "#/parameters/rangeUnit",
+ $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.productionStandard",
},
{
- $ref: "#/parameters/offset",
+ $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.operationOrder",
},
{
- $ref: "#/parameters/limit",
+ $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.quotingRate",
},
{
- $ref: "#/parameters/preferCount",
+ $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.laborRate",
},
- ],
- responses: {
- "200": {
- description: "OK",
- schema: {
- items: {
- $ref: "#/definitions/supplierStatus",
- },
- type: "array",
- },
- },
- "206": {
- description: "Partial Content",
+ {
+ $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.overheadRate",
},
- },
- tags: ["supplierStatus"],
- },
- post: {
- parameters: [
{
- $ref: "#/parameters/body.supplierStatus",
+ $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.companyId",
},
{
- $ref: "#/parameters/select",
+ $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.createdAt",
},
{
- $ref: "#/parameters/preferPost",
+ $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.createdBy",
},
- ],
- responses: {
- "201": {
- description: "Created",
+ {
+ $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.updatedAt",
},
- },
- tags: ["supplierStatus"],
- },
- delete: {
- parameters: [
{
- $ref: "#/parameters/rowFilter.supplierStatus.id",
+ $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.updatedBy",
},
{
- $ref: "#/parameters/rowFilter.supplierStatus.name",
+ $ref: "#/parameters/rowFilter.quoteOperationsWithMakeMethods.customFields",
},
{
- $ref: "#/parameters/rowFilter.supplierStatus.companyId",
+ $ref: "#/parameters/select",
},
{
- $ref: "#/parameters/rowFilter.supplierStatus.createdAt",
+ $ref: "#/parameters/order",
},
{
- $ref: "#/parameters/rowFilter.supplierStatus.createdBy",
+ $ref: "#/parameters/range",
},
{
- $ref: "#/parameters/rowFilter.supplierStatus.updatedBy",
+ $ref: "#/parameters/rangeUnit",
},
{
- $ref: "#/parameters/rowFilter.supplierStatus.updatedAt",
+ $ref: "#/parameters/offset",
},
{
- $ref: "#/parameters/rowFilter.supplierStatus.customFields",
+ $ref: "#/parameters/limit",
},
{
- $ref: "#/parameters/preferReturn",
+ $ref: "#/parameters/preferCount",
},
],
responses: {
- "204": {
- description: "No Content",
+ "200": {
+ description: "OK",
+ schema: {
+ items: {
+ $ref: "#/definitions/quoteOperationsWithMakeMethods",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
},
},
- tags: ["supplierStatus"],
+ tags: ["quoteOperationsWithMakeMethods"],
},
- patch: {
+ },
+ "/supplierStatus": {
+ get: {
parameters: [
{
$ref: "#/parameters/rowFilter.supplierStatus.id",
@@ -15237,33 +15174,6 @@ export default {
{
$ref: "#/parameters/rowFilter.supplierStatus.customFields",
},
- {
- $ref: "#/parameters/body.supplierStatus",
- },
- {
- $ref: "#/parameters/preferReturn",
- },
- ],
- responses: {
- "204": {
- description: "No Content",
- },
- },
- tags: ["supplierStatus"],
- },
- },
- "/employeeShift": {
- get: {
- parameters: [
- {
- $ref: "#/parameters/rowFilter.employeeShift.id",
- },
- {
- $ref: "#/parameters/rowFilter.employeeShift.employeeId",
- },
- {
- $ref: "#/parameters/rowFilter.employeeShift.shiftId",
- },
{
$ref: "#/parameters/select",
},
@@ -15291,7 +15201,7 @@ export default {
description: "OK",
schema: {
items: {
- $ref: "#/definitions/employeeShift",
+ $ref: "#/definitions/supplierStatus",
},
type: "array",
},
@@ -15300,12 +15210,12 @@ export default {
description: "Partial Content",
},
},
- tags: ["employeeShift"],
+ tags: ["supplierStatus"],
},
post: {
parameters: [
{
- $ref: "#/parameters/body.employeeShift",
+ $ref: "#/parameters/body.supplierStatus",
},
{
$ref: "#/parameters/select",
@@ -15319,18 +15229,33 @@ export default {
description: "Created",
},
},
- tags: ["employeeShift"],
+ tags: ["supplierStatus"],
},
delete: {
parameters: [
{
- $ref: "#/parameters/rowFilter.employeeShift.id",
+ $ref: "#/parameters/rowFilter.supplierStatus.id",
},
{
- $ref: "#/parameters/rowFilter.employeeShift.employeeId",
+ $ref: "#/parameters/rowFilter.supplierStatus.name",
},
{
- $ref: "#/parameters/rowFilter.employeeShift.shiftId",
+ $ref: "#/parameters/rowFilter.supplierStatus.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierStatus.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierStatus.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierStatus.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierStatus.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierStatus.customFields",
},
{
$ref: "#/parameters/preferReturn",
@@ -15341,21 +15266,36 @@ export default {
description: "No Content",
},
},
- tags: ["employeeShift"],
+ tags: ["supplierStatus"],
},
patch: {
parameters: [
{
- $ref: "#/parameters/rowFilter.employeeShift.id",
+ $ref: "#/parameters/rowFilter.supplierStatus.id",
},
{
- $ref: "#/parameters/rowFilter.employeeShift.employeeId",
+ $ref: "#/parameters/rowFilter.supplierStatus.name",
},
{
- $ref: "#/parameters/rowFilter.employeeShift.shiftId",
+ $ref: "#/parameters/rowFilter.supplierStatus.companyId",
},
{
- $ref: "#/parameters/body.employeeShift",
+ $ref: "#/parameters/rowFilter.supplierStatus.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierStatus.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierStatus.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierStatus.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplierStatus.customFields",
+ },
+ {
+ $ref: "#/parameters/body.supplierStatus",
},
{
$ref: "#/parameters/preferReturn",
@@ -15366,14 +15306,131 @@ export default {
description: "No Content",
},
},
- tags: ["employeeShift"],
+ tags: ["supplierStatus"],
},
},
- "/requestForQuote": {
+ "/employeeShift": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.requestForQuote.id",
+ $ref: "#/parameters/rowFilter.employeeShift.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.employeeShift.employeeId",
+ },
+ {
+ $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/employeeShift",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
+ },
+ },
+ tags: ["employeeShift"],
+ },
+ post: {
+ parameters: [
+ {
+ $ref: "#/parameters/body.employeeShift",
+ },
+ {
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/preferPost",
+ },
+ ],
+ responses: {
+ "201": {
+ description: "Created",
+ },
+ },
+ tags: ["employeeShift"],
+ },
+ delete: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.employeeShift.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.employeeShift.employeeId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.employeeShift.shiftId",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
+ },
+ },
+ tags: ["employeeShift"],
+ },
+ patch: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.employeeShift.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.employeeShift.employeeId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.employeeShift.shiftId",
+ },
+ {
+ $ref: "#/parameters/body.employeeShift",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
+ },
+ },
+ tags: ["employeeShift"],
+ },
+ },
+ "/requestForQuote": {
+ get: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.requestForQuote.id",
},
{
$ref: "#/parameters/select",
@@ -15480,9 +15537,6 @@ export default {
{
$ref: "#/parameters/rowFilter.quote.revisionId",
},
- {
- $ref: "#/parameters/rowFilter.quote.salesRfqId",
- },
{
$ref: "#/parameters/rowFilter.quote.dueDate",
},
@@ -15605,9 +15659,6 @@ export default {
{
$ref: "#/parameters/rowFilter.quote.revisionId",
},
- {
- $ref: "#/parameters/rowFilter.quote.salesRfqId",
- },
{
$ref: "#/parameters/rowFilter.quote.dueDate",
},
@@ -15684,9 +15735,6 @@ export default {
{
$ref: "#/parameters/rowFilter.quote.revisionId",
},
- {
- $ref: "#/parameters/rowFilter.quote.salesRfqId",
- },
{
$ref: "#/parameters/rowFilter.quote.dueDate",
},
@@ -17673,9 +17721,6 @@ export default {
"/quoteLinePrice": {
get: {
parameters: [
- {
- $ref: "#/parameters/rowFilter.quoteLinePrice.id",
- },
{
$ref: "#/parameters/rowFilter.quoteLinePrice.quoteId",
},
@@ -17685,21 +17730,12 @@ export default {
{
$ref: "#/parameters/rowFilter.quoteLinePrice.quantity",
},
- {
- $ref: "#/parameters/rowFilter.quoteLinePrice.unitCost",
- },
{
$ref: "#/parameters/rowFilter.quoteLinePrice.leadTime",
},
{
$ref: "#/parameters/rowFilter.quoteLinePrice.discountPercent",
},
- {
- $ref: "#/parameters/rowFilter.quoteLinePrice.markupPercent",
- },
- {
- $ref: "#/parameters/rowFilter.quoteLinePrice.extendedPrice",
- },
{
$ref: "#/parameters/rowFilter.quoteLinePrice.createdAt",
},
@@ -17712,6 +17748,9 @@ export default {
{
$ref: "#/parameters/rowFilter.quoteLinePrice.updatedBy",
},
+ {
+ $ref: "#/parameters/rowFilter.quoteLinePrice.unitPrice",
+ },
{
$ref: "#/parameters/select",
},
@@ -17771,9 +17810,6 @@ export default {
},
delete: {
parameters: [
- {
- $ref: "#/parameters/rowFilter.quoteLinePrice.id",
- },
{
$ref: "#/parameters/rowFilter.quoteLinePrice.quoteId",
},
@@ -17783,21 +17819,12 @@ export default {
{
$ref: "#/parameters/rowFilter.quoteLinePrice.quantity",
},
- {
- $ref: "#/parameters/rowFilter.quoteLinePrice.unitCost",
- },
{
$ref: "#/parameters/rowFilter.quoteLinePrice.leadTime",
},
{
$ref: "#/parameters/rowFilter.quoteLinePrice.discountPercent",
},
- {
- $ref: "#/parameters/rowFilter.quoteLinePrice.markupPercent",
- },
- {
- $ref: "#/parameters/rowFilter.quoteLinePrice.extendedPrice",
- },
{
$ref: "#/parameters/rowFilter.quoteLinePrice.createdAt",
},
@@ -17810,6 +17837,9 @@ export default {
{
$ref: "#/parameters/rowFilter.quoteLinePrice.updatedBy",
},
+ {
+ $ref: "#/parameters/rowFilter.quoteLinePrice.unitPrice",
+ },
{
$ref: "#/parameters/preferReturn",
},
@@ -17823,9 +17853,6 @@ export default {
},
patch: {
parameters: [
- {
- $ref: "#/parameters/rowFilter.quoteLinePrice.id",
- },
{
$ref: "#/parameters/rowFilter.quoteLinePrice.quoteId",
},
@@ -17835,21 +17862,12 @@ export default {
{
$ref: "#/parameters/rowFilter.quoteLinePrice.quantity",
},
- {
- $ref: "#/parameters/rowFilter.quoteLinePrice.unitCost",
- },
{
$ref: "#/parameters/rowFilter.quoteLinePrice.leadTime",
},
{
$ref: "#/parameters/rowFilter.quoteLinePrice.discountPercent",
},
- {
- $ref: "#/parameters/rowFilter.quoteLinePrice.markupPercent",
- },
- {
- $ref: "#/parameters/rowFilter.quoteLinePrice.extendedPrice",
- },
{
$ref: "#/parameters/rowFilter.quoteLinePrice.createdAt",
},
@@ -17862,6 +17880,9 @@ export default {
{
$ref: "#/parameters/rowFilter.quoteLinePrice.updatedBy",
},
+ {
+ $ref: "#/parameters/rowFilter.quoteLinePrice.unitPrice",
+ },
{
$ref: "#/parameters/body.quoteLinePrice",
},
@@ -21375,12 +21396,6 @@ export default {
{
$ref: "#/parameters/rowFilter.salesRfqLines.salesRfqId",
},
- {
- $ref: "#/parameters/rowFilter.salesRfqLines.customerPartNumber",
- },
- {
- $ref: "#/parameters/rowFilter.salesRfqLines.customerRevisionId",
- },
{
$ref: "#/parameters/rowFilter.salesRfqLines.itemId",
},
@@ -21423,6 +21438,12 @@ export default {
{
$ref: "#/parameters/rowFilter.salesRfqLines.modelUploadId",
},
+ {
+ $ref: "#/parameters/rowFilter.salesRfqLines.customerPartId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesRfqLines.customerPartRevision",
+ },
{
$ref: "#/parameters/rowFilter.salesRfqLines.modelId",
},
@@ -21444,6 +21465,15 @@ export default {
{
$ref: "#/parameters/rowFilter.salesRfqLines.itemName",
},
+ {
+ $ref: "#/parameters/rowFilter.salesRfqLines.methodType",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesRfqLines.itemReadableId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesRfqLines.itemType",
+ },
{
$ref: "#/parameters/select",
},
@@ -22827,9 +22857,6 @@ export default {
{
$ref: "#/parameters/rowFilter.salesRfq.internalNotes",
},
- {
- $ref: "#/parameters/rowFilter.salesRfq.externalNotes",
- },
{
$ref: "#/parameters/rowFilter.salesRfq.locationId",
},
@@ -22854,6 +22881,12 @@ export default {
{
$ref: "#/parameters/rowFilter.salesRfq.updatedBy",
},
+ {
+ $ref: "#/parameters/rowFilter.salesRfq.customerLocationId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesRfq.notes",
+ },
{
$ref: "#/parameters/select",
},
@@ -22946,9 +22979,6 @@ export default {
{
$ref: "#/parameters/rowFilter.salesRfq.internalNotes",
},
- {
- $ref: "#/parameters/rowFilter.salesRfq.externalNotes",
- },
{
$ref: "#/parameters/rowFilter.salesRfq.locationId",
},
@@ -22973,6 +23003,12 @@ export default {
{
$ref: "#/parameters/rowFilter.salesRfq.updatedBy",
},
+ {
+ $ref: "#/parameters/rowFilter.salesRfq.customerLocationId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesRfq.notes",
+ },
{
$ref: "#/parameters/preferReturn",
},
@@ -23019,9 +23055,6 @@ export default {
{
$ref: "#/parameters/rowFilter.salesRfq.internalNotes",
},
- {
- $ref: "#/parameters/rowFilter.salesRfq.externalNotes",
- },
{
$ref: "#/parameters/rowFilter.salesRfq.locationId",
},
@@ -23046,6 +23079,12 @@ export default {
{
$ref: "#/parameters/rowFilter.salesRfq.updatedBy",
},
+ {
+ $ref: "#/parameters/rowFilter.salesRfq.customerLocationId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesRfq.notes",
+ },
{
$ref: "#/parameters/body.salesRfq",
},
@@ -23463,95 +23502,230 @@ export default {
tags: ["salesOrderCustomers"],
},
},
- "/documentLabels": {
- get: {
- parameters: [
- {
- $ref: "#/parameters/rowFilter.documentLabels.label",
- },
- {
- $ref: "#/parameters/rowFilter.documentLabels.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/documentLabels",
- },
- type: "array",
- },
- },
- "206": {
- description: "Partial Content",
- },
- },
- tags: ["documentLabels"],
- },
- },
- "/groupMembers": {
+ "/opportunity": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.groupMembers.id",
- },
- {
- $ref: "#/parameters/rowFilter.groupMembers.name",
- },
- {
- $ref: "#/parameters/rowFilter.groupMembers.companyId",
- },
- {
- $ref: "#/parameters/rowFilter.groupMembers.isIdentityGroup",
- },
- {
- $ref: "#/parameters/rowFilter.groupMembers.isEmployeeTypeGroup",
- },
- {
- $ref: "#/parameters/rowFilter.groupMembers.isCustomerOrgGroup",
- },
- {
- $ref: "#/parameters/rowFilter.groupMembers.isCustomerTypeGroup",
- },
- {
- $ref: "#/parameters/rowFilter.groupMembers.isSupplierOrgGroup",
- },
- {
- $ref: "#/parameters/rowFilter.groupMembers.isSupplierTypeGroup",
+ $ref: "#/parameters/rowFilter.opportunity.id",
},
{
- $ref: "#/parameters/rowFilter.groupMembers.groupId",
+ $ref: "#/parameters/rowFilter.opportunity.salesRfqId",
},
{
- $ref: "#/parameters/rowFilter.groupMembers.memberGroupId",
+ $ref: "#/parameters/rowFilter.opportunity.quoteId",
},
{
- $ref: "#/parameters/rowFilter.groupMembers.memberUserId",
+ $ref: "#/parameters/rowFilter.opportunity.salesOrderId",
},
{
- $ref: "#/parameters/rowFilter.groupMembers.user",
+ $ref: "#/parameters/rowFilter.opportunity.companyId",
+ },
+ {
+ $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/opportunity",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
+ },
+ },
+ tags: ["opportunity"],
+ },
+ post: {
+ parameters: [
+ {
+ $ref: "#/parameters/body.opportunity",
+ },
+ {
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/preferPost",
+ },
+ ],
+ responses: {
+ "201": {
+ description: "Created",
+ },
+ },
+ tags: ["opportunity"],
+ },
+ delete: {
+ 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/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
+ },
+ },
+ tags: ["opportunity"],
+ },
+ 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/body.opportunity",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
+ },
+ },
+ tags: ["opportunity"],
+ },
+ },
+ "/documentLabels": {
+ get: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.documentLabels.label",
+ },
+ {
+ $ref: "#/parameters/rowFilter.documentLabels.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/documentLabels",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
+ },
+ },
+ tags: ["documentLabels"],
+ },
+ },
+ "/groupMembers": {
+ get: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.groupMembers.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.groupMembers.name",
+ },
+ {
+ $ref: "#/parameters/rowFilter.groupMembers.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.groupMembers.isIdentityGroup",
+ },
+ {
+ $ref: "#/parameters/rowFilter.groupMembers.isEmployeeTypeGroup",
+ },
+ {
+ $ref: "#/parameters/rowFilter.groupMembers.isCustomerOrgGroup",
+ },
+ {
+ $ref: "#/parameters/rowFilter.groupMembers.isCustomerTypeGroup",
+ },
+ {
+ $ref: "#/parameters/rowFilter.groupMembers.isSupplierOrgGroup",
+ },
+ {
+ $ref: "#/parameters/rowFilter.groupMembers.isSupplierTypeGroup",
+ },
+ {
+ $ref: "#/parameters/rowFilter.groupMembers.groupId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.groupMembers.memberGroupId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.groupMembers.memberUserId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.groupMembers.user",
},
{
$ref: "#/parameters/select",
@@ -24906,89 +25080,233 @@ export default {
tags: ["part"],
},
},
- "/materials": {
+ "/customerPartToItem": {
get: {
parameters: [
{
- $ref: "#/parameters/rowFilter.materials.name",
- },
- {
- $ref: "#/parameters/rowFilter.materials.description",
- },
- {
- $ref: "#/parameters/rowFilter.materials.itemTrackingType",
+ $ref: "#/parameters/rowFilter.customerPartToItem.customerId",
},
{
- $ref: "#/parameters/rowFilter.materials.unitOfMeasureCode",
+ $ref: "#/parameters/rowFilter.customerPartToItem.customerPartId",
},
{
- $ref: "#/parameters/rowFilter.materials.active",
+ $ref: "#/parameters/rowFilter.customerPartToItem.customerPartRevision",
},
{
- $ref: "#/parameters/rowFilter.materials.replenishmentSystem",
+ $ref: "#/parameters/rowFilter.customerPartToItem.itemId",
},
{
- $ref: "#/parameters/rowFilter.materials.defaultMethodType",
+ $ref: "#/parameters/rowFilter.customerPartToItem.companyId",
},
{
- $ref: "#/parameters/rowFilter.materials.assignee",
- },
- {
- $ref: "#/parameters/rowFilter.materials.id",
- },
- {
- $ref: "#/parameters/rowFilter.materials.itemId",
- },
- {
- $ref: "#/parameters/rowFilter.materials.materialFormId",
- },
- {
- $ref: "#/parameters/rowFilter.materials.materialSubstanceId",
- },
- {
- $ref: "#/parameters/rowFilter.materials.grade",
- },
- {
- $ref: "#/parameters/rowFilter.materials.dimensions",
- },
- {
- $ref: "#/parameters/rowFilter.materials.finish",
- },
- {
- $ref: "#/parameters/rowFilter.materials.approved",
- },
- {
- $ref: "#/parameters/rowFilter.materials.approvedBy",
- },
- {
- $ref: "#/parameters/rowFilter.materials.customFields",
- },
- {
- $ref: "#/parameters/rowFilter.materials.companyId",
- },
- {
- $ref: "#/parameters/rowFilter.materials.createdBy",
- },
- {
- $ref: "#/parameters/rowFilter.materials.createdAt",
- },
- {
- $ref: "#/parameters/rowFilter.materials.updatedBy",
- },
- {
- $ref: "#/parameters/rowFilter.materials.updatedAt",
- },
- {
- $ref: "#/parameters/rowFilter.materials.materialForm",
- },
- {
- $ref: "#/parameters/rowFilter.materials.materialSubstance",
- },
- {
- $ref: "#/parameters/rowFilter.materials.supplierIds",
- },
- {
- $ref: "#/parameters/rowFilter.materials.unitOfMeasure",
+ $ref: "#/parameters/rowFilter.customerPartToItem.id",
+ },
+ {
+ $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/customerPartToItem",
+ },
+ type: "array",
+ },
+ },
+ "206": {
+ description: "Partial Content",
+ },
+ },
+ tags: ["customerPartToItem"],
+ },
+ post: {
+ parameters: [
+ {
+ $ref: "#/parameters/body.customerPartToItem",
+ },
+ {
+ $ref: "#/parameters/select",
+ },
+ {
+ $ref: "#/parameters/preferPost",
+ },
+ ],
+ responses: {
+ "201": {
+ description: "Created",
+ },
+ },
+ tags: ["customerPartToItem"],
+ },
+ delete: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.customerPartToItem.customerId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customerPartToItem.customerPartId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customerPartToItem.customerPartRevision",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customerPartToItem.itemId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customerPartToItem.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customerPartToItem.id",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
+ },
+ },
+ tags: ["customerPartToItem"],
+ },
+ patch: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.customerPartToItem.customerId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customerPartToItem.customerPartId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customerPartToItem.customerPartRevision",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customerPartToItem.itemId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customerPartToItem.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customerPartToItem.id",
+ },
+ {
+ $ref: "#/parameters/body.customerPartToItem",
+ },
+ {
+ $ref: "#/parameters/preferReturn",
+ },
+ ],
+ responses: {
+ "204": {
+ description: "No Content",
+ },
+ },
+ tags: ["customerPartToItem"],
+ },
+ },
+ "/materials": {
+ get: {
+ parameters: [
+ {
+ $ref: "#/parameters/rowFilter.materials.name",
+ },
+ {
+ $ref: "#/parameters/rowFilter.materials.description",
+ },
+ {
+ $ref: "#/parameters/rowFilter.materials.itemTrackingType",
+ },
+ {
+ $ref: "#/parameters/rowFilter.materials.unitOfMeasureCode",
+ },
+ {
+ $ref: "#/parameters/rowFilter.materials.active",
+ },
+ {
+ $ref: "#/parameters/rowFilter.materials.replenishmentSystem",
+ },
+ {
+ $ref: "#/parameters/rowFilter.materials.defaultMethodType",
+ },
+ {
+ $ref: "#/parameters/rowFilter.materials.assignee",
+ },
+ {
+ $ref: "#/parameters/rowFilter.materials.id",
+ },
+ {
+ $ref: "#/parameters/rowFilter.materials.itemId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.materials.materialFormId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.materials.materialSubstanceId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.materials.grade",
+ },
+ {
+ $ref: "#/parameters/rowFilter.materials.dimensions",
+ },
+ {
+ $ref: "#/parameters/rowFilter.materials.finish",
+ },
+ {
+ $ref: "#/parameters/rowFilter.materials.approved",
+ },
+ {
+ $ref: "#/parameters/rowFilter.materials.approvedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.materials.customFields",
+ },
+ {
+ $ref: "#/parameters/rowFilter.materials.companyId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.materials.createdBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.materials.createdAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.materials.updatedBy",
+ },
+ {
+ $ref: "#/parameters/rowFilter.materials.updatedAt",
+ },
+ {
+ $ref: "#/parameters/rowFilter.materials.materialForm",
+ },
+ {
+ $ref: "#/parameters/rowFilter.materials.materialSubstance",
+ },
+ {
+ $ref: "#/parameters/rowFilter.materials.supplierIds",
+ },
+ {
+ $ref: "#/parameters/rowFilter.materials.unitOfMeasure",
},
{
$ref: "#/parameters/select",
@@ -27786,6 +28104,12 @@ export default {
{
$ref: "#/parameters/rowFilter.quoteLine.modelUploadId",
},
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.quantity",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.additionalCharges",
+ },
{
$ref: "#/parameters/select",
},
@@ -27905,6 +28229,12 @@ export default {
{
$ref: "#/parameters/rowFilter.quoteLine.modelUploadId",
},
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.quantity",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.additionalCharges",
+ },
{
$ref: "#/parameters/preferReturn",
},
@@ -27978,6 +28308,12 @@ export default {
{
$ref: "#/parameters/rowFilter.quoteLine.modelUploadId",
},
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.quantity",
+ },
+ {
+ $ref: "#/parameters/rowFilter.quoteLine.additionalCharges",
+ },
{
$ref: "#/parameters/body.quoteLine",
},
@@ -30108,9 +30444,6 @@ export default {
{
$ref: "#/parameters/rowFilter.salesRfqs.internalNotes",
},
- {
- $ref: "#/parameters/rowFilter.salesRfqs.externalNotes",
- },
{
$ref: "#/parameters/rowFilter.salesRfqs.locationId",
},
@@ -30135,9 +30468,21 @@ export default {
{
$ref: "#/parameters/rowFilter.salesRfqs.updatedBy",
},
+ {
+ $ref: "#/parameters/rowFilter.salesRfqs.customerLocationId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesRfqs.notes",
+ },
{
$ref: "#/parameters/rowFilter.salesRfqs.locationName",
},
+ {
+ $ref: "#/parameters/rowFilter.salesRfqs.quoteId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.salesRfqs.salesOrderId",
+ },
{
$ref: "#/parameters/rowFilter.salesRfqs.favorite",
},
@@ -31451,6 +31796,63 @@ export default {
tags: ["(rpc) is_claims_admin"],
},
},
+ "/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",
+ },
+ },
+ 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",
+ },
+ },
+ tags: ["(rpc) get_quote_methods_by_method_id"],
+ },
+ },
"/rpc/get_permission_companies": {
get: {
parameters: [
@@ -32298,6 +32700,7 @@ export default {
"Parts",
"Purchasing",
"Resources",
+ "People",
"Sales",
"Settings",
"Scheduling",
@@ -32477,12 +32880,6 @@ export default {
format: "integer",
type: "integer",
},
- salesRfqId: {
- description:
- "Note:\nThis is a Foreign Key to `salesRfq.id`.<fk table='salesRfq' column='id'/>",
- format: "text",
- type: "string",
- },
dueDate: {
format: "date",
type: "string",
@@ -32598,6 +32995,18 @@ export default {
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",
},
@@ -33944,7 +34353,7 @@ export default {
type: "object",
},
supplierLocation: {
- required: ["id", "supplierId", "addressId"],
+ required: ["id", "supplierId", "addressId", "name"],
properties: {
id: {
default: "public.xid()",
@@ -33967,6 +34376,10 @@ export default {
customFields: {
format: "jsonb",
},
+ name: {
+ format: "text",
+ type: "string",
+ },
},
type: "object",
},
@@ -34029,7 +34442,7 @@ export default {
type: "object",
},
customerLocation: {
- required: ["id", "customerId", "addressId"],
+ required: ["id", "customerId", "addressId", "name"],
properties: {
id: {
default: "public.xid()",
@@ -34052,6 +34465,10 @@ export default {
customFields: {
format: "jsonb",
},
+ name: {
+ format: "text",
+ type: "string",
+ },
},
type: "object",
},
@@ -34266,6 +34683,7 @@ export default {
"Parts",
"Purchasing",
"Resources",
+ "People",
"Sales",
"Settings",
"Scheduling",
@@ -34545,6 +34963,7 @@ export default {
"Parts",
"Purchasing",
"Resources",
+ "People",
"Sales",
"Settings",
"Scheduling",
@@ -35431,36 +35850,6 @@ export default {
format: "text",
type: "string",
},
- addressLine1: {
- format: "text",
- type: "string",
- },
- addressLine2: {
- format: "text",
- type: "string",
- },
- city: {
- format: "text",
- type: "string",
- },
- state: {
- format: "text",
- type: "string",
- },
- postalCode: {
- format: "text",
- type: "string",
- },
- countryCode: {
- description:
- "Note:\nThis is a Foreign Key to `country.id`.<fk table='country' column='id'/>",
- format: "integer",
- type: "integer",
- },
- birthday: {
- format: "date",
- type: "string",
- },
notes: {
format: "text",
type: "string",
@@ -36713,29 +37102,15 @@ export default {
format: "text",
type: "string",
},
- pricingQuantity: {
- format: "numeric",
- type: "number",
- },
- pricingUnitCost: {
- format: "numeric",
- type: "number",
- },
- pricingLeadTime: {
- format: "numeric",
- type: "number",
- },
- pricingDiscountPercent: {
- format: "numeric",
- type: "number",
- },
- pricingMarkupPercent: {
- format: "numeric",
- type: "number",
+ quantity: {
+ format: "numeric[]",
+ items: {
+ type: "number",
+ },
+ type: "array",
},
- pricingExtendedPrice: {
- format: "numeric",
- type: "number",
+ additionalCharges: {
+ format: "jsonb",
},
modelId: {
format: "text",
@@ -36761,6 +37136,10 @@ export default {
format: "bigint",
type: "integer",
},
+ unitCost: {
+ format: "numeric",
+ type: "number",
+ },
},
type: "object",
},
@@ -37351,6 +37730,7 @@ export default {
"Parts",
"Purchasing",
"Resources",
+ "People",
"Sales",
"Settings",
"Scheduling",
@@ -37746,11 +38126,11 @@ export default {
required: [
"id",
"salesRfqId",
- "customerPartNumber",
"unitOfMeasureCode",
"order",
"companyId",
"createdBy",
+ "customerPartId",
],
properties: {
id: {
@@ -37765,14 +38145,6 @@ export default {
format: "text",
type: "string",
},
- customerPartNumber: {
- format: "text",
- type: "string",
- },
- customerRevisionId: {
- format: "text",
- type: "string",
- },
itemId: {
description:
"Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
@@ -37839,6 +38211,14 @@ export default {
format: "text",
type: "string",
},
+ customerPartId: {
+ format: "text",
+ type: "string",
+ },
+ customerPartRevision: {
+ format: "text",
+ type: "string",
+ },
},
type: "object",
},
@@ -38180,6 +38560,130 @@ export default {
},
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",
+ },
+ workCellTypeId: {
+ description:
+ "Note:\nThis is a Foreign Key to `workCellType.id`.<fk table='workCellType' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ equipmentTypeId: {
+ description:
+ "Note:\nThis is a Foreign Key to `equipmentType.id`.<fk table='equipmentType' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ description: {
+ format: "text",
+ type: "string",
+ },
+ setupHours: {
+ format: "numeric",
+ type: "number",
+ },
+ standardFactor: {
+ 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",
+ },
+ productionStandard: {
+ format: "numeric",
+ type: "number",
+ },
+ operationOrder: {
+ enum: ["After Previous", "With Previous"],
+ format: 'public."methodOperationOrder"',
+ type: "string",
+ },
+ quotingRate: {
+ format: "numeric",
+ type: "number",
+ },
+ 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",
+ },
+ },
+ type: "object",
+ },
supplierStatus: {
required: ["id", "name", "companyId", "createdAt", "createdBy"],
properties: {
@@ -38289,12 +38793,6 @@ export default {
format: "integer",
type: "integer",
},
- salesRfqId: {
- description:
- "Note:\nThis is a Foreign Key to `salesRfq.id`.<fk table='salesRfq' column='id'/>",
- format: "text",
- type: "string",
- },
dueDate: {
format: "date",
type: "string",
@@ -39211,25 +39709,16 @@ export default {
},
quoteLinePrice: {
required: [
- "id",
"quoteId",
"quoteLineId",
"quantity",
- "unitCost",
"leadTime",
"discountPercent",
- "markupPercent",
- "extendedPrice",
"createdAt",
"createdBy",
+ "unitPrice",
],
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'/>",
@@ -39238,17 +39727,13 @@ export default {
},
quoteLineId: {
description:
- "Note:\nThis is a Foreign Key to `quoteLine.id`.<fk table='quoteLine' column='id'/>",
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `quoteLine.id`.<fk table='quoteLine' column='id'/>",
format: "text",
type: "string",
},
quantity: {
default: 1,
- format: "numeric",
- type: "number",
- },
- unitCost: {
- default: 0,
+ description: "Note:\nThis is a Primary Key.<pk/>",
format: "numeric",
type: "number",
},
@@ -39262,16 +39747,6 @@ export default {
format: "numeric",
type: "number",
},
- markupPercent: {
- default: 0,
- format: "numeric",
- type: "number",
- },
- extendedPrice: {
- default: 0,
- format: "numeric",
- type: "number",
- },
createdAt: {
default: "now()",
format: "timestamp with time zone",
@@ -39293,6 +39768,11 @@ export default {
format: "text",
type: "string",
},
+ unitPrice: {
+ default: 0,
+ format: "numeric",
+ type: "number",
+ },
},
type: "object",
},
@@ -40823,14 +41303,6 @@ export default {
format: "text",
type: "string",
},
- customerPartNumber: {
- format: "text",
- type: "string",
- },
- customerRevisionId: {
- format: "text",
- type: "string",
- },
itemId: {
description:
"Note:\nThis is a Foreign Key to `item.id`.<fk table='item' column='id'/>",
@@ -40895,6 +41367,14 @@ export default {
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",
@@ -40924,6 +41404,27 @@ export default {
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",
},
@@ -41059,7 +41560,7 @@ export default {
properties: {
id: {
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 `supplierLocation.id`.<fk table='supplierLocation' column='id'/>",
format: "text",
type: "string",
},
@@ -41108,7 +41609,7 @@ export default {
},
supplierLocationId: {
description:
- "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `supplierLocation.id`.<fk table='supplierLocation' column='id'/>",
+ "Note:\nThis is a Foreign Key to `supplierLocation.id`.<fk table='supplierLocation' column='id'/>",
format: "text",
type: "string",
},
@@ -41500,7 +42001,7 @@ export default {
},
status: {
default: "Draft",
- enum: ["Draft", "Ready for Quote", "Closed"],
+ enum: ["Draft", "Ready for Quote", "Closed", "Quoted"],
format: 'public."salesRfqStatus"',
type: "string",
},
@@ -41538,10 +42039,6 @@ export default {
format: "text",
type: "string",
},
- externalNotes: {
- format: "text",
- type: "string",
- },
locationId: {
description:
"Note:\nThis is a Foreign Key to `location.id`.<fk table='location' column='id'/>",
@@ -41585,6 +42082,15 @@ export default {
format: "text",
type: "string",
},
+ customerLocationId: {
+ description:
+ "Note:\nThis is a Foreign Key to `customerLocation.id`.<fk table='customerLocation' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ notes: {
+ format: "json",
+ },
},
type: "object",
},
@@ -41728,6 +42234,42 @@ export default {
},
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",
+ },
+ },
+ type: "object",
+ },
documentLabels: {
properties: {
label: {
@@ -42274,6 +42816,45 @@ export default {
},
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: {
name: {
@@ -43909,6 +44490,16 @@ export default {
format: "text",
type: "string",
},
+ quantity: {
+ format: "numeric[]",
+ items: {
+ type: "number",
+ },
+ type: "array",
+ },
+ additionalCharges: {
+ format: "jsonb",
+ },
},
type: "object",
},
@@ -44688,7 +45279,7 @@ export default {
type: "integer",
},
status: {
- enum: ["Draft", "Ready for Quote", "Closed"],
+ enum: ["Draft", "Ready for Quote", "Closed", "Quoted"],
format: 'public."salesRfqStatus"',
type: "string",
},
@@ -44726,10 +45317,6 @@ export default {
format: "text",
type: "string",
},
- externalNotes: {
- format: "text",
- type: "string",
- },
locationId: {
description:
"Note:\nThis is a Foreign Key to `location.id`.<fk table='location' column='id'/>",
@@ -44771,10 +45358,31 @@ export default {
format: "text",
type: "string",
},
+ customerLocationId: {
+ description:
+ "Note:\nThis is a Foreign Key to `customerLocation.id`.<fk table='customerLocation' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ notes: {
+ 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",
@@ -45894,13 +46502,6 @@ export default {
in: "query",
type: "string",
},
- "rowFilter.quotes.salesRfqId": {
- name: "salesRfqId",
- required: false,
- format: "text",
- in: "query",
- type: "string",
- },
"rowFilter.quotes.dueDate": {
name: "dueDate",
required: false,
@@ -46055,6 +46656,20 @@ export default {
in: "query",
type: "string",
},
+ "rowFilter.quotes.salesRfqId": {
+ name: "salesRfqId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quotes.salesOrderId": {
+ name: "salesOrderId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
"body.documentExtensions": {
name: "documentExtensions",
description: "documentExtensions",
@@ -47848,6 +48463,13 @@ export default {
in: "query",
type: "string",
},
+ "rowFilter.supplierLocation.name": {
+ name: "name",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
"body.contractor": {
name: "contractor",
description: "contractor",
@@ -47957,6 +48579,13 @@ export default {
in: "query",
type: "string",
},
+ "rowFilter.customerLocation.name": {
+ name: "name",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
"body.membership": {
name: "membership",
description: "membership",
@@ -49761,55 +50390,6 @@ export default {
in: "query",
type: "string",
},
- "rowFilter.contact.addressLine1": {
- name: "addressLine1",
- required: false,
- format: "text",
- in: "query",
- type: "string",
- },
- "rowFilter.contact.addressLine2": {
- name: "addressLine2",
- required: false,
- format: "text",
- in: "query",
- type: "string",
- },
- "rowFilter.contact.city": {
- name: "city",
- required: false,
- format: "text",
- in: "query",
- type: "string",
- },
- "rowFilter.contact.state": {
- name: "state",
- required: false,
- format: "text",
- in: "query",
- type: "string",
- },
- "rowFilter.contact.postalCode": {
- name: "postalCode",
- required: false,
- format: "text",
- in: "query",
- type: "string",
- },
- "rowFilter.contact.countryCode": {
- name: "countryCode",
- required: false,
- format: "integer",
- in: "query",
- type: "string",
- },
- "rowFilter.contact.birthday": {
- name: "birthday",
- required: false,
- format: "date",
- in: "query",
- type: "string",
- },
"rowFilter.contact.notes": {
name: "notes",
required: false,
@@ -51489,45 +52069,17 @@ export default {
in: "query",
type: "string",
},
- "rowFilter.quoteLines.pricingQuantity": {
- name: "pricingQuantity",
- required: false,
- format: "numeric",
- in: "query",
- type: "string",
- },
- "rowFilter.quoteLines.pricingUnitCost": {
- name: "pricingUnitCost",
- required: false,
- format: "numeric",
- in: "query",
- type: "string",
- },
- "rowFilter.quoteLines.pricingLeadTime": {
- name: "pricingLeadTime",
- required: false,
- format: "numeric",
- in: "query",
- type: "string",
- },
- "rowFilter.quoteLines.pricingDiscountPercent": {
- name: "pricingDiscountPercent",
- required: false,
- format: "numeric",
- in: "query",
- type: "string",
- },
- "rowFilter.quoteLines.pricingMarkupPercent": {
- name: "pricingMarkupPercent",
+ "rowFilter.quoteLines.quantity": {
+ name: "quantity",
required: false,
- format: "numeric",
+ format: "numeric[]",
in: "query",
type: "string",
},
- "rowFilter.quoteLines.pricingExtendedPrice": {
- name: "pricingExtendedPrice",
+ "rowFilter.quoteLines.additionalCharges": {
+ name: "additionalCharges",
required: false,
- format: "numeric",
+ format: "jsonb",
in: "query",
type: "string",
},
@@ -51573,6 +52125,13 @@ export default {
in: "query",
type: "string",
},
+ "rowFilter.quoteLines.unitCost": {
+ name: "unitCost",
+ required: false,
+ format: "numeric",
+ in: "query",
+ type: "string",
+ },
"body.customer": {
name: "customer",
description: "customer",
@@ -52882,20 +53441,6 @@ export default {
in: "query",
type: "string",
},
- "rowFilter.salesRfqLine.customerPartNumber": {
- name: "customerPartNumber",
- required: false,
- format: "text",
- in: "query",
- type: "string",
- },
- "rowFilter.salesRfqLine.customerRevisionId": {
- name: "customerRevisionId",
- required: false,
- format: "text",
- in: "query",
- type: "string",
- },
"rowFilter.salesRfqLine.itemId": {
name: "itemId",
required: false,
@@ -52994,6 +53539,20 @@ export default {
in: "query",
type: "string",
},
+ "rowFilter.salesRfqLine.customerPartId": {
+ name: "customerPartId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.salesRfqLine.customerPartRevision": {
+ name: "customerPartRevision",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
"body.purchaseInvoice": {
name: "purchaseInvoice",
description: "purchaseInvoice",
@@ -53422,6 +53981,169 @@ export default {
in: "query",
type: "string",
},
+ "body.quoteOperationsWithMakeMethods": {
+ name: "quoteOperationsWithMakeMethods",
+ description: "quoteOperationsWithMakeMethods",
+ required: false,
+ in: "body",
+ schema: {
+ $ref: "#/definitions/quoteOperationsWithMakeMethods",
+ },
+ },
+ "rowFilter.quoteOperationsWithMakeMethods.makeMethodId": {
+ name: "makeMethodId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteOperationsWithMakeMethods.id": {
+ name: "id",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteOperationsWithMakeMethods.quoteId": {
+ name: "quoteId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteOperationsWithMakeMethods.quoteLineId": {
+ name: "quoteLineId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteOperationsWithMakeMethods.quoteMakeMethodId": {
+ name: "quoteMakeMethodId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteOperationsWithMakeMethods.order": {
+ name: "order",
+ required: false,
+ format: "double precision",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteOperationsWithMakeMethods.workCellTypeId": {
+ name: "workCellTypeId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteOperationsWithMakeMethods.equipmentTypeId": {
+ name: "equipmentTypeId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteOperationsWithMakeMethods.description": {
+ name: "description",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteOperationsWithMakeMethods.setupHours": {
+ name: "setupHours",
+ required: false,
+ format: "numeric",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteOperationsWithMakeMethods.standardFactor": {
+ name: "standardFactor",
+ required: false,
+ format: "public.factor",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteOperationsWithMakeMethods.productionStandard": {
+ name: "productionStandard",
+ required: false,
+ format: "numeric",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteOperationsWithMakeMethods.operationOrder": {
+ name: "operationOrder",
+ required: false,
+ format: 'public."methodOperationOrder"',
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteOperationsWithMakeMethods.quotingRate": {
+ name: "quotingRate",
+ required: false,
+ format: "numeric",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteOperationsWithMakeMethods.laborRate": {
+ name: "laborRate",
+ required: false,
+ format: "numeric",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteOperationsWithMakeMethods.overheadRate": {
+ name: "overheadRate",
+ required: false,
+ format: "numeric",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteOperationsWithMakeMethods.companyId": {
+ name: "companyId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteOperationsWithMakeMethods.createdAt": {
+ name: "createdAt",
+ required: false,
+ format: "timestamp with time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteOperationsWithMakeMethods.createdBy": {
+ name: "createdBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteOperationsWithMakeMethods.updatedAt": {
+ name: "updatedAt",
+ required: false,
+ format: "timestamp with time zone",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteOperationsWithMakeMethods.updatedBy": {
+ name: "updatedBy",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.quoteOperationsWithMakeMethods.customFields": {
+ name: "customFields",
+ required: false,
+ format: "jsonb",
+ in: "query",
+ type: "string",
+ },
"body.supplierStatus": {
name: "supplierStatus",
description: "supplierStatus",
@@ -53563,13 +54285,6 @@ export default {
in: "query",
type: "string",
},
- "rowFilter.quote.salesRfqId": {
- name: "salesRfqId",
- required: false,
- format: "text",
- in: "query",
- type: "string",
- },
"rowFilter.quote.dueDate": {
name: "dueDate",
required: false,
@@ -54793,13 +55508,6 @@ export default {
$ref: "#/definitions/quoteLinePrice",
},
},
- "rowFilter.quoteLinePrice.id": {
- name: "id",
- required: false,
- format: "text",
- in: "query",
- type: "string",
- },
"rowFilter.quoteLinePrice.quoteId": {
name: "quoteId",
required: false,
@@ -54821,13 +55529,6 @@ export default {
in: "query",
type: "string",
},
- "rowFilter.quoteLinePrice.unitCost": {
- name: "unitCost",
- required: false,
- format: "numeric",
- in: "query",
- type: "string",
- },
"rowFilter.quoteLinePrice.leadTime": {
name: "leadTime",
required: false,
@@ -54842,20 +55543,6 @@ export default {
in: "query",
type: "string",
},
- "rowFilter.quoteLinePrice.markupPercent": {
- name: "markupPercent",
- required: false,
- format: "numeric",
- in: "query",
- type: "string",
- },
- "rowFilter.quoteLinePrice.extendedPrice": {
- name: "extendedPrice",
- required: false,
- format: "numeric",
- in: "query",
- type: "string",
- },
"rowFilter.quoteLinePrice.createdAt": {
name: "createdAt",
required: false,
@@ -54884,6 +55571,13 @@ export default {
in: "query",
type: "string",
},
+ "rowFilter.quoteLinePrice.unitPrice": {
+ name: "unitPrice",
+ required: false,
+ format: "numeric",
+ in: "query",
+ type: "string",
+ },
"body.makeMethod": {
name: "makeMethod",
description: "makeMethod",
@@ -56881,20 +57575,6 @@ export default {
in: "query",
type: "string",
},
- "rowFilter.salesRfqLines.customerPartNumber": {
- name: "customerPartNumber",
- required: false,
- format: "text",
- in: "query",
- type: "string",
- },
- "rowFilter.salesRfqLines.customerRevisionId": {
- name: "customerRevisionId",
- required: false,
- format: "text",
- in: "query",
- type: "string",
- },
"rowFilter.salesRfqLines.itemId": {
name: "itemId",
required: false,
@@ -56993,6 +57673,20 @@ export default {
in: "query",
type: "string",
},
+ "rowFilter.salesRfqLines.customerPartId": {
+ name: "customerPartId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.salesRfqLines.customerPartRevision": {
+ name: "customerPartRevision",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
"rowFilter.salesRfqLines.modelId": {
name: "modelId",
required: false,
@@ -57042,6 +57736,27 @@ export default {
in: "query",
type: "string",
},
+ "rowFilter.salesRfqLines.methodType": {
+ name: "methodType",
+ required: false,
+ format: 'public."methodType"',
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.salesRfqLines.itemReadableId": {
+ name: "itemReadableId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.salesRfqLines.itemType": {
+ name: "itemType",
+ required: false,
+ format: 'public."itemType"',
+ in: "query",
+ type: "string",
+ },
"body.documentTransaction": {
name: "documentTransaction",
description: "documentTransaction",
@@ -57844,13 +58559,6 @@ export default {
in: "query",
type: "string",
},
- "rowFilter.salesRfq.externalNotes": {
- name: "externalNotes",
- required: false,
- format: "text",
- in: "query",
- type: "string",
- },
"rowFilter.salesRfq.locationId": {
name: "locationId",
required: false,
@@ -57907,6 +58615,20 @@ export default {
in: "query",
type: "string",
},
+ "rowFilter.salesRfq.customerLocationId": {
+ name: "customerLocationId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.salesRfq.notes": {
+ name: "notes",
+ required: false,
+ format: "json",
+ in: "query",
+ type: "string",
+ },
"body.paymentTerm": {
name: "paymentTerm",
description: "paymentTerm",
@@ -58088,6 +58810,50 @@ export default {
in: "query",
type: "string",
},
+ "body.opportunity": {
+ name: "opportunity",
+ description: "opportunity",
+ required: false,
+ in: "body",
+ schema: {
+ $ref: "#/definitions/opportunity",
+ },
+ },
+ "rowFilter.opportunity.id": {
+ name: "id",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.opportunity.salesRfqId": {
+ name: "salesRfqId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.opportunity.quoteId": {
+ name: "quoteId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.opportunity.salesOrderId": {
+ name: "salesOrderId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.opportunity.companyId": {
+ name: "companyId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
"body.documentLabels": {
name: "documentLabels",
description: "documentLabels",
@@ -58806,6 +59572,57 @@ export default {
in: "query",
type: "string",
},
+ "body.customerPartToItem": {
+ name: "customerPartToItem",
+ description: "customerPartToItem",
+ required: false,
+ in: "body",
+ schema: {
+ $ref: "#/definitions/customerPartToItem",
+ },
+ },
+ "rowFilter.customerPartToItem.customerId": {
+ name: "customerId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.customerPartToItem.customerPartId": {
+ name: "customerPartId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.customerPartToItem.customerPartRevision": {
+ name: "customerPartRevision",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.customerPartToItem.itemId": {
+ name: "itemId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.customerPartToItem.companyId": {
+ name: "companyId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.customerPartToItem.id": {
+ name: "id",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
"body.materials": {
name: "materials",
description: "materials",
@@ -60953,6 +61770,20 @@ export default {
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",
+ },
"body.currency": {
name: "currency",
description: "currency",
@@ -62046,13 +62877,6 @@ export default {
in: "query",
type: "string",
},
- "rowFilter.salesRfqs.externalNotes": {
- name: "externalNotes",
- required: false,
- format: "text",
- in: "query",
- type: "string",
- },
"rowFilter.salesRfqs.locationId": {
name: "locationId",
required: false,
@@ -62109,6 +62933,20 @@ export default {
in: "query",
type: "string",
},
+ "rowFilter.salesRfqs.customerLocationId": {
+ name: "customerLocationId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.salesRfqs.notes": {
+ name: "notes",
+ required: false,
+ format: "json",
+ in: "query",
+ type: "string",
+ },
"rowFilter.salesRfqs.locationName": {
name: "locationName",
required: false,
@@ -62116,6 +62954,20 @@ export default {
in: "query",
type: "string",
},
+ "rowFilter.salesRfqs.quoteId": {
+ name: "quoteId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.salesRfqs.salesOrderId": {
+ name: "salesOrderId",
+ required: false,
+ format: "text",
+ in: "query",
+ type: "string",
+ },
"rowFilter.salesRfqs.favorite": {
name: "favorite",
required: false,
diff --git a/packages/database/src/types.ts b/packages/database/src/types.ts
index add459f186..89a5d55d1a 100644
--- a/packages/database/src/types.ts
+++ b/packages/database/src/types.ts
@@ -22950,14 +22950,14 @@ export type Database = {
Relationships: [
{
foreignKeyName: "address_countryCode_fkey"
- columns: ["customerCountryCode"]
+ columns: ["supplierCountryCode"]
isOneToOne: false
referencedRelation: "country"
referencedColumns: ["id"]
},
{
foreignKeyName: "address_countryCode_fkey"
- columns: ["supplierCountryCode"]
+ columns: ["customerCountryCode"]
isOneToOne: false
referencedRelation: "country"
referencedColumns: ["id"]
diff --git a/packages/database/supabase/functions/lib/types.ts b/packages/database/supabase/functions/lib/types.ts
index add459f186..89a5d55d1a 100644
--- a/packages/database/supabase/functions/lib/types.ts
+++ b/packages/database/supabase/functions/lib/types.ts
@@ -22950,14 +22950,14 @@ export type Database = {
Relationships: [
{
foreignKeyName: "address_countryCode_fkey"
- columns: ["customerCountryCode"]
+ columns: ["supplierCountryCode"]
isOneToOne: false
referencedRelation: "country"
referencedColumns: ["id"]
},
{
foreignKeyName: "address_countryCode_fkey"
- columns: ["supplierCountryCode"]
+ columns: ["customerCountryCode"]
isOneToOne: false
referencedRelation: "country"
referencedColumns: ["id"]