generated: '2026-07-20' method: derived source: openapi/opply-openapi-original.yml note: Entity graph derived from OpenAPI component schemas and id-reference fields. Ids are UUIDs across the platform. entities: - AdminAppOrder - AdminAppOrderEvent - AgentFeedback - AgentResponseFeedback - AgentToken - AgreementOrder - BrainObserveProgress - BrandBuyerItem - BuyerAgreement - BuyerAppOrder - BuyerGroupedStatement - BuyerItem - BuyerOnboarding - BuyerOnboardingSupplierSubmission - BuyerRepeatSpotOrder - BuyerSummary - BuyerSupplierPaymentTerms - CortexJob - CreditCalculator - CrmImportRun - CustomerStatus - DeliveryAddressMatchPreview - DeliveryEmail - EnrichmentRun - FileUpload - GoogleStorageSignedUrl - GoogleUpload - HubSpotSyncRun - Inquiry - MerchantOfRecordAgreement - MerchantOfRecordAppOrder - MerchantOfRecordUser - OnboardingSupplier - OrderAdjustment - OrderManagementContract - Quote - Supplier - SupplierItem - TradedItem - User relationships: - from: Address kind: belongs_to to: company via: company_id - from: AdminAppOrderEvent kind: belongs_to to: order via: order - from: AdminAppOrderEvent kind: belongs_to to: user via: user - from: AdminCompanyDocument kind: belongs_to to: company via: company - from: AdminIngredient kind: belongs_to to: company via: company_uuid - from: AgentFleet kind: belongs_to to: agent via: agent - from: AgentInstallationAdminRow kind: belongs_to to: agent via: agent - from: AgentInstallationMe kind: belongs_to to: agent via: agent - from: AgentToken kind: belongs_to to: company via: company_uuid - from: AgreementOrder kind: belongs_to to: order via: order_uuid - from: AttachmentTest kind: belongs_to to: company via: company_uuid - from: Basket kind: belongs_to to: supplier via: supplier_uuid - from: BuyerDocument kind: belongs_to to: file via: file - from: BuyerFinancialDocumentUpload kind: belongs_to to: file via: file - from: BuyerGroupedStatement kind: has_many to: order via: orders - from: BuyerMerchantOfRecordItem kind: has_many to: order via: orders - from: BuyerOnboarding kind: belongs_to to: company via: company_uuid - from: BuyerOrderActivity kind: belongs_to to: user via: user - from: BuyerOrderActivityWithOrder kind: belongs_to to: order via: order_uuid - from: BuyerOrderActivityWithOrder kind: belongs_to to: user via: user - from: BuyerServiceFeeInvoice kind: has_many to: order via: orders - from: BuyerSpotBuy kind: belongs_to to: supplier via: supplier_uuid - from: BuyerSpotBuyRequest kind: belongs_to to: supplier via: supplier - from: BuyerStripePaymentListing kind: has_many to: order via: orders - from: BuyerSupplierPaymentTerms kind: belongs_to to: buyer via: buyer_uuid - from: BuyerSupplierPaymentTerms kind: belongs_to to: supplier via: supplier_uuid - from: CompanyAddressAdmin kind: belongs_to to: company via: company - from: ContractRenewNegotiation kind: belongs_to to: company via: company_uuid - from: CreateCompanyAddress kind: belongs_to to: company via: company_uuid - from: CreditCalculator kind: belongs_to to: order via: order_uuid - from: CrmContact kind: belongs_to to: company via: company_uuid - from: DashboardContracts kind: belongs_to to: inquiry via: inquiry_uuid - from: Deals kind: has_many to: note via: notes - from: EmailInvite kind: belongs_to to: company via: company - from: ExportAdmin kind: belongs_to to: company via: company_uuid - from: FeedItemRead kind: belongs_to to: order via: order_uuid - from: GroupedStatement kind: has_many to: order via: orders - from: GroupedStatementOrphanOrder kind: belongs_to to: order via: order_uuid - from: InitializeSupplier kind: belongs_to to: inquiry via: inquiry_uuid - from: Inquiry kind: belongs_to to: company via: company - from: Inquiry kind: belongs_to to: ingredient via: ingredient - from: InquiryCreateAdmin kind: belongs_to to: company via: company_uuid - from: InquiryRetrieveAdmin kind: belongs_to to: buyer via: buyer_uuid - from: InquiryRetrieveAdmin kind: has_many to: quote via: quotes - from: InquiryTarget kind: belongs_to to: company via: company - from: InquiryTarget kind: belongs_to to: inquiry via: inquiry - from: InquiryTarget kind: belongs_to to: inquiry via: inquiry_uuid - from: InquiryUpdateAdmin kind: belongs_to to: ingredient via: ingredient - from: InquiryUpdateResponseAdmin kind: belongs_to to: company via: company_id - from: InquiryUpdateResponseAdmin kind: belongs_to to: ingredient via: ingredient - from: MasqueradeTargetUser kind: belongs_to to: user via: user_uuid - from: McpAccess kind: belongs_to to: user via: user_uuid - from: McpUserAccess kind: belongs_to to: user via: user_uuid - from: MerchantOfRecordAgreementOrder kind: belongs_to to: order via: order_uuid - from: MerchantOfRecordAppOrder kind: belongs_to to: agreement via: agreement_uuid - from: MerchantOfRecordAppOrderEvent kind: belongs_to to: user via: user - from: MerchantOfRecordOrderActivity kind: belongs_to to: user via: user - from: MerchantOfRecordOrderActivityFeedItem kind: belongs_to to: order via: order_uuid - from: MerchantOfRecordOrderActivityFeedItem kind: belongs_to to: user via: user - from: MerchantOfRecordSpotBuyRequest kind: belongs_to to: company via: company - from: MerchantOfRecordSpotBuyRequest kind: belongs_to to: supplier via: supplier - from: MessageReactionSummary kind: has_many to: user via: users - from: MessageWrite kind: belongs_to to: task via: task_uuid - from: MoRBuyerComplianceDocument kind: belongs_to to: file via: file - from: MoRSupplierMatch kind: belongs_to to: company via: company_uuid - from: Note kind: belongs_to to: company via: company_uuid - from: Note kind: belongs_to to: task via: task_uuid - from: Notes kind: belongs_to to: deal via: deal_uuid - from: OnboardingExtraction kind: has_many to: supplier via: suppliers - from: OnboardingExtractionWrite kind: has_many to: supplier via: suppliers - from: OnboardingInvoiceUpload kind: belongs_to to: file via: file - from: OnboardingSupplier kind: belongs_to to: buyer via: buyer - from: OnboardingSupplier kind: belongs_to to: buyer via: buyer_uuid - from: OnboardingSupplierActivity kind: belongs_to to: user via: user - from: OnboardingSupplierPayout kind: belongs_to to: note via: note - from: OpplyDocument kind: belongs_to to: file via: file - from: OpplyDocumentBuyer kind: belongs_to to: file via: file - from: Order kind: belongs_to to: contract via: contract_uuid - from: Order kind: has_many to: quote via: quotes - from: OrderConfirmDelivered kind: belongs_to to: quote via: quote_uuid - from: OrderCreateSwagger kind: has_many to: quote via: quotes - from: OrderDetailAdmin kind: has_many to: quote via: quotes - from: OrderEventAdmin kind: belongs_to to: order via: order - from: OrderEventAdmin kind: belongs_to to: user via: user - from: OrderEventMarkAsPaidAdmin kind: belongs_to to: order via: order - from: OrderEventMarkAsPaidAdmin kind: belongs_to to: user via: user - from: OrderManagementContract kind: belongs_to to: buyer via: buyer - from: OrderPrices kind: has_many to: quote via: quotes - from: PatchedBuyerDocument kind: belongs_to to: file via: file - from: PatchedBuyerOnboarding kind: belongs_to to: company via: company_uuid - from: PatchedBuyerSupplierPaymentTerms kind: belongs_to to: buyer via: buyer_uuid - from: PatchedBuyerSupplierPaymentTerms kind: belongs_to to: supplier via: supplier_uuid - from: PatchedContractRenewNegotiation kind: belongs_to to: company via: company_uuid - from: PatchedInquiry kind: belongs_to to: ingredient via: ingredient - from: PatchedMcpAccess kind: belongs_to to: user via: user_uuid - from: PatchedMcpUserAccess kind: belongs_to to: user via: user_uuid - from: PatchedNote kind: belongs_to to: company via: company_uuid - from: PatchedNote kind: belongs_to to: task via: task_uuid - from: PatchedOnboardingSupplierPayout kind: belongs_to to: note via: note - from: PatchedOpplyDocument kind: belongs_to to: file via: file - from: PatchedOrderEventAdmin kind: belongs_to to: order via: order - from: PatchedOrderEventAdmin kind: belongs_to to: user via: user - from: PatchedQuoteFeesAdmin kind: belongs_to to: quote via: quote - from: PatchedSupplierDocument kind: belongs_to to: buyer via: buyer_uuid - from: PatchedSupplierDocument kind: belongs_to to: company via: company - from: PatchedSupplierDocument kind: belongs_to to: supplier via: supplier_uuid - from: PatchedSupplierPayout kind: belongs_to to: note via: note - from: PatchedSupplierQuote kind: belongs_to to: company via: company - from: PatchedTaskRecurrence kind: belongs_to to: task via: task - from: PaymentAvailability kind: belongs_to to: order via: order_id - from: PaymentFilters kind: has_many to: supplier via: suppliers - from: PricesRetrieve kind: belongs_to to: quote via: quote_uuid - from: Purchase kind: belongs_to to: ingredient via: ingredient - from: PurchaseOrder kind: belongs_to to: buyer via: buyer - from: PurchaseOrder kind: belongs_to to: supplier via: supplier - from: PurchaseRequest kind: belongs_to to: ingredient via: ingredient_uuid - from: PurchaseRequest kind: belongs_to to: quote via: quote_uuid - from: Quote kind: belongs_to to: company via: company - from: Quote kind: belongs_to to: ingredient via: ingredient - from: Quote kind: belongs_to to: inquiry via: inquiry